/** * JSON Schema definitions for configuration validation */ /** * Schema for validating expozr configuration */ export declare const expozrConfigSchema: { type: string; properties: { name: { type: string; minLength: number; }; version: { type: string; pattern: string; }; expose: { type: string; additionalProperties: { oneOf: ({ type: string; properties?: undefined; required?: undefined; additionalProperties?: undefined; } | { type: string; properties: { entry: { type: string; minLength: number; }; exports: { type: string; items: { type: string; }; }; dependencies: { type: string; additionalProperties: { type: string; }; }; metadata: { type: string; properties: { description: { type: string; }; author: { type: string; }; license: { type: string; }; tags: { type: string; items: { type: string; }; }; }; }; }; required: string[]; additionalProperties: boolean; })[]; }; }; dependencies: { type: string; additionalProperties: { type: string; }; }; metadata: { type: string; properties: { description: { type: string; }; author: { type: string; }; license: { type: string; }; homepage: { type: string; }; repository: { type: string; }; tags: { type: string; items: { type: string; }; }; }; additionalProperties: boolean; }; build: { type: string; properties: { outDir: { type: string; }; publicPath: { type: string; }; sourcemap: { type: string; }; minify: { type: string; }; target: { type: string; enum: string[]; }; format: { oneOf: ({ type: string; enum: string[]; items?: undefined; } | { type: string; items: { type: string; enum: string[]; }; enum?: undefined; })[]; }; moduleSystem: { type: string; properties: { primary: { type: string; enum: string[]; }; fallbacks: { type: string; items: { type: string; enum: string[]; }; }; strategy: { type: string; enum: string[]; }; hybrid: { type: string; }; }; }; }; additionalProperties: boolean; }; }; required: string[]; additionalProperties: boolean; }; /** * Schema for validating host configuration */ export declare const hostConfigSchema: { type: string; properties: { expozrs: { type: string; additionalProperties: { type: string; properties: { url: { type: string; minLength: number; }; version: { type: string; }; alias: { type: string; }; fallback: { type: string; }; }; required: string[]; additionalProperties: boolean; }; }; catalog: { oneOf: ({ type: string; properties?: undefined; required?: undefined; additionalProperties?: undefined; } | { type: string; properties: { url: { type: string; minLength: number; }; refreshInterval: { type: string; minimum: number; }; cache: { type: string; }; }; required: string[]; additionalProperties: boolean; })[]; }; cache: { type: string; properties: { strategy: { type: string; enum: string[]; }; ttl: { type: string; minimum: number; }; maxSize: { type: string; minimum: number; }; persist: { type: string; }; }; required: string[]; additionalProperties: boolean; }; loading: { type: string; properties: { timeout: { type: string; minimum: number; }; retry: { type: string; properties: { attempts: { type: string; minimum: number; }; delay: { type: string; minimum: number; }; backoff: { type: string; minimum: number; }; }; required: string[]; additionalProperties: boolean; }; preload: { type: string; properties: { enabled: { type: string; }; include: { type: string; items: { type: string; }; }; exclude: { type: string; items: { type: string; }; }; }; required: string[]; additionalProperties: boolean; }; }; additionalProperties: boolean; }; }; required: string[]; additionalProperties: boolean; }; /** * Schema for validating inventory structure */ export declare const inventorySchema: { type: string; properties: { expozr: { type: string; properties: { name: { type: string; minLength: number; }; version: { type: string; pattern: string; }; url: { type: string; minLength: number; }; description: { type: string; }; author: { type: string; }; }; required: string[]; additionalProperties: boolean; }; cargo: { type: string; additionalProperties: { type: string; properties: { name: { type: string; minLength: number; }; version: { type: string; pattern: string; }; entry: { type: string; minLength: number; }; exports: { type: string; items: { type: string; }; }; dependencies: { type: string; additionalProperties: { type: string; }; }; metadata: { type: string; properties: { description: { type: string; }; author: { type: string; }; license: { type: string; }; tags: { type: string; items: { type: string; }; }; size: { type: string; minimum: number; }; lastModified: { type: string; minimum: number; }; }; additionalProperties: boolean; }; }; required: string[]; additionalProperties: boolean; }; }; dependencies: { type: string; additionalProperties: { type: string; }; }; timestamp: { type: string; minimum: number; }; checksum: { type: string; }; }; required: string[]; additionalProperties: boolean; }; /** * Schema for validating module system configuration */ export declare const moduleSystemConfigSchema: { type: string; properties: { primary: { type: string; enum: string[]; }; fallbacks: { type: string; items: { type: string; enum: string[]; }; }; strategy: { type: string; enum: string[]; }; hybrid: { type: string; }; resolution: { type: string; properties: { extensions: { type: string; items: { type: string; }; }; alias: { type: string; additionalProperties: { type: string; }; }; baseUrl: { type: string; }; paths: { type: string; additionalProperties: { type: string; items: { type: string; }; }; }; }; additionalProperties: boolean; }; externals: { type: string; properties: { externals: { oneOf: ({ type: string; items: { type: string; }; additionalProperties?: undefined; } | { type: string; additionalProperties: { oneOf: ({ type: string; properties?: undefined; additionalProperties?: undefined; } | { type: string; properties: { global: { type: string; }; commonjs: { type: string; }; commonjs2: { type: string; }; amd: { type: string; }; esm: { type: string; }; cdn: { type: string; }; }; additionalProperties: boolean; })[]; }; items?: undefined; })[]; }; strategy: { type: string; enum: string[]; }; cdnUrl: { type: string; }; }; additionalProperties: boolean; }; compatibility: { type: string; properties: { target: { type: string; enum: string[]; }; browsers: { type: string; items: { type: string; }; }; legacy: { type: string; }; polyfills: { type: string; items: { type: string; }; }; }; additionalProperties: boolean; }; }; required: string[]; additionalProperties: boolean; }; //# sourceMappingURL=schemas.d.ts.map