This commit is contained in:
2026-05-11 16:15:48 +08:00
parent 0c9254502c
commit e30b733b17
87 changed files with 3527 additions and 1261 deletions

View File

@@ -188,6 +188,16 @@ pub mod create_profile_recharge_order_and_return_procedure;
pub mod create_puzzle_agent_session_procedure;
pub mod create_square_hole_agent_session_procedure;
pub mod create_visual_novel_agent_session_procedure;
pub mod creation_entry_config_procedure_result_type;
pub mod creation_entry_config_snapshot_type;
pub mod creation_entry_config_table;
pub mod creation_entry_config_type;
pub mod creation_entry_start_card_snapshot_type;
pub mod creation_entry_type_admin_upsert_input_type;
pub mod creation_entry_type_config_table;
pub mod creation_entry_type_config_type;
pub mod creation_entry_type_modal_snapshot_type;
pub mod creation_entry_type_snapshot_type;
pub mod custom_world_agent_action_execute_input_type;
pub mod custom_world_agent_action_execute_result_type;
pub mod custom_world_agent_card_detail_get_input_type;
@@ -249,12 +259,6 @@ pub mod custom_world_theme_mode_type;
pub mod custom_world_work_summary_snapshot_type;
pub mod custom_world_works_list_input_type;
pub mod custom_world_works_list_result_type;
pub mod creation_entry_config_procedure_result_type;
pub mod creation_entry_config_snapshot_type;
pub mod creation_entry_start_card_snapshot_type;
pub mod creation_entry_type_admin_upsert_input_type;
pub mod creation_entry_type_config_snapshot_type;
pub mod creation_entry_type_modal_snapshot_type;
pub mod database_migration_authorize_operator_input_type;
pub mod database_migration_export_input_type;
pub mod database_migration_import_chunk_input_type;
@@ -296,11 +300,11 @@ pub mod finish_match_3_d_time_up_procedure;
pub mod finish_square_hole_time_up_procedure;
pub mod generate_big_fish_asset_procedure;
pub mod get_auth_store_snapshot_procedure;
pub mod get_creation_entry_config_procedure;
pub mod get_battle_state_procedure;
pub mod get_big_fish_run_procedure;
pub mod get_big_fish_session_procedure;
pub mod get_chapter_progression_procedure;
pub mod get_creation_entry_config_procedure;
pub mod get_custom_world_agent_card_detail_procedure;
pub mod get_custom_world_agent_operation_procedure;
pub mod get_custom_world_agent_session_procedure;
@@ -759,8 +763,8 @@ pub mod update_square_hole_work_procedure;
pub mod update_visual_novel_work_procedure;
pub mod upsert_auth_store_snapshot_procedure;
pub mod upsert_chapter_progression_and_return_procedure;
pub mod upsert_creation_entry_type_config_procedure;
pub mod upsert_chapter_progression_reducer;
pub mod upsert_creation_entry_type_config_procedure;
pub mod upsert_custom_world_agent_operation_progress_procedure;
pub mod upsert_custom_world_profile_and_return_procedure;
pub mod upsert_custom_world_profile_reducer;
@@ -992,6 +996,16 @@ pub use create_profile_recharge_order_and_return_procedure::create_profile_recha
pub use create_puzzle_agent_session_procedure::create_puzzle_agent_session;
pub use create_square_hole_agent_session_procedure::create_square_hole_agent_session;
pub use create_visual_novel_agent_session_procedure::create_visual_novel_agent_session;
pub use creation_entry_config_procedure_result_type::CreationEntryConfigProcedureResult;
pub use creation_entry_config_snapshot_type::CreationEntryConfigSnapshot;
pub use creation_entry_config_table::*;
pub use creation_entry_config_type::CreationEntryConfig;
pub use creation_entry_start_card_snapshot_type::CreationEntryStartCardSnapshot;
pub use creation_entry_type_admin_upsert_input_type::CreationEntryTypeAdminUpsertInput;
pub use creation_entry_type_config_table::*;
pub use creation_entry_type_config_type::CreationEntryTypeConfig;
pub use creation_entry_type_modal_snapshot_type::CreationEntryTypeModalSnapshot;
pub use creation_entry_type_snapshot_type::CreationEntryTypeSnapshot;
pub use custom_world_agent_action_execute_input_type::CustomWorldAgentActionExecuteInput;
pub use custom_world_agent_action_execute_result_type::CustomWorldAgentActionExecuteResult;
pub use custom_world_agent_card_detail_get_input_type::CustomWorldAgentCardDetailGetInput;
@@ -1053,12 +1067,6 @@ pub use custom_world_theme_mode_type::CustomWorldThemeMode;
pub use custom_world_work_summary_snapshot_type::CustomWorldWorkSummarySnapshot;
pub use custom_world_works_list_input_type::CustomWorldWorksListInput;
pub use custom_world_works_list_result_type::CustomWorldWorksListResult;
pub use creation_entry_config_procedure_result_type::CreationEntryConfigProcedureResult;
pub use creation_entry_config_snapshot_type::CreationEntryConfigSnapshot;
pub use creation_entry_start_card_snapshot_type::CreationEntryStartCardSnapshot;
pub use creation_entry_type_admin_upsert_input_type::CreationEntryTypeAdminUpsertInput;
pub use creation_entry_type_config_snapshot_type::CreationEntryTypeSnapshot;
pub use creation_entry_type_modal_snapshot_type::CreationEntryTypeModalSnapshot;
pub use database_migration_authorize_operator_input_type::DatabaseMigrationAuthorizeOperatorInput;
pub use database_migration_export_input_type::DatabaseMigrationExportInput;
pub use database_migration_import_chunk_input_type::DatabaseMigrationImportChunkInput;
@@ -1100,11 +1108,11 @@ pub use finish_match_3_d_time_up_procedure::finish_match_3_d_time_up;
pub use finish_square_hole_time_up_procedure::finish_square_hole_time_up;
pub use generate_big_fish_asset_procedure::generate_big_fish_asset;
pub use get_auth_store_snapshot_procedure::get_auth_store_snapshot;
pub use get_creation_entry_config_procedure::get_creation_entry_config;
pub use get_battle_state_procedure::get_battle_state;
pub use get_big_fish_run_procedure::get_big_fish_run;
pub use get_big_fish_session_procedure::get_big_fish_session;
pub use get_chapter_progression_procedure::get_chapter_progression;
pub use get_creation_entry_config_procedure::get_creation_entry_config;
pub use get_custom_world_agent_card_detail_procedure::get_custom_world_agent_card_detail;
pub use get_custom_world_agent_operation_procedure::get_custom_world_agent_operation;
pub use get_custom_world_agent_session_procedure::get_custom_world_agent_session;
@@ -1563,8 +1571,8 @@ pub use update_square_hole_work_procedure::update_square_hole_work;
pub use update_visual_novel_work_procedure::update_visual_novel_work;
pub use upsert_auth_store_snapshot_procedure::upsert_auth_store_snapshot;
pub use upsert_chapter_progression_and_return_procedure::upsert_chapter_progression_and_return;
pub use upsert_creation_entry_type_config_procedure::upsert_creation_entry_type_config;
pub use upsert_chapter_progression_reducer::upsert_chapter_progression;
pub use upsert_creation_entry_type_config_procedure::upsert_creation_entry_type_config;
pub use upsert_custom_world_agent_operation_progress_procedure::upsert_custom_world_agent_operation_progress;
pub use upsert_custom_world_profile_and_return_procedure::upsert_custom_world_profile_and_return;
pub use upsert_custom_world_profile_reducer::upsert_custom_world_profile;
@@ -1904,6 +1912,8 @@ pub struct DbUpdate {
big_fish_event: __sdk::TableUpdate<BigFishEvent>,
big_fish_runtime_run: __sdk::TableUpdate<BigFishRuntimeRun>,
chapter_progression: __sdk::TableUpdate<ChapterProgression>,
creation_entry_config: __sdk::TableUpdate<CreationEntryConfig>,
creation_entry_type_config: __sdk::TableUpdate<CreationEntryTypeConfig>,
custom_world_agent_message: __sdk::TableUpdate<CustomWorldAgentMessage>,
custom_world_agent_operation: __sdk::TableUpdate<CustomWorldAgentOperation>,
custom_world_agent_session: __sdk::TableUpdate<CustomWorldAgentSession>,
@@ -2026,6 +2036,12 @@ impl TryFrom<__ws::v2::TransactionUpdate> for DbUpdate {
"chapter_progression" => db_update
.chapter_progression
.append(chapter_progression_table::parse_table_update(table_update)?),
"creation_entry_config" => db_update.creation_entry_config.append(
creation_entry_config_table::parse_table_update(table_update)?,
),
"creation_entry_type_config" => db_update.creation_entry_type_config.append(
creation_entry_type_config_table::parse_table_update(table_update)?,
),
"custom_world_agent_message" => db_update.custom_world_agent_message.append(
custom_world_agent_message_table::parse_table_update(table_update)?,
),
@@ -2311,6 +2327,18 @@ impl __sdk::DbUpdate for DbUpdate {
&self.chapter_progression,
)
.with_updates_by_pk(|row| &row.chapter_progression_id);
diff.creation_entry_config = cache
.apply_diff_to_table::<CreationEntryConfig>(
"creation_entry_config",
&self.creation_entry_config,
)
.with_updates_by_pk(|row| &row.config_id);
diff.creation_entry_type_config = cache
.apply_diff_to_table::<CreationEntryTypeConfig>(
"creation_entry_type_config",
&self.creation_entry_type_config,
)
.with_updates_by_pk(|row| &row.id);
diff.custom_world_agent_message = cache
.apply_diff_to_table::<CustomWorldAgentMessage>(
"custom_world_agent_message",
@@ -2683,6 +2711,12 @@ impl __sdk::DbUpdate for DbUpdate {
"chapter_progression" => db_update
.chapter_progression
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"creation_entry_config" => db_update
.creation_entry_config
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"creation_entry_type_config" => db_update
.creation_entry_type_config
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"custom_world_agent_message" => db_update
.custom_world_agent_message
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
@@ -2930,6 +2964,12 @@ impl __sdk::DbUpdate for DbUpdate {
"chapter_progression" => db_update
.chapter_progression
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"creation_entry_config" => db_update
.creation_entry_config
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"creation_entry_type_config" => db_update
.creation_entry_type_config
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"custom_world_agent_message" => db_update
.custom_world_agent_message
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
@@ -3143,6 +3183,8 @@ pub struct AppliedDiff<'r> {
big_fish_event: __sdk::TableAppliedDiff<'r, BigFishEvent>,
big_fish_runtime_run: __sdk::TableAppliedDiff<'r, BigFishRuntimeRun>,
chapter_progression: __sdk::TableAppliedDiff<'r, ChapterProgression>,
creation_entry_config: __sdk::TableAppliedDiff<'r, CreationEntryConfig>,
creation_entry_type_config: __sdk::TableAppliedDiff<'r, CreationEntryTypeConfig>,
custom_world_agent_message: __sdk::TableAppliedDiff<'r, CustomWorldAgentMessage>,
custom_world_agent_operation: __sdk::TableAppliedDiff<'r, CustomWorldAgentOperation>,
custom_world_agent_session: __sdk::TableAppliedDiff<'r, CustomWorldAgentSession>,
@@ -3299,6 +3341,16 @@ impl<'r> __sdk::AppliedDiff<'r> for AppliedDiff<'r> {
&self.chapter_progression,
event,
);
callbacks.invoke_table_row_callbacks::<CreationEntryConfig>(
"creation_entry_config",
&self.creation_entry_config,
event,
);
callbacks.invoke_table_row_callbacks::<CreationEntryTypeConfig>(
"creation_entry_type_config",
&self.creation_entry_type_config,
event,
);
callbacks.invoke_table_row_callbacks::<CustomWorldAgentMessage>(
"custom_world_agent_message",
&self.custom_world_agent_message,
@@ -4265,6 +4317,8 @@ impl __sdk::SpacetimeModule for RemoteModule {
big_fish_event_table::register_table(client_cache);
big_fish_runtime_run_table::register_table(client_cache);
chapter_progression_table::register_table(client_cache);
creation_entry_config_table::register_table(client_cache);
creation_entry_type_config_table::register_table(client_cache);
custom_world_agent_message_table::register_table(client_cache);
custom_world_agent_operation_table::register_table(client_cache);
custom_world_agent_session_table::register_table(client_cache);
@@ -4345,6 +4399,8 @@ impl __sdk::SpacetimeModule for RemoteModule {
"big_fish_event",
"big_fish_runtime_run",
"chapter_progression",
"creation_entry_config",
"creation_entry_type_config",
"custom_world_agent_message",
"custom_world_agent_operation",
"custom_world_agent_session",