This commit is contained in:
39
src/spacetime/generated/ai_task_table.ts
Normal file
39
src/spacetime/generated/ai_task_table.ts
Normal file
@@ -0,0 +1,39 @@
|
||||
// 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 {
|
||||
AiTaskKind,
|
||||
AiTaskStatus,
|
||||
} from "./types";
|
||||
|
||||
|
||||
export default __t.row({
|
||||
taskId: __t.string().primaryKey().name("task_id"),
|
||||
get taskKind() {
|
||||
return AiTaskKind.name("task_kind");
|
||||
},
|
||||
ownerUserId: __t.string().name("owner_user_id"),
|
||||
requestLabel: __t.string().name("request_label"),
|
||||
sourceModule: __t.string().name("source_module"),
|
||||
sourceEntityId: __t.option(__t.string()).name("source_entity_id"),
|
||||
requestPayloadJson: __t.option(__t.string()).name("request_payload_json"),
|
||||
get status() {
|
||||
return AiTaskStatus;
|
||||
},
|
||||
failureMessage: __t.option(__t.string()).name("failure_message"),
|
||||
latestTextOutput: __t.option(__t.string()).name("latest_text_output"),
|
||||
latestStructuredPayloadJson: __t.option(__t.string()).name("latest_structured_payload_json"),
|
||||
version: __t.u32(),
|
||||
createdAt: __t.timestamp().name("created_at"),
|
||||
startedAt: __t.option(__t.timestamp()).name("started_at"),
|
||||
completedAt: __t.option(__t.timestamp()).name("completed_at"),
|
||||
updatedAt: __t.timestamp().name("updated_at"),
|
||||
});
|
||||
Reference in New Issue
Block a user