1258 lines
55 KiB
TypeScript
1258 lines
55 KiB
TypeScript
// 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<QxLiveValue>; "title.set": (input: string) => Promise<QxLiveValue>; "status.get": () => Promise<QxLiveValue>; "status.set": (input: string) => Promise<QxLiveValue>; "priority.get": () => Promise<QxLiveValue>; "priority.set": (input: string) => Promise<QxLiveValue>; "notes.get": () => Promise<QxLiveValue>; "notes.set": (input: string) => Promise<QxLiveValue>; "dueDate.get": () => Promise<QxLiveValue>; "dueDate.set": (input: string) => Promise<QxLiveValue>; "energy.get": () => Promise<QxLiveValue>; "energy.set": (input: string) => Promise<QxLiveValue> }; "title.get": () => Promise<string>; "title.set": (input: string) => Promise<null>; "status.get": () => Promise<string>; "status.set": (input: string) => Promise<null>; "priority.get": () => Promise<string>; "priority.set": (input: string) => Promise<null>; "notes.get": () => Promise<string>; "notes.set": (input: string) => Promise<null>; "dueDate.get": () => Promise<string>; "dueDate.set": (input: string) => Promise<null>; "energy.get": () => Promise<string>; "energy.set": (input: string) => Promise<null> } } } & QxContextLifecycle<{ "objectId": QxObjectRef<"atom:atom:task">; "input": null; "ports": { "data": { "objectId": QxObjectRef<"interface:interface:task-data@1">; "live": { "title.get": () => Promise<QxLiveValue>; "title.set": (input: string) => Promise<QxLiveValue>; "status.get": () => Promise<QxLiveValue>; "status.set": (input: string) => Promise<QxLiveValue>; "priority.get": () => Promise<QxLiveValue>; "priority.set": (input: string) => Promise<QxLiveValue>; "notes.get": () => Promise<QxLiveValue>; "notes.set": (input: string) => Promise<QxLiveValue>; "dueDate.get": () => Promise<QxLiveValue>; "dueDate.set": (input: string) => Promise<QxLiveValue>; "energy.get": () => Promise<QxLiveValue>; "energy.set": (input: string) => Promise<QxLiveValue> }; "title.get": () => Promise<string>; "title.set": (input: string) => Promise<null>; "status.get": () => Promise<string>; "status.set": (input: string) => Promise<null>; "priority.get": () => Promise<string>; "priority.set": (input: string) => Promise<null>; "notes.get": () => Promise<string>; "notes.set": (input: string) => Promise<null>; "dueDate.get": () => Promise<string>; "dueDate.set": (input: string) => Promise<null>; "energy.get": () => Promise<string>; "energy.set": (input: string) => Promise<null> } } } & {signal?: AbortSignal}>; "complete": { "objectId": QxObjectRef<"atom:atom:task">; "input": null; "ports": { "data": { "objectId": QxObjectRef<"interface:interface:task-data@1">; "live": { "title.get": () => Promise<QxLiveValue>; "title.set": (input: string) => Promise<QxLiveValue>; "status.get": () => Promise<QxLiveValue>; "status.set": (input: string) => Promise<QxLiveValue>; "priority.get": () => Promise<QxLiveValue>; "priority.set": (input: string) => Promise<QxLiveValue>; "notes.get": () => Promise<QxLiveValue>; "notes.set": (input: string) => Promise<QxLiveValue>; "dueDate.get": () => Promise<QxLiveValue>; "dueDate.set": (input: string) => Promise<QxLiveValue>; "energy.get": () => Promise<QxLiveValue>; "energy.set": (input: string) => Promise<QxLiveValue> }; "title.get": () => Promise<string>; "title.set": (input: string) => Promise<null>; "status.get": () => Promise<string>; "status.set": (input: string) => Promise<null>; "priority.get": () => Promise<string>; "priority.set": (input: string) => Promise<null>; "notes.get": () => Promise<string>; "notes.set": (input: string) => Promise<null>; "dueDate.get": () => Promise<string>; "dueDate.set": (input: string) => Promise<null>; "energy.get": () => Promise<string>; "energy.set": (input: string) => Promise<null> } } } & QxContextLifecycle<{ "objectId": QxObjectRef<"atom:atom:task">; "input": null; "ports": { "data": { "objectId": QxObjectRef<"interface:interface:task-data@1">; "live": { "title.get": () => Promise<QxLiveValue>; "title.set": (input: string) => Promise<QxLiveValue>; "status.get": () => Promise<QxLiveValue>; "status.set": (input: string) => Promise<QxLiveValue>; "priority.get": () => Promise<QxLiveValue>; "priority.set": (input: string) => Promise<QxLiveValue>; "notes.get": () => Promise<QxLiveValue>; "notes.set": (input: string) => Promise<QxLiveValue>; "dueDate.get": () => Promise<QxLiveValue>; "dueDate.set": (input: string) => Promise<QxLiveValue>; "energy.get": () => Promise<QxLiveValue>; "energy.set": (input: string) => Promise<QxLiveValue> }; "title.get": () => Promise<string>; "title.set": (input: string) => Promise<null>; "status.get": () => Promise<string>; "status.set": (input: string) => Promise<null>; "priority.get": () => Promise<string>; "priority.set": (input: string) => Promise<null>; "notes.get": () => Promise<string>; "notes.set": (input: string) => Promise<null>; "dueDate.get": () => Promise<string>; "dueDate.set": (input: string) => Promise<null>; "energy.get": () => Promise<string>; "energy.set": (input: string) => Promise<null> } } } & {signal?: AbortSignal}>; "createTask": { "objectId": QxObjectRef<"atom:atom:task">; "input": string; "ports": { "data": { "objectId": QxObjectRef<"interface:interface:task-data@1">; "live": { "title.get": () => Promise<QxLiveValue>; "title.set": (input: string) => Promise<QxLiveValue>; "status.get": () => Promise<QxLiveValue>; "status.set": (input: string) => Promise<QxLiveValue>; "priority.get": () => Promise<QxLiveValue>; "priority.set": (input: string) => Promise<QxLiveValue>; "notes.get": () => Promise<QxLiveValue>; "notes.set": (input: string) => Promise<QxLiveValue>; "dueDate.get": () => Promise<QxLiveValue>; "dueDate.set": (input: string) => Promise<QxLiveValue>; "energy.get": () => Promise<QxLiveValue>; "energy.set": (input: string) => Promise<QxLiveValue> }; "title.get": () => Promise<string>; "title.set": (input: string) => Promise<null>; "status.get": () => Promise<string>; "status.set": (input: string) => Promise<null>; "priority.get": () => Promise<string>; "priority.set": (input: string) => Promise<null>; "notes.get": () => Promise<string>; "notes.set": (input: string) => Promise<null>; "dueDate.get": () => Promise<string>; "dueDate.set": (input: string) => Promise<null>; "energy.get": () => Promise<string>; "energy.set": (input: string) => Promise<null> } } } & QxContextLifecycle<{ "objectId": QxObjectRef<"atom:atom:task">; "input": string; "ports": { "data": { "objectId": QxObjectRef<"interface:interface:task-data@1">; "live": { "title.get": () => Promise<QxLiveValue>; "title.set": (input: string) => Promise<QxLiveValue>; "status.get": () => Promise<QxLiveValue>; "status.set": (input: string) => Promise<QxLiveValue>; "priority.get": () => Promise<QxLiveValue>; "priority.set": (input: string) => Promise<QxLiveValue>; "notes.get": () => Promise<QxLiveValue>; "notes.set": (input: string) => Promise<QxLiveValue>; "dueDate.get": () => Promise<QxLiveValue>; "dueDate.set": (input: string) => Promise<QxLiveValue>; "energy.get": () => Promise<QxLiveValue>; "energy.set": (input: string) => Promise<QxLiveValue> }; "title.get": () => Promise<string>; "title.set": (input: string) => Promise<null>; "status.get": () => Promise<string>; "status.set": (input: string) => Promise<null>; "priority.get": () => Promise<string>; "priority.set": (input: string) => Promise<null>; "notes.get": () => Promise<string>; "notes.set": (input: string) => Promise<null>; "dueDate.get": () => Promise<string>; "dueDate.set": (input: string) => Promise<null>; "energy.get": () => Promise<string>; "energy.set": (input: string) => Promise<null> } } } & {signal?: AbortSignal}>; "displayLabelGet": { "objectId": QxObjectRef<"atom:atom:task">; "input": null; "ports": { "data": { "objectId": QxObjectRef<"interface:interface:task-data@1">; "live": { "title.get": () => Promise<QxLiveValue>; "title.set": (input: string) => Promise<QxLiveValue>; "status.get": () => Promise<QxLiveValue>; "status.set": (input: string) => Promise<QxLiveValue>; "priority.get": () => Promise<QxLiveValue>; "priority.set": (input: string) => Promise<QxLiveValue>; "notes.get": () => Promise<QxLiveValue>; "notes.set": (input: string) => Promise<QxLiveValue>; "dueDate.get": () => Promise<QxLiveValue>; "dueDate.set": (input: string) => Promise<QxLiveValue>; "energy.get": () => Promise<QxLiveValue>; "energy.set": (input: string) => Promise<QxLiveValue> }; "title.get": () => Promise<string>; "title.set": (input: string) => Promise<null>; "status.get": () => Promise<string>; "status.set": (input: string) => Promise<null>; "priority.get": () => Promise<string>; "priority.set": (input: string) => Promise<null>; "notes.get": () => Promise<string>; "notes.set": (input: string) => Promise<null>; "dueDate.get": () => Promise<string>; "dueDate.set": (input: string) => Promise<null>; "energy.get": () => Promise<string>; "energy.set": (input: string) => Promise<null> } } } & QxContextLifecycle<{ "objectId": QxObjectRef<"atom:atom:task">; "input": null; "ports": { "data": { "objectId": QxObjectRef<"interface:interface:task-data@1">; "live": { "title.get": () => Promise<QxLiveValue>; "title.set": (input: string) => Promise<QxLiveValue>; "status.get": () => Promise<QxLiveValue>; "status.set": (input: string) => Promise<QxLiveValue>; "priority.get": () => Promise<QxLiveValue>; "priority.set": (input: string) => Promise<QxLiveValue>; "notes.get": () => Promise<QxLiveValue>; "notes.set": (input: string) => Promise<QxLiveValue>; "dueDate.get": () => Promise<QxLiveValue>; "dueDate.set": (input: string) => Promise<QxLiveValue>; "energy.get": () => Promise<QxLiveValue>; "energy.set": (input: string) => Promise<QxLiveValue> }; "title.get": () => Promise<string>; "title.set": (input: string) => Promise<null>; "status.get": () => Promise<string>; "status.set": (input: string) => Promise<null>; "priority.get": () => Promise<string>; "priority.set": (input: string) => Promise<null>; "notes.get": () => Promise<string>; "notes.set": (input: string) => Promise<null>; "dueDate.get": () => Promise<string>; "dueDate.set": (input: string) => Promise<null>; "energy.get": () => Promise<string>; "energy.set": (input: string) => Promise<null> } } } & {signal?: AbortSignal}>; "displayLabelWatch": { "objectId": QxObjectRef<"atom:atom:task">; "input": null; "ports": { "data": { "objectId": QxObjectRef<"interface:interface:task-data@1">; "live": { "title.get": () => Promise<QxLiveValue>; "title.set": (input: string) => Promise<QxLiveValue>; "status.get": () => Promise<QxLiveValue>; "status.set": (input: string) => Promise<QxLiveValue>; "priority.get": () => Promise<QxLiveValue>; "priority.set": (input: string) => Promise<QxLiveValue>; "notes.get": () => Promise<QxLiveValue>; "notes.set": (input: string) => Promise<QxLiveValue>; "dueDate.get": () => Promise<QxLiveValue>; "dueDate.set": (input: string) => Promise<QxLiveValue>; "energy.get": () => Promise<QxLiveValue>; "energy.set": (input: string) => Promise<QxLiveValue> }; "title.get": () => Promise<string>; "title.set": (input: string) => Promise<null>; "status.get": () => Promise<string>; "status.set": (input: string) => Promise<null>; "priority.get": () => Promise<string>; "priority.set": (input: string) => Promise<null>; "notes.get": () => Promise<string>; "notes.set": (input: string) => Promise<null>; "dueDate.get": () => Promise<string>; "dueDate.set": (input: string) => Promise<null>; "energy.get": () => Promise<string>; "energy.set": (input: string) => Promise<null> } } } & QxContextLifecycle<{ "objectId": QxObjectRef<"atom:atom:task">; "input": null; "ports": { "data": { "objectId": QxObjectRef<"interface:interface:task-data@1">; "live": { "title.get": () => Promise<QxLiveValue>; "title.set": (input: string) => Promise<QxLiveValue>; "status.get": () => Promise<QxLiveValue>; "status.set": (input: string) => Promise<QxLiveValue>; "priority.get": () => Promise<QxLiveValue>; "priority.set": (input: string) => Promise<QxLiveValue>; "notes.get": () => Promise<QxLiveValue>; "notes.set": (input: string) => Promise<QxLiveValue>; "dueDate.get": () => Promise<QxLiveValue>; "dueDate.set": (input: string) => Promise<QxLiveValue>; "energy.get": () => Promise<QxLiveValue>; "energy.set": (input: string) => Promise<QxLiveValue> }; "title.get": () => Promise<string>; "title.set": (input: string) => Promise<null>; "status.get": () => Promise<string>; "status.set": (input: string) => Promise<null>; "priority.get": () => Promise<string>; "priority.set": (input: string) => Promise<null>; "notes.get": () => Promise<string>; "notes.set": (input: string) => Promise<null>; "dueDate.get": () => Promise<string>; "dueDate.set": (input: string) => Promise<null>; "energy.get": () => Promise<string>; "energy.set": (input: string) => Promise<null> } } } & {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<QxLiveValue>; "title.set": (input: string) => Promise<QxLiveValue>; "status.get": () => Promise<QxLiveValue>; "status.set": (input: string) => Promise<QxLiveValue>; "priority.get": () => Promise<QxLiveValue>; "priority.set": (input: string) => Promise<QxLiveValue>; "notes.get": () => Promise<QxLiveValue>; "notes.set": (input: string) => Promise<QxLiveValue>; "dueDate.get": () => Promise<QxLiveValue>; "dueDate.set": (input: string) => Promise<QxLiveValue>; "energy.get": () => Promise<QxLiveValue>; "energy.set": (input: string) => Promise<QxLiveValue> }; "title.get": () => Promise<string>; "title.set": (input: string) => Promise<null>; "status.get": () => Promise<string>; "status.set": (input: string) => Promise<null>; "priority.get": () => Promise<string>; "priority.set": (input: string) => Promise<null>; "notes.get": () => Promise<string>; "notes.set": (input: string) => Promise<null>; "dueDate.get": () => Promise<string>; "dueDate.set": (input: string) => Promise<null>; "energy.get": () => Promise<string>; "energy.set": (input: string) => Promise<null> } } } & QxContextLifecycle<{ "objectId": QxObjectRef<"atom:atom:task">; "input": null; "ports": { "data": { "objectId": QxObjectRef<"interface:interface:task-data@1">; "live": { "title.get": () => Promise<QxLiveValue>; "title.set": (input: string) => Promise<QxLiveValue>; "status.get": () => Promise<QxLiveValue>; "status.set": (input: string) => Promise<QxLiveValue>; "priority.get": () => Promise<QxLiveValue>; "priority.set": (input: string) => Promise<QxLiveValue>; "notes.get": () => Promise<QxLiveValue>; "notes.set": (input: string) => Promise<QxLiveValue>; "dueDate.get": () => Promise<QxLiveValue>; "dueDate.set": (input: string) => Promise<QxLiveValue>; "energy.get": () => Promise<QxLiveValue>; "energy.set": (input: string) => Promise<QxLiveValue> }; "title.get": () => Promise<string>; "title.set": (input: string) => Promise<null>; "status.get": () => Promise<string>; "status.set": (input: string) => Promise<null>; "priority.get": () => Promise<string>; "priority.set": (input: string) => Promise<null>; "notes.get": () => Promise<string>; "notes.set": (input: string) => Promise<null>; "dueDate.get": () => Promise<string>; "dueDate.set": (input: string) => Promise<null>; "energy.get": () => Promise<string>; "energy.set": (input: string) => Promise<null> } } } & {signal?: AbortSignal}>; "searchDocumentGet": { "objectId": QxObjectRef<"atom:atom:task">; "input": null; "ports": { "data": { "objectId": QxObjectRef<"interface:interface:task-data@1">; "live": { "title.get": () => Promise<QxLiveValue>; "title.set": (input: string) => Promise<QxLiveValue>; "status.get": () => Promise<QxLiveValue>; "status.set": (input: string) => Promise<QxLiveValue>; "priority.get": () => Promise<QxLiveValue>; "priority.set": (input: string) => Promise<QxLiveValue>; "notes.get": () => Promise<QxLiveValue>; "notes.set": (input: string) => Promise<QxLiveValue>; "dueDate.get": () => Promise<QxLiveValue>; "dueDate.set": (input: string) => Promise<QxLiveValue>; "energy.get": () => Promise<QxLiveValue>; "energy.set": (input: string) => Promise<QxLiveValue> }; "title.get": () => Promise<string>; "title.set": (input: string) => Promise<null>; "status.get": () => Promise<string>; "status.set": (input: string) => Promise<null>; "priority.get": () => Promise<string>; "priority.set": (input: string) => Promise<null>; "notes.get": () => Promise<string>; "notes.set": (input: string) => Promise<null>; "dueDate.get": () => Promise<string>; "dueDate.set": (input: string) => Promise<null>; "energy.get": () => Promise<string>; "energy.set": (input: string) => Promise<null> } } } & QxContextLifecycle<{ "objectId": QxObjectRef<"atom:atom:task">; "input": null; "ports": { "data": { "objectId": QxObjectRef<"interface:interface:task-data@1">; "live": { "title.get": () => Promise<QxLiveValue>; "title.set": (input: string) => Promise<QxLiveValue>; "status.get": () => Promise<QxLiveValue>; "status.set": (input: string) => Promise<QxLiveValue>; "priority.get": () => Promise<QxLiveValue>; "priority.set": (input: string) => Promise<QxLiveValue>; "notes.get": () => Promise<QxLiveValue>; "notes.set": (input: string) => Promise<QxLiveValue>; "dueDate.get": () => Promise<QxLiveValue>; "dueDate.set": (input: string) => Promise<QxLiveValue>; "energy.get": () => Promise<QxLiveValue>; "energy.set": (input: string) => Promise<QxLiveValue> }; "title.get": () => Promise<string>; "title.set": (input: string) => Promise<null>; "status.get": () => Promise<string>; "status.set": (input: string) => Promise<null>; "priority.get": () => Promise<string>; "priority.set": (input: string) => Promise<null>; "notes.get": () => Promise<string>; "notes.set": (input: string) => Promise<null>; "dueDate.get": () => Promise<string>; "dueDate.set": (input: string) => Promise<null>; "energy.get": () => Promise<string>; "energy.set": (input: string) => Promise<null> } } } & {signal?: AbortSignal}>; "searchDocumentWatch": { "objectId": QxObjectRef<"atom:atom:task">; "input": null; "ports": { "data": { "objectId": QxObjectRef<"interface:interface:task-data@1">; "live": { "title.get": () => Promise<QxLiveValue>; "title.set": (input: string) => Promise<QxLiveValue>; "status.get": () => Promise<QxLiveValue>; "status.set": (input: string) => Promise<QxLiveValue>; "priority.get": () => Promise<QxLiveValue>; "priority.set": (input: string) => Promise<QxLiveValue>; "notes.get": () => Promise<QxLiveValue>; "notes.set": (input: string) => Promise<QxLiveValue>; "dueDate.get": () => Promise<QxLiveValue>; "dueDate.set": (input: string) => Promise<QxLiveValue>; "energy.get": () => Promise<QxLiveValue>; "energy.set": (input: string) => Promise<QxLiveValue> }; "title.get": () => Promise<string>; "title.set": (input: string) => Promise<null>; "status.get": () => Promise<string>; "status.set": (input: string) => Promise<null>; "priority.get": () => Promise<string>; "priority.set": (input: string) => Promise<null>; "notes.get": () => Promise<string>; "notes.set": (input: string) => Promise<null>; "dueDate.get": () => Promise<string>; "dueDate.set": (input: string) => Promise<null>; "energy.get": () => Promise<string>; "energy.set": (input: string) => Promise<null> } } } & QxContextLifecycle<{ "objectId": QxObjectRef<"atom:atom:task">; "input": null; "ports": { "data": { "objectId": QxObjectRef<"interface:interface:task-data@1">; "live": { "title.get": () => Promise<QxLiveValue>; "title.set": (input: string) => Promise<QxLiveValue>; "status.get": () => Promise<QxLiveValue>; "status.set": (input: string) => Promise<QxLiveValue>; "priority.get": () => Promise<QxLiveValue>; "priority.set": (input: string) => Promise<QxLiveValue>; "notes.get": () => Promise<QxLiveValue>; "notes.set": (input: string) => Promise<QxLiveValue>; "dueDate.get": () => Promise<QxLiveValue>; "dueDate.set": (input: string) => Promise<QxLiveValue>; "energy.get": () => Promise<QxLiveValue>; "energy.set": (input: string) => Promise<QxLiveValue> }; "title.get": () => Promise<string>; "title.set": (input: string) => Promise<null>; "status.get": () => Promise<string>; "status.set": (input: string) => Promise<null>; "priority.get": () => Promise<string>; "priority.set": (input: string) => Promise<null>; "notes.get": () => Promise<string>; "notes.set": (input: string) => Promise<null>; "dueDate.get": () => Promise<string>; "dueDate.set": (input: string) => Promise<null>; "energy.get": () => Promise<string>; "energy.set": (input: string) => Promise<null> } } } & {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<Contexts["archive"], string> | QxDerived<Contexts["archive"], string>; "complete": QxHandler<Contexts["complete"], string> | QxDerived<Contexts["complete"], string>; "createTask": QxHandler<Contexts["createTask"], QxObjectRef<"atom:atom:task">>; "displayLabelGet": QxHandler<Contexts["displayLabelGet"], string> | QxDerived<Contexts["displayLabelGet"], string>; "displayLabelWatch": QxDerived<Contexts["displayLabelWatch"], string>; "displayLabelWatchStop": QxHandler<Contexts["displayLabelWatchStop"], null>; "reopen": QxHandler<Contexts["reopen"], string> | QxDerived<Contexts["reopen"], string>; "searchDocumentGet": QxHandler<Contexts["searchDocumentGet"], BindingValue<typeof message0>> | QxDerived<Contexts["searchDocumentGet"], BindingValue<typeof message0>>; "searchDocumentWatch": QxDerived<Contexts["searchDocumentWatch"], BindingValue<typeof message0>>; "searchDocumentWatchStop": QxHandler<Contexts["searchDocumentWatchStop"], null> };
|
|
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<string, QxHandlerSpec>;
|
|
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),
|
|
},
|
|
});
|