Skip to content

craft-hub / IntegrationPresentation

Type Alias: IntegrationPresentation ​

IntegrationPresentation = object & ({ connection: IntegrationConnectionStatus & object; kind: "connection"; } | { kind: "entities"; page: Omit<IntegrationEntityPage, "items"> & object; } | { entity: PresentedIntegrationEntity; kind: "entity"; } | { kind: "resources"; resources: Omit<ResourcePage, "entities"> & object; } | { kind: "unsupported"; })

Defined in: packages/craft-hub/src/integration-presentation.ts:10

Optional presentation envelope for clients rendering declarative workbench blocks.

Type Declaration ​

version ​

version: 1

Released under the MIT License.