UNPKG

@appsemble/utils

Version:

Utility functions used in Appsemble internally

22 lines 648 B
export const AppVariable = { type: 'object', description: 'App variable', required: ['name'], additionalProperties: false, properties: { id: { type: 'number', description: 'An autogenerated ID.', readOnly: true, }, name: { type: 'string', description: 'The name of the variable, that will be accessible from clients.', }, value: { description: 'The value of the variable.', anyOf: [{ type: 'string' }, { type: 'boolean' }, { type: 'number' }], }, }, }; //# sourceMappingURL=AppVariable.js.map