UNPKG

@appsemble/lang-sdk

Version:

Language SDK for Appsemble

24 lines 825 B
export const ResourceViewDefinition = { type: 'object', minProperties: 1, description: 'Alternative views of a resource that are modified using remappers and support different sets of roles.', additionalProperties: { type: 'object', additionalProperties: false, description: 'A custom view for a resource.', properties: { roles: { type: 'array', description: 'The list of roles that are allowed to use this view.', items: { type: 'string', }, }, remap: { $ref: '#/components/schemas/RemapperDefinition', description: 'The modified view.', }, }, }, }; //# sourceMappingURL=ResourceViewDefinition.js.map