Skip to content

craft-hub / WorkspaceSubscriptionPreview

Interface: WorkspaceSubscriptionPreview ​

Defined in: packages/craft-hub/src/workspace-subscriptions.ts:34

Preview token includes both remote content and the current local subscription state.

Properties ​

removedWorkspaceIds ​

removedWorkspaceIds: string[]

Defined in: packages/craft-hub/src/workspace-subscriptions.ts:38


revision ​

revision: string

Defined in: packages/craft-hub/src/workspace-subscriptions.ts:35


subscription ​

subscription: Omit<WorkspaceSubscription, "snapshot">

Defined in: packages/craft-hub/src/workspace-subscriptions.ts:36


workspaces ​

workspaces: object[]

Defined in: packages/craft-hub/src/workspace-subscriptions.ts:37

$schema? ​

optional $schema?: string = schemaHint

color? ​

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

icon? ​

optional icon?: string

id ​

id: string

members ​

members: object[]

name ​

name: string

primaryProject? ​

optional primaryProject?: string

schemaVersion ​

schemaVersion: 1

Released under the MIT License.