38 lines
1.2 KiB
TypeScript
38 lines
1.2 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 {
|
|
CustomWorldPublicationStatus,
|
|
CustomWorldThemeMode,
|
|
} from "./types";
|
|
|
|
|
|
export default __t.row({
|
|
ownerUserId: __t.string().name("owner_user_id"),
|
|
profileId: __t.string().name("profile_id"),
|
|
payloadJson: __t.string().name("payload_json"),
|
|
get visibility() {
|
|
return CustomWorldPublicationStatus;
|
|
},
|
|
publishedAtMs: __t.option(__t.u64()).name("published_at_ms"),
|
|
updatedAtMs: __t.u64().name("updated_at_ms"),
|
|
authorDisplayName: __t.string().name("author_display_name"),
|
|
worldName: __t.string().name("world_name"),
|
|
subtitle: __t.string(),
|
|
summaryText: __t.string().name("summary_text"),
|
|
coverImageSrc: __t.option(__t.string()).name("cover_image_src"),
|
|
get themeMode() {
|
|
return CustomWorldThemeMode.name("theme_mode");
|
|
},
|
|
playableNpcCount: __t.u32().name("playable_npc_count"),
|
|
landmarkCount: __t.u32().name("landmark_count"),
|
|
});
|