Files
Genarrative/src/spacetime/generated/custom_world_profile_table.ts
kdletters cbc27bad4a
Some checks failed
CI / verify (push) Has been cancelled
init with react+axum+spacetimedb
2026-04-26 18:06:23 +08:00

43 lines
1.6 KiB
TypeScript

// THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE
// WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD.
/* eslint-disable */
/* tslint:disable */
import {
TypeBuilder as __TypeBuilder,
t as __t,
type AlgebraicTypeType as __AlgebraicTypeType,
type Infer as __Infer,
} from "spacetimedb";
import {
CustomWorldThemeMode,
CustomWorldPublicationStatus,
} from "./types";
export default __t.row({
profileId: __t.string().primaryKey().name("profile_id"),
ownerUserId: __t.string().name("owner_user_id"),
publicWorkCode: __t.option(__t.string()).name("public_work_code"),
authorPublicUserCode: __t.option(__t.string()).name("author_public_user_code"),
sourceAgentSessionId: __t.option(__t.string()).name("source_agent_session_id"),
get publicationStatus() {
return CustomWorldPublicationStatus.name("publication_status");
},
worldName: __t.string().name("world_name"),
subtitle: __t.string(),
summaryText: __t.string().name("summary_text"),
get themeMode() {
return CustomWorldThemeMode.name("theme_mode");
},
coverImageSrc: __t.option(__t.string()).name("cover_image_src"),
profilePayloadJson: __t.string().name("profile_payload_json"),
playableNpcCount: __t.u32().name("playable_npc_count"),
landmarkCount: __t.u32().name("landmark_count"),
authorDisplayName: __t.string().name("author_display_name"),
publishedAt: __t.option(__t.timestamp()).name("published_at"),
deletedAt: __t.option(__t.timestamp()).name("deleted_at"),
createdAt: __t.timestamp().name("created_at"),
updatedAt: __t.timestamp().name("updated_at"),
});