unleash-server 5.2.8 → 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 +1 -0
- package/dist/lib/addons/datadog-definition.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 +1 -0
- package/dist/lib/addons/slack-definition.js.map +1 -1
- package/dist/lib/addons/teams-definition.js +1 -0
- package/dist/lib/addons/teams-definition.js.map +1 -1
- package/dist/lib/addons/webhook-definition.js +1 -0
- package/dist/lib/addons/webhook-definition.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
|
@@ -96,7 +96,9 @@ exports.schemas = {
|
|
|
96
96
|
featureTypesSchema: spec_1.featureTypesSchema,
|
|
97
97
|
featureUsageSchema: spec_1.featureUsageSchema,
|
|
98
98
|
featureVariantsSchema: spec_1.featureVariantsSchema,
|
|
99
|
-
|
|
99
|
+
feedbackCreateSchema: spec_1.feedbackCreateSchema,
|
|
100
|
+
feedbackUpdateSchema: spec_1.feedbackUpdateSchema,
|
|
101
|
+
feedbackResponseSchema: spec_1.feedbackResponseSchema,
|
|
100
102
|
groupSchema: spec_1.groupSchema,
|
|
101
103
|
groupsSchema: spec_1.groupsSchema,
|
|
102
104
|
groupUserModelSchema: spec_1.groupUserModelSchema,
|
|
@@ -148,7 +150,8 @@ exports.schemas = {
|
|
|
148
150
|
setStrategySortOrderSchema: spec_1.setStrategySortOrderSchema,
|
|
149
151
|
setUiConfigSchema: spec_1.setUiConfigSchema,
|
|
150
152
|
sortOrderSchema: spec_1.sortOrderSchema,
|
|
151
|
-
|
|
153
|
+
splashRequestSchema: spec_1.splashRequestSchema,
|
|
154
|
+
splashResponseSchema: spec_1.splashResponseSchema,
|
|
152
155
|
stateSchema: spec_1.stateSchema,
|
|
153
156
|
strategiesSchema: spec_1.strategiesSchema,
|
|
154
157
|
strategySchema: spec_1.strategySchema,
|
|
@@ -169,12 +172,16 @@ exports.schemas = {
|
|
|
169
172
|
updateTagsSchema: update_tags_schema_1.updateTagsSchema,
|
|
170
173
|
upsertContextFieldSchema: spec_1.upsertContextFieldSchema,
|
|
171
174
|
upsertSegmentSchema: spec_1.upsertSegmentSchema,
|
|
172
|
-
|
|
175
|
+
createStrategySchema: spec_1.createStrategySchema,
|
|
176
|
+
updateStrategySchema: spec_1.updateStrategySchema,
|
|
177
|
+
updateFeatureTypeLifetimeSchema: spec_1.updateFeatureTypeLifetimeSchema,
|
|
173
178
|
userSchema: spec_1.userSchema,
|
|
179
|
+
createUserResponseSchema: spec_1.createUserResponseSchema,
|
|
174
180
|
usersGroupsBaseSchema: spec_1.usersGroupsBaseSchema,
|
|
175
181
|
usersSchema: spec_1.usersSchema,
|
|
176
182
|
usersSearchSchema: spec_1.usersSearchSchema,
|
|
177
183
|
validatedEdgeTokensSchema: spec_1.validatedEdgeTokensSchema,
|
|
184
|
+
validateFeatureSchema: spec_1.validateFeatureSchema,
|
|
178
185
|
validatePasswordSchema: spec_1.validatePasswordSchema,
|
|
179
186
|
validateTagTypeSchema: spec_1.validateTagTypeSchema,
|
|
180
187
|
variantSchema: spec_1.variantSchema,
|
|
@@ -186,6 +193,11 @@ exports.schemas = {
|
|
|
186
193
|
importTogglesValidateSchema: spec_1.importTogglesValidateSchema,
|
|
187
194
|
importTogglesValidateItemSchema: spec_1.importTogglesValidateItemSchema,
|
|
188
195
|
contextFieldStrategiesSchema: context_field_strategies_schema_1.contextFieldStrategiesSchema,
|
|
196
|
+
telemetrySettingsSchema: spec_1.telemetrySettingsSchema,
|
|
197
|
+
strategyVariantSchema: spec_1.strategyVariantSchema,
|
|
198
|
+
createStrategyVariantSchema: spec_1.createStrategyVariantSchema,
|
|
199
|
+
clientSegmentSchema: spec_1.clientSegmentSchema,
|
|
200
|
+
createGroupSchema: spec_1.createGroupSchema,
|
|
189
201
|
};
|
|
190
202
|
// Remove JSONSchema keys that would result in an invalid OpenAPI spec.
|
|
191
203
|
const removeJsonSchemaProps = (schema) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/openapi/index.ts"],"names":[],"mappings":";;;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Q,EAAE,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC;QAC1B,UAAU,EAAE;YACR,eAAe,EAAE;gBACb,MAAM,EAAE;oBACJ,IAAI,EAAE,QAAQ;oBACd,EAAE,EAAE,QAAQ;oBACZ,IAAI,EAAE,eAAe;iBACxB;aACJ;YACD,OAAO,EAAE,IAAA,gBAAS,EAAC,eAAO,EAAE,6BAAqB,CAAC;SACrD;QACD,IAAI,EAAE,kBAAW;KACpB,CAAC;AACN,CAAC,CAAC;AA7BW,QAAA,mBAAmB,uBA6B9B;AAEF,yCAAuB;AACvB,yCAAuB"}
|
|
@@ -82,84 +82,22 @@ const metaRules = [
|
|
|
82
82
|
},
|
|
83
83
|
},
|
|
84
84
|
knownExceptions: [
|
|
85
|
-
'batchFeaturesSchema',
|
|
86
|
-
'batchStaleSchema',
|
|
87
|
-
'changePasswordSchema',
|
|
88
|
-
'cloneFeatureSchema',
|
|
89
|
-
'contextFieldSchema',
|
|
90
|
-
'createApiTokenSchema',
|
|
91
|
-
'createFeatureSchema',
|
|
92
85
|
'createInvitedUserSchema',
|
|
93
|
-
'createUserSchema',
|
|
94
|
-
'emailSchema',
|
|
95
|
-
'environmentsSchema',
|
|
96
|
-
'environmentsProjectSchema',
|
|
97
|
-
'eventSchema',
|
|
98
|
-
'eventsSchema',
|
|
99
|
-
'exportResultSchema',
|
|
100
|
-
'exportQuerySchema',
|
|
101
|
-
'featureEnvironmentSchema',
|
|
102
|
-
'featureEventsSchema',
|
|
103
|
-
'featureSchema',
|
|
104
|
-
'featuresSchema',
|
|
105
86
|
'featureStrategySegmentSchema',
|
|
106
|
-
'featureTypeSchema',
|
|
107
|
-
'featureTypesSchema',
|
|
108
|
-
'featureVariantsSchema',
|
|
109
|
-
'feedbackSchema',
|
|
110
|
-
'groupSchema',
|
|
111
|
-
'groupsSchema',
|
|
112
|
-
'groupUserModelSchema',
|
|
113
|
-
'idSchema',
|
|
114
|
-
'legalValueSchema',
|
|
115
|
-
'loginSchema',
|
|
116
87
|
'maintenanceSchema',
|
|
117
88
|
'toggleMaintenanceSchema',
|
|
118
|
-
'meSchema',
|
|
119
|
-
'nameSchema',
|
|
120
|
-
'passwordSchema',
|
|
121
89
|
'patchSchema',
|
|
122
|
-
'permissionSchema',
|
|
123
|
-
'profileSchema',
|
|
124
90
|
'projectSchema',
|
|
125
91
|
'projectsSchema',
|
|
126
|
-
'proxyClientSchema',
|
|
127
|
-
'proxyFeatureSchema',
|
|
128
|
-
'proxyFeaturesSchema',
|
|
129
92
|
'pushVariantsSchema',
|
|
130
93
|
'resetPasswordSchema',
|
|
131
|
-
'requestsPerSecondSchema',
|
|
132
|
-
'roleSchema',
|
|
133
94
|
'sdkContextSchema',
|
|
134
|
-
'searchEventsSchema',
|
|
135
|
-
'setUiConfigSchema',
|
|
136
|
-
'splashSchema',
|
|
137
95
|
'stateSchema',
|
|
138
|
-
'strategiesSchema',
|
|
139
|
-
'tagTypeSchema',
|
|
140
|
-
'tagTypesSchema',
|
|
141
|
-
'tagWithVersionSchema',
|
|
142
|
-
'tokenUserSchema',
|
|
143
|
-
'uiConfigSchema',
|
|
144
|
-
'updateApiTokenSchema',
|
|
145
|
-
'updateFeatureSchema',
|
|
146
|
-
'updateFeatureStrategySchema',
|
|
147
|
-
'updateTagTypeSchema',
|
|
148
|
-
'updateUserSchema',
|
|
149
96
|
'upsertContextFieldSchema',
|
|
150
97
|
'upsertStrategySchema',
|
|
151
|
-
'userSchema',
|
|
152
98
|
'usersGroupsBaseSchema',
|
|
153
|
-
'usersSchema',
|
|
154
99
|
'validateEdgeTokensSchema',
|
|
155
|
-
'validatePasswordSchema',
|
|
156
|
-
'validateTagTypeSchema',
|
|
157
|
-
'variantFlagSchema',
|
|
158
|
-
'versionSchema',
|
|
159
100
|
'projectOverviewSchema',
|
|
160
|
-
'importTogglesSchema',
|
|
161
|
-
'importTogglesValidateSchema',
|
|
162
|
-
'importTogglesValidateItemSchema',
|
|
163
101
|
],
|
|
164
102
|
},
|
|
165
103
|
{
|
|
@@ -175,88 +113,24 @@ const metaRules = [
|
|
|
175
113
|
'adminFeaturesQuerySchema',
|
|
176
114
|
'applicationSchema',
|
|
177
115
|
'applicationsSchema',
|
|
178
|
-
'batchFeaturesSchema',
|
|
179
|
-
'batchStaleSchema',
|
|
180
|
-
'changePasswordSchema',
|
|
181
|
-
'cloneFeatureSchema',
|
|
182
|
-
'contextFieldSchema',
|
|
183
|
-
'contextFieldsSchema',
|
|
184
|
-
'createApiTokenSchema',
|
|
185
116
|
'createFeatureSchema',
|
|
186
|
-
'createFeatureStrategySchema',
|
|
187
117
|
'createInvitedUserSchema',
|
|
188
|
-
'createUserSchema',
|
|
189
118
|
'dateSchema',
|
|
190
|
-
'emailSchema',
|
|
191
|
-
'environmentsSchema',
|
|
192
|
-
'eventSchema',
|
|
193
|
-
'eventsSchema',
|
|
194
|
-
'exportResultSchema',
|
|
195
|
-
'exportQuerySchema',
|
|
196
|
-
'featureEventsSchema',
|
|
197
|
-
'featureSchema',
|
|
198
|
-
'featuresSchema',
|
|
199
119
|
'featureStrategySegmentSchema',
|
|
200
|
-
'featureTypeSchema',
|
|
201
|
-
'featureTypesSchema',
|
|
202
|
-
'featureVariantsSchema',
|
|
203
|
-
'feedbackSchema',
|
|
204
|
-
'groupSchema',
|
|
205
|
-
'groupsSchema',
|
|
206
|
-
'groupUserModelSchema',
|
|
207
|
-
'idSchema',
|
|
208
|
-
'legalValueSchema',
|
|
209
|
-
'loginSchema',
|
|
210
120
|
'maintenanceSchema',
|
|
211
121
|
'toggleMaintenanceSchema',
|
|
212
|
-
'meSchema',
|
|
213
|
-
'nameSchema',
|
|
214
|
-
'parametersSchema',
|
|
215
|
-
'passwordSchema',
|
|
216
|
-
'patchesSchema',
|
|
217
122
|
'patchSchema',
|
|
218
|
-
'permissionSchema',
|
|
219
123
|
'playgroundSegmentSchema',
|
|
220
124
|
'playgroundStrategySchema',
|
|
221
|
-
'profileSchema',
|
|
222
|
-
'proxyClientSchema',
|
|
223
|
-
'proxyFeatureSchema',
|
|
224
|
-
'proxyFeaturesSchema',
|
|
225
125
|
'pushVariantsSchema',
|
|
226
126
|
'resetPasswordSchema',
|
|
227
|
-
'requestsPerSecondSchema',
|
|
228
|
-
'requestsPerSecondSegmentedSchema',
|
|
229
|
-
'roleSchema',
|
|
230
|
-
'setStrategySortOrderSchema',
|
|
231
|
-
'setUiConfigSchema',
|
|
232
127
|
'sortOrderSchema',
|
|
233
|
-
'splashSchema',
|
|
234
|
-
'strategiesSchema',
|
|
235
|
-
'tagTypeSchema',
|
|
236
|
-
'tagTypesSchema',
|
|
237
|
-
'tagWithVersionSchema',
|
|
238
|
-
'tokenUserSchema',
|
|
239
|
-
'uiConfigSchema',
|
|
240
|
-
'updateApiTokenSchema',
|
|
241
|
-
'updateFeatureSchema',
|
|
242
|
-
'updateFeatureStrategySchema',
|
|
243
|
-
'updateTagTypeSchema',
|
|
244
|
-
'updateUserSchema',
|
|
245
128
|
'upsertContextFieldSchema',
|
|
246
129
|
'upsertStrategySchema',
|
|
247
|
-
'userSchema',
|
|
248
130
|
'usersGroupsBaseSchema',
|
|
249
|
-
'usersSchema',
|
|
250
131
|
'usersSearchSchema',
|
|
251
132
|
'validateEdgeTokensSchema',
|
|
252
|
-
'validatePasswordSchema',
|
|
253
|
-
'validateTagTypeSchema',
|
|
254
|
-
'variantFlagSchema',
|
|
255
133
|
'variantsSchema',
|
|
256
|
-
'versionSchema',
|
|
257
|
-
'importTogglesSchema',
|
|
258
|
-
'importTogglesValidateSchema',
|
|
259
|
-
'importTogglesValidateItemSchema',
|
|
260
134
|
],
|
|
261
135
|
},
|
|
262
136
|
];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta-schema-rules.test.js","sourceRoot":"","sources":["../../../src/lib/openapi/meta-schema-rules.test.ts"],"names":[],"mappings":";;;;;AAAA,8CAAkC;AAClC,wBAA4B;AAE5B,MAAM,GAAG,GAAG,IAAI,aAAG,EAAE,CAAC;AAatB;;;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b,
|
|
1
|
+
{"version":3,"file":"meta-schema-rules.test.js","sourceRoot":"","sources":["../../../src/lib/openapi/meta-schema-rules.test.ts"],"names":[],"mappings":";;;;;AAAA,8CAAkC;AAClC,wBAA4B;AAE5B,MAAM,GAAG,GAAG,IAAI,aAAG,EAAE,CAAC;AAatB;;;;;;;;;;;;;;GAcG;AACH,MAAM,SAAS,GAAW;IACtB;QACI,IAAI,EAAE,oBAAoB;QAC1B,UAAU,EAAE;YACR,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACR,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,QAAQ,EAAE,OAAO,CAAC,EAAE;aACtD;YACD,QAAQ,EAAE,CAAC,MAAM,CAAC;SACrB;QACD,eAAe,EAAE,CAAC,YAAY,CAAC;KAClC;IACD;QACI,IAAI,EAAE,6CAA6C;QACnD,UAAU,EAAE;YACR,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACR,GAAG,EAAE;oBACD,IAAI,EAAE,QAAQ;oBACd,OAAO,EAAE,uCAAuC;iBACnD;aACJ;YACD,QAAQ,EAAE,CAAC,KAAK,CAAC;SACpB;KACJ;IACD;QACI,IAAI,EAAE,0CAA0C;QAChD,KAAK,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,EAAE;YACjB,kDAAkD;YAClD,OAAO,YAAY,IAAI,MAAM,CAAC;QAClC,CAAC;QACD,UAAU,EAAE;YACR,IAAI,EAAE,QAAQ;YACd,gCAAgC;YAChC,UAAU,EAAE;gBACR,mDAAmD;gBACnD,UAAU,EAAE;oBACR,IAAI,EAAE,QAAQ;oBACd,oBAAoB,EAAE;wBAClB,2BAA2B;wBAC3B,KAAK,EAAE;4BACH;gCACI,IAAI,EAAE,QAAQ;gCACd,UAAU,EAAE;oCACR,WAAW,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;iCAClC;gCACD,QAAQ,EAAE,CAAC,aAAa,CAAC;6BAC5B;4BACD;gC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,CAAC,EAAE,EAAE;QACrD,IAAI,CAAC,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,UAAU,EAAE,MAAM,CAAC,EAAE;YAC/C,EAAE,CAAC,GAAG,UAAU,EAAE,EAAE,GAAG,EAAE;gBACrB,kBAAkB,CAAC,MAAM,CAAC,CAAC;gBAE3B,yEAAyE;gBACzE,IAAI,IAAI,CAAC,eAAe,EAAE,QAAQ,CAAC,UAAU,CAAC,EAAE;oBAC5C,OAAO,CAAC,IAAI,CACR,GAAG,UAAU,kCAAkC,IAAI,CAAC,IAAI,wBAAwB,CACnF,CAAC;oBACF,MAAM,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;iBACpD;qBAAM;oBACH,MAAM,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,CAAC;iBAChD;YACL,CAAC,CAAC,CAAC;SACN;IACL,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
|
|
@@ -84,6 +84,56 @@ export declare const addonTypeSchema: {
|
|
|
84
84
|
};
|
|
85
85
|
readonly example: readonly ["feature-created", "feature-updated", "feature-archived", "feature-revived", "feature-stale-on", "feature-stale-off", "feature-environment-enabled", "feature-environment-disabled", "feature-strategy-remove", "feature-strategy-update", "feature-strategy-add", "feature-metadata-updated", "feature-variants-updated", "feature-project-change"];
|
|
86
86
|
};
|
|
87
|
+
readonly installation: {
|
|
88
|
+
readonly type: "object";
|
|
89
|
+
readonly additionalProperties: false;
|
|
90
|
+
readonly required: readonly ["url"];
|
|
91
|
+
readonly description: "The installation configuration for this addon type.";
|
|
92
|
+
readonly properties: {
|
|
93
|
+
readonly url: {
|
|
94
|
+
readonly type: "string";
|
|
95
|
+
readonly description: "A URL to where the addon configuration should redirect to install addons of this type.";
|
|
96
|
+
readonly example: "https://unleash-slack-app.vercel.app/install";
|
|
97
|
+
};
|
|
98
|
+
readonly title: {
|
|
99
|
+
readonly type: "string";
|
|
100
|
+
readonly description: "The title of the installation configuration. This will be displayed to the user when installing addons of this type.";
|
|
101
|
+
readonly example: "Slack App installation";
|
|
102
|
+
};
|
|
103
|
+
readonly helpText: {
|
|
104
|
+
readonly type: "string";
|
|
105
|
+
readonly description: "The help text of the installation configuration. This will be displayed to the user when installing addons of this type.";
|
|
106
|
+
readonly example: "Clicking the Install button will send you to Slack to initiate the installation procedure for the Unleash Slack app for your workspace";
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
readonly alerts: {
|
|
111
|
+
readonly type: "array";
|
|
112
|
+
readonly description: "A list of alerts to display to the user when installing addons of this type.";
|
|
113
|
+
readonly items: {
|
|
114
|
+
readonly type: "object";
|
|
115
|
+
readonly additionalProperties: false;
|
|
116
|
+
readonly required: readonly ["type", "text"];
|
|
117
|
+
readonly properties: {
|
|
118
|
+
readonly type: {
|
|
119
|
+
readonly type: "string";
|
|
120
|
+
readonly enum: readonly ["success", "info", "warning", "error"];
|
|
121
|
+
readonly description: "The type of alert. This determines the color of the alert.";
|
|
122
|
+
readonly example: "info";
|
|
123
|
+
};
|
|
124
|
+
readonly text: {
|
|
125
|
+
readonly type: "string";
|
|
126
|
+
readonly description: "The text of the alert. This is what will be displayed to the user.";
|
|
127
|
+
readonly example: "Please ensure you have the Unleash Slack App installed in your Slack workspace if you haven't installed it already. If you want the Unleash Slack App bot to post messages to private channels, you'll need to invite it to those channels.";
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
readonly deprecated: {
|
|
133
|
+
readonly type: "string";
|
|
134
|
+
readonly description: "This should be used to inform the user that this addon type is deprecated and should not be used. Deprecated addons will show a badge with this information on the UI.";
|
|
135
|
+
readonly example: "This addon is deprecated. Please try the new addon instead.";
|
|
136
|
+
};
|
|
87
137
|
};
|
|
88
138
|
readonly components: {
|
|
89
139
|
readonly schemas: {
|
|
@@ -91,17 +141,24 @@ export declare const addonTypeSchema: {
|
|
|
91
141
|
readonly $id: "#/components/schemas/tagTypeSchema";
|
|
92
142
|
readonly type: "object";
|
|
93
143
|
readonly additionalProperties: false;
|
|
144
|
+
readonly description: "A tag type.";
|
|
94
145
|
readonly required: readonly ["name"];
|
|
95
146
|
readonly properties: {
|
|
96
147
|
readonly name: {
|
|
97
148
|
readonly type: "string";
|
|
149
|
+
readonly description: "The name of the tag type.";
|
|
150
|
+
readonly example: "color";
|
|
98
151
|
};
|
|
99
152
|
readonly description: {
|
|
100
153
|
readonly type: "string";
|
|
154
|
+
readonly description: "The description of the tag type.";
|
|
155
|
+
readonly example: "A tag type for describing the color of a tag.";
|
|
101
156
|
};
|
|
102
157
|
readonly icon: {
|
|
103
158
|
readonly type: "string";
|
|
104
159
|
readonly nullable: true;
|
|
160
|
+
readonly description: "The icon of the tag type.";
|
|
161
|
+
readonly example: "not-really-used";
|
|
105
162
|
};
|
|
106
163
|
};
|
|
107
164
|
readonly components: {};
|
|
@@ -110,6 +110,56 @@ exports.addonTypeSchema = {
|
|
|
110
110
|
'feature-project-change',
|
|
111
111
|
],
|
|
112
112
|
},
|
|
113
|
+
installation: {
|
|
114
|
+
type: 'object',
|
|
115
|
+
additionalProperties: false,
|
|
116
|
+
required: ['url'],
|
|
117
|
+
description: 'The installation configuration for this addon type.',
|
|
118
|
+
properties: {
|
|
119
|
+
url: {
|
|
120
|
+
type: 'string',
|
|
121
|
+
description: 'A URL to where the addon configuration should redirect to install addons of this type.',
|
|
122
|
+
example: 'https://unleash-slack-app.vercel.app/install',
|
|
123
|
+
},
|
|
124
|
+
title: {
|
|
125
|
+
type: 'string',
|
|
126
|
+
description: 'The title of the installation configuration. This will be displayed to the user when installing addons of this type.',
|
|
127
|
+
example: 'Slack App installation',
|
|
128
|
+
},
|
|
129
|
+
helpText: {
|
|
130
|
+
type: 'string',
|
|
131
|
+
description: 'The help text of the installation configuration. This will be displayed to the user when installing addons of this type.',
|
|
132
|
+
example: 'Clicking the Install button will send you to Slack to initiate the installation procedure for the Unleash Slack app for your workspace',
|
|
133
|
+
},
|
|
134
|
+
},
|
|
135
|
+
},
|
|
136
|
+
alerts: {
|
|
137
|
+
type: 'array',
|
|
138
|
+
description: 'A list of alerts to display to the user when installing addons of this type.',
|
|
139
|
+
items: {
|
|
140
|
+
type: 'object',
|
|
141
|
+
additionalProperties: false,
|
|
142
|
+
required: ['type', 'text'],
|
|
143
|
+
properties: {
|
|
144
|
+
type: {
|
|
145
|
+
type: 'string',
|
|
146
|
+
enum: ['success', 'info', 'warning', 'error'],
|
|
147
|
+
description: 'The type of alert. This determines the color of the alert.',
|
|
148
|
+
example: 'info',
|
|
149
|
+
},
|
|
150
|
+
text: {
|
|
151
|
+
type: 'string',
|
|
152
|
+
description: 'The text of the alert. This is what will be displayed to the user.',
|
|
153
|
+
example: "Please ensure you have the Unleash Slack App installed in your Slack workspace if you haven't installed it already. If you want the Unleash Slack App bot to post messages to private channels, you'll need to invite it to those channels.",
|
|
154
|
+
},
|
|
155
|
+
},
|
|
156
|
+
},
|
|
157
|
+
},
|
|
158
|
+
deprecated: {
|
|
159
|
+
type: 'string',
|
|
160
|
+
description: 'This should be used to inform the user that this addon type is deprecated and should not be used. Deprecated addons will show a badge with this information on the UI.',
|
|
161
|
+
example: 'This addon is deprecated. Please try the new addon instead.',
|
|
162
|
+
},
|
|
113
163
|
},
|
|
114
164
|
components: {
|
|
115
165
|
schemas: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"addon-type-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/addon-type-schema.ts"],"names":[],"mappings":";;;AACA,qEAAgE;AAChE,uDAAkD;AAErC,QAAA,eAAe,GAAG;IAC3B,GAAG,EAAE,sCAAsC;IAC3C,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,MAAM,EAAE,aAAa,EAAE,kBAAkB,EAAE,aAAa,CAAC;IACpE,WAAW,EACP,+HAA+H;IACn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gF;oBACpF,IAAI,EAAE,MAAM;oBACZ,QAAQ,EAAE,KAAK;oBACf,SAAS,EAAE,KAAK;iBACnB;gBACD;oBACI,IAAI,EAAE,gBAAgB;oBACtB,WAAW,EAAE,iBAAiB;oBAC9B,WAAW,EACP,iFAAiF;oBACrF,IAAI,EAAE,MAAM;oBACZ,QAAQ,EAAE,IAAI;oBACd,SAAS,EAAE,KAAK;iBACnB;aACJ;SACJ;QACD,MAAM,EAAE;YACJ,IAAI,EAAE,OAAO;YACb,WAAW,EACP,+JAA+J;YACnK,KAAK,EAAE;gBACH,IAAI,EAAE,QAAQ;aACjB;YACD,OAAO,EAAE;gBACL,iBAAiB;gBACjB,iBAAiB;gBACjB,kBAAkB;gBAClB,iBAAiB;gBACjB,kBAAkB;gBAClB,mBAAmB;gBACnB,6BAA6B;gBAC7B,8BAA8B;gBAC9B,yBAAyB;gBACzB,yBAAyB;gBACzB,sBAAsB;gBACtB,0BAA0B;gBAC1B,0BAA0B;gBAC1B,wBAAwB;aAC3B;SACJ;KACJ;IACD,UAAU,EAAE;QACR,OAAO,EAAE;YACL,aAAa,EAAb,+BAAa;YACb,oBAAoB,EAApB,6CAAoB;SACvB;KACJ;CACK,CAAC"}
|
|
1
|
+
{"version":3,"file":"addon-type-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/addon-type-schema.ts"],"names":[],"mappings":";;;AACA,qEAAgE;AAChE,uDAAkD;AAErC,QAAA,eAAe,GAAG;IAC3B,GAAG,EAAE,sCAAsC;IAC3C,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,MAAM,EAAE,aAAa,EAAE,kBAAkB,EAAE,aAAa,CAAC;IACpE,WAAW,EACP,+HAA+H;IACnI,UAAU,EAAE;QACR,IAAI,EAAE;YACF,IAAI,EAAE,QAAQ;YACd,WAAW,EACP,gGAAgG;YACpG,OAAO,EAAE,OAAO;SACnB;QACD,WAAW,EAAE;YACT,IAAI,EAA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AI,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,CAAC;wBAC7C,WAAW,EACP,4DAA4D;wBAChE,OAAO,EAAE,MAAM;qBAClB;oBACD,IAAI,EAAE;wBACF,IAAI,EAAE,QAAQ;wBACd,WAAW,EACP,oEAAoE;wBACxE,OAAO,EACH,6OAA6O;qBACpP;iBACJ;aACJ;SACJ;QACD,UAAU,EAAE;YACR,IAAI,EAAE,QAAQ;YACd,WAAW,EACP,wKAAwK;YAC5K,OAAO,EACH,6DAA6D;SACpE;KACJ;IACD,UAAU,EAAE;QACR,OAAO,EAAE;YACL,aAAa,EAAb,+BAAa;YACb,oBAAoB,EAApB,6CAAoB;SACvB;KACJ;CACK,CAAC"}
|
|
@@ -291,6 +291,56 @@ export declare const addonsSchema: {
|
|
|
291
291
|
};
|
|
292
292
|
readonly example: readonly ["feature-created", "feature-updated", "feature-archived", "feature-revived", "feature-stale-on", "feature-stale-off", "feature-environment-enabled", "feature-environment-disabled", "feature-strategy-remove", "feature-strategy-update", "feature-strategy-add", "feature-metadata-updated", "feature-variants-updated", "feature-project-change"];
|
|
293
293
|
};
|
|
294
|
+
readonly installation: {
|
|
295
|
+
readonly type: "object";
|
|
296
|
+
readonly additionalProperties: false;
|
|
297
|
+
readonly required: readonly ["url"];
|
|
298
|
+
readonly description: "The installation configuration for this addon type.";
|
|
299
|
+
readonly properties: {
|
|
300
|
+
readonly url: {
|
|
301
|
+
readonly type: "string";
|
|
302
|
+
readonly description: "A URL to where the addon configuration should redirect to install addons of this type.";
|
|
303
|
+
readonly example: "https://unleash-slack-app.vercel.app/install";
|
|
304
|
+
};
|
|
305
|
+
readonly title: {
|
|
306
|
+
readonly type: "string";
|
|
307
|
+
readonly description: "The title of the installation configuration. This will be displayed to the user when installing addons of this type.";
|
|
308
|
+
readonly example: "Slack App installation";
|
|
309
|
+
};
|
|
310
|
+
readonly helpText: {
|
|
311
|
+
readonly type: "string";
|
|
312
|
+
readonly description: "The help text of the installation configuration. This will be displayed to the user when installing addons of this type.";
|
|
313
|
+
readonly example: "Clicking the Install button will send you to Slack to initiate the installation procedure for the Unleash Slack app for your workspace";
|
|
314
|
+
};
|
|
315
|
+
};
|
|
316
|
+
};
|
|
317
|
+
readonly alerts: {
|
|
318
|
+
readonly type: "array";
|
|
319
|
+
readonly description: "A list of alerts to display to the user when installing addons of this type.";
|
|
320
|
+
readonly items: {
|
|
321
|
+
readonly type: "object";
|
|
322
|
+
readonly additionalProperties: false;
|
|
323
|
+
readonly required: readonly ["type", "text"];
|
|
324
|
+
readonly properties: {
|
|
325
|
+
readonly type: {
|
|
326
|
+
readonly type: "string";
|
|
327
|
+
readonly enum: readonly ["success", "info", "warning", "error"];
|
|
328
|
+
readonly description: "The type of alert. This determines the color of the alert.";
|
|
329
|
+
readonly example: "info";
|
|
330
|
+
};
|
|
331
|
+
readonly text: {
|
|
332
|
+
readonly type: "string";
|
|
333
|
+
readonly description: "The text of the alert. This is what will be displayed to the user.";
|
|
334
|
+
readonly example: "Please ensure you have the Unleash Slack App installed in your Slack workspace if you haven't installed it already. If you want the Unleash Slack App bot to post messages to private channels, you'll need to invite it to those channels.";
|
|
335
|
+
};
|
|
336
|
+
};
|
|
337
|
+
};
|
|
338
|
+
};
|
|
339
|
+
readonly deprecated: {
|
|
340
|
+
readonly type: "string";
|
|
341
|
+
readonly description: "This should be used to inform the user that this addon type is deprecated and should not be used. Deprecated addons will show a badge with this information on the UI.";
|
|
342
|
+
readonly example: "This addon is deprecated. Please try the new addon instead.";
|
|
343
|
+
};
|
|
294
344
|
};
|
|
295
345
|
readonly components: {
|
|
296
346
|
readonly schemas: {
|
|
@@ -298,17 +348,24 @@ export declare const addonsSchema: {
|
|
|
298
348
|
readonly $id: "#/components/schemas/tagTypeSchema";
|
|
299
349
|
readonly type: "object";
|
|
300
350
|
readonly additionalProperties: false;
|
|
351
|
+
readonly description: "A tag type.";
|
|
301
352
|
readonly required: readonly ["name"];
|
|
302
353
|
readonly properties: {
|
|
303
354
|
readonly name: {
|
|
304
355
|
readonly type: "string";
|
|
356
|
+
readonly description: "The name of the tag type.";
|
|
357
|
+
readonly example: "color";
|
|
305
358
|
};
|
|
306
359
|
readonly description: {
|
|
307
360
|
readonly type: "string";
|
|
361
|
+
readonly description: "The description of the tag type.";
|
|
362
|
+
readonly example: "A tag type for describing the color of a tag.";
|
|
308
363
|
};
|
|
309
364
|
readonly icon: {
|
|
310
365
|
readonly type: "string";
|
|
311
366
|
readonly nullable: true;
|
|
367
|
+
readonly description: "The icon of the tag type.";
|
|
368
|
+
readonly example: "not-really-used";
|
|
312
369
|
};
|
|
313
370
|
};
|
|
314
371
|
readonly components: {};
|
|
@@ -365,17 +422,24 @@ export declare const addonsSchema: {
|
|
|
365
422
|
readonly $id: "#/components/schemas/tagTypeSchema";
|
|
366
423
|
readonly type: "object";
|
|
367
424
|
readonly additionalProperties: false;
|
|
425
|
+
readonly description: "A tag type.";
|
|
368
426
|
readonly required: readonly ["name"];
|
|
369
427
|
readonly properties: {
|
|
370
428
|
readonly name: {
|
|
371
429
|
readonly type: "string";
|
|
430
|
+
readonly description: "The name of the tag type.";
|
|
431
|
+
readonly example: "color";
|
|
372
432
|
};
|
|
373
433
|
readonly description: {
|
|
374
434
|
readonly type: "string";
|
|
435
|
+
readonly description: "The description of the tag type.";
|
|
436
|
+
readonly example: "A tag type for describing the color of a tag.";
|
|
375
437
|
};
|
|
376
438
|
readonly icon: {
|
|
377
439
|
readonly type: "string";
|
|
378
440
|
readonly nullable: true;
|
|
441
|
+
readonly description: "The icon of the tag type.";
|
|
442
|
+
readonly example: "not-really-used";
|
|
379
443
|
};
|
|
380
444
|
};
|
|
381
445
|
readonly components: {};
|