unleash-server 5.3.4 → 5.4.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/slack-app-definition.js +8 -0
- package/dist/lib/addons/slack-app-definition.js.map +1 -1
- package/dist/lib/addons/slack-app.d.ts +1 -4
- package/dist/lib/addons/slack-app.js +46 -68
- package/dist/lib/addons/slack-app.js.map +1 -1
- package/dist/lib/addons/slack-app.test.js +12 -66
- package/dist/lib/addons/slack-app.test.js.map +1 -1
- package/dist/lib/create-config.js +1 -0
- package/dist/lib/create-config.js.map +1 -1
- package/dist/lib/db/access-store.d.ts +3 -1
- package/dist/lib/db/access-store.js +53 -0
- package/dist/lib/db/access-store.js.map +1 -1
- package/dist/lib/db/client-applications-store.d.ts +3 -1
- package/dist/lib/db/client-applications-store.js +73 -6
- package/dist/lib/db/client-applications-store.js.map +1 -1
- package/dist/lib/db/feature-environment-store.js +3 -0
- package/dist/lib/db/feature-environment-store.js.map +1 -1
- package/dist/lib/db/feature-strategy-store.d.ts +1 -0
- package/dist/lib/db/feature-strategy-store.js +21 -3
- package/dist/lib/db/feature-strategy-store.js.map +1 -1
- package/dist/lib/db/feature-strategy-store.test.js +40 -0
- package/dist/lib/db/feature-strategy-store.test.js.map +1 -1
- package/dist/lib/db/feature-toggle-client-store.js +5 -3
- package/dist/lib/db/feature-toggle-client-store.js.map +1 -1
- package/dist/lib/db/feature-toggle-store.d.ts +6 -1
- package/dist/lib/db/feature-toggle-store.js +37 -9
- package/dist/lib/db/feature-toggle-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/role-store.d.ts +3 -0
- package/dist/lib/db/role-store.js +21 -4
- package/dist/lib/db/role-store.js.map +1 -1
- package/dist/lib/features/access/createAccessService.js +2 -2
- package/dist/lib/features/access/createAccessService.js.map +1 -1
- package/dist/lib/features/change-request-access-service/change-request-access-read-model.d.ts +1 -0
- package/dist/lib/features/change-request-access-service/fake-change-request-access-read-model.d.ts +1 -0
- package/dist/lib/features/change-request-access-service/fake-change-request-access-read-model.js +3 -0
- package/dist/lib/features/change-request-access-service/fake-change-request-access-read-model.js.map +1 -1
- package/dist/lib/features/change-request-access-service/sql-change-request-access-read-model.d.ts +1 -0
- package/dist/lib/features/change-request-access-service/sql-change-request-access-read-model.js +10 -1
- package/dist/lib/features/change-request-access-service/sql-change-request-access-read-model.js.map +1 -1
- package/dist/lib/features/export-import-toggles/export-import-permissions.e2e.test.js +4 -0
- package/dist/lib/features/export-import-toggles/export-import-permissions.e2e.test.js.map +1 -1
- package/dist/lib/features/export-import-toggles/export-import-service.d.ts +2 -1
- package/dist/lib/features/export-import-toggles/export-import-service.js +30 -16
- package/dist/lib/features/export-import-toggles/export-import-service.js.map +1 -1
- package/dist/lib/features/export-import-toggles/export-import.e2e.test.js +24 -4
- package/dist/lib/features/export-import-toggles/export-import.e2e.test.js.map +1 -1
- package/dist/lib/features/export-import-toggles/import-context-validation.js +1 -1
- package/dist/lib/features/export-import-toggles/import-context-validation.js.map +1 -1
- package/dist/lib/features/export-import-toggles/import-toggles-store-type.d.ts +1 -0
- package/dist/lib/features/export-import-toggles/import-toggles-store.d.ts +1 -0
- package/dist/lib/features/export-import-toggles/import-toggles-store.js +8 -0
- package/dist/lib/features/export-import-toggles/import-toggles-store.js.map +1 -1
- package/dist/lib/features/export-import-toggles/import-validation-messages.d.ts +1 -1
- package/dist/lib/features/export-import-toggles/import-validation-messages.js +7 -1
- package/dist/lib/features/export-import-toggles/import-validation-messages.js.map +1 -1
- package/dist/lib/features/feature-toggle/createFeatureToggleService.js +9 -12
- package/dist/lib/features/feature-toggle/createFeatureToggleService.js.map +1 -1
- package/dist/lib/features/index.d.ts +1 -0
- package/dist/lib/features/index.js +1 -0
- package/dist/lib/features/index.js.map +1 -1
- package/dist/lib/features/playground/advanced-playground.test.js +57 -6
- package/dist/lib/features/playground/advanced-playground.test.js.map +1 -1
- package/dist/lib/features/playground/generateObjectCombinations.d.ts +2 -2
- package/dist/lib/features/playground/generateObjectCombinations.js +4 -1
- package/dist/lib/features/playground/generateObjectCombinations.js.map +1 -1
- package/dist/lib/features/playground/generateObjectCombinations.test.js +7 -6
- package/dist/lib/features/playground/generateObjectCombinations.test.js.map +1 -1
- package/dist/lib/features/playground/playground.js +1 -1
- package/dist/lib/features/playground/playground.js.map +1 -1
- package/dist/lib/features/segment/createSegmentService.d.ts +5 -0
- package/dist/lib/features/segment/createSegmentService.js +32 -0
- package/dist/lib/features/segment/createSegmentService.js.map +1 -0
- package/dist/lib/metrics.js +12 -0
- package/dist/lib/metrics.js.map +1 -1
- package/dist/lib/metrics.test.js +1 -1
- package/dist/lib/metrics.test.js.map +1 -1
- package/dist/lib/middleware/response-time-metrics.js +1 -1
- package/dist/lib/middleware/response-time-metrics.js.map +1 -1
- package/dist/lib/openapi/index.js +3 -1
- package/dist/lib/openapi/index.js.map +1 -1
- package/dist/lib/openapi/meta-schema-rules.test.js +2 -41
- package/dist/lib/openapi/meta-schema-rules.test.js.map +1 -1
- package/dist/lib/openapi/spec/admin-features-query-schema.d.ts +1 -0
- package/dist/lib/openapi/spec/admin-features-query-schema.js +1 -0
- package/dist/lib/openapi/spec/admin-features-query-schema.js.map +1 -1
- package/dist/lib/openapi/spec/advanced-playground-environment-feature-schema.d.ts +4 -1
- package/dist/lib/openapi/spec/advanced-playground-feature-schema.d.ts +8 -2
- package/dist/lib/openapi/spec/advanced-playground-request-schema.d.ts +1 -1
- package/dist/lib/openapi/spec/advanced-playground-response-schema.d.ts +17 -5
- package/dist/lib/openapi/spec/application-schema.d.ts +33 -1
- package/dist/lib/openapi/spec/application-schema.js +12 -1
- package/dist/lib/openapi/spec/application-schema.js.map +1 -1
- package/dist/lib/openapi/spec/application-usage-schema.d.ts +25 -0
- package/dist/lib/openapi/spec/application-usage-schema.js +27 -0
- package/dist/lib/openapi/spec/application-usage-schema.js.map +1 -0
- package/dist/lib/openapi/spec/applications-schema.d.ts +57 -1
- package/dist/lib/openapi/spec/applications-schema.js +4 -1
- package/dist/lib/openapi/spec/applications-schema.js.map +1 -1
- package/dist/lib/openapi/spec/bulk-metrics-schema.d.ts +18 -4
- package/dist/lib/openapi/spec/bulk-registration-schema.d.ts +6 -1
- package/dist/lib/openapi/spec/client-metrics-env-schema.d.ts +6 -2
- package/dist/lib/openapi/spec/client-metrics-env-schema.js +0 -1
- package/dist/lib/openapi/spec/client-metrics-env-schema.js.map +1 -1
- package/dist/lib/openapi/spec/client-metrics-schema.d.ts +6 -1
- package/dist/lib/openapi/spec/create-application-schema.d.ts +0 -1
- package/dist/lib/openapi/spec/create-application-schema.js +0 -1
- package/dist/lib/openapi/spec/create-application-schema.js.map +1 -1
- package/dist/lib/openapi/spec/create-context-field-schema.d.ts +68 -0
- package/dist/lib/openapi/spec/create-context-field-schema.js +19 -0
- package/dist/lib/openapi/spec/create-context-field-schema.js.map +1 -0
- package/dist/lib/openapi/spec/create-feature-schema.d.ts +1 -0
- package/dist/lib/openapi/spec/create-feature-schema.js +1 -0
- package/dist/lib/openapi/spec/create-feature-schema.js.map +1 -1
- package/dist/lib/openapi/spec/create-feature-strategy-schema.d.ts +0 -1
- package/dist/lib/openapi/spec/create-group-schema.d.ts +0 -1
- package/dist/lib/openapi/spec/create-group-schema.js +0 -1
- package/dist/lib/openapi/spec/create-group-schema.js.map +1 -1
- package/dist/lib/openapi/spec/create-invited-user-schema.d.ts +9 -0
- package/dist/lib/openapi/spec/create-invited-user-schema.js +9 -0
- package/dist/lib/openapi/spec/create-invited-user-schema.js.map +1 -1
- package/dist/lib/openapi/spec/create-strategy-variant-schema.d.ts +0 -1
- package/dist/lib/openapi/spec/create-strategy-variant-schema.js +0 -1
- package/dist/lib/openapi/spec/create-strategy-variant-schema.js.map +1 -1
- package/dist/lib/openapi/spec/create-user-response-schema.d.ts +2 -1
- package/dist/lib/openapi/spec/create-user-response-schema.js +1 -1
- package/dist/lib/openapi/spec/create-user-response-schema.js.map +1 -1
- package/dist/lib/openapi/spec/date-schema.d.ts +6 -1
- package/dist/lib/openapi/spec/date-schema.js +14 -1
- package/dist/lib/openapi/spec/date-schema.js.map +1 -1
- package/dist/lib/openapi/spec/environment-project-schema.d.ts +0 -2
- package/dist/lib/openapi/spec/environments-project-schema.d.ts +0 -2
- package/dist/lib/openapi/spec/event-schema.d.ts +1 -3
- package/dist/lib/openapi/spec/event-schema.js +0 -1
- package/dist/lib/openapi/spec/event-schema.js.map +1 -1
- package/dist/lib/openapi/spec/events-schema.d.ts +1 -3
- package/dist/lib/openapi/spec/export-query-schema.d.ts +0 -1
- package/dist/lib/openapi/spec/export-query-schema.js +0 -1
- package/dist/lib/openapi/spec/export-query-schema.js.map +1 -1
- package/dist/lib/openapi/spec/export-result-schema.d.ts +17 -1
- package/dist/lib/openapi/spec/feature-environment-metrics-schema.d.ts +6 -1
- package/dist/lib/openapi/spec/feature-environment-schema.d.ts +7 -0
- package/dist/lib/openapi/spec/feature-environment-schema.js +7 -0
- package/dist/lib/openapi/spec/feature-environment-schema.js.map +1 -1
- package/dist/lib/openapi/spec/feature-events-schema.d.ts +1 -3
- package/dist/lib/openapi/spec/feature-metrics-schema.d.ts +12 -2
- package/dist/lib/openapi/spec/feature-schema.d.ts +9 -1
- package/dist/lib/openapi/spec/feature-schema.js +2 -1
- package/dist/lib/openapi/spec/feature-schema.js.map +1 -1
- package/dist/lib/openapi/spec/feature-strategy-segment-schema.d.ts +5 -0
- package/dist/lib/openapi/spec/feature-strategy-segment-schema.js +5 -0
- package/dist/lib/openapi/spec/feature-strategy-segment-schema.js.map +1 -1
- package/dist/lib/openapi/spec/feature-usage-schema.d.ts +12 -2
- package/dist/lib/openapi/spec/features-schema.d.ts +16 -1
- package/dist/lib/openapi/spec/group-schema.d.ts +10 -2
- package/dist/lib/openapi/spec/group-schema.js +6 -0
- package/dist/lib/openapi/spec/group-schema.js.map +1 -1
- package/dist/lib/openapi/spec/group-user-model-schema.d.ts +2 -1
- package/dist/lib/openapi/spec/groups-schema.d.ts +14 -4
- package/dist/lib/openapi/spec/health-overview-schema.d.ts +16 -5
- package/dist/lib/openapi/spec/health-report-schema.d.ts +16 -5
- package/dist/lib/openapi/spec/import-toggles-schema.d.ts +34 -2
- package/dist/lib/openapi/spec/index.d.ts +3 -1
- package/dist/lib/openapi/spec/index.js +3 -1
- package/dist/lib/openapi/spec/index.js.map +1 -1
- package/dist/lib/openapi/spec/maintenance-schema.d.ts +2 -0
- package/dist/lib/openapi/spec/maintenance-schema.js +2 -0
- package/dist/lib/openapi/spec/maintenance-schema.js.map +1 -1
- package/dist/lib/openapi/spec/me-schema.d.ts +2 -1
- package/dist/lib/openapi/spec/patch-schema.d.ts +12 -1
- package/dist/lib/openapi/spec/patch-schema.js +12 -1
- package/dist/lib/openapi/spec/patch-schema.js.map +1 -1
- package/dist/lib/openapi/spec/patches-schema.d.ts +12 -1
- package/dist/lib/openapi/spec/playground-feature-schema.d.ts +3 -0
- package/dist/lib/openapi/spec/playground-request-schema.d.ts +1 -1
- package/dist/lib/openapi/spec/playground-response-schema.d.ts +8 -2
- package/dist/lib/openapi/spec/playground-segment-schema.d.ts +1 -0
- package/dist/lib/openapi/spec/playground-segment-schema.js +1 -0
- package/dist/lib/openapi/spec/playground-segment-schema.js.map +1 -1
- package/dist/lib/openapi/spec/playground-strategy-schema.d.ts +2 -0
- package/dist/lib/openapi/spec/playground-strategy-schema.js +1 -0
- package/dist/lib/openapi/spec/playground-strategy-schema.js.map +1 -1
- package/dist/lib/openapi/spec/profile-schema.d.ts +9 -1
- package/dist/lib/openapi/spec/project-environment-schema.d.ts +0 -2
- package/dist/lib/openapi/spec/project-overview-schema.d.ts +20 -6
- package/dist/lib/openapi/spec/project-overview-schema.js +4 -1
- package/dist/lib/openapi/spec/project-overview-schema.js.map +1 -1
- package/dist/lib/openapi/spec/project-schema.d.ts +4 -0
- package/dist/lib/openapi/spec/project-schema.js +4 -0
- package/dist/lib/openapi/spec/project-schema.js.map +1 -1
- package/dist/lib/openapi/spec/projects-schema.d.ts +6 -0
- package/dist/lib/openapi/spec/projects-schema.js +2 -0
- package/dist/lib/openapi/spec/projects-schema.js.map +1 -1
- package/dist/lib/openapi/spec/public-signup-token-schema.d.ts +3 -1
- package/dist/lib/openapi/spec/public-signup-token-schema.js +1 -0
- package/dist/lib/openapi/spec/public-signup-token-schema.js.map +1 -1
- package/dist/lib/openapi/spec/public-signup-tokens-schema.d.ts +5 -2
- package/dist/lib/openapi/spec/push-variants-schema.d.ts +3 -0
- package/dist/lib/openapi/spec/push-variants-schema.js +3 -0
- package/dist/lib/openapi/spec/push-variants-schema.js.map +1 -1
- package/dist/lib/openapi/spec/reset-password-schema.d.ts +4 -0
- package/dist/lib/openapi/spec/reset-password-schema.js +4 -0
- package/dist/lib/openapi/spec/reset-password-schema.js.map +1 -1
- package/dist/lib/openapi/spec/sdk-context-schema.d.ts +1 -1
- package/dist/lib/openapi/spec/sdk-context-schema.js +1 -1
- package/dist/lib/openapi/spec/sdk-context-schema.js.map +1 -1
- package/dist/lib/openapi/spec/search-events-schema.d.ts +2 -2
- package/dist/lib/openapi/spec/search-events-schema.js +1 -6
- package/dist/lib/openapi/spec/search-events-schema.js.map +1 -1
- package/dist/lib/openapi/spec/sort-order-schema.d.ts +4 -1
- package/dist/lib/openapi/spec/sort-order-schema.js +4 -1
- package/dist/lib/openapi/spec/sort-order-schema.js.map +1 -1
- package/dist/lib/openapi/spec/state-schema.d.ts +39 -3
- package/dist/lib/openapi/spec/state-schema.js +14 -2
- package/dist/lib/openapi/spec/state-schema.js.map +1 -1
- package/dist/lib/openapi/spec/toggle-maintenance-schema.d.ts +2 -0
- package/dist/lib/openapi/spec/toggle-maintenance-schema.js +2 -0
- package/dist/lib/openapi/spec/toggle-maintenance-schema.js.map +1 -1
- package/dist/lib/openapi/spec/token-string-list-schema.d.ts +0 -1
- package/dist/lib/openapi/spec/token-string-list-schema.js +0 -1
- package/dist/lib/openapi/spec/token-string-list-schema.js.map +1 -1
- package/dist/lib/openapi/spec/token-user-schema.d.ts +1 -1
- package/dist/lib/openapi/spec/token-user-schema.js +1 -1
- package/dist/lib/openapi/spec/token-user-schema.js.map +1 -1
- package/dist/lib/openapi/spec/{upsert-context-field-schema.d.ts → update-context-field-schema.d.ts} +19 -8
- package/dist/lib/openapi/spec/update-context-field-schema.js +44 -0
- package/dist/lib/openapi/spec/update-context-field-schema.js.map +1 -0
- package/dist/lib/openapi/spec/update-user-schema.d.ts +0 -1
- package/dist/lib/openapi/spec/update-user-schema.js +0 -1
- package/dist/lib/openapi/spec/update-user-schema.js.map +1 -1
- package/dist/lib/openapi/spec/user-schema.d.ts +2 -1
- package/dist/lib/openapi/spec/user-schema.js +2 -1
- package/dist/lib/openapi/spec/user-schema.js.map +1 -1
- package/dist/lib/openapi/spec/users-groups-base-schema.d.ts +33 -4
- package/dist/lib/openapi/spec/users-groups-base-schema.js +24 -0
- package/dist/lib/openapi/spec/users-groups-base-schema.js.map +1 -1
- package/dist/lib/openapi/spec/users-schema.d.ts +3 -2
- package/dist/lib/openapi/spec/users-schema.js +1 -1
- package/dist/lib/openapi/spec/users-schema.js.map +1 -1
- package/dist/lib/openapi/spec/users-search-schema.d.ts +3 -1
- package/dist/lib/openapi/spec/users-search-schema.js +1 -0
- package/dist/lib/openapi/spec/users-search-schema.js.map +1 -1
- package/dist/lib/openapi/spec/variants-schema.d.ts +1 -0
- package/dist/lib/openapi/spec/variants-schema.js +1 -0
- package/dist/lib/openapi/spec/variants-schema.js.map +1 -1
- package/dist/lib/openapi/util/openapi-tags.d.ts +18 -0
- package/dist/lib/openapi/util/openapi-tags.js +12 -0
- package/dist/lib/openapi/util/openapi-tags.js.map +1 -1
- package/dist/lib/routes/admin-api/api-token.d.ts +5 -0
- package/dist/lib/routes/admin-api/api-token.js +28 -0
- package/dist/lib/routes/admin-api/api-token.js.map +1 -1
- package/dist/lib/routes/admin-api/archive.js +4 -0
- package/dist/lib/routes/admin-api/archive.js.map +1 -1
- package/dist/lib/routes/admin-api/client-metrics.js +2 -1
- package/dist/lib/routes/admin-api/client-metrics.js.map +1 -1
- package/dist/lib/routes/admin-api/context.d.ts +4 -3
- package/dist/lib/routes/admin-api/context.js +3 -4
- package/dist/lib/routes/admin-api/context.js.map +1 -1
- package/dist/lib/routes/admin-api/feature-type.js +2 -2
- package/dist/lib/routes/admin-api/feature-type.js.map +1 -1
- package/dist/lib/routes/admin-api/instance-admin.js +2 -0
- package/dist/lib/routes/admin-api/instance-admin.js.map +1 -1
- package/dist/lib/routes/admin-api/maintenance.d.ts +2 -1
- package/dist/lib/routes/admin-api/maintenance.js.map +1 -1
- package/dist/lib/routes/admin-api/project/environments.js +1 -0
- package/dist/lib/routes/admin-api/project/environments.js.map +1 -1
- package/dist/lib/routes/admin-api/project/project-features.js +2 -1
- package/dist/lib/routes/admin-api/project/project-features.js.map +1 -1
- package/dist/lib/routes/admin-api/public-signup.js +2 -1
- package/dist/lib/routes/admin-api/public-signup.js.map +1 -1
- package/dist/lib/routes/admin-api/strategy.d.ts +1 -1
- package/dist/lib/routes/admin-api/strategy.js +2 -2
- package/dist/lib/routes/admin-api/strategy.js.map +1 -1
- package/dist/lib/routes/admin-api/tag-type.js +2 -2
- package/dist/lib/routes/admin-api/tag-type.js.map +1 -1
- package/dist/lib/routes/admin-api/user-admin.js +2 -1
- package/dist/lib/routes/admin-api/user-admin.js.map +1 -1
- package/dist/lib/routes/client-api/register.d.ts +1 -0
- package/dist/lib/routes/client-api/register.js +8 -0
- package/dist/lib/routes/client-api/register.js.map +1 -1
- package/dist/lib/routes/index.js +1 -0
- package/dist/lib/routes/index.js.map +1 -1
- package/dist/lib/routes/public-invite.js +2 -1
- package/dist/lib/routes/public-invite.js.map +1 -1
- package/dist/lib/segments/segment-service-interface.d.ts +2 -0
- package/dist/lib/server-impl.js +3 -1
- package/dist/lib/server-impl.js.map +1 -1
- package/dist/lib/services/access-service.d.ts +6 -3
- package/dist/lib/services/access-service.js +17 -5
- package/dist/lib/services/access-service.js.map +1 -1
- package/dist/lib/services/access-service.test.js +49 -3
- package/dist/lib/services/access-service.test.js.map +1 -1
- package/dist/lib/services/client-metrics/instance-service.js +5 -7
- package/dist/lib/services/client-metrics/instance-service.js.map +1 -1
- package/dist/lib/services/client-metrics/last-seen-service.d.ts +4 -0
- package/dist/lib/services/client-metrics/last-seen-service.js +4 -1
- package/dist/lib/services/client-metrics/last-seen-service.js.map +1 -1
- package/dist/lib/services/client-metrics/models.d.ts +2 -0
- package/dist/lib/services/client-metrics/schema.js +1 -0
- package/dist/lib/services/client-metrics/schema.js.map +1 -1
- package/dist/lib/services/feature-service-potentially-stale.test.js +0 -1
- package/dist/lib/services/feature-service-potentially-stale.test.js.map +1 -1
- package/dist/lib/services/feature-toggle-service.js +20 -30
- package/dist/lib/services/feature-toggle-service.js.map +1 -1
- package/dist/lib/services/index.js +1 -1
- package/dist/lib/services/index.js.map +1 -1
- package/dist/lib/services/instance-stats-service.d.ts +2 -0
- package/dist/lib/services/instance-stats-service.js +6 -1
- package/dist/lib/services/instance-stats-service.js.map +1 -1
- package/dist/lib/services/maintenance-service.js +1 -1
- package/dist/lib/services/maintenance-service.js.map +1 -1
- package/dist/lib/services/maintenance-service.test.js +1 -1
- package/dist/lib/services/maintenance-service.test.js.map +1 -1
- package/dist/lib/services/project-service.d.ts +2 -1
- package/dist/lib/services/project-service.js +3 -0
- package/dist/lib/services/project-service.js.map +1 -1
- package/dist/lib/services/segment-service.d.ts +8 -2
- package/dist/lib/services/segment-service.js +34 -3
- package/dist/lib/services/segment-service.js.map +1 -1
- package/dist/lib/services/user-service.js +3 -3
- package/dist/lib/services/user-service.js.map +1 -1
- package/dist/lib/services/version-service.d.ts +1 -0
- package/dist/lib/services/version-service.js +8 -1
- package/dist/lib/services/version-service.js.map +1 -1
- package/dist/lib/types/events.d.ts +2 -1
- package/dist/lib/types/events.js +4 -2
- package/dist/lib/types/events.js.map +1 -1
- package/dist/lib/types/experimental.d.ts +1 -1
- package/dist/lib/types/experimental.js +6 -5
- package/dist/lib/types/experimental.js.map +1 -1
- package/dist/lib/types/model.d.ts +2 -0
- package/dist/lib/types/model.js.map +1 -1
- package/dist/lib/types/option.d.ts +2 -0
- package/dist/lib/types/project.d.ts +7 -0
- package/dist/lib/types/stores/access-store.d.ts +9 -0
- package/dist/lib/types/stores/client-applications-store.d.ts +5 -0
- package/dist/lib/types/stores/context-field-store.d.ts +3 -3
- package/dist/lib/types/stores/feature-toggle-store.d.ts +2 -1
- package/dist/lib/types/stores/role-store.d.ts +3 -0
- package/dist/migrations/20230802092725-add-last-seen-column-to-feature-environments.d.ts +2 -0
- package/dist/migrations/20230802092725-add-last-seen-column-to-feature-environments.js +84 -0
- package/dist/migrations/20230802092725-add-last-seen-column-to-feature-environments.js.map +1 -0
- package/dist/migrations/20230802141830-add-feature-and-environment-last-seen-at-to-features-view.d.ts +2 -0
- package/dist/migrations/20230802141830-add-feature-and-environment-last-seen-at-to-features-view.js +83 -0
- package/dist/migrations/20230802141830-add-feature-and-environment-last-seen-at-to-features-view.js.map +1 -0
- package/dist/migrations/20230803061359-change-request-optional-feature.d.ts +2 -0
- package/dist/migrations/20230803061359-change-request-optional-feature.js +13 -0
- package/dist/migrations/20230803061359-change-request-optional-feature.js.map +1 -0
- package/dist/migrations/20230808104232-update-root-roles-descriptions.d.ts +2 -0
- package/dist/migrations/20230808104232-update-root-roles-descriptions.js +15 -0
- package/dist/migrations/20230808104232-update-root-roles-descriptions.js.map +1 -0
- package/dist/migrations/20230814095253-change-request-rejections.d.ts +2 -0
- package/dist/migrations/20230814095253-change-request-rejections.js +18 -0
- package/dist/migrations/20230814095253-change-request-rejections.js.map +1 -0
- package/dist/migrations/20230814115436-change-request-timzone-timestamps.d.ts +2 -0
- package/dist/migrations/20230814115436-change-request-timzone-timestamps.js +15 -0
- package/dist/migrations/20230814115436-change-request-timzone-timestamps.js.map +1 -0
- package/dist/migrations/20230815065908-change-request-approve-reject-permission.d.ts +2 -0
- package/dist/migrations/20230815065908-change-request-approve-reject-permission.js +12 -0
- package/dist/migrations/20230815065908-change-request-approve-reject-permission.js.map +1 -0
- package/dist/migrations/20230817095805-client-applications-usage-table.d.ts +2 -0
- package/dist/migrations/20230817095805-client-applications-usage-table.js +17 -0
- package/dist/migrations/20230817095805-client-applications-usage-table.js.map +1 -0
- package/dist/migrations/20230818124614-update-client-applications-usage-table.d.ts +2 -0
- package/dist/migrations/20230818124614-update-client-applications-usage-table.js +25 -0
- package/dist/migrations/20230818124614-update-client-applications-usage-table.js.map +1 -0
- package/dist/server-dev.js +3 -2
- package/dist/server-dev.js.map +1 -1
- package/dist/test/config/test-config.js +1 -0
- package/dist/test/config/test-config.js.map +1 -1
- package/dist/test/e2e/api/admin/api-token.auth.e2e.test.js +12 -84
- package/dist/test/e2e/api/admin/api-token.auth.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/admin/api-token.e2e.test.js +10 -2
- package/dist/test/e2e/api/admin/api-token.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/admin/metrics.e2e.test.js +30 -4
- package/dist/test/e2e/api/admin/metrics.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/admin/project/features.e2e.test.js +14 -15
- package/dist/test/e2e/api/admin/project/features.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/client/metricsV2.e2e.test.js +19 -5
- package/dist/test/e2e/api/client/metricsV2.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/openapi/openapi.e2e.test.js +23 -0
- package/dist/test/e2e/api/openapi/openapi.e2e.test.js.map +1 -1
- package/dist/test/e2e/helpers/test-helper.js +11 -1
- package/dist/test/e2e/helpers/test-helper.js.map +1 -1
- package/dist/test/e2e/services/access-service.e2e.test.js +2 -2
- package/dist/test/e2e/services/access-service.e2e.test.js.map +1 -1
- package/dist/test/e2e/services/api-token-service.e2e.test.js +1 -1
- package/dist/test/e2e/services/api-token-service.e2e.test.js.map +1 -1
- package/dist/test/e2e/services/environment-service.test.js +2 -0
- package/dist/test/e2e/services/environment-service.test.js.map +1 -1
- package/dist/test/e2e/services/feature-toggle-service-v2.e2e.test.js +1 -1
- package/dist/test/e2e/services/feature-toggle-service-v2.e2e.test.js.map +1 -1
- package/dist/test/e2e/services/playground-service.test.js +1 -1
- package/dist/test/e2e/services/playground-service.test.js.map +1 -1
- package/dist/test/e2e/services/project-health-service.e2e.test.js +1 -1
- package/dist/test/e2e/services/project-health-service.e2e.test.js.map +1 -1
- package/dist/test/e2e/services/project-service.e2e.test.js +1 -1
- package/dist/test/e2e/services/project-service.e2e.test.js.map +1 -1
- package/dist/test/e2e/services/user-service.e2e.test.js +10 -0
- package/dist/test/e2e/services/user-service.e2e.test.js.map +1 -1
- package/dist/test/fixtures/access-service-mock.js +1 -0
- package/dist/test/fixtures/access-service-mock.js.map +1 -1
- package/dist/test/fixtures/fake-access-store.d.ts +3 -1
- package/dist/test/fixtures/fake-access-store.js +6 -0
- package/dist/test/fixtures/fake-access-store.js.map +1 -1
- package/dist/test/fixtures/fake-feature-toggle-store.d.ts +2 -1
- package/dist/test/fixtures/fake-feature-toggle-store.js +19 -6
- package/dist/test/fixtures/fake-feature-toggle-store.js.map +1 -1
- package/dist/test/fixtures/fake-project-store.d.ts +1 -1
- package/dist/test/fixtures/fake-role-store.d.ts +3 -0
- package/dist/test/fixtures/fake-role-store.js +6 -0
- package/dist/test/fixtures/fake-role-store.js.map +1 -1
- package/frontend/build/index.html +2 -2
- package/frontend/build/static/{AdvancedPlayground-48dddbf4.js → AdvancedPlayground-2d715a2c.js} +3 -3
- package/frontend/build/static/{CreateProject-c1b0f704.js → CreateProject-5b1090c2.js} +1 -1
- package/frontend/build/static/{Error-e6f7c2ee.js → Error-e44ea66b.js} +1 -1
- package/frontend/build/static/FeatureArchiveDialog-b47b18e8.js +10 -0
- package/frontend/build/static/{FeatureMetricsChart-81da0ce4.js → FeatureMetricsChart-36caeeb7.js} +2 -2
- package/frontend/build/static/FeatureViewLazyExport-49d56afd.js +7 -0
- package/frontend/build/static/LazyAdminExport-87c9ab51.js +35 -0
- package/frontend/build/static/LazyProjectExport-c4634b2a.js +17 -0
- package/frontend/build/static/{NetworkOverview-cd06e59f.js → NetworkOverview-c762698b.js} +64 -64
- package/frontend/build/static/{NetworkTraffic-ba933617.js → NetworkTraffic-c8d9eb9b.js} +1 -1
- package/frontend/build/static/RoleCell-d1aa8288.js +1 -0
- package/frontend/build/static/{StrategyItemContainer-88c18285.js → StrategyItemContainer-c7c352a4.js} +1 -1
- package/frontend/build/static/changeRequestProcess-f2469ef4.svg +61 -0
- package/frontend/build/static/{chartjs-adapter-date-fns.esm-799be047.js → chartjs-adapter-date-fns.esm-9c67372b.js} +6 -6
- package/frontend/build/static/{flowchart-elk-definition-170a3958-543f0844.js → flowchart-elk-definition-170a3958-5ea9fc56.js} +1 -1
- package/frontend/build/static/{index-88f1c682.js → index-1aaa8c27.js} +1 -1
- package/frontend/build/static/{index-aa638b65.js → index-670c9345.js} +1 -1
- package/frontend/build/static/index-b7003840.js +454 -0
- package/frontend/build/static/{is_dark-735e3a95.js → is_dark-b445e102.js} +1 -1
- package/frontend/build/static/{mindmap-definition-44684416-ac92f950.js → mindmap-definition-44684416-254e936e.js} +1 -1
- package/frontend/build/static/pro-enterprise-feature-badge-8ac467c3.svg +7 -0
- package/frontend/build/static/pro-enterprise-feature-badge-light-81a18f9b.svg +6 -0
- package/frontend/build/static/{timeline-definition-8e5a9bc6-6c09f608.js → timeline-definition-8e5a9bc6-24fd1725.js} +1 -1
- package/frontend/build/static/{unknownify-0b176a78.js → unknownify-ea4585e8.js} +1 -1
- package/frontend/build/static/usage-line-00d00632.svg +3 -0
- package/frontend/build/static/usage-rate-cb18f02b.svg +3 -0
- package/frontend/package.json +13 -13
- package/package.json +12 -13
- package/dist/lib/openapi/spec/upsert-context-field-schema.js +0 -35
- package/dist/lib/openapi/spec/upsert-context-field-schema.js.map +0 -1
- package/frontend/build/static/FeatureArchiveDialog-9ad60db1.js +0 -10
- package/frontend/build/static/FeatureViewLazyExport-58a3e977.js +0 -7
- package/frontend/build/static/LazyAdminExport-c98b11d7.js +0 -37
- package/frontend/build/static/LazyProjectExport-14db2e37.js +0 -16
- package/frontend/build/static/RoleCell-c534790e.js +0 -1
- package/frontend/build/static/changeRequestProcess-a532ab60.svg +0 -1
- package/frontend/build/static/index-1c4c68c3.js +0 -453
- package/frontend/build/static/pro-enterprise-feature-badge-8fab99c5.svg +0 -5
- package/frontend/build/static/pro-enterprise-feature-badge-light-0227af08.svg +0 -1
- /package/frontend/build/static/{index-770afaee.css → style-770afaee.css} +0 -0
|
@@ -95,11 +95,16 @@ export declare const featureUsageSchema: {
|
|
|
95
95
|
readonly components: {
|
|
96
96
|
readonly dateSchema: {
|
|
97
97
|
readonly $id: "#/components/schemas/dateSchema";
|
|
98
|
+
readonly description: "A representation of a date. Either as a date-time string or as a UNIX timestamp.";
|
|
98
99
|
readonly oneOf: readonly [{
|
|
99
100
|
readonly type: "string";
|
|
100
101
|
readonly format: "date-time";
|
|
102
|
+
readonly description: "An [RFC-3339](https://www.rfc-editor.org/rfc/rfc3339.html)-compliant timestamp.";
|
|
103
|
+
readonly example: "2023-07-27T11:23:44Z";
|
|
101
104
|
}, {
|
|
102
|
-
readonly type: "
|
|
105
|
+
readonly type: "integer";
|
|
106
|
+
readonly description: "A [UNIX timestamp](https://en.wikipedia.org/wiki/Unix_time).";
|
|
107
|
+
readonly example: 1690449593;
|
|
103
108
|
}];
|
|
104
109
|
readonly components: {};
|
|
105
110
|
};
|
|
@@ -107,11 +112,16 @@ export declare const featureUsageSchema: {
|
|
|
107
112
|
};
|
|
108
113
|
readonly dateSchema: {
|
|
109
114
|
readonly $id: "#/components/schemas/dateSchema";
|
|
115
|
+
readonly description: "A representation of a date. Either as a date-time string or as a UNIX timestamp.";
|
|
110
116
|
readonly oneOf: readonly [{
|
|
111
117
|
readonly type: "string";
|
|
112
118
|
readonly format: "date-time";
|
|
119
|
+
readonly description: "An [RFC-3339](https://www.rfc-editor.org/rfc/rfc3339.html)-compliant timestamp.";
|
|
120
|
+
readonly example: "2023-07-27T11:23:44Z";
|
|
113
121
|
}, {
|
|
114
|
-
readonly type: "
|
|
122
|
+
readonly type: "integer";
|
|
123
|
+
readonly description: "A [UNIX timestamp](https://en.wikipedia.org/wiki/Unix_time).";
|
|
124
|
+
readonly example: 1690449593;
|
|
115
125
|
}];
|
|
116
126
|
readonly components: {};
|
|
117
127
|
};
|
|
@@ -192,8 +192,9 @@ export declare const featuresSchema: {
|
|
|
192
192
|
readonly type: "string";
|
|
193
193
|
readonly format: "date-time";
|
|
194
194
|
readonly nullable: true;
|
|
195
|
+
readonly deprecated: true;
|
|
195
196
|
readonly example: "2023-01-28T16:21:39.975Z";
|
|
196
|
-
readonly description: "The date when metrics where last collected for the feature";
|
|
197
|
+
readonly description: "The date when metrics where last collected for the feature. This field is deprecated, use the one in featureEnvironmentSchema";
|
|
197
198
|
};
|
|
198
199
|
readonly environments: {
|
|
199
200
|
readonly type: "array";
|
|
@@ -328,6 +329,13 @@ export declare const featuresSchema: {
|
|
|
328
329
|
};
|
|
329
330
|
readonly description: "A list of variants for the feature environment";
|
|
330
331
|
};
|
|
332
|
+
readonly lastSeenAt: {
|
|
333
|
+
readonly type: "string";
|
|
334
|
+
readonly format: "date-time";
|
|
335
|
+
readonly nullable: true;
|
|
336
|
+
readonly example: "2023-01-28T16:21:39.975Z";
|
|
337
|
+
readonly description: "The date when metrics where last collected for the feature environment";
|
|
338
|
+
};
|
|
331
339
|
};
|
|
332
340
|
readonly components: {
|
|
333
341
|
readonly schemas: {
|
|
@@ -1151,6 +1159,13 @@ export declare const featuresSchema: {
|
|
|
1151
1159
|
};
|
|
1152
1160
|
readonly description: "A list of variants for the feature environment";
|
|
1153
1161
|
};
|
|
1162
|
+
readonly lastSeenAt: {
|
|
1163
|
+
readonly type: "string";
|
|
1164
|
+
readonly format: "date-time";
|
|
1165
|
+
readonly nullable: true;
|
|
1166
|
+
readonly example: "2023-01-28T16:21:39.975Z";
|
|
1167
|
+
readonly description: "The date when metrics where last collected for the feature environment";
|
|
1168
|
+
};
|
|
1154
1169
|
};
|
|
1155
1170
|
readonly components: {
|
|
1156
1171
|
readonly schemas: {
|
|
@@ -64,6 +64,12 @@ export declare const groupSchema: {
|
|
|
64
64
|
};
|
|
65
65
|
readonly example: readonly ["default", "my-project"];
|
|
66
66
|
};
|
|
67
|
+
readonly userCount: {
|
|
68
|
+
readonly description: "The number of users that belong to this group";
|
|
69
|
+
readonly example: 1;
|
|
70
|
+
readonly type: "integer";
|
|
71
|
+
readonly minimum: 0;
|
|
72
|
+
};
|
|
67
73
|
};
|
|
68
74
|
readonly components: {
|
|
69
75
|
readonly schemas: {
|
|
@@ -115,6 +121,7 @@ export declare const groupSchema: {
|
|
|
115
121
|
readonly description: "Name of the user";
|
|
116
122
|
readonly type: "string";
|
|
117
123
|
readonly example: "User";
|
|
124
|
+
readonly nullable: true;
|
|
118
125
|
};
|
|
119
126
|
readonly email: {
|
|
120
127
|
readonly description: "Email of the user";
|
|
@@ -148,7 +155,7 @@ export declare const groupSchema: {
|
|
|
148
155
|
readonly example: false;
|
|
149
156
|
};
|
|
150
157
|
readonly rootRole: {
|
|
151
|
-
readonly description: "Which [root role](https://docs.getunleash.io/reference/rbac#
|
|
158
|
+
readonly description: "Which [root role](https://docs.getunleash.io/reference/rbac#predefined-roles) this user is assigned";
|
|
152
159
|
readonly type: "integer";
|
|
153
160
|
readonly example: 1;
|
|
154
161
|
readonly minimum: 0;
|
|
@@ -208,6 +215,7 @@ export declare const groupSchema: {
|
|
|
208
215
|
readonly description: "Name of the user";
|
|
209
216
|
readonly type: "string";
|
|
210
217
|
readonly example: "User";
|
|
218
|
+
readonly nullable: true;
|
|
211
219
|
};
|
|
212
220
|
readonly email: {
|
|
213
221
|
readonly description: "Email of the user";
|
|
@@ -241,7 +249,7 @@ export declare const groupSchema: {
|
|
|
241
249
|
readonly example: false;
|
|
242
250
|
};
|
|
243
251
|
readonly rootRole: {
|
|
244
|
-
readonly description: "Which [root role](https://docs.getunleash.io/reference/rbac#
|
|
252
|
+
readonly description: "Which [root role](https://docs.getunleash.io/reference/rbac#predefined-roles) this user is assigned";
|
|
245
253
|
readonly type: "integer";
|
|
246
254
|
readonly example: 1;
|
|
247
255
|
readonly minimum: 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/group-schema.ts"],"names":[],"mappings":";;;AACA,uEAAiE;AACjE,+CAA2C;AAE9B,QAAA,WAAW,GAAG;IACvB,GAAG,EAAE,kCAAkC;IACvC,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,MAAM,CAAC;IAClB,WAAW,EAAE,2CAA2C;IACxD,UAAU,EAAE;QACR,EAAE,EAAE;YACA,WAAW,EAAE,cAAc;YAC3B,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,CAAC;SACb;QACD,IAAI,EAAE;YACF,WAAW,EAAE,uBAAuB;YACpC,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,SAAS;SACrB;QACD,WAAW,EAAE;YACT,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,iCAAiC;SAC7C;QACD,WAAW,EAAE;YACT,WAAW,EACP,4DAA4D;YAChE,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACH,IAAI,EAAE,QAAQ;aACjB;YACD,OAAO,EAAE,CAAC,WAAW,EAAE,WAAW,CAAC;SACtC;QACD,QAAQ,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;YACd,WAAW,EACP,qIAAqI;YACzI,OAAO,EAAE,CAAC;SACb;QACD,SAAS,EAAE;YACP,WAAW,EAAE,+BAA+B;YAC5C,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,OAAO;SACnB;QACD,SAAS,EAAE;YACP,WAAW,EAAE,6BAA6B;YAC1C,IAAI,EAAE,QAAQ;YACd,MAAM,EAAE,WAAW;YACnB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,0BAA0B;SACtC;QACD,KAAK,EAAE;YACH,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,yCAAyC;YACtD,KAAK,EAAE;gBACH,IAAI,EAAE,2CAA2C;aACpD;SACJ;QACD,QAAQ,EAAE;YACN,WAAW,EAAE,6CAA6C;YAC1D,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACH,IAAI,EAAE,QAAQ;aACjB;YACD,OAAO,EAAE,CAAC,SAAS,EAAE,YAAY,CAAC;SACrC;KACJ;IACD,UAAU,EAAE;QACR,OAAO,EAAE;YACL,oBAAoB,EAApB,8CAAoB;YACpB,UAAU,EAAV,wBAAU;SACb;KACJ;CACK,CAAC"}
|
|
1
|
+
{"version":3,"file":"group-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/group-schema.ts"],"names":[],"mappings":";;;AACA,uEAAiE;AACjE,+CAA2C;AAE9B,QAAA,WAAW,GAAG;IACvB,GAAG,EAAE,kCAAkC;IACvC,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,MAAM,CAAC;IAClB,WAAW,EAAE,2CAA2C;IACxD,UAAU,EAAE;QACR,EAAE,EAAE;YACA,WAAW,EAAE,cAAc;YAC3B,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,CAAC;SACb;QACD,IAAI,EAAE;YACF,WAAW,EAAE,uBAAuB;YACpC,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,SAAS;SACrB;QACD,WAAW,EAAE;YACT,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,iCAAiC;SAC7C;QACD,WAAW,EAAE;YACT,WAAW,EACP,4DAA4D;YAChE,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACH,IAAI,EAAE,QAAQ;aACjB;YACD,OAAO,EAAE,CAAC,WAAW,EAAE,WAAW,CAAC;SACtC;QACD,QAAQ,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;YACd,WAAW,EACP,qIAAqI;YACzI,OAAO,EAAE,CAAC;SACb;QACD,SAAS,EAAE;YACP,WAAW,EAAE,+BAA+B;YAC5C,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,OAAO;SACnB;QACD,SAAS,EAAE;YACP,WAAW,EAAE,6BAA6B;YAC1C,IAAI,EAAE,QAAQ;YACd,MAAM,EAAE,WAAW;YACnB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,0BAA0B;SACtC;QACD,KAAK,EAAE;YACH,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,yCAAyC;YACtD,KAAK,EAAE;gBACH,IAAI,EAAE,2CAA2C;aACpD;SACJ;QACD,QAAQ,EAAE;YACN,WAAW,EAAE,6CAA6C;YAC1D,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACH,IAAI,EAAE,QAAQ;aACjB;YACD,OAAO,EAAE,CAAC,SAAS,EAAE,YAAY,CAAC;SACrC;QACD,SAAS,EAAE;YACP,WAAW,EAAE,+CAA+C;YAC5D,OAAO,EAAE,CAAC;YACV,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,CAAC;SACb;KACJ;IACD,UAAU,EAAE;QACR,OAAO,EAAE;YACL,oBAAoB,EAApB,8CAAoB;YACpB,UAAU,EAAV,wBAAU;SACb;KACJ;CACK,CAAC"}
|
|
@@ -47,6 +47,7 @@ export declare const groupUserModelSchema: {
|
|
|
47
47
|
readonly description: "Name of the user";
|
|
48
48
|
readonly type: "string";
|
|
49
49
|
readonly example: "User";
|
|
50
|
+
readonly nullable: true;
|
|
50
51
|
};
|
|
51
52
|
readonly email: {
|
|
52
53
|
readonly description: "Email of the user";
|
|
@@ -80,7 +81,7 @@ export declare const groupUserModelSchema: {
|
|
|
80
81
|
readonly example: false;
|
|
81
82
|
};
|
|
82
83
|
readonly rootRole: {
|
|
83
|
-
readonly description: "Which [root role](https://docs.getunleash.io/reference/rbac#
|
|
84
|
+
readonly description: "Which [root role](https://docs.getunleash.io/reference/rbac#predefined-roles) this user is assigned";
|
|
84
85
|
readonly type: "integer";
|
|
85
86
|
readonly example: 1;
|
|
86
87
|
readonly minimum: 0;
|
|
@@ -80,6 +80,12 @@ export declare const groupsSchema: {
|
|
|
80
80
|
};
|
|
81
81
|
readonly example: readonly ["default", "my-project"];
|
|
82
82
|
};
|
|
83
|
+
readonly userCount: {
|
|
84
|
+
readonly description: "The number of users that belong to this group";
|
|
85
|
+
readonly example: 1;
|
|
86
|
+
readonly type: "integer";
|
|
87
|
+
readonly minimum: 0;
|
|
88
|
+
};
|
|
83
89
|
};
|
|
84
90
|
readonly components: {
|
|
85
91
|
readonly schemas: {
|
|
@@ -131,6 +137,7 @@ export declare const groupsSchema: {
|
|
|
131
137
|
readonly description: "Name of the user";
|
|
132
138
|
readonly type: "string";
|
|
133
139
|
readonly example: "User";
|
|
140
|
+
readonly nullable: true;
|
|
134
141
|
};
|
|
135
142
|
readonly email: {
|
|
136
143
|
readonly description: "Email of the user";
|
|
@@ -164,7 +171,7 @@ export declare const groupsSchema: {
|
|
|
164
171
|
readonly example: false;
|
|
165
172
|
};
|
|
166
173
|
readonly rootRole: {
|
|
167
|
-
readonly description: "Which [root role](https://docs.getunleash.io/reference/rbac#
|
|
174
|
+
readonly description: "Which [root role](https://docs.getunleash.io/reference/rbac#predefined-roles) this user is assigned";
|
|
168
175
|
readonly type: "integer";
|
|
169
176
|
readonly example: 1;
|
|
170
177
|
readonly minimum: 0;
|
|
@@ -224,6 +231,7 @@ export declare const groupsSchema: {
|
|
|
224
231
|
readonly description: "Name of the user";
|
|
225
232
|
readonly type: "string";
|
|
226
233
|
readonly example: "User";
|
|
234
|
+
readonly nullable: true;
|
|
227
235
|
};
|
|
228
236
|
readonly email: {
|
|
229
237
|
readonly description: "Email of the user";
|
|
@@ -257,7 +265,7 @@ export declare const groupsSchema: {
|
|
|
257
265
|
readonly example: false;
|
|
258
266
|
};
|
|
259
267
|
readonly rootRole: {
|
|
260
|
-
readonly description: "Which [root role](https://docs.getunleash.io/reference/rbac#
|
|
268
|
+
readonly description: "Which [root role](https://docs.getunleash.io/reference/rbac#predefined-roles) this user is assigned";
|
|
261
269
|
readonly type: "integer";
|
|
262
270
|
readonly example: 1;
|
|
263
271
|
readonly minimum: 0;
|
|
@@ -342,6 +350,7 @@ export declare const groupsSchema: {
|
|
|
342
350
|
readonly description: "Name of the user";
|
|
343
351
|
readonly type: "string";
|
|
344
352
|
readonly example: "User";
|
|
353
|
+
readonly nullable: true;
|
|
345
354
|
};
|
|
346
355
|
readonly email: {
|
|
347
356
|
readonly description: "Email of the user";
|
|
@@ -375,7 +384,7 @@ export declare const groupsSchema: {
|
|
|
375
384
|
readonly example: false;
|
|
376
385
|
};
|
|
377
386
|
readonly rootRole: {
|
|
378
|
-
readonly description: "Which [root role](https://docs.getunleash.io/reference/rbac#
|
|
387
|
+
readonly description: "Which [root role](https://docs.getunleash.io/reference/rbac#predefined-roles) this user is assigned";
|
|
379
388
|
readonly type: "integer";
|
|
380
389
|
readonly example: 1;
|
|
381
390
|
readonly minimum: 0;
|
|
@@ -435,6 +444,7 @@ export declare const groupsSchema: {
|
|
|
435
444
|
readonly description: "Name of the user";
|
|
436
445
|
readonly type: "string";
|
|
437
446
|
readonly example: "User";
|
|
447
|
+
readonly nullable: true;
|
|
438
448
|
};
|
|
439
449
|
readonly email: {
|
|
440
450
|
readonly description: "Email of the user";
|
|
@@ -468,7 +478,7 @@ export declare const groupsSchema: {
|
|
|
468
478
|
readonly example: false;
|
|
469
479
|
};
|
|
470
480
|
readonly rootRole: {
|
|
471
|
-
readonly description: "Which [root role](https://docs.getunleash.io/reference/rbac#
|
|
481
|
+
readonly description: "Which [root role](https://docs.getunleash.io/reference/rbac#predefined-roles) this user is assigned";
|
|
472
482
|
readonly type: "integer";
|
|
473
483
|
readonly example: 1;
|
|
474
484
|
readonly minimum: 0;
|
|
@@ -295,7 +295,6 @@ export declare const healthOverviewSchema: {
|
|
|
295
295
|
readonly createStrategyVariantSchema: {
|
|
296
296
|
readonly $id: "#/components/schemas/createStrategyVariantSchema";
|
|
297
297
|
readonly type: "object";
|
|
298
|
-
readonly additionalProperties: true;
|
|
299
298
|
readonly description: "This is an experimental property. It may change or be removed as we work on it. Please don't depend on it yet. A strategy variant allows you to attach any data to strategies instead of only returning `true`/`false`. Strategy variants take precedence over feature variants.";
|
|
300
299
|
readonly required: readonly ["name", "weight", "weightType", "stickiness"];
|
|
301
300
|
readonly properties: {
|
|
@@ -350,7 +349,6 @@ export declare const healthOverviewSchema: {
|
|
|
350
349
|
readonly createStrategyVariantSchema: {
|
|
351
350
|
readonly $id: "#/components/schemas/createStrategyVariantSchema";
|
|
352
351
|
readonly type: "object";
|
|
353
|
-
readonly additionalProperties: true;
|
|
354
352
|
readonly description: "This is an experimental property. It may change or be removed as we work on it. Please don't depend on it yet. A strategy variant allows you to attach any data to strategies instead of only returning `true`/`false`. Strategy variants take precedence over feature variants.";
|
|
355
353
|
readonly required: readonly ["name", "weight", "weightType", "stickiness"];
|
|
356
354
|
readonly properties: {
|
|
@@ -527,7 +525,6 @@ export declare const healthOverviewSchema: {
|
|
|
527
525
|
readonly createStrategyVariantSchema: {
|
|
528
526
|
readonly $id: "#/components/schemas/createStrategyVariantSchema";
|
|
529
527
|
readonly type: "object";
|
|
530
|
-
readonly additionalProperties: true;
|
|
531
528
|
readonly description: "This is an experimental property. It may change or be removed as we work on it. Please don't depend on it yet. A strategy variant allows you to attach any data to strategies instead of only returning `true`/`false`. Strategy variants take precedence over feature variants.";
|
|
532
529
|
readonly required: readonly ["name", "weight", "weightType", "stickiness"];
|
|
533
530
|
readonly properties: {
|
|
@@ -582,7 +579,6 @@ export declare const healthOverviewSchema: {
|
|
|
582
579
|
readonly createStrategyVariantSchema: {
|
|
583
580
|
readonly $id: "#/components/schemas/createStrategyVariantSchema";
|
|
584
581
|
readonly type: "object";
|
|
585
|
-
readonly additionalProperties: true;
|
|
586
582
|
readonly description: "This is an experimental property. It may change or be removed as we work on it. Please don't depend on it yet. A strategy variant allows you to attach any data to strategies instead of only returning `true`/`false`. Strategy variants take precedence over feature variants.";
|
|
587
583
|
readonly required: readonly ["name", "weight", "weightType", "stickiness"];
|
|
588
584
|
readonly properties: {
|
|
@@ -746,8 +742,9 @@ export declare const healthOverviewSchema: {
|
|
|
746
742
|
readonly type: "string";
|
|
747
743
|
readonly format: "date-time";
|
|
748
744
|
readonly nullable: true;
|
|
745
|
+
readonly deprecated: true;
|
|
749
746
|
readonly example: "2023-01-28T16:21:39.975Z";
|
|
750
|
-
readonly description: "The date when metrics where last collected for the feature";
|
|
747
|
+
readonly description: "The date when metrics where last collected for the feature. This field is deprecated, use the one in featureEnvironmentSchema";
|
|
751
748
|
};
|
|
752
749
|
readonly environments: {
|
|
753
750
|
readonly type: "array";
|
|
@@ -882,6 +879,13 @@ export declare const healthOverviewSchema: {
|
|
|
882
879
|
};
|
|
883
880
|
readonly description: "A list of variants for the feature environment";
|
|
884
881
|
};
|
|
882
|
+
readonly lastSeenAt: {
|
|
883
|
+
readonly type: "string";
|
|
884
|
+
readonly format: "date-time";
|
|
885
|
+
readonly nullable: true;
|
|
886
|
+
readonly example: "2023-01-28T16:21:39.975Z";
|
|
887
|
+
readonly description: "The date when metrics where last collected for the feature environment";
|
|
888
|
+
};
|
|
885
889
|
};
|
|
886
890
|
readonly components: {
|
|
887
891
|
readonly schemas: {
|
|
@@ -1682,6 +1686,13 @@ export declare const healthOverviewSchema: {
|
|
|
1682
1686
|
};
|
|
1683
1687
|
readonly description: "A list of variants for the feature environment";
|
|
1684
1688
|
};
|
|
1689
|
+
readonly lastSeenAt: {
|
|
1690
|
+
readonly type: "string";
|
|
1691
|
+
readonly format: "date-time";
|
|
1692
|
+
readonly nullable: true;
|
|
1693
|
+
readonly example: "2023-01-28T16:21:39.975Z";
|
|
1694
|
+
readonly description: "The date when metrics where last collected for the feature environment";
|
|
1695
|
+
};
|
|
1685
1696
|
};
|
|
1686
1697
|
readonly components: {
|
|
1687
1698
|
readonly schemas: {
|
|
@@ -310,7 +310,6 @@ export declare const healthReportSchema: {
|
|
|
310
310
|
readonly createStrategyVariantSchema: {
|
|
311
311
|
readonly $id: "#/components/schemas/createStrategyVariantSchema";
|
|
312
312
|
readonly type: "object";
|
|
313
|
-
readonly additionalProperties: true;
|
|
314
313
|
readonly description: "This is an experimental property. It may change or be removed as we work on it. Please don't depend on it yet. A strategy variant allows you to attach any data to strategies instead of only returning `true`/`false`. Strategy variants take precedence over feature variants.";
|
|
315
314
|
readonly required: readonly ["name", "weight", "weightType", "stickiness"];
|
|
316
315
|
readonly properties: {
|
|
@@ -365,7 +364,6 @@ export declare const healthReportSchema: {
|
|
|
365
364
|
readonly createStrategyVariantSchema: {
|
|
366
365
|
readonly $id: "#/components/schemas/createStrategyVariantSchema";
|
|
367
366
|
readonly type: "object";
|
|
368
|
-
readonly additionalProperties: true;
|
|
369
367
|
readonly description: "This is an experimental property. It may change or be removed as we work on it. Please don't depend on it yet. A strategy variant allows you to attach any data to strategies instead of only returning `true`/`false`. Strategy variants take precedence over feature variants.";
|
|
370
368
|
readonly required: readonly ["name", "weight", "weightType", "stickiness"];
|
|
371
369
|
readonly properties: {
|
|
@@ -542,7 +540,6 @@ export declare const healthReportSchema: {
|
|
|
542
540
|
readonly createStrategyVariantSchema: {
|
|
543
541
|
readonly $id: "#/components/schemas/createStrategyVariantSchema";
|
|
544
542
|
readonly type: "object";
|
|
545
|
-
readonly additionalProperties: true;
|
|
546
543
|
readonly description: "This is an experimental property. It may change or be removed as we work on it. Please don't depend on it yet. A strategy variant allows you to attach any data to strategies instead of only returning `true`/`false`. Strategy variants take precedence over feature variants.";
|
|
547
544
|
readonly required: readonly ["name", "weight", "weightType", "stickiness"];
|
|
548
545
|
readonly properties: {
|
|
@@ -597,7 +594,6 @@ export declare const healthReportSchema: {
|
|
|
597
594
|
readonly createStrategyVariantSchema: {
|
|
598
595
|
readonly $id: "#/components/schemas/createStrategyVariantSchema";
|
|
599
596
|
readonly type: "object";
|
|
600
|
-
readonly additionalProperties: true;
|
|
601
597
|
readonly description: "This is an experimental property. It may change or be removed as we work on it. Please don't depend on it yet. A strategy variant allows you to attach any data to strategies instead of only returning `true`/`false`. Strategy variants take precedence over feature variants.";
|
|
602
598
|
readonly required: readonly ["name", "weight", "weightType", "stickiness"];
|
|
603
599
|
readonly properties: {
|
|
@@ -761,8 +757,9 @@ export declare const healthReportSchema: {
|
|
|
761
757
|
readonly type: "string";
|
|
762
758
|
readonly format: "date-time";
|
|
763
759
|
readonly nullable: true;
|
|
760
|
+
readonly deprecated: true;
|
|
764
761
|
readonly example: "2023-01-28T16:21:39.975Z";
|
|
765
|
-
readonly description: "The date when metrics where last collected for the feature";
|
|
762
|
+
readonly description: "The date when metrics where last collected for the feature. This field is deprecated, use the one in featureEnvironmentSchema";
|
|
766
763
|
};
|
|
767
764
|
readonly environments: {
|
|
768
765
|
readonly type: "array";
|
|
@@ -897,6 +894,13 @@ export declare const healthReportSchema: {
|
|
|
897
894
|
};
|
|
898
895
|
readonly description: "A list of variants for the feature environment";
|
|
899
896
|
};
|
|
897
|
+
readonly lastSeenAt: {
|
|
898
|
+
readonly type: "string";
|
|
899
|
+
readonly format: "date-time";
|
|
900
|
+
readonly nullable: true;
|
|
901
|
+
readonly example: "2023-01-28T16:21:39.975Z";
|
|
902
|
+
readonly description: "The date when metrics where last collected for the feature environment";
|
|
903
|
+
};
|
|
900
904
|
};
|
|
901
905
|
readonly components: {
|
|
902
906
|
readonly schemas: {
|
|
@@ -1697,6 +1701,13 @@ export declare const healthReportSchema: {
|
|
|
1697
1701
|
};
|
|
1698
1702
|
readonly description: "A list of variants for the feature environment";
|
|
1699
1703
|
};
|
|
1704
|
+
readonly lastSeenAt: {
|
|
1705
|
+
readonly type: "string";
|
|
1706
|
+
readonly format: "date-time";
|
|
1707
|
+
readonly nullable: true;
|
|
1708
|
+
readonly example: "2023-01-28T16:21:39.975Z";
|
|
1709
|
+
readonly description: "The date when metrics where last collected for the feature environment";
|
|
1710
|
+
};
|
|
1700
1711
|
};
|
|
1701
1712
|
readonly components: {
|
|
1702
1713
|
readonly schemas: {
|
|
@@ -225,8 +225,9 @@ export declare const importTogglesSchema: {
|
|
|
225
225
|
readonly type: "string";
|
|
226
226
|
readonly format: "date-time";
|
|
227
227
|
readonly nullable: true;
|
|
228
|
+
readonly deprecated: true;
|
|
228
229
|
readonly example: "2023-01-28T16:21:39.975Z";
|
|
229
|
-
readonly description: "The date when metrics where last collected for the feature";
|
|
230
|
+
readonly description: "The date when metrics where last collected for the feature. This field is deprecated, use the one in featureEnvironmentSchema";
|
|
230
231
|
};
|
|
231
232
|
readonly environments: {
|
|
232
233
|
readonly type: "array";
|
|
@@ -361,6 +362,13 @@ export declare const importTogglesSchema: {
|
|
|
361
362
|
};
|
|
362
363
|
readonly description: "A list of variants for the feature environment";
|
|
363
364
|
};
|
|
365
|
+
readonly lastSeenAt: {
|
|
366
|
+
readonly type: "string";
|
|
367
|
+
readonly format: "date-time";
|
|
368
|
+
readonly nullable: true;
|
|
369
|
+
readonly example: "2023-01-28T16:21:39.975Z";
|
|
370
|
+
readonly description: "The date when metrics where last collected for the feature environment";
|
|
371
|
+
};
|
|
364
372
|
};
|
|
365
373
|
readonly components: {
|
|
366
374
|
readonly schemas: {
|
|
@@ -1388,6 +1396,13 @@ export declare const importTogglesSchema: {
|
|
|
1388
1396
|
};
|
|
1389
1397
|
readonly description: "A list of variants for the feature environment";
|
|
1390
1398
|
};
|
|
1399
|
+
readonly lastSeenAt: {
|
|
1400
|
+
readonly type: "string";
|
|
1401
|
+
readonly format: "date-time";
|
|
1402
|
+
readonly nullable: true;
|
|
1403
|
+
readonly example: "2023-01-28T16:21:39.975Z";
|
|
1404
|
+
readonly description: "The date when metrics where last collected for the feature environment";
|
|
1405
|
+
};
|
|
1391
1406
|
};
|
|
1392
1407
|
readonly components: {
|
|
1393
1408
|
readonly schemas: {
|
|
@@ -1880,6 +1895,7 @@ export declare const importTogglesSchema: {
|
|
|
1880
1895
|
readonly variantsSchema: {
|
|
1881
1896
|
readonly $id: "#/components/schemas/variantsSchema";
|
|
1882
1897
|
readonly type: "array";
|
|
1898
|
+
readonly description: "A list of variants";
|
|
1883
1899
|
readonly items: {
|
|
1884
1900
|
readonly $ref: "#/components/schemas/variantSchema";
|
|
1885
1901
|
};
|
|
@@ -2279,8 +2295,9 @@ export declare const importTogglesSchema: {
|
|
|
2279
2295
|
readonly type: "string";
|
|
2280
2296
|
readonly format: "date-time";
|
|
2281
2297
|
readonly nullable: true;
|
|
2298
|
+
readonly deprecated: true;
|
|
2282
2299
|
readonly example: "2023-01-28T16:21:39.975Z";
|
|
2283
|
-
readonly description: "The date when metrics where last collected for the feature";
|
|
2300
|
+
readonly description: "The date when metrics where last collected for the feature. This field is deprecated, use the one in featureEnvironmentSchema";
|
|
2284
2301
|
};
|
|
2285
2302
|
readonly environments: {
|
|
2286
2303
|
readonly type: "array";
|
|
@@ -2415,6 +2432,13 @@ export declare const importTogglesSchema: {
|
|
|
2415
2432
|
};
|
|
2416
2433
|
readonly description: "A list of variants for the feature environment";
|
|
2417
2434
|
};
|
|
2435
|
+
readonly lastSeenAt: {
|
|
2436
|
+
readonly type: "string";
|
|
2437
|
+
readonly format: "date-time";
|
|
2438
|
+
readonly nullable: true;
|
|
2439
|
+
readonly example: "2023-01-28T16:21:39.975Z";
|
|
2440
|
+
readonly description: "The date when metrics where last collected for the feature environment";
|
|
2441
|
+
};
|
|
2418
2442
|
};
|
|
2419
2443
|
readonly components: {
|
|
2420
2444
|
readonly schemas: {
|
|
@@ -3442,6 +3466,13 @@ export declare const importTogglesSchema: {
|
|
|
3442
3466
|
};
|
|
3443
3467
|
readonly description: "A list of variants for the feature environment";
|
|
3444
3468
|
};
|
|
3469
|
+
readonly lastSeenAt: {
|
|
3470
|
+
readonly type: "string";
|
|
3471
|
+
readonly format: "date-time";
|
|
3472
|
+
readonly nullable: true;
|
|
3473
|
+
readonly example: "2023-01-28T16:21:39.975Z";
|
|
3474
|
+
readonly description: "The date when metrics where last collected for the feature environment";
|
|
3475
|
+
};
|
|
3445
3476
|
};
|
|
3446
3477
|
readonly components: {
|
|
3447
3478
|
readonly schemas: {
|
|
@@ -4030,6 +4061,7 @@ export declare const importTogglesSchema: {
|
|
|
4030
4061
|
readonly variantsSchema: {
|
|
4031
4062
|
readonly $id: "#/components/schemas/variantsSchema";
|
|
4032
4063
|
readonly type: "array";
|
|
4064
|
+
readonly description: "A list of variants";
|
|
4033
4065
|
readonly items: {
|
|
4034
4066
|
readonly $ref: "#/components/schemas/variantSchema";
|
|
4035
4067
|
};
|
|
@@ -115,7 +115,8 @@ export * from './public-signup-token-schema';
|
|
|
115
115
|
export * from './environments-project-schema';
|
|
116
116
|
export * from './instance-admin-stats-schema';
|
|
117
117
|
export * from './public-signup-tokens-schema';
|
|
118
|
-
export * from './
|
|
118
|
+
export * from './update-context-field-schema';
|
|
119
|
+
export * from './create-context-field-schema';
|
|
119
120
|
export * from './validated-edge-tokens-schema';
|
|
120
121
|
export * from './client-features-query-schema';
|
|
121
122
|
export * from './admin-features-query-schema';
|
|
@@ -152,3 +153,4 @@ export * from './strategy-variant-schema';
|
|
|
152
153
|
export * from './client-segment-schema';
|
|
153
154
|
export * from './update-feature-type-lifetime-schema';
|
|
154
155
|
export * from './create-group-schema';
|
|
156
|
+
export * from './application-usage-schema';
|
|
@@ -131,7 +131,8 @@ __exportStar(require("./public-signup-token-schema"), exports);
|
|
|
131
131
|
__exportStar(require("./environments-project-schema"), exports);
|
|
132
132
|
__exportStar(require("./instance-admin-stats-schema"), exports);
|
|
133
133
|
__exportStar(require("./public-signup-tokens-schema"), exports);
|
|
134
|
-
__exportStar(require("./
|
|
134
|
+
__exportStar(require("./update-context-field-schema"), exports);
|
|
135
|
+
__exportStar(require("./create-context-field-schema"), exports);
|
|
135
136
|
__exportStar(require("./validated-edge-tokens-schema"), exports);
|
|
136
137
|
__exportStar(require("./client-features-query-schema"), exports);
|
|
137
138
|
__exportStar(require("./admin-features-query-schema"), exports);
|
|
@@ -168,4 +169,5 @@ __exportStar(require("./strategy-variant-schema"), exports);
|
|
|
168
169
|
__exportStar(require("./client-segment-schema"), exports);
|
|
169
170
|
__exportStar(require("./update-feature-type-lifetime-schema"), exports);
|
|
170
171
|
__exportStar(require("./create-group-schema"), exports);
|
|
172
|
+
__exportStar(require("./application-usage-schema"), exports);
|
|
171
173
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/index.ts"],"names":[],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/index.ts"],"names":[],"mappings":"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"}
|
|
@@ -3,9 +3,11 @@ export declare const maintenanceSchema: {
|
|
|
3
3
|
readonly $id: "#/components/schemas/maintenanceSchema";
|
|
4
4
|
readonly type: "object";
|
|
5
5
|
readonly additionalProperties: false;
|
|
6
|
+
readonly description: "The current state of Unleash's maintenance mode feature.";
|
|
6
7
|
readonly required: readonly ["enabled"];
|
|
7
8
|
readonly properties: {
|
|
8
9
|
readonly enabled: {
|
|
10
|
+
readonly description: "Whether maintenance mode is enabled or not.";
|
|
9
11
|
readonly type: "boolean";
|
|
10
12
|
readonly example: true;
|
|
11
13
|
};
|
|
@@ -5,9 +5,11 @@ exports.maintenanceSchema = {
|
|
|
5
5
|
$id: '#/components/schemas/maintenanceSchema',
|
|
6
6
|
type: 'object',
|
|
7
7
|
additionalProperties: false,
|
|
8
|
+
description: "The current state of Unleash's maintenance mode feature.",
|
|
8
9
|
required: ['enabled'],
|
|
9
10
|
properties: {
|
|
10
11
|
enabled: {
|
|
12
|
+
description: 'Whether maintenance mode is enabled or not.',
|
|
11
13
|
type: 'boolean',
|
|
12
14
|
example: true,
|
|
13
15
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"maintenance-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/maintenance-schema.ts"],"names":[],"mappings":";;;AAEa,QAAA,iBAAiB,GAAG;IAC7B,GAAG,EAAE,wCAAwC;IAC7C,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,SAAS,CAAC;IACrB,UAAU,EAAE;QACR,OAAO,EAAE;YACL,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,IAAI;SAChB;KACJ;IACD,UAAU,EAAE,EAAE;CACR,CAAC"}
|
|
1
|
+
{"version":3,"file":"maintenance-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/maintenance-schema.ts"],"names":[],"mappings":";;;AAEa,QAAA,iBAAiB,GAAG;IAC7B,GAAG,EAAE,wCAAwC;IAC7C,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,WAAW,EAAE,0DAA0D;IACvE,QAAQ,EAAE,CAAC,SAAS,CAAC;IACrB,UAAU,EAAE;QACR,OAAO,EAAE;YACL,WAAW,EAAE,6CAA6C;YAC1D,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,IAAI;SAChB;KACJ;IACD,UAAU,EAAE,EAAE;CACR,CAAC"}
|
|
@@ -56,6 +56,7 @@ export declare const meSchema: {
|
|
|
56
56
|
readonly description: "Name of the user";
|
|
57
57
|
readonly type: "string";
|
|
58
58
|
readonly example: "User";
|
|
59
|
+
readonly nullable: true;
|
|
59
60
|
};
|
|
60
61
|
readonly email: {
|
|
61
62
|
readonly description: "Email of the user";
|
|
@@ -89,7 +90,7 @@ export declare const meSchema: {
|
|
|
89
90
|
readonly example: false;
|
|
90
91
|
};
|
|
91
92
|
readonly rootRole: {
|
|
92
|
-
readonly description: "Which [root role](https://docs.getunleash.io/reference/rbac#
|
|
93
|
+
readonly description: "Which [root role](https://docs.getunleash.io/reference/rbac#predefined-roles) this user is assigned";
|
|
93
94
|
readonly type: "integer";
|
|
94
95
|
readonly example: 1;
|
|
95
96
|
readonly minimum: 0;
|
|
@@ -3,18 +3,29 @@ export declare const patchSchema: {
|
|
|
3
3
|
readonly $id: "#/components/schemas/patchSchema";
|
|
4
4
|
readonly type: "object";
|
|
5
5
|
readonly required: readonly ["path", "op"];
|
|
6
|
+
readonly description: "A [JSON patch](https://www.rfc-editor.org/rfc/rfc6902) operation description";
|
|
6
7
|
readonly properties: {
|
|
7
8
|
readonly path: {
|
|
8
9
|
readonly type: "string";
|
|
10
|
+
readonly description: "The path to the property to operate on";
|
|
11
|
+
readonly example: "/type";
|
|
9
12
|
};
|
|
10
13
|
readonly op: {
|
|
11
14
|
readonly type: "string";
|
|
12
15
|
readonly enum: readonly ["add", "remove", "replace", "copy", "move"];
|
|
16
|
+
readonly description: "The kind of operation to perform";
|
|
17
|
+
readonly example: "replace";
|
|
13
18
|
};
|
|
14
19
|
readonly from: {
|
|
15
20
|
readonly type: "string";
|
|
21
|
+
readonly description: "The target to move or copy from, if performing one of those operations";
|
|
22
|
+
readonly example: "/type";
|
|
23
|
+
};
|
|
24
|
+
readonly value: {
|
|
25
|
+
readonly description: "The value to add or replace, if performing one of those operations";
|
|
26
|
+
readonly example: "kill-switch";
|
|
27
|
+
readonly nullable: true;
|
|
16
28
|
};
|
|
17
|
-
readonly value: {};
|
|
18
29
|
};
|
|
19
30
|
readonly components: {};
|
|
20
31
|
};
|