UNPKG

@sprucelabs/spruce-cli

Version:

Command line interface for building Spruce skills.

41 lines 1.57 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const schema_1 = require("@sprucelabs/schema"); const bootSkillOptionsSchema = { id: 'bootSkillOptions', version: 'v2020_07_22', namespace: 'SpruceCli', name: 'Boot skill action', description: 'Boot your skill 💪', fields: { /** Run local. Will run using ts-node and typescript directly. Longer boot times */ 'local': { label: 'Run local', type: 'boolean', hint: 'Will run using ts-node and typescript directly. Longer boot times', options: undefined }, /** . */ 'onData': { type: 'raw', options: { valueType: `(msg: string) => void`, } }, /** . */ 'onError': { type: 'raw', options: { valueType: `(msg: string) => void`, } }, /** Wait until skill is booted. For testing. Returns immediately after executing test so the running tests can be managed programatically. */ 'shouldReturnImmediately': { label: 'Wait until skill is booted', type: 'boolean', isPrivate: true, hint: 'For testing. Returns immediately after executing test so the running tests can be managed programatically.', defaultValue: false, options: undefined }, } }; schema_1.SchemaRegistry.getInstance().trackSchema(bootSkillOptionsSchema); exports.default = bootSkillOptionsSchema; //# sourceMappingURL=bootSkillOptions.schema.js.map