1e186369c9
Project CI / AI game creator shell Rust crates (push) Successful in 1m24s
Project CI / AI game creator shell Rust smoke (push) Successful in 1m56s
Project CI / AI game creator shell Rust lane 1/2 (push) Has been cancelled
Project CI / Frontend tests (push) Has been cancelled
Project CI / Backend tests (push) Has been cancelled
Project CI / Repository checks (push) Has been cancelled
Project CI / AI game creator shell web tests (push) Has been cancelled
Project CI / AI game creator shell Rust lane 2/2 (push) Has been cancelled
Project CI / Native shell tests (push) Has been cancelled
Reviewed-on: https://git.genarrative.world/git/GenarrativeAI/Genarrative/pulls/446 Co-authored-by: Linghong <ink29535@proton.me> Co-committed-by: Linghong <ink29535@proton.me>
4432 lines
234 KiB
Rust
4432 lines
234 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.8.3 (commit 8e410d2842147bd8e5a32a9589cc00c19f7478e2).
|
|
|
|
#![allow(unused, clippy::all)]
|
|
use spacetimedb_sdk::__codegen::{self as __sdk, __lib, __sats, __ws};
|
|
|
|
pub mod acknowledge_external_generation_job_summaries_and_return_procedure;
|
|
pub mod acknowledge_external_generation_jobs_and_return_procedure;
|
|
pub mod activate_editor_canvas_layout_and_return_procedure;
|
|
pub mod admin_account_create_input_type;
|
|
pub mod admin_account_credential_procedure_result_type;
|
|
pub mod admin_account_credential_snapshot_type;
|
|
pub mod admin_account_get_by_id_input_type;
|
|
pub mod admin_account_get_by_username_input_type;
|
|
pub mod admin_account_procedure_result_type;
|
|
pub mod admin_account_snapshot_type;
|
|
pub mod admin_account_table;
|
|
pub mod admin_account_type;
|
|
pub mod admin_account_update_input_type;
|
|
pub mod admin_dashboard_breakdown_snapshot_type;
|
|
pub mod admin_dashboard_daily_count_snapshot_type;
|
|
pub mod admin_dashboard_payment_conversion_snapshot_type;
|
|
pub mod admin_dashboard_retention_snapshot_type;
|
|
pub mod admin_dashboard_stats_input_type;
|
|
pub mod admin_dashboard_stats_procedure_result_type;
|
|
pub mod admin_dashboard_stats_snapshot_type;
|
|
pub mod admin_disable_profile_redeem_code_procedure;
|
|
pub mod admin_disable_profile_task_config_procedure;
|
|
pub mod admin_editor_asset_list_input_type;
|
|
pub mod admin_editor_asset_list_procedure_result_type;
|
|
pub mod admin_editor_asset_snapshot_type;
|
|
pub mod admin_get_profile_wallet_and_return_procedure;
|
|
pub mod admin_get_profile_wallet_config_procedure;
|
|
pub mod admin_get_profile_wallet_detail_and_return_procedure;
|
|
pub mod admin_initialize_profile_wallet_consumption_projections_and_return_procedure;
|
|
pub mod admin_list_editor_assets_and_return_procedure;
|
|
pub mod admin_list_editor_showcase_assets_and_return_procedure;
|
|
pub mod admin_list_profile_invite_codes_procedure;
|
|
pub mod admin_list_profile_recharge_orders_and_return_procedure;
|
|
pub mod admin_list_profile_recharge_products_procedure;
|
|
pub mod admin_list_profile_redeem_codes_procedure;
|
|
pub mod admin_list_profile_task_configs_procedure;
|
|
pub mod admin_reconcile_profile_wallet_consumption_and_return_procedure;
|
|
pub mod admin_review_editor_showcase_asset_and_return_procedure;
|
|
pub mod admin_upsert_profile_invite_code_procedure;
|
|
pub mod admin_upsert_profile_recharge_product_procedure;
|
|
pub mod admin_upsert_profile_redeem_code_procedure;
|
|
pub mod admin_upsert_profile_task_config_procedure;
|
|
pub mod admin_upsert_profile_wallet_config_procedure;
|
|
pub mod admin_upsert_profile_wallet_manual_restriction_and_return_procedure;
|
|
pub mod advance_profile_recharge_refund_bill_checkpoint_and_return_procedure;
|
|
pub mod agc_model_catalog_row_type;
|
|
pub mod agc_model_catalog_table;
|
|
pub mod agc_tracking_event_table;
|
|
pub mod agc_tracking_event_type;
|
|
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 approve_game_distribution_version_and_return_procedure;
|
|
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_location_input_type;
|
|
pub mod asset_object_procedure_result_type;
|
|
pub mod asset_object_read_access_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 asset_operation_wallet_settlement_table;
|
|
pub mod asset_operation_wallet_settlement_type;
|
|
pub mod attach_ai_result_reference_and_return_procedure;
|
|
pub mod auth_identity_table;
|
|
pub mod auth_identity_type;
|
|
pub mod auth_session_validation_input_type;
|
|
pub mod auth_session_validation_procedure_result_type;
|
|
pub mod auth_store_projection_identity_type;
|
|
pub mod auth_store_projection_meta_table;
|
|
pub mod auth_store_projection_meta_type;
|
|
pub mod auth_store_projection_phone_code_type;
|
|
pub mod auth_store_projection_procedure_result_type;
|
|
pub mod auth_store_projection_refresh_session_type;
|
|
pub mod auth_store_projection_sync_procedure_result_type;
|
|
pub mod auth_store_projection_sync_record_type;
|
|
pub mod auth_store_projection_user_type;
|
|
pub mod auth_store_projection_view_type;
|
|
pub mod auth_store_projection_wechat_state_type;
|
|
pub mod authenticate_external_api_key_and_return_procedure;
|
|
pub mod authorize_database_migration_operator_procedure;
|
|
pub mod backfill_editor_canvas_layout_and_return_procedure;
|
|
pub mod backfill_external_generation_job_summaries_and_return_procedure;
|
|
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 cancel_game_distribution_version_and_return_procedure;
|
|
pub mod claim_external_generation_jobs_and_return_procedure;
|
|
pub mod claim_profile_recharge_order_expiration_schedule_and_return_procedure;
|
|
pub mod claim_profile_task_reward_and_return_procedure;
|
|
pub mod clean_editor_image_asset_kind_and_return_procedure;
|
|
pub mod clear_database_migration_import_chunks_procedure;
|
|
pub mod close_profile_recharge_order_and_return_procedure;
|
|
pub mod compact_external_generation_job_payloads_and_return_procedure;
|
|
pub mod complete_ai_stage_and_return_procedure;
|
|
pub mod complete_ai_task_and_return_procedure;
|
|
pub mod complete_editor_asset_group_cohort_and_return_procedure;
|
|
pub mod complete_external_generation_job_and_return_procedure;
|
|
pub mod complete_profile_recharge_order_expiration_schedule_and_return_procedure;
|
|
pub mod confirm_asset_object_and_return_procedure;
|
|
pub mod confirm_asset_object_reducer;
|
|
pub mod confirm_game_distribution_package_and_return_procedure;
|
|
pub mod consume_profile_wallet_points_and_return_procedure;
|
|
pub mod create_admin_account_and_return_procedure;
|
|
pub mod create_ai_task_and_return_procedure;
|
|
pub mod create_ai_task_reducer;
|
|
pub mod create_editor_agent_conversation_and_return_procedure;
|
|
pub mod create_editor_asset_and_return_procedure;
|
|
pub mod create_editor_asset_folder_and_return_procedure;
|
|
pub mod create_editor_project_and_return_procedure;
|
|
pub mod create_editor_project_resource_and_return_procedure;
|
|
pub mod create_error_report_and_return_procedure;
|
|
pub mod create_external_api_key_and_return_procedure;
|
|
pub mod create_game_distribution_game_and_return_procedure;
|
|
pub mod create_game_distribution_version_and_return_procedure;
|
|
pub mod create_profile_recharge_order_and_return_procedure;
|
|
pub mod creation_entry_config_table;
|
|
pub mod creation_entry_config_type;
|
|
pub mod creation_entry_type_config_table;
|
|
pub mod creation_entry_type_config_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_editor_agent_conversation_and_return_procedure;
|
|
pub mod delete_editor_asset_and_return_procedure;
|
|
pub mod delete_editor_asset_folder_and_return_procedure;
|
|
pub mod delete_editor_project_and_return_procedure;
|
|
pub mod delete_error_report_and_return_procedure;
|
|
pub mod editor_agent_conversation_create_input_type;
|
|
pub mod editor_agent_conversation_delete_input_type;
|
|
pub mod editor_agent_conversation_get_input_type;
|
|
pub mod editor_agent_conversation_list_input_type;
|
|
pub mod editor_agent_conversation_list_procedure_result_type;
|
|
pub mod editor_agent_conversation_procedure_result_type;
|
|
pub mod editor_agent_conversation_snapshot_type;
|
|
pub mod editor_agent_conversation_table;
|
|
pub mod editor_agent_conversation_touch_input_type;
|
|
pub mod editor_agent_conversation_type;
|
|
pub mod editor_asset_create_input_type;
|
|
pub mod editor_asset_delete_input_type;
|
|
pub mod editor_asset_folder_create_input_type;
|
|
pub mod editor_asset_folder_delete_input_type;
|
|
pub mod editor_asset_folder_procedure_result_type;
|
|
pub mod editor_asset_folder_snapshot_type;
|
|
pub mod editor_asset_folder_table;
|
|
pub mod editor_asset_folder_type;
|
|
pub mod editor_asset_folder_update_input_type;
|
|
pub mod editor_asset_group_cohort_complete_input_type;
|
|
pub mod editor_asset_group_cohort_table;
|
|
pub mod editor_asset_group_cohort_type;
|
|
pub mod editor_asset_group_source_lookup_input_type;
|
|
pub mod editor_asset_group_source_provenance_table;
|
|
pub mod editor_asset_group_source_provenance_type;
|
|
pub mod editor_asset_library_get_input_type;
|
|
pub mod editor_asset_library_procedure_result_type;
|
|
pub mod editor_asset_library_snapshot_type;
|
|
pub mod editor_asset_media_repair_input_type;
|
|
pub mod editor_asset_procedure_result_type;
|
|
pub mod editor_asset_snapshot_type;
|
|
pub mod editor_asset_table;
|
|
pub mod editor_asset_type;
|
|
pub mod editor_asset_update_input_type;
|
|
pub mod editor_canvas_generation_dialog_table;
|
|
pub mod editor_canvas_generation_dialog_type;
|
|
pub mod editor_canvas_layer_table;
|
|
pub mod editor_canvas_layer_type;
|
|
pub mod editor_canvas_layout_migration_input_type;
|
|
pub mod editor_canvas_layout_migration_procedure_result_type;
|
|
pub mod editor_canvas_layout_migration_snapshot_type;
|
|
pub mod editor_canvas_layout_migration_table;
|
|
pub mod editor_canvas_layout_migration_type;
|
|
pub mod editor_canvas_missing_resource_restore_input_type;
|
|
pub mod editor_canvas_resource_remap_input_type;
|
|
pub mod editor_canvas_resource_repair_input_type;
|
|
pub mod editor_canvas_resource_repair_procedure_result_type;
|
|
pub mod editor_canvas_resource_repair_snapshot_type;
|
|
pub mod editor_canvas_snapshot_type;
|
|
pub mod editor_canvas_table;
|
|
pub mod editor_canvas_type;
|
|
pub mod editor_character_animation_normalization_input_type;
|
|
pub mod editor_character_animation_normalization_procedure_result_type;
|
|
pub mod editor_generation_model_pricing_type;
|
|
pub mod editor_generation_operation_table;
|
|
pub mod editor_generation_operation_type;
|
|
pub mod editor_generation_pricing_config_procedure_result_type;
|
|
pub mod editor_generation_pricing_config_snapshot_type;
|
|
pub mod editor_generation_pricing_config_table;
|
|
pub mod editor_generation_pricing_config_type;
|
|
pub mod editor_generation_pricing_config_upsert_input_type;
|
|
pub mod editor_generation_pricing_tier_type;
|
|
pub mod editor_generation_result_persist_input_type;
|
|
pub mod editor_generation_result_persist_item_input_type;
|
|
pub mod editor_generation_result_persist_result_type;
|
|
pub mod editor_generation_result_persist_status_type;
|
|
pub mod editor_generation_result_persisted_item_type;
|
|
pub mod editor_generation_runtime_identity_rotate_input_type;
|
|
pub mod editor_generation_runtime_identity_rotation_table;
|
|
pub mod editor_generation_runtime_identity_rotation_type;
|
|
pub mod editor_generation_target_preflight_input_type;
|
|
pub mod editor_generation_target_preflight_result_type;
|
|
pub mod editor_idempotent_create_receipt_table;
|
|
pub mod editor_idempotent_create_receipt_type;
|
|
pub mod editor_image_asset_kind_cleanup_input_type;
|
|
pub mod editor_image_asset_kind_cleanup_procedure_result_type;
|
|
pub mod editor_pixel_art_canvas_completion_input_type;
|
|
pub mod editor_pixel_art_canvas_placeholder_input_type;
|
|
pub mod editor_pixel_art_result_persist_input_type;
|
|
pub mod editor_pixel_art_result_persist_result_type;
|
|
pub mod editor_pixel_art_result_persist_status_type;
|
|
pub mod editor_pixel_art_result_preflight_input_type;
|
|
pub mod editor_pixel_art_result_preflight_result_type;
|
|
pub mod editor_project_create_input_type;
|
|
pub mod editor_project_delete_input_type;
|
|
pub mod editor_project_delete_procedure_result_type;
|
|
pub mod editor_project_get_input_type;
|
|
pub mod editor_project_get_recent_input_type;
|
|
pub mod editor_project_layout_save_ack_type;
|
|
pub mod editor_project_layout_save_input_type;
|
|
pub mod editor_project_layout_save_procedure_result_type;
|
|
pub mod editor_project_layout_save_v_2_ack_type;
|
|
pub mod editor_project_layout_save_v_2_input_type;
|
|
pub mod editor_project_layout_save_v_2_procedure_result_type;
|
|
pub mod editor_project_list_input_type;
|
|
pub mod editor_project_list_procedure_result_type;
|
|
pub mod editor_project_procedure_result_type;
|
|
pub mod editor_project_rename_input_type;
|
|
pub mod editor_project_resource_create_input_type;
|
|
pub mod editor_project_resource_list_procedure_result_type;
|
|
pub mod editor_project_resource_media_repair_input_type;
|
|
pub mod editor_project_resource_procedure_result_type;
|
|
pub mod editor_project_resource_public_showcase_list_input_type;
|
|
pub mod editor_project_resource_showcase_update_input_type;
|
|
pub mod editor_project_resource_snapshot_type;
|
|
pub mod editor_project_resource_table;
|
|
pub mod editor_project_resource_type;
|
|
pub mod editor_project_snapshot_type;
|
|
pub mod editor_project_table;
|
|
pub mod editor_project_type;
|
|
pub mod editor_project_viewport_snapshot_type;
|
|
pub mod editor_reference_procedure_result_type;
|
|
pub mod editor_reference_resolve_input_type;
|
|
pub mod editor_showcase_asset_admin_list_input_type;
|
|
pub mod editor_showcase_asset_admin_review_input_type;
|
|
pub mod editor_showcase_asset_display_update_input_type;
|
|
pub mod editor_showcase_asset_like_table;
|
|
pub mod editor_showcase_asset_like_toggle_input_type;
|
|
pub mod editor_showcase_asset_like_type;
|
|
pub mod editor_showcase_asset_list_procedure_result_type;
|
|
pub mod editor_showcase_asset_procedure_result_type;
|
|
pub mod editor_showcase_asset_public_list_input_type;
|
|
pub mod editor_showcase_asset_refund_mark_input_type;
|
|
pub mod editor_showcase_asset_snapshot_type;
|
|
pub mod editor_showcase_asset_submit_input_type;
|
|
pub mod editor_showcase_asset_table;
|
|
pub mod editor_showcase_asset_type;
|
|
pub mod editor_showcase_asset_viewer_list_input_type;
|
|
pub mod editor_showcase_asset_viewer_list_procedure_result_type;
|
|
pub mod editor_showcase_asset_viewer_procedure_result_type;
|
|
pub mod editor_showcase_asset_viewer_snapshot_type;
|
|
pub mod editor_showcase_campaign_config_get_input_type;
|
|
pub mod editor_showcase_campaign_config_procedure_result_type;
|
|
pub mod editor_showcase_campaign_config_snapshot_type;
|
|
pub mod editor_showcase_campaign_config_table;
|
|
pub mod editor_showcase_campaign_config_type;
|
|
pub mod editor_showcase_campaign_config_upsert_input_type;
|
|
pub mod editor_spritesheet_slice_batch_persist_input_type;
|
|
pub mod editor_spritesheet_slice_batch_persist_result_type;
|
|
pub mod editor_spritesheet_slice_persist_item_input_type;
|
|
pub mod editor_spritesheet_slice_persisted_item_type;
|
|
pub mod enqueue_external_generation_job_and_return_procedure;
|
|
pub mod enqueue_profile_wallet_refund_outbox_and_return_procedure;
|
|
pub mod ensure_analytics_date_dimension_for_date_reducer;
|
|
pub mod error_report_create_input_type;
|
|
pub mod error_report_delete_input_type;
|
|
pub mod error_report_get_input_type;
|
|
pub mod error_report_list_input_type;
|
|
pub mod error_report_procedure_result_type;
|
|
pub mod error_report_snapshot_type;
|
|
pub mod error_report_table;
|
|
pub mod error_report_type;
|
|
pub mod error_report_update_input_type;
|
|
pub mod expire_profile_recharge_order_timer_reducer;
|
|
pub mod export_auth_store_projection_from_tables_procedure;
|
|
pub mod export_database_migration_to_file_procedure;
|
|
pub mod external_api_key_authenticate_input_type;
|
|
pub mod external_api_key_create_input_type;
|
|
pub mod external_api_key_list_input_type;
|
|
pub mod external_api_key_procedure_result_type;
|
|
pub mod external_api_key_revoke_input_type;
|
|
pub mod external_api_key_snapshot_type;
|
|
pub mod external_api_key_table;
|
|
pub mod external_api_key_type;
|
|
pub mod external_generation_job_acknowledge_input_type;
|
|
pub mod external_generation_job_claim_input_type;
|
|
pub mod external_generation_job_complete_input_type;
|
|
pub mod external_generation_job_enqueue_input_type;
|
|
pub mod external_generation_job_event_table;
|
|
pub mod external_generation_job_event_type;
|
|
pub mod external_generation_job_fail_input_type;
|
|
pub mod external_generation_job_get_input_type;
|
|
pub mod external_generation_job_list_input_type;
|
|
pub mod external_generation_job_payload_compaction_input_type;
|
|
pub mod external_generation_job_payload_compaction_procedure_result_type;
|
|
pub mod external_generation_job_phase_update_failure_kind_type;
|
|
pub mod external_generation_job_phase_update_input_type;
|
|
pub mod external_generation_job_phase_update_procedure_result_type;
|
|
pub mod external_generation_job_procedure_result_type;
|
|
pub mod external_generation_job_renew_lease_input_type;
|
|
pub mod external_generation_job_result_procedure_result_type;
|
|
pub mod external_generation_job_result_snapshot_type;
|
|
pub mod external_generation_job_retention_input_type;
|
|
pub mod external_generation_job_retention_procedure_result_type;
|
|
pub mod external_generation_job_snapshot_type;
|
|
pub mod external_generation_job_summary_backfill_input_type;
|
|
pub mod external_generation_job_summary_backfill_procedure_result_type;
|
|
pub mod external_generation_job_summary_procedure_result_type;
|
|
pub mod external_generation_job_summary_snapshot_type;
|
|
pub mod external_generation_job_summary_table;
|
|
pub mod external_generation_job_summary_type;
|
|
pub mod external_generation_job_table;
|
|
pub mod external_generation_job_type;
|
|
pub mod external_generation_queue_stats_procedure_result_type;
|
|
pub mod external_generation_queue_stats_snapshot_type;
|
|
pub mod fail_ai_task_and_return_procedure;
|
|
pub mod fail_external_generation_job_and_return_procedure;
|
|
pub mod fail_game_distribution_upload_and_return_procedure;
|
|
pub mod feature_gate_config_admin_upsert_input_type;
|
|
pub mod feature_gate_config_procedure_result_type;
|
|
pub mod feature_gate_config_snapshot_type;
|
|
pub mod feature_gate_config_table;
|
|
pub mod feature_gate_config_type;
|
|
pub mod find_editor_asset_group_source_and_return_procedure;
|
|
pub mod game_distribution_approve_input_type;
|
|
pub mod game_distribution_cancel_version_input_type;
|
|
pub mod game_distribution_confirm_package_input_type;
|
|
pub mod game_distribution_create_game_input_type;
|
|
pub mod game_distribution_create_version_input_type;
|
|
pub mod game_distribution_fail_upload_input_type;
|
|
pub mod game_distribution_game_list_procedure_result_type;
|
|
pub mod game_distribution_game_procedure_result_type;
|
|
pub mod game_distribution_game_snapshot_type;
|
|
pub mod game_distribution_game_table;
|
|
pub mod game_distribution_game_type;
|
|
pub mod game_distribution_get_game_input_type;
|
|
pub mod game_distribution_idempotency_receipt_table;
|
|
pub mod game_distribution_idempotency_receipt_type;
|
|
pub mod game_distribution_owner_game_list_input_type;
|
|
pub mod game_distribution_owner_game_list_procedure_result_type;
|
|
pub mod game_distribution_owner_game_snapshot_type;
|
|
pub mod game_distribution_owner_version_input_type;
|
|
pub mod game_distribution_procedure_result_type;
|
|
pub mod game_distribution_public_game_input_type;
|
|
pub mod game_distribution_public_game_list_input_type;
|
|
pub mod game_distribution_public_game_snapshot_type;
|
|
pub mod game_distribution_reject_input_type;
|
|
pub mod game_distribution_review_list_input_type;
|
|
pub mod game_distribution_submit_review_input_type;
|
|
pub mod game_distribution_suspend_input_type;
|
|
pub mod game_distribution_unpublish_input_type;
|
|
pub mod game_distribution_version_lookup_input_type;
|
|
pub mod game_distribution_version_procedure_result_type;
|
|
pub mod game_distribution_version_snapshot_type;
|
|
pub mod game_distribution_version_table;
|
|
pub mod game_distribution_version_type;
|
|
pub mod get_admin_account_by_id_and_return_procedure;
|
|
pub mod get_admin_account_by_username_and_return_procedure;
|
|
pub mod get_admin_dashboard_stats_and_return_procedure;
|
|
pub mod get_asset_object_by_id_and_return_procedure;
|
|
pub mod get_asset_object_by_location_and_return_procedure;
|
|
pub mod get_asset_read_access_by_location_and_return_procedure;
|
|
pub mod get_editor_agent_conversation_and_return_procedure;
|
|
pub mod get_editor_asset_library_and_return_procedure;
|
|
pub mod get_editor_generation_pricing_config_and_return_procedure;
|
|
pub mod get_editor_project_and_return_procedure;
|
|
pub mod get_editor_showcase_campaign_config_and_return_procedure;
|
|
pub mod get_error_report_and_return_procedure;
|
|
pub mod get_external_generation_job_and_return_procedure;
|
|
pub mod get_external_generation_job_result_and_return_procedure;
|
|
pub mod get_external_generation_job_summary_and_return_procedure;
|
|
pub mod get_external_generation_queue_stats_and_return_procedure;
|
|
pub mod get_feature_gate_config_procedure;
|
|
pub mod get_game_distribution_game_and_return_procedure;
|
|
pub mod get_game_distribution_version_and_return_procedure;
|
|
pub mod get_llm_router_account_and_return_procedure;
|
|
pub mod get_owner_game_distribution_version_and_return_procedure;
|
|
pub mod get_profile_dashboard_procedure;
|
|
pub mod get_profile_recharge_center_procedure;
|
|
pub mod get_profile_recharge_order_and_return_procedure;
|
|
pub mod get_profile_recharge_refund_and_return_procedure;
|
|
pub mod get_profile_recharge_refund_bill_checkpoint_and_return_procedure;
|
|
pub mod get_profile_referral_invite_center_procedure;
|
|
pub mod get_profile_task_center_procedure;
|
|
pub mod get_public_game_distribution_game_and_return_procedure;
|
|
pub mod get_recent_editor_project_and_return_procedure;
|
|
pub mod get_runtime_setting_or_default_procedure;
|
|
pub mod grant_new_user_registration_wallet_reward_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 initialize_editor_generation_pricing_config_if_missing_and_return_procedure;
|
|
pub mod list_admin_accounts_and_return_procedure;
|
|
pub mod list_agc_tracking_events_procedure;
|
|
pub mod list_asset_history_and_return_procedure;
|
|
pub mod list_editor_agent_conversations_and_return_procedure;
|
|
pub mod list_editor_projects_and_return_procedure;
|
|
pub mod list_error_reports_and_return_procedure;
|
|
pub mod list_external_api_keys_and_return_procedure;
|
|
pub mod list_external_generation_job_summaries_and_return_procedure;
|
|
pub mod list_external_generation_jobs_and_return_procedure;
|
|
pub mod list_game_distribution_games_and_return_procedure;
|
|
pub mod list_game_distribution_reviews_and_return_procedure;
|
|
pub mod list_owner_game_distribution_games_and_return_procedure;
|
|
pub mod list_profile_recharge_refund_holds_for_reconciliation_procedure;
|
|
pub mod list_profile_recharge_refunds_for_reconciliation_procedure;
|
|
pub mod list_profile_wallet_ledger_procedure;
|
|
pub mod list_public_editor_project_resources_and_return_procedure;
|
|
pub mod list_public_editor_showcase_assets_and_return_procedure;
|
|
pub mod list_public_editor_showcase_assets_for_viewer_and_return_procedure;
|
|
pub mod list_public_game_distribution_games_and_return_procedure;
|
|
pub mod list_unchecked_expired_profile_recharge_orders_procedure;
|
|
pub mod llm_router_account_get_input_type;
|
|
pub mod llm_router_account_procedure_result_type;
|
|
pub mod llm_router_account_snapshot_type;
|
|
pub mod llm_router_account_table;
|
|
pub mod llm_router_account_type;
|
|
pub mod llm_router_account_upsert_input_type;
|
|
pub mod llm_router_billing_checkpoint_table;
|
|
pub mod llm_router_billing_checkpoint_type;
|
|
pub mod llm_router_quota_settlement_input_type;
|
|
pub mod llm_router_quota_settlement_result_type;
|
|
pub mod mark_editor_showcase_asset_refunded_and_return_procedure;
|
|
pub mod mark_profile_recharge_order_expiration_checked_procedure;
|
|
pub mod mark_profile_recharge_order_paid_and_return_procedure;
|
|
pub mod normalize_editor_character_animation_metadata_and_return_procedure;
|
|
pub mod persist_editor_generation_result_and_return_procedure;
|
|
pub mod persist_editor_pixel_art_result_and_return_procedure;
|
|
pub mod persist_editor_spritesheet_slice_batch_and_return_procedure;
|
|
pub mod preflight_editor_generation_target_and_return_procedure;
|
|
pub mod preflight_editor_pixel_art_result_and_return_procedure;
|
|
pub mod prepare_profile_recharge_refund_hold_and_return_procedure;
|
|
pub mod preview_profile_recharge_refund_hold_and_return_procedure;
|
|
pub mod process_profile_wallet_refund_outbox_and_return_procedure;
|
|
pub mod profile_code_operation_table;
|
|
pub mod profile_code_operation_type;
|
|
pub mod profile_daily_free_points_table;
|
|
pub mod profile_daily_free_points_type;
|
|
pub mod profile_dashboard_state_table;
|
|
pub mod profile_dashboard_state_type;
|
|
pub mod profile_feedback_submission_table;
|
|
pub mod profile_feedback_submission_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_expiration_schedule_table;
|
|
pub mod profile_recharge_order_expiration_schedule_type;
|
|
pub mod profile_recharge_order_expiration_timer_table;
|
|
pub mod profile_recharge_order_expiration_timer_type;
|
|
pub mod profile_recharge_order_refund_settlement_table;
|
|
pub mod profile_recharge_order_refund_settlement_type;
|
|
pub mod profile_recharge_order_table;
|
|
pub mod profile_recharge_order_type;
|
|
pub mod profile_recharge_product_config_table;
|
|
pub mod profile_recharge_product_config_type;
|
|
pub mod profile_recharge_refund_bill_checkpoint_table;
|
|
pub mod profile_recharge_refund_bill_checkpoint_type;
|
|
pub mod profile_recharge_refund_hold_table;
|
|
pub mod profile_recharge_refund_hold_type;
|
|
pub mod profile_recharge_refund_observation_table;
|
|
pub mod profile_recharge_refund_observation_type;
|
|
pub mod profile_recharge_refund_table;
|
|
pub mod profile_recharge_refund_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_config_table;
|
|
pub mod profile_wallet_config_type;
|
|
pub mod profile_wallet_consumption_total_table;
|
|
pub mod profile_wallet_consumption_total_type;
|
|
pub mod profile_wallet_ledger_table;
|
|
pub mod profile_wallet_ledger_type;
|
|
pub mod profile_wallet_manual_restriction_table;
|
|
pub mod profile_wallet_manual_restriction_type;
|
|
pub mod profile_wallet_refund_outbox_table;
|
|
pub mod profile_wallet_refund_outbox_type;
|
|
pub mod prune_external_generation_job_history_and_return_procedure;
|
|
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 put_database_migration_import_chunk_procedure;
|
|
pub mod query_analytics_metric_procedure;
|
|
pub mod read_agc_model_catalog_procedure;
|
|
pub mod record_daily_login_tracking_event_and_return_procedure;
|
|
pub mod record_profile_recharge_refund_observation_and_return_procedure;
|
|
pub mod record_tracking_event_and_return_procedure;
|
|
pub mod record_tracking_events_and_return_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 reject_game_distribution_version_and_return_procedure;
|
|
pub mod release_profile_recharge_refund_hold_and_return_procedure;
|
|
pub mod rename_editor_project_and_return_procedure;
|
|
pub mod renew_external_generation_job_lease_and_return_procedure;
|
|
pub mod repair_editor_asset_media_and_return_procedure;
|
|
pub mod repair_editor_canvas_resources_and_return_procedure;
|
|
pub mod repair_editor_project_resource_media_and_return_procedure;
|
|
pub mod resolve_editor_reference_and_return_procedure;
|
|
pub mod resolve_profile_recharge_refund_manual_review_and_return_procedure;
|
|
pub mod revoke_database_migration_operator_procedure;
|
|
pub mod revoke_external_api_key_and_return_procedure;
|
|
pub mod rollback_editor_canvas_layout_and_return_procedure;
|
|
pub mod rotate_editor_generation_runtime_service_identity_and_return_procedure;
|
|
pub mod runtime_browse_history_theme_mode_type;
|
|
pub mod runtime_platform_theme_type;
|
|
pub mod runtime_profile_admin_wallet_detail_procedure_result_type;
|
|
pub mod runtime_profile_admin_wallet_get_input_type;
|
|
pub mod runtime_profile_admin_wallet_procedure_result_type;
|
|
pub mod runtime_profile_admin_wallet_snapshot_type;
|
|
pub mod runtime_profile_code_operation_snapshot_type;
|
|
pub mod runtime_profile_daily_free_points_snapshot_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_feedback_evidence_snapshot_type;
|
|
pub mod runtime_profile_feedback_status_type;
|
|
pub mod runtime_profile_feedback_submission_input_type;
|
|
pub mod runtime_profile_feedback_submission_procedure_result_type;
|
|
pub mod runtime_profile_feedback_submission_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_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_admin_entry_snapshot_type;
|
|
pub mod runtime_profile_recharge_order_admin_list_input_type;
|
|
pub mod runtime_profile_recharge_order_admin_list_procedure_result_type;
|
|
pub mod runtime_profile_recharge_order_close_input_type;
|
|
pub mod runtime_profile_recharge_order_create_input_type;
|
|
pub mod runtime_profile_recharge_order_expiration_check_input_type;
|
|
pub mod runtime_profile_recharge_order_expiration_check_list_input_type;
|
|
pub mod runtime_profile_recharge_order_expiration_check_list_procedure_result_type;
|
|
pub mod runtime_profile_recharge_order_expiration_check_procedure_result_type;
|
|
pub mod runtime_profile_recharge_order_expiration_claim_input_type;
|
|
pub mod runtime_profile_recharge_order_expiration_claim_procedure_result_type;
|
|
pub mod runtime_profile_recharge_order_expiration_complete_input_type;
|
|
pub mod runtime_profile_recharge_order_expiration_complete_procedure_result_type;
|
|
pub mod runtime_profile_recharge_order_expiration_schedule_snapshot_type;
|
|
pub mod runtime_profile_recharge_order_get_input_type;
|
|
pub mod runtime_profile_recharge_order_paid_input_type;
|
|
pub mod runtime_profile_recharge_order_refund_settlement_snapshot_type;
|
|
pub mod runtime_profile_recharge_order_snapshot_type;
|
|
pub mod runtime_profile_recharge_order_status_type;
|
|
pub mod runtime_profile_recharge_product_admin_list_input_type;
|
|
pub mod runtime_profile_recharge_product_admin_list_procedure_result_type;
|
|
pub mod runtime_profile_recharge_product_admin_procedure_result_type;
|
|
pub mod runtime_profile_recharge_product_admin_upsert_input_type;
|
|
pub mod runtime_profile_recharge_product_config_snapshot_type;
|
|
pub mod runtime_profile_recharge_product_kind_type;
|
|
pub mod runtime_profile_recharge_product_snapshot_type;
|
|
pub mod runtime_profile_recharge_refund_bill_checkpoint_advance_input_type;
|
|
pub mod runtime_profile_recharge_refund_bill_checkpoint_get_input_type;
|
|
pub mod runtime_profile_recharge_refund_bill_checkpoint_procedure_result_type;
|
|
pub mod runtime_profile_recharge_refund_bill_checkpoint_snapshot_type;
|
|
pub mod runtime_profile_recharge_refund_get_input_type;
|
|
pub mod runtime_profile_recharge_refund_hold_list_input_type;
|
|
pub mod runtime_profile_recharge_refund_hold_list_procedure_result_type;
|
|
pub mod runtime_profile_recharge_refund_hold_prepare_input_type;
|
|
pub mod runtime_profile_recharge_refund_hold_preview_input_type;
|
|
pub mod runtime_profile_recharge_refund_hold_procedure_result_type;
|
|
pub mod runtime_profile_recharge_refund_hold_release_input_type;
|
|
pub mod runtime_profile_recharge_refund_hold_snapshot_type;
|
|
pub mod runtime_profile_recharge_refund_hold_status_type;
|
|
pub mod runtime_profile_recharge_refund_list_procedure_result_type;
|
|
pub mod runtime_profile_recharge_refund_manual_review_resolve_input_type;
|
|
pub mod runtime_profile_recharge_refund_observation_input_type;
|
|
pub mod runtime_profile_recharge_refund_observation_source_type;
|
|
pub mod runtime_profile_recharge_refund_procedure_result_type;
|
|
pub mod runtime_profile_recharge_refund_reconciliation_list_input_type;
|
|
pub mod runtime_profile_recharge_refund_recovery_status_type;
|
|
pub mod runtime_profile_recharge_refund_snapshot_type;
|
|
pub mod runtime_profile_recharge_refund_status_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_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_config_admin_get_input_type;
|
|
pub mod runtime_profile_wallet_config_admin_procedure_result_type;
|
|
pub mod runtime_profile_wallet_config_admin_upsert_input_type;
|
|
pub mod runtime_profile_wallet_config_snapshot_type;
|
|
pub mod runtime_profile_wallet_consumption_projection_initialize_input_type;
|
|
pub mod runtime_profile_wallet_consumption_projection_initialize_procedure_result_type;
|
|
pub mod runtime_profile_wallet_consumption_projection_initialize_snapshot_type;
|
|
pub mod runtime_profile_wallet_consumption_reconcile_input_type;
|
|
pub mod runtime_profile_wallet_consumption_reconcile_procedure_result_type;
|
|
pub mod runtime_profile_wallet_consumption_reconcile_snapshot_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_profile_wallet_manual_restriction_snapshot_type;
|
|
pub mod runtime_profile_wallet_manual_restriction_upsert_input_type;
|
|
pub mod runtime_profile_wallet_refund_outbox_enqueue_input_type;
|
|
pub mod runtime_profile_wallet_refund_outbox_procedure_result_type;
|
|
pub mod runtime_profile_wallet_refund_outbox_process_input_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_row_type;
|
|
pub mod runtime_snapshot_table;
|
|
pub mod runtime_tracking_event_batch_procedure_result_type;
|
|
pub mod runtime_tracking_event_input_type;
|
|
pub mod runtime_tracking_event_procedure_result_type;
|
|
pub mod runtime_tracking_scope_kind_type;
|
|
pub mod save_agc_model_catalog_procedure;
|
|
pub mod save_editor_project_layout_ack_procedure;
|
|
pub mod save_editor_project_layout_and_return_procedure;
|
|
pub mod save_editor_project_layout_v_2_ack_procedure;
|
|
pub mod save_editor_project_layout_v_2_and_return_procedure;
|
|
pub mod seed_analytics_date_dimensions_reducer;
|
|
pub mod set_editor_showcase_asset_like_for_viewer_and_return_procedure;
|
|
pub mod settle_llm_router_quota_and_return_procedure;
|
|
pub mod start_ai_task_reducer;
|
|
pub mod start_ai_task_stage_reducer;
|
|
pub mod submit_editor_showcase_asset_and_return_procedure;
|
|
pub mod submit_game_distribution_version_for_review_and_return_procedure;
|
|
pub mod submit_profile_feedback_and_return_procedure;
|
|
pub mod suspend_game_distribution_game_and_return_procedure;
|
|
pub mod sync_auth_store_projection_procedure;
|
|
pub mod touch_editor_agent_conversation_and_return_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 unpublish_game_distribution_game_and_return_procedure;
|
|
pub mod update_admin_account_and_return_procedure;
|
|
pub mod update_editor_asset_and_return_procedure;
|
|
pub mod update_editor_asset_folder_and_return_procedure;
|
|
pub mod update_editor_project_resource_showcase_and_return_procedure;
|
|
pub mod update_editor_showcase_asset_display_and_return_procedure;
|
|
pub mod update_error_report_and_return_procedure;
|
|
pub mod update_external_generation_job_phase_and_return_procedure;
|
|
pub mod upload_agc_analytics_batch_procedure;
|
|
pub mod upsert_editor_generation_pricing_config_and_return_procedure;
|
|
pub mod upsert_editor_showcase_campaign_config_and_return_procedure;
|
|
pub mod upsert_feature_gate_config_procedure;
|
|
pub mod upsert_llm_router_account_and_return_procedure;
|
|
pub mod upsert_runtime_setting_and_return_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 validate_auth_session_procedure;
|
|
|
|
pub use acknowledge_external_generation_job_summaries_and_return_procedure::acknowledge_external_generation_job_summaries_and_return;
|
|
pub use acknowledge_external_generation_jobs_and_return_procedure::acknowledge_external_generation_jobs_and_return;
|
|
pub use activate_editor_canvas_layout_and_return_procedure::activate_editor_canvas_layout_and_return;
|
|
pub use admin_account_create_input_type::AdminAccountCreateInput;
|
|
pub use admin_account_credential_procedure_result_type::AdminAccountCredentialProcedureResult;
|
|
pub use admin_account_credential_snapshot_type::AdminAccountCredentialSnapshot;
|
|
pub use admin_account_get_by_id_input_type::AdminAccountGetByIdInput;
|
|
pub use admin_account_get_by_username_input_type::AdminAccountGetByUsernameInput;
|
|
pub use admin_account_procedure_result_type::AdminAccountProcedureResult;
|
|
pub use admin_account_snapshot_type::AdminAccountSnapshot;
|
|
pub use admin_account_table::*;
|
|
pub use admin_account_type::AdminAccount;
|
|
pub use admin_account_update_input_type::AdminAccountUpdateInput;
|
|
pub use admin_dashboard_breakdown_snapshot_type::AdminDashboardBreakdownSnapshot;
|
|
pub use admin_dashboard_daily_count_snapshot_type::AdminDashboardDailyCountSnapshot;
|
|
pub use admin_dashboard_payment_conversion_snapshot_type::AdminDashboardPaymentConversionSnapshot;
|
|
pub use admin_dashboard_retention_snapshot_type::AdminDashboardRetentionSnapshot;
|
|
pub use admin_dashboard_stats_input_type::AdminDashboardStatsInput;
|
|
pub use admin_dashboard_stats_procedure_result_type::AdminDashboardStatsProcedureResult;
|
|
pub use admin_dashboard_stats_snapshot_type::AdminDashboardStatsSnapshot;
|
|
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_editor_asset_list_input_type::AdminEditorAssetListInput;
|
|
pub use admin_editor_asset_list_procedure_result_type::AdminEditorAssetListProcedureResult;
|
|
pub use admin_editor_asset_snapshot_type::AdminEditorAssetSnapshot;
|
|
pub use admin_get_profile_wallet_and_return_procedure::admin_get_profile_wallet_and_return;
|
|
pub use admin_get_profile_wallet_config_procedure::admin_get_profile_wallet_config;
|
|
pub use admin_get_profile_wallet_detail_and_return_procedure::admin_get_profile_wallet_detail_and_return;
|
|
pub use admin_initialize_profile_wallet_consumption_projections_and_return_procedure::admin_initialize_profile_wallet_consumption_projections_and_return;
|
|
pub use admin_list_editor_assets_and_return_procedure::admin_list_editor_assets_and_return;
|
|
pub use admin_list_editor_showcase_assets_and_return_procedure::admin_list_editor_showcase_assets_and_return;
|
|
pub use admin_list_profile_invite_codes_procedure::admin_list_profile_invite_codes;
|
|
pub use admin_list_profile_recharge_orders_and_return_procedure::admin_list_profile_recharge_orders_and_return;
|
|
pub use admin_list_profile_recharge_products_procedure::admin_list_profile_recharge_products;
|
|
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_reconcile_profile_wallet_consumption_and_return_procedure::admin_reconcile_profile_wallet_consumption_and_return;
|
|
pub use admin_review_editor_showcase_asset_and_return_procedure::admin_review_editor_showcase_asset_and_return;
|
|
pub use admin_upsert_profile_invite_code_procedure::admin_upsert_profile_invite_code;
|
|
pub use admin_upsert_profile_recharge_product_procedure::admin_upsert_profile_recharge_product;
|
|
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 admin_upsert_profile_wallet_config_procedure::admin_upsert_profile_wallet_config;
|
|
pub use admin_upsert_profile_wallet_manual_restriction_and_return_procedure::admin_upsert_profile_wallet_manual_restriction_and_return;
|
|
pub use advance_profile_recharge_refund_bill_checkpoint_and_return_procedure::advance_profile_recharge_refund_bill_checkpoint_and_return;
|
|
pub use agc_model_catalog_row_type::AgcModelCatalogRow;
|
|
pub use agc_model_catalog_table::*;
|
|
pub use agc_tracking_event_table::*;
|
|
pub use agc_tracking_event_type::AgcTrackingEvent;
|
|
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 approve_game_distribution_version_and_return_procedure::approve_game_distribution_version_and_return;
|
|
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_location_input_type::AssetObjectLocationInput;
|
|
pub use asset_object_procedure_result_type::AssetObjectProcedureResult;
|
|
pub use asset_object_read_access_procedure_result_type::AssetObjectReadAccessProcedureResult;
|
|
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 asset_operation_wallet_settlement_table::*;
|
|
pub use asset_operation_wallet_settlement_type::AssetOperationWalletSettlement;
|
|
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_session_validation_input_type::AuthSessionValidationInput;
|
|
pub use auth_session_validation_procedure_result_type::AuthSessionValidationProcedureResult;
|
|
pub use auth_store_projection_identity_type::AuthStoreProjectionIdentity;
|
|
pub use auth_store_projection_meta_table::*;
|
|
pub use auth_store_projection_meta_type::AuthStoreProjectionMeta;
|
|
pub use auth_store_projection_phone_code_type::AuthStoreProjectionPhoneCode;
|
|
pub use auth_store_projection_procedure_result_type::AuthStoreProjectionProcedureResult;
|
|
pub use auth_store_projection_refresh_session_type::AuthStoreProjectionRefreshSession;
|
|
pub use auth_store_projection_sync_procedure_result_type::AuthStoreProjectionSyncProcedureResult;
|
|
pub use auth_store_projection_sync_record_type::AuthStoreProjectionSyncRecord;
|
|
pub use auth_store_projection_user_type::AuthStoreProjectionUser;
|
|
pub use auth_store_projection_view_type::AuthStoreProjectionView;
|
|
pub use auth_store_projection_wechat_state_type::AuthStoreProjectionWechatState;
|
|
pub use authenticate_external_api_key_and_return_procedure::authenticate_external_api_key_and_return;
|
|
pub use authorize_database_migration_operator_procedure::authorize_database_migration_operator;
|
|
pub use backfill_editor_canvas_layout_and_return_procedure::backfill_editor_canvas_layout_and_return;
|
|
pub use backfill_external_generation_job_summaries_and_return_procedure::backfill_external_generation_job_summaries_and_return;
|
|
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 cancel_game_distribution_version_and_return_procedure::cancel_game_distribution_version_and_return;
|
|
pub use claim_external_generation_jobs_and_return_procedure::claim_external_generation_jobs_and_return;
|
|
pub use claim_profile_recharge_order_expiration_schedule_and_return_procedure::claim_profile_recharge_order_expiration_schedule_and_return;
|
|
pub use claim_profile_task_reward_and_return_procedure::claim_profile_task_reward_and_return;
|
|
pub use clean_editor_image_asset_kind_and_return_procedure::clean_editor_image_asset_kind_and_return;
|
|
pub use clear_database_migration_import_chunks_procedure::clear_database_migration_import_chunks;
|
|
pub use close_profile_recharge_order_and_return_procedure::close_profile_recharge_order_and_return;
|
|
pub use compact_external_generation_job_payloads_and_return_procedure::compact_external_generation_job_payloads_and_return;
|
|
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 complete_editor_asset_group_cohort_and_return_procedure::complete_editor_asset_group_cohort_and_return;
|
|
pub use complete_external_generation_job_and_return_procedure::complete_external_generation_job_and_return;
|
|
pub use complete_profile_recharge_order_expiration_schedule_and_return_procedure::complete_profile_recharge_order_expiration_schedule_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 confirm_game_distribution_package_and_return_procedure::confirm_game_distribution_package_and_return;
|
|
pub use consume_profile_wallet_points_and_return_procedure::consume_profile_wallet_points_and_return;
|
|
pub use create_admin_account_and_return_procedure::create_admin_account_and_return;
|
|
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_editor_agent_conversation_and_return_procedure::create_editor_agent_conversation_and_return;
|
|
pub use create_editor_asset_and_return_procedure::create_editor_asset_and_return;
|
|
pub use create_editor_asset_folder_and_return_procedure::create_editor_asset_folder_and_return;
|
|
pub use create_editor_project_and_return_procedure::create_editor_project_and_return;
|
|
pub use create_editor_project_resource_and_return_procedure::create_editor_project_resource_and_return;
|
|
pub use create_error_report_and_return_procedure::create_error_report_and_return;
|
|
pub use create_external_api_key_and_return_procedure::create_external_api_key_and_return;
|
|
pub use create_game_distribution_game_and_return_procedure::create_game_distribution_game_and_return;
|
|
pub use create_game_distribution_version_and_return_procedure::create_game_distribution_version_and_return;
|
|
pub use create_profile_recharge_order_and_return_procedure::create_profile_recharge_order_and_return;
|
|
pub use creation_entry_config_table::*;
|
|
pub use creation_entry_config_type::CreationEntryConfig;
|
|
pub use creation_entry_type_config_table::*;
|
|
pub use creation_entry_type_config_type::CreationEntryTypeConfig;
|
|
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_editor_agent_conversation_and_return_procedure::delete_editor_agent_conversation_and_return;
|
|
pub use delete_editor_asset_and_return_procedure::delete_editor_asset_and_return;
|
|
pub use delete_editor_asset_folder_and_return_procedure::delete_editor_asset_folder_and_return;
|
|
pub use delete_editor_project_and_return_procedure::delete_editor_project_and_return;
|
|
pub use delete_error_report_and_return_procedure::delete_error_report_and_return;
|
|
pub use editor_agent_conversation_create_input_type::EditorAgentConversationCreateInput;
|
|
pub use editor_agent_conversation_delete_input_type::EditorAgentConversationDeleteInput;
|
|
pub use editor_agent_conversation_get_input_type::EditorAgentConversationGetInput;
|
|
pub use editor_agent_conversation_list_input_type::EditorAgentConversationListInput;
|
|
pub use editor_agent_conversation_list_procedure_result_type::EditorAgentConversationListProcedureResult;
|
|
pub use editor_agent_conversation_procedure_result_type::EditorAgentConversationProcedureResult;
|
|
pub use editor_agent_conversation_snapshot_type::EditorAgentConversationSnapshot;
|
|
pub use editor_agent_conversation_table::*;
|
|
pub use editor_agent_conversation_touch_input_type::EditorAgentConversationTouchInput;
|
|
pub use editor_agent_conversation_type::EditorAgentConversation;
|
|
pub use editor_asset_create_input_type::EditorAssetCreateInput;
|
|
pub use editor_asset_delete_input_type::EditorAssetDeleteInput;
|
|
pub use editor_asset_folder_create_input_type::EditorAssetFolderCreateInput;
|
|
pub use editor_asset_folder_delete_input_type::EditorAssetFolderDeleteInput;
|
|
pub use editor_asset_folder_procedure_result_type::EditorAssetFolderProcedureResult;
|
|
pub use editor_asset_folder_snapshot_type::EditorAssetFolderSnapshot;
|
|
pub use editor_asset_folder_table::*;
|
|
pub use editor_asset_folder_type::EditorAssetFolder;
|
|
pub use editor_asset_folder_update_input_type::EditorAssetFolderUpdateInput;
|
|
pub use editor_asset_group_cohort_complete_input_type::EditorAssetGroupCohortCompleteInput;
|
|
pub use editor_asset_group_cohort_table::*;
|
|
pub use editor_asset_group_cohort_type::EditorAssetGroupCohort;
|
|
pub use editor_asset_group_source_lookup_input_type::EditorAssetGroupSourceLookupInput;
|
|
pub use editor_asset_group_source_provenance_table::*;
|
|
pub use editor_asset_group_source_provenance_type::EditorAssetGroupSourceProvenance;
|
|
pub use editor_asset_library_get_input_type::EditorAssetLibraryGetInput;
|
|
pub use editor_asset_library_procedure_result_type::EditorAssetLibraryProcedureResult;
|
|
pub use editor_asset_library_snapshot_type::EditorAssetLibrarySnapshot;
|
|
pub use editor_asset_media_repair_input_type::EditorAssetMediaRepairInput;
|
|
pub use editor_asset_procedure_result_type::EditorAssetProcedureResult;
|
|
pub use editor_asset_snapshot_type::EditorAssetSnapshot;
|
|
pub use editor_asset_table::*;
|
|
pub use editor_asset_type::EditorAsset;
|
|
pub use editor_asset_update_input_type::EditorAssetUpdateInput;
|
|
pub use editor_canvas_generation_dialog_table::*;
|
|
pub use editor_canvas_generation_dialog_type::EditorCanvasGenerationDialog;
|
|
pub use editor_canvas_layer_table::*;
|
|
pub use editor_canvas_layer_type::EditorCanvasLayer;
|
|
pub use editor_canvas_layout_migration_input_type::EditorCanvasLayoutMigrationInput;
|
|
pub use editor_canvas_layout_migration_procedure_result_type::EditorCanvasLayoutMigrationProcedureResult;
|
|
pub use editor_canvas_layout_migration_snapshot_type::EditorCanvasLayoutMigrationSnapshot;
|
|
pub use editor_canvas_layout_migration_table::*;
|
|
pub use editor_canvas_layout_migration_type::EditorCanvasLayoutMigration;
|
|
pub use editor_canvas_missing_resource_restore_input_type::EditorCanvasMissingResourceRestoreInput;
|
|
pub use editor_canvas_resource_remap_input_type::EditorCanvasResourceRemapInput;
|
|
pub use editor_canvas_resource_repair_input_type::EditorCanvasResourceRepairInput;
|
|
pub use editor_canvas_resource_repair_procedure_result_type::EditorCanvasResourceRepairProcedureResult;
|
|
pub use editor_canvas_resource_repair_snapshot_type::EditorCanvasResourceRepairSnapshot;
|
|
pub use editor_canvas_snapshot_type::EditorCanvasSnapshot;
|
|
pub use editor_canvas_table::*;
|
|
pub use editor_canvas_type::EditorCanvas;
|
|
pub use editor_character_animation_normalization_input_type::EditorCharacterAnimationNormalizationInput;
|
|
pub use editor_character_animation_normalization_procedure_result_type::EditorCharacterAnimationNormalizationProcedureResult;
|
|
pub use editor_generation_model_pricing_type::EditorGenerationModelPricing;
|
|
pub use editor_generation_operation_table::*;
|
|
pub use editor_generation_operation_type::EditorGenerationOperation;
|
|
pub use editor_generation_pricing_config_procedure_result_type::EditorGenerationPricingConfigProcedureResult;
|
|
pub use editor_generation_pricing_config_snapshot_type::EditorGenerationPricingConfigSnapshot;
|
|
pub use editor_generation_pricing_config_table::*;
|
|
pub use editor_generation_pricing_config_type::EditorGenerationPricingConfig;
|
|
pub use editor_generation_pricing_config_upsert_input_type::EditorGenerationPricingConfigUpsertInput;
|
|
pub use editor_generation_pricing_tier_type::EditorGenerationPricingTier;
|
|
pub use editor_generation_result_persist_input_type::EditorGenerationResultPersistInput;
|
|
pub use editor_generation_result_persist_item_input_type::EditorGenerationResultPersistItemInput;
|
|
pub use editor_generation_result_persist_result_type::EditorGenerationResultPersistResult;
|
|
pub use editor_generation_result_persist_status_type::EditorGenerationResultPersistStatus;
|
|
pub use editor_generation_result_persisted_item_type::EditorGenerationResultPersistedItem;
|
|
pub use editor_generation_runtime_identity_rotate_input_type::EditorGenerationRuntimeIdentityRotateInput;
|
|
pub use editor_generation_runtime_identity_rotation_table::*;
|
|
pub use editor_generation_runtime_identity_rotation_type::EditorGenerationRuntimeIdentityRotation;
|
|
pub use editor_generation_target_preflight_input_type::EditorGenerationTargetPreflightInput;
|
|
pub use editor_generation_target_preflight_result_type::EditorGenerationTargetPreflightResult;
|
|
pub use editor_idempotent_create_receipt_table::*;
|
|
pub use editor_idempotent_create_receipt_type::EditorIdempotentCreateReceipt;
|
|
pub use editor_image_asset_kind_cleanup_input_type::EditorImageAssetKindCleanupInput;
|
|
pub use editor_image_asset_kind_cleanup_procedure_result_type::EditorImageAssetKindCleanupProcedureResult;
|
|
pub use editor_pixel_art_canvas_completion_input_type::EditorPixelArtCanvasCompletionInput;
|
|
pub use editor_pixel_art_canvas_placeholder_input_type::EditorPixelArtCanvasPlaceholderInput;
|
|
pub use editor_pixel_art_result_persist_input_type::EditorPixelArtResultPersistInput;
|
|
pub use editor_pixel_art_result_persist_result_type::EditorPixelArtResultPersistResult;
|
|
pub use editor_pixel_art_result_persist_status_type::EditorPixelArtResultPersistStatus;
|
|
pub use editor_pixel_art_result_preflight_input_type::EditorPixelArtResultPreflightInput;
|
|
pub use editor_pixel_art_result_preflight_result_type::EditorPixelArtResultPreflightResult;
|
|
pub use editor_project_create_input_type::EditorProjectCreateInput;
|
|
pub use editor_project_delete_input_type::EditorProjectDeleteInput;
|
|
pub use editor_project_delete_procedure_result_type::EditorProjectDeleteProcedureResult;
|
|
pub use editor_project_get_input_type::EditorProjectGetInput;
|
|
pub use editor_project_get_recent_input_type::EditorProjectGetRecentInput;
|
|
pub use editor_project_layout_save_ack_type::EditorProjectLayoutSaveAck;
|
|
pub use editor_project_layout_save_input_type::EditorProjectLayoutSaveInput;
|
|
pub use editor_project_layout_save_procedure_result_type::EditorProjectLayoutSaveProcedureResult;
|
|
pub use editor_project_layout_save_v_2_ack_type::EditorProjectLayoutSaveV2Ack;
|
|
pub use editor_project_layout_save_v_2_input_type::EditorProjectLayoutSaveV2Input;
|
|
pub use editor_project_layout_save_v_2_procedure_result_type::EditorProjectLayoutSaveV2ProcedureResult;
|
|
pub use editor_project_list_input_type::EditorProjectListInput;
|
|
pub use editor_project_list_procedure_result_type::EditorProjectListProcedureResult;
|
|
pub use editor_project_procedure_result_type::EditorProjectProcedureResult;
|
|
pub use editor_project_rename_input_type::EditorProjectRenameInput;
|
|
pub use editor_project_resource_create_input_type::EditorProjectResourceCreateInput;
|
|
pub use editor_project_resource_list_procedure_result_type::EditorProjectResourceListProcedureResult;
|
|
pub use editor_project_resource_media_repair_input_type::EditorProjectResourceMediaRepairInput;
|
|
pub use editor_project_resource_procedure_result_type::EditorProjectResourceProcedureResult;
|
|
pub use editor_project_resource_public_showcase_list_input_type::EditorProjectResourcePublicShowcaseListInput;
|
|
pub use editor_project_resource_showcase_update_input_type::EditorProjectResourceShowcaseUpdateInput;
|
|
pub use editor_project_resource_snapshot_type::EditorProjectResourceSnapshot;
|
|
pub use editor_project_resource_table::*;
|
|
pub use editor_project_resource_type::EditorProjectResource;
|
|
pub use editor_project_snapshot_type::EditorProjectSnapshot;
|
|
pub use editor_project_table::*;
|
|
pub use editor_project_type::EditorProject;
|
|
pub use editor_project_viewport_snapshot_type::EditorProjectViewportSnapshot;
|
|
pub use editor_reference_procedure_result_type::EditorReferenceProcedureResult;
|
|
pub use editor_reference_resolve_input_type::EditorReferenceResolveInput;
|
|
pub use editor_showcase_asset_admin_list_input_type::EditorShowcaseAssetAdminListInput;
|
|
pub use editor_showcase_asset_admin_review_input_type::EditorShowcaseAssetAdminReviewInput;
|
|
pub use editor_showcase_asset_display_update_input_type::EditorShowcaseAssetDisplayUpdateInput;
|
|
pub use editor_showcase_asset_like_table::*;
|
|
pub use editor_showcase_asset_like_toggle_input_type::EditorShowcaseAssetLikeToggleInput;
|
|
pub use editor_showcase_asset_like_type::EditorShowcaseAssetLike;
|
|
pub use editor_showcase_asset_list_procedure_result_type::EditorShowcaseAssetListProcedureResult;
|
|
pub use editor_showcase_asset_procedure_result_type::EditorShowcaseAssetProcedureResult;
|
|
pub use editor_showcase_asset_public_list_input_type::EditorShowcaseAssetPublicListInput;
|
|
pub use editor_showcase_asset_refund_mark_input_type::EditorShowcaseAssetRefundMarkInput;
|
|
pub use editor_showcase_asset_snapshot_type::EditorShowcaseAssetSnapshot;
|
|
pub use editor_showcase_asset_submit_input_type::EditorShowcaseAssetSubmitInput;
|
|
pub use editor_showcase_asset_table::*;
|
|
pub use editor_showcase_asset_type::EditorShowcaseAsset;
|
|
pub use editor_showcase_asset_viewer_list_input_type::EditorShowcaseAssetViewerListInput;
|
|
pub use editor_showcase_asset_viewer_list_procedure_result_type::EditorShowcaseAssetViewerListProcedureResult;
|
|
pub use editor_showcase_asset_viewer_procedure_result_type::EditorShowcaseAssetViewerProcedureResult;
|
|
pub use editor_showcase_asset_viewer_snapshot_type::EditorShowcaseAssetViewerSnapshot;
|
|
pub use editor_showcase_campaign_config_get_input_type::EditorShowcaseCampaignConfigGetInput;
|
|
pub use editor_showcase_campaign_config_procedure_result_type::EditorShowcaseCampaignConfigProcedureResult;
|
|
pub use editor_showcase_campaign_config_snapshot_type::EditorShowcaseCampaignConfigSnapshot;
|
|
pub use editor_showcase_campaign_config_table::*;
|
|
pub use editor_showcase_campaign_config_type::EditorShowcaseCampaignConfig;
|
|
pub use editor_showcase_campaign_config_upsert_input_type::EditorShowcaseCampaignConfigUpsertInput;
|
|
pub use editor_spritesheet_slice_batch_persist_input_type::EditorSpritesheetSliceBatchPersistInput;
|
|
pub use editor_spritesheet_slice_batch_persist_result_type::EditorSpritesheetSliceBatchPersistResult;
|
|
pub use editor_spritesheet_slice_persist_item_input_type::EditorSpritesheetSlicePersistItemInput;
|
|
pub use editor_spritesheet_slice_persisted_item_type::EditorSpritesheetSlicePersistedItem;
|
|
pub use enqueue_external_generation_job_and_return_procedure::enqueue_external_generation_job_and_return;
|
|
pub use enqueue_profile_wallet_refund_outbox_and_return_procedure::enqueue_profile_wallet_refund_outbox_and_return;
|
|
pub use ensure_analytics_date_dimension_for_date_reducer::ensure_analytics_date_dimension_for_date;
|
|
pub use error_report_create_input_type::ErrorReportCreateInput;
|
|
pub use error_report_delete_input_type::ErrorReportDeleteInput;
|
|
pub use error_report_get_input_type::ErrorReportGetInput;
|
|
pub use error_report_list_input_type::ErrorReportListInput;
|
|
pub use error_report_procedure_result_type::ErrorReportProcedureResult;
|
|
pub use error_report_snapshot_type::ErrorReportSnapshot;
|
|
pub use error_report_table::*;
|
|
pub use error_report_type::ErrorReport;
|
|
pub use error_report_update_input_type::ErrorReportUpdateInput;
|
|
pub use expire_profile_recharge_order_timer_reducer::expire_profile_recharge_order_timer;
|
|
pub use export_auth_store_projection_from_tables_procedure::export_auth_store_projection_from_tables;
|
|
pub use export_database_migration_to_file_procedure::export_database_migration_to_file;
|
|
pub use external_api_key_authenticate_input_type::ExternalApiKeyAuthenticateInput;
|
|
pub use external_api_key_create_input_type::ExternalApiKeyCreateInput;
|
|
pub use external_api_key_list_input_type::ExternalApiKeyListInput;
|
|
pub use external_api_key_procedure_result_type::ExternalApiKeyProcedureResult;
|
|
pub use external_api_key_revoke_input_type::ExternalApiKeyRevokeInput;
|
|
pub use external_api_key_snapshot_type::ExternalApiKeySnapshot;
|
|
pub use external_api_key_table::*;
|
|
pub use external_api_key_type::ExternalApiKey;
|
|
pub use external_generation_job_acknowledge_input_type::ExternalGenerationJobAcknowledgeInput;
|
|
pub use external_generation_job_claim_input_type::ExternalGenerationJobClaimInput;
|
|
pub use external_generation_job_complete_input_type::ExternalGenerationJobCompleteInput;
|
|
pub use external_generation_job_enqueue_input_type::ExternalGenerationJobEnqueueInput;
|
|
pub use external_generation_job_event_table::*;
|
|
pub use external_generation_job_event_type::ExternalGenerationJobEvent;
|
|
pub use external_generation_job_fail_input_type::ExternalGenerationJobFailInput;
|
|
pub use external_generation_job_get_input_type::ExternalGenerationJobGetInput;
|
|
pub use external_generation_job_list_input_type::ExternalGenerationJobListInput;
|
|
pub use external_generation_job_payload_compaction_input_type::ExternalGenerationJobPayloadCompactionInput;
|
|
pub use external_generation_job_payload_compaction_procedure_result_type::ExternalGenerationJobPayloadCompactionProcedureResult;
|
|
pub use external_generation_job_phase_update_failure_kind_type::ExternalGenerationJobPhaseUpdateFailureKind;
|
|
pub use external_generation_job_phase_update_input_type::ExternalGenerationJobPhaseUpdateInput;
|
|
pub use external_generation_job_phase_update_procedure_result_type::ExternalGenerationJobPhaseUpdateProcedureResult;
|
|
pub use external_generation_job_procedure_result_type::ExternalGenerationJobProcedureResult;
|
|
pub use external_generation_job_renew_lease_input_type::ExternalGenerationJobRenewLeaseInput;
|
|
pub use external_generation_job_result_procedure_result_type::ExternalGenerationJobResultProcedureResult;
|
|
pub use external_generation_job_result_snapshot_type::ExternalGenerationJobResultSnapshot;
|
|
pub use external_generation_job_retention_input_type::ExternalGenerationJobRetentionInput;
|
|
pub use external_generation_job_retention_procedure_result_type::ExternalGenerationJobRetentionProcedureResult;
|
|
pub use external_generation_job_snapshot_type::ExternalGenerationJobSnapshot;
|
|
pub use external_generation_job_summary_backfill_input_type::ExternalGenerationJobSummaryBackfillInput;
|
|
pub use external_generation_job_summary_backfill_procedure_result_type::ExternalGenerationJobSummaryBackfillProcedureResult;
|
|
pub use external_generation_job_summary_procedure_result_type::ExternalGenerationJobSummaryProcedureResult;
|
|
pub use external_generation_job_summary_snapshot_type::ExternalGenerationJobSummarySnapshot;
|
|
pub use external_generation_job_summary_table::*;
|
|
pub use external_generation_job_summary_type::ExternalGenerationJobSummary;
|
|
pub use external_generation_job_table::*;
|
|
pub use external_generation_job_type::ExternalGenerationJob;
|
|
pub use external_generation_queue_stats_procedure_result_type::ExternalGenerationQueueStatsProcedureResult;
|
|
pub use external_generation_queue_stats_snapshot_type::ExternalGenerationQueueStatsSnapshot;
|
|
pub use fail_ai_task_and_return_procedure::fail_ai_task_and_return;
|
|
pub use fail_external_generation_job_and_return_procedure::fail_external_generation_job_and_return;
|
|
pub use fail_game_distribution_upload_and_return_procedure::fail_game_distribution_upload_and_return;
|
|
pub use feature_gate_config_admin_upsert_input_type::FeatureGateConfigAdminUpsertInput;
|
|
pub use feature_gate_config_procedure_result_type::FeatureGateConfigProcedureResult;
|
|
pub use feature_gate_config_snapshot_type::FeatureGateConfigSnapshot;
|
|
pub use feature_gate_config_table::*;
|
|
pub use feature_gate_config_type::FeatureGateConfig;
|
|
pub use find_editor_asset_group_source_and_return_procedure::find_editor_asset_group_source_and_return;
|
|
pub use game_distribution_approve_input_type::GameDistributionApproveInput;
|
|
pub use game_distribution_cancel_version_input_type::GameDistributionCancelVersionInput;
|
|
pub use game_distribution_confirm_package_input_type::GameDistributionConfirmPackageInput;
|
|
pub use game_distribution_create_game_input_type::GameDistributionCreateGameInput;
|
|
pub use game_distribution_create_version_input_type::GameDistributionCreateVersionInput;
|
|
pub use game_distribution_fail_upload_input_type::GameDistributionFailUploadInput;
|
|
pub use game_distribution_game_list_procedure_result_type::GameDistributionGameListProcedureResult;
|
|
pub use game_distribution_game_procedure_result_type::GameDistributionGameProcedureResult;
|
|
pub use game_distribution_game_snapshot_type::GameDistributionGameSnapshot;
|
|
pub use game_distribution_game_table::*;
|
|
pub use game_distribution_game_type::GameDistributionGame;
|
|
pub use game_distribution_get_game_input_type::GameDistributionGetGameInput;
|
|
pub use game_distribution_idempotency_receipt_table::*;
|
|
pub use game_distribution_idempotency_receipt_type::GameDistributionIdempotencyReceipt;
|
|
pub use game_distribution_owner_game_list_input_type::GameDistributionOwnerGameListInput;
|
|
pub use game_distribution_owner_game_list_procedure_result_type::GameDistributionOwnerGameListProcedureResult;
|
|
pub use game_distribution_owner_game_snapshot_type::GameDistributionOwnerGameSnapshot;
|
|
pub use game_distribution_owner_version_input_type::GameDistributionOwnerVersionInput;
|
|
pub use game_distribution_procedure_result_type::GameDistributionProcedureResult;
|
|
pub use game_distribution_public_game_input_type::GameDistributionPublicGameInput;
|
|
pub use game_distribution_public_game_list_input_type::GameDistributionPublicGameListInput;
|
|
pub use game_distribution_public_game_snapshot_type::GameDistributionPublicGameSnapshot;
|
|
pub use game_distribution_reject_input_type::GameDistributionRejectInput;
|
|
pub use game_distribution_review_list_input_type::GameDistributionReviewListInput;
|
|
pub use game_distribution_submit_review_input_type::GameDistributionSubmitReviewInput;
|
|
pub use game_distribution_suspend_input_type::GameDistributionSuspendInput;
|
|
pub use game_distribution_unpublish_input_type::GameDistributionUnpublishInput;
|
|
pub use game_distribution_version_lookup_input_type::GameDistributionVersionLookupInput;
|
|
pub use game_distribution_version_procedure_result_type::GameDistributionVersionProcedureResult;
|
|
pub use game_distribution_version_snapshot_type::GameDistributionVersionSnapshot;
|
|
pub use game_distribution_version_table::*;
|
|
pub use game_distribution_version_type::GameDistributionVersion;
|
|
pub use get_admin_account_by_id_and_return_procedure::get_admin_account_by_id_and_return;
|
|
pub use get_admin_account_by_username_and_return_procedure::get_admin_account_by_username_and_return;
|
|
pub use get_admin_dashboard_stats_and_return_procedure::get_admin_dashboard_stats_and_return;
|
|
pub use get_asset_object_by_id_and_return_procedure::get_asset_object_by_id_and_return;
|
|
pub use get_asset_object_by_location_and_return_procedure::get_asset_object_by_location_and_return;
|
|
pub use get_asset_read_access_by_location_and_return_procedure::get_asset_read_access_by_location_and_return;
|
|
pub use get_editor_agent_conversation_and_return_procedure::get_editor_agent_conversation_and_return;
|
|
pub use get_editor_asset_library_and_return_procedure::get_editor_asset_library_and_return;
|
|
pub use get_editor_generation_pricing_config_and_return_procedure::get_editor_generation_pricing_config_and_return;
|
|
pub use get_editor_project_and_return_procedure::get_editor_project_and_return;
|
|
pub use get_editor_showcase_campaign_config_and_return_procedure::get_editor_showcase_campaign_config_and_return;
|
|
pub use get_error_report_and_return_procedure::get_error_report_and_return;
|
|
pub use get_external_generation_job_and_return_procedure::get_external_generation_job_and_return;
|
|
pub use get_external_generation_job_result_and_return_procedure::get_external_generation_job_result_and_return;
|
|
pub use get_external_generation_job_summary_and_return_procedure::get_external_generation_job_summary_and_return;
|
|
pub use get_external_generation_queue_stats_and_return_procedure::get_external_generation_queue_stats_and_return;
|
|
pub use get_feature_gate_config_procedure::get_feature_gate_config;
|
|
pub use get_game_distribution_game_and_return_procedure::get_game_distribution_game_and_return;
|
|
pub use get_game_distribution_version_and_return_procedure::get_game_distribution_version_and_return;
|
|
pub use get_llm_router_account_and_return_procedure::get_llm_router_account_and_return;
|
|
pub use get_owner_game_distribution_version_and_return_procedure::get_owner_game_distribution_version_and_return;
|
|
pub use get_profile_dashboard_procedure::get_profile_dashboard;
|
|
pub use get_profile_recharge_center_procedure::get_profile_recharge_center;
|
|
pub use get_profile_recharge_order_and_return_procedure::get_profile_recharge_order_and_return;
|
|
pub use get_profile_recharge_refund_and_return_procedure::get_profile_recharge_refund_and_return;
|
|
pub use get_profile_recharge_refund_bill_checkpoint_and_return_procedure::get_profile_recharge_refund_bill_checkpoint_and_return;
|
|
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_public_game_distribution_game_and_return_procedure::get_public_game_distribution_game_and_return;
|
|
pub use get_recent_editor_project_and_return_procedure::get_recent_editor_project_and_return;
|
|
pub use get_runtime_setting_or_default_procedure::get_runtime_setting_or_default;
|
|
pub use grant_new_user_registration_wallet_reward_procedure::grant_new_user_registration_wallet_reward;
|
|
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 initialize_editor_generation_pricing_config_if_missing_and_return_procedure::initialize_editor_generation_pricing_config_if_missing_and_return;
|
|
pub use list_admin_accounts_and_return_procedure::list_admin_accounts_and_return;
|
|
pub use list_agc_tracking_events_procedure::list_agc_tracking_events;
|
|
pub use list_asset_history_and_return_procedure::list_asset_history_and_return;
|
|
pub use list_editor_agent_conversations_and_return_procedure::list_editor_agent_conversations_and_return;
|
|
pub use list_editor_projects_and_return_procedure::list_editor_projects_and_return;
|
|
pub use list_error_reports_and_return_procedure::list_error_reports_and_return;
|
|
pub use list_external_api_keys_and_return_procedure::list_external_api_keys_and_return;
|
|
pub use list_external_generation_job_summaries_and_return_procedure::list_external_generation_job_summaries_and_return;
|
|
pub use list_external_generation_jobs_and_return_procedure::list_external_generation_jobs_and_return;
|
|
pub use list_game_distribution_games_and_return_procedure::list_game_distribution_games_and_return;
|
|
pub use list_game_distribution_reviews_and_return_procedure::list_game_distribution_reviews_and_return;
|
|
pub use list_owner_game_distribution_games_and_return_procedure::list_owner_game_distribution_games_and_return;
|
|
pub use list_profile_recharge_refund_holds_for_reconciliation_procedure::list_profile_recharge_refund_holds_for_reconciliation;
|
|
pub use list_profile_recharge_refunds_for_reconciliation_procedure::list_profile_recharge_refunds_for_reconciliation;
|
|
pub use list_profile_wallet_ledger_procedure::list_profile_wallet_ledger;
|
|
pub use list_public_editor_project_resources_and_return_procedure::list_public_editor_project_resources_and_return;
|
|
pub use list_public_editor_showcase_assets_and_return_procedure::list_public_editor_showcase_assets_and_return;
|
|
pub use list_public_editor_showcase_assets_for_viewer_and_return_procedure::list_public_editor_showcase_assets_for_viewer_and_return;
|
|
pub use list_public_game_distribution_games_and_return_procedure::list_public_game_distribution_games_and_return;
|
|
pub use list_unchecked_expired_profile_recharge_orders_procedure::list_unchecked_expired_profile_recharge_orders;
|
|
pub use llm_router_account_get_input_type::LlmRouterAccountGetInput;
|
|
pub use llm_router_account_procedure_result_type::LlmRouterAccountProcedureResult;
|
|
pub use llm_router_account_snapshot_type::LlmRouterAccountSnapshot;
|
|
pub use llm_router_account_table::*;
|
|
pub use llm_router_account_type::LlmRouterAccount;
|
|
pub use llm_router_account_upsert_input_type::LlmRouterAccountUpsertInput;
|
|
pub use llm_router_billing_checkpoint_table::*;
|
|
pub use llm_router_billing_checkpoint_type::LlmRouterBillingCheckpoint;
|
|
pub use llm_router_quota_settlement_input_type::LlmRouterQuotaSettlementInput;
|
|
pub use llm_router_quota_settlement_result_type::LlmRouterQuotaSettlementResult;
|
|
pub use mark_editor_showcase_asset_refunded_and_return_procedure::mark_editor_showcase_asset_refunded_and_return;
|
|
pub use mark_profile_recharge_order_expiration_checked_procedure::mark_profile_recharge_order_expiration_checked;
|
|
pub use mark_profile_recharge_order_paid_and_return_procedure::mark_profile_recharge_order_paid_and_return;
|
|
pub use normalize_editor_character_animation_metadata_and_return_procedure::normalize_editor_character_animation_metadata_and_return;
|
|
pub use persist_editor_generation_result_and_return_procedure::persist_editor_generation_result_and_return;
|
|
pub use persist_editor_pixel_art_result_and_return_procedure::persist_editor_pixel_art_result_and_return;
|
|
pub use persist_editor_spritesheet_slice_batch_and_return_procedure::persist_editor_spritesheet_slice_batch_and_return;
|
|
pub use preflight_editor_generation_target_and_return_procedure::preflight_editor_generation_target_and_return;
|
|
pub use preflight_editor_pixel_art_result_and_return_procedure::preflight_editor_pixel_art_result_and_return;
|
|
pub use prepare_profile_recharge_refund_hold_and_return_procedure::prepare_profile_recharge_refund_hold_and_return;
|
|
pub use preview_profile_recharge_refund_hold_and_return_procedure::preview_profile_recharge_refund_hold_and_return;
|
|
pub use process_profile_wallet_refund_outbox_and_return_procedure::process_profile_wallet_refund_outbox_and_return;
|
|
pub use profile_code_operation_table::*;
|
|
pub use profile_code_operation_type::ProfileCodeOperation;
|
|
pub use profile_daily_free_points_table::*;
|
|
pub use profile_daily_free_points_type::ProfileDailyFreePoints;
|
|
pub use profile_dashboard_state_table::*;
|
|
pub use profile_dashboard_state_type::ProfileDashboardState;
|
|
pub use profile_feedback_submission_table::*;
|
|
pub use profile_feedback_submission_type::ProfileFeedbackSubmission;
|
|
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_expiration_schedule_table::*;
|
|
pub use profile_recharge_order_expiration_schedule_type::ProfileRechargeOrderExpirationSchedule;
|
|
pub use profile_recharge_order_expiration_timer_table::*;
|
|
pub use profile_recharge_order_expiration_timer_type::ProfileRechargeOrderExpirationTimer;
|
|
pub use profile_recharge_order_refund_settlement_table::*;
|
|
pub use profile_recharge_order_refund_settlement_type::ProfileRechargeOrderRefundSettlement;
|
|
pub use profile_recharge_order_table::*;
|
|
pub use profile_recharge_order_type::ProfileRechargeOrder;
|
|
pub use profile_recharge_product_config_table::*;
|
|
pub use profile_recharge_product_config_type::ProfileRechargeProductConfig;
|
|
pub use profile_recharge_refund_bill_checkpoint_table::*;
|
|
pub use profile_recharge_refund_bill_checkpoint_type::ProfileRechargeRefundBillCheckpoint;
|
|
pub use profile_recharge_refund_hold_table::*;
|
|
pub use profile_recharge_refund_hold_type::ProfileRechargeRefundHold;
|
|
pub use profile_recharge_refund_observation_table::*;
|
|
pub use profile_recharge_refund_observation_type::ProfileRechargeRefundObservation;
|
|
pub use profile_recharge_refund_table::*;
|
|
pub use profile_recharge_refund_type::ProfileRechargeRefund;
|
|
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_config_table::*;
|
|
pub use profile_wallet_config_type::ProfileWalletConfig;
|
|
pub use profile_wallet_consumption_total_table::*;
|
|
pub use profile_wallet_consumption_total_type::ProfileWalletConsumptionTotal;
|
|
pub use profile_wallet_ledger_table::*;
|
|
pub use profile_wallet_ledger_type::ProfileWalletLedger;
|
|
pub use profile_wallet_manual_restriction_table::*;
|
|
pub use profile_wallet_manual_restriction_type::ProfileWalletManualRestriction;
|
|
pub use profile_wallet_refund_outbox_table::*;
|
|
pub use profile_wallet_refund_outbox_type::ProfileWalletRefundOutbox;
|
|
pub use prune_external_generation_job_history_and_return_procedure::prune_external_generation_job_history_and_return;
|
|
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 put_database_migration_import_chunk_procedure::put_database_migration_import_chunk;
|
|
pub use query_analytics_metric_procedure::query_analytics_metric;
|
|
pub use read_agc_model_catalog_procedure::read_agc_model_catalog;
|
|
pub use record_daily_login_tracking_event_and_return_procedure::record_daily_login_tracking_event_and_return;
|
|
pub use record_profile_recharge_refund_observation_and_return_procedure::record_profile_recharge_refund_observation_and_return;
|
|
pub use record_tracking_event_and_return_procedure::record_tracking_event_and_return;
|
|
pub use record_tracking_events_and_return_procedure::record_tracking_events_and_return;
|
|
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 reject_game_distribution_version_and_return_procedure::reject_game_distribution_version_and_return;
|
|
pub use release_profile_recharge_refund_hold_and_return_procedure::release_profile_recharge_refund_hold_and_return;
|
|
pub use rename_editor_project_and_return_procedure::rename_editor_project_and_return;
|
|
pub use renew_external_generation_job_lease_and_return_procedure::renew_external_generation_job_lease_and_return;
|
|
pub use repair_editor_asset_media_and_return_procedure::repair_editor_asset_media_and_return;
|
|
pub use repair_editor_canvas_resources_and_return_procedure::repair_editor_canvas_resources_and_return;
|
|
pub use repair_editor_project_resource_media_and_return_procedure::repair_editor_project_resource_media_and_return;
|
|
pub use resolve_editor_reference_and_return_procedure::resolve_editor_reference_and_return;
|
|
pub use resolve_profile_recharge_refund_manual_review_and_return_procedure::resolve_profile_recharge_refund_manual_review_and_return;
|
|
pub use revoke_database_migration_operator_procedure::revoke_database_migration_operator;
|
|
pub use revoke_external_api_key_and_return_procedure::revoke_external_api_key_and_return;
|
|
pub use rollback_editor_canvas_layout_and_return_procedure::rollback_editor_canvas_layout_and_return;
|
|
pub use rotate_editor_generation_runtime_service_identity_and_return_procedure::rotate_editor_generation_runtime_service_identity_and_return;
|
|
pub use runtime_browse_history_theme_mode_type::RuntimeBrowseHistoryThemeMode;
|
|
pub use runtime_platform_theme_type::RuntimePlatformTheme;
|
|
pub use runtime_profile_admin_wallet_detail_procedure_result_type::RuntimeProfileAdminWalletDetailProcedureResult;
|
|
pub use runtime_profile_admin_wallet_get_input_type::RuntimeProfileAdminWalletGetInput;
|
|
pub use runtime_profile_admin_wallet_procedure_result_type::RuntimeProfileAdminWalletProcedureResult;
|
|
pub use runtime_profile_admin_wallet_snapshot_type::RuntimeProfileAdminWalletSnapshot;
|
|
pub use runtime_profile_code_operation_snapshot_type::RuntimeProfileCodeOperationSnapshot;
|
|
pub use runtime_profile_daily_free_points_snapshot_type::RuntimeProfileDailyFreePointsSnapshot;
|
|
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_feedback_evidence_snapshot_type::RuntimeProfileFeedbackEvidenceSnapshot;
|
|
pub use runtime_profile_feedback_status_type::RuntimeProfileFeedbackStatus;
|
|
pub use runtime_profile_feedback_submission_input_type::RuntimeProfileFeedbackSubmissionInput;
|
|
pub use runtime_profile_feedback_submission_procedure_result_type::RuntimeProfileFeedbackSubmissionProcedureResult;
|
|
pub use runtime_profile_feedback_submission_snapshot_type::RuntimeProfileFeedbackSubmissionSnapshot;
|
|
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_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_admin_entry_snapshot_type::RuntimeProfileRechargeOrderAdminEntrySnapshot;
|
|
pub use runtime_profile_recharge_order_admin_list_input_type::RuntimeProfileRechargeOrderAdminListInput;
|
|
pub use runtime_profile_recharge_order_admin_list_procedure_result_type::RuntimeProfileRechargeOrderAdminListProcedureResult;
|
|
pub use runtime_profile_recharge_order_close_input_type::RuntimeProfileRechargeOrderCloseInput;
|
|
pub use runtime_profile_recharge_order_create_input_type::RuntimeProfileRechargeOrderCreateInput;
|
|
pub use runtime_profile_recharge_order_expiration_check_input_type::RuntimeProfileRechargeOrderExpirationCheckInput;
|
|
pub use runtime_profile_recharge_order_expiration_check_list_input_type::RuntimeProfileRechargeOrderExpirationCheckListInput;
|
|
pub use runtime_profile_recharge_order_expiration_check_list_procedure_result_type::RuntimeProfileRechargeOrderExpirationCheckListProcedureResult;
|
|
pub use runtime_profile_recharge_order_expiration_check_procedure_result_type::RuntimeProfileRechargeOrderExpirationCheckProcedureResult;
|
|
pub use runtime_profile_recharge_order_expiration_claim_input_type::RuntimeProfileRechargeOrderExpirationClaimInput;
|
|
pub use runtime_profile_recharge_order_expiration_claim_procedure_result_type::RuntimeProfileRechargeOrderExpirationClaimProcedureResult;
|
|
pub use runtime_profile_recharge_order_expiration_complete_input_type::RuntimeProfileRechargeOrderExpirationCompleteInput;
|
|
pub use runtime_profile_recharge_order_expiration_complete_procedure_result_type::RuntimeProfileRechargeOrderExpirationCompleteProcedureResult;
|
|
pub use runtime_profile_recharge_order_expiration_schedule_snapshot_type::RuntimeProfileRechargeOrderExpirationScheduleSnapshot;
|
|
pub use runtime_profile_recharge_order_get_input_type::RuntimeProfileRechargeOrderGetInput;
|
|
pub use runtime_profile_recharge_order_paid_input_type::RuntimeProfileRechargeOrderPaidInput;
|
|
pub use runtime_profile_recharge_order_refund_settlement_snapshot_type::RuntimeProfileRechargeOrderRefundSettlementSnapshot;
|
|
pub use runtime_profile_recharge_order_snapshot_type::RuntimeProfileRechargeOrderSnapshot;
|
|
pub use runtime_profile_recharge_order_status_type::RuntimeProfileRechargeOrderStatus;
|
|
pub use runtime_profile_recharge_product_admin_list_input_type::RuntimeProfileRechargeProductAdminListInput;
|
|
pub use runtime_profile_recharge_product_admin_list_procedure_result_type::RuntimeProfileRechargeProductAdminListProcedureResult;
|
|
pub use runtime_profile_recharge_product_admin_procedure_result_type::RuntimeProfileRechargeProductAdminProcedureResult;
|
|
pub use runtime_profile_recharge_product_admin_upsert_input_type::RuntimeProfileRechargeProductAdminUpsertInput;
|
|
pub use runtime_profile_recharge_product_config_snapshot_type::RuntimeProfileRechargeProductConfigSnapshot;
|
|
pub use runtime_profile_recharge_product_kind_type::RuntimeProfileRechargeProductKind;
|
|
pub use runtime_profile_recharge_product_snapshot_type::RuntimeProfileRechargeProductSnapshot;
|
|
pub use runtime_profile_recharge_refund_bill_checkpoint_advance_input_type::RuntimeProfileRechargeRefundBillCheckpointAdvanceInput;
|
|
pub use runtime_profile_recharge_refund_bill_checkpoint_get_input_type::RuntimeProfileRechargeRefundBillCheckpointGetInput;
|
|
pub use runtime_profile_recharge_refund_bill_checkpoint_procedure_result_type::RuntimeProfileRechargeRefundBillCheckpointProcedureResult;
|
|
pub use runtime_profile_recharge_refund_bill_checkpoint_snapshot_type::RuntimeProfileRechargeRefundBillCheckpointSnapshot;
|
|
pub use runtime_profile_recharge_refund_get_input_type::RuntimeProfileRechargeRefundGetInput;
|
|
pub use runtime_profile_recharge_refund_hold_list_input_type::RuntimeProfileRechargeRefundHoldListInput;
|
|
pub use runtime_profile_recharge_refund_hold_list_procedure_result_type::RuntimeProfileRechargeRefundHoldListProcedureResult;
|
|
pub use runtime_profile_recharge_refund_hold_prepare_input_type::RuntimeProfileRechargeRefundHoldPrepareInput;
|
|
pub use runtime_profile_recharge_refund_hold_preview_input_type::RuntimeProfileRechargeRefundHoldPreviewInput;
|
|
pub use runtime_profile_recharge_refund_hold_procedure_result_type::RuntimeProfileRechargeRefundHoldProcedureResult;
|
|
pub use runtime_profile_recharge_refund_hold_release_input_type::RuntimeProfileRechargeRefundHoldReleaseInput;
|
|
pub use runtime_profile_recharge_refund_hold_snapshot_type::RuntimeProfileRechargeRefundHoldSnapshot;
|
|
pub use runtime_profile_recharge_refund_hold_status_type::RuntimeProfileRechargeRefundHoldStatus;
|
|
pub use runtime_profile_recharge_refund_list_procedure_result_type::RuntimeProfileRechargeRefundListProcedureResult;
|
|
pub use runtime_profile_recharge_refund_manual_review_resolve_input_type::RuntimeProfileRechargeRefundManualReviewResolveInput;
|
|
pub use runtime_profile_recharge_refund_observation_input_type::RuntimeProfileRechargeRefundObservationInput;
|
|
pub use runtime_profile_recharge_refund_observation_source_type::RuntimeProfileRechargeRefundObservationSource;
|
|
pub use runtime_profile_recharge_refund_procedure_result_type::RuntimeProfileRechargeRefundProcedureResult;
|
|
pub use runtime_profile_recharge_refund_reconciliation_list_input_type::RuntimeProfileRechargeRefundReconciliationListInput;
|
|
pub use runtime_profile_recharge_refund_recovery_status_type::RuntimeProfileRechargeRefundRecoveryStatus;
|
|
pub use runtime_profile_recharge_refund_snapshot_type::RuntimeProfileRechargeRefundSnapshot;
|
|
pub use runtime_profile_recharge_refund_status_type::RuntimeProfileRechargeRefundStatus;
|
|
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_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_config_admin_get_input_type::RuntimeProfileWalletConfigAdminGetInput;
|
|
pub use runtime_profile_wallet_config_admin_procedure_result_type::RuntimeProfileWalletConfigAdminProcedureResult;
|
|
pub use runtime_profile_wallet_config_admin_upsert_input_type::RuntimeProfileWalletConfigAdminUpsertInput;
|
|
pub use runtime_profile_wallet_config_snapshot_type::RuntimeProfileWalletConfigSnapshot;
|
|
pub use runtime_profile_wallet_consumption_projection_initialize_input_type::RuntimeProfileWalletConsumptionProjectionInitializeInput;
|
|
pub use runtime_profile_wallet_consumption_projection_initialize_procedure_result_type::RuntimeProfileWalletConsumptionProjectionInitializeProcedureResult;
|
|
pub use runtime_profile_wallet_consumption_projection_initialize_snapshot_type::RuntimeProfileWalletConsumptionProjectionInitializeSnapshot;
|
|
pub use runtime_profile_wallet_consumption_reconcile_input_type::RuntimeProfileWalletConsumptionReconcileInput;
|
|
pub use runtime_profile_wallet_consumption_reconcile_procedure_result_type::RuntimeProfileWalletConsumptionReconcileProcedureResult;
|
|
pub use runtime_profile_wallet_consumption_reconcile_snapshot_type::RuntimeProfileWalletConsumptionReconcileSnapshot;
|
|
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_profile_wallet_manual_restriction_snapshot_type::RuntimeProfileWalletManualRestrictionSnapshot;
|
|
pub use runtime_profile_wallet_manual_restriction_upsert_input_type::RuntimeProfileWalletManualRestrictionUpsertInput;
|
|
pub use runtime_profile_wallet_refund_outbox_enqueue_input_type::RuntimeProfileWalletRefundOutboxEnqueueInput;
|
|
pub use runtime_profile_wallet_refund_outbox_procedure_result_type::RuntimeProfileWalletRefundOutboxProcedureResult;
|
|
pub use runtime_profile_wallet_refund_outbox_process_input_type::RuntimeProfileWalletRefundOutboxProcessInput;
|
|
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_row_type::RuntimeSnapshotRow;
|
|
pub use runtime_snapshot_table::*;
|
|
pub use runtime_tracking_event_batch_procedure_result_type::RuntimeTrackingEventBatchProcedureResult;
|
|
pub use runtime_tracking_event_input_type::RuntimeTrackingEventInput;
|
|
pub use runtime_tracking_event_procedure_result_type::RuntimeTrackingEventProcedureResult;
|
|
pub use runtime_tracking_scope_kind_type::RuntimeTrackingScopeKind;
|
|
pub use save_agc_model_catalog_procedure::save_agc_model_catalog;
|
|
pub use save_editor_project_layout_ack_procedure::save_editor_project_layout_ack;
|
|
pub use save_editor_project_layout_and_return_procedure::save_editor_project_layout_and_return;
|
|
pub use save_editor_project_layout_v_2_ack_procedure::save_editor_project_layout_v_2_ack;
|
|
pub use save_editor_project_layout_v_2_and_return_procedure::save_editor_project_layout_v_2_and_return;
|
|
pub use seed_analytics_date_dimensions_reducer::seed_analytics_date_dimensions;
|
|
pub use set_editor_showcase_asset_like_for_viewer_and_return_procedure::set_editor_showcase_asset_like_for_viewer_and_return;
|
|
pub use settle_llm_router_quota_and_return_procedure::settle_llm_router_quota_and_return;
|
|
pub use start_ai_task_reducer::start_ai_task;
|
|
pub use start_ai_task_stage_reducer::start_ai_task_stage;
|
|
pub use submit_editor_showcase_asset_and_return_procedure::submit_editor_showcase_asset_and_return;
|
|
pub use submit_game_distribution_version_for_review_and_return_procedure::submit_game_distribution_version_for_review_and_return;
|
|
pub use submit_profile_feedback_and_return_procedure::submit_profile_feedback_and_return;
|
|
pub use suspend_game_distribution_game_and_return_procedure::suspend_game_distribution_game_and_return;
|
|
pub use sync_auth_store_projection_procedure::sync_auth_store_projection;
|
|
pub use touch_editor_agent_conversation_and_return_procedure::touch_editor_agent_conversation_and_return;
|
|
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 unpublish_game_distribution_game_and_return_procedure::unpublish_game_distribution_game_and_return;
|
|
pub use update_admin_account_and_return_procedure::update_admin_account_and_return;
|
|
pub use update_editor_asset_and_return_procedure::update_editor_asset_and_return;
|
|
pub use update_editor_asset_folder_and_return_procedure::update_editor_asset_folder_and_return;
|
|
pub use update_editor_project_resource_showcase_and_return_procedure::update_editor_project_resource_showcase_and_return;
|
|
pub use update_editor_showcase_asset_display_and_return_procedure::update_editor_showcase_asset_display_and_return;
|
|
pub use update_error_report_and_return_procedure::update_error_report_and_return;
|
|
pub use update_external_generation_job_phase_and_return_procedure::update_external_generation_job_phase_and_return;
|
|
pub use upload_agc_analytics_batch_procedure::upload_agc_analytics_batch;
|
|
pub use upsert_editor_generation_pricing_config_and_return_procedure::upsert_editor_generation_pricing_config_and_return;
|
|
pub use upsert_editor_showcase_campaign_config_and_return_procedure::upsert_editor_showcase_campaign_config_and_return;
|
|
pub use upsert_feature_gate_config_procedure::upsert_feature_gate_config;
|
|
pub use upsert_llm_router_account_and_return_procedure::upsert_llm_router_account_and_return;
|
|
pub use upsert_runtime_setting_and_return_procedure::upsert_runtime_setting_and_return;
|
|
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 validate_auth_session_procedure::validate_auth_session;
|
|
|
|
#[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 {
|
|
BindAssetObjectToEntity {
|
|
input: AssetEntityBindingInput,
|
|
},
|
|
ConfirmAssetObject {
|
|
input: AssetObjectUpsertInput,
|
|
},
|
|
CreateAiTask {
|
|
input: AiTaskCreateInput,
|
|
},
|
|
EnsureAnalyticsDateDimensionForDate {
|
|
input: AnalyticsDateDimensionEnsureInput,
|
|
},
|
|
ExpireProfileRechargeOrderTimer {
|
|
timer: ProfileRechargeOrderExpirationTimer,
|
|
},
|
|
SeedAnalyticsDateDimensions {
|
|
input: AnalyticsDateDimensionSeedInput,
|
|
},
|
|
StartAiTask {
|
|
input: AiTaskStartInput,
|
|
},
|
|
StartAiTaskStage {
|
|
input: AiTaskStageStartInput,
|
|
},
|
|
}
|
|
|
|
impl __sdk::InModule for Reducer {
|
|
type Module = RemoteModule;
|
|
}
|
|
|
|
impl __sdk::Reducer for Reducer {
|
|
fn reducer_name(&self) -> &'static str {
|
|
match self {
|
|
Reducer::BindAssetObjectToEntity { .. } => "bind_asset_object_to_entity",
|
|
Reducer::ConfirmAssetObject { .. } => "confirm_asset_object",
|
|
Reducer::CreateAiTask { .. } => "create_ai_task",
|
|
Reducer::EnsureAnalyticsDateDimensionForDate { .. } => {
|
|
"ensure_analytics_date_dimension_for_date"
|
|
}
|
|
Reducer::ExpireProfileRechargeOrderTimer { .. } => {
|
|
"expire_profile_recharge_order_timer"
|
|
}
|
|
Reducer::SeedAnalyticsDateDimensions { .. } => "seed_analytics_date_dimensions",
|
|
Reducer::StartAiTask { .. } => "start_ai_task",
|
|
Reducer::StartAiTaskStage { .. } => "start_ai_task_stage",
|
|
_ => unreachable!(),
|
|
}
|
|
}
|
|
#[allow(clippy::clone_on_copy)]
|
|
fn args_bsatn(&self) -> Result<Vec<u8>, __sats::bsatn::EncodeError> {
|
|
match self {
|
|
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::CreateAiTask{
|
|
input,
|
|
} => __sats::bsatn::to_vec(&create_ai_task_reducer::CreateAiTaskArgs {
|
|
input: input.clone(),
|
|
}),
|
|
Reducer::EnsureAnalyticsDateDimensionForDate{
|
|
input,
|
|
} => __sats::bsatn::to_vec(&ensure_analytics_date_dimension_for_date_reducer::EnsureAnalyticsDateDimensionForDateArgs {
|
|
input: input.clone(),
|
|
}),
|
|
Reducer::ExpireProfileRechargeOrderTimer{
|
|
timer,
|
|
} => __sats::bsatn::to_vec(&expire_profile_recharge_order_timer_reducer::ExpireProfileRechargeOrderTimerArgs {
|
|
timer: timer.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(),
|
|
}),
|
|
_ => unreachable!(),
|
|
}
|
|
}
|
|
}
|
|
|
|
#[derive(Default, Debug)]
|
|
#[allow(non_snake_case)]
|
|
#[doc(hidden)]
|
|
pub struct DbUpdate {
|
|
admin_account: __sdk::TableUpdate<AdminAccount>,
|
|
agc_model_catalog: __sdk::TableUpdate<AgcModelCatalogRow>,
|
|
agc_tracking_event: __sdk::TableUpdate<AgcTrackingEvent>,
|
|
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>,
|
|
asset_operation_wallet_settlement: __sdk::TableUpdate<AssetOperationWalletSettlement>,
|
|
auth_identity: __sdk::TableUpdate<AuthIdentity>,
|
|
auth_store_projection_meta: __sdk::TableUpdate<AuthStoreProjectionMeta>,
|
|
creation_entry_config: __sdk::TableUpdate<CreationEntryConfig>,
|
|
creation_entry_type_config: __sdk::TableUpdate<CreationEntryTypeConfig>,
|
|
database_migration_import_chunk: __sdk::TableUpdate<DatabaseMigrationImportChunk>,
|
|
database_migration_operator: __sdk::TableUpdate<DatabaseMigrationOperator>,
|
|
editor_agent_conversation: __sdk::TableUpdate<EditorAgentConversation>,
|
|
editor_asset: __sdk::TableUpdate<EditorAsset>,
|
|
editor_asset_folder: __sdk::TableUpdate<EditorAssetFolder>,
|
|
editor_asset_group_cohort: __sdk::TableUpdate<EditorAssetGroupCohort>,
|
|
editor_asset_group_source_provenance: __sdk::TableUpdate<EditorAssetGroupSourceProvenance>,
|
|
editor_canvas: __sdk::TableUpdate<EditorCanvas>,
|
|
editor_canvas_generation_dialog: __sdk::TableUpdate<EditorCanvasGenerationDialog>,
|
|
editor_canvas_layer: __sdk::TableUpdate<EditorCanvasLayer>,
|
|
editor_canvas_layout_migration: __sdk::TableUpdate<EditorCanvasLayoutMigration>,
|
|
editor_generation_operation: __sdk::TableUpdate<EditorGenerationOperation>,
|
|
editor_generation_pricing_config: __sdk::TableUpdate<EditorGenerationPricingConfig>,
|
|
editor_generation_runtime_identity_rotation:
|
|
__sdk::TableUpdate<EditorGenerationRuntimeIdentityRotation>,
|
|
editor_idempotent_create_receipt: __sdk::TableUpdate<EditorIdempotentCreateReceipt>,
|
|
editor_project: __sdk::TableUpdate<EditorProject>,
|
|
editor_project_resource: __sdk::TableUpdate<EditorProjectResource>,
|
|
editor_showcase_asset: __sdk::TableUpdate<EditorShowcaseAsset>,
|
|
editor_showcase_asset_like: __sdk::TableUpdate<EditorShowcaseAssetLike>,
|
|
editor_showcase_campaign_config: __sdk::TableUpdate<EditorShowcaseCampaignConfig>,
|
|
error_report: __sdk::TableUpdate<ErrorReport>,
|
|
external_api_key: __sdk::TableUpdate<ExternalApiKey>,
|
|
external_generation_job: __sdk::TableUpdate<ExternalGenerationJob>,
|
|
external_generation_job_event: __sdk::TableUpdate<ExternalGenerationJobEvent>,
|
|
external_generation_job_summary: __sdk::TableUpdate<ExternalGenerationJobSummary>,
|
|
feature_gate_config: __sdk::TableUpdate<FeatureGateConfig>,
|
|
game_distribution_game: __sdk::TableUpdate<GameDistributionGame>,
|
|
game_distribution_idempotency_receipt: __sdk::TableUpdate<GameDistributionIdempotencyReceipt>,
|
|
game_distribution_version: __sdk::TableUpdate<GameDistributionVersion>,
|
|
llm_router_account: __sdk::TableUpdate<LlmRouterAccount>,
|
|
llm_router_billing_checkpoint: __sdk::TableUpdate<LlmRouterBillingCheckpoint>,
|
|
profile_code_operation: __sdk::TableUpdate<ProfileCodeOperation>,
|
|
profile_daily_free_points: __sdk::TableUpdate<ProfileDailyFreePoints>,
|
|
profile_dashboard_state: __sdk::TableUpdate<ProfileDashboardState>,
|
|
profile_feedback_submission: __sdk::TableUpdate<ProfileFeedbackSubmission>,
|
|
profile_invite_code: __sdk::TableUpdate<ProfileInviteCode>,
|
|
profile_membership: __sdk::TableUpdate<ProfileMembership>,
|
|
profile_played_world: __sdk::TableUpdate<ProfilePlayedWorld>,
|
|
profile_recharge_order: __sdk::TableUpdate<ProfileRechargeOrder>,
|
|
profile_recharge_order_expiration_schedule:
|
|
__sdk::TableUpdate<ProfileRechargeOrderExpirationSchedule>,
|
|
profile_recharge_order_expiration_timer:
|
|
__sdk::TableUpdate<ProfileRechargeOrderExpirationTimer>,
|
|
profile_recharge_order_refund_settlement:
|
|
__sdk::TableUpdate<ProfileRechargeOrderRefundSettlement>,
|
|
profile_recharge_product_config: __sdk::TableUpdate<ProfileRechargeProductConfig>,
|
|
profile_recharge_refund: __sdk::TableUpdate<ProfileRechargeRefund>,
|
|
profile_recharge_refund_bill_checkpoint:
|
|
__sdk::TableUpdate<ProfileRechargeRefundBillCheckpoint>,
|
|
profile_recharge_refund_hold: __sdk::TableUpdate<ProfileRechargeRefundHold>,
|
|
profile_recharge_refund_observation: __sdk::TableUpdate<ProfileRechargeRefundObservation>,
|
|
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_config: __sdk::TableUpdate<ProfileWalletConfig>,
|
|
profile_wallet_consumption_total: __sdk::TableUpdate<ProfileWalletConsumptionTotal>,
|
|
profile_wallet_ledger: __sdk::TableUpdate<ProfileWalletLedger>,
|
|
profile_wallet_manual_restriction: __sdk::TableUpdate<ProfileWalletManualRestriction>,
|
|
profile_wallet_refund_outbox: __sdk::TableUpdate<ProfileWalletRefundOutbox>,
|
|
public_work_like: __sdk::TableUpdate<PublicWorkLike>,
|
|
public_work_play_daily_stat: __sdk::TableUpdate<PublicWorkPlayDailyStat>,
|
|
refresh_session: __sdk::TableUpdate<RefreshSession>,
|
|
runtime_setting: __sdk::TableUpdate<RuntimeSetting>,
|
|
runtime_snapshot: __sdk::TableUpdate<RuntimeSnapshotRow>,
|
|
tracking_daily_stat: __sdk::TableUpdate<TrackingDailyStat>,
|
|
tracking_event: __sdk::TableUpdate<TrackingEvent>,
|
|
user_account: __sdk::TableUpdate<UserAccount>,
|
|
user_browse_history: __sdk::TableUpdate<UserBrowseHistory>,
|
|
}
|
|
|
|
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[..] {
|
|
"admin_account" => db_update
|
|
.admin_account
|
|
.append(admin_account_table::parse_table_update(table_update)?),
|
|
"agc_model_catalog" => db_update
|
|
.agc_model_catalog
|
|
.append(agc_model_catalog_table::parse_table_update(table_update)?),
|
|
"agc_tracking_event" => db_update
|
|
.agc_tracking_event
|
|
.append(agc_tracking_event_table::parse_table_update(table_update)?),
|
|
"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)?),
|
|
"asset_operation_wallet_settlement" => {
|
|
db_update.asset_operation_wallet_settlement.append(
|
|
asset_operation_wallet_settlement_table::parse_table_update(table_update)?,
|
|
)
|
|
}
|
|
"auth_identity" => db_update
|
|
.auth_identity
|
|
.append(auth_identity_table::parse_table_update(table_update)?),
|
|
"auth_store_projection_meta" => db_update.auth_store_projection_meta.append(
|
|
auth_store_projection_meta_table::parse_table_update(table_update)?,
|
|
),
|
|
"creation_entry_config" => db_update.creation_entry_config.append(
|
|
creation_entry_config_table::parse_table_update(table_update)?,
|
|
),
|
|
"creation_entry_type_config" => db_update.creation_entry_type_config.append(
|
|
creation_entry_type_config_table::parse_table_update(table_update)?,
|
|
),
|
|
"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)?,
|
|
),
|
|
"editor_agent_conversation" => db_update.editor_agent_conversation.append(
|
|
editor_agent_conversation_table::parse_table_update(table_update)?,
|
|
),
|
|
"editor_asset" => db_update
|
|
.editor_asset
|
|
.append(editor_asset_table::parse_table_update(table_update)?),
|
|
"editor_asset_folder" => db_update
|
|
.editor_asset_folder
|
|
.append(editor_asset_folder_table::parse_table_update(table_update)?),
|
|
"editor_asset_group_cohort" => db_update.editor_asset_group_cohort.append(
|
|
editor_asset_group_cohort_table::parse_table_update(table_update)?,
|
|
),
|
|
"editor_asset_group_source_provenance" => {
|
|
db_update.editor_asset_group_source_provenance.append(
|
|
editor_asset_group_source_provenance_table::parse_table_update(
|
|
table_update,
|
|
)?,
|
|
)
|
|
}
|
|
"editor_canvas" => db_update
|
|
.editor_canvas
|
|
.append(editor_canvas_table::parse_table_update(table_update)?),
|
|
"editor_canvas_generation_dialog" => {
|
|
db_update.editor_canvas_generation_dialog.append(
|
|
editor_canvas_generation_dialog_table::parse_table_update(table_update)?,
|
|
)
|
|
}
|
|
"editor_canvas_layer" => db_update
|
|
.editor_canvas_layer
|
|
.append(editor_canvas_layer_table::parse_table_update(table_update)?),
|
|
"editor_canvas_layout_migration" => {
|
|
db_update.editor_canvas_layout_migration.append(
|
|
editor_canvas_layout_migration_table::parse_table_update(table_update)?,
|
|
)
|
|
}
|
|
"editor_generation_operation" => db_update.editor_generation_operation.append(
|
|
editor_generation_operation_table::parse_table_update(table_update)?,
|
|
),
|
|
"editor_generation_pricing_config" => {
|
|
db_update.editor_generation_pricing_config.append(
|
|
editor_generation_pricing_config_table::parse_table_update(table_update)?,
|
|
)
|
|
}
|
|
"editor_generation_runtime_identity_rotation" => db_update
|
|
.editor_generation_runtime_identity_rotation
|
|
.append(
|
|
editor_generation_runtime_identity_rotation_table::parse_table_update(
|
|
table_update,
|
|
)?,
|
|
),
|
|
"editor_idempotent_create_receipt" => {
|
|
db_update.editor_idempotent_create_receipt.append(
|
|
editor_idempotent_create_receipt_table::parse_table_update(table_update)?,
|
|
)
|
|
}
|
|
"editor_project" => db_update
|
|
.editor_project
|
|
.append(editor_project_table::parse_table_update(table_update)?),
|
|
"editor_project_resource" => db_update.editor_project_resource.append(
|
|
editor_project_resource_table::parse_table_update(table_update)?,
|
|
),
|
|
"editor_showcase_asset" => db_update.editor_showcase_asset.append(
|
|
editor_showcase_asset_table::parse_table_update(table_update)?,
|
|
),
|
|
"editor_showcase_asset_like" => db_update.editor_showcase_asset_like.append(
|
|
editor_showcase_asset_like_table::parse_table_update(table_update)?,
|
|
),
|
|
"editor_showcase_campaign_config" => {
|
|
db_update.editor_showcase_campaign_config.append(
|
|
editor_showcase_campaign_config_table::parse_table_update(table_update)?,
|
|
)
|
|
}
|
|
"error_report" => db_update
|
|
.error_report
|
|
.append(error_report_table::parse_table_update(table_update)?),
|
|
"external_api_key" => db_update
|
|
.external_api_key
|
|
.append(external_api_key_table::parse_table_update(table_update)?),
|
|
"external_generation_job" => db_update.external_generation_job.append(
|
|
external_generation_job_table::parse_table_update(table_update)?,
|
|
),
|
|
"external_generation_job_event" => db_update.external_generation_job_event.append(
|
|
external_generation_job_event_table::parse_table_update(table_update)?,
|
|
),
|
|
"external_generation_job_summary" => {
|
|
db_update.external_generation_job_summary.append(
|
|
external_generation_job_summary_table::parse_table_update(table_update)?,
|
|
)
|
|
}
|
|
"feature_gate_config" => db_update
|
|
.feature_gate_config
|
|
.append(feature_gate_config_table::parse_table_update(table_update)?),
|
|
"game_distribution_game" => db_update.game_distribution_game.append(
|
|
game_distribution_game_table::parse_table_update(table_update)?,
|
|
),
|
|
"game_distribution_idempotency_receipt" => {
|
|
db_update.game_distribution_idempotency_receipt.append(
|
|
game_distribution_idempotency_receipt_table::parse_table_update(
|
|
table_update,
|
|
)?,
|
|
)
|
|
}
|
|
"game_distribution_version" => db_update.game_distribution_version.append(
|
|
game_distribution_version_table::parse_table_update(table_update)?,
|
|
),
|
|
"llm_router_account" => db_update
|
|
.llm_router_account
|
|
.append(llm_router_account_table::parse_table_update(table_update)?),
|
|
"llm_router_billing_checkpoint" => db_update.llm_router_billing_checkpoint.append(
|
|
llm_router_billing_checkpoint_table::parse_table_update(table_update)?,
|
|
),
|
|
"profile_code_operation" => db_update.profile_code_operation.append(
|
|
profile_code_operation_table::parse_table_update(table_update)?,
|
|
),
|
|
"profile_daily_free_points" => db_update.profile_daily_free_points.append(
|
|
profile_daily_free_points_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_feedback_submission" => db_update.profile_feedback_submission.append(
|
|
profile_feedback_submission_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_recharge_order_expiration_schedule" => {
|
|
db_update.profile_recharge_order_expiration_schedule.append(
|
|
profile_recharge_order_expiration_schedule_table::parse_table_update(
|
|
table_update,
|
|
)?,
|
|
)
|
|
}
|
|
"profile_recharge_order_expiration_timer" => {
|
|
db_update.profile_recharge_order_expiration_timer.append(
|
|
profile_recharge_order_expiration_timer_table::parse_table_update(
|
|
table_update,
|
|
)?,
|
|
)
|
|
}
|
|
"profile_recharge_order_refund_settlement" => {
|
|
db_update.profile_recharge_order_refund_settlement.append(
|
|
profile_recharge_order_refund_settlement_table::parse_table_update(
|
|
table_update,
|
|
)?,
|
|
)
|
|
}
|
|
"profile_recharge_product_config" => {
|
|
db_update.profile_recharge_product_config.append(
|
|
profile_recharge_product_config_table::parse_table_update(table_update)?,
|
|
)
|
|
}
|
|
"profile_recharge_refund" => db_update.profile_recharge_refund.append(
|
|
profile_recharge_refund_table::parse_table_update(table_update)?,
|
|
),
|
|
"profile_recharge_refund_bill_checkpoint" => {
|
|
db_update.profile_recharge_refund_bill_checkpoint.append(
|
|
profile_recharge_refund_bill_checkpoint_table::parse_table_update(
|
|
table_update,
|
|
)?,
|
|
)
|
|
}
|
|
"profile_recharge_refund_hold" => db_update.profile_recharge_refund_hold.append(
|
|
profile_recharge_refund_hold_table::parse_table_update(table_update)?,
|
|
),
|
|
"profile_recharge_refund_observation" => {
|
|
db_update.profile_recharge_refund_observation.append(
|
|
profile_recharge_refund_observation_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_config" => db_update.profile_wallet_config.append(
|
|
profile_wallet_config_table::parse_table_update(table_update)?,
|
|
),
|
|
"profile_wallet_consumption_total" => {
|
|
db_update.profile_wallet_consumption_total.append(
|
|
profile_wallet_consumption_total_table::parse_table_update(table_update)?,
|
|
)
|
|
}
|
|
"profile_wallet_ledger" => db_update.profile_wallet_ledger.append(
|
|
profile_wallet_ledger_table::parse_table_update(table_update)?,
|
|
),
|
|
"profile_wallet_manual_restriction" => {
|
|
db_update.profile_wallet_manual_restriction.append(
|
|
profile_wallet_manual_restriction_table::parse_table_update(table_update)?,
|
|
)
|
|
}
|
|
"profile_wallet_refund_outbox" => db_update.profile_wallet_refund_outbox.append(
|
|
profile_wallet_refund_outbox_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)?,
|
|
),
|
|
"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)?),
|
|
"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)?),
|
|
"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)?),
|
|
|
|
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.admin_account = cache
|
|
.apply_diff_to_table::<AdminAccount>("admin_account", &self.admin_account)
|
|
.with_updates_by_pk(|row| &row.account_id);
|
|
diff.agc_model_catalog = cache
|
|
.apply_diff_to_table::<AgcModelCatalogRow>("agc_model_catalog", &self.agc_model_catalog)
|
|
.with_updates_by_pk(|row| &row.id);
|
|
diff.agc_tracking_event = cache
|
|
.apply_diff_to_table::<AgcTrackingEvent>("agc_tracking_event", &self.agc_tracking_event)
|
|
.with_updates_by_pk(|row| &row.event_id);
|
|
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.asset_operation_wallet_settlement = cache
|
|
.apply_diff_to_table::<AssetOperationWalletSettlement>(
|
|
"asset_operation_wallet_settlement",
|
|
&self.asset_operation_wallet_settlement,
|
|
)
|
|
.with_updates_by_pk(|row| &row.consume_ledger_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_projection_meta = cache
|
|
.apply_diff_to_table::<AuthStoreProjectionMeta>(
|
|
"auth_store_projection_meta",
|
|
&self.auth_store_projection_meta,
|
|
)
|
|
.with_updates_by_pk(|row| &row.meta_id);
|
|
diff.creation_entry_config = cache
|
|
.apply_diff_to_table::<CreationEntryConfig>(
|
|
"creation_entry_config",
|
|
&self.creation_entry_config,
|
|
)
|
|
.with_updates_by_pk(|row| &row.config_id);
|
|
diff.creation_entry_type_config = cache
|
|
.apply_diff_to_table::<CreationEntryTypeConfig>(
|
|
"creation_entry_type_config",
|
|
&self.creation_entry_type_config,
|
|
)
|
|
.with_updates_by_pk(|row| &row.id);
|
|
diff.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.editor_agent_conversation = cache
|
|
.apply_diff_to_table::<EditorAgentConversation>(
|
|
"editor_agent_conversation",
|
|
&self.editor_agent_conversation,
|
|
)
|
|
.with_updates_by_pk(|row| &row.conversation_id);
|
|
diff.editor_asset = cache
|
|
.apply_diff_to_table::<EditorAsset>("editor_asset", &self.editor_asset)
|
|
.with_updates_by_pk(|row| &row.asset_id);
|
|
diff.editor_asset_folder = cache
|
|
.apply_diff_to_table::<EditorAssetFolder>(
|
|
"editor_asset_folder",
|
|
&self.editor_asset_folder,
|
|
)
|
|
.with_updates_by_pk(|row| &row.folder_id);
|
|
diff.editor_asset_group_cohort = cache
|
|
.apply_diff_to_table::<EditorAssetGroupCohort>(
|
|
"editor_asset_group_cohort",
|
|
&self.editor_asset_group_cohort,
|
|
)
|
|
.with_updates_by_pk(|row| &row.cohort_id);
|
|
diff.editor_asset_group_source_provenance = cache
|
|
.apply_diff_to_table::<EditorAssetGroupSourceProvenance>(
|
|
"editor_asset_group_source_provenance",
|
|
&self.editor_asset_group_source_provenance,
|
|
)
|
|
.with_updates_by_pk(|row| &row.lookup_key);
|
|
diff.editor_canvas = cache
|
|
.apply_diff_to_table::<EditorCanvas>("editor_canvas", &self.editor_canvas)
|
|
.with_updates_by_pk(|row| &row.canvas_id);
|
|
diff.editor_canvas_generation_dialog = cache
|
|
.apply_diff_to_table::<EditorCanvasGenerationDialog>(
|
|
"editor_canvas_generation_dialog",
|
|
&self.editor_canvas_generation_dialog,
|
|
)
|
|
.with_updates_by_pk(|row| &row.dialog_key);
|
|
diff.editor_canvas_layer = cache
|
|
.apply_diff_to_table::<EditorCanvasLayer>(
|
|
"editor_canvas_layer",
|
|
&self.editor_canvas_layer,
|
|
)
|
|
.with_updates_by_pk(|row| &row.layer_key);
|
|
diff.editor_canvas_layout_migration = cache
|
|
.apply_diff_to_table::<EditorCanvasLayoutMigration>(
|
|
"editor_canvas_layout_migration",
|
|
&self.editor_canvas_layout_migration,
|
|
)
|
|
.with_updates_by_pk(|row| &row.canvas_id);
|
|
diff.editor_generation_operation = cache
|
|
.apply_diff_to_table::<EditorGenerationOperation>(
|
|
"editor_generation_operation",
|
|
&self.editor_generation_operation,
|
|
)
|
|
.with_updates_by_pk(|row| &row.operation_key);
|
|
diff.editor_generation_pricing_config = cache
|
|
.apply_diff_to_table::<EditorGenerationPricingConfig>(
|
|
"editor_generation_pricing_config",
|
|
&self.editor_generation_pricing_config,
|
|
)
|
|
.with_updates_by_pk(|row| &row.config_id);
|
|
diff.editor_generation_runtime_identity_rotation = cache
|
|
.apply_diff_to_table::<EditorGenerationRuntimeIdentityRotation>(
|
|
"editor_generation_runtime_identity_rotation",
|
|
&self.editor_generation_runtime_identity_rotation,
|
|
)
|
|
.with_updates_by_pk(|row| &row.rotation_id);
|
|
diff.editor_idempotent_create_receipt = cache
|
|
.apply_diff_to_table::<EditorIdempotentCreateReceipt>(
|
|
"editor_idempotent_create_receipt",
|
|
&self.editor_idempotent_create_receipt,
|
|
)
|
|
.with_updates_by_pk(|row| &row.receipt_key);
|
|
diff.editor_project = cache
|
|
.apply_diff_to_table::<EditorProject>("editor_project", &self.editor_project)
|
|
.with_updates_by_pk(|row| &row.project_id);
|
|
diff.editor_project_resource = cache
|
|
.apply_diff_to_table::<EditorProjectResource>(
|
|
"editor_project_resource",
|
|
&self.editor_project_resource,
|
|
)
|
|
.with_updates_by_pk(|row| &row.resource_id);
|
|
diff.editor_showcase_asset = cache
|
|
.apply_diff_to_table::<EditorShowcaseAsset>(
|
|
"editor_showcase_asset",
|
|
&self.editor_showcase_asset,
|
|
)
|
|
.with_updates_by_pk(|row| &row.showcase_id);
|
|
diff.editor_showcase_asset_like = cache
|
|
.apply_diff_to_table::<EditorShowcaseAssetLike>(
|
|
"editor_showcase_asset_like",
|
|
&self.editor_showcase_asset_like,
|
|
)
|
|
.with_updates_by_pk(|row| &row.like_id);
|
|
diff.editor_showcase_campaign_config = cache
|
|
.apply_diff_to_table::<EditorShowcaseCampaignConfig>(
|
|
"editor_showcase_campaign_config",
|
|
&self.editor_showcase_campaign_config,
|
|
)
|
|
.with_updates_by_pk(|row| &row.config_id);
|
|
diff.error_report = cache
|
|
.apply_diff_to_table::<ErrorReport>("error_report", &self.error_report)
|
|
.with_updates_by_pk(|row| &row.batch_id);
|
|
diff.external_api_key = cache
|
|
.apply_diff_to_table::<ExternalApiKey>("external_api_key", &self.external_api_key)
|
|
.with_updates_by_pk(|row| &row.key_id);
|
|
diff.external_generation_job = cache
|
|
.apply_diff_to_table::<ExternalGenerationJob>(
|
|
"external_generation_job",
|
|
&self.external_generation_job,
|
|
)
|
|
.with_updates_by_pk(|row| &row.job_id);
|
|
diff.external_generation_job_event = cache
|
|
.apply_diff_to_table::<ExternalGenerationJobEvent>(
|
|
"external_generation_job_event",
|
|
&self.external_generation_job_event,
|
|
)
|
|
.with_updates_by_pk(|row| &row.event_id);
|
|
diff.external_generation_job_summary = cache
|
|
.apply_diff_to_table::<ExternalGenerationJobSummary>(
|
|
"external_generation_job_summary",
|
|
&self.external_generation_job_summary,
|
|
)
|
|
.with_updates_by_pk(|row| &row.job_id);
|
|
diff.feature_gate_config = cache
|
|
.apply_diff_to_table::<FeatureGateConfig>(
|
|
"feature_gate_config",
|
|
&self.feature_gate_config,
|
|
)
|
|
.with_updates_by_pk(|row| &row.gate_key);
|
|
diff.game_distribution_game = cache
|
|
.apply_diff_to_table::<GameDistributionGame>(
|
|
"game_distribution_game",
|
|
&self.game_distribution_game,
|
|
)
|
|
.with_updates_by_pk(|row| &row.game_id);
|
|
diff.game_distribution_idempotency_receipt = cache
|
|
.apply_diff_to_table::<GameDistributionIdempotencyReceipt>(
|
|
"game_distribution_idempotency_receipt",
|
|
&self.game_distribution_idempotency_receipt,
|
|
)
|
|
.with_updates_by_pk(|row| &row.receipt_id);
|
|
diff.game_distribution_version = cache
|
|
.apply_diff_to_table::<GameDistributionVersion>(
|
|
"game_distribution_version",
|
|
&self.game_distribution_version,
|
|
)
|
|
.with_updates_by_pk(|row| &row.version_id);
|
|
diff.llm_router_account = cache
|
|
.apply_diff_to_table::<LlmRouterAccount>("llm_router_account", &self.llm_router_account)
|
|
.with_updates_by_pk(|row| &row.account_key);
|
|
diff.llm_router_billing_checkpoint = cache
|
|
.apply_diff_to_table::<LlmRouterBillingCheckpoint>(
|
|
"llm_router_billing_checkpoint",
|
|
&self.llm_router_billing_checkpoint,
|
|
)
|
|
.with_updates_by_pk(|row| &row.account_key);
|
|
diff.profile_code_operation = cache
|
|
.apply_diff_to_table::<ProfileCodeOperation>(
|
|
"profile_code_operation",
|
|
&self.profile_code_operation,
|
|
)
|
|
.with_updates_by_pk(|row| &row.operation_id);
|
|
diff.profile_daily_free_points = cache
|
|
.apply_diff_to_table::<ProfileDailyFreePoints>(
|
|
"profile_daily_free_points",
|
|
&self.profile_daily_free_points,
|
|
)
|
|
.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_feedback_submission = cache
|
|
.apply_diff_to_table::<ProfileFeedbackSubmission>(
|
|
"profile_feedback_submission",
|
|
&self.profile_feedback_submission,
|
|
)
|
|
.with_updates_by_pk(|row| &row.feedback_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_recharge_order_expiration_schedule = cache
|
|
.apply_diff_to_table::<ProfileRechargeOrderExpirationSchedule>(
|
|
"profile_recharge_order_expiration_schedule",
|
|
&self.profile_recharge_order_expiration_schedule,
|
|
)
|
|
.with_updates_by_pk(|row| &row.order_id);
|
|
diff.profile_recharge_order_expiration_timer = cache
|
|
.apply_diff_to_table::<ProfileRechargeOrderExpirationTimer>(
|
|
"profile_recharge_order_expiration_timer",
|
|
&self.profile_recharge_order_expiration_timer,
|
|
)
|
|
.with_updates_by_pk(|row| &row.scheduled_id);
|
|
diff.profile_recharge_order_refund_settlement = cache
|
|
.apply_diff_to_table::<ProfileRechargeOrderRefundSettlement>(
|
|
"profile_recharge_order_refund_settlement",
|
|
&self.profile_recharge_order_refund_settlement,
|
|
)
|
|
.with_updates_by_pk(|row| &row.order_id);
|
|
diff.profile_recharge_product_config = cache
|
|
.apply_diff_to_table::<ProfileRechargeProductConfig>(
|
|
"profile_recharge_product_config",
|
|
&self.profile_recharge_product_config,
|
|
)
|
|
.with_updates_by_pk(|row| &row.product_id);
|
|
diff.profile_recharge_refund = cache
|
|
.apply_diff_to_table::<ProfileRechargeRefund>(
|
|
"profile_recharge_refund",
|
|
&self.profile_recharge_refund,
|
|
)
|
|
.with_updates_by_pk(|row| &row.out_refund_no);
|
|
diff.profile_recharge_refund_bill_checkpoint = cache
|
|
.apply_diff_to_table::<ProfileRechargeRefundBillCheckpoint>(
|
|
"profile_recharge_refund_bill_checkpoint",
|
|
&self.profile_recharge_refund_bill_checkpoint,
|
|
)
|
|
.with_updates_by_pk(|row| &row.checkpoint_id);
|
|
diff.profile_recharge_refund_hold = cache
|
|
.apply_diff_to_table::<ProfileRechargeRefundHold>(
|
|
"profile_recharge_refund_hold",
|
|
&self.profile_recharge_refund_hold,
|
|
)
|
|
.with_updates_by_pk(|row| &row.out_refund_no);
|
|
diff.profile_recharge_refund_observation = cache
|
|
.apply_diff_to_table::<ProfileRechargeRefundObservation>(
|
|
"profile_recharge_refund_observation",
|
|
&self.profile_recharge_refund_observation,
|
|
)
|
|
.with_updates_by_pk(|row| &row.observation_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_config = cache
|
|
.apply_diff_to_table::<ProfileWalletConfig>(
|
|
"profile_wallet_config",
|
|
&self.profile_wallet_config,
|
|
)
|
|
.with_updates_by_pk(|row| &row.config_id);
|
|
diff.profile_wallet_consumption_total = cache
|
|
.apply_diff_to_table::<ProfileWalletConsumptionTotal>(
|
|
"profile_wallet_consumption_total",
|
|
&self.profile_wallet_consumption_total,
|
|
)
|
|
.with_updates_by_pk(|row| &row.user_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.profile_wallet_manual_restriction = cache
|
|
.apply_diff_to_table::<ProfileWalletManualRestriction>(
|
|
"profile_wallet_manual_restriction",
|
|
&self.profile_wallet_manual_restriction,
|
|
)
|
|
.with_updates_by_pk(|row| &row.user_id);
|
|
diff.profile_wallet_refund_outbox = cache
|
|
.apply_diff_to_table::<ProfileWalletRefundOutbox>(
|
|
"profile_wallet_refund_outbox",
|
|
&self.profile_wallet_refund_outbox,
|
|
)
|
|
.with_updates_by_pk(|row| &row.refund_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.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.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.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
|
|
}
|
|
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[..] {
|
|
"admin_account" => db_update
|
|
.admin_account
|
|
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
|
|
"agc_model_catalog" => db_update
|
|
.agc_model_catalog
|
|
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
|
|
"agc_tracking_event" => db_update
|
|
.agc_tracking_event
|
|
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
|
|
"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)?),
|
|
"asset_operation_wallet_settlement" => db_update
|
|
.asset_operation_wallet_settlement
|
|
.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_projection_meta" => db_update
|
|
.auth_store_projection_meta
|
|
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
|
|
"creation_entry_config" => db_update
|
|
.creation_entry_config
|
|
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
|
|
"creation_entry_type_config" => db_update
|
|
.creation_entry_type_config
|
|
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
|
|
"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)?),
|
|
"editor_agent_conversation" => db_update
|
|
.editor_agent_conversation
|
|
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
|
|
"editor_asset" => db_update
|
|
.editor_asset
|
|
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
|
|
"editor_asset_folder" => db_update
|
|
.editor_asset_folder
|
|
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
|
|
"editor_asset_group_cohort" => db_update
|
|
.editor_asset_group_cohort
|
|
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
|
|
"editor_asset_group_source_provenance" => db_update
|
|
.editor_asset_group_source_provenance
|
|
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
|
|
"editor_canvas" => db_update
|
|
.editor_canvas
|
|
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
|
|
"editor_canvas_generation_dialog" => db_update
|
|
.editor_canvas_generation_dialog
|
|
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
|
|
"editor_canvas_layer" => db_update
|
|
.editor_canvas_layer
|
|
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
|
|
"editor_canvas_layout_migration" => db_update
|
|
.editor_canvas_layout_migration
|
|
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
|
|
"editor_generation_operation" => db_update
|
|
.editor_generation_operation
|
|
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
|
|
"editor_generation_pricing_config" => db_update
|
|
.editor_generation_pricing_config
|
|
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
|
|
"editor_generation_runtime_identity_rotation" => db_update
|
|
.editor_generation_runtime_identity_rotation
|
|
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
|
|
"editor_idempotent_create_receipt" => db_update
|
|
.editor_idempotent_create_receipt
|
|
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
|
|
"editor_project" => db_update
|
|
.editor_project
|
|
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
|
|
"editor_project_resource" => db_update
|
|
.editor_project_resource
|
|
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
|
|
"editor_showcase_asset" => db_update
|
|
.editor_showcase_asset
|
|
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
|
|
"editor_showcase_asset_like" => db_update
|
|
.editor_showcase_asset_like
|
|
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
|
|
"editor_showcase_campaign_config" => db_update
|
|
.editor_showcase_campaign_config
|
|
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
|
|
"error_report" => db_update
|
|
.error_report
|
|
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
|
|
"external_api_key" => db_update
|
|
.external_api_key
|
|
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
|
|
"external_generation_job" => db_update
|
|
.external_generation_job
|
|
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
|
|
"external_generation_job_event" => db_update
|
|
.external_generation_job_event
|
|
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
|
|
"external_generation_job_summary" => db_update
|
|
.external_generation_job_summary
|
|
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
|
|
"feature_gate_config" => db_update
|
|
.feature_gate_config
|
|
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
|
|
"game_distribution_game" => db_update
|
|
.game_distribution_game
|
|
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
|
|
"game_distribution_idempotency_receipt" => db_update
|
|
.game_distribution_idempotency_receipt
|
|
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
|
|
"game_distribution_version" => db_update
|
|
.game_distribution_version
|
|
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
|
|
"llm_router_account" => db_update
|
|
.llm_router_account
|
|
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
|
|
"llm_router_billing_checkpoint" => db_update
|
|
.llm_router_billing_checkpoint
|
|
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
|
|
"profile_code_operation" => db_update
|
|
.profile_code_operation
|
|
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
|
|
"profile_daily_free_points" => db_update
|
|
.profile_daily_free_points
|
|
.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_feedback_submission" => db_update
|
|
.profile_feedback_submission
|
|
.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_recharge_order_expiration_schedule" => db_update
|
|
.profile_recharge_order_expiration_schedule
|
|
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
|
|
"profile_recharge_order_expiration_timer" => db_update
|
|
.profile_recharge_order_expiration_timer
|
|
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
|
|
"profile_recharge_order_refund_settlement" => db_update
|
|
.profile_recharge_order_refund_settlement
|
|
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
|
|
"profile_recharge_product_config" => db_update
|
|
.profile_recharge_product_config
|
|
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
|
|
"profile_recharge_refund" => db_update
|
|
.profile_recharge_refund
|
|
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
|
|
"profile_recharge_refund_bill_checkpoint" => db_update
|
|
.profile_recharge_refund_bill_checkpoint
|
|
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
|
|
"profile_recharge_refund_hold" => db_update
|
|
.profile_recharge_refund_hold
|
|
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
|
|
"profile_recharge_refund_observation" => db_update
|
|
.profile_recharge_refund_observation
|
|
.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_config" => db_update
|
|
.profile_wallet_config
|
|
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
|
|
"profile_wallet_consumption_total" => db_update
|
|
.profile_wallet_consumption_total
|
|
.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)?),
|
|
"profile_wallet_manual_restriction" => db_update
|
|
.profile_wallet_manual_restriction
|
|
.append(__sdk::parse_row_list_as_inserts(table_rows.rows)?),
|
|
"profile_wallet_refund_outbox" => db_update
|
|
.profile_wallet_refund_outbox
|
|
.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)?),
|
|
"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)?),
|
|
"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)?),
|
|
"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)?),
|
|
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[..] {
|
|
"admin_account" => db_update
|
|
.admin_account
|
|
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
|
|
"agc_model_catalog" => db_update
|
|
.agc_model_catalog
|
|
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
|
|
"agc_tracking_event" => db_update
|
|
.agc_tracking_event
|
|
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
|
|
"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)?),
|
|
"asset_operation_wallet_settlement" => db_update
|
|
.asset_operation_wallet_settlement
|
|
.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_projection_meta" => db_update
|
|
.auth_store_projection_meta
|
|
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
|
|
"creation_entry_config" => db_update
|
|
.creation_entry_config
|
|
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
|
|
"creation_entry_type_config" => db_update
|
|
.creation_entry_type_config
|
|
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
|
|
"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)?),
|
|
"editor_agent_conversation" => db_update
|
|
.editor_agent_conversation
|
|
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
|
|
"editor_asset" => db_update
|
|
.editor_asset
|
|
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
|
|
"editor_asset_folder" => db_update
|
|
.editor_asset_folder
|
|
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
|
|
"editor_asset_group_cohort" => db_update
|
|
.editor_asset_group_cohort
|
|
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
|
|
"editor_asset_group_source_provenance" => db_update
|
|
.editor_asset_group_source_provenance
|
|
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
|
|
"editor_canvas" => db_update
|
|
.editor_canvas
|
|
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
|
|
"editor_canvas_generation_dialog" => db_update
|
|
.editor_canvas_generation_dialog
|
|
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
|
|
"editor_canvas_layer" => db_update
|
|
.editor_canvas_layer
|
|
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
|
|
"editor_canvas_layout_migration" => db_update
|
|
.editor_canvas_layout_migration
|
|
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
|
|
"editor_generation_operation" => db_update
|
|
.editor_generation_operation
|
|
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
|
|
"editor_generation_pricing_config" => db_update
|
|
.editor_generation_pricing_config
|
|
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
|
|
"editor_generation_runtime_identity_rotation" => db_update
|
|
.editor_generation_runtime_identity_rotation
|
|
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
|
|
"editor_idempotent_create_receipt" => db_update
|
|
.editor_idempotent_create_receipt
|
|
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
|
|
"editor_project" => db_update
|
|
.editor_project
|
|
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
|
|
"editor_project_resource" => db_update
|
|
.editor_project_resource
|
|
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
|
|
"editor_showcase_asset" => db_update
|
|
.editor_showcase_asset
|
|
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
|
|
"editor_showcase_asset_like" => db_update
|
|
.editor_showcase_asset_like
|
|
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
|
|
"editor_showcase_campaign_config" => db_update
|
|
.editor_showcase_campaign_config
|
|
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
|
|
"error_report" => db_update
|
|
.error_report
|
|
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
|
|
"external_api_key" => db_update
|
|
.external_api_key
|
|
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
|
|
"external_generation_job" => db_update
|
|
.external_generation_job
|
|
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
|
|
"external_generation_job_event" => db_update
|
|
.external_generation_job_event
|
|
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
|
|
"external_generation_job_summary" => db_update
|
|
.external_generation_job_summary
|
|
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
|
|
"feature_gate_config" => db_update
|
|
.feature_gate_config
|
|
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
|
|
"game_distribution_game" => db_update
|
|
.game_distribution_game
|
|
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
|
|
"game_distribution_idempotency_receipt" => db_update
|
|
.game_distribution_idempotency_receipt
|
|
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
|
|
"game_distribution_version" => db_update
|
|
.game_distribution_version
|
|
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
|
|
"llm_router_account" => db_update
|
|
.llm_router_account
|
|
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
|
|
"llm_router_billing_checkpoint" => db_update
|
|
.llm_router_billing_checkpoint
|
|
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
|
|
"profile_code_operation" => db_update
|
|
.profile_code_operation
|
|
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
|
|
"profile_daily_free_points" => db_update
|
|
.profile_daily_free_points
|
|
.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_feedback_submission" => db_update
|
|
.profile_feedback_submission
|
|
.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_recharge_order_expiration_schedule" => db_update
|
|
.profile_recharge_order_expiration_schedule
|
|
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
|
|
"profile_recharge_order_expiration_timer" => db_update
|
|
.profile_recharge_order_expiration_timer
|
|
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
|
|
"profile_recharge_order_refund_settlement" => db_update
|
|
.profile_recharge_order_refund_settlement
|
|
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
|
|
"profile_recharge_product_config" => db_update
|
|
.profile_recharge_product_config
|
|
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
|
|
"profile_recharge_refund" => db_update
|
|
.profile_recharge_refund
|
|
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
|
|
"profile_recharge_refund_bill_checkpoint" => db_update
|
|
.profile_recharge_refund_bill_checkpoint
|
|
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
|
|
"profile_recharge_refund_hold" => db_update
|
|
.profile_recharge_refund_hold
|
|
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
|
|
"profile_recharge_refund_observation" => db_update
|
|
.profile_recharge_refund_observation
|
|
.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_config" => db_update
|
|
.profile_wallet_config
|
|
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
|
|
"profile_wallet_consumption_total" => db_update
|
|
.profile_wallet_consumption_total
|
|
.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)?),
|
|
"profile_wallet_manual_restriction" => db_update
|
|
.profile_wallet_manual_restriction
|
|
.append(__sdk::parse_row_list_as_deletes(table_rows.rows)?),
|
|
"profile_wallet_refund_outbox" => db_update
|
|
.profile_wallet_refund_outbox
|
|
.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)?),
|
|
"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)?),
|
|
"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)?),
|
|
"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)?),
|
|
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> {
|
|
admin_account: __sdk::TableAppliedDiff<'r, AdminAccount>,
|
|
agc_model_catalog: __sdk::TableAppliedDiff<'r, AgcModelCatalogRow>,
|
|
agc_tracking_event: __sdk::TableAppliedDiff<'r, AgcTrackingEvent>,
|
|
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>,
|
|
asset_operation_wallet_settlement: __sdk::TableAppliedDiff<'r, AssetOperationWalletSettlement>,
|
|
auth_identity: __sdk::TableAppliedDiff<'r, AuthIdentity>,
|
|
auth_store_projection_meta: __sdk::TableAppliedDiff<'r, AuthStoreProjectionMeta>,
|
|
creation_entry_config: __sdk::TableAppliedDiff<'r, CreationEntryConfig>,
|
|
creation_entry_type_config: __sdk::TableAppliedDiff<'r, CreationEntryTypeConfig>,
|
|
database_migration_import_chunk: __sdk::TableAppliedDiff<'r, DatabaseMigrationImportChunk>,
|
|
database_migration_operator: __sdk::TableAppliedDiff<'r, DatabaseMigrationOperator>,
|
|
editor_agent_conversation: __sdk::TableAppliedDiff<'r, EditorAgentConversation>,
|
|
editor_asset: __sdk::TableAppliedDiff<'r, EditorAsset>,
|
|
editor_asset_folder: __sdk::TableAppliedDiff<'r, EditorAssetFolder>,
|
|
editor_asset_group_cohort: __sdk::TableAppliedDiff<'r, EditorAssetGroupCohort>,
|
|
editor_asset_group_source_provenance:
|
|
__sdk::TableAppliedDiff<'r, EditorAssetGroupSourceProvenance>,
|
|
editor_canvas: __sdk::TableAppliedDiff<'r, EditorCanvas>,
|
|
editor_canvas_generation_dialog: __sdk::TableAppliedDiff<'r, EditorCanvasGenerationDialog>,
|
|
editor_canvas_layer: __sdk::TableAppliedDiff<'r, EditorCanvasLayer>,
|
|
editor_canvas_layout_migration: __sdk::TableAppliedDiff<'r, EditorCanvasLayoutMigration>,
|
|
editor_generation_operation: __sdk::TableAppliedDiff<'r, EditorGenerationOperation>,
|
|
editor_generation_pricing_config: __sdk::TableAppliedDiff<'r, EditorGenerationPricingConfig>,
|
|
editor_generation_runtime_identity_rotation:
|
|
__sdk::TableAppliedDiff<'r, EditorGenerationRuntimeIdentityRotation>,
|
|
editor_idempotent_create_receipt: __sdk::TableAppliedDiff<'r, EditorIdempotentCreateReceipt>,
|
|
editor_project: __sdk::TableAppliedDiff<'r, EditorProject>,
|
|
editor_project_resource: __sdk::TableAppliedDiff<'r, EditorProjectResource>,
|
|
editor_showcase_asset: __sdk::TableAppliedDiff<'r, EditorShowcaseAsset>,
|
|
editor_showcase_asset_like: __sdk::TableAppliedDiff<'r, EditorShowcaseAssetLike>,
|
|
editor_showcase_campaign_config: __sdk::TableAppliedDiff<'r, EditorShowcaseCampaignConfig>,
|
|
error_report: __sdk::TableAppliedDiff<'r, ErrorReport>,
|
|
external_api_key: __sdk::TableAppliedDiff<'r, ExternalApiKey>,
|
|
external_generation_job: __sdk::TableAppliedDiff<'r, ExternalGenerationJob>,
|
|
external_generation_job_event: __sdk::TableAppliedDiff<'r, ExternalGenerationJobEvent>,
|
|
external_generation_job_summary: __sdk::TableAppliedDiff<'r, ExternalGenerationJobSummary>,
|
|
feature_gate_config: __sdk::TableAppliedDiff<'r, FeatureGateConfig>,
|
|
game_distribution_game: __sdk::TableAppliedDiff<'r, GameDistributionGame>,
|
|
game_distribution_idempotency_receipt:
|
|
__sdk::TableAppliedDiff<'r, GameDistributionIdempotencyReceipt>,
|
|
game_distribution_version: __sdk::TableAppliedDiff<'r, GameDistributionVersion>,
|
|
llm_router_account: __sdk::TableAppliedDiff<'r, LlmRouterAccount>,
|
|
llm_router_billing_checkpoint: __sdk::TableAppliedDiff<'r, LlmRouterBillingCheckpoint>,
|
|
profile_code_operation: __sdk::TableAppliedDiff<'r, ProfileCodeOperation>,
|
|
profile_daily_free_points: __sdk::TableAppliedDiff<'r, ProfileDailyFreePoints>,
|
|
profile_dashboard_state: __sdk::TableAppliedDiff<'r, ProfileDashboardState>,
|
|
profile_feedback_submission: __sdk::TableAppliedDiff<'r, ProfileFeedbackSubmission>,
|
|
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_recharge_order_expiration_schedule:
|
|
__sdk::TableAppliedDiff<'r, ProfileRechargeOrderExpirationSchedule>,
|
|
profile_recharge_order_expiration_timer:
|
|
__sdk::TableAppliedDiff<'r, ProfileRechargeOrderExpirationTimer>,
|
|
profile_recharge_order_refund_settlement:
|
|
__sdk::TableAppliedDiff<'r, ProfileRechargeOrderRefundSettlement>,
|
|
profile_recharge_product_config: __sdk::TableAppliedDiff<'r, ProfileRechargeProductConfig>,
|
|
profile_recharge_refund: __sdk::TableAppliedDiff<'r, ProfileRechargeRefund>,
|
|
profile_recharge_refund_bill_checkpoint:
|
|
__sdk::TableAppliedDiff<'r, ProfileRechargeRefundBillCheckpoint>,
|
|
profile_recharge_refund_hold: __sdk::TableAppliedDiff<'r, ProfileRechargeRefundHold>,
|
|
profile_recharge_refund_observation:
|
|
__sdk::TableAppliedDiff<'r, ProfileRechargeRefundObservation>,
|
|
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_config: __sdk::TableAppliedDiff<'r, ProfileWalletConfig>,
|
|
profile_wallet_consumption_total: __sdk::TableAppliedDiff<'r, ProfileWalletConsumptionTotal>,
|
|
profile_wallet_ledger: __sdk::TableAppliedDiff<'r, ProfileWalletLedger>,
|
|
profile_wallet_manual_restriction: __sdk::TableAppliedDiff<'r, ProfileWalletManualRestriction>,
|
|
profile_wallet_refund_outbox: __sdk::TableAppliedDiff<'r, ProfileWalletRefundOutbox>,
|
|
public_work_like: __sdk::TableAppliedDiff<'r, PublicWorkLike>,
|
|
public_work_play_daily_stat: __sdk::TableAppliedDiff<'r, PublicWorkPlayDailyStat>,
|
|
refresh_session: __sdk::TableAppliedDiff<'r, RefreshSession>,
|
|
runtime_setting: __sdk::TableAppliedDiff<'r, RuntimeSetting>,
|
|
runtime_snapshot: __sdk::TableAppliedDiff<'r, RuntimeSnapshotRow>,
|
|
tracking_daily_stat: __sdk::TableAppliedDiff<'r, TrackingDailyStat>,
|
|
tracking_event: __sdk::TableAppliedDiff<'r, TrackingEvent>,
|
|
user_account: __sdk::TableAppliedDiff<'r, UserAccount>,
|
|
user_browse_history: __sdk::TableAppliedDiff<'r, UserBrowseHistory>,
|
|
__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::<AdminAccount>(
|
|
"admin_account",
|
|
&self.admin_account,
|
|
event,
|
|
);
|
|
callbacks.invoke_table_row_callbacks::<AgcModelCatalogRow>(
|
|
"agc_model_catalog",
|
|
&self.agc_model_catalog,
|
|
event,
|
|
);
|
|
callbacks.invoke_table_row_callbacks::<AgcTrackingEvent>(
|
|
"agc_tracking_event",
|
|
&self.agc_tracking_event,
|
|
event,
|
|
);
|
|
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::<AssetOperationWalletSettlement>(
|
|
"asset_operation_wallet_settlement",
|
|
&self.asset_operation_wallet_settlement,
|
|
event,
|
|
);
|
|
callbacks.invoke_table_row_callbacks::<AuthIdentity>(
|
|
"auth_identity",
|
|
&self.auth_identity,
|
|
event,
|
|
);
|
|
callbacks.invoke_table_row_callbacks::<AuthStoreProjectionMeta>(
|
|
"auth_store_projection_meta",
|
|
&self.auth_store_projection_meta,
|
|
event,
|
|
);
|
|
callbacks.invoke_table_row_callbacks::<CreationEntryConfig>(
|
|
"creation_entry_config",
|
|
&self.creation_entry_config,
|
|
event,
|
|
);
|
|
callbacks.invoke_table_row_callbacks::<CreationEntryTypeConfig>(
|
|
"creation_entry_type_config",
|
|
&self.creation_entry_type_config,
|
|
event,
|
|
);
|
|
callbacks.invoke_table_row_callbacks::<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::<EditorAgentConversation>(
|
|
"editor_agent_conversation",
|
|
&self.editor_agent_conversation,
|
|
event,
|
|
);
|
|
callbacks.invoke_table_row_callbacks::<EditorAsset>(
|
|
"editor_asset",
|
|
&self.editor_asset,
|
|
event,
|
|
);
|
|
callbacks.invoke_table_row_callbacks::<EditorAssetFolder>(
|
|
"editor_asset_folder",
|
|
&self.editor_asset_folder,
|
|
event,
|
|
);
|
|
callbacks.invoke_table_row_callbacks::<EditorAssetGroupCohort>(
|
|
"editor_asset_group_cohort",
|
|
&self.editor_asset_group_cohort,
|
|
event,
|
|
);
|
|
callbacks.invoke_table_row_callbacks::<EditorAssetGroupSourceProvenance>(
|
|
"editor_asset_group_source_provenance",
|
|
&self.editor_asset_group_source_provenance,
|
|
event,
|
|
);
|
|
callbacks.invoke_table_row_callbacks::<EditorCanvas>(
|
|
"editor_canvas",
|
|
&self.editor_canvas,
|
|
event,
|
|
);
|
|
callbacks.invoke_table_row_callbacks::<EditorCanvasGenerationDialog>(
|
|
"editor_canvas_generation_dialog",
|
|
&self.editor_canvas_generation_dialog,
|
|
event,
|
|
);
|
|
callbacks.invoke_table_row_callbacks::<EditorCanvasLayer>(
|
|
"editor_canvas_layer",
|
|
&self.editor_canvas_layer,
|
|
event,
|
|
);
|
|
callbacks.invoke_table_row_callbacks::<EditorCanvasLayoutMigration>(
|
|
"editor_canvas_layout_migration",
|
|
&self.editor_canvas_layout_migration,
|
|
event,
|
|
);
|
|
callbacks.invoke_table_row_callbacks::<EditorGenerationOperation>(
|
|
"editor_generation_operation",
|
|
&self.editor_generation_operation,
|
|
event,
|
|
);
|
|
callbacks.invoke_table_row_callbacks::<EditorGenerationPricingConfig>(
|
|
"editor_generation_pricing_config",
|
|
&self.editor_generation_pricing_config,
|
|
event,
|
|
);
|
|
callbacks.invoke_table_row_callbacks::<EditorGenerationRuntimeIdentityRotation>(
|
|
"editor_generation_runtime_identity_rotation",
|
|
&self.editor_generation_runtime_identity_rotation,
|
|
event,
|
|
);
|
|
callbacks.invoke_table_row_callbacks::<EditorIdempotentCreateReceipt>(
|
|
"editor_idempotent_create_receipt",
|
|
&self.editor_idempotent_create_receipt,
|
|
event,
|
|
);
|
|
callbacks.invoke_table_row_callbacks::<EditorProject>(
|
|
"editor_project",
|
|
&self.editor_project,
|
|
event,
|
|
);
|
|
callbacks.invoke_table_row_callbacks::<EditorProjectResource>(
|
|
"editor_project_resource",
|
|
&self.editor_project_resource,
|
|
event,
|
|
);
|
|
callbacks.invoke_table_row_callbacks::<EditorShowcaseAsset>(
|
|
"editor_showcase_asset",
|
|
&self.editor_showcase_asset,
|
|
event,
|
|
);
|
|
callbacks.invoke_table_row_callbacks::<EditorShowcaseAssetLike>(
|
|
"editor_showcase_asset_like",
|
|
&self.editor_showcase_asset_like,
|
|
event,
|
|
);
|
|
callbacks.invoke_table_row_callbacks::<EditorShowcaseCampaignConfig>(
|
|
"editor_showcase_campaign_config",
|
|
&self.editor_showcase_campaign_config,
|
|
event,
|
|
);
|
|
callbacks.invoke_table_row_callbacks::<ErrorReport>(
|
|
"error_report",
|
|
&self.error_report,
|
|
event,
|
|
);
|
|
callbacks.invoke_table_row_callbacks::<ExternalApiKey>(
|
|
"external_api_key",
|
|
&self.external_api_key,
|
|
event,
|
|
);
|
|
callbacks.invoke_table_row_callbacks::<ExternalGenerationJob>(
|
|
"external_generation_job",
|
|
&self.external_generation_job,
|
|
event,
|
|
);
|
|
callbacks.invoke_table_row_callbacks::<ExternalGenerationJobEvent>(
|
|
"external_generation_job_event",
|
|
&self.external_generation_job_event,
|
|
event,
|
|
);
|
|
callbacks.invoke_table_row_callbacks::<ExternalGenerationJobSummary>(
|
|
"external_generation_job_summary",
|
|
&self.external_generation_job_summary,
|
|
event,
|
|
);
|
|
callbacks.invoke_table_row_callbacks::<FeatureGateConfig>(
|
|
"feature_gate_config",
|
|
&self.feature_gate_config,
|
|
event,
|
|
);
|
|
callbacks.invoke_table_row_callbacks::<GameDistributionGame>(
|
|
"game_distribution_game",
|
|
&self.game_distribution_game,
|
|
event,
|
|
);
|
|
callbacks.invoke_table_row_callbacks::<GameDistributionIdempotencyReceipt>(
|
|
"game_distribution_idempotency_receipt",
|
|
&self.game_distribution_idempotency_receipt,
|
|
event,
|
|
);
|
|
callbacks.invoke_table_row_callbacks::<GameDistributionVersion>(
|
|
"game_distribution_version",
|
|
&self.game_distribution_version,
|
|
event,
|
|
);
|
|
callbacks.invoke_table_row_callbacks::<LlmRouterAccount>(
|
|
"llm_router_account",
|
|
&self.llm_router_account,
|
|
event,
|
|
);
|
|
callbacks.invoke_table_row_callbacks::<LlmRouterBillingCheckpoint>(
|
|
"llm_router_billing_checkpoint",
|
|
&self.llm_router_billing_checkpoint,
|
|
event,
|
|
);
|
|
callbacks.invoke_table_row_callbacks::<ProfileCodeOperation>(
|
|
"profile_code_operation",
|
|
&self.profile_code_operation,
|
|
event,
|
|
);
|
|
callbacks.invoke_table_row_callbacks::<ProfileDailyFreePoints>(
|
|
"profile_daily_free_points",
|
|
&self.profile_daily_free_points,
|
|
event,
|
|
);
|
|
callbacks.invoke_table_row_callbacks::<ProfileDashboardState>(
|
|
"profile_dashboard_state",
|
|
&self.profile_dashboard_state,
|
|
event,
|
|
);
|
|
callbacks.invoke_table_row_callbacks::<ProfileFeedbackSubmission>(
|
|
"profile_feedback_submission",
|
|
&self.profile_feedback_submission,
|
|
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::<ProfileRechargeOrderExpirationSchedule>(
|
|
"profile_recharge_order_expiration_schedule",
|
|
&self.profile_recharge_order_expiration_schedule,
|
|
event,
|
|
);
|
|
callbacks.invoke_table_row_callbacks::<ProfileRechargeOrderExpirationTimer>(
|
|
"profile_recharge_order_expiration_timer",
|
|
&self.profile_recharge_order_expiration_timer,
|
|
event,
|
|
);
|
|
callbacks.invoke_table_row_callbacks::<ProfileRechargeOrderRefundSettlement>(
|
|
"profile_recharge_order_refund_settlement",
|
|
&self.profile_recharge_order_refund_settlement,
|
|
event,
|
|
);
|
|
callbacks.invoke_table_row_callbacks::<ProfileRechargeProductConfig>(
|
|
"profile_recharge_product_config",
|
|
&self.profile_recharge_product_config,
|
|
event,
|
|
);
|
|
callbacks.invoke_table_row_callbacks::<ProfileRechargeRefund>(
|
|
"profile_recharge_refund",
|
|
&self.profile_recharge_refund,
|
|
event,
|
|
);
|
|
callbacks.invoke_table_row_callbacks::<ProfileRechargeRefundBillCheckpoint>(
|
|
"profile_recharge_refund_bill_checkpoint",
|
|
&self.profile_recharge_refund_bill_checkpoint,
|
|
event,
|
|
);
|
|
callbacks.invoke_table_row_callbacks::<ProfileRechargeRefundHold>(
|
|
"profile_recharge_refund_hold",
|
|
&self.profile_recharge_refund_hold,
|
|
event,
|
|
);
|
|
callbacks.invoke_table_row_callbacks::<ProfileRechargeRefundObservation>(
|
|
"profile_recharge_refund_observation",
|
|
&self.profile_recharge_refund_observation,
|
|
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::<ProfileWalletConfig>(
|
|
"profile_wallet_config",
|
|
&self.profile_wallet_config,
|
|
event,
|
|
);
|
|
callbacks.invoke_table_row_callbacks::<ProfileWalletConsumptionTotal>(
|
|
"profile_wallet_consumption_total",
|
|
&self.profile_wallet_consumption_total,
|
|
event,
|
|
);
|
|
callbacks.invoke_table_row_callbacks::<ProfileWalletLedger>(
|
|
"profile_wallet_ledger",
|
|
&self.profile_wallet_ledger,
|
|
event,
|
|
);
|
|
callbacks.invoke_table_row_callbacks::<ProfileWalletManualRestriction>(
|
|
"profile_wallet_manual_restriction",
|
|
&self.profile_wallet_manual_restriction,
|
|
event,
|
|
);
|
|
callbacks.invoke_table_row_callbacks::<ProfileWalletRefundOutbox>(
|
|
"profile_wallet_refund_outbox",
|
|
&self.profile_wallet_refund_outbox,
|
|
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::<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::<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::<UserAccount>(
|
|
"user_account",
|
|
&self.user_account,
|
|
event,
|
|
);
|
|
callbacks.invoke_table_row_callbacks::<UserBrowseHistory>(
|
|
"user_browse_history",
|
|
&self.user_browse_history,
|
|
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>) {
|
|
admin_account_table::register_table(client_cache);
|
|
agc_model_catalog_table::register_table(client_cache);
|
|
agc_tracking_event_table::register_table(client_cache);
|
|
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);
|
|
asset_operation_wallet_settlement_table::register_table(client_cache);
|
|
auth_identity_table::register_table(client_cache);
|
|
auth_store_projection_meta_table::register_table(client_cache);
|
|
creation_entry_config_table::register_table(client_cache);
|
|
creation_entry_type_config_table::register_table(client_cache);
|
|
database_migration_import_chunk_table::register_table(client_cache);
|
|
database_migration_operator_table::register_table(client_cache);
|
|
editor_agent_conversation_table::register_table(client_cache);
|
|
editor_asset_table::register_table(client_cache);
|
|
editor_asset_folder_table::register_table(client_cache);
|
|
editor_asset_group_cohort_table::register_table(client_cache);
|
|
editor_asset_group_source_provenance_table::register_table(client_cache);
|
|
editor_canvas_table::register_table(client_cache);
|
|
editor_canvas_generation_dialog_table::register_table(client_cache);
|
|
editor_canvas_layer_table::register_table(client_cache);
|
|
editor_canvas_layout_migration_table::register_table(client_cache);
|
|
editor_generation_operation_table::register_table(client_cache);
|
|
editor_generation_pricing_config_table::register_table(client_cache);
|
|
editor_generation_runtime_identity_rotation_table::register_table(client_cache);
|
|
editor_idempotent_create_receipt_table::register_table(client_cache);
|
|
editor_project_table::register_table(client_cache);
|
|
editor_project_resource_table::register_table(client_cache);
|
|
editor_showcase_asset_table::register_table(client_cache);
|
|
editor_showcase_asset_like_table::register_table(client_cache);
|
|
editor_showcase_campaign_config_table::register_table(client_cache);
|
|
error_report_table::register_table(client_cache);
|
|
external_api_key_table::register_table(client_cache);
|
|
external_generation_job_table::register_table(client_cache);
|
|
external_generation_job_event_table::register_table(client_cache);
|
|
external_generation_job_summary_table::register_table(client_cache);
|
|
feature_gate_config_table::register_table(client_cache);
|
|
game_distribution_game_table::register_table(client_cache);
|
|
game_distribution_idempotency_receipt_table::register_table(client_cache);
|
|
game_distribution_version_table::register_table(client_cache);
|
|
llm_router_account_table::register_table(client_cache);
|
|
llm_router_billing_checkpoint_table::register_table(client_cache);
|
|
profile_code_operation_table::register_table(client_cache);
|
|
profile_daily_free_points_table::register_table(client_cache);
|
|
profile_dashboard_state_table::register_table(client_cache);
|
|
profile_feedback_submission_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_recharge_order_expiration_schedule_table::register_table(client_cache);
|
|
profile_recharge_order_expiration_timer_table::register_table(client_cache);
|
|
profile_recharge_order_refund_settlement_table::register_table(client_cache);
|
|
profile_recharge_product_config_table::register_table(client_cache);
|
|
profile_recharge_refund_table::register_table(client_cache);
|
|
profile_recharge_refund_bill_checkpoint_table::register_table(client_cache);
|
|
profile_recharge_refund_hold_table::register_table(client_cache);
|
|
profile_recharge_refund_observation_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_config_table::register_table(client_cache);
|
|
profile_wallet_consumption_total_table::register_table(client_cache);
|
|
profile_wallet_ledger_table::register_table(client_cache);
|
|
profile_wallet_manual_restriction_table::register_table(client_cache);
|
|
profile_wallet_refund_outbox_table::register_table(client_cache);
|
|
public_work_like_table::register_table(client_cache);
|
|
public_work_play_daily_stat_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);
|
|
tracking_daily_stat_table::register_table(client_cache);
|
|
tracking_event_table::register_table(client_cache);
|
|
user_account_table::register_table(client_cache);
|
|
user_browse_history_table::register_table(client_cache);
|
|
}
|
|
const ALL_TABLE_NAMES: &'static [&'static str] = &[
|
|
"admin_account",
|
|
"agc_model_catalog",
|
|
"agc_tracking_event",
|
|
"ai_result_reference",
|
|
"ai_task",
|
|
"ai_task_event",
|
|
"ai_task_stage",
|
|
"ai_text_chunk",
|
|
"analytics_date_dimension",
|
|
"asset_entity_binding",
|
|
"asset_event",
|
|
"asset_object",
|
|
"asset_operation_wallet_settlement",
|
|
"auth_identity",
|
|
"auth_store_projection_meta",
|
|
"creation_entry_config",
|
|
"creation_entry_type_config",
|
|
"database_migration_import_chunk",
|
|
"database_migration_operator",
|
|
"editor_agent_conversation",
|
|
"editor_asset",
|
|
"editor_asset_folder",
|
|
"editor_asset_group_cohort",
|
|
"editor_asset_group_source_provenance",
|
|
"editor_canvas",
|
|
"editor_canvas_generation_dialog",
|
|
"editor_canvas_layer",
|
|
"editor_canvas_layout_migration",
|
|
"editor_generation_operation",
|
|
"editor_generation_pricing_config",
|
|
"editor_generation_runtime_identity_rotation",
|
|
"editor_idempotent_create_receipt",
|
|
"editor_project",
|
|
"editor_project_resource",
|
|
"editor_showcase_asset",
|
|
"editor_showcase_asset_like",
|
|
"editor_showcase_campaign_config",
|
|
"error_report",
|
|
"external_api_key",
|
|
"external_generation_job",
|
|
"external_generation_job_event",
|
|
"external_generation_job_summary",
|
|
"feature_gate_config",
|
|
"game_distribution_game",
|
|
"game_distribution_idempotency_receipt",
|
|
"game_distribution_version",
|
|
"llm_router_account",
|
|
"llm_router_billing_checkpoint",
|
|
"profile_code_operation",
|
|
"profile_daily_free_points",
|
|
"profile_dashboard_state",
|
|
"profile_feedback_submission",
|
|
"profile_invite_code",
|
|
"profile_membership",
|
|
"profile_played_world",
|
|
"profile_recharge_order",
|
|
"profile_recharge_order_expiration_schedule",
|
|
"profile_recharge_order_expiration_timer",
|
|
"profile_recharge_order_refund_settlement",
|
|
"profile_recharge_product_config",
|
|
"profile_recharge_refund",
|
|
"profile_recharge_refund_bill_checkpoint",
|
|
"profile_recharge_refund_hold",
|
|
"profile_recharge_refund_observation",
|
|
"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_config",
|
|
"profile_wallet_consumption_total",
|
|
"profile_wallet_ledger",
|
|
"profile_wallet_manual_restriction",
|
|
"profile_wallet_refund_outbox",
|
|
"public_work_like",
|
|
"public_work_play_daily_stat",
|
|
"refresh_session",
|
|
"runtime_setting",
|
|
"runtime_snapshot",
|
|
"tracking_daily_stat",
|
|
"tracking_event",
|
|
"user_account",
|
|
"user_browse_history",
|
|
];
|
|
}
|