移除临时账号合并接口
删除重复手机号账号合并临时 procedure 和生成绑定。 恢复迁移操作员引导授权约束。
This commit is contained in:
@@ -357,10 +357,6 @@ pub mod delete_visual_novel_work_procedure;
|
||||
pub mod delete_wooden_fish_work_procedure;
|
||||
pub mod drag_puzzle_piece_or_group_procedure;
|
||||
pub mod drop_square_hole_shape_procedure;
|
||||
pub mod duplicate_phone_account_merge_group_type;
|
||||
pub mod duplicate_phone_account_merge_input_type;
|
||||
pub mod duplicate_phone_account_merge_procedure_result_type;
|
||||
pub mod duplicate_phone_account_merge_table_stat_type;
|
||||
pub mod editor_asset_create_input_type;
|
||||
pub mod editor_asset_delete_input_type;
|
||||
pub mod editor_asset_folder_create_input_type;
|
||||
@@ -636,7 +632,6 @@ pub mod match_3_d_work_snapshot_type;
|
||||
pub mod match_3_d_work_update_input_type;
|
||||
pub mod match_3_d_works_list_input_type;
|
||||
pub mod match_3_d_works_procedure_result_type;
|
||||
pub mod merge_duplicate_phone_accounts_procedure;
|
||||
pub mod npc_battle_interaction_procedure_result_type;
|
||||
pub mod npc_battle_interaction_result_type;
|
||||
pub mod npc_interaction_battle_mode_type;
|
||||
@@ -1590,10 +1585,6 @@ pub use delete_visual_novel_work_procedure::delete_visual_novel_work;
|
||||
pub use delete_wooden_fish_work_procedure::delete_wooden_fish_work;
|
||||
pub use drag_puzzle_piece_or_group_procedure::drag_puzzle_piece_or_group;
|
||||
pub use drop_square_hole_shape_procedure::drop_square_hole_shape;
|
||||
pub use duplicate_phone_account_merge_group_type::DuplicatePhoneAccountMergeGroup;
|
||||
pub use duplicate_phone_account_merge_input_type::DuplicatePhoneAccountMergeInput;
|
||||
pub use duplicate_phone_account_merge_procedure_result_type::DuplicatePhoneAccountMergeProcedureResult;
|
||||
pub use duplicate_phone_account_merge_table_stat_type::DuplicatePhoneAccountMergeTableStat;
|
||||
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;
|
||||
@@ -1869,7 +1860,6 @@ pub use match_3_d_work_snapshot_type::Match3DWorkSnapshot;
|
||||
pub use match_3_d_work_update_input_type::Match3DWorkUpdateInput;
|
||||
pub use match_3_d_works_list_input_type::Match3DWorksListInput;
|
||||
pub use match_3_d_works_procedure_result_type::Match3DWorksProcedureResult;
|
||||
pub use merge_duplicate_phone_accounts_procedure::merge_duplicate_phone_accounts;
|
||||
pub use npc_battle_interaction_procedure_result_type::NpcBattleInteractionProcedureResult;
|
||||
pub use npc_battle_interaction_result_type::NpcBattleInteractionResult;
|
||||
pub use npc_interaction_battle_mode_type::NpcInteractionBattleMode;
|
||||
|
||||
-17
@@ -1,17 +0,0 @@
|
||||
// THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE
|
||||
// WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD.
|
||||
|
||||
#![allow(unused, clippy::all)]
|
||||
use spacetimedb_sdk::__codegen::{self as __sdk, __lib, __sats, __ws};
|
||||
|
||||
#[derive(__lib::ser::Serialize, __lib::de::Deserialize, Clone, PartialEq, Debug)]
|
||||
#[sats(crate = __lib)]
|
||||
pub struct DuplicatePhoneAccountMergeGroup {
|
||||
pub phone_e_164: String,
|
||||
pub target_user_id: String,
|
||||
pub source_user_ids: Vec<String>,
|
||||
}
|
||||
|
||||
impl __sdk::InModule for DuplicatePhoneAccountMergeGroup {
|
||||
type Module = super::RemoteModule;
|
||||
}
|
||||
-18
@@ -1,18 +0,0 @@
|
||||
// THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE
|
||||
// WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD.
|
||||
|
||||
#![allow(unused, clippy::all)]
|
||||
use spacetimedb_sdk::__codegen::{self as __sdk, __lib, __sats, __ws};
|
||||
|
||||
use super::duplicate_phone_account_merge_group_type::DuplicatePhoneAccountMergeGroup;
|
||||
|
||||
#[derive(__lib::ser::Serialize, __lib::de::Deserialize, Clone, PartialEq, Debug)]
|
||||
#[sats(crate = __lib)]
|
||||
pub struct DuplicatePhoneAccountMergeInput {
|
||||
pub groups: Vec<DuplicatePhoneAccountMergeGroup>,
|
||||
pub dry_run: bool,
|
||||
}
|
||||
|
||||
impl __sdk::InModule for DuplicatePhoneAccountMergeInput {
|
||||
type Module = super::RemoteModule;
|
||||
}
|
||||
-20
@@ -1,20 +0,0 @@
|
||||
// THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE
|
||||
// WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD.
|
||||
|
||||
#![allow(unused, clippy::all)]
|
||||
use spacetimedb_sdk::__codegen::{self as __sdk, __lib, __sats, __ws};
|
||||
|
||||
use super::duplicate_phone_account_merge_table_stat_type::DuplicatePhoneAccountMergeTableStat;
|
||||
|
||||
#[derive(__lib::ser::Serialize, __lib::de::Deserialize, Clone, PartialEq, Debug)]
|
||||
#[sats(crate = __lib)]
|
||||
pub struct DuplicatePhoneAccountMergeProcedureResult {
|
||||
pub ok: bool,
|
||||
pub dry_run: bool,
|
||||
pub table_stats: Vec<DuplicatePhoneAccountMergeTableStat>,
|
||||
pub error_message: Option<String>,
|
||||
}
|
||||
|
||||
impl __sdk::InModule for DuplicatePhoneAccountMergeProcedureResult {
|
||||
type Module = super::RemoteModule;
|
||||
}
|
||||
-18
@@ -1,18 +0,0 @@
|
||||
// THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE
|
||||
// WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD.
|
||||
|
||||
#![allow(unused, clippy::all)]
|
||||
use spacetimedb_sdk::__codegen::{self as __sdk, __lib, __sats, __ws};
|
||||
|
||||
#[derive(__lib::ser::Serialize, __lib::de::Deserialize, Clone, PartialEq, Debug)]
|
||||
#[sats(crate = __lib)]
|
||||
pub struct DuplicatePhoneAccountMergeTableStat {
|
||||
pub table_name: String,
|
||||
pub updated_row_count: u64,
|
||||
pub deleted_row_count: u64,
|
||||
pub inserted_row_count: u64,
|
||||
}
|
||||
|
||||
impl __sdk::InModule for DuplicatePhoneAccountMergeTableStat {
|
||||
type Module = super::RemoteModule;
|
||||
}
|
||||
-59
@@ -1,59 +0,0 @@
|
||||
// THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE
|
||||
// WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD.
|
||||
|
||||
#![allow(unused, clippy::all)]
|
||||
use spacetimedb_sdk::__codegen::{self as __sdk, __lib, __sats, __ws};
|
||||
|
||||
use super::duplicate_phone_account_merge_input_type::DuplicatePhoneAccountMergeInput;
|
||||
use super::duplicate_phone_account_merge_procedure_result_type::DuplicatePhoneAccountMergeProcedureResult;
|
||||
|
||||
#[derive(__lib::ser::Serialize, __lib::de::Deserialize, Clone, PartialEq, Debug)]
|
||||
#[sats(crate = __lib)]
|
||||
struct MergeDuplicatePhoneAccountsArgs {
|
||||
pub input: DuplicatePhoneAccountMergeInput,
|
||||
}
|
||||
|
||||
impl __sdk::InModule for MergeDuplicatePhoneAccountsArgs {
|
||||
type Module = super::RemoteModule;
|
||||
}
|
||||
|
||||
#[allow(non_camel_case_types)]
|
||||
/// Extension trait for access to the procedure `merge_duplicate_phone_accounts`.
|
||||
///
|
||||
/// Implemented for [`super::RemoteProcedures`].
|
||||
pub trait merge_duplicate_phone_accounts {
|
||||
fn merge_duplicate_phone_accounts(&self, input: DuplicatePhoneAccountMergeInput) {
|
||||
self.merge_duplicate_phone_accounts_then(input, |_, _| {});
|
||||
}
|
||||
|
||||
fn merge_duplicate_phone_accounts_then(
|
||||
&self,
|
||||
input: DuplicatePhoneAccountMergeInput,
|
||||
|
||||
__callback: impl FnOnce(
|
||||
&super::ProcedureEventContext,
|
||||
Result<DuplicatePhoneAccountMergeProcedureResult, __sdk::InternalError>,
|
||||
) + Send
|
||||
+ 'static,
|
||||
);
|
||||
}
|
||||
|
||||
impl merge_duplicate_phone_accounts for super::RemoteProcedures {
|
||||
fn merge_duplicate_phone_accounts_then(
|
||||
&self,
|
||||
input: DuplicatePhoneAccountMergeInput,
|
||||
|
||||
__callback: impl FnOnce(
|
||||
&super::ProcedureEventContext,
|
||||
Result<DuplicatePhoneAccountMergeProcedureResult, __sdk::InternalError>,
|
||||
) + Send
|
||||
+ 'static,
|
||||
) {
|
||||
self.imp
|
||||
.invoke_procedure_with_callback::<_, DuplicatePhoneAccountMergeProcedureResult>(
|
||||
"merge_duplicate_phone_accounts",
|
||||
MergeDuplicatePhoneAccountsArgs { input },
|
||||
__callback,
|
||||
);
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user