db.d.ts
Editor declarations for the SDK. Download db.d.ts.
// Example of the release-generated declaration shape. Deploy tooling derives this file from
// the sealed db-schema.json; column unions and nullable fields come from that snapshot.
/// <reference path="./microhost.d.ts" />
export type TaskState = "open" | "done";
export interface Task {
id: number;
title: string;
state: TaskState;
note: string | null;
}
export declare const tasks: DbTable<Task, "id">;
export declare const tables: Readonly<{ tasks: typeof tasks }>;