Files
Genarrative/src/spacetime/generated/asset_object_table.ts
T
kdletters cbc27bad4a
CI / verify (push) Has been cancelled
init with react+axum+spacetimedb
2026-04-26 18:06:23 +08:00

36 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 {
AssetObjectAccessPolicy,
} from "./types";
export default __t.row({
assetObjectId: __t.string().primaryKey().name("asset_object_id"),
bucket: __t.string(),
objectKey: __t.string().name("object_key"),
get accessPolicy() {
return AssetObjectAccessPolicy.name("access_policy");
},
contentType: __t.option(__t.string()).name("content_type"),
contentLength: __t.u64().name("content_length"),
contentHash: __t.option(__t.string()).name("content_hash"),
version: __t.u32(),
sourceJobId: __t.option(__t.string()).name("source_job_id"),
ownerUserId: __t.option(__t.string()).name("owner_user_id"),
profileId: __t.option(__t.string()).name("profile_id"),
entityId: __t.option(__t.string()).name("entity_id"),
assetKind: __t.string().name("asset_kind"),
createdAt: __t.timestamp().name("created_at"),
updatedAt: __t.timestamp().name("updated_at"),
});