unleash-server 5.2.7 → 5.3.0
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/dist/lib/addons/addon-schema.js +10 -0
- package/dist/lib/addons/addon-schema.js.map +1 -1
- package/dist/lib/addons/addon.d.ts +1 -0
- package/dist/lib/addons/addon.js.map +1 -1
- package/dist/lib/addons/datadog-definition.js +21 -0
- package/dist/lib/addons/datadog-definition.js.map +1 -1
- package/dist/lib/addons/datadog.d.ts +8 -1
- package/dist/lib/addons/datadog.js +14 -2
- package/dist/lib/addons/datadog.js.map +1 -1
- package/dist/lib/addons/datadog.test.js +62 -0
- package/dist/lib/addons/datadog.test.js.map +1 -1
- package/dist/lib/addons/feature-event-formatter-md.d.ts +1 -0
- package/dist/lib/addons/feature-event-formatter-md.js +7 -0
- package/dist/lib/addons/feature-event-formatter-md.js.map +1 -1
- package/dist/lib/addons/index.d.ts +2 -1
- package/dist/lib/addons/index.js +12 -2
- package/dist/lib/addons/index.js.map +1 -1
- package/dist/lib/addons/installation-definition-schema.d.ts +2 -0
- package/dist/lib/addons/installation-definition-schema.js +13 -0
- package/dist/lib/addons/installation-definition-schema.js.map +1 -0
- package/dist/lib/addons/slack-app-definition.d.ts +3 -0
- package/dist/lib/addons/slack-app-definition.js +68 -0
- package/dist/lib/addons/slack-app-definition.js.map +1 -0
- package/dist/lib/addons/slack-app.d.ts +23 -0
- package/dist/lib/addons/slack-app.js +137 -0
- package/dist/lib/addons/slack-app.js.map +1 -0
- package/dist/lib/addons/slack-app.test.d.ts +1 -0
- package/dist/lib/addons/slack-app.test.js +191 -0
- package/dist/lib/addons/slack-app.test.js.map +1 -0
- package/dist/lib/addons/slack-definition.js +13 -0
- package/dist/lib/addons/slack-definition.js.map +1 -1
- package/dist/lib/addons/slack.d.ts +9 -1
- package/dist/lib/addons/slack.js +15 -3
- package/dist/lib/addons/slack.js.map +1 -1
- package/dist/lib/addons/slack.test.js +33 -0
- package/dist/lib/addons/slack.test.js.map +1 -1
- package/dist/lib/addons/teams-definition.js +13 -0
- package/dist/lib/addons/teams-definition.js.map +1 -1
- package/dist/lib/addons/teams.d.ts +6 -1
- package/dist/lib/addons/teams.js +11 -2
- package/dist/lib/addons/teams.js.map +1 -1
- package/dist/lib/addons/teams.test.js +28 -0
- package/dist/lib/addons/teams.test.js.map +1 -1
- package/dist/lib/addons/webhook-definition.js +13 -0
- package/dist/lib/addons/webhook-definition.js.map +1 -1
- package/dist/lib/addons/webhook.d.ts +1 -0
- package/dist/lib/addons/webhook.js +11 -1
- package/dist/lib/addons/webhook.js.map +1 -1
- package/dist/lib/addons/webhook.test.js +29 -0
- package/dist/lib/addons/webhook.test.js.map +1 -1
- package/dist/lib/create-config.js +2 -2
- package/dist/lib/create-config.js.map +1 -1
- package/dist/lib/db/access-store.d.ts +0 -1
- package/dist/lib/db/access-store.js +1 -14
- package/dist/lib/db/access-store.js.map +1 -1
- package/dist/lib/db/client-metrics-store-v2.js +7 -2
- package/dist/lib/db/client-metrics-store-v2.js.map +1 -1
- package/dist/lib/db/context-field-store.js +9 -18
- package/dist/lib/db/context-field-store.js.map +1 -1
- package/dist/lib/db/event-store.d.ts +2 -0
- package/dist/lib/db/event-store.js +19 -9
- package/dist/lib/db/event-store.js.map +1 -1
- package/dist/lib/db/feature-strategy-store.js +5 -0
- package/dist/lib/db/feature-strategy-store.js.map +1 -1
- package/dist/lib/db/feature-strategy-store.test.js +1 -0
- package/dist/lib/db/feature-strategy-store.test.js.map +1 -1
- package/dist/lib/db/feature-toggle-client-store.d.ts +7 -8
- package/dist/lib/db/feature-toggle-client-store.js +46 -24
- package/dist/lib/db/feature-toggle-client-store.js.map +1 -1
- package/dist/lib/db/feature-toggle-store.d.ts +6 -0
- package/dist/lib/db/feature-toggle-store.js +35 -0
- package/dist/lib/db/feature-toggle-store.js.map +1 -1
- package/dist/lib/db/feature-type-store.d.ts +1 -0
- package/dist/lib/db/feature-type-store.js +12 -0
- package/dist/lib/db/feature-type-store.js.map +1 -1
- package/dist/lib/db/group-store.d.ts +5 -7
- package/dist/lib/db/group-store.js +51 -25
- package/dist/lib/db/group-store.js.map +1 -1
- package/dist/lib/db/index.js +1 -1
- package/dist/lib/db/index.js.map +1 -1
- package/dist/lib/db/project-store.d.ts +3 -5
- package/dist/lib/db/project-store.js +19 -19
- package/dist/lib/db/project-store.js.map +1 -1
- package/dist/lib/db/segment-store.d.ts +2 -1
- package/dist/lib/db/segment-store.js +23 -20
- package/dist/lib/db/segment-store.js.map +1 -1
- package/dist/lib/db/segment-store.test.d.ts +1 -0
- package/dist/lib/db/segment-store.test.js +32 -0
- package/dist/lib/db/segment-store.test.js.map +1 -0
- package/dist/lib/error/bad-data-error.d.ts +1 -0
- package/dist/lib/error/bad-data-error.js +18 -5
- package/dist/lib/error/bad-data-error.js.map +1 -1
- package/dist/lib/error/content-type-error.d.ts +1 -0
- package/dist/lib/error/content-type-error.js +1 -0
- package/dist/lib/error/content-type-error.js.map +1 -1
- package/dist/lib/error/disabled-error.d.ts +1 -0
- package/dist/lib/error/disabled-error.js +4 -0
- package/dist/lib/error/disabled-error.js.map +1 -1
- package/dist/lib/error/feature-has-tag-error.d.ts +1 -0
- package/dist/lib/error/feature-has-tag-error.js +4 -0
- package/dist/lib/error/feature-has-tag-error.js.map +1 -1
- package/dist/lib/error/forbidden-error.d.ts +5 -0
- package/dist/lib/error/forbidden-error.js +12 -0
- package/dist/lib/error/forbidden-error.js.map +1 -0
- package/dist/lib/error/from-legacy-error.js +68 -0
- package/dist/lib/error/from-legacy-error.js.map +1 -1
- package/dist/lib/error/incompatible-project-error.d.ts +1 -0
- package/dist/lib/error/incompatible-project-error.js +1 -0
- package/dist/lib/error/incompatible-project-error.js.map +1 -1
- package/dist/lib/error/index.d.ts +3 -2
- package/dist/lib/error/index.js +5 -3
- package/dist/lib/error/index.js.map +1 -1
- package/dist/lib/error/invalid-operation-error.d.ts +1 -0
- package/dist/lib/error/invalid-operation-error.js +4 -0
- package/dist/lib/error/invalid-operation-error.js.map +1 -1
- package/dist/lib/error/invalid-token-error.d.ts +1 -0
- package/dist/lib/error/invalid-token-error.js +1 -0
- package/dist/lib/error/invalid-token-error.js.map +1 -1
- package/dist/lib/error/minimum-one-environment-error.d.ts +1 -0
- package/dist/lib/error/minimum-one-environment-error.js +4 -0
- package/dist/lib/error/minimum-one-environment-error.js.map +1 -1
- package/dist/lib/error/name-exists-error.d.ts +1 -0
- package/dist/lib/error/name-exists-error.js +4 -0
- package/dist/lib/error/name-exists-error.js.map +1 -1
- package/dist/lib/error/not-implemented-error.d.ts +1 -0
- package/dist/lib/error/not-implemented-error.js +4 -0
- package/dist/lib/error/not-implemented-error.js.map +1 -1
- package/dist/lib/error/notfound-error.d.ts +1 -0
- package/dist/lib/error/notfound-error.js +1 -0
- package/dist/lib/error/notfound-error.js.map +1 -1
- package/dist/lib/error/operation-denied-error.d.ts +1 -0
- package/dist/lib/error/operation-denied-error.js +4 -0
- package/dist/lib/error/operation-denied-error.js.map +1 -1
- package/dist/lib/error/owasp-validation-error.d.ts +1 -0
- package/dist/lib/error/owasp-validation-error.js +1 -0
- package/dist/lib/error/owasp-validation-error.js.map +1 -1
- package/dist/lib/error/password-mismatch.d.ts +1 -0
- package/dist/lib/error/password-mismatch.js +1 -0
- package/dist/lib/error/password-mismatch.js.map +1 -1
- package/dist/lib/error/password-undefined.d.ts +1 -0
- package/dist/lib/error/password-undefined.js +1 -0
- package/dist/lib/error/password-undefined.js.map +1 -1
- package/dist/lib/error/{no-access-error.d.ts → permission-error.d.ts} +3 -2
- package/dist/lib/error/{no-access-error.js → permission-error.js} +10 -7
- package/dist/lib/error/permission-error.js.map +1 -0
- package/dist/lib/error/project-without-owner-error.d.ts +1 -0
- package/dist/lib/error/project-without-owner-error.js +1 -0
- package/dist/lib/error/project-without-owner-error.js.map +1 -1
- package/dist/lib/error/role-in-use-error.d.ts +1 -0
- package/dist/lib/error/role-in-use-error.js +4 -0
- package/dist/lib/error/role-in-use-error.js.map +1 -1
- package/dist/lib/error/unauthorized-error.d.ts +1 -0
- package/dist/lib/error/unauthorized-error.js +4 -0
- package/dist/lib/error/unauthorized-error.js.map +1 -1
- package/dist/lib/error/unleash-error.d.ts +5 -3
- package/dist/lib/error/unleash-error.js +4 -61
- package/dist/lib/error/unleash-error.js.map +1 -1
- package/dist/lib/error/unleash-error.test.js +67 -37
- package/dist/lib/error/unleash-error.test.js.map +1 -1
- package/dist/lib/error/used-token-error.d.ts +1 -0
- package/dist/lib/error/used-token-error.js +1 -0
- package/dist/lib/error/used-token-error.js.map +1 -1
- package/dist/lib/features/export-import-toggles/export-import-controller.js +12 -7
- package/dist/lib/features/export-import-toggles/export-import-controller.js.map +1 -1
- package/dist/lib/features/export-import-toggles/import-permissions-service.js +1 -1
- package/dist/lib/features/export-import-toggles/import-permissions-service.js.map +1 -1
- package/dist/lib/features/feature-toggle/createFeatureToggleService.js +1 -1
- package/dist/lib/features/feature-toggle/createFeatureToggleService.js.map +1 -1
- package/dist/lib/features/group/createGroupService.d.ts +4 -0
- package/dist/lib/features/group/createGroupService.js +20 -0
- package/dist/lib/features/group/createGroupService.js.map +1 -0
- package/dist/lib/features/playground/feature-evaluator/client.d.ts +3 -1
- package/dist/lib/features/playground/feature-evaluator/client.js +33 -13
- package/dist/lib/features/playground/feature-evaluator/client.js.map +1 -1
- package/dist/lib/features/playground/feature-evaluator/strategy/strategy.d.ts +3 -1
- package/dist/lib/features/playground/feature-evaluator/strategy/strategy.js +14 -1
- package/dist/lib/features/playground/feature-evaluator/strategy/strategy.js.map +1 -1
- package/dist/lib/features/playground/feature-evaluator/variant.d.ts +4 -4
- package/dist/lib/features/playground/feature-evaluator/variant.js +14 -10
- package/dist/lib/features/playground/feature-evaluator/variant.js.map +1 -1
- package/dist/lib/features/playground/offline-unleash-client.js +7 -0
- package/dist/lib/features/playground/offline-unleash-client.js.map +1 -1
- package/dist/lib/features/playground/offline-unleash-client.test.js +69 -0
- package/dist/lib/features/playground/offline-unleash-client.test.js.map +1 -1
- package/dist/lib/features/playground/playground-service.js +5 -3
- package/dist/lib/features/playground/playground-service.js.map +1 -1
- package/dist/lib/features/playground/playground.js +12 -15
- package/dist/lib/features/playground/playground.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/openapi/index.js +15 -3
- package/dist/lib/openapi/index.js.map +1 -1
- package/dist/lib/openapi/meta-schema-rules.test.js +0 -126
- package/dist/lib/openapi/meta-schema-rules.test.js.map +1 -1
- package/dist/lib/openapi/spec/addon-type-schema.d.ts +57 -0
- package/dist/lib/openapi/spec/addon-type-schema.js +50 -0
- package/dist/lib/openapi/spec/addon-type-schema.js.map +1 -1
- package/dist/lib/openapi/spec/addons-schema.d.ts +64 -0
- package/dist/lib/openapi/spec/advanced-playground-environment-feature-schema.d.ts +166 -4
- package/dist/lib/openapi/spec/advanced-playground-environment-feature-schema.js +1 -2
- package/dist/lib/openapi/spec/advanced-playground-environment-feature-schema.js.map +1 -1
- package/dist/lib/openapi/spec/advanced-playground-feature-schema.d.ts +331 -6
- package/dist/lib/openapi/spec/advanced-playground-response-schema.d.ts +662 -12
- package/dist/lib/openapi/spec/api-tokens-schema.d.ts +2 -2
- package/dist/lib/openapi/spec/api-tokens-schema.js +2 -2
- package/dist/lib/openapi/spec/api-tokens-schema.js.map +1 -1
- package/dist/lib/openapi/spec/batch-features-schema.d.ts +3 -0
- package/dist/lib/openapi/spec/batch-features-schema.js +3 -0
- package/dist/lib/openapi/spec/batch-features-schema.js.map +1 -1
- package/dist/lib/openapi/spec/batch-stale-schema.d.ts +7 -0
- package/dist/lib/openapi/spec/batch-stale-schema.js +7 -0
- package/dist/lib/openapi/spec/batch-stale-schema.js.map +1 -1
- package/dist/lib/openapi/spec/change-password-schema.d.ts +5 -0
- package/dist/lib/openapi/spec/change-password-schema.js +5 -0
- package/dist/lib/openapi/spec/change-password-schema.js.map +1 -1
- package/dist/lib/openapi/spec/client-feature-schema.d.ts +121 -3
- package/dist/lib/openapi/spec/client-feature-schema.js +2 -0
- package/dist/lib/openapi/spec/client-feature-schema.js.map +1 -1
- package/dist/lib/openapi/spec/client-features-schema.d.ts +246 -16
- package/dist/lib/openapi/spec/client-features-schema.js +5 -3
- package/dist/lib/openapi/spec/client-features-schema.js.map +1 -1
- package/dist/lib/openapi/spec/client-features-schema.test.js +1 -2
- package/dist/lib/openapi/spec/client-features-schema.test.js.map +1 -1
- package/dist/lib/openapi/spec/client-segment-schema.d.ts +75 -0
- package/dist/lib/openapi/spec/client-segment-schema.js +35 -0
- package/dist/lib/openapi/spec/client-segment-schema.js.map +1 -0
- package/dist/lib/openapi/spec/clone-feature-schema.d.ts +5 -0
- package/dist/lib/openapi/spec/clone-feature-schema.js +5 -0
- package/dist/lib/openapi/spec/clone-feature-schema.js.map +1 -1
- package/dist/lib/openapi/spec/context-field-schema.d.ts +22 -3
- package/dist/lib/openapi/spec/context-field-schema.js +17 -3
- package/dist/lib/openapi/spec/context-field-schema.js.map +1 -1
- package/dist/lib/openapi/spec/context-field-strategies-schema.d.ts +1 -1
- package/dist/lib/openapi/spec/context-field-strategies-schema.js +1 -1
- package/dist/lib/openapi/spec/context-field-strategies-schema.js.map +1 -1
- package/dist/lib/openapi/spec/context-fields-schema.d.ts +28 -3
- package/dist/lib/openapi/spec/context-fields-schema.js +1 -0
- package/dist/lib/openapi/spec/context-fields-schema.js.map +1 -1
- package/dist/lib/openapi/spec/create-api-token-schema.d.ts +130 -32
- package/dist/lib/openapi/spec/create-api-token-schema.js +71 -35
- package/dist/lib/openapi/spec/create-api-token-schema.js.map +1 -1
- package/dist/lib/openapi/spec/create-feature-schema.d.ts +9 -0
- package/dist/lib/openapi/spec/create-feature-schema.js +9 -0
- package/dist/lib/openapi/spec/create-feature-schema.js.map +1 -1
- package/dist/lib/openapi/spec/create-feature-strategy-schema.d.ts +63 -2
- package/dist/lib/openapi/spec/create-feature-strategy-schema.js +12 -2
- package/dist/lib/openapi/spec/create-feature-strategy-schema.js.map +1 -1
- package/dist/lib/openapi/spec/create-group-schema.d.ts +61 -0
- package/dist/lib/openapi/spec/create-group-schema.js +43 -0
- package/dist/lib/openapi/spec/create-group-schema.js.map +1 -0
- package/dist/lib/openapi/spec/create-strategy-schema.d.ts +52 -0
- package/dist/lib/openapi/spec/create-strategy-schema.js +60 -0
- package/dist/lib/openapi/spec/create-strategy-schema.js.map +1 -0
- package/dist/lib/openapi/spec/create-strategy-variant-schema.d.ts +54 -0
- package/dist/lib/openapi/spec/create-strategy-variant-schema.js +53 -0
- package/dist/lib/openapi/spec/create-strategy-variant-schema.js.map +1 -0
- package/dist/lib/openapi/spec/create-user-response-schema.d.ts +98 -0
- package/dist/lib/openapi/spec/create-user-response-schema.js +31 -0
- package/dist/lib/openapi/spec/create-user-response-schema.js.map +1 -0
- package/dist/lib/openapi/spec/create-user-schema.d.ts +21 -1
- package/dist/lib/openapi/spec/create-user-schema.js +24 -1
- package/dist/lib/openapi/spec/create-user-schema.js.map +1 -1
- package/dist/lib/openapi/spec/email-schema.d.ts +3 -0
- package/dist/lib/openapi/spec/email-schema.js +3 -0
- package/dist/lib/openapi/spec/email-schema.js.map +1 -1
- package/dist/lib/openapi/spec/environment-project-schema.d.ts +115 -2
- package/dist/lib/openapi/spec/environment-project-schema.js +2 -0
- package/dist/lib/openapi/spec/environment-project-schema.js.map +1 -1
- package/dist/lib/openapi/spec/environments-project-schema.d.ts +118 -2
- package/dist/lib/openapi/spec/environments-project-schema.js +3 -0
- package/dist/lib/openapi/spec/environments-project-schema.js.map +1 -1
- package/dist/lib/openapi/spec/environments-schema.d.ts +4 -0
- package/dist/lib/openapi/spec/environments-schema.js +4 -0
- package/dist/lib/openapi/spec/environments-schema.js.map +1 -1
- package/dist/lib/openapi/spec/event-schema.d.ts +130 -0
- package/dist/lib/openapi/spec/event-schema.js +42 -2
- package/dist/lib/openapi/spec/event-schema.js.map +1 -1
- package/dist/lib/openapi/spec/events-schema.d.ts +137 -0
- package/dist/lib/openapi/spec/events-schema.js +7 -0
- package/dist/lib/openapi/spec/events-schema.js.map +1 -1
- package/dist/lib/openapi/spec/export-query-schema.d.ts +7 -0
- package/dist/lib/openapi/spec/export-query-schema.js +7 -0
- package/dist/lib/openapi/spec/export-query-schema.js.map +1 -1
- package/dist/lib/openapi/spec/export-result-schema.d.ts +609 -17
- package/dist/lib/openapi/spec/export-result-schema.js +90 -0
- package/dist/lib/openapi/spec/export-result-schema.js.map +1 -1
- package/dist/lib/openapi/spec/feature-environment-schema.d.ts +125 -3
- package/dist/lib/openapi/spec/feature-environment-schema.js +6 -0
- package/dist/lib/openapi/spec/feature-environment-schema.js.map +1 -1
- package/dist/lib/openapi/spec/feature-events-schema.d.ts +141 -1
- package/dist/lib/openapi/spec/feature-events-schema.js +13 -1
- package/dist/lib/openapi/spec/feature-events-schema.js.map +1 -1
- package/dist/lib/openapi/spec/feature-schema.d.ts +251 -6
- package/dist/lib/openapi/spec/feature-schema.js +7 -0
- package/dist/lib/openapi/spec/feature-schema.js.map +1 -1
- package/dist/lib/openapi/spec/feature-schema.test.js +2 -2
- package/dist/lib/openapi/spec/feature-schema.test.js.map +1 -1
- package/dist/lib/openapi/spec/feature-strategy-schema.d.ts +61 -1
- package/dist/lib/openapi/spec/feature-strategy-schema.js +10 -1
- package/dist/lib/openapi/spec/feature-strategy-schema.js.map +1 -1
- package/dist/lib/openapi/spec/feature-type-schema.d.ts +11 -1
- package/dist/lib/openapi/spec/feature-type-schema.js +11 -1
- package/dist/lib/openapi/spec/feature-type-schema.js.map +1 -1
- package/dist/lib/openapi/spec/feature-types-schema.d.ts +42 -1
- package/dist/lib/openapi/spec/feature-types-schema.js +37 -0
- package/dist/lib/openapi/spec/feature-types-schema.js.map +1 -1
- package/dist/lib/openapi/spec/feature-variants-schema.d.ts +11 -2
- package/dist/lib/openapi/spec/feature-variants-schema.js +4 -0
- package/dist/lib/openapi/spec/feature-variants-schema.js.map +1 -1
- package/dist/lib/openapi/spec/features-schema.d.ts +501 -12
- package/dist/lib/openapi/spec/features-schema.js +6 -0
- package/dist/lib/openapi/spec/features-schema.js.map +1 -1
- package/dist/lib/openapi/spec/feedback-create-schema.d.ts +21 -0
- package/dist/lib/openapi/spec/feedback-create-schema.js +23 -0
- package/dist/lib/openapi/spec/feedback-create-schema.js.map +1 -0
- package/dist/lib/openapi/spec/feedback-response-schema.d.ts +33 -0
- package/dist/lib/openapi/spec/feedback-response-schema.js +35 -0
- package/dist/lib/openapi/spec/feedback-response-schema.js.map +1 -0
- package/dist/lib/openapi/spec/feedback-update-schema.d.ts +27 -0
- package/dist/lib/openapi/spec/feedback-update-schema.js +29 -0
- package/dist/lib/openapi/spec/feedback-update-schema.js.map +1 -0
- package/dist/lib/openapi/spec/group-schema.d.ts +107 -9
- package/dist/lib/openapi/spec/group-schema.js +20 -3
- package/dist/lib/openapi/spec/group-schema.js.map +1 -1
- package/dist/lib/openapi/spec/group-user-model-schema.d.ts +46 -3
- package/dist/lib/openapi/spec/group-user-model-schema.js +5 -0
- package/dist/lib/openapi/spec/group-user-model-schema.js.map +1 -1
- package/dist/lib/openapi/spec/groups-schema.d.ts +196 -15
- package/dist/lib/openapi/spec/groups-schema.js +2 -0
- package/dist/lib/openapi/spec/groups-schema.js.map +1 -1
- package/dist/lib/openapi/spec/health-overview-schema.d.ts +733 -16
- package/dist/lib/openapi/spec/health-overview-schema.js +10 -0
- package/dist/lib/openapi/spec/health-overview-schema.js.map +1 -1
- package/dist/lib/openapi/spec/health-report-schema.d.ts +733 -16
- package/dist/lib/openapi/spec/id-schema.d.ts +3 -0
- package/dist/lib/openapi/spec/id-schema.js +3 -0
- package/dist/lib/openapi/spec/id-schema.js.map +1 -1
- package/dist/lib/openapi/spec/import-toggles-schema.d.ts +1198 -63
- package/dist/lib/openapi/spec/import-toggles-schema.js +7 -0
- package/dist/lib/openapi/spec/import-toggles-schema.js.map +1 -1
- package/dist/lib/openapi/spec/import-toggles-validate-item-schema.d.ts +5 -0
- package/dist/lib/openapi/spec/import-toggles-validate-item-schema.js +5 -0
- package/dist/lib/openapi/spec/import-toggles-validate-item-schema.js.map +1 -1
- package/dist/lib/openapi/spec/import-toggles-validate-schema.d.ts +18 -0
- package/dist/lib/openapi/spec/import-toggles-validate-schema.js +17 -0
- package/dist/lib/openapi/spec/import-toggles-validate-schema.js.map +1 -1
- package/dist/lib/openapi/spec/index.d.ts +15 -3
- package/dist/lib/openapi/spec/index.js +15 -3
- package/dist/lib/openapi/spec/index.js.map +1 -1
- package/dist/lib/openapi/spec/legal-value-schema.d.ts +5 -0
- package/dist/lib/openapi/spec/legal-value-schema.js +5 -0
- package/dist/lib/openapi/spec/legal-value-schema.js.map +1 -1
- package/dist/lib/openapi/spec/login-schema.d.ts +5 -0
- package/dist/lib/openapi/spec/login-schema.js +5 -0
- package/dist/lib/openapi/spec/login-schema.js.map +1 -1
- package/dist/lib/openapi/spec/me-schema.d.ts +69 -11
- package/dist/lib/openapi/spec/me-schema.js +7 -3
- package/dist/lib/openapi/spec/me-schema.js.map +1 -1
- package/dist/lib/openapi/spec/name-schema.d.ts +3 -0
- package/dist/lib/openapi/spec/name-schema.js +3 -0
- package/dist/lib/openapi/spec/name-schema.js.map +1 -1
- package/dist/lib/openapi/spec/parameters-schema.d.ts +1 -0
- package/dist/lib/openapi/spec/parameters-schema.js +1 -0
- package/dist/lib/openapi/spec/parameters-schema.js.map +1 -1
- package/dist/lib/openapi/spec/password-schema.d.ts +7 -0
- package/dist/lib/openapi/spec/password-schema.js +7 -0
- package/dist/lib/openapi/spec/password-schema.js.map +1 -1
- package/dist/lib/openapi/spec/patches-schema.d.ts +1 -0
- package/dist/lib/openapi/spec/patches-schema.js +1 -0
- package/dist/lib/openapi/spec/patches-schema.js.map +1 -1
- package/dist/lib/openapi/spec/permission-schema.d.ts +7 -0
- package/dist/lib/openapi/spec/permission-schema.js +7 -0
- package/dist/lib/openapi/spec/permission-schema.js.map +1 -1
- package/dist/lib/openapi/spec/playground-feature-schema.d.ts +165 -3
- package/dist/lib/openapi/spec/playground-feature-schema.js +0 -1
- package/dist/lib/openapi/spec/playground-feature-schema.js.map +1 -1
- package/dist/lib/openapi/spec/playground-response-schema.d.ts +330 -5
- package/dist/lib/openapi/spec/playground-strategy-schema.d.ts +204 -0
- package/dist/lib/openapi/spec/playground-strategy-schema.js +49 -0
- package/dist/lib/openapi/spec/playground-strategy-schema.js.map +1 -1
- package/dist/lib/openapi/spec/profile-schema.d.ts +267 -7
- package/dist/lib/openapi/spec/profile-schema.js +5 -0
- package/dist/lib/openapi/spec/profile-schema.js.map +1 -1
- package/dist/lib/openapi/spec/project-environment-schema.d.ts +115 -2
- package/dist/lib/openapi/spec/project-environment-schema.js +2 -0
- package/dist/lib/openapi/spec/project-environment-schema.js.map +1 -1
- package/dist/lib/openapi/spec/project-overview-schema.d.ts +733 -16
- package/dist/lib/openapi/spec/project-overview-schema.js +10 -0
- package/dist/lib/openapi/spec/project-overview-schema.js.map +1 -1
- package/dist/lib/openapi/spec/proxy-client-schema.d.ts +3 -0
- package/dist/lib/openapi/spec/proxy-client-schema.js +3 -0
- package/dist/lib/openapi/spec/proxy-client-schema.js.map +1 -1
- package/dist/lib/openapi/spec/proxy-feature-schema.d.ts +20 -2
- package/dist/lib/openapi/spec/proxy-feature-schema.js +20 -3
- package/dist/lib/openapi/spec/proxy-feature-schema.js.map +1 -1
- package/dist/lib/openapi/spec/proxy-features-schema.d.ts +22 -1
- package/dist/lib/openapi/spec/proxy-features-schema.js +2 -0
- package/dist/lib/openapi/spec/proxy-features-schema.js.map +1 -1
- package/dist/lib/openapi/spec/public-signup-token-schema.d.ts +52 -4
- package/dist/lib/openapi/spec/public-signup-tokens-schema.d.ts +104 -8
- package/dist/lib/openapi/spec/push-variants-schema.d.ts +7 -2
- package/dist/lib/openapi/spec/requests-per-second-schema.d.ts +16 -0
- package/dist/lib/openapi/spec/requests-per-second-schema.js +22 -2
- package/dist/lib/openapi/spec/requests-per-second-schema.js.map +1 -1
- package/dist/lib/openapi/spec/requests-per-second-segmented-schema.d.ts +17 -0
- package/dist/lib/openapi/spec/requests-per-second-segmented-schema.js +1 -0
- package/dist/lib/openapi/spec/requests-per-second-segmented-schema.js.map +1 -1
- package/dist/lib/openapi/spec/role-schema.d.ts +11 -1
- package/dist/lib/openapi/spec/role-schema.js +11 -1
- package/dist/lib/openapi/spec/role-schema.js.map +1 -1
- package/dist/lib/openapi/spec/search-events-schema.d.ts +9 -0
- package/dist/lib/openapi/spec/search-events-schema.js +10 -0
- package/dist/lib/openapi/spec/search-events-schema.js.map +1 -1
- package/dist/lib/openapi/spec/segment-schema.d.ts +23 -6
- package/dist/lib/openapi/spec/segment-schema.js +18 -15
- package/dist/lib/openapi/spec/segment-schema.js.map +1 -1
- package/dist/lib/openapi/spec/set-strategy-sort-order-schema.d.ts +6 -0
- package/dist/lib/openapi/spec/set-strategy-sort-order-schema.js +6 -0
- package/dist/lib/openapi/spec/set-strategy-sort-order-schema.js.map +1 -1
- package/dist/lib/openapi/spec/set-ui-config-schema.d.ts +4 -0
- package/dist/lib/openapi/spec/set-ui-config-schema.js +4 -0
- package/dist/lib/openapi/spec/set-ui-config-schema.js.map +1 -1
- package/dist/lib/openapi/spec/splash-request-schema.d.ts +21 -0
- package/dist/lib/openapi/spec/splash-request-schema.js +23 -0
- package/dist/lib/openapi/spec/splash-request-schema.js.map +1 -0
- package/dist/lib/openapi/spec/splash-response-schema.d.ts +27 -0
- package/dist/lib/openapi/spec/splash-response-schema.js +21 -0
- package/dist/lib/openapi/spec/splash-response-schema.js.map +1 -0
- package/dist/lib/openapi/spec/state-schema.d.ts +523 -19
- package/dist/lib/openapi/spec/state-schema.js +2 -0
- package/dist/lib/openapi/spec/state-schema.js.map +1 -1
- package/dist/lib/openapi/spec/strategies-schema.d.ts +9 -3
- package/dist/lib/openapi/spec/strategies-schema.js +5 -0
- package/dist/lib/openapi/spec/strategies-schema.js.map +1 -1
- package/dist/lib/openapi/spec/strategy-schema.d.ts +4 -3
- package/dist/lib/openapi/spec/strategy-schema.js +4 -3
- package/dist/lib/openapi/spec/strategy-schema.js.map +1 -1
- package/dist/lib/openapi/spec/strategy-schema.test.js +5 -0
- package/dist/lib/openapi/spec/strategy-schema.test.js.map +1 -1
- package/dist/lib/openapi/spec/strategy-variant-schema.d.ts +54 -0
- package/dist/lib/openapi/spec/strategy-variant-schema.js +16 -0
- package/dist/lib/openapi/spec/strategy-variant-schema.js.map +1 -0
- package/dist/lib/openapi/spec/tag-type-schema.d.ts +7 -0
- package/dist/lib/openapi/spec/tag-type-schema.js +7 -0
- package/dist/lib/openapi/spec/tag-type-schema.js.map +1 -1
- package/dist/lib/openapi/spec/tag-types-schema.d.ts +11 -0
- package/dist/lib/openapi/spec/tag-types-schema.js +4 -0
- package/dist/lib/openapi/spec/tag-types-schema.js.map +1 -1
- package/dist/lib/openapi/spec/tag-with-version-schema.d.ts +3 -0
- package/dist/lib/openapi/spec/tag-with-version-schema.js +3 -0
- package/dist/lib/openapi/spec/tag-with-version-schema.js.map +1 -1
- package/dist/lib/openapi/spec/telemetry-settings-schema.d.ts +22 -0
- package/dist/lib/openapi/spec/telemetry-settings-schema.js +24 -0
- package/dist/lib/openapi/spec/telemetry-settings-schema.js.map +1 -0
- package/dist/lib/openapi/spec/token-user-schema.d.ts +23 -2
- package/dist/lib/openapi/spec/token-user-schema.js +12 -1
- package/dist/lib/openapi/spec/token-user-schema.js.map +1 -1
- package/dist/lib/openapi/spec/ui-config-schema.d.ts +77 -1
- package/dist/lib/openapi/spec/ui-config-schema.js +53 -0
- package/dist/lib/openapi/spec/ui-config-schema.js.map +1 -1
- package/dist/lib/openapi/spec/update-api-token-schema.d.ts +3 -0
- package/dist/lib/openapi/spec/update-api-token-schema.js +3 -0
- package/dist/lib/openapi/spec/update-api-token-schema.js.map +1 -1
- package/dist/lib/openapi/spec/update-feature-schema.d.ts +11 -14
- package/dist/lib/openapi/spec/update-feature-schema.js +11 -14
- package/dist/lib/openapi/spec/update-feature-schema.js.map +1 -1
- package/dist/lib/openapi/spec/update-feature-strategy-schema.d.ts +5 -0
- package/dist/lib/openapi/spec/update-feature-strategy-schema.js +4 -0
- 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 +19 -0
- package/dist/lib/openapi/spec/update-feature-type-lifetime-schema.js +21 -0
- package/dist/lib/openapi/spec/update-feature-type-lifetime-schema.js.map +1 -0
- package/dist/lib/openapi/spec/update-strategy-schema.d.ts +47 -0
- package/dist/lib/openapi/spec/update-strategy-schema.js +55 -0
- package/dist/lib/openapi/spec/update-strategy-schema.js.map +1 -0
- package/dist/lib/openapi/spec/update-tag-type-schema.d.ts +5 -0
- package/dist/lib/openapi/spec/update-tag-type-schema.js +5 -0
- package/dist/lib/openapi/spec/update-tag-type-schema.js.map +1 -1
- package/dist/lib/openapi/spec/update-user-schema.d.ts +15 -1
- package/dist/lib/openapi/spec/update-user-schema.js +18 -1
- package/dist/lib/openapi/spec/update-user-schema.js.map +1 -1
- package/dist/lib/openapi/spec/upsert-context-field-schema.d.ts +5 -0
- package/dist/lib/openapi/spec/user-schema.d.ts +41 -3
- package/dist/lib/openapi/spec/user-schema.js +41 -3
- package/dist/lib/openapi/spec/user-schema.js.map +1 -1
- package/dist/lib/openapi/spec/users-groups-base-schema.d.ts +194 -15
- package/dist/lib/openapi/spec/users-schema.d.ts +55 -4
- package/dist/lib/openapi/spec/users-schema.js +3 -0
- package/dist/lib/openapi/spec/users-schema.js.map +1 -1
- package/dist/lib/openapi/spec/users-search-schema.d.ts +41 -3
- package/dist/lib/openapi/spec/validate-feature-schema.d.ts +16 -0
- package/dist/lib/openapi/spec/validate-feature-schema.js +18 -0
- package/dist/lib/openapi/spec/validate-feature-schema.js.map +1 -0
- package/dist/lib/openapi/spec/validate-password-schema.d.ts +3 -0
- package/dist/lib/openapi/spec/validate-password-schema.js +3 -0
- package/dist/lib/openapi/spec/validate-password-schema.js.map +1 -1
- package/dist/lib/openapi/spec/validate-tag-type-schema.d.ts +10 -0
- package/dist/lib/openapi/spec/validate-tag-type-schema.js +3 -0
- package/dist/lib/openapi/spec/validate-tag-type-schema.js.map +1 -1
- package/dist/lib/openapi/spec/variant-flag-schema.d.ts +11 -0
- package/dist/lib/openapi/spec/variant-flag-schema.js +11 -0
- package/dist/lib/openapi/spec/variant-flag-schema.js.map +1 -1
- package/dist/lib/openapi/spec/variant-schema.d.ts +7 -2
- package/dist/lib/openapi/spec/variant-schema.js +7 -2
- package/dist/lib/openapi/spec/variant-schema.js.map +1 -1
- package/dist/lib/openapi/spec/variants-schema.d.ts +7 -2
- package/dist/lib/openapi/spec/version-schema.d.ts +16 -1
- package/dist/lib/openapi/spec/version-schema.js +16 -1
- package/dist/lib/openapi/spec/version-schema.js.map +1 -1
- package/dist/lib/openapi/util/openapi-tags.d.ts +14 -2
- package/dist/lib/openapi/util/openapi-tags.js +9 -1
- package/dist/lib/openapi/util/openapi-tags.js.map +1 -1
- package/dist/lib/openapi/util/standard-responses.d.ts +1 -1
- package/dist/lib/openapi/util/standard-responses.js +1 -1
- package/dist/lib/openapi/util/standard-responses.js.map +1 -1
- package/dist/lib/openapi/validate.js +1 -1
- package/dist/lib/openapi/validate.js.map +1 -1
- package/dist/lib/routes/admin-api/api-token.js +12 -0
- package/dist/lib/routes/admin-api/api-token.js.map +1 -1
- package/dist/lib/routes/admin-api/archive.d.ts +0 -1
- package/dist/lib/routes/admin-api/archive.js +20 -5
- package/dist/lib/routes/admin-api/archive.js.map +1 -1
- package/dist/lib/routes/admin-api/config.js +4 -0
- package/dist/lib/routes/admin-api/config.js.map +1 -1
- package/dist/lib/routes/admin-api/constraints.d.ts +2 -2
- package/dist/lib/routes/admin-api/constraints.js +5 -2
- package/dist/lib/routes/admin-api/constraints.js.map +1 -1
- package/dist/lib/routes/admin-api/context.d.ts +2 -1
- package/dist/lib/routes/admin-api/context.js +16 -4
- package/dist/lib/routes/admin-api/context.js.map +1 -1
- package/dist/lib/routes/admin-api/event.js +6 -3
- package/dist/lib/routes/admin-api/event.js.map +1 -1
- package/dist/lib/routes/admin-api/favorites.js +24 -4
- package/dist/lib/routes/admin-api/favorites.js.map +1 -1
- package/dist/lib/routes/admin-api/feature-type.d.ts +6 -0
- package/dist/lib/routes/admin-api/feature-type.js +37 -1
- package/dist/lib/routes/admin-api/feature-type.js.map +1 -1
- package/dist/lib/routes/admin-api/feature.d.ts +2 -3
- package/dist/lib/routes/admin-api/feature.js +14 -3
- package/dist/lib/routes/admin-api/feature.js.map +1 -1
- package/dist/lib/routes/admin-api/index.js +2 -0
- package/dist/lib/routes/admin-api/index.js.map +1 -1
- package/dist/lib/routes/admin-api/project/project-archive.js +13 -4
- package/dist/lib/routes/admin-api/project/project-archive.js.map +1 -1
- package/dist/lib/routes/admin-api/project/project-features.d.ts +1 -1
- package/dist/lib/routes/admin-api/project/project-features.js +116 -27
- package/dist/lib/routes/admin-api/project/project-features.js.map +1 -1
- package/dist/lib/routes/admin-api/project/variants.js +26 -16
- package/dist/lib/routes/admin-api/project/variants.js.map +1 -1
- package/dist/lib/routes/admin-api/strategy.d.ts +6 -3
- package/dist/lib/routes/admin-api/strategy.js +40 -12
- package/dist/lib/routes/admin-api/strategy.js.map +1 -1
- package/dist/lib/routes/admin-api/strategy.test.js +5 -5
- package/dist/lib/routes/admin-api/strategy.test.js.map +1 -1
- package/dist/lib/routes/admin-api/tag-type.js +21 -1
- package/dist/lib/routes/admin-api/tag-type.js.map +1 -1
- package/dist/lib/routes/admin-api/tag.js +17 -1
- package/dist/lib/routes/admin-api/tag.js.map +1 -1
- package/dist/lib/routes/admin-api/telemetry.d.ts +14 -0
- package/dist/lib/routes/admin-api/telemetry.js +41 -0
- package/dist/lib/routes/admin-api/telemetry.js.map +1 -0
- package/dist/lib/routes/admin-api/user/user.js +20 -4
- package/dist/lib/routes/admin-api/user/user.js.map +1 -1
- package/dist/lib/routes/admin-api/user-admin.d.ts +3 -2
- package/dist/lib/routes/admin-api/user-admin.js +88 -14
- package/dist/lib/routes/admin-api/user-admin.js.map +1 -1
- package/dist/lib/routes/admin-api/user-feedback.js +17 -7
- package/dist/lib/routes/admin-api/user-feedback.js.map +1 -1
- package/dist/lib/routes/admin-api/user-splash.js +9 -3
- package/dist/lib/routes/admin-api/user-splash.js.map +1 -1
- package/dist/lib/routes/auth/reset-password-controller.js +24 -4
- package/dist/lib/routes/auth/reset-password-controller.js.map +1 -1
- package/dist/lib/routes/auth/simple-password-provider.js +4 -0
- package/dist/lib/routes/auth/simple-password-provider.js.map +1 -1
- package/dist/lib/routes/client-api/feature.js +1 -1
- package/dist/lib/routes/client-api/feature.js.map +1 -1
- package/dist/lib/routes/client-api/feature.test.js +8 -3
- package/dist/lib/routes/client-api/feature.test.js.map +1 -1
- package/dist/lib/routes/client-api/metrics.js +3 -3
- package/dist/lib/routes/client-api/metrics.js.map +1 -1
- package/dist/lib/routes/controller.js +2 -2
- package/dist/lib/routes/controller.js.map +1 -1
- package/dist/lib/routes/index.js +1 -3
- package/dist/lib/routes/index.js.map +1 -1
- package/dist/lib/routes/proxy-api/index.d.ts +1 -1
- package/dist/lib/routes/proxy-api/index.js +27 -4
- package/dist/lib/routes/proxy-api/index.js.map +1 -1
- package/dist/lib/segments/segment-service-interface.d.ts +2 -1
- package/dist/lib/server-impl.js +1 -0
- package/dist/lib/server-impl.js.map +1 -1
- package/dist/lib/services/addon-service.d.ts +2 -1
- package/dist/lib/services/addon-service.js +6 -2
- package/dist/lib/services/addon-service.js.map +1 -1
- package/dist/lib/services/client-metrics/metrics-service-v2.js +24 -13
- package/dist/lib/services/client-metrics/metrics-service-v2.js.map +1 -1
- package/dist/lib/services/event-announcer-service.d.ts +8 -0
- package/dist/lib/services/event-announcer-service.js +13 -0
- package/dist/lib/services/event-announcer-service.js.map +1 -0
- package/dist/lib/services/feature-service-potentially-stale.test.d.ts +1 -0
- package/dist/lib/services/feature-service-potentially-stale.test.js +44 -0
- package/dist/lib/services/feature-service-potentially-stale.test.js.map +1 -0
- package/dist/lib/services/feature-toggle-service.d.ts +5 -2
- package/dist/lib/services/feature-toggle-service.js +95 -16
- package/dist/lib/services/feature-toggle-service.js.map +1 -1
- package/dist/lib/services/feature-type-service.d.ts +1 -0
- package/dist/lib/services/feature-type-service.js +14 -0
- package/dist/lib/services/feature-type-service.js.map +1 -1
- package/dist/lib/services/group-service.d.ts +4 -4
- package/dist/lib/services/group-service.js.map +1 -1
- package/dist/lib/services/index.js +9 -1
- package/dist/lib/services/index.js.map +1 -1
- package/dist/lib/services/project-schema.js +1 -0
- package/dist/lib/services/project-schema.js.map +1 -1
- package/dist/lib/services/project-service.d.ts +2 -4
- package/dist/lib/services/project-service.js +4 -9
- package/dist/lib/services/project-service.js.map +1 -1
- package/dist/lib/services/segment-service.d.ts +2 -1
- package/dist/lib/services/segment-service.js +3 -0
- package/dist/lib/services/segment-service.js.map +1 -1
- package/dist/lib/services/tag-type-service.d.ts +2 -2
- package/dist/lib/services/tag-type-service.js +5 -3
- package/dist/lib/services/tag-type-service.js.map +1 -1
- package/dist/lib/services/user-service.js +13 -7
- package/dist/lib/services/user-service.js.map +1 -1
- package/dist/lib/services/version-service.d.ts +1 -2
- package/dist/lib/services/version-service.js +2 -4
- package/dist/lib/services/version-service.js.map +1 -1
- package/dist/lib/services/version-service.test.js +0 -57
- package/dist/lib/services/version-service.test.js.map +1 -1
- package/dist/lib/types/authentication-required.d.ts +1 -0
- package/dist/lib/types/authentication-required.js +1 -0
- package/dist/lib/types/authentication-required.js.map +1 -1
- package/dist/lib/types/events.d.ts +138 -99
- package/dist/lib/types/events.js +136 -3
- package/dist/lib/types/events.js.map +1 -1
- package/dist/lib/types/experimental.d.ts +1 -1
- package/dist/lib/types/experimental.js +5 -5
- package/dist/lib/types/experimental.js.map +1 -1
- package/dist/lib/types/group.d.ts +7 -0
- package/dist/lib/types/group.js.map +1 -1
- package/dist/lib/types/model.d.ts +24 -2
- package/dist/lib/types/model.js.map +1 -1
- package/dist/lib/types/services.d.ts +3 -0
- package/dist/lib/types/stores/event-store.d.ts +1 -0
- package/dist/lib/types/stores/feature-toggle-client-store.d.ts +2 -1
- package/dist/lib/types/stores/feature-toggle-store.d.ts +6 -0
- package/dist/lib/types/stores/feature-type-store.d.ts +1 -0
- package/dist/lib/types/stores/group-store.d.ts +4 -4
- package/dist/lib/types/stores/project-store.d.ts +3 -6
- package/dist/lib/types/stores/segment-store.d.ts +2 -1
- package/dist/lib/util/is-email.d.ts +7 -0
- package/dist/lib/util/is-email.js +9 -0
- package/dist/lib/util/is-email.js.map +1 -1
- package/dist/lib/util/load-index-html.js +1 -1
- package/dist/lib/util/load-index-html.js.map +1 -1
- package/dist/migrations/20230630080126-delete-deprecated-permissions.d.ts +2 -0
- package/dist/migrations/20230630080126-delete-deprecated-permissions.js +15 -0
- package/dist/migrations/20230630080126-delete-deprecated-permissions.js.map +1 -0
- package/dist/migrations/20230706123907-events-announced-column.d.ts +2 -0
- package/dist/migrations/20230706123907-events-announced-column.js +15 -0
- package/dist/migrations/20230706123907-events-announced-column.js.map +1 -0
- package/dist/migrations/20230711094214-add-potentially-stale-flag.d.ts +2 -0
- package/dist/migrations/20230711094214-add-potentially-stale-flag.js +18 -0
- package/dist/migrations/20230711094214-add-potentially-stale-flag.js.map +1 -0
- package/dist/migrations/20230711163311-project-feature-limit.d.ts +2 -0
- package/dist/migrations/20230711163311-project-feature-limit.js +13 -0
- package/dist/migrations/20230711163311-project-feature-limit.js.map +1 -0
- package/dist/migrations/20230712091834-strategy-variants.d.ts +2 -0
- package/dist/migrations/20230712091834-strategy-variants.js +81 -0
- package/dist/migrations/20230712091834-strategy-variants.js.map +1 -0
- package/dist/server-dev.js +5 -3
- package/dist/server-dev.js.map +1 -1
- package/dist/test/arbitraries.test.js +1 -1
- package/dist/test/arbitraries.test.js.map +1 -1
- package/dist/test/e2e/api/admin/addon.e2e.test.js +2 -1
- package/dist/test/e2e/api/admin/addon.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/admin/api-token.e2e.test.js +7 -1
- package/dist/test/e2e/api/admin/api-token.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/admin/archive.test.js +7 -1
- package/dist/test/e2e/api/admin/archive.test.js.map +1 -1
- package/dist/test/e2e/api/admin/config.e2e.test.js +7 -1
- package/dist/test/e2e/api/admin/config.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/admin/favorites.e2e.test.js +7 -1
- package/dist/test/e2e/api/admin/favorites.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/admin/feature-type.test.js +41 -1
- package/dist/test/e2e/api/admin/feature-type.test.js.map +1 -1
- package/dist/test/e2e/api/admin/feedback.e2e.test.js +7 -1
- package/dist/test/e2e/api/admin/feedback.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/admin/playground.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/admin/project/features.e2e.test.js +152 -0
- package/dist/test/e2e/api/admin/project/features.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/admin/project/variants.e2e.test.js +28 -12
- package/dist/test/e2e/api/admin/project/variants.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/admin/splash.e2e.test.js +7 -1
- package/dist/test/e2e/api/admin/splash.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/admin/state.e2e.test.js +6 -6
- package/dist/test/e2e/api/admin/state.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/admin/user-admin.e2e.test.js +7 -1
- package/dist/test/e2e/api/admin/user-admin.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/openapi/openapi.e2e.test.js +9 -6
- package/dist/test/e2e/api/openapi/openapi.e2e.test.js.map +1 -1
- package/dist/test/e2e/services/access-service.e2e.test.js +1 -1
- package/dist/test/e2e/services/access-service.e2e.test.js.map +1 -1
- package/dist/test/e2e/services/feature-toggle-service-v2.e2e.test.js +26 -4
- package/dist/test/e2e/services/feature-toggle-service-v2.e2e.test.js.map +1 -1
- package/dist/test/e2e/services/group-service.e2e.test.js +16 -0
- package/dist/test/e2e/services/group-service.e2e.test.js.map +1 -1
- package/dist/test/e2e/services/user-service.e2e.test.js +2 -2
- package/dist/test/e2e/services/user-service.e2e.test.js.map +1 -1
- package/dist/test/e2e/stores/event-store.e2e.test.js +3 -2
- package/dist/test/e2e/stores/event-store.e2e.test.js.map +1 -1
- package/dist/test/e2e/stores/feature-toggle-store.e2e.test.js +163 -0
- package/dist/test/e2e/stores/feature-toggle-store.e2e.test.js.map +1 -1
- package/dist/test/e2e/stores/feature-type-store.e2e.test.js +13 -0
- package/dist/test/e2e/stores/feature-type-store.e2e.test.js.map +1 -1
- package/dist/test/fixtures/fake-event-store.d.ts +1 -0
- package/dist/test/fixtures/fake-event-store.js +3 -0
- package/dist/test/fixtures/fake-event-store.js.map +1 -1
- package/dist/test/fixtures/fake-feature-toggle-client-store.d.ts +1 -0
- package/dist/test/fixtures/fake-feature-toggle-client-store.js +10 -0
- package/dist/test/fixtures/fake-feature-toggle-client-store.js.map +1 -1
- package/dist/test/fixtures/fake-feature-toggle-store.d.ts +6 -0
- package/dist/test/fixtures/fake-feature-toggle-store.js +6 -0
- package/dist/test/fixtures/fake-feature-toggle-store.js.map +1 -1
- package/dist/test/fixtures/fake-feature-type-store.d.ts +1 -0
- package/dist/test/fixtures/fake-feature-type-store.js +8 -0
- package/dist/test/fixtures/fake-feature-type-store.js.map +1 -1
- package/dist/test/fixtures/fake-group-store.d.ts +4 -4
- package/dist/test/fixtures/fake-group-store.js.map +1 -1
- package/dist/test/fixtures/fake-project-store.d.ts +3 -4
- package/dist/test/fixtures/fake-project-store.js +4 -13
- package/dist/test/fixtures/fake-project-store.js.map +1 -1
- package/dist/test/fixtures/fake-segment-store.d.ts +2 -1
- package/dist/test/fixtures/fake-segment-store.js +3 -0
- package/dist/test/fixtures/fake-segment-store.js.map +1 -1
- package/frontend/build/index.html +2 -2
- package/frontend/build/static/AdvancedPlayground-4c9d02ea.js +13 -0
- package/frontend/build/static/CreateProject-16b35d57.js +4 -0
- package/frontend/build/static/{Error-2c3030da.js → Error-50364f10.js} +1 -1
- package/frontend/build/static/{FeatureArchiveDialog-a529848e.js → FeatureArchiveDialog-fda1aa0c.js} +3 -3
- package/frontend/build/static/{FeatureMetricsChart-e8ede36a.js → FeatureMetricsChart-839cdf1e.js} +2 -2
- package/frontend/build/static/FeatureViewLazyExport-47bb7f13.js +7 -0
- package/frontend/build/static/LazyAdminExport-8ef0ca21.js +37 -0
- package/frontend/build/static/LazyProjectExport-49541c75.js +16 -0
- package/frontend/build/static/{NetworkOverview-e6f0a590.js → NetworkOverview-711050f3.js} +8 -8
- package/frontend/build/static/{NetworkTraffic-d1efc782.js → NetworkTraffic-e587c2c7.js} +1 -1
- package/frontend/build/static/RoleCell-9a62b4ed.js +1 -0
- package/frontend/build/static/StrategyItemContainer-4098c8ef.js +1 -0
- package/frontend/build/static/{chartjs-adapter-date-fns.esm-0d05c046.js → chartjs-adapter-date-fns.esm-d57aaddd.js} +1 -1
- package/frontend/build/static/demo-qr-c2ce85bd.png +0 -0
- package/frontend/build/static/{flowchart-elk-definition-170a3958-cc4ae597.js → flowchart-elk-definition-170a3958-4dece62b.js} +2 -2
- package/frontend/build/static/{index-a563ae6f.js → index-1c8194e0.js} +1 -1
- package/frontend/build/static/index-770afaee.css +1 -0
- package/frontend/build/static/{index-ade82986.js → index-9bb67f88.js} +1 -1
- package/frontend/build/static/index-9c528324.js +453 -0
- package/frontend/build/static/{is_dark-49e2e68f.js → is_dark-ba77f0b9.js} +1 -1
- package/frontend/build/static/{mindmap-definition-44684416-c6d3a96e.js → mindmap-definition-44684416-a4071c9f.js} +3 -3
- package/frontend/build/static/{timeline-definition-8e5a9bc6-920370f9.js → timeline-definition-8e5a9bc6-c996bf40.js} +2 -2
- package/frontend/build/static/{unknownify-30fed5e1.js → unknownify-db48ebae.js} +1 -1
- package/frontend/package.json +16 -16
- package/package.json +15 -13
- package/dist/lib/error/no-access-error.js.map +0 -1
- package/dist/lib/openapi/endpoint-descriptions.d.ts +0 -20
- package/dist/lib/openapi/endpoint-descriptions.js +0 -24
- package/dist/lib/openapi/endpoint-descriptions.js.map +0 -1
- package/dist/lib/openapi/spec/feedback-schema.d.ts +0 -24
- package/dist/lib/openapi/spec/feedback-schema.js +0 -26
- package/dist/lib/openapi/spec/feedback-schema.js.map +0 -1
- package/dist/lib/openapi/spec/splash-schema.d.ts +0 -20
- package/dist/lib/openapi/spec/splash-schema.js +0 -22
- package/dist/lib/openapi/spec/splash-schema.js.map +0 -1
- package/dist/lib/openapi/spec/upsert-strategy-schema.d.ts +0 -39
- package/dist/lib/openapi/spec/upsert-strategy-schema.js +0 -41
- package/dist/lib/openapi/spec/upsert-strategy-schema.js.map +0 -1
- package/frontend/build/static/AdvancedPlayground-bc3db7fd.js +0 -1
- package/frontend/build/static/CreateProject-4013b189.js +0 -4
- package/frontend/build/static/FeatureViewLazyExport-773303d1.js +0 -7
- package/frontend/build/static/LazyAdminExport-a9aeca56.js +0 -37
- package/frontend/build/static/LazyProjectExport-7c849a96.js +0 -13
- package/frontend/build/static/Playground-4fd4e26e.js +0 -1
- package/frontend/build/static/PlaygroundGuidancePopper-c761bfb7.js +0 -13
- package/frontend/build/static/RoleCell-cbb192fa.js +0 -1
- package/frontend/build/static/StrategyItemContainer-128fc163.js +0 -1
- package/frontend/build/static/demo-qr-1bebe2c9.png +0 -0
- package/frontend/build/static/index-66c635eb.css +0 -1
- package/frontend/build/static/index-bd571775.js +0 -450
- package/frontend/build/static/stringify-ec884b6d.js +0 -1
|
@@ -11,50 +11,88 @@ export declare const usersSearchSchema: {
|
|
|
11
11
|
readonly $id: "#/components/schemas/userSchema";
|
|
12
12
|
readonly type: "object";
|
|
13
13
|
readonly additionalProperties: false;
|
|
14
|
+
readonly description: "An Unleash user";
|
|
14
15
|
readonly required: readonly ["id"];
|
|
15
16
|
readonly properties: {
|
|
16
17
|
readonly id: {
|
|
17
|
-
readonly
|
|
18
|
+
readonly description: "The user id";
|
|
19
|
+
readonly type: "integer";
|
|
20
|
+
readonly minimum: 0;
|
|
21
|
+
readonly example: 123;
|
|
18
22
|
};
|
|
19
23
|
readonly isAPI: {
|
|
24
|
+
readonly description: "(Deprecated): Used internally to know which operations the user should be allowed to perform";
|
|
20
25
|
readonly type: "boolean";
|
|
26
|
+
readonly example: true;
|
|
27
|
+
readonly deprecated: true;
|
|
21
28
|
};
|
|
22
29
|
readonly name: {
|
|
30
|
+
readonly description: "Name of the user";
|
|
23
31
|
readonly type: "string";
|
|
32
|
+
readonly example: "User";
|
|
24
33
|
};
|
|
25
34
|
readonly email: {
|
|
35
|
+
readonly description: "Email of the user";
|
|
26
36
|
readonly type: "string";
|
|
37
|
+
readonly example: "user@example.com";
|
|
27
38
|
};
|
|
28
39
|
readonly username: {
|
|
40
|
+
readonly description: "A unique username for the user";
|
|
29
41
|
readonly type: "string";
|
|
42
|
+
readonly example: "hunter";
|
|
30
43
|
};
|
|
31
44
|
readonly imageUrl: {
|
|
45
|
+
readonly description: "URL used for the userprofile image";
|
|
32
46
|
readonly type: "string";
|
|
47
|
+
readonly example: "https://example.com/242x200.png";
|
|
33
48
|
};
|
|
34
49
|
readonly inviteLink: {
|
|
50
|
+
readonly description: "If the user is actively inviting other users, this is the link that can be shared with other users";
|
|
35
51
|
readonly type: "string";
|
|
52
|
+
readonly example: "http://localhost:4242/invite-link/some-secret";
|
|
36
53
|
};
|
|
37
54
|
readonly loginAttempts: {
|
|
38
|
-
readonly
|
|
55
|
+
readonly description: "How many unsuccessful attempts at logging in has the user made";
|
|
56
|
+
readonly type: "integer";
|
|
57
|
+
readonly minimum: 0;
|
|
58
|
+
readonly example: 3;
|
|
39
59
|
};
|
|
40
60
|
readonly emailSent: {
|
|
61
|
+
readonly description: "Is the welcome email sent to the user or not";
|
|
41
62
|
readonly type: "boolean";
|
|
63
|
+
readonly example: false;
|
|
42
64
|
};
|
|
43
65
|
readonly rootRole: {
|
|
44
|
-
readonly
|
|
66
|
+
readonly description: "Which [root role](https://docs.getunleash.io/reference/rbac#standard-roles) this user is assigned";
|
|
67
|
+
readonly type: "integer";
|
|
68
|
+
readonly example: 1;
|
|
69
|
+
readonly minimum: 0;
|
|
45
70
|
};
|
|
46
71
|
readonly seenAt: {
|
|
72
|
+
readonly description: "The last time this user logged in";
|
|
47
73
|
readonly type: "string";
|
|
48
74
|
readonly format: "date-time";
|
|
49
75
|
readonly nullable: true;
|
|
76
|
+
readonly example: "2023-06-30T11:42:00.345Z";
|
|
50
77
|
};
|
|
51
78
|
readonly createdAt: {
|
|
79
|
+
readonly description: "The user was created at this time";
|
|
52
80
|
readonly type: "string";
|
|
53
81
|
readonly format: "date-time";
|
|
82
|
+
readonly example: "2023-06-30T11:41:00.123Z";
|
|
54
83
|
};
|
|
55
84
|
readonly accountType: {
|
|
85
|
+
readonly description: "A user is either an actual User or a Service Account";
|
|
56
86
|
readonly type: "string";
|
|
57
87
|
readonly enum: readonly ["User", "Service Account"];
|
|
88
|
+
readonly example: "User";
|
|
89
|
+
};
|
|
90
|
+
readonly permissions: {
|
|
91
|
+
readonly description: "Deprecated";
|
|
92
|
+
readonly type: "array";
|
|
93
|
+
readonly items: {
|
|
94
|
+
readonly type: "string";
|
|
95
|
+
};
|
|
58
96
|
};
|
|
59
97
|
};
|
|
60
98
|
readonly components: {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FromSchema } from 'json-schema-to-ts';
|
|
2
|
+
export declare const validateFeatureSchema: {
|
|
3
|
+
readonly $id: "#/components/schemas/validateFeatureSchema";
|
|
4
|
+
readonly type: "object";
|
|
5
|
+
readonly required: readonly ["name"];
|
|
6
|
+
readonly description: "Data used to validate a feature toggle's name.";
|
|
7
|
+
readonly properties: {
|
|
8
|
+
readonly name: {
|
|
9
|
+
readonly description: "The feature name to validate.";
|
|
10
|
+
readonly type: "string";
|
|
11
|
+
readonly example: "my-feature-3";
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
readonly components: {};
|
|
15
|
+
};
|
|
16
|
+
export declare type ValidateFeatureSchema = FromSchema<typeof validateFeatureSchema>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.validateFeatureSchema = void 0;
|
|
4
|
+
exports.validateFeatureSchema = {
|
|
5
|
+
$id: '#/components/schemas/validateFeatureSchema',
|
|
6
|
+
type: 'object',
|
|
7
|
+
required: ['name'],
|
|
8
|
+
description: "Data used to validate a feature toggle's name.",
|
|
9
|
+
properties: {
|
|
10
|
+
name: {
|
|
11
|
+
description: 'The feature name to validate.',
|
|
12
|
+
type: 'string',
|
|
13
|
+
example: 'my-feature-3',
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
components: {},
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=validate-feature-schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validate-feature-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/validate-feature-schema.ts"],"names":[],"mappings":";;;AAEa,QAAA,qBAAqB,GAAG;IACjC,GAAG,EAAE,4CAA4C;IACjD,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,CAAC,MAAM,CAAC;IAClB,WAAW,EAAE,gDAAgD;IAC7D,UAAU,EAAE;QACR,IAAI,EAAE;YACF,WAAW,EAAE,+BAA+B;YAC5C,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,cAAc;SAC1B;KACJ;IACD,UAAU,EAAE,EAAE;CACR,CAAC"}
|
|
@@ -4,9 +4,12 @@ export declare const validatePasswordSchema: {
|
|
|
4
4
|
readonly type: "object";
|
|
5
5
|
readonly additionalProperties: false;
|
|
6
6
|
readonly required: readonly ["password"];
|
|
7
|
+
readonly description: "Used to validate passwords obeying [Unleash password guidelines](https://docs.getunleash.io/reference/deploy/securing-unleash#password-requirements)";
|
|
7
8
|
readonly properties: {
|
|
8
9
|
readonly password: {
|
|
10
|
+
readonly description: "The password to validate";
|
|
9
11
|
readonly type: "string";
|
|
12
|
+
readonly example: "hunter2";
|
|
10
13
|
};
|
|
11
14
|
};
|
|
12
15
|
readonly components: {};
|
|
@@ -6,9 +6,12 @@ exports.validatePasswordSchema = {
|
|
|
6
6
|
type: 'object',
|
|
7
7
|
additionalProperties: false,
|
|
8
8
|
required: ['password'],
|
|
9
|
+
description: 'Used to validate passwords obeying [Unleash password guidelines](https://docs.getunleash.io/reference/deploy/securing-unleash#password-requirements)',
|
|
9
10
|
properties: {
|
|
10
11
|
password: {
|
|
12
|
+
description: 'The password to validate',
|
|
11
13
|
type: 'string',
|
|
14
|
+
example: 'hunter2',
|
|
12
15
|
},
|
|
13
16
|
},
|
|
14
17
|
components: {},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validate-password-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/validate-password-schema.ts"],"names":[],"mappings":";;;AAEa,QAAA,sBAAsB,GAAG;IAClC,GAAG,EAAE,6CAA6C;IAClD,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,UAAU,CAAC;IACtB,UAAU,EAAE;QACR,QAAQ,EAAE;YACN,IAAI,EAAE,QAAQ;
|
|
1
|
+
{"version":3,"file":"validate-password-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/validate-password-schema.ts"],"names":[],"mappings":";;;AAEa,QAAA,sBAAsB,GAAG;IAClC,GAAG,EAAE,6CAA6C;IAClD,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,UAAU,CAAC;IACtB,WAAW,EACP,sJAAsJ;IAC1J,UAAU,EAAE;QACR,QAAQ,EAAE;YACN,WAAW,EAAE,0BAA0B;YACvC,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,SAAS;SACrB;KACJ;IACD,UAAU,EAAE,EAAE;CACR,CAAC"}
|
|
@@ -3,9 +3,12 @@ export declare const validateTagTypeSchema: {
|
|
|
3
3
|
readonly $id: "#/components/schemas/validateTagTypeSchema";
|
|
4
4
|
readonly type: "object";
|
|
5
5
|
readonly required: readonly ["valid", "tagType"];
|
|
6
|
+
readonly description: "The result of validating a tag type.";
|
|
6
7
|
readonly properties: {
|
|
7
8
|
readonly valid: {
|
|
8
9
|
readonly type: "boolean";
|
|
10
|
+
readonly description: "Whether or not the tag type is valid.";
|
|
11
|
+
readonly example: true;
|
|
9
12
|
};
|
|
10
13
|
readonly tagType: {
|
|
11
14
|
readonly $ref: "#/components/schemas/tagTypeSchema";
|
|
@@ -17,17 +20,24 @@ export declare const validateTagTypeSchema: {
|
|
|
17
20
|
readonly $id: "#/components/schemas/tagTypeSchema";
|
|
18
21
|
readonly type: "object";
|
|
19
22
|
readonly additionalProperties: false;
|
|
23
|
+
readonly description: "A tag type.";
|
|
20
24
|
readonly required: readonly ["name"];
|
|
21
25
|
readonly properties: {
|
|
22
26
|
readonly name: {
|
|
23
27
|
readonly type: "string";
|
|
28
|
+
readonly description: "The name of the tag type.";
|
|
29
|
+
readonly example: "color";
|
|
24
30
|
};
|
|
25
31
|
readonly description: {
|
|
26
32
|
readonly type: "string";
|
|
33
|
+
readonly description: "The description of the tag type.";
|
|
34
|
+
readonly example: "A tag type for describing the color of a tag.";
|
|
27
35
|
};
|
|
28
36
|
readonly icon: {
|
|
29
37
|
readonly type: "string";
|
|
30
38
|
readonly nullable: true;
|
|
39
|
+
readonly description: "The icon of the tag type.";
|
|
40
|
+
readonly example: "not-really-used";
|
|
31
41
|
};
|
|
32
42
|
};
|
|
33
43
|
readonly components: {};
|
|
@@ -6,9 +6,12 @@ exports.validateTagTypeSchema = {
|
|
|
6
6
|
$id: '#/components/schemas/validateTagTypeSchema',
|
|
7
7
|
type: 'object',
|
|
8
8
|
required: ['valid', 'tagType'],
|
|
9
|
+
description: 'The result of validating a tag type.',
|
|
9
10
|
properties: {
|
|
10
11
|
valid: {
|
|
11
12
|
type: 'boolean',
|
|
13
|
+
description: 'Whether or not the tag type is valid.',
|
|
14
|
+
example: true,
|
|
12
15
|
},
|
|
13
16
|
tagType: {
|
|
14
17
|
$ref: '#/components/schemas/tagTypeSchema',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validate-tag-type-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/validate-tag-type-schema.ts"],"names":[],"mappings":";;;AACA,uDAAkD;AAErC,QAAA,qBAAqB,GAAG;IACjC,GAAG,EAAE,4CAA4C;IACjD,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,CAAC,OAAO,EAAE,SAAS,CAAC;IAC9B,UAAU,EAAE;QACR,KAAK,EAAE;YACH,IAAI,EAAE,SAAS;
|
|
1
|
+
{"version":3,"file":"validate-tag-type-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/validate-tag-type-schema.ts"],"names":[],"mappings":";;;AACA,uDAAkD;AAErC,QAAA,qBAAqB,GAAG;IACjC,GAAG,EAAE,4CAA4C;IACjD,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,CAAC,OAAO,EAAE,SAAS,CAAC;IAC9B,WAAW,EAAE,sCAAsC;IACnD,UAAU,EAAE;QACR,KAAK,EAAE;YACH,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,uCAAuC;YACpD,OAAO,EAAE,IAAI;SAChB;QACD,OAAO,EAAE;YACL,IAAI,EAAE,oCAAoC;SAC7C;KACJ;IACD,UAAU,EAAE;QACR,OAAO,EAAE;YACL,aAAa,EAAb,+BAAa;SAChB;KACJ;CACK,CAAC"}
|
|
@@ -3,22 +3,33 @@ export declare const variantFlagSchema: {
|
|
|
3
3
|
readonly $id: "#/components/schemas/variantFlagSchema";
|
|
4
4
|
readonly type: "object";
|
|
5
5
|
readonly additionalProperties: false;
|
|
6
|
+
readonly description: "A representation of an evaluated Unleash feature variant.";
|
|
6
7
|
readonly properties: {
|
|
7
8
|
readonly name: {
|
|
9
|
+
readonly description: "The name of the variant. Will always be disabled if `enabled` is false.";
|
|
10
|
+
readonly example: "blue";
|
|
8
11
|
readonly type: "string";
|
|
9
12
|
};
|
|
10
13
|
readonly enabled: {
|
|
11
14
|
readonly type: "boolean";
|
|
15
|
+
readonly description: "Whether the variant is enabled or not.";
|
|
16
|
+
readonly example: true;
|
|
12
17
|
};
|
|
13
18
|
readonly payload: {
|
|
14
19
|
readonly type: "object";
|
|
20
|
+
readonly description: "Additional data associated with this variant.";
|
|
15
21
|
readonly additionalProperties: false;
|
|
16
22
|
readonly properties: {
|
|
17
23
|
readonly type: {
|
|
24
|
+
readonly description: "The type of data contained.";
|
|
18
25
|
readonly type: "string";
|
|
26
|
+
readonly enum: readonly ["string", "json", "csv"];
|
|
27
|
+
readonly example: "json";
|
|
19
28
|
};
|
|
20
29
|
readonly value: {
|
|
30
|
+
readonly description: "The actual associated data";
|
|
21
31
|
readonly type: "string";
|
|
32
|
+
readonly example: "{ \"starter\": \"squirtle\" }";
|
|
22
33
|
};
|
|
23
34
|
};
|
|
24
35
|
};
|
|
@@ -5,22 +5,33 @@ exports.variantFlagSchema = {
|
|
|
5
5
|
$id: '#/components/schemas/variantFlagSchema',
|
|
6
6
|
type: 'object',
|
|
7
7
|
additionalProperties: false,
|
|
8
|
+
description: 'A representation of an evaluated Unleash feature variant.',
|
|
8
9
|
properties: {
|
|
9
10
|
name: {
|
|
11
|
+
description: 'The name of the variant. Will always be disabled if `enabled` is false.',
|
|
12
|
+
example: 'blue',
|
|
10
13
|
type: 'string',
|
|
11
14
|
},
|
|
12
15
|
enabled: {
|
|
13
16
|
type: 'boolean',
|
|
17
|
+
description: 'Whether the variant is enabled or not.',
|
|
18
|
+
example: true,
|
|
14
19
|
},
|
|
15
20
|
payload: {
|
|
16
21
|
type: 'object',
|
|
22
|
+
description: 'Additional data associated with this variant.',
|
|
17
23
|
additionalProperties: false,
|
|
18
24
|
properties: {
|
|
19
25
|
type: {
|
|
26
|
+
description: 'The type of data contained.',
|
|
20
27
|
type: 'string',
|
|
28
|
+
enum: ['string', 'json', 'csv'],
|
|
29
|
+
example: 'json',
|
|
21
30
|
},
|
|
22
31
|
value: {
|
|
32
|
+
description: 'The actual associated data',
|
|
23
33
|
type: 'string',
|
|
34
|
+
example: '{ "starter": "squirtle" }',
|
|
24
35
|
},
|
|
25
36
|
},
|
|
26
37
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"variant-flag-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/variant-flag-schema.ts"],"names":[],"mappings":";;;AAEa,QAAA,iBAAiB,GAAG;IAC7B,GAAG,EAAE,wCAAwC;IAC7C,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,UAAU,EAAE;QACR,IAAI,EAAE;YACF,IAAI,EAAE,QAAQ;SACjB;QACD,OAAO,EAAE;YACL,IAAI,EAAE,SAAS;
|
|
1
|
+
{"version":3,"file":"variant-flag-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/variant-flag-schema.ts"],"names":[],"mappings":";;;AAEa,QAAA,iBAAiB,GAAG;IAC7B,GAAG,EAAE,wCAAwC;IAC7C,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,WAAW,EAAE,2DAA2D;IACxE,UAAU,EAAE;QACR,IAAI,EAAE;YACF,WAAW,EACP,yEAAyE;YAC7E,OAAO,EAAE,MAAM;YACf,IAAI,EAAE,QAAQ;SACjB;QACD,OAAO,EAAE;YACL,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,wCAAwC;YACrD,OAAO,EAAE,IAAI;SAChB;QACD,OAAO,EAAE;YACL,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,+CAA+C;YAC5D,oBAAoB,EAAE,KAAK;YAC3B,UAAU,EAAE;gBACR,IAAI,EAAE;oBACF,WAAW,EAAE,6BAA6B;oBAC1C,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,CAAC;oBAC/B,OAAO,EAAE,MAAM;iBAClB;gBACD,KAAK,EAAE;oBACH,WAAW,EAAE,4BAA4B;oBACzC,IAAI,EAAE,QAAQ;oBACd,OAAO,EAAE,2BAA2B;iBACvC;aACJ;SACJ;KACJ;IACD,UAAU,EAAE,EAAE;CACR,CAAC"}
|
|
@@ -20,7 +20,8 @@ export declare const variantSchema: {
|
|
|
20
20
|
readonly weightType: {
|
|
21
21
|
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";
|
|
22
22
|
readonly type: "string";
|
|
23
|
-
readonly example: "
|
|
23
|
+
readonly example: "variable";
|
|
24
|
+
readonly enum: readonly ["variable", "fix"];
|
|
24
25
|
};
|
|
25
26
|
readonly stickiness: {
|
|
26
27
|
readonly type: "string";
|
|
@@ -31,17 +32,21 @@ export declare const variantSchema: {
|
|
|
31
32
|
readonly type: "object";
|
|
32
33
|
readonly required: readonly ["type", "value"];
|
|
33
34
|
readonly description: "Extra data configured for this variant";
|
|
35
|
+
readonly additionalProperties: false;
|
|
34
36
|
readonly properties: {
|
|
35
37
|
readonly type: {
|
|
38
|
+
readonly description: "The type of the value. Commonly used types are string, json and csv.";
|
|
36
39
|
readonly type: "string";
|
|
40
|
+
readonly enum: readonly ["json", "csv", "string"];
|
|
37
41
|
};
|
|
38
42
|
readonly value: {
|
|
43
|
+
readonly description: "The actual value of payload";
|
|
39
44
|
readonly type: "string";
|
|
40
45
|
};
|
|
41
46
|
};
|
|
42
47
|
readonly example: {
|
|
43
48
|
readonly type: "json";
|
|
44
|
-
readonly value: "{color: red}";
|
|
49
|
+
readonly value: "{\"color\": \"red\"}";
|
|
45
50
|
};
|
|
46
51
|
};
|
|
47
52
|
readonly overrides: {
|
|
@@ -23,7 +23,8 @@ exports.variantSchema = {
|
|
|
23
23
|
weightType: {
|
|
24
24
|
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',
|
|
25
25
|
type: 'string',
|
|
26
|
-
example: '
|
|
26
|
+
example: 'variable',
|
|
27
|
+
enum: ['variable', 'fix'],
|
|
27
28
|
},
|
|
28
29
|
stickiness: {
|
|
29
30
|
type: 'string',
|
|
@@ -34,15 +35,19 @@ exports.variantSchema = {
|
|
|
34
35
|
type: 'object',
|
|
35
36
|
required: ['type', 'value'],
|
|
36
37
|
description: 'Extra data configured for this variant',
|
|
38
|
+
additionalProperties: false,
|
|
37
39
|
properties: {
|
|
38
40
|
type: {
|
|
41
|
+
description: 'The type of the value. Commonly used types are string, json and csv.',
|
|
39
42
|
type: 'string',
|
|
43
|
+
enum: ['json', 'csv', 'string'],
|
|
40
44
|
},
|
|
41
45
|
value: {
|
|
46
|
+
description: 'The actual value of payload',
|
|
42
47
|
type: 'string',
|
|
43
48
|
},
|
|
44
49
|
},
|
|
45
|
-
example: { type: 'json', value: '{color: red}' },
|
|
50
|
+
example: { type: 'json', value: '{"color": "red"}' },
|
|
46
51
|
},
|
|
47
52
|
overrides: {
|
|
48
53
|
description: `Overrides assigning specific variants to specific users. The weighting system automatically assigns users to specific groups for you, but any overrides in this list will take precedence.`,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"variant-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/variant-schema.ts"],"names":[],"mappings":";;;AACA,uDAAmD;AAEtC,QAAA,aAAa,GAAG;IACzB,GAAG,EAAE,oCAAoC;IACzC,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,WAAW,EACP,mNAAmN;IACvN,QAAQ,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;IAC5B,UAAU,EAAE;QACR,IAAI,EAAE;YACF,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,sDAAsD;YACnE,OAAO,EAAE,YAAY;SACxB;QACD,MAAM,EAAE;YACJ,IAAI,EAAE,QAAQ;YACd,WAAW,EACP,8OAA8O;YAClP,OAAO,EAAE,CAAC;YACV,OAAO,EAAE,IAAI;SAChB;QACD,UAAU,EAAE;YACR,WAAW,EACP,mLAAmL;YACvL,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,KAAK;
|
|
1
|
+
{"version":3,"file":"variant-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/variant-schema.ts"],"names":[],"mappings":";;;AACA,uDAAmD;AAEtC,QAAA,aAAa,GAAG;IACzB,GAAG,EAAE,oCAAoC;IACzC,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,WAAW,EACP,mNAAmN;IACvN,QAAQ,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;IAC5B,UAAU,EAAE;QACR,IAAI,EAAE;YACF,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,sDAAsD;YACnE,OAAO,EAAE,YAAY;SACxB;QACD,MAAM,EAAE;YACJ,IAAI,EAAE,QAAQ;YACd,WAAW,EACP,8OAA8O;YAClP,OAAO,EAAE,CAAC;YACV,OAAO,EAAE,IAAI;SAChB;QACD,UAAU,EAAE;YACR,WAAW,EACP,mLAAmL;YACvL,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,UAAU;YACnB,IAAI,EAAE,CAAC,UAAU,EAAE,KAAK,CAAC;SAC5B;QACD,UAAU,EAAE;YACR,IAAI,EAAE,QAAQ;YACd,WAAW,EACP,6KAA6K;YACjL,OAAO,EAAE,sBAAsB;SAClC;QACD,OAAO,EAAE;YACL,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC;YAC3B,WAAW,EAAE,wCAAwC;YACrD,oBAAoB,EAAE,KAAK;YAC3B,UAAU,EAAE;gBACR,IAAI,EAAE;oBACF,WAAW,EACP,sEAAsE;oBAC1E,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE,CAAC,MAAM,EAAE,KAAK,EAAE,QAAQ,CAAC;iBAClC;gBACD,KAAK,EAAE;oBACH,WAAW,EAAE,6BAA6B;oBAC1C,IAAI,EAAE,QAAQ;iBACjB;aACJ;YACD,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,kBAAkB,EAAE;SACvD;QACD,SAAS,EAAE;YACP,WAAW,EAAE,4LAA4L;YACzM,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACH,IAAI,EAAE,qCAAqC;aAC9C;SACJ;KACJ;IACD,UAAU,EAAE;QACR,OAAO,EAAE;YACL,cAAc,EAAd,gCAAc;SACjB;KACJ;CACK,CAAC"}
|
|
@@ -28,7 +28,8 @@ export declare const variantsSchema: {
|
|
|
28
28
|
readonly weightType: {
|
|
29
29
|
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";
|
|
30
30
|
readonly type: "string";
|
|
31
|
-
readonly example: "
|
|
31
|
+
readonly example: "variable";
|
|
32
|
+
readonly enum: readonly ["variable", "fix"];
|
|
32
33
|
};
|
|
33
34
|
readonly stickiness: {
|
|
34
35
|
readonly type: "string";
|
|
@@ -39,17 +40,21 @@ export declare const variantsSchema: {
|
|
|
39
40
|
readonly type: "object";
|
|
40
41
|
readonly required: readonly ["type", "value"];
|
|
41
42
|
readonly description: "Extra data configured for this variant";
|
|
43
|
+
readonly additionalProperties: false;
|
|
42
44
|
readonly properties: {
|
|
43
45
|
readonly type: {
|
|
46
|
+
readonly description: "The type of the value. Commonly used types are string, json and csv.";
|
|
44
47
|
readonly type: "string";
|
|
48
|
+
readonly enum: readonly ["json", "csv", "string"];
|
|
45
49
|
};
|
|
46
50
|
readonly value: {
|
|
51
|
+
readonly description: "The actual value of payload";
|
|
47
52
|
readonly type: "string";
|
|
48
53
|
};
|
|
49
54
|
};
|
|
50
55
|
readonly example: {
|
|
51
56
|
readonly type: "json";
|
|
52
|
-
readonly value: "{color: red}";
|
|
57
|
+
readonly value: "{\"color\": \"red\"}";
|
|
53
58
|
};
|
|
54
59
|
};
|
|
55
60
|
readonly overrides: {
|
|
@@ -3,16 +3,22 @@ export declare const versionSchema: {
|
|
|
3
3
|
readonly $id: "#/components/schemas/versionSchema";
|
|
4
4
|
readonly type: "object";
|
|
5
5
|
readonly additionalProperties: false;
|
|
6
|
-
readonly
|
|
6
|
+
readonly description: "Detailed information about an Unleash version";
|
|
7
|
+
readonly required: readonly ["current", "latest", "isLatest"];
|
|
7
8
|
readonly properties: {
|
|
8
9
|
readonly current: {
|
|
9
10
|
readonly type: "object";
|
|
10
11
|
readonly additionalProperties: false;
|
|
12
|
+
readonly description: "The current version of Unleash.";
|
|
11
13
|
readonly properties: {
|
|
12
14
|
readonly oss: {
|
|
15
|
+
readonly description: "The OSS version used when building this Unleash instance, represented as a git revision belonging to the [main Unleash git repo](https://github.com/Unleash/unleash/)";
|
|
16
|
+
readonly example: "5.3.0-main";
|
|
13
17
|
readonly type: "string";
|
|
14
18
|
};
|
|
15
19
|
readonly enterprise: {
|
|
20
|
+
readonly description: "The Enterpris version of Unleash used to build this instance, represented as a git revision belonging to the [Unleash Enterprise](https://github.com/ivarconr/unleash-enterprise) repository. Will be an empty string if no enterprise version was used,";
|
|
21
|
+
readonly example: "5.3.0-main+2105.45ed03c9";
|
|
16
22
|
readonly type: "string";
|
|
17
23
|
};
|
|
18
24
|
};
|
|
@@ -20,20 +26,29 @@ export declare const versionSchema: {
|
|
|
20
26
|
readonly latest: {
|
|
21
27
|
readonly type: "object";
|
|
22
28
|
readonly additionalProperties: false;
|
|
29
|
+
readonly description: "Information about the latest available Unleash releases. Will be an empty object if no data is available.";
|
|
23
30
|
readonly properties: {
|
|
24
31
|
readonly oss: {
|
|
32
|
+
readonly description: "The latest available OSS version of Unleash";
|
|
25
33
|
readonly type: "string";
|
|
34
|
+
readonly example: "5.1.5";
|
|
26
35
|
};
|
|
27
36
|
readonly enterprise: {
|
|
37
|
+
readonly description: "The latest available Enterprise version of Unleash";
|
|
28
38
|
readonly type: "string";
|
|
39
|
+
readonly example: "5.1.5";
|
|
29
40
|
};
|
|
30
41
|
};
|
|
31
42
|
};
|
|
32
43
|
readonly isLatest: {
|
|
33
44
|
readonly type: "boolean";
|
|
45
|
+
readonly description: "Whether the Unleash server is running the latest release (`true`) or if there are updates available (`false`)";
|
|
46
|
+
readonly example: true;
|
|
34
47
|
};
|
|
35
48
|
readonly instanceId: {
|
|
36
49
|
readonly type: "string";
|
|
50
|
+
readonly description: "The instance identifier of the Unleash instance";
|
|
51
|
+
readonly example: "0d652a82-43db-4144-8e02-864b0b030710";
|
|
37
52
|
};
|
|
38
53
|
};
|
|
39
54
|
readonly components: {};
|
|
@@ -5,16 +5,22 @@ exports.versionSchema = {
|
|
|
5
5
|
$id: '#/components/schemas/versionSchema',
|
|
6
6
|
type: 'object',
|
|
7
7
|
additionalProperties: false,
|
|
8
|
-
|
|
8
|
+
description: 'Detailed information about an Unleash version',
|
|
9
|
+
required: ['current', 'latest', 'isLatest'],
|
|
9
10
|
properties: {
|
|
10
11
|
current: {
|
|
11
12
|
type: 'object',
|
|
12
13
|
additionalProperties: false,
|
|
14
|
+
description: 'The current version of Unleash.',
|
|
13
15
|
properties: {
|
|
14
16
|
oss: {
|
|
17
|
+
description: 'The OSS version used when building this Unleash instance, represented as a git revision belonging to the [main Unleash git repo](https://github.com/Unleash/unleash/)',
|
|
18
|
+
example: '5.3.0-main',
|
|
15
19
|
type: 'string',
|
|
16
20
|
},
|
|
17
21
|
enterprise: {
|
|
22
|
+
description: 'The Enterpris version of Unleash used to build this instance, represented as a git revision belonging to the [Unleash Enterprise](https://github.com/ivarconr/unleash-enterprise) repository. Will be an empty string if no enterprise version was used,',
|
|
23
|
+
example: '5.3.0-main+2105.45ed03c9',
|
|
18
24
|
type: 'string',
|
|
19
25
|
},
|
|
20
26
|
},
|
|
@@ -22,20 +28,29 @@ exports.versionSchema = {
|
|
|
22
28
|
latest: {
|
|
23
29
|
type: 'object',
|
|
24
30
|
additionalProperties: false,
|
|
31
|
+
description: 'Information about the latest available Unleash releases. Will be an empty object if no data is available.',
|
|
25
32
|
properties: {
|
|
26
33
|
oss: {
|
|
34
|
+
description: 'The latest available OSS version of Unleash',
|
|
27
35
|
type: 'string',
|
|
36
|
+
example: '5.1.5',
|
|
28
37
|
},
|
|
29
38
|
enterprise: {
|
|
39
|
+
description: 'The latest available Enterprise version of Unleash',
|
|
30
40
|
type: 'string',
|
|
41
|
+
example: '5.1.5',
|
|
31
42
|
},
|
|
32
43
|
},
|
|
33
44
|
},
|
|
34
45
|
isLatest: {
|
|
35
46
|
type: 'boolean',
|
|
47
|
+
description: 'Whether the Unleash server is running the latest release (`true`) or if there are updates available (`false`)',
|
|
48
|
+
example: true,
|
|
36
49
|
},
|
|
37
50
|
instanceId: {
|
|
38
51
|
type: 'string',
|
|
52
|
+
description: 'The instance identifier of the Unleash instance',
|
|
53
|
+
example: '0d652a82-43db-4144-8e02-864b0b030710',
|
|
39
54
|
},
|
|
40
55
|
},
|
|
41
56
|
components: {},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/version-schema.ts"],"names":[],"mappings":";;;AAEa,QAAA,aAAa,GAAG;IACzB,GAAG,EAAE,oCAAoC;IACzC,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,SAAS,EAAE,QAAQ,EAAE,UAAU,
|
|
1
|
+
{"version":3,"file":"version-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/version-schema.ts"],"names":[],"mappings":";;;AAEa,QAAA,aAAa,GAAG;IACzB,GAAG,EAAE,oCAAoC;IACzC,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,WAAW,EAAE,+CAA+C;IAC5D,QAAQ,EAAE,CAAC,SAAS,EAAE,QAAQ,EAAE,UAAU,CAAC;IAC3C,UAAU,EAAE;QACR,OAAO,EAAE;YACL,IAAI,EAAE,QAAQ;YACd,oBAAoB,EAAE,KAAK;YAC3B,WAAW,EAAE,iCAAiC;YAC9C,UAAU,EAAE;gBACR,GAAG,EAAE;oBACD,WAAW,EACP,uKAAuK;oBAC3K,OAAO,EAAE,YAAY;oBACrB,IAAI,EAAE,QAAQ;iBACjB;gBACD,UAAU,EAAE;oBACR,WAAW,EACP,0PAA0P;oBAC9P,OAAO,EAAE,0BAA0B;oBACnC,IAAI,EAAE,QAAQ;iBACjB;aACJ;SACJ;QACD,MAAM,EAAE;YACJ,IAAI,EAAE,QAAQ;YACd,oBAAoB,EAAE,KAAK;YAC3B,WAAW,EACP,2GAA2G;YAC/G,UAAU,EAAE;gBACR,GAAG,EAAE;oBACD,WAAW,EAAE,6CAA6C;oBAC1D,IAAI,EAAE,QAAQ;oBACd,OAAO,EAAE,OAAO;iBACnB;gBACD,UAAU,EAAE;oBACR,WAAW,EACP,oDAAoD;oBACxD,IAAI,EAAE,QAAQ;oBACd,OAAO,EAAE,OAAO;iBACnB;aACJ;SACJ;QACD,QAAQ,EAAE;YACN,IAAI,EAAE,SAAS;YACf,WAAW,EACP,+GAA+G;YACnH,OAAO,EAAE,IAAI;SAChB;QACD,UAAU,EAAE;YACR,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,iDAAiD;YAC9D,OAAO,EAAE,sCAAsC;SAClD;KACJ;IACD,UAAU,EAAE,EAAE;CACR,CAAC"}
|
|
@@ -3,7 +3,7 @@ declare const OPENAPI_TAGS: readonly [{
|
|
|
3
3
|
readonly description: "Create, update, and delete [Unleash addons](https://docs.getunleash.io/addons).";
|
|
4
4
|
}, {
|
|
5
5
|
readonly name: "Admin UI";
|
|
6
|
-
readonly description: "
|
|
6
|
+
readonly description: "Configuration for the Unleash Admin UI. These endpoints should not be relied upon and can change at any point without prior notice.";
|
|
7
7
|
}, {
|
|
8
8
|
readonly name: "API tokens";
|
|
9
9
|
readonly description: "Create, update, and delete [Unleash API tokens](https://docs.getunleash.io/reference/api-tokens-and-client-keys).";
|
|
@@ -82,13 +82,19 @@ declare const OPENAPI_TAGS: readonly [{
|
|
|
82
82
|
}, {
|
|
83
83
|
readonly name: "Change Requests";
|
|
84
84
|
readonly description: "API for managing [change requests](https://docs.getunleash.io/reference/change-requests).";
|
|
85
|
+
}, {
|
|
86
|
+
readonly name: "Telemetry";
|
|
87
|
+
readonly description: "API for information about telemetry collection";
|
|
88
|
+
}, {
|
|
89
|
+
readonly name: "Notifications";
|
|
90
|
+
readonly description: "API for managing [notifications](https://docs.getunleash.io/reference/notifications).";
|
|
85
91
|
}];
|
|
86
92
|
export declare const openApiTags: ({
|
|
87
93
|
readonly name: "Addons";
|
|
88
94
|
readonly description: "Create, update, and delete [Unleash addons](https://docs.getunleash.io/addons).";
|
|
89
95
|
} | {
|
|
90
96
|
readonly name: "Admin UI";
|
|
91
|
-
readonly description: "
|
|
97
|
+
readonly description: "Configuration for the Unleash Admin UI. These endpoints should not be relied upon and can change at any point without prior notice.";
|
|
92
98
|
} | {
|
|
93
99
|
readonly name: "API tokens";
|
|
94
100
|
readonly description: "Create, update, and delete [Unleash API tokens](https://docs.getunleash.io/reference/api-tokens-and-client-keys).";
|
|
@@ -167,6 +173,12 @@ export declare const openApiTags: ({
|
|
|
167
173
|
} | {
|
|
168
174
|
readonly name: "Change Requests";
|
|
169
175
|
readonly description: "API for managing [change requests](https://docs.getunleash.io/reference/change-requests).";
|
|
176
|
+
} | {
|
|
177
|
+
readonly name: "Telemetry";
|
|
178
|
+
readonly description: "API for information about telemetry collection";
|
|
179
|
+
} | {
|
|
180
|
+
readonly name: "Notifications";
|
|
181
|
+
readonly description: "API for managing [notifications](https://docs.getunleash.io/reference/notifications).";
|
|
170
182
|
})[];
|
|
171
183
|
export declare type OpenApiTag = typeof OPENAPI_TAGS[number]['name'];
|
|
172
184
|
export {};
|
|
@@ -11,7 +11,7 @@ const OPENAPI_TAGS = [
|
|
|
11
11
|
},
|
|
12
12
|
{
|
|
13
13
|
name: 'Admin UI',
|
|
14
|
-
description: '
|
|
14
|
+
description: 'Configuration for the Unleash Admin UI. These endpoints should not be relied upon and can change at any point without prior notice.',
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
17
|
name: 'API tokens',
|
|
@@ -105,6 +105,14 @@ const OPENAPI_TAGS = [
|
|
|
105
105
|
name: 'Change Requests',
|
|
106
106
|
description: 'API for managing [change requests](https://docs.getunleash.io/reference/change-requests).',
|
|
107
107
|
},
|
|
108
|
+
{
|
|
109
|
+
name: 'Telemetry',
|
|
110
|
+
description: 'API for information about telemetry collection',
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
name: 'Notifications',
|
|
114
|
+
description: 'API for managing [notifications](https://docs.getunleash.io/reference/notifications).',
|
|
115
|
+
},
|
|
108
116
|
];
|
|
109
117
|
// make the export mutable, so it can be used in a schema
|
|
110
118
|
exports.openApiTags = [...OPENAPI_TAGS].sort((a, b) => a.name.localeCompare(b.name));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"openapi-tags.js","sourceRoot":"","sources":["../../../../src/lib/openapi/util/openapi-tags.ts"],"names":[],"mappings":";;;AAAA,+EAA+E;AAC/E,8EAA8E;AAC9E,2BAA2B;AAC3B,MAAM,YAAY,GAAG;IACjB;QACI,IAAI,EAAE,QAAQ;QACd,WAAW,EACP,iFAAiF;KACxF;IACD;QACI,IAAI,EAAE,UAAU;QAChB,WAAW,EACP,
|
|
1
|
+
{"version":3,"file":"openapi-tags.js","sourceRoot":"","sources":["../../../../src/lib/openapi/util/openapi-tags.ts"],"names":[],"mappings":";;;AAAA,+EAA+E;AAC/E,8EAA8E;AAC9E,2BAA2B;AAC3B,MAAM,YAAY,GAAG;IACjB;QACI,IAAI,EAAE,QAAQ;QACd,WAAW,EACP,iFAAiF;KACxF;IACD;QACI,IAAI,EAAE,UAAU;QAChB,WAAW,EACP,qIAAqI;KAC5I;IACD;QACI,IAAI,EAAE,YAAY;QAClB,WAAW,EACP,mHAAmH;KAC1H;IACD;QACI,IAAI,EAAE,wBAAwB;QAC9B,WAAW,EACP,8IAA8I;KACrJ;IACD;QACI,IAAI,EAAE,kBAAkB;QACxB,WAAW,EACP,wJAAwJ;KAC/J;IACD;QACI,IAAI,EAAE,SAAS;QACf,WAAW,EACP,gHAAgH;KACvH;IACD,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,gCAAgC,EAAE;IAC/D;QACI,IAAI,EAAE,QAAQ;QACd,WAAW,EACP,yFAAyF;KAChG;IACD;QACI,IAAI,EAAE,SAAS;QACf,WAAW,EACP,6HAA6H;KACpI;IACD;QACI,IAAI,EAAE,cAAc;QACpB,WAAW,EACP,wIAAwI;KAC/I;IACD,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,yCAAyC,EAAE;IAC1E;QACI,IAAI,EAAE,UAAU;QAChB,WAAW,EACP,sGAAsG;KAC7G;IACD;QACI,IAAI,EAAE,eAAe;QACrB,WAAW,EACP,0GAA0G;KACjH;IACD;QACI,IAAI,EAAE,gBAAgB;QACtB,WAAW,EACP,sEAAsE;KAC7E;IACD;QACI,IAAI,EAAE,SAAS;QACf,WAAW,EAAE,wDAAwD;KACxE;IACD;QACI,IAAI,EAAE,aAAa;QACnB,WAAW,EACP,uEAAuE;KAC9E;IACD;QACI,IAAI,EAAE,YAAY;QAClB,WAAW,EACP,2DAA2D;KAClE;IACD;QACI,IAAI,EAAE,UAAU;QAChB,WAAW,EACP,+FAA+F;KACtG;IACD;QACI,IAAI,EAAE,sBAAsB;QAC5B,WAAW,EACP,uHAAuH;KAC9H;IACD;QACI,IAAI,EAAE,UAAU;QAChB,WAAW,EACP,+FAA+F;KACtG;IACD;QACI,IAAI,EAAE,YAAY;QAClB,WAAW,EACP,wHAAwH;KAC/H;IACD;QACI,IAAI,EAAE,MAAM;QACZ,WAAW,EACP,6FAA6F;KACpG;IACD,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,6BAA6B,EAAE;IAC7D;QACI,IAAI,EAAE,UAAU;QAChB,WAAW,EACP,kEAAkE;KACzE;IACD,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,2CAA2C,EAAE;IAC1E;QACI,IAAI,EAAE,cAAc;QACpB,WAAW,EACP,oEAAoE;KAC3E;IACD;QACI,IAAI,EAAE,aAAa;QACnB,WAAW,EAAE,iDAAiD;KACjE;IACD;QACI,IAAI,EAAE,iBAAiB;QACvB,WAAW,EACP,2FAA2F;KAClG;IACD;QACI,IAAI,EAAE,WAAW;QACjB,WAAW,EAAE,gDAAgD;KAChE;IACD;QACI,IAAI,EAAE,eAAe;QACrB,WAAW,EACP,uFAAuF;KAC9F;CACK,CAAC;AAEX,yDAAyD;AAC5C,QAAA,WAAW,GAAG,CAAC,GAAG,YAAY,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CACvD,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,IAAI,CAAC,CAC/B,CAAC"}
|
|
@@ -57,7 +57,7 @@ declare const standardResponses: {
|
|
|
57
57
|
};
|
|
58
58
|
};
|
|
59
59
|
readonly 403: {
|
|
60
|
-
readonly description: "
|
|
60
|
+
readonly description: "The provided user credentials are valid, but the user does not have the necessary permissions to perform this operation";
|
|
61
61
|
readonly content: {
|
|
62
62
|
readonly 'application/json': {
|
|
63
63
|
readonly schema: {
|
|
@@ -32,7 +32,7 @@ const unauthorizedResponse = {
|
|
|
32
32
|
},
|
|
33
33
|
};
|
|
34
34
|
const forbiddenResponse = {
|
|
35
|
-
description: '
|
|
35
|
+
description: 'The provided user credentials are valid, but the user does not have the necessary permissions to perform this operation',
|
|
36
36
|
content: {
|
|
37
37
|
'application/json': {
|
|
38
38
|
schema: {
|