c41e5063b7
Removed entire kbx-foundation-v36 directory as it's been replaced by the new KBX Foundation v4 patterns implemented in this session: - Registry-driven screen definitions - Density-aware UI adapter components - Feature module templates (ShadowRun, Models) Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
35 lines
904 B
TypeScript
35 lines
904 B
TypeScript
export type KbxConfigurationValueType =
|
|
| 'string'
|
|
| 'boolean'
|
|
| 'integer'
|
|
| 'enum'
|
|
| 'uri'
|
|
| 'connection-string'
|
|
|
|
export interface KbxConfigurationSettingDefinition {
|
|
key: string
|
|
env: string
|
|
category: string
|
|
type: KbxConfigurationValueType
|
|
allowedValues?: readonly string[]
|
|
default?: string | number | boolean
|
|
minimum?: number
|
|
maximum?: number
|
|
secret: boolean
|
|
restartRequired: boolean
|
|
requiredIn?: readonly string[]
|
|
requiredWhen?: { key: string; equals: string | number | boolean }
|
|
allowedSources?: readonly string[]
|
|
}
|
|
|
|
export interface KbxEnvironmentProfileDefinition {
|
|
id: 'Development' | 'Test' | 'Staging' | 'Production'
|
|
artifactPromotion: boolean
|
|
secretSources: readonly string[]
|
|
migrationStrategy: string
|
|
providerNetwork: 'forbidden' | 'opt-in'
|
|
requireHttps: boolean
|
|
providerEndpointOverrideAllowed: boolean
|
|
requiredGates: readonly string[]
|
|
}
|