unleash-server 7.3.0 → 7.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +36 -36
- package/dist/lib/addons/datadog.js +1 -1
- package/dist/lib/addons/datadog.js.map +1 -1
- package/dist/lib/addons/datadog.test.js +11 -11
- package/dist/lib/addons/datadog.test.js.map +1 -1
- package/dist/lib/addons/feature-event-formatter-md-events.d.ts.map +1 -1
- package/dist/lib/addons/feature-event-formatter-md-events.js +11 -1
- package/dist/lib/addons/feature-event-formatter-md-events.js.map +1 -1
- package/dist/lib/addons/feature-event-formatter-md.test.js +8 -6
- package/dist/lib/addons/feature-event-formatter-md.test.js.map +1 -1
- package/dist/lib/addons/new-relic-definition.js +1 -1
- package/dist/lib/addons/new-relic-definition.js.map +1 -1
- package/dist/lib/addons/new-relic.js +4 -4
- package/dist/lib/addons/new-relic.js.map +1 -1
- package/dist/lib/addons/new-relic.test.js +4 -4
- package/dist/lib/addons/new-relic.test.js.map +1 -1
- package/dist/lib/addons/slack-app-definition.d.ts.map +1 -1
- package/dist/lib/addons/slack-app-definition.js +3 -1
- package/dist/lib/addons/slack-app-definition.js.map +1 -1
- package/dist/lib/addons/slack-app.test.js +1 -2
- package/dist/lib/addons/slack-app.test.js.map +1 -1
- package/dist/lib/addons/slack-definition.d.ts.map +1 -1
- package/dist/lib/addons/slack-definition.js +3 -1
- package/dist/lib/addons/slack-definition.js.map +1 -1
- package/dist/lib/addons/slack.js +1 -1
- package/dist/lib/addons/slack.js.map +1 -1
- package/dist/lib/addons/slack.test.js +1 -1
- package/dist/lib/addons/slack.test.js.map +1 -1
- package/dist/lib/addons/teams-definition.d.ts.map +1 -1
- package/dist/lib/addons/teams-definition.js +3 -1
- package/dist/lib/addons/teams-definition.js.map +1 -1
- package/dist/lib/addons/teams.js +1 -1
- package/dist/lib/addons/teams.js.map +1 -1
- package/dist/lib/addons/teams.test.js +1 -1
- package/dist/lib/addons/teams.test.js.map +1 -1
- package/dist/lib/addons/webhook-definition.d.ts.map +1 -1
- package/dist/lib/addons/webhook-definition.js +4 -2
- package/dist/lib/addons/webhook-definition.js.map +1 -1
- package/dist/lib/addons/webhook.js +1 -1
- package/dist/lib/addons/webhook.js.map +1 -1
- package/dist/lib/addons/webhook.test.js +3 -3
- package/dist/lib/addons/webhook.test.js.map +1 -1
- package/dist/lib/app.js +2 -2
- package/dist/lib/app.js.map +1 -1
- package/dist/lib/app.test.js +6 -2
- package/dist/lib/app.test.js.map +1 -1
- package/dist/lib/create-config.test.js +9 -2
- package/dist/lib/create-config.test.js.map +1 -1
- package/dist/lib/db/access-store.d.ts +1 -2
- package/dist/lib/db/access-store.d.ts.map +1 -1
- package/dist/lib/db/access-store.js +2 -3
- package/dist/lib/db/access-store.js.map +1 -1
- package/dist/lib/db/access-store.test.js +5 -1
- package/dist/lib/db/access-store.test.js.map +1 -1
- package/dist/lib/db/api-token-store.d.ts +1 -2
- package/dist/lib/db/api-token-store.d.ts.map +1 -1
- package/dist/lib/db/api-token-store.js +1 -2
- package/dist/lib/db/api-token-store.js.map +1 -1
- package/dist/lib/db/favorite-features-store.d.ts +1 -3
- package/dist/lib/db/favorite-features-store.d.ts.map +1 -1
- package/dist/lib/db/favorite-features-store.js +1 -3
- package/dist/lib/db/favorite-features-store.js.map +1 -1
- package/dist/lib/db/favorite-projects-store.d.ts +2 -3
- package/dist/lib/db/favorite-projects-store.d.ts.map +1 -1
- package/dist/lib/db/favorite-projects-store.js +20 -4
- package/dist/lib/db/favorite-projects-store.js.map +1 -1
- package/dist/lib/db/feature-environment-store.d.ts +1 -2
- package/dist/lib/db/feature-environment-store.d.ts.map +1 -1
- package/dist/lib/db/feature-environment-store.js +1 -2
- package/dist/lib/db/feature-environment-store.js.map +1 -1
- package/dist/lib/db/feature-type-store.d.ts +1 -2
- package/dist/lib/db/feature-type-store.d.ts.map +1 -1
- package/dist/lib/db/feature-type-store.js +1 -2
- package/dist/lib/db/feature-type-store.js.map +1 -1
- package/dist/lib/db/project-stats-store.d.ts +1 -2
- package/dist/lib/db/project-stats-store.d.ts.map +1 -1
- package/dist/lib/db/project-stats-store.js +1 -2
- package/dist/lib/db/project-stats-store.js.map +1 -1
- package/dist/lib/db/public-signup-token-store.d.ts +1 -2
- package/dist/lib/db/public-signup-token-store.d.ts.map +1 -1
- package/dist/lib/db/public-signup-token-store.js +1 -2
- package/dist/lib/db/public-signup-token-store.js.map +1 -1
- package/dist/lib/db/reset-token-store.d.ts +2 -3
- package/dist/lib/db/reset-token-store.d.ts.map +1 -1
- package/dist/lib/db/reset-token-store.js +31 -6
- package/dist/lib/db/reset-token-store.js.map +1 -1
- package/dist/lib/db/user-feedback-store.d.ts +1 -1
- package/dist/lib/db/user-feedback-store.d.ts.map +1 -1
- package/dist/lib/db/user-feedback-store.js +1 -1
- package/dist/lib/db/user-feedback-store.js.map +1 -1
- package/dist/lib/db/user-splash-store.d.ts +1 -1
- package/dist/lib/db/user-splash-store.d.ts.map +1 -1
- package/dist/lib/db/user-splash-store.js +1 -1
- package/dist/lib/db/user-splash-store.js.map +1 -1
- package/dist/lib/default-custom-auth-deny-all.js +1 -1
- package/dist/lib/default-custom-auth-deny-all.js.map +1 -1
- package/dist/lib/domain/project-health/project-health.js +1 -1
- package/dist/lib/domain/project-health/project-health.js.map +1 -1
- package/dist/lib/error/unleash-error.test.js +4 -1
- package/dist/lib/error/unleash-error.test.js.map +1 -1
- package/dist/lib/events/index.d.ts +5 -1
- package/dist/lib/events/index.d.ts.map +1 -1
- package/dist/lib/events/index.js +8 -0
- package/dist/lib/events/index.js.map +1 -1
- package/dist/lib/features/access/access-read-model.d.ts.map +1 -1
- package/dist/lib/features/access/access-read-model.js +3 -2
- package/dist/lib/features/access/access-read-model.js.map +1 -1
- package/dist/lib/features/access/createAccessService.d.ts +5 -1
- package/dist/lib/features/access/createAccessService.d.ts.map +1 -1
- package/dist/lib/features/access/createAccessService.js +2 -2
- package/dist/lib/features/access/createAccessService.js.map +1 -1
- package/dist/lib/features/change-request-segment-usage-service/change-request-segment-usage-read-model.test.js.map +1 -1
- package/dist/lib/features/client-feature-toggles/client-feature-toggle-service.d.ts +1 -2
- package/dist/lib/features/client-feature-toggles/client-feature-toggle-service.d.ts.map +1 -1
- package/dist/lib/features/client-feature-toggles/client-feature-toggle-service.js +1 -2
- package/dist/lib/features/client-feature-toggles/client-feature-toggle-service.js.map +1 -1
- package/dist/lib/features/client-feature-toggles/client-feature-toggle.controller.d.ts.map +1 -1
- package/dist/lib/features/client-feature-toggles/client-feature-toggle.controller.js +18 -9
- package/dist/lib/features/client-feature-toggles/client-feature-toggle.controller.js.map +1 -1
- package/dist/lib/features/client-feature-toggles/delta/client-feature-toggle-delta.test.js +54 -0
- package/dist/lib/features/client-feature-toggles/delta/client-feature-toggle-delta.test.js.map +1 -1
- package/dist/lib/features/client-feature-toggles/delta/delta-cache.d.ts +1 -0
- package/dist/lib/features/client-feature-toggles/delta/delta-cache.d.ts.map +1 -1
- package/dist/lib/features/client-feature-toggles/delta/delta-cache.js +14 -0
- package/dist/lib/features/client-feature-toggles/delta/delta-cache.js.map +1 -1
- package/dist/lib/features/client-feature-toggles/delta/delta-cache.test.js +1 -1
- package/dist/lib/features/client-feature-toggles/delta/delta-cache.test.js.map +1 -1
- package/dist/lib/features/client-feature-toggles/tests/client-feature-toggles.e2e.test.js +1 -1
- package/dist/lib/features/client-feature-toggles/tests/client-feature-toggles.e2e.test.js.map +1 -1
- package/dist/lib/features/context/context-field-store-type.d.ts +2 -0
- package/dist/lib/features/context/context-field-store-type.d.ts.map +1 -1
- package/dist/lib/features/context/context-field-store.d.ts +3 -3
- package/dist/lib/features/context/context-field-store.d.ts.map +1 -1
- package/dist/lib/features/context/context-field-store.js +12 -3
- package/dist/lib/features/context/context-field-store.js.map +1 -1
- package/dist/lib/features/context/context-service.d.ts +9 -3
- package/dist/lib/features/context/context-service.d.ts.map +1 -1
- package/dist/lib/features/context/context-service.js +33 -4
- package/dist/lib/features/context/context-service.js.map +1 -1
- package/dist/lib/features/context/context.d.ts +10 -5
- package/dist/lib/features/context/context.d.ts.map +1 -1
- package/dist/lib/features/context/context.js +65 -37
- package/dist/lib/features/context/context.js.map +1 -1
- package/dist/lib/features/context/fake-context-field-store.d.ts +1 -0
- package/dist/lib/features/context/fake-context-field-store.d.ts.map +1 -1
- package/dist/lib/features/context/fake-context-field-store.js +4 -1
- package/dist/lib/features/context/fake-context-field-store.js.map +1 -1
- package/dist/lib/features/dependent-features/fake-dependent-features-read-model.d.ts +1 -1
- package/dist/lib/features/dependent-features/fake-dependent-features-read-model.d.ts.map +1 -1
- package/dist/lib/features/dependent-features/fake-dependent-features-read-model.js +1 -1
- package/dist/lib/features/dependent-features/fake-dependent-features-read-model.js.map +1 -1
- package/dist/lib/features/environments/environments-controller.d.ts +1 -2
- package/dist/lib/features/environments/environments-controller.d.ts.map +1 -1
- package/dist/lib/features/environments/environments-controller.js +2 -3
- package/dist/lib/features/environments/environments-controller.js.map +1 -1
- package/dist/lib/features/events/event-created-by-migration.test.js +3 -3
- package/dist/lib/features/events/event-created-by-migration.test.js.map +1 -1
- package/dist/lib/features/events/event-search-controller.js +1 -1
- package/dist/lib/features/events/event-search-controller.js.map +1 -1
- package/dist/lib/features/events/event-service.test.js.map +1 -1
- package/dist/lib/features/events/event-store.d.ts.map +1 -1
- package/dist/lib/features/events/event-store.js +22 -9
- package/dist/lib/features/events/event-store.js.map +1 -1
- package/dist/lib/features/export-import-toggles/export-import-api-usage.test.js +1 -1
- package/dist/lib/features/export-import-toggles/export-import-api-usage.test.js.map +1 -1
- package/dist/lib/features/export-import-toggles/export-import-controller.d.ts +0 -1
- package/dist/lib/features/export-import-toggles/export-import-controller.d.ts.map +1 -1
- package/dist/lib/features/export-import-toggles/export-import-controller.js +5 -6
- package/dist/lib/features/export-import-toggles/export-import-controller.js.map +1 -1
- package/dist/lib/features/export-import-toggles/export-import-service.d.ts.map +1 -1
- package/dist/lib/features/export-import-toggles/export-import-service.js +10 -1
- package/dist/lib/features/export-import-toggles/export-import-service.js.map +1 -1
- package/dist/lib/features/export-import-toggles/export-import.e2e.test.js +8 -3
- package/dist/lib/features/export-import-toggles/export-import.e2e.test.js.map +1 -1
- package/dist/lib/features/feature-lifecycle/fake-feature-lifecycle-read-model.d.ts +1 -1
- package/dist/lib/features/feature-lifecycle/fake-feature-lifecycle-read-model.d.ts.map +1 -1
- package/dist/lib/features/feature-lifecycle/fake-feature-lifecycle-read-model.js +1 -1
- package/dist/lib/features/feature-lifecycle/fake-feature-lifecycle-read-model.js.map +1 -1
- package/dist/lib/features/feature-lifecycle/fake-feature-lifecycle-store.js +1 -1
- package/dist/lib/features/feature-lifecycle/fake-feature-lifecycle-store.js.map +1 -1
- package/dist/lib/features/feature-lifecycle/feature-lifecycle-count-controller.d.ts +5 -4
- package/dist/lib/features/feature-lifecycle/feature-lifecycle-count-controller.d.ts.map +1 -1
- package/dist/lib/features/feature-lifecycle/feature-lifecycle-count-controller.js +9 -3
- package/dist/lib/features/feature-lifecycle/feature-lifecycle-count-controller.js.map +1 -1
- package/dist/lib/features/feature-lifecycle/feature-lifecycle-read-model-type.d.ts +1 -1
- package/dist/lib/features/feature-lifecycle/feature-lifecycle-read-model-type.d.ts.map +1 -1
- package/dist/lib/features/feature-lifecycle/feature-lifecycle-read-model.d.ts +1 -1
- package/dist/lib/features/feature-lifecycle/feature-lifecycle-read-model.d.ts.map +1 -1
- package/dist/lib/features/feature-lifecycle/feature-lifecycle-read-model.js +17 -18
- package/dist/lib/features/feature-lifecycle/feature-lifecycle-read-model.js.map +1 -1
- package/dist/lib/features/feature-lifecycle/feature-lifecycle-read-model.test.js +17 -0
- package/dist/lib/features/feature-lifecycle/feature-lifecycle-read-model.test.js.map +1 -1
- package/dist/lib/features/feature-lifecycle/feature-lifecycle-store.d.ts.map +1 -1
- package/dist/lib/features/feature-lifecycle/feature-lifecycle-store.js +3 -2
- package/dist/lib/features/feature-lifecycle/feature-lifecycle-store.js.map +1 -1
- package/dist/lib/features/feature-lifecycle/feature-lifecycle.e2e.test.js +4 -1
- package/dist/lib/features/feature-lifecycle/feature-lifecycle.e2e.test.js.map +1 -1
- package/dist/lib/features/feature-links/createFeatureLinkService.d.ts +4 -1
- package/dist/lib/features/feature-links/createFeatureLinkService.d.ts.map +1 -1
- package/dist/lib/features/feature-links/createFeatureLinkService.js +7 -3
- package/dist/lib/features/feature-links/createFeatureLinkService.js.map +1 -1
- package/dist/lib/features/feature-links/fake-feature-links-read-model.d.ts +1 -1
- package/dist/lib/features/feature-links/fake-feature-links-read-model.d.ts.map +1 -1
- package/dist/lib/features/feature-links/fake-feature-links-read-model.js +1 -1
- package/dist/lib/features/feature-links/fake-feature-links-read-model.js.map +1 -1
- package/dist/lib/features/feature-links/feature-link-service.d.ts +3 -0
- package/dist/lib/features/feature-links/feature-link-service.d.ts.map +1 -1
- package/dist/lib/features/feature-links/feature-link-service.js +6 -1
- package/dist/lib/features/feature-links/feature-link-service.js.map +1 -1
- package/dist/lib/features/feature-links/feature-link-service.test.js +20 -3
- package/dist/lib/features/feature-links/feature-link-service.test.js.map +1 -1
- package/dist/lib/features/feature-naming-pattern/feature-naming-validation.test.js +10 -2
- package/dist/lib/features/feature-naming-pattern/feature-naming-validation.test.js.map +1 -1
- package/dist/lib/features/feature-search/createFeatureSearchService.d.ts +3 -2
- package/dist/lib/features/feature-search/createFeatureSearchService.d.ts.map +1 -1
- package/dist/lib/features/feature-search/createFeatureSearchService.js +4 -4
- package/dist/lib/features/feature-search/createFeatureSearchService.js.map +1 -1
- package/dist/lib/features/feature-search/fake-feature-search-store.d.ts +1 -1
- package/dist/lib/features/feature-search/fake-feature-search-store.d.ts.map +1 -1
- package/dist/lib/features/feature-search/fake-feature-search-store.js +1 -1
- package/dist/lib/features/feature-search/fake-feature-search-store.js.map +1 -1
- package/dist/lib/features/feature-search/feature-search-controller.js +2 -2
- package/dist/lib/features/feature-search/feature-search-controller.js.map +1 -1
- package/dist/lib/features/feature-search/feature-search-service.d.ts +4 -3
- package/dist/lib/features/feature-search/feature-search-service.d.ts.map +1 -1
- package/dist/lib/features/feature-search/feature-search-service.js +12 -4
- package/dist/lib/features/feature-search/feature-search-service.js.map +1 -1
- package/dist/lib/features/feature-search/feature-search-store.d.ts +1 -3
- package/dist/lib/features/feature-search/feature-search-store.d.ts.map +1 -1
- package/dist/lib/features/feature-search/feature-search-store.js +1 -3
- package/dist/lib/features/feature-search/feature-search-store.js.map +1 -1
- package/dist/lib/features/feature-search/feature.search.e2e.test.js +1 -1
- package/dist/lib/features/feature-search/feature.search.e2e.test.js.map +1 -1
- package/dist/lib/features/feature-toggle/archive-feature-toggle-controller.js +1 -1
- package/dist/lib/features/feature-toggle/archive-feature-toggle-controller.js.map +1 -1
- package/dist/lib/features/feature-toggle/configuration-revision-service.d.ts +2 -1
- package/dist/lib/features/feature-toggle/configuration-revision-service.d.ts.map +1 -1
- package/dist/lib/features/feature-toggle/configuration-revision-service.js +16 -0
- package/dist/lib/features/feature-toggle/configuration-revision-service.js.map +1 -1
- package/dist/lib/features/feature-toggle/converters/feature-toggle-row-converter.d.ts +3 -4
- package/dist/lib/features/feature-toggle/converters/feature-toggle-row-converter.d.ts.map +1 -1
- package/dist/lib/features/feature-toggle/converters/feature-toggle-row-converter.js +2 -3
- package/dist/lib/features/feature-toggle/converters/feature-toggle-row-converter.js.map +1 -1
- package/dist/lib/features/feature-toggle/createFeatureToggleService.d.ts.map +1 -1
- package/dist/lib/features/feature-toggle/createFeatureToggleService.js +1 -12
- package/dist/lib/features/feature-toggle/createFeatureToggleService.js.map +1 -1
- package/dist/lib/features/feature-toggle/fake-feature-collaborators-read-model.d.ts +1 -1
- package/dist/lib/features/feature-toggle/fake-feature-collaborators-read-model.d.ts.map +1 -1
- package/dist/lib/features/feature-toggle/fake-feature-collaborators-read-model.js +1 -1
- package/dist/lib/features/feature-toggle/fake-feature-collaborators-read-model.js.map +1 -1
- package/dist/lib/features/feature-toggle/fakes/fake-feature-strategies-store.d.ts +5 -5
- package/dist/lib/features/feature-toggle/fakes/fake-feature-strategies-store.d.ts.map +1 -1
- package/dist/lib/features/feature-toggle/fakes/fake-feature-strategies-store.js +6 -6
- package/dist/lib/features/feature-toggle/fakes/fake-feature-strategies-store.js.map +1 -1
- package/dist/lib/features/feature-toggle/fakes/fake-feature-toggle-store.d.ts +8 -8
- package/dist/lib/features/feature-toggle/fakes/fake-feature-toggle-store.d.ts.map +1 -1
- package/dist/lib/features/feature-toggle/fakes/fake-feature-toggle-store.js +10 -12
- package/dist/lib/features/feature-toggle/fakes/fake-feature-toggle-store.js.map +1 -1
- package/dist/lib/features/feature-toggle/fakes/fake-features-read-model.d.ts +7 -1
- package/dist/lib/features/feature-toggle/fakes/fake-features-read-model.d.ts.map +1 -1
- package/dist/lib/features/feature-toggle/fakes/fake-features-read-model.js +7 -3
- package/dist/lib/features/feature-toggle/fakes/fake-features-read-model.js.map +1 -1
- package/dist/lib/features/feature-toggle/feature-toggle-controller.d.ts.map +1 -1
- package/dist/lib/features/feature-toggle/feature-toggle-controller.js +4 -3
- package/dist/lib/features/feature-toggle/feature-toggle-controller.js.map +1 -1
- package/dist/lib/features/feature-toggle/feature-toggle-service.d.ts +3 -10
- package/dist/lib/features/feature-toggle/feature-toggle-service.d.ts.map +1 -1
- package/dist/lib/features/feature-toggle/feature-toggle-service.js +10 -26
- package/dist/lib/features/feature-toggle/feature-toggle-service.js.map +1 -1
- package/dist/lib/features/feature-toggle/feature-toggle-store.d.ts.map +1 -1
- package/dist/lib/features/feature-toggle/feature-toggle-store.js +7 -3
- package/dist/lib/features/feature-toggle/feature-toggle-store.js.map +1 -1
- package/dist/lib/features/feature-toggle/feature-toggle-strategies-store.d.ts +1 -3
- package/dist/lib/features/feature-toggle/feature-toggle-strategies-store.d.ts.map +1 -1
- package/dist/lib/features/feature-toggle/feature-toggle-strategies-store.js +1 -3
- package/dist/lib/features/feature-toggle/feature-toggle-strategies-store.js.map +1 -1
- package/dist/lib/features/feature-toggle/legacy/feature-toggle-legacy-controller.d.ts +0 -1
- package/dist/lib/features/feature-toggle/legacy/feature-toggle-legacy-controller.d.ts.map +1 -1
- package/dist/lib/features/feature-toggle/legacy/feature-toggle-legacy-controller.js +0 -1
- package/dist/lib/features/feature-toggle/legacy/feature-toggle-legacy-controller.js.map +1 -1
- package/dist/lib/features/feature-toggle/tests/feature-toggle-service.e2e.test.js +1 -1
- package/dist/lib/features/feature-toggle/tests/feature-toggle-service.e2e.test.js.map +1 -1
- package/dist/lib/features/feature-toggle/tests/feature-toggle-store.e2e.test.js +1 -1
- package/dist/lib/features/feature-toggle/tests/feature-toggle-store.e2e.test.js.map +1 -1
- package/dist/lib/features/feature-toggle/tests/feature-toggle-strategies-store.e2e.test.js +2 -2
- package/dist/lib/features/feature-toggle/tests/feature-toggle-strategies-store.e2e.test.js.map +1 -1
- package/dist/lib/features/feature-toggle/tests/feature-toggles.e2e.test.js +3 -3
- package/dist/lib/features/feature-toggle/tests/feature-toggles.e2e.test.js.map +1 -1
- package/dist/lib/features/frontend-api/frontend-api-controller.js +2 -2
- package/dist/lib/features/frontend-api/frontend-api-controller.js.map +1 -1
- package/dist/lib/features/frontend-api/frontend-api-repository.d.ts +1 -3
- package/dist/lib/features/frontend-api/frontend-api-repository.d.ts.map +1 -1
- package/dist/lib/features/frontend-api/frontend-api-repository.js +6 -6
- package/dist/lib/features/frontend-api/frontend-api-repository.js.map +1 -1
- package/dist/lib/features/frontend-api/frontend-api-service.d.ts.map +1 -1
- package/dist/lib/features/frontend-api/frontend-api-service.js +3 -1
- package/dist/lib/features/frontend-api/frontend-api-service.js.map +1 -1
- package/dist/lib/features/frontend-api/frontend-api-service.test.js +2 -2
- package/dist/lib/features/frontend-api/frontend-api.concurrency.e2e.test.js +1 -1
- package/dist/lib/features/frontend-api/frontend-api.concurrency.e2e.test.js.map +1 -1
- package/dist/lib/features/frontend-api/global-frontend-api-cache.d.ts +0 -2
- package/dist/lib/features/frontend-api/global-frontend-api-cache.d.ts.map +1 -1
- package/dist/lib/features/frontend-api/global-frontend-api-cache.js +0 -7
- package/dist/lib/features/frontend-api/global-frontend-api-cache.js.map +1 -1
- package/dist/lib/features/frontend-api/proxy-repository.js +1 -1
- package/dist/lib/features/frontend-api/proxy-repository.js.map +1 -1
- package/dist/lib/features/instance-stats/createInstanceStatsService.d.ts.map +1 -1
- package/dist/lib/features/instance-stats/createInstanceStatsService.js +5 -2
- package/dist/lib/features/instance-stats/createInstanceStatsService.js.map +1 -1
- package/dist/lib/features/instance-stats/getEdgeInstances.d.ts.map +1 -1
- package/dist/lib/features/instance-stats/getEdgeInstances.e2e.test.js +28 -19
- package/dist/lib/features/instance-stats/getEdgeInstances.e2e.test.js.map +1 -1
- package/dist/lib/features/instance-stats/getEdgeInstances.js +14 -2
- package/dist/lib/features/instance-stats/getEdgeInstances.js.map +1 -1
- package/dist/lib/features/instance-stats/getProductionChanges.e2e.test.js +2 -2
- package/dist/lib/features/instance-stats/getProductionChanges.e2e.test.js.map +1 -1
- package/dist/lib/features/instance-stats/getReadOnlyUsers.d.ts +5 -0
- package/dist/lib/features/instance-stats/getReadOnlyUsers.d.ts.map +1 -0
- package/dist/lib/features/instance-stats/getReadOnlyUsers.js +9 -0
- package/dist/lib/features/instance-stats/getReadOnlyUsers.js.map +1 -0
- package/dist/lib/features/instance-stats/instance-stats-service.d.ts +8 -5
- package/dist/lib/features/instance-stats/instance-stats-service.d.ts.map +1 -1
- package/dist/lib/features/instance-stats/instance-stats-service.js +17 -4
- package/dist/lib/features/instance-stats/instance-stats-service.js.map +1 -1
- package/dist/lib/features/instance-stats/instance-stats-service.test.js +8 -6
- package/dist/lib/features/instance-stats/instance-stats-service.test.js.map +1 -1
- package/dist/lib/features/integration-events/integration-events-service.d.ts +1 -3
- package/dist/lib/features/integration-events/integration-events-service.d.ts.map +1 -1
- package/dist/lib/features/integration-events/integration-events-service.js +1 -3
- package/dist/lib/features/integration-events/integration-events-service.js.map +1 -1
- package/dist/lib/features/maintenance/maintenance-controller.d.ts +1 -1
- package/dist/lib/features/maintenance/maintenance-controller.d.ts.map +1 -1
- package/dist/lib/features/maintenance/maintenance-controller.js +1 -1
- package/dist/lib/features/maintenance/maintenance-controller.js.map +1 -1
- package/dist/lib/features/maintenance/maintenance-service.js +1 -1
- package/dist/lib/features/maintenance/maintenance-service.js.map +1 -1
- package/dist/lib/features/metrics/client-metrics/client-metrics-service.e2e.test.js +10 -10
- package/dist/lib/features/metrics/client-metrics/client-metrics-service.e2e.test.js.map +1 -1
- package/dist/lib/features/metrics/client-metrics/client-metrics-store-v2.d.ts +1 -3
- package/dist/lib/features/metrics/client-metrics/client-metrics-store-v2.d.ts.map +1 -1
- package/dist/lib/features/metrics/client-metrics/client-metrics-store-v2.js +2 -4
- package/dist/lib/features/metrics/client-metrics/client-metrics-store-v2.js.map +1 -1
- package/dist/lib/features/metrics/client-metrics/client-metrics.d.ts +0 -1
- package/dist/lib/features/metrics/client-metrics/client-metrics.d.ts.map +1 -1
- package/dist/lib/features/metrics/client-metrics/client-metrics.js +0 -1
- package/dist/lib/features/metrics/client-metrics/client-metrics.js.map +1 -1
- package/dist/lib/features/metrics/client-metrics/fake-client-metrics-store-v2.d.ts +10 -10
- package/dist/lib/features/metrics/client-metrics/fake-client-metrics-store-v2.d.ts.map +1 -1
- package/dist/lib/features/metrics/client-metrics/fake-client-metrics-store-v2.js +13 -11
- package/dist/lib/features/metrics/client-metrics/fake-client-metrics-store-v2.js.map +1 -1
- package/dist/lib/features/metrics/client-metrics/metrics-service-v2.d.ts +1 -1
- package/dist/lib/features/metrics/client-metrics/metrics-service-v2.d.ts.map +1 -1
- package/dist/lib/features/metrics/client-metrics/metrics-service-v2.js +3 -3
- package/dist/lib/features/metrics/client-metrics/metrics-service-v2.js.map +1 -1
- package/dist/lib/features/metrics/client-metrics/metrics-service-v2.test.js +2 -2
- package/dist/lib/features/metrics/client-metrics/metrics-service-v2.test.js.map +1 -1
- package/dist/lib/features/metrics/custom/custom-metrics-controller.d.ts +2 -2
- package/dist/lib/features/metrics/custom/custom-metrics-controller.d.ts.map +1 -1
- package/dist/lib/features/metrics/custom/custom-metrics-controller.js +2 -2
- package/dist/lib/features/metrics/custom/custom-metrics-controller.js.map +1 -1
- package/dist/lib/features/metrics/impact/metrics-translator.js +3 -1
- package/dist/lib/features/metrics/impact/metrics-translator.js.map +1 -1
- package/dist/lib/features/metrics/instance/instance-service.d.ts.map +1 -1
- package/dist/lib/features/metrics/instance/instance-service.js +1 -0
- package/dist/lib/features/metrics/instance/instance-service.js.map +1 -1
- package/dist/lib/features/metrics/instance/instance-service.test.js +2 -2
- package/dist/lib/features/metrics/instance/instance-service.test.js.map +1 -1
- package/dist/lib/features/metrics/instance/metrics.d.ts +1 -0
- package/dist/lib/features/metrics/instance/metrics.d.ts.map +1 -1
- package/dist/lib/features/metrics/instance/metrics.js +22 -6
- package/dist/lib/features/metrics/instance/metrics.js.map +1 -1
- package/dist/lib/features/metrics/last-seen/fake-last-seen-read-model.d.ts +1 -1
- package/dist/lib/features/metrics/last-seen/fake-last-seen-read-model.d.ts.map +1 -1
- package/dist/lib/features/metrics/last-seen/fake-last-seen-read-model.js +1 -1
- package/dist/lib/features/metrics/last-seen/fake-last-seen-read-model.js.map +1 -1
- package/dist/lib/features/metrics/shared/schema.test.js +0 -1
- package/dist/lib/features/metrics/shared/schema.test.js.map +1 -1
- package/dist/lib/features/metrics/sizes/fake-largest-resources-read-model.d.ts +2 -2
- package/dist/lib/features/metrics/sizes/fake-largest-resources-read-model.d.ts.map +1 -1
- package/dist/lib/features/metrics/sizes/fake-largest-resources-read-model.js +2 -2
- package/dist/lib/features/metrics/sizes/fake-largest-resources-read-model.js.map +1 -1
- package/dist/lib/features/metrics/unknown-flags/unknown-flags-service.d.ts +1 -2
- package/dist/lib/features/metrics/unknown-flags/unknown-flags-service.d.ts.map +1 -1
- package/dist/lib/features/metrics/unknown-flags/unknown-flags-service.js +1 -2
- package/dist/lib/features/metrics/unknown-flags/unknown-flags-service.js.map +1 -1
- package/dist/lib/features/onboarding/fake-onboarding-store.d.ts +2 -2
- package/dist/lib/features/onboarding/fake-onboarding-store.d.ts.map +1 -1
- package/dist/lib/features/onboarding/fake-onboarding-store.js +2 -2
- package/dist/lib/features/onboarding/fake-onboarding-store.js.map +1 -1
- package/dist/lib/features/onboarding/onboarding-service.d.ts +1 -3
- package/dist/lib/features/onboarding/onboarding-service.d.ts.map +1 -1
- package/dist/lib/features/onboarding/onboarding-service.js +2 -4
- package/dist/lib/features/onboarding/onboarding-service.js.map +1 -1
- package/dist/lib/features/personal-dashboard/fake-personal-dashboard-read-model.d.ts +3 -3
- package/dist/lib/features/personal-dashboard/fake-personal-dashboard-read-model.d.ts.map +1 -1
- package/dist/lib/features/personal-dashboard/fake-personal-dashboard-read-model.js +3 -3
- package/dist/lib/features/personal-dashboard/fake-personal-dashboard-read-model.js.map +1 -1
- package/dist/lib/features/playground/feature-evaluator/constraint.js +1 -1
- package/dist/lib/features/playground/feature-evaluator/constraint.js.map +1 -1
- package/dist/lib/features/playground/feature-evaluator/repository/index.js +1 -1
- package/dist/lib/features/playground/feature-evaluator/repository/index.js.map +1 -1
- package/dist/lib/features/playground/feature-evaluator/strategy/gradual-rollout-random.d.ts +1 -1
- package/dist/lib/features/playground/feature-evaluator/strategy/gradual-rollout-random.d.ts.map +1 -1
- package/dist/lib/features/playground/feature-evaluator/strategy/gradual-rollout-random.js +1 -1
- package/dist/lib/features/playground/feature-evaluator/strategy/gradual-rollout-random.js.map +1 -1
- package/dist/lib/features/playground/feature-evaluator/strategy/remote-address-strategy.js +1 -1
- package/dist/lib/features/playground/feature-evaluator/strategy/remote-address-strategy.js.map +1 -1
- package/dist/lib/features/playground/feature-evaluator/strategy/strategy.d.ts +1 -1
- package/dist/lib/features/playground/feature-evaluator/strategy/strategy.d.ts.map +1 -1
- package/dist/lib/features/playground/feature-evaluator/strategy/strategy.js +1 -1
- package/dist/lib/features/playground/feature-evaluator/strategy/strategy.js.map +1 -1
- package/dist/lib/features/playground/feature-evaluator/strategy/unknown-strategy.d.ts +1 -1
- package/dist/lib/features/playground/feature-evaluator/strategy/unknown-strategy.d.ts.map +1 -1
- package/dist/lib/features/playground/feature-evaluator/strategy/unknown-strategy.js +1 -1
- package/dist/lib/features/playground/feature-evaluator/strategy/unknown-strategy.js.map +1 -1
- package/dist/lib/features/playground/offline-unleash-client.test.js +6 -2
- package/dist/lib/features/playground/offline-unleash-client.test.js.map +1 -1
- package/dist/lib/features/playground/playground-service.d.ts.map +1 -1
- package/dist/lib/features/playground/playground-service.js +3 -2
- package/dist/lib/features/playground/playground-service.js.map +1 -1
- package/dist/lib/features/playground/playground.test.js +1 -1
- package/dist/lib/features/playground/playground.test.js.map +1 -1
- package/dist/lib/features/private-project/fakePrivateProjectChecker.d.ts +3 -3
- package/dist/lib/features/private-project/fakePrivateProjectChecker.d.ts.map +1 -1
- package/dist/lib/features/private-project/fakePrivateProjectChecker.js +3 -3
- package/dist/lib/features/private-project/fakePrivateProjectChecker.js.map +1 -1
- package/dist/lib/features/private-project/privateProjectStore.d.ts +1 -2
- package/dist/lib/features/private-project/privateProjectStore.d.ts.map +1 -1
- package/dist/lib/features/private-project/privateProjectStore.js +2 -3
- package/dist/lib/features/private-project/privateProjectStore.js.map +1 -1
- package/dist/lib/features/project/fake-project-flag-creators-read-model.d.ts +1 -1
- package/dist/lib/features/project/fake-project-flag-creators-read-model.d.ts.map +1 -1
- package/dist/lib/features/project/fake-project-flag-creators-read-model.js +1 -1
- package/dist/lib/features/project/fake-project-flag-creators-read-model.js.map +1 -1
- package/dist/lib/features/project/project-controller.d.ts +1 -1
- package/dist/lib/features/project/project-controller.d.ts.map +1 -1
- package/dist/lib/features/project/project-controller.js +3 -1
- package/dist/lib/features/project/project-controller.js.map +1 -1
- package/dist/lib/features/project/project-read-model.d.ts +1 -2
- package/dist/lib/features/project/project-read-model.d.ts.map +1 -1
- package/dist/lib/features/project/project-read-model.js +1 -2
- package/dist/lib/features/project/project-read-model.js.map +1 -1
- package/dist/lib/features/project/project-service.e2e.test.js +10 -3
- package/dist/lib/features/project/project-service.e2e.test.js.map +1 -1
- package/dist/lib/features/project/project-store.d.ts +2 -3
- package/dist/lib/features/project/project-store.d.ts.map +1 -1
- package/dist/lib/features/project/project-store.js +43 -3
- package/dist/lib/features/project/project-store.js.map +1 -1
- package/dist/lib/features/project/projects.e2e.test.js +1 -1
- package/dist/lib/features/project/projects.e2e.test.js.map +1 -1
- package/dist/lib/features/project-environments/environment-service.d.ts +1 -0
- package/dist/lib/features/project-environments/environment-service.d.ts.map +1 -1
- package/dist/lib/features/project-environments/environment-service.js +8 -1
- package/dist/lib/features/project-environments/environment-service.js.map +1 -1
- package/dist/lib/features/project-environments/fake-environment-store.d.ts +3 -3
- package/dist/lib/features/project-environments/fake-environment-store.d.ts.map +1 -1
- package/dist/lib/features/project-environments/fake-environment-store.js +5 -5
- package/dist/lib/features/project-environments/fake-environment-store.js.map +1 -1
- package/dist/lib/features/project-insights/project-insights-service.e2e.test.js +1 -1
- package/dist/lib/features/project-insights/project-insights-service.e2e.test.js.map +1 -1
- package/dist/lib/features/project-status/projects-status.e2e.test.js +1 -1
- package/dist/lib/features/project-status/projects-status.e2e.test.js.map +1 -1
- package/dist/lib/features/scheduler/job-service.js +1 -1
- package/dist/lib/features/scheduler/job-service.js.map +1 -1
- package/dist/lib/features/scheduler/job-service.test.js +1 -1
- package/dist/lib/features/scheduler/job-service.test.js.map +1 -1
- package/dist/lib/features/scheduler/job-store.d.ts +0 -1
- package/dist/lib/features/scheduler/job-store.d.ts.map +1 -1
- package/dist/lib/features/scheduler/job-store.js +0 -1
- package/dist/lib/features/scheduler/job-store.js.map +1 -1
- package/dist/lib/features/segment/admin-segment.e2e.test.js +7 -25
- package/dist/lib/features/segment/admin-segment.e2e.test.js.map +1 -1
- package/dist/lib/features/segment/fake-segment-read-model.d.ts +2 -2
- package/dist/lib/features/segment/fake-segment-read-model.d.ts.map +1 -1
- package/dist/lib/features/segment/fake-segment-read-model.js +2 -2
- package/dist/lib/features/segment/fake-segment-read-model.js.map +1 -1
- package/dist/lib/features/segment/segment-controller.d.ts +1 -2
- package/dist/lib/features/segment/segment-controller.d.ts.map +1 -1
- package/dist/lib/features/segment/segment-controller.js +6 -4
- package/dist/lib/features/segment/segment-controller.js.map +1 -1
- package/dist/lib/features/segment/segment-service-interface.d.ts +2 -2
- package/dist/lib/features/segment/segment-service-interface.d.ts.map +1 -1
- package/dist/lib/features/segment/segment-service.d.ts +3 -3
- package/dist/lib/features/segment/segment-service.d.ts.map +1 -1
- package/dist/lib/features/segment/segment-service.js +31 -5
- package/dist/lib/features/segment/segment-service.js.map +1 -1
- package/dist/lib/features/tag-type/fake-tag-type-store.d.ts.map +1 -1
- package/dist/lib/features/tag-type/fake-tag-type-store.js +3 -1
- package/dist/lib/features/tag-type/fake-tag-type-store.js.map +1 -1
- package/dist/lib/features/tag-type/tag-type.d.ts +1 -2
- package/dist/lib/features/tag-type/tag-type.d.ts.map +1 -1
- package/dist/lib/features/tag-type/tag-type.js +1 -2
- package/dist/lib/features/tag-type/tag-type.js.map +1 -1
- package/dist/lib/features/traffic-data-usage/fake-traffic-data-usage-store.d.ts +4 -4
- package/dist/lib/features/traffic-data-usage/fake-traffic-data-usage-store.d.ts.map +1 -1
- package/dist/lib/features/traffic-data-usage/fake-traffic-data-usage-store.js +4 -4
- package/dist/lib/features/traffic-data-usage/fake-traffic-data-usage-store.js.map +1 -1
- package/dist/lib/features/traffic-data-usage/traffic-data-usage-store.d.ts +1 -2
- package/dist/lib/features/traffic-data-usage/traffic-data-usage-store.d.ts.map +1 -1
- package/dist/lib/features/traffic-data-usage/traffic-data-usage-store.js +3 -4
- package/dist/lib/features/traffic-data-usage/traffic-data-usage-store.js.map +1 -1
- package/dist/lib/features/ui-observability-controller/ui-observability-controller.js +1 -1
- package/dist/lib/features/ui-observability-controller/ui-observability-controller.js.map +1 -1
- package/dist/lib/features/unique-connection/unique-connection-service.d.ts +0 -1
- package/dist/lib/features/unique-connection/unique-connection-service.d.ts.map +1 -1
- package/dist/lib/features/unique-connection/unique-connection-service.js +0 -1
- package/dist/lib/features/unique-connection/unique-connection-service.js.map +1 -1
- package/dist/lib/features/user-subscriptions/fake-user-subscriptions-read-model.d.ts +2 -2
- package/dist/lib/features/user-subscriptions/fake-user-subscriptions-read-model.d.ts.map +1 -1
- package/dist/lib/features/user-subscriptions/fake-user-subscriptions-read-model.js +2 -2
- package/dist/lib/features/user-subscriptions/fake-user-subscriptions-read-model.js.map +1 -1
- package/dist/lib/features/user-subscriptions/user-subscriptions-read-model.test.js +1 -1
- package/dist/lib/features/user-subscriptions/user-subscriptions-read-model.test.js.map +1 -1
- package/dist/lib/features/user-subscriptions/user-subscriptions-service.d.ts +1 -2
- package/dist/lib/features/user-subscriptions/user-subscriptions-service.d.ts.map +1 -1
- package/dist/lib/features/user-subscriptions/user-subscriptions-service.js +1 -2
- package/dist/lib/features/user-subscriptions/user-subscriptions-service.js.map +1 -1
- package/dist/lib/features/users/createUserService.d.ts.map +1 -1
- package/dist/lib/features/users/createUserService.js +3 -1
- package/dist/lib/features/users/createUserService.js.map +1 -1
- package/dist/lib/features/users/user-store.d.ts +1 -2
- package/dist/lib/features/users/user-store.d.ts.map +1 -1
- package/dist/lib/features/users/user-store.js +3 -2
- package/dist/lib/features/users/user-store.js.map +1 -1
- package/dist/lib/features/users/user-updates-read-model.d.ts +2 -2
- package/dist/lib/features/users/user-updates-read-model.d.ts.map +1 -1
- package/dist/lib/features/users/user-updates-read-model.js +2 -2
- package/dist/lib/features/users/user-updates-read-model.js.map +1 -1
- package/dist/lib/logger.test.js +2 -2
- package/dist/lib/logger.test.js.map +1 -1
- package/dist/lib/metric-events.d.ts +15 -2
- package/dist/lib/metric-events.d.ts.map +1 -1
- package/dist/lib/metric-events.js +2 -1
- package/dist/lib/metric-events.js.map +1 -1
- package/dist/lib/metrics.d.ts.map +1 -1
- package/dist/lib/metrics.js +65 -4
- package/dist/lib/metrics.js.map +1 -1
- package/dist/lib/metrics.test.js +13 -8
- package/dist/lib/metrics.test.js.map +1 -1
- package/dist/lib/middleware/api-token-middleware.js +1 -1
- package/dist/lib/middleware/api-token-middleware.js.map +1 -1
- package/dist/lib/middleware/api-token-middleware.test.js +4 -1
- package/dist/lib/middleware/api-token-middleware.test.js.map +1 -1
- package/dist/lib/middleware/audit-middleware.js +1 -1
- package/dist/lib/middleware/audit-middleware.js.map +1 -1
- package/dist/lib/middleware/catch-all-error-handler.js +1 -1
- package/dist/lib/middleware/catch-all-error-handler.js.map +1 -1
- package/dist/lib/middleware/conditional-middleware.d.ts.map +1 -1
- package/dist/lib/middleware/conditional-middleware.js +2 -5
- package/dist/lib/middleware/conditional-middleware.js.map +1 -1
- package/dist/lib/middleware/content_type_checker.test.js +3 -6
- package/dist/lib/middleware/content_type_checker.test.js.map +1 -1
- package/dist/lib/middleware/cors-origin-middleware.js +1 -1
- package/dist/lib/middleware/cors-origin-middleware.js.map +1 -1
- package/dist/lib/middleware/demo-authentication.js +3 -3
- package/dist/lib/middleware/demo-authentication.js.map +1 -1
- package/dist/lib/middleware/no-authentication.js +3 -3
- package/dist/lib/middleware/no-authentication.js.map +1 -1
- package/dist/lib/middleware/oss-authentication.test.js +2 -2
- package/dist/lib/middleware/oss-authentication.test.js.map +1 -1
- package/dist/lib/middleware/pat-middleware.js +1 -1
- package/dist/lib/middleware/pat-middleware.js.map +1 -1
- package/dist/lib/middleware/rbac-middleware.js +1 -1
- package/dist/lib/middleware/rbac-middleware.js.map +1 -1
- package/dist/lib/middleware/rbac-middleware.test.js +7 -3
- package/dist/lib/middleware/rbac-middleware.test.js.map +1 -1
- package/dist/lib/middleware/response-time-metrics.js +1 -1
- package/dist/lib/middleware/response-time-metrics.js.map +1 -1
- package/dist/lib/middleware/response-time-metrics.test.js +4 -1
- package/dist/lib/middleware/response-time-metrics.test.js.map +1 -1
- package/dist/lib/middleware/secure-headers.d.ts.map +1 -1
- package/dist/lib/middleware/secure-headers.js +3 -1
- package/dist/lib/middleware/secure-headers.js.map +1 -1
- package/dist/lib/openapi/meta-schema-rules.test.js +1 -1
- package/dist/lib/openapi/meta-schema-rules.test.js.map +1 -1
- package/dist/lib/openapi/spec/addon-create-update-schema.d.ts +2 -2
- package/dist/lib/openapi/spec/addon-create-update-schema.js +6 -6
- package/dist/lib/openapi/spec/addon-create-update-schema.js.map +1 -1
- package/dist/lib/openapi/spec/addon-parameter-schema.js +1 -1
- package/dist/lib/openapi/spec/addon-parameter-schema.js.map +1 -1
- package/dist/lib/openapi/spec/addon-schema.d.ts +1 -1
- package/dist/lib/openapi/spec/addon-schema.js +1 -1
- package/dist/lib/openapi/spec/addon-schema.js.map +1 -1
- package/dist/lib/openapi/spec/addon-type-schema.d.ts +2 -2
- package/dist/lib/openapi/spec/addon-type-schema.js +2 -2
- package/dist/lib/openapi/spec/addon-type-schema.js.map +1 -1
- package/dist/lib/openapi/spec/addons-schema.d.ts +5 -5
- package/dist/lib/openapi/spec/addons-schema.js +2 -2
- package/dist/lib/openapi/spec/addons-schema.js.map +1 -1
- package/dist/lib/openapi/spec/admin-segment-schema.d.ts +6 -4
- package/dist/lib/openapi/spec/admin-segment-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/admin-segment-schema.js +1 -1
- package/dist/lib/openapi/spec/admin-segment-schema.js.map +1 -1
- package/dist/lib/openapi/spec/advanced-playground-environment-feature-schema.d.ts +14 -14
- package/dist/lib/openapi/spec/advanced-playground-feature-schema.d.ts +28 -28
- package/dist/lib/openapi/spec/advanced-playground-response-schema.d.ts +61 -59
- package/dist/lib/openapi/spec/advanced-playground-response-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/api-token-schema.d.ts +1 -1
- package/dist/lib/openapi/spec/api-token-schema.js +1 -1
- package/dist/lib/openapi/spec/api-token-schema.js.map +1 -1
- package/dist/lib/openapi/spec/api-token-schema.test.js +5 -1
- package/dist/lib/openapi/spec/api-token-schema.test.js.map +1 -1
- package/dist/lib/openapi/spec/api-tokens-schema.d.ts +2 -2
- package/dist/lib/openapi/spec/api-tokens-schema.js +1 -1
- package/dist/lib/openapi/spec/api-tokens-schema.js.map +1 -1
- package/dist/lib/openapi/spec/application-schema.d.ts +1 -1
- package/dist/lib/openapi/spec/application-schema.js +1 -1
- package/dist/lib/openapi/spec/application-schema.js.map +1 -1
- package/dist/lib/openapi/spec/applications-schema.d.ts +1 -1
- package/dist/lib/openapi/spec/bulk-metrics-schema.d.ts +2 -2
- package/dist/lib/openapi/spec/bulk-registration-schema.d.ts +2 -2
- package/dist/lib/openapi/spec/bulk-registration-schema.js +2 -2
- package/dist/lib/openapi/spec/bulk-registration-schema.js.map +1 -1
- package/dist/lib/openapi/spec/client-feature-schema.d.ts +20 -18
- package/dist/lib/openapi/spec/client-feature-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/client-feature-schema.js +3 -3
- package/dist/lib/openapi/spec/client-feature-schema.js.map +1 -1
- package/dist/lib/openapi/spec/client-features-delta-schema.d.ts +37 -35
- package/dist/lib/openapi/spec/client-features-delta-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/client-features-schema.d.ts +38 -36
- package/dist/lib/openapi/spec/client-features-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/client-features-schema.js +1 -1
- package/dist/lib/openapi/spec/client-features-schema.js.map +1 -1
- package/dist/lib/openapi/spec/client-metrics-schema.d.ts +1 -1
- package/dist/lib/openapi/spec/client-metrics-schema.js +1 -1
- package/dist/lib/openapi/spec/client-metrics-schema.js.map +1 -1
- package/dist/lib/openapi/spec/client-segment-schema.d.ts +5 -3
- package/dist/lib/openapi/spec/client-segment-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/clone-feature-schema.d.ts +1 -1
- package/dist/lib/openapi/spec/clone-feature-schema.js +1 -1
- package/dist/lib/openapi/spec/clone-feature-schema.js.map +1 -1
- package/dist/lib/openapi/spec/constraint-schema.d.ts +7 -5
- package/dist/lib/openapi/spec/constraint-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/constraint-schema.js +2 -2
- package/dist/lib/openapi/spec/constraint-schema.js.map +1 -1
- package/dist/lib/openapi/spec/constraint-schema.test.js +2 -0
- package/dist/lib/openapi/spec/constraint-schema.test.js.map +1 -1
- package/dist/lib/openapi/spec/context-field-schema.d.ts +7 -2
- package/dist/lib/openapi/spec/context-field-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/context-field-schema.js +7 -2
- package/dist/lib/openapi/spec/context-field-schema.js.map +1 -1
- package/dist/lib/openapi/spec/context-fields-schema.d.ts +7 -2
- package/dist/lib/openapi/spec/context-fields-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/context-query-parameters.d.ts +12 -0
- package/dist/lib/openapi/spec/context-query-parameters.d.ts.map +1 -0
- package/dist/lib/openapi/spec/context-query-parameters.js +12 -0
- package/dist/lib/openapi/spec/context-query-parameters.js.map +1 -0
- package/dist/lib/openapi/spec/create-api-token-schema.d.ts +2 -2
- package/dist/lib/openapi/spec/create-api-token-schema.js +1 -1
- package/dist/lib/openapi/spec/create-api-token-schema.js.map +1 -1
- package/dist/lib/openapi/spec/create-application-schema.d.ts +1 -1
- package/dist/lib/openapi/spec/create-application-schema.js +1 -1
- package/dist/lib/openapi/spec/create-application-schema.js.map +1 -1
- package/dist/lib/openapi/spec/create-context-field-schema.d.ts +6 -1
- package/dist/lib/openapi/spec/create-context-field-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/create-feature-schema.d.ts +3 -3
- package/dist/lib/openapi/spec/create-feature-schema.js +1 -1
- package/dist/lib/openapi/spec/create-feature-schema.js.map +1 -1
- package/dist/lib/openapi/spec/create-feature-strategy-schema.d.ts +9 -7
- package/dist/lib/openapi/spec/create-feature-strategy-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/create-feature-strategy-schema.js +1 -1
- package/dist/lib/openapi/spec/create-feature-strategy-schema.js.map +1 -1
- package/dist/lib/openapi/spec/create-pat-schema.d.ts +1 -1
- package/dist/lib/openapi/spec/create-pat-schema.js +1 -1
- package/dist/lib/openapi/spec/create-pat-schema.js.map +1 -1
- package/dist/lib/openapi/spec/create-strategy-schema.d.ts +2 -2
- package/dist/lib/openapi/spec/create-strategy-schema.js +2 -2
- package/dist/lib/openapi/spec/create-strategy-schema.js.map +1 -1
- package/dist/lib/openapi/spec/create-strategy-variant-schema.d.ts +3 -3
- package/dist/lib/openapi/spec/create-strategy-variant-schema.js +3 -3
- package/dist/lib/openapi/spec/create-strategy-variant-schema.js.map +1 -1
- package/dist/lib/openapi/spec/create-tag-schema.d.ts +2 -2
- package/dist/lib/openapi/spec/create-tag-schema.js +1 -1
- package/dist/lib/openapi/spec/create-tag-schema.js.map +1 -1
- package/dist/lib/openapi/spec/create-user-response-schema.d.ts +8 -2
- package/dist/lib/openapi/spec/create-user-response-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/create-user-response-schema.js +9 -2
- package/dist/lib/openapi/spec/create-user-response-schema.js.map +1 -1
- package/dist/lib/openapi/spec/create-user-schema.d.ts +1 -1
- package/dist/lib/openapi/spec/create-user-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/create-user-schema.js +8 -1
- package/dist/lib/openapi/spec/create-user-schema.js.map +1 -1
- package/dist/lib/openapi/spec/edge-token-schema.d.ts +3 -3
- package/dist/lib/openapi/spec/edge-token-schema.js +3 -3
- package/dist/lib/openapi/spec/edge-token-schema.js.map +1 -1
- package/dist/lib/openapi/spec/environment-project-schema.d.ts +15 -13
- package/dist/lib/openapi/spec/environment-project-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/environment-project-schema.js +1 -1
- package/dist/lib/openapi/spec/environment-project-schema.js.map +1 -1
- package/dist/lib/openapi/spec/environment-schema.d.ts +1 -1
- package/dist/lib/openapi/spec/environment-schema.js +1 -1
- package/dist/lib/openapi/spec/environment-schema.js.map +1 -1
- package/dist/lib/openapi/spec/environments-project-schema.d.ts +26 -24
- package/dist/lib/openapi/spec/environments-project-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/environments-schema.d.ts +1 -1
- package/dist/lib/openapi/spec/event-schema.d.ts +7 -7
- package/dist/lib/openapi/spec/event-schema.js +1 -1
- package/dist/lib/openapi/spec/event-schema.js.map +1 -1
- package/dist/lib/openapi/spec/event-search-response-schema.d.ts +9 -9
- package/dist/lib/openapi/spec/events-schema.d.ts +9 -9
- package/dist/lib/openapi/spec/export-query-schema.d.ts +1 -1
- package/dist/lib/openapi/spec/export-query-schema.js +1 -1
- package/dist/lib/openapi/spec/export-query-schema.js.map +1 -1
- package/dist/lib/openapi/spec/export-result-schema.d.ts +1991 -529
- package/dist/lib/openapi/spec/export-result-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/export-result-schema.js +6 -0
- package/dist/lib/openapi/spec/export-result-schema.js.map +1 -1
- package/dist/lib/openapi/spec/feature-environment-schema.d.ts +372 -107
- package/dist/lib/openapi/spec/feature-environment-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/feature-environment-schema.js +12 -0
- package/dist/lib/openapi/spec/feature-environment-schema.js.map +1 -1
- package/dist/lib/openapi/spec/feature-events-schema.d.ts +9 -9
- package/dist/lib/openapi/spec/feature-schema.d.ts +950 -215
- package/dist/lib/openapi/spec/feature-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/feature-schema.js +17 -0
- package/dist/lib/openapi/spec/feature-schema.js.map +1 -1
- package/dist/lib/openapi/spec/feature-search-environment-schema.d.ts +729 -213
- package/dist/lib/openapi/spec/feature-search-environment-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/feature-search-response-schema.d.ts +745 -229
- package/dist/lib/openapi/spec/feature-search-response-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/feature-strategy-schema.d.ts +9 -7
- package/dist/lib/openapi/spec/feature-strategy-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/feature-strategy-schema.js +1 -1
- package/dist/lib/openapi/spec/feature-strategy-schema.js.map +1 -1
- package/dist/lib/openapi/spec/feature-tag-schema.d.ts +2 -2
- package/dist/lib/openapi/spec/feature-tag-schema.js +2 -2
- package/dist/lib/openapi/spec/feature-tag-schema.js.map +1 -1
- package/dist/lib/openapi/spec/feature-type-schema.d.ts +2 -2
- package/dist/lib/openapi/spec/feature-type-schema.js +2 -2
- package/dist/lib/openapi/spec/feature-type-schema.js.map +1 -1
- package/dist/lib/openapi/spec/feature-types-schema.d.ts +3 -3
- package/dist/lib/openapi/spec/feature-types-schema.js +1 -1
- package/dist/lib/openapi/spec/feature-types-schema.js.map +1 -1
- package/dist/lib/openapi/spec/feature-variants-schema.d.ts +3 -3
- package/dist/lib/openapi/spec/group-schema.d.ts +14 -2
- package/dist/lib/openapi/spec/group-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/group-user-model-schema.d.ts +7 -1
- package/dist/lib/openapi/spec/group-user-model-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/groups-schema.d.ts +29 -5
- package/dist/lib/openapi/spec/groups-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/groups-schema.js +1 -1
- package/dist/lib/openapi/spec/groups-schema.js.map +1 -1
- package/dist/lib/openapi/spec/health-overview-schema.d.ts +1784 -535
- package/dist/lib/openapi/spec/health-overview-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/health-overview-schema.js +3 -3
- package/dist/lib/openapi/spec/health-overview-schema.js.map +1 -1
- package/dist/lib/openapi/spec/health-report-schema.d.ts +1783 -534
- package/dist/lib/openapi/spec/health-report-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/import-toggles-schema.d.ts +66 -27262
- package/dist/lib/openapi/spec/import-toggles-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/import-toggles-schema.js +40 -31
- package/dist/lib/openapi/spec/import-toggles-schema.js.map +1 -1
- package/dist/lib/openapi/spec/import-toggles-validate-schema.d.ts +1 -1
- package/dist/lib/openapi/spec/import-toggles-validate-schema.js +1 -1
- package/dist/lib/openapi/spec/import-toggles-validate-schema.js.map +1 -1
- package/dist/lib/openapi/spec/index.d.ts +3 -0
- package/dist/lib/openapi/spec/index.d.ts.map +1 -1
- package/dist/lib/openapi/spec/index.js +3 -0
- package/dist/lib/openapi/spec/index.js.map +1 -1
- package/dist/lib/openapi/spec/instance-admin-stats-schema.d.ts +6 -0
- package/dist/lib/openapi/spec/instance-admin-stats-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/instance-admin-stats-schema.js +6 -0
- package/dist/lib/openapi/spec/instance-admin-stats-schema.js.map +1 -1
- package/dist/lib/openapi/spec/integration-event-schema.d.ts +12 -12
- package/dist/lib/openapi/spec/integration-events-schema.d.ts +24 -24
- package/dist/lib/openapi/spec/me-schema.d.ts +8 -2
- package/dist/lib/openapi/spec/me-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/metric-query-schema.d.ts +44 -0
- package/dist/lib/openapi/spec/metric-query-schema.d.ts.map +1 -0
- package/dist/lib/openapi/spec/metric-query-schema.js +42 -0
- package/dist/lib/openapi/spec/metric-query-schema.js.map +1 -0
- package/dist/lib/openapi/spec/pat-schema.d.ts +1 -1
- package/dist/lib/openapi/spec/pat-schema.js +1 -1
- package/dist/lib/openapi/spec/pat-schema.js.map +1 -1
- package/dist/lib/openapi/spec/pats-schema.d.ts +2 -2
- package/dist/lib/openapi/spec/pats-schema.js +1 -1
- package/dist/lib/openapi/spec/pats-schema.js.map +1 -1
- package/dist/lib/openapi/spec/permission-schema.d.ts +1 -1
- package/dist/lib/openapi/spec/permission-schema.js +1 -1
- package/dist/lib/openapi/spec/permission-schema.js.map +1 -1
- package/dist/lib/openapi/spec/personal-dashboard-project-details-schema.d.ts +1 -1
- package/dist/lib/openapi/spec/personal-dashboard-project-details-schema.js +1 -1
- package/dist/lib/openapi/spec/personal-dashboard-project-details-schema.js.map +1 -1
- package/dist/lib/openapi/spec/personal-dashboard-schema.d.ts +1 -1
- package/dist/lib/openapi/spec/personal-dashboard-schema.js +1 -1
- package/dist/lib/openapi/spec/personal-dashboard-schema.js.map +1 -1
- package/dist/lib/openapi/spec/playground-constraint-schema.d.ts +5 -3
- package/dist/lib/openapi/spec/playground-constraint-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/playground-feature-schema.d.ts +17 -15
- package/dist/lib/openapi/spec/playground-feature-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/playground-response-schema.d.ts +33 -31
- package/dist/lib/openapi/spec/playground-response-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/playground-response-schema.test.js +1 -1
- package/dist/lib/openapi/spec/playground-response-schema.test.js.map +1 -1
- package/dist/lib/openapi/spec/playground-segment-schema.d.ts +5 -3
- package/dist/lib/openapi/spec/playground-segment-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/playground-strategy-schema.d.ts +10 -8
- package/dist/lib/openapi/spec/playground-strategy-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/profile-schema.d.ts +947 -214
- package/dist/lib/openapi/spec/profile-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/project-environment-schema.d.ts +9 -9
- package/dist/lib/openapi/spec/project-feature-schema.d.ts +2 -2
- package/dist/lib/openapi/spec/project-features-schema.d.ts +4 -4
- package/dist/lib/openapi/spec/project-insights-schema.d.ts +2 -2
- package/dist/lib/openapi/spec/project-insights-schema.js +2 -2
- package/dist/lib/openapi/spec/project-insights-schema.js.map +1 -1
- package/dist/lib/openapi/spec/project-overview-schema.d.ts +1781 -532
- package/dist/lib/openapi/spec/project-overview-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/project-overview-schema.js +2 -2
- package/dist/lib/openapi/spec/project-overview-schema.js.map +1 -1
- package/dist/lib/openapi/spec/project-schema.d.ts +2 -2
- package/dist/lib/openapi/spec/project-schema.js +2 -2
- package/dist/lib/openapi/spec/project-schema.js.map +1 -1
- package/dist/lib/openapi/spec/projects-schema.d.ts +2 -2
- package/dist/lib/openapi/spec/public-signup-token-create-schema.d.ts +1 -1
- package/dist/lib/openapi/spec/public-signup-token-create-schema.js +1 -1
- package/dist/lib/openapi/spec/public-signup-token-create-schema.js.map +1 -1
- package/dist/lib/openapi/spec/public-signup-token-schema.d.ts +8 -2
- package/dist/lib/openapi/spec/public-signup-token-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/public-signup-token-schema.js +1 -1
- package/dist/lib/openapi/spec/public-signup-token-schema.js.map +1 -1
- package/dist/lib/openapi/spec/public-signup-tokens-schema.d.ts +15 -3
- package/dist/lib/openapi/spec/public-signup-tokens-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/push-variants-schema.d.ts +3 -3
- package/dist/lib/openapi/spec/release-plan-milestone-schema.d.ts +45 -25
- package/dist/lib/openapi/spec/release-plan-milestone-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/release-plan-milestone-schema.js +12 -1
- package/dist/lib/openapi/spec/release-plan-milestone-schema.js.map +1 -1
- package/dist/lib/openapi/spec/release-plan-milestone-strategy-schema.d.ts +15 -13
- package/dist/lib/openapi/spec/release-plan-milestone-strategy-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/release-plan-schema.d.ts +283 -48
- package/dist/lib/openapi/spec/release-plan-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/release-plan-schema.js +13 -0
- package/dist/lib/openapi/spec/release-plan-schema.js.map +1 -1
- package/dist/lib/openapi/spec/release-plan-template-schema.d.ts +68 -48
- package/dist/lib/openapi/spec/release-plan-template-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/resource-limits-schema.d.ts +6 -0
- package/dist/lib/openapi/spec/resource-limits-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/resource-limits-schema.js +6 -0
- package/dist/lib/openapi/spec/resource-limits-schema.js.map +1 -1
- package/dist/lib/openapi/spec/safeguard-schema.d.ts +149 -0
- package/dist/lib/openapi/spec/safeguard-schema.d.ts.map +1 -0
- package/dist/lib/openapi/spec/safeguard-schema.js +59 -0
- package/dist/lib/openapi/spec/safeguard-schema.js.map +1 -0
- package/dist/lib/openapi/spec/safeguard-trigger-condition-schema.d.ts +24 -0
- package/dist/lib/openapi/spec/safeguard-trigger-condition-schema.d.ts.map +1 -0
- package/dist/lib/openapi/spec/safeguard-trigger-condition-schema.js +22 -0
- package/dist/lib/openapi/spec/safeguard-trigger-condition-schema.js.map +1 -0
- package/dist/lib/openapi/spec/search-features-schema.d.ts +1578 -548
- package/dist/lib/openapi/spec/search-features-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/segment-schema.d.ts +5 -3
- package/dist/lib/openapi/spec/segment-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/segments-schema.d.ts +9 -7
- package/dist/lib/openapi/spec/segments-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/segments-schema.js +1 -1
- package/dist/lib/openapi/spec/segments-schema.js.map +1 -1
- package/dist/lib/openapi/spec/strategies-schema.d.ts +1 -1
- package/dist/lib/openapi/spec/strategy-schema.d.ts +1 -1
- package/dist/lib/openapi/spec/strategy-schema.js +1 -1
- package/dist/lib/openapi/spec/strategy-schema.js.map +1 -1
- package/dist/lib/openapi/spec/strategy-variant-schema.d.ts +3 -3
- package/dist/lib/openapi/spec/tag-schema.d.ts +2 -2
- package/dist/lib/openapi/spec/tag-schema.js +2 -2
- package/dist/lib/openapi/spec/tag-schema.js.map +1 -1
- package/dist/lib/openapi/spec/tag-with-version-schema.d.ts +2 -2
- package/dist/lib/openapi/spec/tags-bulk-add-schema.d.ts +4 -4
- package/dist/lib/openapi/spec/tags-schema.d.ts +2 -2
- package/dist/lib/openapi/spec/ui-config-schema.d.ts +6 -0
- package/dist/lib/openapi/spec/ui-config-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/update-context-field-schema.d.ts +6 -1
- package/dist/lib/openapi/spec/update-context-field-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/update-context-field-schema.js +6 -1
- package/dist/lib/openapi/spec/update-context-field-schema.js.map +1 -1
- package/dist/lib/openapi/spec/update-feature-schema.d.ts +6 -4
- package/dist/lib/openapi/spec/update-feature-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/update-feature-schema.js +1 -1
- package/dist/lib/openapi/spec/update-feature-schema.js.map +1 -1
- package/dist/lib/openapi/spec/update-feature-strategy-schema.d.ts +6 -4
- package/dist/lib/openapi/spec/update-feature-strategy-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/update-feature-strategy-schema.js +1 -1
- package/dist/lib/openapi/spec/update-feature-strategy-schema.js.map +1 -1
- package/dist/lib/openapi/spec/update-feature-type-lifetime-schema.d.ts +1 -1
- package/dist/lib/openapi/spec/update-feature-type-lifetime-schema.js +1 -1
- package/dist/lib/openapi/spec/update-feature-type-lifetime-schema.js.map +1 -1
- package/dist/lib/openapi/spec/update-strategy-schema.d.ts +1 -1
- package/dist/lib/openapi/spec/update-strategy-schema.js +1 -1
- package/dist/lib/openapi/spec/update-strategy-schema.js.map +1 -1
- package/dist/lib/openapi/spec/update-tags-schema.d.ts +2 -2
- package/dist/lib/openapi/spec/update-user-schema.d.ts +1 -1
- package/dist/lib/openapi/spec/update-user-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/update-user-schema.js +8 -1
- package/dist/lib/openapi/spec/update-user-schema.js.map +1 -1
- package/dist/lib/openapi/spec/upsert-segment-schema.d.ts +5 -3
- package/dist/lib/openapi/spec/upsert-segment-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/upsert-segment-schema.test.js +6 -2
- package/dist/lib/openapi/spec/upsert-segment-schema.test.js.map +1 -1
- package/dist/lib/openapi/spec/user-access-overview-schema.d.ts +7 -1
- package/dist/lib/openapi/spec/user-access-overview-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/user-schema.d.ts +7 -1
- package/dist/lib/openapi/spec/user-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/user-schema.js +7 -1
- package/dist/lib/openapi/spec/user-schema.js.map +1 -1
- package/dist/lib/openapi/spec/users-groups-base-schema.d.ts +28 -4
- package/dist/lib/openapi/spec/users-groups-base-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/users-schema.d.ts +8 -2
- package/dist/lib/openapi/spec/users-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/users-schema.js +1 -1
- package/dist/lib/openapi/spec/users-schema.js.map +1 -1
- package/dist/lib/openapi/spec/users-search-schema.d.ts +7 -1
- package/dist/lib/openapi/spec/users-search-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/validated-edge-tokens-schema.d.ts +3 -3
- package/dist/lib/openapi/spec/variant-schema.d.ts +3 -3
- package/dist/lib/openapi/spec/variant-schema.js +3 -3
- package/dist/lib/openapi/spec/variant-schema.js.map +1 -1
- package/dist/lib/openapi/spec/variants-schema.d.ts +3 -3
- package/dist/lib/openapi/util/api-operation.d.ts +1 -3
- package/dist/lib/openapi/util/api-operation.d.ts.map +1 -1
- package/dist/lib/openapi/util/openapi-tags.d.ts +40 -40
- package/dist/lib/openapi/util/openapi-tags.js +20 -20
- package/dist/lib/openapi/util/openapi-tags.js.map +1 -1
- package/dist/lib/openapi/validate.d.ts +2 -2
- package/dist/lib/openapi/validate.d.ts.map +1 -1
- package/dist/lib/routes/admin-api/addon.d.ts +1 -2
- package/dist/lib/routes/admin-api/addon.d.ts.map +1 -1
- package/dist/lib/routes/admin-api/addon.js +1 -2
- package/dist/lib/routes/admin-api/addon.js.map +1 -1
- package/dist/lib/routes/admin-api/api-token.js +2 -2
- package/dist/lib/routes/admin-api/api-token.js.map +1 -1
- package/dist/lib/routes/admin-api/event.d.ts +1 -1
- package/dist/lib/routes/admin-api/event.d.ts.map +1 -1
- package/dist/lib/routes/admin-api/event.js +1 -1
- package/dist/lib/routes/admin-api/event.js.map +1 -1
- package/dist/lib/routes/admin-api/events.test.js +1 -1
- package/dist/lib/routes/admin-api/events.test.js.map +1 -1
- package/dist/lib/routes/admin-api/feature-type.d.ts +1 -2
- package/dist/lib/routes/admin-api/feature-type.d.ts.map +1 -1
- package/dist/lib/routes/admin-api/feature-type.js +2 -3
- package/dist/lib/routes/admin-api/feature-type.js.map +1 -1
- package/dist/lib/routes/admin-api/instance-admin.d.ts +1 -3
- package/dist/lib/routes/admin-api/instance-admin.d.ts.map +1 -1
- package/dist/lib/routes/admin-api/instance-admin.js +4 -4
- package/dist/lib/routes/admin-api/instance-admin.js.map +1 -1
- package/dist/lib/routes/admin-api/metrics.d.ts +2 -3
- package/dist/lib/routes/admin-api/metrics.d.ts.map +1 -1
- package/dist/lib/routes/admin-api/metrics.js +2 -3
- package/dist/lib/routes/admin-api/metrics.js.map +1 -1
- package/dist/lib/routes/admin-api/project/api-token.d.ts +0 -1
- package/dist/lib/routes/admin-api/project/api-token.d.ts.map +1 -1
- package/dist/lib/routes/admin-api/project/api-token.js +3 -4
- package/dist/lib/routes/admin-api/project/api-token.js.map +1 -1
- package/dist/lib/routes/admin-api/project/health-report.js +1 -1
- package/dist/lib/routes/admin-api/project/health-report.js.map +1 -1
- package/dist/lib/routes/admin-api/public-signup.d.ts +2 -4
- package/dist/lib/routes/admin-api/public-signup.d.ts.map +1 -1
- package/dist/lib/routes/admin-api/public-signup.js +2 -4
- package/dist/lib/routes/admin-api/public-signup.js.map +1 -1
- package/dist/lib/routes/admin-api/search/index.d.ts +1 -1
- package/dist/lib/routes/admin-api/search/index.d.ts.map +1 -1
- package/dist/lib/routes/admin-api/search/index.js +1 -1
- package/dist/lib/routes/admin-api/search/index.js.map +1 -1
- package/dist/lib/routes/admin-api/strategy.d.ts +1 -2
- package/dist/lib/routes/admin-api/strategy.d.ts.map +1 -1
- package/dist/lib/routes/admin-api/strategy.js +7 -8
- package/dist/lib/routes/admin-api/strategy.js.map +1 -1
- package/dist/lib/routes/admin-api/tag.d.ts +2 -4
- package/dist/lib/routes/admin-api/tag.d.ts.map +1 -1
- package/dist/lib/routes/admin-api/tag.js +4 -6
- package/dist/lib/routes/admin-api/tag.js.map +1 -1
- package/dist/lib/routes/admin-api/telemetry.d.ts +1 -1
- package/dist/lib/routes/admin-api/telemetry.d.ts.map +1 -1
- package/dist/lib/routes/admin-api/telemetry.js +1 -1
- package/dist/lib/routes/admin-api/telemetry.js.map +1 -1
- package/dist/lib/routes/admin-api/user/pat.js +3 -3
- package/dist/lib/routes/admin-api/user/pat.js.map +1 -1
- package/dist/lib/routes/admin-api/user/user.test.js +2 -2
- package/dist/lib/routes/admin-api/user/user.test.js.map +1 -1
- package/dist/lib/routes/admin-api/user-admin.d.ts +3 -3
- package/dist/lib/routes/admin-api/user-admin.d.ts.map +1 -1
- package/dist/lib/routes/admin-api/user-admin.js +4 -4
- package/dist/lib/routes/admin-api/user-admin.js.map +1 -1
- package/dist/lib/routes/admin-api/user-feedback.d.ts +0 -1
- package/dist/lib/routes/admin-api/user-feedback.d.ts.map +1 -1
- package/dist/lib/routes/admin-api/user-feedback.js +2 -3
- package/dist/lib/routes/admin-api/user-feedback.js.map +1 -1
- package/dist/lib/routes/admin-api/user-splash.d.ts +0 -1
- package/dist/lib/routes/admin-api/user-splash.d.ts.map +1 -1
- package/dist/lib/routes/admin-api/user-splash.js +2 -2
- package/dist/lib/routes/admin-api/user-splash.js.map +1 -1
- package/dist/lib/routes/auth/reset-password-controller.d.ts +0 -1
- package/dist/lib/routes/auth/reset-password-controller.d.ts.map +1 -1
- package/dist/lib/routes/auth/reset-password-controller.js +0 -1
- package/dist/lib/routes/auth/reset-password-controller.js.map +1 -1
- package/dist/lib/routes/auth/simple-password-provider.d.ts +0 -1
- package/dist/lib/routes/auth/simple-password-provider.d.ts.map +1 -1
- package/dist/lib/routes/auth/simple-password-provider.js +0 -1
- package/dist/lib/routes/auth/simple-password-provider.js.map +1 -1
- package/dist/lib/routes/auth/simple-password-provider.test.js +2 -2
- package/dist/lib/routes/auth/simple-password-provider.test.js.map +1 -1
- package/dist/lib/routes/backstage.js +3 -3
- package/dist/lib/routes/backstage.js.map +1 -1
- package/dist/lib/routes/health-check.d.ts +0 -2
- package/dist/lib/routes/health-check.d.ts.map +1 -1
- package/dist/lib/routes/health-check.js +0 -2
- package/dist/lib/routes/health-check.js.map +1 -1
- package/dist/lib/routes/logout.test.js +5 -5
- package/dist/lib/routes/logout.test.js.map +1 -1
- package/dist/lib/routes/public-invite.d.ts +0 -1
- package/dist/lib/routes/public-invite.d.ts.map +1 -1
- package/dist/lib/routes/public-invite.js +0 -1
- package/dist/lib/routes/public-invite.js.map +1 -1
- package/dist/lib/schema/constraint-value-types.d.ts +1 -1
- package/dist/lib/schema/constraint-value-types.d.ts.map +1 -1
- package/dist/lib/server-impl.d.ts +5 -6
- package/dist/lib/server-impl.d.ts.map +1 -1
- package/dist/lib/server-impl.js +13 -4
- package/dist/lib/server-impl.js.map +1 -1
- package/dist/lib/services/access-service.d.ts +2 -1
- package/dist/lib/services/access-service.d.ts.map +1 -1
- package/dist/lib/services/access-service.js +20 -1
- package/dist/lib/services/access-service.js.map +1 -1
- package/dist/lib/services/access-service.test.js +22 -6
- package/dist/lib/services/access-service.test.js.map +1 -1
- package/dist/lib/services/account-service.d.ts.map +1 -1
- package/dist/lib/services/account-service.js +1 -0
- package/dist/lib/services/account-service.js.map +1 -1
- package/dist/lib/services/addon-service.d.ts +2 -2
- package/dist/lib/services/addon-service.d.ts.map +1 -1
- package/dist/lib/services/addon-service.js +22 -21
- package/dist/lib/services/addon-service.js.map +1 -1
- package/dist/lib/services/addon-service.test.js +1 -1
- package/dist/lib/services/addon-service.test.js.map +1 -1
- package/dist/lib/services/api-token-service.d.ts.map +1 -1
- package/dist/lib/services/api-token-service.js +3 -1
- package/dist/lib/services/api-token-service.js.map +1 -1
- package/dist/lib/services/api-token-service.limit.test.js.map +1 -1
- package/dist/lib/services/api-token-service.test.js +2 -2
- package/dist/lib/services/api-token-service.test.js.map +1 -1
- package/dist/lib/services/client-spec-service.d.ts +1 -2
- package/dist/lib/services/client-spec-service.d.ts.map +1 -1
- package/dist/lib/services/client-spec-service.js +1 -2
- package/dist/lib/services/client-spec-service.js.map +1 -1
- package/dist/lib/services/context-schema.d.ts.map +1 -1
- package/dist/lib/services/context-schema.js +1 -0
- package/dist/lib/services/context-schema.js.map +1 -1
- package/dist/lib/services/favorites-service.d.ts +1 -3
- package/dist/lib/services/favorites-service.d.ts.map +1 -1
- package/dist/lib/services/favorites-service.js +2 -4
- package/dist/lib/services/favorites-service.js.map +1 -1
- package/dist/lib/services/feature-tag-service.d.ts.map +1 -1
- package/dist/lib/services/feature-tag-service.js +1 -0
- package/dist/lib/services/feature-tag-service.js.map +1 -1
- package/dist/lib/services/group-service.d.ts +2 -2
- package/dist/lib/services/group-service.d.ts.map +1 -1
- package/dist/lib/services/group-service.js +3 -2
- package/dist/lib/services/group-service.js.map +1 -1
- package/dist/lib/services/health-service.d.ts +1 -3
- package/dist/lib/services/health-service.d.ts.map +1 -1
- package/dist/lib/services/health-service.js +1 -2
- package/dist/lib/services/health-service.js.map +1 -1
- package/dist/lib/services/index.d.ts +1 -1
- package/dist/lib/services/index.d.ts.map +1 -1
- package/dist/lib/services/index.js +5 -4
- package/dist/lib/services/index.js.map +1 -1
- package/dist/lib/services/openapi-service.js +7 -5
- package/dist/lib/services/openapi-service.js.map +1 -1
- package/dist/lib/services/public-signup-token-service.d.ts +0 -1
- package/dist/lib/services/public-signup-token-service.d.ts.map +1 -1
- package/dist/lib/services/public-signup-token-service.js +0 -1
- package/dist/lib/services/public-signup-token-service.js.map +1 -1
- package/dist/lib/services/reset-token-service.js +3 -3
- package/dist/lib/services/reset-token-service.js.map +1 -1
- package/dist/lib/services/strategy-service.d.ts +1 -2
- package/dist/lib/services/strategy-service.d.ts.map +1 -1
- package/dist/lib/services/strategy-service.js +2 -3
- package/dist/lib/services/strategy-service.js.map +1 -1
- package/dist/lib/services/user-service.d.ts +3 -0
- package/dist/lib/services/user-service.d.ts.map +1 -1
- package/dist/lib/services/user-service.js +11 -7
- package/dist/lib/services/user-service.js.map +1 -1
- package/dist/lib/services/user-service.test.js +28 -1
- package/dist/lib/services/user-service.test.js.map +1 -1
- package/dist/lib/services/version-service.d.ts +7 -1
- package/dist/lib/services/version-service.d.ts.map +1 -1
- package/dist/lib/services/version-service.js +5 -1
- package/dist/lib/services/version-service.js.map +1 -1
- package/dist/lib/services/version-service.test.js +44 -0
- package/dist/lib/services/version-service.test.js.map +1 -1
- package/dist/lib/types/experimental.d.ts +1 -1
- package/dist/lib/types/experimental.d.ts.map +1 -1
- package/dist/lib/types/experimental.js +13 -7
- package/dist/lib/types/experimental.js.map +1 -1
- package/dist/lib/types/model.d.ts +6 -1
- package/dist/lib/types/model.d.ts.map +1 -1
- package/dist/lib/types/model.js +1 -0
- package/dist/lib/types/model.js.map +1 -1
- package/dist/lib/types/permissions.d.ts +1 -0
- package/dist/lib/types/permissions.d.ts.map +1 -1
- package/dist/lib/types/permissions.js +2 -0
- package/dist/lib/types/permissions.js.map +1 -1
- package/dist/lib/types/user.d.ts +6 -1
- package/dist/lib/types/user.d.ts.map +1 -1
- package/dist/lib/types/user.js +3 -1
- package/dist/lib/types/user.js.map +1 -1
- package/dist/lib/ui-config/ui-config-service.d.ts.map +1 -1
- package/dist/lib/ui-config/ui-config-service.js.map +1 -1
- package/dist/lib/ui-config/ui-config.test.js +2 -2
- package/dist/lib/ui-config/ui-config.test.js.map +1 -1
- package/dist/lib/users/inactive/fakes/fake-inactive-users-store.d.ts.map +1 -1
- package/dist/lib/users/inactive/fakes/fake-inactive-users-store.js +1 -0
- package/dist/lib/users/inactive/fakes/fake-inactive-users-store.js.map +1 -1
- package/dist/lib/users/inactive/inactive-users-store.d.ts +1 -3
- package/dist/lib/users/inactive/inactive-users-store.d.ts.map +1 -1
- package/dist/lib/users/inactive/inactive-users-store.js +1 -3
- package/dist/lib/users/inactive/inactive-users-store.js.map +1 -1
- package/dist/lib/util/anonymise.test.js.map +1 -1
- package/dist/lib/util/batchExecute.d.ts.map +1 -1
- package/dist/lib/util/batchExecute.js +3 -1
- package/dist/lib/util/batchExecute.js.map +1 -1
- package/dist/lib/util/flag-resolver.d.ts.map +1 -1
- package/dist/lib/util/flag-resolver.js +11 -3
- package/dist/lib/util/flag-resolver.js.map +1 -1
- package/dist/lib/util/flag-resolver.test.js +66 -15
- package/dist/lib/util/flag-resolver.test.js.map +1 -1
- package/dist/lib/util/graceful-shutdown.js +1 -1
- package/dist/lib/util/graceful-shutdown.js.map +1 -1
- package/dist/lib/util/parseEnvVar.d.ts +2 -0
- package/dist/lib/util/parseEnvVar.d.ts.map +1 -1
- package/dist/lib/util/parseEnvVar.js +21 -1
- package/dist/lib/util/parseEnvVar.js.map +1 -1
- package/dist/lib/util/parseEnvVar.test.js +24 -1
- package/dist/lib/util/parseEnvVar.test.js.map +1 -1
- package/dist/lib/util/postgres-version-checker.test.js +17 -5
- package/dist/lib/util/postgres-version-checker.test.js.map +1 -1
- package/dist/lib/util/semver.js +1 -1
- package/dist/lib/util/semver.js.map +1 -1
- package/dist/lib/util/validateJsonString.js +1 -1
- package/dist/lib/util/validateJsonString.js.map +1 -1
- package/dist/mailtemplates/getting-started/getting-started.html.mustache +1 -1
- package/dist/migrations/20251118131212-edge-observability-hosting.d.ts +3 -0
- package/dist/migrations/20251118131212-edge-observability-hosting.d.ts.map +1 -0
- package/dist/migrations/20251118131212-edge-observability-hosting.js +14 -0
- package/dist/migrations/20251118131212-edge-observability-hosting.js.map +1 -0
- package/dist/migrations/20251209090115-add-default-release-plan-template.d.ts +3 -0
- package/dist/migrations/20251209090115-add-default-release-plan-template.d.ts.map +1 -0
- package/dist/migrations/20251209090115-add-default-release-plan-template.js +45 -0
- package/dist/migrations/20251209090115-add-default-release-plan-template.js.map +1 -0
- package/dist/migrations/20251210144308-add-project-column-to-context-fields.d.ts +3 -0
- package/dist/migrations/20251210144308-add-project-column-to-context-fields.d.ts.map +1 -0
- package/dist/migrations/20251210144308-add-project-column-to-context-fields.js +8 -0
- package/dist/migrations/20251210144308-add-project-column-to-context-fields.js.map +1 -0
- package/dist/migrations/20251218153722-predefined-project-role-reader.d.ts +3 -0
- package/dist/migrations/20251218153722-predefined-project-role-reader.d.ts.map +1 -0
- package/dist/migrations/20251218153722-predefined-project-role-reader.js +24 -0
- package/dist/migrations/20251218153722-predefined-project-role-reader.js.map +1 -0
- package/dist/migrations/20260106164443-users-seat-type.d.ts +3 -0
- package/dist/migrations/20260106164443-users-seat-type.d.ts.map +1 -0
- package/dist/migrations/20260106164443-users-seat-type.js +8 -0
- package/dist/migrations/20260106164443-users-seat-type.js.map +1 -0
- package/dist/migrations/20260112111353-add-project-context-permission.d.ts +3 -0
- package/dist/migrations/20260112111353-add-project-context-permission.d.ts.map +1 -0
- package/dist/migrations/20260112111353-add-project-context-permission.js +9 -0
- package/dist/migrations/20260112111353-add-project-context-permission.js.map +1 -0
- package/dist/migrations/20260115122651-project-owner-crud-project-context.d.ts +3 -0
- package/dist/migrations/20260115122651-project-owner-crud-project-context.d.ts.map +1 -0
- package/dist/migrations/20260115122651-project-owner-crud-project-context.js +14 -0
- package/dist/migrations/20260115122651-project-owner-crud-project-context.js.map +1 -0
- package/dist/migrations/20260115122720-project-owner-crud-project-segment.d.ts +3 -0
- package/dist/migrations/20260115122720-project-owner-crud-project-segment.d.ts.map +1 -0
- package/dist/migrations/20260115122720-project-owner-crud-project-segment.js +14 -0
- package/dist/migrations/20260115122720-project-owner-crud-project-segment.js.map +1 -0
- package/dist/migrations/20260119100647-add-api-key-revision-id-to-edge-observability.d.ts +3 -0
- package/dist/migrations/20260119100647-add-api-key-revision-id-to-edge-observability.d.ts.map +1 -0
- package/dist/migrations/20260119100647-add-api-key-revision-id-to-edge-observability.js +8 -0
- package/dist/migrations/20260119100647-add-api-key-revision-id-to-edge-observability.js.map +1 -0
- package/dist/server-dev.js +6 -2
- package/dist/server-dev.js.map +1 -1
- package/dist/test/arbitraries.test.d.ts.map +1 -1
- package/dist/test/arbitraries.test.js +1 -0
- package/dist/test/arbitraries.test.js.map +1 -1
- package/dist/test/config/create-config.test.js +2 -2
- package/dist/test/config/create-config.test.js.map +1 -1
- package/dist/test/e2e/api/admin/addon.e2e.test.js +4 -1
- package/dist/test/e2e/api/admin/addon.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/admin/api-token.auth.e2e.test.js +6 -3
- package/dist/test/e2e/api/admin/api-token.auth.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/admin/api-token.e2e.test.js +12 -3
- package/dist/test/e2e/api/admin/api-token.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/admin/conditional-middleware.e2e.test.js +8 -8
- package/dist/test/e2e/api/admin/conditional-middleware.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/admin/context-api-include-query-params.e2e.test.d.ts +2 -0
- package/dist/test/e2e/api/admin/context-api-include-query-params.e2e.test.d.ts.map +1 -0
- package/dist/test/e2e/api/admin/context-api-include-query-params.e2e.test.js +81 -0
- package/dist/test/e2e/api/admin/context-api-include-query-params.e2e.test.js.map +1 -0
- package/dist/test/e2e/api/admin/feature-type.test.js +4 -1
- package/dist/test/e2e/api/admin/feature-type.test.js.map +1 -1
- package/dist/test/e2e/api/admin/feature.custom-auth.e2e.test.js +3 -3
- package/dist/test/e2e/api/admin/feature.custom-auth.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/admin/feedback.e2e.test.js +3 -3
- package/dist/test/e2e/api/admin/feedback.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/admin/instance-admin.e2e.test.js +1 -1
- package/dist/test/e2e/api/admin/metrics.e2e.test.js +3 -3
- package/dist/test/e2e/api/admin/metrics.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/admin/playground.e2e.test.js +12 -11
- package/dist/test/e2e/api/admin/playground.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/admin/project/project.api.tokens.e2e.test.js +5 -1
- package/dist/test/e2e/api/admin/project/project.api.tokens.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/admin/project/project.health.e2e.test.js +1 -1
- package/dist/test/e2e/api/admin/project/project.health.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/admin/project/variants.e2e.test.js +2 -2
- package/dist/test/e2e/api/admin/project/variants.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/admin/project-context.e2e.test.d.ts +2 -0
- package/dist/test/e2e/api/admin/project-context.e2e.test.d.ts.map +1 -0
- package/dist/test/e2e/api/admin/project-context.e2e.test.js +102 -0
- package/dist/test/e2e/api/admin/project-context.e2e.test.js.map +1 -0
- package/dist/test/e2e/api/admin/public-signup-token.e2e.test.js +12 -12
- package/dist/test/e2e/api/admin/public-signup-token.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/admin/splash.e2e.test.js +3 -3
- package/dist/test/e2e/api/admin/splash.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/admin/user/pat.e2e.test.d.ts +1 -1
- package/dist/test/e2e/api/admin/user/pat.e2e.test.js +1 -1
- package/dist/test/e2e/api/admin/user-admin.e2e.test.js +1 -1
- package/dist/test/e2e/api/admin/user-admin.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/auth/reset-password-controller.e2e.test.js +3 -0
- package/dist/test/e2e/api/auth/reset-password-controller.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/auth/simple-password-provider.e2e.test.js +3 -0
- package/dist/test/e2e/api/auth/simple-password-provider.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/client/bulk-metrics-rejections.e2e.test.d.ts +2 -0
- package/dist/test/e2e/api/client/bulk-metrics-rejections.e2e.test.d.ts.map +1 -0
- package/dist/test/e2e/api/client/bulk-metrics-rejections.e2e.test.js +173 -0
- package/dist/test/e2e/api/client/bulk-metrics-rejections.e2e.test.js.map +1 -0
- package/dist/test/e2e/api/client/feature.auth-none.e2e.test.js +1 -1
- package/dist/test/e2e/api/client/feature.auth-none.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/client/feature.e2e.test.js +15 -2
- package/dist/test/e2e/api/client/feature.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/client/feature.optimal304.e2e.test.js +254 -113
- package/dist/test/e2e/api/client/feature.optimal304.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/client/feature.token.access.e2e.test.js +1 -1
- package/dist/test/e2e/api/client/feature.token.access.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/client/metrics.e2e.test.js +2 -1
- package/dist/test/e2e/api/client/metrics.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/client/register.e2e.test.js +4 -4
- package/dist/test/e2e/api/client/register.e2e.test.js.map +1 -1
- package/dist/test/e2e/custom-auth.test.js +2 -2
- package/dist/test/e2e/custom-auth.test.js.map +1 -1
- package/dist/test/e2e/features-created-by-user-id-data-migration.e2e.test.js +4 -4
- package/dist/test/e2e/features-created-by-user-id-data-migration.e2e.test.js.map +1 -1
- package/dist/test/e2e/helpers/database-init.d.ts +1 -1
- package/dist/test/e2e/helpers/database-init.d.ts.map +1 -1
- package/dist/test/e2e/helpers/database-init.js +1 -1
- package/dist/test/e2e/helpers/database-init.js.map +1 -1
- package/dist/test/e2e/seed/segment.seed.js +2 -2
- package/dist/test/e2e/seed/segment.seed.js.map +1 -1
- package/dist/test/e2e/services/access-service.e2e.test.js +34 -2
- package/dist/test/e2e/services/access-service.e2e.test.js.map +1 -1
- package/dist/test/e2e/services/addon-service.e2e.test.js +1 -1
- package/dist/test/e2e/services/addon-service.e2e.test.js.map +1 -1
- package/dist/test/e2e/services/api-token-service.e2e.test.js +1 -1
- package/dist/test/e2e/services/api-token-service.e2e.test.js.map +1 -1
- package/dist/test/e2e/services/playground-service.test.js +18 -12
- package/dist/test/e2e/services/playground-service.test.js.map +1 -1
- package/dist/test/e2e/services/reset-token-service.e2e.test.js +3 -0
- package/dist/test/e2e/services/reset-token-service.e2e.test.js.map +1 -1
- package/dist/test/e2e/services/setting-service.test.js +2 -2
- package/dist/test/e2e/services/setting-service.test.js.map +1 -1
- package/dist/test/e2e/services/user-service.e2e.test.js +4 -1
- package/dist/test/e2e/services/user-service.e2e.test.js.map +1 -1
- package/dist/test/e2e/stores/client-application-store.e2e.test.js +22 -22
- package/dist/test/e2e/stores/client-application-store.e2e.test.js.map +1 -1
- package/dist/test/e2e/stores/client-instance-store.e2e.test.js +2 -2
- package/dist/test/e2e/stores/client-instance-store.e2e.test.js.map +1 -1
- package/dist/test/e2e/stores/context-field-store.e2e.test.js +2 -2
- package/dist/test/e2e/stores/context-field-store.e2e.test.js.map +1 -1
- package/dist/test/e2e/stores/event-store.e2e.test.js +17 -29
- package/dist/test/e2e/stores/event-store.e2e.test.js.map +1 -1
- package/dist/test/e2e/users/inactive/inactive-users-service.test.js +3 -1
- package/dist/test/e2e/users/inactive/inactive-users-service.test.js.map +1 -1
- package/dist/test/fixtures/access-service-mock.d.ts +13 -13
- package/dist/test/fixtures/access-service-mock.d.ts.map +1 -1
- package/dist/test/fixtures/access-service-mock.js +13 -13
- package/dist/test/fixtures/access-service-mock.js.map +1 -1
- package/dist/test/fixtures/fake-access-store.d.ts +38 -34
- package/dist/test/fixtures/fake-access-store.d.ts.map +1 -1
- package/dist/test/fixtures/fake-access-store.js +37 -35
- package/dist/test/fixtures/fake-access-store.js.map +1 -1
- package/dist/test/fixtures/fake-account-store.d.ts +2 -2
- package/dist/test/fixtures/fake-account-store.d.ts.map +1 -1
- package/dist/test/fixtures/fake-account-store.js +2 -2
- package/dist/test/fixtures/fake-account-store.js.map +1 -1
- package/dist/test/fixtures/fake-client-applications-store.d.ts +2 -2
- package/dist/test/fixtures/fake-client-applications-store.d.ts.map +1 -1
- package/dist/test/fixtures/fake-client-applications-store.js +6 -4
- package/dist/test/fixtures/fake-client-applications-store.js.map +1 -1
- package/dist/test/fixtures/fake-client-instance-store.d.ts +1 -1
- package/dist/test/fixtures/fake-client-instance-store.d.ts.map +1 -1
- package/dist/test/fixtures/fake-client-instance-store.js +4 -2
- package/dist/test/fixtures/fake-client-instance-store.js.map +1 -1
- package/dist/test/fixtures/fake-event-store.d.ts +3 -3
- package/dist/test/fixtures/fake-event-store.d.ts.map +1 -1
- package/dist/test/fixtures/fake-event-store.js +3 -3
- package/dist/test/fixtures/fake-event-store.js.map +1 -1
- package/dist/test/fixtures/fake-favorite-features-store.d.ts +5 -5
- package/dist/test/fixtures/fake-favorite-features-store.d.ts.map +1 -1
- package/dist/test/fixtures/fake-favorite-features-store.js +5 -5
- package/dist/test/fixtures/fake-favorite-features-store.js.map +1 -1
- package/dist/test/fixtures/fake-favorite-projects-store.d.ts +5 -5
- package/dist/test/fixtures/fake-favorite-projects-store.d.ts.map +1 -1
- package/dist/test/fixtures/fake-favorite-projects-store.js +5 -5
- package/dist/test/fixtures/fake-favorite-projects-store.js.map +1 -1
- package/dist/test/fixtures/fake-feature-environment-store.d.ts +9 -9
- package/dist/test/fixtures/fake-feature-environment-store.d.ts.map +1 -1
- package/dist/test/fixtures/fake-feature-environment-store.js +19 -19
- package/dist/test/fixtures/fake-feature-environment-store.js.map +1 -1
- package/dist/test/fixtures/fake-feature-tag-store.d.ts +1 -1
- package/dist/test/fixtures/fake-feature-tag-store.d.ts.map +1 -1
- package/dist/test/fixtures/fake-feature-tag-store.js +2 -2
- package/dist/test/fixtures/fake-feature-tag-store.js.map +1 -1
- package/dist/test/fixtures/fake-group-store.d.ts +16 -16
- package/dist/test/fixtures/fake-group-store.d.ts.map +1 -1
- package/dist/test/fixtures/fake-group-store.js +16 -16
- package/dist/test/fixtures/fake-group-store.js.map +1 -1
- package/dist/test/fixtures/fake-pat-store.d.ts +9 -9
- package/dist/test/fixtures/fake-pat-store.d.ts.map +1 -1
- package/dist/test/fixtures/fake-pat-store.js +9 -9
- package/dist/test/fixtures/fake-pat-store.js.map +1 -1
- package/dist/test/fixtures/fake-project-store.d.ts +11 -11
- package/dist/test/fixtures/fake-project-store.d.ts.map +1 -1
- package/dist/test/fixtures/fake-project-store.js +16 -16
- package/dist/test/fixtures/fake-project-store.js.map +1 -1
- package/dist/test/fixtures/fake-public-signup-store.d.ts +2 -2
- package/dist/test/fixtures/fake-public-signup-store.d.ts.map +1 -1
- package/dist/test/fixtures/fake-public-signup-store.js +2 -2
- package/dist/test/fixtures/fake-public-signup-store.js.map +1 -1
- package/dist/test/fixtures/fake-role-store.d.ts +9 -9
- package/dist/test/fixtures/fake-role-store.d.ts.map +1 -1
- package/dist/test/fixtures/fake-role-store.js +9 -9
- package/dist/test/fixtures/fake-role-store.js.map +1 -1
- package/dist/test/fixtures/fake-strategies-store.d.ts.map +1 -1
- package/dist/test/fixtures/fake-strategies-store.js +0 -2
- package/dist/test/fixtures/fake-strategies-store.js.map +1 -1
- package/dist/test/fixtures/fake-tag-store.d.ts.map +1 -1
- package/dist/test/fixtures/fake-tag-store.js +4 -2
- package/dist/test/fixtures/fake-tag-store.js.map +1 -1
- package/dist/test/fixtures/fake-user-feedback-store.d.ts +6 -6
- package/dist/test/fixtures/fake-user-feedback-store.d.ts.map +1 -1
- package/dist/test/fixtures/fake-user-feedback-store.js +6 -6
- package/dist/test/fixtures/fake-user-feedback-store.js.map +1 -1
- package/dist/test/fixtures/fake-user-splash-store.d.ts +6 -6
- package/dist/test/fixtures/fake-user-splash-store.d.ts.map +1 -1
- package/dist/test/fixtures/fake-user-splash-store.js +6 -6
- package/dist/test/fixtures/fake-user-splash-store.js.map +1 -1
- package/dist/test/fixtures/fake-user-store.d.ts +2 -2
- package/dist/test/fixtures/fake-user-store.d.ts.map +1 -1
- package/dist/test/fixtures/fake-user-store.js +2 -2
- package/dist/test/fixtures/fake-user-store.js.map +1 -1
- package/dist/test/fixtures/permissions.js +1 -1
- package/dist/test/fixtures/permissions.js.map +1 -1
- package/frontend/build/index.html +3 -3
- package/frontend/build/static/AdvancedPlayground-B70Djk8B.js +3 -0
- package/frontend/build/static/BackendConnections-mlK6EAYQ.js +1 -0
- package/frontend/build/static/{CreateProject-De6TDUjF.js → CreateProject-Dnggz6io.js} +1 -1
- package/frontend/build/static/EnterpriseEdge-Dnk6MbDj.js +3 -0
- package/frontend/build/static/FeatureMetricsChart-CFEixeGp.js +2 -0
- package/frontend/build/static/FeatureStaleDialog-DZoiwwdR.js +7 -0
- package/frontend/build/static/FeatureViewLazyExport-CUnXEEwm.js +10 -0
- package/frontend/build/static/FlagMetricsChart-ujKp_v58.js +2 -0
- package/frontend/build/static/FrontendNetworkTrafficUsage-Dq8wwaXR.js +1 -0
- package/frontend/build/static/GridLayoutWrapper-Cg_xypvQ.js +3 -0
- package/frontend/build/static/ImpactMetricsPage-ZRSvDBg4.js +1 -0
- package/frontend/build/static/LazyAdminExport-B8GV3V8t.js +38 -0
- package/frontend/build/static/LazyProjectExport-B9SJl4_L.js +728 -0
- package/frontend/build/static/{LifecycleChartComponent-iH7Xwal_.js → LifecycleChartComponent-DulnIgCV.js} +2 -2
- package/frontend/build/static/{LineChartComponent-BnogHewS.js → LineChartComponent-BVdLj0q6.js} +1 -1
- package/frontend/build/static/{MarkCompletedDialogue-BOSV3MHM.js → MarkCompletedDialogue-Cu7y0hRZ.js} +1 -1
- package/frontend/build/static/NetworkOverview-CUmX-taY.js +1 -0
- package/frontend/build/static/{NetworkPrometheusAPIWarning-2jclDnfE.js → NetworkPrometheusAPIWarning-BwnVz0CY.js} +1 -1
- package/frontend/build/static/{NetworkTraffic-DDSLmVgI.js → NetworkTraffic-DCMn8UWo.js} +1 -1
- package/frontend/build/static/NetworkTrafficUsage-DSZK447X.js +1 -0
- package/frontend/build/static/{PercentageDonut-aa1oSbho.js → PercentageDonut-B2OwM0Er.js} +1 -1
- package/frontend/build/static/{ReactJSONEditor-BKB6MheT.js → ReactJSONEditor-BPlzE1Zx.js} +1 -1
- package/frontend/build/static/RoleCell-D5skjCJn.js +1 -0
- package/frontend/build/static/aggregateFeatureMetrics-Bcfo39hn.js +1 -0
- package/frontend/build/static/banner-progression-B6JPzTEE.svg +52 -0
- package/frontend/build/static/docker-HG7DQx-Z.svg +5 -0
- package/frontend/build/static/enterpriseEdgeCloud-DzRtm8v6.svg +58 -0
- package/frontend/build/static/enterpriseEdgeSelfHosted-4bnmOQVF.svg +44 -0
- package/frontend/build/static/{formatTickValue-BCAqKqmg.js → formatTickValue-CqTJlzJZ.js} +2 -2
- package/frontend/build/static/impact-metrics-icon-a6_57VN1.svg +9 -0
- package/frontend/build/static/index-g9pKMnOR.js +542 -0
- package/frontend/build/static/lenovo-DIzNtfrT.svg +3 -0
- package/frontend/build/static/lloyds-DxlC9g3t.svg +10 -0
- package/frontend/build/static/networkTrafficUsageHighlightPlugin-Dmm54dMG.js +1 -0
- package/frontend/build/static/new-feature-badge-FwMmHlwT.svg +7 -0
- package/frontend/build/static/samsung-DOytOsnV.svg +10 -0
- package/frontend/build/static/style-BfdqROT6.css +1 -0
- package/frontend/build/static/{useApiTokens-eXyUbKcO.js → useApiTokens-D1XvAIIA.js} +1 -1
- package/frontend/build/static/visa-CkneNM2O.svg +10 -0
- package/frontend/package.json +2 -2
- package/package.json +49 -54
- package/dist/lib/features/release-plans/release-plan-read-model-type.d.ts +0 -5
- package/dist/lib/features/release-plans/release-plan-read-model-type.d.ts.map +0 -1
- package/dist/lib/features/release-plans/release-plan-read-model-type.js +0 -2
- package/dist/lib/features/release-plans/release-plan-read-model-type.js.map +0 -1
- package/dist/lib/features/release-plans/release-plan-read-model.d.ts +0 -11
- package/dist/lib/features/release-plans/release-plan-read-model.d.ts.map +0 -1
- package/dist/lib/features/release-plans/release-plan-read-model.js +0 -133
- package/dist/lib/features/release-plans/release-plan-read-model.js.map +0 -1
- package/dist/lib/features/release-plans/release-plan-read-model.test.d.ts +0 -2
- package/dist/lib/features/release-plans/release-plan-read-model.test.d.ts.map +0 -1
- package/dist/lib/features/release-plans/release-plan-read-model.test.js +0 -165
- package/dist/lib/features/release-plans/release-plan-read-model.test.js.map +0 -1
- package/dist/test/fixtures/fake/fake-release-plan-read-model.d.ts +0 -8
- package/dist/test/fixtures/fake/fake-release-plan-read-model.d.ts.map +0 -1
- package/dist/test/fixtures/fake/fake-release-plan-read-model.js +0 -9
- package/dist/test/fixtures/fake/fake-release-plan-read-model.js.map +0 -1
- package/frontend/build/static/AdvancedPlayground-BMmRjlFK.js +0 -3
- package/frontend/build/static/BackendConnections-C4TwFekS.js +0 -1
- package/frontend/build/static/FeatureMetricsChart-CQOjOGdB.js +0 -2
- package/frontend/build/static/FeatureStaleDialog-DFBMJIHQ.js +0 -7
- package/frontend/build/static/FeatureViewLazyExport-CUraS5Co.js +0 -10
- package/frontend/build/static/FlagMetricsChart-BqT9hgdO.js +0 -2
- package/frontend/build/static/FrontendNetworkTrafficUsage-BzwFAGbK.js +0 -1
- package/frontend/build/static/GridLayoutWrapper-DY9lNz0U.js +0 -3
- package/frontend/build/static/ImpactMetricsPage-Bqewvmqu.js +0 -1
- package/frontend/build/static/LazyAdminExport-DSSpZhpf.js +0 -38
- package/frontend/build/static/LazyProjectExport-Cd5au6uN.js +0 -728
- package/frontend/build/static/NetworkConnectedEdges-d0ZBRss5.js +0 -1
- package/frontend/build/static/NetworkOverview-DivQ4b83.js +0 -1
- package/frontend/build/static/NetworkTrafficUsage-DYNGGkkm.js +0 -1
- package/frontend/build/static/RoleCell-CkV0Kf4-.js +0 -1
- package/frontend/build/static/aggregateFeatureMetrics-CrQXQAeM.js +0 -1
- package/frontend/build/static/howToApplyReleaseTemplates-CkjJPTRh.png +0 -0
- package/frontend/build/static/howToApplyReleaseTemplatesDark-CfwfIMua.png +0 -0
- package/frontend/build/static/index-B33kIVre.js +0 -542
- package/frontend/build/static/metricsFormatters-C7iN2dDH.js +0 -1
- package/frontend/build/static/networkTrafficUsageHighlightPlugin-o9kHeQ2O.js +0 -1
- package/frontend/build/static/style-BW9ZTER3.css +0 -1
|
@@ -148,6 +148,12 @@ export declare const featureSchema: {
|
|
|
148
148
|
readonly enum: readonly ["initial", "pre-live", "live", "completed", "archived"];
|
|
149
149
|
readonly example: "initial";
|
|
150
150
|
};
|
|
151
|
+
readonly status: {
|
|
152
|
+
readonly type: "string";
|
|
153
|
+
readonly nullable: true;
|
|
154
|
+
readonly example: "kept";
|
|
155
|
+
readonly description: "The name of the detailed status of a given stage. E.g. completed stage can be kept or discarded.";
|
|
156
|
+
};
|
|
151
157
|
readonly enteredStageAt: {
|
|
152
158
|
readonly description: "When the feature entered this stage";
|
|
153
159
|
readonly type: "string";
|
|
@@ -241,6 +247,11 @@ export declare const featureSchema: {
|
|
|
241
247
|
readonly description: "The description of the link";
|
|
242
248
|
readonly nullable: true;
|
|
243
249
|
};
|
|
250
|
+
readonly feature: {
|
|
251
|
+
readonly type: "string";
|
|
252
|
+
readonly example: "disable-comments";
|
|
253
|
+
readonly description: "The name of the feature this link belongs to";
|
|
254
|
+
};
|
|
244
255
|
};
|
|
245
256
|
};
|
|
246
257
|
readonly description: "The list of links. This is an experimental field and may change.";
|
|
@@ -251,7 +262,7 @@ export declare const featureSchema: {
|
|
|
251
262
|
readonly constraintSchema: {
|
|
252
263
|
readonly type: "object";
|
|
253
264
|
readonly required: readonly ["contextName", "operator"];
|
|
254
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
265
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
255
266
|
readonly properties: {
|
|
256
267
|
readonly contextName: {
|
|
257
268
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -259,7 +270,7 @@ export declare const featureSchema: {
|
|
|
259
270
|
readonly type: "string";
|
|
260
271
|
};
|
|
261
272
|
readonly operator: {
|
|
262
|
-
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/
|
|
273
|
+
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/concepts/activation-strategies#constraint-operators).";
|
|
263
274
|
readonly type: "string";
|
|
264
275
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
265
276
|
readonly example: "IN";
|
|
@@ -391,13 +402,25 @@ export declare const featureSchema: {
|
|
|
391
402
|
readonly $ref: "#/components/schemas/releasePlanSchema";
|
|
392
403
|
};
|
|
393
404
|
};
|
|
405
|
+
readonly yes: {
|
|
406
|
+
readonly type: "integer";
|
|
407
|
+
readonly description: "How many times the feature evaluated to true (enabled)";
|
|
408
|
+
readonly example: 974;
|
|
409
|
+
readonly minimum: 0;
|
|
410
|
+
};
|
|
411
|
+
readonly no: {
|
|
412
|
+
readonly type: "integer";
|
|
413
|
+
readonly description: "How many times the feature evaluated to false (disabled)";
|
|
414
|
+
readonly example: 50;
|
|
415
|
+
readonly minimum: 0;
|
|
416
|
+
};
|
|
394
417
|
};
|
|
395
418
|
readonly components: {
|
|
396
419
|
readonly schemas: {
|
|
397
420
|
readonly constraintSchema: {
|
|
398
421
|
readonly type: "object";
|
|
399
422
|
readonly required: readonly ["contextName", "operator"];
|
|
400
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
423
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
401
424
|
readonly properties: {
|
|
402
425
|
readonly contextName: {
|
|
403
426
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -405,7 +428,7 @@ export declare const featureSchema: {
|
|
|
405
428
|
readonly type: "string";
|
|
406
429
|
};
|
|
407
430
|
readonly operator: {
|
|
408
|
-
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/
|
|
431
|
+
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/concepts/activation-strategies#constraint-operators).";
|
|
409
432
|
readonly type: "string";
|
|
410
433
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
411
434
|
readonly example: "IN";
|
|
@@ -496,7 +519,7 @@ export declare const featureSchema: {
|
|
|
496
519
|
};
|
|
497
520
|
readonly constraints: {
|
|
498
521
|
readonly type: "array";
|
|
499
|
-
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/
|
|
522
|
+
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints";
|
|
500
523
|
readonly items: {
|
|
501
524
|
readonly $ref: "#/components/schemas/constraintSchema";
|
|
502
525
|
};
|
|
@@ -517,7 +540,7 @@ export declare const featureSchema: {
|
|
|
517
540
|
readonly constraintSchema: {
|
|
518
541
|
readonly type: "object";
|
|
519
542
|
readonly required: readonly ["contextName", "operator"];
|
|
520
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
543
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
521
544
|
readonly properties: {
|
|
522
545
|
readonly contextName: {
|
|
523
546
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -525,7 +548,7 @@ export declare const featureSchema: {
|
|
|
525
548
|
readonly type: "string";
|
|
526
549
|
};
|
|
527
550
|
readonly operator: {
|
|
528
|
-
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/
|
|
551
|
+
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/concepts/activation-strategies#constraint-operators).";
|
|
529
552
|
readonly type: "string";
|
|
530
553
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
531
554
|
readonly example: "IN";
|
|
@@ -581,19 +604,19 @@ export declare const featureSchema: {
|
|
|
581
604
|
};
|
|
582
605
|
readonly weight: {
|
|
583
606
|
readonly type: "integer";
|
|
584
|
-
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/
|
|
607
|
+
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight) for more information";
|
|
585
608
|
readonly minimum: 0;
|
|
586
609
|
readonly maximum: 1000;
|
|
587
610
|
};
|
|
588
611
|
readonly weightType: {
|
|
589
|
-
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/
|
|
612
|
+
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight).";
|
|
590
613
|
readonly type: "string";
|
|
591
614
|
readonly example: "fix";
|
|
592
615
|
readonly enum: readonly ["variable", "fix"];
|
|
593
616
|
};
|
|
594
617
|
readonly stickiness: {
|
|
595
618
|
readonly type: "string";
|
|
596
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
619
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-variants#variant-stickiness) to use for distribution of this variant. Stickiness is how Unleash guarantees that the same user gets the same variant every time";
|
|
597
620
|
readonly example: "custom.context.field";
|
|
598
621
|
};
|
|
599
622
|
readonly payload: {
|
|
@@ -636,19 +659,19 @@ export declare const featureSchema: {
|
|
|
636
659
|
};
|
|
637
660
|
readonly weight: {
|
|
638
661
|
readonly type: "integer";
|
|
639
|
-
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/
|
|
662
|
+
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight) for more information";
|
|
640
663
|
readonly minimum: 0;
|
|
641
664
|
readonly maximum: 1000;
|
|
642
665
|
};
|
|
643
666
|
readonly weightType: {
|
|
644
|
-
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/
|
|
667
|
+
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight).";
|
|
645
668
|
readonly type: "string";
|
|
646
669
|
readonly example: "fix";
|
|
647
670
|
readonly enum: readonly ["variable", "fix"];
|
|
648
671
|
};
|
|
649
672
|
readonly stickiness: {
|
|
650
673
|
readonly type: "string";
|
|
651
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
674
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-variants#variant-stickiness) to use for distribution of this variant. Stickiness is how Unleash guarantees that the same user gets the same variant every time";
|
|
652
675
|
readonly example: "custom.context.field";
|
|
653
676
|
};
|
|
654
677
|
readonly payload: {
|
|
@@ -678,7 +701,7 @@ export declare const featureSchema: {
|
|
|
678
701
|
readonly $id: "#/components/schemas/variantSchema";
|
|
679
702
|
readonly type: "object";
|
|
680
703
|
readonly additionalProperties: false;
|
|
681
|
-
readonly description: "A variant allows for further separation of users into segments. See [our excellent documentation](https://docs.getunleash.io/
|
|
704
|
+
readonly description: "A variant allows for further separation of users into segments. See [our excellent documentation](https://docs.getunleash.io/concepts/feature-flag-variants#what-are-variants) for a more detailed description";
|
|
682
705
|
readonly required: readonly ["name", "weight"];
|
|
683
706
|
readonly properties: {
|
|
684
707
|
readonly name: {
|
|
@@ -688,7 +711,7 @@ export declare const featureSchema: {
|
|
|
688
711
|
};
|
|
689
712
|
readonly weight: {
|
|
690
713
|
readonly type: "number";
|
|
691
|
-
readonly description: "The weight is the likelihood of any one user getting this variant. It is a number between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/
|
|
714
|
+
readonly description: "The weight is the likelihood of any one user getting this variant. It is a number between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight) for more information";
|
|
692
715
|
readonly minimum: 0;
|
|
693
716
|
readonly maximum: 1000;
|
|
694
717
|
};
|
|
@@ -700,7 +723,7 @@ export declare const featureSchema: {
|
|
|
700
723
|
};
|
|
701
724
|
readonly stickiness: {
|
|
702
725
|
readonly type: "string";
|
|
703
|
-
readonly description: "[Stickiness](https://docs.getunleash.io/
|
|
726
|
+
readonly description: "[Stickiness](https://docs.getunleash.io/concepts/feature-flag-variants#variant-stickiness) is how Unleash guarantees that the same user gets the same variant every time";
|
|
704
727
|
readonly example: "custom.context.field";
|
|
705
728
|
};
|
|
706
729
|
readonly payload: {
|
|
@@ -833,6 +856,13 @@ export declare const featureSchema: {
|
|
|
833
856
|
readonly example: "01JB9GGTGQYEQ9D40R17T3YVW2";
|
|
834
857
|
readonly nullable: false;
|
|
835
858
|
};
|
|
859
|
+
readonly safeguards: {
|
|
860
|
+
readonly type: "array";
|
|
861
|
+
readonly description: "An array of safeguards configured for this release plan.";
|
|
862
|
+
readonly items: {
|
|
863
|
+
readonly $ref: "#/components/schemas/safeguardSchema";
|
|
864
|
+
};
|
|
865
|
+
};
|
|
836
866
|
};
|
|
837
867
|
readonly components: {
|
|
838
868
|
readonly schemas: {
|
|
@@ -872,8 +902,19 @@ export declare const featureSchema: {
|
|
|
872
902
|
readonly nullable: true;
|
|
873
903
|
};
|
|
874
904
|
readonly transitionCondition: {
|
|
905
|
+
readonly type: "object";
|
|
906
|
+
readonly additionalProperties: false;
|
|
907
|
+
readonly required: readonly ["intervalMinutes"];
|
|
908
|
+
readonly properties: {
|
|
909
|
+
readonly intervalMinutes: {
|
|
910
|
+
readonly type: "integer";
|
|
911
|
+
readonly minimum: 1;
|
|
912
|
+
readonly description: "The interval in minutes before transitioning";
|
|
913
|
+
readonly example: 30;
|
|
914
|
+
};
|
|
915
|
+
};
|
|
875
916
|
readonly description: "The condition configuration for the transition";
|
|
876
|
-
readonly
|
|
917
|
+
readonly nullable: true;
|
|
877
918
|
};
|
|
878
919
|
readonly progressionExecutedAt: {
|
|
879
920
|
readonly type: "string";
|
|
@@ -882,6 +923,13 @@ export declare const featureSchema: {
|
|
|
882
923
|
readonly example: "2024-01-01T00:00:00.000Z";
|
|
883
924
|
readonly nullable: true;
|
|
884
925
|
};
|
|
926
|
+
readonly pausedAt: {
|
|
927
|
+
readonly type: "string";
|
|
928
|
+
readonly format: "date-time";
|
|
929
|
+
readonly description: "The date and time when the milestone was paused.";
|
|
930
|
+
readonly example: "2024-01-01T00:00:00.000Z";
|
|
931
|
+
readonly nullable: true;
|
|
932
|
+
};
|
|
885
933
|
readonly strategies: {
|
|
886
934
|
readonly type: "array";
|
|
887
935
|
readonly description: "A list of strategies that are attached to this milestone.";
|
|
@@ -937,7 +985,7 @@ export declare const featureSchema: {
|
|
|
937
985
|
};
|
|
938
986
|
readonly constraints: {
|
|
939
987
|
readonly type: "array";
|
|
940
|
-
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/
|
|
988
|
+
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints";
|
|
941
989
|
readonly example: readonly [{
|
|
942
990
|
readonly values: readonly ["1", "2"];
|
|
943
991
|
readonly inverted: false;
|
|
@@ -997,7 +1045,7 @@ export declare const featureSchema: {
|
|
|
997
1045
|
};
|
|
998
1046
|
readonly constraints: {
|
|
999
1047
|
readonly type: "array";
|
|
1000
|
-
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/
|
|
1048
|
+
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints";
|
|
1001
1049
|
readonly example: readonly [{
|
|
1002
1050
|
readonly values: readonly ["1", "2"];
|
|
1003
1051
|
readonly inverted: false;
|
|
@@ -1039,7 +1087,7 @@ export declare const featureSchema: {
|
|
|
1039
1087
|
readonly constraintSchema: {
|
|
1040
1088
|
readonly type: "object";
|
|
1041
1089
|
readonly required: readonly ["contextName", "operator"];
|
|
1042
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
1090
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
1043
1091
|
readonly properties: {
|
|
1044
1092
|
readonly contextName: {
|
|
1045
1093
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -1047,7 +1095,7 @@ export declare const featureSchema: {
|
|
|
1047
1095
|
readonly type: "string";
|
|
1048
1096
|
};
|
|
1049
1097
|
readonly operator: {
|
|
1050
|
-
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/
|
|
1098
|
+
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/concepts/activation-strategies#constraint-operators).";
|
|
1051
1099
|
readonly type: "string";
|
|
1052
1100
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
1053
1101
|
readonly example: "IN";
|
|
@@ -1102,19 +1150,19 @@ export declare const featureSchema: {
|
|
|
1102
1150
|
};
|
|
1103
1151
|
readonly weight: {
|
|
1104
1152
|
readonly type: "integer";
|
|
1105
|
-
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/
|
|
1153
|
+
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight) for more information";
|
|
1106
1154
|
readonly minimum: 0;
|
|
1107
1155
|
readonly maximum: 1000;
|
|
1108
1156
|
};
|
|
1109
1157
|
readonly weightType: {
|
|
1110
|
-
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/
|
|
1158
|
+
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight).";
|
|
1111
1159
|
readonly type: "string";
|
|
1112
1160
|
readonly example: "fix";
|
|
1113
1161
|
readonly enum: readonly ["variable", "fix"];
|
|
1114
1162
|
};
|
|
1115
1163
|
readonly stickiness: {
|
|
1116
1164
|
readonly type: "string";
|
|
1117
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
1165
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-variants#variant-stickiness) to use for distribution of this variant. Stickiness is how Unleash guarantees that the same user gets the same variant every time";
|
|
1118
1166
|
readonly example: "custom.context.field";
|
|
1119
1167
|
};
|
|
1120
1168
|
readonly payload: {
|
|
@@ -1155,7 +1203,7 @@ export declare const featureSchema: {
|
|
|
1155
1203
|
readonly constraintSchema: {
|
|
1156
1204
|
readonly type: "object";
|
|
1157
1205
|
readonly required: readonly ["contextName", "operator"];
|
|
1158
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
1206
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
1159
1207
|
readonly properties: {
|
|
1160
1208
|
readonly contextName: {
|
|
1161
1209
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -1163,7 +1211,7 @@ export declare const featureSchema: {
|
|
|
1163
1211
|
readonly type: "string";
|
|
1164
1212
|
};
|
|
1165
1213
|
readonly operator: {
|
|
1166
|
-
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/
|
|
1214
|
+
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/concepts/activation-strategies#constraint-operators).";
|
|
1167
1215
|
readonly type: "string";
|
|
1168
1216
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
1169
1217
|
readonly example: "IN";
|
|
@@ -1209,19 +1257,19 @@ export declare const featureSchema: {
|
|
|
1209
1257
|
};
|
|
1210
1258
|
readonly weight: {
|
|
1211
1259
|
readonly type: "integer";
|
|
1212
|
-
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/
|
|
1260
|
+
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight) for more information";
|
|
1213
1261
|
readonly minimum: 0;
|
|
1214
1262
|
readonly maximum: 1000;
|
|
1215
1263
|
};
|
|
1216
1264
|
readonly weightType: {
|
|
1217
|
-
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/
|
|
1265
|
+
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight).";
|
|
1218
1266
|
readonly type: "string";
|
|
1219
1267
|
readonly example: "fix";
|
|
1220
1268
|
readonly enum: readonly ["variable", "fix"];
|
|
1221
1269
|
};
|
|
1222
1270
|
readonly stickiness: {
|
|
1223
1271
|
readonly type: "string";
|
|
1224
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
1272
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-variants#variant-stickiness) to use for distribution of this variant. Stickiness is how Unleash guarantees that the same user gets the same variant every time";
|
|
1225
1273
|
readonly example: "custom.context.field";
|
|
1226
1274
|
};
|
|
1227
1275
|
readonly payload: {
|
|
@@ -1280,7 +1328,7 @@ export declare const featureSchema: {
|
|
|
1280
1328
|
};
|
|
1281
1329
|
readonly constraints: {
|
|
1282
1330
|
readonly type: "array";
|
|
1283
|
-
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/
|
|
1331
|
+
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints";
|
|
1284
1332
|
readonly example: readonly [{
|
|
1285
1333
|
readonly values: readonly ["1", "2"];
|
|
1286
1334
|
readonly inverted: false;
|
|
@@ -1322,7 +1370,7 @@ export declare const featureSchema: {
|
|
|
1322
1370
|
readonly constraintSchema: {
|
|
1323
1371
|
readonly type: "object";
|
|
1324
1372
|
readonly required: readonly ["contextName", "operator"];
|
|
1325
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
1373
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
1326
1374
|
readonly properties: {
|
|
1327
1375
|
readonly contextName: {
|
|
1328
1376
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -1330,7 +1378,7 @@ export declare const featureSchema: {
|
|
|
1330
1378
|
readonly type: "string";
|
|
1331
1379
|
};
|
|
1332
1380
|
readonly operator: {
|
|
1333
|
-
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/
|
|
1381
|
+
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/concepts/activation-strategies#constraint-operators).";
|
|
1334
1382
|
readonly type: "string";
|
|
1335
1383
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
1336
1384
|
readonly example: "IN";
|
|
@@ -1385,19 +1433,19 @@ export declare const featureSchema: {
|
|
|
1385
1433
|
};
|
|
1386
1434
|
readonly weight: {
|
|
1387
1435
|
readonly type: "integer";
|
|
1388
|
-
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/
|
|
1436
|
+
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight) for more information";
|
|
1389
1437
|
readonly minimum: 0;
|
|
1390
1438
|
readonly maximum: 1000;
|
|
1391
1439
|
};
|
|
1392
1440
|
readonly weightType: {
|
|
1393
|
-
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/
|
|
1441
|
+
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight).";
|
|
1394
1442
|
readonly type: "string";
|
|
1395
1443
|
readonly example: "fix";
|
|
1396
1444
|
readonly enum: readonly ["variable", "fix"];
|
|
1397
1445
|
};
|
|
1398
1446
|
readonly stickiness: {
|
|
1399
1447
|
readonly type: "string";
|
|
1400
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
1448
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-variants#variant-stickiness) to use for distribution of this variant. Stickiness is how Unleash guarantees that the same user gets the same variant every time";
|
|
1401
1449
|
readonly example: "custom.context.field";
|
|
1402
1450
|
};
|
|
1403
1451
|
readonly payload: {
|
|
@@ -1438,7 +1486,7 @@ export declare const featureSchema: {
|
|
|
1438
1486
|
readonly constraintSchema: {
|
|
1439
1487
|
readonly type: "object";
|
|
1440
1488
|
readonly required: readonly ["contextName", "operator"];
|
|
1441
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
1489
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
1442
1490
|
readonly properties: {
|
|
1443
1491
|
readonly contextName: {
|
|
1444
1492
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -1446,7 +1494,7 @@ export declare const featureSchema: {
|
|
|
1446
1494
|
readonly type: "string";
|
|
1447
1495
|
};
|
|
1448
1496
|
readonly operator: {
|
|
1449
|
-
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/
|
|
1497
|
+
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/concepts/activation-strategies#constraint-operators).";
|
|
1450
1498
|
readonly type: "string";
|
|
1451
1499
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
1452
1500
|
readonly example: "IN";
|
|
@@ -1492,19 +1540,19 @@ export declare const featureSchema: {
|
|
|
1492
1540
|
};
|
|
1493
1541
|
readonly weight: {
|
|
1494
1542
|
readonly type: "integer";
|
|
1495
|
-
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/
|
|
1543
|
+
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight) for more information";
|
|
1496
1544
|
readonly minimum: 0;
|
|
1497
1545
|
readonly maximum: 1000;
|
|
1498
1546
|
};
|
|
1499
1547
|
readonly weightType: {
|
|
1500
|
-
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/
|
|
1548
|
+
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight).";
|
|
1501
1549
|
readonly type: "string";
|
|
1502
1550
|
readonly example: "fix";
|
|
1503
1551
|
readonly enum: readonly ["variable", "fix"];
|
|
1504
1552
|
};
|
|
1505
1553
|
readonly stickiness: {
|
|
1506
1554
|
readonly type: "string";
|
|
1507
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
1555
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-variants#variant-stickiness) to use for distribution of this variant. Stickiness is how Unleash guarantees that the same user gets the same variant every time";
|
|
1508
1556
|
readonly example: "custom.context.field";
|
|
1509
1557
|
};
|
|
1510
1558
|
readonly payload: {
|
|
@@ -1594,7 +1642,7 @@ export declare const featureSchema: {
|
|
|
1594
1642
|
};
|
|
1595
1643
|
readonly constraints: {
|
|
1596
1644
|
readonly type: "array";
|
|
1597
|
-
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/
|
|
1645
|
+
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints";
|
|
1598
1646
|
readonly example: readonly [{
|
|
1599
1647
|
readonly values: readonly ["1", "2"];
|
|
1600
1648
|
readonly inverted: false;
|
|
@@ -1654,7 +1702,7 @@ export declare const featureSchema: {
|
|
|
1654
1702
|
};
|
|
1655
1703
|
readonly constraints: {
|
|
1656
1704
|
readonly type: "array";
|
|
1657
|
-
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/
|
|
1705
|
+
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints";
|
|
1658
1706
|
readonly example: readonly [{
|
|
1659
1707
|
readonly values: readonly ["1", "2"];
|
|
1660
1708
|
readonly inverted: false;
|
|
@@ -1696,7 +1744,7 @@ export declare const featureSchema: {
|
|
|
1696
1744
|
readonly constraintSchema: {
|
|
1697
1745
|
readonly type: "object";
|
|
1698
1746
|
readonly required: readonly ["contextName", "operator"];
|
|
1699
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
1747
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
1700
1748
|
readonly properties: {
|
|
1701
1749
|
readonly contextName: {
|
|
1702
1750
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -1704,7 +1752,7 @@ export declare const featureSchema: {
|
|
|
1704
1752
|
readonly type: "string";
|
|
1705
1753
|
};
|
|
1706
1754
|
readonly operator: {
|
|
1707
|
-
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/
|
|
1755
|
+
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/concepts/activation-strategies#constraint-operators).";
|
|
1708
1756
|
readonly type: "string";
|
|
1709
1757
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
1710
1758
|
readonly example: "IN";
|
|
@@ -1759,19 +1807,19 @@ export declare const featureSchema: {
|
|
|
1759
1807
|
};
|
|
1760
1808
|
readonly weight: {
|
|
1761
1809
|
readonly type: "integer";
|
|
1762
|
-
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/
|
|
1810
|
+
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight) for more information";
|
|
1763
1811
|
readonly minimum: 0;
|
|
1764
1812
|
readonly maximum: 1000;
|
|
1765
1813
|
};
|
|
1766
1814
|
readonly weightType: {
|
|
1767
|
-
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/
|
|
1815
|
+
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight).";
|
|
1768
1816
|
readonly type: "string";
|
|
1769
1817
|
readonly example: "fix";
|
|
1770
1818
|
readonly enum: readonly ["variable", "fix"];
|
|
1771
1819
|
};
|
|
1772
1820
|
readonly stickiness: {
|
|
1773
1821
|
readonly type: "string";
|
|
1774
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
1822
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-variants#variant-stickiness) to use for distribution of this variant. Stickiness is how Unleash guarantees that the same user gets the same variant every time";
|
|
1775
1823
|
readonly example: "custom.context.field";
|
|
1776
1824
|
};
|
|
1777
1825
|
readonly payload: {
|
|
@@ -1812,7 +1860,7 @@ export declare const featureSchema: {
|
|
|
1812
1860
|
readonly constraintSchema: {
|
|
1813
1861
|
readonly type: "object";
|
|
1814
1862
|
readonly required: readonly ["contextName", "operator"];
|
|
1815
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
1863
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
1816
1864
|
readonly properties: {
|
|
1817
1865
|
readonly contextName: {
|
|
1818
1866
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -1820,7 +1868,7 @@ export declare const featureSchema: {
|
|
|
1820
1868
|
readonly type: "string";
|
|
1821
1869
|
};
|
|
1822
1870
|
readonly operator: {
|
|
1823
|
-
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/
|
|
1871
|
+
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/concepts/activation-strategies#constraint-operators).";
|
|
1824
1872
|
readonly type: "string";
|
|
1825
1873
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
1826
1874
|
readonly example: "IN";
|
|
@@ -1866,19 +1914,19 @@ export declare const featureSchema: {
|
|
|
1866
1914
|
};
|
|
1867
1915
|
readonly weight: {
|
|
1868
1916
|
readonly type: "integer";
|
|
1869
|
-
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/
|
|
1917
|
+
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight) for more information";
|
|
1870
1918
|
readonly minimum: 0;
|
|
1871
1919
|
readonly maximum: 1000;
|
|
1872
1920
|
};
|
|
1873
1921
|
readonly weightType: {
|
|
1874
|
-
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/
|
|
1922
|
+
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight).";
|
|
1875
1923
|
readonly type: "string";
|
|
1876
1924
|
readonly example: "fix";
|
|
1877
1925
|
readonly enum: readonly ["variable", "fix"];
|
|
1878
1926
|
};
|
|
1879
1927
|
readonly stickiness: {
|
|
1880
1928
|
readonly type: "string";
|
|
1881
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
1929
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-variants#variant-stickiness) to use for distribution of this variant. Stickiness is how Unleash guarantees that the same user gets the same variant every time";
|
|
1882
1930
|
readonly example: "custom.context.field";
|
|
1883
1931
|
};
|
|
1884
1932
|
readonly payload: {
|
|
@@ -1937,7 +1985,7 @@ export declare const featureSchema: {
|
|
|
1937
1985
|
};
|
|
1938
1986
|
readonly constraints: {
|
|
1939
1987
|
readonly type: "array";
|
|
1940
|
-
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/
|
|
1988
|
+
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints";
|
|
1941
1989
|
readonly example: readonly [{
|
|
1942
1990
|
readonly values: readonly ["1", "2"];
|
|
1943
1991
|
readonly inverted: false;
|
|
@@ -1979,7 +2027,7 @@ export declare const featureSchema: {
|
|
|
1979
2027
|
readonly constraintSchema: {
|
|
1980
2028
|
readonly type: "object";
|
|
1981
2029
|
readonly required: readonly ["contextName", "operator"];
|
|
1982
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
2030
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
1983
2031
|
readonly properties: {
|
|
1984
2032
|
readonly contextName: {
|
|
1985
2033
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -1987,7 +2035,7 @@ export declare const featureSchema: {
|
|
|
1987
2035
|
readonly type: "string";
|
|
1988
2036
|
};
|
|
1989
2037
|
readonly operator: {
|
|
1990
|
-
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/
|
|
2038
|
+
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/concepts/activation-strategies#constraint-operators).";
|
|
1991
2039
|
readonly type: "string";
|
|
1992
2040
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
1993
2041
|
readonly example: "IN";
|
|
@@ -2042,19 +2090,19 @@ export declare const featureSchema: {
|
|
|
2042
2090
|
};
|
|
2043
2091
|
readonly weight: {
|
|
2044
2092
|
readonly type: "integer";
|
|
2045
|
-
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/
|
|
2093
|
+
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight) for more information";
|
|
2046
2094
|
readonly minimum: 0;
|
|
2047
2095
|
readonly maximum: 1000;
|
|
2048
2096
|
};
|
|
2049
2097
|
readonly weightType: {
|
|
2050
|
-
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/
|
|
2098
|
+
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight).";
|
|
2051
2099
|
readonly type: "string";
|
|
2052
2100
|
readonly example: "fix";
|
|
2053
2101
|
readonly enum: readonly ["variable", "fix"];
|
|
2054
2102
|
};
|
|
2055
2103
|
readonly stickiness: {
|
|
2056
2104
|
readonly type: "string";
|
|
2057
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
2105
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-variants#variant-stickiness) to use for distribution of this variant. Stickiness is how Unleash guarantees that the same user gets the same variant every time";
|
|
2058
2106
|
readonly example: "custom.context.field";
|
|
2059
2107
|
};
|
|
2060
2108
|
readonly payload: {
|
|
@@ -2095,7 +2143,7 @@ export declare const featureSchema: {
|
|
|
2095
2143
|
readonly constraintSchema: {
|
|
2096
2144
|
readonly type: "object";
|
|
2097
2145
|
readonly required: readonly ["contextName", "operator"];
|
|
2098
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
2146
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
2099
2147
|
readonly properties: {
|
|
2100
2148
|
readonly contextName: {
|
|
2101
2149
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -2103,7 +2151,7 @@ export declare const featureSchema: {
|
|
|
2103
2151
|
readonly type: "string";
|
|
2104
2152
|
};
|
|
2105
2153
|
readonly operator: {
|
|
2106
|
-
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/
|
|
2154
|
+
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/concepts/activation-strategies#constraint-operators).";
|
|
2107
2155
|
readonly type: "string";
|
|
2108
2156
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
2109
2157
|
readonly example: "IN";
|
|
@@ -2149,19 +2197,19 @@ export declare const featureSchema: {
|
|
|
2149
2197
|
};
|
|
2150
2198
|
readonly weight: {
|
|
2151
2199
|
readonly type: "integer";
|
|
2152
|
-
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/
|
|
2200
|
+
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight) for more information";
|
|
2153
2201
|
readonly minimum: 0;
|
|
2154
2202
|
readonly maximum: 1000;
|
|
2155
2203
|
};
|
|
2156
2204
|
readonly weightType: {
|
|
2157
|
-
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/
|
|
2205
|
+
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight).";
|
|
2158
2206
|
readonly type: "string";
|
|
2159
2207
|
readonly example: "fix";
|
|
2160
2208
|
readonly enum: readonly ["variable", "fix"];
|
|
2161
2209
|
};
|
|
2162
2210
|
readonly stickiness: {
|
|
2163
2211
|
readonly type: "string";
|
|
2164
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
2212
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-variants#variant-stickiness) to use for distribution of this variant. Stickiness is how Unleash guarantees that the same user gets the same variant every time";
|
|
2165
2213
|
readonly example: "custom.context.field";
|
|
2166
2214
|
};
|
|
2167
2215
|
readonly payload: {
|
|
@@ -2203,6 +2251,214 @@ export declare const featureSchema: {
|
|
|
2203
2251
|
};
|
|
2204
2252
|
readonly components: {};
|
|
2205
2253
|
};
|
|
2254
|
+
readonly safeguardSchema: {
|
|
2255
|
+
readonly $id: "#/components/schemas/safeguardSchema";
|
|
2256
|
+
readonly type: "object";
|
|
2257
|
+
readonly required: readonly ["id", "action", "triggerCondition", "impactMetric"];
|
|
2258
|
+
readonly description: "A safeguard configuration for a release plan.";
|
|
2259
|
+
readonly additionalProperties: false;
|
|
2260
|
+
readonly properties: {
|
|
2261
|
+
readonly id: {
|
|
2262
|
+
readonly type: "string";
|
|
2263
|
+
readonly description: "The unique ULID identifier for this safeguard";
|
|
2264
|
+
readonly example: "01JB9GGTGQYEQ9D40R17T3YVW1";
|
|
2265
|
+
};
|
|
2266
|
+
readonly action: {
|
|
2267
|
+
readonly type: "object";
|
|
2268
|
+
readonly required: readonly ["type", "id"];
|
|
2269
|
+
readonly additionalProperties: false;
|
|
2270
|
+
readonly description: "The action to take when the safeguard is triggered.";
|
|
2271
|
+
readonly properties: {
|
|
2272
|
+
readonly type: {
|
|
2273
|
+
readonly type: "string";
|
|
2274
|
+
readonly description: "The type of action to perform.";
|
|
2275
|
+
readonly example: "pauseReleasePlanProgressions";
|
|
2276
|
+
};
|
|
2277
|
+
readonly id: {
|
|
2278
|
+
readonly type: "string";
|
|
2279
|
+
readonly description: "The ID of the release plan this safeguard applies to.";
|
|
2280
|
+
readonly example: "01JB9GGTGQYEQ9D40R17T3YVW2";
|
|
2281
|
+
};
|
|
2282
|
+
};
|
|
2283
|
+
};
|
|
2284
|
+
readonly triggerCondition: {
|
|
2285
|
+
readonly $ref: "#/components/schemas/safeguardTriggerConditionSchema";
|
|
2286
|
+
readonly description: "The condition that triggers the safeguard.";
|
|
2287
|
+
};
|
|
2288
|
+
readonly impactMetric: {
|
|
2289
|
+
readonly type: "object";
|
|
2290
|
+
readonly required: readonly ["id", "metricName", "timeRange", "aggregationMode", "labelSelectors"];
|
|
2291
|
+
readonly additionalProperties: false;
|
|
2292
|
+
readonly properties: {
|
|
2293
|
+
readonly metricName: {
|
|
2294
|
+
readonly type: "string";
|
|
2295
|
+
readonly description: "The Prometheus metric series to query. It includes both unleash prefix and metric type and display name";
|
|
2296
|
+
readonly example: "unleash_counter_feature_toggle_usage_total";
|
|
2297
|
+
};
|
|
2298
|
+
readonly timeRange: {
|
|
2299
|
+
readonly type: "string";
|
|
2300
|
+
readonly enum: readonly ["hour", "day", "week", "month"];
|
|
2301
|
+
readonly description: "The time range for the metric data.";
|
|
2302
|
+
readonly example: "day";
|
|
2303
|
+
};
|
|
2304
|
+
readonly aggregationMode: {
|
|
2305
|
+
readonly type: "string";
|
|
2306
|
+
readonly description: "The aggregation mode for the metric data.";
|
|
2307
|
+
readonly enum: readonly ["rps", "count", "avg", "sum", "p95", "p99", "p50"];
|
|
2308
|
+
readonly example: "rps";
|
|
2309
|
+
};
|
|
2310
|
+
readonly labelSelectors: {
|
|
2311
|
+
readonly type: "object";
|
|
2312
|
+
readonly additionalProperties: {
|
|
2313
|
+
readonly type: "array";
|
|
2314
|
+
readonly items: {
|
|
2315
|
+
readonly type: "string";
|
|
2316
|
+
};
|
|
2317
|
+
};
|
|
2318
|
+
readonly description: "The selected labels and their values for filtering the metric data.";
|
|
2319
|
+
readonly example: {
|
|
2320
|
+
readonly environment: readonly ["development"];
|
|
2321
|
+
readonly project: readonly ["default"];
|
|
2322
|
+
};
|
|
2323
|
+
};
|
|
2324
|
+
readonly id: {
|
|
2325
|
+
readonly type: "string";
|
|
2326
|
+
readonly description: "The unique identifier for this impact metric";
|
|
2327
|
+
readonly example: "01JB9GGTGQYEQ9D40R17T3YVW1";
|
|
2328
|
+
};
|
|
2329
|
+
};
|
|
2330
|
+
readonly description: "The metric configuration used to evaluate the safeguard condition.";
|
|
2331
|
+
};
|
|
2332
|
+
};
|
|
2333
|
+
readonly components: {
|
|
2334
|
+
readonly schemas: {
|
|
2335
|
+
readonly metricQuerySchema: {
|
|
2336
|
+
readonly $id: "#/components/schemas/metricQuerySchema";
|
|
2337
|
+
readonly type: "object";
|
|
2338
|
+
readonly required: readonly ["metricName", "timeRange", "aggregationMode", "labelSelectors"];
|
|
2339
|
+
readonly description: "Common metric query configuration for selecting and filtering metric data.";
|
|
2340
|
+
readonly additionalProperties: false;
|
|
2341
|
+
readonly properties: {
|
|
2342
|
+
readonly metricName: {
|
|
2343
|
+
readonly type: "string";
|
|
2344
|
+
readonly description: "The Prometheus metric series to query. It includes both unleash prefix and metric type and display name";
|
|
2345
|
+
readonly example: "unleash_counter_feature_toggle_usage_total";
|
|
2346
|
+
};
|
|
2347
|
+
readonly timeRange: {
|
|
2348
|
+
readonly type: "string";
|
|
2349
|
+
readonly enum: readonly ["hour", "day", "week", "month"];
|
|
2350
|
+
readonly description: "The time range for the metric data.";
|
|
2351
|
+
readonly example: "day";
|
|
2352
|
+
};
|
|
2353
|
+
readonly aggregationMode: {
|
|
2354
|
+
readonly type: "string";
|
|
2355
|
+
readonly description: "The aggregation mode for the metric data.";
|
|
2356
|
+
readonly enum: readonly ["rps", "count", "avg", "sum", "p95", "p99", "p50"];
|
|
2357
|
+
readonly example: "rps";
|
|
2358
|
+
};
|
|
2359
|
+
readonly labelSelectors: {
|
|
2360
|
+
readonly type: "object";
|
|
2361
|
+
readonly additionalProperties: {
|
|
2362
|
+
readonly type: "array";
|
|
2363
|
+
readonly items: {
|
|
2364
|
+
readonly type: "string";
|
|
2365
|
+
};
|
|
2366
|
+
};
|
|
2367
|
+
readonly description: "The selected labels and their values for filtering the metric data.";
|
|
2368
|
+
readonly example: {
|
|
2369
|
+
readonly environment: readonly ["development"];
|
|
2370
|
+
readonly project: readonly ["default"];
|
|
2371
|
+
};
|
|
2372
|
+
};
|
|
2373
|
+
};
|
|
2374
|
+
readonly components: {};
|
|
2375
|
+
};
|
|
2376
|
+
readonly safeguardTriggerConditionSchema: {
|
|
2377
|
+
readonly $id: "#/components/schemas/safeguardTriggerConditionSchema";
|
|
2378
|
+
readonly type: "object";
|
|
2379
|
+
readonly required: readonly ["operator", "threshold"];
|
|
2380
|
+
readonly additionalProperties: false;
|
|
2381
|
+
readonly description: "The condition that triggers the safeguard.";
|
|
2382
|
+
readonly properties: {
|
|
2383
|
+
readonly operator: {
|
|
2384
|
+
readonly type: "string";
|
|
2385
|
+
readonly enum: readonly [">", "<"];
|
|
2386
|
+
readonly description: "The comparison operator for the threshold check.";
|
|
2387
|
+
readonly example: ">";
|
|
2388
|
+
};
|
|
2389
|
+
readonly threshold: {
|
|
2390
|
+
readonly type: "number";
|
|
2391
|
+
readonly description: "The threshold value to compare against.";
|
|
2392
|
+
readonly example: 100;
|
|
2393
|
+
};
|
|
2394
|
+
};
|
|
2395
|
+
readonly components: {};
|
|
2396
|
+
};
|
|
2397
|
+
};
|
|
2398
|
+
};
|
|
2399
|
+
};
|
|
2400
|
+
readonly metricQuerySchema: {
|
|
2401
|
+
readonly $id: "#/components/schemas/metricQuerySchema";
|
|
2402
|
+
readonly type: "object";
|
|
2403
|
+
readonly required: readonly ["metricName", "timeRange", "aggregationMode", "labelSelectors"];
|
|
2404
|
+
readonly description: "Common metric query configuration for selecting and filtering metric data.";
|
|
2405
|
+
readonly additionalProperties: false;
|
|
2406
|
+
readonly properties: {
|
|
2407
|
+
readonly metricName: {
|
|
2408
|
+
readonly type: "string";
|
|
2409
|
+
readonly description: "The Prometheus metric series to query. It includes both unleash prefix and metric type and display name";
|
|
2410
|
+
readonly example: "unleash_counter_feature_toggle_usage_total";
|
|
2411
|
+
};
|
|
2412
|
+
readonly timeRange: {
|
|
2413
|
+
readonly type: "string";
|
|
2414
|
+
readonly enum: readonly ["hour", "day", "week", "month"];
|
|
2415
|
+
readonly description: "The time range for the metric data.";
|
|
2416
|
+
readonly example: "day";
|
|
2417
|
+
};
|
|
2418
|
+
readonly aggregationMode: {
|
|
2419
|
+
readonly type: "string";
|
|
2420
|
+
readonly description: "The aggregation mode for the metric data.";
|
|
2421
|
+
readonly enum: readonly ["rps", "count", "avg", "sum", "p95", "p99", "p50"];
|
|
2422
|
+
readonly example: "rps";
|
|
2423
|
+
};
|
|
2424
|
+
readonly labelSelectors: {
|
|
2425
|
+
readonly type: "object";
|
|
2426
|
+
readonly additionalProperties: {
|
|
2427
|
+
readonly type: "array";
|
|
2428
|
+
readonly items: {
|
|
2429
|
+
readonly type: "string";
|
|
2430
|
+
};
|
|
2431
|
+
};
|
|
2432
|
+
readonly description: "The selected labels and their values for filtering the metric data.";
|
|
2433
|
+
readonly example: {
|
|
2434
|
+
readonly environment: readonly ["development"];
|
|
2435
|
+
readonly project: readonly ["default"];
|
|
2436
|
+
};
|
|
2437
|
+
};
|
|
2438
|
+
};
|
|
2439
|
+
readonly components: {};
|
|
2440
|
+
};
|
|
2441
|
+
readonly safeguardTriggerConditionSchema: {
|
|
2442
|
+
readonly $id: "#/components/schemas/safeguardTriggerConditionSchema";
|
|
2443
|
+
readonly type: "object";
|
|
2444
|
+
readonly required: readonly ["operator", "threshold"];
|
|
2445
|
+
readonly additionalProperties: false;
|
|
2446
|
+
readonly description: "The condition that triggers the safeguard.";
|
|
2447
|
+
readonly properties: {
|
|
2448
|
+
readonly operator: {
|
|
2449
|
+
readonly type: "string";
|
|
2450
|
+
readonly enum: readonly [">", "<"];
|
|
2451
|
+
readonly description: "The comparison operator for the threshold check.";
|
|
2452
|
+
readonly example: ">";
|
|
2453
|
+
};
|
|
2454
|
+
readonly threshold: {
|
|
2455
|
+
readonly type: "number";
|
|
2456
|
+
readonly description: "The threshold value to compare against.";
|
|
2457
|
+
readonly example: 100;
|
|
2458
|
+
};
|
|
2459
|
+
};
|
|
2460
|
+
readonly components: {};
|
|
2461
|
+
};
|
|
2206
2462
|
};
|
|
2207
2463
|
};
|
|
2208
2464
|
};
|
|
@@ -2242,8 +2498,19 @@ export declare const featureSchema: {
|
|
|
2242
2498
|
readonly nullable: true;
|
|
2243
2499
|
};
|
|
2244
2500
|
readonly transitionCondition: {
|
|
2501
|
+
readonly type: "object";
|
|
2502
|
+
readonly additionalProperties: false;
|
|
2503
|
+
readonly required: readonly ["intervalMinutes"];
|
|
2504
|
+
readonly properties: {
|
|
2505
|
+
readonly intervalMinutes: {
|
|
2506
|
+
readonly type: "integer";
|
|
2507
|
+
readonly minimum: 1;
|
|
2508
|
+
readonly description: "The interval in minutes before transitioning";
|
|
2509
|
+
readonly example: 30;
|
|
2510
|
+
};
|
|
2511
|
+
};
|
|
2245
2512
|
readonly description: "The condition configuration for the transition";
|
|
2246
|
-
readonly
|
|
2513
|
+
readonly nullable: true;
|
|
2247
2514
|
};
|
|
2248
2515
|
readonly progressionExecutedAt: {
|
|
2249
2516
|
readonly type: "string";
|
|
@@ -2252,6 +2519,13 @@ export declare const featureSchema: {
|
|
|
2252
2519
|
readonly example: "2024-01-01T00:00:00.000Z";
|
|
2253
2520
|
readonly nullable: true;
|
|
2254
2521
|
};
|
|
2522
|
+
readonly pausedAt: {
|
|
2523
|
+
readonly type: "string";
|
|
2524
|
+
readonly format: "date-time";
|
|
2525
|
+
readonly description: "The date and time when the milestone was paused.";
|
|
2526
|
+
readonly example: "2024-01-01T00:00:00.000Z";
|
|
2527
|
+
readonly nullable: true;
|
|
2528
|
+
};
|
|
2255
2529
|
readonly strategies: {
|
|
2256
2530
|
readonly type: "array";
|
|
2257
2531
|
readonly description: "A list of strategies that are attached to this milestone.";
|
|
@@ -2307,7 +2581,7 @@ export declare const featureSchema: {
|
|
|
2307
2581
|
};
|
|
2308
2582
|
readonly constraints: {
|
|
2309
2583
|
readonly type: "array";
|
|
2310
|
-
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/
|
|
2584
|
+
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints";
|
|
2311
2585
|
readonly example: readonly [{
|
|
2312
2586
|
readonly values: readonly ["1", "2"];
|
|
2313
2587
|
readonly inverted: false;
|
|
@@ -2367,7 +2641,7 @@ export declare const featureSchema: {
|
|
|
2367
2641
|
};
|
|
2368
2642
|
readonly constraints: {
|
|
2369
2643
|
readonly type: "array";
|
|
2370
|
-
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/
|
|
2644
|
+
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints";
|
|
2371
2645
|
readonly example: readonly [{
|
|
2372
2646
|
readonly values: readonly ["1", "2"];
|
|
2373
2647
|
readonly inverted: false;
|
|
@@ -2409,7 +2683,7 @@ export declare const featureSchema: {
|
|
|
2409
2683
|
readonly constraintSchema: {
|
|
2410
2684
|
readonly type: "object";
|
|
2411
2685
|
readonly required: readonly ["contextName", "operator"];
|
|
2412
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
2686
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
2413
2687
|
readonly properties: {
|
|
2414
2688
|
readonly contextName: {
|
|
2415
2689
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -2417,7 +2691,7 @@ export declare const featureSchema: {
|
|
|
2417
2691
|
readonly type: "string";
|
|
2418
2692
|
};
|
|
2419
2693
|
readonly operator: {
|
|
2420
|
-
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/
|
|
2694
|
+
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/concepts/activation-strategies#constraint-operators).";
|
|
2421
2695
|
readonly type: "string";
|
|
2422
2696
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
2423
2697
|
readonly example: "IN";
|
|
@@ -2472,19 +2746,19 @@ export declare const featureSchema: {
|
|
|
2472
2746
|
};
|
|
2473
2747
|
readonly weight: {
|
|
2474
2748
|
readonly type: "integer";
|
|
2475
|
-
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/
|
|
2749
|
+
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight) for more information";
|
|
2476
2750
|
readonly minimum: 0;
|
|
2477
2751
|
readonly maximum: 1000;
|
|
2478
2752
|
};
|
|
2479
2753
|
readonly weightType: {
|
|
2480
|
-
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/
|
|
2754
|
+
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight).";
|
|
2481
2755
|
readonly type: "string";
|
|
2482
2756
|
readonly example: "fix";
|
|
2483
2757
|
readonly enum: readonly ["variable", "fix"];
|
|
2484
2758
|
};
|
|
2485
2759
|
readonly stickiness: {
|
|
2486
2760
|
readonly type: "string";
|
|
2487
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
2761
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-variants#variant-stickiness) to use for distribution of this variant. Stickiness is how Unleash guarantees that the same user gets the same variant every time";
|
|
2488
2762
|
readonly example: "custom.context.field";
|
|
2489
2763
|
};
|
|
2490
2764
|
readonly payload: {
|
|
@@ -2525,7 +2799,7 @@ export declare const featureSchema: {
|
|
|
2525
2799
|
readonly constraintSchema: {
|
|
2526
2800
|
readonly type: "object";
|
|
2527
2801
|
readonly required: readonly ["contextName", "operator"];
|
|
2528
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
2802
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
2529
2803
|
readonly properties: {
|
|
2530
2804
|
readonly contextName: {
|
|
2531
2805
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -2533,7 +2807,7 @@ export declare const featureSchema: {
|
|
|
2533
2807
|
readonly type: "string";
|
|
2534
2808
|
};
|
|
2535
2809
|
readonly operator: {
|
|
2536
|
-
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/
|
|
2810
|
+
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/concepts/activation-strategies#constraint-operators).";
|
|
2537
2811
|
readonly type: "string";
|
|
2538
2812
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
2539
2813
|
readonly example: "IN";
|
|
@@ -2579,19 +2853,19 @@ export declare const featureSchema: {
|
|
|
2579
2853
|
};
|
|
2580
2854
|
readonly weight: {
|
|
2581
2855
|
readonly type: "integer";
|
|
2582
|
-
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/
|
|
2856
|
+
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight) for more information";
|
|
2583
2857
|
readonly minimum: 0;
|
|
2584
2858
|
readonly maximum: 1000;
|
|
2585
2859
|
};
|
|
2586
2860
|
readonly weightType: {
|
|
2587
|
-
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/
|
|
2861
|
+
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight).";
|
|
2588
2862
|
readonly type: "string";
|
|
2589
2863
|
readonly example: "fix";
|
|
2590
2864
|
readonly enum: readonly ["variable", "fix"];
|
|
2591
2865
|
};
|
|
2592
2866
|
readonly stickiness: {
|
|
2593
2867
|
readonly type: "string";
|
|
2594
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
2868
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-variants#variant-stickiness) to use for distribution of this variant. Stickiness is how Unleash guarantees that the same user gets the same variant every time";
|
|
2595
2869
|
readonly example: "custom.context.field";
|
|
2596
2870
|
};
|
|
2597
2871
|
readonly payload: {
|
|
@@ -2650,7 +2924,7 @@ export declare const featureSchema: {
|
|
|
2650
2924
|
};
|
|
2651
2925
|
readonly constraints: {
|
|
2652
2926
|
readonly type: "array";
|
|
2653
|
-
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/
|
|
2927
|
+
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints";
|
|
2654
2928
|
readonly example: readonly [{
|
|
2655
2929
|
readonly values: readonly ["1", "2"];
|
|
2656
2930
|
readonly inverted: false;
|
|
@@ -2692,7 +2966,7 @@ export declare const featureSchema: {
|
|
|
2692
2966
|
readonly constraintSchema: {
|
|
2693
2967
|
readonly type: "object";
|
|
2694
2968
|
readonly required: readonly ["contextName", "operator"];
|
|
2695
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
2969
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
2696
2970
|
readonly properties: {
|
|
2697
2971
|
readonly contextName: {
|
|
2698
2972
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -2700,7 +2974,7 @@ export declare const featureSchema: {
|
|
|
2700
2974
|
readonly type: "string";
|
|
2701
2975
|
};
|
|
2702
2976
|
readonly operator: {
|
|
2703
|
-
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/
|
|
2977
|
+
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/concepts/activation-strategies#constraint-operators).";
|
|
2704
2978
|
readonly type: "string";
|
|
2705
2979
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
2706
2980
|
readonly example: "IN";
|
|
@@ -2755,19 +3029,19 @@ export declare const featureSchema: {
|
|
|
2755
3029
|
};
|
|
2756
3030
|
readonly weight: {
|
|
2757
3031
|
readonly type: "integer";
|
|
2758
|
-
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/
|
|
3032
|
+
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight) for more information";
|
|
2759
3033
|
readonly minimum: 0;
|
|
2760
3034
|
readonly maximum: 1000;
|
|
2761
3035
|
};
|
|
2762
3036
|
readonly weightType: {
|
|
2763
|
-
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/
|
|
3037
|
+
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight).";
|
|
2764
3038
|
readonly type: "string";
|
|
2765
3039
|
readonly example: "fix";
|
|
2766
3040
|
readonly enum: readonly ["variable", "fix"];
|
|
2767
3041
|
};
|
|
2768
3042
|
readonly stickiness: {
|
|
2769
3043
|
readonly type: "string";
|
|
2770
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
3044
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-variants#variant-stickiness) to use for distribution of this variant. Stickiness is how Unleash guarantees that the same user gets the same variant every time";
|
|
2771
3045
|
readonly example: "custom.context.field";
|
|
2772
3046
|
};
|
|
2773
3047
|
readonly payload: {
|
|
@@ -2808,7 +3082,7 @@ export declare const featureSchema: {
|
|
|
2808
3082
|
readonly constraintSchema: {
|
|
2809
3083
|
readonly type: "object";
|
|
2810
3084
|
readonly required: readonly ["contextName", "operator"];
|
|
2811
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
3085
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
2812
3086
|
readonly properties: {
|
|
2813
3087
|
readonly contextName: {
|
|
2814
3088
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -2816,7 +3090,7 @@ export declare const featureSchema: {
|
|
|
2816
3090
|
readonly type: "string";
|
|
2817
3091
|
};
|
|
2818
3092
|
readonly operator: {
|
|
2819
|
-
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/
|
|
3093
|
+
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/concepts/activation-strategies#constraint-operators).";
|
|
2820
3094
|
readonly type: "string";
|
|
2821
3095
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
2822
3096
|
readonly example: "IN";
|
|
@@ -2862,19 +3136,19 @@ export declare const featureSchema: {
|
|
|
2862
3136
|
};
|
|
2863
3137
|
readonly weight: {
|
|
2864
3138
|
readonly type: "integer";
|
|
2865
|
-
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/
|
|
3139
|
+
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight) for more information";
|
|
2866
3140
|
readonly minimum: 0;
|
|
2867
3141
|
readonly maximum: 1000;
|
|
2868
3142
|
};
|
|
2869
3143
|
readonly weightType: {
|
|
2870
|
-
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/
|
|
3144
|
+
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight).";
|
|
2871
3145
|
readonly type: "string";
|
|
2872
3146
|
readonly example: "fix";
|
|
2873
3147
|
readonly enum: readonly ["variable", "fix"];
|
|
2874
3148
|
};
|
|
2875
3149
|
readonly stickiness: {
|
|
2876
3150
|
readonly type: "string";
|
|
2877
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
3151
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-variants#variant-stickiness) to use for distribution of this variant. Stickiness is how Unleash guarantees that the same user gets the same variant every time";
|
|
2878
3152
|
readonly example: "custom.context.field";
|
|
2879
3153
|
};
|
|
2880
3154
|
readonly payload: {
|
|
@@ -2964,7 +3238,7 @@ export declare const featureSchema: {
|
|
|
2964
3238
|
};
|
|
2965
3239
|
readonly constraints: {
|
|
2966
3240
|
readonly type: "array";
|
|
2967
|
-
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/
|
|
3241
|
+
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints";
|
|
2968
3242
|
readonly example: readonly [{
|
|
2969
3243
|
readonly values: readonly ["1", "2"];
|
|
2970
3244
|
readonly inverted: false;
|
|
@@ -3024,7 +3298,7 @@ export declare const featureSchema: {
|
|
|
3024
3298
|
};
|
|
3025
3299
|
readonly constraints: {
|
|
3026
3300
|
readonly type: "array";
|
|
3027
|
-
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/
|
|
3301
|
+
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints";
|
|
3028
3302
|
readonly example: readonly [{
|
|
3029
3303
|
readonly values: readonly ["1", "2"];
|
|
3030
3304
|
readonly inverted: false;
|
|
@@ -3066,7 +3340,7 @@ export declare const featureSchema: {
|
|
|
3066
3340
|
readonly constraintSchema: {
|
|
3067
3341
|
readonly type: "object";
|
|
3068
3342
|
readonly required: readonly ["contextName", "operator"];
|
|
3069
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
3343
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
3070
3344
|
readonly properties: {
|
|
3071
3345
|
readonly contextName: {
|
|
3072
3346
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -3074,7 +3348,7 @@ export declare const featureSchema: {
|
|
|
3074
3348
|
readonly type: "string";
|
|
3075
3349
|
};
|
|
3076
3350
|
readonly operator: {
|
|
3077
|
-
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/
|
|
3351
|
+
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/concepts/activation-strategies#constraint-operators).";
|
|
3078
3352
|
readonly type: "string";
|
|
3079
3353
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
3080
3354
|
readonly example: "IN";
|
|
@@ -3129,19 +3403,19 @@ export declare const featureSchema: {
|
|
|
3129
3403
|
};
|
|
3130
3404
|
readonly weight: {
|
|
3131
3405
|
readonly type: "integer";
|
|
3132
|
-
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/
|
|
3406
|
+
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight) for more information";
|
|
3133
3407
|
readonly minimum: 0;
|
|
3134
3408
|
readonly maximum: 1000;
|
|
3135
3409
|
};
|
|
3136
3410
|
readonly weightType: {
|
|
3137
|
-
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/
|
|
3411
|
+
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight).";
|
|
3138
3412
|
readonly type: "string";
|
|
3139
3413
|
readonly example: "fix";
|
|
3140
3414
|
readonly enum: readonly ["variable", "fix"];
|
|
3141
3415
|
};
|
|
3142
3416
|
readonly stickiness: {
|
|
3143
3417
|
readonly type: "string";
|
|
3144
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
3418
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-variants#variant-stickiness) to use for distribution of this variant. Stickiness is how Unleash guarantees that the same user gets the same variant every time";
|
|
3145
3419
|
readonly example: "custom.context.field";
|
|
3146
3420
|
};
|
|
3147
3421
|
readonly payload: {
|
|
@@ -3182,7 +3456,7 @@ export declare const featureSchema: {
|
|
|
3182
3456
|
readonly constraintSchema: {
|
|
3183
3457
|
readonly type: "object";
|
|
3184
3458
|
readonly required: readonly ["contextName", "operator"];
|
|
3185
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
3459
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
3186
3460
|
readonly properties: {
|
|
3187
3461
|
readonly contextName: {
|
|
3188
3462
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -3190,7 +3464,7 @@ export declare const featureSchema: {
|
|
|
3190
3464
|
readonly type: "string";
|
|
3191
3465
|
};
|
|
3192
3466
|
readonly operator: {
|
|
3193
|
-
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/
|
|
3467
|
+
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/concepts/activation-strategies#constraint-operators).";
|
|
3194
3468
|
readonly type: "string";
|
|
3195
3469
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
3196
3470
|
readonly example: "IN";
|
|
@@ -3236,19 +3510,19 @@ export declare const featureSchema: {
|
|
|
3236
3510
|
};
|
|
3237
3511
|
readonly weight: {
|
|
3238
3512
|
readonly type: "integer";
|
|
3239
|
-
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/
|
|
3513
|
+
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight) for more information";
|
|
3240
3514
|
readonly minimum: 0;
|
|
3241
3515
|
readonly maximum: 1000;
|
|
3242
3516
|
};
|
|
3243
3517
|
readonly weightType: {
|
|
3244
|
-
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/
|
|
3518
|
+
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight).";
|
|
3245
3519
|
readonly type: "string";
|
|
3246
3520
|
readonly example: "fix";
|
|
3247
3521
|
readonly enum: readonly ["variable", "fix"];
|
|
3248
3522
|
};
|
|
3249
3523
|
readonly stickiness: {
|
|
3250
3524
|
readonly type: "string";
|
|
3251
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
3525
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-variants#variant-stickiness) to use for distribution of this variant. Stickiness is how Unleash guarantees that the same user gets the same variant every time";
|
|
3252
3526
|
readonly example: "custom.context.field";
|
|
3253
3527
|
};
|
|
3254
3528
|
readonly payload: {
|
|
@@ -3307,7 +3581,7 @@ export declare const featureSchema: {
|
|
|
3307
3581
|
};
|
|
3308
3582
|
readonly constraints: {
|
|
3309
3583
|
readonly type: "array";
|
|
3310
|
-
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/
|
|
3584
|
+
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints";
|
|
3311
3585
|
readonly example: readonly [{
|
|
3312
3586
|
readonly values: readonly ["1", "2"];
|
|
3313
3587
|
readonly inverted: false;
|
|
@@ -3349,7 +3623,7 @@ export declare const featureSchema: {
|
|
|
3349
3623
|
readonly constraintSchema: {
|
|
3350
3624
|
readonly type: "object";
|
|
3351
3625
|
readonly required: readonly ["contextName", "operator"];
|
|
3352
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
3626
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
3353
3627
|
readonly properties: {
|
|
3354
3628
|
readonly contextName: {
|
|
3355
3629
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -3357,7 +3631,7 @@ export declare const featureSchema: {
|
|
|
3357
3631
|
readonly type: "string";
|
|
3358
3632
|
};
|
|
3359
3633
|
readonly operator: {
|
|
3360
|
-
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/
|
|
3634
|
+
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/concepts/activation-strategies#constraint-operators).";
|
|
3361
3635
|
readonly type: "string";
|
|
3362
3636
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
3363
3637
|
readonly example: "IN";
|
|
@@ -3412,19 +3686,19 @@ export declare const featureSchema: {
|
|
|
3412
3686
|
};
|
|
3413
3687
|
readonly weight: {
|
|
3414
3688
|
readonly type: "integer";
|
|
3415
|
-
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/
|
|
3689
|
+
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight) for more information";
|
|
3416
3690
|
readonly minimum: 0;
|
|
3417
3691
|
readonly maximum: 1000;
|
|
3418
3692
|
};
|
|
3419
3693
|
readonly weightType: {
|
|
3420
|
-
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/
|
|
3694
|
+
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight).";
|
|
3421
3695
|
readonly type: "string";
|
|
3422
3696
|
readonly example: "fix";
|
|
3423
3697
|
readonly enum: readonly ["variable", "fix"];
|
|
3424
3698
|
};
|
|
3425
3699
|
readonly stickiness: {
|
|
3426
3700
|
readonly type: "string";
|
|
3427
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
3701
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-variants#variant-stickiness) to use for distribution of this variant. Stickiness is how Unleash guarantees that the same user gets the same variant every time";
|
|
3428
3702
|
readonly example: "custom.context.field";
|
|
3429
3703
|
};
|
|
3430
3704
|
readonly payload: {
|
|
@@ -3466,19 +3740,19 @@ export declare const featureSchema: {
|
|
|
3466
3740
|
};
|
|
3467
3741
|
readonly weight: {
|
|
3468
3742
|
readonly type: "integer";
|
|
3469
|
-
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/
|
|
3743
|
+
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight) for more information";
|
|
3470
3744
|
readonly minimum: 0;
|
|
3471
3745
|
readonly maximum: 1000;
|
|
3472
3746
|
};
|
|
3473
3747
|
readonly weightType: {
|
|
3474
|
-
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/
|
|
3748
|
+
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight).";
|
|
3475
3749
|
readonly type: "string";
|
|
3476
3750
|
readonly example: "fix";
|
|
3477
3751
|
readonly enum: readonly ["variable", "fix"];
|
|
3478
3752
|
};
|
|
3479
3753
|
readonly stickiness: {
|
|
3480
3754
|
readonly type: "string";
|
|
3481
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
3755
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-variants#variant-stickiness) to use for distribution of this variant. Stickiness is how Unleash guarantees that the same user gets the same variant every time";
|
|
3482
3756
|
readonly example: "custom.context.field";
|
|
3483
3757
|
};
|
|
3484
3758
|
readonly payload: {
|
|
@@ -3572,7 +3846,7 @@ export declare const featureSchema: {
|
|
|
3572
3846
|
};
|
|
3573
3847
|
readonly constraints: {
|
|
3574
3848
|
readonly type: "array";
|
|
3575
|
-
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/
|
|
3849
|
+
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints";
|
|
3576
3850
|
readonly items: {
|
|
3577
3851
|
readonly $ref: "#/components/schemas/constraintSchema";
|
|
3578
3852
|
};
|
|
@@ -3593,7 +3867,7 @@ export declare const featureSchema: {
|
|
|
3593
3867
|
readonly constraintSchema: {
|
|
3594
3868
|
readonly type: "object";
|
|
3595
3869
|
readonly required: readonly ["contextName", "operator"];
|
|
3596
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
3870
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
3597
3871
|
readonly properties: {
|
|
3598
3872
|
readonly contextName: {
|
|
3599
3873
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -3601,7 +3875,7 @@ export declare const featureSchema: {
|
|
|
3601
3875
|
readonly type: "string";
|
|
3602
3876
|
};
|
|
3603
3877
|
readonly operator: {
|
|
3604
|
-
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/
|
|
3878
|
+
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/concepts/activation-strategies#constraint-operators).";
|
|
3605
3879
|
readonly type: "string";
|
|
3606
3880
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
3607
3881
|
readonly example: "IN";
|
|
@@ -3657,19 +3931,19 @@ export declare const featureSchema: {
|
|
|
3657
3931
|
};
|
|
3658
3932
|
readonly weight: {
|
|
3659
3933
|
readonly type: "integer";
|
|
3660
|
-
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/
|
|
3934
|
+
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight) for more information";
|
|
3661
3935
|
readonly minimum: 0;
|
|
3662
3936
|
readonly maximum: 1000;
|
|
3663
3937
|
};
|
|
3664
3938
|
readonly weightType: {
|
|
3665
|
-
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/
|
|
3939
|
+
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight).";
|
|
3666
3940
|
readonly type: "string";
|
|
3667
3941
|
readonly example: "fix";
|
|
3668
3942
|
readonly enum: readonly ["variable", "fix"];
|
|
3669
3943
|
};
|
|
3670
3944
|
readonly stickiness: {
|
|
3671
3945
|
readonly type: "string";
|
|
3672
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
3946
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-variants#variant-stickiness) to use for distribution of this variant. Stickiness is how Unleash guarantees that the same user gets the same variant every time";
|
|
3673
3947
|
readonly example: "custom.context.field";
|
|
3674
3948
|
};
|
|
3675
3949
|
readonly payload: {
|
|
@@ -3712,19 +3986,19 @@ export declare const featureSchema: {
|
|
|
3712
3986
|
};
|
|
3713
3987
|
readonly weight: {
|
|
3714
3988
|
readonly type: "integer";
|
|
3715
|
-
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/
|
|
3989
|
+
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight) for more information";
|
|
3716
3990
|
readonly minimum: 0;
|
|
3717
3991
|
readonly maximum: 1000;
|
|
3718
3992
|
};
|
|
3719
3993
|
readonly weightType: {
|
|
3720
|
-
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/
|
|
3994
|
+
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight).";
|
|
3721
3995
|
readonly type: "string";
|
|
3722
3996
|
readonly example: "fix";
|
|
3723
3997
|
readonly enum: readonly ["variable", "fix"];
|
|
3724
3998
|
};
|
|
3725
3999
|
readonly stickiness: {
|
|
3726
4000
|
readonly type: "string";
|
|
3727
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
4001
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-variants#variant-stickiness) to use for distribution of this variant. Stickiness is how Unleash guarantees that the same user gets the same variant every time";
|
|
3728
4002
|
readonly example: "custom.context.field";
|
|
3729
4003
|
};
|
|
3730
4004
|
readonly payload: {
|
|
@@ -3786,7 +4060,7 @@ export declare const featureSchema: {
|
|
|
3786
4060
|
readonly $id: "#/components/schemas/variantSchema";
|
|
3787
4061
|
readonly type: "object";
|
|
3788
4062
|
readonly additionalProperties: false;
|
|
3789
|
-
readonly description: "A variant allows for further separation of users into segments. See [our excellent documentation](https://docs.getunleash.io/
|
|
4063
|
+
readonly description: "A variant allows for further separation of users into segments. See [our excellent documentation](https://docs.getunleash.io/concepts/feature-flag-variants#what-are-variants) for a more detailed description";
|
|
3790
4064
|
readonly required: readonly ["name", "weight"];
|
|
3791
4065
|
readonly properties: {
|
|
3792
4066
|
readonly name: {
|
|
@@ -3796,7 +4070,7 @@ export declare const featureSchema: {
|
|
|
3796
4070
|
};
|
|
3797
4071
|
readonly weight: {
|
|
3798
4072
|
readonly type: "number";
|
|
3799
|
-
readonly description: "The weight is the likelihood of any one user getting this variant. It is a number between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/
|
|
4073
|
+
readonly description: "The weight is the likelihood of any one user getting this variant. It is a number between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight) for more information";
|
|
3800
4074
|
readonly minimum: 0;
|
|
3801
4075
|
readonly maximum: 1000;
|
|
3802
4076
|
};
|
|
@@ -3808,7 +4082,7 @@ export declare const featureSchema: {
|
|
|
3808
4082
|
};
|
|
3809
4083
|
readonly stickiness: {
|
|
3810
4084
|
readonly type: "string";
|
|
3811
|
-
readonly description: "[Stickiness](https://docs.getunleash.io/
|
|
4085
|
+
readonly description: "[Stickiness](https://docs.getunleash.io/concepts/feature-flag-variants#variant-stickiness) is how Unleash guarantees that the same user gets the same variant every time";
|
|
3812
4086
|
readonly example: "custom.context.field";
|
|
3813
4087
|
};
|
|
3814
4088
|
readonly payload: {
|
|
@@ -3871,7 +4145,7 @@ export declare const featureSchema: {
|
|
|
3871
4145
|
readonly tagSchema: {
|
|
3872
4146
|
readonly $id: "#/components/schemas/tagSchema";
|
|
3873
4147
|
readonly type: "object";
|
|
3874
|
-
readonly description: "Representation of a [tag](https://docs.getunleash.io/
|
|
4148
|
+
readonly description: "Representation of a [tag](https://docs.getunleash.io/concepts/feature-flags#tags)";
|
|
3875
4149
|
readonly additionalProperties: false;
|
|
3876
4150
|
readonly required: readonly ["value", "type"];
|
|
3877
4151
|
readonly properties: {
|
|
@@ -3886,7 +4160,7 @@ export declare const featureSchema: {
|
|
|
3886
4160
|
readonly type: "string";
|
|
3887
4161
|
readonly minLength: 2;
|
|
3888
4162
|
readonly maxLength: 50;
|
|
3889
|
-
readonly description: "The [type](https://docs.getunleash.io/
|
|
4163
|
+
readonly description: "The [type](https://docs.getunleash.io/concepts/feature-flags#tags) of the tag";
|
|
3890
4164
|
readonly example: "simple";
|
|
3891
4165
|
};
|
|
3892
4166
|
readonly color: {
|
|
@@ -3972,6 +4246,13 @@ export declare const featureSchema: {
|
|
|
3972
4246
|
readonly example: "01JB9GGTGQYEQ9D40R17T3YVW2";
|
|
3973
4247
|
readonly nullable: false;
|
|
3974
4248
|
};
|
|
4249
|
+
readonly safeguards: {
|
|
4250
|
+
readonly type: "array";
|
|
4251
|
+
readonly description: "An array of safeguards configured for this release plan.";
|
|
4252
|
+
readonly items: {
|
|
4253
|
+
readonly $ref: "#/components/schemas/safeguardSchema";
|
|
4254
|
+
};
|
|
4255
|
+
};
|
|
3975
4256
|
};
|
|
3976
4257
|
readonly components: {
|
|
3977
4258
|
readonly schemas: {
|
|
@@ -4011,8 +4292,19 @@ export declare const featureSchema: {
|
|
|
4011
4292
|
readonly nullable: true;
|
|
4012
4293
|
};
|
|
4013
4294
|
readonly transitionCondition: {
|
|
4295
|
+
readonly type: "object";
|
|
4296
|
+
readonly additionalProperties: false;
|
|
4297
|
+
readonly required: readonly ["intervalMinutes"];
|
|
4298
|
+
readonly properties: {
|
|
4299
|
+
readonly intervalMinutes: {
|
|
4300
|
+
readonly type: "integer";
|
|
4301
|
+
readonly minimum: 1;
|
|
4302
|
+
readonly description: "The interval in minutes before transitioning";
|
|
4303
|
+
readonly example: 30;
|
|
4304
|
+
};
|
|
4305
|
+
};
|
|
4014
4306
|
readonly description: "The condition configuration for the transition";
|
|
4015
|
-
readonly
|
|
4307
|
+
readonly nullable: true;
|
|
4016
4308
|
};
|
|
4017
4309
|
readonly progressionExecutedAt: {
|
|
4018
4310
|
readonly type: "string";
|
|
@@ -4021,6 +4313,13 @@ export declare const featureSchema: {
|
|
|
4021
4313
|
readonly example: "2024-01-01T00:00:00.000Z";
|
|
4022
4314
|
readonly nullable: true;
|
|
4023
4315
|
};
|
|
4316
|
+
readonly pausedAt: {
|
|
4317
|
+
readonly type: "string";
|
|
4318
|
+
readonly format: "date-time";
|
|
4319
|
+
readonly description: "The date and time when the milestone was paused.";
|
|
4320
|
+
readonly example: "2024-01-01T00:00:00.000Z";
|
|
4321
|
+
readonly nullable: true;
|
|
4322
|
+
};
|
|
4024
4323
|
readonly strategies: {
|
|
4025
4324
|
readonly type: "array";
|
|
4026
4325
|
readonly description: "A list of strategies that are attached to this milestone.";
|
|
@@ -4076,7 +4375,7 @@ export declare const featureSchema: {
|
|
|
4076
4375
|
};
|
|
4077
4376
|
readonly constraints: {
|
|
4078
4377
|
readonly type: "array";
|
|
4079
|
-
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/
|
|
4378
|
+
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints";
|
|
4080
4379
|
readonly example: readonly [{
|
|
4081
4380
|
readonly values: readonly ["1", "2"];
|
|
4082
4381
|
readonly inverted: false;
|
|
@@ -4136,7 +4435,7 @@ export declare const featureSchema: {
|
|
|
4136
4435
|
};
|
|
4137
4436
|
readonly constraints: {
|
|
4138
4437
|
readonly type: "array";
|
|
4139
|
-
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/
|
|
4438
|
+
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints";
|
|
4140
4439
|
readonly example: readonly [{
|
|
4141
4440
|
readonly values: readonly ["1", "2"];
|
|
4142
4441
|
readonly inverted: false;
|
|
@@ -4178,7 +4477,7 @@ export declare const featureSchema: {
|
|
|
4178
4477
|
readonly constraintSchema: {
|
|
4179
4478
|
readonly type: "object";
|
|
4180
4479
|
readonly required: readonly ["contextName", "operator"];
|
|
4181
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
4480
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
4182
4481
|
readonly properties: {
|
|
4183
4482
|
readonly contextName: {
|
|
4184
4483
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -4186,7 +4485,7 @@ export declare const featureSchema: {
|
|
|
4186
4485
|
readonly type: "string";
|
|
4187
4486
|
};
|
|
4188
4487
|
readonly operator: {
|
|
4189
|
-
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/
|
|
4488
|
+
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/concepts/activation-strategies#constraint-operators).";
|
|
4190
4489
|
readonly type: "string";
|
|
4191
4490
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
4192
4491
|
readonly example: "IN";
|
|
@@ -4241,19 +4540,19 @@ export declare const featureSchema: {
|
|
|
4241
4540
|
};
|
|
4242
4541
|
readonly weight: {
|
|
4243
4542
|
readonly type: "integer";
|
|
4244
|
-
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/
|
|
4543
|
+
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight) for more information";
|
|
4245
4544
|
readonly minimum: 0;
|
|
4246
4545
|
readonly maximum: 1000;
|
|
4247
4546
|
};
|
|
4248
4547
|
readonly weightType: {
|
|
4249
|
-
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/
|
|
4548
|
+
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight).";
|
|
4250
4549
|
readonly type: "string";
|
|
4251
4550
|
readonly example: "fix";
|
|
4252
4551
|
readonly enum: readonly ["variable", "fix"];
|
|
4253
4552
|
};
|
|
4254
4553
|
readonly stickiness: {
|
|
4255
4554
|
readonly type: "string";
|
|
4256
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
4555
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-variants#variant-stickiness) to use for distribution of this variant. Stickiness is how Unleash guarantees that the same user gets the same variant every time";
|
|
4257
4556
|
readonly example: "custom.context.field";
|
|
4258
4557
|
};
|
|
4259
4558
|
readonly payload: {
|
|
@@ -4294,7 +4593,7 @@ export declare const featureSchema: {
|
|
|
4294
4593
|
readonly constraintSchema: {
|
|
4295
4594
|
readonly type: "object";
|
|
4296
4595
|
readonly required: readonly ["contextName", "operator"];
|
|
4297
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
4596
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
4298
4597
|
readonly properties: {
|
|
4299
4598
|
readonly contextName: {
|
|
4300
4599
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -4302,7 +4601,7 @@ export declare const featureSchema: {
|
|
|
4302
4601
|
readonly type: "string";
|
|
4303
4602
|
};
|
|
4304
4603
|
readonly operator: {
|
|
4305
|
-
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/
|
|
4604
|
+
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/concepts/activation-strategies#constraint-operators).";
|
|
4306
4605
|
readonly type: "string";
|
|
4307
4606
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
4308
4607
|
readonly example: "IN";
|
|
@@ -4348,19 +4647,19 @@ export declare const featureSchema: {
|
|
|
4348
4647
|
};
|
|
4349
4648
|
readonly weight: {
|
|
4350
4649
|
readonly type: "integer";
|
|
4351
|
-
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/
|
|
4650
|
+
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight) for more information";
|
|
4352
4651
|
readonly minimum: 0;
|
|
4353
4652
|
readonly maximum: 1000;
|
|
4354
4653
|
};
|
|
4355
4654
|
readonly weightType: {
|
|
4356
|
-
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/
|
|
4655
|
+
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight).";
|
|
4357
4656
|
readonly type: "string";
|
|
4358
4657
|
readonly example: "fix";
|
|
4359
4658
|
readonly enum: readonly ["variable", "fix"];
|
|
4360
4659
|
};
|
|
4361
4660
|
readonly stickiness: {
|
|
4362
4661
|
readonly type: "string";
|
|
4363
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
4662
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-variants#variant-stickiness) to use for distribution of this variant. Stickiness is how Unleash guarantees that the same user gets the same variant every time";
|
|
4364
4663
|
readonly example: "custom.context.field";
|
|
4365
4664
|
};
|
|
4366
4665
|
readonly payload: {
|
|
@@ -4419,7 +4718,7 @@ export declare const featureSchema: {
|
|
|
4419
4718
|
};
|
|
4420
4719
|
readonly constraints: {
|
|
4421
4720
|
readonly type: "array";
|
|
4422
|
-
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/
|
|
4721
|
+
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints";
|
|
4423
4722
|
readonly example: readonly [{
|
|
4424
4723
|
readonly values: readonly ["1", "2"];
|
|
4425
4724
|
readonly inverted: false;
|
|
@@ -4461,7 +4760,7 @@ export declare const featureSchema: {
|
|
|
4461
4760
|
readonly constraintSchema: {
|
|
4462
4761
|
readonly type: "object";
|
|
4463
4762
|
readonly required: readonly ["contextName", "operator"];
|
|
4464
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
4763
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
4465
4764
|
readonly properties: {
|
|
4466
4765
|
readonly contextName: {
|
|
4467
4766
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -4469,7 +4768,7 @@ export declare const featureSchema: {
|
|
|
4469
4768
|
readonly type: "string";
|
|
4470
4769
|
};
|
|
4471
4770
|
readonly operator: {
|
|
4472
|
-
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/
|
|
4771
|
+
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/concepts/activation-strategies#constraint-operators).";
|
|
4473
4772
|
readonly type: "string";
|
|
4474
4773
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
4475
4774
|
readonly example: "IN";
|
|
@@ -4524,19 +4823,19 @@ export declare const featureSchema: {
|
|
|
4524
4823
|
};
|
|
4525
4824
|
readonly weight: {
|
|
4526
4825
|
readonly type: "integer";
|
|
4527
|
-
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/
|
|
4826
|
+
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight) for more information";
|
|
4528
4827
|
readonly minimum: 0;
|
|
4529
4828
|
readonly maximum: 1000;
|
|
4530
4829
|
};
|
|
4531
4830
|
readonly weightType: {
|
|
4532
|
-
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/
|
|
4831
|
+
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight).";
|
|
4533
4832
|
readonly type: "string";
|
|
4534
4833
|
readonly example: "fix";
|
|
4535
4834
|
readonly enum: readonly ["variable", "fix"];
|
|
4536
4835
|
};
|
|
4537
4836
|
readonly stickiness: {
|
|
4538
4837
|
readonly type: "string";
|
|
4539
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
4838
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-variants#variant-stickiness) to use for distribution of this variant. Stickiness is how Unleash guarantees that the same user gets the same variant every time";
|
|
4540
4839
|
readonly example: "custom.context.field";
|
|
4541
4840
|
};
|
|
4542
4841
|
readonly payload: {
|
|
@@ -4577,7 +4876,7 @@ export declare const featureSchema: {
|
|
|
4577
4876
|
readonly constraintSchema: {
|
|
4578
4877
|
readonly type: "object";
|
|
4579
4878
|
readonly required: readonly ["contextName", "operator"];
|
|
4580
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
4879
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
4581
4880
|
readonly properties: {
|
|
4582
4881
|
readonly contextName: {
|
|
4583
4882
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -4585,7 +4884,7 @@ export declare const featureSchema: {
|
|
|
4585
4884
|
readonly type: "string";
|
|
4586
4885
|
};
|
|
4587
4886
|
readonly operator: {
|
|
4588
|
-
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/
|
|
4887
|
+
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/concepts/activation-strategies#constraint-operators).";
|
|
4589
4888
|
readonly type: "string";
|
|
4590
4889
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
4591
4890
|
readonly example: "IN";
|
|
@@ -4631,19 +4930,19 @@ export declare const featureSchema: {
|
|
|
4631
4930
|
};
|
|
4632
4931
|
readonly weight: {
|
|
4633
4932
|
readonly type: "integer";
|
|
4634
|
-
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/
|
|
4933
|
+
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight) for more information";
|
|
4635
4934
|
readonly minimum: 0;
|
|
4636
4935
|
readonly maximum: 1000;
|
|
4637
4936
|
};
|
|
4638
4937
|
readonly weightType: {
|
|
4639
|
-
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/
|
|
4938
|
+
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight).";
|
|
4640
4939
|
readonly type: "string";
|
|
4641
4940
|
readonly example: "fix";
|
|
4642
4941
|
readonly enum: readonly ["variable", "fix"];
|
|
4643
4942
|
};
|
|
4644
4943
|
readonly stickiness: {
|
|
4645
4944
|
readonly type: "string";
|
|
4646
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
4945
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-variants#variant-stickiness) to use for distribution of this variant. Stickiness is how Unleash guarantees that the same user gets the same variant every time";
|
|
4647
4946
|
readonly example: "custom.context.field";
|
|
4648
4947
|
};
|
|
4649
4948
|
readonly payload: {
|
|
@@ -4733,7 +5032,7 @@ export declare const featureSchema: {
|
|
|
4733
5032
|
};
|
|
4734
5033
|
readonly constraints: {
|
|
4735
5034
|
readonly type: "array";
|
|
4736
|
-
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/
|
|
5035
|
+
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints";
|
|
4737
5036
|
readonly example: readonly [{
|
|
4738
5037
|
readonly values: readonly ["1", "2"];
|
|
4739
5038
|
readonly inverted: false;
|
|
@@ -4793,7 +5092,7 @@ export declare const featureSchema: {
|
|
|
4793
5092
|
};
|
|
4794
5093
|
readonly constraints: {
|
|
4795
5094
|
readonly type: "array";
|
|
4796
|
-
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/
|
|
5095
|
+
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints";
|
|
4797
5096
|
readonly example: readonly [{
|
|
4798
5097
|
readonly values: readonly ["1", "2"];
|
|
4799
5098
|
readonly inverted: false;
|
|
@@ -4835,7 +5134,7 @@ export declare const featureSchema: {
|
|
|
4835
5134
|
readonly constraintSchema: {
|
|
4836
5135
|
readonly type: "object";
|
|
4837
5136
|
readonly required: readonly ["contextName", "operator"];
|
|
4838
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
5137
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
4839
5138
|
readonly properties: {
|
|
4840
5139
|
readonly contextName: {
|
|
4841
5140
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -4843,7 +5142,7 @@ export declare const featureSchema: {
|
|
|
4843
5142
|
readonly type: "string";
|
|
4844
5143
|
};
|
|
4845
5144
|
readonly operator: {
|
|
4846
|
-
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/
|
|
5145
|
+
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/concepts/activation-strategies#constraint-operators).";
|
|
4847
5146
|
readonly type: "string";
|
|
4848
5147
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
4849
5148
|
readonly example: "IN";
|
|
@@ -4898,19 +5197,19 @@ export declare const featureSchema: {
|
|
|
4898
5197
|
};
|
|
4899
5198
|
readonly weight: {
|
|
4900
5199
|
readonly type: "integer";
|
|
4901
|
-
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/
|
|
5200
|
+
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight) for more information";
|
|
4902
5201
|
readonly minimum: 0;
|
|
4903
5202
|
readonly maximum: 1000;
|
|
4904
5203
|
};
|
|
4905
5204
|
readonly weightType: {
|
|
4906
|
-
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/
|
|
5205
|
+
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight).";
|
|
4907
5206
|
readonly type: "string";
|
|
4908
5207
|
readonly example: "fix";
|
|
4909
5208
|
readonly enum: readonly ["variable", "fix"];
|
|
4910
5209
|
};
|
|
4911
5210
|
readonly stickiness: {
|
|
4912
5211
|
readonly type: "string";
|
|
4913
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
5212
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-variants#variant-stickiness) to use for distribution of this variant. Stickiness is how Unleash guarantees that the same user gets the same variant every time";
|
|
4914
5213
|
readonly example: "custom.context.field";
|
|
4915
5214
|
};
|
|
4916
5215
|
readonly payload: {
|
|
@@ -4951,7 +5250,7 @@ export declare const featureSchema: {
|
|
|
4951
5250
|
readonly constraintSchema: {
|
|
4952
5251
|
readonly type: "object";
|
|
4953
5252
|
readonly required: readonly ["contextName", "operator"];
|
|
4954
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
5253
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
4955
5254
|
readonly properties: {
|
|
4956
5255
|
readonly contextName: {
|
|
4957
5256
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -4959,7 +5258,7 @@ export declare const featureSchema: {
|
|
|
4959
5258
|
readonly type: "string";
|
|
4960
5259
|
};
|
|
4961
5260
|
readonly operator: {
|
|
4962
|
-
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/
|
|
5261
|
+
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/concepts/activation-strategies#constraint-operators).";
|
|
4963
5262
|
readonly type: "string";
|
|
4964
5263
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
4965
5264
|
readonly example: "IN";
|
|
@@ -5005,19 +5304,19 @@ export declare const featureSchema: {
|
|
|
5005
5304
|
};
|
|
5006
5305
|
readonly weight: {
|
|
5007
5306
|
readonly type: "integer";
|
|
5008
|
-
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/
|
|
5307
|
+
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight) for more information";
|
|
5009
5308
|
readonly minimum: 0;
|
|
5010
5309
|
readonly maximum: 1000;
|
|
5011
5310
|
};
|
|
5012
5311
|
readonly weightType: {
|
|
5013
|
-
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/
|
|
5312
|
+
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight).";
|
|
5014
5313
|
readonly type: "string";
|
|
5015
5314
|
readonly example: "fix";
|
|
5016
5315
|
readonly enum: readonly ["variable", "fix"];
|
|
5017
5316
|
};
|
|
5018
5317
|
readonly stickiness: {
|
|
5019
5318
|
readonly type: "string";
|
|
5020
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
5319
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-variants#variant-stickiness) to use for distribution of this variant. Stickiness is how Unleash guarantees that the same user gets the same variant every time";
|
|
5021
5320
|
readonly example: "custom.context.field";
|
|
5022
5321
|
};
|
|
5023
5322
|
readonly payload: {
|
|
@@ -5076,7 +5375,7 @@ export declare const featureSchema: {
|
|
|
5076
5375
|
};
|
|
5077
5376
|
readonly constraints: {
|
|
5078
5377
|
readonly type: "array";
|
|
5079
|
-
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/
|
|
5378
|
+
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints";
|
|
5080
5379
|
readonly example: readonly [{
|
|
5081
5380
|
readonly values: readonly ["1", "2"];
|
|
5082
5381
|
readonly inverted: false;
|
|
@@ -5118,7 +5417,7 @@ export declare const featureSchema: {
|
|
|
5118
5417
|
readonly constraintSchema: {
|
|
5119
5418
|
readonly type: "object";
|
|
5120
5419
|
readonly required: readonly ["contextName", "operator"];
|
|
5121
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
5420
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
5122
5421
|
readonly properties: {
|
|
5123
5422
|
readonly contextName: {
|
|
5124
5423
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -5126,7 +5425,7 @@ export declare const featureSchema: {
|
|
|
5126
5425
|
readonly type: "string";
|
|
5127
5426
|
};
|
|
5128
5427
|
readonly operator: {
|
|
5129
|
-
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/
|
|
5428
|
+
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/concepts/activation-strategies#constraint-operators).";
|
|
5130
5429
|
readonly type: "string";
|
|
5131
5430
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
5132
5431
|
readonly example: "IN";
|
|
@@ -5181,19 +5480,19 @@ export declare const featureSchema: {
|
|
|
5181
5480
|
};
|
|
5182
5481
|
readonly weight: {
|
|
5183
5482
|
readonly type: "integer";
|
|
5184
|
-
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/
|
|
5483
|
+
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight) for more information";
|
|
5185
5484
|
readonly minimum: 0;
|
|
5186
5485
|
readonly maximum: 1000;
|
|
5187
5486
|
};
|
|
5188
5487
|
readonly weightType: {
|
|
5189
|
-
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/
|
|
5488
|
+
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight).";
|
|
5190
5489
|
readonly type: "string";
|
|
5191
5490
|
readonly example: "fix";
|
|
5192
5491
|
readonly enum: readonly ["variable", "fix"];
|
|
5193
5492
|
};
|
|
5194
5493
|
readonly stickiness: {
|
|
5195
5494
|
readonly type: "string";
|
|
5196
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
5495
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-variants#variant-stickiness) to use for distribution of this variant. Stickiness is how Unleash guarantees that the same user gets the same variant every time";
|
|
5197
5496
|
readonly example: "custom.context.field";
|
|
5198
5497
|
};
|
|
5199
5498
|
readonly payload: {
|
|
@@ -5234,7 +5533,7 @@ export declare const featureSchema: {
|
|
|
5234
5533
|
readonly constraintSchema: {
|
|
5235
5534
|
readonly type: "object";
|
|
5236
5535
|
readonly required: readonly ["contextName", "operator"];
|
|
5237
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
5536
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
5238
5537
|
readonly properties: {
|
|
5239
5538
|
readonly contextName: {
|
|
5240
5539
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -5242,7 +5541,7 @@ export declare const featureSchema: {
|
|
|
5242
5541
|
readonly type: "string";
|
|
5243
5542
|
};
|
|
5244
5543
|
readonly operator: {
|
|
5245
|
-
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/
|
|
5544
|
+
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/concepts/activation-strategies#constraint-operators).";
|
|
5246
5545
|
readonly type: "string";
|
|
5247
5546
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
5248
5547
|
readonly example: "IN";
|
|
@@ -5288,19 +5587,19 @@ export declare const featureSchema: {
|
|
|
5288
5587
|
};
|
|
5289
5588
|
readonly weight: {
|
|
5290
5589
|
readonly type: "integer";
|
|
5291
|
-
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/
|
|
5590
|
+
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight) for more information";
|
|
5292
5591
|
readonly minimum: 0;
|
|
5293
5592
|
readonly maximum: 1000;
|
|
5294
5593
|
};
|
|
5295
5594
|
readonly weightType: {
|
|
5296
|
-
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/
|
|
5595
|
+
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight).";
|
|
5297
5596
|
readonly type: "string";
|
|
5298
5597
|
readonly example: "fix";
|
|
5299
5598
|
readonly enum: readonly ["variable", "fix"];
|
|
5300
5599
|
};
|
|
5301
5600
|
readonly stickiness: {
|
|
5302
5601
|
readonly type: "string";
|
|
5303
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
5602
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-variants#variant-stickiness) to use for distribution of this variant. Stickiness is how Unleash guarantees that the same user gets the same variant every time";
|
|
5304
5603
|
readonly example: "custom.context.field";
|
|
5305
5604
|
};
|
|
5306
5605
|
readonly payload: {
|
|
@@ -5342,6 +5641,214 @@ export declare const featureSchema: {
|
|
|
5342
5641
|
};
|
|
5343
5642
|
readonly components: {};
|
|
5344
5643
|
};
|
|
5644
|
+
readonly safeguardSchema: {
|
|
5645
|
+
readonly $id: "#/components/schemas/safeguardSchema";
|
|
5646
|
+
readonly type: "object";
|
|
5647
|
+
readonly required: readonly ["id", "action", "triggerCondition", "impactMetric"];
|
|
5648
|
+
readonly description: "A safeguard configuration for a release plan.";
|
|
5649
|
+
readonly additionalProperties: false;
|
|
5650
|
+
readonly properties: {
|
|
5651
|
+
readonly id: {
|
|
5652
|
+
readonly type: "string";
|
|
5653
|
+
readonly description: "The unique ULID identifier for this safeguard";
|
|
5654
|
+
readonly example: "01JB9GGTGQYEQ9D40R17T3YVW1";
|
|
5655
|
+
};
|
|
5656
|
+
readonly action: {
|
|
5657
|
+
readonly type: "object";
|
|
5658
|
+
readonly required: readonly ["type", "id"];
|
|
5659
|
+
readonly additionalProperties: false;
|
|
5660
|
+
readonly description: "The action to take when the safeguard is triggered.";
|
|
5661
|
+
readonly properties: {
|
|
5662
|
+
readonly type: {
|
|
5663
|
+
readonly type: "string";
|
|
5664
|
+
readonly description: "The type of action to perform.";
|
|
5665
|
+
readonly example: "pauseReleasePlanProgressions";
|
|
5666
|
+
};
|
|
5667
|
+
readonly id: {
|
|
5668
|
+
readonly type: "string";
|
|
5669
|
+
readonly description: "The ID of the release plan this safeguard applies to.";
|
|
5670
|
+
readonly example: "01JB9GGTGQYEQ9D40R17T3YVW2";
|
|
5671
|
+
};
|
|
5672
|
+
};
|
|
5673
|
+
};
|
|
5674
|
+
readonly triggerCondition: {
|
|
5675
|
+
readonly $ref: "#/components/schemas/safeguardTriggerConditionSchema";
|
|
5676
|
+
readonly description: "The condition that triggers the safeguard.";
|
|
5677
|
+
};
|
|
5678
|
+
readonly impactMetric: {
|
|
5679
|
+
readonly type: "object";
|
|
5680
|
+
readonly required: readonly ["id", "metricName", "timeRange", "aggregationMode", "labelSelectors"];
|
|
5681
|
+
readonly additionalProperties: false;
|
|
5682
|
+
readonly properties: {
|
|
5683
|
+
readonly metricName: {
|
|
5684
|
+
readonly type: "string";
|
|
5685
|
+
readonly description: "The Prometheus metric series to query. It includes both unleash prefix and metric type and display name";
|
|
5686
|
+
readonly example: "unleash_counter_feature_toggle_usage_total";
|
|
5687
|
+
};
|
|
5688
|
+
readonly timeRange: {
|
|
5689
|
+
readonly type: "string";
|
|
5690
|
+
readonly enum: readonly ["hour", "day", "week", "month"];
|
|
5691
|
+
readonly description: "The time range for the metric data.";
|
|
5692
|
+
readonly example: "day";
|
|
5693
|
+
};
|
|
5694
|
+
readonly aggregationMode: {
|
|
5695
|
+
readonly type: "string";
|
|
5696
|
+
readonly description: "The aggregation mode for the metric data.";
|
|
5697
|
+
readonly enum: readonly ["rps", "count", "avg", "sum", "p95", "p99", "p50"];
|
|
5698
|
+
readonly example: "rps";
|
|
5699
|
+
};
|
|
5700
|
+
readonly labelSelectors: {
|
|
5701
|
+
readonly type: "object";
|
|
5702
|
+
readonly additionalProperties: {
|
|
5703
|
+
readonly type: "array";
|
|
5704
|
+
readonly items: {
|
|
5705
|
+
readonly type: "string";
|
|
5706
|
+
};
|
|
5707
|
+
};
|
|
5708
|
+
readonly description: "The selected labels and their values for filtering the metric data.";
|
|
5709
|
+
readonly example: {
|
|
5710
|
+
readonly environment: readonly ["development"];
|
|
5711
|
+
readonly project: readonly ["default"];
|
|
5712
|
+
};
|
|
5713
|
+
};
|
|
5714
|
+
readonly id: {
|
|
5715
|
+
readonly type: "string";
|
|
5716
|
+
readonly description: "The unique identifier for this impact metric";
|
|
5717
|
+
readonly example: "01JB9GGTGQYEQ9D40R17T3YVW1";
|
|
5718
|
+
};
|
|
5719
|
+
};
|
|
5720
|
+
readonly description: "The metric configuration used to evaluate the safeguard condition.";
|
|
5721
|
+
};
|
|
5722
|
+
};
|
|
5723
|
+
readonly components: {
|
|
5724
|
+
readonly schemas: {
|
|
5725
|
+
readonly metricQuerySchema: {
|
|
5726
|
+
readonly $id: "#/components/schemas/metricQuerySchema";
|
|
5727
|
+
readonly type: "object";
|
|
5728
|
+
readonly required: readonly ["metricName", "timeRange", "aggregationMode", "labelSelectors"];
|
|
5729
|
+
readonly description: "Common metric query configuration for selecting and filtering metric data.";
|
|
5730
|
+
readonly additionalProperties: false;
|
|
5731
|
+
readonly properties: {
|
|
5732
|
+
readonly metricName: {
|
|
5733
|
+
readonly type: "string";
|
|
5734
|
+
readonly description: "The Prometheus metric series to query. It includes both unleash prefix and metric type and display name";
|
|
5735
|
+
readonly example: "unleash_counter_feature_toggle_usage_total";
|
|
5736
|
+
};
|
|
5737
|
+
readonly timeRange: {
|
|
5738
|
+
readonly type: "string";
|
|
5739
|
+
readonly enum: readonly ["hour", "day", "week", "month"];
|
|
5740
|
+
readonly description: "The time range for the metric data.";
|
|
5741
|
+
readonly example: "day";
|
|
5742
|
+
};
|
|
5743
|
+
readonly aggregationMode: {
|
|
5744
|
+
readonly type: "string";
|
|
5745
|
+
readonly description: "The aggregation mode for the metric data.";
|
|
5746
|
+
readonly enum: readonly ["rps", "count", "avg", "sum", "p95", "p99", "p50"];
|
|
5747
|
+
readonly example: "rps";
|
|
5748
|
+
};
|
|
5749
|
+
readonly labelSelectors: {
|
|
5750
|
+
readonly type: "object";
|
|
5751
|
+
readonly additionalProperties: {
|
|
5752
|
+
readonly type: "array";
|
|
5753
|
+
readonly items: {
|
|
5754
|
+
readonly type: "string";
|
|
5755
|
+
};
|
|
5756
|
+
};
|
|
5757
|
+
readonly description: "The selected labels and their values for filtering the metric data.";
|
|
5758
|
+
readonly example: {
|
|
5759
|
+
readonly environment: readonly ["development"];
|
|
5760
|
+
readonly project: readonly ["default"];
|
|
5761
|
+
};
|
|
5762
|
+
};
|
|
5763
|
+
};
|
|
5764
|
+
readonly components: {};
|
|
5765
|
+
};
|
|
5766
|
+
readonly safeguardTriggerConditionSchema: {
|
|
5767
|
+
readonly $id: "#/components/schemas/safeguardTriggerConditionSchema";
|
|
5768
|
+
readonly type: "object";
|
|
5769
|
+
readonly required: readonly ["operator", "threshold"];
|
|
5770
|
+
readonly additionalProperties: false;
|
|
5771
|
+
readonly description: "The condition that triggers the safeguard.";
|
|
5772
|
+
readonly properties: {
|
|
5773
|
+
readonly operator: {
|
|
5774
|
+
readonly type: "string";
|
|
5775
|
+
readonly enum: readonly [">", "<"];
|
|
5776
|
+
readonly description: "The comparison operator for the threshold check.";
|
|
5777
|
+
readonly example: ">";
|
|
5778
|
+
};
|
|
5779
|
+
readonly threshold: {
|
|
5780
|
+
readonly type: "number";
|
|
5781
|
+
readonly description: "The threshold value to compare against.";
|
|
5782
|
+
readonly example: 100;
|
|
5783
|
+
};
|
|
5784
|
+
};
|
|
5785
|
+
readonly components: {};
|
|
5786
|
+
};
|
|
5787
|
+
};
|
|
5788
|
+
};
|
|
5789
|
+
};
|
|
5790
|
+
readonly metricQuerySchema: {
|
|
5791
|
+
readonly $id: "#/components/schemas/metricQuerySchema";
|
|
5792
|
+
readonly type: "object";
|
|
5793
|
+
readonly required: readonly ["metricName", "timeRange", "aggregationMode", "labelSelectors"];
|
|
5794
|
+
readonly description: "Common metric query configuration for selecting and filtering metric data.";
|
|
5795
|
+
readonly additionalProperties: false;
|
|
5796
|
+
readonly properties: {
|
|
5797
|
+
readonly metricName: {
|
|
5798
|
+
readonly type: "string";
|
|
5799
|
+
readonly description: "The Prometheus metric series to query. It includes both unleash prefix and metric type and display name";
|
|
5800
|
+
readonly example: "unleash_counter_feature_toggle_usage_total";
|
|
5801
|
+
};
|
|
5802
|
+
readonly timeRange: {
|
|
5803
|
+
readonly type: "string";
|
|
5804
|
+
readonly enum: readonly ["hour", "day", "week", "month"];
|
|
5805
|
+
readonly description: "The time range for the metric data.";
|
|
5806
|
+
readonly example: "day";
|
|
5807
|
+
};
|
|
5808
|
+
readonly aggregationMode: {
|
|
5809
|
+
readonly type: "string";
|
|
5810
|
+
readonly description: "The aggregation mode for the metric data.";
|
|
5811
|
+
readonly enum: readonly ["rps", "count", "avg", "sum", "p95", "p99", "p50"];
|
|
5812
|
+
readonly example: "rps";
|
|
5813
|
+
};
|
|
5814
|
+
readonly labelSelectors: {
|
|
5815
|
+
readonly type: "object";
|
|
5816
|
+
readonly additionalProperties: {
|
|
5817
|
+
readonly type: "array";
|
|
5818
|
+
readonly items: {
|
|
5819
|
+
readonly type: "string";
|
|
5820
|
+
};
|
|
5821
|
+
};
|
|
5822
|
+
readonly description: "The selected labels and their values for filtering the metric data.";
|
|
5823
|
+
readonly example: {
|
|
5824
|
+
readonly environment: readonly ["development"];
|
|
5825
|
+
readonly project: readonly ["default"];
|
|
5826
|
+
};
|
|
5827
|
+
};
|
|
5828
|
+
};
|
|
5829
|
+
readonly components: {};
|
|
5830
|
+
};
|
|
5831
|
+
readonly safeguardTriggerConditionSchema: {
|
|
5832
|
+
readonly $id: "#/components/schemas/safeguardTriggerConditionSchema";
|
|
5833
|
+
readonly type: "object";
|
|
5834
|
+
readonly required: readonly ["operator", "threshold"];
|
|
5835
|
+
readonly additionalProperties: false;
|
|
5836
|
+
readonly description: "The condition that triggers the safeguard.";
|
|
5837
|
+
readonly properties: {
|
|
5838
|
+
readonly operator: {
|
|
5839
|
+
readonly type: "string";
|
|
5840
|
+
readonly enum: readonly [">", "<"];
|
|
5841
|
+
readonly description: "The comparison operator for the threshold check.";
|
|
5842
|
+
readonly example: ">";
|
|
5843
|
+
};
|
|
5844
|
+
readonly threshold: {
|
|
5845
|
+
readonly type: "number";
|
|
5846
|
+
readonly description: "The threshold value to compare against.";
|
|
5847
|
+
readonly example: 100;
|
|
5848
|
+
};
|
|
5849
|
+
};
|
|
5850
|
+
readonly components: {};
|
|
5851
|
+
};
|
|
5345
5852
|
};
|
|
5346
5853
|
};
|
|
5347
5854
|
};
|
|
@@ -5381,8 +5888,19 @@ export declare const featureSchema: {
|
|
|
5381
5888
|
readonly nullable: true;
|
|
5382
5889
|
};
|
|
5383
5890
|
readonly transitionCondition: {
|
|
5891
|
+
readonly type: "object";
|
|
5892
|
+
readonly additionalProperties: false;
|
|
5893
|
+
readonly required: readonly ["intervalMinutes"];
|
|
5894
|
+
readonly properties: {
|
|
5895
|
+
readonly intervalMinutes: {
|
|
5896
|
+
readonly type: "integer";
|
|
5897
|
+
readonly minimum: 1;
|
|
5898
|
+
readonly description: "The interval in minutes before transitioning";
|
|
5899
|
+
readonly example: 30;
|
|
5900
|
+
};
|
|
5901
|
+
};
|
|
5384
5902
|
readonly description: "The condition configuration for the transition";
|
|
5385
|
-
readonly
|
|
5903
|
+
readonly nullable: true;
|
|
5386
5904
|
};
|
|
5387
5905
|
readonly progressionExecutedAt: {
|
|
5388
5906
|
readonly type: "string";
|
|
@@ -5391,6 +5909,13 @@ export declare const featureSchema: {
|
|
|
5391
5909
|
readonly example: "2024-01-01T00:00:00.000Z";
|
|
5392
5910
|
readonly nullable: true;
|
|
5393
5911
|
};
|
|
5912
|
+
readonly pausedAt: {
|
|
5913
|
+
readonly type: "string";
|
|
5914
|
+
readonly format: "date-time";
|
|
5915
|
+
readonly description: "The date and time when the milestone was paused.";
|
|
5916
|
+
readonly example: "2024-01-01T00:00:00.000Z";
|
|
5917
|
+
readonly nullable: true;
|
|
5918
|
+
};
|
|
5394
5919
|
readonly strategies: {
|
|
5395
5920
|
readonly type: "array";
|
|
5396
5921
|
readonly description: "A list of strategies that are attached to this milestone.";
|
|
@@ -5446,7 +5971,7 @@ export declare const featureSchema: {
|
|
|
5446
5971
|
};
|
|
5447
5972
|
readonly constraints: {
|
|
5448
5973
|
readonly type: "array";
|
|
5449
|
-
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/
|
|
5974
|
+
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints";
|
|
5450
5975
|
readonly example: readonly [{
|
|
5451
5976
|
readonly values: readonly ["1", "2"];
|
|
5452
5977
|
readonly inverted: false;
|
|
@@ -5506,7 +6031,7 @@ export declare const featureSchema: {
|
|
|
5506
6031
|
};
|
|
5507
6032
|
readonly constraints: {
|
|
5508
6033
|
readonly type: "array";
|
|
5509
|
-
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/
|
|
6034
|
+
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints";
|
|
5510
6035
|
readonly example: readonly [{
|
|
5511
6036
|
readonly values: readonly ["1", "2"];
|
|
5512
6037
|
readonly inverted: false;
|
|
@@ -5548,7 +6073,7 @@ export declare const featureSchema: {
|
|
|
5548
6073
|
readonly constraintSchema: {
|
|
5549
6074
|
readonly type: "object";
|
|
5550
6075
|
readonly required: readonly ["contextName", "operator"];
|
|
5551
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
6076
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
5552
6077
|
readonly properties: {
|
|
5553
6078
|
readonly contextName: {
|
|
5554
6079
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -5556,7 +6081,7 @@ export declare const featureSchema: {
|
|
|
5556
6081
|
readonly type: "string";
|
|
5557
6082
|
};
|
|
5558
6083
|
readonly operator: {
|
|
5559
|
-
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/
|
|
6084
|
+
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/concepts/activation-strategies#constraint-operators).";
|
|
5560
6085
|
readonly type: "string";
|
|
5561
6086
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
5562
6087
|
readonly example: "IN";
|
|
@@ -5611,19 +6136,19 @@ export declare const featureSchema: {
|
|
|
5611
6136
|
};
|
|
5612
6137
|
readonly weight: {
|
|
5613
6138
|
readonly type: "integer";
|
|
5614
|
-
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/
|
|
6139
|
+
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight) for more information";
|
|
5615
6140
|
readonly minimum: 0;
|
|
5616
6141
|
readonly maximum: 1000;
|
|
5617
6142
|
};
|
|
5618
6143
|
readonly weightType: {
|
|
5619
|
-
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/
|
|
6144
|
+
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight).";
|
|
5620
6145
|
readonly type: "string";
|
|
5621
6146
|
readonly example: "fix";
|
|
5622
6147
|
readonly enum: readonly ["variable", "fix"];
|
|
5623
6148
|
};
|
|
5624
6149
|
readonly stickiness: {
|
|
5625
6150
|
readonly type: "string";
|
|
5626
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
6151
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-variants#variant-stickiness) to use for distribution of this variant. Stickiness is how Unleash guarantees that the same user gets the same variant every time";
|
|
5627
6152
|
readonly example: "custom.context.field";
|
|
5628
6153
|
};
|
|
5629
6154
|
readonly payload: {
|
|
@@ -5664,7 +6189,7 @@ export declare const featureSchema: {
|
|
|
5664
6189
|
readonly constraintSchema: {
|
|
5665
6190
|
readonly type: "object";
|
|
5666
6191
|
readonly required: readonly ["contextName", "operator"];
|
|
5667
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
6192
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
5668
6193
|
readonly properties: {
|
|
5669
6194
|
readonly contextName: {
|
|
5670
6195
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -5672,7 +6197,7 @@ export declare const featureSchema: {
|
|
|
5672
6197
|
readonly type: "string";
|
|
5673
6198
|
};
|
|
5674
6199
|
readonly operator: {
|
|
5675
|
-
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/
|
|
6200
|
+
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/concepts/activation-strategies#constraint-operators).";
|
|
5676
6201
|
readonly type: "string";
|
|
5677
6202
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
5678
6203
|
readonly example: "IN";
|
|
@@ -5718,19 +6243,19 @@ export declare const featureSchema: {
|
|
|
5718
6243
|
};
|
|
5719
6244
|
readonly weight: {
|
|
5720
6245
|
readonly type: "integer";
|
|
5721
|
-
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/
|
|
6246
|
+
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight) for more information";
|
|
5722
6247
|
readonly minimum: 0;
|
|
5723
6248
|
readonly maximum: 1000;
|
|
5724
6249
|
};
|
|
5725
6250
|
readonly weightType: {
|
|
5726
|
-
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/
|
|
6251
|
+
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight).";
|
|
5727
6252
|
readonly type: "string";
|
|
5728
6253
|
readonly example: "fix";
|
|
5729
6254
|
readonly enum: readonly ["variable", "fix"];
|
|
5730
6255
|
};
|
|
5731
6256
|
readonly stickiness: {
|
|
5732
6257
|
readonly type: "string";
|
|
5733
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
6258
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-variants#variant-stickiness) to use for distribution of this variant. Stickiness is how Unleash guarantees that the same user gets the same variant every time";
|
|
5734
6259
|
readonly example: "custom.context.field";
|
|
5735
6260
|
};
|
|
5736
6261
|
readonly payload: {
|
|
@@ -5789,7 +6314,7 @@ export declare const featureSchema: {
|
|
|
5789
6314
|
};
|
|
5790
6315
|
readonly constraints: {
|
|
5791
6316
|
readonly type: "array";
|
|
5792
|
-
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/
|
|
6317
|
+
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints";
|
|
5793
6318
|
readonly example: readonly [{
|
|
5794
6319
|
readonly values: readonly ["1", "2"];
|
|
5795
6320
|
readonly inverted: false;
|
|
@@ -5831,7 +6356,7 @@ export declare const featureSchema: {
|
|
|
5831
6356
|
readonly constraintSchema: {
|
|
5832
6357
|
readonly type: "object";
|
|
5833
6358
|
readonly required: readonly ["contextName", "operator"];
|
|
5834
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
6359
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
5835
6360
|
readonly properties: {
|
|
5836
6361
|
readonly contextName: {
|
|
5837
6362
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -5839,7 +6364,7 @@ export declare const featureSchema: {
|
|
|
5839
6364
|
readonly type: "string";
|
|
5840
6365
|
};
|
|
5841
6366
|
readonly operator: {
|
|
5842
|
-
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/
|
|
6367
|
+
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/concepts/activation-strategies#constraint-operators).";
|
|
5843
6368
|
readonly type: "string";
|
|
5844
6369
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
5845
6370
|
readonly example: "IN";
|
|
@@ -5894,19 +6419,19 @@ export declare const featureSchema: {
|
|
|
5894
6419
|
};
|
|
5895
6420
|
readonly weight: {
|
|
5896
6421
|
readonly type: "integer";
|
|
5897
|
-
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/
|
|
6422
|
+
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight) for more information";
|
|
5898
6423
|
readonly minimum: 0;
|
|
5899
6424
|
readonly maximum: 1000;
|
|
5900
6425
|
};
|
|
5901
6426
|
readonly weightType: {
|
|
5902
|
-
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/
|
|
6427
|
+
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight).";
|
|
5903
6428
|
readonly type: "string";
|
|
5904
6429
|
readonly example: "fix";
|
|
5905
6430
|
readonly enum: readonly ["variable", "fix"];
|
|
5906
6431
|
};
|
|
5907
6432
|
readonly stickiness: {
|
|
5908
6433
|
readonly type: "string";
|
|
5909
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
6434
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-variants#variant-stickiness) to use for distribution of this variant. Stickiness is how Unleash guarantees that the same user gets the same variant every time";
|
|
5910
6435
|
readonly example: "custom.context.field";
|
|
5911
6436
|
};
|
|
5912
6437
|
readonly payload: {
|
|
@@ -5947,7 +6472,7 @@ export declare const featureSchema: {
|
|
|
5947
6472
|
readonly constraintSchema: {
|
|
5948
6473
|
readonly type: "object";
|
|
5949
6474
|
readonly required: readonly ["contextName", "operator"];
|
|
5950
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
6475
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
5951
6476
|
readonly properties: {
|
|
5952
6477
|
readonly contextName: {
|
|
5953
6478
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -5955,7 +6480,7 @@ export declare const featureSchema: {
|
|
|
5955
6480
|
readonly type: "string";
|
|
5956
6481
|
};
|
|
5957
6482
|
readonly operator: {
|
|
5958
|
-
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/
|
|
6483
|
+
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/concepts/activation-strategies#constraint-operators).";
|
|
5959
6484
|
readonly type: "string";
|
|
5960
6485
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
5961
6486
|
readonly example: "IN";
|
|
@@ -6001,19 +6526,19 @@ export declare const featureSchema: {
|
|
|
6001
6526
|
};
|
|
6002
6527
|
readonly weight: {
|
|
6003
6528
|
readonly type: "integer";
|
|
6004
|
-
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/
|
|
6529
|
+
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight) for more information";
|
|
6005
6530
|
readonly minimum: 0;
|
|
6006
6531
|
readonly maximum: 1000;
|
|
6007
6532
|
};
|
|
6008
6533
|
readonly weightType: {
|
|
6009
|
-
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/
|
|
6534
|
+
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight).";
|
|
6010
6535
|
readonly type: "string";
|
|
6011
6536
|
readonly example: "fix";
|
|
6012
6537
|
readonly enum: readonly ["variable", "fix"];
|
|
6013
6538
|
};
|
|
6014
6539
|
readonly stickiness: {
|
|
6015
6540
|
readonly type: "string";
|
|
6016
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
6541
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-variants#variant-stickiness) to use for distribution of this variant. Stickiness is how Unleash guarantees that the same user gets the same variant every time";
|
|
6017
6542
|
readonly example: "custom.context.field";
|
|
6018
6543
|
};
|
|
6019
6544
|
readonly payload: {
|
|
@@ -6103,7 +6628,7 @@ export declare const featureSchema: {
|
|
|
6103
6628
|
};
|
|
6104
6629
|
readonly constraints: {
|
|
6105
6630
|
readonly type: "array";
|
|
6106
|
-
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/
|
|
6631
|
+
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints";
|
|
6107
6632
|
readonly example: readonly [{
|
|
6108
6633
|
readonly values: readonly ["1", "2"];
|
|
6109
6634
|
readonly inverted: false;
|
|
@@ -6163,7 +6688,7 @@ export declare const featureSchema: {
|
|
|
6163
6688
|
};
|
|
6164
6689
|
readonly constraints: {
|
|
6165
6690
|
readonly type: "array";
|
|
6166
|
-
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/
|
|
6691
|
+
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints";
|
|
6167
6692
|
readonly example: readonly [{
|
|
6168
6693
|
readonly values: readonly ["1", "2"];
|
|
6169
6694
|
readonly inverted: false;
|
|
@@ -6205,7 +6730,7 @@ export declare const featureSchema: {
|
|
|
6205
6730
|
readonly constraintSchema: {
|
|
6206
6731
|
readonly type: "object";
|
|
6207
6732
|
readonly required: readonly ["contextName", "operator"];
|
|
6208
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
6733
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
6209
6734
|
readonly properties: {
|
|
6210
6735
|
readonly contextName: {
|
|
6211
6736
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -6213,7 +6738,7 @@ export declare const featureSchema: {
|
|
|
6213
6738
|
readonly type: "string";
|
|
6214
6739
|
};
|
|
6215
6740
|
readonly operator: {
|
|
6216
|
-
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/
|
|
6741
|
+
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/concepts/activation-strategies#constraint-operators).";
|
|
6217
6742
|
readonly type: "string";
|
|
6218
6743
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
6219
6744
|
readonly example: "IN";
|
|
@@ -6268,19 +6793,19 @@ export declare const featureSchema: {
|
|
|
6268
6793
|
};
|
|
6269
6794
|
readonly weight: {
|
|
6270
6795
|
readonly type: "integer";
|
|
6271
|
-
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/
|
|
6796
|
+
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight) for more information";
|
|
6272
6797
|
readonly minimum: 0;
|
|
6273
6798
|
readonly maximum: 1000;
|
|
6274
6799
|
};
|
|
6275
6800
|
readonly weightType: {
|
|
6276
|
-
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/
|
|
6801
|
+
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight).";
|
|
6277
6802
|
readonly type: "string";
|
|
6278
6803
|
readonly example: "fix";
|
|
6279
6804
|
readonly enum: readonly ["variable", "fix"];
|
|
6280
6805
|
};
|
|
6281
6806
|
readonly stickiness: {
|
|
6282
6807
|
readonly type: "string";
|
|
6283
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
6808
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-variants#variant-stickiness) to use for distribution of this variant. Stickiness is how Unleash guarantees that the same user gets the same variant every time";
|
|
6284
6809
|
readonly example: "custom.context.field";
|
|
6285
6810
|
};
|
|
6286
6811
|
readonly payload: {
|
|
@@ -6321,7 +6846,7 @@ export declare const featureSchema: {
|
|
|
6321
6846
|
readonly constraintSchema: {
|
|
6322
6847
|
readonly type: "object";
|
|
6323
6848
|
readonly required: readonly ["contextName", "operator"];
|
|
6324
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
6849
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
6325
6850
|
readonly properties: {
|
|
6326
6851
|
readonly contextName: {
|
|
6327
6852
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -6329,7 +6854,7 @@ export declare const featureSchema: {
|
|
|
6329
6854
|
readonly type: "string";
|
|
6330
6855
|
};
|
|
6331
6856
|
readonly operator: {
|
|
6332
|
-
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/
|
|
6857
|
+
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/concepts/activation-strategies#constraint-operators).";
|
|
6333
6858
|
readonly type: "string";
|
|
6334
6859
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
6335
6860
|
readonly example: "IN";
|
|
@@ -6375,19 +6900,19 @@ export declare const featureSchema: {
|
|
|
6375
6900
|
};
|
|
6376
6901
|
readonly weight: {
|
|
6377
6902
|
readonly type: "integer";
|
|
6378
|
-
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/
|
|
6903
|
+
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight) for more information";
|
|
6379
6904
|
readonly minimum: 0;
|
|
6380
6905
|
readonly maximum: 1000;
|
|
6381
6906
|
};
|
|
6382
6907
|
readonly weightType: {
|
|
6383
|
-
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/
|
|
6908
|
+
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight).";
|
|
6384
6909
|
readonly type: "string";
|
|
6385
6910
|
readonly example: "fix";
|
|
6386
6911
|
readonly enum: readonly ["variable", "fix"];
|
|
6387
6912
|
};
|
|
6388
6913
|
readonly stickiness: {
|
|
6389
6914
|
readonly type: "string";
|
|
6390
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
6915
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-variants#variant-stickiness) to use for distribution of this variant. Stickiness is how Unleash guarantees that the same user gets the same variant every time";
|
|
6391
6916
|
readonly example: "custom.context.field";
|
|
6392
6917
|
};
|
|
6393
6918
|
readonly payload: {
|
|
@@ -6446,7 +6971,7 @@ export declare const featureSchema: {
|
|
|
6446
6971
|
};
|
|
6447
6972
|
readonly constraints: {
|
|
6448
6973
|
readonly type: "array";
|
|
6449
|
-
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/
|
|
6974
|
+
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints";
|
|
6450
6975
|
readonly example: readonly [{
|
|
6451
6976
|
readonly values: readonly ["1", "2"];
|
|
6452
6977
|
readonly inverted: false;
|
|
@@ -6488,7 +7013,7 @@ export declare const featureSchema: {
|
|
|
6488
7013
|
readonly constraintSchema: {
|
|
6489
7014
|
readonly type: "object";
|
|
6490
7015
|
readonly required: readonly ["contextName", "operator"];
|
|
6491
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
7016
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
6492
7017
|
readonly properties: {
|
|
6493
7018
|
readonly contextName: {
|
|
6494
7019
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -6496,7 +7021,7 @@ export declare const featureSchema: {
|
|
|
6496
7021
|
readonly type: "string";
|
|
6497
7022
|
};
|
|
6498
7023
|
readonly operator: {
|
|
6499
|
-
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/
|
|
7024
|
+
readonly description: "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/concepts/activation-strategies#constraint-operators).";
|
|
6500
7025
|
readonly type: "string";
|
|
6501
7026
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
6502
7027
|
readonly example: "IN";
|
|
@@ -6551,19 +7076,19 @@ export declare const featureSchema: {
|
|
|
6551
7076
|
};
|
|
6552
7077
|
readonly weight: {
|
|
6553
7078
|
readonly type: "integer";
|
|
6554
|
-
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/
|
|
7079
|
+
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight) for more information";
|
|
6555
7080
|
readonly minimum: 0;
|
|
6556
7081
|
readonly maximum: 1000;
|
|
6557
7082
|
};
|
|
6558
7083
|
readonly weightType: {
|
|
6559
|
-
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/
|
|
7084
|
+
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight).";
|
|
6560
7085
|
readonly type: "string";
|
|
6561
7086
|
readonly example: "fix";
|
|
6562
7087
|
readonly enum: readonly ["variable", "fix"];
|
|
6563
7088
|
};
|
|
6564
7089
|
readonly stickiness: {
|
|
6565
7090
|
readonly type: "string";
|
|
6566
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
7091
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-variants#variant-stickiness) to use for distribution of this variant. Stickiness is how Unleash guarantees that the same user gets the same variant every time";
|
|
6567
7092
|
readonly example: "custom.context.field";
|
|
6568
7093
|
};
|
|
6569
7094
|
readonly payload: {
|
|
@@ -6605,19 +7130,19 @@ export declare const featureSchema: {
|
|
|
6605
7130
|
};
|
|
6606
7131
|
readonly weight: {
|
|
6607
7132
|
readonly type: "integer";
|
|
6608
|
-
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/
|
|
7133
|
+
readonly description: "The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight) for more information";
|
|
6609
7134
|
readonly minimum: 0;
|
|
6610
7135
|
readonly maximum: 1000;
|
|
6611
7136
|
};
|
|
6612
7137
|
readonly weightType: {
|
|
6613
|
-
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/
|
|
7138
|
+
readonly description: "Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/concepts/feature-flag-variants#variant-weight).";
|
|
6614
7139
|
readonly type: "string";
|
|
6615
7140
|
readonly example: "fix";
|
|
6616
7141
|
readonly enum: readonly ["variable", "fix"];
|
|
6617
7142
|
};
|
|
6618
7143
|
readonly stickiness: {
|
|
6619
7144
|
readonly type: "string";
|
|
6620
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
7145
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-variants#variant-stickiness) to use for distribution of this variant. Stickiness is how Unleash guarantees that the same user gets the same variant every time";
|
|
6621
7146
|
readonly example: "custom.context.field";
|
|
6622
7147
|
};
|
|
6623
7148
|
readonly payload: {
|
|
@@ -6659,8 +7184,218 @@ export declare const featureSchema: {
|
|
|
6659
7184
|
};
|
|
6660
7185
|
readonly components: {};
|
|
6661
7186
|
};
|
|
7187
|
+
readonly safeguardSchema: {
|
|
7188
|
+
readonly $id: "#/components/schemas/safeguardSchema";
|
|
7189
|
+
readonly type: "object";
|
|
7190
|
+
readonly required: readonly ["id", "action", "triggerCondition", "impactMetric"];
|
|
7191
|
+
readonly description: "A safeguard configuration for a release plan.";
|
|
7192
|
+
readonly additionalProperties: false;
|
|
7193
|
+
readonly properties: {
|
|
7194
|
+
readonly id: {
|
|
7195
|
+
readonly type: "string";
|
|
7196
|
+
readonly description: "The unique ULID identifier for this safeguard";
|
|
7197
|
+
readonly example: "01JB9GGTGQYEQ9D40R17T3YVW1";
|
|
7198
|
+
};
|
|
7199
|
+
readonly action: {
|
|
7200
|
+
readonly type: "object";
|
|
7201
|
+
readonly required: readonly ["type", "id"];
|
|
7202
|
+
readonly additionalProperties: false;
|
|
7203
|
+
readonly description: "The action to take when the safeguard is triggered.";
|
|
7204
|
+
readonly properties: {
|
|
7205
|
+
readonly type: {
|
|
7206
|
+
readonly type: "string";
|
|
7207
|
+
readonly description: "The type of action to perform.";
|
|
7208
|
+
readonly example: "pauseReleasePlanProgressions";
|
|
7209
|
+
};
|
|
7210
|
+
readonly id: {
|
|
7211
|
+
readonly type: "string";
|
|
7212
|
+
readonly description: "The ID of the release plan this safeguard applies to.";
|
|
7213
|
+
readonly example: "01JB9GGTGQYEQ9D40R17T3YVW2";
|
|
7214
|
+
};
|
|
7215
|
+
};
|
|
7216
|
+
};
|
|
7217
|
+
readonly triggerCondition: {
|
|
7218
|
+
readonly $ref: "#/components/schemas/safeguardTriggerConditionSchema";
|
|
7219
|
+
readonly description: "The condition that triggers the safeguard.";
|
|
7220
|
+
};
|
|
7221
|
+
readonly impactMetric: {
|
|
7222
|
+
readonly type: "object";
|
|
7223
|
+
readonly required: readonly ["id", "metricName", "timeRange", "aggregationMode", "labelSelectors"];
|
|
7224
|
+
readonly additionalProperties: false;
|
|
7225
|
+
readonly properties: {
|
|
7226
|
+
readonly metricName: {
|
|
7227
|
+
readonly type: "string";
|
|
7228
|
+
readonly description: "The Prometheus metric series to query. It includes both unleash prefix and metric type and display name";
|
|
7229
|
+
readonly example: "unleash_counter_feature_toggle_usage_total";
|
|
7230
|
+
};
|
|
7231
|
+
readonly timeRange: {
|
|
7232
|
+
readonly type: "string";
|
|
7233
|
+
readonly enum: readonly ["hour", "day", "week", "month"];
|
|
7234
|
+
readonly description: "The time range for the metric data.";
|
|
7235
|
+
readonly example: "day";
|
|
7236
|
+
};
|
|
7237
|
+
readonly aggregationMode: {
|
|
7238
|
+
readonly type: "string";
|
|
7239
|
+
readonly description: "The aggregation mode for the metric data.";
|
|
7240
|
+
readonly enum: readonly ["rps", "count", "avg", "sum", "p95", "p99", "p50"];
|
|
7241
|
+
readonly example: "rps";
|
|
7242
|
+
};
|
|
7243
|
+
readonly labelSelectors: {
|
|
7244
|
+
readonly type: "object";
|
|
7245
|
+
readonly additionalProperties: {
|
|
7246
|
+
readonly type: "array";
|
|
7247
|
+
readonly items: {
|
|
7248
|
+
readonly type: "string";
|
|
7249
|
+
};
|
|
7250
|
+
};
|
|
7251
|
+
readonly description: "The selected labels and their values for filtering the metric data.";
|
|
7252
|
+
readonly example: {
|
|
7253
|
+
readonly environment: readonly ["development"];
|
|
7254
|
+
readonly project: readonly ["default"];
|
|
7255
|
+
};
|
|
7256
|
+
};
|
|
7257
|
+
readonly id: {
|
|
7258
|
+
readonly type: "string";
|
|
7259
|
+
readonly description: "The unique identifier for this impact metric";
|
|
7260
|
+
readonly example: "01JB9GGTGQYEQ9D40R17T3YVW1";
|
|
7261
|
+
};
|
|
7262
|
+
};
|
|
7263
|
+
readonly description: "The metric configuration used to evaluate the safeguard condition.";
|
|
7264
|
+
};
|
|
7265
|
+
};
|
|
7266
|
+
readonly components: {
|
|
7267
|
+
readonly schemas: {
|
|
7268
|
+
readonly metricQuerySchema: {
|
|
7269
|
+
readonly $id: "#/components/schemas/metricQuerySchema";
|
|
7270
|
+
readonly type: "object";
|
|
7271
|
+
readonly required: readonly ["metricName", "timeRange", "aggregationMode", "labelSelectors"];
|
|
7272
|
+
readonly description: "Common metric query configuration for selecting and filtering metric data.";
|
|
7273
|
+
readonly additionalProperties: false;
|
|
7274
|
+
readonly properties: {
|
|
7275
|
+
readonly metricName: {
|
|
7276
|
+
readonly type: "string";
|
|
7277
|
+
readonly description: "The Prometheus metric series to query. It includes both unleash prefix and metric type and display name";
|
|
7278
|
+
readonly example: "unleash_counter_feature_toggle_usage_total";
|
|
7279
|
+
};
|
|
7280
|
+
readonly timeRange: {
|
|
7281
|
+
readonly type: "string";
|
|
7282
|
+
readonly enum: readonly ["hour", "day", "week", "month"];
|
|
7283
|
+
readonly description: "The time range for the metric data.";
|
|
7284
|
+
readonly example: "day";
|
|
7285
|
+
};
|
|
7286
|
+
readonly aggregationMode: {
|
|
7287
|
+
readonly type: "string";
|
|
7288
|
+
readonly description: "The aggregation mode for the metric data.";
|
|
7289
|
+
readonly enum: readonly ["rps", "count", "avg", "sum", "p95", "p99", "p50"];
|
|
7290
|
+
readonly example: "rps";
|
|
7291
|
+
};
|
|
7292
|
+
readonly labelSelectors: {
|
|
7293
|
+
readonly type: "object";
|
|
7294
|
+
readonly additionalProperties: {
|
|
7295
|
+
readonly type: "array";
|
|
7296
|
+
readonly items: {
|
|
7297
|
+
readonly type: "string";
|
|
7298
|
+
};
|
|
7299
|
+
};
|
|
7300
|
+
readonly description: "The selected labels and their values for filtering the metric data.";
|
|
7301
|
+
readonly example: {
|
|
7302
|
+
readonly environment: readonly ["development"];
|
|
7303
|
+
readonly project: readonly ["default"];
|
|
7304
|
+
};
|
|
7305
|
+
};
|
|
7306
|
+
};
|
|
7307
|
+
readonly components: {};
|
|
7308
|
+
};
|
|
7309
|
+
readonly safeguardTriggerConditionSchema: {
|
|
7310
|
+
readonly $id: "#/components/schemas/safeguardTriggerConditionSchema";
|
|
7311
|
+
readonly type: "object";
|
|
7312
|
+
readonly required: readonly ["operator", "threshold"];
|
|
7313
|
+
readonly additionalProperties: false;
|
|
7314
|
+
readonly description: "The condition that triggers the safeguard.";
|
|
7315
|
+
readonly properties: {
|
|
7316
|
+
readonly operator: {
|
|
7317
|
+
readonly type: "string";
|
|
7318
|
+
readonly enum: readonly [">", "<"];
|
|
7319
|
+
readonly description: "The comparison operator for the threshold check.";
|
|
7320
|
+
readonly example: ">";
|
|
7321
|
+
};
|
|
7322
|
+
readonly threshold: {
|
|
7323
|
+
readonly type: "number";
|
|
7324
|
+
readonly description: "The threshold value to compare against.";
|
|
7325
|
+
readonly example: 100;
|
|
7326
|
+
};
|
|
7327
|
+
};
|
|
7328
|
+
readonly components: {};
|
|
7329
|
+
};
|
|
7330
|
+
};
|
|
7331
|
+
};
|
|
7332
|
+
};
|
|
7333
|
+
readonly metricQuerySchema: {
|
|
7334
|
+
readonly $id: "#/components/schemas/metricQuerySchema";
|
|
7335
|
+
readonly type: "object";
|
|
7336
|
+
readonly required: readonly ["metricName", "timeRange", "aggregationMode", "labelSelectors"];
|
|
7337
|
+
readonly description: "Common metric query configuration for selecting and filtering metric data.";
|
|
7338
|
+
readonly additionalProperties: false;
|
|
7339
|
+
readonly properties: {
|
|
7340
|
+
readonly metricName: {
|
|
7341
|
+
readonly type: "string";
|
|
7342
|
+
readonly description: "The Prometheus metric series to query. It includes both unleash prefix and metric type and display name";
|
|
7343
|
+
readonly example: "unleash_counter_feature_toggle_usage_total";
|
|
7344
|
+
};
|
|
7345
|
+
readonly timeRange: {
|
|
7346
|
+
readonly type: "string";
|
|
7347
|
+
readonly enum: readonly ["hour", "day", "week", "month"];
|
|
7348
|
+
readonly description: "The time range for the metric data.";
|
|
7349
|
+
readonly example: "day";
|
|
7350
|
+
};
|
|
7351
|
+
readonly aggregationMode: {
|
|
7352
|
+
readonly type: "string";
|
|
7353
|
+
readonly description: "The aggregation mode for the metric data.";
|
|
7354
|
+
readonly enum: readonly ["rps", "count", "avg", "sum", "p95", "p99", "p50"];
|
|
7355
|
+
readonly example: "rps";
|
|
7356
|
+
};
|
|
7357
|
+
readonly labelSelectors: {
|
|
7358
|
+
readonly type: "object";
|
|
7359
|
+
readonly additionalProperties: {
|
|
7360
|
+
readonly type: "array";
|
|
7361
|
+
readonly items: {
|
|
7362
|
+
readonly type: "string";
|
|
7363
|
+
};
|
|
7364
|
+
};
|
|
7365
|
+
readonly description: "The selected labels and their values for filtering the metric data.";
|
|
7366
|
+
readonly example: {
|
|
7367
|
+
readonly environment: readonly ["development"];
|
|
7368
|
+
readonly project: readonly ["default"];
|
|
7369
|
+
};
|
|
7370
|
+
};
|
|
7371
|
+
};
|
|
7372
|
+
readonly components: {};
|
|
7373
|
+
};
|
|
7374
|
+
readonly safeguardTriggerConditionSchema: {
|
|
7375
|
+
readonly $id: "#/components/schemas/safeguardTriggerConditionSchema";
|
|
7376
|
+
readonly type: "object";
|
|
7377
|
+
readonly required: readonly ["operator", "threshold"];
|
|
7378
|
+
readonly additionalProperties: false;
|
|
7379
|
+
readonly description: "The condition that triggers the safeguard.";
|
|
7380
|
+
readonly properties: {
|
|
7381
|
+
readonly operator: {
|
|
7382
|
+
readonly type: "string";
|
|
7383
|
+
readonly enum: readonly [">", "<"];
|
|
7384
|
+
readonly description: "The comparison operator for the threshold check.";
|
|
7385
|
+
readonly example: ">";
|
|
7386
|
+
};
|
|
7387
|
+
readonly threshold: {
|
|
7388
|
+
readonly type: "number";
|
|
7389
|
+
readonly description: "The threshold value to compare against.";
|
|
7390
|
+
readonly example: 100;
|
|
7391
|
+
};
|
|
7392
|
+
};
|
|
7393
|
+
readonly components: {};
|
|
7394
|
+
};
|
|
6662
7395
|
};
|
|
6663
7396
|
};
|
|
6664
7397
|
};
|
|
6665
|
-
export type FeatureSchema = FromSchema<typeof featureSchema
|
|
7398
|
+
export type FeatureSchema = FromSchema<typeof featureSchema, {
|
|
7399
|
+
keepDefaultedPropertiesOptional: true;
|
|
7400
|
+
}>;
|
|
6666
7401
|
//# sourceMappingURL=feature-schema.d.ts.map
|