// Generated by quixos-codegen-ts. Do not edit. Binding ABI version 1. import { bindQxHandler, type BindingValue, type QxObjectRef, type QxWatchHandle, type QxHandler, type QxDerived, type QxContextLifecycle, type QxLiveValue, type QxHandlerSpec, type QxMessages } from "@quixos/camino-package-runtime"; import { searchDocumentBinding as message0 } from "../messages.js"; export const packageRevisionId = "package:todo-runtime@1"; export type Contexts = { "archive": { "objectId": QxObjectRef<"atom:atom:task">; "input": null; "ports": { "data": { "objectId": QxObjectRef<"interface:interface:task-data@1">; "live": { "title.get": () => Promise; "title.set": (input: string) => Promise; "status.get": () => Promise; "status.set": (input: string) => Promise; "priority.get": () => Promise; "priority.set": (input: string) => Promise; "notes.get": () => Promise; "notes.set": (input: string) => Promise; "dueDate.get": () => Promise; "dueDate.set": (input: string) => Promise; "energy.get": () => Promise; "energy.set": (input: string) => Promise }; "title.get": () => Promise; "title.set": (input: string) => Promise; "status.get": () => Promise; "status.set": (input: string) => Promise; "priority.get": () => Promise; "priority.set": (input: string) => Promise; "notes.get": () => Promise; "notes.set": (input: string) => Promise; "dueDate.get": () => Promise; "dueDate.set": (input: string) => Promise; "energy.get": () => Promise; "energy.set": (input: string) => Promise } } } & QxContextLifecycle<{ "objectId": QxObjectRef<"atom:atom:task">; "input": null; "ports": { "data": { "objectId": QxObjectRef<"interface:interface:task-data@1">; "live": { "title.get": () => Promise; "title.set": (input: string) => Promise; "status.get": () => Promise; "status.set": (input: string) => Promise; "priority.get": () => Promise; "priority.set": (input: string) => Promise; "notes.get": () => Promise; "notes.set": (input: string) => Promise; "dueDate.get": () => Promise; "dueDate.set": (input: string) => Promise; "energy.get": () => Promise; "energy.set": (input: string) => Promise }; "title.get": () => Promise; "title.set": (input: string) => Promise; "status.get": () => Promise; "status.set": (input: string) => Promise; "priority.get": () => Promise; "priority.set": (input: string) => Promise; "notes.get": () => Promise; "notes.set": (input: string) => Promise; "dueDate.get": () => Promise; "dueDate.set": (input: string) => Promise; "energy.get": () => Promise; "energy.set": (input: string) => Promise } } } & {signal?: AbortSignal}>; "complete": { "objectId": QxObjectRef<"atom:atom:task">; "input": null; "ports": { "data": { "objectId": QxObjectRef<"interface:interface:task-data@1">; "live": { "title.get": () => Promise; "title.set": (input: string) => Promise; "status.get": () => Promise; "status.set": (input: string) => Promise; "priority.get": () => Promise; "priority.set": (input: string) => Promise; "notes.get": () => Promise; "notes.set": (input: string) => Promise; "dueDate.get": () => Promise; "dueDate.set": (input: string) => Promise; "energy.get": () => Promise; "energy.set": (input: string) => Promise }; "title.get": () => Promise; "title.set": (input: string) => Promise; "status.get": () => Promise; "status.set": (input: string) => Promise; "priority.get": () => Promise; "priority.set": (input: string) => Promise; "notes.get": () => Promise; "notes.set": (input: string) => Promise; "dueDate.get": () => Promise; "dueDate.set": (input: string) => Promise; "energy.get": () => Promise; "energy.set": (input: string) => Promise } } } & QxContextLifecycle<{ "objectId": QxObjectRef<"atom:atom:task">; "input": null; "ports": { "data": { "objectId": QxObjectRef<"interface:interface:task-data@1">; "live": { "title.get": () => Promise; "title.set": (input: string) => Promise; "status.get": () => Promise; "status.set": (input: string) => Promise; "priority.get": () => Promise; "priority.set": (input: string) => Promise; "notes.get": () => Promise; "notes.set": (input: string) => Promise; "dueDate.get": () => Promise; "dueDate.set": (input: string) => Promise; "energy.get": () => Promise; "energy.set": (input: string) => Promise }; "title.get": () => Promise; "title.set": (input: string) => Promise; "status.get": () => Promise; "status.set": (input: string) => Promise; "priority.get": () => Promise; "priority.set": (input: string) => Promise; "notes.get": () => Promise; "notes.set": (input: string) => Promise; "dueDate.get": () => Promise; "dueDate.set": (input: string) => Promise; "energy.get": () => Promise; "energy.set": (input: string) => Promise } } } & {signal?: AbortSignal}>; "createTask": { "objectId": QxObjectRef<"atom:atom:task">; "input": string; "ports": { "data": { "objectId": QxObjectRef<"interface:interface:task-data@1">; "live": { "title.get": () => Promise; "title.set": (input: string) => Promise; "status.get": () => Promise; "status.set": (input: string) => Promise; "priority.get": () => Promise; "priority.set": (input: string) => Promise; "notes.get": () => Promise; "notes.set": (input: string) => Promise; "dueDate.get": () => Promise; "dueDate.set": (input: string) => Promise; "energy.get": () => Promise; "energy.set": (input: string) => Promise }; "title.get": () => Promise; "title.set": (input: string) => Promise; "status.get": () => Promise; "status.set": (input: string) => Promise; "priority.get": () => Promise; "priority.set": (input: string) => Promise; "notes.get": () => Promise; "notes.set": (input: string) => Promise; "dueDate.get": () => Promise; "dueDate.set": (input: string) => Promise; "energy.get": () => Promise; "energy.set": (input: string) => Promise } } } & QxContextLifecycle<{ "objectId": QxObjectRef<"atom:atom:task">; "input": string; "ports": { "data": { "objectId": QxObjectRef<"interface:interface:task-data@1">; "live": { "title.get": () => Promise; "title.set": (input: string) => Promise; "status.get": () => Promise; "status.set": (input: string) => Promise; "priority.get": () => Promise; "priority.set": (input: string) => Promise; "notes.get": () => Promise; "notes.set": (input: string) => Promise; "dueDate.get": () => Promise; "dueDate.set": (input: string) => Promise; "energy.get": () => Promise; "energy.set": (input: string) => Promise }; "title.get": () => Promise; "title.set": (input: string) => Promise; "status.get": () => Promise; "status.set": (input: string) => Promise; "priority.get": () => Promise; "priority.set": (input: string) => Promise; "notes.get": () => Promise; "notes.set": (input: string) => Promise; "dueDate.get": () => Promise; "dueDate.set": (input: string) => Promise; "energy.get": () => Promise; "energy.set": (input: string) => Promise } } } & {signal?: AbortSignal}>; "displayLabelGet": { "objectId": QxObjectRef<"atom:atom:task">; "input": null; "ports": { "data": { "objectId": QxObjectRef<"interface:interface:task-data@1">; "live": { "title.get": () => Promise; "title.set": (input: string) => Promise; "status.get": () => Promise; "status.set": (input: string) => Promise; "priority.get": () => Promise; "priority.set": (input: string) => Promise; "notes.get": () => Promise; "notes.set": (input: string) => Promise; "dueDate.get": () => Promise; "dueDate.set": (input: string) => Promise; "energy.get": () => Promise; "energy.set": (input: string) => Promise }; "title.get": () => Promise; "title.set": (input: string) => Promise; "status.get": () => Promise; "status.set": (input: string) => Promise; "priority.get": () => Promise; "priority.set": (input: string) => Promise; "notes.get": () => Promise; "notes.set": (input: string) => Promise; "dueDate.get": () => Promise; "dueDate.set": (input: string) => Promise; "energy.get": () => Promise; "energy.set": (input: string) => Promise } } } & QxContextLifecycle<{ "objectId": QxObjectRef<"atom:atom:task">; "input": null; "ports": { "data": { "objectId": QxObjectRef<"interface:interface:task-data@1">; "live": { "title.get": () => Promise; "title.set": (input: string) => Promise; "status.get": () => Promise; "status.set": (input: string) => Promise; "priority.get": () => Promise; "priority.set": (input: string) => Promise; "notes.get": () => Promise; "notes.set": (input: string) => Promise; "dueDate.get": () => Promise; "dueDate.set": (input: string) => Promise; "energy.get": () => Promise; "energy.set": (input: string) => Promise }; "title.get": () => Promise; "title.set": (input: string) => Promise; "status.get": () => Promise; "status.set": (input: string) => Promise; "priority.get": () => Promise; "priority.set": (input: string) => Promise; "notes.get": () => Promise; "notes.set": (input: string) => Promise; "dueDate.get": () => Promise; "dueDate.set": (input: string) => Promise; "energy.get": () => Promise; "energy.set": (input: string) => Promise } } } & {signal?: AbortSignal}>; "displayLabelWatch": { "objectId": QxObjectRef<"atom:atom:task">; "input": null; "ports": { "data": { "objectId": QxObjectRef<"interface:interface:task-data@1">; "live": { "title.get": () => Promise; "title.set": (input: string) => Promise; "status.get": () => Promise; "status.set": (input: string) => Promise; "priority.get": () => Promise; "priority.set": (input: string) => Promise; "notes.get": () => Promise; "notes.set": (input: string) => Promise; "dueDate.get": () => Promise; "dueDate.set": (input: string) => Promise; "energy.get": () => Promise; "energy.set": (input: string) => Promise }; "title.get": () => Promise; "title.set": (input: string) => Promise; "status.get": () => Promise; "status.set": (input: string) => Promise; "priority.get": () => Promise; "priority.set": (input: string) => Promise; "notes.get": () => Promise; "notes.set": (input: string) => Promise; "dueDate.get": () => Promise; "dueDate.set": (input: string) => Promise; "energy.get": () => Promise; "energy.set": (input: string) => Promise } } } & QxContextLifecycle<{ "objectId": QxObjectRef<"atom:atom:task">; "input": null; "ports": { "data": { "objectId": QxObjectRef<"interface:interface:task-data@1">; "live": { "title.get": () => Promise; "title.set": (input: string) => Promise; "status.get": () => Promise; "status.set": (input: string) => Promise; "priority.get": () => Promise; "priority.set": (input: string) => Promise; "notes.get": () => Promise; "notes.set": (input: string) => Promise; "dueDate.get": () => Promise; "dueDate.set": (input: string) => Promise; "energy.get": () => Promise; "energy.set": (input: string) => Promise }; "title.get": () => Promise; "title.set": (input: string) => Promise; "status.get": () => Promise; "status.set": (input: string) => Promise; "priority.get": () => Promise; "priority.set": (input: string) => Promise; "notes.get": () => Promise; "notes.set": (input: string) => Promise; "dueDate.get": () => Promise; "dueDate.set": (input: string) => Promise; "energy.get": () => Promise; "energy.set": (input: string) => Promise } } } & {signal?: AbortSignal}>; "displayLabelWatchStop": { "objectId": QxObjectRef<"atom:atom:task">; "input": QxWatchHandle; "ports": { } } & QxContextLifecycle<{ "objectId": QxObjectRef<"atom:atom:task">; "input": QxWatchHandle; "ports": { } } & {signal?: AbortSignal}>; "reopen": { "objectId": QxObjectRef<"atom:atom:task">; "input": null; "ports": { "data": { "objectId": QxObjectRef<"interface:interface:task-data@1">; "live": { "title.get": () => Promise; "title.set": (input: string) => Promise; "status.get": () => Promise; "status.set": (input: string) => Promise; "priority.get": () => Promise; "priority.set": (input: string) => Promise; "notes.get": () => Promise; "notes.set": (input: string) => Promise; "dueDate.get": () => Promise; "dueDate.set": (input: string) => Promise; "energy.get": () => Promise; "energy.set": (input: string) => Promise }; "title.get": () => Promise; "title.set": (input: string) => Promise; "status.get": () => Promise; "status.set": (input: string) => Promise; "priority.get": () => Promise; "priority.set": (input: string) => Promise; "notes.get": () => Promise; "notes.set": (input: string) => Promise; "dueDate.get": () => Promise; "dueDate.set": (input: string) => Promise; "energy.get": () => Promise; "energy.set": (input: string) => Promise } } } & QxContextLifecycle<{ "objectId": QxObjectRef<"atom:atom:task">; "input": null; "ports": { "data": { "objectId": QxObjectRef<"interface:interface:task-data@1">; "live": { "title.get": () => Promise; "title.set": (input: string) => Promise; "status.get": () => Promise; "status.set": (input: string) => Promise; "priority.get": () => Promise; "priority.set": (input: string) => Promise; "notes.get": () => Promise; "notes.set": (input: string) => Promise; "dueDate.get": () => Promise; "dueDate.set": (input: string) => Promise; "energy.get": () => Promise; "energy.set": (input: string) => Promise }; "title.get": () => Promise; "title.set": (input: string) => Promise; "status.get": () => Promise; "status.set": (input: string) => Promise; "priority.get": () => Promise; "priority.set": (input: string) => Promise; "notes.get": () => Promise; "notes.set": (input: string) => Promise; "dueDate.get": () => Promise; "dueDate.set": (input: string) => Promise; "energy.get": () => Promise; "energy.set": (input: string) => Promise } } } & {signal?: AbortSignal}>; "searchDocumentGet": { "objectId": QxObjectRef<"atom:atom:task">; "input": null; "ports": { "data": { "objectId": QxObjectRef<"interface:interface:task-data@1">; "live": { "title.get": () => Promise; "title.set": (input: string) => Promise; "status.get": () => Promise; "status.set": (input: string) => Promise; "priority.get": () => Promise; "priority.set": (input: string) => Promise; "notes.get": () => Promise; "notes.set": (input: string) => Promise; "dueDate.get": () => Promise; "dueDate.set": (input: string) => Promise; "energy.get": () => Promise; "energy.set": (input: string) => Promise }; "title.get": () => Promise; "title.set": (input: string) => Promise; "status.get": () => Promise; "status.set": (input: string) => Promise; "priority.get": () => Promise; "priority.set": (input: string) => Promise; "notes.get": () => Promise; "notes.set": (input: string) => Promise; "dueDate.get": () => Promise; "dueDate.set": (input: string) => Promise; "energy.get": () => Promise; "energy.set": (input: string) => Promise } } } & QxContextLifecycle<{ "objectId": QxObjectRef<"atom:atom:task">; "input": null; "ports": { "data": { "objectId": QxObjectRef<"interface:interface:task-data@1">; "live": { "title.get": () => Promise; "title.set": (input: string) => Promise; "status.get": () => Promise; "status.set": (input: string) => Promise; "priority.get": () => Promise; "priority.set": (input: string) => Promise; "notes.get": () => Promise; "notes.set": (input: string) => Promise; "dueDate.get": () => Promise; "dueDate.set": (input: string) => Promise; "energy.get": () => Promise; "energy.set": (input: string) => Promise }; "title.get": () => Promise; "title.set": (input: string) => Promise; "status.get": () => Promise; "status.set": (input: string) => Promise; "priority.get": () => Promise; "priority.set": (input: string) => Promise; "notes.get": () => Promise; "notes.set": (input: string) => Promise; "dueDate.get": () => Promise; "dueDate.set": (input: string) => Promise; "energy.get": () => Promise; "energy.set": (input: string) => Promise } } } & {signal?: AbortSignal}>; "searchDocumentWatch": { "objectId": QxObjectRef<"atom:atom:task">; "input": null; "ports": { "data": { "objectId": QxObjectRef<"interface:interface:task-data@1">; "live": { "title.get": () => Promise; "title.set": (input: string) => Promise; "status.get": () => Promise; "status.set": (input: string) => Promise; "priority.get": () => Promise; "priority.set": (input: string) => Promise; "notes.get": () => Promise; "notes.set": (input: string) => Promise; "dueDate.get": () => Promise; "dueDate.set": (input: string) => Promise; "energy.get": () => Promise; "energy.set": (input: string) => Promise }; "title.get": () => Promise; "title.set": (input: string) => Promise; "status.get": () => Promise; "status.set": (input: string) => Promise; "priority.get": () => Promise; "priority.set": (input: string) => Promise; "notes.get": () => Promise; "notes.set": (input: string) => Promise; "dueDate.get": () => Promise; "dueDate.set": (input: string) => Promise; "energy.get": () => Promise; "energy.set": (input: string) => Promise } } } & QxContextLifecycle<{ "objectId": QxObjectRef<"atom:atom:task">; "input": null; "ports": { "data": { "objectId": QxObjectRef<"interface:interface:task-data@1">; "live": { "title.get": () => Promise; "title.set": (input: string) => Promise; "status.get": () => Promise; "status.set": (input: string) => Promise; "priority.get": () => Promise; "priority.set": (input: string) => Promise; "notes.get": () => Promise; "notes.set": (input: string) => Promise; "dueDate.get": () => Promise; "dueDate.set": (input: string) => Promise; "energy.get": () => Promise; "energy.set": (input: string) => Promise }; "title.get": () => Promise; "title.set": (input: string) => Promise; "status.get": () => Promise; "status.set": (input: string) => Promise; "priority.get": () => Promise; "priority.set": (input: string) => Promise; "notes.get": () => Promise; "notes.set": (input: string) => Promise; "dueDate.get": () => Promise; "dueDate.set": (input: string) => Promise; "energy.get": () => Promise; "energy.set": (input: string) => Promise } } } & {signal?: AbortSignal}>; "searchDocumentWatchStop": { "objectId": QxObjectRef<"atom:atom:task">; "input": QxWatchHandle; "ports": { } } & QxContextLifecycle<{ "objectId": QxObjectRef<"atom:atom:task">; "input": QxWatchHandle; "ports": { } } & {signal?: AbortSignal}> }; export type Implementation = { "archive": QxHandler | QxDerived; "complete": QxHandler | QxDerived; "createTask": QxHandler>; "displayLabelGet": QxHandler | QxDerived; "displayLabelWatch": QxDerived; "displayLabelWatchStop": QxHandler; "reopen": QxHandler | QxDerived; "searchDocumentGet": QxHandler> | QxDerived>; "searchDocumentWatch": QxDerived>; "searchDocumentWatchStop": QxHandler }; const messages = { "org.quixos.web-studio.SearchDocument": message0 } satisfies QxMessages; const specs = { "archive": { "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "scalar", "name": "string" }, "ports": { "data": { "kind": "interface", "id": "port:todo-runtime:data", "operations": { "title.get": { "id": "operation:task-data:title:get", "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "scalar", "name": "string" } }, "title.set": { "id": "operation:task-data:title:set", "inputType": { "kind": "scalar", "name": "string" }, "outputType": { "kind": "builtin", "name": "unit" } }, "status.get": { "id": "operation:task-data:status:get", "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "scalar", "name": "string" } }, "status.set": { "id": "operation:task-data:status:set", "inputType": { "kind": "scalar", "name": "string" }, "outputType": { "kind": "builtin", "name": "unit" } }, "priority.get": { "id": "operation:task-data:priority:get", "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "scalar", "name": "string" } }, "priority.set": { "id": "operation:task-data:priority:set", "inputType": { "kind": "scalar", "name": "string" }, "outputType": { "kind": "builtin", "name": "unit" } }, "notes.get": { "id": "operation:task-data:notes:get", "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "scalar", "name": "string" } }, "notes.set": { "id": "operation:task-data:notes:set", "inputType": { "kind": "scalar", "name": "string" }, "outputType": { "kind": "builtin", "name": "unit" } }, "dueDate.get": { "id": "operation:task-data:due-date:get", "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "scalar", "name": "string" } }, "dueDate.set": { "id": "operation:task-data:due-date:set", "inputType": { "kind": "scalar", "name": "string" }, "outputType": { "kind": "builtin", "name": "unit" } }, "energy.get": { "id": "operation:task-data:energy:get", "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "scalar", "name": "string" } }, "energy.set": { "id": "operation:task-data:energy:set", "inputType": { "kind": "scalar", "name": "string" }, "outputType": { "kind": "builtin", "name": "unit" } } } } } }, "complete": { "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "scalar", "name": "string" }, "ports": { "data": { "kind": "interface", "id": "port:todo-runtime:data", "operations": { "title.get": { "id": "operation:task-data:title:get", "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "scalar", "name": "string" } }, "title.set": { "id": "operation:task-data:title:set", "inputType": { "kind": "scalar", "name": "string" }, "outputType": { "kind": "builtin", "name": "unit" } }, "status.get": { "id": "operation:task-data:status:get", "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "scalar", "name": "string" } }, "status.set": { "id": "operation:task-data:status:set", "inputType": { "kind": "scalar", "name": "string" }, "outputType": { "kind": "builtin", "name": "unit" } }, "priority.get": { "id": "operation:task-data:priority:get", "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "scalar", "name": "string" } }, "priority.set": { "id": "operation:task-data:priority:set", "inputType": { "kind": "scalar", "name": "string" }, "outputType": { "kind": "builtin", "name": "unit" } }, "notes.get": { "id": "operation:task-data:notes:get", "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "scalar", "name": "string" } }, "notes.set": { "id": "operation:task-data:notes:set", "inputType": { "kind": "scalar", "name": "string" }, "outputType": { "kind": "builtin", "name": "unit" } }, "dueDate.get": { "id": "operation:task-data:due-date:get", "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "scalar", "name": "string" } }, "dueDate.set": { "id": "operation:task-data:due-date:set", "inputType": { "kind": "scalar", "name": "string" }, "outputType": { "kind": "builtin", "name": "unit" } }, "energy.get": { "id": "operation:task-data:energy:get", "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "scalar", "name": "string" } }, "energy.set": { "id": "operation:task-data:energy:set", "inputType": { "kind": "scalar", "name": "string" }, "outputType": { "kind": "builtin", "name": "unit" } } } } } }, "createTask": { "inputType": { "kind": "scalar", "name": "string" }, "outputType": { "kind": "object-ref", "expectation": { "kind": "atom", "atomId": "atom:task" } }, "ports": { "data": { "kind": "interface", "id": "port:todo-runtime:data", "operations": { "title.get": { "id": "operation:task-data:title:get", "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "scalar", "name": "string" } }, "title.set": { "id": "operation:task-data:title:set", "inputType": { "kind": "scalar", "name": "string" }, "outputType": { "kind": "builtin", "name": "unit" } }, "status.get": { "id": "operation:task-data:status:get", "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "scalar", "name": "string" } }, "status.set": { "id": "operation:task-data:status:set", "inputType": { "kind": "scalar", "name": "string" }, "outputType": { "kind": "builtin", "name": "unit" } }, "priority.get": { "id": "operation:task-data:priority:get", "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "scalar", "name": "string" } }, "priority.set": { "id": "operation:task-data:priority:set", "inputType": { "kind": "scalar", "name": "string" }, "outputType": { "kind": "builtin", "name": "unit" } }, "notes.get": { "id": "operation:task-data:notes:get", "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "scalar", "name": "string" } }, "notes.set": { "id": "operation:task-data:notes:set", "inputType": { "kind": "scalar", "name": "string" }, "outputType": { "kind": "builtin", "name": "unit" } }, "dueDate.get": { "id": "operation:task-data:due-date:get", "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "scalar", "name": "string" } }, "dueDate.set": { "id": "operation:task-data:due-date:set", "inputType": { "kind": "scalar", "name": "string" }, "outputType": { "kind": "builtin", "name": "unit" } }, "energy.get": { "id": "operation:task-data:energy:get", "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "scalar", "name": "string" } }, "energy.set": { "id": "operation:task-data:energy:set", "inputType": { "kind": "scalar", "name": "string" }, "outputType": { "kind": "builtin", "name": "unit" } } } } } }, "displayLabelGet": { "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "scalar", "name": "string" }, "ports": { "data": { "kind": "interface", "id": "port:todo-runtime:data", "operations": { "title.get": { "id": "operation:task-data:title:get", "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "scalar", "name": "string" } }, "title.set": { "id": "operation:task-data:title:set", "inputType": { "kind": "scalar", "name": "string" }, "outputType": { "kind": "builtin", "name": "unit" } }, "status.get": { "id": "operation:task-data:status:get", "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "scalar", "name": "string" } }, "status.set": { "id": "operation:task-data:status:set", "inputType": { "kind": "scalar", "name": "string" }, "outputType": { "kind": "builtin", "name": "unit" } }, "priority.get": { "id": "operation:task-data:priority:get", "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "scalar", "name": "string" } }, "priority.set": { "id": "operation:task-data:priority:set", "inputType": { "kind": "scalar", "name": "string" }, "outputType": { "kind": "builtin", "name": "unit" } }, "notes.get": { "id": "operation:task-data:notes:get", "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "scalar", "name": "string" } }, "notes.set": { "id": "operation:task-data:notes:set", "inputType": { "kind": "scalar", "name": "string" }, "outputType": { "kind": "builtin", "name": "unit" } }, "dueDate.get": { "id": "operation:task-data:due-date:get", "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "scalar", "name": "string" } }, "dueDate.set": { "id": "operation:task-data:due-date:set", "inputType": { "kind": "scalar", "name": "string" }, "outputType": { "kind": "builtin", "name": "unit" } }, "energy.get": { "id": "operation:task-data:energy:get", "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "scalar", "name": "string" } }, "energy.set": { "id": "operation:task-data:energy:set", "inputType": { "kind": "scalar", "name": "string" }, "outputType": { "kind": "builtin", "name": "unit" } } } } } }, "displayLabelWatch": { "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "builtin", "name": "watch-handle" }, "eventType": { "kind": "scalar", "name": "string" }, "ports": { "data": { "kind": "interface", "id": "port:todo-runtime:data", "operations": { "title.get": { "id": "operation:task-data:title:get", "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "scalar", "name": "string" } }, "title.set": { "id": "operation:task-data:title:set", "inputType": { "kind": "scalar", "name": "string" }, "outputType": { "kind": "builtin", "name": "unit" } }, "status.get": { "id": "operation:task-data:status:get", "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "scalar", "name": "string" } }, "status.set": { "id": "operation:task-data:status:set", "inputType": { "kind": "scalar", "name": "string" }, "outputType": { "kind": "builtin", "name": "unit" } }, "priority.get": { "id": "operation:task-data:priority:get", "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "scalar", "name": "string" } }, "priority.set": { "id": "operation:task-data:priority:set", "inputType": { "kind": "scalar", "name": "string" }, "outputType": { "kind": "builtin", "name": "unit" } }, "notes.get": { "id": "operation:task-data:notes:get", "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "scalar", "name": "string" } }, "notes.set": { "id": "operation:task-data:notes:set", "inputType": { "kind": "scalar", "name": "string" }, "outputType": { "kind": "builtin", "name": "unit" } }, "dueDate.get": { "id": "operation:task-data:due-date:get", "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "scalar", "name": "string" } }, "dueDate.set": { "id": "operation:task-data:due-date:set", "inputType": { "kind": "scalar", "name": "string" }, "outputType": { "kind": "builtin", "name": "unit" } }, "energy.get": { "id": "operation:task-data:energy:get", "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "scalar", "name": "string" } }, "energy.set": { "id": "operation:task-data:energy:set", "inputType": { "kind": "scalar", "name": "string" }, "outputType": { "kind": "builtin", "name": "unit" } } } } } }, "displayLabelWatchStop": { "inputType": { "kind": "builtin", "name": "watch-handle" }, "outputType": { "kind": "builtin", "name": "unit" }, "ports": {} }, "reopen": { "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "scalar", "name": "string" }, "ports": { "data": { "kind": "interface", "id": "port:todo-runtime:data", "operations": { "title.get": { "id": "operation:task-data:title:get", "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "scalar", "name": "string" } }, "title.set": { "id": "operation:task-data:title:set", "inputType": { "kind": "scalar", "name": "string" }, "outputType": { "kind": "builtin", "name": "unit" } }, "status.get": { "id": "operation:task-data:status:get", "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "scalar", "name": "string" } }, "status.set": { "id": "operation:task-data:status:set", "inputType": { "kind": "scalar", "name": "string" }, "outputType": { "kind": "builtin", "name": "unit" } }, "priority.get": { "id": "operation:task-data:priority:get", "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "scalar", "name": "string" } }, "priority.set": { "id": "operation:task-data:priority:set", "inputType": { "kind": "scalar", "name": "string" }, "outputType": { "kind": "builtin", "name": "unit" } }, "notes.get": { "id": "operation:task-data:notes:get", "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "scalar", "name": "string" } }, "notes.set": { "id": "operation:task-data:notes:set", "inputType": { "kind": "scalar", "name": "string" }, "outputType": { "kind": "builtin", "name": "unit" } }, "dueDate.get": { "id": "operation:task-data:due-date:get", "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "scalar", "name": "string" } }, "dueDate.set": { "id": "operation:task-data:due-date:set", "inputType": { "kind": "scalar", "name": "string" }, "outputType": { "kind": "builtin", "name": "unit" } }, "energy.get": { "id": "operation:task-data:energy:get", "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "scalar", "name": "string" } }, "energy.set": { "id": "operation:task-data:energy:set", "inputType": { "kind": "scalar", "name": "string" }, "outputType": { "kind": "builtin", "name": "unit" } } } } } }, "searchDocumentGet": { "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "message", "descriptorId": "org.quixos.web-studio.SearchDocument" }, "ports": { "data": { "kind": "interface", "id": "port:todo-runtime:data", "operations": { "title.get": { "id": "operation:task-data:title:get", "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "scalar", "name": "string" } }, "title.set": { "id": "operation:task-data:title:set", "inputType": { "kind": "scalar", "name": "string" }, "outputType": { "kind": "builtin", "name": "unit" } }, "status.get": { "id": "operation:task-data:status:get", "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "scalar", "name": "string" } }, "status.set": { "id": "operation:task-data:status:set", "inputType": { "kind": "scalar", "name": "string" }, "outputType": { "kind": "builtin", "name": "unit" } }, "priority.get": { "id": "operation:task-data:priority:get", "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "scalar", "name": "string" } }, "priority.set": { "id": "operation:task-data:priority:set", "inputType": { "kind": "scalar", "name": "string" }, "outputType": { "kind": "builtin", "name": "unit" } }, "notes.get": { "id": "operation:task-data:notes:get", "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "scalar", "name": "string" } }, "notes.set": { "id": "operation:task-data:notes:set", "inputType": { "kind": "scalar", "name": "string" }, "outputType": { "kind": "builtin", "name": "unit" } }, "dueDate.get": { "id": "operation:task-data:due-date:get", "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "scalar", "name": "string" } }, "dueDate.set": { "id": "operation:task-data:due-date:set", "inputType": { "kind": "scalar", "name": "string" }, "outputType": { "kind": "builtin", "name": "unit" } }, "energy.get": { "id": "operation:task-data:energy:get", "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "scalar", "name": "string" } }, "energy.set": { "id": "operation:task-data:energy:set", "inputType": { "kind": "scalar", "name": "string" }, "outputType": { "kind": "builtin", "name": "unit" } } } } } }, "searchDocumentWatch": { "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "builtin", "name": "watch-handle" }, "eventType": { "kind": "message", "descriptorId": "org.quixos.web-studio.SearchDocument" }, "ports": { "data": { "kind": "interface", "id": "port:todo-runtime:data", "operations": { "title.get": { "id": "operation:task-data:title:get", "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "scalar", "name": "string" } }, "title.set": { "id": "operation:task-data:title:set", "inputType": { "kind": "scalar", "name": "string" }, "outputType": { "kind": "builtin", "name": "unit" } }, "status.get": { "id": "operation:task-data:status:get", "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "scalar", "name": "string" } }, "status.set": { "id": "operation:task-data:status:set", "inputType": { "kind": "scalar", "name": "string" }, "outputType": { "kind": "builtin", "name": "unit" } }, "priority.get": { "id": "operation:task-data:priority:get", "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "scalar", "name": "string" } }, "priority.set": { "id": "operation:task-data:priority:set", "inputType": { "kind": "scalar", "name": "string" }, "outputType": { "kind": "builtin", "name": "unit" } }, "notes.get": { "id": "operation:task-data:notes:get", "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "scalar", "name": "string" } }, "notes.set": { "id": "operation:task-data:notes:set", "inputType": { "kind": "scalar", "name": "string" }, "outputType": { "kind": "builtin", "name": "unit" } }, "dueDate.get": { "id": "operation:task-data:due-date:get", "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "scalar", "name": "string" } }, "dueDate.set": { "id": "operation:task-data:due-date:set", "inputType": { "kind": "scalar", "name": "string" }, "outputType": { "kind": "builtin", "name": "unit" } }, "energy.get": { "id": "operation:task-data:energy:get", "inputType": { "kind": "builtin", "name": "unit" }, "outputType": { "kind": "scalar", "name": "string" } }, "energy.set": { "id": "operation:task-data:energy:set", "inputType": { "kind": "scalar", "name": "string" }, "outputType": { "kind": "builtin", "name": "unit" } } } } } }, "searchDocumentWatchStop": { "inputType": { "kind": "builtin", "name": "watch-handle" }, "outputType": { "kind": "builtin", "name": "unit" }, "ports": {} } } satisfies Record; export const createRuntime = (implementation: Implementation) => ({ packageRevisionId, exports: { "export:todo-runtime:archive": bindQxHandler(specs["archive"], implementation["archive"], messages), "export:todo-runtime:complete": bindQxHandler(specs["complete"], implementation["complete"], messages), "export:todo-runtime:create-task": bindQxHandler(specs["createTask"], implementation["createTask"], messages), "export:todo-runtime:display-label-get": bindQxHandler(specs["displayLabelGet"], implementation["displayLabelGet"], messages), "export:todo-runtime:display-label-watch": bindQxHandler(specs["displayLabelWatch"], implementation["displayLabelWatch"], messages), "export:todo-runtime:display-label-watch-stop": bindQxHandler(specs["displayLabelWatchStop"], implementation["displayLabelWatchStop"], messages), "export:todo-runtime:reopen": bindQxHandler(specs["reopen"], implementation["reopen"], messages), "export:todo-runtime:search-document-get": bindQxHandler(specs["searchDocumentGet"], implementation["searchDocumentGet"], messages), "export:todo-runtime:search-document-watch": bindQxHandler(specs["searchDocumentWatch"], implementation["searchDocumentWatch"], messages), "export:todo-runtime:search-document-watch-stop": bindQxHandler(specs["searchDocumentWatchStop"], implementation["searchDocumentWatchStop"], messages), }, });