UNPKG

@sprucelabs/spruce-cli

Version:

Command line interface for building Spruce skills.

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