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
|
@@ -95,50 +95,88 @@ export declare const publicSignupTokensSchema: {
|
|
|
95
95
|
readonly $id: "#/components/schemas/userSchema";
|
|
96
96
|
readonly type: "object";
|
|
97
97
|
readonly additionalProperties: false;
|
|
98
|
+
readonly description: "An Unleash user";
|
|
98
99
|
readonly required: readonly ["id"];
|
|
99
100
|
readonly properties: {
|
|
100
101
|
readonly id: {
|
|
101
|
-
readonly
|
|
102
|
+
readonly description: "The user id";
|
|
103
|
+
readonly type: "integer";
|
|
104
|
+
readonly minimum: 0;
|
|
105
|
+
readonly example: 123;
|
|
102
106
|
};
|
|
103
107
|
readonly isAPI: {
|
|
108
|
+
readonly description: "(Deprecated): Used internally to know which operations the user should be allowed to perform";
|
|
104
109
|
readonly type: "boolean";
|
|
110
|
+
readonly example: true;
|
|
111
|
+
readonly deprecated: true;
|
|
105
112
|
};
|
|
106
113
|
readonly name: {
|
|
114
|
+
readonly description: "Name of the user";
|
|
107
115
|
readonly type: "string";
|
|
116
|
+
readonly example: "User";
|
|
108
117
|
};
|
|
109
118
|
readonly email: {
|
|
119
|
+
readonly description: "Email of the user";
|
|
110
120
|
readonly type: "string";
|
|
121
|
+
readonly example: "user@example.com";
|
|
111
122
|
};
|
|
112
123
|
readonly username: {
|
|
124
|
+
readonly description: "A unique username for the user";
|
|
113
125
|
readonly type: "string";
|
|
126
|
+
readonly example: "hunter";
|
|
114
127
|
};
|
|
115
128
|
readonly imageUrl: {
|
|
129
|
+
readonly description: "URL used for the userprofile image";
|
|
116
130
|
readonly type: "string";
|
|
131
|
+
readonly example: "https://example.com/242x200.png";
|
|
117
132
|
};
|
|
118
133
|
readonly inviteLink: {
|
|
134
|
+
readonly description: "If the user is actively inviting other users, this is the link that can be shared with other users";
|
|
119
135
|
readonly type: "string";
|
|
136
|
+
readonly example: "http://localhost:4242/invite-link/some-secret";
|
|
120
137
|
};
|
|
121
138
|
readonly loginAttempts: {
|
|
122
|
-
readonly
|
|
139
|
+
readonly description: "How many unsuccessful attempts at logging in has the user made";
|
|
140
|
+
readonly type: "integer";
|
|
141
|
+
readonly minimum: 0;
|
|
142
|
+
readonly example: 3;
|
|
123
143
|
};
|
|
124
144
|
readonly emailSent: {
|
|
145
|
+
readonly description: "Is the welcome email sent to the user or not";
|
|
125
146
|
readonly type: "boolean";
|
|
147
|
+
readonly example: false;
|
|
126
148
|
};
|
|
127
149
|
readonly rootRole: {
|
|
128
|
-
readonly
|
|
150
|
+
readonly description: "Which [root role](https://docs.getunleash.io/reference/rbac#standard-roles) this user is assigned";
|
|
151
|
+
readonly type: "integer";
|
|
152
|
+
readonly example: 1;
|
|
153
|
+
readonly minimum: 0;
|
|
129
154
|
};
|
|
130
155
|
readonly seenAt: {
|
|
156
|
+
readonly description: "The last time this user logged in";
|
|
131
157
|
readonly type: "string";
|
|
132
158
|
readonly format: "date-time";
|
|
133
159
|
readonly nullable: true;
|
|
160
|
+
readonly example: "2023-06-30T11:42:00.345Z";
|
|
134
161
|
};
|
|
135
162
|
readonly createdAt: {
|
|
163
|
+
readonly description: "The user was created at this time";
|
|
136
164
|
readonly type: "string";
|
|
137
165
|
readonly format: "date-time";
|
|
166
|
+
readonly example: "2023-06-30T11:41:00.123Z";
|
|
138
167
|
};
|
|
139
168
|
readonly accountType: {
|
|
169
|
+
readonly description: "A user is either an actual User or a Service Account";
|
|
140
170
|
readonly type: "string";
|
|
141
171
|
readonly enum: readonly ["User", "Service Account"];
|
|
172
|
+
readonly example: "User";
|
|
173
|
+
};
|
|
174
|
+
readonly permissions: {
|
|
175
|
+
readonly description: "Deprecated";
|
|
176
|
+
readonly type: "array";
|
|
177
|
+
readonly items: {
|
|
178
|
+
readonly type: "string";
|
|
179
|
+
};
|
|
142
180
|
};
|
|
143
181
|
};
|
|
144
182
|
readonly components: {};
|
|
@@ -146,20 +184,30 @@ export declare const publicSignupTokensSchema: {
|
|
|
146
184
|
readonly roleSchema: {
|
|
147
185
|
readonly $id: "#/components/schemas/roleSchema";
|
|
148
186
|
readonly type: "object";
|
|
187
|
+
readonly description: "A role holds permissions to allow Unleash to decide what actions a role holder is allowed to perform";
|
|
149
188
|
readonly additionalProperties: false;
|
|
150
189
|
readonly required: readonly ["id", "type", "name"];
|
|
151
190
|
readonly properties: {
|
|
152
191
|
readonly id: {
|
|
153
|
-
readonly type: "
|
|
192
|
+
readonly type: "integer";
|
|
193
|
+
readonly description: "The role id";
|
|
194
|
+
readonly example: 9;
|
|
195
|
+
readonly minimum: 0;
|
|
154
196
|
};
|
|
155
197
|
readonly type: {
|
|
198
|
+
readonly description: "A role can either be a global root role (applies to all projects) or a project role";
|
|
156
199
|
readonly type: "string";
|
|
200
|
+
readonly example: "root";
|
|
157
201
|
};
|
|
158
202
|
readonly name: {
|
|
203
|
+
readonly description: "The name of the role";
|
|
159
204
|
readonly type: "string";
|
|
205
|
+
readonly example: "Editor";
|
|
160
206
|
};
|
|
161
207
|
readonly description: {
|
|
208
|
+
readonly description: "A more detailed description of the role and what use it's intended for";
|
|
162
209
|
readonly type: "string";
|
|
210
|
+
readonly example: "Users with the editor role have access to most features in Unleash but can not manage users and roles in the global scope. Editors will be added as project owners when creating projects and get superuser rights within the context of these projects. Users with the editor role will also get access to most permissions on the default project by default.";
|
|
163
211
|
};
|
|
164
212
|
};
|
|
165
213
|
readonly components: {};
|
|
@@ -171,50 +219,88 @@ export declare const publicSignupTokensSchema: {
|
|
|
171
219
|
readonly $id: "#/components/schemas/userSchema";
|
|
172
220
|
readonly type: "object";
|
|
173
221
|
readonly additionalProperties: false;
|
|
222
|
+
readonly description: "An Unleash user";
|
|
174
223
|
readonly required: readonly ["id"];
|
|
175
224
|
readonly properties: {
|
|
176
225
|
readonly id: {
|
|
177
|
-
readonly
|
|
226
|
+
readonly description: "The user id";
|
|
227
|
+
readonly type: "integer";
|
|
228
|
+
readonly minimum: 0;
|
|
229
|
+
readonly example: 123;
|
|
178
230
|
};
|
|
179
231
|
readonly isAPI: {
|
|
232
|
+
readonly description: "(Deprecated): Used internally to know which operations the user should be allowed to perform";
|
|
180
233
|
readonly type: "boolean";
|
|
234
|
+
readonly example: true;
|
|
235
|
+
readonly deprecated: true;
|
|
181
236
|
};
|
|
182
237
|
readonly name: {
|
|
238
|
+
readonly description: "Name of the user";
|
|
183
239
|
readonly type: "string";
|
|
240
|
+
readonly example: "User";
|
|
184
241
|
};
|
|
185
242
|
readonly email: {
|
|
243
|
+
readonly description: "Email of the user";
|
|
186
244
|
readonly type: "string";
|
|
245
|
+
readonly example: "user@example.com";
|
|
187
246
|
};
|
|
188
247
|
readonly username: {
|
|
248
|
+
readonly description: "A unique username for the user";
|
|
189
249
|
readonly type: "string";
|
|
250
|
+
readonly example: "hunter";
|
|
190
251
|
};
|
|
191
252
|
readonly imageUrl: {
|
|
253
|
+
readonly description: "URL used for the userprofile image";
|
|
192
254
|
readonly type: "string";
|
|
255
|
+
readonly example: "https://example.com/242x200.png";
|
|
193
256
|
};
|
|
194
257
|
readonly inviteLink: {
|
|
258
|
+
readonly description: "If the user is actively inviting other users, this is the link that can be shared with other users";
|
|
195
259
|
readonly type: "string";
|
|
260
|
+
readonly example: "http://localhost:4242/invite-link/some-secret";
|
|
196
261
|
};
|
|
197
262
|
readonly loginAttempts: {
|
|
198
|
-
readonly
|
|
263
|
+
readonly description: "How many unsuccessful attempts at logging in has the user made";
|
|
264
|
+
readonly type: "integer";
|
|
265
|
+
readonly minimum: 0;
|
|
266
|
+
readonly example: 3;
|
|
199
267
|
};
|
|
200
268
|
readonly emailSent: {
|
|
269
|
+
readonly description: "Is the welcome email sent to the user or not";
|
|
201
270
|
readonly type: "boolean";
|
|
271
|
+
readonly example: false;
|
|
202
272
|
};
|
|
203
273
|
readonly rootRole: {
|
|
204
|
-
readonly
|
|
274
|
+
readonly description: "Which [root role](https://docs.getunleash.io/reference/rbac#standard-roles) this user is assigned";
|
|
275
|
+
readonly type: "integer";
|
|
276
|
+
readonly example: 1;
|
|
277
|
+
readonly minimum: 0;
|
|
205
278
|
};
|
|
206
279
|
readonly seenAt: {
|
|
280
|
+
readonly description: "The last time this user logged in";
|
|
207
281
|
readonly type: "string";
|
|
208
282
|
readonly format: "date-time";
|
|
209
283
|
readonly nullable: true;
|
|
284
|
+
readonly example: "2023-06-30T11:42:00.345Z";
|
|
210
285
|
};
|
|
211
286
|
readonly createdAt: {
|
|
287
|
+
readonly description: "The user was created at this time";
|
|
212
288
|
readonly type: "string";
|
|
213
289
|
readonly format: "date-time";
|
|
290
|
+
readonly example: "2023-06-30T11:41:00.123Z";
|
|
214
291
|
};
|
|
215
292
|
readonly accountType: {
|
|
293
|
+
readonly description: "A user is either an actual User or a Service Account";
|
|
216
294
|
readonly type: "string";
|
|
217
295
|
readonly enum: readonly ["User", "Service Account"];
|
|
296
|
+
readonly example: "User";
|
|
297
|
+
};
|
|
298
|
+
readonly permissions: {
|
|
299
|
+
readonly description: "Deprecated";
|
|
300
|
+
readonly type: "array";
|
|
301
|
+
readonly items: {
|
|
302
|
+
readonly type: "string";
|
|
303
|
+
};
|
|
218
304
|
};
|
|
219
305
|
};
|
|
220
306
|
readonly components: {};
|
|
@@ -222,20 +308,30 @@ export declare const publicSignupTokensSchema: {
|
|
|
222
308
|
readonly roleSchema: {
|
|
223
309
|
readonly $id: "#/components/schemas/roleSchema";
|
|
224
310
|
readonly type: "object";
|
|
311
|
+
readonly description: "A role holds permissions to allow Unleash to decide what actions a role holder is allowed to perform";
|
|
225
312
|
readonly additionalProperties: false;
|
|
226
313
|
readonly required: readonly ["id", "type", "name"];
|
|
227
314
|
readonly properties: {
|
|
228
315
|
readonly id: {
|
|
229
|
-
readonly type: "
|
|
316
|
+
readonly type: "integer";
|
|
317
|
+
readonly description: "The role id";
|
|
318
|
+
readonly example: 9;
|
|
319
|
+
readonly minimum: 0;
|
|
230
320
|
};
|
|
231
321
|
readonly type: {
|
|
322
|
+
readonly description: "A role can either be a global root role (applies to all projects) or a project role";
|
|
232
323
|
readonly type: "string";
|
|
324
|
+
readonly example: "root";
|
|
233
325
|
};
|
|
234
326
|
readonly name: {
|
|
327
|
+
readonly description: "The name of the role";
|
|
235
328
|
readonly type: "string";
|
|
329
|
+
readonly example: "Editor";
|
|
236
330
|
};
|
|
237
331
|
readonly description: {
|
|
332
|
+
readonly description: "A more detailed description of the role and what use it's intended for";
|
|
238
333
|
readonly type: "string";
|
|
334
|
+
readonly example: "Users with the editor role have access to most features in Unleash but can not manage users and roles in the global scope. Editors will be added as project owners when creating projects and get superuser rights within the context of these projects. Users with the editor role will also get access to most permissions on the default project by default.";
|
|
239
335
|
};
|
|
240
336
|
};
|
|
241
337
|
readonly components: {};
|
|
@@ -39,7 +39,8 @@ export declare const pushVariantsSchema: {
|
|
|
39
39
|
readonly weightType: {
|
|
40
40
|
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";
|
|
41
41
|
readonly type: "string";
|
|
42
|
-
readonly example: "
|
|
42
|
+
readonly example: "variable";
|
|
43
|
+
readonly enum: readonly ["variable", "fix"];
|
|
43
44
|
};
|
|
44
45
|
readonly stickiness: {
|
|
45
46
|
readonly type: "string";
|
|
@@ -50,17 +51,21 @@ export declare const pushVariantsSchema: {
|
|
|
50
51
|
readonly type: "object";
|
|
51
52
|
readonly required: readonly ["type", "value"];
|
|
52
53
|
readonly description: "Extra data configured for this variant";
|
|
54
|
+
readonly additionalProperties: false;
|
|
53
55
|
readonly properties: {
|
|
54
56
|
readonly type: {
|
|
57
|
+
readonly description: "The type of the value. Commonly used types are string, json and csv.";
|
|
55
58
|
readonly type: "string";
|
|
59
|
+
readonly enum: readonly ["json", "csv", "string"];
|
|
56
60
|
};
|
|
57
61
|
readonly value: {
|
|
62
|
+
readonly description: "The actual value of payload";
|
|
58
63
|
readonly type: "string";
|
|
59
64
|
};
|
|
60
65
|
};
|
|
61
66
|
readonly example: {
|
|
62
67
|
readonly type: "json";
|
|
63
|
-
readonly value: "{color: red}";
|
|
68
|
+
readonly value: "{\"color\": \"red\"}";
|
|
64
69
|
};
|
|
65
70
|
};
|
|
66
71
|
readonly overrides: {
|
|
@@ -2,31 +2,44 @@ import { FromSchema } from 'json-schema-to-ts';
|
|
|
2
2
|
export declare const requestsPerSecondSchema: {
|
|
3
3
|
readonly $id: "#/components/schemas/requestsPerSecondSchema";
|
|
4
4
|
readonly type: "object";
|
|
5
|
+
readonly description: "Statistics for usage of Unleash, formatted so it can easily be used in a graph";
|
|
5
6
|
readonly properties: {
|
|
6
7
|
readonly status: {
|
|
7
8
|
readonly type: "string";
|
|
9
|
+
readonly description: "Whether the query against prometheus succeeded or failed";
|
|
10
|
+
readonly enum: readonly ["success", "failure"];
|
|
11
|
+
readonly example: "success";
|
|
8
12
|
};
|
|
9
13
|
readonly data: {
|
|
10
14
|
readonly type: "object";
|
|
15
|
+
readonly description: "The query result from prometheus";
|
|
11
16
|
readonly properties: {
|
|
12
17
|
readonly resultType: {
|
|
13
18
|
readonly type: "string";
|
|
19
|
+
readonly description: "Prometheus compatible result type.";
|
|
20
|
+
readonly enum: readonly ["matrix", "vector", "scalar", "string"];
|
|
21
|
+
readonly example: "vector";
|
|
14
22
|
};
|
|
15
23
|
readonly result: {
|
|
16
24
|
readonly description: "An array of values per metric. Each one represents a line in the graph labeled by its metric name";
|
|
17
25
|
readonly type: "array";
|
|
18
26
|
readonly items: {
|
|
19
27
|
readonly type: "object";
|
|
28
|
+
readonly description: "A representation of a single metric to build a line in a graph";
|
|
20
29
|
readonly properties: {
|
|
21
30
|
readonly metric: {
|
|
22
31
|
readonly description: "A key value set representing the metric";
|
|
23
32
|
readonly type: "object";
|
|
24
33
|
readonly properties: {
|
|
25
34
|
readonly appName: {
|
|
35
|
+
readonly description: "Name of the application this metric relates to";
|
|
26
36
|
readonly type: "string";
|
|
37
|
+
readonly example: "mySdk";
|
|
27
38
|
};
|
|
28
39
|
readonly endpoint: {
|
|
40
|
+
readonly description: "Which endpoint has been accessed";
|
|
29
41
|
readonly type: "string";
|
|
42
|
+
readonly example: "/api/frontend";
|
|
30
43
|
};
|
|
31
44
|
};
|
|
32
45
|
};
|
|
@@ -35,11 +48,14 @@ export declare const requestsPerSecondSchema: {
|
|
|
35
48
|
readonly type: "array";
|
|
36
49
|
readonly items: {
|
|
37
50
|
readonly type: "array";
|
|
51
|
+
readonly description: "Either the x axis represented as a number or the y axis represented as a string";
|
|
38
52
|
readonly items: {
|
|
39
53
|
readonly anyOf: readonly [{
|
|
40
54
|
readonly type: "string";
|
|
55
|
+
readonly description: "An identifier for the line in the graph";
|
|
41
56
|
}, {
|
|
42
57
|
readonly type: "number";
|
|
58
|
+
readonly description: "The number of requests at this point in time";
|
|
43
59
|
}];
|
|
44
60
|
};
|
|
45
61
|
};
|
|
@@ -4,31 +4,44 @@ exports.requestsPerSecondSchema = void 0;
|
|
|
4
4
|
exports.requestsPerSecondSchema = {
|
|
5
5
|
$id: '#/components/schemas/requestsPerSecondSchema',
|
|
6
6
|
type: 'object',
|
|
7
|
+
description: 'Statistics for usage of Unleash, formatted so it can easily be used in a graph',
|
|
7
8
|
properties: {
|
|
8
9
|
status: {
|
|
9
10
|
type: 'string',
|
|
11
|
+
description: 'Whether the query against prometheus succeeded or failed',
|
|
12
|
+
enum: ['success', 'failure'],
|
|
13
|
+
example: 'success',
|
|
10
14
|
},
|
|
11
15
|
data: {
|
|
12
16
|
type: 'object',
|
|
17
|
+
description: 'The query result from prometheus',
|
|
13
18
|
properties: {
|
|
14
19
|
resultType: {
|
|
15
20
|
type: 'string',
|
|
21
|
+
description: 'Prometheus compatible result type.',
|
|
22
|
+
enum: ['matrix', 'vector', 'scalar', 'string'],
|
|
23
|
+
example: 'vector',
|
|
16
24
|
},
|
|
17
25
|
result: {
|
|
18
26
|
description: 'An array of values per metric. Each one represents a line in the graph labeled by its metric name',
|
|
19
27
|
type: 'array',
|
|
20
28
|
items: {
|
|
21
29
|
type: 'object',
|
|
30
|
+
description: 'A representation of a single metric to build a line in a graph',
|
|
22
31
|
properties: {
|
|
23
32
|
metric: {
|
|
24
33
|
description: 'A key value set representing the metric',
|
|
25
34
|
type: 'object',
|
|
26
35
|
properties: {
|
|
27
36
|
appName: {
|
|
37
|
+
description: 'Name of the application this metric relates to',
|
|
28
38
|
type: 'string',
|
|
39
|
+
example: 'mySdk',
|
|
29
40
|
},
|
|
30
41
|
endpoint: {
|
|
42
|
+
description: 'Which endpoint has been accessed',
|
|
31
43
|
type: 'string',
|
|
44
|
+
example: '/api/frontend',
|
|
32
45
|
},
|
|
33
46
|
},
|
|
34
47
|
},
|
|
@@ -37,10 +50,17 @@ exports.requestsPerSecondSchema = {
|
|
|
37
50
|
type: 'array',
|
|
38
51
|
items: {
|
|
39
52
|
type: 'array',
|
|
53
|
+
description: 'Either the x axis represented as a number or the y axis represented as a string',
|
|
40
54
|
items: {
|
|
41
55
|
anyOf: [
|
|
42
|
-
{
|
|
43
|
-
|
|
56
|
+
{
|
|
57
|
+
type: 'string',
|
|
58
|
+
description: 'An identifier for the line in the graph',
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
type: 'number',
|
|
62
|
+
description: 'The number of requests at this point in time',
|
|
63
|
+
},
|
|
44
64
|
],
|
|
45
65
|
},
|
|
46
66
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"requests-per-second-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/requests-per-second-schema.ts"],"names":[],"mappings":";;;AAEa,QAAA,uBAAuB,GAAG;IACnC,GAAG,EAAE,8CAA8C;IACnD,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACR,MAAM,EAAE;YACJ,IAAI,EAAE,QAAQ;
|
|
1
|
+
{"version":3,"file":"requests-per-second-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/requests-per-second-schema.ts"],"names":[],"mappings":";;;AAEa,QAAA,uBAAuB,GAAG;IACnC,GAAG,EAAE,8CAA8C;IACnD,IAAI,EAAE,QAAQ;IACd,WAAW,EACP,gFAAgF;IACpF,UAAU,EAAE;QACR,MAAM,EAAE;YACJ,IAAI,EAAE,QAAQ;YACd,WAAW,EACP,0DAA0D;YAC9D,IAAI,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;YAC5B,OAAO,EAAE,SAAS;SACrB;QACD,IAAI,EAAE;YACF,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,kCAAkC;YAC/C,UAAU,EAAE;gBACR,UAAU,EAAE;oBACR,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,oCAAoC;oBACjD,IAAI,EAAE,CAAC,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,CAAC;oBAC9C,OAAO,EAAE,QAAQ;iBACpB;gBACD,MAAM,EAAE;oBACJ,WAAW,EACP,mGAAmG;oBACvG,IAAI,EAAE,OAAO;oBACb,KAAK,EAAE;wBACH,IAAI,EAAE,QAAQ;wBACd,WAAW,EACP,gEAAgE;wBACpE,UAAU,EAAE;4BACR,MAAM,EAAE;gCACJ,WAAW,EACP,yCAAyC;gCAC7C,IAAI,EAAE,QAAQ;gCACd,UAAU,EAAE;oCACR,OAAO,EAAE;wCACL,WAAW,EACP,gDAAgD;wCACpD,IAAI,EAAE,QAAQ;wCACd,OAAO,EAAE,OAAO;qCACnB;oCACD,QAAQ,EAAE;wCACN,WAAW,EACP,kCAAkC;wCACtC,IAAI,EAAE,QAAQ;wCACd,OAAO,EAAE,eAAe;qCAC3B;iCACJ;6BACJ;4BACD,MAAM,EAAE;gCACJ,WAAW,EACP,mNAAmN;gCACvN,IAAI,EAAE,OAAO;gCACb,KAAK,EAAE;oCACH,IAAI,EAAE,OAAO;oCACb,WAAW,EACP,iFAAiF;oCACrF,KAAK,EAAE;wCACH,KAAK,EAAE;4CACH;gDACI,IAAI,EAAE,QAAQ;gDACd,WAAW,EACP,yCAAyC;6CAChD;4CACD;gDACI,IAAI,EAAE,QAAQ;gDACd,WAAW,EACP,8CAA8C;6CACrD;yCACJ;qCACJ;iCACJ;6BACJ;yBACJ;qBACJ;iBACJ;aACJ;SACJ;KACJ;IACD,UAAU,EAAE,EAAE;CACR,CAAC"}
|
|
@@ -2,6 +2,7 @@ import { FromSchema } from 'json-schema-to-ts';
|
|
|
2
2
|
export declare const requestsPerSecondSegmentedSchema: {
|
|
3
3
|
readonly $id: "#/components/schemas/requestsPerSecondSegmentedSchema";
|
|
4
4
|
readonly type: "object";
|
|
5
|
+
readonly description: "Get usage metrics separated by client and admin paths";
|
|
5
6
|
readonly properties: {
|
|
6
7
|
readonly clientMetrics: {
|
|
7
8
|
readonly $ref: "#/components/schemas/requestsPerSecondSchema";
|
|
@@ -15,31 +16,44 @@ export declare const requestsPerSecondSegmentedSchema: {
|
|
|
15
16
|
readonly requestsPerSecondSchema: {
|
|
16
17
|
readonly $id: "#/components/schemas/requestsPerSecondSchema";
|
|
17
18
|
readonly type: "object";
|
|
19
|
+
readonly description: "Statistics for usage of Unleash, formatted so it can easily be used in a graph";
|
|
18
20
|
readonly properties: {
|
|
19
21
|
readonly status: {
|
|
20
22
|
readonly type: "string";
|
|
23
|
+
readonly description: "Whether the query against prometheus succeeded or failed";
|
|
24
|
+
readonly enum: readonly ["success", "failure"];
|
|
25
|
+
readonly example: "success";
|
|
21
26
|
};
|
|
22
27
|
readonly data: {
|
|
23
28
|
readonly type: "object";
|
|
29
|
+
readonly description: "The query result from prometheus";
|
|
24
30
|
readonly properties: {
|
|
25
31
|
readonly resultType: {
|
|
26
32
|
readonly type: "string";
|
|
33
|
+
readonly description: "Prometheus compatible result type.";
|
|
34
|
+
readonly enum: readonly ["matrix", "vector", "scalar", "string"];
|
|
35
|
+
readonly example: "vector";
|
|
27
36
|
};
|
|
28
37
|
readonly result: {
|
|
29
38
|
readonly description: "An array of values per metric. Each one represents a line in the graph labeled by its metric name";
|
|
30
39
|
readonly type: "array";
|
|
31
40
|
readonly items: {
|
|
32
41
|
readonly type: "object";
|
|
42
|
+
readonly description: "A representation of a single metric to build a line in a graph";
|
|
33
43
|
readonly properties: {
|
|
34
44
|
readonly metric: {
|
|
35
45
|
readonly description: "A key value set representing the metric";
|
|
36
46
|
readonly type: "object";
|
|
37
47
|
readonly properties: {
|
|
38
48
|
readonly appName: {
|
|
49
|
+
readonly description: "Name of the application this metric relates to";
|
|
39
50
|
readonly type: "string";
|
|
51
|
+
readonly example: "mySdk";
|
|
40
52
|
};
|
|
41
53
|
readonly endpoint: {
|
|
54
|
+
readonly description: "Which endpoint has been accessed";
|
|
42
55
|
readonly type: "string";
|
|
56
|
+
readonly example: "/api/frontend";
|
|
43
57
|
};
|
|
44
58
|
};
|
|
45
59
|
};
|
|
@@ -48,11 +62,14 @@ export declare const requestsPerSecondSegmentedSchema: {
|
|
|
48
62
|
readonly type: "array";
|
|
49
63
|
readonly items: {
|
|
50
64
|
readonly type: "array";
|
|
65
|
+
readonly description: "Either the x axis represented as a number or the y axis represented as a string";
|
|
51
66
|
readonly items: {
|
|
52
67
|
readonly anyOf: readonly [{
|
|
53
68
|
readonly type: "string";
|
|
69
|
+
readonly description: "An identifier for the line in the graph";
|
|
54
70
|
}, {
|
|
55
71
|
readonly type: "number";
|
|
72
|
+
readonly description: "The number of requests at this point in time";
|
|
56
73
|
}];
|
|
57
74
|
};
|
|
58
75
|
};
|
|
@@ -5,6 +5,7 @@ const requests_per_second_schema_1 = require("./requests-per-second-schema");
|
|
|
5
5
|
exports.requestsPerSecondSegmentedSchema = {
|
|
6
6
|
$id: '#/components/schemas/requestsPerSecondSegmentedSchema',
|
|
7
7
|
type: 'object',
|
|
8
|
+
description: 'Get usage metrics separated by client and admin paths',
|
|
8
9
|
properties: {
|
|
9
10
|
clientMetrics: {
|
|
10
11
|
$ref: '#/components/schemas/requestsPerSecondSchema',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"requests-per-second-segmented-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/requests-per-second-segmented-schema.ts"],"names":[],"mappings":";;;AACA,6EAAuE;AAC1D,QAAA,gCAAgC,GAAG;IAC5C,GAAG,EAAE,uDAAuD;IAC5D,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACR,aAAa,EAAE;YACX,IAAI,EAAE,8CAA8C;SACvD;QACD,YAAY,EAAE;YACV,IAAI,EAAE,8CAA8C;SACvD;KACJ;IACD,UAAU,EAAE;QACR,OAAO,EAAE;YACL,uBAAuB,EAAvB,oDAAuB;SAC1B;KACJ;CACK,CAAC"}
|
|
1
|
+
{"version":3,"file":"requests-per-second-segmented-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/requests-per-second-segmented-schema.ts"],"names":[],"mappings":";;;AACA,6EAAuE;AAC1D,QAAA,gCAAgC,GAAG;IAC5C,GAAG,EAAE,uDAAuD;IAC5D,IAAI,EAAE,QAAQ;IACd,WAAW,EAAE,uDAAuD;IACpE,UAAU,EAAE;QACR,aAAa,EAAE;YACX,IAAI,EAAE,8CAA8C;SACvD;QACD,YAAY,EAAE;YACV,IAAI,EAAE,8CAA8C;SACvD;KACJ;IACD,UAAU,EAAE;QACR,OAAO,EAAE;YACL,uBAAuB,EAAvB,oDAAuB;SAC1B;KACJ;CACK,CAAC"}
|
|
@@ -2,20 +2,30 @@ import { FromSchema } from 'json-schema-to-ts';
|
|
|
2
2
|
export declare const roleSchema: {
|
|
3
3
|
readonly $id: "#/components/schemas/roleSchema";
|
|
4
4
|
readonly type: "object";
|
|
5
|
+
readonly description: "A role holds permissions to allow Unleash to decide what actions a role holder is allowed to perform";
|
|
5
6
|
readonly additionalProperties: false;
|
|
6
7
|
readonly required: readonly ["id", "type", "name"];
|
|
7
8
|
readonly properties: {
|
|
8
9
|
readonly id: {
|
|
9
|
-
readonly type: "
|
|
10
|
+
readonly type: "integer";
|
|
11
|
+
readonly description: "The role id";
|
|
12
|
+
readonly example: 9;
|
|
13
|
+
readonly minimum: 0;
|
|
10
14
|
};
|
|
11
15
|
readonly type: {
|
|
16
|
+
readonly description: "A role can either be a global root role (applies to all projects) or a project role";
|
|
12
17
|
readonly type: "string";
|
|
18
|
+
readonly example: "root";
|
|
13
19
|
};
|
|
14
20
|
readonly name: {
|
|
21
|
+
readonly description: "The name of the role";
|
|
15
22
|
readonly type: "string";
|
|
23
|
+
readonly example: "Editor";
|
|
16
24
|
};
|
|
17
25
|
readonly description: {
|
|
26
|
+
readonly description: "A more detailed description of the role and what use it's intended for";
|
|
18
27
|
readonly type: "string";
|
|
28
|
+
readonly example: "Users with the editor role have access to most features in Unleash but can not manage users and roles in the global scope. Editors will be added as project owners when creating projects and get superuser rights within the context of these projects. Users with the editor role will also get access to most permissions on the default project by default.";
|
|
19
29
|
};
|
|
20
30
|
};
|
|
21
31
|
readonly components: {};
|
|
@@ -4,20 +4,30 @@ exports.roleSchema = void 0;
|
|
|
4
4
|
exports.roleSchema = {
|
|
5
5
|
$id: '#/components/schemas/roleSchema',
|
|
6
6
|
type: 'object',
|
|
7
|
+
description: 'A role holds permissions to allow Unleash to decide what actions a role holder is allowed to perform',
|
|
7
8
|
additionalProperties: false,
|
|
8
9
|
required: ['id', 'type', 'name'],
|
|
9
10
|
properties: {
|
|
10
11
|
id: {
|
|
11
|
-
type: '
|
|
12
|
+
type: 'integer',
|
|
13
|
+
description: 'The role id',
|
|
14
|
+
example: 9,
|
|
15
|
+
minimum: 0,
|
|
12
16
|
},
|
|
13
17
|
type: {
|
|
18
|
+
description: 'A role can either be a global root role (applies to all projects) or a project role',
|
|
14
19
|
type: 'string',
|
|
20
|
+
example: 'root',
|
|
15
21
|
},
|
|
16
22
|
name: {
|
|
23
|
+
description: `The name of the role`,
|
|
17
24
|
type: 'string',
|
|
25
|
+
example: 'Editor',
|
|
18
26
|
},
|
|
19
27
|
description: {
|
|
28
|
+
description: `A more detailed description of the role and what use it's intended for`,
|
|
20
29
|
type: 'string',
|
|
30
|
+
example: `Users with the editor role have access to most features in Unleash but can not manage users and roles in the global scope. Editors will be added as project owners when creating projects and get superuser rights within the context of these projects. Users with the editor role will also get access to most permissions on the default project by default.`,
|
|
21
31
|
},
|
|
22
32
|
},
|
|
23
33
|
components: {},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"role-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/role-schema.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG;IACtB,GAAG,EAAE,iCAAiC;IACtC,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC;IAChC,UAAU,EAAE;QACR,EAAE,EAAE;YACA,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"role-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/role-schema.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG;IACtB,GAAG,EAAE,iCAAiC;IACtC,IAAI,EAAE,QAAQ;IACd,WAAW,EACP,sGAAsG;IAC1G,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC;IAChC,UAAU,EAAE;QACR,EAAE,EAAE;YACA,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,aAAa;YAC1B,OAAO,EAAE,CAAC;YACV,OAAO,EAAE,CAAC;SACb;QACD,IAAI,EAAE;YACF,WAAW,EACP,qFAAqF;YACzF,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,MAAM;SAClB;QACD,IAAI,EAAE;YACF,WAAW,EAAE,sBAAsB;YACnC,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,QAAQ;SACpB;QACD,WAAW,EAAE;YACT,WAAW,EAAE,wEAAwE;YACrF,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,iWAAiW;SAC7W;KACJ;IACD,UAAU,EAAE,EAAE;CACR,CAAC"}
|
|
@@ -7,29 +7,38 @@ export declare const searchEventsSchema: {
|
|
|
7
7
|
readonly type: {
|
|
8
8
|
readonly type: "string";
|
|
9
9
|
readonly description: "Find events by event type (case-sensitive).";
|
|
10
|
+
readonly enum: readonly ["application-created", "feature-created", "feature-deleted", "feature-updated", "feature-metadata-updated", "feature-variants-updated", "feature-environment-variants-updated", "feature-project-change", "feature-archived", "feature-revived", "feature-import", "feature-tagged", "feature-tag-import", "feature-strategy-update", "feature-strategy-add", "feature-strategy-remove", "strategy-order-changed", "drop-feature-tags", "feature-untagged", "feature-stale-on", "feature-stale-off", "drop-features", "feature-environment-enabled", "feature-environment-disabled", "strategy-created", "strategy-deleted", "strategy-deprecated", "strategy-reactivated", "strategy-updated", "strategy-import", "drop-strategies", "context-field-created", "context-field-updated", "context-field-deleted", "project-access-added", "project-created", "project-updated", "project-deleted", "project-import", "project-user-added", "project-user-removed", "project-user-role-changed", "project-group-role-changed", "project-group-added", "project-group-removed", "drop-projects", "tag-created", "tag-deleted", "tag-import", "drop-tags", "tag-type-created", "tag-type-deleted", "tag-type-updated", "tag-type-import", "drop-tag-types", "addon-config-created", "addon-config-updated", "addon-config-deleted", "db-pool-update", "user-created", "user-updated", "user-deleted", "drop-environments", "environment-import", "segment-created", "segment-updated", "segment-deleted", "group-created", "group-updated", "setting-created", "setting-updated", "setting-deleted", "client-metrics", "client-register", "pat-created", "pat-deleted", "public-signup-token-created", "public-signup-token-user-added", "public-signup-token-updated", "change-request-created", "change-request-discarded", "change-added", "change-discarded", "change-edited", "change-request-approved", "change-request-approval-added", "change-request-cancelled", "change-request-sent-to-review", "change-request-applied", "api-token-created", "api-token-updated", "api-token-deleted", "feature-favorited", "feature-unfavorited", "project-favorited", "project-unfavorited", "features-exported", "features-imported", "service-account-created", "service-account-deleted", "service-account-updated", "feature-potentially-stale-on"];
|
|
11
|
+
readonly example: "feature-created";
|
|
10
12
|
};
|
|
11
13
|
readonly project: {
|
|
12
14
|
readonly type: "string";
|
|
13
15
|
readonly description: "Find events by project ID (case-sensitive).";
|
|
16
|
+
readonly example: "default";
|
|
14
17
|
};
|
|
15
18
|
readonly feature: {
|
|
16
19
|
readonly type: "string";
|
|
17
20
|
readonly description: "Find events by feature toggle name (case-sensitive).";
|
|
21
|
+
readonly example: "my.first.toggle";
|
|
18
22
|
};
|
|
19
23
|
readonly query: {
|
|
20
24
|
readonly type: "string";
|
|
21
25
|
readonly description: "\n Find events by a free-text search query.\n The query will be matched against the event type,\n the username or email that created the event (if any),\n and the event data payload (if any).\n ";
|
|
26
|
+
readonly example: "admin@example.com";
|
|
22
27
|
};
|
|
23
28
|
readonly limit: {
|
|
24
29
|
readonly type: "integer";
|
|
30
|
+
readonly description: "The maximum amount of events to return in the search result";
|
|
25
31
|
readonly minimum: 1;
|
|
26
32
|
readonly maximum: 100;
|
|
27
33
|
readonly default: 100;
|
|
34
|
+
readonly example: 50;
|
|
28
35
|
};
|
|
29
36
|
readonly offset: {
|
|
37
|
+
readonly description: "Which event id to start listing from";
|
|
30
38
|
readonly type: "integer";
|
|
31
39
|
readonly minimum: 0;
|
|
32
40
|
readonly default: 0;
|
|
41
|
+
readonly example: 100;
|
|
33
42
|
};
|
|
34
43
|
};
|
|
35
44
|
readonly components: {};
|