omega restructuring + a bunch of changes i have made over the last weeks
This commit is contained in:
44
marts/generated/src/spacetime/migrate_procedure.rs
Normal file
44
marts/generated/src/spacetime/migrate_procedure.rs
Normal file
@@ -0,0 +1,44 @@
|
||||
// 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)]
|
||||
struct MigrateArgs {}
|
||||
|
||||
impl __sdk::InModule for MigrateArgs {
|
||||
type Module = super::RemoteModule;
|
||||
}
|
||||
|
||||
#[allow(non_camel_case_types)]
|
||||
/// Extension trait for access to the procedure `migrate`.
|
||||
///
|
||||
/// Implemented for [`super::RemoteProcedures`].
|
||||
pub trait migrate {
|
||||
fn migrate(&self) {
|
||||
self.migrate_then(|_, _| {});
|
||||
}
|
||||
|
||||
fn migrate_then(
|
||||
&self,
|
||||
|
||||
__callback: impl FnOnce(&super::ProcedureEventContext, Result<String, __sdk::InternalError>)
|
||||
+ Send
|
||||
+ 'static,
|
||||
);
|
||||
}
|
||||
|
||||
impl migrate for super::RemoteProcedures {
|
||||
fn migrate_then(
|
||||
&self,
|
||||
|
||||
__callback: impl FnOnce(&super::ProcedureEventContext, Result<String, __sdk::InternalError>)
|
||||
+ Send
|
||||
+ 'static,
|
||||
) {
|
||||
self.imp
|
||||
.invoke_procedure_with_callback::<_, String>("migrate", MigrateArgs {}, __callback);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user