UNPKG

unleash-server

Version:

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

48 lines 1.85 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.applicationOverviewEnvironmentSchema = void 0; const application_environment_issues_schema_1 = require("./application-environment-issues-schema"); exports.applicationOverviewEnvironmentSchema = { $id: '#/components/schemas/applicationOverviewEnvironmentSchema', type: 'object', description: 'Data about an application environment', additionalProperties: false, required: ['name', 'instanceCount', 'sdks', 'lastSeen', 'issues'], properties: { name: { description: 'Name of the application environment', type: 'string', example: 'production', }, instanceCount: { description: 'The number of instances of the application environment', type: 'number', example: 5, }, sdks: { description: 'SDKs used in the application environment', type: 'array', items: { type: 'string', }, example: ['unleash-client-node:5.4.0', 'unleash-client-node:5.3.0'], }, lastSeen: { type: 'string', nullable: true, format: 'date-time', example: '2023-04-19T08:15:14.000Z', description: 'The last time the application environment was seen', }, issues: { description: 'This list of issues that might be wrong with the application', $ref: '#/components/schemas/applicationEnvironmentIssuesSchema', }, }, components: { schemas: { applicationEnvironmentIssuesSchema: application_environment_issues_schema_1.applicationEnvironmentIssuesSchema, }, }, }; //# sourceMappingURL=application-overview-environment-schema.js.map