Files
Genarrative/src/spacetime/generated/custom_world_agent_operation_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

34 lines
985 B
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 {
RpgAgentOperationType,
RpgAgentOperationStatus,
} from "./types";
export default __t.row({
operationId: __t.string().primaryKey().name("operation_id"),
sessionId: __t.string().name("session_id"),
get operationType() {
return RpgAgentOperationType.name("operation_type");
},
get status() {
return RpgAgentOperationStatus;
},
phaseLabel: __t.string().name("phase_label"),
phaseDetail: __t.string().name("phase_detail"),
progress: __t.u32(),
errorMessage: __t.option(__t.string()).name("error_message"),
createdAt: __t.timestamp().name("created_at"),
updatedAt: __t.timestamp().name("updated_at"),
});