Skip to main content

WorkspaceCheck

type

A workspace check: `unknown` names no workspace, `refused` carries the reason its document file failed to parse, and `checked` lists findings against the installed mods and the views the host reported.

type WorkspaceCheck = { readonly kind: 'unknown'; } | { readonly kind: 'refused'; readonly file: string; readonly reason: string; } | { readonly kind: 'checked'; readonly findings: readonly WorkspaceFinding[]; readonly hostViews: WorkspaceHostViewsReport; }

Import

import { WorkspaceCheck } from '@modular/sdk';