UNPKG

@appsemble/utils

Version:

Utility functions used in Appsemble internally

35 lines 1.14 kB
export const pathItems = { parameters: [{ $ref: '#/components/parameters/appId' }], post: { tags: ['main', 'app'], description: 'Update the locked property an app.', operationId: 'setAppLock', requestBody: { required: true, content: { 'application/json': { schema: { type: 'object', required: ['locked'], properties: { locked: { $ref: '#/components/schemas/App/properties/locked', description: 'Whether the app should be locked.', }, }, }, }, }, }, responses: { 204: { description: 'Lock status successfully changed', content: { 'application/zip': {}, }, }, }, security: [{ studio: [] }, { cli: ['apps:write'] }], }, }; //# sourceMappingURL=lock.js.map