UNPKG

@appsemble/utils

Version:

Utility functions used in Appsemble internally

53 lines 1.77 kB
export const pathItems = { parameters: [ { $ref: '#/components/parameters/appId' }, { $ref: '#/components/parameters/organizationId' }, { $ref: '#/components/parameters/blockId' }, ], get: { tags: ['common', 'app'], description: 'Get the app style for a block.', operationId: 'getAppBlockStyle', responses: { 200: { description: 'The stylesheet associated with this block for this app.', content: { 'text/css': {}, }, }, }, }, post: { tags: ['main', 'app', 'block'], description: 'Upload a block stylesheet for this app.', operationId: 'setAppBlockStyle', requestBody: { description: 'The new app block stylesheet.', content: { 'application/json': { schema: { type: 'object', required: ['style'], properties: { style: { type: 'string', }, force: { type: 'boolean', writeOnly: true, description: 'If this is true, the app lock is ignored.', }, }, }, }, }, }, responses: { 204: { description: 'The block style has been updated successfully.', }, }, security: [{ studio: [] }, { cli: ['apps:write'] }], }, }; //# sourceMappingURL=blockId.js.map