Skip to content

craft-hub / SoftwareSourcePreview

Interface: SoftwareSourcePreview ​

Defined in: packages/craft-hub/src/software-sources.ts:61

A bounded, immutable preview is applied by its token; the client cannot replace its catalog.

Properties ​

catalog ​

catalog: object

Defined in: packages/craft-hub/src/software-sources.ts:61

items ​

items: object[]

revision ​

revision: string

source ​

source: object = catalogSource

source.id ​

id: string

source.title ​

title: string

source.url? ​

optional url?: string

version ​

version: 1


previewId ​

previewId: string

Defined in: packages/craft-hub/src/software-sources.ts:61


replaces? ​

optional replaces?: string

Defined in: packages/craft-hub/src/software-sources.ts:61


source ​

source: SoftwareSource

Defined in: packages/craft-hub/src/software-sources.ts:61

Released under the MIT License.