prismatic-io / spectral

Prismatic's typescript library for custom components
https://prismatic.io/docs/spectral/custom-component-library
35 stars 2 forks source link

Add ULC support for CNI #228

Closed bkegley closed 3 months ago

bkegley commented 3 months ago

This exposes another interface IntegrationDefinitionUserLevelConfigPages that expects to be augmented via the special root export userLevelConfigPages. Config variable types (in e.g. ActionContext['configVars']) do not widen to {[key: string]: ConfigVar} unless both configPages and userLevelConfigPages aren't exported from the root.