Files
Genarrative/server-rs/crates/spacetime-client/src/module_bindings/mod.rs

4350 lines
210 KiB
Rust

// THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE
// WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD.
// This was generated using spacetimedb cli version 2.1.0 (commit 6981f48b4bc1a71c8dd9bdfe5a2c343f6370243d).
#![allow(unused, clippy::all)]
use spacetimedb_sdk::__codegen::{self as __sdk, __lib, __sats, __ws};
pub mod accept_quest_reducer;
pub mod acknowledge_quest_completion_reducer;
pub mod admin_disable_profile_redeem_code_procedure;
pub mod admin_disable_profile_task_config_procedure;
pub mod admin_list_profile_invite_codes_procedure;
pub mod admin_list_profile_redeem_codes_procedure;
pub mod admin_list_profile_task_configs_procedure;
pub mod admin_upsert_profile_invite_code_procedure;
pub mod admin_upsert_profile_redeem_code_procedure;
pub mod admin_upsert_profile_task_config_procedure;
pub mod advance_puzzle_next_level_procedure;
pub mod ai_result_reference_input_type;
pub mod ai_result_reference_kind_type;
pub mod ai_result_reference_snapshot_type;
pub mod ai_result_reference_table;
pub mod ai_result_reference_type;
pub mod ai_stage_completion_input_type;
pub mod ai_task_cancel_input_type;
pub mod ai_task_create_input_type;
pub mod ai_task_event_kind_type;
pub mod ai_task_event_table;
pub mod ai_task_event_type;
pub mod ai_task_failure_input_type;
pub mod ai_task_finish_input_type;
pub mod ai_task_kind_type;
pub mod ai_task_procedure_result_type;
pub mod ai_task_snapshot_type;
pub mod ai_task_stage_blueprint_type;
pub mod ai_task_stage_kind_type;
pub mod ai_task_stage_snapshot_type;
pub mod ai_task_stage_start_input_type;
pub mod ai_task_stage_status_type;
pub mod ai_task_stage_table;
pub mod ai_task_stage_type;
pub mod ai_task_start_input_type;
pub mod ai_task_status_type;
pub mod ai_task_table;
pub mod ai_task_type;
pub mod ai_text_chunk_append_input_type;
pub mod ai_text_chunk_snapshot_type;
pub mod ai_text_chunk_table;
pub mod ai_text_chunk_type;
pub mod analytics_bucket_metric_type;
pub mod analytics_date_dimension_ensure_input_type;
pub mod analytics_date_dimension_seed_input_type;
pub mod analytics_date_dimension_table;
pub mod analytics_date_dimension_type;
pub mod analytics_granularity_type;
pub mod analytics_metric_query_input_type;
pub mod analytics_metric_query_procedure_result_type;
pub mod append_ai_text_chunk_and_return_procedure;
pub mod append_visual_novel_runtime_history_entry_procedure;
pub mod apply_chapter_progression_ledger_entry_and_return_procedure;
pub mod apply_chapter_progression_ledger_entry_reducer;
pub mod apply_inventory_mutation_reducer;
pub mod apply_quest_signal_reducer;
pub mod asset_entity_binding_input_type;
pub mod asset_entity_binding_procedure_result_type;
pub mod asset_entity_binding_snapshot_type;
pub mod asset_entity_binding_table;
pub mod asset_entity_binding_type;
pub mod asset_event_kind_type;
pub mod asset_event_table;
pub mod asset_event_type;
pub mod asset_history_entry_snapshot_type;
pub mod asset_history_list_input_type;
pub mod asset_history_list_result_type;
pub mod asset_object_access_policy_type;
pub mod asset_object_procedure_result_type;
pub mod asset_object_table;
pub mod asset_object_type;
pub mod asset_object_upsert_input_type;
pub mod asset_object_upsert_snapshot_type;
pub mod attach_ai_result_reference_and_return_procedure;
pub mod auth_identity_table;
pub mod auth_identity_type;
pub mod auth_store_snapshot_import_procedure_result_type;
pub mod auth_store_snapshot_import_record_type;
pub mod auth_store_snapshot_procedure_result_type;
pub mod auth_store_snapshot_record_type;
pub mod auth_store_snapshot_table;
pub mod auth_store_snapshot_type;
pub mod auth_store_snapshot_upsert_input_type;
pub mod authorize_database_migration_operator_procedure;
pub mod battle_mode_type;
pub mod battle_state_input_type;
pub mod battle_state_procedure_result_type;
pub mod battle_state_query_input_type;
pub mod battle_state_snapshot_type;
pub mod battle_state_table;
pub mod battle_state_type;
pub mod battle_status_type;
pub mod begin_story_session_and_return_procedure;
pub mod begin_story_session_reducer;
pub mod big_fish_agent_message_kind_type;
pub mod big_fish_agent_message_role_type;
pub mod big_fish_agent_message_snapshot_type;
pub mod big_fish_agent_message_table;
pub mod big_fish_agent_message_type;
pub mod big_fish_anchor_item_type;
pub mod big_fish_anchor_pack_type;
pub mod big_fish_anchor_status_type;
pub mod big_fish_asset_coverage_type;
pub mod big_fish_asset_generate_input_type;
pub mod big_fish_asset_kind_type;
pub mod big_fish_asset_slot_snapshot_type;
pub mod big_fish_asset_slot_table;
pub mod big_fish_asset_slot_type;
pub mod big_fish_asset_status_type;
pub mod big_fish_background_blueprint_type;
pub mod big_fish_creation_session_table;
pub mod big_fish_creation_session_type;
pub mod big_fish_creation_stage_type;
pub mod big_fish_draft_compile_input_type;
pub mod big_fish_event_kind_type;
pub mod big_fish_event_table;
pub mod big_fish_event_type;
pub mod big_fish_game_draft_type;
pub mod big_fish_input_submit_input_type;
pub mod big_fish_level_blueprint_type;
pub mod big_fish_message_finalize_input_type;
pub mod big_fish_message_submit_input_type;
pub mod big_fish_play_record_input_type;
pub mod big_fish_publish_input_type;
pub mod big_fish_run_get_input_type;
pub mod big_fish_run_procedure_result_type;
pub mod big_fish_run_start_input_type;
pub mod big_fish_run_status_type;
pub mod big_fish_runtime_params_type;
pub mod big_fish_runtime_run_table;
pub mod big_fish_runtime_run_type;
pub mod big_fish_session_create_input_type;
pub mod big_fish_session_get_input_type;
pub mod big_fish_session_procedure_result_type;
pub mod big_fish_session_snapshot_type;
pub mod big_fish_work_delete_input_type;
pub mod big_fish_work_like_record_input_type;
pub mod big_fish_work_remix_input_type;
pub mod big_fish_works_list_input_type;
pub mod big_fish_works_procedure_result_type;
pub mod bind_asset_object_to_entity_and_return_procedure;
pub mod bind_asset_object_to_entity_reducer;
pub mod cancel_ai_task_and_return_procedure;
pub mod chapter_pace_band_type;
pub mod chapter_progression_get_input_type;
pub mod chapter_progression_input_type;
pub mod chapter_progression_ledger_input_type;
pub mod chapter_progression_procedure_result_type;
pub mod chapter_progression_snapshot_type;
pub mod chapter_progression_table;
pub mod chapter_progression_type;
pub mod claim_profile_task_reward_and_return_procedure;
pub mod claim_puzzle_work_point_incentive_procedure;
pub mod clear_database_migration_import_chunks_procedure;
pub mod clear_platform_browse_history_and_return_procedure;
pub mod click_match_3_d_item_procedure;
pub mod combat_outcome_type;
pub mod compile_big_fish_draft_procedure;
pub mod compile_custom_world_published_profile_procedure;
pub mod compile_match_3_d_draft_procedure;
pub mod compile_puzzle_agent_draft_procedure;
pub mod compile_square_hole_draft_procedure;
pub mod compile_visual_novel_work_profile_procedure;
pub mod complete_ai_stage_and_return_procedure;
pub mod complete_ai_task_and_return_procedure;
pub mod confirm_asset_object_and_return_procedure;
pub mod confirm_asset_object_reducer;
pub mod consume_inventory_item_input_type;
pub mod consume_profile_wallet_points_and_return_procedure;
pub mod continue_story_and_return_procedure;
pub mod continue_story_reducer;
pub mod create_ai_task_and_return_procedure;
pub mod create_ai_task_reducer;
pub mod create_battle_state_and_return_procedure;
pub mod create_battle_state_reducer;
pub mod create_big_fish_session_procedure;
pub mod create_custom_world_agent_session_procedure;
pub mod create_match_3_d_agent_session_procedure;
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 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;
pub mod custom_world_agent_message_finalize_input_type;
pub mod custom_world_agent_message_snapshot_type;
pub mod custom_world_agent_message_submit_input_type;
pub mod custom_world_agent_message_table;
pub mod custom_world_agent_message_type;
pub mod custom_world_agent_operation_get_input_type;
pub mod custom_world_agent_operation_procedure_result_type;
pub mod custom_world_agent_operation_progress_input_type;
pub mod custom_world_agent_operation_snapshot_type;
pub mod custom_world_agent_operation_table;
pub mod custom_world_agent_operation_type;
pub mod custom_world_agent_session_create_input_type;
pub mod custom_world_agent_session_get_input_type;
pub mod custom_world_agent_session_procedure_result_type;
pub mod custom_world_agent_session_snapshot_type;
pub mod custom_world_agent_session_table;
pub mod custom_world_agent_session_type;
pub mod custom_world_draft_card_detail_result_type;
pub mod custom_world_draft_card_detail_section_snapshot_type;
pub mod custom_world_draft_card_detail_snapshot_type;
pub mod custom_world_draft_card_snapshot_type;
pub mod custom_world_draft_card_table;
pub mod custom_world_draft_card_type;
pub mod custom_world_gallery_detail_by_code_input_type;
pub mod custom_world_gallery_detail_input_type;
pub mod custom_world_gallery_entry_snapshot_type;
pub mod custom_world_gallery_entry_table;
pub mod custom_world_gallery_entry_type;
pub mod custom_world_gallery_list_result_type;
pub mod custom_world_generation_mode_type;
pub mod custom_world_library_detail_input_type;
pub mod custom_world_library_mutation_result_type;
pub mod custom_world_profile_delete_input_type;
pub mod custom_world_profile_like_record_input_type;
pub mod custom_world_profile_list_input_type;
pub mod custom_world_profile_list_result_type;
pub mod custom_world_profile_play_record_input_type;
pub mod custom_world_profile_publish_input_type;
pub mod custom_world_profile_remix_input_type;
pub mod custom_world_profile_snapshot_type;
pub mod custom_world_profile_table;
pub mod custom_world_profile_type;
pub mod custom_world_profile_unpublish_input_type;
pub mod custom_world_profile_upsert_input_type;
pub mod custom_world_publication_status_type;
pub mod custom_world_publish_world_input_type;
pub mod custom_world_publish_world_result_type;
pub mod custom_world_published_profile_compile_input_type;
pub mod custom_world_published_profile_compile_result_type;
pub mod custom_world_published_profile_compile_snapshot_type;
pub mod custom_world_role_asset_status_type;
pub mod custom_world_session_status_type;
pub mod custom_world_session_table;
pub mod custom_world_session_type;
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 database_migration_authorize_operator_input_type;
pub mod database_migration_export_input_type;
pub mod database_migration_import_chunk_input_type;
pub mod database_migration_import_chunk_table;
pub mod database_migration_import_chunk_type;
pub mod database_migration_import_chunks_clear_input_type;
pub mod database_migration_import_chunks_input_type;
pub mod database_migration_import_input_type;
pub mod database_migration_operator_procedure_result_type;
pub mod database_migration_operator_table;
pub mod database_migration_operator_type;
pub mod database_migration_procedure_result_type;
pub mod database_migration_revoke_operator_input_type;
pub mod database_migration_table_stat_type;
pub mod database_migration_warning_type;
pub mod delete_big_fish_work_procedure;
pub mod delete_custom_world_agent_session_procedure;
pub mod delete_custom_world_profile_and_return_procedure;
pub mod delete_match_3_d_work_procedure;
pub mod delete_puzzle_work_procedure;
pub mod delete_runtime_snapshot_and_return_procedure;
pub mod delete_square_hole_work_procedure;
pub mod delete_visual_novel_work_procedure;
pub mod drag_puzzle_piece_or_group_procedure;
pub mod drop_square_hole_shape_procedure;
pub mod ensure_analytics_date_dimension_for_date_reducer;
pub mod equip_inventory_item_input_type;
pub mod execute_custom_world_agent_action_procedure;
pub mod export_auth_store_snapshot_from_tables_procedure;
pub mod export_database_migration_to_file_procedure;
pub mod fail_ai_task_and_return_procedure;
pub mod finalize_big_fish_agent_message_turn_procedure;
pub mod finalize_custom_world_agent_message_turn_procedure;
pub mod finalize_match_3_d_agent_message_turn_procedure;
pub mod finalize_puzzle_agent_message_turn_procedure;
pub mod finalize_square_hole_agent_message_turn_procedure;
pub mod finalize_visual_novel_agent_message_turn_procedure;
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_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_custom_world_agent_card_detail_procedure;
pub mod get_custom_world_agent_operation_procedure;
pub mod get_custom_world_agent_session_procedure;
pub mod get_custom_world_gallery_detail_by_code_procedure;
pub mod get_custom_world_gallery_detail_procedure;
pub mod get_custom_world_library_detail_procedure;
pub mod get_match_3_d_agent_session_procedure;
pub mod get_match_3_d_run_procedure;
pub mod get_match_3_d_work_detail_procedure;
pub mod get_player_progression_or_default_procedure;
pub mod get_profile_dashboard_procedure;
pub mod get_profile_play_stats_procedure;
pub mod get_profile_recharge_center_procedure;
pub mod get_profile_referral_invite_center_procedure;
pub mod get_profile_task_center_procedure;
pub mod get_puzzle_agent_session_procedure;
pub mod get_puzzle_gallery_detail_procedure;
pub mod get_puzzle_run_procedure;
pub mod get_puzzle_work_detail_procedure;
pub mod get_runtime_inventory_state_procedure;
pub mod get_runtime_setting_or_default_procedure;
pub mod get_runtime_snapshot_procedure;
pub mod get_square_hole_agent_session_procedure;
pub mod get_square_hole_run_procedure;
pub mod get_square_hole_work_detail_procedure;
pub mod get_story_session_state_procedure;
pub mod get_visual_novel_agent_session_procedure;
pub mod get_visual_novel_run_procedure;
pub mod get_visual_novel_work_detail_procedure;
pub mod grant_inventory_item_input_type;
pub mod grant_new_user_registration_wallet_reward_procedure;
pub mod grant_player_progression_experience_and_return_procedure;
pub mod grant_player_progression_experience_reducer;
pub mod import_auth_store_snapshot_procedure;
pub mod import_database_migration_from_chunks_procedure;
pub mod import_database_migration_from_file_procedure;
pub mod import_database_migration_incremental_from_chunks_procedure;
pub mod import_database_migration_incremental_from_file_procedure;
pub mod inventory_container_kind_type;
pub mod inventory_equipment_slot_type;
pub mod inventory_item_rarity_type;
pub mod inventory_item_snapshot_type;
pub mod inventory_item_source_kind_type;
pub mod inventory_mutation_input_type;
pub mod inventory_mutation_type;
pub mod inventory_slot_snapshot_type;
pub mod inventory_slot_table;
pub mod inventory_slot_type;
pub mod list_asset_history_and_return_procedure;
pub mod list_big_fish_works_procedure;
pub mod list_custom_world_gallery_entries_procedure;
pub mod list_custom_world_profiles_procedure;
pub mod list_custom_world_works_procedure;
pub mod list_match_3_d_works_procedure;
pub mod list_platform_browse_history_procedure;
pub mod list_profile_save_archives_procedure;
pub mod list_profile_wallet_ledger_procedure;
pub mod list_puzzle_gallery_procedure;
pub mod list_puzzle_works_procedure;
pub mod list_square_hole_works_procedure;
pub mod list_visual_novel_runtime_history_procedure;
pub mod list_visual_novel_works_procedure;
pub mod match_3_d_agent_message_finalize_input_type;
pub mod match_3_d_agent_message_row_type;
pub mod match_3_d_agent_message_submit_input_type;
pub mod match_3_d_agent_message_table;
pub mod match_3_d_agent_session_create_input_type;
pub mod match_3_d_agent_session_get_input_type;
pub mod match_3_d_agent_session_procedure_result_type;
pub mod match_3_d_agent_session_row_type;
pub mod match_3_d_agent_session_table;
pub mod match_3_d_click_item_procedure_result_type;
pub mod match_3_d_draft_compile_input_type;
pub mod match_3_d_run_click_input_type;
pub mod match_3_d_run_get_input_type;
pub mod match_3_d_run_procedure_result_type;
pub mod match_3_d_run_restart_input_type;
pub mod match_3_d_run_start_input_type;
pub mod match_3_d_run_stop_input_type;
pub mod match_3_d_run_time_up_input_type;
pub mod match_3_d_runtime_run_row_type;
pub mod match_3_d_runtime_run_table;
pub mod match_3_d_work_delete_input_type;
pub mod match_3_d_work_get_input_type;
pub mod match_3_d_work_procedure_result_type;
pub mod match_3_d_work_profile_row_type;
pub mod match_3_d_work_profile_table;
pub mod match_3_d_work_publish_input_type;
pub mod match_3_d_work_update_input_type;
pub mod match_3_d_works_list_input_type;
pub mod match_3_d_works_procedure_result_type;
pub mod npc_battle_interaction_procedure_result_type;
pub mod npc_battle_interaction_result_type;
pub mod npc_interaction_battle_mode_type;
pub mod npc_interaction_procedure_result_type;
pub mod npc_interaction_result_type;
pub mod npc_interaction_status_type;
pub mod npc_relation_stance_type;
pub mod npc_relation_state_type;
pub mod npc_social_action_kind_type;
pub mod npc_stance_profile_type;
pub mod npc_state_procedure_result_type;
pub mod npc_state_snapshot_type;
pub mod npc_state_table;
pub mod npc_state_type;
pub mod npc_state_upsert_input_type;
pub mod player_progression_get_input_type;
pub mod player_progression_grant_input_type;
pub mod player_progression_grant_source_type;
pub mod player_progression_procedure_result_type;
pub mod player_progression_snapshot_type;
pub mod player_progression_table;
pub mod player_progression_type;
pub mod profile_dashboard_state_table;
pub mod profile_dashboard_state_type;
pub mod profile_invite_code_table;
pub mod profile_invite_code_type;
pub mod profile_membership_table;
pub mod profile_membership_type;
pub mod profile_played_world_table;
pub mod profile_played_world_type;
pub mod profile_recharge_order_table;
pub mod profile_recharge_order_type;
pub mod profile_redeem_code_table;
pub mod profile_redeem_code_type;
pub mod profile_redeem_code_usage_table;
pub mod profile_redeem_code_usage_type;
pub mod profile_referral_relation_table;
pub mod profile_referral_relation_type;
pub mod profile_save_archive_table;
pub mod profile_save_archive_type;
pub mod profile_task_config_table;
pub mod profile_task_config_type;
pub mod profile_task_progress_table;
pub mod profile_task_progress_type;
pub mod profile_task_reward_claim_table;
pub mod profile_task_reward_claim_type;
pub mod profile_wallet_ledger_table;
pub mod profile_wallet_ledger_type;
pub mod public_work_like_table;
pub mod public_work_like_type;
pub mod public_work_play_daily_stat_table;
pub mod public_work_play_daily_stat_type;
pub mod publish_big_fish_game_procedure;
pub mod publish_custom_world_profile_and_return_procedure;
pub mod publish_custom_world_profile_reducer;
pub mod publish_custom_world_world_procedure;
pub mod publish_match_3_d_work_procedure;
pub mod publish_puzzle_work_procedure;
pub mod publish_square_hole_work_procedure;
pub mod publish_visual_novel_work_procedure;
pub mod put_database_migration_import_chunk_procedure;
pub mod puzzle_agent_message_finalize_input_type;
pub mod puzzle_agent_message_kind_type;
pub mod puzzle_agent_message_role_type;
pub mod puzzle_agent_message_row_type;
pub mod puzzle_agent_message_submit_input_type;
pub mod puzzle_agent_message_table;
pub mod puzzle_agent_session_create_input_type;
pub mod puzzle_agent_session_get_input_type;
pub mod puzzle_agent_session_procedure_result_type;
pub mod puzzle_agent_session_row_type;
pub mod puzzle_agent_session_table;
pub mod puzzle_agent_stage_type;
pub mod puzzle_draft_compile_input_type;
pub mod puzzle_event_kind_type;
pub mod puzzle_event_table;
pub mod puzzle_event_type;
pub mod puzzle_form_draft_save_input_type;
pub mod puzzle_generated_images_save_input_type;
pub mod puzzle_leaderboard_entry_row_type;
pub mod puzzle_leaderboard_entry_table;
pub mod puzzle_leaderboard_submit_input_type;
pub mod puzzle_publication_status_type;
pub mod puzzle_publish_input_type;
pub mod puzzle_run_drag_input_type;
pub mod puzzle_run_get_input_type;
pub mod puzzle_run_next_level_input_type;
pub mod puzzle_run_pause_input_type;
pub mod puzzle_run_procedure_result_type;
pub mod puzzle_run_prop_input_type;
pub mod puzzle_run_start_input_type;
pub mod puzzle_run_swap_input_type;
pub mod puzzle_runtime_run_row_type;
pub mod puzzle_runtime_run_table;
pub mod puzzle_select_cover_image_input_type;
pub mod puzzle_work_delete_input_type;
pub mod puzzle_work_get_input_type;
pub mod puzzle_work_like_record_input_type;
pub mod puzzle_work_point_incentive_claim_input_type;
pub mod puzzle_work_procedure_result_type;
pub mod puzzle_work_profile_row_type;
pub mod puzzle_work_profile_table;
pub mod puzzle_work_remix_input_type;
pub mod puzzle_work_upsert_input_type;
pub mod puzzle_works_list_input_type;
pub mod puzzle_works_procedure_result_type;
pub mod query_analytics_metric_procedure;
pub mod quest_completion_ack_input_type;
pub mod quest_hostile_npc_defeated_signal_type;
pub mod quest_item_delivered_signal_type;
pub mod quest_log_event_kind_type;
pub mod quest_log_table;
pub mod quest_log_type;
pub mod quest_narrative_binding_snapshot_type;
pub mod quest_narrative_origin_type;
pub mod quest_narrative_type_type;
pub mod quest_npc_spar_completed_signal_type;
pub mod quest_npc_talk_completed_signal_type;
pub mod quest_objective_kind_type;
pub mod quest_objective_snapshot_type;
pub mod quest_progress_signal_type;
pub mod quest_record_input_type;
pub mod quest_record_table;
pub mod quest_record_type;
pub mod quest_reward_equipment_slot_type;
pub mod quest_reward_intel_type;
pub mod quest_reward_item_rarity_type;
pub mod quest_reward_item_type;
pub mod quest_reward_snapshot_type;
pub mod quest_scene_reached_signal_type;
pub mod quest_signal_apply_input_type;
pub mod quest_signal_kind_type;
pub mod quest_status_type;
pub mod quest_step_snapshot_type;
pub mod quest_treasure_inspected_signal_type;
pub mod quest_turn_in_input_type;
pub mod record_big_fish_like_procedure;
pub mod record_big_fish_play_procedure;
pub mod record_custom_world_profile_like_procedure;
pub mod record_custom_world_profile_play_procedure;
pub mod record_daily_login_tracking_event_and_return_procedure;
pub mod record_puzzle_work_like_procedure;
pub mod record_visual_novel_runtime_event_procedure;
pub mod redeem_profile_referral_invite_code_procedure;
pub mod redeem_profile_reward_code_procedure;
pub mod refresh_session_table;
pub mod refresh_session_type;
pub mod refund_profile_wallet_points_and_return_procedure;
pub mod remix_big_fish_work_procedure;
pub mod remix_custom_world_profile_procedure;
pub mod remix_puzzle_work_procedure;
pub mod resolve_combat_action_and_return_procedure;
pub mod resolve_combat_action_input_type;
pub mod resolve_combat_action_procedure_result_type;
pub mod resolve_combat_action_reducer;
pub mod resolve_combat_action_result_type;
pub mod resolve_npc_battle_interaction_and_return_procedure;
pub mod resolve_npc_battle_interaction_input_type;
pub mod resolve_npc_interaction_and_return_procedure;
pub mod resolve_npc_interaction_input_type;
pub mod resolve_npc_interaction_reducer;
pub mod resolve_npc_social_action_and_return_procedure;
pub mod resolve_npc_social_action_input_type;
pub mod resolve_npc_social_action_reducer;
pub mod resolve_treasure_interaction_and_return_procedure;
pub mod resolve_treasure_interaction_reducer;
pub mod restart_match_3_d_run_procedure;
pub mod restart_square_hole_run_procedure;
pub mod resume_profile_save_archive_and_return_procedure;
pub mod revoke_database_migration_operator_procedure;
pub mod rpg_agent_draft_card_kind_type;
pub mod rpg_agent_draft_card_status_type;
pub mod rpg_agent_message_kind_type;
pub mod rpg_agent_message_role_type;
pub mod rpg_agent_operation_status_type;
pub mod rpg_agent_operation_type_type;
pub mod rpg_agent_stage_type;
pub mod runtime_browse_history_clear_input_type;
pub mod runtime_browse_history_list_input_type;
pub mod runtime_browse_history_procedure_result_type;
pub mod runtime_browse_history_snapshot_type;
pub mod runtime_browse_history_sync_input_type;
pub mod runtime_browse_history_theme_mode_type;
pub mod runtime_browse_history_write_input_type;
pub mod runtime_inventory_state_procedure_result_type;
pub mod runtime_inventory_state_query_input_type;
pub mod runtime_inventory_state_snapshot_type;
pub mod runtime_item_equipment_slot_type;
pub mod runtime_item_reward_item_rarity_type;
pub mod runtime_item_reward_item_snapshot_type;
pub mod runtime_platform_theme_type;
pub mod runtime_profile_dashboard_get_input_type;
pub mod runtime_profile_dashboard_procedure_result_type;
pub mod runtime_profile_dashboard_snapshot_type;
pub mod runtime_profile_invite_code_admin_list_input_type;
pub mod runtime_profile_invite_code_admin_list_procedure_result_type;
pub mod runtime_profile_invite_code_admin_procedure_result_type;
pub mod runtime_profile_invite_code_admin_upsert_input_type;
pub mod runtime_profile_invite_code_snapshot_type;
pub mod runtime_profile_membership_benefit_snapshot_type;
pub mod runtime_profile_membership_snapshot_type;
pub mod runtime_profile_membership_status_type;
pub mod runtime_profile_membership_tier_type;
pub mod runtime_profile_play_stats_get_input_type;
pub mod runtime_profile_play_stats_procedure_result_type;
pub mod runtime_profile_play_stats_snapshot_type;
pub mod runtime_profile_played_world_snapshot_type;
pub mod runtime_profile_recharge_center_get_input_type;
pub mod runtime_profile_recharge_center_procedure_result_type;
pub mod runtime_profile_recharge_center_snapshot_type;
pub mod runtime_profile_recharge_order_create_input_type;
pub mod runtime_profile_recharge_order_snapshot_type;
pub mod runtime_profile_recharge_order_status_type;
pub mod runtime_profile_recharge_product_kind_type;
pub mod runtime_profile_recharge_product_snapshot_type;
pub mod runtime_profile_redeem_code_admin_disable_input_type;
pub mod runtime_profile_redeem_code_admin_list_input_type;
pub mod runtime_profile_redeem_code_admin_list_procedure_result_type;
pub mod runtime_profile_redeem_code_admin_procedure_result_type;
pub mod runtime_profile_redeem_code_admin_upsert_input_type;
pub mod runtime_profile_redeem_code_mode_type;
pub mod runtime_profile_redeem_code_snapshot_type;
pub mod runtime_profile_reward_code_redeem_input_type;
pub mod runtime_profile_reward_code_redeem_procedure_result_type;
pub mod runtime_profile_reward_code_redeem_snapshot_type;
pub mod runtime_profile_save_archive_list_input_type;
pub mod runtime_profile_save_archive_procedure_result_type;
pub mod runtime_profile_save_archive_resume_input_type;
pub mod runtime_profile_save_archive_snapshot_type;
pub mod runtime_profile_task_center_get_input_type;
pub mod runtime_profile_task_center_procedure_result_type;
pub mod runtime_profile_task_center_snapshot_type;
pub mod runtime_profile_task_claim_input_type;
pub mod runtime_profile_task_claim_procedure_result_type;
pub mod runtime_profile_task_claim_snapshot_type;
pub mod runtime_profile_task_config_admin_disable_input_type;
pub mod runtime_profile_task_config_admin_list_input_type;
pub mod runtime_profile_task_config_admin_list_procedure_result_type;
pub mod runtime_profile_task_config_admin_procedure_result_type;
pub mod runtime_profile_task_config_admin_upsert_input_type;
pub mod runtime_profile_task_config_snapshot_type;
pub mod runtime_profile_task_cycle_type;
pub mod runtime_profile_task_item_snapshot_type;
pub mod runtime_profile_task_status_type;
pub mod runtime_profile_wallet_adjustment_input_type;
pub mod runtime_profile_wallet_adjustment_procedure_result_type;
pub mod runtime_profile_wallet_ledger_entry_snapshot_type;
pub mod runtime_profile_wallet_ledger_list_input_type;
pub mod runtime_profile_wallet_ledger_procedure_result_type;
pub mod runtime_profile_wallet_ledger_source_type_type;
pub mod runtime_referral_invite_center_get_input_type;
pub mod runtime_referral_invite_center_procedure_result_type;
pub mod runtime_referral_invite_center_snapshot_type;
pub mod runtime_referral_invited_user_snapshot_type;
pub mod runtime_referral_redeem_input_type;
pub mod runtime_referral_redeem_procedure_result_type;
pub mod runtime_referral_redeem_snapshot_type;
pub mod runtime_setting_get_input_type;
pub mod runtime_setting_procedure_result_type;
pub mod runtime_setting_snapshot_type;
pub mod runtime_setting_table;
pub mod runtime_setting_type;
pub mod runtime_setting_upsert_input_type;
pub mod runtime_snapshot_delete_input_type;
pub mod runtime_snapshot_get_input_type;
pub mod runtime_snapshot_procedure_result_type;
pub mod runtime_snapshot_row_type;
pub mod runtime_snapshot_table;
pub mod runtime_snapshot_type;
pub mod runtime_snapshot_upsert_input_type;
pub mod runtime_tracking_scope_kind_type;
pub mod runtime_tracking_event_procedure_result_type;
pub mod save_puzzle_form_draft_procedure;
pub mod save_puzzle_generated_images_procedure;
pub mod seed_analytics_date_dimensions_reducer;
pub mod select_puzzle_cover_image_procedure;
pub mod square_hole_agent_message_finalize_input_type;
pub mod square_hole_agent_message_row_type;
pub mod square_hole_agent_message_submit_input_type;
pub mod square_hole_agent_message_table;
pub mod square_hole_agent_session_create_input_type;
pub mod square_hole_agent_session_get_input_type;
pub mod square_hole_agent_session_procedure_result_type;
pub mod square_hole_agent_session_row_type;
pub mod square_hole_agent_session_table;
pub mod square_hole_draft_compile_input_type;
pub mod square_hole_drop_shape_procedure_result_type;
pub mod square_hole_run_drop_input_type;
pub mod square_hole_run_get_input_type;
pub mod square_hole_run_procedure_result_type;
pub mod square_hole_run_restart_input_type;
pub mod square_hole_run_start_input_type;
pub mod square_hole_run_stop_input_type;
pub mod square_hole_run_time_up_input_type;
pub mod square_hole_runtime_run_row_type;
pub mod square_hole_runtime_run_table;
pub mod square_hole_work_delete_input_type;
pub mod square_hole_work_get_input_type;
pub mod square_hole_work_procedure_result_type;
pub mod square_hole_work_profile_row_type;
pub mod square_hole_work_profile_table;
pub mod square_hole_work_publish_input_type;
pub mod square_hole_work_update_input_type;
pub mod square_hole_works_list_input_type;
pub mod square_hole_works_procedure_result_type;
pub mod start_ai_task_reducer;
pub mod start_ai_task_stage_reducer;
pub mod start_big_fish_run_procedure;
pub mod start_match_3_d_run_procedure;
pub mod start_puzzle_run_procedure;
pub mod start_square_hole_run_procedure;
pub mod start_visual_novel_run_procedure;
pub mod stop_match_3_d_run_procedure;
pub mod stop_square_hole_run_procedure;
pub mod story_continue_input_type;
pub mod story_event_kind_type;
pub mod story_event_snapshot_type;
pub mod story_event_table;
pub mod story_event_type;
pub mod story_session_input_type;
pub mod story_session_procedure_result_type;
pub mod story_session_snapshot_type;
pub mod story_session_state_input_type;
pub mod story_session_state_procedure_result_type;
pub mod story_session_status_type;
pub mod story_session_table;
pub mod story_session_type;
pub mod submit_big_fish_input_procedure;
pub mod submit_big_fish_message_procedure;
pub mod submit_custom_world_agent_message_procedure;
pub mod submit_match_3_d_agent_message_procedure;
pub mod submit_puzzle_agent_message_procedure;
pub mod submit_puzzle_leaderboard_entry_procedure;
pub mod submit_square_hole_agent_message_procedure;
pub mod submit_visual_novel_agent_message_procedure;
pub mod swap_puzzle_pieces_procedure;
pub mod tracking_daily_stat_table;
pub mod tracking_daily_stat_type;
pub mod tracking_event_table;
pub mod tracking_event_type;
pub mod treasure_interaction_action_type;
pub mod treasure_record_procedure_result_type;
pub mod treasure_record_snapshot_type;
pub mod treasure_record_table;
pub mod treasure_record_type;
pub mod treasure_resolve_input_type;
pub mod turn_in_quest_reducer;
pub mod unequip_inventory_item_input_type;
pub mod unpublish_custom_world_profile_and_return_procedure;
pub mod unpublish_custom_world_profile_reducer;
pub mod update_match_3_d_work_procedure;
pub mod update_puzzle_run_pause_procedure;
pub mod update_puzzle_work_procedure;
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_chapter_progression_reducer;
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;
pub mod upsert_npc_state_and_return_procedure;
pub mod upsert_npc_state_reducer;
pub mod upsert_platform_browse_history_and_return_procedure;
pub mod upsert_runtime_setting_and_return_procedure;
pub mod upsert_runtime_snapshot_and_return_procedure;
pub mod upsert_visual_novel_run_snapshot_procedure;
pub mod use_puzzle_runtime_prop_procedure;
pub mod user_account_table;
pub mod user_account_type;
pub mod user_browse_history_table;
pub mod user_browse_history_type;
pub mod visual_novel_agent_message_finalize_input_type;
pub mod visual_novel_agent_message_row_type;
pub mod visual_novel_agent_message_submit_input_type;
pub mod visual_novel_agent_message_table;
pub mod visual_novel_agent_session_create_input_type;
pub mod visual_novel_agent_session_get_input_type;
pub mod visual_novel_agent_session_procedure_result_type;
pub mod visual_novel_agent_session_row_type;
pub mod visual_novel_agent_session_table;
pub mod visual_novel_history_procedure_result_type;
pub mod visual_novel_run_get_input_type;
pub mod visual_novel_run_procedure_result_type;
pub mod visual_novel_run_snapshot_upsert_input_type;
pub mod visual_novel_run_start_input_type;
pub mod visual_novel_runtime_event_procedure_result_type;
pub mod visual_novel_runtime_event_record_input_type;
pub mod visual_novel_runtime_event_table;
pub mod visual_novel_runtime_event_type;
pub mod visual_novel_runtime_history_append_input_type;
pub mod visual_novel_runtime_history_entry_row_type;
pub mod visual_novel_runtime_history_entry_table;
pub mod visual_novel_runtime_history_list_input_type;
pub mod visual_novel_runtime_run_row_type;
pub mod visual_novel_runtime_run_table;
pub mod visual_novel_work_compile_input_type;
pub mod visual_novel_work_delete_input_type;
pub mod visual_novel_work_get_input_type;
pub mod visual_novel_work_procedure_result_type;
pub mod visual_novel_work_profile_row_type;
pub mod visual_novel_work_profile_table;
pub mod visual_novel_work_publish_input_type;
pub mod visual_novel_work_update_input_type;
pub mod visual_novel_works_list_input_type;
pub mod visual_novel_works_procedure_result_type;
pub use accept_quest_reducer::accept_quest;
pub use acknowledge_quest_completion_reducer::acknowledge_quest_completion;
pub use admin_disable_profile_redeem_code_procedure::admin_disable_profile_redeem_code;
pub use admin_disable_profile_task_config_procedure::admin_disable_profile_task_config;
pub use admin_list_profile_invite_codes_procedure::admin_list_profile_invite_codes;
pub use admin_list_profile_redeem_codes_procedure::admin_list_profile_redeem_codes;
pub use admin_list_profile_task_configs_procedure::admin_list_profile_task_configs;
pub use admin_upsert_profile_invite_code_procedure::admin_upsert_profile_invite_code;
pub use admin_upsert_profile_redeem_code_procedure::admin_upsert_profile_redeem_code;
pub use admin_upsert_profile_task_config_procedure::admin_upsert_profile_task_config;
pub use advance_puzzle_next_level_procedure::advance_puzzle_next_level;
pub use ai_result_reference_input_type::AiResultReferenceInput;
pub use ai_result_reference_kind_type::AiResultReferenceKind;
pub use ai_result_reference_snapshot_type::AiResultReferenceSnapshot;
pub use ai_result_reference_table::*;
pub use ai_result_reference_type::AiResultReference;
pub use ai_stage_completion_input_type::AiStageCompletionInput;
pub use ai_task_cancel_input_type::AiTaskCancelInput;
pub use ai_task_create_input_type::AiTaskCreateInput;
pub use ai_task_event_kind_type::AiTaskEventKind;
pub use ai_task_event_table::*;
pub use ai_task_event_type::AiTaskEvent;
pub use ai_task_failure_input_type::AiTaskFailureInput;
pub use ai_task_finish_input_type::AiTaskFinishInput;
pub use ai_task_kind_type::AiTaskKind;
pub use ai_task_procedure_result_type::AiTaskProcedureResult;
pub use ai_task_snapshot_type::AiTaskSnapshot;
pub use ai_task_stage_blueprint_type::AiTaskStageBlueprint;
pub use ai_task_stage_kind_type::AiTaskStageKind;
pub use ai_task_stage_snapshot_type::AiTaskStageSnapshot;
pub use ai_task_stage_start_input_type::AiTaskStageStartInput;
pub use ai_task_stage_status_type::AiTaskStageStatus;
pub use ai_task_stage_table::*;
pub use ai_task_stage_type::AiTaskStage;
pub use ai_task_start_input_type::AiTaskStartInput;
pub use ai_task_status_type::AiTaskStatus;
pub use ai_task_table::*;
pub use ai_task_type::AiTask;
pub use ai_text_chunk_append_input_type::AiTextChunkAppendInput;
pub use ai_text_chunk_snapshot_type::AiTextChunkSnapshot;
pub use ai_text_chunk_table::*;
pub use ai_text_chunk_type::AiTextChunk;
pub use analytics_bucket_metric_type::AnalyticsBucketMetric;
pub use analytics_date_dimension_ensure_input_type::AnalyticsDateDimensionEnsureInput;
pub use analytics_date_dimension_seed_input_type::AnalyticsDateDimensionSeedInput;
pub use analytics_date_dimension_table::*;
pub use analytics_date_dimension_type::AnalyticsDateDimension;
pub use analytics_granularity_type::AnalyticsGranularity;
pub use analytics_metric_query_input_type::AnalyticsMetricQueryInput;
pub use analytics_metric_query_procedure_result_type::AnalyticsMetricQueryProcedureResult;
pub use append_ai_text_chunk_and_return_procedure::append_ai_text_chunk_and_return;
pub use append_visual_novel_runtime_history_entry_procedure::append_visual_novel_runtime_history_entry;
pub use apply_chapter_progression_ledger_entry_and_return_procedure::apply_chapter_progression_ledger_entry_and_return;
pub use apply_chapter_progression_ledger_entry_reducer::apply_chapter_progression_ledger_entry;
pub use apply_inventory_mutation_reducer::apply_inventory_mutation;
pub use apply_quest_signal_reducer::apply_quest_signal;
pub use asset_entity_binding_input_type::AssetEntityBindingInput;
pub use asset_entity_binding_procedure_result_type::AssetEntityBindingProcedureResult;
pub use asset_entity_binding_snapshot_type::AssetEntityBindingSnapshot;
pub use asset_entity_binding_table::*;
pub use asset_entity_binding_type::AssetEntityBinding;
pub use asset_event_kind_type::AssetEventKind;
pub use asset_event_table::*;
pub use asset_event_type::AssetEvent;
pub use asset_history_entry_snapshot_type::AssetHistoryEntrySnapshot;
pub use asset_history_list_input_type::AssetHistoryListInput;
pub use asset_history_list_result_type::AssetHistoryListResult;
pub use asset_object_access_policy_type::AssetObjectAccessPolicy;
pub use asset_object_procedure_result_type::AssetObjectProcedureResult;
pub use asset_object_table::*;
pub use asset_object_type::AssetObject;
pub use asset_object_upsert_input_type::AssetObjectUpsertInput;
pub use asset_object_upsert_snapshot_type::AssetObjectUpsertSnapshot;
pub use attach_ai_result_reference_and_return_procedure::attach_ai_result_reference_and_return;
pub use auth_identity_table::*;
pub use auth_identity_type::AuthIdentity;
pub use auth_store_snapshot_import_procedure_result_type::AuthStoreSnapshotImportProcedureResult;
pub use auth_store_snapshot_import_record_type::AuthStoreSnapshotImportRecord;
pub use auth_store_snapshot_procedure_result_type::AuthStoreSnapshotProcedureResult;
pub use auth_store_snapshot_record_type::AuthStoreSnapshotRecord;
pub use auth_store_snapshot_table::*;
pub use auth_store_snapshot_type::AuthStoreSnapshot;
pub use auth_store_snapshot_upsert_input_type::AuthStoreSnapshotUpsertInput;
pub use authorize_database_migration_operator_procedure::authorize_database_migration_operator;
pub use battle_mode_type::BattleMode;
pub use battle_state_input_type::BattleStateInput;
pub use battle_state_procedure_result_type::BattleStateProcedureResult;
pub use battle_state_query_input_type::BattleStateQueryInput;
pub use battle_state_snapshot_type::BattleStateSnapshot;
pub use battle_state_table::*;
pub use battle_state_type::BattleState;
pub use battle_status_type::BattleStatus;
pub use begin_story_session_and_return_procedure::begin_story_session_and_return;
pub use begin_story_session_reducer::begin_story_session;
pub use big_fish_agent_message_kind_type::BigFishAgentMessageKind;
pub use big_fish_agent_message_role_type::BigFishAgentMessageRole;
pub use big_fish_agent_message_snapshot_type::BigFishAgentMessageSnapshot;
pub use big_fish_agent_message_table::*;
pub use big_fish_agent_message_type::BigFishAgentMessage;
pub use big_fish_anchor_item_type::BigFishAnchorItem;
pub use big_fish_anchor_pack_type::BigFishAnchorPack;
pub use big_fish_anchor_status_type::BigFishAnchorStatus;
pub use big_fish_asset_coverage_type::BigFishAssetCoverage;
pub use big_fish_asset_generate_input_type::BigFishAssetGenerateInput;
pub use big_fish_asset_kind_type::BigFishAssetKind;
pub use big_fish_asset_slot_snapshot_type::BigFishAssetSlotSnapshot;
pub use big_fish_asset_slot_table::*;
pub use big_fish_asset_slot_type::BigFishAssetSlot;
pub use big_fish_asset_status_type::BigFishAssetStatus;
pub use big_fish_background_blueprint_type::BigFishBackgroundBlueprint;
pub use big_fish_creation_session_table::*;
pub use big_fish_creation_session_type::BigFishCreationSession;
pub use big_fish_creation_stage_type::BigFishCreationStage;
pub use big_fish_draft_compile_input_type::BigFishDraftCompileInput;
pub use big_fish_event_kind_type::BigFishEventKind;
pub use big_fish_event_table::*;
pub use big_fish_event_type::BigFishEvent;
pub use big_fish_game_draft_type::BigFishGameDraft;
pub use big_fish_input_submit_input_type::BigFishInputSubmitInput;
pub use big_fish_level_blueprint_type::BigFishLevelBlueprint;
pub use big_fish_message_finalize_input_type::BigFishMessageFinalizeInput;
pub use big_fish_message_submit_input_type::BigFishMessageSubmitInput;
pub use big_fish_play_record_input_type::BigFishPlayRecordInput;
pub use big_fish_publish_input_type::BigFishPublishInput;
pub use big_fish_run_get_input_type::BigFishRunGetInput;
pub use big_fish_run_procedure_result_type::BigFishRunProcedureResult;
pub use big_fish_run_start_input_type::BigFishRunStartInput;
pub use big_fish_run_status_type::BigFishRunStatus;
pub use big_fish_runtime_params_type::BigFishRuntimeParams;
pub use big_fish_runtime_run_table::*;
pub use big_fish_runtime_run_type::BigFishRuntimeRun;
pub use big_fish_session_create_input_type::BigFishSessionCreateInput;
pub use big_fish_session_get_input_type::BigFishSessionGetInput;
pub use big_fish_session_procedure_result_type::BigFishSessionProcedureResult;
pub use big_fish_session_snapshot_type::BigFishSessionSnapshot;
pub use big_fish_work_delete_input_type::BigFishWorkDeleteInput;
pub use big_fish_work_like_record_input_type::BigFishWorkLikeRecordInput;
pub use big_fish_work_remix_input_type::BigFishWorkRemixInput;
pub use big_fish_works_list_input_type::BigFishWorksListInput;
pub use big_fish_works_procedure_result_type::BigFishWorksProcedureResult;
pub use bind_asset_object_to_entity_and_return_procedure::bind_asset_object_to_entity_and_return;
pub use bind_asset_object_to_entity_reducer::bind_asset_object_to_entity;
pub use cancel_ai_task_and_return_procedure::cancel_ai_task_and_return;
pub use chapter_pace_band_type::ChapterPaceBand;
pub use chapter_progression_get_input_type::ChapterProgressionGetInput;
pub use chapter_progression_input_type::ChapterProgressionInput;
pub use chapter_progression_ledger_input_type::ChapterProgressionLedgerInput;
pub use chapter_progression_procedure_result_type::ChapterProgressionProcedureResult;
pub use chapter_progression_snapshot_type::ChapterProgressionSnapshot;
pub use chapter_progression_table::*;
pub use chapter_progression_type::ChapterProgression;
pub use claim_profile_task_reward_and_return_procedure::claim_profile_task_reward_and_return;
pub use claim_puzzle_work_point_incentive_procedure::claim_puzzle_work_point_incentive;
pub use clear_database_migration_import_chunks_procedure::clear_database_migration_import_chunks;
pub use clear_platform_browse_history_and_return_procedure::clear_platform_browse_history_and_return;
pub use click_match_3_d_item_procedure::click_match_3_d_item;
pub use combat_outcome_type::CombatOutcome;
pub use compile_big_fish_draft_procedure::compile_big_fish_draft;
pub use compile_custom_world_published_profile_procedure::compile_custom_world_published_profile;
pub use compile_match_3_d_draft_procedure::compile_match_3_d_draft;
pub use compile_puzzle_agent_draft_procedure::compile_puzzle_agent_draft;
pub use compile_square_hole_draft_procedure::compile_square_hole_draft;
pub use compile_visual_novel_work_profile_procedure::compile_visual_novel_work_profile;
pub use complete_ai_stage_and_return_procedure::complete_ai_stage_and_return;
pub use complete_ai_task_and_return_procedure::complete_ai_task_and_return;
pub use confirm_asset_object_and_return_procedure::confirm_asset_object_and_return;
pub use confirm_asset_object_reducer::confirm_asset_object;
pub use consume_inventory_item_input_type::ConsumeInventoryItemInput;
pub use consume_profile_wallet_points_and_return_procedure::consume_profile_wallet_points_and_return;
pub use continue_story_and_return_procedure::continue_story_and_return;
pub use continue_story_reducer::continue_story;
pub use create_ai_task_and_return_procedure::create_ai_task_and_return;
pub use create_ai_task_reducer::create_ai_task;
pub use create_battle_state_and_return_procedure::create_battle_state_and_return;
pub use create_battle_state_reducer::create_battle_state;
pub use create_big_fish_session_procedure::create_big_fish_session;
pub use create_custom_world_agent_session_procedure::create_custom_world_agent_session;
pub use create_match_3_d_agent_session_procedure::create_match_3_d_agent_session;
pub use create_profile_recharge_order_and_return_procedure::create_profile_recharge_order_and_return;
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 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;
pub use custom_world_agent_message_finalize_input_type::CustomWorldAgentMessageFinalizeInput;
pub use custom_world_agent_message_snapshot_type::CustomWorldAgentMessageSnapshot;
pub use custom_world_agent_message_submit_input_type::CustomWorldAgentMessageSubmitInput;
pub use custom_world_agent_message_table::*;
pub use custom_world_agent_message_type::CustomWorldAgentMessage;
pub use custom_world_agent_operation_get_input_type::CustomWorldAgentOperationGetInput;
pub use custom_world_agent_operation_procedure_result_type::CustomWorldAgentOperationProcedureResult;
pub use custom_world_agent_operation_progress_input_type::CustomWorldAgentOperationProgressInput;
pub use custom_world_agent_operation_snapshot_type::CustomWorldAgentOperationSnapshot;
pub use custom_world_agent_operation_table::*;
pub use custom_world_agent_operation_type::CustomWorldAgentOperation;
pub use custom_world_agent_session_create_input_type::CustomWorldAgentSessionCreateInput;
pub use custom_world_agent_session_get_input_type::CustomWorldAgentSessionGetInput;
pub use custom_world_agent_session_procedure_result_type::CustomWorldAgentSessionProcedureResult;
pub use custom_world_agent_session_snapshot_type::CustomWorldAgentSessionSnapshot;
pub use custom_world_agent_session_table::*;
pub use custom_world_agent_session_type::CustomWorldAgentSession;
pub use custom_world_draft_card_detail_result_type::CustomWorldDraftCardDetailResult;
pub use custom_world_draft_card_detail_section_snapshot_type::CustomWorldDraftCardDetailSectionSnapshot;
pub use custom_world_draft_card_detail_snapshot_type::CustomWorldDraftCardDetailSnapshot;
pub use custom_world_draft_card_snapshot_type::CustomWorldDraftCardSnapshot;
pub use custom_world_draft_card_table::*;
pub use custom_world_draft_card_type::CustomWorldDraftCard;
pub use custom_world_gallery_detail_by_code_input_type::CustomWorldGalleryDetailByCodeInput;
pub use custom_world_gallery_detail_input_type::CustomWorldGalleryDetailInput;
pub use custom_world_gallery_entry_snapshot_type::CustomWorldGalleryEntrySnapshot;
pub use custom_world_gallery_entry_table::*;
pub use custom_world_gallery_entry_type::CustomWorldGalleryEntry;
pub use custom_world_gallery_list_result_type::CustomWorldGalleryListResult;
pub use custom_world_generation_mode_type::CustomWorldGenerationMode;
pub use custom_world_library_detail_input_type::CustomWorldLibraryDetailInput;
pub use custom_world_library_mutation_result_type::CustomWorldLibraryMutationResult;
pub use custom_world_profile_delete_input_type::CustomWorldProfileDeleteInput;
pub use custom_world_profile_like_record_input_type::CustomWorldProfileLikeRecordInput;
pub use custom_world_profile_list_input_type::CustomWorldProfileListInput;
pub use custom_world_profile_list_result_type::CustomWorldProfileListResult;
pub use custom_world_profile_play_record_input_type::CustomWorldProfilePlayRecordInput;
pub use custom_world_profile_publish_input_type::CustomWorldProfilePublishInput;
pub use custom_world_profile_remix_input_type::CustomWorldProfileRemixInput;
pub use custom_world_profile_snapshot_type::CustomWorldProfileSnapshot;
pub use custom_world_profile_table::*;
pub use custom_world_profile_type::CustomWorldProfile;
pub use custom_world_profile_unpublish_input_type::CustomWorldProfileUnpublishInput;
pub use custom_world_profile_upsert_input_type::CustomWorldProfileUpsertInput;
pub use custom_world_publication_status_type::CustomWorldPublicationStatus;
pub use custom_world_publish_world_input_type::CustomWorldPublishWorldInput;
pub use custom_world_publish_world_result_type::CustomWorldPublishWorldResult;
pub use custom_world_published_profile_compile_input_type::CustomWorldPublishedProfileCompileInput;
pub use custom_world_published_profile_compile_result_type::CustomWorldPublishedProfileCompileResult;
pub use custom_world_published_profile_compile_snapshot_type::CustomWorldPublishedProfileCompileSnapshot;
pub use custom_world_role_asset_status_type::CustomWorldRoleAssetStatus;
pub use custom_world_session_status_type::CustomWorldSessionStatus;
pub use custom_world_session_table::*;
pub use custom_world_session_type::CustomWorldSession;
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 database_migration_authorize_operator_input_type::DatabaseMigrationAuthorizeOperatorInput;
pub use database_migration_export_input_type::DatabaseMigrationExportInput;
pub use database_migration_import_chunk_input_type::DatabaseMigrationImportChunkInput;
pub use database_migration_import_chunk_table::*;
pub use database_migration_import_chunk_type::DatabaseMigrationImportChunk;
pub use database_migration_import_chunks_clear_input_type::DatabaseMigrationImportChunksClearInput;
pub use database_migration_import_chunks_input_type::DatabaseMigrationImportChunksInput;
pub use database_migration_import_input_type::DatabaseMigrationImportInput;
pub use database_migration_operator_procedure_result_type::DatabaseMigrationOperatorProcedureResult;
pub use database_migration_operator_table::*;
pub use database_migration_operator_type::DatabaseMigrationOperator;
pub use database_migration_procedure_result_type::DatabaseMigrationProcedureResult;
pub use database_migration_revoke_operator_input_type::DatabaseMigrationRevokeOperatorInput;
pub use database_migration_table_stat_type::DatabaseMigrationTableStat;
pub use database_migration_warning_type::DatabaseMigrationWarning;
pub use delete_big_fish_work_procedure::delete_big_fish_work;
pub use delete_custom_world_agent_session_procedure::delete_custom_world_agent_session;
pub use delete_custom_world_profile_and_return_procedure::delete_custom_world_profile_and_return;
pub use delete_match_3_d_work_procedure::delete_match_3_d_work;
pub use delete_puzzle_work_procedure::delete_puzzle_work;
pub use delete_runtime_snapshot_and_return_procedure::delete_runtime_snapshot_and_return;
pub use delete_square_hole_work_procedure::delete_square_hole_work;
pub use delete_visual_novel_work_procedure::delete_visual_novel_work;
pub use drag_puzzle_piece_or_group_procedure::drag_puzzle_piece_or_group;
pub use drop_square_hole_shape_procedure::drop_square_hole_shape;
pub use ensure_analytics_date_dimension_for_date_reducer::ensure_analytics_date_dimension_for_date;
pub use equip_inventory_item_input_type::EquipInventoryItemInput;
pub use execute_custom_world_agent_action_procedure::execute_custom_world_agent_action;
pub use export_auth_store_snapshot_from_tables_procedure::export_auth_store_snapshot_from_tables;
pub use export_database_migration_to_file_procedure::export_database_migration_to_file;
pub use fail_ai_task_and_return_procedure::fail_ai_task_and_return;
pub use finalize_big_fish_agent_message_turn_procedure::finalize_big_fish_agent_message_turn;
pub use finalize_custom_world_agent_message_turn_procedure::finalize_custom_world_agent_message_turn;
pub use finalize_match_3_d_agent_message_turn_procedure::finalize_match_3_d_agent_message_turn;
pub use finalize_puzzle_agent_message_turn_procedure::finalize_puzzle_agent_message_turn;
pub use finalize_square_hole_agent_message_turn_procedure::finalize_square_hole_agent_message_turn;
pub use finalize_visual_novel_agent_message_turn_procedure::finalize_visual_novel_agent_message_turn;
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_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_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;
pub use get_custom_world_gallery_detail_by_code_procedure::get_custom_world_gallery_detail_by_code;
pub use get_custom_world_gallery_detail_procedure::get_custom_world_gallery_detail;
pub use get_custom_world_library_detail_procedure::get_custom_world_library_detail;
pub use get_match_3_d_agent_session_procedure::get_match_3_d_agent_session;
pub use get_match_3_d_run_procedure::get_match_3_d_run;
pub use get_match_3_d_work_detail_procedure::get_match_3_d_work_detail;
pub use get_player_progression_or_default_procedure::get_player_progression_or_default;
pub use get_profile_dashboard_procedure::get_profile_dashboard;
pub use get_profile_play_stats_procedure::get_profile_play_stats;
pub use get_profile_recharge_center_procedure::get_profile_recharge_center;
pub use get_profile_referral_invite_center_procedure::get_profile_referral_invite_center;
pub use get_profile_task_center_procedure::get_profile_task_center;
pub use get_puzzle_agent_session_procedure::get_puzzle_agent_session;
pub use get_puzzle_gallery_detail_procedure::get_puzzle_gallery_detail;
pub use get_puzzle_run_procedure::get_puzzle_run;
pub use get_puzzle_work_detail_procedure::get_puzzle_work_detail;
pub use get_runtime_inventory_state_procedure::get_runtime_inventory_state;
pub use get_runtime_setting_or_default_procedure::get_runtime_setting_or_default;
pub use get_runtime_snapshot_procedure::get_runtime_snapshot;
pub use get_square_hole_agent_session_procedure::get_square_hole_agent_session;
pub use get_square_hole_run_procedure::get_square_hole_run;
pub use get_square_hole_work_detail_procedure::get_square_hole_work_detail;
pub use get_story_session_state_procedure::get_story_session_state;
pub use get_visual_novel_agent_session_procedure::get_visual_novel_agent_session;
pub use get_visual_novel_run_procedure::get_visual_novel_run;
pub use get_visual_novel_work_detail_procedure::get_visual_novel_work_detail;
pub use grant_inventory_item_input_type::GrantInventoryItemInput;
pub use grant_new_user_registration_wallet_reward_procedure::grant_new_user_registration_wallet_reward;
pub use grant_player_progression_experience_and_return_procedure::grant_player_progression_experience_and_return;
pub use grant_player_progression_experience_reducer::grant_player_progression_experience;
pub use import_auth_store_snapshot_procedure::import_auth_store_snapshot;
pub use import_database_migration_from_chunks_procedure::import_database_migration_from_chunks;
pub use import_database_migration_from_file_procedure::import_database_migration_from_file;
pub use import_database_migration_incremental_from_chunks_procedure::import_database_migration_incremental_from_chunks;
pub use import_database_migration_incremental_from_file_procedure::import_database_migration_incremental_from_file;
pub use inventory_container_kind_type::InventoryContainerKind;
pub use inventory_equipment_slot_type::InventoryEquipmentSlot;
pub use inventory_item_rarity_type::InventoryItemRarity;
pub use inventory_item_snapshot_type::InventoryItemSnapshot;
pub use inventory_item_source_kind_type::InventoryItemSourceKind;
pub use inventory_mutation_input_type::InventoryMutationInput;
pub use inventory_mutation_type::InventoryMutation;
pub use inventory_slot_snapshot_type::InventorySlotSnapshot;
pub use inventory_slot_table::*;
pub use inventory_slot_type::InventorySlot;
pub use list_asset_history_and_return_procedure::list_asset_history_and_return;
pub use list_big_fish_works_procedure::list_big_fish_works;
pub use list_custom_world_gallery_entries_procedure::list_custom_world_gallery_entries;
pub use list_custom_world_profiles_procedure::list_custom_world_profiles;
pub use list_custom_world_works_procedure::list_custom_world_works;
pub use list_match_3_d_works_procedure::list_match_3_d_works;
pub use list_platform_browse_history_procedure::list_platform_browse_history;
pub use list_profile_save_archives_procedure::list_profile_save_archives;
pub use list_profile_wallet_ledger_procedure::list_profile_wallet_ledger;
pub use list_puzzle_gallery_procedure::list_puzzle_gallery;
pub use list_puzzle_works_procedure::list_puzzle_works;
pub use list_square_hole_works_procedure::list_square_hole_works;
pub use list_visual_novel_runtime_history_procedure::list_visual_novel_runtime_history;
pub use list_visual_novel_works_procedure::list_visual_novel_works;
pub use match_3_d_agent_message_finalize_input_type::Match3DAgentMessageFinalizeInput;
pub use match_3_d_agent_message_row_type::Match3DAgentMessageRow;
pub use match_3_d_agent_message_submit_input_type::Match3DAgentMessageSubmitInput;
pub use match_3_d_agent_message_table::*;
pub use match_3_d_agent_session_create_input_type::Match3DAgentSessionCreateInput;
pub use match_3_d_agent_session_get_input_type::Match3DAgentSessionGetInput;
pub use match_3_d_agent_session_procedure_result_type::Match3DAgentSessionProcedureResult;
pub use match_3_d_agent_session_row_type::Match3DAgentSessionRow;
pub use match_3_d_agent_session_table::*;
pub use match_3_d_click_item_procedure_result_type::Match3DClickItemProcedureResult;
pub use match_3_d_draft_compile_input_type::Match3DDraftCompileInput;
pub use match_3_d_run_click_input_type::Match3DRunClickInput;
pub use match_3_d_run_get_input_type::Match3DRunGetInput;
pub use match_3_d_run_procedure_result_type::Match3DRunProcedureResult;
pub use match_3_d_run_restart_input_type::Match3DRunRestartInput;
pub use match_3_d_run_start_input_type::Match3DRunStartInput;
pub use match_3_d_run_stop_input_type::Match3DRunStopInput;
pub use match_3_d_run_time_up_input_type::Match3DRunTimeUpInput;
pub use match_3_d_runtime_run_row_type::Match3DRuntimeRunRow;
pub use match_3_d_runtime_run_table::*;
pub use match_3_d_work_delete_input_type::Match3DWorkDeleteInput;
pub use match_3_d_work_get_input_type::Match3DWorkGetInput;
pub use match_3_d_work_procedure_result_type::Match3DWorkProcedureResult;
pub use match_3_d_work_profile_row_type::Match3DWorkProfileRow;
pub use match_3_d_work_profile_table::*;
pub use match_3_d_work_publish_input_type::Match3DWorkPublishInput;
pub use match_3_d_work_update_input_type::Match3DWorkUpdateInput;
pub use match_3_d_works_list_input_type::Match3DWorksListInput;
pub use match_3_d_works_procedure_result_type::Match3DWorksProcedureResult;
pub use npc_battle_interaction_procedure_result_type::NpcBattleInteractionProcedureResult;
pub use npc_battle_interaction_result_type::NpcBattleInteractionResult;
pub use npc_interaction_battle_mode_type::NpcInteractionBattleMode;
pub use npc_interaction_procedure_result_type::NpcInteractionProcedureResult;
pub use npc_interaction_result_type::NpcInteractionResult;
pub use npc_interaction_status_type::NpcInteractionStatus;
pub use npc_relation_stance_type::NpcRelationStance;
pub use npc_relation_state_type::NpcRelationState;
pub use npc_social_action_kind_type::NpcSocialActionKind;
pub use npc_stance_profile_type::NpcStanceProfile;
pub use npc_state_procedure_result_type::NpcStateProcedureResult;
pub use npc_state_snapshot_type::NpcStateSnapshot;
pub use npc_state_table::*;
pub use npc_state_type::NpcState;
pub use npc_state_upsert_input_type::NpcStateUpsertInput;
pub use player_progression_get_input_type::PlayerProgressionGetInput;
pub use player_progression_grant_input_type::PlayerProgressionGrantInput;
pub use player_progression_grant_source_type::PlayerProgressionGrantSource;
pub use player_progression_procedure_result_type::PlayerProgressionProcedureResult;
pub use player_progression_snapshot_type::PlayerProgressionSnapshot;
pub use player_progression_table::*;
pub use player_progression_type::PlayerProgression;
pub use profile_dashboard_state_table::*;
pub use profile_dashboard_state_type::ProfileDashboardState;
pub use profile_invite_code_table::*;
pub use profile_invite_code_type::ProfileInviteCode;
pub use profile_membership_table::*;
pub use profile_membership_type::ProfileMembership;
pub use profile_played_world_table::*;
pub use profile_played_world_type::ProfilePlayedWorld;
pub use profile_recharge_order_table::*;
pub use profile_recharge_order_type::ProfileRechargeOrder;
pub use profile_redeem_code_table::*;
pub use profile_redeem_code_type::ProfileRedeemCode;
pub use profile_redeem_code_usage_table::*;
pub use profile_redeem_code_usage_type::ProfileRedeemCodeUsage;
pub use profile_referral_relation_table::*;
pub use profile_referral_relation_type::ProfileReferralRelation;
pub use profile_save_archive_table::*;
pub use profile_save_archive_type::ProfileSaveArchive;
pub use profile_task_config_table::*;
pub use profile_task_config_type::ProfileTaskConfig;
pub use profile_task_progress_table::*;
pub use profile_task_progress_type::ProfileTaskProgress;
pub use profile_task_reward_claim_table::*;
pub use profile_task_reward_claim_type::ProfileTaskRewardClaim;
pub use profile_wallet_ledger_table::*;
pub use profile_wallet_ledger_type::ProfileWalletLedger;
pub use public_work_like_table::*;
pub use public_work_like_type::PublicWorkLike;
pub use public_work_play_daily_stat_table::*;
pub use public_work_play_daily_stat_type::PublicWorkPlayDailyStat;
pub use publish_big_fish_game_procedure::publish_big_fish_game;
pub use publish_custom_world_profile_and_return_procedure::publish_custom_world_profile_and_return;
pub use publish_custom_world_profile_reducer::publish_custom_world_profile;
pub use publish_custom_world_world_procedure::publish_custom_world_world;
pub use publish_match_3_d_work_procedure::publish_match_3_d_work;
pub use publish_puzzle_work_procedure::publish_puzzle_work;
pub use publish_square_hole_work_procedure::publish_square_hole_work;
pub use publish_visual_novel_work_procedure::publish_visual_novel_work;
pub use put_database_migration_import_chunk_procedure::put_database_migration_import_chunk;
pub use puzzle_agent_message_finalize_input_type::PuzzleAgentMessageFinalizeInput;
pub use puzzle_agent_message_kind_type::PuzzleAgentMessageKind;
pub use puzzle_agent_message_role_type::PuzzleAgentMessageRole;
pub use puzzle_agent_message_row_type::PuzzleAgentMessageRow;
pub use puzzle_agent_message_submit_input_type::PuzzleAgentMessageSubmitInput;
pub use puzzle_agent_message_table::*;
pub use puzzle_agent_session_create_input_type::PuzzleAgentSessionCreateInput;
pub use puzzle_agent_session_get_input_type::PuzzleAgentSessionGetInput;
pub use puzzle_agent_session_procedure_result_type::PuzzleAgentSessionProcedureResult;
pub use puzzle_agent_session_row_type::PuzzleAgentSessionRow;
pub use puzzle_agent_session_table::*;
pub use puzzle_agent_stage_type::PuzzleAgentStage;
pub use puzzle_draft_compile_input_type::PuzzleDraftCompileInput;
pub use puzzle_event_kind_type::PuzzleEventKind;
pub use puzzle_event_table::*;
pub use puzzle_event_type::PuzzleEvent;
pub use puzzle_form_draft_save_input_type::PuzzleFormDraftSaveInput;
pub use puzzle_generated_images_save_input_type::PuzzleGeneratedImagesSaveInput;
pub use puzzle_leaderboard_entry_row_type::PuzzleLeaderboardEntryRow;
pub use puzzle_leaderboard_entry_table::*;
pub use puzzle_leaderboard_submit_input_type::PuzzleLeaderboardSubmitInput;
pub use puzzle_publication_status_type::PuzzlePublicationStatus;
pub use puzzle_publish_input_type::PuzzlePublishInput;
pub use puzzle_run_drag_input_type::PuzzleRunDragInput;
pub use puzzle_run_get_input_type::PuzzleRunGetInput;
pub use puzzle_run_next_level_input_type::PuzzleRunNextLevelInput;
pub use puzzle_run_pause_input_type::PuzzleRunPauseInput;
pub use puzzle_run_procedure_result_type::PuzzleRunProcedureResult;
pub use puzzle_run_prop_input_type::PuzzleRunPropInput;
pub use puzzle_run_start_input_type::PuzzleRunStartInput;
pub use puzzle_run_swap_input_type::PuzzleRunSwapInput;
pub use puzzle_runtime_run_row_type::PuzzleRuntimeRunRow;
pub use puzzle_runtime_run_table::*;
pub use puzzle_select_cover_image_input_type::PuzzleSelectCoverImageInput;
pub use puzzle_work_delete_input_type::PuzzleWorkDeleteInput;
pub use puzzle_work_get_input_type::PuzzleWorkGetInput;
pub use puzzle_work_like_record_input_type::PuzzleWorkLikeRecordInput;
pub use puzzle_work_point_incentive_claim_input_type::PuzzleWorkPointIncentiveClaimInput;
pub use puzzle_work_procedure_result_type::PuzzleWorkProcedureResult;
pub use puzzle_work_profile_row_type::PuzzleWorkProfileRow;
pub use puzzle_work_profile_table::*;
pub use puzzle_work_remix_input_type::PuzzleWorkRemixInput;
pub use puzzle_work_upsert_input_type::PuzzleWorkUpsertInput;
pub use puzzle_works_list_input_type::PuzzleWorksListInput;
pub use puzzle_works_procedure_result_type::PuzzleWorksProcedureResult;
pub use query_analytics_metric_procedure::query_analytics_metric;
pub use quest_completion_ack_input_type::QuestCompletionAckInput;
pub use quest_hostile_npc_defeated_signal_type::QuestHostileNpcDefeatedSignal;
pub use quest_item_delivered_signal_type::QuestItemDeliveredSignal;
pub use quest_log_event_kind_type::QuestLogEventKind;
pub use quest_log_table::*;
pub use quest_log_type::QuestLog;
pub use quest_narrative_binding_snapshot_type::QuestNarrativeBindingSnapshot;
pub use quest_narrative_origin_type::QuestNarrativeOrigin;
pub use quest_narrative_type_type::QuestNarrativeType;
pub use quest_npc_spar_completed_signal_type::QuestNpcSparCompletedSignal;
pub use quest_npc_talk_completed_signal_type::QuestNpcTalkCompletedSignal;
pub use quest_objective_kind_type::QuestObjectiveKind;
pub use quest_objective_snapshot_type::QuestObjectiveSnapshot;
pub use quest_progress_signal_type::QuestProgressSignal;
pub use quest_record_input_type::QuestRecordInput;
pub use quest_record_table::*;
pub use quest_record_type::QuestRecord;
pub use quest_reward_equipment_slot_type::QuestRewardEquipmentSlot;
pub use quest_reward_intel_type::QuestRewardIntel;
pub use quest_reward_item_rarity_type::QuestRewardItemRarity;
pub use quest_reward_item_type::QuestRewardItem;
pub use quest_reward_snapshot_type::QuestRewardSnapshot;
pub use quest_scene_reached_signal_type::QuestSceneReachedSignal;
pub use quest_signal_apply_input_type::QuestSignalApplyInput;
pub use quest_signal_kind_type::QuestSignalKind;
pub use quest_status_type::QuestStatus;
pub use quest_step_snapshot_type::QuestStepSnapshot;
pub use quest_treasure_inspected_signal_type::QuestTreasureInspectedSignal;
pub use quest_turn_in_input_type::QuestTurnInInput;
pub use record_big_fish_like_procedure::record_big_fish_like;
pub use record_big_fish_play_procedure::record_big_fish_play;
pub use record_custom_world_profile_like_procedure::record_custom_world_profile_like;
pub use record_custom_world_profile_play_procedure::record_custom_world_profile_play;
pub use record_daily_login_tracking_event_and_return_procedure::record_daily_login_tracking_event_and_return;
pub use record_puzzle_work_like_procedure::record_puzzle_work_like;
pub use record_visual_novel_runtime_event_procedure::record_visual_novel_runtime_event;
pub use redeem_profile_referral_invite_code_procedure::redeem_profile_referral_invite_code;
pub use redeem_profile_reward_code_procedure::redeem_profile_reward_code;
pub use refresh_session_table::*;
pub use refresh_session_type::RefreshSession;
pub use refund_profile_wallet_points_and_return_procedure::refund_profile_wallet_points_and_return;
pub use remix_big_fish_work_procedure::remix_big_fish_work;
pub use remix_custom_world_profile_procedure::remix_custom_world_profile;
pub use remix_puzzle_work_procedure::remix_puzzle_work;
pub use resolve_combat_action_and_return_procedure::resolve_combat_action_and_return;
pub use resolve_combat_action_input_type::ResolveCombatActionInput;
pub use resolve_combat_action_procedure_result_type::ResolveCombatActionProcedureResult;
pub use resolve_combat_action_reducer::resolve_combat_action;
pub use resolve_combat_action_result_type::ResolveCombatActionResult;
pub use resolve_npc_battle_interaction_and_return_procedure::resolve_npc_battle_interaction_and_return;
pub use resolve_npc_battle_interaction_input_type::ResolveNpcBattleInteractionInput;
pub use resolve_npc_interaction_and_return_procedure::resolve_npc_interaction_and_return;
pub use resolve_npc_interaction_input_type::ResolveNpcInteractionInput;
pub use resolve_npc_interaction_reducer::resolve_npc_interaction;
pub use resolve_npc_social_action_and_return_procedure::resolve_npc_social_action_and_return;
pub use resolve_npc_social_action_input_type::ResolveNpcSocialActionInput;
pub use resolve_npc_social_action_reducer::resolve_npc_social_action;
pub use resolve_treasure_interaction_and_return_procedure::resolve_treasure_interaction_and_return;
pub use resolve_treasure_interaction_reducer::resolve_treasure_interaction;
pub use restart_match_3_d_run_procedure::restart_match_3_d_run;
pub use restart_square_hole_run_procedure::restart_square_hole_run;
pub use resume_profile_save_archive_and_return_procedure::resume_profile_save_archive_and_return;
pub use revoke_database_migration_operator_procedure::revoke_database_migration_operator;
pub use rpg_agent_draft_card_kind_type::RpgAgentDraftCardKind;
pub use rpg_agent_draft_card_status_type::RpgAgentDraftCardStatus;
pub use rpg_agent_message_kind_type::RpgAgentMessageKind;
pub use rpg_agent_message_role_type::RpgAgentMessageRole;
pub use rpg_agent_operation_status_type::RpgAgentOperationStatus;
pub use rpg_agent_operation_type_type::RpgAgentOperationType;
pub use rpg_agent_stage_type::RpgAgentStage;
pub use runtime_browse_history_clear_input_type::RuntimeBrowseHistoryClearInput;
pub use runtime_browse_history_list_input_type::RuntimeBrowseHistoryListInput;
pub use runtime_browse_history_procedure_result_type::RuntimeBrowseHistoryProcedureResult;
pub use runtime_browse_history_snapshot_type::RuntimeBrowseHistorySnapshot;
pub use runtime_browse_history_sync_input_type::RuntimeBrowseHistorySyncInput;
pub use runtime_browse_history_theme_mode_type::RuntimeBrowseHistoryThemeMode;
pub use runtime_browse_history_write_input_type::RuntimeBrowseHistoryWriteInput;
pub use runtime_inventory_state_procedure_result_type::RuntimeInventoryStateProcedureResult;
pub use runtime_inventory_state_query_input_type::RuntimeInventoryStateQueryInput;
pub use runtime_inventory_state_snapshot_type::RuntimeInventoryStateSnapshot;
pub use runtime_item_equipment_slot_type::RuntimeItemEquipmentSlot;
pub use runtime_item_reward_item_rarity_type::RuntimeItemRewardItemRarity;
pub use runtime_item_reward_item_snapshot_type::RuntimeItemRewardItemSnapshot;
pub use runtime_platform_theme_type::RuntimePlatformTheme;
pub use runtime_profile_dashboard_get_input_type::RuntimeProfileDashboardGetInput;
pub use runtime_profile_dashboard_procedure_result_type::RuntimeProfileDashboardProcedureResult;
pub use runtime_profile_dashboard_snapshot_type::RuntimeProfileDashboardSnapshot;
pub use runtime_profile_invite_code_admin_list_input_type::RuntimeProfileInviteCodeAdminListInput;
pub use runtime_profile_invite_code_admin_list_procedure_result_type::RuntimeProfileInviteCodeAdminListProcedureResult;
pub use runtime_profile_invite_code_admin_procedure_result_type::RuntimeProfileInviteCodeAdminProcedureResult;
pub use runtime_profile_invite_code_admin_upsert_input_type::RuntimeProfileInviteCodeAdminUpsertInput;
pub use runtime_profile_invite_code_snapshot_type::RuntimeProfileInviteCodeSnapshot;
pub use runtime_profile_membership_benefit_snapshot_type::RuntimeProfileMembershipBenefitSnapshot;
pub use runtime_profile_membership_snapshot_type::RuntimeProfileMembershipSnapshot;
pub use runtime_profile_membership_status_type::RuntimeProfileMembershipStatus;
pub use runtime_profile_membership_tier_type::RuntimeProfileMembershipTier;
pub use runtime_profile_play_stats_get_input_type::RuntimeProfilePlayStatsGetInput;
pub use runtime_profile_play_stats_procedure_result_type::RuntimeProfilePlayStatsProcedureResult;
pub use runtime_profile_play_stats_snapshot_type::RuntimeProfilePlayStatsSnapshot;
pub use runtime_profile_played_world_snapshot_type::RuntimeProfilePlayedWorldSnapshot;
pub use runtime_profile_recharge_center_get_input_type::RuntimeProfileRechargeCenterGetInput;
pub use runtime_profile_recharge_center_procedure_result_type::RuntimeProfileRechargeCenterProcedureResult;
pub use runtime_profile_recharge_center_snapshot_type::RuntimeProfileRechargeCenterSnapshot;
pub use runtime_profile_recharge_order_create_input_type::RuntimeProfileRechargeOrderCreateInput;
pub use runtime_profile_recharge_order_snapshot_type::RuntimeProfileRechargeOrderSnapshot;
pub use runtime_profile_recharge_order_status_type::RuntimeProfileRechargeOrderStatus;
pub use runtime_profile_recharge_product_kind_type::RuntimeProfileRechargeProductKind;
pub use runtime_profile_recharge_product_snapshot_type::RuntimeProfileRechargeProductSnapshot;
pub use runtime_profile_redeem_code_admin_disable_input_type::RuntimeProfileRedeemCodeAdminDisableInput;
pub use runtime_profile_redeem_code_admin_list_input_type::RuntimeProfileRedeemCodeAdminListInput;
pub use runtime_profile_redeem_code_admin_list_procedure_result_type::RuntimeProfileRedeemCodeAdminListProcedureResult;
pub use runtime_profile_redeem_code_admin_procedure_result_type::RuntimeProfileRedeemCodeAdminProcedureResult;
pub use runtime_profile_redeem_code_admin_upsert_input_type::RuntimeProfileRedeemCodeAdminUpsertInput;
pub use runtime_profile_redeem_code_mode_type::RuntimeProfileRedeemCodeMode;
pub use runtime_profile_redeem_code_snapshot_type::RuntimeProfileRedeemCodeSnapshot;
pub use runtime_profile_reward_code_redeem_input_type::RuntimeProfileRewardCodeRedeemInput;
pub use runtime_profile_reward_code_redeem_procedure_result_type::RuntimeProfileRewardCodeRedeemProcedureResult;
pub use runtime_profile_reward_code_redeem_snapshot_type::RuntimeProfileRewardCodeRedeemSnapshot;
pub use runtime_profile_save_archive_list_input_type::RuntimeProfileSaveArchiveListInput;
pub use runtime_profile_save_archive_procedure_result_type::RuntimeProfileSaveArchiveProcedureResult;
pub use runtime_profile_save_archive_resume_input_type::RuntimeProfileSaveArchiveResumeInput;
pub use runtime_profile_save_archive_snapshot_type::RuntimeProfileSaveArchiveSnapshot;
pub use runtime_profile_task_center_get_input_type::RuntimeProfileTaskCenterGetInput;
pub use runtime_profile_task_center_procedure_result_type::RuntimeProfileTaskCenterProcedureResult;
pub use runtime_profile_task_center_snapshot_type::RuntimeProfileTaskCenterSnapshot;
pub use runtime_profile_task_claim_input_type::RuntimeProfileTaskClaimInput;
pub use runtime_profile_task_claim_procedure_result_type::RuntimeProfileTaskClaimProcedureResult;
pub use runtime_profile_task_claim_snapshot_type::RuntimeProfileTaskClaimSnapshot;
pub use runtime_profile_task_config_admin_disable_input_type::RuntimeProfileTaskConfigAdminDisableInput;
pub use runtime_profile_task_config_admin_list_input_type::RuntimeProfileTaskConfigAdminListInput;
pub use runtime_profile_task_config_admin_list_procedure_result_type::RuntimeProfileTaskConfigAdminListProcedureResult;
pub use runtime_profile_task_config_admin_procedure_result_type::RuntimeProfileTaskConfigAdminProcedureResult;
pub use runtime_profile_task_config_admin_upsert_input_type::RuntimeProfileTaskConfigAdminUpsertInput;
pub use runtime_profile_task_config_snapshot_type::RuntimeProfileTaskConfigSnapshot;
pub use runtime_profile_task_cycle_type::RuntimeProfileTaskCycle;
pub use runtime_profile_task_item_snapshot_type::RuntimeProfileTaskItemSnapshot;
pub use runtime_profile_task_status_type::RuntimeProfileTaskStatus;
pub use runtime_profile_wallet_adjustment_input_type::RuntimeProfileWalletAdjustmentInput;
pub use runtime_profile_wallet_adjustment_procedure_result_type::RuntimeProfileWalletAdjustmentProcedureResult;
pub use runtime_profile_wallet_ledger_entry_snapshot_type::RuntimeProfileWalletLedgerEntrySnapshot;
pub use runtime_profile_wallet_ledger_list_input_type::RuntimeProfileWalletLedgerListInput;
pub use runtime_profile_wallet_ledger_procedure_result_type::RuntimeProfileWalletLedgerProcedureResult;
pub use runtime_profile_wallet_ledger_source_type_type::RuntimeProfileWalletLedgerSourceType;
pub use runtime_referral_invite_center_get_input_type::RuntimeReferralInviteCenterGetInput;
pub use runtime_referral_invite_center_procedure_result_type::RuntimeReferralInviteCenterProcedureResult;
pub use runtime_referral_invite_center_snapshot_type::RuntimeReferralInviteCenterSnapshot;
pub use runtime_referral_invited_user_snapshot_type::RuntimeReferralInvitedUserSnapshot;
pub use runtime_referral_redeem_input_type::RuntimeReferralRedeemInput;
pub use runtime_referral_redeem_procedure_result_type::RuntimeReferralRedeemProcedureResult;
pub use runtime_referral_redeem_snapshot_type::RuntimeReferralRedeemSnapshot;
pub use runtime_setting_get_input_type::RuntimeSettingGetInput;
pub use runtime_setting_procedure_result_type::RuntimeSettingProcedureResult;
pub use runtime_setting_snapshot_type::RuntimeSettingSnapshot;
pub use runtime_setting_table::*;
pub use runtime_setting_type::RuntimeSetting;
pub use runtime_setting_upsert_input_type::RuntimeSettingUpsertInput;
pub use runtime_snapshot_delete_input_type::RuntimeSnapshotDeleteInput;
pub use runtime_snapshot_get_input_type::RuntimeSnapshotGetInput;
pub use runtime_snapshot_procedure_result_type::RuntimeSnapshotProcedureResult;
pub use runtime_snapshot_row_type::RuntimeSnapshotRow;
pub use runtime_snapshot_table::*;
pub use runtime_snapshot_type::RuntimeSnapshot;
pub use runtime_snapshot_upsert_input_type::RuntimeSnapshotUpsertInput;
pub use runtime_tracking_scope_kind_type::RuntimeTrackingScopeKind;
pub use runtime_tracking_event_procedure_result_type::RuntimeTrackingEventProcedureResult;
pub use save_puzzle_form_draft_procedure::save_puzzle_form_draft;
pub use save_puzzle_generated_images_procedure::save_puzzle_generated_images;
pub use seed_analytics_date_dimensions_reducer::seed_analytics_date_dimensions;
pub use select_puzzle_cover_image_procedure::select_puzzle_cover_image;
pub use square_hole_agent_message_finalize_input_type::SquareHoleAgentMessageFinalizeInput;
pub use square_hole_agent_message_row_type::SquareHoleAgentMessageRow;
pub use square_hole_agent_message_submit_input_type::SquareHoleAgentMessageSubmitInput;
pub use square_hole_agent_message_table::*;
pub use square_hole_agent_session_create_input_type::SquareHoleAgentSessionCreateInput;
pub use square_hole_agent_session_get_input_type::SquareHoleAgentSessionGetInput;
pub use square_hole_agent_session_procedure_result_type::SquareHoleAgentSessionProcedureResult;
pub use square_hole_agent_session_row_type::SquareHoleAgentSessionRow;
pub use square_hole_agent_session_table::*;
pub use square_hole_draft_compile_input_type::SquareHoleDraftCompileInput;
pub use square_hole_drop_shape_procedure_result_type::SquareHoleDropShapeProcedureResult;
pub use square_hole_run_drop_input_type::SquareHoleRunDropInput;
pub use square_hole_run_get_input_type::SquareHoleRunGetInput;
pub use square_hole_run_procedure_result_type::SquareHoleRunProcedureResult;
pub use square_hole_run_restart_input_type::SquareHoleRunRestartInput;
pub use square_hole_run_start_input_type::SquareHoleRunStartInput;
pub use square_hole_run_stop_input_type::SquareHoleRunStopInput;
pub use square_hole_run_time_up_input_type::SquareHoleRunTimeUpInput;
pub use square_hole_runtime_run_row_type::SquareHoleRuntimeRunRow;
pub use square_hole_runtime_run_table::*;
pub use square_hole_work_delete_input_type::SquareHoleWorkDeleteInput;
pub use square_hole_work_get_input_type::SquareHoleWorkGetInput;
pub use square_hole_work_procedure_result_type::SquareHoleWorkProcedureResult;
pub use square_hole_work_profile_row_type::SquareHoleWorkProfileRow;
pub use square_hole_work_profile_table::*;
pub use square_hole_work_publish_input_type::SquareHoleWorkPublishInput;
pub use square_hole_work_update_input_type::SquareHoleWorkUpdateInput;
pub use square_hole_works_list_input_type::SquareHoleWorksListInput;
pub use square_hole_works_procedure_result_type::SquareHoleWorksProcedureResult;
pub use start_ai_task_reducer::start_ai_task;
pub use start_ai_task_stage_reducer::start_ai_task_stage;
pub use start_big_fish_run_procedure::start_big_fish_run;
pub use start_match_3_d_run_procedure::start_match_3_d_run;
pub use start_puzzle_run_procedure::start_puzzle_run;
pub use start_square_hole_run_procedure::start_square_hole_run;
pub use start_visual_novel_run_procedure::start_visual_novel_run;
pub use stop_match_3_d_run_procedure::stop_match_3_d_run;
pub use stop_square_hole_run_procedure::stop_square_hole_run;
pub use story_continue_input_type::StoryContinueInput;
pub use story_event_kind_type::StoryEventKind;
pub use story_event_snapshot_type::StoryEventSnapshot;
pub use story_event_table::*;
pub use story_event_type::StoryEvent;
pub use story_session_input_type::StorySessionInput;
pub use story_session_procedure_result_type::StorySessionProcedureResult;
pub use story_session_snapshot_type::StorySessionSnapshot;
pub use story_session_state_input_type::StorySessionStateInput;
pub use story_session_state_procedure_result_type::StorySessionStateProcedureResult;
pub use story_session_status_type::StorySessionStatus;
pub use story_session_table::*;
pub use story_session_type::StorySession;
pub use submit_big_fish_input_procedure::submit_big_fish_input;
pub use submit_big_fish_message_procedure::submit_big_fish_message;
pub use submit_custom_world_agent_message_procedure::submit_custom_world_agent_message;
pub use submit_match_3_d_agent_message_procedure::submit_match_3_d_agent_message;
pub use submit_puzzle_agent_message_procedure::submit_puzzle_agent_message;
pub use submit_puzzle_leaderboard_entry_procedure::submit_puzzle_leaderboard_entry;
pub use submit_square_hole_agent_message_procedure::submit_square_hole_agent_message;
pub use submit_visual_novel_agent_message_procedure::submit_visual_novel_agent_message;
pub use swap_puzzle_pieces_procedure::swap_puzzle_pieces;
pub use tracking_daily_stat_table::*;
pub use tracking_daily_stat_type::TrackingDailyStat;
pub use tracking_event_table::*;
pub use tracking_event_type::TrackingEvent;
pub use treasure_interaction_action_type::TreasureInteractionAction;
pub use treasure_record_procedure_result_type::TreasureRecordProcedureResult;
pub use treasure_record_snapshot_type::TreasureRecordSnapshot;
pub use treasure_record_table::*;
pub use treasure_record_type::TreasureRecord;
pub use treasure_resolve_input_type::TreasureResolveInput;
pub use turn_in_quest_reducer::turn_in_quest;
pub use unequip_inventory_item_input_type::UnequipInventoryItemInput;
pub use unpublish_custom_world_profile_and_return_procedure::unpublish_custom_world_profile_and_return;
pub use unpublish_custom_world_profile_reducer::unpublish_custom_world_profile;
pub use update_match_3_d_work_procedure::update_match_3_d_work;
pub use update_puzzle_run_pause_procedure::update_puzzle_run_pause;
pub use update_puzzle_work_procedure::update_puzzle_work;
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_chapter_progression_reducer::upsert_chapter_progression;
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;
pub use upsert_npc_state_and_return_procedure::upsert_npc_state_and_return;
pub use upsert_npc_state_reducer::upsert_npc_state;
pub use upsert_platform_browse_history_and_return_procedure::upsert_platform_browse_history_and_return;
pub use upsert_runtime_setting_and_return_procedure::upsert_runtime_setting_and_return;
pub use upsert_runtime_snapshot_and_return_procedure::upsert_runtime_snapshot_and_return;
pub use upsert_visual_novel_run_snapshot_procedure::upsert_visual_novel_run_snapshot;
pub use use_puzzle_runtime_prop_procedure::use_puzzle_runtime_prop;
pub use user_account_table::*;
pub use user_account_type::UserAccount;
pub use user_browse_history_table::*;
pub use user_browse_history_type::UserBrowseHistory;
pub use visual_novel_agent_message_finalize_input_type::VisualNovelAgentMessageFinalizeInput;
pub use visual_novel_agent_message_row_type::VisualNovelAgentMessageRow;
pub use visual_novel_agent_message_submit_input_type::VisualNovelAgentMessageSubmitInput;
pub use visual_novel_agent_message_table::*;
pub use visual_novel_agent_session_create_input_type::VisualNovelAgentSessionCreateInput;
pub use visual_novel_agent_session_get_input_type::VisualNovelAgentSessionGetInput;
pub use visual_novel_agent_session_procedure_result_type::VisualNovelAgentSessionProcedureResult;
pub use visual_novel_agent_session_row_type::VisualNovelAgentSessionRow;
pub use visual_novel_agent_session_table::*;
pub use visual_novel_history_procedure_result_type::VisualNovelHistoryProcedureResult;
pub use visual_novel_run_get_input_type::VisualNovelRunGetInput;
pub use visual_novel_run_procedure_result_type::VisualNovelRunProcedureResult;
pub use visual_novel_run_snapshot_upsert_input_type::VisualNovelRunSnapshotUpsertInput;
pub use visual_novel_run_start_input_type::VisualNovelRunStartInput;
pub use visual_novel_runtime_event_procedure_result_type::VisualNovelRuntimeEventProcedureResult;
pub use visual_novel_runtime_event_record_input_type::VisualNovelRuntimeEventRecordInput;
pub use visual_novel_runtime_event_table::*;
pub use visual_novel_runtime_event_type::VisualNovelRuntimeEvent;
pub use visual_novel_runtime_history_append_input_type::VisualNovelRuntimeHistoryAppendInput;
pub use visual_novel_runtime_history_entry_row_type::VisualNovelRuntimeHistoryEntryRow;
pub use visual_novel_runtime_history_entry_table::*;
pub use visual_novel_runtime_history_list_input_type::VisualNovelRuntimeHistoryListInput;
pub use visual_novel_runtime_run_row_type::VisualNovelRuntimeRunRow;
pub use visual_novel_runtime_run_table::*;
pub use visual_novel_work_compile_input_type::VisualNovelWorkCompileInput;
pub use visual_novel_work_delete_input_type::VisualNovelWorkDeleteInput;
pub use visual_novel_work_get_input_type::VisualNovelWorkGetInput;
pub use visual_novel_work_procedure_result_type::VisualNovelWorkProcedureResult;
pub use visual_novel_work_profile_row_type::VisualNovelWorkProfileRow;
pub use visual_novel_work_profile_table::*;
pub use visual_novel_work_publish_input_type::VisualNovelWorkPublishInput;
pub use visual_novel_work_update_input_type::VisualNovelWorkUpdateInput;
pub use visual_novel_works_list_input_type::VisualNovelWorksListInput;
pub use visual_novel_works_procedure_result_type::VisualNovelWorksProcedureResult;
#[derive(Clone, PartialEq, Debug)]
/// One of the reducers defined by this module.
///
/// Contained within a [`__sdk::ReducerEvent`] in [`EventContext`]s for reducer events
/// to indicate which reducer caused the event.
pub enum Reducer {
AcceptQuest {
input: QuestRecordInput,
},
AcknowledgeQuestCompletion {
input: QuestCompletionAckInput,
},
ApplyChapterProgressionLedgerEntry {
input: ChapterProgressionLedgerInput,
},
ApplyInventoryMutation {
input: InventoryMutationInput,
},
ApplyQuestSignal {
input: QuestSignalApplyInput,
},
BeginStorySession {
input: StorySessionInput,
},
BindAssetObjectToEntity {
input: AssetEntityBindingInput,
},
ConfirmAssetObject {
input: AssetObjectUpsertInput,
},
ContinueStory {
input: StoryContinueInput,
},
CreateAiTask {
input: AiTaskCreateInput,
},
CreateBattleState {
input: BattleStateInput,
},
EnsureAnalyticsDateDimensionForDate {
input: AnalyticsDateDimensionEnsureInput,
},
GrantPlayerProgressionExperience {
input: PlayerProgressionGrantInput,
},
PublishCustomWorldProfile {
input: CustomWorldProfilePublishInput,
},
ResolveCombatAction {
input: ResolveCombatActionInput,
},
ResolveNpcInteraction {
input: ResolveNpcInteractionInput,
},
ResolveNpcSocialAction {
input: ResolveNpcSocialActionInput,
},
ResolveTreasureInteraction {
input: TreasureResolveInput,
},
SeedAnalyticsDateDimensions {
input: AnalyticsDateDimensionSeedInput,
},
StartAiTask {
input: AiTaskStartInput,
},
StartAiTaskStage {
input: AiTaskStageStartInput,
},
TurnInQuest {
input: QuestTurnInInput,
},
UnpublishCustomWorldProfile {
input: CustomWorldProfileUnpublishInput,
},
UpsertChapterProgression {
input: ChapterProgressionInput,
},
UpsertCustomWorldProfile {
input: CustomWorldProfileUpsertInput,
},
UpsertNpcState {
input: NpcStateUpsertInput,
},
}
impl __sdk::InModule for Reducer {
type Module = RemoteModule;
}
impl __sdk::Reducer for Reducer {
fn reducer_name(&self) -> &'static str {
match self {
Reducer::AcceptQuest { .. } => "accept_quest",
Reducer::AcknowledgeQuestCompletion { .. } => "acknowledge_quest_completion",
Reducer::ApplyChapterProgressionLedgerEntry { .. } => {
"apply_chapter_progression_ledger_entry"
}
Reducer::ApplyInventoryMutation { .. } => "apply_inventory_mutation",
Reducer::ApplyQuestSignal { .. } => "apply_quest_signal",
Reducer::BeginStorySession { .. } => "begin_story_session",
Reducer::BindAssetObjectToEntity { .. } => "bind_asset_object_to_entity",
Reducer::ConfirmAssetObject { .. } => "confirm_asset_object",
Reducer::ContinueStory { .. } => "continue_story",
Reducer::CreateAiTask { .. } => "create_ai_task",
Reducer::CreateBattleState { .. } => "create_battle_state",
Reducer::EnsureAnalyticsDateDimensionForDate { .. } => {
"ensure_analytics_date_dimension_for_date"
}
Reducer::GrantPlayerProgressionExperience { .. } => {
"grant_player_progression_experience"
}
Reducer::PublishCustomWorldProfile { .. } => "publish_custom_world_profile",
Reducer::ResolveCombatAction { .. } => "resolve_combat_action",
Reducer::ResolveNpcInteraction { .. } => "resolve_npc_interaction",
Reducer::ResolveNpcSocialAction { .. } => "resolve_npc_social_action",
Reducer::ResolveTreasureInteraction { .. } => "resolve_treasure_interaction",
Reducer::SeedAnalyticsDateDimensions { .. } => "seed_analytics_date_dimensions",
Reducer::StartAiTask { .. } => "start_ai_task",
Reducer::StartAiTaskStage { .. } => "start_ai_task_stage",
Reducer::TurnInQuest { .. } => "turn_in_quest",
Reducer::UnpublishCustomWorldProfile { .. } => "unpublish_custom_world_profile",
Reducer::UpsertChapterProgression { .. } => "upsert_chapter_progression",
Reducer::UpsertCustomWorldProfile { .. } => "upsert_custom_world_profile",
Reducer::UpsertNpcState { .. } => "upsert_npc_state",
_ => unreachable!(),
}
}
#[allow(clippy::clone_on_copy)]
fn args_bsatn(&self) -> Result<Vec<u8>, __sats::bsatn::EncodeError> {
match self {
Reducer::AcceptQuest{
input,
} => __sats::bsatn::to_vec(&accept_quest_reducer::AcceptQuestArgs {
input: input.clone(),
}),
Reducer::AcknowledgeQuestCompletion{
input,
} => __sats::bsatn::to_vec(&acknowledge_quest_completion_reducer::AcknowledgeQuestCompletionArgs {
input: input.clone(),
}),
Reducer::ApplyChapterProgressionLedgerEntry{
input,
} => __sats::bsatn::to_vec(&apply_chapter_progression_ledger_entry_reducer::ApplyChapterProgressionLedgerEntryArgs {
input: input.clone(),
}),
Reducer::ApplyInventoryMutation{
input,
} => __sats::bsatn::to_vec(&apply_inventory_mutation_reducer::ApplyInventoryMutationArgs {
input: input.clone(),
}),
Reducer::ApplyQuestSignal{
input,
} => __sats::bsatn::to_vec(&apply_quest_signal_reducer::ApplyQuestSignalArgs {
input: input.clone(),
}),
Reducer::BeginStorySession{
input,
} => __sats::bsatn::to_vec(&begin_story_session_reducer::BeginStorySessionArgs {
input: input.clone(),
}),
Reducer::BindAssetObjectToEntity{
input,
} => __sats::bsatn::to_vec(&bind_asset_object_to_entity_reducer::BindAssetObjectToEntityArgs {
input: input.clone(),
}),
Reducer::ConfirmAssetObject{
input,
} => __sats::bsatn::to_vec(&confirm_asset_object_reducer::ConfirmAssetObjectArgs {
input: input.clone(),
}),
Reducer::ContinueStory{
input,
} => __sats::bsatn::to_vec(&continue_story_reducer::ContinueStoryArgs {
input: input.clone(),
}),
Reducer::CreateAiTask{
input,
} => __sats::bsatn::to_vec(&create_ai_task_reducer::CreateAiTaskArgs {
input: input.clone(),
}),
Reducer::CreateBattleState{
input,
} => __sats::bsatn::to_vec(&create_battle_state_reducer::CreateBattleStateArgs {
input: input.clone(),
}),
Reducer::EnsureAnalyticsDateDimensionForDate{
input,
} => __sats::bsatn::to_vec(&ensure_analytics_date_dimension_for_date_reducer::EnsureAnalyticsDateDimensionForDateArgs {
input: input.clone(),
}),
Reducer::GrantPlayerProgressionExperience{
input,
} => __sats::bsatn::to_vec(&grant_player_progression_experience_reducer::GrantPlayerProgressionExperienceArgs {
input: input.clone(),
}),
Reducer::PublishCustomWorldProfile{
input,
} => __sats::bsatn::to_vec(&publish_custom_world_profile_reducer::PublishCustomWorldProfileArgs {
input: input.clone(),
}),
Reducer::ResolveCombatAction{
input,
} => __sats::bsatn::to_vec(&resolve_combat_action_reducer::ResolveCombatActionArgs {
input: input.clone(),
}),
Reducer::ResolveNpcInteraction{
input,
} => __sats::bsatn::to_vec(&resolve_npc_interaction_reducer::ResolveNpcInteractionArgs {
input: input.clone(),
}),
Reducer::ResolveNpcSocialAction{
input,
} => __sats::bsatn::to_vec(&resolve_npc_social_action_reducer::ResolveNpcSocialActionArgs {
input: input.clone(),
}),
Reducer::ResolveTreasureInteraction{
input,
} => __sats::bsatn::to_vec(&resolve_treasure_interaction_reducer::ResolveTreasureInteractionArgs {
input: input.clone(),
}),
Reducer::SeedAnalyticsDateDimensions{
input,
} => __sats::bsatn::to_vec(&seed_analytics_date_dimensions_reducer::SeedAnalyticsDateDimensionsArgs {
input: input.clone(),
}),
Reducer::StartAiTask{
input,
} => __sats::bsatn::to_vec(&start_ai_task_reducer::StartAiTaskArgs {
input: input.clone(),
}),
Reducer::StartAiTaskStage{
input,
} => __sats::bsatn::to_vec(&start_ai_task_stage_reducer::StartAiTaskStageArgs {
input: input.clone(),
}),
Reducer::TurnInQuest{
input,
} => __sats::bsatn::to_vec(&turn_in_quest_reducer::TurnInQuestArgs {
input: input.clone(),
}),
Reducer::UnpublishCustomWorldProfile{
input,
} => __sats::bsatn::to_vec(&unpublish_custom_world_profile_reducer::UnpublishCustomWorldProfileArgs {
input: input.clone(),
}),
Reducer::UpsertChapterProgression{
input,
} => __sats::bsatn::to_vec(&upsert_chapter_progression_reducer::UpsertChapterProgressionArgs {
input: input.clone(),
}),
Reducer::UpsertCustomWorldProfile{
input,
} => __sats::bsatn::to_vec(&upsert_custom_world_profile_reducer::UpsertCustomWorldProfileArgs {
input: input.clone(),
}),
Reducer::UpsertNpcState{
input,
} => __sats::bsatn::to_vec(&upsert_npc_state_reducer::UpsertNpcStateArgs {
input: input.clone(),
}),
_ => unreachable!(),
}
}
}
#[derive(Default, Debug)]
#[allow(non_snake_case)]
#[doc(hidden)]
pub struct DbUpdate {
ai_result_reference: __sdk::TableUpdate<AiResultReference>,
ai_task: __sdk::TableUpdate<AiTask>,
ai_task_event: __sdk::TableUpdate<AiTaskEvent>,
ai_task_stage: __sdk::TableUpdate<AiTaskStage>,
ai_text_chunk: __sdk::TableUpdate<AiTextChunk>,
analytics_date_dimension: __sdk::TableUpdate<AnalyticsDateDimension>,
asset_entity_binding: __sdk::TableUpdate<AssetEntityBinding>,
asset_event: __sdk::TableUpdate<AssetEvent>,
asset_object: __sdk::TableUpdate<AssetObject>,
auth_identity: __sdk::TableUpdate<AuthIdentity>,
auth_store_snapshot: __sdk::TableUpdate<AuthStoreSnapshot>,
battle_state: __sdk::TableUpdate<BattleState>,
big_fish_agent_message: __sdk::TableUpdate<BigFishAgentMessage>,
big_fish_asset_slot: __sdk::TableUpdate<BigFishAssetSlot>,
big_fish_creation_session: __sdk::TableUpdate<BigFishCreationSession>,
big_fish_event: __sdk::TableUpdate<BigFishEvent>,
big_fish_runtime_run: __sdk::TableUpdate<BigFishRuntimeRun>,
chapter_progression: __sdk::TableUpdate<ChapterProgression>,
custom_world_agent_message: __sdk::TableUpdate<CustomWorldAgentMessage>,
custom_world_agent_operation: __sdk::TableUpdate<CustomWorldAgentOperation>,
custom_world_agent_session: __sdk::TableUpdate<CustomWorldAgentSession>,
custom_world_draft_card: __sdk::TableUpdate<CustomWorldDraftCard>,
custom_world_gallery_entry: __sdk::TableUpdate<CustomWorldGalleryEntry>,
custom_world_profile: __sdk::TableUpdate<CustomWorldProfile>,
custom_world_session: __sdk::TableUpdate<CustomWorldSession>,
database_migration_import_chunk: __sdk::TableUpdate<DatabaseMigrationImportChunk>,
database_migration_operator: __sdk::TableUpdate<DatabaseMigrationOperator>,
inventory_slot: __sdk::TableUpdate<InventorySlot>,
match_3_d_agent_message: __sdk::TableUpdate<Match3DAgentMessageRow>,
match_3_d_agent_session: __sdk::TableUpdate<Match3DAgentSessionRow>,
match_3_d_runtime_run: __sdk::TableUpdate<Match3DRuntimeRunRow>,
match_3_d_work_profile: __sdk::TableUpdate<Match3DWorkProfileRow>,
npc_state: __sdk::TableUpdate<NpcState>,
player_progression: __sdk::TableUpdate<PlayerProgression>,
profile_dashboard_state: __sdk::TableUpdate<ProfileDashboardState>,
profile_invite_code: __sdk::TableUpdate<ProfileInviteCode>,
profile_membership: __sdk::TableUpdate<ProfileMembership>,
profile_played_world: __sdk::TableUpdate<ProfilePlayedWorld>,
profile_recharge_order: __sdk::TableUpdate<ProfileRechargeOrder>,
profile_redeem_code: __sdk::TableUpdate<ProfileRedeemCode>,
profile_redeem_code_usage: __sdk::TableUpdate<ProfileRedeemCodeUsage>,
profile_referral_relation: __sdk::TableUpdate<ProfileReferralRelation>,
profile_save_archive: __sdk::TableUpdate<ProfileSaveArchive>,
profile_task_config: __sdk::TableUpdate<ProfileTaskConfig>,
profile_task_progress: __sdk::TableUpdate<ProfileTaskProgress>,
profile_task_reward_claim: __sdk::TableUpdate<ProfileTaskRewardClaim>,
profile_wallet_ledger: __sdk::TableUpdate<ProfileWalletLedger>,
public_work_like: __sdk::TableUpdate<PublicWorkLike>,
public_work_play_daily_stat: __sdk::TableUpdate<PublicWorkPlayDailyStat>,
puzzle_agent_message: __sdk::TableUpdate<PuzzleAgentMessageRow>,
puzzle_agent_session: __sdk::TableUpdate<PuzzleAgentSessionRow>,
puzzle_event: __sdk::TableUpdate<PuzzleEvent>,
puzzle_leaderboard_entry: __sdk::TableUpdate<PuzzleLeaderboardEntryRow>,
puzzle_runtime_run: __sdk::TableUpdate<PuzzleRuntimeRunRow>,
puzzle_work_profile: __sdk::TableUpdate<PuzzleWorkProfileRow>,
quest_log: __sdk::TableUpdate<QuestLog>,
quest_record: __sdk::TableUpdate<QuestRecord>,
refresh_session: __sdk::TableUpdate<RefreshSession>,
runtime_setting: __sdk::TableUpdate<RuntimeSetting>,
runtime_snapshot: __sdk::TableUpdate<RuntimeSnapshotRow>,
square_hole_agent_message: __sdk::TableUpdate<SquareHoleAgentMessageRow>,
square_hole_agent_session: __sdk::TableUpdate<SquareHoleAgentSessionRow>,
square_hole_runtime_run: __sdk::TableUpdate<SquareHoleRuntimeRunRow>,
square_hole_work_profile: __sdk::TableUpdate<SquareHoleWorkProfileRow>,
story_event: __sdk::TableUpdate<StoryEvent>,
story_session: __sdk::TableUpdate<StorySession>,
tracking_daily_stat: __sdk::TableUpdate<TrackingDailyStat>,
tracking_event: __sdk::TableUpdate<TrackingEvent>,
treasure_record: __sdk::TableUpdate<TreasureRecord>,
user_account: __sdk::TableUpdate<UserAccount>,
user_browse_history: __sdk::TableUpdate<UserBrowseHistory>,
visual_novel_agent_message: __sdk::TableUpdate<VisualNovelAgentMessageRow>,
visual_novel_agent_session: __sdk::TableUpdate<VisualNovelAgentSessionRow>,
visual_novel_runtime_event: __sdk::TableUpdate<VisualNovelRuntimeEvent>,
visual_novel_runtime_history_entry: __sdk::TableUpdate<VisualNovelRuntimeHistoryEntryRow>,
visual_novel_runtime_run: __sdk::TableUpdate<VisualNovelRuntimeRunRow>,
visual_novel_work_profile: __sdk::TableUpdate<VisualNovelWorkProfileRow>,
}
impl TryFrom<__ws::v2::TransactionUpdate> for DbUpdate {
type Error = __sdk::Error;
fn try_from(raw: __ws::v2::TransactionUpdate) -> Result<Self, Self::Error> {
let mut db_update = DbUpdate::default();
for table_update in __sdk::transaction_update_iter_table_updates(raw) {
match &table_update.table_name[..] {
"ai_result_reference" => db_update
.ai_result_reference
.append(ai_result_reference_table::parse_table_update(table_update)?),
"ai_task" => db_update
.ai_task
.append(ai_task_table::parse_table_update(table_update)?),
"ai_task_event" => db_update
.ai_task_event
.append(ai_task_event_table::parse_table_update(table_update)?),
"ai_task_stage" => db_update
.ai_task_stage
.append(ai_task_stage_table::parse_table_update(table_update)?),
"ai_text_chunk" => db_update
.ai_text_chunk
.append(ai_text_chunk_table::parse_table_update(table_update)?),
"analytics_date_dimension" => db_update.analytics_date_dimension.append(
analytics_date_dimension_table::parse_table_update(table_update)?,
),
"asset_entity_binding" => db_update.asset_entity_binding.append(
asset_entity_binding_table::parse_table_update(table_update)?,
),
"asset_event" => db_update
.asset_event
.append(asset_event_table::parse_table_update(table_update)?),
"asset_object" => db_update
.asset_object
.append(asset_object_table::parse_table_update(table_update)?),
"auth_identity" => db_update
.auth_identity
.append(auth_identity_table::parse_table_update(table_update)?),
"auth_store_snapshot" => db_update
.auth_store_snapshot
.append(auth_store_snapshot_table::parse_table_update(table_update)?),
"battle_state" => db_update
.battle_state
.append(battle_state_table::parse_table_update(table_update)?),
"big_fish_agent_message" => db_update.big_fish_agent_message.append(
big_fish_agent_message_table::parse_table_update(table_update)?,
),
"big_fish_asset_slot" => db_update
.big_fish_asset_slot
.append(big_fish_asset_slot_table::parse_table_update(table_update)?),
"big_fish_creation_session" => db_update.big_fish_creation_session.append(
big_fish_creation_session_table::parse_table_update(table_update)?,
),
"big_fish_event" => db_update
.big_fish_event
.append(big_fish_event_table::parse_table_update(table_update)?),
"big_fish_runtime_run" => db_update.big_fish_runtime_run.append(
big_fish_runtime_run_table::parse_table_update(table_update)?,
),
"chapter_progression" => db_update
.chapter_progression
.append(chapter_progression_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)?,
),
"custom_world_agent_operation" => db_update.custom_world_agent_operation.append(
custom_world_agent_operation_table::parse_table_update(table_update)?,
),
"custom_world_agent_session" => db_update.custom_world_agent_session.append(
custom_world_agent_session_table::parse_table_update(table_update)?,
),
"custom_world_draft_card" => db_update.custom_world_draft_card.append(
custom_world_draft_card_table::parse_table_update(table_update)?,
),
"custom_world_gallery_entry" => db_update.custom_world_gallery_entry.append(
custom_world_gallery_entry_table::parse_table_update(table_update)?,
),
"custom_world_profile" => db_update.custom_world_profile.append(
custom_world_profile_table::parse_table_update(table_update)?,
),
"custom_world_session" => db_update.custom_world_session.append(
custom_world_session_table::parse_table_update(table_update)?,
),
"database_migration_import_chunk" => {
db_update.database_migration_import_chunk.append(
database_migration_import_chunk_table::parse_table_update(table_update)?,
)
}
"database_migration_operator" => db_update.database_migration_operator.append(
database_migration_operator_table::parse_table_update(table_update)?,
),
"inventory_slot" => db_update
.inventory_slot
.append(inventory_slot_table::parse_table_update(table_update)?),
"match_3_d_agent_message" => db_update.match_3_d_agent_message.append(
match_3_d_agent_message_table::parse_table_update(table_update)?,
),
"match_3_d_agent_session" => db_update.match_3_d_agent_session.append(
match_3_d_agent_session_table::parse_table_update(table_update)?,
),
"match_3_d_runtime_run" => db_update.match_3_d_runtime_run.append(
match_3_d_runtime_run_table::parse_table_update(table_update)?,
),
"match_3_d_work_profile" => db_update.match_3_d_work_profile.append(
match_3_d_work_profile_table::parse_table_update(table_update)?,
),
"npc_state" => db_update
.npc_state
.append(npc_state_table::parse_table_update(table_update)?),
"player_progression" => db_update
.player_progression
.append(player_progression_table::parse_table_update(table_update)?),
"profile_dashboard_state" => db_update.profile_dashboard_state.append(
profile_dashboard_state_table::parse_table_update(table_update)?,
),
"profile_invite_code" => db_update
.profile_invite_code
.append(profile_invite_code_table::parse_table_update(table_update)?),
"profile_membership" => db_update
.profile_membership
.append(profile_membership_table::parse_table_update(table_update)?),
"profile_played_world" => db_update.profile_played_world.append(
profile_played_world_table::parse_table_update(table_update)?,
),
"profile_recharge_order" => db_update.profile_recharge_order.append(
profile_recharge_order_table::parse_table_update(table_update)?,
),
"profile_redeem_code" => db_update
.profile_redeem_code
.append(profile_redeem_code_table::parse_table_update(table_update)?),
"profile_redeem_code_usage" => db_update.profile_redeem_code_usage.append(
profile_redeem_code_usage_table::parse_table_update(table_update)?,
),
"profile_referral_relation" => db_update.profile_referral_relation.append(
profile_referral_relation_table::parse_table_update(table_update)?,
),
"profile_save_archive" => db_update.profile_save_archive.append(
profile_save_archive_table::parse_table_update(table_update)?,
),
"profile_task_config" => db_update
.profile_task_config
.append(profile_task_config_table::parse_table_update(table_update)?),
"profile_task_progress" => db_update.profile_task_progress.append(
profile_task_progress_table::parse_table_update(table_update)?,
),
"profile_task_reward_claim" => db_update.profile_task_reward_claim.append(
profile_task_reward_claim_table::parse_table_update(table_update)?,
),
"profile_wallet_ledger" => db_update.profile_wallet_ledger.append(
profile_wallet_ledger_table::parse_table_update(table_update)?,
),
"public_work_like" => db_update
.public_work_like
.append(public_work_like_table::parse_table_update(table_update)?),
"public_work_play_daily_stat" => db_update.public_work_play_daily_stat.append(
public_work_play_daily_stat_table::parse_table_update(table_update)?,
),
"puzzle_agent_message" => db_update.puzzle_agent_message.append(
puzzle_agent_message_table::parse_table_update(table_update)?,
),
"puzzle_agent_session" => db_update.puzzle_agent_session.append(
puzzle_agent_session_table::parse_table_update(table_update)?,
),
"puzzle_event" => db_update
.puzzle_event
.append(puzzle_event_table::parse_table_update(table_update)?),
"puzzle_leaderboard_entry" => db_update.puzzle_leaderboard_entry.append(
puzzle_leaderboard_entry_table::parse_table_update(table_update)?,
),
"puzzle_runtime_run" => db_update
.puzzle_runtime_run
.append(puzzle_runtime_run_table::parse_table_update(table_update)?),
"puzzle_work_profile" => db_update
.puzzle_work_profile
.append(puzzle_work_profile_table::parse_table_update(table_update)?),
"quest_log" => db_update
.quest_log
.append(quest_log_table::parse_table_update(table_update)?),
"quest_record" => db_update
.quest_record
.append(quest_record_table::parse_table_update(table_update)?),
"refresh_session" => db_update
.refresh_session
.append(refresh_session_table::parse_table_update(table_update)?),
"runtime_setting" => db_update
.runtime_setting
.append(runtime_setting_table::parse_table_update(table_update)?),
"runtime_snapshot" => db_update
.runtime_snapshot
.append(runtime_snapshot_table::parse_table_update(table_update)?),
"square_hole_agent_message" => db_update.square_hole_agent_message.append(
square_hole_agent_message_table::parse_table_update(table_update)?,
),
"square_hole_agent_session" => db_update.square_hole_agent_session.append(
square_hole_agent_session_table::parse_table_update(table_update)?,
),
"square_hole_runtime_run" => db_update.square_hole_runtime_run.append(
square_hole_runtime_run_table::parse_table_update(table_update)?,
),
"square_hole_work_profile" => db_update.square_hole_work_profile.append(
square_hole_work_profile_table::parse_table_update(table_update)?,
),
"story_event" => db_update
.story_event
.append(story_event_table::parse_table_update(table_update)?),
"story_session" => db_update
.story_session
.append(story_session_table::parse_table_update(table_update)?),
"tracking_daily_stat" => db_update
.tracking_daily_stat
.append(tracking_daily_stat_table::parse_table_update(table_update)?),
"tracking_event" => db_update
.tracking_event
.append(tracking_event_table::parse_table_update(table_update)?),
"treasure_record" => db_update
.treasure_record
.append(treasure_record_table::parse_table_update(table_update)?),
"user_account" => db_update
.user_account
.append(user_account_table::parse_table_update(table_update)?),
"user_browse_history" => db_update
.user_browse_history
.append(user_browse_history_table::parse_table_update(table_update)?),
"visual_novel_agent_message" => db_update.visual_novel_agent_message.append(
visual_novel_agent_message_table::parse_table_update(table_update)?,
),
"visual_novel_agent_session" => db_update.visual_novel_agent_session.append(
visual_novel_agent_session_table::parse_table_update(table_update)?,
),
"visual_novel_runtime_event" => db_update.visual_novel_runtime_event.append(
visual_novel_runtime_event_table::parse_table_update(table_update)?,
),
"visual_novel_runtime_history_entry" => {
db_update.visual_novel_runtime_history_entry.append(
visual_novel_runtime_history_entry_table::parse_table_update(table_update)?,
)
}
"visual_novel_runtime_run" => db_update.visual_novel_runtime_run.append(
visual_novel_runtime_run_table::parse_table_update(table_update)?,
),
"visual_novel_work_profile" => db_update.visual_novel_work_profile.append(
visual_novel_work_profile_table::parse_table_update(table_update)?,
),
unknown => {
return Err(__sdk::InternalError::unknown_name(
"table",
unknown,
"DatabaseUpdate",
)
.into());
}
}
}
Ok(db_update)
}
}
impl __sdk::InModule for DbUpdate {
type Module = RemoteModule;
}
impl __sdk::DbUpdate for DbUpdate {
fn apply_to_client_cache(
&self,
cache: &mut __sdk::ClientCache<RemoteModule>,
) -> AppliedDiff<'_> {
let mut diff = AppliedDiff::default();
diff.ai_result_reference = cache
.apply_diff_to_table::<AiResultReference>(
"ai_result_reference",
&self.ai_result_reference,
)
.with_updates_by_pk(|row| &row.result_reference_row_id);
diff.ai_task = cache
.apply_diff_to_table::<AiTask>("ai_task", &self.ai_task)
.with_updates_by_pk(|row| &row.task_id);
diff.ai_task_event = self.ai_task_event.into_event_diff();
diff.ai_task_stage = cache
.apply_diff_to_table::<AiTaskStage>("ai_task_stage", &self.ai_task_stage)
.with_updates_by_pk(|row| &row.task_stage_id);
diff.ai_text_chunk = cache
.apply_diff_to_table::<AiTextChunk>("ai_text_chunk", &self.ai_text_chunk)
.with_updates_by_pk(|row| &row.text_chunk_row_id);
diff.analytics_date_dimension = cache
.apply_diff_to_table::<AnalyticsDateDimension>(
"analytics_date_dimension",
&self.analytics_date_dimension,
)
.with_updates_by_pk(|row| &row.date_key);
diff.asset_entity_binding = cache
.apply_diff_to_table::<AssetEntityBinding>(
"asset_entity_binding",
&self.asset_entity_binding,
)
.with_updates_by_pk(|row| &row.binding_id);
diff.asset_event = self.asset_event.into_event_diff();
diff.asset_object = cache
.apply_diff_to_table::<AssetObject>("asset_object", &self.asset_object)
.with_updates_by_pk(|row| &row.asset_object_id);
diff.auth_identity = cache
.apply_diff_to_table::<AuthIdentity>("auth_identity", &self.auth_identity)
.with_updates_by_pk(|row| &row.identity_id);
diff.auth_store_snapshot = cache
.apply_diff_to_table::<AuthStoreSnapshot>(
"auth_store_snapshot",
&self.auth_store_snapshot,
)
.with_updates_by_pk(|row| &row.snapshot_id);
diff.battle_state = cache
.apply_diff_to_table::<BattleState>("battle_state", &self.battle_state)
.with_updates_by_pk(|row| &row.battle_state_id);
diff.big_fish_agent_message = cache
.apply_diff_to_table::<BigFishAgentMessage>(
"big_fish_agent_message",
&self.big_fish_agent_message,
)
.with_updates_by_pk(|row| &row.message_id);
diff.big_fish_asset_slot = cache
.apply_diff_to_table::<BigFishAssetSlot>(
"big_fish_asset_slot",
&self.big_fish_asset_slot,
)
.with_updates_by_pk(|row| &row.slot_id);
diff.big_fish_creation_session = cache
.apply_diff_to_table::<BigFishCreationSession>(
"big_fish_creation_session",
&self.big_fish_creation_session,
)
.with_updates_by_pk(|row| &row.session_id);
diff.big_fish_event = self.big_fish_event.into_event_diff();
diff.big_fish_runtime_run = cache
.apply_diff_to_table::<BigFishRuntimeRun>(
"big_fish_runtime_run",
&self.big_fish_runtime_run,
)
.with_updates_by_pk(|row| &row.run_id);
diff.chapter_progression = cache
.apply_diff_to_table::<ChapterProgression>(
"chapter_progression",
&self.chapter_progression,
)
.with_updates_by_pk(|row| &row.chapter_progression_id);
diff.custom_world_agent_message = cache
.apply_diff_to_table::<CustomWorldAgentMessage>(
"custom_world_agent_message",
&self.custom_world_agent_message,
)
.with_updates_by_pk(|row| &row.message_id);
diff.custom_world_agent_operation = cache
.apply_diff_to_table::<CustomWorldAgentOperation>(
"custom_world_agent_operation",
&self.custom_world_agent_operation,
)
.with_updates_by_pk(|row| &row.operation_id);
diff.custom_world_agent_session = cache
.apply_diff_to_table::<CustomWorldAgentSession>(
"custom_world_agent_session",
&self.custom_world_agent_session,
)
.with_updates_by_pk(|row| &row.session_id);
diff.custom_world_draft_card = cache
.apply_diff_to_table::<CustomWorldDraftCard>(
"custom_world_draft_card",
&self.custom_world_draft_card,
)
.with_updates_by_pk(|row| &row.card_id);
diff.custom_world_gallery_entry = cache
.apply_diff_to_table::<CustomWorldGalleryEntry>(
"custom_world_gallery_entry",
&self.custom_world_gallery_entry,
)
.with_updates_by_pk(|row| &row.profile_id);
diff.custom_world_profile = cache
.apply_diff_to_table::<CustomWorldProfile>(
"custom_world_profile",
&self.custom_world_profile,
)
.with_updates_by_pk(|row| &row.profile_id);
diff.custom_world_session = cache
.apply_diff_to_table::<CustomWorldSession>(
"custom_world_session",
&self.custom_world_session,
)
.with_updates_by_pk(|row| &row.session_id);
diff.database_migration_import_chunk = cache
.apply_diff_to_table::<DatabaseMigrationImportChunk>(
"database_migration_import_chunk",
&self.database_migration_import_chunk,
)
.with_updates_by_pk(|row| &row.chunk_key);
diff.database_migration_operator = cache
.apply_diff_to_table::<DatabaseMigrationOperator>(
"database_migration_operator",
&self.database_migration_operator,
)
.with_updates_by_pk(|row| &row.operator_identity);
diff.inventory_slot = cache
.apply_diff_to_table::<InventorySlot>("inventory_slot", &self.inventory_slot)
.with_updates_by_pk(|row| &row.slot_id);
diff.match_3_d_agent_message = cache
.apply_diff_to_table::<Match3DAgentMessageRow>(
"match_3_d_agent_message",
&self.match_3_d_agent_message,
)
.with_updates_by_pk(|row| &row.message_id);
diff.match_3_d_agent_session = cache
.apply_diff_to_table::<Match3DAgentSessionRow>(
"match_3_d_agent_session",
&self.match_3_d_agent_session,
)
.with_updates_by_pk(|row| &row.session_id);
diff.match_3_d_runtime_run = cache
.apply_diff_to_table::<Match3DRuntimeRunRow>(
"match_3_d_runtime_run",
&self.match_3_d_runtime_run,
)
.with_updates_by_pk(|row| &row.run_id);
diff.match_3_d_work_profile = cache
.apply_diff_to_table::<Match3DWorkProfileRow>(
"match_3_d_work_profile",
&self.match_3_d_work_profile,
)
.with_updates_by_pk(|row| &row.profile_id);
diff.npc_state = cache
.apply_diff_to_table::<NpcState>("npc_state", &self.npc_state)
.with_updates_by_pk(|row| &row.npc_state_id);
diff.player_progression = cache
.apply_diff_to_table::<PlayerProgression>(
"player_progression",
&self.player_progression,
)
.with_updates_by_pk(|row| &row.user_id);
diff.profile_dashboard_state = cache
.apply_diff_to_table::<ProfileDashboardState>(
"profile_dashboard_state",
&self.profile_dashboard_state,
)
.with_updates_by_pk(|row| &row.user_id);
diff.profile_invite_code = cache
.apply_diff_to_table::<ProfileInviteCode>(
"profile_invite_code",
&self.profile_invite_code,
)
.with_updates_by_pk(|row| &row.user_id);
diff.profile_membership = cache
.apply_diff_to_table::<ProfileMembership>(
"profile_membership",
&self.profile_membership,
)
.with_updates_by_pk(|row| &row.user_id);
diff.profile_played_world = cache
.apply_diff_to_table::<ProfilePlayedWorld>(
"profile_played_world",
&self.profile_played_world,
)
.with_updates_by_pk(|row| &row.played_world_id);
diff.profile_recharge_order = cache
.apply_diff_to_table::<ProfileRechargeOrder>(
"profile_recharge_order",
&self.profile_recharge_order,
)
.with_updates_by_pk(|row| &row.order_id);
diff.profile_redeem_code = cache
.apply_diff_to_table::<ProfileRedeemCode>(
"profile_redeem_code",
&self.profile_redeem_code,
)
.with_updates_by_pk(|row| &row.code);
diff.profile_redeem_code_usage = cache
.apply_diff_to_table::<ProfileRedeemCodeUsage>(
"profile_redeem_code_usage",
&self.profile_redeem_code_usage,
)
.with_updates_by_pk(|row| &row.usage_id);
diff.profile_referral_relation = cache
.apply_diff_to_table::<ProfileReferralRelation>(
"profile_referral_relation",
&self.profile_referral_relation,
)
.with_updates_by_pk(|row| &row.invitee_user_id);
diff.profile_save_archive = cache
.apply_diff_to_table::<ProfileSaveArchive>(
"profile_save_archive",
&self.profile_save_archive,
)
.with_updates_by_pk(|row| &row.archive_id);
diff.profile_task_config = cache
.apply_diff_to_table::<ProfileTaskConfig>(
"profile_task_config",
&self.profile_task_config,
)
.with_updates_by_pk(|row| &row.task_id);
diff.profile_task_progress = cache
.apply_diff_to_table::<ProfileTaskProgress>(
"profile_task_progress",
&self.profile_task_progress,
)
.with_updates_by_pk(|row| &row.progress_id);
diff.profile_task_reward_claim = cache
.apply_diff_to_table::<ProfileTaskRewardClaim>(
"profile_task_reward_claim",
&self.profile_task_reward_claim,
)
.with_updates_by_pk(|row| &row.claim_id);
diff.profile_wallet_ledger = cache
.apply_diff_to_table::<ProfileWalletLedger>(
"profile_wallet_ledger",
&self.profile_wallet_ledger,
)
.with_updates_by_pk(|row| &row.wallet_ledger_id);
diff.public_work_like = cache
.apply_diff_to_table::<PublicWorkLike>("public_work_like", &self.public_work_like)
.with_updates_by_pk(|row| &row.like_id);
diff.public_work_play_daily_stat = cache
.apply_diff_to_table::<PublicWorkPlayDailyStat>(
"public_work_play_daily_stat",
&self.public_work_play_daily_stat,
)
.with_updates_by_pk(|row| &row.stat_id);
diff.puzzle_agent_message = cache
.apply_diff_to_table::<PuzzleAgentMessageRow>(
"puzzle_agent_message",
&self.puzzle_agent_message,
)
.with_updates_by_pk(|row| &row.message_id);
diff.puzzle_agent_session = cache
.apply_diff_to_table::<PuzzleAgentSessionRow>(
"puzzle_agent_session",
&self.puzzle_agent_session,
)
.with_updates_by_pk(|row| &row.session_id);
diff.puzzle_event = self.puzzle_event.into_event_diff();
diff.puzzle_leaderboard_entry = cache
.apply_diff_to_table::<PuzzleLeaderboardEntryRow>(
"puzzle_leaderboard_entry",
&self.puzzle_leaderboard_entry,
)
.with_updates_by_pk(|row| &row.entry_id);
diff.puzzle_runtime_run = cache
.apply_diff_to_table::<PuzzleRuntimeRunRow>(
"puzzle_runtime_run",
&self.puzzle_runtime_run,
)
.with_updates_by_pk(|row| &row.run_id);
diff.puzzle_work_profile = cache
.apply_diff_to_table::<PuzzleWorkProfileRow>(
"puzzle_work_profile",
&self.puzzle_work_profile,
)
.with_updates_by_pk(|row| &row.profile_id);
diff.quest_log = cache
.apply_diff_to_table::<QuestLog>("quest_log", &self.quest_log)
.with_updates_by_pk(|row| &row.log_id);
diff.quest_record = cache
.apply_diff_to_table::<QuestRecord>("quest_record", &self.quest_record)
.with_updates_by_pk(|row| &row.quest_id);
diff.refresh_session = cache
.apply_diff_to_table::<RefreshSession>("refresh_session", &self.refresh_session)
.with_updates_by_pk(|row| &row.session_id);
diff.runtime_setting = cache
.apply_diff_to_table::<RuntimeSetting>("runtime_setting", &self.runtime_setting)
.with_updates_by_pk(|row| &row.user_id);
diff.runtime_snapshot = cache
.apply_diff_to_table::<RuntimeSnapshotRow>("runtime_snapshot", &self.runtime_snapshot)
.with_updates_by_pk(|row| &row.user_id);
diff.square_hole_agent_message = cache
.apply_diff_to_table::<SquareHoleAgentMessageRow>(
"square_hole_agent_message",
&self.square_hole_agent_message,
)
.with_updates_by_pk(|row| &row.message_id);
diff.square_hole_agent_session = cache
.apply_diff_to_table::<SquareHoleAgentSessionRow>(
"square_hole_agent_session",
&self.square_hole_agent_session,
)
.with_updates_by_pk(|row| &row.session_id);
diff.square_hole_runtime_run = cache
.apply_diff_to_table::<SquareHoleRuntimeRunRow>(
"square_hole_runtime_run",
&self.square_hole_runtime_run,
)
.with_updates_by_pk(|row| &row.run_id);
diff.square_hole_work_profile = cache
.apply_diff_to_table::<SquareHoleWorkProfileRow>(
"square_hole_work_profile",
&self.square_hole_work_profile,
)
.with_updates_by_pk(|row| &row.profile_id);
diff.story_event = cache
.apply_diff_to_table::<StoryEvent>("story_event", &self.story_event)
.with_updates_by_pk(|row| &row.event_id);
diff.story_session = cache
.apply_diff_to_table::<StorySession>("story_session", &self.story_session)
.with_updates_by_pk(|row| &row.story_session_id);
diff.tracking_daily_stat = cache
.apply_diff_to_table::<TrackingDailyStat>(
"tracking_daily_stat",
&self.tracking_daily_stat,
)
.with_updates_by_pk(|row| &row.stat_id);
diff.tracking_event = cache
.apply_diff_to_table::<TrackingEvent>("tracking_event", &self.tracking_event)
.with_updates_by_pk(|row| &row.event_id);
diff.treasure_record = cache
.apply_diff_to_table::<TreasureRecord>("treasure_record", &self.treasure_record)
.with_updates_by_pk(|row| &row.treasure_record_id);
diff.user_account = cache
.apply_diff_to_table::<UserAccount>("user_account", &self.user_account)
.with_updates_by_pk(|row| &row.user_id);
diff.user_browse_history = cache
.apply_diff_to_table::<UserBrowseHistory>(
"user_browse_history",
&self.user_browse_history,
)
.with_updates_by_pk(|row| &row.browse_history_id);
diff.visual_novel_agent_message = cache
.apply_diff_to_table::<VisualNovelAgentMessageRow>(
"visual_novel_agent_message",
&self.visual_novel_agent_message,
)
.with_updates_by_pk(|row| &row.message_id);
diff.visual_novel_agent_session = cache
.apply_diff_to_table::<VisualNovelAgentSessionRow>(
"visual_novel_agent_session",
&self.visual_novel_agent_session,
)
.with_updates_by_pk(|row| &row.session_id);
diff.visual_novel_runtime_event = self.visual_novel_runtime_event.into_event_diff();
diff.visual_novel_runtime_history_entry = cache
.apply_diff_to_table::<VisualNovelRuntimeHistoryEntryRow>(
"visual_novel_runtime_history_entry",
&self.visual_novel_runtime_history_entry,
)
.with_updates_by_pk(|row| &row.entry_id);
diff.visual_novel_runtime_run = cache
.apply_diff_to_table::<VisualNovelRuntimeRunRow>(
"visual_novel_runtime_run",
&self.visual_novel_runtime_run,
)
.with_updates_by_pk(|row| &row.run_id);
diff.visual_novel_work_profile = cache
.apply_diff_to_table::<VisualNovelWorkProfileRow>(
"visual_novel_work_profile",
&self.visual_novel_work_profile,
)
.with_updates_by_pk(|row| &row.profile_id);
diff
}
fn parse_initial_rows(raw: __ws::v2::QueryRows) -> __sdk::Result<Self> {
let mut db_update = DbUpdate::default();
for table_rows in raw.tables {
match &table_rows.table[..] {
"ai_result_reference" => db_update
.ai_result_reference
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"ai_task" => db_update
.ai_task
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"ai_task_event" => db_update
.ai_task_event
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"ai_task_stage" => db_update
.ai_task_stage
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"ai_text_chunk" => db_update
.ai_text_chunk
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"analytics_date_dimension" => db_update
.analytics_date_dimension
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"asset_entity_binding" => db_update
.asset_entity_binding
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"asset_event" => db_update
.asset_event
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"asset_object" => db_update
.asset_object
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"auth_identity" => db_update
.auth_identity
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"auth_store_snapshot" => db_update
.auth_store_snapshot
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"battle_state" => db_update
.battle_state
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"big_fish_agent_message" => db_update
.big_fish_agent_message
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"big_fish_asset_slot" => db_update
.big_fish_asset_slot
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"big_fish_creation_session" => db_update
.big_fish_creation_session
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"big_fish_event" => db_update
.big_fish_event
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"big_fish_runtime_run" => db_update
.big_fish_runtime_run
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"chapter_progression" => db_update
.chapter_progression
.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)?),
"custom_world_agent_operation" => db_update
.custom_world_agent_operation
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"custom_world_agent_session" => db_update
.custom_world_agent_session
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"custom_world_draft_card" => db_update
.custom_world_draft_card
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"custom_world_gallery_entry" => db_update
.custom_world_gallery_entry
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"custom_world_profile" => db_update
.custom_world_profile
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"custom_world_session" => db_update
.custom_world_session
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"database_migration_import_chunk" => db_update
.database_migration_import_chunk
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"database_migration_operator" => db_update
.database_migration_operator
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"inventory_slot" => db_update
.inventory_slot
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"match_3_d_agent_message" => db_update
.match_3_d_agent_message
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"match_3_d_agent_session" => db_update
.match_3_d_agent_session
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"match_3_d_runtime_run" => db_update
.match_3_d_runtime_run
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"match_3_d_work_profile" => db_update
.match_3_d_work_profile
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"npc_state" => db_update
.npc_state
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"player_progression" => db_update
.player_progression
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"profile_dashboard_state" => db_update
.profile_dashboard_state
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"profile_invite_code" => db_update
.profile_invite_code
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"profile_membership" => db_update
.profile_membership
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"profile_played_world" => db_update
.profile_played_world
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"profile_recharge_order" => db_update
.profile_recharge_order
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"profile_redeem_code" => db_update
.profile_redeem_code
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"profile_redeem_code_usage" => db_update
.profile_redeem_code_usage
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"profile_referral_relation" => db_update
.profile_referral_relation
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"profile_save_archive" => db_update
.profile_save_archive
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"profile_task_config" => db_update
.profile_task_config
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"profile_task_progress" => db_update
.profile_task_progress
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"profile_task_reward_claim" => db_update
.profile_task_reward_claim
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"profile_wallet_ledger" => db_update
.profile_wallet_ledger
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"public_work_like" => db_update
.public_work_like
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"public_work_play_daily_stat" => db_update
.public_work_play_daily_stat
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"puzzle_agent_message" => db_update
.puzzle_agent_message
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"puzzle_agent_session" => db_update
.puzzle_agent_session
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"puzzle_event" => db_update
.puzzle_event
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"puzzle_leaderboard_entry" => db_update
.puzzle_leaderboard_entry
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"puzzle_runtime_run" => db_update
.puzzle_runtime_run
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"puzzle_work_profile" => db_update
.puzzle_work_profile
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"quest_log" => db_update
.quest_log
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"quest_record" => db_update
.quest_record
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"refresh_session" => db_update
.refresh_session
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"runtime_setting" => db_update
.runtime_setting
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"runtime_snapshot" => db_update
.runtime_snapshot
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"square_hole_agent_message" => db_update
.square_hole_agent_message
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"square_hole_agent_session" => db_update
.square_hole_agent_session
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"square_hole_runtime_run" => db_update
.square_hole_runtime_run
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"square_hole_work_profile" => db_update
.square_hole_work_profile
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"story_event" => db_update
.story_event
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"story_session" => db_update
.story_session
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"tracking_daily_stat" => db_update
.tracking_daily_stat
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"tracking_event" => db_update
.tracking_event
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"treasure_record" => db_update
.treasure_record
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"user_account" => db_update
.user_account
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"user_browse_history" => db_update
.user_browse_history
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"visual_novel_agent_message" => db_update
.visual_novel_agent_message
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"visual_novel_agent_session" => db_update
.visual_novel_agent_session
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"visual_novel_runtime_event" => db_update
.visual_novel_runtime_event
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"visual_novel_runtime_history_entry" => db_update
.visual_novel_runtime_history_entry
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"visual_novel_runtime_run" => db_update
.visual_novel_runtime_run
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
"visual_novel_work_profile" => db_update
.visual_novel_work_profile
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
unknown => {
return Err(
__sdk::InternalError::unknown_name("table", unknown, "QueryRows").into(),
);
}
}
}
Ok(db_update)
}
fn parse_unsubscribe_rows(raw: __ws::v2::QueryRows) -> __sdk::Result<Self> {
let mut db_update = DbUpdate::default();
for table_rows in raw.tables {
match &table_rows.table[..] {
"ai_result_reference" => db_update
.ai_result_reference
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"ai_task" => db_update
.ai_task
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"ai_task_event" => db_update
.ai_task_event
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"ai_task_stage" => db_update
.ai_task_stage
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"ai_text_chunk" => db_update
.ai_text_chunk
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"analytics_date_dimension" => db_update
.analytics_date_dimension
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"asset_entity_binding" => db_update
.asset_entity_binding
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"asset_event" => db_update
.asset_event
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"asset_object" => db_update
.asset_object
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"auth_identity" => db_update
.auth_identity
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"auth_store_snapshot" => db_update
.auth_store_snapshot
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"battle_state" => db_update
.battle_state
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"big_fish_agent_message" => db_update
.big_fish_agent_message
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"big_fish_asset_slot" => db_update
.big_fish_asset_slot
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"big_fish_creation_session" => db_update
.big_fish_creation_session
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"big_fish_event" => db_update
.big_fish_event
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"big_fish_runtime_run" => db_update
.big_fish_runtime_run
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"chapter_progression" => db_update
.chapter_progression
.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)?),
"custom_world_agent_operation" => db_update
.custom_world_agent_operation
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"custom_world_agent_session" => db_update
.custom_world_agent_session
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"custom_world_draft_card" => db_update
.custom_world_draft_card
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"custom_world_gallery_entry" => db_update
.custom_world_gallery_entry
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"custom_world_profile" => db_update
.custom_world_profile
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"custom_world_session" => db_update
.custom_world_session
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"database_migration_import_chunk" => db_update
.database_migration_import_chunk
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"database_migration_operator" => db_update
.database_migration_operator
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"inventory_slot" => db_update
.inventory_slot
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"match_3_d_agent_message" => db_update
.match_3_d_agent_message
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"match_3_d_agent_session" => db_update
.match_3_d_agent_session
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"match_3_d_runtime_run" => db_update
.match_3_d_runtime_run
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"match_3_d_work_profile" => db_update
.match_3_d_work_profile
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"npc_state" => db_update
.npc_state
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"player_progression" => db_update
.player_progression
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"profile_dashboard_state" => db_update
.profile_dashboard_state
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"profile_invite_code" => db_update
.profile_invite_code
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"profile_membership" => db_update
.profile_membership
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"profile_played_world" => db_update
.profile_played_world
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"profile_recharge_order" => db_update
.profile_recharge_order
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"profile_redeem_code" => db_update
.profile_redeem_code
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"profile_redeem_code_usage" => db_update
.profile_redeem_code_usage
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"profile_referral_relation" => db_update
.profile_referral_relation
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"profile_save_archive" => db_update
.profile_save_archive
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"profile_task_config" => db_update
.profile_task_config
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"profile_task_progress" => db_update
.profile_task_progress
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"profile_task_reward_claim" => db_update
.profile_task_reward_claim
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"profile_wallet_ledger" => db_update
.profile_wallet_ledger
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"public_work_like" => db_update
.public_work_like
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"public_work_play_daily_stat" => db_update
.public_work_play_daily_stat
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"puzzle_agent_message" => db_update
.puzzle_agent_message
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"puzzle_agent_session" => db_update
.puzzle_agent_session
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"puzzle_event" => db_update
.puzzle_event
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"puzzle_leaderboard_entry" => db_update
.puzzle_leaderboard_entry
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"puzzle_runtime_run" => db_update
.puzzle_runtime_run
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"puzzle_work_profile" => db_update
.puzzle_work_profile
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"quest_log" => db_update
.quest_log
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"quest_record" => db_update
.quest_record
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"refresh_session" => db_update
.refresh_session
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"runtime_setting" => db_update
.runtime_setting
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"runtime_snapshot" => db_update
.runtime_snapshot
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"square_hole_agent_message" => db_update
.square_hole_agent_message
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"square_hole_agent_session" => db_update
.square_hole_agent_session
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"square_hole_runtime_run" => db_update
.square_hole_runtime_run
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"square_hole_work_profile" => db_update
.square_hole_work_profile
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"story_event" => db_update
.story_event
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"story_session" => db_update
.story_session
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"tracking_daily_stat" => db_update
.tracking_daily_stat
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"tracking_event" => db_update
.tracking_event
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"treasure_record" => db_update
.treasure_record
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"user_account" => db_update
.user_account
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"user_browse_history" => db_update
.user_browse_history
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"visual_novel_agent_message" => db_update
.visual_novel_agent_message
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"visual_novel_agent_session" => db_update
.visual_novel_agent_session
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"visual_novel_runtime_event" => db_update
.visual_novel_runtime_event
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"visual_novel_runtime_history_entry" => db_update
.visual_novel_runtime_history_entry
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"visual_novel_runtime_run" => db_update
.visual_novel_runtime_run
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
"visual_novel_work_profile" => db_update
.visual_novel_work_profile
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
unknown => {
return Err(
__sdk::InternalError::unknown_name("table", unknown, "QueryRows").into(),
);
}
}
}
Ok(db_update)
}
}
#[derive(Default)]
#[allow(non_snake_case)]
#[doc(hidden)]
pub struct AppliedDiff<'r> {
ai_result_reference: __sdk::TableAppliedDiff<'r, AiResultReference>,
ai_task: __sdk::TableAppliedDiff<'r, AiTask>,
ai_task_event: __sdk::TableAppliedDiff<'r, AiTaskEvent>,
ai_task_stage: __sdk::TableAppliedDiff<'r, AiTaskStage>,
ai_text_chunk: __sdk::TableAppliedDiff<'r, AiTextChunk>,
analytics_date_dimension: __sdk::TableAppliedDiff<'r, AnalyticsDateDimension>,
asset_entity_binding: __sdk::TableAppliedDiff<'r, AssetEntityBinding>,
asset_event: __sdk::TableAppliedDiff<'r, AssetEvent>,
asset_object: __sdk::TableAppliedDiff<'r, AssetObject>,
auth_identity: __sdk::TableAppliedDiff<'r, AuthIdentity>,
auth_store_snapshot: __sdk::TableAppliedDiff<'r, AuthStoreSnapshot>,
battle_state: __sdk::TableAppliedDiff<'r, BattleState>,
big_fish_agent_message: __sdk::TableAppliedDiff<'r, BigFishAgentMessage>,
big_fish_asset_slot: __sdk::TableAppliedDiff<'r, BigFishAssetSlot>,
big_fish_creation_session: __sdk::TableAppliedDiff<'r, BigFishCreationSession>,
big_fish_event: __sdk::TableAppliedDiff<'r, BigFishEvent>,
big_fish_runtime_run: __sdk::TableAppliedDiff<'r, BigFishRuntimeRun>,
chapter_progression: __sdk::TableAppliedDiff<'r, ChapterProgression>,
custom_world_agent_message: __sdk::TableAppliedDiff<'r, CustomWorldAgentMessage>,
custom_world_agent_operation: __sdk::TableAppliedDiff<'r, CustomWorldAgentOperation>,
custom_world_agent_session: __sdk::TableAppliedDiff<'r, CustomWorldAgentSession>,
custom_world_draft_card: __sdk::TableAppliedDiff<'r, CustomWorldDraftCard>,
custom_world_gallery_entry: __sdk::TableAppliedDiff<'r, CustomWorldGalleryEntry>,
custom_world_profile: __sdk::TableAppliedDiff<'r, CustomWorldProfile>,
custom_world_session: __sdk::TableAppliedDiff<'r, CustomWorldSession>,
database_migration_import_chunk: __sdk::TableAppliedDiff<'r, DatabaseMigrationImportChunk>,
database_migration_operator: __sdk::TableAppliedDiff<'r, DatabaseMigrationOperator>,
inventory_slot: __sdk::TableAppliedDiff<'r, InventorySlot>,
match_3_d_agent_message: __sdk::TableAppliedDiff<'r, Match3DAgentMessageRow>,
match_3_d_agent_session: __sdk::TableAppliedDiff<'r, Match3DAgentSessionRow>,
match_3_d_runtime_run: __sdk::TableAppliedDiff<'r, Match3DRuntimeRunRow>,
match_3_d_work_profile: __sdk::TableAppliedDiff<'r, Match3DWorkProfileRow>,
npc_state: __sdk::TableAppliedDiff<'r, NpcState>,
player_progression: __sdk::TableAppliedDiff<'r, PlayerProgression>,
profile_dashboard_state: __sdk::TableAppliedDiff<'r, ProfileDashboardState>,
profile_invite_code: __sdk::TableAppliedDiff<'r, ProfileInviteCode>,
profile_membership: __sdk::TableAppliedDiff<'r, ProfileMembership>,
profile_played_world: __sdk::TableAppliedDiff<'r, ProfilePlayedWorld>,
profile_recharge_order: __sdk::TableAppliedDiff<'r, ProfileRechargeOrder>,
profile_redeem_code: __sdk::TableAppliedDiff<'r, ProfileRedeemCode>,
profile_redeem_code_usage: __sdk::TableAppliedDiff<'r, ProfileRedeemCodeUsage>,
profile_referral_relation: __sdk::TableAppliedDiff<'r, ProfileReferralRelation>,
profile_save_archive: __sdk::TableAppliedDiff<'r, ProfileSaveArchive>,
profile_task_config: __sdk::TableAppliedDiff<'r, ProfileTaskConfig>,
profile_task_progress: __sdk::TableAppliedDiff<'r, ProfileTaskProgress>,
profile_task_reward_claim: __sdk::TableAppliedDiff<'r, ProfileTaskRewardClaim>,
profile_wallet_ledger: __sdk::TableAppliedDiff<'r, ProfileWalletLedger>,
public_work_like: __sdk::TableAppliedDiff<'r, PublicWorkLike>,
public_work_play_daily_stat: __sdk::TableAppliedDiff<'r, PublicWorkPlayDailyStat>,
puzzle_agent_message: __sdk::TableAppliedDiff<'r, PuzzleAgentMessageRow>,
puzzle_agent_session: __sdk::TableAppliedDiff<'r, PuzzleAgentSessionRow>,
puzzle_event: __sdk::TableAppliedDiff<'r, PuzzleEvent>,
puzzle_leaderboard_entry: __sdk::TableAppliedDiff<'r, PuzzleLeaderboardEntryRow>,
puzzle_runtime_run: __sdk::TableAppliedDiff<'r, PuzzleRuntimeRunRow>,
puzzle_work_profile: __sdk::TableAppliedDiff<'r, PuzzleWorkProfileRow>,
quest_log: __sdk::TableAppliedDiff<'r, QuestLog>,
quest_record: __sdk::TableAppliedDiff<'r, QuestRecord>,
refresh_session: __sdk::TableAppliedDiff<'r, RefreshSession>,
runtime_setting: __sdk::TableAppliedDiff<'r, RuntimeSetting>,
runtime_snapshot: __sdk::TableAppliedDiff<'r, RuntimeSnapshotRow>,
square_hole_agent_message: __sdk::TableAppliedDiff<'r, SquareHoleAgentMessageRow>,
square_hole_agent_session: __sdk::TableAppliedDiff<'r, SquareHoleAgentSessionRow>,
square_hole_runtime_run: __sdk::TableAppliedDiff<'r, SquareHoleRuntimeRunRow>,
square_hole_work_profile: __sdk::TableAppliedDiff<'r, SquareHoleWorkProfileRow>,
story_event: __sdk::TableAppliedDiff<'r, StoryEvent>,
story_session: __sdk::TableAppliedDiff<'r, StorySession>,
tracking_daily_stat: __sdk::TableAppliedDiff<'r, TrackingDailyStat>,
tracking_event: __sdk::TableAppliedDiff<'r, TrackingEvent>,
treasure_record: __sdk::TableAppliedDiff<'r, TreasureRecord>,
user_account: __sdk::TableAppliedDiff<'r, UserAccount>,
user_browse_history: __sdk::TableAppliedDiff<'r, UserBrowseHistory>,
visual_novel_agent_message: __sdk::TableAppliedDiff<'r, VisualNovelAgentMessageRow>,
visual_novel_agent_session: __sdk::TableAppliedDiff<'r, VisualNovelAgentSessionRow>,
visual_novel_runtime_event: __sdk::TableAppliedDiff<'r, VisualNovelRuntimeEvent>,
visual_novel_runtime_history_entry:
__sdk::TableAppliedDiff<'r, VisualNovelRuntimeHistoryEntryRow>,
visual_novel_runtime_run: __sdk::TableAppliedDiff<'r, VisualNovelRuntimeRunRow>,
visual_novel_work_profile: __sdk::TableAppliedDiff<'r, VisualNovelWorkProfileRow>,
__unused: std::marker::PhantomData<&'r ()>,
}
impl __sdk::InModule for AppliedDiff<'_> {
type Module = RemoteModule;
}
impl<'r> __sdk::AppliedDiff<'r> for AppliedDiff<'r> {
fn invoke_row_callbacks(
&self,
event: &EventContext,
callbacks: &mut __sdk::DbCallbacks<RemoteModule>,
) {
callbacks.invoke_table_row_callbacks::<AiResultReference>(
"ai_result_reference",
&self.ai_result_reference,
event,
);
callbacks.invoke_table_row_callbacks::<AiTask>("ai_task", &self.ai_task, event);
callbacks.invoke_table_row_callbacks::<AiTaskEvent>(
"ai_task_event",
&self.ai_task_event,
event,
);
callbacks.invoke_table_row_callbacks::<AiTaskStage>(
"ai_task_stage",
&self.ai_task_stage,
event,
);
callbacks.invoke_table_row_callbacks::<AiTextChunk>(
"ai_text_chunk",
&self.ai_text_chunk,
event,
);
callbacks.invoke_table_row_callbacks::<AnalyticsDateDimension>(
"analytics_date_dimension",
&self.analytics_date_dimension,
event,
);
callbacks.invoke_table_row_callbacks::<AssetEntityBinding>(
"asset_entity_binding",
&self.asset_entity_binding,
event,
);
callbacks.invoke_table_row_callbacks::<AssetEvent>("asset_event", &self.asset_event, event);
callbacks.invoke_table_row_callbacks::<AssetObject>(
"asset_object",
&self.asset_object,
event,
);
callbacks.invoke_table_row_callbacks::<AuthIdentity>(
"auth_identity",
&self.auth_identity,
event,
);
callbacks.invoke_table_row_callbacks::<AuthStoreSnapshot>(
"auth_store_snapshot",
&self.auth_store_snapshot,
event,
);
callbacks.invoke_table_row_callbacks::<BattleState>(
"battle_state",
&self.battle_state,
event,
);
callbacks.invoke_table_row_callbacks::<BigFishAgentMessage>(
"big_fish_agent_message",
&self.big_fish_agent_message,
event,
);
callbacks.invoke_table_row_callbacks::<BigFishAssetSlot>(
"big_fish_asset_slot",
&self.big_fish_asset_slot,
event,
);
callbacks.invoke_table_row_callbacks::<BigFishCreationSession>(
"big_fish_creation_session",
&self.big_fish_creation_session,
event,
);
callbacks.invoke_table_row_callbacks::<BigFishEvent>(
"big_fish_event",
&self.big_fish_event,
event,
);
callbacks.invoke_table_row_callbacks::<BigFishRuntimeRun>(
"big_fish_runtime_run",
&self.big_fish_runtime_run,
event,
);
callbacks.invoke_table_row_callbacks::<ChapterProgression>(
"chapter_progression",
&self.chapter_progression,
event,
);
callbacks.invoke_table_row_callbacks::<CustomWorldAgentMessage>(
"custom_world_agent_message",
&self.custom_world_agent_message,
event,
);
callbacks.invoke_table_row_callbacks::<CustomWorldAgentOperation>(
"custom_world_agent_operation",
&self.custom_world_agent_operation,
event,
);
callbacks.invoke_table_row_callbacks::<CustomWorldAgentSession>(
"custom_world_agent_session",
&self.custom_world_agent_session,
event,
);
callbacks.invoke_table_row_callbacks::<CustomWorldDraftCard>(
"custom_world_draft_card",
&self.custom_world_draft_card,
event,
);
callbacks.invoke_table_row_callbacks::<CustomWorldGalleryEntry>(
"custom_world_gallery_entry",
&self.custom_world_gallery_entry,
event,
);
callbacks.invoke_table_row_callbacks::<CustomWorldProfile>(
"custom_world_profile",
&self.custom_world_profile,
event,
);
callbacks.invoke_table_row_callbacks::<CustomWorldSession>(
"custom_world_session",
&self.custom_world_session,
event,
);
callbacks.invoke_table_row_callbacks::<DatabaseMigrationImportChunk>(
"database_migration_import_chunk",
&self.database_migration_import_chunk,
event,
);
callbacks.invoke_table_row_callbacks::<DatabaseMigrationOperator>(
"database_migration_operator",
&self.database_migration_operator,
event,
);
callbacks.invoke_table_row_callbacks::<InventorySlot>(
"inventory_slot",
&self.inventory_slot,
event,
);
callbacks.invoke_table_row_callbacks::<Match3DAgentMessageRow>(
"match_3_d_agent_message",
&self.match_3_d_agent_message,
event,
);
callbacks.invoke_table_row_callbacks::<Match3DAgentSessionRow>(
"match_3_d_agent_session",
&self.match_3_d_agent_session,
event,
);
callbacks.invoke_table_row_callbacks::<Match3DRuntimeRunRow>(
"match_3_d_runtime_run",
&self.match_3_d_runtime_run,
event,
);
callbacks.invoke_table_row_callbacks::<Match3DWorkProfileRow>(
"match_3_d_work_profile",
&self.match_3_d_work_profile,
event,
);
callbacks.invoke_table_row_callbacks::<NpcState>("npc_state", &self.npc_state, event);
callbacks.invoke_table_row_callbacks::<PlayerProgression>(
"player_progression",
&self.player_progression,
event,
);
callbacks.invoke_table_row_callbacks::<ProfileDashboardState>(
"profile_dashboard_state",
&self.profile_dashboard_state,
event,
);
callbacks.invoke_table_row_callbacks::<ProfileInviteCode>(
"profile_invite_code",
&self.profile_invite_code,
event,
);
callbacks.invoke_table_row_callbacks::<ProfileMembership>(
"profile_membership",
&self.profile_membership,
event,
);
callbacks.invoke_table_row_callbacks::<ProfilePlayedWorld>(
"profile_played_world",
&self.profile_played_world,
event,
);
callbacks.invoke_table_row_callbacks::<ProfileRechargeOrder>(
"profile_recharge_order",
&self.profile_recharge_order,
event,
);
callbacks.invoke_table_row_callbacks::<ProfileRedeemCode>(
"profile_redeem_code",
&self.profile_redeem_code,
event,
);
callbacks.invoke_table_row_callbacks::<ProfileRedeemCodeUsage>(
"profile_redeem_code_usage",
&self.profile_redeem_code_usage,
event,
);
callbacks.invoke_table_row_callbacks::<ProfileReferralRelation>(
"profile_referral_relation",
&self.profile_referral_relation,
event,
);
callbacks.invoke_table_row_callbacks::<ProfileSaveArchive>(
"profile_save_archive",
&self.profile_save_archive,
event,
);
callbacks.invoke_table_row_callbacks::<ProfileTaskConfig>(
"profile_task_config",
&self.profile_task_config,
event,
);
callbacks.invoke_table_row_callbacks::<ProfileTaskProgress>(
"profile_task_progress",
&self.profile_task_progress,
event,
);
callbacks.invoke_table_row_callbacks::<ProfileTaskRewardClaim>(
"profile_task_reward_claim",
&self.profile_task_reward_claim,
event,
);
callbacks.invoke_table_row_callbacks::<ProfileWalletLedger>(
"profile_wallet_ledger",
&self.profile_wallet_ledger,
event,
);
callbacks.invoke_table_row_callbacks::<PublicWorkLike>(
"public_work_like",
&self.public_work_like,
event,
);
callbacks.invoke_table_row_callbacks::<PublicWorkPlayDailyStat>(
"public_work_play_daily_stat",
&self.public_work_play_daily_stat,
event,
);
callbacks.invoke_table_row_callbacks::<PuzzleAgentMessageRow>(
"puzzle_agent_message",
&self.puzzle_agent_message,
event,
);
callbacks.invoke_table_row_callbacks::<PuzzleAgentSessionRow>(
"puzzle_agent_session",
&self.puzzle_agent_session,
event,
);
callbacks.invoke_table_row_callbacks::<PuzzleEvent>(
"puzzle_event",
&self.puzzle_event,
event,
);
callbacks.invoke_table_row_callbacks::<PuzzleLeaderboardEntryRow>(
"puzzle_leaderboard_entry",
&self.puzzle_leaderboard_entry,
event,
);
callbacks.invoke_table_row_callbacks::<PuzzleRuntimeRunRow>(
"puzzle_runtime_run",
&self.puzzle_runtime_run,
event,
);
callbacks.invoke_table_row_callbacks::<PuzzleWorkProfileRow>(
"puzzle_work_profile",
&self.puzzle_work_profile,
event,
);
callbacks.invoke_table_row_callbacks::<QuestLog>("quest_log", &self.quest_log, event);
callbacks.invoke_table_row_callbacks::<QuestRecord>(
"quest_record",
&self.quest_record,
event,
);
callbacks.invoke_table_row_callbacks::<RefreshSession>(
"refresh_session",
&self.refresh_session,
event,
);
callbacks.invoke_table_row_callbacks::<RuntimeSetting>(
"runtime_setting",
&self.runtime_setting,
event,
);
callbacks.invoke_table_row_callbacks::<RuntimeSnapshotRow>(
"runtime_snapshot",
&self.runtime_snapshot,
event,
);
callbacks.invoke_table_row_callbacks::<SquareHoleAgentMessageRow>(
"square_hole_agent_message",
&self.square_hole_agent_message,
event,
);
callbacks.invoke_table_row_callbacks::<SquareHoleAgentSessionRow>(
"square_hole_agent_session",
&self.square_hole_agent_session,
event,
);
callbacks.invoke_table_row_callbacks::<SquareHoleRuntimeRunRow>(
"square_hole_runtime_run",
&self.square_hole_runtime_run,
event,
);
callbacks.invoke_table_row_callbacks::<SquareHoleWorkProfileRow>(
"square_hole_work_profile",
&self.square_hole_work_profile,
event,
);
callbacks.invoke_table_row_callbacks::<StoryEvent>("story_event", &self.story_event, event);
callbacks.invoke_table_row_callbacks::<StorySession>(
"story_session",
&self.story_session,
event,
);
callbacks.invoke_table_row_callbacks::<TrackingDailyStat>(
"tracking_daily_stat",
&self.tracking_daily_stat,
event,
);
callbacks.invoke_table_row_callbacks::<TrackingEvent>(
"tracking_event",
&self.tracking_event,
event,
);
callbacks.invoke_table_row_callbacks::<TreasureRecord>(
"treasure_record",
&self.treasure_record,
event,
);
callbacks.invoke_table_row_callbacks::<UserAccount>(
"user_account",
&self.user_account,
event,
);
callbacks.invoke_table_row_callbacks::<UserBrowseHistory>(
"user_browse_history",
&self.user_browse_history,
event,
);
callbacks.invoke_table_row_callbacks::<VisualNovelAgentMessageRow>(
"visual_novel_agent_message",
&self.visual_novel_agent_message,
event,
);
callbacks.invoke_table_row_callbacks::<VisualNovelAgentSessionRow>(
"visual_novel_agent_session",
&self.visual_novel_agent_session,
event,
);
callbacks.invoke_table_row_callbacks::<VisualNovelRuntimeEvent>(
"visual_novel_runtime_event",
&self.visual_novel_runtime_event,
event,
);
callbacks.invoke_table_row_callbacks::<VisualNovelRuntimeHistoryEntryRow>(
"visual_novel_runtime_history_entry",
&self.visual_novel_runtime_history_entry,
event,
);
callbacks.invoke_table_row_callbacks::<VisualNovelRuntimeRunRow>(
"visual_novel_runtime_run",
&self.visual_novel_runtime_run,
event,
);
callbacks.invoke_table_row_callbacks::<VisualNovelWorkProfileRow>(
"visual_novel_work_profile",
&self.visual_novel_work_profile,
event,
);
}
}
#[doc(hidden)]
#[derive(Debug)]
pub struct RemoteModule;
impl __sdk::InModule for RemoteModule {
type Module = Self;
}
/// The `reducers` field of [`EventContext`] and [`DbConnection`],
/// with methods provided by extension traits for each reducer defined by the module.
pub struct RemoteReducers {
imp: __sdk::DbContextImpl<RemoteModule>,
}
impl __sdk::InModule for RemoteReducers {
type Module = RemoteModule;
}
/// The `procedures` field of [`DbConnection`] and other [`DbContext`] types,
/// with methods provided by extension traits for each procedure defined by the module.
pub struct RemoteProcedures {
imp: __sdk::DbContextImpl<RemoteModule>,
}
impl __sdk::InModule for RemoteProcedures {
type Module = RemoteModule;
}
/// The `db` field of [`EventContext`] and [`DbConnection`],
/// with methods provided by extension traits for each table defined by the module.
pub struct RemoteTables {
imp: __sdk::DbContextImpl<RemoteModule>,
}
impl __sdk::InModule for RemoteTables {
type Module = RemoteModule;
}
/// A connection to a remote module, including a materialized view of a subset of the database.
///
/// Connect to a remote module by calling [`DbConnection::builder`]
/// and using the [`__sdk::DbConnectionBuilder`] builder-pattern constructor.
///
/// You must explicitly advance the connection by calling any one of:
///
/// - [`DbConnection::frame_tick`].
#[cfg_attr(not(target_arch = "wasm32"), doc = "- [`DbConnection::run_threaded`].")]
#[cfg_attr(
target_arch = "wasm32",
doc = "- [`DbConnection::run_background_task`]."
)]
/// - [`DbConnection::run_async`].
/// - [`DbConnection::advance_one_message`].
#[cfg_attr(
not(target_arch = "wasm32"),
doc = "- [`DbConnection::advance_one_message_blocking`]."
)]
/// - [`DbConnection::advance_one_message_async`].
///
/// Which of these methods you should call depends on the specific needs of your application,
/// but you must call one of them, or else the connection will never progress.
pub struct DbConnection {
/// Access to tables defined by the module via extension traits implemented for [`RemoteTables`].
pub db: RemoteTables,
/// Access to reducers defined by the module via extension traits implemented for [`RemoteReducers`].
pub reducers: RemoteReducers,
#[doc(hidden)]
/// Access to procedures defined by the module via extension traits implemented for [`RemoteProcedures`].
pub procedures: RemoteProcedures,
imp: __sdk::DbContextImpl<RemoteModule>,
}
impl __sdk::InModule for DbConnection {
type Module = RemoteModule;
}
impl __sdk::DbContext for DbConnection {
type DbView = RemoteTables;
type Reducers = RemoteReducers;
type Procedures = RemoteProcedures;
fn db(&self) -> &Self::DbView {
&self.db
}
fn reducers(&self) -> &Self::Reducers {
&self.reducers
}
fn procedures(&self) -> &Self::Procedures {
&self.procedures
}
fn is_active(&self) -> bool {
self.imp.is_active()
}
fn disconnect(&self) -> __sdk::Result<()> {
self.imp.disconnect()
}
type SubscriptionBuilder = __sdk::SubscriptionBuilder<RemoteModule>;
fn subscription_builder(&self) -> Self::SubscriptionBuilder {
__sdk::SubscriptionBuilder::new(&self.imp)
}
fn try_identity(&self) -> Option<__sdk::Identity> {
self.imp.try_identity()
}
fn connection_id(&self) -> __sdk::ConnectionId {
self.imp.connection_id()
}
fn try_connection_id(&self) -> Option<__sdk::ConnectionId> {
self.imp.try_connection_id()
}
}
impl DbConnection {
/// Builder-pattern constructor for a connection to a remote module.
///
/// See [`__sdk::DbConnectionBuilder`] for required and optional configuration for the new connection.
pub fn builder() -> __sdk::DbConnectionBuilder<RemoteModule> {
__sdk::DbConnectionBuilder::new()
}
/// If any WebSocket messages are waiting, process one of them.
///
/// Returns `true` if a message was processed, or `false` if the queue is empty.
/// Callers should invoke this message in a loop until it returns `false`
/// or for as much time is available to process messages.
///
/// Returns an error if the connection is disconnected.
/// If the disconnection in question was normal,
/// i.e. the result of a call to [`__sdk::DbContext::disconnect`],
/// the returned error will be downcastable to [`__sdk::DisconnectedError`].
///
/// This is a low-level primitive exposed for power users who need significant control over scheduling.
/// Most applications should call [`Self::frame_tick`] each frame
/// to fully exhaust the queue whenever time is available.
pub fn advance_one_message(&self) -> __sdk::Result<bool> {
self.imp.advance_one_message()
}
/// Process one WebSocket message, potentially blocking the current thread until one is received.
///
/// Returns an error if the connection is disconnected.
/// If the disconnection in question was normal,
/// i.e. the result of a call to [`__sdk::DbContext::disconnect`],
/// the returned error will be downcastable to [`__sdk::DisconnectedError`].
///
/// This is a low-level primitive exposed for power users who need significant control over scheduling.
/// Most applications should call [`Self::run_threaded`] to spawn a thread
/// which advances the connection automatically.
#[cfg(not(target_arch = "wasm32"))]
pub fn advance_one_message_blocking(&self) -> __sdk::Result<()> {
self.imp.advance_one_message_blocking()
}
/// Process one WebSocket message, `await`ing until one is received.
///
/// Returns an error if the connection is disconnected.
/// If the disconnection in question was normal,
/// i.e. the result of a call to [`__sdk::DbContext::disconnect`],
/// the returned error will be downcastable to [`__sdk::DisconnectedError`].
///
/// This is a low-level primitive exposed for power users who need significant control over scheduling.
/// Most applications should call [`Self::run_async`] to run an `async` loop
/// which advances the connection when polled.
pub async fn advance_one_message_async(&self) -> __sdk::Result<()> {
self.imp.advance_one_message_async().await
}
/// Process all WebSocket messages waiting in the queue,
/// then return without `await`ing or blocking the current thread.
pub fn frame_tick(&self) -> __sdk::Result<()> {
self.imp.frame_tick()
}
/// Spawn a thread which processes WebSocket messages as they are received.
#[cfg(not(target_arch = "wasm32"))]
pub fn run_threaded(&self) -> std::thread::JoinHandle<()> {
self.imp.run_threaded()
}
/// Spawn a background task which processes WebSocket messages as they are received.
#[cfg(target_arch = "wasm32")]
pub fn run_background_task(&self) {
self.imp.run_background_task()
}
/// Run an `async` loop which processes WebSocket messages when polled.
pub async fn run_async(&self) -> __sdk::Result<()> {
self.imp.run_async().await
}
}
impl __sdk::DbConnection for DbConnection {
fn new(imp: __sdk::DbContextImpl<RemoteModule>) -> Self {
Self {
db: RemoteTables { imp: imp.clone() },
reducers: RemoteReducers { imp: imp.clone() },
procedures: RemoteProcedures { imp: imp.clone() },
imp,
}
}
}
/// A handle on a subscribed query.
// TODO: Document this better after implementing the new subscription API.
#[derive(Clone)]
pub struct SubscriptionHandle {
imp: __sdk::SubscriptionHandleImpl<RemoteModule>,
}
impl __sdk::InModule for SubscriptionHandle {
type Module = RemoteModule;
}
impl __sdk::SubscriptionHandle for SubscriptionHandle {
fn new(imp: __sdk::SubscriptionHandleImpl<RemoteModule>) -> Self {
Self { imp }
}
/// Returns true if this subscription has been terminated due to an unsubscribe call or an error.
fn is_ended(&self) -> bool {
self.imp.is_ended()
}
/// Returns true if this subscription has been applied and has not yet been unsubscribed.
fn is_active(&self) -> bool {
self.imp.is_active()
}
/// Unsubscribe from the query controlled by this `SubscriptionHandle`,
/// then run `on_end` when its rows are removed from the client cache.
fn unsubscribe_then(self, on_end: __sdk::OnEndedCallback<RemoteModule>) -> __sdk::Result<()> {
self.imp.unsubscribe_then(Some(on_end))
}
fn unsubscribe(self) -> __sdk::Result<()> {
self.imp.unsubscribe_then(None)
}
}
/// Alias trait for a [`__sdk::DbContext`] connected to this module,
/// with that trait's associated types bounded to this module's concrete types.
///
/// Users can use this trait as a boundary on definitions which should accept
/// either a [`DbConnection`] or an [`EventContext`] and operate on either.
pub trait RemoteDbContext:
__sdk::DbContext<
DbView = RemoteTables,
Reducers = RemoteReducers,
SubscriptionBuilder = __sdk::SubscriptionBuilder<RemoteModule>,
>
{
}
impl<
Ctx: __sdk::DbContext<
DbView = RemoteTables,
Reducers = RemoteReducers,
SubscriptionBuilder = __sdk::SubscriptionBuilder<RemoteModule>,
>,
> RemoteDbContext for Ctx
{
}
/// An [`__sdk::DbContext`] augmented with a [`__sdk::Event`],
/// passed to [`__sdk::Table::on_insert`], [`__sdk::Table::on_delete`] and [`__sdk::TableWithPrimaryKey::on_update`] callbacks.
pub struct EventContext {
/// Access to tables defined by the module via extension traits implemented for [`RemoteTables`].
pub db: RemoteTables,
/// Access to reducers defined by the module via extension traits implemented for [`RemoteReducers`].
pub reducers: RemoteReducers,
/// Access to procedures defined by the module via extension traits implemented for [`RemoteProcedures`].
pub procedures: RemoteProcedures,
/// The event which caused these callbacks to run.
pub event: __sdk::Event<Reducer>,
imp: __sdk::DbContextImpl<RemoteModule>,
}
impl __sdk::AbstractEventContext for EventContext {
type Event = __sdk::Event<Reducer>;
fn event(&self) -> &Self::Event {
&self.event
}
fn new(imp: __sdk::DbContextImpl<RemoteModule>, event: Self::Event) -> Self {
Self {
db: RemoteTables { imp: imp.clone() },
reducers: RemoteReducers { imp: imp.clone() },
procedures: RemoteProcedures { imp: imp.clone() },
event,
imp,
}
}
}
impl __sdk::InModule for EventContext {
type Module = RemoteModule;
}
impl __sdk::DbContext for EventContext {
type DbView = RemoteTables;
type Reducers = RemoteReducers;
type Procedures = RemoteProcedures;
fn db(&self) -> &Self::DbView {
&self.db
}
fn reducers(&self) -> &Self::Reducers {
&self.reducers
}
fn procedures(&self) -> &Self::Procedures {
&self.procedures
}
fn is_active(&self) -> bool {
self.imp.is_active()
}
fn disconnect(&self) -> __sdk::Result<()> {
self.imp.disconnect()
}
type SubscriptionBuilder = __sdk::SubscriptionBuilder<RemoteModule>;
fn subscription_builder(&self) -> Self::SubscriptionBuilder {
__sdk::SubscriptionBuilder::new(&self.imp)
}
fn try_identity(&self) -> Option<__sdk::Identity> {
self.imp.try_identity()
}
fn connection_id(&self) -> __sdk::ConnectionId {
self.imp.connection_id()
}
fn try_connection_id(&self) -> Option<__sdk::ConnectionId> {
self.imp.try_connection_id()
}
}
impl __sdk::EventContext for EventContext {}
/// An [`__sdk::DbContext`] augmented with a [`__sdk::ReducerEvent`],
/// passed to on-reducer callbacks.
pub struct ReducerEventContext {
/// Access to tables defined by the module via extension traits implemented for [`RemoteTables`].
pub db: RemoteTables,
/// Access to reducers defined by the module via extension traits implemented for [`RemoteReducers`].
pub reducers: RemoteReducers,
/// Access to procedures defined by the module via extension traits implemented for [`RemoteProcedures`].
pub procedures: RemoteProcedures,
/// The event which caused these callbacks to run.
pub event: __sdk::ReducerEvent<Reducer>,
imp: __sdk::DbContextImpl<RemoteModule>,
}
impl __sdk::AbstractEventContext for ReducerEventContext {
type Event = __sdk::ReducerEvent<Reducer>;
fn event(&self) -> &Self::Event {
&self.event
}
fn new(imp: __sdk::DbContextImpl<RemoteModule>, event: Self::Event) -> Self {
Self {
db: RemoteTables { imp: imp.clone() },
reducers: RemoteReducers { imp: imp.clone() },
procedures: RemoteProcedures { imp: imp.clone() },
event,
imp,
}
}
}
impl __sdk::InModule for ReducerEventContext {
type Module = RemoteModule;
}
impl __sdk::DbContext for ReducerEventContext {
type DbView = RemoteTables;
type Reducers = RemoteReducers;
type Procedures = RemoteProcedures;
fn db(&self) -> &Self::DbView {
&self.db
}
fn reducers(&self) -> &Self::Reducers {
&self.reducers
}
fn procedures(&self) -> &Self::Procedures {
&self.procedures
}
fn is_active(&self) -> bool {
self.imp.is_active()
}
fn disconnect(&self) -> __sdk::Result<()> {
self.imp.disconnect()
}
type SubscriptionBuilder = __sdk::SubscriptionBuilder<RemoteModule>;
fn subscription_builder(&self) -> Self::SubscriptionBuilder {
__sdk::SubscriptionBuilder::new(&self.imp)
}
fn try_identity(&self) -> Option<__sdk::Identity> {
self.imp.try_identity()
}
fn connection_id(&self) -> __sdk::ConnectionId {
self.imp.connection_id()
}
fn try_connection_id(&self) -> Option<__sdk::ConnectionId> {
self.imp.try_connection_id()
}
}
impl __sdk::ReducerEventContext for ReducerEventContext {}
/// An [`__sdk::DbContext`] passed to procedure callbacks.
pub struct ProcedureEventContext {
/// Access to tables defined by the module via extension traits implemented for [`RemoteTables`].
pub db: RemoteTables,
/// Access to reducers defined by the module via extension traits implemented for [`RemoteReducers`].
pub reducers: RemoteReducers,
/// Access to procedures defined by the module via extension traits implemented for [`RemoteProcedures`].
pub procedures: RemoteProcedures,
imp: __sdk::DbContextImpl<RemoteModule>,
}
impl __sdk::AbstractEventContext for ProcedureEventContext {
type Event = ();
fn event(&self) -> &Self::Event {
&()
}
fn new(imp: __sdk::DbContextImpl<RemoteModule>, _event: Self::Event) -> Self {
Self {
db: RemoteTables { imp: imp.clone() },
reducers: RemoteReducers { imp: imp.clone() },
procedures: RemoteProcedures { imp: imp.clone() },
imp,
}
}
}
impl __sdk::InModule for ProcedureEventContext {
type Module = RemoteModule;
}
impl __sdk::DbContext for ProcedureEventContext {
type DbView = RemoteTables;
type Reducers = RemoteReducers;
type Procedures = RemoteProcedures;
fn db(&self) -> &Self::DbView {
&self.db
}
fn reducers(&self) -> &Self::Reducers {
&self.reducers
}
fn procedures(&self) -> &Self::Procedures {
&self.procedures
}
fn is_active(&self) -> bool {
self.imp.is_active()
}
fn disconnect(&self) -> __sdk::Result<()> {
self.imp.disconnect()
}
type SubscriptionBuilder = __sdk::SubscriptionBuilder<RemoteModule>;
fn subscription_builder(&self) -> Self::SubscriptionBuilder {
__sdk::SubscriptionBuilder::new(&self.imp)
}
fn try_identity(&self) -> Option<__sdk::Identity> {
self.imp.try_identity()
}
fn connection_id(&self) -> __sdk::ConnectionId {
self.imp.connection_id()
}
fn try_connection_id(&self) -> Option<__sdk::ConnectionId> {
self.imp.try_connection_id()
}
}
impl __sdk::ProcedureEventContext for ProcedureEventContext {}
/// An [`__sdk::DbContext`] passed to [`__sdk::SubscriptionBuilder::on_applied`] and [`SubscriptionHandle::unsubscribe_then`] callbacks.
pub struct SubscriptionEventContext {
/// Access to tables defined by the module via extension traits implemented for [`RemoteTables`].
pub db: RemoteTables,
/// Access to reducers defined by the module via extension traits implemented for [`RemoteReducers`].
pub reducers: RemoteReducers,
/// Access to procedures defined by the module via extension traits implemented for [`RemoteProcedures`].
pub procedures: RemoteProcedures,
imp: __sdk::DbContextImpl<RemoteModule>,
}
impl __sdk::AbstractEventContext for SubscriptionEventContext {
type Event = ();
fn event(&self) -> &Self::Event {
&()
}
fn new(imp: __sdk::DbContextImpl<RemoteModule>, _event: Self::Event) -> Self {
Self {
db: RemoteTables { imp: imp.clone() },
reducers: RemoteReducers { imp: imp.clone() },
procedures: RemoteProcedures { imp: imp.clone() },
imp,
}
}
}
impl __sdk::InModule for SubscriptionEventContext {
type Module = RemoteModule;
}
impl __sdk::DbContext for SubscriptionEventContext {
type DbView = RemoteTables;
type Reducers = RemoteReducers;
type Procedures = RemoteProcedures;
fn db(&self) -> &Self::DbView {
&self.db
}
fn reducers(&self) -> &Self::Reducers {
&self.reducers
}
fn procedures(&self) -> &Self::Procedures {
&self.procedures
}
fn is_active(&self) -> bool {
self.imp.is_active()
}
fn disconnect(&self) -> __sdk::Result<()> {
self.imp.disconnect()
}
type SubscriptionBuilder = __sdk::SubscriptionBuilder<RemoteModule>;
fn subscription_builder(&self) -> Self::SubscriptionBuilder {
__sdk::SubscriptionBuilder::new(&self.imp)
}
fn try_identity(&self) -> Option<__sdk::Identity> {
self.imp.try_identity()
}
fn connection_id(&self) -> __sdk::ConnectionId {
self.imp.connection_id()
}
fn try_connection_id(&self) -> Option<__sdk::ConnectionId> {
self.imp.try_connection_id()
}
}
impl __sdk::SubscriptionEventContext for SubscriptionEventContext {}
/// An [`__sdk::DbContext`] augmented with a [`__sdk::Error`],
/// passed to [`__sdk::DbConnectionBuilder::on_disconnect`], [`__sdk::DbConnectionBuilder::on_connect_error`] and [`__sdk::SubscriptionBuilder::on_error`] callbacks.
pub struct ErrorContext {
/// Access to tables defined by the module via extension traits implemented for [`RemoteTables`].
pub db: RemoteTables,
/// Access to reducers defined by the module via extension traits implemented for [`RemoteReducers`].
pub reducers: RemoteReducers,
/// Access to procedures defined by the module via extension traits implemented for [`RemoteProcedures`].
pub procedures: RemoteProcedures,
/// The event which caused these callbacks to run.
pub event: Option<__sdk::Error>,
imp: __sdk::DbContextImpl<RemoteModule>,
}
impl __sdk::AbstractEventContext for ErrorContext {
type Event = Option<__sdk::Error>;
fn event(&self) -> &Self::Event {
&self.event
}
fn new(imp: __sdk::DbContextImpl<RemoteModule>, event: Self::Event) -> Self {
Self {
db: RemoteTables { imp: imp.clone() },
reducers: RemoteReducers { imp: imp.clone() },
procedures: RemoteProcedures { imp: imp.clone() },
event,
imp,
}
}
}
impl __sdk::InModule for ErrorContext {
type Module = RemoteModule;
}
impl __sdk::DbContext for ErrorContext {
type DbView = RemoteTables;
type Reducers = RemoteReducers;
type Procedures = RemoteProcedures;
fn db(&self) -> &Self::DbView {
&self.db
}
fn reducers(&self) -> &Self::Reducers {
&self.reducers
}
fn procedures(&self) -> &Self::Procedures {
&self.procedures
}
fn is_active(&self) -> bool {
self.imp.is_active()
}
fn disconnect(&self) -> __sdk::Result<()> {
self.imp.disconnect()
}
type SubscriptionBuilder = __sdk::SubscriptionBuilder<RemoteModule>;
fn subscription_builder(&self) -> Self::SubscriptionBuilder {
__sdk::SubscriptionBuilder::new(&self.imp)
}
fn try_identity(&self) -> Option<__sdk::Identity> {
self.imp.try_identity()
}
fn connection_id(&self) -> __sdk::ConnectionId {
self.imp.connection_id()
}
fn try_connection_id(&self) -> Option<__sdk::ConnectionId> {
self.imp.try_connection_id()
}
}
impl __sdk::ErrorContext for ErrorContext {}
impl __sdk::SpacetimeModule for RemoteModule {
type DbConnection = DbConnection;
type EventContext = EventContext;
type ReducerEventContext = ReducerEventContext;
type ProcedureEventContext = ProcedureEventContext;
type SubscriptionEventContext = SubscriptionEventContext;
type ErrorContext = ErrorContext;
type Reducer = Reducer;
type DbView = RemoteTables;
type Reducers = RemoteReducers;
type Procedures = RemoteProcedures;
type DbUpdate = DbUpdate;
type AppliedDiff<'r> = AppliedDiff<'r>;
type SubscriptionHandle = SubscriptionHandle;
type QueryBuilder = __sdk::QueryBuilder;
fn register_tables(client_cache: &mut __sdk::ClientCache<Self>) {
ai_result_reference_table::register_table(client_cache);
ai_task_table::register_table(client_cache);
ai_task_event_table::register_table(client_cache);
ai_task_stage_table::register_table(client_cache);
ai_text_chunk_table::register_table(client_cache);
analytics_date_dimension_table::register_table(client_cache);
asset_entity_binding_table::register_table(client_cache);
asset_event_table::register_table(client_cache);
asset_object_table::register_table(client_cache);
auth_identity_table::register_table(client_cache);
auth_store_snapshot_table::register_table(client_cache);
battle_state_table::register_table(client_cache);
big_fish_agent_message_table::register_table(client_cache);
big_fish_asset_slot_table::register_table(client_cache);
big_fish_creation_session_table::register_table(client_cache);
big_fish_event_table::register_table(client_cache);
big_fish_runtime_run_table::register_table(client_cache);
chapter_progression_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);
custom_world_draft_card_table::register_table(client_cache);
custom_world_gallery_entry_table::register_table(client_cache);
custom_world_profile_table::register_table(client_cache);
custom_world_session_table::register_table(client_cache);
database_migration_import_chunk_table::register_table(client_cache);
database_migration_operator_table::register_table(client_cache);
inventory_slot_table::register_table(client_cache);
match_3_d_agent_message_table::register_table(client_cache);
match_3_d_agent_session_table::register_table(client_cache);
match_3_d_runtime_run_table::register_table(client_cache);
match_3_d_work_profile_table::register_table(client_cache);
npc_state_table::register_table(client_cache);
player_progression_table::register_table(client_cache);
profile_dashboard_state_table::register_table(client_cache);
profile_invite_code_table::register_table(client_cache);
profile_membership_table::register_table(client_cache);
profile_played_world_table::register_table(client_cache);
profile_recharge_order_table::register_table(client_cache);
profile_redeem_code_table::register_table(client_cache);
profile_redeem_code_usage_table::register_table(client_cache);
profile_referral_relation_table::register_table(client_cache);
profile_save_archive_table::register_table(client_cache);
profile_task_config_table::register_table(client_cache);
profile_task_progress_table::register_table(client_cache);
profile_task_reward_claim_table::register_table(client_cache);
profile_wallet_ledger_table::register_table(client_cache);
public_work_like_table::register_table(client_cache);
public_work_play_daily_stat_table::register_table(client_cache);
puzzle_agent_message_table::register_table(client_cache);
puzzle_agent_session_table::register_table(client_cache);
puzzle_event_table::register_table(client_cache);
puzzle_leaderboard_entry_table::register_table(client_cache);
puzzle_runtime_run_table::register_table(client_cache);
puzzle_work_profile_table::register_table(client_cache);
quest_log_table::register_table(client_cache);
quest_record_table::register_table(client_cache);
refresh_session_table::register_table(client_cache);
runtime_setting_table::register_table(client_cache);
runtime_snapshot_table::register_table(client_cache);
square_hole_agent_message_table::register_table(client_cache);
square_hole_agent_session_table::register_table(client_cache);
square_hole_runtime_run_table::register_table(client_cache);
square_hole_work_profile_table::register_table(client_cache);
story_event_table::register_table(client_cache);
story_session_table::register_table(client_cache);
tracking_daily_stat_table::register_table(client_cache);
tracking_event_table::register_table(client_cache);
treasure_record_table::register_table(client_cache);
user_account_table::register_table(client_cache);
user_browse_history_table::register_table(client_cache);
visual_novel_agent_message_table::register_table(client_cache);
visual_novel_agent_session_table::register_table(client_cache);
visual_novel_runtime_event_table::register_table(client_cache);
visual_novel_runtime_history_entry_table::register_table(client_cache);
visual_novel_runtime_run_table::register_table(client_cache);
visual_novel_work_profile_table::register_table(client_cache);
}
const ALL_TABLE_NAMES: &'static [&'static str] = &[
"ai_result_reference",
"ai_task",
"ai_task_event",
"ai_task_stage",
"ai_text_chunk",
"analytics_date_dimension",
"asset_entity_binding",
"asset_event",
"asset_object",
"auth_identity",
"auth_store_snapshot",
"battle_state",
"big_fish_agent_message",
"big_fish_asset_slot",
"big_fish_creation_session",
"big_fish_event",
"big_fish_runtime_run",
"chapter_progression",
"custom_world_agent_message",
"custom_world_agent_operation",
"custom_world_agent_session",
"custom_world_draft_card",
"custom_world_gallery_entry",
"custom_world_profile",
"custom_world_session",
"database_migration_import_chunk",
"database_migration_operator",
"inventory_slot",
"match_3_d_agent_message",
"match_3_d_agent_session",
"match_3_d_runtime_run",
"match_3_d_work_profile",
"npc_state",
"player_progression",
"profile_dashboard_state",
"profile_invite_code",
"profile_membership",
"profile_played_world",
"profile_recharge_order",
"profile_redeem_code",
"profile_redeem_code_usage",
"profile_referral_relation",
"profile_save_archive",
"profile_task_config",
"profile_task_progress",
"profile_task_reward_claim",
"profile_wallet_ledger",
"public_work_like",
"public_work_play_daily_stat",
"puzzle_agent_message",
"puzzle_agent_session",
"puzzle_event",
"puzzle_leaderboard_entry",
"puzzle_runtime_run",
"puzzle_work_profile",
"quest_log",
"quest_record",
"refresh_session",
"runtime_setting",
"runtime_snapshot",
"square_hole_agent_message",
"square_hole_agent_session",
"square_hole_runtime_run",
"square_hole_work_profile",
"story_event",
"story_session",
"tracking_daily_stat",
"tracking_event",
"treasure_record",
"user_account",
"user_browse_history",
"visual_novel_agent_message",
"visual_novel_agent_session",
"visual_novel_runtime_event",
"visual_novel_runtime_history_entry",
"visual_novel_runtime_run",
"visual_novel_work_profile",
];
}