Skip to content

workspaces.check

Checks the workspace’s init files and widgets without touching what runs: one type-check of the init files and of the widgets, window modules and live widgets (with the files they import, against omfp/sdk, omfp/kit and React’s types), a dry run in a throwaway host, every declared widget and every live mounted widget (named by its mount id) rendered out of sight in an open window with its errors; answers a Markdown report (AGT-342, AGT-485, DMN-1431).

/** Params naming one workspace. */
export type WorkspaceRef = {
workspaceId: string;
};
/** `workspaces.check` result (AGT-342): the report of the workspace's init files and widgets, as Markdown. */
export type WorkspaceChecked = {
text: string;
};