Skip to main content

WorkspaceScopeMode

@gravity-rail/sdk


@gravity-rail/sdk / WorkspaceScopeMode

Type Alias: WorkspaceScopeMode

WorkspaceScopeMode = typeof WorkspaceScopeMode[keyof typeof WorkspaceScopeMode]

The three modes a person picks and reads (ADR-55).

Stored as all_workspaces plus the selection rows, never as a fourth column: all is the stored bit, selected is a limited selection with at least one workspace or label, and none is a limited selection with neither. A limited selection whose last workspace was deleted therefore reads as none — what it reaches.