UNPKG

@sprucelabs/spruce-cli

Version:

Command line interface for building Spruce skills.

41 lines 1.65 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const schema_1 = require("@sprucelabs/schema"); const syncSchemaFieldsOptionsSchema = { id: 'syncSchemaFieldsOptions', version: 'v2020_07_22', namespace: 'SpruceCli', name: 'syncSchemaFieldsOptions', description: 'Sync schema fields so you can use schemas!', fields: { /** Field types directory. Where field types and interfaces will be generated. */ 'fieldTypesDestinationDir': { label: 'Field types directory', type: 'text', isPrivate: true, hint: 'Where field types and interfaces will be generated.', defaultValue: "#spruce/schemas", options: undefined }, /** Addons lookup directory. Where I'll look for new schema fields to be registered. */ 'addonsLookupDir': { label: 'Addons lookup directory', type: 'text', hint: 'Where I\'ll look for new schema fields to be registered.', defaultValue: "src/addons", options: undefined }, /** Generate field types. Should I generate field types too? */ 'generateFieldTypes': { label: 'Generate field types', type: 'boolean', isPrivate: true, hint: 'Should I generate field types too?', defaultValue: true, options: undefined }, } }; schema_1.SchemaRegistry.getInstance().trackSchema(syncSchemaFieldsOptionsSchema); exports.default = syncSchemaFieldsOptionsSchema; //# sourceMappingURL=syncSchemaFieldsOptions.schema.js.map