UNPKG

temporeest

Version:
46 lines (39 loc) 1 kB
// SIGNED-SOURCE: <344297bc81fcb796dffdaa5dcb36406d> /** * AUTO-GENERATED FILE * Do not modify. Update your schema and re-generate for changes. */ import { Context } from "@aphro/runtime-ts"; import { decodeModelData } from "@aphro/runtime-ts"; import { encodeModelData } from "@aphro/runtime-ts"; import { SID_of } from "@aphro/runtime-ts"; import { NodeSpecWithCreate } from "@aphro/runtime-ts"; import Identity from "../Identity.js"; import { Data } from "./IdentityBase.js"; const fields = { id: { encoding: "none", }, identifier: { encoding: "none", }, token: { encoding: "none", }, } as const; const IdentitySpec: NodeSpecWithCreate<Identity, Data> = { type: "node", createFrom(ctx: Context, data: Data, raw: boolean = true) { return new Identity(ctx, data); }, primaryKey: "id", storage: { engine: "ephemeral", db: "--", type: "ephemeral", tablish: "ephemeral", }, fields, outboundEdges: {}, }; export default IdentitySpec;