From 8648649047e52552cc3cc34832aa91c0f61a0fe0 Mon Sep 17 00:00:00 2001 From: Christopher Kolstad Date: Tue, 6 Sep 2022 13:22:41 +0200 Subject: [PATCH] task: use swc instead of ts-jest (#2042) --- package.json | 11 +- .../__snapshots__/create-config.test.ts.snap | 58 +- .../addons/__snapshots__/datadog.test.ts.snap | 6 +- .../addons/__snapshots__/slack.test.ts.snap | 6 +- .../addons/__snapshots__/teams.test.ts.snap | 6 +- src/lib/openapi/index.test.ts | 2 +- .../api-token-schema.test.ts.snap | 8 +- .../change-password-schema.test.ts.snap | 8 +- .../client-application-schema.test.ts.snap | 8 +- .../client-features-schema.test.ts.snap | 8 +- .../client-metrics-schema.test.ts.snap | 8 +- .../constraint-schema.test.ts.snap | 18 +- .../context-field-schema.test.ts.snap | 8 +- .../__snapshots__/email-schema.test.ts.snap | 8 +- .../feature-environment-schema.test.ts.snap | 8 +- .../__snapshots__/feature-schema.test.ts.snap | 16 +- .../feature-type-schema.test.ts.snap | 8 +- .../spec/__snapshots__/me-schema.test.ts.snap | 24 +- .../__snapshots__/role-schema.test.ts.snap | 8 +- ...et-strategy-sort-order-schema.test.ts.snap | 32 +- .../sort-order-schema.test.ts.snap | 8 +- .../strategy-schema.test.ts.snap | 8 +- .../token-user-schema.test.ts.snap | 8 +- .../validate-password-schema.test.ts.snap | 8 +- .../util/create-request-schema.test.ts | 8 +- .../util/create-response-schema.test.ts | 8 +- .../client-metrics/instance-service.test.ts | 8 +- src/lib/util/timer.test.ts | 2 +- src/test/e2e/api/client/register.e2e.test.ts | 2 +- .../__snapshots__/openapi.e2e.test.ts.snap | 4624 ++++++++--------- src/test/e2e/stores/event-store.e2e.test.ts | 4 +- yarn.lock | 1507 +++--- 32 files changed, 3128 insertions(+), 3326 deletions(-) diff --git a/package.json b/package.json index 963d5d10d2..c89660b5bd 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,9 @@ "testTimeout": 10000, "globalSetup": "./scripts/jest-setup.js", "transform": { - "^.+\\.tsx?$": "ts-jest" + "^.+\\.tsx?$": [ + "@swc/jest" + ] }, "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$", "testPathIgnorePatterns": [ @@ -138,7 +140,7 @@ "@types/express": "4.17.13", "@types/express-session": "1.17.5", "@types/faker": "5.5.9", - "@types/jest": "27.5.2", + "@types/jest": "29.0.0", "@types/js-yaml": "4.0.5", "@types/make-fetch-happen": "10.0.0", "@types/memoizee": "0.4.8", @@ -166,7 +168,7 @@ "fast-check": "3.1.2", "fetch-mock": "9.11.0", "husky": "8.0.1", - "jest": "27.5.1", + "jest": "29.0.1", "lint-staged": "13.0.3", "nock": "13.2.9", "prettier": "2.7.1", @@ -174,7 +176,8 @@ "source-map-support": "0.5.21", "superagent": "8.0.0", "supertest": "6.2.4", - "ts-jest": "27.1.5", + "@swc/core": "1.2.246", + "@swc/jest": "0.2.22", "ts-node": "10.9.1", "tsc-watch": "5.0.3", "typescript": "4.8.2" diff --git a/src/lib/__snapshots__/create-config.test.ts.snap b/src/lib/__snapshots__/create-config.test.ts.snap index 941c6624cd..bd009e0381 100644 --- a/src/lib/__snapshots__/create-config.test.ts.snap +++ b/src/lib/__snapshots__/create-config.test.ts.snap @@ -1,26 +1,26 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`should create default config 1`] = ` -Object { - "additionalCspAllowedDomains": Object { - "defaultSrc": Array [], - "fontSrc": Array [], - "imgSrc": Array [], - "scriptSrc": Array [], - "styleSrc": Array [], +{ + "additionalCspAllowedDomains": { + "defaultSrc": [], + "fontSrc": [], + "imgSrc": [], + "scriptSrc": [], + "styleSrc": [], }, - "authentication": Object { + "authentication": { "createAdminUser": true, "customAuthHandler": [Function], "enableApiToken": true, - "initApiTokens": Array [], + "initApiTokens": [], "type": "open-source", }, - "clientFeatureCaching": Object { + "clientFeatureCaching": { "enabled": true, "maxAge": 600, }, - "db": Object { + "db": { "acquireConnectionTimeout": 30000, "applicationName": "unleash", "database": "unleash_db", @@ -28,7 +28,7 @@ Object { "driver": "postgres", "host": "localhost", "password": "password", - "pool": Object { + "pool": { "idleTimeoutMillis": 30000, "max": 4, "min": 0, @@ -36,14 +36,14 @@ Object { }, "port": 4242, "schema": "public", - "ssl": Object { + "ssl": { "rejectUnauthorized": false, }, "user": "unleash", "version": undefined, }, "disableLegacyFeaturesApi": false, - "email": Object { + "email": { "host": undefined, "port": 587, "secure": false, @@ -53,19 +53,19 @@ Object { }, "enableOAS": false, "enterpriseVersion": undefined, - "environmentEnableOverrides": Array [], + "environmentEnableOverrides": [], "eventBus": EventEmitter { - "_events": Object {}, + "_events": {}, "_eventsCount": 0, "_maxListeners": undefined, Symbol(kCapture): false, }, "eventHook": undefined, - "experimental": Object { - "externalResolver": Object { + "experimental": { + "externalResolver": { "isEnabled": [Function], }, - "flags": Object { + "flags": { "ENABLE_DARK_MODE_SUPPORT": false, "anonymiseEventLog": false, "batchMetrics": false, @@ -74,28 +74,28 @@ Object { }, }, "flagResolver": FlagResolver { - "experiments": Object { + "experiments": { "ENABLE_DARK_MODE_SUPPORT": false, "anonymiseEventLog": false, "batchMetrics": false, "embedProxy": false, "embedProxyFrontend": false, }, - "externalResolver": Object { + "externalResolver": { "isEnabled": [Function], }, }, - "frontendApiOrigins": Array [ + "frontendApiOrigins": [ "*", ], "getLogger": [Function], - "import": Object { + "import": { "dropBeforeImport": false, "file": undefined, "keepExisting": false, }, "inlineSegmentConstraints": true, - "listen": Object { + "listen": { "host": undefined, "port": 4242, }, @@ -103,7 +103,7 @@ Object { "preRouterHook": undefined, "secureHeaders": false, "segmentValuesLimit": 100, - "server": Object { + "server": { "baseUriPath": "", "cdnPrefix": undefined, "enableRequestLogger": false, @@ -118,20 +118,20 @@ Object { "serverMetrics": true, "unleashUrl": "http://localhost:4242", }, - "session": Object { + "session": { "clearSiteDataOnLogout": true, "cookieName": "unleash-session", "db": true, "ttlHours": 48, }, "strategySegmentsLimit": 5, - "ui": Object { - "flags": Object { + "ui": { + "flags": { "E": true, "ENABLE_DARK_MODE_SUPPORT": false, }, }, - "versionCheck": Object { + "versionCheck": { "enable": true, "url": "https://version.unleash.run", }, diff --git a/src/lib/addons/__snapshots__/datadog.test.ts.snap b/src/lib/addons/__snapshots__/datadog.test.ts.snap index d8850892cc..b9b72302b2 100644 --- a/src/lib/addons/__snapshots__/datadog.test.ts.snap +++ b/src/lib/addons/__snapshots__/datadog.test.ts.snap @@ -1,7 +1,7 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`Should call datadog webhook for archived toggle 1`] = `"{\\"text\\":\\"%%% \\\\n some@user.com just archived feature toggle *[some-toggle](http://some-url.com/archive)* \\\\n %%% \\",\\"title\\":\\"Unleash notification update\\"}"`; +exports[`Should call datadog webhook for archived toggle 1`] = `"{"text":"%%% \\n some@user.com just archived feature toggle *[some-toggle](http://some-url.com/archive)* \\n %%% ","title":"Unleash notification update"}"`; -exports[`Should call datadog webhook 1`] = `"{\\"text\\":\\"%%% \\\\n some@user.com created feature toggle [some-toggle](http://some-url.com/projects//some-toggle) in project *undefined* \\\\n %%% \\",\\"title\\":\\"Unleash notification update\\"}"`; +exports[`Should call datadog webhook 1`] = `"{"text":"%%% \\n some@user.com created feature toggle [some-toggle](http://some-url.com/projects//some-toggle) in project *undefined* \\n %%% ","title":"Unleash notification update"}"`; -exports[`Should call datadog webhook for toggled environment 1`] = `"{\\"text\\":\\"%%% \\\\n some@user.com *disabled* [some-toggle](http://some-url.com/projects/default/some-toggle) in *development* environment in project *default* \\\\n %%% \\",\\"title\\":\\"Unleash notification update\\"}"`; +exports[`Should call datadog webhook for toggled environment 1`] = `"{"text":"%%% \\n some@user.com *disabled* [some-toggle](http://some-url.com/projects/default/some-toggle) in *development* environment in project *default* \\n %%% ","title":"Unleash notification update"}"`; diff --git a/src/lib/addons/__snapshots__/slack.test.ts.snap b/src/lib/addons/__snapshots__/slack.test.ts.snap index 0511249616..1f25d6ff59 100644 --- a/src/lib/addons/__snapshots__/slack.test.ts.snap +++ b/src/lib/addons/__snapshots__/slack.test.ts.snap @@ -1,7 +1,7 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`Should call slack webhook 1`] = `"{\\"username\\":\\"Unleash\\",\\"icon_emoji\\":\\":unleash:\\",\\"text\\":\\"some@user.com created feature toggle in project *default*\\",\\"channel\\":\\"#undefined\\",\\"attachments\\":[{\\"actions\\":[{\\"name\\":\\"featureToggle\\",\\"text\\":\\"Open in Unleash\\",\\"type\\":\\"button\\",\\"value\\":\\"featureToggle\\",\\"style\\":\\"primary\\",\\"url\\":\\"http://some-url.com/projects/default/some-toggle\\"}]}]}"`; +exports[`Should call slack webhook 1`] = `"{"username":"Unleash","icon_emoji":":unleash:","text":"some@user.com created feature toggle in project *default*","channel":"#undefined","attachments":[{"actions":[{"name":"featureToggle","text":"Open in Unleash","type":"button","value":"featureToggle","style":"primary","url":"http://some-url.com/projects/default/some-toggle"}]}]}"`; -exports[`Should call slack webhook for archived toggle 1`] = `"{\\"username\\":\\"Unleash\\",\\"icon_emoji\\":\\":unleash:\\",\\"text\\":\\" some@user.com just archived feature toggle **\\",\\"channel\\":\\"#undefined\\",\\"attachments\\":[{\\"actions\\":[{\\"name\\":\\"featureToggle\\",\\"text\\":\\"Open in Unleash\\",\\"type\\":\\"button\\",\\"value\\":\\"featureToggle\\",\\"style\\":\\"primary\\",\\"url\\":\\"http://some-url.com/archive\\"}]}]}"`; +exports[`Should call slack webhook for archived toggle 1`] = `"{"username":"Unleash","icon_emoji":":unleash:","text":" some@user.com just archived feature toggle **","channel":"#undefined","attachments":[{"actions":[{"name":"featureToggle","text":"Open in Unleash","type":"button","value":"featureToggle","style":"primary","url":"http://some-url.com/archive"}]}]}"`; -exports[`Should call webhook for toggled environment 1`] = `"{\\"username\\":\\"Unleash\\",\\"icon_emoji\\":\\":unleash:\\",\\"text\\":\\"some@user.com *disabled* in *development* environment in project *default*\\",\\"channel\\":\\"#undefined\\",\\"attachments\\":[{\\"actions\\":[{\\"name\\":\\"featureToggle\\",\\"text\\":\\"Open in Unleash\\",\\"type\\":\\"button\\",\\"value\\":\\"featureToggle\\",\\"style\\":\\"primary\\",\\"url\\":\\"http://some-url.com/projects/default/some-toggle\\"}]}]}"`; +exports[`Should call webhook for toggled environment 1`] = `"{"username":"Unleash","icon_emoji":":unleash:","text":"some@user.com *disabled* in *development* environment in project *default*","channel":"#undefined","attachments":[{"actions":[{"name":"featureToggle","text":"Open in Unleash","type":"button","value":"featureToggle","style":"primary","url":"http://some-url.com/projects/default/some-toggle"}]}]}"`; diff --git a/src/lib/addons/__snapshots__/teams.test.ts.snap b/src/lib/addons/__snapshots__/teams.test.ts.snap index d6327b1a4f..19fd6f0756 100644 --- a/src/lib/addons/__snapshots__/teams.test.ts.snap +++ b/src/lib/addons/__snapshots__/teams.test.ts.snap @@ -1,7 +1,7 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`Should call teams webhook 1`] = `"{\\"themeColor\\":\\"0076D7\\",\\"summary\\":\\"Message\\",\\"sections\\":[{\\"activityTitle\\":\\"some@user.com created feature toggle [some-toggle](http://some-url.com/projects//some-toggle) in project *undefined*\\",\\"activitySubtitle\\":\\"Unleash notification update\\",\\"facts\\":[{\\"name\\":\\"User\\",\\"value\\":\\"some@user.com\\"},{\\"name\\":\\"Action\\",\\"value\\":\\"feature-created\\"}]}],\\"potentialAction\\":[{\\"@type\\":\\"OpenUri\\",\\"name\\":\\"Go to feature\\",\\"targets\\":[{\\"os\\":\\"default\\",\\"uri\\":\\"http://some-url.com/projects//some-toggle\\"}]}]}"`; +exports[`Should call teams webhook 1`] = `"{"themeColor":"0076D7","summary":"Message","sections":[{"activityTitle":"some@user.com created feature toggle [some-toggle](http://some-url.com/projects//some-toggle) in project *undefined*","activitySubtitle":"Unleash notification update","facts":[{"name":"User","value":"some@user.com"},{"name":"Action","value":"feature-created"}]}],"potentialAction":[{"@type":"OpenUri","name":"Go to feature","targets":[{"os":"default","uri":"http://some-url.com/projects//some-toggle"}]}]}"`; -exports[`Should call teams webhook for archived toggle 1`] = `"{\\"themeColor\\":\\"0076D7\\",\\"summary\\":\\"Message\\",\\"sections\\":[{\\"activityTitle\\":\\" some@user.com just archived feature toggle *[some-toggle](http://some-url.com/archive)*\\",\\"activitySubtitle\\":\\"Unleash notification update\\",\\"facts\\":[{\\"name\\":\\"User\\",\\"value\\":\\"some@user.com\\"},{\\"name\\":\\"Action\\",\\"value\\":\\"feature-archived\\"}]}],\\"potentialAction\\":[{\\"@type\\":\\"OpenUri\\",\\"name\\":\\"Go to feature\\",\\"targets\\":[{\\"os\\":\\"default\\",\\"uri\\":\\"http://some-url.com/archive\\"}]}]}"`; +exports[`Should call teams webhook for archived toggle 1`] = `"{"themeColor":"0076D7","summary":"Message","sections":[{"activityTitle":" some@user.com just archived feature toggle *[some-toggle](http://some-url.com/archive)*","activitySubtitle":"Unleash notification update","facts":[{"name":"User","value":"some@user.com"},{"name":"Action","value":"feature-archived"}]}],"potentialAction":[{"@type":"OpenUri","name":"Go to feature","targets":[{"os":"default","uri":"http://some-url.com/archive"}]}]}"`; -exports[`Should call teams webhook for toggled environment 1`] = `"{\\"themeColor\\":\\"0076D7\\",\\"summary\\":\\"Message\\",\\"sections\\":[{\\"activityTitle\\":\\"some@user.com *disabled* [some-toggle](http://some-url.com/projects/default/some-toggle) in *development* environment in project *default*\\",\\"activitySubtitle\\":\\"Unleash notification update\\",\\"facts\\":[{\\"name\\":\\"User\\",\\"value\\":\\"some@user.com\\"},{\\"name\\":\\"Action\\",\\"value\\":\\"feature-environment-disabled\\"}]}],\\"potentialAction\\":[{\\"@type\\":\\"OpenUri\\",\\"name\\":\\"Go to feature\\",\\"targets\\":[{\\"os\\":\\"default\\",\\"uri\\":\\"http://some-url.com/projects/default/some-toggle\\"}]}]}"`; +exports[`Should call teams webhook for toggled environment 1`] = `"{"themeColor":"0076D7","summary":"Message","sections":[{"activityTitle":"some@user.com *disabled* [some-toggle](http://some-url.com/projects/default/some-toggle) in *development* environment in project *default*","activitySubtitle":"Unleash notification update","facts":[{"name":"User","value":"some@user.com"},{"name":"Action","value":"feature-environment-disabled"}]}],"potentialAction":[{"@type":"OpenUri","name":"Go to feature","targets":[{"os":"default","uri":"http://some-url.com/projects/default/some-toggle"}]}]}"`; diff --git a/src/lib/openapi/index.test.ts b/src/lib/openapi/index.test.ts index 7084cc2082..bd8883d2a4 100644 --- a/src/lib/openapi/index.test.ts +++ b/src/lib/openapi/index.test.ts @@ -29,7 +29,7 @@ test('all schema $id attributes should have the expected format', () => { test('removeJsonSchemaProps', () => { expect(removeJsonSchemaProps({ a: 'b', $id: 'c', components: {} })) .toMatchInlineSnapshot(` - Object { + { "a": "b", } `); diff --git a/src/lib/openapi/spec/__snapshots__/api-token-schema.test.ts.snap b/src/lib/openapi/spec/__snapshots__/api-token-schema.test.ts.snap index 7a3c062650..64e2448e9d 100644 --- a/src/lib/openapi/spec/__snapshots__/api-token-schema.test.ts.snap +++ b/src/lib/openapi/spec/__snapshots__/api-token-schema.test.ts.snap @@ -1,13 +1,13 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`apiTokenSchema empty 1`] = ` -Object { - "errors": Array [ - Object { +{ + "errors": [ + { "instancePath": "", "keyword": "required", "message": "must have required property 'username'", - "params": Object { + "params": { "missingProperty": "username", }, "schemaPath": "#/required", diff --git a/src/lib/openapi/spec/__snapshots__/change-password-schema.test.ts.snap b/src/lib/openapi/spec/__snapshots__/change-password-schema.test.ts.snap index 44f9019263..aca3944d34 100644 --- a/src/lib/openapi/spec/__snapshots__/change-password-schema.test.ts.snap +++ b/src/lib/openapi/spec/__snapshots__/change-password-schema.test.ts.snap @@ -1,13 +1,13 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`changePasswordSchema empty 1`] = ` -Object { - "errors": Array [ - Object { +{ + "errors": [ + { "instancePath": "", "keyword": "required", "message": "must have required property 'token'", - "params": Object { + "params": { "missingProperty": "token", }, "schemaPath": "#/required", diff --git a/src/lib/openapi/spec/__snapshots__/client-application-schema.test.ts.snap b/src/lib/openapi/spec/__snapshots__/client-application-schema.test.ts.snap index 84869df44b..14692b1f35 100644 --- a/src/lib/openapi/spec/__snapshots__/client-application-schema.test.ts.snap +++ b/src/lib/openapi/spec/__snapshots__/client-application-schema.test.ts.snap @@ -1,13 +1,13 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`clientApplicationSchema no fields 1`] = ` -Object { - "errors": Array [ - Object { +{ + "errors": [ + { "instancePath": "", "keyword": "required", "message": "must have required property 'appName'", - "params": Object { + "params": { "missingProperty": "appName", }, "schemaPath": "#/required", diff --git a/src/lib/openapi/spec/__snapshots__/client-features-schema.test.ts.snap b/src/lib/openapi/spec/__snapshots__/client-features-schema.test.ts.snap index 43a541910f..c76a460bb4 100644 --- a/src/lib/openapi/spec/__snapshots__/client-features-schema.test.ts.snap +++ b/src/lib/openapi/spec/__snapshots__/client-features-schema.test.ts.snap @@ -1,13 +1,13 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`clientFeaturesSchema no fields 1`] = ` -Object { - "errors": Array [ - Object { +{ + "errors": [ + { "instancePath": "", "keyword": "required", "message": "must have required property 'version'", - "params": Object { + "params": { "missingProperty": "version", }, "schemaPath": "#/required", diff --git a/src/lib/openapi/spec/__snapshots__/client-metrics-schema.test.ts.snap b/src/lib/openapi/spec/__snapshots__/client-metrics-schema.test.ts.snap index c6c52e423f..0ea98ac22c 100644 --- a/src/lib/openapi/spec/__snapshots__/client-metrics-schema.test.ts.snap +++ b/src/lib/openapi/spec/__snapshots__/client-metrics-schema.test.ts.snap @@ -1,13 +1,13 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`clientMetricsSchema should fail when required field is missing 1`] = ` -Object { - "errors": Array [ - Object { +{ + "errors": [ + { "instancePath": "/bucket", "keyword": "required", "message": "must have required property 'stop'", - "params": Object { + "params": { "missingProperty": "stop", }, "schemaPath": "#/properties/bucket/required", diff --git a/src/lib/openapi/spec/__snapshots__/constraint-schema.test.ts.snap b/src/lib/openapi/spec/__snapshots__/constraint-schema.test.ts.snap index b3a81622fd..d422f41c7b 100644 --- a/src/lib/openapi/spec/__snapshots__/constraint-schema.test.ts.snap +++ b/src/lib/openapi/spec/__snapshots__/constraint-schema.test.ts.snap @@ -1,14 +1,14 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`constraintSchema invalid operator name 1`] = ` -Object { - "errors": Array [ - Object { +{ + "errors": [ + { "instancePath": "/operator", "keyword": "enum", "message": "must be equal to one of the allowed values", - "params": Object { - "allowedValues": Array [ + "params": { + "allowedValues": [ "NOT_IN", "IN", "STR_ENDS_WITH", @@ -34,13 +34,13 @@ Object { `; exports[`constraintSchema invalid value type 1`] = ` -Object { - "errors": Array [ - Object { +{ + "errors": [ + { "instancePath": "/value", "keyword": "type", "message": "must be string", - "params": Object { + "params": { "type": "string", }, "schemaPath": "#/properties/value/type", diff --git a/src/lib/openapi/spec/__snapshots__/context-field-schema.test.ts.snap b/src/lib/openapi/spec/__snapshots__/context-field-schema.test.ts.snap index ca664c51b1..6aedec9c0a 100644 --- a/src/lib/openapi/spec/__snapshots__/context-field-schema.test.ts.snap +++ b/src/lib/openapi/spec/__snapshots__/context-field-schema.test.ts.snap @@ -1,13 +1,13 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`contextFieldSchema empty 1`] = ` -Object { - "errors": Array [ - Object { +{ + "errors": [ + { "instancePath": "", "keyword": "required", "message": "must have required property 'name'", - "params": Object { + "params": { "missingProperty": "name", }, "schemaPath": "#/required", diff --git a/src/lib/openapi/spec/__snapshots__/email-schema.test.ts.snap b/src/lib/openapi/spec/__snapshots__/email-schema.test.ts.snap index 423c136518..d6518f0b72 100644 --- a/src/lib/openapi/spec/__snapshots__/email-schema.test.ts.snap +++ b/src/lib/openapi/spec/__snapshots__/email-schema.test.ts.snap @@ -1,13 +1,13 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`emailSchema 1`] = ` -Object { - "errors": Array [ - Object { +{ + "errors": [ + { "instancePath": "", "keyword": "required", "message": "must have required property 'email'", - "params": Object { + "params": { "missingProperty": "email", }, "schemaPath": "#/required", diff --git a/src/lib/openapi/spec/__snapshots__/feature-environment-schema.test.ts.snap b/src/lib/openapi/spec/__snapshots__/feature-environment-schema.test.ts.snap index 21618b8c6c..16f81462c0 100644 --- a/src/lib/openapi/spec/__snapshots__/feature-environment-schema.test.ts.snap +++ b/src/lib/openapi/spec/__snapshots__/feature-environment-schema.test.ts.snap @@ -1,13 +1,13 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`featureEnvironmentSchema empty 1`] = ` -Object { - "errors": Array [ - Object { +{ + "errors": [ + { "instancePath": "", "keyword": "required", "message": "must have required property 'name'", - "params": Object { + "params": { "missingProperty": "name", }, "schemaPath": "#/required", diff --git a/src/lib/openapi/spec/__snapshots__/feature-schema.test.ts.snap b/src/lib/openapi/spec/__snapshots__/feature-schema.test.ts.snap index 50dd2a1b4d..dda56808aa 100644 --- a/src/lib/openapi/spec/__snapshots__/feature-schema.test.ts.snap +++ b/src/lib/openapi/spec/__snapshots__/feature-schema.test.ts.snap @@ -1,13 +1,13 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`featureSchema constraints 1`] = ` -Object { - "errors": Array [ - Object { +{ + "errors": [ + { "instancePath": "/strategies/0/constraints/0", "keyword": "required", "message": "must have required property 'operator'", - "params": Object { + "params": { "missingProperty": "operator", }, "schemaPath": "#/components/schemas/constraintSchema/required", @@ -18,13 +18,13 @@ Object { `; exports[`featureSchema variant override values must be an array 1`] = ` -Object { - "errors": Array [ - Object { +{ + "errors": [ + { "instancePath": "/variants/0/overrides/0/values", "keyword": "type", "message": "must be array", - "params": Object { + "params": { "type": "array", }, "schemaPath": "#/components/schemas/overrideSchema/properties/values/type", diff --git a/src/lib/openapi/spec/__snapshots__/feature-type-schema.test.ts.snap b/src/lib/openapi/spec/__snapshots__/feature-type-schema.test.ts.snap index a0d9e2f3db..1c0caf3f72 100644 --- a/src/lib/openapi/spec/__snapshots__/feature-type-schema.test.ts.snap +++ b/src/lib/openapi/spec/__snapshots__/feature-type-schema.test.ts.snap @@ -1,13 +1,13 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`featureTypeSchema empty 1`] = ` -Object { - "errors": Array [ - Object { +{ + "errors": [ + { "instancePath": "", "keyword": "required", "message": "must have required property 'id'", - "params": Object { + "params": { "missingProperty": "id", }, "schemaPath": "#/required", diff --git a/src/lib/openapi/spec/__snapshots__/me-schema.test.ts.snap b/src/lib/openapi/spec/__snapshots__/me-schema.test.ts.snap index 0a801d871c..8aa2c3b240 100644 --- a/src/lib/openapi/spec/__snapshots__/me-schema.test.ts.snap +++ b/src/lib/openapi/spec/__snapshots__/me-schema.test.ts.snap @@ -1,13 +1,13 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`meSchema empty 1`] = ` -Object { - "errors": Array [ - Object { +{ + "errors": [ + { "instancePath": "", "keyword": "required", "message": "must have required property 'user'", - "params": Object { + "params": { "missingProperty": "user", }, "schemaPath": "#/required", @@ -18,13 +18,13 @@ Object { `; exports[`meSchema missing permissions 1`] = ` -Object { - "errors": Array [ - Object { +{ + "errors": [ + { "instancePath": "", "keyword": "required", "message": "must have required property 'permissions'", - "params": Object { + "params": { "missingProperty": "permissions", }, "schemaPath": "#/required", @@ -35,13 +35,13 @@ Object { `; exports[`meSchema missing splash 1`] = ` -Object { - "errors": Array [ - Object { +{ + "errors": [ + { "instancePath": "", "keyword": "required", "message": "must have required property 'splash'", - "params": Object { + "params": { "missingProperty": "splash", }, "schemaPath": "#/required", diff --git a/src/lib/openapi/spec/__snapshots__/role-schema.test.ts.snap b/src/lib/openapi/spec/__snapshots__/role-schema.test.ts.snap index c90a56fffd..0a0d9c868f 100644 --- a/src/lib/openapi/spec/__snapshots__/role-schema.test.ts.snap +++ b/src/lib/openapi/spec/__snapshots__/role-schema.test.ts.snap @@ -1,13 +1,13 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`roleSchema 1`] = ` -Object { - "errors": Array [ - Object { +{ + "errors": [ + { "instancePath": "", "keyword": "required", "message": "must have required property 'id'", - "params": Object { + "params": { "missingProperty": "id", }, "schemaPath": "#/required", diff --git a/src/lib/openapi/spec/__snapshots__/set-strategy-sort-order-schema.test.ts.snap b/src/lib/openapi/spec/__snapshots__/set-strategy-sort-order-schema.test.ts.snap index 029ef827b4..bbf7b10369 100644 --- a/src/lib/openapi/spec/__snapshots__/set-strategy-sort-order-schema.test.ts.snap +++ b/src/lib/openapi/spec/__snapshots__/set-strategy-sort-order-schema.test.ts.snap @@ -1,13 +1,13 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`setStrategySortOrderSchema missing id 1`] = ` -Object { - "errors": Array [ - Object { +{ + "errors": [ + { "instancePath": "/0", "keyword": "required", "message": "must have required property 'id'", - "params": Object { + "params": { "missingProperty": "id", }, "schemaPath": "#/items/required", @@ -18,13 +18,13 @@ Object { `; exports[`setStrategySortOrderSchema missing sortOrder 1`] = ` -Object { - "errors": Array [ - Object { +{ + "errors": [ + { "instancePath": "/0", "keyword": "required", "message": "must have required property 'sortOrder'", - "params": Object { + "params": { "missingProperty": "sortOrder", }, "schemaPath": "#/items/required", @@ -35,13 +35,13 @@ Object { `; exports[`setStrategySortOrderSchema no additional parameters 1`] = ` -Object { - "errors": Array [ - Object { +{ + "errors": [ + { "instancePath": "/1", "keyword": "additionalProperties", "message": "must NOT have additional properties", - "params": Object { + "params": { "additionalProperty": "extra", }, "schemaPath": "#/items/additionalProperties", @@ -52,13 +52,13 @@ Object { `; exports[`setStrategySortOrderSchema wrong sortOrder type 1`] = ` -Object { - "errors": Array [ - Object { +{ + "errors": [ + { "instancePath": "/0/sortOrder", "keyword": "type", "message": "must be number", - "params": Object { + "params": { "type": "number", }, "schemaPath": "#/items/properties/sortOrder/type", diff --git a/src/lib/openapi/spec/__snapshots__/sort-order-schema.test.ts.snap b/src/lib/openapi/spec/__snapshots__/sort-order-schema.test.ts.snap index 84d3d12c79..b2946dba6b 100644 --- a/src/lib/openapi/spec/__snapshots__/sort-order-schema.test.ts.snap +++ b/src/lib/openapi/spec/__snapshots__/sort-order-schema.test.ts.snap @@ -1,13 +1,13 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`sortOrderSchema invalid value type 1`] = ` -Object { - "errors": Array [ - Object { +{ + "errors": [ + { "instancePath": "/a", "keyword": "type", "message": "must be number", - "params": Object { + "params": { "type": "number", }, "schemaPath": "#/additionalProperties/type", diff --git a/src/lib/openapi/spec/__snapshots__/strategy-schema.test.ts.snap b/src/lib/openapi/spec/__snapshots__/strategy-schema.test.ts.snap index 4d7204eb85..9d6432203a 100644 --- a/src/lib/openapi/spec/__snapshots__/strategy-schema.test.ts.snap +++ b/src/lib/openapi/spec/__snapshots__/strategy-schema.test.ts.snap @@ -1,13 +1,13 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`strategySchema 1`] = ` -Object { - "errors": Array [ - Object { +{ + "errors": [ + { "instancePath": "", "keyword": "required", "message": "must have required property 'name'", - "params": Object { + "params": { "missingProperty": "name", }, "schemaPath": "#/required", diff --git a/src/lib/openapi/spec/__snapshots__/token-user-schema.test.ts.snap b/src/lib/openapi/spec/__snapshots__/token-user-schema.test.ts.snap index f44409f3d7..60e82e687c 100644 --- a/src/lib/openapi/spec/__snapshots__/token-user-schema.test.ts.snap +++ b/src/lib/openapi/spec/__snapshots__/token-user-schema.test.ts.snap @@ -1,13 +1,13 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`tokenUserSchema 1`] = ` -Object { - "errors": Array [ - Object { +{ + "errors": [ + { "instancePath": "", "keyword": "required", "message": "must have required property 'id'", - "params": Object { + "params": { "missingProperty": "id", }, "schemaPath": "#/required", diff --git a/src/lib/openapi/spec/__snapshots__/validate-password-schema.test.ts.snap b/src/lib/openapi/spec/__snapshots__/validate-password-schema.test.ts.snap index 1eb45536d0..2a78638189 100644 --- a/src/lib/openapi/spec/__snapshots__/validate-password-schema.test.ts.snap +++ b/src/lib/openapi/spec/__snapshots__/validate-password-schema.test.ts.snap @@ -1,13 +1,13 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`validatePasswordSchema empty 1`] = ` -Object { - "errors": Array [ - Object { +{ + "errors": [ + { "instancePath": "", "keyword": "required", "message": "must have required property 'password'", - "params": Object { + "params": { "missingProperty": "password", }, "schemaPath": "#/required", diff --git a/src/lib/openapi/util/create-request-schema.test.ts b/src/lib/openapi/util/create-request-schema.test.ts index f8fa20974d..cf3fc616ae 100644 --- a/src/lib/openapi/util/create-request-schema.test.ts +++ b/src/lib/openapi/util/create-request-schema.test.ts @@ -2,10 +2,10 @@ import { createRequestSchema } from './create-request-schema'; test('createRequestSchema', () => { expect(createRequestSchema('schemaName')).toMatchInlineSnapshot(` - Object { - "content": Object { - "application/json": Object { - "schema": Object { + { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/schemaName", }, }, diff --git a/src/lib/openapi/util/create-response-schema.test.ts b/src/lib/openapi/util/create-response-schema.test.ts index a069083e74..45fb51a76a 100644 --- a/src/lib/openapi/util/create-response-schema.test.ts +++ b/src/lib/openapi/util/create-response-schema.test.ts @@ -2,10 +2,10 @@ import { createResponseSchema } from './create-response-schema'; test('createResponseSchema', () => { expect(createResponseSchema('schemaName')).toMatchInlineSnapshot(` - Object { - "content": Object { - "application/json": Object { - "schema": Object { + { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/schemaName", }, }, diff --git a/src/lib/services/client-metrics/instance-service.test.ts b/src/lib/services/client-metrics/instance-service.test.ts index ff6bbf2a64..860c8442b9 100644 --- a/src/lib/services/client-metrics/instance-service.test.ts +++ b/src/lib/services/client-metrics/instance-service.test.ts @@ -39,7 +39,7 @@ function flushPromises() { } test('Multiple registrations of same appname and instanceid within same time period should only cause one registration', async () => { - jest.useFakeTimers('modern'); + jest.useFakeTimers(); const appStoreSpy = jest.fn(); const bulkSpy = jest.fn(); const clientApplicationsStore: any = { @@ -88,7 +88,7 @@ test('Multiple registrations of same appname and instanceid within same time per }); test('Multiple unique clients causes multiple registrations', async () => { - jest.useFakeTimers('modern'); + jest.useFakeTimers(); const appStoreSpy = jest.fn(); const bulkSpy = jest.fn(); const clientApplicationsStore: any = { @@ -139,7 +139,7 @@ test('Multiple unique clients causes multiple registrations', async () => { jest.useRealTimers(); }); test('Same client registered outside of dedup interval will be registered twice', async () => { - jest.useFakeTimers('modern'); + jest.useFakeTimers(); const appStoreSpy = jest.fn(); const bulkSpy = jest.fn(); const clientApplicationsStore: any = { @@ -195,7 +195,7 @@ test('Same client registered outside of dedup interval will be registered twice' }); test('No registrations during a time period will not call stores', async () => { - jest.useFakeTimers('modern'); + jest.useFakeTimers(); const appStoreSpy = jest.fn(); const bulkSpy = jest.fn(); const clientApplicationsStore: any = { diff --git a/src/lib/util/timer.test.ts b/src/lib/util/timer.test.ts index f225b6afc0..92e69d97fd 100644 --- a/src/lib/util/timer.test.ts +++ b/src/lib/util/timer.test.ts @@ -17,7 +17,7 @@ test('should calculate the correct time in seconds', () => { }); test('timer should track the time', async () => { - jest.useFakeTimers('modern'); + jest.useFakeTimers(); const tt = timer.new(); let diff; timeout(() => { diff --git a/src/test/e2e/api/client/register.e2e.test.ts b/src/test/e2e/api/client/register.e2e.test.ts index 2f434b29fe..3243c1fd09 100644 --- a/src/test/e2e/api/client/register.e2e.test.ts +++ b/src/test/e2e/api/client/register.e2e.test.ts @@ -39,7 +39,7 @@ test('should register client', async () => { test('should allow client to register multiple times', async () => { expect.assertions(2); - jest.useFakeTimers('modern'); + jest.useFakeTimers(); const { clientInstanceStore, clientApplicationsStore } = db.stores; const clientRegistration = { diff --git a/src/test/e2e/api/openapi/__snapshots__/openapi.e2e.test.ts.snap b/src/test/e2e/api/openapi/__snapshots__/openapi.e2e.test.ts.snap index 58cc7af104..e574882aec 100644 --- a/src/test/e2e/api/openapi/__snapshots__/openapi.e2e.test.ts.snap +++ b/src/test/e2e/api/openapi/__snapshots__/openapi.e2e.test.ts.snap @@ -5,8 +5,8 @@ exports[`should serve the OpenAPI UI 1`] = ` Swagger UI - - + + - + -
- - - +
+ + + @@ -41,34 +41,34 @@ exports[`should serve the OpenAPI UI 1`] = ` `; exports[`should serve the OpenAPI spec 1`] = ` -Object { - "components": Object { - "schemas": Object { - "addonParameterSchema": Object { - "properties": Object { - "description": Object { +{ + "components": { + "schemas": { + "addonParameterSchema": { + "properties": { + "description": { "type": "string", }, - "displayName": Object { + "displayName": { "type": "string", }, - "name": Object { + "name": { "type": "string", }, - "placeholder": Object { + "placeholder": { "type": "string", }, - "required": Object { + "required": { "type": "boolean", }, - "sensitive": Object { + "sensitive": { "type": "boolean", }, - "type": Object { + "type": { "type": "string", }, }, - "required": Array [ + "required": [ "name", "displayName", "type", @@ -77,49 +77,49 @@ Object { ], "type": "object", }, - "addonSchema": Object { - "properties": Object { - "createdAt": Object { + "addonSchema": { + "properties": { + "createdAt": { "format": "date-time", "nullable": true, "type": "string", }, - "description": Object { + "description": { "type": "string", }, - "enabled": Object { + "enabled": { "type": "boolean", }, - "environments": Object { - "items": Object { + "environments": { + "items": { "type": "string", }, "type": "array", }, - "events": Object { - "items": Object { + "events": { + "items": { "type": "string", }, "type": "array", }, - "id": Object { + "id": { "type": "number", }, - "parameters": Object { + "parameters": { "additionalProperties": true, "type": "object", }, - "projects": Object { - "items": Object { + "projects": { + "items": { "type": "string", }, "type": "array", }, - "provider": Object { + "provider": { "type": "string", }, }, - "required": Array [ + "required": [ "provider", "enabled", "parameters", @@ -127,40 +127,40 @@ Object { ], "type": "object", }, - "addonTypeSchema": Object { - "properties": Object { - "description": Object { + "addonTypeSchema": { + "properties": { + "description": { "type": "string", }, - "displayName": Object { + "displayName": { "type": "string", }, - "documentationUrl": Object { + "documentationUrl": { "type": "string", }, - "events": Object { - "items": Object { + "events": { + "items": { "type": "string", }, "type": "array", }, - "name": Object { + "name": { "type": "string", }, - "parameters": Object { - "items": Object { + "parameters": { + "items": { "$ref": "#/components/schemas/addonParameterSchema", }, "type": "array", }, - "tagTypes": Object { - "items": Object { + "tagTypes": { + "items": { "$ref": "#/components/schemas/tagTypeSchema", }, "type": "array", }, }, - "required": Array [ + "required": [ "name", "displayName", "documentationUrl", @@ -168,133 +168,133 @@ Object { ], "type": "object", }, - "addonsSchema": Object { - "properties": Object { - "addons": Object { - "items": Object { + "addonsSchema": { + "properties": { + "addons": { + "items": { "$ref": "#/components/schemas/addonSchema", }, "type": "array", }, - "providers": Object { - "items": Object { + "providers": { + "items": { "$ref": "#/components/schemas/addonTypeSchema", }, "type": "array", }, }, - "required": Array [ + "required": [ "addons", "providers", ], "type": "object", }, - "apiTokenSchema": Object { + "apiTokenSchema": { "additionalProperties": false, - "properties": Object { - "alias": Object { + "properties": { + "alias": { "nullable": true, "type": "string", }, - "createdAt": Object { + "createdAt": { "format": "date-time", "nullable": true, "type": "string", }, - "environment": Object { + "environment": { "type": "string", }, - "expiresAt": Object { + "expiresAt": { "format": "date-time", "nullable": true, "type": "string", }, - "project": Object { + "project": { "type": "string", }, - "projects": Object { - "items": Object { + "projects": { + "items": { "type": "string", }, "type": "array", }, - "secret": Object { + "secret": { "type": "string", }, - "seenAt": Object { + "seenAt": { "format": "date-time", "nullable": true, "type": "string", }, - "type": Object { + "type": { "description": "client, admin, frontend.", "type": "string", }, - "username": Object { + "username": { "type": "string", }, }, - "required": Array [ + "required": [ "username", "type", ], "type": "object", }, - "apiTokensSchema": Object { + "apiTokensSchema": { "additionalProperties": false, - "properties": Object { - "tokens": Object { - "items": Object { + "properties": { + "tokens": { + "items": { "$ref": "#/components/schemas/apiTokenSchema", }, "type": "array", }, }, - "required": Array [ + "required": [ "tokens", ], "type": "object", }, - "applicationSchema": Object { + "applicationSchema": { "additionalProperties": false, - "properties": Object { - "announced": Object { + "properties": { + "announced": { "type": "boolean", }, - "appName": Object { + "appName": { "type": "string", }, - "color": Object { + "color": { "type": "string", }, - "description": Object { + "description": { "type": "string", }, - "icon": Object { + "icon": { "type": "string", }, - "sdkVersion": Object { + "sdkVersion": { "type": "string", }, - "strategies": Object { - "items": Object { + "strategies": { + "items": { "type": "string", }, "type": "array", }, - "url": Object { + "url": { "type": "string", }, }, - "required": Array [ + "required": [ "appName", ], "type": "object", }, - "applicationsSchema": Object { - "properties": Object { - "applications": Object { - "items": Object { + "applicationsSchema": { + "properties": { + "applications": { + "items": { "$ref": "#/components/schemas/applicationSchema", }, "type": "array", @@ -302,58 +302,58 @@ Object { }, "type": "object", }, - "changePasswordSchema": Object { + "changePasswordSchema": { "additionalProperties": false, - "properties": Object { - "password": Object { + "properties": { + "password": { "type": "string", }, - "token": Object { + "token": { "type": "string", }, }, - "required": Array [ + "required": [ "token", "password", ], "type": "object", }, - "clientApplicationSchema": Object { - "properties": Object { - "appName": Object { + "clientApplicationSchema": { + "properties": { + "appName": { "type": "string", }, - "environment": Object { + "environment": { "type": "string", }, - "instanceId": Object { + "instanceId": { "type": "string", }, - "interval": Object { + "interval": { "type": "number", }, - "sdkVersion": Object { + "sdkVersion": { "type": "string", }, - "started": Object { - "oneOf": Array [ - Object { + "started": { + "oneOf": [ + { "format": "date-time", "type": "string", }, - Object { + { "type": "number", }, ], }, - "strategies": Object { - "items": Object { + "strategies": { + "items": { "type": "string", }, "type": "array", }, }, - "required": Array [ + "required": [ "appName", "interval", "started", @@ -361,83 +361,83 @@ Object { ], "type": "object", }, - "clientFeatureSchema": Object { + "clientFeatureSchema": { "additionalProperties": false, - "properties": Object { - "createdAt": Object { + "properties": { + "createdAt": { "format": "date-time", "nullable": true, "type": "string", }, - "description": Object { + "description": { "nullable": true, "type": "string", }, - "enabled": Object { + "enabled": { "type": "boolean", }, - "impressionData": Object { + "impressionData": { "nullable": true, "type": "boolean", }, - "lastSeenAt": Object { + "lastSeenAt": { "format": "date-time", "nullable": true, "type": "string", }, - "name": Object { + "name": { "type": "string", }, - "project": Object { + "project": { "type": "string", }, - "stale": Object { + "stale": { "type": "boolean", }, - "strategies": Object { - "items": Object { + "strategies": { + "items": { "$ref": "#/components/schemas/featureStrategySchema", }, "type": "array", }, - "type": Object { + "type": { "type": "string", }, - "variants": Object { - "items": Object { + "variants": { + "items": { "$ref": "#/components/schemas/variantSchema", }, "nullable": true, "type": "array", }, }, - "required": Array [ + "required": [ "name", "enabled", ], "type": "object", }, - "clientFeaturesQuerySchema": Object { + "clientFeaturesQuerySchema": { "additionalProperties": false, - "properties": Object { - "environment": Object { + "properties": { + "environment": { "type": "string", }, - "inlineSegmentConstraints": Object { + "inlineSegmentConstraints": { "type": "boolean", }, - "namePrefix": Object { + "namePrefix": { "type": "string", }, - "project": Object { - "items": Object { + "project": { + "items": { "type": "string", }, "type": "array", }, - "tag": Object { - "items": Object { - "items": Object { + "tag": { + "items": { + "items": { "type": "string", }, "type": "array", @@ -447,61 +447,61 @@ Object { }, "type": "object", }, - "clientFeaturesSchema": Object { - "properties": Object { - "features": Object { - "items": Object { + "clientFeaturesSchema": { + "properties": { + "features": { + "items": { "$ref": "#/components/schemas/clientFeatureSchema", }, "type": "array", }, - "query": Object { + "query": { "$ref": "#/components/schemas/clientFeaturesQuerySchema", }, - "segments": Object { - "items": Object { + "segments": { + "items": { "$ref": "#/components/schemas/segmentSchema", }, "type": "array", }, - "version": Object { + "version": { "type": "number", }, }, - "required": Array [ + "required": [ "version", "features", ], "type": "object", }, - "clientMetricsSchema": Object { - "properties": Object { - "appName": Object { + "clientMetricsSchema": { + "properties": { + "appName": { "type": "string", }, - "bucket": Object { - "properties": Object { - "start": Object { + "bucket": { + "properties": { + "start": { "$ref": "#/components/schemas/dateSchema", }, - "stop": Object { + "stop": { "$ref": "#/components/schemas/dateSchema", }, - "toggles": Object { - "additionalProperties": Object { - "properties": Object { - "no": Object { + "toggles": { + "additionalProperties": { + "properties": { + "no": { "minimum": 0, "type": "integer", }, - "variants": Object { - "additionalProperties": Object { + "variants": { + "additionalProperties": { "minimum": 0, "type": "integer", }, "type": "object", }, - "yes": Object { + "yes": { "minimum": 0, "type": "integer", }, @@ -511,62 +511,62 @@ Object { "type": "object", }, }, - "required": Array [ + "required": [ "start", "stop", "toggles", ], "type": "object", }, - "environment": Object { + "environment": { "type": "string", }, - "instanceId": Object { + "instanceId": { "type": "string", }, }, - "required": Array [ + "required": [ "appName", "bucket", ], "type": "object", }, - "cloneFeatureSchema": Object { - "properties": Object { - "name": Object { + "cloneFeatureSchema": { + "properties": { + "name": { "type": "string", }, - "replaceGroupId": Object { + "replaceGroupId": { "type": "boolean", }, }, - "required": Array [ + "required": [ "name", ], "type": "object", }, - "constraintSchema": Object { + "constraintSchema": { "additionalProperties": false, "description": "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/advanced/strategy_constraints)", - "properties": Object { - "caseInsensitive": Object { + "properties": { + "caseInsensitive": { "default": false, "description": "Whether the operator should be case sensitive or not. Defaults to \`false\` (being case sensitive).", "type": "boolean", }, - "contextName": Object { + "contextName": { "description": "The name of the context field that this constraint should apply to.", "example": "appName", "type": "string", }, - "inverted": Object { + "inverted": { "default": false, "description": "Whether the result should be negated or not. If \`true\`, will turn a \`true\` result into a \`false\` result and vice versa.", "type": "boolean", }, - "operator": Object { + "operator": { "description": "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/advanced/strategy_constraints#strategy-constraint-operators).", - "enum": Array [ + "enum": [ "NOT_IN", "IN", "STR_ENDS_WITH", @@ -585,193 +585,193 @@ Object { ], "type": "string", }, - "value": Object { + "value": { "description": "The context value that should be used for constraint evaluation. Use this property instead of \`values\` for properties that only accept single values.", "type": "string", }, - "values": Object { + "values": { "description": "The context values that should be used for constraint evaluation. Use this property instead of \`value\` for properties that accept multiple values.", - "items": Object { + "items": { "type": "string", }, "type": "array", }, }, - "required": Array [ + "required": [ "contextName", "operator", ], "type": "object", }, - "contextFieldSchema": Object { + "contextFieldSchema": { "additionalProperties": false, - "properties": Object { - "createdAt": Object { + "properties": { + "createdAt": { "format": "date-time", "nullable": true, "type": "string", }, - "description": Object { + "description": { "type": "string", }, - "legalValues": Object { - "items": Object { + "legalValues": { + "items": { "$ref": "#/components/schemas/legalValueSchema", }, "type": "array", }, - "name": Object { + "name": { "type": "string", }, - "sortOrder": Object { + "sortOrder": { "type": "number", }, - "stickiness": Object { + "stickiness": { "type": "boolean", }, }, - "required": Array [ + "required": [ "name", ], "type": "object", }, - "contextFieldsSchema": Object { - "items": Object { + "contextFieldsSchema": { + "items": { "$ref": "#/components/schemas/contextFieldSchema", }, "type": "array", }, - "createApiTokenSchema": Object { - "properties": Object { - "environment": Object { + "createApiTokenSchema": { + "properties": { + "environment": { "type": "string", }, - "expiresAt": Object { + "expiresAt": { "format": "date-time", "nullable": true, "type": "string", }, - "project": Object { + "project": { "type": "string", }, - "projects": Object { - "items": Object { + "projects": { + "items": { "type": "string", }, "type": "array", }, - "secret": Object { + "secret": { "type": "string", }, - "type": Object { + "type": { "description": "client, admin, frontend.", "type": "string", }, - "username": Object { + "username": { "type": "string", }, }, - "required": Array [ + "required": [ "username", "type", ], "type": "object", }, - "createFeatureSchema": Object { - "properties": Object { - "description": Object { + "createFeatureSchema": { + "properties": { + "description": { "type": "string", }, - "impressionData": Object { + "impressionData": { "type": "boolean", }, - "name": Object { + "name": { "type": "string", }, - "type": Object { + "type": { "type": "string", }, }, - "required": Array [ + "required": [ "name", ], "type": "object", }, - "createFeatureStrategySchema": Object { - "properties": Object { - "constraints": Object { - "items": Object { + "createFeatureStrategySchema": { + "properties": { + "constraints": { + "items": { "$ref": "#/components/schemas/constraintSchema", }, "type": "array", }, - "name": Object { + "name": { "type": "string", }, - "parameters": Object { + "parameters": { "$ref": "#/components/schemas/parametersSchema", }, - "sortOrder": Object { + "sortOrder": { "type": "number", }, }, - "required": Array [ + "required": [ "name", ], "type": "object", }, - "createUserSchema": Object { + "createUserSchema": { "additionalProperties": false, - "properties": Object { - "email": Object { + "properties": { + "email": { "type": "string", }, - "name": Object { + "name": { "type": "string", }, - "password": Object { + "password": { "type": "string", }, - "rootRole": Object { + "rootRole": { "type": "number", }, - "sendEmail": Object { + "sendEmail": { "type": "boolean", }, - "username": Object { + "username": { "type": "string", }, }, - "required": Array [ + "required": [ "rootRole", ], "type": "object", }, - "dateSchema": Object { - "oneOf": Array [ - Object { + "dateSchema": { + "oneOf": [ + { "format": "date-time", "type": "string", }, - Object { + { "type": "number", }, ], }, - "edgeTokenSchema": Object { + "edgeTokenSchema": { "additionalProperties": false, - "properties": Object { - "projects": Object { - "items": Object { + "properties": { + "projects": { + "items": { "type": "string", }, "type": "array", }, - "token": Object { + "token": { "type": "string", }, - "type": Object { - "enum": Array [ + "type": { + "enum": [ "client", "admin", "frontend", @@ -779,116 +779,116 @@ Object { "type": "string", }, }, - "required": Array [ + "required": [ "token", "projects", "type", ], "type": "object", }, - "emailSchema": Object { + "emailSchema": { "additionalProperties": false, - "properties": Object { - "email": Object { + "properties": { + "email": { "type": "string", }, }, - "required": Array [ + "required": [ "email", ], "type": "object", }, - "environmentSchema": Object { + "environmentSchema": { "additionalProperties": false, - "properties": Object { - "enabled": Object { + "properties": { + "enabled": { "type": "boolean", }, - "name": Object { + "name": { "type": "string", }, - "protected": Object { + "protected": { "type": "boolean", }, - "sortOrder": Object { + "sortOrder": { "type": "number", }, - "type": Object { + "type": { "type": "string", }, }, - "required": Array [ + "required": [ "name", "type", "enabled", ], "type": "object", }, - "environmentsSchema": Object { + "environmentsSchema": { "additionalProperties": false, - "properties": Object { - "environments": Object { - "items": Object { + "properties": { + "environments": { + "items": { "$ref": "#/components/schemas/environmentSchema", }, "type": "array", }, - "version": Object { + "version": { "type": "integer", }, }, - "required": Array [ + "required": [ "version", "environments", ], "type": "object", }, - "eventSchema": Object { + "eventSchema": { "additionalProperties": false, - "properties": Object { - "createdAt": Object { + "properties": { + "createdAt": { "format": "date-time", "type": "string", }, - "createdBy": Object { + "createdBy": { "type": "string", }, - "data": Object { + "data": { "nullable": true, "type": "object", }, - "environment": Object { + "environment": { "nullable": true, "type": "string", }, - "featureName": Object { + "featureName": { "nullable": true, "type": "string", }, - "id": Object { + "id": { "minimum": 1, "type": "integer", }, - "preData": Object { + "preData": { "nullable": true, "type": "object", }, - "project": Object { + "project": { "nullable": true, "type": "string", }, - "tags": Object { - "items": Object { + "tags": { + "items": { "$ref": "#/components/schemas/tagSchema", }, "nullable": true, "type": "array", }, - "type": Object { + "type": { "type": "string", }, }, - "required": Array [ + "required": [ "id", "createdAt", "type", @@ -896,54 +896,54 @@ Object { ], "type": "object", }, - "eventsSchema": Object { + "eventsSchema": { "additionalProperties": false, - "properties": Object { - "events": Object { - "items": Object { + "properties": { + "events": { + "items": { "$ref": "#/components/schemas/eventSchema", }, "type": "array", }, - "totalEvents": Object { + "totalEvents": { "minimum": 0, "type": "integer", }, - "version": Object { + "version": { "minimum": 1, "type": "integer", }, }, - "required": Array [ + "required": [ "version", "events", ], "type": "object", }, - "featureEnvironmentMetricsSchema": Object { + "featureEnvironmentMetricsSchema": { "additionalProperties": false, - "properties": Object { - "appName": Object { + "properties": { + "appName": { "type": "string", }, - "environment": Object { + "environment": { "type": "string", }, - "featureName": Object { + "featureName": { "type": "string", }, - "no": Object { + "no": { "type": "number", }, - "timestamp": Object { + "timestamp": { "format": "date-time", "type": "string", }, - "yes": Object { + "yes": { "type": "number", }, }, - "required": Array [ + "required": [ "environment", "timestamp", "yes", @@ -951,55 +951,55 @@ Object { ], "type": "object", }, - "featureEnvironmentSchema": Object { + "featureEnvironmentSchema": { "additionalProperties": false, - "properties": Object { - "enabled": Object { + "properties": { + "enabled": { "type": "boolean", }, - "environment": Object { + "environment": { "type": "string", }, - "name": Object { + "name": { "type": "string", }, - "strategies": Object { - "items": Object { + "strategies": { + "items": { "additionalProperties": false, - "properties": Object { - "constraints": Object { - "items": Object { + "properties": { + "constraints": { + "items": { "$ref": "#/components/schemas/constraintSchema", }, "type": "array", }, - "createdAt": Object { + "createdAt": { "format": "date-time", "type": "string", }, - "environment": Object { + "environment": { "type": "string", }, - "featureName": Object { + "featureName": { "type": "string", }, - "id": Object { + "id": { "type": "string", }, - "parameters": Object { + "parameters": { "$ref": "#/components/schemas/parametersSchema", }, - "projectId": Object { + "projectId": { "type": "string", }, - "sortOrder": Object { + "sortOrder": { "type": "number", }, - "strategyName": Object { + "strategyName": { "type": "string", }, }, - "required": Array [ + "required": [ "id", "featureName", "projectId", @@ -1012,218 +1012,218 @@ Object { }, "type": "array", }, - "type": Object { + "type": { "type": "string", }, }, - "required": Array [ + "required": [ "name", "enabled", ], "type": "object", }, - "featureEventsSchema": Object { + "featureEventsSchema": { "additionalProperties": false, - "properties": Object { - "events": Object { - "items": Object { + "properties": { + "events": { + "items": { "$ref": "#/components/schemas/eventSchema", }, "type": "array", }, - "toggleName": Object { + "toggleName": { "type": "string", }, - "version": Object { + "version": { "type": "number", }, }, - "required": Array [ + "required": [ "events", ], "type": "object", }, - "featureMetricsSchema": Object { + "featureMetricsSchema": { "additionalProperties": false, - "properties": Object { - "data": Object { - "items": Object { + "properties": { + "data": { + "items": { "$ref": "#/components/schemas/featureEnvironmentMetricsSchema", }, "type": "array", }, - "maturity": Object { + "maturity": { "type": "string", }, - "version": Object { + "version": { "type": "number", }, }, - "required": Array [ + "required": [ "version", "maturity", "data", ], "type": "object", }, - "featureSchema": Object { + "featureSchema": { "additionalProperties": false, - "properties": Object { - "archived": Object { + "properties": { + "archived": { "type": "boolean", }, - "archivedAt": Object { + "archivedAt": { "format": "date-time", "nullable": true, "type": "string", }, - "createdAt": Object { + "createdAt": { "format": "date-time", "nullable": true, "type": "string", }, - "description": Object { + "description": { "type": "string", }, - "enabled": Object { + "enabled": { "type": "boolean", }, - "environments": Object { - "items": Object { + "environments": { + "items": { "$ref": "#/components/schemas/environmentSchema", }, "type": "array", }, - "impressionData": Object { + "impressionData": { "type": "boolean", }, - "lastSeenAt": Object { + "lastSeenAt": { "format": "date-time", "nullable": true, "type": "string", }, - "name": Object { + "name": { "type": "string", }, - "project": Object { + "project": { "type": "string", }, - "stale": Object { + "stale": { "type": "boolean", }, - "strategies": Object { - "items": Object { + "strategies": { + "items": { "$ref": "#/components/schemas/featureStrategySchema", }, "type": "array", }, - "type": Object { + "type": { "type": "string", }, - "variants": Object { - "items": Object { + "variants": { + "items": { "$ref": "#/components/schemas/variantSchema", }, "type": "array", }, }, - "required": Array [ + "required": [ "name", ], "type": "object", }, - "featureStrategySchema": Object { + "featureStrategySchema": { "additionalProperties": false, - "properties": Object { - "constraints": Object { - "items": Object { + "properties": { + "constraints": { + "items": { "$ref": "#/components/schemas/constraintSchema", }, "type": "array", }, - "id": Object { + "id": { "type": "string", }, - "name": Object { + "name": { "type": "string", }, - "parameters": Object { + "parameters": { "$ref": "#/components/schemas/parametersSchema", }, - "segments": Object { - "items": Object { + "segments": { + "items": { "type": "number", }, "type": "array", }, - "sortOrder": Object { + "sortOrder": { "type": "number", }, }, - "required": Array [ + "required": [ "name", ], "type": "object", }, - "featureStrategySegmentSchema": Object { + "featureStrategySegmentSchema": { "additionalProperties": false, - "properties": Object { - "featureStrategyId": Object { + "properties": { + "featureStrategyId": { "type": "string", }, - "segmentId": Object { + "segmentId": { "type": "integer", }, }, - "required": Array [ + "required": [ "segmentId", "featureStrategyId", ], "type": "object", }, - "featureTagSchema": Object { + "featureTagSchema": { "additionalProperties": false, - "properties": Object { - "featureName": Object { + "properties": { + "featureName": { "type": "string", }, - "tagType": Object { + "tagType": { "type": "string", }, - "tagValue": Object { + "tagValue": { "type": "string", }, - "type": Object { + "type": { "type": "string", }, - "value": Object { + "value": { "type": "string", }, }, - "required": Array [ + "required": [ "featureName", "tagValue", ], "type": "object", }, - "featureTypeSchema": Object { + "featureTypeSchema": { "additionalProperties": false, - "properties": Object { - "description": Object { + "properties": { + "description": { "type": "string", }, - "id": Object { + "id": { "type": "string", }, - "lifetimeDays": Object { + "lifetimeDays": { "nullable": true, "type": "number", }, - "name": Object { + "name": { "type": "string", }, }, - "required": Array [ + "required": [ "id", "name", "description", @@ -1231,51 +1231,51 @@ Object { ], "type": "object", }, - "featureTypesSchema": Object { + "featureTypesSchema": { "additionalProperties": false, - "properties": Object { - "types": Object { - "items": Object { + "properties": { + "types": { + "items": { "$ref": "#/components/schemas/featureTypeSchema", }, "type": "array", }, - "version": Object { + "version": { "type": "integer", }, }, - "required": Array [ + "required": [ "version", "types", ], "type": "object", }, - "featureUsageSchema": Object { + "featureUsageSchema": { "additionalProperties": false, - "properties": Object { - "featureName": Object { + "properties": { + "featureName": { "type": "string", }, - "lastHourUsage": Object { - "items": Object { + "lastHourUsage": { + "items": { "$ref": "#/components/schemas/featureEnvironmentMetricsSchema", }, "type": "array", }, - "maturity": Object { + "maturity": { "type": "string", }, - "seenApplications": Object { - "items": Object { + "seenApplications": { + "items": { "type": "string", }, "type": "array", }, - "version": Object { + "version": { "type": "number", }, }, - "required": Array [ + "required": [ "version", "maturity", "featureName", @@ -1284,124 +1284,124 @@ Object { ], "type": "object", }, - "featureVariantsSchema": Object { + "featureVariantsSchema": { "additionalProperties": false, - "properties": Object { - "variants": Object { - "items": Object { + "properties": { + "variants": { + "items": { "$ref": "#/components/schemas/variantSchema", }, "type": "array", }, - "version": Object { + "version": { "type": "integer", }, }, - "required": Array [ + "required": [ "version", "variants", ], "type": "object", }, - "featuresSchema": Object { + "featuresSchema": { "additionalProperties": false, - "properties": Object { - "features": Object { - "items": Object { + "properties": { + "features": { + "items": { "$ref": "#/components/schemas/featureSchema", }, "type": "array", }, - "version": Object { + "version": { "type": "integer", }, }, - "required": Array [ + "required": [ "version", "features", ], "type": "object", }, - "feedbackSchema": Object { + "feedbackSchema": { "additionalProperties": false, - "properties": Object { - "feedbackId": Object { + "properties": { + "feedbackId": { "type": "string", }, - "given": Object { + "given": { "format": "date-time", "nullable": true, "type": "string", }, - "neverShow": Object { + "neverShow": { "type": "boolean", }, - "userId": Object { + "userId": { "type": "number", }, }, "type": "object", }, - "groupSchema": Object { + "groupSchema": { "additionalProperties": true, - "properties": Object { - "createdAt": Object { + "properties": { + "createdAt": { "format": "date-time", "nullable": true, "type": "string", }, - "createdBy": Object { + "createdBy": { "nullable": true, "type": "string", }, - "description": Object { + "description": { "type": "string", }, - "id": Object { + "id": { "type": "number", }, - "name": Object { + "name": { "type": "string", }, - "projects": Object { - "items": Object { + "projects": { + "items": { "type": "string", }, "type": "array", }, - "users": Object { - "items": Object { + "users": { + "items": { "$ref": "#/components/schemas/groupUserModelSchema", }, "type": "array", }, }, - "required": Array [ + "required": [ "name", ], "type": "object", }, - "groupUserModelSchema": Object { + "groupUserModelSchema": { "additionalProperties": false, - "properties": Object { - "joinedAt": Object { + "properties": { + "joinedAt": { "format": "date-time", "type": "string", }, - "user": Object { + "user": { "$ref": "#/components/schemas/userSchema", }, }, - "required": Array [ + "required": [ "user", ], "type": "object", }, - "groupsSchema": Object { + "groupsSchema": { "additionalProperties": false, - "properties": Object { - "groups": Object { - "items": Object { + "properties": { + "groups": { + "items": { "$ref": "#/components/schemas/groupSchema", }, "type": "array", @@ -1409,110 +1409,110 @@ Object { }, "type": "object", }, - "healthCheckSchema": Object { + "healthCheckSchema": { "additionalProperties": false, - "properties": Object { - "health": Object { - "enum": Array [ + "properties": { + "health": { + "enum": [ "GOOD", "BAD", ], "type": "string", }, }, - "required": Array [ + "required": [ "health", ], "type": "object", }, - "healthOverviewSchema": Object { + "healthOverviewSchema": { "additionalProperties": false, - "properties": Object { - "description": Object { + "properties": { + "description": { "type": "string", }, - "environments": Object { - "items": Object { + "environments": { + "items": { "type": "string", }, "type": "array", }, - "features": Object { - "items": Object { + "features": { + "items": { "$ref": "#/components/schemas/featureSchema", }, "type": "array", }, - "health": Object { + "health": { "type": "number", }, - "members": Object { + "members": { "type": "number", }, - "name": Object { + "name": { "type": "string", }, - "updatedAt": Object { + "updatedAt": { "format": "date-time", "nullable": true, "type": "string", }, - "version": Object { + "version": { "type": "number", }, }, - "required": Array [ + "required": [ "version", "name", ], "type": "object", }, - "healthReportSchema": Object { + "healthReportSchema": { "additionalProperties": false, - "properties": Object { - "activeCount": Object { + "properties": { + "activeCount": { "type": "number", }, - "description": Object { + "description": { "type": "string", }, - "environments": Object { - "items": Object { + "environments": { + "items": { "type": "string", }, "type": "array", }, - "features": Object { - "items": Object { + "features": { + "items": { "$ref": "#/components/schemas/featureSchema", }, "type": "array", }, - "health": Object { + "health": { "type": "number", }, - "members": Object { + "members": { "type": "number", }, - "name": Object { + "name": { "type": "string", }, - "potentiallyStaleCount": Object { + "potentiallyStaleCount": { "type": "number", }, - "staleCount": Object { + "staleCount": { "type": "number", }, - "updatedAt": Object { + "updatedAt": { "format": "date-time", "nullable": true, "type": "string", }, - "version": Object { + "version": { "type": "number", }, }, - "required": Array [ + "required": [ "version", "name", "potentiallyStaleCount", @@ -1521,75 +1521,75 @@ Object { ], "type": "object", }, - "idSchema": Object { + "idSchema": { "additionalProperties": false, - "properties": Object { - "id": Object { + "properties": { + "id": { "type": "string", }, }, - "required": Array [ + "required": [ "id", ], "type": "object", }, - "legalValueSchema": Object { + "legalValueSchema": { "additionalProperties": false, - "properties": Object { - "description": Object { + "properties": { + "description": { "type": "string", }, - "value": Object { + "value": { "type": "string", }, }, - "required": Array [ + "required": [ "value", ], "type": "object", }, - "loginSchema": Object { + "loginSchema": { "additionalProperties": false, - "properties": Object { - "password": Object { + "properties": { + "password": { "type": "string", }, - "username": Object { + "username": { "type": "string", }, }, - "required": Array [ + "required": [ "username", "password", ], "type": "object", }, - "meSchema": Object { + "meSchema": { "additionalProperties": false, - "properties": Object { - "feedback": Object { - "items": Object { + "properties": { + "feedback": { + "items": { "$ref": "#/components/schemas/feedbackSchema", }, "type": "array", }, - "permissions": Object { - "items": Object { + "permissions": { + "items": { "$ref": "#/components/schemas/permissionSchema", }, "type": "array", }, - "splash": Object { - "additionalProperties": Object { + "splash": { + "additionalProperties": { "type": "boolean", }, "type": "object", }, - "user": Object { + "user": { "$ref": "#/components/schemas/userSchema", }, }, - "required": Array [ + "required": [ "user", "permissions", "feedback", @@ -1597,65 +1597,65 @@ Object { ], "type": "object", }, - "nameSchema": Object { + "nameSchema": { "additionalProperties": false, - "properties": Object { - "name": Object { + "properties": { + "name": { "type": "string", }, }, - "required": Array [ + "required": [ "name", ], "type": "object", }, - "overrideSchema": Object { + "overrideSchema": { "additionalProperties": false, - "properties": Object { - "contextName": Object { + "properties": { + "contextName": { "type": "string", }, - "values": Object { - "items": Object { + "values": { + "items": { "type": "string", }, "type": "array", }, }, - "required": Array [ + "required": [ "contextName", "values", ], "type": "object", }, - "parametersSchema": Object { - "additionalProperties": Object { + "parametersSchema": { + "additionalProperties": { "type": "string", }, "type": "object", }, - "passwordSchema": Object { + "passwordSchema": { "additionalProperties": false, - "properties": Object { - "confirmPassword": Object { + "properties": { + "confirmPassword": { "type": "string", }, - "password": Object { + "password": { "type": "string", }, }, - "required": Array [ + "required": [ "password", ], "type": "object", }, - "patchSchema": Object { - "properties": Object { - "from": Object { + "patchSchema": { + "properties": { + "from": { "type": "string", }, - "op": Object { - "enum": Array [ + "op": { + "enum": [ "add", "remove", "replace", @@ -1664,63 +1664,63 @@ Object { ], "type": "string", }, - "path": Object { + "path": { "type": "string", }, - "value": Object {}, + "value": {}, }, - "required": Array [ + "required": [ "path", "op", ], "type": "object", }, - "patchesSchema": Object { - "items": Object { + "patchesSchema": { + "items": { "$ref": "#/components/schemas/patchSchema", }, "type": "array", }, - "permissionSchema": Object { + "permissionSchema": { "additionalProperties": false, - "properties": Object { - "environment": Object { + "properties": { + "environment": { "type": "string", }, - "permission": Object { + "permission": { "type": "string", }, - "project": Object { + "project": { "type": "string", }, }, - "required": Array [ + "required": [ "permission", ], "type": "object", }, - "playgroundConstraintSchema": Object { + "playgroundConstraintSchema": { "additionalProperties": false, "description": "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/advanced/strategy_constraints)", - "properties": Object { - "caseInsensitive": Object { + "properties": { + "caseInsensitive": { "default": false, "description": "Whether the operator should be case sensitive or not. Defaults to \`false\` (being case sensitive).", "type": "boolean", }, - "contextName": Object { + "contextName": { "description": "The name of the context field that this constraint should apply to.", "example": "appName", "type": "string", }, - "inverted": Object { + "inverted": { "default": false, "description": "Whether the result should be negated or not. If \`true\`, will turn a \`true\` result into a \`false\` result and vice versa.", "type": "boolean", }, - "operator": Object { + "operator": { "description": "The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/advanced/strategy_constraints#strategy-constraint-operators).", - "enum": Array [ + "enum": [ "NOT_IN", "IN", "STR_ENDS_WITH", @@ -1739,71 +1739,71 @@ Object { ], "type": "string", }, - "result": Object { + "result": { "description": "Whether this was evaluated as true or false.", "type": "boolean", }, - "value": Object { + "value": { "description": "The context value that should be used for constraint evaluation. Use this property instead of \`values\` for properties that only accept single values.", "type": "string", }, - "values": Object { + "values": { "description": "The context values that should be used for constraint evaluation. Use this property instead of \`value\` for properties that accept multiple values.", - "items": Object { + "items": { "type": "string", }, "type": "array", }, }, - "required": Array [ + "required": [ "contextName", "operator", "result", ], "type": "object", }, - "playgroundFeatureSchema": Object { + "playgroundFeatureSchema": { "additionalProperties": false, "description": "A simplified feature toggle model intended for the Unleash playground.", - "properties": Object { - "isEnabled": Object { + "properties": { + "isEnabled": { "description": "Whether this feature is enabled or not in the current environment. If a feature can't be fully evaluated (that is, \`strategies.result\` is \`unknown\`), this will be \`false\` to align with how client SDKs treat unresolved feature states.", "example": true, "type": "boolean", }, - "isEnabledInCurrentEnvironment": Object { + "isEnabledInCurrentEnvironment": { "description": "Whether the feature is active and would be evaluated in the provided environment in a normal SDK context.", "type": "boolean", }, - "name": Object { + "name": { "description": "The feature's name.", "example": "my-feature", "type": "string", }, - "projectId": Object { + "projectId": { "description": "The ID of the project that contains this feature.", "example": "my-project", "type": "string", }, - "strategies": Object { + "strategies": { "additionalProperties": false, - "properties": Object { - "data": Object { + "properties": { + "data": { "description": "The strategies that apply to this feature.", - "items": Object { + "items": { "$ref": "#/components/schemas/playgroundStrategySchema", }, "type": "array", }, - "result": Object { - "anyOf": Array [ - Object { + "result": { + "anyOf": [ + { "type": "boolean", }, - Object { - "enum": Array [ + { + "enum": [ "unknown", ], "type": "string", @@ -1816,73 +1816,73 @@ Object { all resolve to \`false\`.", }, }, - "required": Array [ + "required": [ "result", "data", ], "type": "object", }, - "variant": Object { + "variant": { "additionalProperties": false, "description": "The feature variant you receive based on the provided context or the _disabled variant_. If a feature is disabled or doesn't have any variants, you would get the _disabled variant_. Otherwise, you'll get one of thefeature's defined variants.", - "example": Object { + "example": { "enabled": true, "name": "green", }, "nullable": true, - "properties": Object { - "enabled": Object { + "properties": { + "enabled": { "description": "Whether the variant is enabled or not. If the feature is disabled or if it doesn't have variants, this property will be \`false\`", "type": "boolean", }, - "name": Object { + "name": { "description": "The variant's name. If there is no variant or if the toggle is disabled, this will be \`disabled\`", "example": "red-variant", "type": "string", }, - "payload": Object { + "payload": { "additionalProperties": false, "description": "An optional payload attached to the variant.", - "properties": Object { - "type": Object { + "properties": { + "type": { "description": "The format of the payload.", - "enum": Array [ + "enum": [ "json", "csv", "string", ], "type": "string", }, - "value": Object { + "value": { "description": "The payload value stringified.", - "example": "{\\"property\\": \\"value\\"}", + "example": "{"property": "value"}", "type": "string", }, }, - "required": Array [ + "required": [ "type", "value", ], "type": "object", }, }, - "required": Array [ + "required": [ "name", "enabled", ], "type": "object", }, - "variants": Object { - "items": Object { + "variants": { + "items": { "$ref": "#/components/schemas/variantSchema", }, "type": "array", }, }, - "required": Array [ + "required": [ "name", "projectId", "isEnabled", @@ -1893,33 +1893,33 @@ Object { ], "type": "object", }, - "playgroundRequestSchema": Object { + "playgroundRequestSchema": { "description": "Data for the playground API to evaluate toggles", - "properties": Object { - "context": Object { + "properties": { + "context": { "$ref": "#/components/schemas/sdkContextSchema", "description": "The context to use when evaluating toggles", }, - "environment": Object { + "environment": { "description": "The environment to evaluate toggles in.", "example": "development", "type": "string", }, - "projects": Object { - "oneOf": Array [ - Object { + "projects": { + "oneOf": [ + { "description": "A list of projects to check for toggles in.", - "example": Array [ + "example": [ "my-project", ], - "items": Object { + "items": { "type": "string", }, "type": "array", }, - Object { + { "description": "Check toggles in all projects.", - "enum": Array [ + "enum": [ "*", ], "type": "string", @@ -1927,59 +1927,59 @@ Object { ], }, }, - "required": Array [ + "required": [ "environment", "context", ], "type": "object", }, - "playgroundResponseSchema": Object { + "playgroundResponseSchema": { "additionalProperties": false, "description": "The state of all features given the provided input.", - "properties": Object { - "features": Object { + "properties": { + "features": { "description": "The list of features that have been evaluated.", - "items": Object { + "items": { "$ref": "#/components/schemas/playgroundFeatureSchema", }, "type": "array", }, - "input": Object { + "input": { "$ref": "#/components/schemas/playgroundRequestSchema", "description": "The given input used to evaluate the features.", }, }, - "required": Array [ + "required": [ "features", "input", ], "type": "object", }, - "playgroundSegmentSchema": Object { + "playgroundSegmentSchema": { "additionalProperties": false, - "properties": Object { - "constraints": Object { + "properties": { + "constraints": { "description": "The list of constraints in this segment.", - "items": Object { + "items": { "$ref": "#/components/schemas/playgroundConstraintSchema", }, "type": "array", }, - "id": Object { + "id": { "description": "The segment's id.", "type": "integer", }, - "name": Object { + "name": { "description": "The name of the segment.", "example": "segment A", "type": "string", }, - "result": Object { + "result": { "description": "Whether this was evaluated as true or false.", "type": "boolean", }, }, - "required": Array [ + "required": [ "name", "id", "constraints", @@ -1987,46 +1987,46 @@ Object { ], "type": "object", }, - "playgroundStrategySchema": Object { + "playgroundStrategySchema": { "additionalProperties": false, - "properties": Object { - "constraints": Object { + "properties": { + "constraints": { "description": "The strategy's constraints and their evaluation results.", - "items": Object { + "items": { "$ref": "#/components/schemas/playgroundConstraintSchema", }, "type": "array", }, - "id": Object { + "id": { "description": "The strategy's id.", "type": "string", }, - "name": Object { + "name": { "description": "The strategy's name.", "type": "string", }, - "parameters": Object { + "parameters": { "$ref": "#/components/schemas/parametersSchema", "description": "The strategy's constraints and their evaluation results.", - "example": Object { + "example": { "myParam1": "param value", }, }, - "result": Object { - "anyOf": Array [ - Object { + "result": { + "anyOf": [ + { "additionalProperties": false, - "properties": Object { - "enabled": Object { - "anyOf": Array [ - Object { - "enum": Array [ + "properties": { + "enabled": { + "anyOf": [ + { + "enum": [ false, ], "type": "boolean", }, - Object { - "enum": Array [ + { + "enum": [ "unknown", ], "type": "string", @@ -2034,36 +2034,36 @@ Object { ], "description": "Whether this strategy resolves to \`false\` or if it might resolve to \`true\`. Because Unleash can't evaluate the strategy, it can't say for certain whether it will be \`true\`, but if you have failing constraints or segments, it _can_ determine that your strategy would be \`false\`.", }, - "evaluationStatus": Object { + "evaluationStatus": { "description": "Signals that this strategy could not be evaluated. This is most likely because you're using a custom strategy that Unleash doesn't know about.", - "enum": Array [ + "enum": [ "incomplete", ], "type": "string", }, }, - "required": Array [ + "required": [ "evaluationStatus", "enabled", ], "type": "object", }, - Object { + { "additionalProperties": false, - "properties": Object { - "enabled": Object { + "properties": { + "enabled": { "description": "Whether this strategy evaluates to true or not.", "type": "boolean", }, - "evaluationStatus": Object { + "evaluationStatus": { "description": "Signals that this strategy was evaluated successfully.", - "enum": Array [ + "enum": [ "complete", ], "type": "string", }, }, - "required": Array [ + "required": [ "evaluationStatus", "enabled", ], @@ -2072,15 +2072,15 @@ Object { ], "description": "The strategy's evaluation result. If the strategy is a custom strategy that Unleash can't evaluate, \`evaluationStatus\` will be \`unknown\`. Otherwise, it will be \`true\` or \`false\`", }, - "segments": Object { + "segments": { "description": "The strategy's segments and their evaluation results.", - "items": Object { + "items": { "$ref": "#/components/schemas/playgroundSegmentSchema", }, "type": "array", }, }, - "required": Array [ + "required": [ "id", "name", "result", @@ -2090,117 +2090,117 @@ Object { ], "type": "object", }, - "projectEnvironmentSchema": Object { + "projectEnvironmentSchema": { "additionalProperties": false, - "properties": Object { - "environment": Object { + "properties": { + "environment": { "type": "string", }, }, - "required": Array [ + "required": [ "environment", ], "type": "object", }, - "projectSchema": Object { + "projectSchema": { "additionalProperties": false, - "properties": Object { - "createdAt": Object { + "properties": { + "createdAt": { "format": "date-time", "type": "string", }, - "description": Object { + "description": { "type": "string", }, - "featureCount": Object { + "featureCount": { "type": "number", }, - "health": Object { + "health": { "type": "number", }, - "id": Object { + "id": { "type": "string", }, - "memberCount": Object { + "memberCount": { "type": "number", }, - "name": Object { + "name": { "type": "string", }, - "updatedAt": Object { + "updatedAt": { "format": "date-time", "nullable": true, "type": "string", }, }, - "required": Array [ + "required": [ "id", "name", ], "type": "object", }, - "projectsSchema": Object { + "projectsSchema": { "additionalProperties": false, - "properties": Object { - "projects": Object { - "items": Object { + "properties": { + "projects": { + "items": { "$ref": "#/components/schemas/projectSchema", }, "type": "array", }, - "version": Object { + "version": { "type": "integer", }, }, - "required": Array [ + "required": [ "version", "projects", ], "type": "object", }, - "proxyClientSchema": Object { - "properties": Object { - "appName": Object { + "proxyClientSchema": { + "properties": { + "appName": { "description": "Name of the application using Unleash", "type": "string", }, - "environment": Object { + "environment": { "deprecated": true, "type": "string", }, - "instanceId": Object { + "instanceId": { "description": "Instance id for this application (typically hostname, podId or similar)", "type": "string", }, - "interval": Object { + "interval": { "description": "At which interval, in milliseconds, will this client be expected to send metrics", "type": "number", }, - "sdkVersion": Object { + "sdkVersion": { "description": "Optional field that describes the sdk version (name:version)", "type": "string", }, - "started": Object { + "started": { "description": "When this client started. Should be reported as ISO8601 time.", - "oneOf": Array [ - Object { + "oneOf": [ + { "format": "date-time", "type": "string", }, - Object { + { "type": "number", }, ], }, - "strategies": Object { + "strategies": { "description": "List of strategies implemented by this application", - "items": Object { + "items": { "type": "string", }, "type": "array", }, }, - "required": Array [ + "required": [ "appName", "interval", "started", @@ -2208,123 +2208,123 @@ Object { ], "type": "object", }, - "proxyFeatureSchema": Object { + "proxyFeatureSchema": { "additionalProperties": false, - "properties": Object { - "enabled": Object { + "properties": { + "enabled": { "type": "boolean", }, - "impressionData": Object { + "impressionData": { "type": "boolean", }, - "name": Object { + "name": { "type": "string", }, - "variant": Object { + "variant": { "additionalProperties": false, - "properties": Object { - "enabled": Object { + "properties": { + "enabled": { "type": "boolean", }, - "name": Object { + "name": { "type": "string", }, - "payload": Object { + "payload": { "additionalProperties": false, - "properties": Object { - "type": Object { - "enum": Array [ + "properties": { + "type": { + "enum": [ "string", ], "type": "string", }, - "value": Object { + "value": { "type": "string", }, }, - "required": Array [ + "required": [ "type", "value", ], "type": "object", }, }, - "required": Array [ + "required": [ "name", "enabled", ], "type": "object", }, }, - "required": Array [ + "required": [ "name", "enabled", "impressionData", ], "type": "object", }, - "proxyFeaturesSchema": Object { + "proxyFeaturesSchema": { "additionalProperties": false, - "properties": Object { - "toggles": Object { - "items": Object { + "properties": { + "toggles": { + "items": { "$ref": "#/components/schemas/proxyFeatureSchema", }, "type": "array", }, }, - "required": Array [ + "required": [ "toggles", ], "type": "object", }, - "proxyMetricsSchema": Object { - "properties": Object { - "appName": Object { + "proxyMetricsSchema": { + "properties": { + "appName": { "type": "string", }, - "bucket": Object { - "properties": Object { - "start": Object { + "bucket": { + "properties": { + "start": { "format": "date-time", "type": "string", }, - "stop": Object { + "stop": { "format": "date-time", "type": "string", }, - "toggles": Object { - "additionalProperties": Object { - "properties": Object { - "no": Object { + "toggles": { + "additionalProperties": { + "properties": { + "no": { "minimum": 0, "type": "integer", }, - "variants": Object { - "additionalProperties": Object { + "variants": { + "additionalProperties": { "minimum": 0, "type": "integer", }, "type": "object", }, - "yes": Object { + "yes": { "minimum": 0, "type": "integer", }, }, "type": "object", }, - "example": Object { - "myCoolToggle": Object { + "example": { + "myCoolToggle": { "no": 42, - "variants": Object { + "variants": { "blue": 6, "green": 15, "red": 46, }, "yes": 25, }, - "myOtherToggle": Object { + "myOtherToggle": { "no": 100, "yes": 0, }, @@ -2332,137 +2332,137 @@ Object { "type": "object", }, }, - "required": Array [ + "required": [ "start", "stop", "toggles", ], "type": "object", }, - "environment": Object { + "environment": { "type": "string", }, - "instanceId": Object { + "instanceId": { "type": "string", }, }, - "required": Array [ + "required": [ "appName", "instanceId", "bucket", ], "type": "object", }, - "resetPasswordSchema": Object { + "resetPasswordSchema": { "additionalProperties": false, - "properties": Object { - "resetPasswordUrl": Object { + "properties": { + "resetPasswordUrl": { "type": "string", }, }, - "required": Array [ + "required": [ "resetPasswordUrl", ], "type": "object", }, - "roleSchema": Object { + "roleSchema": { "additionalProperties": false, - "properties": Object { - "description": Object { + "properties": { + "description": { "type": "string", }, - "id": Object { + "id": { "type": "number", }, - "name": Object { + "name": { "type": "string", }, - "type": Object { + "type": { "type": "string", }, }, - "required": Array [ + "required": [ "id", "type", "name", ], "type": "object", }, - "sdkContextSchema": Object { - "additionalProperties": Object { + "sdkContextSchema": { + "additionalProperties": { "example": "top-level custom context value", "type": "string", }, "description": "The Unleash context as modeled in client SDKs", - "properties": Object { - "appName": Object { + "properties": { + "appName": { "example": "My cool application.", "minLength": 1, "type": "string", }, - "currentTime": Object { + "currentTime": { "example": "2022-07-05T12:56:41+02:00", "format": "date-time", "type": "string", }, - "environment": Object { + "environment": { "deprecated": true, "type": "string", }, - "properties": Object { - "additionalProperties": Object { + "properties": { + "additionalProperties": { "type": "string", }, - "example": Object { + "example": { "customContextField": "this is one!", "otherCustomField": "3", }, "type": "object", }, - "remoteAddress": Object { + "remoteAddress": { "example": "192.168.1.1", "type": "string", }, - "sessionId": Object { + "sessionId": { "example": "b65e7b23-fec0-4814-a129-0e9861ef18fc", "type": "string", }, - "userId": Object { + "userId": { "example": "username@provider.com", "type": "string", }, }, - "required": Array [ + "required": [ "appName", ], "type": "object", }, - "searchEventsSchema": Object { + "searchEventsSchema": { "description": " Search for events by type, project, feature, free-text query, or a combination thereof. Pass an empty object to fetch all events. ", - "properties": Object { - "feature": Object { + "properties": { + "feature": { "description": "Find events by feature toggle name (case-sensitive).", "type": "string", }, - "limit": Object { + "limit": { "default": 100, "maximum": 100, "minimum": 1, "type": "integer", }, - "offset": Object { + "offset": { "default": 0, "minimum": 0, "type": "integer", }, - "project": Object { + "project": { "description": "Find events by project ID (case-sensitive).", "type": "string", }, - "query": Object { + "query": { "description": " Find events by a free-text search query. The query will be matched against the event type, @@ -2471,51 +2471,51 @@ Object { ", "type": "string", }, - "type": Object { + "type": { "description": "Find events by event type (case-sensitive).", "type": "string", }, }, "type": "object", }, - "segmentSchema": Object { + "segmentSchema": { "additionalProperties": false, - "properties": Object { - "constraints": Object { - "items": Object { + "properties": { + "constraints": { + "items": { "$ref": "#/components/schemas/constraintSchema", }, "type": "array", }, - "description": Object { + "description": { "nullable": true, "type": "string", }, - "id": Object { + "id": { "type": "number", }, - "name": Object { + "name": { "type": "string", }, }, - "required": Array [ + "required": [ "id", "constraints", ], "type": "object", }, - "setStrategySortOrderSchema": Object { - "items": Object { + "setStrategySortOrderSchema": { + "items": { "additionalProperties": false, - "properties": Object { - "id": Object { + "properties": { + "id": { "type": "string", }, - "sortOrder": Object { + "sortOrder": { "type": "number", }, }, - "required": Array [ + "required": [ "id", "sortOrder", ], @@ -2523,21 +2523,21 @@ Object { }, "type": "array", }, - "setUiConfigSchema": Object { + "setUiConfigSchema": { "additionalProperties": false, - "properties": Object { - "frontendSettings": Object { + "properties": { + "frontendSettings": { "additionalProperties": false, - "properties": Object { - "frontendApiOrigins": Object { + "properties": { + "frontendApiOrigins": { "additionalProperties": false, - "items": Object { + "items": { "type": "string", }, "type": "array", }, }, - "required": Array [ + "required": [ "frontendApiOrigins", ], "type": "object", @@ -2545,162 +2545,162 @@ Object { }, "type": "object", }, - "sortOrderSchema": Object { - "additionalProperties": Object { + "sortOrderSchema": { + "additionalProperties": { "type": "number", }, "type": "object", }, - "splashSchema": Object { + "splashSchema": { "additionalProperties": false, - "properties": Object { - "seen": Object { + "properties": { + "seen": { "type": "boolean", }, - "splashId": Object { + "splashId": { "type": "string", }, - "userId": Object { + "userId": { "type": "number", }, }, - "required": Array [ + "required": [ "userId", "splashId", "seen", ], "type": "object", }, - "stateSchema": Object { + "stateSchema": { "additionalProperties": true, - "properties": Object { - "environments": Object { - "items": Object { + "properties": { + "environments": { + "items": { "$ref": "#/components/schemas/environmentSchema", }, "type": "array", }, - "featureEnvironments": Object { - "items": Object { + "featureEnvironments": { + "items": { "$ref": "#/components/schemas/featureEnvironmentSchema", }, "type": "array", }, - "featureStrategies": Object { - "items": Object { + "featureStrategies": { + "items": { "$ref": "#/components/schemas/featureStrategySchema", }, "type": "array", }, - "featureStrategySegments": Object { - "items": Object { + "featureStrategySegments": { + "items": { "$ref": "#/components/schemas/featureStrategySegmentSchema", }, "type": "array", }, - "featureTags": Object { - "items": Object { + "featureTags": { + "items": { "$ref": "#/components/schemas/featureTagSchema", }, "type": "array", }, - "features": Object { - "items": Object { + "features": { + "items": { "$ref": "#/components/schemas/featureSchema", }, "type": "array", }, - "projects": Object { - "items": Object { + "projects": { + "items": { "$ref": "#/components/schemas/projectSchema", }, "type": "array", }, - "segments": Object { - "items": Object { + "segments": { + "items": { "$ref": "#/components/schemas/segmentSchema", }, "type": "array", }, - "strategies": Object { - "items": Object { + "strategies": { + "items": { "$ref": "#/components/schemas/strategySchema", }, "type": "array", }, - "tagTypes": Object { - "items": Object { + "tagTypes": { + "items": { "$ref": "#/components/schemas/tagTypeSchema", }, "type": "array", }, - "tags": Object { - "items": Object { + "tags": { + "items": { "$ref": "#/components/schemas/tagSchema", }, "type": "array", }, - "version": Object { + "version": { "type": "integer", }, }, - "required": Array [ + "required": [ "version", ], "type": "object", }, - "strategiesSchema": Object { + "strategiesSchema": { "additionalProperties": false, - "properties": Object { - "strategies": Object { - "items": Object { + "properties": { + "strategies": { + "items": { "$ref": "#/components/schemas/strategySchema", }, "type": "array", }, - "version": Object { + "version": { "type": "integer", }, }, - "required": Array [ + "required": [ "version", "strategies", ], "type": "object", }, - "strategySchema": Object { + "strategySchema": { "additionalProperties": false, - "properties": Object { - "deprecated": Object { + "properties": { + "deprecated": { "type": "boolean", }, - "description": Object { + "description": { "type": "string", }, - "displayName": Object { + "displayName": { "nullable": true, "type": "string", }, - "editable": Object { + "editable": { "type": "boolean", }, - "name": Object { + "name": { "type": "string", }, - "parameters": Object { - "items": Object { + "parameters": { + "items": { "additionalProperties": false, - "properties": Object { - "description": Object { + "properties": { + "description": { "type": "string", }, - "name": Object { + "name": { "type": "string", }, - "required": Object { + "required": { "type": "boolean", }, - "type": Object { + "type": { "type": "string", }, }, @@ -2709,7 +2709,7 @@ Object { "type": "array", }, }, - "required": Array [ + "required": [ "name", "displayName", "description", @@ -2719,119 +2719,119 @@ Object { ], "type": "object", }, - "tagSchema": Object { + "tagSchema": { "additionalProperties": false, - "properties": Object { - "type": Object { + "properties": { + "type": { "type": "string", }, - "value": Object { + "value": { "type": "string", }, }, - "required": Array [ + "required": [ "value", "type", ], "type": "object", }, - "tagTypeSchema": Object { + "tagTypeSchema": { "additionalProperties": false, - "properties": Object { - "description": Object { + "properties": { + "description": { "type": "string", }, - "icon": Object { + "icon": { "nullable": true, "type": "string", }, - "name": Object { + "name": { "type": "string", }, }, - "required": Array [ + "required": [ "name", ], "type": "object", }, - "tagTypesSchema": Object { + "tagTypesSchema": { "additionalProperties": false, - "properties": Object { - "tagTypes": Object { - "items": Object { + "properties": { + "tagTypes": { + "items": { "$ref": "#/components/schemas/tagTypeSchema", }, "type": "array", }, - "version": Object { + "version": { "type": "integer", }, }, - "required": Array [ + "required": [ "version", "tagTypes", ], "type": "object", }, - "tagWithVersionSchema": Object { + "tagWithVersionSchema": { "additionalProperties": false, - "properties": Object { - "tag": Object { + "properties": { + "tag": { "$ref": "#/components/schemas/tagSchema", }, - "version": Object { + "version": { "type": "integer", }, }, - "required": Array [ + "required": [ "version", "tag", ], "type": "object", }, - "tagsSchema": Object { + "tagsSchema": { "additionalProperties": false, - "properties": Object { - "tags": Object { - "items": Object { + "properties": { + "tags": { + "items": { "$ref": "#/components/schemas/tagSchema", }, "type": "array", }, - "version": Object { + "version": { "type": "integer", }, }, - "required": Array [ + "required": [ "version", "tags", ], "type": "object", }, - "tokenUserSchema": Object { + "tokenUserSchema": { "additionalProperties": false, - "properties": Object { - "createdBy": Object { + "properties": { + "createdBy": { "nullable": true, "type": "string", }, - "email": Object { + "email": { "type": "string", }, - "id": Object { + "id": { "type": "number", }, - "name": Object { + "name": { "type": "string", }, - "role": Object { + "role": { "$ref": "#/components/schemas/roleSchema", }, - "token": Object { + "token": { "type": "string", }, }, - "required": Array [ + "required": [ "id", "name", "email", @@ -2841,11 +2841,11 @@ Object { ], "type": "object", }, - "uiConfigSchema": Object { + "uiConfigSchema": { "additionalProperties": false, - "properties": Object { - "authenticationType": Object { - "enum": Array [ + "properties": { + "authenticationType": { + "enum": [ "open-source", "demo", "enterprise", @@ -2855,59 +2855,59 @@ Object { ], "type": "string", }, - "baseUriPath": Object { + "baseUriPath": { "type": "string", }, - "disablePasswordAuth": Object { + "disablePasswordAuth": { "type": "boolean", }, - "emailEnabled": Object { + "emailEnabled": { "type": "boolean", }, - "environment": Object { + "environment": { "type": "string", }, - "flags": Object { - "additionalProperties": Object { + "flags": { + "additionalProperties": { "type": "boolean", }, "type": "object", }, - "frontendApiOrigins": Object { - "items": Object { + "frontendApiOrigins": { + "items": { "type": "string", }, "type": "array", }, - "links": Object { - "items": Object { + "links": { + "items": { "type": "object", }, "type": "array", }, - "name": Object { + "name": { "type": "string", }, - "segmentValuesLimit": Object { + "segmentValuesLimit": { "type": "number", }, - "slogan": Object { + "slogan": { "type": "string", }, - "strategySegmentsLimit": Object { + "strategySegmentsLimit": { "type": "number", }, - "unleashUrl": Object { + "unleashUrl": { "type": "string", }, - "version": Object { + "version": { "type": "string", }, - "versionInfo": Object { + "versionInfo": { "$ref": "#/components/schemas/versionSchema", }, }, - "required": Array [ + "required": [ "version", "unleashUrl", "baseUriPath", @@ -2915,150 +2915,150 @@ Object { ], "type": "object", }, - "updateApiTokenSchema": Object { - "properties": Object { - "expiresAt": Object { + "updateApiTokenSchema": { + "properties": { + "expiresAt": { "format": "date-time", "type": "string", }, }, - "required": Array [ + "required": [ "expiresAt", ], "type": "object", }, - "updateFeatureSchema": Object { - "properties": Object { - "archived": Object { + "updateFeatureSchema": { + "properties": { + "archived": { "type": "boolean", }, - "constraints": Object { - "items": Object { + "constraints": { + "items": { "$ref": "#/components/schemas/constraintSchema", }, "type": "array", }, - "createdAt": Object { + "createdAt": { "format": "date-time", "type": "string", }, - "description": Object { + "description": { "type": "string", }, - "impressionData": Object { + "impressionData": { "type": "boolean", }, - "name": Object { + "name": { "type": "string", }, - "stale": Object { + "stale": { "type": "boolean", }, - "type": Object { + "type": { "type": "string", }, }, - "required": Array [ + "required": [ "name", ], "type": "object", }, - "updateFeatureStrategySchema": Object { - "properties": Object { - "constraints": Object { - "items": Object { + "updateFeatureStrategySchema": { + "properties": { + "constraints": { + "items": { "$ref": "#/components/schemas/constraintSchema", }, "type": "array", }, - "name": Object { + "name": { "type": "string", }, - "parameters": Object { + "parameters": { "$ref": "#/components/schemas/parametersSchema", }, - "sortOrder": Object { + "sortOrder": { "type": "number", }, }, "type": "object", }, - "updateTagTypeSchema": Object { - "properties": Object { - "description": Object { + "updateTagTypeSchema": { + "properties": { + "description": { "type": "string", }, - "icon": Object { + "icon": { "type": "string", }, }, "type": "object", }, - "updateUserSchema": Object { + "updateUserSchema": { "additionalProperties": true, - "properties": Object { - "email": Object { + "properties": { + "email": { "type": "string", }, - "name": Object { + "name": { "type": "string", }, - "rootRole": Object { + "rootRole": { "type": "number", }, }, "type": "object", }, - "upsertContextFieldSchema": Object { - "properties": Object { - "description": Object { + "upsertContextFieldSchema": { + "properties": { + "description": { "type": "string", }, - "legalValues": Object { - "items": Object { + "legalValues": { + "items": { "$ref": "#/components/schemas/legalValueSchema", }, "type": "array", }, - "name": Object { + "name": { "type": "string", }, - "sortOrder": Object { + "sortOrder": { "type": "number", }, - "stickiness": Object { + "stickiness": { "type": "boolean", }, }, - "required": Array [ + "required": [ "name", ], "type": "object", }, - "upsertStrategySchema": Object { - "properties": Object { - "description": Object { + "upsertStrategySchema": { + "properties": { + "description": { "type": "string", }, - "editable": Object { + "editable": { "type": "boolean", }, - "name": Object { + "name": { "type": "string", }, - "parameters": Object { - "items": Object { - "properties": Object { - "description": Object { + "parameters": { + "items": { + "properties": { + "description": { "type": "string", }, - "name": Object { + "name": { "type": "string", }, - "required": Object { + "required": { "type": "boolean", }, - "type": Object { + "type": { "type": "string", }, }, @@ -3067,70 +3067,70 @@ Object { "type": "array", }, }, - "required": Array [ + "required": [ "name", ], "type": "object", }, - "userSchema": Object { + "userSchema": { "additionalProperties": false, - "properties": Object { - "createdAt": Object { + "properties": { + "createdAt": { "format": "date-time", "type": "string", }, - "email": Object { + "email": { "type": "string", }, - "emailSent": Object { + "emailSent": { "type": "boolean", }, - "id": Object { + "id": { "type": "number", }, - "imageUrl": Object { + "imageUrl": { "type": "string", }, - "inviteLink": Object { + "inviteLink": { "type": "string", }, - "isAPI": Object { + "isAPI": { "type": "boolean", }, - "loginAttempts": Object { + "loginAttempts": { "type": "number", }, - "name": Object { + "name": { "type": "string", }, - "rootRole": Object { + "rootRole": { "type": "number", }, - "seenAt": Object { + "seenAt": { "format": "date-time", "nullable": true, "type": "string", }, - "username": Object { + "username": { "type": "string", }, }, - "required": Array [ + "required": [ "id", ], "type": "object", }, - "usersGroupsBaseSchema": Object { + "usersGroupsBaseSchema": { "additionalProperties": false, - "properties": Object { - "groups": Object { - "items": Object { + "properties": { + "groups": { + "items": { "$ref": "#/components/schemas/groupSchema", }, "type": "array", }, - "users": Object { - "items": Object { + "users": { + "items": { "$ref": "#/components/schemas/userSchema", }, "type": "array", @@ -3138,45 +3138,45 @@ Object { }, "type": "object", }, - "usersSchema": Object { + "usersSchema": { "additionalProperties": false, - "properties": Object { - "rootRoles": Object { - "items": Object { + "properties": { + "rootRoles": { + "items": { "$ref": "#/components/schemas/roleSchema", }, "type": "array", }, - "users": Object { - "items": Object { + "users": { + "items": { "$ref": "#/components/schemas/userSchema", }, "type": "array", }, }, - "required": Array [ + "required": [ "users", ], "type": "object", }, - "usersSearchSchema": Object { - "items": Object { + "usersSearchSchema": { + "items": { "$ref": "#/components/schemas/userSchema", }, "type": "array", }, - "validateEdgeTokensSchema": Object { + "validateEdgeTokensSchema": { "additionalProperties": false, - "properties": Object { - "tokens": Object { - "anyOf": Array [ - Object { - "items": Object { + "properties": { + "tokens": { + "anyOf": [ + { + "items": { "$ref": "#/components/schemas/edgeTokenSchema", }, }, - Object { - "items": Object { + { + "items": { "type": "string", }, }, @@ -3184,122 +3184,122 @@ Object { "type": "array", }, }, - "required": Array [ + "required": [ "tokens", ], "type": "object", }, - "validatePasswordSchema": Object { + "validatePasswordSchema": { "additionalProperties": false, - "properties": Object { - "password": Object { + "properties": { + "password": { "type": "string", }, }, - "required": Array [ + "required": [ "password", ], "type": "object", }, - "validateTagTypeSchema": Object { - "properties": Object { - "tagType": Object { + "validateTagTypeSchema": { + "properties": { + "tagType": { "$ref": "#/components/schemas/tagTypeSchema", }, - "valid": Object { + "valid": { "type": "boolean", }, }, - "required": Array [ + "required": [ "valid", "tagType", ], "type": "object", }, - "variantSchema": Object { + "variantSchema": { "additionalProperties": false, - "properties": Object { - "name": Object { + "properties": { + "name": { "type": "string", }, - "overrides": Object { - "items": Object { + "overrides": { + "items": { "$ref": "#/components/schemas/overrideSchema", }, "type": "array", }, - "payload": Object { - "properties": Object { - "type": Object { + "payload": { + "properties": { + "type": { "type": "string", }, - "value": Object { + "value": { "type": "string", }, }, - "required": Array [ + "required": [ "type", "value", ], "type": "object", }, - "stickiness": Object { + "stickiness": { "type": "string", }, - "weight": Object { + "weight": { "type": "number", }, - "weightType": Object { + "weightType": { "type": "string", }, }, - "required": Array [ + "required": [ "name", "weight", ], "type": "object", }, - "variantsSchema": Object { - "items": Object { + "variantsSchema": { + "items": { "$ref": "#/components/schemas/variantSchema", }, "type": "array", }, - "versionSchema": Object { + "versionSchema": { "additionalProperties": false, - "properties": Object { - "current": Object { + "properties": { + "current": { "additionalProperties": false, - "properties": Object { - "enterprise": Object { + "properties": { + "enterprise": { "type": "string", }, - "oss": Object { + "oss": { "type": "string", }, }, "type": "object", }, - "instanceId": Object { + "instanceId": { "type": "string", }, - "isLatest": Object { + "isLatest": { "type": "boolean", }, - "latest": Object { + "latest": { "additionalProperties": false, - "properties": Object { - "enterprise": Object { + "properties": { + "enterprise": { "type": "string", }, - "oss": Object { + "oss": { "type": "string", }, }, "type": "object", }, }, - "required": Array [ + "required": [ "current", "latest", "isLatest", @@ -3308,27 +3308,27 @@ Object { "type": "object", }, }, - "securitySchemes": Object { - "apiKey": Object { + "securitySchemes": { + "apiKey": { "in": "header", "name": "Authorization", "type": "apiKey", }, }, }, - "info": Object { + "info": { "title": "Unleash API", }, "openapi": "3.0.3", - "paths": Object { - "/api/admin/addons": Object { - "get": Object { + "paths": { + "/api/admin/addons": { + "get": { "operationId": "getAddons", - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/addonsSchema", }, }, @@ -3336,16 +3336,16 @@ Object { "description": "addonsSchema", }, }, - "tags": Array [ + "tags": [ "Addons", ], }, - "post": Object { + "post": { "operationId": "createAddon", - "requestBody": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/addonSchema", }, }, @@ -3353,11 +3353,11 @@ Object { "description": "addonSchema", "required": true, }, - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/addonSchema", }, }, @@ -3365,50 +3365,50 @@ Object { "description": "addonSchema", }, }, - "tags": Array [ + "tags": [ "Addons", ], }, }, - "/api/admin/addons/{id}": Object { - "delete": Object { + "/api/admin/addons/{id}": { + "delete": { "operationId": "deleteAddon", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "id", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "responses": Object { - "200": Object { + "responses": { + "200": { "description": "This response has no body.", }, }, - "tags": Array [ + "tags": [ "Addons", ], }, - "get": Object { + "get": { "operationId": "getAddon", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "id", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/addonSchema", }, }, @@ -3416,26 +3416,26 @@ Object { "description": "addonSchema", }, }, - "tags": Array [ + "tags": [ "Addons", ], }, - "put": Object { + "put": { "operationId": "updateAddon", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "id", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "requestBody": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/addonSchema", }, }, @@ -3443,11 +3443,11 @@ Object { "description": "addonSchema", "required": true, }, - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/addonSchema", }, }, @@ -3455,19 +3455,19 @@ Object { "description": "addonSchema", }, }, - "tags": Array [ + "tags": [ "Addons", ], }, }, - "/api/admin/api-tokens": Object { - "get": Object { + "/api/admin/api-tokens": { + "get": { "operationId": "getAllApiTokens", - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/apiTokensSchema", }, }, @@ -3475,16 +3475,16 @@ Object { "description": "apiTokensSchema", }, }, - "tags": Array [ + "tags": [ "API tokens", ], }, - "post": Object { + "post": { "operationId": "createApiToken", - "requestBody": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/createApiTokenSchema", }, }, @@ -3492,11 +3492,11 @@ Object { "description": "createApiTokenSchema", "required": true, }, - "responses": Object { - "201": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "201": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/apiTokenSchema", }, }, @@ -3504,49 +3504,49 @@ Object { "description": "apiTokenSchema", }, }, - "tags": Array [ + "tags": [ "API tokens", ], }, }, - "/api/admin/api-tokens/{token}": Object { - "delete": Object { + "/api/admin/api-tokens/{token}": { + "delete": { "operationId": "deleteApiToken", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "token", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "responses": Object { - "200": Object { + "responses": { + "200": { "description": "This response has no body.", }, }, - "tags": Array [ + "tags": [ "API tokens", ], }, - "put": Object { + "put": { "operationId": "updateApiToken", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "token", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "requestBody": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/updateApiTokenSchema", }, }, @@ -3554,25 +3554,25 @@ Object { "description": "updateApiTokenSchema", "required": true, }, - "responses": Object { - "200": Object { + "responses": { + "200": { "description": "This response has no body.", }, }, - "tags": Array [ + "tags": [ "API tokens", ], }, }, - "/api/admin/archive/features": Object { - "get": Object { + "/api/admin/archive/features": { + "get": { "deprecated": true, "operationId": "getArchivedFeatures", - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/featuresSchema", }, }, @@ -3580,30 +3580,30 @@ Object { "description": "featuresSchema", }, }, - "tags": Array [ + "tags": [ "Archive", ], }, }, - "/api/admin/archive/features/{projectId}": Object { - "get": Object { + "/api/admin/archive/features/{projectId}": { + "get": { "deprecated": true, "operationId": "getArchivedFeaturesByProjectId", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "projectId", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/featuresSchema", }, }, @@ -3611,75 +3611,75 @@ Object { "description": "featuresSchema", }, }, - "tags": Array [ + "tags": [ "Archive", ], }, }, - "/api/admin/archive/revive/{featureName}": Object { - "post": Object { + "/api/admin/archive/revive/{featureName}": { + "post": { "operationId": "reviveFeature", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "featureName", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "responses": Object { - "200": Object { + "responses": { + "200": { "description": "This response has no body.", }, }, - "tags": Array [ + "tags": [ "Archive", ], }, }, - "/api/admin/archive/{featureName}": Object { - "delete": Object { + "/api/admin/archive/{featureName}": { + "delete": { "operationId": "deleteFeature", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "featureName", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "responses": Object { - "200": Object { + "responses": { + "200": { "description": "This response has no body.", }, }, - "tags": Array [ + "tags": [ "Archive", ], }, }, - "/api/admin/client-metrics/features/{name}": Object { - "get": Object { + "/api/admin/client-metrics/features/{name}": { + "get": { "operationId": "getFeatureUsageSummary", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "name", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/featureUsageSchema", }, }, @@ -3687,29 +3687,29 @@ Object { "description": "featureUsageSchema", }, }, - "tags": Array [ + "tags": [ "Metrics", ], }, }, - "/api/admin/client-metrics/features/{name}/raw": Object { - "get": Object { + "/api/admin/client-metrics/features/{name}/raw": { + "get": { "operationId": "getRawFeatureMetrics", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "name", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/featureMetricsSchema", }, }, @@ -3717,18 +3717,18 @@ Object { "description": "featureMetricsSchema", }, }, - "tags": Array [ + "tags": [ "Metrics", ], }, }, - "/api/admin/constraints/validate": Object { - "post": Object { + "/api/admin/constraints/validate": { + "post": { "operationId": "validateConstraint", - "requestBody": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/constraintSchema", }, }, @@ -3736,27 +3736,27 @@ Object { "description": "constraintSchema", "required": true, }, - "responses": Object { - "204": Object { + "responses": { + "204": { "description": "validConstraint", }, - "400": Object { + "400": { "description": "invalidConstraint", }, }, - "tags": Array [ + "tags": [ "Features", ], }, }, - "/api/admin/context": Object { - "get": Object { + "/api/admin/context": { + "get": { "operationId": "getContextFields", - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/contextFieldsSchema", }, }, @@ -3764,16 +3764,16 @@ Object { "description": "contextFieldsSchema", }, }, - "tags": Array [ + "tags": [ "Context", ], }, - "post": Object { + "post": { "operationId": "createContextField", - "requestBody": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/upsertContextFieldSchema", }, }, @@ -3781,23 +3781,23 @@ Object { "description": "upsertContextFieldSchema", "required": true, }, - "responses": Object { - "201": Object { + "responses": { + "201": { "description": "This response has no body.", }, }, - "tags": Array [ + "tags": [ "Context", ], }, }, - "/api/admin/context/validate": Object { - "post": Object { + "/api/admin/context/validate": { + "post": { "operationId": "validate", - "requestBody": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/nameSchema", }, }, @@ -3805,55 +3805,55 @@ Object { "description": "nameSchema", "required": true, }, - "responses": Object { - "200": Object { + "responses": { + "200": { "description": "This response has no body.", }, }, - "tags": Array [ + "tags": [ "Context", ], }, }, - "/api/admin/context/{contextField}": Object { - "delete": Object { + "/api/admin/context/{contextField}": { + "delete": { "operationId": "deleteContextField", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "contextField", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "responses": Object { - "200": Object { + "responses": { + "200": { "description": "This response has no body.", }, }, - "tags": Array [ + "tags": [ "Context", ], }, - "get": Object { + "get": { "operationId": "getContextField", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "contextField", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/contextFieldSchema", }, }, @@ -3861,26 +3861,26 @@ Object { "description": "contextFieldSchema", }, }, - "tags": Array [ + "tags": [ "Context", ], }, - "put": Object { + "put": { "operationId": "updateContextField", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "contextField", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "requestBody": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/upsertContextFieldSchema", }, }, @@ -3888,36 +3888,36 @@ Object { "description": "upsertContextFieldSchema", "required": true, }, - "responses": Object { - "200": Object { + "responses": { + "200": { "description": "This response has no body.", }, }, - "tags": Array [ + "tags": [ "Context", ], }, }, - "/api/admin/environments": Object { - "get": Object { + "/api/admin/environments": { + "get": { "operationId": "getAllEnvironments", - "responses": Object { - "200": Object { + "responses": { + "200": { "description": "This response has no body.", }, }, - "tags": Array [ + "tags": [ "Environments", ], }, }, - "/api/admin/environments/sort-order": Object { - "put": Object { + "/api/admin/environments/sort-order": { + "put": { "operationId": "updateSortOrder", - "requestBody": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/sortOrderSchema", }, }, @@ -3925,34 +3925,34 @@ Object { "description": "sortOrderSchema", "required": true, }, - "responses": Object { - "200": Object { + "responses": { + "200": { "description": "This response has no body.", }, }, - "tags": Array [ + "tags": [ "Environments", ], }, }, - "/api/admin/environments/{name}": Object { - "get": Object { + "/api/admin/environments/{name}": { + "get": { "operationId": "getEnvironment", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "name", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/environmentSchema", }, }, @@ -3960,101 +3960,101 @@ Object { "description": "environmentSchema", }, }, - "tags": Array [ + "tags": [ "Environments", ], }, }, - "/api/admin/environments/{name}/off": Object { - "post": Object { + "/api/admin/environments/{name}/off": { + "post": { "operationId": "toggleEnvironmentOff", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "name", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "responses": Object { - "204": Object { + "responses": { + "204": { "description": "This response has no body.", }, }, - "tags": Array [ + "tags": [ "Environments", ], }, }, - "/api/admin/environments/{name}/on": Object { - "post": Object { + "/api/admin/environments/{name}/on": { + "post": { "operationId": "toggleEnvironmentOn", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "name", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "responses": Object { - "204": Object { + "responses": { + "204": { "description": "This response has no body.", }, }, - "tags": Array [ + "tags": [ "Environments", ], }, }, - "/api/admin/events": Object { - "get": Object { + "/api/admin/events": { + "get": { "description": "Returns **the last 100** from the Unleash instance when called without a query parameter. When called with a \`project\` parameter, returns **all events** for the specified project. If the provided project does not exist, the list of events will be empty.", "operationId": "getEvents", - "parameters": Array [ - Object { + "parameters": [ + { "description": "The name of the project whose events you want to retrieve", "in": "query", "name": "project", - "schema": Object { + "schema": { "type": "string", }, }, ], - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/eventsSchema", }, }, }, "description": "eventsSchema", }, - "401": Object { + "401": { "description": "Authorization information is missing or invalid. Provide a valid API token as the \`authorization\` header, e.g. \`authorization:*.*.my-admin-token\`.", }, }, "summary": "Get the most recent events from the Unleash instance or all events related to a project.", - "tags": Array [ + "tags": [ "Events", ], }, }, - "/api/admin/events/search": Object { - "post": Object { + "/api/admin/events/search": { + "post": { "operationId": "searchEvents", - "requestBody": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/searchEventsSchema", }, }, @@ -4062,11 +4062,11 @@ If the provided project does not exist, the list of events will be empty.", "description": "searchEventsSchema", "required": true, }, - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/eventsSchema", }, }, @@ -4074,54 +4074,54 @@ If the provided project does not exist, the list of events will be empty.", "description": "eventsSchema", }, }, - "tags": Array [ + "tags": [ "Events", ], }, }, - "/api/admin/events/{featureName}": Object { - "get": Object { + "/api/admin/events/{featureName}": { + "get": { "description": "Returns all events related to the specified feature toggle. If the feature toggle does not exist, the list of events will be empty.", "operationId": "getEventsForToggle", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "featureName", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/featureEventsSchema", }, }, }, "description": "featureEventsSchema", }, - "401": Object { + "401": { "description": "Authorization information is missing or invalid. Provide a valid API token as the \`authorization\` header, e.g. \`authorization:*.*.my-admin-token\`.", }, }, "summary": "Get all events related to a specific feature toggle.", - "tags": Array [ + "tags": [ "Events", ], }, }, - "/api/admin/feature-types": Object { - "get": Object { + "/api/admin/feature-types": { + "get": { "operationId": "getAllFeatureTypes", - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/featureTypesSchema", }, }, @@ -4129,20 +4129,20 @@ If the provided project does not exist, the list of events will be empty.", "description": "featureTypesSchema", }, }, - "tags": Array [ + "tags": [ "Features", ], }, }, - "/api/admin/features": Object { - "get": Object { + "/api/admin/features": { + "get": { "deprecated": true, "operationId": "getAllToggles", - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/featuresSchema", }, }, @@ -4150,42 +4150,42 @@ If the provided project does not exist, the list of events will be empty.", "description": "featuresSchema", }, }, - "tags": Array [ + "tags": [ "Features", ], }, }, - "/api/admin/features/validate": Object { - "post": Object { + "/api/admin/features/validate": { + "post": { "operationId": "validateFeature", - "responses": Object { - "200": Object { + "responses": { + "200": { "description": "This response has no body.", }, }, - "tags": Array [ + "tags": [ "Features", ], }, }, - "/api/admin/features/{featureName}/tags": Object { - "get": Object { + "/api/admin/features/{featureName}/tags": { + "get": { "operationId": "listTags", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "featureName", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/tagsSchema", }, }, @@ -4193,26 +4193,26 @@ If the provided project does not exist, the list of events will be empty.", "description": "tagsSchema", }, }, - "tags": Array [ + "tags": [ "Features", ], }, - "post": Object { + "post": { "operationId": "addTag", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "featureName", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "requestBody": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/tagSchema", }, }, @@ -4220,11 +4220,11 @@ If the provided project does not exist, the list of events will be empty.", "description": "tagSchema", "required": true, }, - "responses": Object { - "201": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "201": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/tagSchema", }, }, @@ -4232,57 +4232,57 @@ If the provided project does not exist, the list of events will be empty.", "description": "tagSchema", }, }, - "tags": Array [ + "tags": [ "Features", ], }, }, - "/api/admin/features/{featureName}/tags/{type}/{value}": Object { - "delete": Object { + "/api/admin/features/{featureName}/tags/{type}/{value}": { + "delete": { "operationId": "removeTag", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "featureName", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, - Object { + { "in": "path", "name": "type", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, - Object { + { "in": "path", "name": "value", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "responses": Object { - "200": Object { + "responses": { + "200": { "description": "This response has no body.", }, }, - "tags": Array [ + "tags": [ "Features", ], }, }, - "/api/admin/feedback": Object { - "post": Object { + "/api/admin/feedback": { + "post": { "operationId": "createFeedback", - "requestBody": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/feedbackSchema", }, }, @@ -4290,11 +4290,11 @@ If the provided project does not exist, the list of events will be empty.", "description": "feedbackSchema", "required": true, }, - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/feedbackSchema", }, }, @@ -4302,28 +4302,28 @@ If the provided project does not exist, the list of events will be empty.", "description": "feedbackSchema", }, }, - "tags": Array [ + "tags": [ "Admin UI", ], }, }, - "/api/admin/feedback/{id}": Object { - "put": Object { + "/api/admin/feedback/{id}": { + "put": { "operationId": "updateFeedback", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "id", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "requestBody": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/feedbackSchema", }, }, @@ -4331,11 +4331,11 @@ If the provided project does not exist, the list of events will be empty.", "description": "feedbackSchema", "required": true, }, - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/feedbackSchema", }, }, @@ -4343,19 +4343,19 @@ If the provided project does not exist, the list of events will be empty.", "description": "feedbackSchema", }, }, - "tags": Array [ + "tags": [ "Admin UI", ], }, }, - "/api/admin/metrics/applications": Object { - "get": Object { + "/api/admin/metrics/applications": { + "get": { "operationId": "getApplications", - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/applicationsSchema", }, }, @@ -4363,50 +4363,50 @@ If the provided project does not exist, the list of events will be empty.", "description": "applicationsSchema", }, }, - "tags": Array [ + "tags": [ "Metrics", ], }, }, - "/api/admin/metrics/applications/{appName}": Object { - "delete": Object { + "/api/admin/metrics/applications/{appName}": { + "delete": { "operationId": "deleteApplication", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "appName", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "responses": Object { - "200": Object { + "responses": { + "200": { "description": "This response has no body.", }, }, - "tags": Array [ + "tags": [ "Metrics", ], }, - "get": Object { + "get": { "operationId": "getApplication", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "appName", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/applicationSchema", }, }, @@ -4414,26 +4414,26 @@ If the provided project does not exist, the list of events will be empty.", "description": "applicationSchema", }, }, - "tags": Array [ + "tags": [ "Metrics", ], }, - "post": Object { + "post": { "operationId": "createApplication", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "appName", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "requestBody": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/applicationSchema", }, }, @@ -4441,24 +4441,24 @@ If the provided project does not exist, the list of events will be empty.", "description": "applicationSchema", "required": true, }, - "responses": Object { - "202": Object { + "responses": { + "202": { "description": "This response has no body.", }, }, - "tags": Array [ + "tags": [ "Metrics", ], }, }, - "/api/admin/playground": Object { - "post": Object { + "/api/admin/playground": { + "post": { "description": "Use the provided \`context\`, \`environment\`, and \`projects\` to evaluate toggles on this Unleash instance. Returns a list of all toggles that match the parameters and what they evaluate to. The response also contains the input parameters that were provided.", "operationId": "getPlayground", - "requestBody": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/playgroundRequestSchema", }, }, @@ -4466,38 +4466,38 @@ If the provided project does not exist, the list of events will be empty.", "description": "playgroundRequestSchema", "required": true, }, - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/playgroundResponseSchema", }, }, }, "description": "playgroundResponseSchema", }, - "400": Object { + "400": { "description": "The request data does not match what we expect.", }, - "401": Object { + "401": { "description": "Authorization information is missing or invalid. Provide a valid API token as the \`authorization\` header, e.g. \`authorization:*.*.my-admin-token\`.", }, }, "summary": "Evaluate an Unleash context against a set of environments and projects.", - "tags": Array [ + "tags": [ "Playground", ], }, }, - "/api/admin/projects": Object { - "get": Object { + "/api/admin/projects": { + "get": { "operationId": "getProjects", - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/projectsSchema", }, }, @@ -4505,29 +4505,29 @@ If the provided project does not exist, the list of events will be empty.", "description": "projectsSchema", }, }, - "tags": Array [ + "tags": [ "Projects", ], }, }, - "/api/admin/projects/{projectId}": Object { - "get": Object { + "/api/admin/projects/{projectId}": { + "get": { "operationId": "getProjectHealthOverview", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "projectId", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/healthOverviewSchema", }, }, @@ -4535,28 +4535,28 @@ If the provided project does not exist, the list of events will be empty.", "description": "healthOverviewSchema", }, }, - "tags": Array [ + "tags": [ "Projects", ], }, }, - "/api/admin/projects/{projectId}/environments": Object { - "post": Object { + "/api/admin/projects/{projectId}/environments": { + "post": { "operationId": "addEnvironmentToProject", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "projectId", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "requestBody": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/projectEnvironmentSchema", }, }, @@ -4564,65 +4564,65 @@ If the provided project does not exist, the list of events will be empty.", "description": "projectEnvironmentSchema", "required": true, }, - "responses": Object { - "200": Object { + "responses": { + "200": { "description": "This response has no body.", }, }, - "tags": Array [ + "tags": [ "Projects", ], }, }, - "/api/admin/projects/{projectId}/environments/{environment}": Object { - "delete": Object { + "/api/admin/projects/{projectId}/environments/{environment}": { + "delete": { "operationId": "removeEnvironmentFromProject", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "projectId", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, - Object { + { "in": "path", "name": "environment", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "responses": Object { - "200": Object { + "responses": { + "200": { "description": "This response has no body.", }, }, - "tags": Array [ + "tags": [ "Projects", ], }, }, - "/api/admin/projects/{projectId}/features": Object { - "get": Object { + "/api/admin/projects/{projectId}/features": { + "get": { "operationId": "getFeatures", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "projectId", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/featuresSchema", }, }, @@ -4630,26 +4630,26 @@ If the provided project does not exist, the list of events will be empty.", "description": "featuresSchema", }, }, - "tags": Array [ + "tags": [ "Features", ], }, - "post": Object { + "post": { "operationId": "createFeature", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "projectId", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "requestBody": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/createFeatureSchema", }, }, @@ -4657,11 +4657,11 @@ If the provided project does not exist, the list of events will be empty.", "description": "createFeatureSchema", "required": true, }, - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/featureSchema", }, }, @@ -4669,66 +4669,66 @@ If the provided project does not exist, the list of events will be empty.", "description": "featureSchema", }, }, - "tags": Array [ + "tags": [ "Features", ], }, }, - "/api/admin/projects/{projectId}/features/{featureName}": Object { - "delete": Object { + "/api/admin/projects/{projectId}/features/{featureName}": { + "delete": { "operationId": "archiveFeature", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "projectId", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, - Object { + { "in": "path", "name": "featureName", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "responses": Object { - "200": Object { + "responses": { + "200": { "description": "This response has no body.", }, }, - "tags": Array [ + "tags": [ "Features", ], }, - "get": Object { + "get": { "operationId": "getFeature", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "projectId", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, - Object { + { "in": "path", "name": "featureName", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/featureSchema", }, }, @@ -4736,34 +4736,34 @@ If the provided project does not exist, the list of events will be empty.", "description": "featureSchema", }, }, - "tags": Array [ + "tags": [ "Features", ], }, - "patch": Object { + "patch": { "operationId": "patchFeature", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "projectId", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, - Object { + { "in": "path", "name": "featureName", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "requestBody": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/patchesSchema", }, }, @@ -4771,11 +4771,11 @@ If the provided project does not exist, the list of events will be empty.", "description": "patchesSchema", "required": true, }, - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/featureSchema", }, }, @@ -4783,34 +4783,34 @@ If the provided project does not exist, the list of events will be empty.", "description": "featureSchema", }, }, - "tags": Array [ + "tags": [ "Features", ], }, - "put": Object { + "put": { "operationId": "updateFeature", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "projectId", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, - Object { + { "in": "path", "name": "featureName", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "requestBody": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/updateFeatureSchema", }, }, @@ -4818,11 +4818,11 @@ If the provided project does not exist, the list of events will be empty.", "description": "updateFeatureSchema", "required": true, }, - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/featureSchema", }, }, @@ -4830,36 +4830,36 @@ If the provided project does not exist, the list of events will be empty.", "description": "featureSchema", }, }, - "tags": Array [ + "tags": [ "Features", ], }, }, - "/api/admin/projects/{projectId}/features/{featureName}/clone": Object { - "post": Object { + "/api/admin/projects/{projectId}/features/{featureName}/clone": { + "post": { "operationId": "cloneFeature", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "projectId", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, - Object { + { "in": "path", "name": "featureName", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "requestBody": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/cloneFeatureSchema", }, }, @@ -4867,11 +4867,11 @@ If the provided project does not exist, the list of events will be empty.", "description": "cloneFeatureSchema", "required": true, }, - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/featureSchema", }, }, @@ -4879,45 +4879,45 @@ If the provided project does not exist, the list of events will be empty.", "description": "featureSchema", }, }, - "tags": Array [ + "tags": [ "Features", ], }, }, - "/api/admin/projects/{projectId}/features/{featureName}/environments/{environment}": Object { - "get": Object { + "/api/admin/projects/{projectId}/features/{featureName}/environments/{environment}": { + "get": { "operationId": "getFeatureEnvironment", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "projectId", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, - Object { + { "in": "path", "name": "featureName", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, - Object { + { "in": "path", "name": "environment", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/featureEnvironmentSchema", }, }, @@ -4925,45 +4925,45 @@ If the provided project does not exist, the list of events will be empty.", "description": "featureEnvironmentSchema", }, }, - "tags": Array [ + "tags": [ "Features", ], }, }, - "/api/admin/projects/{projectId}/features/{featureName}/environments/{environment}/off": Object { - "post": Object { + "/api/admin/projects/{projectId}/features/{featureName}/environments/{environment}/off": { + "post": { "operationId": "toggleFeatureEnvironmentOff", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "projectId", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, - Object { + { "in": "path", "name": "featureName", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, - Object { + { "in": "path", "name": "environment", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/featureSchema", }, }, @@ -4971,45 +4971,45 @@ If the provided project does not exist, the list of events will be empty.", "description": "featureSchema", }, }, - "tags": Array [ + "tags": [ "Features", ], }, }, - "/api/admin/projects/{projectId}/features/{featureName}/environments/{environment}/on": Object { - "post": Object { + "/api/admin/projects/{projectId}/features/{featureName}/environments/{environment}/on": { + "post": { "operationId": "toggleFeatureEnvironmentOn", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "projectId", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, - Object { + { "in": "path", "name": "featureName", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, - Object { + { "in": "path", "name": "environment", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/featureSchema", }, }, @@ -5017,45 +5017,45 @@ If the provided project does not exist, the list of events will be empty.", "description": "featureSchema", }, }, - "tags": Array [ + "tags": [ "Features", ], }, }, - "/api/admin/projects/{projectId}/features/{featureName}/environments/{environment}/strategies": Object { - "get": Object { + "/api/admin/projects/{projectId}/features/{featureName}/environments/{environment}/strategies": { + "get": { "operationId": "getFeatureStrategies", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "projectId", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, - Object { + { "in": "path", "name": "featureName", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, - Object { + { "in": "path", "name": "environment", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/featureStrategySchema", }, }, @@ -5063,42 +5063,42 @@ If the provided project does not exist, the list of events will be empty.", "description": "featureStrategySchema", }, }, - "tags": Array [ + "tags": [ "Features", ], }, - "post": Object { + "post": { "operationId": "addFeatureStrategy", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "projectId", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, - Object { + { "in": "path", "name": "featureName", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, - Object { + { "in": "path", "name": "environment", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "requestBody": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/createFeatureStrategySchema", }, }, @@ -5106,11 +5106,11 @@ If the provided project does not exist, the list of events will be empty.", "description": "createFeatureStrategySchema", "required": true, }, - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/featureStrategySchema", }, }, @@ -5118,44 +5118,44 @@ If the provided project does not exist, the list of events will be empty.", "description": "featureStrategySchema", }, }, - "tags": Array [ + "tags": [ "Features", ], }, }, - "/api/admin/projects/{projectId}/features/{featureName}/environments/{environment}/strategies/set-sort-order": Object { - "post": Object { + "/api/admin/projects/{projectId}/features/{featureName}/environments/{environment}/strategies/set-sort-order": { + "post": { "operationId": "setStrategySortOrder", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "projectId", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, - Object { + { "in": "path", "name": "featureName", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, - Object { + { "in": "path", "name": "environment", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "requestBody": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/setStrategySortOrderSchema", }, }, @@ -5163,103 +5163,103 @@ If the provided project does not exist, the list of events will be empty.", "description": "setStrategySortOrderSchema", "required": true, }, - "responses": Object { - "200": Object { + "responses": { + "200": { "description": "This response has no body.", }, }, - "tags": Array [ + "tags": [ "Features", ], }, }, - "/api/admin/projects/{projectId}/features/{featureName}/environments/{environment}/strategies/{strategyId}": Object { - "delete": Object { + "/api/admin/projects/{projectId}/features/{featureName}/environments/{environment}/strategies/{strategyId}": { + "delete": { "operationId": "deleteFeatureStrategy", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "projectId", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, - Object { + { "in": "path", "name": "featureName", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, - Object { + { "in": "path", "name": "environment", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, - Object { + { "in": "path", "name": "strategyId", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "responses": Object { - "200": Object { + "responses": { + "200": { "description": "This response has no body.", }, }, - "tags": Array [ + "tags": [ "Features", ], }, - "get": Object { + "get": { "operationId": "getFeatureStrategy", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "projectId", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, - Object { + { "in": "path", "name": "featureName", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, - Object { + { "in": "path", "name": "environment", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, - Object { + { "in": "path", "name": "strategyId", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/featureStrategySchema", }, }, @@ -5267,50 +5267,50 @@ If the provided project does not exist, the list of events will be empty.", "description": "featureStrategySchema", }, }, - "tags": Array [ + "tags": [ "Features", ], }, - "patch": Object { + "patch": { "operationId": "patchFeatureStrategy", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "projectId", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, - Object { + { "in": "path", "name": "featureName", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, - Object { + { "in": "path", "name": "environment", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, - Object { + { "in": "path", "name": "strategyId", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "requestBody": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/patchesSchema", }, }, @@ -5318,11 +5318,11 @@ If the provided project does not exist, the list of events will be empty.", "description": "patchesSchema", "required": true, }, - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/featureStrategySchema", }, }, @@ -5330,50 +5330,50 @@ If the provided project does not exist, the list of events will be empty.", "description": "featureStrategySchema", }, }, - "tags": Array [ + "tags": [ "Features", ], }, - "put": Object { + "put": { "operationId": "updateFeatureStrategy", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "projectId", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, - Object { + { "in": "path", "name": "featureName", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, - Object { + { "in": "path", "name": "environment", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, - Object { + { "in": "path", "name": "strategyId", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "requestBody": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/updateFeatureStrategySchema", }, }, @@ -5381,11 +5381,11 @@ If the provided project does not exist, the list of events will be empty.", "description": "updateFeatureStrategySchema", "required": true, }, - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/featureStrategySchema", }, }, @@ -5393,37 +5393,37 @@ If the provided project does not exist, the list of events will be empty.", "description": "featureStrategySchema", }, }, - "tags": Array [ + "tags": [ "Features", ], }, }, - "/api/admin/projects/{projectId}/features/{featureName}/variants": Object { - "get": Object { + "/api/admin/projects/{projectId}/features/{featureName}/variants": { + "get": { "operationId": "getFeatureVariants", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "projectId", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, - Object { + { "in": "path", "name": "featureName", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/featureVariantsSchema", }, }, @@ -5431,34 +5431,34 @@ If the provided project does not exist, the list of events will be empty.", "description": "featureVariantsSchema", }, }, - "tags": Array [ + "tags": [ "Features", ], }, - "patch": Object { + "patch": { "operationId": "patchFeatureVariants", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "projectId", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, - Object { + { "in": "path", "name": "featureName", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "requestBody": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/patchesSchema", }, }, @@ -5466,11 +5466,11 @@ If the provided project does not exist, the list of events will be empty.", "description": "patchesSchema", "required": true, }, - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/featureVariantsSchema", }, }, @@ -5478,34 +5478,34 @@ If the provided project does not exist, the list of events will be empty.", "description": "featureVariantsSchema", }, }, - "tags": Array [ + "tags": [ "Features", ], }, - "put": Object { + "put": { "operationId": "overwriteFeatureVariants", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "projectId", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, - Object { + { "in": "path", "name": "featureName", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "requestBody": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/variantsSchema", }, }, @@ -5513,11 +5513,11 @@ If the provided project does not exist, the list of events will be empty.", "description": "variantsSchema", "required": true, }, - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/featureVariantsSchema", }, }, @@ -5525,29 +5525,29 @@ If the provided project does not exist, the list of events will be empty.", "description": "featureVariantsSchema", }, }, - "tags": Array [ + "tags": [ "Features", ], }, }, - "/api/admin/projects/{projectId}/health-report": Object { - "get": Object { + "/api/admin/projects/{projectId}/health-report": { + "get": { "operationId": "getProjectHealthReport", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "projectId", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/healthReportSchema", }, }, @@ -5555,29 +5555,29 @@ If the provided project does not exist, the list of events will be empty.", "description": "healthReportSchema", }, }, - "tags": Array [ + "tags": [ "Projects", ], }, }, - "/api/admin/splash/{id}": Object { - "post": Object { + "/api/admin/splash/{id}": { + "post": { "operationId": "updateSplashSettings", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "id", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/splashSchema", }, }, @@ -5585,142 +5585,142 @@ If the provided project does not exist, the list of events will be empty.", "description": "splashSchema", }, }, - "tags": Array [ + "tags": [ "Admin UI", ], }, }, - "/api/admin/state/export": Object { - "get": Object { + "/api/admin/state/export": { + "get": { "operationId": "export", - "parameters": Array [ - Object { + "parameters": [ + { "description": "Desired export format. Must be either \`json\` or \`yaml\`.", "in": "query", "name": "format", - "schema": Object { + "schema": { "default": "json", - "enum": Array [ + "enum": [ "json", "yaml", ], "type": "string", }, }, - Object { + { "description": "Whether exported data should be downloaded as a file.", "in": "query", "name": "download", - "schema": Object { - "anyOf": Array [ - Object { + "schema": { + "anyOf": [ + { "type": "boolean", }, - Object { + { "minLength": 1, "type": "string", }, - Object { + { "type": "number", }, ], "default": false, }, }, - Object { + { "description": "Whether strategies should be included in the exported data.", "in": "query", "name": "strategies", - "schema": Object { - "anyOf": Array [ - Object { + "schema": { + "anyOf": [ + { "type": "boolean", }, - Object { + { "minLength": 1, "type": "string", }, - Object { + { "type": "number", }, ], "default": true, }, }, - Object { + { "description": "Whether feature toggles should be included in the exported data.", "in": "query", "name": "featureToggles", - "schema": Object { - "anyOf": Array [ - Object { + "schema": { + "anyOf": [ + { "type": "boolean", }, - Object { + { "minLength": 1, "type": "string", }, - Object { + { "type": "number", }, ], "default": true, }, }, - Object { + { "description": "Whether projects should be included in the exported data.", "in": "query", "name": "projects", - "schema": Object { - "anyOf": Array [ - Object { + "schema": { + "anyOf": [ + { "type": "boolean", }, - Object { + { "minLength": 1, "type": "string", }, - Object { + { "type": "number", }, ], "default": true, }, }, - Object { + { "description": "Whether tag types, tags, and feature_tags should be included in the exported data.", "in": "query", "name": "tags", - "schema": Object { - "anyOf": Array [ - Object { + "schema": { + "anyOf": [ + { "type": "boolean", }, - Object { + { "minLength": 1, "type": "string", }, - Object { + { "type": "number", }, ], "default": true, }, }, - Object { + { "description": "Whether environments should be included in the exported data.", "in": "query", "name": "environments", - "schema": Object { - "anyOf": Array [ - Object { + "schema": { + "anyOf": [ + { "type": "boolean", }, - Object { + { "minLength": 1, "type": "string", }, - Object { + { "type": "number", }, ], @@ -5728,11 +5728,11 @@ If the provided project does not exist, the list of events will be empty.", }, }, ], - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/stateSchema", }, }, @@ -5740,18 +5740,18 @@ If the provided project does not exist, the list of events will be empty.", "description": "stateSchema", }, }, - "tags": Array [ + "tags": [ "Import/Export", ], }, }, - "/api/admin/state/import": Object { - "post": Object { + "/api/admin/state/import": { + "post": { "operationId": "import", - "requestBody": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/stateSchema", }, }, @@ -5759,24 +5759,24 @@ If the provided project does not exist, the list of events will be empty.", "description": "stateSchema", "required": true, }, - "responses": Object { - "202": Object { + "responses": { + "202": { "description": "This response has no body.", }, }, - "tags": Array [ + "tags": [ "Import/Export", ], }, }, - "/api/admin/strategies": Object { - "get": Object { + "/api/admin/strategies": { + "get": { "operationId": "getAllStrategies", - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/strategiesSchema", }, }, @@ -5784,16 +5784,16 @@ If the provided project does not exist, the list of events will be empty.", "description": "strategiesSchema", }, }, - "tags": Array [ + "tags": [ "Strategies", ], }, - "post": Object { + "post": { "operationId": "createStrategy", - "requestBody": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/upsertStrategySchema", }, }, @@ -5801,55 +5801,55 @@ If the provided project does not exist, the list of events will be empty.", "description": "upsertStrategySchema", "required": true, }, - "responses": Object { - "201": Object { + "responses": { + "201": { "description": "This response has no body.", }, }, - "tags": Array [ + "tags": [ "Strategies", ], }, }, - "/api/admin/strategies/{name}": Object { - "delete": Object { + "/api/admin/strategies/{name}": { + "delete": { "operationId": "removeStrategy", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "name", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "responses": Object { - "200": Object { + "responses": { + "200": { "description": "This response has no body.", }, }, - "tags": Array [ + "tags": [ "Strategies", ], }, - "get": Object { + "get": { "operationId": "getStrategy", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "name", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/strategySchema", }, }, @@ -5857,28 +5857,28 @@ If the provided project does not exist, the list of events will be empty.", "description": "strategySchema", }, }, - "tags": Array [ + "tags": [ "Strategies", ], }, }, - "/api/admin/strategies/{strategyName}": Object { - "put": Object { + "/api/admin/strategies/{strategyName}": { + "put": { "operationId": "updateStrategy", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "strategyName", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "requestBody": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/upsertStrategySchema", }, }, @@ -5886,70 +5886,70 @@ If the provided project does not exist, the list of events will be empty.", "description": "upsertStrategySchema", "required": true, }, - "responses": Object { - "200": Object { + "responses": { + "200": { "description": "This response has no body.", }, }, - "tags": Array [ + "tags": [ "Strategies", ], }, }, - "/api/admin/strategies/{strategyName}/deprecate": Object { - "post": Object { + "/api/admin/strategies/{strategyName}/deprecate": { + "post": { "operationId": "deprecateStrategy", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "strategyName", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "responses": Object { - "200": Object { + "responses": { + "200": { "description": "This response has no body.", }, }, - "tags": Array [ + "tags": [ "Strategies", ], }, }, - "/api/admin/strategies/{strategyName}/reactivate": Object { - "post": Object { + "/api/admin/strategies/{strategyName}/reactivate": { + "post": { "operationId": "reactivateStrategy", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "strategyName", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "responses": Object { - "200": Object { + "responses": { + "200": { "description": "This response has no body.", }, }, - "tags": Array [ + "tags": [ "Strategies", ], }, }, - "/api/admin/tag-types": Object { - "get": Object { + "/api/admin/tag-types": { + "get": { "operationId": "getTagTypes", - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/tagTypesSchema", }, }, @@ -5957,16 +5957,16 @@ If the provided project does not exist, the list of events will be empty.", "description": "tagTypesSchema", }, }, - "tags": Array [ + "tags": [ "Tags", ], }, - "post": Object { + "post": { "operationId": "createTagType", - "requestBody": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/tagTypeSchema", }, }, @@ -5974,11 +5974,11 @@ If the provided project does not exist, the list of events will be empty.", "description": "tagTypeSchema", "required": true, }, - "responses": Object { - "201": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "201": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/tagTypeSchema", }, }, @@ -5986,18 +5986,18 @@ If the provided project does not exist, the list of events will be empty.", "description": "tagTypeSchema", }, }, - "tags": Array [ + "tags": [ "Tags", ], }, }, - "/api/admin/tag-types/validate": Object { - "post": Object { + "/api/admin/tag-types/validate": { + "post": { "operationId": "validateTagType", - "requestBody": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/tagTypeSchema", }, }, @@ -6005,11 +6005,11 @@ If the provided project does not exist, the list of events will be empty.", "description": "tagTypeSchema", "required": true, }, - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/validateTagTypeSchema", }, }, @@ -6017,50 +6017,50 @@ If the provided project does not exist, the list of events will be empty.", "description": "validateTagTypeSchema", }, }, - "tags": Array [ + "tags": [ "Tags", ], }, }, - "/api/admin/tag-types/{name}": Object { - "delete": Object { + "/api/admin/tag-types/{name}": { + "delete": { "operationId": "deleteTagType", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "name", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "responses": Object { - "200": Object { + "responses": { + "200": { "description": "This response has no body.", }, }, - "tags": Array [ + "tags": [ "Tags", ], }, - "get": Object { + "get": { "operationId": "getTagType", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "name", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/tagTypeSchema", }, }, @@ -6068,26 +6068,26 @@ If the provided project does not exist, the list of events will be empty.", "description": "tagTypeSchema", }, }, - "tags": Array [ + "tags": [ "Tags", ], }, - "put": Object { + "put": { "operationId": "updateTagType", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "name", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "requestBody": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/updateTagTypeSchema", }, }, @@ -6095,24 +6095,24 @@ If the provided project does not exist, the list of events will be empty.", "description": "updateTagTypeSchema", "required": true, }, - "responses": Object { - "200": Object { + "responses": { + "200": { "description": "This response has no body.", }, }, - "tags": Array [ + "tags": [ "Tags", ], }, }, - "/api/admin/tags": Object { - "get": Object { + "/api/admin/tags": { + "get": { "operationId": "getTags", - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/tagsSchema", }, }, @@ -6120,16 +6120,16 @@ If the provided project does not exist, the list of events will be empty.", "description": "tagsSchema", }, }, - "tags": Array [ + "tags": [ "Tags", ], }, - "post": Object { + "post": { "operationId": "createTag", - "requestBody": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/tagSchema", }, }, @@ -6137,34 +6137,34 @@ If the provided project does not exist, the list of events will be empty.", "description": "tagSchema", "required": true, }, - "responses": Object { - "201": Object { + "responses": { + "201": { "description": "This response has no body.", }, }, - "tags": Array [ + "tags": [ "Tags", ], }, }, - "/api/admin/tags/{type}": Object { - "get": Object { + "/api/admin/tags/{type}": { + "get": { "operationId": "getTagsByType", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "type", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/tagsSchema", }, }, @@ -6172,66 +6172,66 @@ If the provided project does not exist, the list of events will be empty.", "description": "tagsSchema", }, }, - "tags": Array [ + "tags": [ "Tags", ], }, }, - "/api/admin/tags/{type}/{value}": Object { - "delete": Object { + "/api/admin/tags/{type}/{value}": { + "delete": { "operationId": "deleteTag", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "type", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, - Object { + { "in": "path", "name": "value", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "responses": Object { - "200": Object { + "responses": { + "200": { "description": "This response has no body.", }, }, - "tags": Array [ + "tags": [ "Tags", ], }, - "get": Object { + "get": { "operationId": "getTag", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "type", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, - Object { + { "in": "path", "name": "value", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/tagWithVersionSchema", }, }, @@ -6239,19 +6239,19 @@ If the provided project does not exist, the list of events will be empty.", "description": "tagWithVersionSchema", }, }, - "tags": Array [ + "tags": [ "Tags", ], }, }, - "/api/admin/ui-config": Object { - "get": Object { + "/api/admin/ui-config": { + "get": { "operationId": "getUiConfig", - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/uiConfigSchema", }, }, @@ -6259,16 +6259,16 @@ If the provided project does not exist, the list of events will be empty.", "description": "uiConfigSchema", }, }, - "tags": Array [ + "tags": [ "Admin UI", ], }, - "post": Object { + "post": { "operationId": "setUiConfig", - "requestBody": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/setUiConfigSchema", }, }, @@ -6276,24 +6276,24 @@ If the provided project does not exist, the list of events will be empty.", "description": "setUiConfigSchema", "required": true, }, - "responses": Object { - "200": Object { + "responses": { + "200": { "description": "This response has no body.", }, }, - "tags": Array [ + "tags": [ "Admin UI", ], }, }, - "/api/admin/user": Object { - "get": Object { + "/api/admin/user": { + "get": { "operationId": "getMe", - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/meSchema", }, }, @@ -6301,19 +6301,19 @@ If the provided project does not exist, the list of events will be empty.", "description": "meSchema", }, }, - "tags": Array [ + "tags": [ "Users", ], }, }, - "/api/admin/user-admin": Object { - "get": Object { + "/api/admin/user-admin": { + "get": { "operationId": "getUsers", - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/usersSchema", }, }, @@ -6321,16 +6321,16 @@ If the provided project does not exist, the list of events will be empty.", "description": "usersSchema", }, }, - "tags": Array [ + "tags": [ "Users", ], }, - "post": Object { + "post": { "operationId": "createUser", - "requestBody": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/createUserSchema", }, }, @@ -6338,11 +6338,11 @@ If the provided project does not exist, the list of events will be empty.", "description": "createUserSchema", "required": true, }, - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/userSchema", }, }, @@ -6350,19 +6350,19 @@ If the provided project does not exist, the list of events will be empty.", "description": "userSchema", }, }, - "tags": Array [ + "tags": [ "Users", ], }, }, - "/api/admin/user-admin/access": Object { - "get": Object { + "/api/admin/user-admin/access": { + "get": { "operationId": "getBaseUsersAndGroups", - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/usersGroupsBaseSchema", }, }, @@ -6370,18 +6370,18 @@ If the provided project does not exist, the list of events will be empty.", "description": "usersGroupsBaseSchema", }, }, - "tags": Array [ + "tags": [ "Users", ], }, }, - "/api/admin/user-admin/reset-password": Object { - "post": Object { + "/api/admin/user-admin/reset-password": { + "post": { "operationId": "resetUserPassword", - "requestBody": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/idSchema", }, }, @@ -6389,11 +6389,11 @@ If the provided project does not exist, the list of events will be empty.", "description": "idSchema", "required": true, }, - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/resetPasswordSchema", }, }, @@ -6401,19 +6401,19 @@ If the provided project does not exist, the list of events will be empty.", "description": "resetPasswordSchema", }, }, - "tags": Array [ + "tags": [ "Users", ], }, }, - "/api/admin/user-admin/search": Object { - "get": Object { + "/api/admin/user-admin/search": { + "get": { "operationId": "searchUsers", - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/usersSchema", }, }, @@ -6421,18 +6421,18 @@ If the provided project does not exist, the list of events will be empty.", "description": "usersSchema", }, }, - "tags": Array [ + "tags": [ "Users", ], }, }, - "/api/admin/user-admin/validate-password": Object { - "post": Object { + "/api/admin/user-admin/validate-password": { + "post": { "operationId": "validateUserPassword", - "requestBody": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/passwordSchema", }, }, @@ -6440,55 +6440,55 @@ If the provided project does not exist, the list of events will be empty.", "description": "passwordSchema", "required": true, }, - "responses": Object { - "200": Object { + "responses": { + "200": { "description": "This response has no body.", }, }, - "tags": Array [ + "tags": [ "Users", ], }, }, - "/api/admin/user-admin/{id}": Object { - "delete": Object { + "/api/admin/user-admin/{id}": { + "delete": { "operationId": "deleteUser", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "id", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "responses": Object { - "200": Object { + "responses": { + "200": { "description": "This response has no body.", }, }, - "tags": Array [ + "tags": [ "Users", ], }, - "get": Object { + "get": { "operationId": "getUser", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "id", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/userSchema", }, }, @@ -6496,26 +6496,26 @@ If the provided project does not exist, the list of events will be empty.", "description": "userSchema", }, }, - "tags": Array [ + "tags": [ "Users", ], }, - "put": Object { + "put": { "operationId": "updateUser", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "id", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "requestBody": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/updateUserSchema", }, }, @@ -6523,11 +6523,11 @@ If the provided project does not exist, the list of events will be empty.", "description": "updateUserSchema", "required": true, }, - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/userSchema", }, }, @@ -6535,28 +6535,28 @@ If the provided project does not exist, the list of events will be empty.", "description": "userSchema", }, }, - "tags": Array [ + "tags": [ "Users", ], }, }, - "/api/admin/user-admin/{id}/change-password": Object { - "post": Object { + "/api/admin/user-admin/{id}/change-password": { + "post": { "operationId": "changeUserPassword", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "id", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "requestBody": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/passwordSchema", }, }, @@ -6564,23 +6564,23 @@ If the provided project does not exist, the list of events will be empty.", "description": "passwordSchema", "required": true, }, - "responses": Object { - "200": Object { + "responses": { + "200": { "description": "This response has no body.", }, }, - "tags": Array [ + "tags": [ "Users", ], }, }, - "/api/admin/user/change-password": Object { - "post": Object { + "/api/admin/user/change-password": { + "post": { "operationId": "changeMyPassword", - "requestBody": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/passwordSchema", }, }, @@ -6588,27 +6588,27 @@ If the provided project does not exist, the list of events will be empty.", "description": "passwordSchema", "required": true, }, - "responses": Object { - "200": Object { + "responses": { + "200": { "description": "This response has no body.", }, - "400": Object { + "400": { "description": "passwordMismatch", }, }, - "tags": Array [ + "tags": [ "Users", ], }, }, - "/api/client/features": Object { - "get": Object { + "/api/client/features": { + "get": { "operationId": "getAllClientFeatures", - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/clientFeaturesSchema", }, }, @@ -6616,29 +6616,29 @@ If the provided project does not exist, the list of events will be empty.", "description": "clientFeaturesSchema", }, }, - "tags": Array [ + "tags": [ "Client", ], }, }, - "/api/client/features/{featureName}": Object { - "get": Object { + "/api/client/features/{featureName}": { + "get": { "operationId": "getClientFeature", - "parameters": Array [ - Object { + "parameters": [ + { "in": "path", "name": "featureName", "required": true, - "schema": Object { + "schema": { "type": "string", }, }, ], - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/clientFeaturesSchema", }, }, @@ -6646,18 +6646,18 @@ If the provided project does not exist, the list of events will be empty.", "description": "clientFeaturesSchema", }, }, - "tags": Array [ + "tags": [ "Client", ], }, }, - "/api/client/metrics": Object { - "post": Object { + "/api/client/metrics": { + "post": { "operationId": "registerClientMetrics", - "requestBody": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/clientMetricsSchema", }, }, @@ -6665,26 +6665,26 @@ If the provided project does not exist, the list of events will be empty.", "description": "clientMetricsSchema", "required": true, }, - "responses": Object { - "202": Object { + "responses": { + "202": { "description": "This response has no body.", }, - "400": Object { + "400": { "description": "The request data does not match what we expect.", }, }, - "tags": Array [ + "tags": [ "Client", ], }, }, - "/api/client/register": Object { - "post": Object { + "/api/client/register": { + "post": { "operationId": "registerClientApplication", - "requestBody": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/clientApplicationSchema", }, }, @@ -6692,24 +6692,24 @@ If the provided project does not exist, the list of events will be empty.", "description": "clientApplicationSchema", "required": true, }, - "responses": Object { - "202": Object { + "responses": { + "202": { "description": "This response has no body.", }, }, - "tags": Array [ + "tags": [ "Client", ], }, }, - "/api/frontend": Object { - "get": Object { + "/api/frontend": { + "get": { "operationId": "getFrontendFeatures", - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/proxyFeaturesSchema", }, }, @@ -6717,18 +6717,18 @@ If the provided project does not exist, the list of events will be empty.", "description": "proxyFeaturesSchema", }, }, - "tags": Array [ + "tags": [ "Unstable", ], }, }, - "/api/frontend/client/metrics": Object { - "post": Object { + "/api/frontend/client/metrics": { + "post": { "operationId": "registerFrontendMetrics", - "requestBody": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/proxyMetricsSchema", }, }, @@ -6736,23 +6736,23 @@ If the provided project does not exist, the list of events will be empty.", "description": "proxyMetricsSchema", "required": true, }, - "responses": Object { - "200": Object { + "responses": { + "200": { "description": "This response has no body.", }, }, - "tags": Array [ + "tags": [ "Unstable", ], }, }, - "/api/frontend/client/register": Object { - "post": Object { + "/api/frontend/client/register": { + "post": { "operationId": "registerFrontendClient", - "requestBody": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/proxyClientSchema", }, }, @@ -6760,23 +6760,23 @@ If the provided project does not exist, the list of events will be empty.", "description": "proxyClientSchema", "required": true, }, - "responses": Object { - "200": Object { + "responses": { + "200": { "description": "This response has no body.", }, }, - "tags": Array [ + "tags": [ "Unstable", ], }, }, - "/auth/reset/password": Object { - "post": Object { + "/auth/reset/password": { + "post": { "operationId": "changePassword", - "requestBody": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/changePasswordSchema", }, }, @@ -6784,23 +6784,23 @@ If the provided project does not exist, the list of events will be empty.", "description": "changePasswordSchema", "required": true, }, - "responses": Object { - "200": Object { + "responses": { + "200": { "description": "This response has no body.", }, }, - "tags": Array [ + "tags": [ "Auth", ], }, }, - "/auth/reset/password-email": Object { - "post": Object { + "/auth/reset/password-email": { + "post": { "operationId": "sendResetPasswordEmail", - "requestBody": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/emailSchema", }, }, @@ -6808,24 +6808,24 @@ If the provided project does not exist, the list of events will be empty.", "description": "emailSchema", "required": true, }, - "responses": Object { - "200": Object { + "responses": { + "200": { "description": "This response has no body.", }, }, - "tags": Array [ + "tags": [ "Auth", ], }, }, - "/auth/reset/validate": Object { - "get": Object { + "/auth/reset/validate": { + "get": { "operationId": "validateToken", - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/tokenUserSchema", }, }, @@ -6833,18 +6833,18 @@ If the provided project does not exist, the list of events will be empty.", "description": "tokenUserSchema", }, }, - "tags": Array [ + "tags": [ "Auth", ], }, }, - "/auth/reset/validate-password": Object { - "post": Object { + "/auth/reset/validate-password": { + "post": { "operationId": "validatePassword", - "requestBody": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/validatePasswordSchema", }, }, @@ -6852,23 +6852,23 @@ If the provided project does not exist, the list of events will be empty.", "description": "validatePasswordSchema", "required": true, }, - "responses": Object { - "200": Object { + "responses": { + "200": { "description": "This response has no body.", }, }, - "tags": Array [ + "tags": [ "Auth", ], }, }, - "/auth/simple/login": Object { - "post": Object { + "/auth/simple/login": { + "post": { "operationId": "login", - "requestBody": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/loginSchema", }, }, @@ -6876,11 +6876,11 @@ If the provided project does not exist, the list of events will be empty.", "description": "loginSchema", "required": true, }, - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/userSchema", }, }, @@ -6888,18 +6888,18 @@ If the provided project does not exist, the list of events will be empty.", "description": "userSchema", }, }, - "tags": Array [ + "tags": [ "Auth", ], }, }, - "/edge/validate": Object { - "post": Object { + "/edge/validate": { + "post": { "operationId": "getValidTokens", - "requestBody": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/validateEdgeTokensSchema", }, }, @@ -6907,11 +6907,11 @@ If the provided project does not exist, the list of events will be empty.", "description": "validateEdgeTokensSchema", "required": true, }, - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/validateEdgeTokensSchema", }, }, @@ -6919,29 +6919,29 @@ If the provided project does not exist, the list of events will be empty.", "description": "validateEdgeTokensSchema", }, }, - "tags": Array [ + "tags": [ "Edge", ], }, }, - "/health": Object { - "get": Object { + "/health": { + "get": { "operationId": "getHealth", - "responses": Object { - "200": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "responses": { + "200": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/healthCheckSchema", }, }, }, "description": "healthCheckSchema", }, - "500": Object { - "content": Object { - "application/json": Object { - "schema": Object { + "500": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/healthCheckSchema", }, }, @@ -6949,100 +6949,100 @@ If the provided project does not exist, the list of events will be empty.", "description": "healthCheckSchema", }, }, - "tags": Array [ + "tags": [ "Operational", ], }, }, }, - "security": Array [ - Object { - "apiKey": Array [], + "security": [ + { + "apiKey": [], }, ], - "servers": Array [ - Object { + "servers": [ + { "url": "http://localhost:4242", }, ], - "tags": Array [ - Object { + "tags": [ + { "description": "Create, update, and delete [Unleash addons](https://docs.getunleash.io/addons).", "name": "Addons", }, - Object { + { "description": "Configure the Unleash Admin UI.", "name": "Admin UI", }, - Object { + { "description": "Create, update, and delete [Unleash API tokens](https://docs.getunleash.io/reference/api-tokens-and-client-keys).", "name": "API tokens", }, - Object { + { "description": "Revive or permanently delete [archived feature toggles](https://docs.getunleash.io/advanced/archived_toggles).", "name": "Archive", }, - Object { + { "description": "Manage logins, passwords, etc.", "name": "Auth", }, - Object { + { "description": "Endpoints for [Unleash server-side clients](https://docs.getunleash.io/sdks).", "name": "Client", }, - Object { + { "description": "Create, update, and delete [context fields](https://docs.getunleash.io/user_guide/unleash_context) that Unleash is aware of.", "name": "Context", }, - Object { + { "description": "Endpoints related to Unleash on the Edge.", "name": "Edge", }, - Object { + { "description": "Create, update, delete, enable or disable [environments](https://docs.getunleash.io/user_guide/environments) for this Unleash instance.", "name": "Environments", }, - Object { + { "description": "Read events from this Unleash instance.", "name": "Events", }, - Object { + { "description": "Create, update, and delete [features toggles](https://docs.getunleash.io/reference/feature-toggles).", "name": "Features", }, - Object { + { "description": "[Import and export](https://docs.getunleash.io/deploy/import_export) the state of your Unleash instance.", "name": "Import/Export", }, - Object { + { "description": "Register, read, or delete metrics recorded by Unleash.", "name": "Metrics", }, - Object { + { "description": "Endpoints related to the operational status of this Unleash instance.", "name": "Operational", }, - Object { + { "description": "Evaluate an Unleash context against your feature toggles.", "name": "Playground", }, - Object { + { "description": "Create, update, and delete [Unleash projects](https://docs.getunleash.io/user_guide/projects).", "name": "Projects", }, - Object { + { "description": "Create, update, delete, manage [custom strategies](https://docs.getunleash.io/advanced/custom_activation_strategy).", "name": "Strategies", }, - Object { + { "description": "Create, update, and delete [tags and tag types](https://docs.getunleash.io/advanced/tags).", "name": "Tags", }, - Object { + { "description": "Experimental endpoints that may change or disappear at any time.", "name": "Unstable", }, - Object { + { "description": "Manage users and passwords.", "name": "Users", }, diff --git a/src/test/e2e/stores/event-store.e2e.test.ts b/src/test/e2e/stores/event-store.e2e.test.ts index 5ca37bbedc..db6c4d7fbe 100644 --- a/src/test/e2e/stores/event-store.e2e.test.ts +++ b/src/test/e2e/stores/event-store.e2e.test.ts @@ -31,7 +31,7 @@ afterAll(async () => { } }); test('Should include id and createdAt when saving', async () => { - jest.useFakeTimers('modern'); + jest.useFakeTimers(); const event1 = { type: APPLICATION_CREATED, createdBy: '127.0.0.1', @@ -79,7 +79,7 @@ test('Should include empty tags array for new event', async () => { }); test('Should be able to store multiple events at once', async () => { - jest.useFakeTimers('modern'); + jest.useFakeTimers(); const event1 = { type: APPLICATION_CREATED, createdBy: '127.0.0.1', diff --git a/yarn.lock b/yarn.lock index c21c2e4c59..f45ff6ede1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -101,7 +101,7 @@ resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.18.8.tgz#2483f565faca607b8535590e84e7de323f27764d" integrity sha512-HSmX4WZPPK3FUxYp7g2T6EyO8j96HlZJlxmKPSh6KAcqwyDrfx7hKjXpAW/0FhFfTJsR0Yt4lAjLI2coMptIHQ== -"@babel/core@7.18.13": +"@babel/core@7.18.13", "@babel/core@^7.11.6": version "7.18.13" resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.18.13.tgz#9be8c44512751b05094a4d3ab05fc53a47ce00ac" integrity sha512-ZisbOvRRusFktksHSG6pjj1CSvkPkcZq/KHD45LAkVP/oiHJkNBZWfpvlLmX8OtHDG8IuzsFlVRWo08w7Qxn0A== @@ -122,7 +122,7 @@ json5 "^2.2.1" semver "^6.3.0" -"@babel/core@^7.0.0", "@babel/core@^7.1.0", "@babel/core@^7.12.3", "@babel/core@^7.7.2", "@babel/core@^7.8.0": +"@babel/core@^7.0.0", "@babel/core@^7.12.3": version "7.17.10" resolved "https://registry.npmjs.org/@babel/core/-/core-7.17.10.tgz" integrity sha512-liKoppandF3ZcBnIYFjfSDHZLKdLHGJRkoWtG8zQyGJBQfIYobpnVGI5+pLBNtS6psFLDzyq8+h5HiVljW9PNA== @@ -284,6 +284,11 @@ resolved "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.14.5.tgz" integrity sha512-/37qQCE3K0vvZKwoK4XU/irIJQdIfCJuhU5eKnNxpFDsOkgFaUAwbv+RYw6eYgsC0E4hS7r5KqGULUogqui0fQ== +"@babel/helper-plugin-utils@^7.18.6": + version "7.18.9" + resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.18.9.tgz#4b8aea3b069d8cb8a72cdfe28ddf5ceca695ef2f" + integrity sha512-aBXPT3bmtLryXaoJLyYPXPlSD4p1ld9aYeR+sJNOZjJJGiOpb+fKfh3NkcCu7J54nUJwCERPBExCCpyCOHnu/w== + "@babel/helper-simple-access@^7.17.7": version "7.17.7" resolved "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.17.7.tgz" @@ -447,6 +452,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.0" +"@babel/plugin-syntax-jsx@^7.7.2": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.18.6.tgz#a8feef63b010150abd97f1649ec296e849943ca0" + integrity sha512-6mmljtAedFGTWu2p/8WIORGwy+61PLgOMPOdazc7YoJ9ZCWUyFy3A6CpPkRKLKD1ToAesxX8KGEViAiLo9N+7Q== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + "@babel/plugin-syntax-logical-assignment-operators@^7.8.3": version "7.10.4" resolved "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz" @@ -720,174 +732,193 @@ resolved "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz" integrity sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA== -"@jest/console@^27.5.1": - version "27.5.1" - resolved "https://registry.npmjs.org/@jest/console/-/console-27.5.1.tgz" - integrity sha512-kZ/tNpS3NXn0mlXXXPNuDZnb4c0oZ20r4K5eemM2k30ZC3G0T02nXUvyhf5YdbXWHPEJLc9qGLxEZ216MdL+Zg== +"@jest/console@^29.0.1": + version "29.0.1" + resolved "https://registry.yarnpkg.com/@jest/console/-/console-29.0.1.tgz#e0e429cfc89900e3a46ce27f493bf488395ade39" + integrity sha512-SxLvSKf9gk4Rvt3p2KRQWVQ3sVj7S37rjlCHwp2+xNcRO/X+Uw0idbkfOtciUpjghHIxyggqcrrKhThQ+vClLQ== dependencies: - "@jest/types" "^27.5.1" + "@jest/types" "^29.0.1" "@types/node" "*" chalk "^4.0.0" - jest-message-util "^27.5.1" - jest-util "^27.5.1" + jest-message-util "^29.0.1" + jest-util "^29.0.1" slash "^3.0.0" -"@jest/core@^27.5.1": - version "27.5.1" - resolved "https://registry.npmjs.org/@jest/core/-/core-27.5.1.tgz" - integrity sha512-AK6/UTrvQD0Cd24NSqmIA6rKsu0tKIxfiCducZvqxYdmMisOYAsdItspT+fQDQYARPf8XgjAFZi0ogW2agH5nQ== +"@jest/core@^29.0.1": + version "29.0.1" + resolved "https://registry.yarnpkg.com/@jest/core/-/core-29.0.1.tgz#a49517795f692a510b6fae55a9c09e659826c472" + integrity sha512-EcFrXkYh8I1GYHRH9V4TU7jr4P6ckaPqGo/z4AIJjHDZxicjYgWB6fx1xFb5bhEM87eUjCF4FAY5t+RamLWQmA== dependencies: - "@jest/console" "^27.5.1" - "@jest/reporters" "^27.5.1" - "@jest/test-result" "^27.5.1" - "@jest/transform" "^27.5.1" - "@jest/types" "^27.5.1" + "@jest/console" "^29.0.1" + "@jest/reporters" "^29.0.1" + "@jest/test-result" "^29.0.1" + "@jest/transform" "^29.0.1" + "@jest/types" "^29.0.1" "@types/node" "*" ansi-escapes "^4.2.1" chalk "^4.0.0" - emittery "^0.8.1" + ci-info "^3.2.0" exit "^0.1.2" graceful-fs "^4.2.9" - jest-changed-files "^27.5.1" - jest-config "^27.5.1" - jest-haste-map "^27.5.1" - jest-message-util "^27.5.1" - jest-regex-util "^27.5.1" - jest-resolve "^27.5.1" - jest-resolve-dependencies "^27.5.1" - jest-runner "^27.5.1" - jest-runtime "^27.5.1" - jest-snapshot "^27.5.1" - jest-util "^27.5.1" - jest-validate "^27.5.1" - jest-watcher "^27.5.1" + jest-changed-files "^29.0.0" + jest-config "^29.0.1" + jest-haste-map "^29.0.1" + jest-message-util "^29.0.1" + jest-regex-util "^29.0.0" + jest-resolve "^29.0.1" + jest-resolve-dependencies "^29.0.1" + jest-runner "^29.0.1" + jest-runtime "^29.0.1" + jest-snapshot "^29.0.1" + jest-util "^29.0.1" + jest-validate "^29.0.1" + jest-watcher "^29.0.1" micromatch "^4.0.4" - rimraf "^3.0.0" + pretty-format "^29.0.1" slash "^3.0.0" strip-ansi "^6.0.0" -"@jest/environment@^27.5.1": +"@jest/create-cache-key-function@^27.4.2": version "27.5.1" - resolved "https://registry.npmjs.org/@jest/environment/-/environment-27.5.1.tgz" - integrity sha512-/WQjhPJe3/ghaol/4Bq480JKXV/Rfw8nQdN7f41fM8VDHLcxKXou6QyXAh3EFr9/bVG3x74z1NWDkP87EiY8gA== + resolved "https://registry.yarnpkg.com/@jest/create-cache-key-function/-/create-cache-key-function-27.5.1.tgz#7448fae15602ea95c828f5eceed35c202a820b31" + integrity sha512-dmH1yW+makpTSURTy8VzdUwFnfQh1G8R+DxO2Ho2FFmBbKFEVm+3jWdvFhE2VqB/LATCTokkP0dotjyQyw5/AQ== dependencies: - "@jest/fake-timers" "^27.5.1" "@jest/types" "^27.5.1" + +"@jest/environment@^29.0.1": + version "29.0.1" + resolved "https://registry.yarnpkg.com/@jest/environment/-/environment-29.0.1.tgz#d236ce9e906744ac58bfc59ae6f7c9882ace7927" + integrity sha512-iLcFfoq2K6DAB+Mc+2VNLzZVmHdwQFeSqvoM/X8SMON6s/+yEi1iuRX3snx/JfwSnvmiMXjSr0lktxNxOcqXYA== + dependencies: + "@jest/fake-timers" "^29.0.1" + "@jest/types" "^29.0.1" "@types/node" "*" - jest-mock "^27.5.1" + jest-mock "^29.0.1" -"@jest/fake-timers@^27.5.1": - version "27.5.1" - resolved "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-27.5.1.tgz" - integrity sha512-/aPowoolwa07k7/oM3aASneNeBGCmGQsc3ugN4u6s4C/+s5M64MFo/+djTdiwcbQlRfFElGuDXWzaWj6QgKObQ== +"@jest/expect-utils@^29.0.1": + version "29.0.1" + resolved "https://registry.yarnpkg.com/@jest/expect-utils/-/expect-utils-29.0.1.tgz#c1a84ee66caaef537f351dd82f7c63d559cf78d5" + integrity sha512-Tw5kUUOKmXGQDmQ9TSgTraFFS7HMC1HG/B7y0AN2G2UzjdAXz9BzK2rmNpCSDl7g7y0Gf/VLBm//blonvhtOTQ== dependencies: - "@jest/types" "^27.5.1" - "@sinonjs/fake-timers" "^8.0.1" + jest-get-type "^29.0.0" + +"@jest/expect@^29.0.1": + version "29.0.1" + resolved "https://registry.yarnpkg.com/@jest/expect/-/expect-29.0.1.tgz#0ffde7f5b4c87f1dd6f8664726bd53f6cd1f7014" + integrity sha512-qKB3q52XDV8VUEiqKKLgLrJx7puQ8sYVqIDlul6n7SIXWS97DOK3KqbR2rDDaMtmenRHqEUl2fI+aFzx0oSemA== + dependencies: + expect "^29.0.1" + jest-snapshot "^29.0.1" + +"@jest/fake-timers@^29.0.1": + version "29.0.1" + resolved "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-29.0.1.tgz#51ba7a82431db479d4b828576c139c4c0dc5e409" + integrity sha512-XZ+kAhLChVQ+KJNa5034p7O1Mz3vtWrelxDcMoxhZkgqmWDaEQAW9qJeutaeCfPvwaEwKYVyKDYfWpcyT8RiMw== + dependencies: + "@jest/types" "^29.0.1" + "@sinonjs/fake-timers" "^9.1.2" "@types/node" "*" - jest-message-util "^27.5.1" - jest-mock "^27.5.1" - jest-util "^27.5.1" + jest-message-util "^29.0.1" + jest-mock "^29.0.1" + jest-util "^29.0.1" -"@jest/globals@^27.5.1": - version "27.5.1" - resolved "https://registry.npmjs.org/@jest/globals/-/globals-27.5.1.tgz" - integrity sha512-ZEJNB41OBQQgGzgyInAv0UUfDDj3upmHydjieSxFvTRuZElrx7tXg/uVQ5hYVEwiXs3+aMsAeEc9X7xiSKCm4Q== +"@jest/globals@^29.0.1": + version "29.0.1" + resolved "https://registry.yarnpkg.com/@jest/globals/-/globals-29.0.1.tgz#764135ad31408fb632b3126793ab3aaed933095f" + integrity sha512-BtZWrVrKRKNUt7T1H2S8Mz31PN7ItROCmH+V5pn10hJDUfjOCTIUwb0WtLZzm0f1tJ3Uvx+5lVZrF/VTKqNaFg== dependencies: - "@jest/environment" "^27.5.1" - "@jest/types" "^27.5.1" - expect "^27.5.1" + "@jest/environment" "^29.0.1" + "@jest/expect" "^29.0.1" + "@jest/types" "^29.0.1" + jest-mock "^29.0.1" -"@jest/reporters@^27.5.1": - version "27.5.1" - resolved "https://registry.npmjs.org/@jest/reporters/-/reporters-27.5.1.tgz" - integrity sha512-cPXh9hWIlVJMQkVk84aIvXuBB4uQQmFqZiacloFuGiP3ah1sbCxCosidXFDfqG8+6fO1oR2dTJTlsOy4VFmUfw== +"@jest/reporters@^29.0.1": + version "29.0.1" + resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-29.0.1.tgz#82a491657031c1cc278bf659905e5094973309ad" + integrity sha512-dM3L8JmYYOsdeXUUVZClQy67Tz/v1sMo9h4AQv2U+716VLHV0zdA6Hh4FQNAHMhYw/95dbZbPX8Q+TRR7Rw+wA== dependencies: "@bcoe/v8-coverage" "^0.2.3" - "@jest/console" "^27.5.1" - "@jest/test-result" "^27.5.1" - "@jest/transform" "^27.5.1" - "@jest/types" "^27.5.1" + "@jest/console" "^29.0.1" + "@jest/test-result" "^29.0.1" + "@jest/transform" "^29.0.1" + "@jest/types" "^29.0.1" + "@jridgewell/trace-mapping" "^0.3.15" "@types/node" "*" chalk "^4.0.0" collect-v8-coverage "^1.0.0" exit "^0.1.2" - glob "^7.1.2" + glob "^7.1.3" graceful-fs "^4.2.9" istanbul-lib-coverage "^3.0.0" istanbul-lib-instrument "^5.1.0" istanbul-lib-report "^3.0.0" istanbul-lib-source-maps "^4.0.0" istanbul-reports "^3.1.3" - jest-haste-map "^27.5.1" - jest-resolve "^27.5.1" - jest-util "^27.5.1" - jest-worker "^27.5.1" + jest-message-util "^29.0.1" + jest-util "^29.0.1" + jest-worker "^29.0.1" slash "^3.0.0" - source-map "^0.6.0" string-length "^4.0.1" + strip-ansi "^6.0.0" terminal-link "^2.0.0" - v8-to-istanbul "^8.1.0" + v8-to-istanbul "^9.0.1" -"@jest/source-map@^27.5.1": - version "27.5.1" - resolved "https://registry.npmjs.org/@jest/source-map/-/source-map-27.5.1.tgz" - integrity sha512-y9NIHUYF3PJRlHk98NdC/N1gl88BL08aQQgu4k4ZopQkCw9t9cV8mtl3TV8b/YCB8XaVTFrmUTAJvjsntDireg== +"@jest/schemas@^29.0.0": + version "29.0.0" + resolved "https://registry.yarnpkg.com/@jest/schemas/-/schemas-29.0.0.tgz#5f47f5994dd4ef067fb7b4188ceac45f77fe952a" + integrity sha512-3Ab5HgYIIAnS0HjqJHQYZS+zXc4tUmTmBH3z83ajI6afXp8X3ZtdLX+nXx+I7LNkJD7uN9LAVhgnjDgZa2z0kA== dependencies: + "@sinclair/typebox" "^0.24.1" + +"@jest/source-map@^29.0.0": + version "29.0.0" + resolved "https://registry.yarnpkg.com/@jest/source-map/-/source-map-29.0.0.tgz#f8d1518298089f8ae624e442bbb6eb870ee7783c" + integrity sha512-nOr+0EM8GiHf34mq2GcJyz/gYFyLQ2INDhAylrZJ9mMWoW21mLBfZa0BUVPPMxVYrLjeiRe2Z7kWXOGnS0TFhQ== + dependencies: + "@jridgewell/trace-mapping" "^0.3.15" callsites "^3.0.0" graceful-fs "^4.2.9" - source-map "^0.6.0" -"@jest/test-result@^27.5.1": - version "27.5.1" - resolved "https://registry.npmjs.org/@jest/test-result/-/test-result-27.5.1.tgz" - integrity sha512-EW35l2RYFUcUQxFJz5Cv5MTOxlJIQs4I7gxzi2zVU7PJhOwfYq1MdC5nhSmYjX1gmMmLPvB3sIaC+BkcHRBfag== +"@jest/test-result@^29.0.1": + version "29.0.1" + resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-29.0.1.tgz#97ac334e4c6f7d016c341cdd500aa423a38e4cdd" + integrity sha512-XCA4whh/igxjBaR/Hg8qwFd/uTsauoD7QAdAYUjV2CSGx0+iunhjoCRRWTwqjQrETRqOJABx6kNfw0+C0vMSgQ== dependencies: - "@jest/console" "^27.5.1" - "@jest/types" "^27.5.1" + "@jest/console" "^29.0.1" + "@jest/types" "^29.0.1" "@types/istanbul-lib-coverage" "^2.0.0" collect-v8-coverage "^1.0.0" -"@jest/test-sequencer@^27.5.1": - version "27.5.1" - resolved "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-27.5.1.tgz" - integrity sha512-LCheJF7WB2+9JuCS7VB/EmGIdQuhtqjRNI9A43idHv3E4KltCTsPsLxvdaubFHSYwY/fNjMWjl6vNRhDiN7vpQ== +"@jest/test-sequencer@^29.0.1": + version "29.0.1" + resolved "https://registry.yarnpkg.com/@jest/test-sequencer/-/test-sequencer-29.0.1.tgz#7074b5f89ce30941b5b0fb493a19308d441a30b8" + integrity sha512-3GhSBMCRcWXGluP2Dw7CLP6mNke/t+EcftF5YjzhX1BJmqcatMbtZVwjuCfZy0TCME1GevXy3qTyV5PLpwIFKQ== dependencies: - "@jest/test-result" "^27.5.1" + "@jest/test-result" "^29.0.1" graceful-fs "^4.2.9" - jest-haste-map "^27.5.1" - jest-runtime "^27.5.1" + jest-haste-map "^29.0.1" + slash "^3.0.0" -"@jest/transform@^27.5.1": - version "27.5.1" - resolved "https://registry.npmjs.org/@jest/transform/-/transform-27.5.1.tgz" - integrity sha512-ipON6WtYgl/1329g5AIJVbUuEh0wZVbdpGwC99Jw4LwuoBNS95MVphU6zOeD9pDkon+LLbFL7lOQRapbB8SCHw== +"@jest/transform@^29.0.1": + version "29.0.1" + resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-29.0.1.tgz#fdaa5d9e135c9bd7addbe65bedd1f15ad028cc7e" + integrity sha512-6UxXtqrPScFdDhoip8ys60dQAIYppQinyR87n9nlasR/ZnFfJohKToqzM29KK4gb9gHRv5oDFChdqZKE0SIhsg== dependencies: - "@babel/core" "^7.1.0" - "@jest/types" "^27.5.1" + "@babel/core" "^7.11.6" + "@jest/types" "^29.0.1" + "@jridgewell/trace-mapping" "^0.3.15" babel-plugin-istanbul "^6.1.1" chalk "^4.0.0" convert-source-map "^1.4.0" - fast-json-stable-stringify "^2.0.0" + fast-json-stable-stringify "^2.1.0" graceful-fs "^4.2.9" - jest-haste-map "^27.5.1" - jest-regex-util "^27.5.1" - jest-util "^27.5.1" + jest-haste-map "^29.0.1" + jest-regex-util "^29.0.0" + jest-util "^29.0.1" micromatch "^4.0.4" pirates "^4.0.4" slash "^3.0.0" - source-map "^0.6.1" - write-file-atomic "^3.0.0" - -"@jest/types@^27.0.1", "@jest/types@^27.0.6": - version "27.0.6" - resolved "https://registry.npmjs.org/@jest/types/-/types-27.0.6.tgz" - integrity sha512-aSquT1qa9Pik26JK5/3rvnYb4bGtm1VFNesHKmNTwmPIgOrixvhL2ghIvFRNEpzy3gU+rUgjIF/KodbkFAl++g== - dependencies: - "@types/istanbul-lib-coverage" "^2.0.0" - "@types/istanbul-reports" "^3.0.0" - "@types/node" "*" - "@types/yargs" "^16.0.0" - chalk "^4.0.0" + write-file-atomic "^4.0.1" "@jest/types@^27.5.1": version "27.5.1" @@ -900,6 +931,18 @@ "@types/yargs" "^16.0.0" chalk "^4.0.0" +"@jest/types@^29.0.1": + version "29.0.1" + resolved "https://registry.yarnpkg.com/@jest/types/-/types-29.0.1.tgz#1985650acf137bdb81710ff39a4689ec071dd86a" + integrity sha512-ft01rxzVsbh9qZPJ6EFgAIj3PT9FCRfBF9Xljo2/33VDOUjLZr0ZJ2oKANqh9S/K0/GERCsHDAQlBwj7RxA+9g== + dependencies: + "@jest/schemas" "^29.0.0" + "@types/istanbul-lib-coverage" "^2.0.0" + "@types/istanbul-reports" "^3.0.0" + "@types/node" "*" + "@types/yargs" "^17.0.8" + chalk "^4.0.0" + "@jridgewell/gen-mapping@^0.1.0": version "0.1.1" resolved "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz" @@ -953,6 +996,14 @@ "@jridgewell/resolve-uri" "^3.0.3" "@jridgewell/sourcemap-codec" "^1.4.10" +"@jridgewell/trace-mapping@^0.3.12", "@jridgewell/trace-mapping@^0.3.15": + version "0.3.15" + resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.15.tgz#aba35c48a38d3fd84b37e66c9c0423f9744f9774" + integrity sha512-oWZNOULl+UbhsgB51uuZzglikfIKSUBO/M9W2OfEjn7cmqoAiCgmv9lyACTUacZwBz0ITnJ2NqjU8Tx0DHL88g== + dependencies: + "@jridgewell/resolve-uri" "^3.0.3" + "@jridgewell/sourcemap-codec" "^1.4.10" + "@jridgewell/trace-mapping@^0.3.9": version "0.3.13" resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.13.tgz#dcfe3e95f224c8fe97a87a5235defec999aa92ea" @@ -1020,6 +1071,11 @@ resolved "https://registry.npmjs.org/@sideway/pinpoint/-/pinpoint-2.0.0.tgz" integrity sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ== +"@sinclair/typebox@^0.24.1": + version "0.24.34" + resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.24.34.tgz#35b799cf98a203d1940c8ce06688f9a09fbc0f50" + integrity sha512-x3ejWKw7rpy30Bvm6U0AQMOHdjqe2E3YJrBHlTxH0KFsp77bBa+MH324nJxtXZFpnTy/JW2h5HPYVm0vG2WPnw== + "@sinonjs/commons@^1.7.0": version "1.8.3" resolved "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.3.tgz" @@ -1027,17 +1083,125 @@ dependencies: type-detect "4.0.8" -"@sinonjs/fake-timers@^8.0.1": - version "8.0.1" - resolved "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-8.0.1.tgz" - integrity sha512-AU7kwFxreVd6OAXcAFlKSmZquiRUU0FvYm44k1Y1QbK7Co4m0aqfGMhjykIeQp/H6rcl+nFmj0zfdUcGVs9Dew== +"@sinonjs/fake-timers@^9.1.2": + version "9.1.2" + resolved "https://registry.yarnpkg.com/@sinonjs/fake-timers/-/fake-timers-9.1.2.tgz#4eaab737fab77332ab132d396a3c0d364bd0ea8c" + integrity sha512-BPS4ynJW/o92PUR4wgriz2Ud5gpST5vz6GQfMixEDK0Z8ZCUv2M7SkBLykH56T++Xs+8ln9zTGbOvNGIe02/jw== dependencies: "@sinonjs/commons" "^1.7.0" -"@tootallnate/once@1": - version "1.1.2" - resolved "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz" - integrity sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw== +"@swc/core-android-arm-eabi@1.2.246": + version "1.2.246" + resolved "https://registry.yarnpkg.com/@swc/core-android-arm-eabi/-/core-android-arm-eabi-1.2.246.tgz#93ea1a172a505c1adf2e18f86ed6e44e963f375a" + integrity sha512-3LXgOhtZnDsBacv71WRhuiuzjD0Q7m3XLzGyndtNZ+os4SOlmFiOTjZ3iMhnafKWZslmgAFrMemLPDOH+Np8OQ== + dependencies: + "@swc/wasm" "1.2.122" + +"@swc/core-android-arm64@1.2.246": + version "1.2.246" + resolved "https://registry.yarnpkg.com/@swc/core-android-arm64/-/core-android-arm64-1.2.246.tgz#e8609638f7f15dd44adbf51d4f7990472a281844" + integrity sha512-m/BCkI7Wo4nMN6PLM1EnO43p7aoi9sxY3KESVCyAEZ07QlY++a0GEgVqCkKHWZ8zcfbLsesDA2E9/DYMOgPzxg== + dependencies: + "@swc/wasm" "1.2.130" + +"@swc/core-darwin-arm64@1.2.246": + version "1.2.246" + resolved "https://registry.yarnpkg.com/@swc/core-darwin-arm64/-/core-darwin-arm64-1.2.246.tgz#d7eb1e17543a22a4e730f3ffde442c69d80d0a43" + integrity sha512-w3RbXiGPE1LshUS5T3McBJAxl9gCFZanaY5ALuUNERAIdjVxjGmB815O0hPDmjlJrhvwhKI9+Rx4X/M1vlZDtA== + +"@swc/core-darwin-x64@1.2.246": + version "1.2.246" + resolved "https://registry.yarnpkg.com/@swc/core-darwin-x64/-/core-darwin-x64-1.2.246.tgz#c9e55373bfbfcf1c9867d5bc0ddddbe4edfa3196" + integrity sha512-2odv/ZlV9VsQuQDIul1jU2+u5vPCw6Xyg0BaejaA5FCcnXi6w2xf6/ryFFgQy4i+LP3oZdOtJG1dZiA8ozplKw== + +"@swc/core-freebsd-x64@1.2.246": + version "1.2.246" + resolved "https://registry.yarnpkg.com/@swc/core-freebsd-x64/-/core-freebsd-x64-1.2.246.tgz#3b6f8122daf61f0db9860a8dcd0e8f7f765337f9" + integrity sha512-GvQuHKTc8TyJ3jn1e4HZasgGfBvD3nGe55syzAAaedh8tuU7VnQjxl1Dtq5DtyCBDDbulzuHcwLFQnWNWgEMyA== + dependencies: + "@swc/wasm" "1.2.130" + +"@swc/core-linux-arm-gnueabihf@1.2.246": + version "1.2.246" + resolved "https://registry.yarnpkg.com/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.2.246.tgz#bdc5b418ff1eda1b7df256fb584b5407f37bbc9f" + integrity sha512-J1g/q9S9I0uLn/erHoIEpYvzr48oTiVY2cmniw/q0jRfg+ECTI24AjWQj5sdIoB+GLqEn5+GNhUbYIVoCTubRA== + dependencies: + "@swc/wasm" "1.2.130" + +"@swc/core-linux-arm64-gnu@1.2.246": + version "1.2.246" + resolved "https://registry.yarnpkg.com/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.2.246.tgz#d6ff4ab60efe0c19c88be6dd075fad33cec9c5a6" + integrity sha512-J7B6XgOiNgCyZp5WXkC0wi2ov3SpS5z3o6++n0qz8d1UqswDaOjnpGQgPITXFkKFFrs/uWdPiNbbBsMum6C5gQ== + +"@swc/core-linux-arm64-musl@1.2.246": + version "1.2.246" + resolved "https://registry.yarnpkg.com/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.2.246.tgz#589200804065c8023c3e91c6057d59135619f915" + integrity sha512-AFv/95BgZkdrLa5YfvP/69v8qT+zq0pRVZxv/IUW1mmM1UGVKrcU0i0y/haYivIFcLX+Ox5IYmIibO9C9P9pOA== + +"@swc/core-linux-x64-gnu@1.2.246": + version "1.2.246" + resolved "https://registry.yarnpkg.com/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.2.246.tgz#283a8d0e94e58dd8bb0e2cecf9bad76ddcafc04d" + integrity sha512-egM6QX7PaLB2cQXJidfQvwT9OzUkTl1XIUVz+IOpv4om0xxtyJQjy/2ENjjtiw7C9IuV1xASOLlE1tMfLY7osw== + +"@swc/core-linux-x64-musl@1.2.246": + version "1.2.246" + resolved "https://registry.yarnpkg.com/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.2.246.tgz#ea63a3b5347d1f9785c9b07fc94dd161549cbf72" + integrity sha512-SKJRqgcbiZ4h2O0p+JA/NsmmV1ZwHTxdMRKkiNSvkyybGyOwPgP01CVITggVohz0j9NGwgIVAJOcn4Hx5WCcuw== + +"@swc/core-win32-arm64-msvc@1.2.246": + version "1.2.246" + resolved "https://registry.yarnpkg.com/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.2.246.tgz#8ecf344ed7b550d3607061f038ea47e62e89757e" + integrity sha512-VISXunc1sU0jm5dC37TLXYTdmIcz4b9ItfrGpc+hIZWDwGbagSwHiThnJL3OlpZQrcrbZ0w+/zg4EYb5JenbXg== + dependencies: + "@swc/wasm" "1.2.130" + +"@swc/core-win32-ia32-msvc@1.2.246": + version "1.2.246" + resolved "https://registry.yarnpkg.com/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.2.246.tgz#db7c81cc75b552a2ced466ae84a5d4abc0bab9f6" + integrity sha512-4tp3BrFur90PB2EM5vvfsw2zyBDFhC1PRAYGXJf9oF0Fnf4kQt+cBYXGy13I/kJfhd/cKQJC8o9lBV+dtLtGDg== + dependencies: + "@swc/wasm" "1.2.130" + +"@swc/core-win32-x64-msvc@1.2.246": + version "1.2.246" + resolved "https://registry.yarnpkg.com/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.2.246.tgz#2471e8dda585ee3d8cbabdd6bda7bc9547cbb359" + integrity sha512-wD22xEFdiYtpq7Nwq1k8Dqwe08zrgaEhO9rn7G9DUtjHPSeIOpNQ1dQrzGBVK5Ah/3WJuciCAyUbVtaDUROhEQ== + +"@swc/core@1.2.246": + version "1.2.246" + resolved "https://registry.yarnpkg.com/@swc/core/-/core-1.2.246.tgz#c24c5b0599558e69fa36c48a97b40d9995fcb672" + integrity sha512-wi0IZLv5GC2zjZoiEDoLZraS7/ZV2Y6vnAII//Ulobvdc4zuQoceJvYvyO3IJMB0bZVoiY/fn0Ae/iEMx9PFBQ== + optionalDependencies: + "@swc/core-android-arm-eabi" "1.2.246" + "@swc/core-android-arm64" "1.2.246" + "@swc/core-darwin-arm64" "1.2.246" + "@swc/core-darwin-x64" "1.2.246" + "@swc/core-freebsd-x64" "1.2.246" + "@swc/core-linux-arm-gnueabihf" "1.2.246" + "@swc/core-linux-arm64-gnu" "1.2.246" + "@swc/core-linux-arm64-musl" "1.2.246" + "@swc/core-linux-x64-gnu" "1.2.246" + "@swc/core-linux-x64-musl" "1.2.246" + "@swc/core-win32-arm64-msvc" "1.2.246" + "@swc/core-win32-ia32-msvc" "1.2.246" + "@swc/core-win32-x64-msvc" "1.2.246" + +"@swc/jest@0.2.22": + version "0.2.22" + resolved "https://registry.yarnpkg.com/@swc/jest/-/jest-0.2.22.tgz#70d02ac648c21a442016d7a0aa485577335a4c9a" + integrity sha512-PIUIk9IdB1oAVfF9zNIfYoMBoEhahrrSvyryFANas7swC1cF0L5HR0f9X4qfet46oyCHCBtNcSpN0XJEOFIKlw== + dependencies: + "@jest/create-cache-key-function" "^27.4.2" + +"@swc/wasm@1.2.122": + version "1.2.122" + resolved "https://registry.yarnpkg.com/@swc/wasm/-/wasm-1.2.122.tgz#87a5e654b26a71b2e84b801f41e45f823b856639" + integrity sha512-sM1VCWQxmNhFtdxME+8UXNyPNhxNu7zdb6ikWpz0YKAQQFRGT5ThZgJrubEpah335SUToNg8pkdDF7ibVCjxbQ== + +"@swc/wasm@1.2.130": + version "1.2.130" + resolved "https://registry.yarnpkg.com/@swc/wasm/-/wasm-1.2.130.tgz#88ac26433335d1f957162a9a92f1450b73c176a0" + integrity sha512-rNcJsBxS70+pv8YUWwf5fRlWX6JoY/HJc25HD/F8m6Kv7XhJdqPPMhyX6TKkUBPAG7TWlZYoxa+rHAjPy4Cj3Q== "@tootallnate/once@2": version "2.0.0" @@ -1064,7 +1228,7 @@ resolved "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.2.tgz" integrity sha512-eZxlbI8GZscaGS7kkc/trHTT5xgrjH3/1n2JDwusC9iahPKWMRvRjJSAN5mCXviuTGQ/lHnhvv8Q1YTpnfz9gA== -"@types/babel__core@^7.0.0", "@types/babel__core@^7.1.14": +"@types/babel__core@^7.1.14": version "7.1.15" resolved "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.1.15.tgz" integrity sha512-bxlMKPDbY8x5h6HBwVzEOk2C8fb6SLfYQ5Jw3uBYuYF1lfWk/kbLd81la82vrIkBb0l+JdmrZaDikPrNxpS/Ew== @@ -1090,7 +1254,7 @@ "@babel/parser" "^7.1.0" "@babel/types" "^7.0.0" -"@types/babel__traverse@*", "@types/babel__traverse@^7.0.4", "@types/babel__traverse@^7.0.6": +"@types/babel__traverse@*", "@types/babel__traverse@^7.0.6": version "7.14.2" resolved "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.14.2.tgz" integrity sha512-K2waXdXBi2302XUdcHcR1jCeU0LL4TD9HRs/gk0N2Xvrht+G/BfJa4QObBQZfhMdxiCpV3COl5Nfq4uKTeTnJA== @@ -1158,9 +1322,9 @@ resolved "https://registry.npmjs.org/@types/faker/-/faker-5.5.9.tgz" integrity sha512-uCx6mP3UY5SIO14XlspxsGjgaemrxpssJI0Ol+GfhxtcKpv9pgRZYsS4eeKeHVLje6Qtc8lGszuBI461+gVZBA== -"@types/graceful-fs@^4.1.2": +"@types/graceful-fs@^4.1.3": version "4.1.5" - resolved "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.5.tgz" + resolved "https://registry.yarnpkg.com/@types/graceful-fs/-/graceful-fs-4.1.5.tgz#21ffba0d98da4350db64891f92a9e5db3cdb4e15" integrity sha512-anKkLmZZ+xm4p8JWBf4hElkM4XR+EZeA2M9BAkkTldmcyDY4mbdIJnRghDJH3Ov5ooY7/UAoENtmdMSkaAd7Cw== dependencies: "@types/node" "*" @@ -1184,13 +1348,13 @@ dependencies: "@types/istanbul-lib-report" "*" -"@types/jest@27.5.2": - version "27.5.2" - resolved "https://registry.yarnpkg.com/@types/jest/-/jest-27.5.2.tgz#ec49d29d926500ffb9fd22b84262e862049c026c" - integrity sha512-mpT8LJJ4CMeeahobofYWIjFo0xonRS/HfxnVEPMPFSQdGUt1uHCnoPT7Zhb+sjDU2wz0oKV0OLUR0WzrHNgfeA== +"@types/jest@29.0.0": + version "29.0.0" + resolved "https://registry.yarnpkg.com/@types/jest/-/jest-29.0.0.tgz#bc66835bf6b09d6a47e22c21d7f5b82692e60e72" + integrity sha512-X6Zjz3WO4cT39Gkl0lZ2baFRaEMqJl5NC1OjElkwtNzAlbkr2K/WJXkBkH5VP0zx4Hgsd2TZYdOEfvp2Dxia+Q== dependencies: - jest-matcher-utils "^27.0.0" - pretty-format "^27.0.0" + expect "^29.0.0" + pretty-format "^29.0.0" "@types/js-yaml@4.0.5": version "4.0.5" @@ -1357,6 +1521,13 @@ dependencies: "@types/yargs-parser" "*" +"@types/yargs@^17.0.8": + version "17.0.12" + resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-17.0.12.tgz#0745ff3e4872b4ace98616d4b7e37ccbd75f9526" + integrity sha512-Nz4MPhecOFArtm81gFQvQqdV7XYCrWKx5uUt6GNHredFHn1i2mtWqXTON7EPXMtNi1qjtjEM/VCHDhcHsAMLXQ== + dependencies: + "@types/yargs-parser" "*" + "@typescript-eslint/eslint-plugin@5.36.1": version "5.36.1" resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.36.1.tgz#471f64dc53600025e470dad2ca4a9f2864139019" @@ -1452,11 +1623,6 @@ swagger-parser "^10.0.3" swagger-ui-dist "^4.10.3" -abab@^2.0.3, abab@^2.0.5: - version "2.0.5" - resolved "https://registry.npmjs.org/abab/-/abab-2.0.5.tgz" - integrity sha512-9IK9EadsbHo6jLWIpxpR6pL0sazTXV6+SQv25ZB+F7Bj9mJNaOc4nCRabwd5M/JwmUa8idz6Eci6eKfJryPs6Q== - accepts@~1.3.5, accepts@~1.3.7: version "1.3.7" resolved "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz" @@ -1465,35 +1631,17 @@ accepts@~1.3.5, accepts@~1.3.7: mime-types "~2.1.24" negotiator "0.6.2" -acorn-globals@^6.0.0: - version "6.0.0" - resolved "https://registry.npmjs.org/acorn-globals/-/acorn-globals-6.0.0.tgz" - integrity sha512-ZQl7LOWaF5ePqqcX4hLuv/bLXYQNfNWw2c0/yX/TsPRKamzHcTGQnlCjHT3TsmkOUVEPS3crCxiPfdzE/Trlhg== - dependencies: - acorn "^7.1.1" - acorn-walk "^7.1.1" - acorn-jsx@^5.3.2: version "5.3.2" resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937" integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ== -acorn-walk@^7.1.1: - version "7.2.0" - resolved "https://registry.npmjs.org/acorn-walk/-/acorn-walk-7.2.0.tgz" - integrity sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA== - acorn-walk@^8.1.1: version "8.1.1" resolved "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.1.1.tgz" integrity sha512-FbJdceMlPHEAWJOILDk1fXD8lnTlEIWFkqtfk+MvmL5q/qlHfN7GEHcsFZWt/Tea9jRNPWUZG4G976nqAAmU9w== -acorn@^7.1.1: - version "7.4.1" - resolved "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz" - integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A== - -acorn@^8.2.4, acorn@^8.4.1: +acorn@^8.4.1: version "8.7.1" resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.7.1.tgz#0197122c843d1bf6d0a5e83220a788f278f63c30" integrity sha512-Xx54uLJQZ19lKygFXOWsscKUbsBZW0CPykPhVQdhIeIwrbPmJzqeASDInc8nKBnp/JT6igTs82qPXz069H8I/A== @@ -1720,16 +1868,15 @@ aws4@^1.8.0: resolved "https://registry.npmjs.org/aws4/-/aws4-1.11.0.tgz" integrity sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA== -babel-jest@^27.5.1: - version "27.5.1" - resolved "https://registry.npmjs.org/babel-jest/-/babel-jest-27.5.1.tgz" - integrity sha512-cdQ5dXjGRd0IBRATiQ4mZGlGlRE8kJpjPOixdNRdT+m3UcNqmYWN6rK6nvtXYfY3D76cb8s/O1Ss8ea24PIwcg== +babel-jest@^29.0.1: + version "29.0.1" + resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-29.0.1.tgz#db50de501fc8727e768f5aa417496cb871ee1ba0" + integrity sha512-wyI9r8tqwsZEMWiIaYjdUJ6ztZIO4DMWpGq7laW34wR71WtRS+D/iBEtXOP5W2aSYCVUQMsypRl/xiJYZznnTg== dependencies: - "@jest/transform" "^27.5.1" - "@jest/types" "^27.5.1" + "@jest/transform" "^29.0.1" "@types/babel__core" "^7.1.14" babel-plugin-istanbul "^6.1.1" - babel-preset-jest "^27.5.1" + babel-preset-jest "^29.0.0" chalk "^4.0.0" graceful-fs "^4.2.9" slash "^3.0.0" @@ -1745,14 +1892,14 @@ babel-plugin-istanbul@^6.1.1: istanbul-lib-instrument "^5.0.4" test-exclude "^6.0.0" -babel-plugin-jest-hoist@^27.5.1: - version "27.5.1" - resolved "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-27.5.1.tgz" - integrity sha512-50wCwD5EMNW4aRpOwtqzyZHIewTYNxLA4nhB+09d8BIssfNfzBRhkBIHiaPv1Si226TQSvp8gxAJm2iY2qs2hQ== +babel-plugin-jest-hoist@^29.0.0: + version "29.0.0" + resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-29.0.0.tgz#ae4873399a199ede93697a15919d3d0f614a2eb1" + integrity sha512-B9oaXrlxXHFWeWqhDPg03iqQd2UN/mg/VdZOsLaqAVBkztru3ctTryAI4zisxLEEgmcUnLTKewqx0gGifoXD3A== dependencies: "@babel/template" "^7.3.3" "@babel/types" "^7.3.3" - "@types/babel__core" "^7.0.0" + "@types/babel__core" "^7.1.14" "@types/babel__traverse" "^7.0.6" babel-preset-current-node-syntax@^1.0.0: @@ -1773,12 +1920,12 @@ babel-preset-current-node-syntax@^1.0.0: "@babel/plugin-syntax-optional-chaining" "^7.8.3" "@babel/plugin-syntax-top-level-await" "^7.8.3" -babel-preset-jest@^27.5.1: - version "27.5.1" - resolved "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-27.5.1.tgz" - integrity sha512-Nptf2FzlPCWYuJg41HBqXVT8ym6bXOevuCTbhxlUpjwtysGaIWFvDEjp4y+G7fl13FgOdjs7P/DmErqH7da0Ag== +babel-preset-jest@^29.0.0: + version "29.0.0" + resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-29.0.0.tgz#52d7f1afe3a15d14a3c5ab4349cbd388d98d330b" + integrity sha512-B5Ke47Xcs8rDF3p1korT3LoilpADCwbG93ALqtvqu6Xpf4d8alKkrCBTExbNzdHJcIuEPpfYvEaFFRGee2kUgQ== dependencies: - babel-plugin-jest-hoist "^27.5.1" + babel-plugin-jest-hoist "^29.0.0" babel-preset-current-node-syntax "^1.0.0" balanced-match@^1.0.0: @@ -1851,11 +1998,6 @@ braces@^3.0.1, braces@^3.0.2: dependencies: fill-range "^7.0.1" -browser-process-hrtime@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz" - integrity sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow== - browserslist@^4.20.2: version "4.20.3" resolved "https://registry.npmjs.org/browserslist/-/browserslist-4.20.3.tgz" @@ -1867,13 +2009,6 @@ browserslist@^4.20.2: node-releases "^2.0.3" picocolors "^1.0.0" -bs-logger@0.x: - version "0.2.6" - resolved "https://registry.npmjs.org/bs-logger/-/bs-logger-0.2.6.tgz" - integrity sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog== - dependencies: - fast-json-stable-stringify "2.x" - bser@2.1.1: version "2.1.1" resolved "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz" @@ -2036,7 +2171,7 @@ chownr@^2.0.0: resolved "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz" integrity sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ== -ci-info@^3.1.1, ci-info@^3.2.0: +ci-info@^3.2.0: version "3.2.0" resolved "https://registry.npmjs.org/ci-info/-/ci-info-3.2.0.tgz" integrity sha512-dVqRX7fLUm8J6FgHJ418XuIgDLZDkYcDFTeL6TA2gt5WlIZUQrrH6EZrNClwT/H0FateUsZkGIOPRrLbP+PR9A== @@ -2368,23 +2503,6 @@ cross-spawn@^7.0.2, cross-spawn@^7.0.3: shebang-command "^2.0.0" which "^2.0.1" -cssom@^0.4.4: - version "0.4.4" - resolved "https://registry.npmjs.org/cssom/-/cssom-0.4.4.tgz" - integrity sha512-p3pvU7r1MyyqbTk+WbNJIgJjG2VmTIaB10rI93LzVPrmDJKkzKYMtxxyAvQXR/NS6otuzveI7+7BBq3SjBS2mw== - -cssom@~0.3.6: - version "0.3.8" - resolved "https://registry.npmjs.org/cssom/-/cssom-0.3.8.tgz" - integrity sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg== - -cssstyle@^2.3.0: - version "2.3.0" - resolved "https://registry.npmjs.org/cssstyle/-/cssstyle-2.3.0.tgz" - integrity sha512-AZL67abkUzIuvcHqk7c09cezpGNcxUxU4Ioi/05xHk4DQeTkWmGYftIE6ctU6AEt+Gn4n1lDStOtj7FKycP71A== - dependencies: - cssom "~0.3.6" - cycle@1.0.x: version "1.0.3" resolved "https://registry.npmjs.org/cycle/-/cycle-1.0.3.tgz" @@ -2405,15 +2523,6 @@ dashdash@^1.12.0: dependencies: assert-plus "^1.0.0" -data-urls@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/data-urls/-/data-urls-2.0.0.tgz" - integrity sha512-X5eWTSXO/BJmpdIKCRuKUgSCgAN0OwliVK3yPKbwIWU1Tdw5BRajxlzMidvh+gwko9AfQ9zIj52pzF91Q3YAvQ== - dependencies: - abab "^2.0.3" - whatwg-mimetype "^2.3.0" - whatwg-url "^8.0.0" - date-fns@^2.25.0: version "2.25.0" resolved "https://registry.npmjs.org/date-fns/-/date-fns-2.25.0.tgz" @@ -2513,11 +2622,6 @@ decamelize@^5.0.0: resolved "https://registry.npmjs.org/decamelize/-/decamelize-5.0.0.tgz" integrity sha512-U75DcT5hrio3KNtvdULAWnLiAPbFUC4191ldxMmj4FA/mRuBnmDwU0boNfPyFRhnan+Jm+haLeSn3P0afcBn4w== -decimal.js@^10.2.1: - version "10.3.1" - resolved "https://registry.npmjs.org/decimal.js/-/decimal.js-10.3.1.tgz" - integrity sha512-V0pfhfr8suzyPGOx3nmq4aHqabehUZn6Ch9kyFpV79TGDTWFmHqUqXdabR7QHqxzrYolF4+tVmJhUG4OURg5dQ== - dedent@^0.7.0: version "0.7.0" resolved "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz" @@ -2528,7 +2632,7 @@ deep-extend@^0.6.0: resolved "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz" integrity sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA== -deep-is@^0.1.3, deep-is@~0.1.3: +deep-is@^0.1.3: version "0.1.3" resolved "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz" integrity sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ= @@ -2600,10 +2704,10 @@ dezalgo@1.0.3: asap "^2.0.0" wrappy "1" -diff-sequences@^27.5.1: - version "27.5.1" - resolved "https://registry.npmjs.org/diff-sequences/-/diff-sequences-27.5.1.tgz" - integrity sha512-k1gCAXAsNgLwEL+Y8Wvl+M6oEFj5bgazfZULpS5CneoPPXRaCCW7dm+q21Ky2VEE5X+VeRDBVg1Pcvvsr4TtNQ== +diff-sequences@^29.0.0: + version "29.0.0" + resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-29.0.0.tgz#bae49972ef3933556bcb0800b72e8579d19d9e4f" + integrity sha512-7Qe/zd1wxSDL4D/X/FPjOMB+ZMDt71W94KYaq05I2l0oQqgXgs7s4ftYYmV38gBSrPz2vcygxfs1xn0FT+rKNA== diff@^4.0.1: version "4.0.2" @@ -2631,13 +2735,6 @@ doctrine@^3.0.0: dependencies: esutils "^2.0.2" -domexception@^2.0.1: - version "2.0.1" - resolved "https://registry.npmjs.org/domexception/-/domexception-2.0.1.tgz" - integrity sha512-yxJ2mFy/sibVQlu5qHjOkf9J3K6zgmCxgJ94u2EdvDOV09H+32LtRswEcUsmUWN72pVLOEnTSRaIVVzVQgS0dg== - dependencies: - webidl-conversions "^5.0.0" - dotenv@^5.0.1: version "5.0.1" resolved "https://registry.npmjs.org/dotenv/-/dotenv-5.0.1.tgz" @@ -2666,10 +2763,10 @@ electron-to-chromium@^1.4.118: resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.129.tgz" integrity sha512-GgtN6bsDtHdtXJtlMYZWGB/uOyjZWjmRDumXTas7dGBaB9zUyCjzHet1DY2KhyHN8R0GLbzZWqm4efeddqqyRQ== -emittery@^0.8.1: - version "0.8.1" - resolved "https://registry.npmjs.org/emittery/-/emittery-0.8.1.tgz" - integrity sha512-uDfvUjVrfGJJhymx/kz6prltenw1u7WrCg1oa94zYY8xxVpLLUu045LAT0dhDZdXG58/EpPL/5kA180fQ/qudg== +emittery@^0.10.2: + version "0.10.2" + resolved "https://registry.yarnpkg.com/emittery/-/emittery-0.10.2.tgz#902eec8aedb8c41938c46e9385e9db7e03182933" + integrity sha512-aITqOwnLanpHLNXZJENbOgjUBeHocD+xsSJmNrjovKBW5HbSpW3d1pEls7GFQPUWXiwG9+0P4GtHfEqC/4M0Iw== emoji-regex@^8.0.0: version "8.0.0" @@ -2814,18 +2911,6 @@ escape-string-regexp@^4.0.0: resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz" integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== -escodegen@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/escodegen/-/escodegen-2.0.0.tgz" - integrity sha512-mmHKys/C8BFUGI+MAWNcSYoORYLMdPzjrknd2Vc+bUsjN5bXcr8EhrNB+UTqfL1y3I9c4fw2ihgtMPQLBRiQxw== - dependencies: - esprima "^4.0.1" - estraverse "^5.2.0" - esutils "^2.0.2" - optionator "^0.8.1" - optionalDependencies: - source-map "~0.6.1" - eslint-config-airbnb-base@15.0.0, eslint-config-airbnb-base@^15.0.0: version "15.0.0" resolved "https://registry.npmjs.org/eslint-config-airbnb-base/-/eslint-config-airbnb-base-15.0.0.tgz" @@ -2982,7 +3067,7 @@ espree@^9.4.0: acorn-jsx "^5.3.2" eslint-visitor-keys "^3.3.0" -esprima@^4.0.0, esprima@^4.0.1: +esprima@^4.0.0: version "4.0.1" resolved "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz" integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== @@ -3077,15 +3162,16 @@ exit@^0.1.2: resolved "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz" integrity sha1-BjJjj42HfMghB9MKD/8aF8uhzQw= -expect@^27.5.1: - version "27.5.1" - resolved "https://registry.npmjs.org/expect/-/expect-27.5.1.tgz" - integrity sha512-E1q5hSUG2AmYQwQJ041nvgpkODHQvB+RKlB4IYdru6uJsyFTRyZAP463M+1lINorwbqAmUggi6+WwkD8lCS/Dw== +expect@^29.0.0, expect@^29.0.1: + version "29.0.1" + resolved "https://registry.yarnpkg.com/expect/-/expect-29.0.1.tgz#a2fa64a59cffe4b4007877e730bc82be3d1742bb" + integrity sha512-yQgemsjLU+1S8t2A7pXT3Sn/v5/37LY8J+tocWtKEA0iEYYc6gfKbbJJX2fxHZmd7K9WpdbQqXUpmYkq1aewYg== dependencies: - "@jest/types" "^27.5.1" - jest-get-type "^27.5.1" - jest-matcher-utils "^27.5.1" - jest-message-util "^27.5.1" + "@jest/expect-utils" "^29.0.1" + jest-get-type "^29.0.0" + jest-matcher-utils "^29.0.1" + jest-message-util "^29.0.1" + jest-util "^29.0.1" express-session@^1.17.1: version "1.17.2" @@ -3202,12 +3288,12 @@ fast-json-patch@^3.1.0: resolved "https://registry.npmjs.org/fast-json-patch/-/fast-json-patch-3.1.0.tgz" integrity sha512-IhpytlsVTRndz0hU5t0/MGzS/etxLlfrpG5V5M9mVbuj9TrJLWaMfsox9REM5rkuGX0T+5qjpe8XA1o0gZ42nA== -fast-json-stable-stringify@2.x, fast-json-stable-stringify@^2.0.0: +fast-json-stable-stringify@^2.0.0, fast-json-stable-stringify@^2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz" integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== -fast-levenshtein@^2.0.6, fast-levenshtein@~2.0.6: +fast-levenshtein@^2.0.6: version "2.0.6" resolved "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz" integrity sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc= @@ -3509,7 +3595,7 @@ glob-to-regexp@^0.4.0: resolved "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz" integrity sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw== -glob@^7.0.5, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4: +glob@^7.0.5, glob@^7.1.3, glob@^7.1.4: version "7.1.7" resolved "https://registry.npmjs.org/glob/-/glob-7.1.7.tgz" integrity sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ== @@ -3578,11 +3664,6 @@ graceful-fs@^4.2.10: resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.10.tgz#147d3a006da4ca3ce14728c7aefc287c367d7a6c" integrity sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA== -graceful-fs@^4.2.4: - version "4.2.8" - resolved "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.8.tgz" - integrity sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg== - grapheme-splitter@^1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz#9cf3a665c6247479896834af35cf1dbb4400767e" @@ -3665,13 +3746,6 @@ hosted-git-info@^4.0.1: dependencies: lru-cache "^6.0.0" -html-encoding-sniffer@^2.0.1: - version "2.0.1" - resolved "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-2.0.1.tgz" - integrity sha512-D5JbOMBIR/TVZkubHT+OyT2705QvogUW4IBn6nHd756OwieSF9aDYFj4dv6HHEVGYbHaLETa3WggZYWWMyy3ZQ== - dependencies: - whatwg-encoding "^1.0.5" - html-escaper@^2.0.0: version "2.0.2" resolved "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz" @@ -3715,15 +3789,6 @@ http-errors@~1.7.2: statuses ">= 1.5.0 < 2" toidentifier "1.0.0" -http-proxy-agent@^4.0.1: - version "4.0.1" - resolved "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz" - integrity sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg== - dependencies: - "@tootallnate/once" "1" - agent-base "6" - debug "4" - http-proxy-agent@^5.0.0: version "5.0.0" resolved "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz" @@ -3912,13 +3977,6 @@ is-callable@^1.1.4, is-callable@^1.2.4: resolved "https://registry.npmjs.org/is-callable/-/is-callable-1.2.4.tgz" integrity sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w== -is-ci@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/is-ci/-/is-ci-3.0.0.tgz" - integrity sha512-kDXyttuLeslKAHYL/K28F2YkM3x5jvFPEw3yXbRptXydjD9rpLEz+C5K5iutY9ZiUu6AP41JdvRQwF4Iqs4ZCQ== - dependencies: - ci-info "^3.1.1" - is-core-module@^2.2.0: version "2.5.0" resolved "https://registry.npmjs.org/is-core-module/-/is-core-module-2.5.0.tgz" @@ -4021,11 +4079,6 @@ is-plain-object@^2.0.1, is-plain-object@^2.0.4: dependencies: isobject "^3.0.1" -is-potential-custom-element-name@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz" - integrity sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ== - is-primitive@^3.0.1: version "3.0.1" resolved "https://registry.npmjs.org/is-primitive/-/is-primitive-3.0.1.tgz" @@ -4078,7 +4131,7 @@ is-symbol@^1.0.2, is-symbol@^1.0.3: dependencies: has-symbols "^1.0.2" -is-typedarray@^1.0.0, is-typedarray@~1.0.0: +is-typedarray@~1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz" integrity sha1-5HnICFjfDBsR3dppQPlgEfzaSpo= @@ -4162,228 +4215,188 @@ istanbul-reports@^3.1.3: html-escaper "^2.0.0" istanbul-lib-report "^3.0.0" -jest-changed-files@^27.5.1: - version "27.5.1" - resolved "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-27.5.1.tgz" - integrity sha512-buBLMiByfWGCoMsLLzGUUSpAmIAGnbR2KJoMN10ziLhOLvP4e0SlypHnAel8iqQXTrcbmfEY9sSqae5sgUsTvw== +jest-changed-files@^29.0.0: + version "29.0.0" + resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-29.0.0.tgz#aa238eae42d9372a413dd9a8dadc91ca1806dce0" + integrity sha512-28/iDMDrUpGoCitTURuDqUzWQoWmOmOKOFST1mi2lwh62X4BFf6khgH3uSuo1e49X/UDjuApAj3w0wLOex4VPQ== dependencies: - "@jest/types" "^27.5.1" execa "^5.0.0" - throat "^6.0.1" + p-limit "^3.1.0" -jest-circus@^27.5.1: - version "27.5.1" - resolved "https://registry.npmjs.org/jest-circus/-/jest-circus-27.5.1.tgz" - integrity sha512-D95R7x5UtlMA5iBYsOHFFbMD/GVA4R/Kdq15f7xYWUfWHBto9NYRsOvnSauTgdF+ogCpJ4tyKOXhUifxS65gdw== +jest-circus@^29.0.1: + version "29.0.1" + resolved "https://registry.yarnpkg.com/jest-circus/-/jest-circus-29.0.1.tgz#7ecb4913e134fb4addc03655fb36c9398014fa07" + integrity sha512-I5J4LyK3qPo8EnqPmxsMAVR+2SFx7JOaZsbqW9xQmk4UDmTCD92EQgS162Ey3Jq6CfpKJKFDhzhG3QqiE0fRbw== dependencies: - "@jest/environment" "^27.5.1" - "@jest/test-result" "^27.5.1" - "@jest/types" "^27.5.1" + "@jest/environment" "^29.0.1" + "@jest/expect" "^29.0.1" + "@jest/test-result" "^29.0.1" + "@jest/types" "^29.0.1" "@types/node" "*" chalk "^4.0.0" co "^4.6.0" dedent "^0.7.0" - expect "^27.5.1" is-generator-fn "^2.0.0" - jest-each "^27.5.1" - jest-matcher-utils "^27.5.1" - jest-message-util "^27.5.1" - jest-runtime "^27.5.1" - jest-snapshot "^27.5.1" - jest-util "^27.5.1" - pretty-format "^27.5.1" + jest-each "^29.0.1" + jest-matcher-utils "^29.0.1" + jest-message-util "^29.0.1" + jest-runtime "^29.0.1" + jest-snapshot "^29.0.1" + jest-util "^29.0.1" + p-limit "^3.1.0" + pretty-format "^29.0.1" slash "^3.0.0" stack-utils "^2.0.3" - throat "^6.0.1" -jest-cli@^27.5.1: - version "27.5.1" - resolved "https://registry.npmjs.org/jest-cli/-/jest-cli-27.5.1.tgz" - integrity sha512-Hc6HOOwYq4/74/c62dEE3r5elx8wjYqxY0r0G/nFrLDPMFRu6RA/u8qINOIkvhxG7mMQ5EJsOGfRpI8L6eFUVw== +jest-cli@^29.0.1: + version "29.0.1" + resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-29.0.1.tgz#6633c2ab97337ac5207910bd6b0aba2ef0900110" + integrity sha512-XozBHtoJCS6mnjCxNESyGm47Y4xSWzNlBJj4tix9nGrG6m068B83lrTWKtjYAenYSfOqyYVpQCkyqUp35IT+qA== dependencies: - "@jest/core" "^27.5.1" - "@jest/test-result" "^27.5.1" - "@jest/types" "^27.5.1" + "@jest/core" "^29.0.1" + "@jest/test-result" "^29.0.1" + "@jest/types" "^29.0.1" chalk "^4.0.0" exit "^0.1.2" graceful-fs "^4.2.9" import-local "^3.0.2" - jest-config "^27.5.1" - jest-util "^27.5.1" - jest-validate "^27.5.1" + jest-config "^29.0.1" + jest-util "^29.0.1" + jest-validate "^29.0.1" prompts "^2.0.1" - yargs "^16.2.0" + yargs "^17.3.1" -jest-config@^27.5.1: - version "27.5.1" - resolved "https://registry.npmjs.org/jest-config/-/jest-config-27.5.1.tgz" - integrity sha512-5sAsjm6tGdsVbW9ahcChPAFCk4IlkQUknH5AvKjuLTSlcO/wCZKyFdn7Rg0EkC+OGgWODEy2hDpWB1PgzH0JNA== +jest-config@^29.0.1: + version "29.0.1" + resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-29.0.1.tgz#bccc2aedc3bafb6cb08bad23e5f0fcc3b1959268" + integrity sha512-3duIx5ucEPIsUOESDTuasMfqHonD0oZRjqHycIMHSC4JwbvHDjAWNKN/NiM0ZxHXjAYrMTLt2QxSQ+IqlbYE5A== dependencies: - "@babel/core" "^7.8.0" - "@jest/test-sequencer" "^27.5.1" - "@jest/types" "^27.5.1" - babel-jest "^27.5.1" + "@babel/core" "^7.11.6" + "@jest/test-sequencer" "^29.0.1" + "@jest/types" "^29.0.1" + babel-jest "^29.0.1" chalk "^4.0.0" ci-info "^3.2.0" deepmerge "^4.2.2" - glob "^7.1.1" + glob "^7.1.3" graceful-fs "^4.2.9" - jest-circus "^27.5.1" - jest-environment-jsdom "^27.5.1" - jest-environment-node "^27.5.1" - jest-get-type "^27.5.1" - jest-jasmine2 "^27.5.1" - jest-regex-util "^27.5.1" - jest-resolve "^27.5.1" - jest-runner "^27.5.1" - jest-util "^27.5.1" - jest-validate "^27.5.1" + jest-circus "^29.0.1" + jest-environment-node "^29.0.1" + jest-get-type "^29.0.0" + jest-regex-util "^29.0.0" + jest-resolve "^29.0.1" + jest-runner "^29.0.1" + jest-util "^29.0.1" + jest-validate "^29.0.1" micromatch "^4.0.4" parse-json "^5.2.0" - pretty-format "^27.5.1" + pretty-format "^29.0.1" slash "^3.0.0" strip-json-comments "^3.1.1" -jest-diff@^27.5.1: - version "27.5.1" - resolved "https://registry.npmjs.org/jest-diff/-/jest-diff-27.5.1.tgz" - integrity sha512-m0NvkX55LDt9T4mctTEgnZk3fmEg3NRYutvMPWM/0iPnkFj2wIeF45O1718cMSOFO1vINkqmxqD8vE37uTEbqw== +jest-diff@^29.0.1: + version "29.0.1" + resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-29.0.1.tgz#d14e900a38ee4798d42feaaf0c61cb5b98e4c028" + integrity sha512-l8PYeq2VhcdxG9tl5cU78ClAlg/N7RtVSp0v3MlXURR0Y99i6eFnegmasOandyTmO6uEdo20+FByAjBFEO9nuw== dependencies: chalk "^4.0.0" - diff-sequences "^27.5.1" - jest-get-type "^27.5.1" - pretty-format "^27.5.1" + diff-sequences "^29.0.0" + jest-get-type "^29.0.0" + pretty-format "^29.0.1" -jest-docblock@^27.5.1: - version "27.5.1" - resolved "https://registry.npmjs.org/jest-docblock/-/jest-docblock-27.5.1.tgz" - integrity sha512-rl7hlABeTsRYxKiUfpHrQrG4e2obOiTQWfMEH3PxPjOtdsfLQO4ReWSZaQ7DETm4xu07rl4q/h4zcKXyU0/OzQ== +jest-docblock@^29.0.0: + version "29.0.0" + resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-29.0.0.tgz#3151bcc45ed7f5a8af4884dcc049aee699b4ceae" + integrity sha512-s5Kpra/kLzbqu9dEjov30kj1n4tfu3e7Pl8v+f8jOkeWNqM6Ds8jRaJfZow3ducoQUrf2Z4rs2N5S3zXnb83gw== dependencies: detect-newline "^3.0.0" -jest-each@^27.5.1: - version "27.5.1" - resolved "https://registry.npmjs.org/jest-each/-/jest-each-27.5.1.tgz" - integrity sha512-1Ff6p+FbhT/bXQnEouYy00bkNSY7OUpfIcmdl8vZ31A1UUaurOLPA8a8BbJOF2RDUElwJhmeaV7LnagI+5UwNQ== +jest-each@^29.0.1: + version "29.0.1" + resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-29.0.1.tgz#c17da68a7073440122dbd47dca3941351ee0cbe5" + integrity sha512-UmCZYU9LPvRfSDoCrKJqrCNmgTYGGb3Ga6IVsnnVjedBTRRR9GJMca7UmDKRrJ1s+U632xrVtiRD27BxaG1aaQ== dependencies: - "@jest/types" "^27.5.1" + "@jest/types" "^29.0.1" chalk "^4.0.0" - jest-get-type "^27.5.1" - jest-util "^27.5.1" - pretty-format "^27.5.1" + jest-get-type "^29.0.0" + jest-util "^29.0.1" + pretty-format "^29.0.1" -jest-environment-jsdom@^27.5.1: - version "27.5.1" - resolved "https://registry.npmjs.org/jest-environment-jsdom/-/jest-environment-jsdom-27.5.1.tgz" - integrity sha512-TFBvkTC1Hnnnrka/fUb56atfDtJ9VMZ94JkjTbggl1PEpwrYtUBKMezB3inLmWqQsXYLcMwNoDQwoBTAvFfsfw== +jest-environment-node@^29.0.1: + version "29.0.1" + resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-29.0.1.tgz#b09db2a1b8439aace11a6805719d92498a64987e" + integrity sha512-PcIRBrEBFAPBqkbL53ZpEvTptcAnOW6/lDfqBfACMm3vkVT0N7DcfkH/hqNSbDmSxzGr0FtJI6Ej3TPhveWCMA== dependencies: - "@jest/environment" "^27.5.1" - "@jest/fake-timers" "^27.5.1" - "@jest/types" "^27.5.1" + "@jest/environment" "^29.0.1" + "@jest/fake-timers" "^29.0.1" + "@jest/types" "^29.0.1" "@types/node" "*" - jest-mock "^27.5.1" - jest-util "^27.5.1" - jsdom "^16.6.0" + jest-mock "^29.0.1" + jest-util "^29.0.1" -jest-environment-node@^27.5.1: - version "27.5.1" - resolved "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-27.5.1.tgz" - integrity sha512-Jt4ZUnxdOsTGwSRAfKEnE6BcwsSPNOijjwifq5sDFSA2kesnXTvNqKHYgM0hDq3549Uf/KzdXNYn4wMZJPlFLw== +jest-get-type@^29.0.0: + version "29.0.0" + resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-29.0.0.tgz#843f6c50a1b778f7325df1129a0fd7aa713aef80" + integrity sha512-83X19z/HuLKYXYHskZlBAShO7UfLFXu/vWajw9ZNJASN32li8yHMaVGAQqxFW1RCFOkB7cubaL6FaJVQqqJLSw== + +jest-haste-map@^29.0.1: + version "29.0.1" + resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-29.0.1.tgz#472212f93ef44309bf97d191f93ddd2e41169615" + integrity sha512-gcKOAydafpGoSBvcj/mGCfhOKO8fRLkAeee1KXGdcJ1Pb9O2nnOl4I8bQSIID2MaZeMHtLLgNboukh/pUGkBtg== dependencies: - "@jest/environment" "^27.5.1" - "@jest/fake-timers" "^27.5.1" - "@jest/types" "^27.5.1" - "@types/node" "*" - jest-mock "^27.5.1" - jest-util "^27.5.1" - -jest-get-type@^27.5.1: - version "27.5.1" - resolved "https://registry.npmjs.org/jest-get-type/-/jest-get-type-27.5.1.tgz" - integrity sha512-2KY95ksYSaK7DMBWQn6dQz3kqAf3BB64y2udeG+hv4KfSOb9qwcYQstTJc1KCbsix+wLZWZYN8t7nwX3GOBLRw== - -jest-haste-map@^27.5.1: - version "27.5.1" - resolved "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-27.5.1.tgz" - integrity sha512-7GgkZ4Fw4NFbMSDSpZwXeBiIbx+t/46nJ2QitkOjvwPYyZmqttu2TDSimMHP1EkPOi4xUZAN1doE5Vd25H4Jng== - dependencies: - "@jest/types" "^27.5.1" - "@types/graceful-fs" "^4.1.2" + "@jest/types" "^29.0.1" + "@types/graceful-fs" "^4.1.3" "@types/node" "*" anymatch "^3.0.3" fb-watchman "^2.0.0" graceful-fs "^4.2.9" - jest-regex-util "^27.5.1" - jest-serializer "^27.5.1" - jest-util "^27.5.1" - jest-worker "^27.5.1" + jest-regex-util "^29.0.0" + jest-util "^29.0.1" + jest-worker "^29.0.1" micromatch "^4.0.4" - walker "^1.0.7" + walker "^1.0.8" optionalDependencies: fsevents "^2.3.2" -jest-jasmine2@^27.5.1: - version "27.5.1" - resolved "https://registry.npmjs.org/jest-jasmine2/-/jest-jasmine2-27.5.1.tgz" - integrity sha512-jtq7VVyG8SqAorDpApwiJJImd0V2wv1xzdheGHRGyuT7gZm6gG47QEskOlzsN1PG/6WNaCo5pmwMHDf3AkG2pQ== +jest-leak-detector@^29.0.1: + version "29.0.1" + resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-29.0.1.tgz#1a7cf8475d85e7b2bd53efa5adc5195828a12c33" + integrity sha512-5tISHJphB+sCmKXtVHJGQGltj7ksrLLb9vkuNWwFR86Of1tfzjskvrrrZU1gSzEfWC+qXIn4tuh8noKHYGMIPA== dependencies: - "@jest/environment" "^27.5.1" - "@jest/source-map" "^27.5.1" - "@jest/test-result" "^27.5.1" - "@jest/types" "^27.5.1" - "@types/node" "*" - chalk "^4.0.0" - co "^4.6.0" - expect "^27.5.1" - is-generator-fn "^2.0.0" - jest-each "^27.5.1" - jest-matcher-utils "^27.5.1" - jest-message-util "^27.5.1" - jest-runtime "^27.5.1" - jest-snapshot "^27.5.1" - jest-util "^27.5.1" - pretty-format "^27.5.1" - throat "^6.0.1" + jest-get-type "^29.0.0" + pretty-format "^29.0.1" -jest-leak-detector@^27.5.1: - version "27.5.1" - resolved "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-27.5.1.tgz" - integrity sha512-POXfWAMvfU6WMUXftV4HolnJfnPOGEu10fscNCA76KBpRRhcMN2c8d3iT2pxQS3HLbA+5X4sOUPzYO2NUyIlHQ== - dependencies: - jest-get-type "^27.5.1" - pretty-format "^27.5.1" - -jest-matcher-utils@^27.0.0, jest-matcher-utils@^27.5.1: - version "27.5.1" - resolved "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-27.5.1.tgz" - integrity sha512-z2uTx/T6LBaCoNWNFWwChLBKYxTMcGBRjAt+2SbP929/Fflb9aa5LGma654Rz8z9HLxsrUaYzxE9T/EFIL/PAw== +jest-matcher-utils@^29.0.1: + version "29.0.1" + resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-29.0.1.tgz#eaa92dd5405c2df9d31d45ec4486361d219de3e9" + integrity sha512-/e6UbCDmprRQFnl7+uBKqn4G22c/OmwriE5KCMVqxhElKCQUDcFnq5XM9iJeKtzy4DUjxT27y9VHmKPD8BQPaw== dependencies: chalk "^4.0.0" - jest-diff "^27.5.1" - jest-get-type "^27.5.1" - pretty-format "^27.5.1" + jest-diff "^29.0.1" + jest-get-type "^29.0.0" + pretty-format "^29.0.1" -jest-message-util@^27.5.1: - version "27.5.1" - resolved "https://registry.npmjs.org/jest-message-util/-/jest-message-util-27.5.1.tgz" - integrity sha512-rMyFe1+jnyAAf+NHwTclDz0eAaLkVDdKVHHBFWsBWHnnh5YeJMNWWsv7AbFYXfK3oTqvL7VTWkhNLu1jX24D+g== +jest-message-util@^29.0.1: + version "29.0.1" + resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-29.0.1.tgz#85c4b5b90296c228da158e168eaa5b079f2ab879" + integrity sha512-wRMAQt3HrLpxSubdnzOo68QoTfQ+NLXFzU0Heb18ZUzO2S9GgaXNEdQ4rpd0fI9dq2NXkpCk1IUWSqzYKji64A== dependencies: "@babel/code-frame" "^7.12.13" - "@jest/types" "^27.5.1" + "@jest/types" "^29.0.1" "@types/stack-utils" "^2.0.0" chalk "^4.0.0" graceful-fs "^4.2.9" micromatch "^4.0.4" - pretty-format "^27.5.1" + pretty-format "^29.0.1" slash "^3.0.0" stack-utils "^2.0.3" -jest-mock@^27.5.1: - version "27.5.1" - resolved "https://registry.npmjs.org/jest-mock/-/jest-mock-27.5.1.tgz" - integrity sha512-K4jKbY1d4ENhbrG2zuPWaQBvDly+iZ2yAW+T1fATN78hc0sInwn7wZB8XtlNnvHug5RMwV897Xm4LqmPM4e2Og== +jest-mock@^29.0.1: + version "29.0.1" + resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-29.0.1.tgz#12e1b137035365b022ccdb8fd67d476cd4d4bfad" + integrity sha512-i1yTceg2GKJwUNZFjIzrH7Y74fN1SKJWxQX/Vu3LT4TiJerFARH5l+4URNyapZ+DNpchHYrGOP2deVbn3ma8JA== dependencies: - "@jest/types" "^27.5.1" + "@jest/types" "^29.0.1" "@types/node" "*" jest-pnp-resolver@^1.2.2: @@ -4391,193 +4404,175 @@ jest-pnp-resolver@^1.2.2: resolved "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.2.tgz" integrity sha512-olV41bKSMm8BdnuMsewT4jqlZ8+3TCARAXjZGT9jcoSnrfUnRCqnMoF9XEeoWjbzObpqF9dRhHQj0Xb9QdF6/w== -jest-regex-util@^27.5.1: - version "27.5.1" - resolved "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-27.5.1.tgz" - integrity sha512-4bfKq2zie+x16okqDXjXn9ql2B0dScQu+vcwe4TvFVhkVyuWLqpZrZtXxLLWoXYgn0E87I6r6GRYHF7wFZBUvg== +jest-regex-util@^29.0.0: + version "29.0.0" + resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-29.0.0.tgz#b442987f688289df8eb6c16fa8df488b4cd007de" + integrity sha512-BV7VW7Sy0fInHWN93MMPtlClweYv2qrSCwfeFWmpribGZtQPWNvRSq9XOVgOEjU1iBGRKXUZil0o2AH7Iy9Lug== -jest-resolve-dependencies@^27.5.1: - version "27.5.1" - resolved "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-27.5.1.tgz" - integrity sha512-QQOOdY4PE39iawDn5rzbIePNigfe5B9Z91GDD1ae/xNDlu9kaat8QQ5EKnNmVWPV54hUdxCVwwj6YMgR2O7IOg== +jest-resolve-dependencies@^29.0.1: + version "29.0.1" + resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-29.0.1.tgz#c41b88380c8ea178ce72a750029b5f3d5f65cb94" + integrity sha512-fUGcYlSc1NzNz+tsHDjjG0rclw6blJcFZsLEsezxm/n54bAm9HFvJxgBuCV1CJQoPtIx6AfR+tXkR9lpWJs2LQ== dependencies: - "@jest/types" "^27.5.1" - jest-regex-util "^27.5.1" - jest-snapshot "^27.5.1" + jest-regex-util "^29.0.0" + jest-snapshot "^29.0.1" -jest-resolve@^27.5.1: - version "27.5.1" - resolved "https://registry.npmjs.org/jest-resolve/-/jest-resolve-27.5.1.tgz" - integrity sha512-FFDy8/9E6CV83IMbDpcjOhumAQPDyETnU2KZ1O98DwTnz8AOBsW/Xv3GySr1mOZdItLR+zDZ7I/UdTFbgSOVCw== +jest-resolve@^29.0.1: + version "29.0.1" + resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-29.0.1.tgz#4f1338eee2ccc7319ffce850e13eb118a9e93ce5" + integrity sha512-dwb5Z0lLZbptlBtPExqsHfdDamXeiRLv4vdkfPrN84vBwLSWHWcXjlM2JXD/KLSQfljBcXbzI/PDvUJuTQ84Nw== dependencies: - "@jest/types" "^27.5.1" chalk "^4.0.0" graceful-fs "^4.2.9" - jest-haste-map "^27.5.1" + jest-haste-map "^29.0.1" jest-pnp-resolver "^1.2.2" - jest-util "^27.5.1" - jest-validate "^27.5.1" + jest-util "^29.0.1" + jest-validate "^29.0.1" resolve "^1.20.0" resolve.exports "^1.1.0" slash "^3.0.0" -jest-runner@^27.5.1: - version "27.5.1" - resolved "https://registry.npmjs.org/jest-runner/-/jest-runner-27.5.1.tgz" - integrity sha512-g4NPsM4mFCOwFKXO4p/H/kWGdJp9V8kURY2lX8Me2drgXqG7rrZAx5kv+5H7wtt/cdFIjhqYx1HrlqWHaOvDaQ== +jest-runner@^29.0.1: + version "29.0.1" + resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-29.0.1.tgz#15bacd13170f3d786168ef8548fdeb96933ea643" + integrity sha512-XeFfPmHtO7HyZyD1uJeO4Oqa8PyTbDHzS1YdGrvsFXk/A5eXinbqA5a42VUEqvsKQgNnKTl5NJD0UtDWg7cQ2A== dependencies: - "@jest/console" "^27.5.1" - "@jest/environment" "^27.5.1" - "@jest/test-result" "^27.5.1" - "@jest/transform" "^27.5.1" - "@jest/types" "^27.5.1" + "@jest/console" "^29.0.1" + "@jest/environment" "^29.0.1" + "@jest/test-result" "^29.0.1" + "@jest/transform" "^29.0.1" + "@jest/types" "^29.0.1" "@types/node" "*" chalk "^4.0.0" - emittery "^0.8.1" + emittery "^0.10.2" graceful-fs "^4.2.9" - jest-docblock "^27.5.1" - jest-environment-jsdom "^27.5.1" - jest-environment-node "^27.5.1" - jest-haste-map "^27.5.1" - jest-leak-detector "^27.5.1" - jest-message-util "^27.5.1" - jest-resolve "^27.5.1" - jest-runtime "^27.5.1" - jest-util "^27.5.1" - jest-worker "^27.5.1" - source-map-support "^0.5.6" - throat "^6.0.1" + jest-docblock "^29.0.0" + jest-environment-node "^29.0.1" + jest-haste-map "^29.0.1" + jest-leak-detector "^29.0.1" + jest-message-util "^29.0.1" + jest-resolve "^29.0.1" + jest-runtime "^29.0.1" + jest-util "^29.0.1" + jest-watcher "^29.0.1" + jest-worker "^29.0.1" + p-limit "^3.1.0" + source-map-support "0.5.13" -jest-runtime@^27.5.1: - version "27.5.1" - resolved "https://registry.npmjs.org/jest-runtime/-/jest-runtime-27.5.1.tgz" - integrity sha512-o7gxw3Gf+H2IGt8fv0RiyE1+r83FJBRruoA+FXrlHw6xEyBsU8ugA6IPfTdVyA0w8HClpbK+DGJxH59UrNMx8A== +jest-runtime@^29.0.1: + version "29.0.1" + resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-29.0.1.tgz#cafdc10834c45c50105eecb0ded8677ce741e2af" + integrity sha512-yDgz5OE0Rm44PUAfTqwA6cDFnTYnVcYbRpPECsokSASQ0I5RXpnKPVr2g0CYZWKzbsXqqtmM7TIk7CAutZJ7gQ== dependencies: - "@jest/environment" "^27.5.1" - "@jest/fake-timers" "^27.5.1" - "@jest/globals" "^27.5.1" - "@jest/source-map" "^27.5.1" - "@jest/test-result" "^27.5.1" - "@jest/transform" "^27.5.1" - "@jest/types" "^27.5.1" + "@jest/environment" "^29.0.1" + "@jest/fake-timers" "^29.0.1" + "@jest/globals" "^29.0.1" + "@jest/source-map" "^29.0.0" + "@jest/test-result" "^29.0.1" + "@jest/transform" "^29.0.1" + "@jest/types" "^29.0.1" + "@types/node" "*" chalk "^4.0.0" cjs-module-lexer "^1.0.0" collect-v8-coverage "^1.0.0" - execa "^5.0.0" glob "^7.1.3" graceful-fs "^4.2.9" - jest-haste-map "^27.5.1" - jest-message-util "^27.5.1" - jest-mock "^27.5.1" - jest-regex-util "^27.5.1" - jest-resolve "^27.5.1" - jest-snapshot "^27.5.1" - jest-util "^27.5.1" + jest-haste-map "^29.0.1" + jest-message-util "^29.0.1" + jest-mock "^29.0.1" + jest-regex-util "^29.0.0" + jest-resolve "^29.0.1" + jest-snapshot "^29.0.1" + jest-util "^29.0.1" slash "^3.0.0" strip-bom "^4.0.0" -jest-serializer@^27.5.1: - version "27.5.1" - resolved "https://registry.npmjs.org/jest-serializer/-/jest-serializer-27.5.1.tgz" - integrity sha512-jZCyo6iIxO1aqUxpuBlwTDMkzOAJS4a3eYz3YzgxxVQFwLeSA7Jfq5cbqCY+JLvTDrWirgusI/0KwxKMgrdf7w== +jest-snapshot@^29.0.1: + version "29.0.1" + resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-29.0.1.tgz#ed455cb7e56fb43e2d451edd902d622349d6afed" + integrity sha512-OuYGp+lsh7RhB3DDX36z/pzrGm2F740e5ERG9PQpJyDknCRtWdhaehBQyMqDnsQdKkvC2zOcetcxskiHjO7e8Q== dependencies: - "@types/node" "*" - graceful-fs "^4.2.9" - -jest-snapshot@^27.5.1: - version "27.5.1" - resolved "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-27.5.1.tgz" - integrity sha512-yYykXI5a0I31xX67mgeLw1DZ0bJB+gpq5IpSuCAoyDi0+BhgU/RIrL+RTzDmkNTchvDFWKP8lp+w/42Z3us5sA== - dependencies: - "@babel/core" "^7.7.2" + "@babel/core" "^7.11.6" "@babel/generator" "^7.7.2" + "@babel/plugin-syntax-jsx" "^7.7.2" "@babel/plugin-syntax-typescript" "^7.7.2" "@babel/traverse" "^7.7.2" - "@babel/types" "^7.0.0" - "@jest/transform" "^27.5.1" - "@jest/types" "^27.5.1" - "@types/babel__traverse" "^7.0.4" + "@babel/types" "^7.3.3" + "@jest/expect-utils" "^29.0.1" + "@jest/transform" "^29.0.1" + "@jest/types" "^29.0.1" + "@types/babel__traverse" "^7.0.6" "@types/prettier" "^2.1.5" babel-preset-current-node-syntax "^1.0.0" chalk "^4.0.0" - expect "^27.5.1" + expect "^29.0.1" graceful-fs "^4.2.9" - jest-diff "^27.5.1" - jest-get-type "^27.5.1" - jest-haste-map "^27.5.1" - jest-matcher-utils "^27.5.1" - jest-message-util "^27.5.1" - jest-util "^27.5.1" + jest-diff "^29.0.1" + jest-get-type "^29.0.0" + jest-haste-map "^29.0.1" + jest-matcher-utils "^29.0.1" + jest-message-util "^29.0.1" + jest-util "^29.0.1" natural-compare "^1.4.0" - pretty-format "^27.5.1" - semver "^7.3.2" + pretty-format "^29.0.1" + semver "^7.3.5" -jest-util@^27.0.0: - version "27.0.1" - resolved "https://registry.npmjs.org/jest-util/-/jest-util-27.0.1.tgz" - integrity sha512-lEw3waSmEOO4ZkwkUlFSvg4es1+8+LIkSGxp/kF60K0+vMR3Dv3O2HMZhcln9NHqSQzpVbsDT6OeMzUPW7DfRg== +jest-util@^29.0.1: + version "29.0.1" + resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-29.0.1.tgz#f854a4a8877c7817316c4afbc2a851ceb2e71598" + integrity sha512-GIWkgNfkeA9d84rORDHPGGTFBrRD13A38QVSKE0bVrGSnoR1KDn8Kqz+0yI5kezMgbT/7zrWaruWP1Kbghlb2A== dependencies: - "@jest/types" "^27.0.1" - "@types/node" "*" - chalk "^4.0.0" - graceful-fs "^4.2.4" - is-ci "^3.0.0" - picomatch "^2.2.3" - -jest-util@^27.5.1: - version "27.5.1" - resolved "https://registry.npmjs.org/jest-util/-/jest-util-27.5.1.tgz" - integrity sha512-Kv2o/8jNvX1MQ0KGtw480E/w4fBCDOnH6+6DmeKi6LZUIlKA5kwY0YNdlzaWTiVgxqAqik11QyxDOKk543aKXw== - dependencies: - "@jest/types" "^27.5.1" + "@jest/types" "^29.0.1" "@types/node" "*" chalk "^4.0.0" ci-info "^3.2.0" graceful-fs "^4.2.9" picomatch "^2.2.3" -jest-validate@^27.5.1: - version "27.5.1" - resolved "https://registry.npmjs.org/jest-validate/-/jest-validate-27.5.1.tgz" - integrity sha512-thkNli0LYTmOI1tDB3FI1S1RTp/Bqyd9pTarJwL87OIBFuqEb5Apv5EaApEudYg4g86e3CT6kM0RowkhtEnCBQ== +jest-validate@^29.0.1: + version "29.0.1" + resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-29.0.1.tgz#8de8ff9d65507c0477964fd39c5b0a1778e3103d" + integrity sha512-mS4q7F738YXZFWBPqE+NjHU/gEOs7IBIFQ8i9zq5EO691cLrUbLhFq4larf8/lNcmauRO71tn/+DTW2y+MrLow== dependencies: - "@jest/types" "^27.5.1" + "@jest/types" "^29.0.1" camelcase "^6.2.0" chalk "^4.0.0" - jest-get-type "^27.5.1" + jest-get-type "^29.0.0" leven "^3.1.0" - pretty-format "^27.5.1" + pretty-format "^29.0.1" -jest-watcher@^27.5.1: - version "27.5.1" - resolved "https://registry.npmjs.org/jest-watcher/-/jest-watcher-27.5.1.tgz" - integrity sha512-z676SuD6Z8o8qbmEGhoEUFOM1+jfEiL3DXHK/xgEiG2EyNYfFG60jluWcupY6dATjfEsKQuibReS1djInQnoVw== +jest-watcher@^29.0.1: + version "29.0.1" + resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-29.0.1.tgz#63adeb8887a0562ed8f990f413b830ef48a8db94" + integrity sha512-0LBWDL3sZ+vyHRYxjqm2irhfwhUXHonjLSbd0oDeGq44U1e1uUh3icWNXYF8HO/UEnOoa6+OJDncLUXP2Hdg9A== dependencies: - "@jest/test-result" "^27.5.1" - "@jest/types" "^27.5.1" + "@jest/test-result" "^29.0.1" + "@jest/types" "^29.0.1" "@types/node" "*" ansi-escapes "^4.2.1" chalk "^4.0.0" - jest-util "^27.5.1" + emittery "^0.10.2" + jest-util "^29.0.1" string-length "^4.0.1" -jest-worker@^27.5.1: - version "27.5.1" - resolved "https://registry.npmjs.org/jest-worker/-/jest-worker-27.5.1.tgz" - integrity sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg== +jest-worker@^29.0.1: + version "29.0.1" + resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-29.0.1.tgz#fb42ff7e05e0573f330ec0cf781fc545dcd11a31" + integrity sha512-+B/2/8WW7goit7qVezG9vnI1QP3dlmuzi2W0zxazAQQ8dcDIA63dDn6j4pjOGBARha/ZevcwYQtNIzCySbS7fQ== dependencies: "@types/node" "*" merge-stream "^2.0.0" supports-color "^8.0.0" -jest@27.5.1: - version "27.5.1" - resolved "https://registry.npmjs.org/jest/-/jest-27.5.1.tgz" - integrity sha512-Yn0mADZB89zTtjkPJEXwrac3LHudkQMR+Paqa8uxJHCBr9agxztUifWCyiYrjhMPBoUVBjyny0I7XH6ozDr7QQ== +jest@29.0.1: + version "29.0.1" + resolved "https://registry.yarnpkg.com/jest/-/jest-29.0.1.tgz#4a1c48d79fada0a47c686a111ed9411fd41cd584" + integrity sha512-liHkwzaW6iwQyhRBFj0A4ZYKcsQ7ers1s62CCT95fPeNzoxT/vQRWwjTT4e7jpSCwrvPP2t1VESuy7GrXcr2ug== dependencies: - "@jest/core" "^27.5.1" + "@jest/core" "^29.0.1" + "@jest/types" "^29.0.1" import-local "^3.0.2" - jest-cli "^27.5.1" + jest-cli "^29.0.1" joi@^17.3.0: version "17.4.2" @@ -4615,39 +4610,6 @@ jsbn@~0.1.0: resolved "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz" integrity sha1-peZUwuWi3rXyAdls77yoDA7y9RM= -jsdom@^16.6.0: - version "16.7.0" - resolved "https://registry.npmjs.org/jsdom/-/jsdom-16.7.0.tgz" - integrity sha512-u9Smc2G1USStM+s/x1ru5Sxrl6mPYCbByG1U/hUmqaVsm4tbNyS7CicOSRyuGQYZhTu0h84qkZZQ/I+dzizSVw== - dependencies: - abab "^2.0.5" - acorn "^8.2.4" - acorn-globals "^6.0.0" - cssom "^0.4.4" - cssstyle "^2.3.0" - data-urls "^2.0.0" - decimal.js "^10.2.1" - domexception "^2.0.1" - escodegen "^2.0.0" - form-data "^3.0.0" - html-encoding-sniffer "^2.0.1" - http-proxy-agent "^4.0.1" - https-proxy-agent "^5.0.0" - is-potential-custom-element-name "^1.0.1" - nwsapi "^2.2.0" - parse5 "6.0.1" - saxes "^5.0.1" - symbol-tree "^3.2.4" - tough-cookie "^4.0.0" - w3c-hr-time "^1.0.2" - w3c-xmlserializer "^2.0.0" - webidl-conversions "^6.1.0" - whatwg-encoding "^1.0.5" - whatwg-mimetype "^2.3.0" - whatwg-url "^8.5.0" - ws "^7.4.6" - xml-name-validator "^3.0.0" - jsesc@^2.5.1: version "2.5.2" resolved "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz" @@ -4692,13 +4654,6 @@ json-stringify-safe@^5.0.1, json-stringify-safe@~5.0.1: resolved "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz" integrity sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus= -json5@2.x: - version "2.2.0" - resolved "https://registry.npmjs.org/json5/-/json5-2.2.0.tgz" - integrity sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA== - dependencies: - minimist "^1.2.5" - json5@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz" @@ -4809,14 +4764,6 @@ levn@^0.4.1: prelude-ls "^1.2.1" type-check "~0.4.0" -levn@~0.3.0: - version "0.3.0" - resolved "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz" - integrity sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4= - dependencies: - prelude-ls "~1.1.2" - type-check "~0.3.2" - lilconfig@2.0.5: version "2.0.5" resolved "https://registry.yarnpkg.com/lilconfig/-/lilconfig-2.0.5.tgz#19e57fd06ccc3848fd1891655b5a447092225b25" @@ -4897,11 +4844,6 @@ lodash.isequal@^4.5.0: resolved "https://registry.npmjs.org/lodash.isequal/-/lodash.isequal-4.5.0.tgz" integrity sha1-QVxEePK8wwEgwizhDtMib30+GOA= -lodash.memoize@4.x: - version "4.1.2" - resolved "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe" - integrity sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag== - lodash.merge@^4.6.2: version "4.6.2" resolved "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz" @@ -4912,7 +4854,7 @@ lodash.sortby@^4.7.0: resolved "https://registry.npmjs.org/lodash.sortby/-/lodash.sortby-4.7.0.tgz" integrity sha1-7dFMgk4sycHgsKG0K7UhBRakJDg= -lodash@^4.17.21, lodash@^4.7.0: +lodash@^4.17.21: version "4.17.21" resolved "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz" integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== @@ -4969,7 +4911,7 @@ make-dir@^3.0.0: dependencies: semver "^6.0.0" -make-error@1.x, make-error@^1.1.1: +make-error@^1.1.1: version "1.3.6" resolved "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz" integrity sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw== @@ -5018,12 +4960,12 @@ make-fetch-happen@^10.1.2: socks-proxy-agent "^6.1.1" ssri "^9.0.0" -makeerror@1.0.x: - version "1.0.11" - resolved "https://registry.npmjs.org/makeerror/-/makeerror-1.0.11.tgz" - integrity sha1-4BpckQnyr3lmDk6LlYd5AYT1qWw= +makeerror@1.0.12: + version "1.0.12" + resolved "https://registry.yarnpkg.com/makeerror/-/makeerror-1.0.12.tgz#3e5dd2079a82e812e983cc6610c4a2cb0eaa801a" + integrity sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg== dependencies: - tmpl "1.0.x" + tmpl "1.0.5" map-obj@^1.0.0: version "1.0.1" @@ -5440,11 +5382,6 @@ npm-run-path@^5.1.0: dependencies: path-key "^4.0.0" -nwsapi@^2.2.0: - version "2.2.0" - resolved "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.0.tgz" - integrity sha512-h2AatdwYH+JHiZpv7pt/gSX1XoRGb7L/qSIeuqA6GwYoF9w1vP1cw42TO0aI2pNyshRK5893hNSl+1//vHK7hQ== - oauth-sign@~0.9.0: version "0.9.0" resolved "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz" @@ -5536,18 +5473,6 @@ openapi-types@^12.0.0: resolved "https://registry.yarnpkg.com/openapi-types/-/openapi-types-12.0.0.tgz#458a99d048f9eae1c067e15d56a8bfb3726041f1" integrity sha512-6Wd9k8nmGQHgCbehZCP6wwWcfXcvinhybUTBatuhjRsCxUIujuYFZc9QnGeae75CyHASewBtxs0HX/qwREReUw== -optionator@^0.8.1: - version "0.8.3" - resolved "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz" - integrity sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA== - dependencies: - deep-is "~0.1.3" - fast-levenshtein "~2.0.6" - levn "~0.3.0" - prelude-ls "~1.1.2" - type-check "~0.3.2" - word-wrap "~1.2.3" - optionator@^0.9.1: version "0.9.1" resolved "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz" @@ -5579,7 +5504,7 @@ p-limit@^2.2.0: dependencies: p-try "^2.0.0" -p-limit@^3.0.2: +p-limit@^3.0.2, p-limit@^3.1.0: version "3.1.0" resolved "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz" integrity sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ== @@ -5660,11 +5585,6 @@ parse-json@^5.2.0: json-parse-even-better-errors "^2.3.0" lines-and-columns "^1.1.6" -parse5@6.0.1: - version "6.0.1" - resolved "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz" - integrity sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw== - parseurl@~1.3.2, parseurl@~1.3.3: version "1.3.3" resolved "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz" @@ -5860,11 +5780,6 @@ prelude-ls@^1.2.1: resolved "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz" integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g== -prelude-ls@~1.1.2: - version "1.1.2" - resolved "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz" - integrity sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ= - prettier-linter-helpers@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz" @@ -5877,24 +5792,14 @@ prettier@2.7.1: resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.7.1.tgz#e235806850d057f97bb08368a4f7d899f7760c64" integrity sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g== -pretty-format@^27.0.0: - version "27.0.6" - resolved "https://registry.npmjs.org/pretty-format/-/pretty-format-27.0.6.tgz" - integrity sha512-8tGD7gBIENgzqA+UBzObyWqQ5B778VIFZA/S66cclyd5YkFLYs2Js7gxDKf0MXtTc9zcS7t1xhdfcElJ3YIvkQ== +pretty-format@^29.0.0, pretty-format@^29.0.1: + version "29.0.1" + resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-29.0.1.tgz#2f8077114cdac92a59b464292972a106410c7ad0" + integrity sha512-iTHy3QZMzuL484mSTYbQIM1AHhEQsH8mXWS2/vd2yFBYnG3EBqGiMONo28PlPgrW7P/8s/1ISv+y7WH306l8cw== dependencies: - "@jest/types" "^27.0.6" - ansi-regex "^5.0.0" + "@jest/schemas" "^29.0.0" ansi-styles "^5.0.0" - react-is "^17.0.1" - -pretty-format@^27.5.1: - version "27.5.1" - resolved "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz" - integrity sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ== - dependencies: - ansi-regex "^5.0.1" - ansi-styles "^5.0.0" - react-is "^17.0.1" + react-is "^18.0.0" process-nextick-args@~2.0.0: version "2.0.1" @@ -5969,7 +5874,7 @@ ps-tree@^1.2.0: dependencies: event-stream "=3.3.4" -psl@^1.1.28, psl@^1.1.33: +psl@^1.1.28: version "1.8.0" resolved "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz" integrity sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ== @@ -6051,10 +5956,10 @@ rc@^1.2.8: minimist "^1.2.0" strip-json-comments "~2.0.1" -react-is@^17.0.1: - version "17.0.2" - resolved "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz" - integrity sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w== +react-is@^18.0.0: + version "18.2.0" + resolved "https://registry.yarnpkg.com/react-is/-/react-is-18.2.0.tgz#199431eeaaa2e09f86427efbb4f1473edb47609b" + integrity sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w== read-pkg-up@^8.0.0: version "8.0.0" @@ -6255,7 +6160,7 @@ rfdc@^1.3.0: resolved "https://registry.npmjs.org/rfdc/-/rfdc-1.3.0.tgz" integrity sha512-V2hovdzFbOi77/WajaSMXk2OLm+xNIeQdMMuB7icj7bk6zi2F8GGAxigcnDFpJHbNyNcgyJDiP+8nOrY5cZGrA== -rimraf@^3.0.0, rimraf@^3.0.2: +rimraf@^3.0.2: version "3.0.2" resolved "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz" integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== @@ -6314,20 +6219,6 @@ safe-buffer@5.2.1, safe-buffer@^5.0.1, safe-buffer@^5.1.2, safe-buffer@~5.2.0: resolved "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz" integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== -saxes@^5.0.1: - version "5.0.1" - resolved "https://registry.npmjs.org/saxes/-/saxes-5.0.1.tgz" - integrity sha512-5LBh1Tls8c9xgGjw3QrMwETmTMVk0oFgvrFSvWx62llR2hcEInrKNZ2GZCCuuy2lvWrdl5jhbpeqc5hRYKFOcw== - dependencies: - xmlchars "^2.2.0" - -semver@7.x, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5, semver@^7.3.7: - version "7.3.7" - resolved "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz" - integrity sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g== - dependencies: - lru-cache "^6.0.0" - semver@^5.0.3, semver@^5.3.0: version "5.7.1" resolved "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz" @@ -6338,6 +6229,13 @@ semver@^6.0.0, semver@^6.3.0: resolved "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz" integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== +semver@^7.3.4, semver@^7.3.5, semver@^7.3.7: + version "7.3.7" + resolved "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz" + integrity sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g== + dependencies: + lru-cache "^6.0.0" + send@0.17.1: version "0.17.1" resolved "https://registry.npmjs.org/send/-/send-0.17.1.tgz" @@ -6514,6 +6412,14 @@ socks@^2.6.2: ip "^1.1.5" smart-buffer "^4.2.0" +source-map-support@0.5.13: + version "0.5.13" + resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.13.tgz#31b24a9c2e73c2de85066c0feb7d44767ed52932" + integrity sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w== + dependencies: + buffer-from "^1.0.0" + source-map "^0.6.0" + source-map-support@0.5.21: version "0.5.21" resolved "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz" @@ -6522,24 +6428,11 @@ source-map-support@0.5.21: buffer-from "^1.0.0" source-map "^0.6.0" -source-map-support@^0.5.6: - version "0.5.19" - resolved "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.19.tgz" - integrity sha512-Wonm7zOCIJzBGQdB+thsPar0kYuCIzYvxZwlBa87yi/Mdjv7Tip2cyVbLj5o0cFPN4EVkuTwb3GDDyUx2DGnGw== - dependencies: - buffer-from "^1.0.0" - source-map "^0.6.0" - -source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.1: +source-map@^0.6.0, source-map@^0.6.1: version "0.6.1" resolved "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz" integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== -source-map@^0.7.3: - version "0.7.3" - resolved "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz" - integrity sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ== - spdx-correct@^3.0.0: version "3.1.1" resolved "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz" @@ -6688,6 +6581,15 @@ string-width@^4.1.0, string-width@^4.2.0: is-fullwidth-code-point "^3.0.0" strip-ansi "^6.0.0" +string-width@^4.2.3: + version "4.2.3" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + string-width@^5.0.0: version "5.0.1" resolved "https://registry.npmjs.org/string-width/-/string-width-5.0.1.tgz" @@ -6861,11 +6763,6 @@ swagger-ui-dist@^4.10.3: resolved "https://registry.npmjs.org/swagger-ui-dist/-/swagger-ui-dist-4.10.3.tgz" integrity sha512-eR4vsd7sYo0Sx7ZKRP5Z04yij7JkNmIlUQfrDQgC+xO5ABYx+waabzN+nDsQTLAJ4Z04bjkRd8xqkJtbxr3G7w== -symbol-tree@^3.2.4: - version "3.2.4" - resolved "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz" - integrity sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw== - tar@^6.1.11: version "6.1.11" resolved "https://registry.npmjs.org/tar/-/tar-6.1.11.tgz" @@ -6912,11 +6809,6 @@ text-table@^0.2.0: resolved "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz" integrity sha1-f17oI66AUgfACvLfSoTsP8+lcLQ= -throat@^6.0.1: - version "6.0.1" - resolved "https://registry.npmjs.org/throat/-/throat-6.0.1.tgz" - integrity sha512-8hmiGIJMDlwjg7dlJ4yKGLK8EsYqKgPWbG3b4wjJddKNwc7N7Dpn08Df4szr/sZdMVeOstrdYSsqzX6BYbcB+w== - through2@^2.0.1: version "2.0.5" resolved "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz" @@ -6943,9 +6835,9 @@ timers-ext@^0.1.7: es5-ext "~0.10.46" next-tick "1" -tmpl@1.0.x: +tmpl@1.0.5: version "1.0.5" - resolved "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz" + resolved "https://registry.yarnpkg.com/tmpl/-/tmpl-1.0.5.tgz#8683e0b902bb9c20c4f726e3c0b69f36518c07cc" integrity sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw== to-fast-properties@^2.0.0: @@ -6970,15 +6862,6 @@ toidentifier@1.0.1: resolved "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz" integrity sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA== -tough-cookie@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.0.0.tgz" - integrity sha512-tHdtEpQCMrc1YLrMaqXXcj6AxhYi/xgit6mZu1+EDWUn+qhUf8wMQoFIy9NXuq23zAwtcB0t/MjACGR18pcRbg== - dependencies: - psl "^1.1.33" - punycode "^2.1.1" - universalify "^0.1.2" - tough-cookie@~2.5.0: version "2.5.0" resolved "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz" @@ -6994,13 +6877,6 @@ tr46@^1.0.1: dependencies: punycode "^2.1.0" -tr46@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/tr46/-/tr46-2.1.0.tgz" - integrity sha512-15Ih7phfcdP5YxqiB+iDtLoaTz4Nd35+IiAv0kQ5FNKHzXgdWqPoTIqEDDJmXceQt4JZk6lVPT8lnDlPpGDppw== - dependencies: - punycode "^2.1.1" - trim-newlines@^4.0.2: version "4.0.2" resolved "https://registry.npmjs.org/trim-newlines/-/trim-newlines-4.0.2.tgz" @@ -7013,20 +6889,6 @@ ts-algebra@^1.1.1: dependencies: ts-toolbelt "^9.6.0" -ts-jest@27.1.5: - version "27.1.5" - resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-27.1.5.tgz#0ddf1b163fbaae3d5b7504a1e65c914a95cff297" - integrity sha512-Xv6jBQPoBEvBq/5i2TeSG9tt/nqkbpcurrEG1b+2yfBrcJelOZF9Ml6dmyMh7bcW9JyFbRYpR5rxROSlBLTZHA== - dependencies: - bs-logger "0.x" - fast-json-stable-stringify "2.x" - jest-util "^27.0.0" - json5 "2.x" - lodash.memoize "4.x" - make-error "1.x" - semver "7.x" - yargs-parser "20.x" - ts-node@10.9.1: version "10.9.1" resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.9.1.tgz#e73de9102958af9e1f0b168a6ff320e25adcff4b" @@ -7122,13 +6984,6 @@ type-check@^0.4.0, type-check@~0.4.0: dependencies: prelude-ls "^1.2.1" -type-check@~0.3.2: - version "0.3.2" - resolved "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz" - integrity sha1-WITKtRLPHTVeP7eE8wgEsrUg23I= - dependencies: - prelude-ls "~1.1.2" - type-detect@4.0.8: version "4.0.8" resolved "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz" @@ -7172,13 +7027,6 @@ type@^2.0.0: resolved "https://registry.npmjs.org/type/-/type-2.5.0.tgz" integrity sha512-180WMDQaIMm3+7hGXWf12GtdniDEy7nYcyFMKJn/eZz/6tSLXrUN9V0wKSbMjej0I1WHWbpREDEKHtqPQa9NNw== -typedarray-to-buffer@^3.1.5: - version "3.1.5" - resolved "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz" - integrity sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q== - dependencies: - is-typedarray "^1.0.0" - typedarray@^0.0.6: version "0.0.6" resolved "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz" @@ -7220,11 +7068,6 @@ unique-slug@^2.0.0: dependencies: imurmurhash "^0.1.4" -universalify@^0.1.2: - version "0.1.2" - resolved "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz" - integrity sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg== - universalify@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz" @@ -7282,14 +7125,14 @@ v8-compile-cache-lib@^3.0.1: resolved "https://registry.yarnpkg.com/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz#6336e8d71965cb3d35a1bbb7868445a7c05264bf" integrity sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg== -v8-to-istanbul@^8.1.0: - version "8.1.0" - resolved "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-8.1.0.tgz" - integrity sha512-/PRhfd8aTNp9Ggr62HPzXg2XasNFGy5PBt0Rp04du7/8GNNSgxFL6WBTkgMKSL9bFjH+8kKEG3f37FmxiTqUUA== +v8-to-istanbul@^9.0.1: + version "9.0.1" + resolved "https://registry.yarnpkg.com/v8-to-istanbul/-/v8-to-istanbul-9.0.1.tgz#b6f994b0b5d4ef255e17a0d17dc444a9f5132fa4" + integrity sha512-74Y4LqY74kLE6IFyIjPtkSTWzUZmj8tdHT9Ii/26dvQ6K9Dl2NbEfj0XgU2sHCtKgt5VupqhlO/5aWuqS+IY1w== dependencies: + "@jridgewell/trace-mapping" "^0.3.12" "@types/istanbul-lib-coverage" "^2.0.1" convert-source-map "^1.6.0" - source-map "^0.7.3" validate-npm-package-license@^3.0.1: version "3.0.4" @@ -7318,54 +7161,18 @@ verror@1.10.0: core-util-is "1.0.2" extsprintf "^1.2.0" -w3c-hr-time@^1.0.2: - version "1.0.2" - resolved "https://registry.npmjs.org/w3c-hr-time/-/w3c-hr-time-1.0.2.tgz" - integrity sha512-z8P5DvDNjKDoFIHK7q8r8lackT6l+jo/Ye3HOle7l9nICP9lf1Ci25fy9vHd0JOWewkIFzXIEig3TdKT7JQ5fQ== +walker@^1.0.8: + version "1.0.8" + resolved "https://registry.yarnpkg.com/walker/-/walker-1.0.8.tgz#bd498db477afe573dc04185f011d3ab8a8d7653f" + integrity sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ== dependencies: - browser-process-hrtime "^1.0.0" - -w3c-xmlserializer@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-2.0.0.tgz" - integrity sha512-4tzD0mF8iSiMiNs30BiLO3EpfGLZUT2MSX/G+o7ZywDzliWQ3OPtTZ0PTC3B3ca1UAf4cJMHB+2Bf56EriJuRA== - dependencies: - xml-name-validator "^3.0.0" - -walker@^1.0.7: - version "1.0.7" - resolved "https://registry.npmjs.org/walker/-/walker-1.0.7.tgz" - integrity sha1-L3+bj9ENZ3JisYqITijRlhjgKPs= - dependencies: - makeerror "1.0.x" + makeerror "1.0.12" webidl-conversions@^4.0.2: version "4.0.2" resolved "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-4.0.2.tgz" integrity sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg== -webidl-conversions@^5.0.0: - version "5.0.0" - resolved "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-5.0.0.tgz" - integrity sha512-VlZwKPCkYKxQgeSbH5EyngOmRp7Ww7I9rQLERETtf5ofd9pGeswWiOtogpEO850jziPRarreGxn5QIiTqpb2wA== - -webidl-conversions@^6.1.0: - version "6.1.0" - resolved "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-6.1.0.tgz" - integrity sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w== - -whatwg-encoding@^1.0.5: - version "1.0.5" - resolved "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-1.0.5.tgz" - integrity sha512-b5lim54JOPN9HtzvK9HFXvBma/rnfFeqsic0hSpjtDbVxR3dJKLc+KB4V6GgiGOvl7CY/KNh8rxSo9DKQrnUEw== - dependencies: - iconv-lite "0.4.24" - -whatwg-mimetype@^2.3.0: - version "2.3.0" - resolved "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz" - integrity sha512-M4yMwr6mAnQz76TbJm914+gPpB/nCwvZbJU28cUD6dR004SAxDLOOSUaB1JDRqLtaOV/vi0IC5lEAGFgrjGv/g== - whatwg-url@^6.5.0: version "6.5.0" resolved "https://registry.npmjs.org/whatwg-url/-/whatwg-url-6.5.0.tgz" @@ -7375,15 +7182,6 @@ whatwg-url@^6.5.0: tr46 "^1.0.1" webidl-conversions "^4.0.2" -whatwg-url@^8.0.0, whatwg-url@^8.5.0: - version "8.7.0" - resolved "https://registry.npmjs.org/whatwg-url/-/whatwg-url-8.7.0.tgz" - integrity sha512-gAojqb/m9Q8a5IV96E3fHJM70AzCkgt4uXYX2O7EmuyOnLrViCQlsEBmF9UQIu3/aeAIp2U17rtbpZWNntQqdg== - dependencies: - lodash "^4.7.0" - tr46 "^2.1.0" - webidl-conversions "^6.1.0" - when@~2.0.1: version "2.0.1" resolved "https://registry.npmjs.org/when/-/when-2.0.1.tgz" @@ -7424,7 +7222,7 @@ winston@2.x: isstream "0.1.x" stack-trace "0.0.x" -word-wrap@^1.2.3, word-wrap@~1.2.3: +word-wrap@^1.2.3: version "1.2.3" resolved "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz" integrity sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ== @@ -7452,30 +7250,13 @@ wrappy@1: resolved "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz" integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8= -write-file-atomic@^3.0.0: - version "3.0.3" - resolved "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz" - integrity sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q== +write-file-atomic@^4.0.1: + version "4.0.2" + resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-4.0.2.tgz#a9df01ae5b77858a027fd2e80768ee433555fcfd" + integrity sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg== dependencies: imurmurhash "^0.1.4" - is-typedarray "^1.0.0" - signal-exit "^3.0.2" - typedarray-to-buffer "^3.1.5" - -ws@^7.4.6: - version "7.5.3" - resolved "https://registry.npmjs.org/ws/-/ws-7.5.3.tgz" - integrity sha512-kQ/dHIzuLrS6Je9+uv81ueZomEwH0qVYstcAQ4/Z93K8zeko9gtAbttJWzoC5ukqXY1PpoouV3+VSOqEAFt5wg== - -xml-name-validator@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-3.0.0.tgz" - integrity sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw== - -xmlchars@^2.2.0: - version "2.2.0" - resolved "https://registry.npmjs.org/xmlchars/-/xmlchars-2.2.0.tgz" - integrity sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw== + signal-exit "^3.0.7" xtend@^4.0.0, xtend@~4.0.1: version "4.0.2" @@ -7502,11 +7283,6 @@ yaml@^2.1.1: resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.1.1.tgz#1e06fb4ca46e60d9da07e4f786ea370ed3c3cfec" integrity sha512-o96x3OPo8GjWeSLF+wOAbrPfhFOGY0W00GNaxCDv+9hkcDJEnev1yh8S7pgHF0ik6zc8sQLuL8hjHjJULZp8bw== -yargs-parser@20.x, yargs-parser@^20.2.2, yargs-parser@^20.2.9: - version "20.2.9" - resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz" - integrity sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w== - yargs-parser@^18.1.2: version "18.1.3" resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz" @@ -7515,6 +7291,16 @@ yargs-parser@^18.1.2: camelcase "^5.0.0" decamelize "^1.2.0" +yargs-parser@^20.2.2, yargs-parser@^20.2.9: + version "20.2.9" + resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz" + integrity sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w== + +yargs-parser@^21.0.0: + version "21.1.1" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-21.1.1.tgz#9096bceebf990d21bb31fa9516e0ede294a77d35" + integrity sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw== + yargs@^15.3.1: version "15.4.1" resolved "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz" @@ -7532,7 +7318,7 @@ yargs@^15.3.1: y18n "^4.0.0" yargs-parser "^18.1.2" -yargs@^16.1.0, yargs@^16.2.0: +yargs@^16.1.0: version "16.2.0" resolved "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz" integrity sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw== @@ -7545,6 +7331,19 @@ yargs@^16.1.0, yargs@^16.2.0: y18n "^5.0.5" yargs-parser "^20.2.2" +yargs@^17.3.1: + version "17.5.1" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.5.1.tgz#e109900cab6fcb7fd44b1d8249166feb0b36e58e" + integrity sha512-t6YAJcxDkNX7NFYiVtKvWUz8l+PaKTLiL63mJYWR2GnHq2gjEWISzsLp9wg3aY36dY1j+gfIEL3pIF+XlJJfbA== + dependencies: + cliui "^7.0.2" + escalade "^3.1.1" + get-caller-file "^2.0.5" + require-directory "^2.1.1" + string-width "^4.2.3" + y18n "^5.0.5" + yargs-parser "^21.0.0" + yn@3.1.1: version "3.1.1" resolved "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz"