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
|
@@ -5,18 +5,29 @@ exports.patchSchema = {
|
|
|
5
5
|
$id: '#/components/schemas/patchSchema',
|
|
6
6
|
type: 'object',
|
|
7
7
|
required: ['path', 'op'],
|
|
8
|
+
description: 'A [JSON patch](https://www.rfc-editor.org/rfc/rfc6902) operation description',
|
|
8
9
|
properties: {
|
|
9
10
|
path: {
|
|
10
11
|
type: 'string',
|
|
12
|
+
description: 'The path to the property to operate on',
|
|
13
|
+
example: '/type',
|
|
11
14
|
},
|
|
12
15
|
op: {
|
|
13
16
|
type: 'string',
|
|
14
17
|
enum: ['add', 'remove', 'replace', 'copy', 'move'],
|
|
18
|
+
description: 'The kind of operation to perform',
|
|
19
|
+
example: 'replace',
|
|
15
20
|
},
|
|
16
21
|
from: {
|
|
17
22
|
type: 'string',
|
|
23
|
+
description: 'The target to move or copy from, if performing one of those operations',
|
|
24
|
+
example: '/type',
|
|
25
|
+
},
|
|
26
|
+
value: {
|
|
27
|
+
description: 'The value to add or replace, if performing one of those operations',
|
|
28
|
+
example: 'kill-switch',
|
|
29
|
+
nullable: true,
|
|
18
30
|
},
|
|
19
|
-
value: {},
|
|
20
31
|
},
|
|
21
32
|
components: {},
|
|
22
33
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patch-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/patch-schema.ts"],"names":[],"mappings":";;;AAEa,QAAA,WAAW,GAAG;IACvB,GAAG,EAAE,kCAAkC;IACvC,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,CAAC,MAAM,EAAE,IAAI,CAAC;IACxB,UAAU,EAAE;QACR,IAAI,EAAE;YACF,IAAI,EAAE,QAAQ;
|
|
1
|
+
{"version":3,"file":"patch-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/patch-schema.ts"],"names":[],"mappings":";;;AAEa,QAAA,WAAW,GAAG;IACvB,GAAG,EAAE,kCAAkC;IACvC,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,CAAC,MAAM,EAAE,IAAI,CAAC;IACxB,WAAW,EACP,8EAA8E;IAClF,UAAU,EAAE;QACR,IAAI,EAAE;YACF,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,wCAAwC;YACrD,OAAO,EAAE,OAAO;SACnB;QACD,EAAE,EAAE;YACA,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,CAAC,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,CAAC;YAClD,WAAW,EAAE,kCAAkC;YAC/C,OAAO,EAAE,SAAS;SACrB;QACD,IAAI,EAAE;YACF,IAAI,EAAE,QAAQ;YACd,WAAW,EACP,wEAAwE;YAC5E,OAAO,EAAE,OAAO;SACnB;QACD,KAAK,EAAE;YACH,WAAW,EACP,oEAAoE;YACxE,OAAO,EAAE,aAAa;YACtB,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,UAAU,EAAE,EAAE;CACR,CAAC"}
|
|
@@ -12,18 +12,29 @@ export declare const patchesSchema: {
|
|
|
12
12
|
readonly $id: "#/components/schemas/patchSchema";
|
|
13
13
|
readonly type: "object";
|
|
14
14
|
readonly required: readonly ["path", "op"];
|
|
15
|
+
readonly description: "A [JSON patch](https://www.rfc-editor.org/rfc/rfc6902) operation description";
|
|
15
16
|
readonly properties: {
|
|
16
17
|
readonly path: {
|
|
17
18
|
readonly type: "string";
|
|
19
|
+
readonly description: "The path to the property to operate on";
|
|
20
|
+
readonly example: "/type";
|
|
18
21
|
};
|
|
19
22
|
readonly op: {
|
|
20
23
|
readonly type: "string";
|
|
21
24
|
readonly enum: readonly ["add", "remove", "replace", "copy", "move"];
|
|
25
|
+
readonly description: "The kind of operation to perform";
|
|
26
|
+
readonly example: "replace";
|
|
22
27
|
};
|
|
23
28
|
readonly from: {
|
|
24
29
|
readonly type: "string";
|
|
30
|
+
readonly description: "The target to move or copy from, if performing one of those operations";
|
|
31
|
+
readonly example: "/type";
|
|
32
|
+
};
|
|
33
|
+
readonly value: {
|
|
34
|
+
readonly description: "The value to add or replace, if performing one of those operations";
|
|
35
|
+
readonly example: "kill-switch";
|
|
36
|
+
readonly nullable: true;
|
|
25
37
|
};
|
|
26
|
-
readonly value: {};
|
|
27
38
|
};
|
|
28
39
|
readonly components: {};
|
|
29
40
|
};
|
|
@@ -102,6 +102,7 @@ export declare const playgroundFeatureSchema: {
|
|
|
102
102
|
readonly playgroundStrategySchema: {
|
|
103
103
|
readonly $id: "#/components/schemas/playgroundStrategySchema";
|
|
104
104
|
readonly type: "object";
|
|
105
|
+
readonly description: "An evaluated feature toggle strategy as used by the Playground";
|
|
105
106
|
readonly additionalProperties: false;
|
|
106
107
|
readonly required: readonly ["id", "name", "result", "segments", "constraints", "parameters", "disabled", "links"];
|
|
107
108
|
readonly properties: {
|
|
@@ -299,6 +300,7 @@ export declare const playgroundFeatureSchema: {
|
|
|
299
300
|
readonly $id: "#/components/schemas/playgroundSegmentSchema";
|
|
300
301
|
readonly type: "object";
|
|
301
302
|
readonly additionalProperties: false;
|
|
303
|
+
readonly description: "The evaluated result of a segment as used by the Playground.";
|
|
302
304
|
readonly required: readonly ["name", "id", "constraints", "result"];
|
|
303
305
|
readonly properties: {
|
|
304
306
|
readonly id: {
|
|
@@ -548,6 +550,7 @@ export declare const playgroundFeatureSchema: {
|
|
|
548
550
|
readonly $id: "#/components/schemas/playgroundSegmentSchema";
|
|
549
551
|
readonly type: "object";
|
|
550
552
|
readonly additionalProperties: false;
|
|
553
|
+
readonly description: "The evaluated result of a segment as used by the Playground.";
|
|
551
554
|
readonly required: readonly ["name", "id", "constraints", "result"];
|
|
552
555
|
readonly properties: {
|
|
553
556
|
readonly id: {
|
|
@@ -35,7 +35,6 @@ export declare const playgroundRequestSchema: {
|
|
|
35
35
|
readonly $id: "#/components/schemas/sdkContextSchema";
|
|
36
36
|
readonly description: "The Unleash context as modeled in client SDKs";
|
|
37
37
|
readonly type: "object";
|
|
38
|
-
readonly additionalProperties: true;
|
|
39
38
|
readonly required: readonly ["appName"];
|
|
40
39
|
readonly properties: {
|
|
41
40
|
readonly appName: {
|
|
@@ -60,6 +59,7 @@ export declare const playgroundRequestSchema: {
|
|
|
60
59
|
readonly additionalProperties: {
|
|
61
60
|
readonly type: "string";
|
|
62
61
|
};
|
|
62
|
+
readonly description: "Additional Unleash context properties";
|
|
63
63
|
readonly example: {
|
|
64
64
|
readonly customContextField: "this is one!";
|
|
65
65
|
readonly otherCustomField: "3";
|
|
@@ -223,6 +223,7 @@ export declare const playgroundResponseSchema: {
|
|
|
223
223
|
readonly playgroundStrategySchema: {
|
|
224
224
|
readonly $id: "#/components/schemas/playgroundStrategySchema";
|
|
225
225
|
readonly type: "object";
|
|
226
|
+
readonly description: "An evaluated feature toggle strategy as used by the Playground";
|
|
226
227
|
readonly additionalProperties: false;
|
|
227
228
|
readonly required: readonly ["id", "name", "result", "segments", "constraints", "parameters", "disabled", "links"];
|
|
228
229
|
readonly properties: {
|
|
@@ -420,6 +421,7 @@ export declare const playgroundResponseSchema: {
|
|
|
420
421
|
readonly $id: "#/components/schemas/playgroundSegmentSchema";
|
|
421
422
|
readonly type: "object";
|
|
422
423
|
readonly additionalProperties: false;
|
|
424
|
+
readonly description: "The evaluated result of a segment as used by the Playground.";
|
|
423
425
|
readonly required: readonly ["name", "id", "constraints", "result"];
|
|
424
426
|
readonly properties: {
|
|
425
427
|
readonly id: {
|
|
@@ -669,6 +671,7 @@ export declare const playgroundResponseSchema: {
|
|
|
669
671
|
readonly $id: "#/components/schemas/playgroundSegmentSchema";
|
|
670
672
|
readonly type: "object";
|
|
671
673
|
readonly additionalProperties: false;
|
|
674
|
+
readonly description: "The evaluated result of a segment as used by the Playground.";
|
|
672
675
|
readonly required: readonly ["name", "id", "constraints", "result"];
|
|
673
676
|
readonly properties: {
|
|
674
677
|
readonly id: {
|
|
@@ -908,7 +911,6 @@ export declare const playgroundResponseSchema: {
|
|
|
908
911
|
readonly $id: "#/components/schemas/sdkContextSchema";
|
|
909
912
|
readonly description: "The Unleash context as modeled in client SDKs";
|
|
910
913
|
readonly type: "object";
|
|
911
|
-
readonly additionalProperties: true;
|
|
912
914
|
readonly required: readonly ["appName"];
|
|
913
915
|
readonly properties: {
|
|
914
916
|
readonly appName: {
|
|
@@ -933,6 +935,7 @@ export declare const playgroundResponseSchema: {
|
|
|
933
935
|
readonly additionalProperties: {
|
|
934
936
|
readonly type: "string";
|
|
935
937
|
};
|
|
938
|
+
readonly description: "Additional Unleash context properties";
|
|
936
939
|
readonly example: {
|
|
937
940
|
readonly customContextField: "this is one!";
|
|
938
941
|
readonly otherCustomField: "3";
|
|
@@ -963,6 +966,7 @@ export declare const playgroundResponseSchema: {
|
|
|
963
966
|
readonly $id: "#/components/schemas/playgroundSegmentSchema";
|
|
964
967
|
readonly type: "object";
|
|
965
968
|
readonly additionalProperties: false;
|
|
969
|
+
readonly description: "The evaluated result of a segment as used by the Playground.";
|
|
966
970
|
readonly required: readonly ["name", "id", "constraints", "result"];
|
|
967
971
|
readonly properties: {
|
|
968
972
|
readonly id: {
|
|
@@ -1042,6 +1046,7 @@ export declare const playgroundResponseSchema: {
|
|
|
1042
1046
|
readonly playgroundStrategySchema: {
|
|
1043
1047
|
readonly $id: "#/components/schemas/playgroundStrategySchema";
|
|
1044
1048
|
readonly type: "object";
|
|
1049
|
+
readonly description: "An evaluated feature toggle strategy as used by the Playground";
|
|
1045
1050
|
readonly additionalProperties: false;
|
|
1046
1051
|
readonly required: readonly ["id", "name", "result", "segments", "constraints", "parameters", "disabled", "links"];
|
|
1047
1052
|
readonly properties: {
|
|
@@ -1239,6 +1244,7 @@ export declare const playgroundResponseSchema: {
|
|
|
1239
1244
|
readonly $id: "#/components/schemas/playgroundSegmentSchema";
|
|
1240
1245
|
readonly type: "object";
|
|
1241
1246
|
readonly additionalProperties: false;
|
|
1247
|
+
readonly description: "The evaluated result of a segment as used by the Playground.";
|
|
1242
1248
|
readonly required: readonly ["name", "id", "constraints", "result"];
|
|
1243
1249
|
readonly properties: {
|
|
1244
1250
|
readonly id: {
|
|
@@ -1440,7 +1446,6 @@ export declare const playgroundResponseSchema: {
|
|
|
1440
1446
|
readonly $id: "#/components/schemas/sdkContextSchema";
|
|
1441
1447
|
readonly description: "The Unleash context as modeled in client SDKs";
|
|
1442
1448
|
readonly type: "object";
|
|
1443
|
-
readonly additionalProperties: true;
|
|
1444
1449
|
readonly required: readonly ["appName"];
|
|
1445
1450
|
readonly properties: {
|
|
1446
1451
|
readonly appName: {
|
|
@@ -1465,6 +1470,7 @@ export declare const playgroundResponseSchema: {
|
|
|
1465
1470
|
readonly additionalProperties: {
|
|
1466
1471
|
readonly type: "string";
|
|
1467
1472
|
};
|
|
1473
|
+
readonly description: "Additional Unleash context properties";
|
|
1468
1474
|
readonly example: {
|
|
1469
1475
|
readonly customContextField: "this is one!";
|
|
1470
1476
|
readonly otherCustomField: "3";
|
|
@@ -3,6 +3,7 @@ export declare const playgroundSegmentSchema: {
|
|
|
3
3
|
readonly $id: "#/components/schemas/playgroundSegmentSchema";
|
|
4
4
|
readonly type: "object";
|
|
5
5
|
readonly additionalProperties: false;
|
|
6
|
+
readonly description: "The evaluated result of a segment as used by the Playground.";
|
|
6
7
|
readonly required: readonly ["name", "id", "constraints", "result"];
|
|
7
8
|
readonly properties: {
|
|
8
9
|
readonly id: {
|
|
@@ -6,6 +6,7 @@ exports.playgroundSegmentSchema = {
|
|
|
6
6
|
$id: '#/components/schemas/playgroundSegmentSchema',
|
|
7
7
|
type: 'object',
|
|
8
8
|
additionalProperties: false,
|
|
9
|
+
description: 'The evaluated result of a segment as used by the Playground.',
|
|
9
10
|
required: ['name', 'id', 'constraints', 'result'],
|
|
10
11
|
properties: {
|
|
11
12
|
id: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playground-segment-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/playground-segment-schema.ts"],"names":[],"mappings":";;;AACA,iFAA4E;AAE/D,QAAA,uBAAuB,GAAG;IACnC,GAAG,EAAE,8CAA8C;IACnD,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,MAAM,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,CAAC;IACjD,UAAU,EAAE;QACR,EAAE,EAAE;YACA,WAAW,EAAE,mBAAmB;YAChC,IAAI,EAAE,SAAS;SAClB;QACD,IAAI,EAAE;YACF,WAAW,EAAE,0BAA0B;YACvC,OAAO,EAAE,WAAW;YACpB,IAAI,EAAE,QAAQ;SACjB;QACD,MAAM,EAAE;YACJ,WAAW,EAAE,8CAA8C;YAC3D,IAAI,EAAE,SAAS;SAClB;QACD,WAAW,EAAE;YACT,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,0CAA0C;YACvD,KAAK,EAAE,EAAE,IAAI,EAAE,yDAA0B,CAAC,GAAG,EAAE;SAClD;KACJ;IACD,UAAU,EAAE;QACR,OAAO,EAAE;YACL,0BAA0B,EAA1B,yDAA0B;SAC7B;KACJ;CACK,CAAC"}
|
|
1
|
+
{"version":3,"file":"playground-segment-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/playground-segment-schema.ts"],"names":[],"mappings":";;;AACA,iFAA4E;AAE/D,QAAA,uBAAuB,GAAG;IACnC,GAAG,EAAE,8CAA8C;IACnD,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,WAAW,EAAE,8DAA8D;IAC3E,QAAQ,EAAE,CAAC,MAAM,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,CAAC;IACjD,UAAU,EAAE;QACR,EAAE,EAAE;YACA,WAAW,EAAE,mBAAmB;YAChC,IAAI,EAAE,SAAS;SAClB;QACD,IAAI,EAAE;YACF,WAAW,EAAE,0BAA0B;YACvC,OAAO,EAAE,WAAW;YACpB,IAAI,EAAE,QAAQ;SACjB;QACD,MAAM,EAAE;YACJ,WAAW,EAAE,8CAA8C;YAC3D,IAAI,EAAE,SAAS;SAClB;QACD,WAAW,EAAE;YACT,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,0CAA0C;YACvD,KAAK,EAAE,EAAE,IAAI,EAAE,yDAA0B,CAAC,GAAG,EAAE;SAClD;KACJ;IACD,UAAU,EAAE;QACR,OAAO,EAAE;YACL,0BAA0B,EAA1B,yDAA0B;SAC7B;KACJ;CACK,CAAC"}
|
|
@@ -93,6 +93,7 @@ export declare const strategyEvaluationResults: {
|
|
|
93
93
|
export declare const playgroundStrategySchema: {
|
|
94
94
|
readonly $id: "#/components/schemas/playgroundStrategySchema";
|
|
95
95
|
readonly type: "object";
|
|
96
|
+
readonly description: "An evaluated feature toggle strategy as used by the Playground";
|
|
96
97
|
readonly additionalProperties: false;
|
|
97
98
|
readonly required: readonly ["id", "name", "result", "segments", "constraints", "parameters", "disabled", "links"];
|
|
98
99
|
readonly properties: {
|
|
@@ -290,6 +291,7 @@ export declare const playgroundStrategySchema: {
|
|
|
290
291
|
readonly $id: "#/components/schemas/playgroundSegmentSchema";
|
|
291
292
|
readonly type: "object";
|
|
292
293
|
readonly additionalProperties: false;
|
|
294
|
+
readonly description: "The evaluated result of a segment as used by the Playground.";
|
|
293
295
|
readonly required: readonly ["name", "id", "constraints", "result"];
|
|
294
296
|
readonly properties: {
|
|
295
297
|
readonly id: {
|
|
@@ -101,6 +101,7 @@ exports.strategyEvaluationResults = {
|
|
|
101
101
|
exports.playgroundStrategySchema = {
|
|
102
102
|
$id: '#/components/schemas/playgroundStrategySchema',
|
|
103
103
|
type: 'object',
|
|
104
|
+
description: 'An evaluated feature toggle strategy as used by the Playground',
|
|
104
105
|
additionalProperties: false,
|
|
105
106
|
required: [
|
|
106
107
|
'id',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playground-strategy-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/playground-strategy-schema.ts"],"names":[],"mappings":";;;AACA,2DAAuD;AACvD,iFAA4E;AAC5E,2EAAsE;AACtE,qDAAiD;AACjD,uDAAmD;AAEtC,QAAA,4BAA4B,GAAG;IACxC,kBAAkB,EAAE,UAAU;IAC9B,oBAAoB,EAAE,YAAY;IAClC,aAAa,EAAE,SAAS;CAClB,CAAC;AAEE,QAAA,yBAAyB,GAAG;IACrC,KAAK,EAAE;QACH;YACI,IAAI,EAAE,QAAQ;YACd,oBAAoB,EAAE,KAAK;YAC3B,QAAQ,EAAE,CAAC,kBAAkB,EAAE,SAAS,CAAC;YACzC,UAAU,EAAE;gBACR,gBAAgB,EAAE;oBACd,IAAI,EAAE,QAAQ;oBACd,WAAW,EACP,gJAAgJ;oBACpJ,IAAI,EAAE,CAAC,oCAA4B,CAAC,oBAAoB,CAAC;iBAC5D;gBACD,OAAO,EAAE;oBACL,WAAW,EACP,uRAAuR;oBAC3R,KAAK,EAAE;wBACH,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,KAAK,CAAC,EAAE;wBAClC;4BACI,IAAI,EAAE,QAAQ;4BACd,IAAI,EAAE,CAAC,oCAA4B,CAAC,aAAa,CAAC;yBACrD;qBACJ;iBACJ;aACJ;SACJ;QACD;YACI,IAAI,EAAE,QAAQ;YACd,oBAAoB,EAAE,KAAK;YAC3B,QAAQ,EAAE,CAAC,kBAAkB,EAAE,SAAS,CAAC;YACzC,UAAU,EAAE;gBACR,gBAAgB,EAAE;oBACd,WAAW,EACP,wDAAwD;oBAC5D,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE,CAAC,UAAU,CAAC;iBACrB;gBACD,OA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;IACD,UAAU,EAAE;QACR,OAAO,EAAE;YACL,0BAA0B,EAA1B,yDAA0B;YAC1B,uBAAuB,EAAvB,mDAAuB;YACvB,gBAAgB,EAAhB,oCAAgB;YAChB,aAAa,EAAb,8BAAa;YACb,cAAc,EAAd,gCAAc;SACjB;KACJ;CACK,CAAC"}
|
|
1
|
+
{"version":3,"file":"playground-strategy-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/playground-strategy-schema.ts"],"names":[],"mappings":";;;AACA,2DAAuD;AACvD,iFAA4E;AAC5E,2EAAsE;AACtE,qDAAiD;AACjD,uDAAmD;AAEtC,QAAA,4BAA4B,GAAG;IACxC,kBAAkB,EAAE,UAAU;IAC9B,oBAAoB,EAAE,YAAY;IAClC,aAAa,EAAE,SAAS;CAClB,CAAC;AAEE,QAAA,yBAAyB,GAAG;IACrC,KAAK,EAAE;QACH;YACI,IAAI,EAAE,QAAQ;YACd,oBAAoB,EAAE,KAAK;YAC3B,QAAQ,EAAE,CAAC,kBAAkB,EAAE,SAAS,CAAC;YACzC,UAAU,EAAE;gBACR,gBAAgB,EAAE;oBACd,IAAI,EAAE,QAAQ;oBACd,WAAW,EACP,gJAAgJ;oBACpJ,IAAI,EAAE,CAAC,oCAA4B,CAAC,oBAAoB,CAAC;iBAC5D;gBACD,OAAO,EAAE;oBACL,WAAW,EACP,uRAAuR;oBAC3R,KAAK,EAAE;wBACH,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,KAAK,CAAC,EAAE;wBAClC;4BACI,IAAI,EAAE,QAAQ;4BACd,IAAI,EAAE,CAAC,oCAA4B,CAAC,aAAa,CAAC;yBACrD;qBACJ;iBACJ;aACJ;SACJ;QACD;YACI,IAAI,EAAE,QAAQ;YACd,oBAAoB,EAAE,KAAK;YAC3B,QAAQ,EAAE,CAAC,kBAAkB,EAAE,SAAS,CAAC;YACzC,UAAU,EAAE;gBACR,gBAAgB,EAAE;oBACd,WAAW,EACP,wDAAwD;oBAC5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EAAE;gBACR,IAAI,EAAE;oBACF,IAAI,EAAE,QAAQ;oBACd,OAAO,EACH,sIAAsI;iBAC7I;aACJ;SACJ;KACJ;IACD,UAAU,EAAE;QACR,OAAO,EAAE;YACL,0BAA0B,EAA1B,yDAA0B;YAC1B,uBAAuB,EAAvB,mDAAuB;YACvB,gBAAgB,EAAhB,oCAAgB;YAChB,aAAa,EAAb,8BAAa;YACb,cAAc,EAAd,gCAAc;SACjB;KACJ;CACK,CAAC"}
|
|
@@ -99,8 +99,9 @@ export declare const profileSchema: {
|
|
|
99
99
|
readonly type: "string";
|
|
100
100
|
readonly format: "date-time";
|
|
101
101
|
readonly nullable: true;
|
|
102
|
+
readonly deprecated: true;
|
|
102
103
|
readonly example: "2023-01-28T16:21:39.975Z";
|
|
103
|
-
readonly description: "The date when metrics where last collected for the feature";
|
|
104
|
+
readonly description: "The date when metrics where last collected for the feature. This field is deprecated, use the one in featureEnvironmentSchema";
|
|
104
105
|
};
|
|
105
106
|
readonly environments: {
|
|
106
107
|
readonly type: "array";
|
|
@@ -235,6 +236,13 @@ export declare const profileSchema: {
|
|
|
235
236
|
};
|
|
236
237
|
readonly description: "A list of variants for the feature environment";
|
|
237
238
|
};
|
|
239
|
+
readonly lastSeenAt: {
|
|
240
|
+
readonly type: "string";
|
|
241
|
+
readonly format: "date-time";
|
|
242
|
+
readonly nullable: true;
|
|
243
|
+
readonly example: "2023-01-28T16:21:39.975Z";
|
|
244
|
+
readonly description: "The date when metrics where last collected for the feature environment";
|
|
245
|
+
};
|
|
238
246
|
};
|
|
239
247
|
readonly components: {
|
|
240
248
|
readonly schemas: {
|
|
@@ -148,7 +148,6 @@ export declare const projectEnvironmentSchema: {
|
|
|
148
148
|
readonly createStrategyVariantSchema: {
|
|
149
149
|
readonly $id: "#/components/schemas/createStrategyVariantSchema";
|
|
150
150
|
readonly type: "object";
|
|
151
|
-
readonly additionalProperties: true;
|
|
152
151
|
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.";
|
|
153
152
|
readonly required: readonly ["name", "weight", "weightType", "stickiness"];
|
|
154
153
|
readonly properties: {
|
|
@@ -203,7 +202,6 @@ export declare const projectEnvironmentSchema: {
|
|
|
203
202
|
readonly createStrategyVariantSchema: {
|
|
204
203
|
readonly $id: "#/components/schemas/createStrategyVariantSchema";
|
|
205
204
|
readonly type: "object";
|
|
206
|
-
readonly additionalProperties: true;
|
|
207
205
|
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.";
|
|
208
206
|
readonly required: readonly ["name", "weight", "weightType", "stickiness"];
|
|
209
207
|
readonly properties: {
|
|
@@ -11,8 +11,9 @@ export declare const projectOverviewSchema: {
|
|
|
11
11
|
readonly description: "Project statistics";
|
|
12
12
|
};
|
|
13
13
|
readonly version: {
|
|
14
|
-
readonly type: "
|
|
14
|
+
readonly type: "integer";
|
|
15
15
|
readonly example: 1;
|
|
16
|
+
readonly description: "The schema version used to describe the project overview";
|
|
16
17
|
};
|
|
17
18
|
readonly name: {
|
|
18
19
|
readonly type: "string";
|
|
@@ -85,12 +86,14 @@ export declare const projectOverviewSchema: {
|
|
|
85
86
|
readonly format: "date-time";
|
|
86
87
|
readonly nullable: true;
|
|
87
88
|
readonly example: "2023-02-10T08:36:35.262Z";
|
|
89
|
+
readonly description: "When the project was last updated.";
|
|
88
90
|
};
|
|
89
91
|
readonly createdAt: {
|
|
90
92
|
readonly type: "string";
|
|
91
93
|
readonly format: "date-time";
|
|
92
94
|
readonly nullable: true;
|
|
93
95
|
readonly example: "2023-02-10T08:36:35.262Z";
|
|
96
|
+
readonly description: "When the project was created.";
|
|
94
97
|
};
|
|
95
98
|
readonly favorite: {
|
|
96
99
|
readonly type: "boolean";
|
|
@@ -305,7 +308,6 @@ export declare const projectOverviewSchema: {
|
|
|
305
308
|
readonly createStrategyVariantSchema: {
|
|
306
309
|
readonly $id: "#/components/schemas/createStrategyVariantSchema";
|
|
307
310
|
readonly type: "object";
|
|
308
|
-
readonly additionalProperties: true;
|
|
309
311
|
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.";
|
|
310
312
|
readonly required: readonly ["name", "weight", "weightType", "stickiness"];
|
|
311
313
|
readonly properties: {
|
|
@@ -360,7 +362,6 @@ export declare const projectOverviewSchema: {
|
|
|
360
362
|
readonly createStrategyVariantSchema: {
|
|
361
363
|
readonly $id: "#/components/schemas/createStrategyVariantSchema";
|
|
362
364
|
readonly type: "object";
|
|
363
|
-
readonly additionalProperties: true;
|
|
364
365
|
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.";
|
|
365
366
|
readonly required: readonly ["name", "weight", "weightType", "stickiness"];
|
|
366
367
|
readonly properties: {
|
|
@@ -537,7 +538,6 @@ export declare const projectOverviewSchema: {
|
|
|
537
538
|
readonly createStrategyVariantSchema: {
|
|
538
539
|
readonly $id: "#/components/schemas/createStrategyVariantSchema";
|
|
539
540
|
readonly type: "object";
|
|
540
|
-
readonly additionalProperties: true;
|
|
541
541
|
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.";
|
|
542
542
|
readonly required: readonly ["name", "weight", "weightType", "stickiness"];
|
|
543
543
|
readonly properties: {
|
|
@@ -592,7 +592,6 @@ export declare const projectOverviewSchema: {
|
|
|
592
592
|
readonly createStrategyVariantSchema: {
|
|
593
593
|
readonly $id: "#/components/schemas/createStrategyVariantSchema";
|
|
594
594
|
readonly type: "object";
|
|
595
|
-
readonly additionalProperties: true;
|
|
596
595
|
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.";
|
|
597
596
|
readonly required: readonly ["name", "weight", "weightType", "stickiness"];
|
|
598
597
|
readonly properties: {
|
|
@@ -756,8 +755,9 @@ export declare const projectOverviewSchema: {
|
|
|
756
755
|
readonly type: "string";
|
|
757
756
|
readonly format: "date-time";
|
|
758
757
|
readonly nullable: true;
|
|
758
|
+
readonly deprecated: true;
|
|
759
759
|
readonly example: "2023-01-28T16:21:39.975Z";
|
|
760
|
-
readonly description: "The date when metrics where last collected for the feature";
|
|
760
|
+
readonly description: "The date when metrics where last collected for the feature. This field is deprecated, use the one in featureEnvironmentSchema";
|
|
761
761
|
};
|
|
762
762
|
readonly environments: {
|
|
763
763
|
readonly type: "array";
|
|
@@ -892,6 +892,13 @@ export declare const projectOverviewSchema: {
|
|
|
892
892
|
};
|
|
893
893
|
readonly description: "A list of variants for the feature environment";
|
|
894
894
|
};
|
|
895
|
+
readonly lastSeenAt: {
|
|
896
|
+
readonly type: "string";
|
|
897
|
+
readonly format: "date-time";
|
|
898
|
+
readonly nullable: true;
|
|
899
|
+
readonly example: "2023-01-28T16:21:39.975Z";
|
|
900
|
+
readonly description: "The date when metrics where last collected for the feature environment";
|
|
901
|
+
};
|
|
895
902
|
};
|
|
896
903
|
readonly components: {
|
|
897
904
|
readonly schemas: {
|
|
@@ -1692,6 +1699,13 @@ export declare const projectOverviewSchema: {
|
|
|
1692
1699
|
};
|
|
1693
1700
|
readonly description: "A list of variants for the feature environment";
|
|
1694
1701
|
};
|
|
1702
|
+
readonly lastSeenAt: {
|
|
1703
|
+
readonly type: "string";
|
|
1704
|
+
readonly format: "date-time";
|
|
1705
|
+
readonly nullable: true;
|
|
1706
|
+
readonly example: "2023-01-28T16:21:39.975Z";
|
|
1707
|
+
readonly description: "The date when metrics where last collected for the feature environment";
|
|
1708
|
+
};
|
|
1695
1709
|
};
|
|
1696
1710
|
readonly components: {
|
|
1697
1711
|
readonly schemas: {
|
|
@@ -26,8 +26,9 @@ exports.projectOverviewSchema = {
|
|
|
26
26
|
description: 'Project statistics',
|
|
27
27
|
},
|
|
28
28
|
version: {
|
|
29
|
-
type: '
|
|
29
|
+
type: 'integer',
|
|
30
30
|
example: 1,
|
|
31
|
+
description: 'The schema version used to describe the project overview',
|
|
31
32
|
},
|
|
32
33
|
name: {
|
|
33
34
|
type: 'string',
|
|
@@ -101,12 +102,14 @@ exports.projectOverviewSchema = {
|
|
|
101
102
|
format: 'date-time',
|
|
102
103
|
nullable: true,
|
|
103
104
|
example: '2023-02-10T08:36:35.262Z',
|
|
105
|
+
description: 'When the project was last updated.',
|
|
104
106
|
},
|
|
105
107
|
createdAt: {
|
|
106
108
|
type: 'string',
|
|
107
109
|
format: 'date-time',
|
|
108
110
|
nullable: true,
|
|
109
111
|
example: '2023-02-10T08:36:35.262Z',
|
|
112
|
+
description: 'When the project was created.',
|
|
110
113
|
},
|
|
111
114
|
favorite: {
|
|
112
115
|
type: 'boolean',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project-overview-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/project-overview-schema.ts"],"names":[],"mappings":";;;AACA,2DAAuD;AACvD,qDAAiD;AACjD,uDAAmD;AACnD,uEAAkE;AAClE,qDAAiD;AACjD,2DAAuD;AACvD,6DAAyD;AACzD,6EAAwE;AACxE,iEAA4D;AAC5D,qFAA+E;AAC/E,6EAAwE;AACxE,qFAA+E;AAC/E,uEAAkE;AAErD,QAAA,qBAAqB,GAAG;IACjC,GAAG,EAAE,4CAA4C;IACjD,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,SAAS,EAAE,MAAM,CAAC;IAC7B,WAAW,EACP,mKAAmK;IACvK,UAAU,EAAE;QACR,KAAK,EAAE;YACH,IAAI,EAAE,yCAAyC;YAC/C,WAAW,EAAE,oBAAoB;SACpC;QACD,OAAO,EAAE;YACL,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"project-overview-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/project-overview-schema.ts"],"names":[],"mappings":";;;AACA,2DAAuD;AACvD,qDAAiD;AACjD,uDAAmD;AACnD,uEAAkE;AAClE,qDAAiD;AACjD,2DAAuD;AACvD,6DAAyD;AACzD,6EAAwE;AACxE,iEAA4D;AAC5D,qFAA+E;AAC/E,6EAAwE;AACxE,qFAA+E;AAC/E,uEAAkE;AAErD,QAAA,qBAAqB,GAAG;IACjC,GAAG,EAAE,4CAA4C;IACjD,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,SAAS,EAAE,MAAM,CAAC;IAC7B,WAAW,EACP,mKAAmK;IACvK,UAAU,EAAE;QACR,KAAK,EAAE;YACH,IAAI,EAAE,yCAAyC;YAC/C,WAAW,EAAE,oBAAoB;SACpC;QACD,OAAO,EAAE;YACL,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,CAAC;YACV,WAAW,EACP,0DAA0D;SACjE;QACD,IAAI,EAAE;YACF,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,UAAU;YACnB,WAAW,EAAE,0BAA0B;SAC1C;QACD,WAAW,EAAE;YACT,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,0BAA0B;YACnC,WAAW,EAAE,0CAA0C;SAC1D;QACD,iBAAiB,EAAE;YACf,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,QAAQ;YACjB,WAAW,EACP,uHAAuH;SAC9H;QACD,IAAI,EAAE;YACF,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,CAAC,MAAM,EAAE,WAAW,CAAC;YAC3B,OAAO,EAAE,MAAM;YACf,WAAW,EACP,gLAAgL;SACvL;QACD,YAAY,EAAE;YACV,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;YACd,OAAO,E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qDAAwB;YACxB,2BAA2B,EAA3B,4DAA2B;YAC3B,2BAA2B,EAA3B,4DAA2B;YAC3B,gBAAgB,EAAhB,oCAAgB;YAChB,aAAa,EAAb,8BAAa;YACb,wBAAwB,EAAxB,qDAAwB;YACxB,cAAc,EAAd,gCAAc;YACd,gBAAgB,EAAhB,oCAAgB;YAChB,qBAAqB,EAArB,+CAAqB;YACrB,qBAAqB,EAArB,+CAAqB;YACrB,aAAa,EAAb,8BAAa;YACb,kBAAkB,EAAlB,yCAAkB;SACrB;KACJ;CACK,CAAC"}
|
|
@@ -39,12 +39,16 @@ export declare const projectSchema: {
|
|
|
39
39
|
};
|
|
40
40
|
readonly createdAt: {
|
|
41
41
|
readonly type: "string";
|
|
42
|
+
readonly description: "When this project was created.";
|
|
43
|
+
readonly example: "2023-07-27T12:12:28Z";
|
|
42
44
|
readonly format: "date-time";
|
|
43
45
|
};
|
|
44
46
|
readonly updatedAt: {
|
|
45
47
|
readonly type: "string";
|
|
46
48
|
readonly format: "date-time";
|
|
47
49
|
readonly nullable: true;
|
|
50
|
+
readonly description: "When this project was last updated.";
|
|
51
|
+
readonly example: "2023-07-28T12:12:28Z";
|
|
48
52
|
};
|
|
49
53
|
readonly favorite: {
|
|
50
54
|
readonly type: "boolean";
|
|
@@ -41,12 +41,16 @@ exports.projectSchema = {
|
|
|
41
41
|
},
|
|
42
42
|
createdAt: {
|
|
43
43
|
type: 'string',
|
|
44
|
+
description: 'When this project was created.',
|
|
45
|
+
example: '2023-07-27T12:12:28Z',
|
|
44
46
|
format: 'date-time',
|
|
45
47
|
},
|
|
46
48
|
updatedAt: {
|
|
47
49
|
type: 'string',
|
|
48
50
|
format: 'date-time',
|
|
49
51
|
nullable: true,
|
|
52
|
+
description: 'When this project was last updated.',
|
|
53
|
+
example: '2023-07-28T12:12:28Z',
|
|
50
54
|
},
|
|
51
55
|
favorite: {
|
|
52
56
|
type: 'boolean',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/project-schema.ts"],"names":[],"mappings":";;;AAEa,QAAA,aAAa,GAAG;IACzB,GAAG,EAAE,oCAAoC;IACzC,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC;IACxB,WAAW,EACP,gEAAgE;IACpE,UAAU,EAAE;QACR,EAAE,EAAE;YACA,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,UAAU;YACnB,WAAW,EAAE,wBAAwB;SACxC;QACD,IAAI,EAAE;YACF,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,UAAU;YACnB,WAAW,EAAE,0BAA0B;SAC1C;QACD,WAAW,EAAE;YACT,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,0BAA0B;YACnC,WAAW,EAAE,0CAA0C;SAC1D;QACD,MAAM,EAAE;YACJ,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE;YACX,WAAW,EACP,oIAAoI;SAC3I;QACD,YAAY,EAAE;YACV,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE;YACX,WAAW,EAAE,yCAAyC;SACzD;QACD,WAAW,EAAE;YACT,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,CAAC;YACV,WAAW,EAAE,wCAAwC;SACxD;QACD,SAAS,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,MAAM,EAAE,WAAW;SACtB;QACD,SAAS,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,MAAM,EAAE,WAAW;YACnB,QAAQ,EAAE,IAAI;
|
|
1
|
+
{"version":3,"file":"project-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/project-schema.ts"],"names":[],"mappings":";;;AAEa,QAAA,aAAa,GAAG;IACzB,GAAG,EAAE,oCAAoC;IACzC,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,QA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,QAAQ;YACd,OAAO,EAAE,QAAQ;YACjB,WAAW,EACP,uHAAuH;SAC9H;KACJ;IACD,UAAU,EAAE,EAAE;CACR,CAAC"}
|
|
@@ -8,6 +8,8 @@ export declare const projectsSchema: {
|
|
|
8
8
|
readonly properties: {
|
|
9
9
|
readonly version: {
|
|
10
10
|
readonly type: "integer";
|
|
11
|
+
readonly description: "The schema version used to represent the project data.";
|
|
12
|
+
readonly example: 1;
|
|
11
13
|
};
|
|
12
14
|
readonly projects: {
|
|
13
15
|
readonly type: "array";
|
|
@@ -59,12 +61,16 @@ export declare const projectsSchema: {
|
|
|
59
61
|
};
|
|
60
62
|
readonly createdAt: {
|
|
61
63
|
readonly type: "string";
|
|
64
|
+
readonly description: "When this project was created.";
|
|
65
|
+
readonly example: "2023-07-27T12:12:28Z";
|
|
62
66
|
readonly format: "date-time";
|
|
63
67
|
};
|
|
64
68
|
readonly updatedAt: {
|
|
65
69
|
readonly type: "string";
|
|
66
70
|
readonly format: "date-time";
|
|
67
71
|
readonly nullable: true;
|
|
72
|
+
readonly description: "When this project was last updated.";
|
|
73
|
+
readonly example: "2023-07-28T12:12:28Z";
|
|
68
74
|
};
|
|
69
75
|
readonly favorite: {
|
|
70
76
|
readonly type: "boolean";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projects-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/projects-schema.ts"],"names":[],"mappings":";;;AACA,qDAAiD;AAEpC,QAAA,cAAc,GAAG;IAC1B,GAAG,EAAE,qCAAqC;IAC1C,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,SAAS,EAAE,UAAU,CAAC;IACjC,WAAW,EAAE,yDAAyD;IACtE,UAAU,EAAE;QACR,OAAO,EAAE;YACL,IAAI,EAAE,SAAS;
|
|
1
|
+
{"version":3,"file":"projects-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/projects-schema.ts"],"names":[],"mappings":";;;AACA,qDAAiD;AAEpC,QAAA,cAAc,GAAG;IAC1B,GAAG,EAAE,qCAAqC;IAC1C,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,SAAS,EAAE,UAAU,CAAC;IACjC,WAAW,EAAE,yDAAyD;IACtE,UAAU,EAAE;QACR,OAAO,EAAE;YACL,IAAI,EAAE,SAAS;YACf,WAAW,EACP,wDAAwD;YAC5D,OAAO,EAAE,CAAC;SACb;QACD,QAAQ,EAAE;YACN,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACH,IAAI,EAAE,oCAAoC;aAC7C;YACD,WAAW,EAAE,4CAA4C;SAC5D;KACJ;IACD,UAAU,EAAE;QACR,OAAO,EAAE;YACL,aAAa,EAAb,8BAAa;SAChB;KACJ;CACK,CAAC"}
|
|
@@ -14,6 +14,7 @@ export declare const publicSignupTokenSchema: {
|
|
|
14
14
|
readonly url: {
|
|
15
15
|
readonly description: "The public signup link for the token. Users who follow this link will be taken to a signup page where they can create an Unleash user.";
|
|
16
16
|
readonly type: "string";
|
|
17
|
+
readonly nullable: true;
|
|
17
18
|
readonly example: "https://sandbox.getunleash.io/enterprise/new-user?invite=a3c84b25409ea8ca1782ef17f94a42fc";
|
|
18
19
|
};
|
|
19
20
|
readonly name: {
|
|
@@ -82,6 +83,7 @@ export declare const publicSignupTokenSchema: {
|
|
|
82
83
|
readonly description: "Name of the user";
|
|
83
84
|
readonly type: "string";
|
|
84
85
|
readonly example: "User";
|
|
86
|
+
readonly nullable: true;
|
|
85
87
|
};
|
|
86
88
|
readonly email: {
|
|
87
89
|
readonly description: "Email of the user";
|
|
@@ -115,7 +117,7 @@ export declare const publicSignupTokenSchema: {
|
|
|
115
117
|
readonly example: false;
|
|
116
118
|
};
|
|
117
119
|
readonly rootRole: {
|
|
118
|
-
readonly description: "Which [root role](https://docs.getunleash.io/reference/rbac#
|
|
120
|
+
readonly description: "Which [root role](https://docs.getunleash.io/reference/rbac#predefined-roles) this user is assigned";
|
|
119
121
|
readonly type: "integer";
|
|
120
122
|
readonly example: 1;
|
|
121
123
|
readonly minimum: 0;
|
|
@@ -27,6 +27,7 @@ exports.publicSignupTokenSchema = {
|
|
|
27
27
|
url: {
|
|
28
28
|
description: 'The public signup link for the token. Users who follow this link will be taken to a signup page where they can create an Unleash user.',
|
|
29
29
|
type: 'string',
|
|
30
|
+
nullable: true,
|
|
30
31
|
example: 'https://sandbox.getunleash.io/enterprise/new-user?invite=a3c84b25409ea8ca1782ef17f94a42fc',
|
|
31
32
|
},
|
|
32
33
|
name: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-signup-token-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/public-signup-token-schema.ts"],"names":[],"mappings":";;;AACA,+CAA2C;AAC3C,+CAA2C;AAE9B,QAAA,uBAAuB,GAAG;IACnC,GAAG,EAAE,8CAA8C;IACnD,WAAW,EACP,wHAAwH;IAC5H,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE;QACN,QAAQ;QACR,KAAK;QACL,MAAM;QACN,WAAW;QACX,WAAW;QACX,WAAW;QACX,SAAS;QACT,MAAM;KACT;IACD,UAAU,EAAE;QACR,MAAM,EAAE;YACJ,WAAW,EACP,kGAAkG;YACtG,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,kCAAkC;SAC9C;QACD,GAAG,EAAE;YACD,WAAW,EACP,wIAAwI;YAC5I,IAAI,EAAE,QAAQ;YACd,OAAO,EACH,2FAA2F;SAClG;QACD,IAAI,EAAE;YACF,WAAW,EAAE,iDAAiD;YAC9D,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,uBAAuB;SACnC;QACD,OAAO,EAAE;YACL,WAAW,EACP,iGAAiG;YACrG,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,IAAI;SAChB;QACD,SAAS,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,sCAAsC;YACnD,MAAM,EAAE,WAAW;YACnB,OAAO,EAAE,0BAA0B;SACtC;QACD,SAAS,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,MAAM,EAAE,WAAW;YACnB,WAAW,EAAE,6BAA6B;YAC1C,OAAO,EAAE,0BAA0B;SACtC;QACD,SAAS,EAAE;YACP,WAAW,EAAE,iCAAiC;YAC9C,OAAO,EAAE,qBAAqB;YAC9B,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;SACjB;QACD,KAAK,EAAE;YACH,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,qDAAqD;YAClE,KAAK,EAAE;gBACH,IAAI,EAAE,iCAAiC;aAC1C;YACD,QAAQ,EAAE,IAAI;SACjB;QACD,IAAI,EAAE;YACF,WAAW,EACP,6DAA6D;YACjE,IAAI,EAAE,iCAAiC;SAC1C;KACJ;IACD,UAAU,EAAE;QACR,OAAO,EAAE;YACL,UAAU,EAAV,wBAAU;YACV,UAAU,EAAV,wBAAU;SACb;KACJ;CACK,CAAC"}
|
|
1
|
+
{"version":3,"file":"public-signup-token-schema.js","sourceRoot":"","sources":["../../../../src/lib/openapi/spec/public-signup-token-schema.ts"],"names":[],"mappings":";;;AACA,+CAA2C;AAC3C,+CAA2C;AAE9B,QAAA,uBAAuB,GAAG;IACnC,GAAG,EAAE,8CAA8C;IACnD,WAAW,EACP,wHAAwH;IAC5H,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE;QACN,QAAQ;QACR,KAAK;QACL,MAAM;QACN,WAAW;QACX,WAAW;QACX,WAAW;QACX,SAAS;QACT,MAAM;KACT;IACD,UAAU,EAAE;QACR,MAAM,EAAE;YACJ,WAAW,EACP,kGAAkG;YACtG,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,kCAAkC;SAC9C;QACD,GAAG,EAAE;YACD,WAAW,EACP,wIAAwI;YAC5I,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;YACd,OAAO,EACH,2FAA2F;SAClG;QACD,IAAI,EAAE;YACF,WAAW,EAAE,iDAAiD;YAC9D,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,uBAAuB;SACnC;QACD,OAAO,EAAE;YACL,WAAW,EACP,iGAAiG;YACrG,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,IAAI;SAChB;QACD,SAAS,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,sCAAsC;YACnD,MAAM,EAAE,WAAW;YACnB,OAAO,EAAE,0BAA0B;SACtC;QACD,SAAS,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,MAAM,EAAE,WAAW;YACnB,WAAW,EAAE,6BAA6B;YAC1C,OAAO,EAAE,0BAA0B;SACtC;QACD,SAAS,EAAE;YACP,WAAW,EAAE,iCAAiC;YAC9C,OAAO,EAAE,qBAAqB;YAC9B,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;SACjB;QACD,KAAK,EAAE;YACH,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,qDAAqD;YAClE,KAAK,EAAE;gBACH,IAAI,EAAE,iCAAiC;aAC1C;YACD,QAAQ,EAAE,IAAI;SACjB;QACD,IAAI,EAAE;YACF,WAAW,EACP,6DAA6D;YACjE,IAAI,EAAE,iCAAiC;SAC1C;KACJ;IACD,UAAU,EAAE;QACR,OAAO,EAAE;YACL,UAAU,EAAV,wBAAU;YACV,UAAU,EAAV,wBAAU;SACb;KACJ;CACK,CAAC"}
|
|
@@ -46,6 +46,7 @@ export declare const publicSignupTokensSchema: {
|
|
|
46
46
|
readonly url: {
|
|
47
47
|
readonly description: "The public signup link for the token. Users who follow this link will be taken to a signup page where they can create an Unleash user.";
|
|
48
48
|
readonly type: "string";
|
|
49
|
+
readonly nullable: true;
|
|
49
50
|
readonly example: "https://sandbox.getunleash.io/enterprise/new-user?invite=a3c84b25409ea8ca1782ef17f94a42fc";
|
|
50
51
|
};
|
|
51
52
|
readonly name: {
|
|
@@ -114,6 +115,7 @@ export declare const publicSignupTokensSchema: {
|
|
|
114
115
|
readonly description: "Name of the user";
|
|
115
116
|
readonly type: "string";
|
|
116
117
|
readonly example: "User";
|
|
118
|
+
readonly nullable: true;
|
|
117
119
|
};
|
|
118
120
|
readonly email: {
|
|
119
121
|
readonly description: "Email of the user";
|
|
@@ -147,7 +149,7 @@ export declare const publicSignupTokensSchema: {
|
|
|
147
149
|
readonly example: false;
|
|
148
150
|
};
|
|
149
151
|
readonly rootRole: {
|
|
150
|
-
readonly description: "Which [root role](https://docs.getunleash.io/reference/rbac#
|
|
152
|
+
readonly description: "Which [root role](https://docs.getunleash.io/reference/rbac#predefined-roles) this user is assigned";
|
|
151
153
|
readonly type: "integer";
|
|
152
154
|
readonly example: 1;
|
|
153
155
|
readonly minimum: 0;
|
|
@@ -238,6 +240,7 @@ export declare const publicSignupTokensSchema: {
|
|
|
238
240
|
readonly description: "Name of the user";
|
|
239
241
|
readonly type: "string";
|
|
240
242
|
readonly example: "User";
|
|
243
|
+
readonly nullable: true;
|
|
241
244
|
};
|
|
242
245
|
readonly email: {
|
|
243
246
|
readonly description: "Email of the user";
|
|
@@ -271,7 +274,7 @@ export declare const publicSignupTokensSchema: {
|
|
|
271
274
|
readonly example: false;
|
|
272
275
|
};
|
|
273
276
|
readonly rootRole: {
|
|
274
|
-
readonly description: "Which [root role](https://docs.getunleash.io/reference/rbac#
|
|
277
|
+
readonly description: "Which [root role](https://docs.getunleash.io/reference/rbac#predefined-roles) this user is assigned";
|
|
275
278
|
readonly type: "integer";
|
|
276
279
|
readonly example: 1;
|
|
277
280
|
readonly minimum: 0;
|