UNPKG

unleash-server

Version:

Unleash is an enterprise ready feature toggles service. It provides different strategies for handling feature toggles.

37 lines 924 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.tokenUserSchema = void 0; const role_schema_1 = require("./role-schema"); exports.tokenUserSchema = { $id: '#/components/schemas/tokenUserSchema', type: 'object', additionalProperties: false, required: ['id', 'name', 'email', 'token', 'createdBy', 'role'], properties: { id: { type: 'number', }, name: { type: 'string', }, email: { type: 'string', }, token: { type: 'string', }, createdBy: { type: 'string', nullable: true, }, role: { $ref: '#/components/schemas/roleSchema', }, }, components: { schemas: { roleSchema: role_schema_1.roleSchema, }, }, }; //# sourceMappingURL=token-user-schema.js.map