Skip to content

craft-hub / WorkspaceRecord

Interface: WorkspaceRecord ​

Defined in: packages/craft-hub/src/types.ts:138

Workspace manifest augmented with local resolution metadata.

Extends ​

Properties ​

color? ​

optional color?: "blue" | "cyan" | "green" | "orange" | "pink" | "purple" | "red" | "yellow"

Defined in: packages/craft-hub/src/types.ts:121

Inherited from ​

WorkspaceManifest.color


extensions? ​

optional extensions?: Record<string, unknown>

Defined in: packages/craft-hub/src/types.ts:126

Third-party declarative data isolated from the core schema.

Inherited from ​

WorkspaceManifest.extensions


groupId? ​

optional groupId?: string

Defined in: packages/craft-hub/src/types.ts:144


icon? ​

optional icon?: string

Defined in: packages/craft-hub/src/types.ts:120

Inherited from ​

WorkspaceManifest.icon


id ​

id: string

Defined in: packages/craft-hub/src/types.ts:116

Inherited from ​

WorkspaceManifest.id


members ​

members: ResolvedWorkspaceMember[]

Defined in: packages/craft-hub/src/types.ts:143

Overrides ​

WorkspaceManifest.members


name ​

name: string

Defined in: packages/craft-hub/src/types.ts:119

Inherited from ​

WorkspaceManifest.name


ownerScopeId? ​

optional ownerScopeId?: string

Defined in: packages/craft-hub/src/types.ts:141

Omitted by legacy Personal manifests and normalized when read.

Overrides ​

WorkspaceManifest.ownerScopeId


pinned? ​

optional pinned?: boolean

Defined in: packages/craft-hub/src/types.ts:122

Inherited from ​

WorkspaceManifest.pinned


primaryProject? ​

optional primaryProject?: string

Defined in: packages/craft-hub/src/types.ts:123

Inherited from ​

WorkspaceManifest.primaryProject


revision ​

revision: string

Defined in: packages/craft-hub/src/types.ts:142


schemaVersion ​

schemaVersion: 1

Defined in: packages/craft-hub/src/types.ts:115

Inherited from ​

WorkspaceManifest.schemaVersion


subscription? ​

optional subscription?: object

Defined in: packages/craft-hub/src/types.ts:140

Present for read-only workspaces projected from a subscribed source.

id ​

id: string

revision ​

revision: string

sourceId ​

sourceId: string

sourceName ​

sourceName: string

workspaceId ​

workspaceId: string

Released under the MIT License.