Merge branch 'master' into codex/unified-creation-flow-phase1

This commit is contained in:
2026-05-29 21:20:14 +00:00
270 changed files with 2046 additions and 2124 deletions

View File

@@ -4,6 +4,14 @@ name = "Genarrative"
[setup] [setup]
script = ''' script = '''
cp "$CODEX_SOURCE_TREE_PATH\.env.secrets.local" "$CODEX_WORKTREE_PATH\.env.secrets.local"
npm install
npm run codegraph:init
npm run codegraph:index
'''
[setup.win32]
script = '''
cp "$env:CODEX_SOURCE_TREE_PATH\.env.secrets.local" "$env:CODEX_WORKTREE_PATH\.env.secrets.local" cp "$env:CODEX_SOURCE_TREE_PATH\.env.secrets.local" "$env:CODEX_WORKTREE_PATH\.env.secrets.local"
npm install npm install
npm run codegraph:init npm run codegraph:init

View File

@@ -1,6 +1,6 @@
# Genarrative 项目共享概览 # Genarrative 项目共享概览
更新时间:`2026-05-15` 更新时间:`2026-05-29`
## 一句话定位 ## 一句话定位
@@ -33,6 +33,8 @@ Genarrative / 陶泥儿是一个 AI 原生互动内容与小游戏平台,把 A
server-rs + Axum + SpacetimeDB server-rs + Axum + SpacetimeDB
``` ```
当前 SpacetimeDB crate、SDK、CLI / standalone、生成 bindings 和容器压测镜像统一按 `2.3.0` 对齐。
职责边界: 职责边界:
- `api-server`HTTP / SSE / BFF 门面和外部副作用编排。 - `api-server`HTTP / SSE / BFF 门面和外部副作用编排。

View File

@@ -16,6 +16,14 @@ export default defineConfig(({mode}) => {
env.GENARRATIVE_API_TARGET || env.GENARRATIVE_API_TARGET ||
`http://127.0.0.1:${env.GENARRATIVE_API_PORT || '3100'}`; `http://127.0.0.1:${env.GENARRATIVE_API_PORT || '3100'}`;
const base = env.ADMIN_WEB_BASE || '/admin/'; const base = env.ADMIN_WEB_BASE || '/admin/';
const ignoredWatchGlobs = [
'**/.git/**',
'**/.worktrees/**',
'**/dist/**',
'**/node_modules/**',
'**/server-rs/**',
'**/server-rs/target/**',
];
return { return {
root: adminWebRoot, root: adminWebRoot,
@@ -23,6 +31,9 @@ export default defineConfig(({mode}) => {
base, base,
plugins: [react()], plugins: [react()],
server: { server: {
watch: {
ignored: ignoredWatchGlobs,
},
proxy: { proxy: {
'/admin/api': { '/admin/api': {
target: apiTarget, target: apiTarget,

View File

@@ -55,7 +55,7 @@ Linux Docker Engine 若要从宿主机 CLI 连到容器内服务,直接用 `ht
## 构建工具链 ## 构建工具链
`api-server` 容器镜像只构建 Linux release API 二进制,不构建 `spacetime-module`。当前 `api-server -> spacetime-client -> spacetimedb-sdk 2.2.0` 依赖链要求 Rust 1.93,因此 `deploy/container/api-server.Dockerfile` 的 Rust builder 固定为 `rust:1.93-bookworm`。如果本机 Docker Hub 拉取失败,可以先在本机准备同名本地 builder 镜像,但不要把临时 bootstrap 容器或私有 registry 凭据写入仓库。 `api-server` 容器镜像只构建 Linux release API 二进制,不构建 `spacetime-module`。当前 `api-server -> spacetime-client -> spacetimedb-sdk 2.3.0` 依赖链要求 Rust 1.93,因此 `deploy/container/api-server.Dockerfile` 的 Rust builder 固定为 `rust:1.93-bookworm`。如果本机 Docker Hub 拉取失败,可以先在本机准备同名本地 builder 镜像,但不要把临时 bootstrap 容器或私有 registry 凭据写入仓库。
## 启动与验证 ## 启动与验证

View File

@@ -2,7 +2,7 @@ name: genarrative-container-loadtest
services: services:
spacetimedb: spacetimedb:
image: clockworklabs/spacetime:v2.2.0 image: clockworklabs/spacetime:v2.3.0
user: root user: root
command: command:
[ [

View File

@@ -16,6 +16,8 @@ server-rs + Axum + SpacetimeDB
`server-rs/Cargo.toml` 是 workspace 事实源。默认构建成员为 `crates/api-server`;第三方依赖版本和 workspace 内 crate path 统一放在 `[workspace.dependencies]` `server-rs/Cargo.toml` 是 workspace 事实源。默认构建成员为 `crates/api-server`;第三方依赖版本和 workspace 内 crate path 统一放在 `[workspace.dependencies]`
SpacetimeDB 版本口径:当前 Rust crate `spacetimedb``spacetimedb-sdk``spacetimedb-lib` 统一锁定 `2.3.0`;本地 `spacetime` CLI / standalone、生成的 `spacetime-client` bindings 和容器压测镜像也必须与 `2.3.0` 对齐,避免 BSATN / procedure result 反序列化错配。
当前主要 crate 当前主要 crate
- HTTP 服务:`api-server` - HTTP 服务:`api-server`

View File

@@ -61,7 +61,7 @@ spacetime sql <database> "SELECT * FROM puzzle_gallery_card_view LIMIT 1" --serv
本地 `npm run dev:spacetime` 发布模块时必须显式忽略仓库根目录的 `spacetime.json`,由脚本固定追加 `--no-config` 并使用命令参数里传入的数据库名和 `--server http://127.0.0.1:3101`。否则 CLI 可能把发布目标改写到配置文件里的其他数据库,导致 `dev:spacetime` 启动后又因发布失败自动退出,浏览器随后会在 `ws://127.0.0.1:3101/v1/database/.../subscribe` 看到连接拒绝。 本地 `npm run dev:spacetime` 发布模块时必须显式忽略仓库根目录的 `spacetime.json`,由脚本固定追加 `--no-config` 并使用命令参数里传入的数据库名和 `--server http://127.0.0.1:3101`。否则 CLI 可能把发布目标改写到配置文件里的其他数据库,导致 `dev:spacetime` 启动后又因发布失败自动退出,浏览器随后会在 `ws://127.0.0.1:3101/v1/database/.../subscribe` 看到连接拒绝。
本地 `spacetime` CLI / standalone 版本必须和 `server-rs/Cargo.toml` 里锁定的 `spacetimedb` 版本一致。若版本错配procedure 返回值可能在宿主侧触发 `Failed to BSATN deserialize procedure return value`api-server 最终表现为敲木鱼等创作动作的 `SpacetimeDB procedure 调用超时`。排障时先运行 `spacetime --version`,再对照 `server-rs/Cargo.toml``spacetimedb = "..."`;需要切版本时执行 `spacetime version install <version> && spacetime version use <version>`,然后重新启动 `npm run dev:spacetime`。当前 `scripts/dev.mjs` 会在启动和复用本地 SpacetimeDB 前写入并校验 `dev-spacetime-tool-version`,避免把旧 standalone 继续带进新一轮创作。 本地 `spacetime` CLI / standalone 版本必须和 `server-rs/Cargo.toml` 里锁定的 `spacetimedb` 版本一致;当前统一版本为 `2.3.0`。若版本错配procedure 返回值可能在宿主侧触发 `Failed to BSATN deserialize procedure return value`api-server 最终表现为敲木鱼等创作动作的 `SpacetimeDB procedure 调用超时`。排障时先运行 `spacetime --version`,再对照 `server-rs/Cargo.toml``spacetimedb = "..."`;需要切版本时执行 `spacetime version install <version> && spacetime version use <version>`,然后重新启动 `npm run dev:spacetime`。当前 `scripts/dev.mjs` 会在启动和复用本地 SpacetimeDB 前写入并校验 `dev-spacetime-tool-version`,避免把旧 standalone 继续带进新一轮创作。
本地 `.env``.env.local``.env.secrets.local` 修改后必须重启 `api-server` 才会生效;若已经通过 `npm run dev` 启动完整联调,可在该终端输入 `rs api-server`。排查 RPG / 拼图 / 抓大鹅等 VectorEngine 生图链路时,确认 `VECTOR_ENGINE_BASE_URL``VECTOR_ENGINE_API_KEY``VECTOR_ENGINE_IMAGE_REQUEST_TIMEOUT_MS` 只在本地或服务器密钥文件中配置,不能写入 Git。VectorEngine `gpt-image-2` 图片协议、URL / base64 响应解析、远端图片下载和 provider 侧结构化日志在 `server-rs/crates/platform-image``api-server` 只做配置、玩法编排、OSS / asset 持久化、计费和失败审计落库。开局 CG 故事板、首图、背景和图集都属于长耗时图片请求;后端默认会把 `VECTOR_ENGINE_IMAGE_REQUEST_TIMEOUT_MS` 下限收口到 `1000000`,旧进程仍可能沿用重启前的短超时。若开局 CG 故事板在 `send()` 阶段失败且日志显示 `SendRequest`,先看同一 request_id 的 `request_body_bytes``reference_data_url_bytes``sourceChain``rootSource`;当前开局 CG 会把角色图与首幕背景图压到单边 768 的 JPEG 后再作为 generations `image` 数组发送,`/v1/images/generations` 使用默认 HTTP 协商,只有 multipart `/v1/images/edits` 单独强制 HTTP/1.1。 本地 `.env``.env.local``.env.secrets.local` 修改后必须重启 `api-server` 才会生效;若已经通过 `npm run dev` 启动完整联调,可在该终端输入 `rs api-server`。排查 RPG / 拼图 / 抓大鹅等 VectorEngine 生图链路时,确认 `VECTOR_ENGINE_BASE_URL``VECTOR_ENGINE_API_KEY``VECTOR_ENGINE_IMAGE_REQUEST_TIMEOUT_MS` 只在本地或服务器密钥文件中配置,不能写入 Git。VectorEngine `gpt-image-2` 图片协议、URL / base64 响应解析、远端图片下载和 provider 侧结构化日志在 `server-rs/crates/platform-image``api-server` 只做配置、玩法编排、OSS / asset 持久化、计费和失败审计落库。开局 CG 故事板、首图、背景和图集都属于长耗时图片请求;后端默认会把 `VECTOR_ENGINE_IMAGE_REQUEST_TIMEOUT_MS` 下限收口到 `1000000`,旧进程仍可能沿用重启前的短超时。若开局 CG 故事板在 `send()` 阶段失败且日志显示 `SendRequest`,先看同一 request_id 的 `request_body_bytes``reference_data_url_bytes``sourceChain``rootSource`;当前开局 CG 会把角色图与首幕背景图压到单边 768 的 JPEG 后再作为 generations `image` 数组发送,`/v1/images/generations` 使用默认 HTTP 协商,只有 multipart `/v1/images/edits` 单独强制 HTTP/1.1。

View File

@@ -327,18 +327,18 @@ describe('dev scheduler watch routing', () => {
describe('dev scheduler spacetime refresh', () => { describe('dev scheduler spacetime refresh', () => {
test('解析 spacetime --version 输出里的 tool version', () => { test('解析 spacetime --version 输出里的 tool version', () => {
const version = parseSpacetimeToolVersion(` const version = parseSpacetimeToolVersion(`
A new version of SpacetimeDB is available: v2.2.0 (current: v2.1.0) A new version of SpacetimeDB is available: v2.3.0 (current: v2.2.0)
spacetimedb tool version 2.2.0; spacetimedb-lib version 2.2.0; spacetimedb tool version 2.3.0; spacetimedb-lib version 2.3.0;
`); `);
expect(version).toBe('2.2.0'); expect(version).toBe('2.3.0');
}); });
test('本机 spacetime 版本和 workspace 锁定版本不一致时直接报清楚', () => { test('本机 spacetime 版本和 workspace 锁定版本不一致时直接报清楚', () => {
expect(() => expect(() =>
assertSpacetimeToolVersionMatchesWorkspace({ assertSpacetimeToolVersionMatchesWorkspace({
toolVersion: '2.1.0', toolVersion: '2.1.0',
workspaceVersion: '2.2.0', workspaceVersion: '2.3.0',
}), }),
).toThrow('procedure 返回值 BSATN 反序列化失败'); ).toThrow('procedure 返回值 BSATN 反序列化失败');
}); });

64
server-rs/Cargo.lock generated
View File

@@ -1267,7 +1267,7 @@ dependencies = [
"libc", "libc",
"percent-encoding", "percent-encoding",
"pin-project-lite", "pin-project-lite",
"socket2 0.6.3", "socket2 0.5.10",
"tokio", "tokio",
"tower-service", "tower-service",
"tracing", "tracing",
@@ -2552,7 +2552,7 @@ dependencies = [
"quinn-udp", "quinn-udp",
"rustc-hash", "rustc-hash",
"rustls", "rustls",
"socket2 0.6.3", "socket2 0.5.10",
"thiserror 2.0.18", "thiserror 2.0.18",
"tokio", "tokio",
"tracing", "tracing",
@@ -2589,7 +2589,7 @@ dependencies = [
"cfg_aliases", "cfg_aliases",
"libc", "libc",
"once_cell", "once_cell",
"socket2 0.6.3", "socket2 0.5.10",
"tracing", "tracing",
"windows-sys 0.52.0", "windows-sys 0.52.0",
] ]
@@ -3370,9 +3370,9 @@ dependencies = [
[[package]] [[package]]
name = "spacetimedb" name = "spacetimedb"
version = "2.2.0" version = "2.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1306cc3a9ed9c89f43b263614a529357cc53a067e3d06c1cbb485e3b577b118b" checksum = "62aa9a940d32178e4afa7a14c9bbda76685d71d5487798905e0139b807182092"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"bytemuck", "bytemuck",
@@ -3393,9 +3393,9 @@ dependencies = [
[[package]] [[package]]
name = "spacetimedb-bindings-macro" name = "spacetimedb-bindings-macro"
version = "2.2.0" version = "2.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "51567ec01cd323438a00c134c16f26ffcde5f9dbe6a42a52e54578285bf49d73" checksum = "5feb5d55f04f3209764d9b94949226708a4a8578e92ac5c32abfd31dbdfc928c"
dependencies = [ dependencies = [
"heck 0.4.1", "heck 0.4.1",
"humantime", "humantime",
@@ -3407,18 +3407,18 @@ dependencies = [
[[package]] [[package]]
name = "spacetimedb-bindings-sys" name = "spacetimedb-bindings-sys"
version = "2.2.0" version = "2.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3b40fa1bea26664085febe2b4455568c8b47dea2cb0245406b27e30963df2ba1" checksum = "28f9c900c9371fd7e84d34b8cb2bf90562060dc2473ae9c44e970d4026e7d7d9"
dependencies = [ dependencies = [
"spacetimedb-primitives", "spacetimedb-primitives",
] ]
[[package]] [[package]]
name = "spacetimedb-client-api-messages" name = "spacetimedb-client-api-messages"
version = "2.2.0" version = "2.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dfc9eeb20a555bad07029cbee4efe3a305cb5c1e40e21a07cbbbbed16a106014" checksum = "349296ad43e6ecdced74ad8b3fd2c6abbdbb40cdbd06ac329c0726c6b911fa73"
dependencies = [ dependencies = [
"bytes", "bytes",
"bytestring", "bytestring",
@@ -3438,9 +3438,9 @@ dependencies = [
[[package]] [[package]]
name = "spacetimedb-data-structures" name = "spacetimedb-data-structures"
version = "2.2.0" version = "2.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "748fd5850a757823c5b8948065d9e4dc5092968a051aa3f34f170e91d95e493b" checksum = "8b86ed7c567d723378a405317e30413293cc0bc9e2aac2f7843580d744b43c31"
dependencies = [ dependencies = [
"ahash", "ahash",
"crossbeam-queue", "crossbeam-queue",
@@ -3453,9 +3453,9 @@ dependencies = [
[[package]] [[package]]
name = "spacetimedb-lib" name = "spacetimedb-lib"
version = "2.2.0" version = "2.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5612611d09d358f535438275d2a0d6a5e2fa56fa583dcfdbeddd623974df1d5e" checksum = "a15a98adf6f030e8188df4b038e140a54771e6eeb50ad05a6c3e46939b8de853"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"bitflags 2.11.1", "bitflags 2.11.1",
@@ -3477,9 +3477,9 @@ dependencies = [
[[package]] [[package]]
name = "spacetimedb-memory-usage" name = "spacetimedb-memory-usage"
version = "2.2.0" version = "2.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1c3a0d08fc5d8688a47e3ffcb803275519663b7ea1fba7ad25e608182de4ec6d" checksum = "c68aa8ed30c15a1d665bf3a8c689955508ce75ca784068ec0232b4cdd511b4c8"
dependencies = [ dependencies = [
"decorum", "decorum",
"ethnum", "ethnum",
@@ -3487,9 +3487,9 @@ dependencies = [
[[package]] [[package]]
name = "spacetimedb-metrics" name = "spacetimedb-metrics"
version = "2.2.0" version = "2.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ca2d647201339aa17ba438a07463e96ed64ba214fb0c182588e262b055efa7f3" checksum = "f8455b0a92dd632757f7e7c22d5e438aa33da5f48d14483e5ee79dfc5468a4db"
dependencies = [ dependencies = [
"arrayvec", "arrayvec",
"itertools", "itertools",
@@ -3499,9 +3499,9 @@ dependencies = [
[[package]] [[package]]
name = "spacetimedb-primitives" name = "spacetimedb-primitives"
version = "2.2.0" version = "2.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9b668b51e7318207ae7eebcd4cae0c5d43bf713e7f229ac309ea2614a486ffde" checksum = "b20cc4bf97377f1dce9e75b2f6ce94bc5c7c2a243040a7a2016ac5cdb002793d"
dependencies = [ dependencies = [
"bitflags 2.11.1", "bitflags 2.11.1",
"either", "either",
@@ -3513,18 +3513,18 @@ dependencies = [
[[package]] [[package]]
name = "spacetimedb-query-builder" name = "spacetimedb-query-builder"
version = "2.2.0" version = "2.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0186b1a2b3bf25bdd0f2676b61801fd754013ca6a58e1e24cc5148945388bc9d" checksum = "afa17878dbc23b4bfc06a45165c7afd34c8d29bba6dfde81625840c11380abce"
dependencies = [ dependencies = [
"spacetimedb-lib", "spacetimedb-lib",
] ]
[[package]] [[package]]
name = "spacetimedb-sats" name = "spacetimedb-sats"
version = "2.2.0" version = "2.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "11780ed69f178bf3784b7599da5171450e4b7ac6fd66b79e2e1861c867cef1a6" checksum = "74216db354eab5cefad9572a350654761495968478e83e51ef2c530cdf6cb1d4"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"arrayvec", "arrayvec",
@@ -3555,9 +3555,9 @@ dependencies = [
[[package]] [[package]]
name = "spacetimedb-schema" name = "spacetimedb-schema"
version = "2.2.0" version = "2.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1e4e9f8aa596e0e7034f0c8b3649d3fa3cc7bde340761519c3a3c60f10ec8888" checksum = "ff3ff36f901f6875907ff1df2b610fc396937b88f6793dfa04b0d9f298d74946"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"convert_case 0.6.0", "convert_case 0.6.0",
@@ -3586,9 +3586,9 @@ dependencies = [
[[package]] [[package]]
name = "spacetimedb-sdk" name = "spacetimedb-sdk"
version = "2.2.0" version = "2.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "41e82f20034b8aaeaa081871b07895aab45be1f0fc35e114ab64ae8e7e5c1a54" checksum = "26897e31aa58acd6cd0bcf12cf56a4ecd0cb4fc48053478626729e868f042e54"
dependencies = [ dependencies = [
"anymap3", "anymap3",
"base64 0.21.7", "base64 0.21.7",
@@ -3618,9 +3618,9 @@ dependencies = [
[[package]] [[package]]
name = "spacetimedb-sql-parser" name = "spacetimedb-sql-parser"
version = "2.2.0" version = "2.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ec5c77a2d4e3f42ede59598c56cb81a0fe54fd1974e2707f7140d1d5f41d08a7" checksum = "19428d4ddc8cf1eb34e58715ed512820ee9a3de187a89f88f80e18e914a086ae"
dependencies = [ dependencies = [
"derive_more", "derive_more",
"spacetimedb-lib", "spacetimedb-lib",
@@ -4516,7 +4516,7 @@ version = "0.1.11"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"
dependencies = [ dependencies = [
"windows-sys 0.61.2", "windows-sys 0.48.0",
] ]
[[package]] [[package]]

View File

@@ -111,9 +111,9 @@ serde_json = "1"
serde_urlencoded = "0.7" serde_urlencoded = "0.7"
sha2 = "0.10" sha2 = "0.10"
socket2 = "0.6" socket2 = "0.6"
spacetimedb = "2.2.0" spacetimedb = "2.3.0"
spacetimedb-sdk = "2.2.0" spacetimedb-sdk = "2.3.0"
spacetimedb-lib = { version = "2.2.0", default-features = false } spacetimedb-lib = { version = "2.3.0", default-features = false }
time = "0.3" time = "0.3"
tokio = "1" tokio = "1"
tokio-stream = "0.1" tokio-stream = "0.1"

View File

@@ -1,7 +1,7 @@
// THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE
// WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD.
// This was generated using spacetimedb cli version 2.2.0 (commit eb11e2f5c41dce6979715ad407996270d61329f6). // This was generated using spacetimedb cli version 2.3.0 (commit aa73d1c35b4b346b98eeba10a3d756b4ae72162f).
#![allow(unused, clippy::all)] #![allow(unused, clippy::all)]
use spacetimedb_sdk::__codegen::{self as __sdk, __lib, __sats, __ws}; use spacetimedb_sdk::__codegen::{self as __sdk, __lib, __sats, __ws};

View File

@@ -47,10 +47,8 @@ pub trait accept_quest {
&self, &self,
input: QuestRecordInput, input: QuestRecordInput,
callback: impl FnOnce( callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
&super::ReducerEventContext, + Send
Result<Result<(), String>, __sdk::InternalError>,
) + Send
+ 'static, + 'static,
) -> __sdk::Result<()>; ) -> __sdk::Result<()>;
} }
@@ -60,10 +58,8 @@ impl accept_quest for super::RemoteReducers {
&self, &self,
input: QuestRecordInput, input: QuestRecordInput,
callback: impl FnOnce( callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
&super::ReducerEventContext, + Send
Result<Result<(), String>, __sdk::InternalError>,
) + Send
+ 'static, + 'static,
) -> __sdk::Result<()> { ) -> __sdk::Result<()> {
self.imp self.imp

View File

@@ -47,10 +47,8 @@ pub trait acknowledge_quest_completion {
&self, &self,
input: QuestCompletionAckInput, input: QuestCompletionAckInput,
callback: impl FnOnce( callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
&super::ReducerEventContext, + Send
Result<Result<(), String>, __sdk::InternalError>,
) + Send
+ 'static, + 'static,
) -> __sdk::Result<()>; ) -> __sdk::Result<()>;
} }
@@ -60,10 +58,8 @@ impl acknowledge_quest_completion for super::RemoteReducers {
&self, &self,
input: QuestCompletionAckInput, input: QuestCompletionAckInput,
callback: impl FnOnce( callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
&super::ReducerEventContext, + Send
Result<Result<(), String>, __sdk::InternalError>,
) + Send
+ 'static, + 'static,
) -> __sdk::Result<()> { ) -> __sdk::Result<()> {
self.imp self.imp

View File

@@ -50,10 +50,8 @@ pub trait apply_chapter_progression_ledger_entry {
&self, &self,
input: ChapterProgressionLedgerInput, input: ChapterProgressionLedgerInput,
callback: impl FnOnce( callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
&super::ReducerEventContext, + Send
Result<Result<(), String>, __sdk::InternalError>,
) + Send
+ 'static, + 'static,
) -> __sdk::Result<()>; ) -> __sdk::Result<()>;
} }
@@ -63,10 +61,8 @@ impl apply_chapter_progression_ledger_entry for super::RemoteReducers {
&self, &self,
input: ChapterProgressionLedgerInput, input: ChapterProgressionLedgerInput,
callback: impl FnOnce( callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
&super::ReducerEventContext, + Send
Result<Result<(), String>, __sdk::InternalError>,
) + Send
+ 'static, + 'static,
) -> __sdk::Result<()> { ) -> __sdk::Result<()> {
self.imp.invoke_reducer_with_callback( self.imp.invoke_reducer_with_callback(

View File

@@ -47,10 +47,8 @@ pub trait apply_inventory_mutation {
&self, &self,
input: InventoryMutationInput, input: InventoryMutationInput,
callback: impl FnOnce( callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
&super::ReducerEventContext, + Send
Result<Result<(), String>, __sdk::InternalError>,
) + Send
+ 'static, + 'static,
) -> __sdk::Result<()>; ) -> __sdk::Result<()>;
} }
@@ -60,10 +58,8 @@ impl apply_inventory_mutation for super::RemoteReducers {
&self, &self,
input: InventoryMutationInput, input: InventoryMutationInput,
callback: impl FnOnce( callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
&super::ReducerEventContext, + Send
Result<Result<(), String>, __sdk::InternalError>,
) + Send
+ 'static, + 'static,
) -> __sdk::Result<()> { ) -> __sdk::Result<()> {
self.imp self.imp

View File

@@ -47,10 +47,8 @@ pub trait apply_quest_signal {
&self, &self,
input: QuestSignalApplyInput, input: QuestSignalApplyInput,
callback: impl FnOnce( callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
&super::ReducerEventContext, + Send
Result<Result<(), String>, __sdk::InternalError>,
) + Send
+ 'static, + 'static,
) -> __sdk::Result<()>; ) -> __sdk::Result<()>;
} }
@@ -60,10 +58,8 @@ impl apply_quest_signal for super::RemoteReducers {
&self, &self,
input: QuestSignalApplyInput, input: QuestSignalApplyInput,
callback: impl FnOnce( callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
&super::ReducerEventContext, + Send
Result<Result<(), String>, __sdk::InternalError>,
) + Send
+ 'static, + 'static,
) -> __sdk::Result<()> { ) -> __sdk::Result<()> {
self.imp self.imp

View File

@@ -47,10 +47,8 @@ pub trait begin_story_session {
&self, &self,
input: StorySessionInput, input: StorySessionInput,
callback: impl FnOnce( callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
&super::ReducerEventContext, + Send
Result<Result<(), String>, __sdk::InternalError>,
) + Send
+ 'static, + 'static,
) -> __sdk::Result<()>; ) -> __sdk::Result<()>;
} }
@@ -60,10 +58,8 @@ impl begin_story_session for super::RemoteReducers {
&self, &self,
input: StorySessionInput, input: StorySessionInput,
callback: impl FnOnce( callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
&super::ReducerEventContext, + Send
Result<Result<(), String>, __sdk::InternalError>,
) + Send
+ 'static, + 'static,
) -> __sdk::Result<()> { ) -> __sdk::Result<()> {
self.imp self.imp

View File

@@ -47,10 +47,8 @@ pub trait bind_asset_object_to_entity {
&self, &self,
input: AssetEntityBindingInput, input: AssetEntityBindingInput,
callback: impl FnOnce( callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
&super::ReducerEventContext, + Send
Result<Result<(), String>, __sdk::InternalError>,
) + Send
+ 'static, + 'static,
) -> __sdk::Result<()>; ) -> __sdk::Result<()>;
} }
@@ -60,10 +58,8 @@ impl bind_asset_object_to_entity for super::RemoteReducers {
&self, &self,
input: AssetEntityBindingInput, input: AssetEntityBindingInput,
callback: impl FnOnce( callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
&super::ReducerEventContext, + Send
Result<Result<(), String>, __sdk::InternalError>,
) + Send
+ 'static, + 'static,
) -> __sdk::Result<()> { ) -> __sdk::Result<()> {
self.imp self.imp

View File

@@ -47,10 +47,8 @@ pub trait confirm_asset_object {
&self, &self,
input: AssetObjectUpsertInput, input: AssetObjectUpsertInput,
callback: impl FnOnce( callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
&super::ReducerEventContext, + Send
Result<Result<(), String>, __sdk::InternalError>,
) + Send
+ 'static, + 'static,
) -> __sdk::Result<()>; ) -> __sdk::Result<()>;
} }
@@ -60,10 +58,8 @@ impl confirm_asset_object for super::RemoteReducers {
&self, &self,
input: AssetObjectUpsertInput, input: AssetObjectUpsertInput,
callback: impl FnOnce( callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
&super::ReducerEventContext, + Send
Result<Result<(), String>, __sdk::InternalError>,
) + Send
+ 'static, + 'static,
) -> __sdk::Result<()> { ) -> __sdk::Result<()> {
self.imp self.imp

View File

@@ -47,10 +47,8 @@ pub trait continue_story {
&self, &self,
input: StoryContinueInput, input: StoryContinueInput,
callback: impl FnOnce( callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
&super::ReducerEventContext, + Send
Result<Result<(), String>, __sdk::InternalError>,
) + Send
+ 'static, + 'static,
) -> __sdk::Result<()>; ) -> __sdk::Result<()>;
} }
@@ -60,10 +58,8 @@ impl continue_story for super::RemoteReducers {
&self, &self,
input: StoryContinueInput, input: StoryContinueInput,
callback: impl FnOnce( callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
&super::ReducerEventContext, + Send
Result<Result<(), String>, __sdk::InternalError>,
) + Send
+ 'static, + 'static,
) -> __sdk::Result<()> { ) -> __sdk::Result<()> {
self.imp self.imp

View File

@@ -47,10 +47,8 @@ pub trait create_ai_task {
&self, &self,
input: AiTaskCreateInput, input: AiTaskCreateInput,
callback: impl FnOnce( callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
&super::ReducerEventContext, + Send
Result<Result<(), String>, __sdk::InternalError>,
) + Send
+ 'static, + 'static,
) -> __sdk::Result<()>; ) -> __sdk::Result<()>;
} }
@@ -60,10 +58,8 @@ impl create_ai_task for super::RemoteReducers {
&self, &self,
input: AiTaskCreateInput, input: AiTaskCreateInput,
callback: impl FnOnce( callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
&super::ReducerEventContext, + Send
Result<Result<(), String>, __sdk::InternalError>,
) + Send
+ 'static, + 'static,
) -> __sdk::Result<()> { ) -> __sdk::Result<()> {
self.imp self.imp

View File

@@ -47,10 +47,8 @@ pub trait create_battle_state {
&self, &self,
input: BattleStateInput, input: BattleStateInput,
callback: impl FnOnce( callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
&super::ReducerEventContext, + Send
Result<Result<(), String>, __sdk::InternalError>,
) + Send
+ 'static, + 'static,
) -> __sdk::Result<()>; ) -> __sdk::Result<()>;
} }
@@ -60,10 +58,8 @@ impl create_battle_state for super::RemoteReducers {
&self, &self,
input: BattleStateInput, input: BattleStateInput,
callback: impl FnOnce( callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
&super::ReducerEventContext, + Send
Result<Result<(), String>, __sdk::InternalError>,
) + Send
+ 'static, + 'static,
) -> __sdk::Result<()> { ) -> __sdk::Result<()> {
self.imp self.imp

View File

@@ -50,10 +50,8 @@ pub trait ensure_analytics_date_dimension_for_date {
&self, &self,
input: AnalyticsDateDimensionEnsureInput, input: AnalyticsDateDimensionEnsureInput,
callback: impl FnOnce( callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
&super::ReducerEventContext, + Send
Result<Result<(), String>, __sdk::InternalError>,
) + Send
+ 'static, + 'static,
) -> __sdk::Result<()>; ) -> __sdk::Result<()>;
} }
@@ -63,10 +61,8 @@ impl ensure_analytics_date_dimension_for_date for super::RemoteReducers {
&self, &self,
input: AnalyticsDateDimensionEnsureInput, input: AnalyticsDateDimensionEnsureInput,
callback: impl FnOnce( callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
&super::ReducerEventContext, + Send
Result<Result<(), String>, __sdk::InternalError>,
) + Send
+ 'static, + 'static,
) -> __sdk::Result<()> { ) -> __sdk::Result<()> {
self.imp.invoke_reducer_with_callback( self.imp.invoke_reducer_with_callback(

View File

@@ -50,10 +50,8 @@ pub trait grant_player_progression_experience {
&self, &self,
input: PlayerProgressionGrantInput, input: PlayerProgressionGrantInput,
callback: impl FnOnce( callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
&super::ReducerEventContext, + Send
Result<Result<(), String>, __sdk::InternalError>,
) + Send
+ 'static, + 'static,
) -> __sdk::Result<()>; ) -> __sdk::Result<()>;
} }
@@ -63,10 +61,8 @@ impl grant_player_progression_experience for super::RemoteReducers {
&self, &self,
input: PlayerProgressionGrantInput, input: PlayerProgressionGrantInput,
callback: impl FnOnce( callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
&super::ReducerEventContext, + Send
Result<Result<(), String>, __sdk::InternalError>,
) + Send
+ 'static, + 'static,
) -> __sdk::Result<()> { ) -> __sdk::Result<()> {
self.imp self.imp

View File

@@ -50,10 +50,8 @@ pub trait publish_custom_world_profile {
&self, &self,
input: CustomWorldProfilePublishInput, input: CustomWorldProfilePublishInput,
callback: impl FnOnce( callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
&super::ReducerEventContext, + Send
Result<Result<(), String>, __sdk::InternalError>,
) + Send
+ 'static, + 'static,
) -> __sdk::Result<()>; ) -> __sdk::Result<()>;
} }
@@ -63,10 +61,8 @@ impl publish_custom_world_profile for super::RemoteReducers {
&self, &self,
input: CustomWorldProfilePublishInput, input: CustomWorldProfilePublishInput,
callback: impl FnOnce( callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
&super::ReducerEventContext, + Send
Result<Result<(), String>, __sdk::InternalError>,
) + Send
+ 'static, + 'static,
) -> __sdk::Result<()> { ) -> __sdk::Result<()> {
self.imp self.imp

View File

@@ -47,10 +47,8 @@ pub trait resolve_combat_action {
&self, &self,
input: ResolveCombatActionInput, input: ResolveCombatActionInput,
callback: impl FnOnce( callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
&super::ReducerEventContext, + Send
Result<Result<(), String>, __sdk::InternalError>,
) + Send
+ 'static, + 'static,
) -> __sdk::Result<()>; ) -> __sdk::Result<()>;
} }
@@ -60,10 +58,8 @@ impl resolve_combat_action for super::RemoteReducers {
&self, &self,
input: ResolveCombatActionInput, input: ResolveCombatActionInput,
callback: impl FnOnce( callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
&super::ReducerEventContext, + Send
Result<Result<(), String>, __sdk::InternalError>,
) + Send
+ 'static, + 'static,
) -> __sdk::Result<()> { ) -> __sdk::Result<()> {
self.imp self.imp

View File

@@ -47,10 +47,8 @@ pub trait resolve_npc_interaction {
&self, &self,
input: ResolveNpcInteractionInput, input: ResolveNpcInteractionInput,
callback: impl FnOnce( callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
&super::ReducerEventContext, + Send
Result<Result<(), String>, __sdk::InternalError>,
) + Send
+ 'static, + 'static,
) -> __sdk::Result<()>; ) -> __sdk::Result<()>;
} }
@@ -60,10 +58,8 @@ impl resolve_npc_interaction for super::RemoteReducers {
&self, &self,
input: ResolveNpcInteractionInput, input: ResolveNpcInteractionInput,
callback: impl FnOnce( callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
&super::ReducerEventContext, + Send
Result<Result<(), String>, __sdk::InternalError>,
) + Send
+ 'static, + 'static,
) -> __sdk::Result<()> { ) -> __sdk::Result<()> {
self.imp self.imp

View File

@@ -47,10 +47,8 @@ pub trait resolve_npc_social_action {
&self, &self,
input: ResolveNpcSocialActionInput, input: ResolveNpcSocialActionInput,
callback: impl FnOnce( callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
&super::ReducerEventContext, + Send
Result<Result<(), String>, __sdk::InternalError>,
) + Send
+ 'static, + 'static,
) -> __sdk::Result<()>; ) -> __sdk::Result<()>;
} }
@@ -60,10 +58,8 @@ impl resolve_npc_social_action for super::RemoteReducers {
&self, &self,
input: ResolveNpcSocialActionInput, input: ResolveNpcSocialActionInput,
callback: impl FnOnce( callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
&super::ReducerEventContext, + Send
Result<Result<(), String>, __sdk::InternalError>,
) + Send
+ 'static, + 'static,
) -> __sdk::Result<()> { ) -> __sdk::Result<()> {
self.imp self.imp

View File

@@ -47,10 +47,8 @@ pub trait resolve_treasure_interaction {
&self, &self,
input: TreasureResolveInput, input: TreasureResolveInput,
callback: impl FnOnce( callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
&super::ReducerEventContext, + Send
Result<Result<(), String>, __sdk::InternalError>,
) + Send
+ 'static, + 'static,
) -> __sdk::Result<()>; ) -> __sdk::Result<()>;
} }
@@ -60,10 +58,8 @@ impl resolve_treasure_interaction for super::RemoteReducers {
&self, &self,
input: TreasureResolveInput, input: TreasureResolveInput,
callback: impl FnOnce( callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
&super::ReducerEventContext, + Send
Result<Result<(), String>, __sdk::InternalError>,
) + Send
+ 'static, + 'static,
) -> __sdk::Result<()> { ) -> __sdk::Result<()> {
self.imp self.imp

View File

@@ -50,10 +50,8 @@ pub trait seed_analytics_date_dimensions {
&self, &self,
input: AnalyticsDateDimensionSeedInput, input: AnalyticsDateDimensionSeedInput,
callback: impl FnOnce( callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
&super::ReducerEventContext, + Send
Result<Result<(), String>, __sdk::InternalError>,
) + Send
+ 'static, + 'static,
) -> __sdk::Result<()>; ) -> __sdk::Result<()>;
} }
@@ -63,10 +61,8 @@ impl seed_analytics_date_dimensions for super::RemoteReducers {
&self, &self,
input: AnalyticsDateDimensionSeedInput, input: AnalyticsDateDimensionSeedInput,
callback: impl FnOnce( callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
&super::ReducerEventContext, + Send
Result<Result<(), String>, __sdk::InternalError>,
) + Send
+ 'static, + 'static,
) -> __sdk::Result<()> { ) -> __sdk::Result<()> {
self.imp self.imp

View File

@@ -47,10 +47,8 @@ pub trait start_ai_task {
&self, &self,
input: AiTaskStartInput, input: AiTaskStartInput,
callback: impl FnOnce( callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
&super::ReducerEventContext, + Send
Result<Result<(), String>, __sdk::InternalError>,
) + Send
+ 'static, + 'static,
) -> __sdk::Result<()>; ) -> __sdk::Result<()>;
} }
@@ -60,10 +58,8 @@ impl start_ai_task for super::RemoteReducers {
&self, &self,
input: AiTaskStartInput, input: AiTaskStartInput,
callback: impl FnOnce( callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
&super::ReducerEventContext, + Send
Result<Result<(), String>, __sdk::InternalError>,
) + Send
+ 'static, + 'static,
) -> __sdk::Result<()> { ) -> __sdk::Result<()> {
self.imp self.imp

View File

@@ -47,10 +47,8 @@ pub trait start_ai_task_stage {
&self, &self,
input: AiTaskStageStartInput, input: AiTaskStageStartInput,
callback: impl FnOnce( callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
&super::ReducerEventContext, + Send
Result<Result<(), String>, __sdk::InternalError>,
) + Send
+ 'static, + 'static,
) -> __sdk::Result<()>; ) -> __sdk::Result<()>;
} }
@@ -60,10 +58,8 @@ impl start_ai_task_stage for super::RemoteReducers {
&self, &self,
input: AiTaskStageStartInput, input: AiTaskStageStartInput,
callback: impl FnOnce( callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
&super::ReducerEventContext, + Send
Result<Result<(), String>, __sdk::InternalError>,
) + Send
+ 'static, + 'static,
) -> __sdk::Result<()> { ) -> __sdk::Result<()> {
self.imp self.imp

View File

@@ -47,10 +47,8 @@ pub trait turn_in_quest {
&self, &self,
input: QuestTurnInInput, input: QuestTurnInInput,
callback: impl FnOnce( callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
&super::ReducerEventContext, + Send
Result<Result<(), String>, __sdk::InternalError>,
) + Send
+ 'static, + 'static,
) -> __sdk::Result<()>; ) -> __sdk::Result<()>;
} }
@@ -60,10 +58,8 @@ impl turn_in_quest for super::RemoteReducers {
&self, &self,
input: QuestTurnInInput, input: QuestTurnInInput,
callback: impl FnOnce( callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
&super::ReducerEventContext, + Send
Result<Result<(), String>, __sdk::InternalError>,
) + Send
+ 'static, + 'static,
) -> __sdk::Result<()> { ) -> __sdk::Result<()> {
self.imp self.imp

View File

@@ -50,10 +50,8 @@ pub trait unpublish_custom_world_profile {
&self, &self,
input: CustomWorldProfileUnpublishInput, input: CustomWorldProfileUnpublishInput,
callback: impl FnOnce( callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
&super::ReducerEventContext, + Send
Result<Result<(), String>, __sdk::InternalError>,
) + Send
+ 'static, + 'static,
) -> __sdk::Result<()>; ) -> __sdk::Result<()>;
} }
@@ -63,10 +61,8 @@ impl unpublish_custom_world_profile for super::RemoteReducers {
&self, &self,
input: CustomWorldProfileUnpublishInput, input: CustomWorldProfileUnpublishInput,
callback: impl FnOnce( callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
&super::ReducerEventContext, + Send
Result<Result<(), String>, __sdk::InternalError>,
) + Send
+ 'static, + 'static,
) -> __sdk::Result<()> { ) -> __sdk::Result<()> {
self.imp self.imp

View File

@@ -47,10 +47,8 @@ pub trait upsert_chapter_progression {
&self, &self,
input: ChapterProgressionInput, input: ChapterProgressionInput,
callback: impl FnOnce( callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
&super::ReducerEventContext, + Send
Result<Result<(), String>, __sdk::InternalError>,
) + Send
+ 'static, + 'static,
) -> __sdk::Result<()>; ) -> __sdk::Result<()>;
} }
@@ -60,10 +58,8 @@ impl upsert_chapter_progression for super::RemoteReducers {
&self, &self,
input: ChapterProgressionInput, input: ChapterProgressionInput,
callback: impl FnOnce( callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
&super::ReducerEventContext, + Send
Result<Result<(), String>, __sdk::InternalError>,
) + Send
+ 'static, + 'static,
) -> __sdk::Result<()> { ) -> __sdk::Result<()> {
self.imp self.imp

View File

@@ -50,10 +50,8 @@ pub trait upsert_custom_world_profile {
&self, &self,
input: CustomWorldProfileUpsertInput, input: CustomWorldProfileUpsertInput,
callback: impl FnOnce( callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
&super::ReducerEventContext, + Send
Result<Result<(), String>, __sdk::InternalError>,
) + Send
+ 'static, + 'static,
) -> __sdk::Result<()>; ) -> __sdk::Result<()>;
} }
@@ -63,10 +61,8 @@ impl upsert_custom_world_profile for super::RemoteReducers {
&self, &self,
input: CustomWorldProfileUpsertInput, input: CustomWorldProfileUpsertInput,
callback: impl FnOnce( callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
&super::ReducerEventContext, + Send
Result<Result<(), String>, __sdk::InternalError>,
) + Send
+ 'static, + 'static,
) -> __sdk::Result<()> { ) -> __sdk::Result<()> {
self.imp self.imp

View File

@@ -47,10 +47,8 @@ pub trait upsert_npc_state {
&self, &self,
input: NpcStateUpsertInput, input: NpcStateUpsertInput,
callback: impl FnOnce( callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
&super::ReducerEventContext, + Send
Result<Result<(), String>, __sdk::InternalError>,
) + Send
+ 'static, + 'static,
) -> __sdk::Result<()>; ) -> __sdk::Result<()>;
} }
@@ -60,10 +58,8 @@ impl upsert_npc_state for super::RemoteReducers {
&self, &self,
input: NpcStateUpsertInput, input: NpcStateUpsertInput,
callback: impl FnOnce( callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
&super::ReducerEventContext, + Send
Result<Result<(), String>, __sdk::InternalError>,
) + Send
+ 'static, + 'static,
) -> __sdk::Result<()> { ) -> __sdk::Result<()> {
self.imp self.imp

View File

@@ -7,6 +7,8 @@ import {defineConfig, loadEnv} from 'vite';
export default defineConfig(({mode}) => { export default defineConfig(({mode}) => {
const env = loadEnv(mode, __dirname, ''); const env = loadEnv(mode, __dirname, '');
const ignoredWatchGlobs = [ const ignoredWatchGlobs = [
'**/.git/**',
'**/.worktrees/**',
'**/dist/**', '**/dist/**',
'**/dist_check/**', '**/dist_check/**',
'**/dist_check_final/**', '**/dist_check_final/**',
@@ -22,6 +24,7 @@ export default defineConfig(({mode}) => {
'**/media/**', '**/media/**',
'**/scripts/**', '**/scripts/**',
'**/server-rs/**', '**/server-rs/**',
'**/server-rs/target/**',
'**/*.test.ts', '**/*.test.ts',
'**/*.test.tsx', '**/*.test.tsx',
'**/*.spec.ts', '**/*.spec.ts',