views.set
Replaces the workspace’s live views manifest, shown instead of the declared views until workspaces.reload_init, views.reset or a change of the declared views; never writes a file (DMN-977).
Params: SetViewsParams
Section titled “Params: SetViewsParams”/** `views.set` params (DMN-364, DMN-977): replaces the workspace's live views manifest; no file is written. */export type SetViewsParams = { /** * The manifest this one was made from: set only while the workspace still shows it (its `views/<id>` topic's * `manifest`, equal as JSON); else `conflict` (DMN-364). Absent: set whatever it shows. */ expected?: ViewsFile | null; /** The whole manifest (AGT-010), shown instead of the declared views until they change or reload. */ manifest: unknown; workspaceId: string;};Result: Empty
Section titled “Result: Empty”/** No params, or the `{}` result. */export type Empty = Record<string, never>;Types they use
Section titled “Types they use”/** The views manifest a workspace shows, as `views.set`'s `expected` names it (DMN-364). */export type ViewsFile = null | unknown;