UNPKG

@sprucelabs/spruce-cli

Version:

Command line interface for building Spruce skills.

42 lines 1.26 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const schema_1 = require("@sprucelabs/schema"); const personWithTokenSchema = { id: 'personWithToken', version: 'v2020_07_22', namespace: 'SpruceCli', name: '', description: 'A stripped down cli user with token details for login', fields: { /** Id. */ 'id': { label: 'Id', type: 'id', isRequired: true, options: undefined }, /** Casual name. The name you can use when talking to this person. */ 'casualName': { label: 'Casual name', type: 'text', isRequired: true, hint: 'The name you can use when talking to this person.', options: undefined }, /** . */ 'token': { type: 'text', isRequired: true, options: undefined }, /** Logged in. */ 'isLoggedIn': { label: 'Logged in', type: 'boolean', options: undefined }, } }; schema_1.SchemaRegistry.getInstance().trackSchema(personWithTokenSchema); exports.default = personWithTokenSchema; //# sourceMappingURL=personWithToken.schema.js.map