This commit is contained in:
2026-04-25 22:19:04 +08:00
parent 2ebfd1cf55
commit 8404081d7b
149 changed files with 10508 additions and 2732 deletions

View File

@@ -0,0 +1,23 @@
// THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE
// WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD.
/* eslint-disable */
/* tslint:disable */
import {
TypeBuilder as __TypeBuilder,
t as __t,
type AlgebraicTypeType as __AlgebraicTypeType,
type Infer as __Infer,
} from "spacetimedb";
import {
RuntimeProfileRechargeOrderCreateInput,
RuntimeProfileRechargeCenterProcedureResult,
} from "./types";
export const params = {
get input() {
return RuntimeProfileRechargeOrderCreateInput;
},
};
export const returnType = RuntimeProfileRechargeCenterProcedureResult

View File

@@ -17,6 +17,8 @@ import {
export default __t.row({
profileId: __t.string().primaryKey().name("profile_id"),
ownerUserId: __t.string().name("owner_user_id"),
publicWorkCode: __t.string().name("public_work_code"),
authorPublicUserCode: __t.string().name("author_public_user_code"),
authorDisplayName: __t.string().name("author_display_name"),
worldName: __t.string().name("world_name"),
subtitle: __t.string(),

View File

@@ -0,0 +1,23 @@
// THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE
// WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD.
/* eslint-disable */
/* tslint:disable */
import {
TypeBuilder as __TypeBuilder,
t as __t,
type AlgebraicTypeType as __AlgebraicTypeType,
type Infer as __Infer,
} from "spacetimedb";
import {
BigFishWorkDeleteInput,
BigFishWorksProcedureResult,
} from "./types";
export const params = {
get input() {
return BigFishWorkDeleteInput;
},
};
export const returnType = BigFishWorksProcedureResult

View File

@@ -0,0 +1,23 @@
// THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE
// WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD.
/* eslint-disable */
/* tslint:disable */
import {
TypeBuilder as __TypeBuilder,
t as __t,
type AlgebraicTypeType as __AlgebraicTypeType,
type Infer as __Infer,
} from "spacetimedb";
import {
CustomWorldAgentSessionGetInput,
CustomWorldWorksListResult,
} from "./types";
export const params = {
get input() {
return CustomWorldAgentSessionGetInput;
},
};
export const returnType = CustomWorldWorksListResult

View File

@@ -0,0 +1,23 @@
// THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE
// WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD.
/* eslint-disable */
/* tslint:disable */
import {
TypeBuilder as __TypeBuilder,
t as __t,
type AlgebraicTypeType as __AlgebraicTypeType,
type Infer as __Infer,
} from "spacetimedb";
import {
PuzzleWorkDeleteInput,
PuzzleWorksProcedureResult,
} from "./types";
export const params = {
get input() {
return PuzzleWorkDeleteInput;
},
};
export const returnType = PuzzleWorksProcedureResult

View File

@@ -0,0 +1,19 @@
// THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE
// WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD.
/* eslint-disable */
/* tslint:disable */
import {
TypeBuilder as __TypeBuilder,
t as __t,
type AlgebraicTypeType as __AlgebraicTypeType,
type Infer as __Infer,
} from "spacetimedb";
import {
AuthStoreSnapshotProcedureResult,
} from "./types";
export const params = {
};
export const returnType = AuthStoreSnapshotProcedureResult

View File

@@ -0,0 +1,23 @@
// THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE
// WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD.
/* eslint-disable */
/* tslint:disable */
import {
TypeBuilder as __TypeBuilder,
t as __t,
type AlgebraicTypeType as __AlgebraicTypeType,
type Infer as __Infer,
} from "spacetimedb";
import {
BigFishSessionProcedureResult,
BigFishMessageFinalizeInput,
} from "./types";
export const params = {
get input() {
return BigFishMessageFinalizeInput;
},
};
export const returnType = BigFishSessionProcedureResult

View File

@@ -0,0 +1,23 @@
// THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE
// WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD.
/* eslint-disable */
/* tslint:disable */
import {
TypeBuilder as __TypeBuilder,
t as __t,
type AlgebraicTypeType as __AlgebraicTypeType,
type Infer as __Infer,
} from "spacetimedb";
import {
PuzzleAgentSessionProcedureResult,
PuzzleAgentMessageFinalizeInput,
} from "./types";
export const params = {
get input() {
return PuzzleAgentMessageFinalizeInput;
},
};
export const returnType = PuzzleAgentSessionProcedureResult

View File

@@ -0,0 +1,19 @@
// THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE
// WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD.
/* eslint-disable */
/* tslint:disable */
import {
TypeBuilder as __TypeBuilder,
t as __t,
type AlgebraicTypeType as __AlgebraicTypeType,
type Infer as __Infer,
} from "spacetimedb";
import {
AuthStoreSnapshotProcedureResult,
} from "./types";
export const params = {
};
export const returnType = AuthStoreSnapshotProcedureResult

View File

@@ -0,0 +1,23 @@
// THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE
// WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD.
/* eslint-disable */
/* tslint:disable */
import {
TypeBuilder as __TypeBuilder,
t as __t,
type AlgebraicTypeType as __AlgebraicTypeType,
type Infer as __Infer,
} from "spacetimedb";
import {
CustomWorldLibraryMutationResult,
CustomWorldGalleryDetailByCodeInput,
} from "./types";
export const params = {
get input() {
return CustomWorldGalleryDetailByCodeInput;
},
};
export const returnType = CustomWorldLibraryMutationResult

View File

@@ -0,0 +1,23 @@
// THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE
// WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD.
/* eslint-disable */
/* tslint:disable */
import {
TypeBuilder as __TypeBuilder,
t as __t,
type AlgebraicTypeType as __AlgebraicTypeType,
type Infer as __Infer,
} from "spacetimedb";
import {
RuntimeProfileRechargeCenterProcedureResult,
RuntimeProfileRechargeCenterGetInput,
} from "./types";
export const params = {
get input() {
return RuntimeProfileRechargeCenterGetInput;
},
};
export const returnType = RuntimeProfileRechargeCenterProcedureResult

View File

@@ -0,0 +1,19 @@
// THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE
// WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD.
/* eslint-disable */
/* tslint:disable */
import {
TypeBuilder as __TypeBuilder,
t as __t,
type AlgebraicTypeType as __AlgebraicTypeType,
type Infer as __Infer,
} from "spacetimedb";
import {
AuthStoreSnapshotImportProcedureResult,
} from "./types";
export const params = {
};
export const returnType = AuthStoreSnapshotImportProcedureResult

View File

@@ -79,14 +79,22 @@ import * as CreateAiTaskAndReturnProcedure from "./create_ai_task_and_return_pro
import * as CreateBattleStateAndReturnProcedure from "./create_battle_state_and_return_procedure";
import * as CreateBigFishSessionProcedure from "./create_big_fish_session_procedure";
import * as CreateCustomWorldAgentSessionProcedure from "./create_custom_world_agent_session_procedure";
import * as CreateProfileRechargeOrderAndReturnProcedure from "./create_profile_recharge_order_and_return_procedure";
import * as CreatePuzzleAgentSessionProcedure from "./create_puzzle_agent_session_procedure";
import * as DeleteBigFishWorkProcedure from "./delete_big_fish_work_procedure";
import * as DeleteCustomWorldAgentSessionProcedure from "./delete_custom_world_agent_session_procedure";
import * as DeleteCustomWorldProfileAndReturnProcedure from "./delete_custom_world_profile_and_return_procedure";
import * as DeletePuzzleWorkProcedure from "./delete_puzzle_work_procedure";
import * as DeleteRuntimeSnapshotAndReturnProcedure from "./delete_runtime_snapshot_and_return_procedure";
import * as DragPuzzlePieceOrGroupProcedure from "./drag_puzzle_piece_or_group_procedure";
import * as ExecuteCustomWorldAgentActionProcedure from "./execute_custom_world_agent_action_procedure";
import * as ExportAuthStoreSnapshotFromTablesProcedure from "./export_auth_store_snapshot_from_tables_procedure";
import * as FailAiTaskAndReturnProcedure from "./fail_ai_task_and_return_procedure";
import * as FinalizeBigFishAgentMessageTurnProcedure from "./finalize_big_fish_agent_message_turn_procedure";
import * as FinalizeCustomWorldAgentMessageTurnProcedure from "./finalize_custom_world_agent_message_turn_procedure";
import * as FinalizePuzzleAgentMessageTurnProcedure from "./finalize_puzzle_agent_message_turn_procedure";
import * as GenerateBigFishAssetProcedure from "./generate_big_fish_asset_procedure";
import * as GetAuthStoreSnapshotProcedure from "./get_auth_store_snapshot_procedure";
import * as GetBattleStateProcedure from "./get_battle_state_procedure";
import * as GetBigFishRunProcedure from "./get_big_fish_run_procedure";
import * as GetBigFishSessionProcedure from "./get_big_fish_session_procedure";
@@ -95,10 +103,12 @@ import * as GetCustomWorldAgentCardDetailProcedure from "./get_custom_world_agen
import * as GetCustomWorldAgentOperationProcedure from "./get_custom_world_agent_operation_procedure";
import * as GetCustomWorldAgentSessionProcedure from "./get_custom_world_agent_session_procedure";
import * as GetCustomWorldGalleryDetailProcedure from "./get_custom_world_gallery_detail_procedure";
import * as GetCustomWorldGalleryDetailByCodeProcedure from "./get_custom_world_gallery_detail_by_code_procedure";
import * as GetCustomWorldLibraryDetailProcedure from "./get_custom_world_library_detail_procedure";
import * as GetPlayerProgressionOrDefaultProcedure from "./get_player_progression_or_default_procedure";
import * as GetProfileDashboardProcedure from "./get_profile_dashboard_procedure";
import * as GetProfilePlayStatsProcedure from "./get_profile_play_stats_procedure";
import * as GetProfileRechargeCenterProcedure from "./get_profile_recharge_center_procedure";
import * as GetPuzzleAgentSessionProcedure from "./get_puzzle_agent_session_procedure";
import * as GetPuzzleGalleryDetailProcedure from "./get_puzzle_gallery_detail_procedure";
import * as GetPuzzleRunProcedure from "./get_puzzle_run_procedure";
@@ -108,6 +118,8 @@ import * as GetRuntimeSettingOrDefaultProcedure from "./get_runtime_setting_or_d
import * as GetRuntimeSnapshotProcedure from "./get_runtime_snapshot_procedure";
import * as GetStorySessionStateProcedure from "./get_story_session_state_procedure";
import * as GrantPlayerProgressionExperienceAndReturnProcedure from "./grant_player_progression_experience_and_return_procedure";
import * as ImportAuthStoreSnapshotProcedure from "./import_auth_store_snapshot_procedure";
import * as ListBigFishWorksProcedure from "./list_big_fish_works_procedure";
import * as ListCustomWorldGalleryEntriesProcedure from "./list_custom_world_gallery_entries_procedure";
import * as ListCustomWorldProfilesProcedure from "./list_custom_world_profiles_procedure";
import * as ListCustomWorldWorksProcedure from "./list_custom_world_works_procedure";
@@ -137,7 +149,9 @@ import * as SubmitPuzzleAgentMessageProcedure from "./submit_puzzle_agent_messag
import * as SwapPuzzlePiecesProcedure from "./swap_puzzle_pieces_procedure";
import * as UnpublishCustomWorldProfileAndReturnProcedure from "./unpublish_custom_world_profile_and_return_procedure";
import * as UpdatePuzzleWorkProcedure from "./update_puzzle_work_procedure";
import * as UpsertAuthStoreSnapshotProcedure from "./upsert_auth_store_snapshot_procedure";
import * as UpsertChapterProgressionAndReturnProcedure from "./upsert_chapter_progression_and_return_procedure";
import * as UpsertCustomWorldAgentOperationProgressProcedure from "./upsert_custom_world_agent_operation_progress_procedure";
import * as UpsertCustomWorldProfileAndReturnProcedure from "./upsert_custom_world_profile_and_return_procedure";
import * as UpsertNpcStateAndReturnProcedure from "./upsert_npc_state_and_return_procedure";
import * as UpsertPlatformBrowseHistoryAndReturnProcedure from "./upsert_platform_browse_history_and_return_procedure";
@@ -160,6 +174,9 @@ const tablesSchema = __schema({
{ accessor: 'profile_id', name: 'custom_world_gallery_entry_profile_id_idx_btree', algorithm: 'btree', columns: [
'profileId',
] },
{ accessor: 'by_custom_world_gallery_public_work_code', name: 'custom_world_gallery_entry_public_work_code_idx_btree', algorithm: 'btree', columns: [
'publicWorkCode',
] },
{ accessor: 'by_custom_world_gallery_theme_mode', name: 'custom_world_gallery_entry_theme_mode_idx_btree', algorithm: 'btree', columns: [
'themeMode',
] },
@@ -219,14 +236,22 @@ const proceduresSchema = __procedures(
__procedureSchema("create_battle_state_and_return", CreateBattleStateAndReturnProcedure.params, CreateBattleStateAndReturnProcedure.returnType),
__procedureSchema("create_big_fish_session", CreateBigFishSessionProcedure.params, CreateBigFishSessionProcedure.returnType),
__procedureSchema("create_custom_world_agent_session", CreateCustomWorldAgentSessionProcedure.params, CreateCustomWorldAgentSessionProcedure.returnType),
__procedureSchema("create_profile_recharge_order_and_return", CreateProfileRechargeOrderAndReturnProcedure.params, CreateProfileRechargeOrderAndReturnProcedure.returnType),
__procedureSchema("create_puzzle_agent_session", CreatePuzzleAgentSessionProcedure.params, CreatePuzzleAgentSessionProcedure.returnType),
__procedureSchema("delete_big_fish_work", DeleteBigFishWorkProcedure.params, DeleteBigFishWorkProcedure.returnType),
__procedureSchema("delete_custom_world_agent_session", DeleteCustomWorldAgentSessionProcedure.params, DeleteCustomWorldAgentSessionProcedure.returnType),
__procedureSchema("delete_custom_world_profile_and_return", DeleteCustomWorldProfileAndReturnProcedure.params, DeleteCustomWorldProfileAndReturnProcedure.returnType),
__procedureSchema("delete_puzzle_work", DeletePuzzleWorkProcedure.params, DeletePuzzleWorkProcedure.returnType),
__procedureSchema("delete_runtime_snapshot_and_return", DeleteRuntimeSnapshotAndReturnProcedure.params, DeleteRuntimeSnapshotAndReturnProcedure.returnType),
__procedureSchema("drag_puzzle_piece_or_group", DragPuzzlePieceOrGroupProcedure.params, DragPuzzlePieceOrGroupProcedure.returnType),
__procedureSchema("execute_custom_world_agent_action", ExecuteCustomWorldAgentActionProcedure.params, ExecuteCustomWorldAgentActionProcedure.returnType),
__procedureSchema("export_auth_store_snapshot_from_tables", ExportAuthStoreSnapshotFromTablesProcedure.params, ExportAuthStoreSnapshotFromTablesProcedure.returnType),
__procedureSchema("fail_ai_task_and_return", FailAiTaskAndReturnProcedure.params, FailAiTaskAndReturnProcedure.returnType),
__procedureSchema("finalize_big_fish_agent_message_turn", FinalizeBigFishAgentMessageTurnProcedure.params, FinalizeBigFishAgentMessageTurnProcedure.returnType),
__procedureSchema("finalize_custom_world_agent_message_turn", FinalizeCustomWorldAgentMessageTurnProcedure.params, FinalizeCustomWorldAgentMessageTurnProcedure.returnType),
__procedureSchema("finalize_puzzle_agent_message_turn", FinalizePuzzleAgentMessageTurnProcedure.params, FinalizePuzzleAgentMessageTurnProcedure.returnType),
__procedureSchema("generate_big_fish_asset", GenerateBigFishAssetProcedure.params, GenerateBigFishAssetProcedure.returnType),
__procedureSchema("get_auth_store_snapshot", GetAuthStoreSnapshotProcedure.params, GetAuthStoreSnapshotProcedure.returnType),
__procedureSchema("get_battle_state", GetBattleStateProcedure.params, GetBattleStateProcedure.returnType),
__procedureSchema("get_big_fish_run", GetBigFishRunProcedure.params, GetBigFishRunProcedure.returnType),
__procedureSchema("get_big_fish_session", GetBigFishSessionProcedure.params, GetBigFishSessionProcedure.returnType),
@@ -235,10 +260,12 @@ const proceduresSchema = __procedures(
__procedureSchema("get_custom_world_agent_operation", GetCustomWorldAgentOperationProcedure.params, GetCustomWorldAgentOperationProcedure.returnType),
__procedureSchema("get_custom_world_agent_session", GetCustomWorldAgentSessionProcedure.params, GetCustomWorldAgentSessionProcedure.returnType),
__procedureSchema("get_custom_world_gallery_detail", GetCustomWorldGalleryDetailProcedure.params, GetCustomWorldGalleryDetailProcedure.returnType),
__procedureSchema("get_custom_world_gallery_detail_by_code", GetCustomWorldGalleryDetailByCodeProcedure.params, GetCustomWorldGalleryDetailByCodeProcedure.returnType),
__procedureSchema("get_custom_world_library_detail", GetCustomWorldLibraryDetailProcedure.params, GetCustomWorldLibraryDetailProcedure.returnType),
__procedureSchema("get_player_progression_or_default", GetPlayerProgressionOrDefaultProcedure.params, GetPlayerProgressionOrDefaultProcedure.returnType),
__procedureSchema("get_profile_dashboard", GetProfileDashboardProcedure.params, GetProfileDashboardProcedure.returnType),
__procedureSchema("get_profile_play_stats", GetProfilePlayStatsProcedure.params, GetProfilePlayStatsProcedure.returnType),
__procedureSchema("get_profile_recharge_center", GetProfileRechargeCenterProcedure.params, GetProfileRechargeCenterProcedure.returnType),
__procedureSchema("get_puzzle_agent_session", GetPuzzleAgentSessionProcedure.params, GetPuzzleAgentSessionProcedure.returnType),
__procedureSchema("get_puzzle_gallery_detail", GetPuzzleGalleryDetailProcedure.params, GetPuzzleGalleryDetailProcedure.returnType),
__procedureSchema("get_puzzle_run", GetPuzzleRunProcedure.params, GetPuzzleRunProcedure.returnType),
@@ -248,6 +275,8 @@ const proceduresSchema = __procedures(
__procedureSchema("get_runtime_snapshot", GetRuntimeSnapshotProcedure.params, GetRuntimeSnapshotProcedure.returnType),
__procedureSchema("get_story_session_state", GetStorySessionStateProcedure.params, GetStorySessionStateProcedure.returnType),
__procedureSchema("grant_player_progression_experience_and_return", GrantPlayerProgressionExperienceAndReturnProcedure.params, GrantPlayerProgressionExperienceAndReturnProcedure.returnType),
__procedureSchema("import_auth_store_snapshot", ImportAuthStoreSnapshotProcedure.params, ImportAuthStoreSnapshotProcedure.returnType),
__procedureSchema("list_big_fish_works", ListBigFishWorksProcedure.params, ListBigFishWorksProcedure.returnType),
__procedureSchema("list_custom_world_gallery_entries", ListCustomWorldGalleryEntriesProcedure.params, ListCustomWorldGalleryEntriesProcedure.returnType),
__procedureSchema("list_custom_world_profiles", ListCustomWorldProfilesProcedure.params, ListCustomWorldProfilesProcedure.returnType),
__procedureSchema("list_custom_world_works", ListCustomWorldWorksProcedure.params, ListCustomWorldWorksProcedure.returnType),
@@ -277,7 +306,9 @@ const proceduresSchema = __procedures(
__procedureSchema("swap_puzzle_pieces", SwapPuzzlePiecesProcedure.params, SwapPuzzlePiecesProcedure.returnType),
__procedureSchema("unpublish_custom_world_profile_and_return", UnpublishCustomWorldProfileAndReturnProcedure.params, UnpublishCustomWorldProfileAndReturnProcedure.returnType),
__procedureSchema("update_puzzle_work", UpdatePuzzleWorkProcedure.params, UpdatePuzzleWorkProcedure.returnType),
__procedureSchema("upsert_auth_store_snapshot", UpsertAuthStoreSnapshotProcedure.params, UpsertAuthStoreSnapshotProcedure.returnType),
__procedureSchema("upsert_chapter_progression_and_return", UpsertChapterProgressionAndReturnProcedure.params, UpsertChapterProgressionAndReturnProcedure.returnType),
__procedureSchema("upsert_custom_world_agent_operation_progress", UpsertCustomWorldAgentOperationProgressProcedure.params, UpsertCustomWorldAgentOperationProgressProcedure.returnType),
__procedureSchema("upsert_custom_world_profile_and_return", UpsertCustomWorldProfileAndReturnProcedure.params, UpsertCustomWorldProfileAndReturnProcedure.returnType),
__procedureSchema("upsert_npc_state_and_return", UpsertNpcStateAndReturnProcedure.params, UpsertNpcStateAndReturnProcedure.returnType),
__procedureSchema("upsert_platform_browse_history_and_return", UpsertPlatformBrowseHistoryAndReturnProcedure.params, UpsertPlatformBrowseHistoryAndReturnProcedure.returnType),

View File

@@ -0,0 +1,23 @@
// THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE
// WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD.
/* eslint-disable */
/* tslint:disable */
import {
TypeBuilder as __TypeBuilder,
t as __t,
type AlgebraicTypeType as __AlgebraicTypeType,
type Infer as __Infer,
} from "spacetimedb";
import {
BigFishWorksProcedureResult,
BigFishWorksListInput,
} from "./types";
export const params = {
get input() {
return BigFishWorksListInput;
},
};
export const returnType = BigFishWorksProcedureResult

View File

@@ -11,8 +11,8 @@ import {
} from "spacetimedb";
import {
CustomWorldWorksListInput,
CustomWorldWorksListResult,
CustomWorldWorksListInput,
} from "./types";
export const params = {

View File

@@ -438,6 +438,62 @@ export const AssetObjectUpsertSnapshot = __t.object("AssetObjectUpsertSnapshot",
});
export type AssetObjectUpsertSnapshot = __Infer<typeof AssetObjectUpsertSnapshot>;
export const AuthIdentity = __t.object("AuthIdentity", {
identityId: __t.string(),
userId: __t.string(),
provider: __t.string(),
providerUid: __t.string(),
providerUnionId: __t.option(__t.string()),
phoneE164: __t.option(__t.string()),
displayName: __t.option(__t.string()),
avatarUrl: __t.option(__t.string()),
});
export type AuthIdentity = __Infer<typeof AuthIdentity>;
export const AuthStoreSnapshot = __t.object("AuthStoreSnapshot", {
snapshotId: __t.string(),
snapshotJson: __t.string(),
updatedAt: __t.timestamp(),
});
export type AuthStoreSnapshot = __Infer<typeof AuthStoreSnapshot>;
export const AuthStoreSnapshotImportProcedureResult = __t.object("AuthStoreSnapshotImportProcedureResult", {
ok: __t.bool(),
get record() {
return __t.option(AuthStoreSnapshotImportRecord);
},
errorMessage: __t.option(__t.string()),
});
export type AuthStoreSnapshotImportProcedureResult = __Infer<typeof AuthStoreSnapshotImportProcedureResult>;
export const AuthStoreSnapshotImportRecord = __t.object("AuthStoreSnapshotImportRecord", {
importedUserCount: __t.u32(),
importedIdentityCount: __t.u32(),
importedRefreshSessionCount: __t.u32(),
});
export type AuthStoreSnapshotImportRecord = __Infer<typeof AuthStoreSnapshotImportRecord>;
export const AuthStoreSnapshotProcedureResult = __t.object("AuthStoreSnapshotProcedureResult", {
ok: __t.bool(),
get record() {
return __t.option(AuthStoreSnapshotRecord);
},
errorMessage: __t.option(__t.string()),
});
export type AuthStoreSnapshotProcedureResult = __Infer<typeof AuthStoreSnapshotProcedureResult>;
export const AuthStoreSnapshotRecord = __t.object("AuthStoreSnapshotRecord", {
snapshotJson: __t.option(__t.string()),
updatedAtMicros: __t.option(__t.i64()),
});
export type AuthStoreSnapshotRecord = __Infer<typeof AuthStoreSnapshotRecord>;
export const AuthStoreSnapshotUpsertInput = __t.object("AuthStoreSnapshotUpsertInput", {
snapshotJson: __t.string(),
updatedAtMicros: __t.i64(),
});
export type AuthStoreSnapshotUpsertInput = __Infer<typeof AuthStoreSnapshotUpsertInput>;
// The tagged union or sum type for the algebraic type `BattleMode`.
export const BattleMode = __t.enum("BattleMode", {
Fight: __t.unit(),
@@ -802,6 +858,21 @@ export const BigFishLevelBlueprint = __t.object("BigFishLevelBlueprint", {
});
export type BigFishLevelBlueprint = __Infer<typeof BigFishLevelBlueprint>;
export const BigFishMessageFinalizeInput = __t.object("BigFishMessageFinalizeInput", {
sessionId: __t.string(),
ownerUserId: __t.string(),
assistantMessageId: __t.option(__t.string()),
assistantReplyText: __t.option(__t.string()),
get stage() {
return BigFishCreationStage;
},
progressPercent: __t.u32(),
anchorPackJson: __t.string(),
errorMessage: __t.option(__t.string()),
updatedAtMicros: __t.i64(),
});
export type BigFishMessageFinalizeInput = __Infer<typeof BigFishMessageFinalizeInput>;
export const BigFishMessageSubmitInput = __t.object("BigFishMessageSubmitInput", {
sessionId: __t.string(),
ownerUserId: __t.string(),
@@ -988,6 +1059,24 @@ export const BigFishVector2 = __t.object("BigFishVector2", {
});
export type BigFishVector2 = __Infer<typeof BigFishVector2>;
export const BigFishWorkDeleteInput = __t.object("BigFishWorkDeleteInput", {
sessionId: __t.string(),
ownerUserId: __t.string(),
});
export type BigFishWorkDeleteInput = __Infer<typeof BigFishWorkDeleteInput>;
export const BigFishWorksListInput = __t.object("BigFishWorksListInput", {
ownerUserId: __t.string(),
});
export type BigFishWorksListInput = __Infer<typeof BigFishWorksListInput>;
export const BigFishWorksProcedureResult = __t.object("BigFishWorksProcedureResult", {
ok: __t.bool(),
itemsJson: __t.option(__t.string()),
errorMessage: __t.option(__t.string()),
});
export type BigFishWorksProcedureResult = __Infer<typeof BigFishWorksProcedureResult>;
// The tagged union or sum type for the algebraic type `ChapterPaceBand`.
export const ChapterPaceBand = __t.enum("ChapterPaceBand", {
OpeningFast: __t.unit(),
@@ -1157,8 +1246,8 @@ export const CustomWorldAgentMessageFinalizeInput = __t.object("CustomWorldAgent
sessionId: __t.string(),
ownerUserId: __t.string(),
operationId: __t.string(),
assistantMessageId: __t.string(),
assistantReplyText: __t.string(),
assistantMessageId: __t.option(__t.string()),
assistantReplyText: __t.option(__t.string()),
phaseLabel: __t.string(),
phaseDetail: __t.string(),
get operationStatus() {
@@ -1244,6 +1333,24 @@ export const CustomWorldAgentOperationProcedureResult = __t.object("CustomWorldA
});
export type CustomWorldAgentOperationProcedureResult = __Infer<typeof CustomWorldAgentOperationProcedureResult>;
export const CustomWorldAgentOperationProgressInput = __t.object("CustomWorldAgentOperationProgressInput", {
sessionId: __t.string(),
ownerUserId: __t.string(),
operationId: __t.string(),
get operationType() {
return RpgAgentOperationType;
},
get operationStatus() {
return RpgAgentOperationStatus;
},
phaseLabel: __t.string(),
phaseDetail: __t.string(),
operationProgress: __t.u32(),
errorMessage: __t.option(__t.string()),
updatedAtMicros: __t.i64(),
});
export type CustomWorldAgentOperationProgressInput = __Infer<typeof CustomWorldAgentOperationProgressInput>;
export const CustomWorldAgentOperationSnapshot = __t.object("CustomWorldAgentOperationSnapshot", {
operationId: __t.string(),
sessionId: __t.string(),
@@ -1454,6 +1561,11 @@ export const CustomWorldDraftCardSnapshot = __t.object("CustomWorldDraftCardSnap
});
export type CustomWorldDraftCardSnapshot = __Infer<typeof CustomWorldDraftCardSnapshot>;
export const CustomWorldGalleryDetailByCodeInput = __t.object("CustomWorldGalleryDetailByCodeInput", {
publicWorkCode: __t.string(),
});
export type CustomWorldGalleryDetailByCodeInput = __Infer<typeof CustomWorldGalleryDetailByCodeInput>;
export const CustomWorldGalleryDetailInput = __t.object("CustomWorldGalleryDetailInput", {
ownerUserId: __t.string(),
profileId: __t.string(),
@@ -1463,6 +1575,8 @@ export type CustomWorldGalleryDetailInput = __Infer<typeof CustomWorldGalleryDet
export const CustomWorldGalleryEntry = __t.object("CustomWorldGalleryEntry", {
profileId: __t.string(),
ownerUserId: __t.string(),
publicWorkCode: __t.string(),
authorPublicUserCode: __t.string(),
authorDisplayName: __t.string(),
worldName: __t.string(),
subtitle: __t.string(),
@@ -1481,6 +1595,8 @@ export type CustomWorldGalleryEntry = __Infer<typeof CustomWorldGalleryEntry>;
export const CustomWorldGalleryEntrySnapshot = __t.object("CustomWorldGalleryEntrySnapshot", {
profileId: __t.string(),
ownerUserId: __t.string(),
publicWorkCode: __t.string(),
authorPublicUserCode: __t.string(),
authorDisplayName: __t.string(),
worldName: __t.string(),
subtitle: __t.string(),
@@ -1533,6 +1649,8 @@ export type CustomWorldLibraryMutationResult = __Infer<typeof CustomWorldLibrary
export const CustomWorldProfile = __t.object("CustomWorldProfile", {
profileId: __t.string(),
ownerUserId: __t.string(),
publicWorkCode: __t.option(__t.string()),
authorPublicUserCode: __t.option(__t.string()),
sourceAgentSessionId: __t.option(__t.string()),
get publicationStatus() {
return CustomWorldPublicationStatus;
@@ -1579,6 +1697,8 @@ export type CustomWorldProfileListResult = __Infer<typeof CustomWorldProfileList
export const CustomWorldProfilePublishInput = __t.object("CustomWorldProfilePublishInput", {
profileId: __t.string(),
ownerUserId: __t.string(),
publicWorkCode: __t.option(__t.string()),
authorPublicUserCode: __t.string(),
authorDisplayName: __t.string(),
publishedAtMicros: __t.i64(),
});
@@ -1587,6 +1707,8 @@ export type CustomWorldProfilePublishInput = __Infer<typeof CustomWorldProfilePu
export const CustomWorldProfileSnapshot = __t.object("CustomWorldProfileSnapshot", {
profileId: __t.string(),
ownerUserId: __t.string(),
publicWorkCode: __t.option(__t.string()),
authorPublicUserCode: __t.option(__t.string()),
sourceAgentSessionId: __t.option(__t.string()),
get publicationStatus() {
return CustomWorldPublicationStatus;
@@ -1620,6 +1742,8 @@ export type CustomWorldProfileUnpublishInput = __Infer<typeof CustomWorldProfile
export const CustomWorldProfileUpsertInput = __t.object("CustomWorldProfileUpsertInput", {
profileId: __t.string(),
ownerUserId: __t.string(),
publicWorkCode: __t.option(__t.string()),
authorPublicUserCode: __t.option(__t.string()),
sourceAgentSessionId: __t.option(__t.string()),
worldName: __t.string(),
subtitle: __t.string(),
@@ -1647,6 +1771,8 @@ export const CustomWorldPublishWorldInput = __t.object("CustomWorldPublishWorldI
sessionId: __t.string(),
profileId: __t.string(),
ownerUserId: __t.string(),
publicWorkCode: __t.option(__t.string()),
authorPublicUserCode: __t.string(),
draftProfileJson: __t.string(),
legacyResultProfileJson: __t.option(__t.string()),
settingText: __t.string(),
@@ -2230,6 +2356,20 @@ export const ProfileDashboardState = __t.object("ProfileDashboardState", {
});
export type ProfileDashboardState = __Infer<typeof ProfileDashboardState>;
export const ProfileMembership = __t.object("ProfileMembership", {
userId: __t.string(),
get status() {
return RuntimeProfileMembershipStatus;
},
get tier() {
return RuntimeProfileMembershipTier;
},
startedAt: __t.timestamp(),
expiresAt: __t.timestamp(),
updatedAt: __t.timestamp(),
});
export type ProfileMembership = __Infer<typeof ProfileMembership>;
export const ProfilePlayedWorld = __t.object("ProfilePlayedWorld", {
playedWorldId: __t.string(),
userId: __t.string(),
@@ -2245,6 +2385,26 @@ export const ProfilePlayedWorld = __t.object("ProfilePlayedWorld", {
});
export type ProfilePlayedWorld = __Infer<typeof ProfilePlayedWorld>;
export const ProfileRechargeOrder = __t.object("ProfileRechargeOrder", {
orderId: __t.string(),
userId: __t.string(),
productId: __t.string(),
productTitle: __t.string(),
get kind() {
return RuntimeProfileRechargeProductKind;
},
amountCents: __t.u64(),
get status() {
return RuntimeProfileRechargeOrderStatus;
},
paymentChannel: __t.string(),
paidAt: __t.timestamp(),
createdAt: __t.timestamp(),
pointsDelta: __t.i64(),
membershipExpiresAt: __t.option(__t.timestamp()),
});
export type ProfileRechargeOrder = __Infer<typeof ProfileRechargeOrder>;
export const ProfileSaveArchive = __t.object("ProfileSaveArchive", {
archiveId: __t.string(),
userId: __t.string(),
@@ -2277,6 +2437,21 @@ export const ProfileWalletLedger = __t.object("ProfileWalletLedger", {
});
export type ProfileWalletLedger = __Infer<typeof ProfileWalletLedger>;
export const PuzzleAgentMessageFinalizeInput = __t.object("PuzzleAgentMessageFinalizeInput", {
sessionId: __t.string(),
ownerUserId: __t.string(),
assistantMessageId: __t.option(__t.string()),
assistantReplyText: __t.option(__t.string()),
get stage() {
return PuzzleAgentStage;
},
progressPercent: __t.u32(),
anchorPackJson: __t.string(),
errorMessage: __t.option(__t.string()),
updatedAtMicros: __t.i64(),
});
export type PuzzleAgentMessageFinalizeInput = __Infer<typeof PuzzleAgentMessageFinalizeInput>;
// The tagged union or sum type for the algebraic type `PuzzleAgentMessageKind`.
export const PuzzleAgentMessageKind = __t.enum("PuzzleAgentMessageKind", {
Chat: __t.unit(),
@@ -2474,6 +2649,12 @@ export const PuzzleSelectCoverImageInput = __t.object("PuzzleSelectCoverImageInp
});
export type PuzzleSelectCoverImageInput = __Infer<typeof PuzzleSelectCoverImageInput>;
export const PuzzleWorkDeleteInput = __t.object("PuzzleWorkDeleteInput", {
profileId: __t.string(),
ownerUserId: __t.string(),
});
export type PuzzleWorkDeleteInput = __Infer<typeof PuzzleWorkDeleteInput>;
export const PuzzleWorkGetInput = __t.object("PuzzleWorkGetInput", {
profileId: __t.string(),
});
@@ -2879,6 +3060,20 @@ export const QuestTurnInInput = __t.object("QuestTurnInInput", {
});
export type QuestTurnInInput = __Infer<typeof QuestTurnInInput>;
export const RefreshSession = __t.object("RefreshSession", {
sessionId: __t.string(),
userId: __t.string(),
refreshTokenHash: __t.string(),
issuedByProvider: __t.string(),
clientInfoJson: __t.string(),
expiresAt: __t.string(),
revokedAt: __t.option(__t.string()),
createdAt: __t.string(),
updatedAt: __t.string(),
lastSeenAt: __t.string(),
});
export type RefreshSession = __Infer<typeof RefreshSession>;
export const ResolveCombatActionInput = __t.object("ResolveCombatActionInput", {
battleStateId: __t.string(),
functionId: __t.string(),
@@ -3016,6 +3211,8 @@ export const RpgAgentOperationType = __t.enum("RpgAgentOperationType", {
SyncResultProfile: __t.unit(),
GenerateCharacters: __t.unit(),
GenerateLandmarks: __t.unit(),
DeleteCharacters: __t.unit(),
DeleteLandmarks: __t.unit(),
GenerateRoleAssets: __t.unit(),
SyncRoleAssets: __t.unit(),
GenerateSceneAssets: __t.unit(),
@@ -3204,6 +3401,45 @@ export const RuntimeProfileDashboardSnapshot = __t.object("RuntimeProfileDashboa
});
export type RuntimeProfileDashboardSnapshot = __Infer<typeof RuntimeProfileDashboardSnapshot>;
export const RuntimeProfileMembershipBenefitSnapshot = __t.object("RuntimeProfileMembershipBenefitSnapshot", {
benefitName: __t.string(),
normalValue: __t.string(),
monthValue: __t.string(),
seasonValue: __t.string(),
yearValue: __t.string(),
});
export type RuntimeProfileMembershipBenefitSnapshot = __Infer<typeof RuntimeProfileMembershipBenefitSnapshot>;
export const RuntimeProfileMembershipSnapshot = __t.object("RuntimeProfileMembershipSnapshot", {
userId: __t.string(),
get status() {
return RuntimeProfileMembershipStatus;
},
get tier() {
return RuntimeProfileMembershipTier;
},
startedAtMicros: __t.option(__t.i64()),
expiresAtMicros: __t.option(__t.i64()),
updatedAtMicros: __t.option(__t.i64()),
});
export type RuntimeProfileMembershipSnapshot = __Infer<typeof RuntimeProfileMembershipSnapshot>;
// The tagged union or sum type for the algebraic type `RuntimeProfileMembershipStatus`.
export const RuntimeProfileMembershipStatus = __t.enum("RuntimeProfileMembershipStatus", {
Normal: __t.unit(),
Active: __t.unit(),
});
export type RuntimeProfileMembershipStatus = __Infer<typeof RuntimeProfileMembershipStatus>;
// The tagged union or sum type for the algebraic type `RuntimeProfileMembershipTier`.
export const RuntimeProfileMembershipTier = __t.enum("RuntimeProfileMembershipTier", {
Normal: __t.unit(),
Month: __t.unit(),
Season: __t.unit(),
Year: __t.unit(),
});
export type RuntimeProfileMembershipTier = __Infer<typeof RuntimeProfileMembershipTier>;
export const RuntimeProfilePlayStatsGetInput = __t.object("RuntimeProfilePlayStatsGetInput", {
userId: __t.string(),
});
@@ -3243,6 +3479,104 @@ export const RuntimeProfilePlayedWorldSnapshot = __t.object("RuntimeProfilePlaye
});
export type RuntimeProfilePlayedWorldSnapshot = __Infer<typeof RuntimeProfilePlayedWorldSnapshot>;
export const RuntimeProfileRechargeCenterGetInput = __t.object("RuntimeProfileRechargeCenterGetInput", {
userId: __t.string(),
});
export type RuntimeProfileRechargeCenterGetInput = __Infer<typeof RuntimeProfileRechargeCenterGetInput>;
export const RuntimeProfileRechargeCenterProcedureResult = __t.object("RuntimeProfileRechargeCenterProcedureResult", {
ok: __t.bool(),
get record() {
return __t.option(RuntimeProfileRechargeCenterSnapshot);
},
get order() {
return __t.option(RuntimeProfileRechargeOrderSnapshot);
},
errorMessage: __t.option(__t.string()),
});
export type RuntimeProfileRechargeCenterProcedureResult = __Infer<typeof RuntimeProfileRechargeCenterProcedureResult>;
export const RuntimeProfileRechargeCenterSnapshot = __t.object("RuntimeProfileRechargeCenterSnapshot", {
userId: __t.string(),
walletBalance: __t.u64(),
get membership() {
return RuntimeProfileMembershipSnapshot;
},
get pointProducts() {
return __t.array(RuntimeProfileRechargeProductSnapshot);
},
get membershipProducts() {
return __t.array(RuntimeProfileRechargeProductSnapshot);
},
get benefits() {
return __t.array(RuntimeProfileMembershipBenefitSnapshot);
},
get latestOrder() {
return __t.option(RuntimeProfileRechargeOrderSnapshot);
},
hasPointsRecharged: __t.bool(),
});
export type RuntimeProfileRechargeCenterSnapshot = __Infer<typeof RuntimeProfileRechargeCenterSnapshot>;
export const RuntimeProfileRechargeOrderCreateInput = __t.object("RuntimeProfileRechargeOrderCreateInput", {
userId: __t.string(),
productId: __t.string(),
paymentChannel: __t.string(),
createdAtMicros: __t.i64(),
});
export type RuntimeProfileRechargeOrderCreateInput = __Infer<typeof RuntimeProfileRechargeOrderCreateInput>;
export const RuntimeProfileRechargeOrderSnapshot = __t.object("RuntimeProfileRechargeOrderSnapshot", {
orderId: __t.string(),
userId: __t.string(),
productId: __t.string(),
productTitle: __t.string(),
get kind() {
return RuntimeProfileRechargeProductKind;
},
amountCents: __t.u64(),
get status() {
return RuntimeProfileRechargeOrderStatus;
},
paymentChannel: __t.string(),
paidAtMicros: __t.i64(),
createdAtMicros: __t.i64(),
pointsDelta: __t.i64(),
membershipExpiresAtMicros: __t.option(__t.i64()),
});
export type RuntimeProfileRechargeOrderSnapshot = __Infer<typeof RuntimeProfileRechargeOrderSnapshot>;
// The tagged union or sum type for the algebraic type `RuntimeProfileRechargeOrderStatus`.
export const RuntimeProfileRechargeOrderStatus = __t.enum("RuntimeProfileRechargeOrderStatus", {
Paid: __t.unit(),
});
export type RuntimeProfileRechargeOrderStatus = __Infer<typeof RuntimeProfileRechargeOrderStatus>;
// The tagged union or sum type for the algebraic type `RuntimeProfileRechargeProductKind`.
export const RuntimeProfileRechargeProductKind = __t.enum("RuntimeProfileRechargeProductKind", {
Points: __t.unit(),
Membership: __t.unit(),
});
export type RuntimeProfileRechargeProductKind = __Infer<typeof RuntimeProfileRechargeProductKind>;
export const RuntimeProfileRechargeProductSnapshot = __t.object("RuntimeProfileRechargeProductSnapshot", {
productId: __t.string(),
title: __t.string(),
priceCents: __t.u64(),
get kind() {
return RuntimeProfileRechargeProductKind;
},
pointsAmount: __t.u64(),
bonusPoints: __t.u64(),
durationDays: __t.u32(),
badgeLabel: __t.string(),
description: __t.string(),
get tier() {
return RuntimeProfileMembershipTier;
},
});
export type RuntimeProfileRechargeProductSnapshot = __Infer<typeof RuntimeProfileRechargeProductSnapshot>;
export const RuntimeProfileSaveArchiveListInput = __t.object("RuntimeProfileSaveArchiveListInput", {
userId: __t.string(),
});
@@ -3318,6 +3652,9 @@ export type RuntimeProfileWalletLedgerProcedureResult = __Infer<typeof RuntimePr
// The tagged union or sum type for the algebraic type `RuntimeProfileWalletLedgerSourceType`.
export const RuntimeProfileWalletLedgerSourceType = __t.enum("RuntimeProfileWalletLedgerSourceType", {
SnapshotSync: __t.unit(),
InviteInviterReward: __t.unit(),
InviteInviteeReward: __t.unit(),
PointsRecharge: __t.unit(),
});
export type RuntimeProfileWalletLedgerSourceType = __Infer<typeof RuntimeProfileWalletLedgerSourceType>;
@@ -3638,6 +3975,22 @@ export const UnequipInventoryItemInput = __t.object("UnequipInventoryItemInput",
});
export type UnequipInventoryItemInput = __Infer<typeof UnequipInventoryItemInput>;
export const UserAccount = __t.object("UserAccount", {
userId: __t.string(),
publicUserCode: __t.string(),
username: __t.string(),
displayName: __t.string(),
phoneNumberMasked: __t.option(__t.string()),
phoneNumberE164: __t.option(__t.string()),
loginMethod: __t.string(),
bindingStatus: __t.string(),
wechatBound: __t.bool(),
passwordHash: __t.string(),
passwordLoginEnabled: __t.bool(),
tokenVersion: __t.u64(),
});
export type UserAccount = __Infer<typeof UserAccount>;
export const UserBrowseHistory = __t.object("UserBrowseHistory", {
browseHistoryId: __t.string(),
userId: __t.string(),

View File

@@ -25,14 +25,22 @@ import * as CreateAiTaskAndReturnProcedure from "../create_ai_task_and_return_pr
import * as CreateBattleStateAndReturnProcedure from "../create_battle_state_and_return_procedure";
import * as CreateBigFishSessionProcedure from "../create_big_fish_session_procedure";
import * as CreateCustomWorldAgentSessionProcedure from "../create_custom_world_agent_session_procedure";
import * as CreateProfileRechargeOrderAndReturnProcedure from "../create_profile_recharge_order_and_return_procedure";
import * as CreatePuzzleAgentSessionProcedure from "../create_puzzle_agent_session_procedure";
import * as DeleteBigFishWorkProcedure from "../delete_big_fish_work_procedure";
import * as DeleteCustomWorldAgentSessionProcedure from "../delete_custom_world_agent_session_procedure";
import * as DeleteCustomWorldProfileAndReturnProcedure from "../delete_custom_world_profile_and_return_procedure";
import * as DeletePuzzleWorkProcedure from "../delete_puzzle_work_procedure";
import * as DeleteRuntimeSnapshotAndReturnProcedure from "../delete_runtime_snapshot_and_return_procedure";
import * as DragPuzzlePieceOrGroupProcedure from "../drag_puzzle_piece_or_group_procedure";
import * as ExecuteCustomWorldAgentActionProcedure from "../execute_custom_world_agent_action_procedure";
import * as ExportAuthStoreSnapshotFromTablesProcedure from "../export_auth_store_snapshot_from_tables_procedure";
import * as FailAiTaskAndReturnProcedure from "../fail_ai_task_and_return_procedure";
import * as FinalizeBigFishAgentMessageTurnProcedure from "../finalize_big_fish_agent_message_turn_procedure";
import * as FinalizeCustomWorldAgentMessageTurnProcedure from "../finalize_custom_world_agent_message_turn_procedure";
import * as FinalizePuzzleAgentMessageTurnProcedure from "../finalize_puzzle_agent_message_turn_procedure";
import * as GenerateBigFishAssetProcedure from "../generate_big_fish_asset_procedure";
import * as GetAuthStoreSnapshotProcedure from "../get_auth_store_snapshot_procedure";
import * as GetBattleStateProcedure from "../get_battle_state_procedure";
import * as GetBigFishRunProcedure from "../get_big_fish_run_procedure";
import * as GetBigFishSessionProcedure from "../get_big_fish_session_procedure";
@@ -41,10 +49,12 @@ import * as GetCustomWorldAgentCardDetailProcedure from "../get_custom_world_age
import * as GetCustomWorldAgentOperationProcedure from "../get_custom_world_agent_operation_procedure";
import * as GetCustomWorldAgentSessionProcedure from "../get_custom_world_agent_session_procedure";
import * as GetCustomWorldGalleryDetailProcedure from "../get_custom_world_gallery_detail_procedure";
import * as GetCustomWorldGalleryDetailByCodeProcedure from "../get_custom_world_gallery_detail_by_code_procedure";
import * as GetCustomWorldLibraryDetailProcedure from "../get_custom_world_library_detail_procedure";
import * as GetPlayerProgressionOrDefaultProcedure from "../get_player_progression_or_default_procedure";
import * as GetProfileDashboardProcedure from "../get_profile_dashboard_procedure";
import * as GetProfilePlayStatsProcedure from "../get_profile_play_stats_procedure";
import * as GetProfileRechargeCenterProcedure from "../get_profile_recharge_center_procedure";
import * as GetPuzzleAgentSessionProcedure from "../get_puzzle_agent_session_procedure";
import * as GetPuzzleGalleryDetailProcedure from "../get_puzzle_gallery_detail_procedure";
import * as GetPuzzleRunProcedure from "../get_puzzle_run_procedure";
@@ -54,6 +64,8 @@ import * as GetRuntimeSettingOrDefaultProcedure from "../get_runtime_setting_or_
import * as GetRuntimeSnapshotProcedure from "../get_runtime_snapshot_procedure";
import * as GetStorySessionStateProcedure from "../get_story_session_state_procedure";
import * as GrantPlayerProgressionExperienceAndReturnProcedure from "../grant_player_progression_experience_and_return_procedure";
import * as ImportAuthStoreSnapshotProcedure from "../import_auth_store_snapshot_procedure";
import * as ListBigFishWorksProcedure from "../list_big_fish_works_procedure";
import * as ListCustomWorldGalleryEntriesProcedure from "../list_custom_world_gallery_entries_procedure";
import * as ListCustomWorldProfilesProcedure from "../list_custom_world_profiles_procedure";
import * as ListCustomWorldWorksProcedure from "../list_custom_world_works_procedure";
@@ -83,7 +95,9 @@ import * as SubmitPuzzleAgentMessageProcedure from "../submit_puzzle_agent_messa
import * as SwapPuzzlePiecesProcedure from "../swap_puzzle_pieces_procedure";
import * as UnpublishCustomWorldProfileAndReturnProcedure from "../unpublish_custom_world_profile_and_return_procedure";
import * as UpdatePuzzleWorkProcedure from "../update_puzzle_work_procedure";
import * as UpsertAuthStoreSnapshotProcedure from "../upsert_auth_store_snapshot_procedure";
import * as UpsertChapterProgressionAndReturnProcedure from "../upsert_chapter_progression_and_return_procedure";
import * as UpsertCustomWorldAgentOperationProgressProcedure from "../upsert_custom_world_agent_operation_progress_procedure";
import * as UpsertCustomWorldProfileAndReturnProcedure from "../upsert_custom_world_profile_and_return_procedure";
import * as UpsertNpcStateAndReturnProcedure from "../upsert_npc_state_and_return_procedure";
import * as UpsertPlatformBrowseHistoryAndReturnProcedure from "../upsert_platform_browse_history_and_return_procedure";
@@ -128,22 +142,38 @@ export type CreateBigFishSessionArgs = __Infer<typeof CreateBigFishSessionProced
export type CreateBigFishSessionResult = __Infer<typeof CreateBigFishSessionProcedure.returnType>;
export type CreateCustomWorldAgentSessionArgs = __Infer<typeof CreateCustomWorldAgentSessionProcedure.params>;
export type CreateCustomWorldAgentSessionResult = __Infer<typeof CreateCustomWorldAgentSessionProcedure.returnType>;
export type CreateProfileRechargeOrderAndReturnArgs = __Infer<typeof CreateProfileRechargeOrderAndReturnProcedure.params>;
export type CreateProfileRechargeOrderAndReturnResult = __Infer<typeof CreateProfileRechargeOrderAndReturnProcedure.returnType>;
export type CreatePuzzleAgentSessionArgs = __Infer<typeof CreatePuzzleAgentSessionProcedure.params>;
export type CreatePuzzleAgentSessionResult = __Infer<typeof CreatePuzzleAgentSessionProcedure.returnType>;
export type DeleteBigFishWorkArgs = __Infer<typeof DeleteBigFishWorkProcedure.params>;
export type DeleteBigFishWorkResult = __Infer<typeof DeleteBigFishWorkProcedure.returnType>;
export type DeleteCustomWorldAgentSessionArgs = __Infer<typeof DeleteCustomWorldAgentSessionProcedure.params>;
export type DeleteCustomWorldAgentSessionResult = __Infer<typeof DeleteCustomWorldAgentSessionProcedure.returnType>;
export type DeleteCustomWorldProfileAndReturnArgs = __Infer<typeof DeleteCustomWorldProfileAndReturnProcedure.params>;
export type DeleteCustomWorldProfileAndReturnResult = __Infer<typeof DeleteCustomWorldProfileAndReturnProcedure.returnType>;
export type DeletePuzzleWorkArgs = __Infer<typeof DeletePuzzleWorkProcedure.params>;
export type DeletePuzzleWorkResult = __Infer<typeof DeletePuzzleWorkProcedure.returnType>;
export type DeleteRuntimeSnapshotAndReturnArgs = __Infer<typeof DeleteRuntimeSnapshotAndReturnProcedure.params>;
export type DeleteRuntimeSnapshotAndReturnResult = __Infer<typeof DeleteRuntimeSnapshotAndReturnProcedure.returnType>;
export type DragPuzzlePieceOrGroupArgs = __Infer<typeof DragPuzzlePieceOrGroupProcedure.params>;
export type DragPuzzlePieceOrGroupResult = __Infer<typeof DragPuzzlePieceOrGroupProcedure.returnType>;
export type ExecuteCustomWorldAgentActionArgs = __Infer<typeof ExecuteCustomWorldAgentActionProcedure.params>;
export type ExecuteCustomWorldAgentActionResult = __Infer<typeof ExecuteCustomWorldAgentActionProcedure.returnType>;
export type ExportAuthStoreSnapshotFromTablesArgs = __Infer<typeof ExportAuthStoreSnapshotFromTablesProcedure.params>;
export type ExportAuthStoreSnapshotFromTablesResult = __Infer<typeof ExportAuthStoreSnapshotFromTablesProcedure.returnType>;
export type FailAiTaskAndReturnArgs = __Infer<typeof FailAiTaskAndReturnProcedure.params>;
export type FailAiTaskAndReturnResult = __Infer<typeof FailAiTaskAndReturnProcedure.returnType>;
export type FinalizeBigFishAgentMessageTurnArgs = __Infer<typeof FinalizeBigFishAgentMessageTurnProcedure.params>;
export type FinalizeBigFishAgentMessageTurnResult = __Infer<typeof FinalizeBigFishAgentMessageTurnProcedure.returnType>;
export type FinalizeCustomWorldAgentMessageTurnArgs = __Infer<typeof FinalizeCustomWorldAgentMessageTurnProcedure.params>;
export type FinalizeCustomWorldAgentMessageTurnResult = __Infer<typeof FinalizeCustomWorldAgentMessageTurnProcedure.returnType>;
export type FinalizePuzzleAgentMessageTurnArgs = __Infer<typeof FinalizePuzzleAgentMessageTurnProcedure.params>;
export type FinalizePuzzleAgentMessageTurnResult = __Infer<typeof FinalizePuzzleAgentMessageTurnProcedure.returnType>;
export type GenerateBigFishAssetArgs = __Infer<typeof GenerateBigFishAssetProcedure.params>;
export type GenerateBigFishAssetResult = __Infer<typeof GenerateBigFishAssetProcedure.returnType>;
export type GetAuthStoreSnapshotArgs = __Infer<typeof GetAuthStoreSnapshotProcedure.params>;
export type GetAuthStoreSnapshotResult = __Infer<typeof GetAuthStoreSnapshotProcedure.returnType>;
export type GetBattleStateArgs = __Infer<typeof GetBattleStateProcedure.params>;
export type GetBattleStateResult = __Infer<typeof GetBattleStateProcedure.returnType>;
export type GetBigFishRunArgs = __Infer<typeof GetBigFishRunProcedure.params>;
@@ -160,6 +190,8 @@ export type GetCustomWorldAgentSessionArgs = __Infer<typeof GetCustomWorldAgentS
export type GetCustomWorldAgentSessionResult = __Infer<typeof GetCustomWorldAgentSessionProcedure.returnType>;
export type GetCustomWorldGalleryDetailArgs = __Infer<typeof GetCustomWorldGalleryDetailProcedure.params>;
export type GetCustomWorldGalleryDetailResult = __Infer<typeof GetCustomWorldGalleryDetailProcedure.returnType>;
export type GetCustomWorldGalleryDetailByCodeArgs = __Infer<typeof GetCustomWorldGalleryDetailByCodeProcedure.params>;
export type GetCustomWorldGalleryDetailByCodeResult = __Infer<typeof GetCustomWorldGalleryDetailByCodeProcedure.returnType>;
export type GetCustomWorldLibraryDetailArgs = __Infer<typeof GetCustomWorldLibraryDetailProcedure.params>;
export type GetCustomWorldLibraryDetailResult = __Infer<typeof GetCustomWorldLibraryDetailProcedure.returnType>;
export type GetPlayerProgressionOrDefaultArgs = __Infer<typeof GetPlayerProgressionOrDefaultProcedure.params>;
@@ -168,6 +200,8 @@ export type GetProfileDashboardArgs = __Infer<typeof GetProfileDashboardProcedur
export type GetProfileDashboardResult = __Infer<typeof GetProfileDashboardProcedure.returnType>;
export type GetProfilePlayStatsArgs = __Infer<typeof GetProfilePlayStatsProcedure.params>;
export type GetProfilePlayStatsResult = __Infer<typeof GetProfilePlayStatsProcedure.returnType>;
export type GetProfileRechargeCenterArgs = __Infer<typeof GetProfileRechargeCenterProcedure.params>;
export type GetProfileRechargeCenterResult = __Infer<typeof GetProfileRechargeCenterProcedure.returnType>;
export type GetPuzzleAgentSessionArgs = __Infer<typeof GetPuzzleAgentSessionProcedure.params>;
export type GetPuzzleAgentSessionResult = __Infer<typeof GetPuzzleAgentSessionProcedure.returnType>;
export type GetPuzzleGalleryDetailArgs = __Infer<typeof GetPuzzleGalleryDetailProcedure.params>;
@@ -186,6 +220,10 @@ export type GetStorySessionStateArgs = __Infer<typeof GetStorySessionStateProced
export type GetStorySessionStateResult = __Infer<typeof GetStorySessionStateProcedure.returnType>;
export type GrantPlayerProgressionExperienceAndReturnArgs = __Infer<typeof GrantPlayerProgressionExperienceAndReturnProcedure.params>;
export type GrantPlayerProgressionExperienceAndReturnResult = __Infer<typeof GrantPlayerProgressionExperienceAndReturnProcedure.returnType>;
export type ImportAuthStoreSnapshotArgs = __Infer<typeof ImportAuthStoreSnapshotProcedure.params>;
export type ImportAuthStoreSnapshotResult = __Infer<typeof ImportAuthStoreSnapshotProcedure.returnType>;
export type ListBigFishWorksArgs = __Infer<typeof ListBigFishWorksProcedure.params>;
export type ListBigFishWorksResult = __Infer<typeof ListBigFishWorksProcedure.returnType>;
export type ListCustomWorldGalleryEntriesArgs = __Infer<typeof ListCustomWorldGalleryEntriesProcedure.params>;
export type ListCustomWorldGalleryEntriesResult = __Infer<typeof ListCustomWorldGalleryEntriesProcedure.returnType>;
export type ListCustomWorldProfilesArgs = __Infer<typeof ListCustomWorldProfilesProcedure.params>;
@@ -244,8 +282,12 @@ export type UnpublishCustomWorldProfileAndReturnArgs = __Infer<typeof UnpublishC
export type UnpublishCustomWorldProfileAndReturnResult = __Infer<typeof UnpublishCustomWorldProfileAndReturnProcedure.returnType>;
export type UpdatePuzzleWorkArgs = __Infer<typeof UpdatePuzzleWorkProcedure.params>;
export type UpdatePuzzleWorkResult = __Infer<typeof UpdatePuzzleWorkProcedure.returnType>;
export type UpsertAuthStoreSnapshotArgs = __Infer<typeof UpsertAuthStoreSnapshotProcedure.params>;
export type UpsertAuthStoreSnapshotResult = __Infer<typeof UpsertAuthStoreSnapshotProcedure.returnType>;
export type UpsertChapterProgressionAndReturnArgs = __Infer<typeof UpsertChapterProgressionAndReturnProcedure.params>;
export type UpsertChapterProgressionAndReturnResult = __Infer<typeof UpsertChapterProgressionAndReturnProcedure.returnType>;
export type UpsertCustomWorldAgentOperationProgressArgs = __Infer<typeof UpsertCustomWorldAgentOperationProgressProcedure.params>;
export type UpsertCustomWorldAgentOperationProgressResult = __Infer<typeof UpsertCustomWorldAgentOperationProgressProcedure.returnType>;
export type UpsertCustomWorldProfileAndReturnArgs = __Infer<typeof UpsertCustomWorldProfileAndReturnProcedure.params>;
export type UpsertCustomWorldProfileAndReturnResult = __Infer<typeof UpsertCustomWorldProfileAndReturnProcedure.returnType>;
export type UpsertNpcStateAndReturnArgs = __Infer<typeof UpsertNpcStateAndReturnProcedure.params>;

View File

@@ -0,0 +1,23 @@
// THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE
// WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD.
/* eslint-disable */
/* tslint:disable */
import {
TypeBuilder as __TypeBuilder,
t as __t,
type AlgebraicTypeType as __AlgebraicTypeType,
type Infer as __Infer,
} from "spacetimedb";
import {
AuthStoreSnapshotProcedureResult,
AuthStoreSnapshotUpsertInput,
} from "./types";
export const params = {
get input() {
return AuthStoreSnapshotUpsertInput;
},
};
export const returnType = AuthStoreSnapshotProcedureResult

View File

@@ -0,0 +1,23 @@
// THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE
// WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD.
/* eslint-disable */
/* tslint:disable */
import {
TypeBuilder as __TypeBuilder,
t as __t,
type AlgebraicTypeType as __AlgebraicTypeType,
type Infer as __Infer,
} from "spacetimedb";
import {
CustomWorldAgentOperationProcedureResult,
CustomWorldAgentOperationProgressInput,
} from "./types";
export const params = {
get input() {
return CustomWorldAgentOperationProgressInput;
},
};
export const returnType = CustomWorldAgentOperationProcedureResult