@@ -1,7 +1,7 @@
|
||||
// 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.2.0 (commit eb11e2f5c41dce6979715ad407996270d61329f6).
|
||||
// This was generated using spacetimedb cli version 2.1.0 (commit 6981f48b4bc1a71c8dd9bdfe5a2c343f6370243d).
|
||||
|
||||
#![allow(unused, clippy::all)]
|
||||
use spacetimedb_sdk::__codegen::{self as __sdk, __lib, __sats, __ws};
|
||||
|
||||
@@ -14,6 +14,7 @@ pub struct ProfileInviteCode {
|
||||
pub updated_at: __sdk::Timestamp,
|
||||
pub starts_at: Option<__sdk::Timestamp>,
|
||||
pub expires_at: Option<__sdk::Timestamp>,
|
||||
pub granted_user_tags: Vec<String>,
|
||||
}
|
||||
|
||||
impl __sdk::InModule for ProfileInviteCode {
|
||||
@@ -31,6 +32,7 @@ pub struct ProfileInviteCodeCols {
|
||||
pub updated_at: __sdk::__query_builder::Col<ProfileInviteCode, __sdk::Timestamp>,
|
||||
pub starts_at: __sdk::__query_builder::Col<ProfileInviteCode, Option<__sdk::Timestamp>>,
|
||||
pub expires_at: __sdk::__query_builder::Col<ProfileInviteCode, Option<__sdk::Timestamp>>,
|
||||
pub granted_user_tags: __sdk::__query_builder::Col<ProfileInviteCode, Vec<String>>,
|
||||
}
|
||||
|
||||
impl __sdk::__query_builder::HasCols for ProfileInviteCode {
|
||||
@@ -44,6 +46,7 @@ impl __sdk::__query_builder::HasCols for ProfileInviteCode {
|
||||
updated_at: __sdk::__query_builder::Col::new(table_name, "updated_at"),
|
||||
starts_at: __sdk::__query_builder::Col::new(table_name, "starts_at"),
|
||||
expires_at: __sdk::__query_builder::Col::new(table_name, "expires_at"),
|
||||
granted_user_tags: __sdk::__query_builder::Col::new(table_name, "granted_user_tags"),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,10 +31,10 @@ pub trait record_tracking_event_and_return {
|
||||
input: RuntimeTrackingEventInput,
|
||||
|
||||
__callback: impl FnOnce(
|
||||
&super::ProcedureEventContext,
|
||||
Result<RuntimeTrackingEventProcedureResult, __sdk::InternalError>,
|
||||
) + Send
|
||||
+ 'static,
|
||||
&super::ProcedureEventContext,
|
||||
Result<RuntimeTrackingEventProcedureResult, __sdk::InternalError>,
|
||||
) + Send
|
||||
+ 'static,
|
||||
);
|
||||
}
|
||||
|
||||
@@ -44,10 +44,10 @@ impl record_tracking_event_and_return for super::RemoteProcedures {
|
||||
input: RuntimeTrackingEventInput,
|
||||
|
||||
__callback: impl FnOnce(
|
||||
&super::ProcedureEventContext,
|
||||
Result<RuntimeTrackingEventProcedureResult, __sdk::InternalError>,
|
||||
) + Send
|
||||
+ 'static,
|
||||
&super::ProcedureEventContext,
|
||||
Result<RuntimeTrackingEventProcedureResult, __sdk::InternalError>,
|
||||
) + Send
|
||||
+ 'static,
|
||||
) {
|
||||
self.imp
|
||||
.invoke_procedure_with_callback::<_, RuntimeTrackingEventProcedureResult>(
|
||||
|
||||
@@ -10,6 +10,7 @@ pub struct RuntimeProfileInviteCodeAdminUpsertInput {
|
||||
pub admin_user_id: String,
|
||||
pub invite_code: String,
|
||||
pub metadata_json: String,
|
||||
pub granted_user_tags: Vec<String>,
|
||||
pub starts_at_micros: Option<i64>,
|
||||
pub expires_at_micros: Option<i64>,
|
||||
pub updated_at_micros: i64,
|
||||
|
||||
@@ -10,6 +10,7 @@ pub struct RuntimeProfileInviteCodeSnapshot {
|
||||
pub user_id: String,
|
||||
pub invite_code: String,
|
||||
pub metadata_json: String,
|
||||
pub granted_user_tags: Vec<String>,
|
||||
pub starts_at_micros: Option<i64>,
|
||||
pub expires_at_micros: Option<i64>,
|
||||
pub created_at_micros: i64,
|
||||
|
||||
@@ -20,6 +20,7 @@ pub struct UserAccount {
|
||||
pub password_hash: String,
|
||||
pub password_login_enabled: bool,
|
||||
pub token_version: u64,
|
||||
pub user_tags: Vec<String>,
|
||||
}
|
||||
|
||||
impl __sdk::InModule for UserAccount {
|
||||
@@ -43,6 +44,7 @@ pub struct UserAccountCols {
|
||||
pub password_hash: __sdk::__query_builder::Col<UserAccount, String>,
|
||||
pub password_login_enabled: __sdk::__query_builder::Col<UserAccount, bool>,
|
||||
pub token_version: __sdk::__query_builder::Col<UserAccount, u64>,
|
||||
pub user_tags: __sdk::__query_builder::Col<UserAccount, Vec<String>>,
|
||||
}
|
||||
|
||||
impl __sdk::__query_builder::HasCols for UserAccount {
|
||||
@@ -68,6 +70,7 @@ impl __sdk::__query_builder::HasCols for UserAccount {
|
||||
"password_login_enabled",
|
||||
),
|
||||
token_version: __sdk::__query_builder::Col::new(table_name, "token_version"),
|
||||
user_tags: __sdk::__query_builder::Col::new(table_name, "user_tags"),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user