init with react+axum+spacetimedb
Some checks failed
CI / verify (push) Has been cancelled

This commit is contained in:
2026-04-26 18:06:23 +08:00
commit cbc27bad4a
20199 changed files with 883714 additions and 0 deletions

View 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"),
});