@sprucelabs/spruce-cli
Version:
Command line interface for building Spruce skills.
47 lines • 1.74 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const schema_1 = require("@sprucelabs/schema");
const createAutoloaderFailedSchema = {
id: 'createAutoloaderFailed',
namespace: 'SpruceCli',
name: 'Could not create an autoloader',
description: 'Autoloader creation failed',
fields: {
/** The globby pattern used to find files. Globby pattern */
'globbyPattern': {
label: 'The globby pattern used to find files',
type: 'text',
isRequired: true,
hint: 'Globby pattern',
options: undefined
},
/** The files that were loaded. The files that were loaded */
'filePaths': {
label: 'The files that were loaded',
type: 'text',
isRequired: true,
hint: 'The files that were loaded',
isArray: true,
options: undefined
},
/** The suffix for classes to autoload. Class suffix */
'suffix': {
label: 'The suffix for classes to autoload',
type: 'text',
isRequired: true,
hint: 'Class suffix',
options: undefined
},
/** The directory we're trying to create the autoloader for. Directory to autoload */
'directory': {
label: 'The directory we\'re trying to create the autoloader for',
type: 'text',
isRequired: true,
hint: 'Directory to autoload',
options: undefined
},
}
};
schema_1.SchemaRegistry.getInstance().trackSchema(createAutoloaderFailedSchema);
exports.default = createAutoloaderFailedSchema;
//# sourceMappingURL=createAutoloaderFailed.schema.js.map