@zowe/imperative
Version:
framework for building configurable CLIs
34 lines • 854 B
TypeScript
import { Config } from "../Config";
import { IConfigLayer } from "./IConfigLayer";
export interface IConfigSchema {
$schema: string;
$version: string;
type: string;
description: string;
properties: {
[key: string]: any;
};
}
export interface IConfigSchemaInfo {
original: string;
resolved: string;
local: boolean;
}
export interface IConfigUpdateSchemaPaths {
[key: string]: {
schema: string;
updated: boolean;
};
}
export interface IConfigUpdateSchemaOptions {
layer?: 'active' | 'global' | 'all';
schema?: IConfigSchema;
depth?: number;
}
export interface IConfigUpdateSchemaHelperOptions {
layer: IConfigLayer;
config: Config;
updatedPaths: IConfigUpdateSchemaPaths;
updateOptions: IConfigUpdateSchemaOptions;
}
//# sourceMappingURL=IConfigSchema.d.ts.map