14 lines
503 B
TypeScript
14 lines
503 B
TypeScript
import componentSource from "./project-component.js?browser-source";
|
|||
|
|
import type { Contexts, Results } from "./gen/qx.js";
|
||
|
|
|
||
|
|
export const source = () => componentSource;
|
||
|
|
export const createComponent = ({ objectId }: Contexts["createComponent"]) => objectId;
|
||
|
|
export const props = {
|
||
|
|
kind: "derived" as const,
|
||
|
|
get: async ({ ports }: Contexts["propsGet"]): Promise<Results["propsGet"]> => ({
|
||
|
|
named: ports.named.objectId,
|
||
|
|
tasks: ports.tasks.objectId,
|
||
|
|
}),
|
||
|
|
};
|
||
|
|
export const stopWatch = () => null;
|