Skip to main content

WorkspacesOutput

Type Alias WorkspacesOutput 

Source
pub type WorkspacesOutput = WorkspacesOutput<WorkspaceDiagnostic>;

Aliased Type§

pub struct WorkspacesOutput {
    pub workspace_count: usize,
    pub workspaces: Vec<WorkspaceInfo>,
    pub workspace_diagnostics: Vec<WorkspaceDiagnostic>,
}

Fields§

§workspace_count: usize

Number of workspace package entries in workspaces.

§workspaces: Vec<WorkspaceInfo>

Workspace packages discovered from package manager and tsconfig workspace declarations. Paths are project-root-relative and use forward slashes.

§workspace_diagnostics: Vec<WorkspaceDiagnostic>

Workspace discovery diagnostics produced while reading workspace declarations. Present for compatibility with the current wire contract, even when empty.