import type { KbxScreenDefinition } from './screen'

export interface KbxScreenManifestEntry {
  id: string
  version: string
  module: KbxScreenDefinition['module']
  type: KbxScreenDefinition['type']
  templateCode: KbxScreenDefinition['templateCode']
  title: string
  route?: string
  helpKey?: string
  requiredPermissions: string[]
}

export interface KbxComponentManifestEntry {
  name: string
  category: 'primitive' | 'business' | 'template' | 'wms' | 'shell'
  purpose: string
  allowedUse?: string[]
  forbiddenUse?: string[]
  keyboard?: string[]
  accessibility?: string[]
  examples?: string[]
  owner: 'KBX'
  version: string
}
