This commit is contained in:
40
src/spacetime/generated/custom_world_draft_card_table.ts
Normal file
40
src/spacetime/generated/custom_world_draft_card_table.ts
Normal file
@@ -0,0 +1,40 @@
|
||||
// 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 {
|
||||
RpgAgentDraftCardKind,
|
||||
RpgAgentDraftCardStatus,
|
||||
CustomWorldRoleAssetStatus,
|
||||
} from "./types";
|
||||
|
||||
|
||||
export default __t.row({
|
||||
cardId: __t.string().primaryKey().name("card_id"),
|
||||
sessionId: __t.string().name("session_id"),
|
||||
get kind() {
|
||||
return RpgAgentDraftCardKind;
|
||||
},
|
||||
get status() {
|
||||
return RpgAgentDraftCardStatus;
|
||||
},
|
||||
title: __t.string(),
|
||||
subtitle: __t.string(),
|
||||
summary: __t.string(),
|
||||
linkedIdsJson: __t.string().name("linked_ids_json"),
|
||||
warningCount: __t.u32().name("warning_count"),
|
||||
get assetStatus() {
|
||||
return __t.option(CustomWorldRoleAssetStatus).name("asset_status");
|
||||
},
|
||||
assetStatusLabel: __t.option(__t.string()).name("asset_status_label"),
|
||||
detailPayloadJson: __t.option(__t.string()).name("detail_payload_json"),
|
||||
createdAt: __t.timestamp().name("created_at"),
|
||||
updatedAt: __t.timestamp().name("updated_at"),
|
||||
});
|
||||
Reference in New Issue
Block a user