UNPKG

unleash-server

Version:

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

118 lines 4.15 kB
export const resourceLimitsSchema = { $id: '#/components/schemas/resourceLimitsSchema', type: 'object', description: 'A map of resource names and their limits.', required: [ 'segmentValues', 'strategySegments', 'actionSetActions', 'actionSetsPerProject', 'actionSetFilters', 'actionSetFilterValues', 'signalEndpoints', 'signalTokensPerEndpoint', 'featureEnvironmentStrategies', 'constraintValues', 'environments', 'projects', 'apiTokens', 'segments', 'featureFlags', 'constraints', 'releaseTemplates', ], additionalProperties: false, properties: { segmentValues: { type: 'integer', example: 10, description: 'The maximum number of values per segment allowed.', }, strategySegments: { type: 'integer', example: 10, description: 'The maximum number of strategy segments allowed.', }, actionSetActions: { type: 'integer', example: 10, description: 'The maximum number of actions per action set allowed.', }, actionSetsPerProject: { type: 'integer', example: 10, description: 'The maximum number of action set definitions per project allowed.', }, actionSetFilters: { type: 'integer', example: 10, description: 'The maximum number of filters per action set allowed.', }, actionSetFilterValues: { type: 'integer', example: 10, description: 'The maximum number of filter values inside an action set allowed.', }, signalEndpoints: { type: 'integer', example: 10, description: 'The maximum number of signal endpoints allowed.', }, signalTokensPerEndpoint: { type: 'integer', example: 10, description: 'The maximum number of signal tokens per endpoint allowed.', }, featureEnvironmentStrategies: { type: 'integer', example: 30, description: 'The maximum number of feature environment strategies allowed.', }, constraintValues: { type: 'integer', example: 250, description: 'The maximum number of values for a single constraint.', }, constraints: { type: 'integer', example: 30, description: 'The maximum number of constraints in a single strategy.', }, environments: { type: 'integer', minimum: 1, example: 50, description: 'The maximum number of environments allowed.', }, apiTokens: { type: 'integer', minimum: 0, example: 2000, description: 'The maximum number of SDK and admin API tokens you can have at the same time. This limit applies only to backend and frontend SDK tokens and to admin tokens. Personal access tokens are not subject to this limit. The limit applies to the total number of tokens across all projects in your organization.', }, projects: { type: 'integer', minimum: 1, example: 500, description: 'The maximum number of projects allowed.', }, segments: { type: 'integer', example: 300, description: 'The maximum number of segments allowed.', }, featureFlags: { type: 'integer', minimum: 1, example: 5000, description: 'The maximum number of feature flags you can have at the same time. Archived flags do not count towards this limit.', }, releaseTemplates: { type: 'integer', example: 5, description: 'The maximum number of release templates allowed.', }, }, components: {}, }; //# sourceMappingURL=resource-limits-schema.js.map