UNPKG

unleash-server

Version:

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

69 lines 2.25 kB
import { applicationEnvironmentIssuesSchema } from './application-environment-issues-schema.js'; export const applicationOverviewEnvironmentSchema = { $id: '#/components/schemas/applicationOverviewEnvironmentSchema', type: 'object', description: 'Data about an application environment', additionalProperties: false, required: [ 'name', 'instanceCount', 'sdks', 'frontendSdks', 'backendSdks', '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'], }, frontendSdks: { description: 'Frontend SDKs used in the application environment', type: 'array', items: { type: 'string', }, example: ['unleash-client-js:3.7.5'], }, backendSdks: { description: 'Backend SDKs used in the application environment', type: 'array', items: { type: 'string', }, example: ['unleash-client-node:5.4.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, }, }, }; //# sourceMappingURL=application-overview-environment-schema.js.map