From c7498dcac6216909ade3a208223520a6069f6cfe Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 28 Nov 2023 09:32:00 +0000 Subject: [PATCH] chore(deps): update dependency @biomejs/biome to v1.4.0 (#5288) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate logo banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@biomejs/biome](https://biomejs.dev) ([source](https://togithub.com/biomejs/biome)) | [`1.3.3` -> `1.4.0`](https://renovatebot.com/diffs/npm/@biomejs%2fbiome/1.3.3/1.4.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@biomejs%2fbiome/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@biomejs%2fbiome/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@biomejs%2fbiome/1.3.3/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@biomejs%2fbiome/1.3.3/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
biomejs/biome (@​biomejs/biome) ### [`v1.4.0`](https://togithub.com/biomejs/biome/blob/HEAD/CHANGELOG.md#140-2023-11-27) [Compare Source](https://togithub.com/biomejs/biome/compare/af24597c1877c7b5a96bb7cc59bab655a577116f...889593e3f983a6fec642d20eea3c7f94d58fc7e1) ##### CLI - Remove the CLI options from the `lsp-proxy`, as they were never meant to be passed to that command. Contributed by [@​ematipico](https://togithub.com/ematipico) - Add option `--config-path` to `lsp-proxy` and `start` commands. It's now possible to tell the Daemon server to load `biome.json` from a custom path. Contributed by [@​ematipico](https://togithub.com/ematipico) - Add new `--diagnostic-level` option to let users control the level of diagnostics printed by the CLI. Possible values are: `"info"`, `"warn"`, `"hint"`. Contributed by [@​simonxabris](https://togithub.com/simonxabris) - Add option `--line-feed` to the `format` command. Contributed by [@​SuperchupuDev](https://togithub.com/SuperchupuDev) - Add option `--bracket-same-line` to the `format` command. Contributed by [@​faultyserve](https://togithub.com/faultyserve) - Add option `--bracket-spacing` to the `format` command. Contributed by [@​faultyserve](https://togithub.com/faultyserve) ##### Bug fixes - Fix the command `format`, now it returns a non-zero exit code when if there pending diffs. Contributed by [@​ematipico](https://togithub.com/ematipico) ##### Configuration - Add option `formatter.lineFeed`. Contributed by [@​SuperchupuDev](https://togithub.com/SuperchupuDev) - Add option `javascript.formatter.bracketSameLine`. Contributed by [@​faultyserve](https://togithub.com/faultyserve) - Add option `javascript.formatter.bracketSpacing`. Contributed by [@​faultyserve](https://togithub.com/faultyserve) ##### Formatter ##### New features - Add a new option [`--line-ending`](https://biomejs.dev/reference/configuration/#formatterlineending). This option allows changing the type of line endings. Contributed by [@​SuperchupuDev](https://togithub.com/SuperchupuDev) - Added a new option called `--bracket-spacing` to the formatter. This option allows you to control whether spaces are inserted around the brackets of object literals. [#​627](https://togithub.com/biomejs/biome/issues/627). Contributed by [@​faultyserver](https://togithub.com/faultyserver) - Added a new option called `--bracket-same-line` to the formatter. This option allows you to control whether spaces are inserted around the brackets of object literals. [#​627](https://togithub.com/biomejs/biome/issues/627). Contributed by [@​faultyserver](https://togithub.com/faultyserver) ##### Bug fixes - Fix [#​832](https://togithub.com/biomejs/biome/issues/832), the formatter no longer keeps an unnecessary trailing comma in type parameter lists. Contributed by [@​Conaclos](https://togithub.com/Conaclos) - Fix [#​301](https://togithub.com/biomejs/biome/issues/301), the formatter should not break before the `in` keyword. Contributed by [@​ematipico](https://togithub.com/ematipico) ##### Linter ##### Promoted rules - [a11y/noInteractiveElementToNoninteractiveRole](https://biomejs.dev/linter/rules/no-interactive-element-to-noninteractive-role) - [complexity/noThisInStatic](https://biomejs.dev/linter/rules/no-this-in-static) - [complexity/useArrowFunction](https://biomejs.dev/linter/rules/use-arrow-function) - [correctness/noEmptyCharacterClassInRegex](https://biomejs.dev/linter/rules/no-empty-character-class-in-regex) - [correctness/noInvalidNewBuiltin](https://biomejs.dev/linter/rules/no-invalid-new-builtin) - [style/noUselessElse](https://biomejs.dev/linter/rules/no-useless-else) - [style/useAsConstAssertion](https://biomejs.dev/linter/rules/use-as-const-assertion) - [style/useShorthandAssign](https://biomejs.dev/linter/rules/use-shorthand-assign) - [suspicious/noApproximativeNumericConstant](https://biomejs.dev/linter/rules/no-approximative-numeric-constant) - [suspicious/noMisleadingInstantiator](https://biomejs.dev/linter/rules/no-misleading-instantiator) - [suspicious/noMisrefactoredShorthandAssign](https://biomejs.dev/linter/rules/no-misrefactored-shorthand-assign) The following rules are now recommended: - [a11y/noAccessKey](https://biomejs.dev/linter/rules/no-access-key) - [a11y/useHeadingContent](https://biomejs.dev/linter/rules/use-heading-content) - [complexity/useSimpleNumberKeys](https://biomejs.dev/linter/use-simple-number-keys) The following rules are now deprecated: - [correctness/noNewSymbol](https://biomejs.dev/linter/rules/no-new-symbol) The rule is replaced by [correctness/noInvalidNewBuiltin](https://biomejs.dev/linter/rules/no-invalid-new-builtin) ##### New features - Add [noDefaultExport](https://biomejs.dev/linter/rules/no-default-export) which disallows `export default`. Contributed by [@​Conaclos](https://togithub.com/Conaclos) - Add [noAriaHiddenOnFocusable](https://biomejs.dev/linter/rules/no-aria-hidden-on-focusable) which reports hidden and focusable elements. Contributed by [@​vasucp1207](https://togithub.com/vasucp1207) - Add [noImplicitAnyLet](https://biomejs.dev/linter/rules/no-implicit-any-let) that reports variables declared with `let` and without initialization and type annotation. Contributed by [@​TaKO8Ki](https://togithub.com/TaKO8Ki) and [@​b4s36t4](https://togithub.com/b4s36t4) - Add [useAwait](https://biomejs.dev/linter/rules/use-await) that reports `async` functions that don't use an `await` expression. - Add [useValidAriaRole](https://biomejs.dev/linter/rules/use-valid-aria-role). Contributed by [@​vasucp1207](https://togithub.com/vasucp1207) - Add [useRegexLiterals](https://biomejs.dev/linter/use-regex-literals) that suggests turning call to the regex constructor into regex literals. COntributed by [@​Yuiki](https://togithub.com/Yuiki) ##### Enhancements - Add an unsafe code fix for [a11y/useAriaActivedescendantWithTabindex](https://biomejs.dev/linter/rules/use-aria-activedescendant-with-tabindex) ##### Bug fixes - Fix [#​639](https://togithub.com/biomejs/biome/issues/639) by ignoring unused TypeScript's mapped key. Contributed by [@​Conaclos](https://togithub.com/Conaclos) - Fix [#​565](https://togithub.com/biomejs/biome/issues/565) by handling several `infer` with the same name in extends clauses of TypeScript's conditional types. Contributed by [@​Conaclos](https://togithub.com/Conaclos) - Fix [#​653](https://togithub.com/biomejs/biome/issues/653). [noUnusedImports](https://biomejs.dev/linter/rules/no-unused-imports) now correctly removes the entire line where the unused `import` is. Contributed by [@​Conaclos](https://togithub.com/Conaclos) - Fix [#​607](https://togithub.com/biomejs/biome/issues/609) `useExhaustiveDependencies`, ignore optional chaining, Contributed by [@​msdlisper](https://togithub.com/msdlisper) - Fix [#​676](https://togithub.com/biomejs/biome/issues/676), by using the correct node for the `"noreferrer"` when applying the code action. Contributed by [@​ematipico](https://togithub.com/ematipico) - Fix [#​455](https://togithub.com/biomejs/biome/issues/455). The CLI can now print complex emojis to the console correctly. - Fix [#​727](https://togithub.com/biomejs/biome/issues/727). [noInferrableTypes](https://biomejs.dev/linter/rules/no-inferrable-types) now correctly keeps type annotations when the initialization expression is `null`. Contributed by [@​Conaclos](https://togithub.com/Conaclos) - Fix [#​784](https://togithub.com/biomejs/biome/issues/784), [noSvgWithoutTitle](https://biomejs.dev/linter/rules/no-svg-without-title) fixes false-positives to `aria-label` and reports svg's role attribute is implicit. Contributed by [@​unvalley](https://togithub.com/unvalley) - Fix [#​834](https://togithub.com/biomejs/biome/issues/834) that made [noUselessLoneBlockStatements](https://biomejs.dev/linter/rules/no-useless-lone-block-statements) reports block statements of switch clauses. Contributed by [@​vasucp1207](https://togithub.com/vasucp1207) - Fix [#​783](https://togithub.com/biomejs/biome/issues/834) that made [noUselessLoneBlockStatements](https://biomejs.dev/linter/rules/no-useless-lone-block-statements) reports block statements of `try-catch` structures. Contributed by [@​hougesen](https://togithub.com/hougesen) - Fix [#​69](https://togithub.com/biomejs/biome/issues/69) that made [correctness/noUnnecessaryContinue](https://biomejs.dev/linter/rules/no-unnecessary-continue) incorrectly reports a `continue` used to break a switch clause. Contributed by [@​TaKO8Ki](https://togithub.com/TaKO8Ki) - Fix [#​664](https://togithub.com/biomejs/biome/issues/664) by improving the diagnostic of [style/useNamingConvention](https://biomejs.dev/linter/use-naming-convention) when double capital are detected in strict camel case mode. Contributed by [@​vasucp1207](https://togithub.com/vasucp1207) - Fix [#​643](https://togithub.com/biomejs/biome/issues/643) that erroneously parsed the option of [complexity/useExhaustiveDependencies](https://biomejs.dev/linter/use-naming-convention). Contributed by [@​arendjr](https://togithub.com/arendjr) ##### Parser ##### Bug fixes - Fix [#​846](https://togithub.com/biomejs/biome/issues/846) that erroneously parsed `() => {}` as a JSX tag instead of an arrow function when both TypeScript and JSX are enabled. ##### VSCode
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Unleash/unleash). --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Christopher Kolstad --- biome.json | 5 +- frontend/package.json | 2 +- .../apiToken/ApiTokenPage/ApiTokenPage.tsx | 8 +- .../apiToken/ProjectsList/ProjectsList.tsx | 4 +- .../BillingPlan/BillingPlan.tsx | 4 +- .../common/FormTemplate/FormTemplate.tsx | 4 +- .../common/ToastRenderer/Toast/Toast.tsx | 2 +- .../context/ContextForm/ContextForm.tsx | 4 +- .../DemoStepTooltip/DemoStepTooltip.tsx | 4 +- .../component/demo/DemoSteps/DemoSteps.tsx | 21 +-- .../component/events/EventDiff/EventDiff.tsx | 4 +- .../Dependencies/AddDependencyDialogue.tsx | 4 +- .../ManageTagsDialog/ManageBulkTagsDialog.tsx | 2 +- .../combinationCounter.test.ts | 2 +- .../PlaygroundEnvironmentDiffTable.tsx | 6 +- .../PlaygroundEnvironmentTable.tsx | 4 +- .../StrategyItem/FeatureStrategyItem.tsx | 4 +- .../ReportTable/ReportCard/ReportCard.tsx | 4 +- frontend/src/component/splash/splash.tsx | 2 +- frontend/src/hooks/useSearch.ts | 8 +- frontend/src/interfaces/user.ts | 2 +- frontend/src/openapi/models/_exportFormat.ts | 2 +- .../models/addonTypeSchemaAlertsItemType.ts | 2 +- .../models/adminPermissionsSchemaVersion.ts | 2 +- .../src/openapi/models/apiTokenSchemaType.ts | 2 +- ...geRequestCreateFeatureSchemaOneOfAction.ts | 2 +- ...uestCreateFeatureSchemaOneOfEightAction.ts | 2 +- ...questCreateFeatureSchemaOneOfFourAction.ts | 2 +- ...tCreateFeatureSchemaOneOfOneeightAction.ts | 2 +- ...estCreateFeatureSchemaOneOfOneoneAction.ts | 2 +- ...estCreateFeatureSchemaOneOfOnesixAction.ts | 2 +- ...tCreateFeatureSchemaOneOfOnethreeAction.ts | 2 +- ...equestCreateFeatureSchemaOneOfSixAction.ts | 2 +- ...stCreateFeatureSchemaOneOfTwozeroAction.ts | 2 +- .../changeRequestCreateSchemaOneOfAction.ts | 2 +- ...hangeRequestCreateSchemaOneOfNineAction.ts | 2 +- ...eRequestCreateSchemaOneOfOneeightAction.ts | 2 +- ...ngeRequestCreateSchemaOneOfOneoneAction.ts | 2 +- ...ngeRequestCreateSchemaOneOfOnesixAction.ts | 2 +- ...eRequestCreateSchemaOneOfOnethreeAction.ts | 2 +- ...changeRequestCreateSchemaOneOfSixAction.ts | 2 +- ...angeRequestCreateSchemaOneOfThreeAction.ts | 2 +- ...geRequestCreateSchemaOneOfTwofiveAction.ts | 2 +- ...ngeRequestCreateSchemaOneOfTwooneAction.ts | 2 +- ...eRequestCreateSchemaOneOfTwothreeAction.ts | 2 +- ...geRequestCreateSegmentSchemaOneOfAction.ts | 2 +- ...uestCreateSegmentSchemaOneOfThreeAction.ts | 2 +- ...RequestOneOrManyCreateSchemaOneOfAction.ts | 2 +- ...estOneOrManyCreateSchemaOneOfNineAction.ts | 2 +- ...neOrManyCreateSchemaOneOfOneeightAction.ts | 2 +- ...tOneOrManyCreateSchemaOneOfOneoneAction.ts | 2 +- ...tOneOrManyCreateSchemaOneOfOnesixAction.ts | 2 +- ...neOrManyCreateSchemaOneOfOnethreeAction.ts | 2 +- ...uestOneOrManyCreateSchemaOneOfSixAction.ts | 2 +- ...stOneOrManyCreateSchemaOneOfThreeAction.ts | 2 +- ...OneOrManyCreateSchemaOneOfTwofiveAction.ts | 2 +- ...tOneOrManyCreateSchemaOneOfTwooneAction.ts | 2 +- ...neOrManyCreateSchemaOneOfTwothreeAction.ts | 2 +- .../changeRequestScheduleSchemaStatus.ts | 2 +- .../changeRequestSchemaOneOfFourState.ts | 2 +- .../models/changeRequestSchemaOneOfState.ts | 2 +- .../changeRequestStateSchemaOneOfState.ts | 2 +- ...changeRequestStateSchemaOneOfThreeState.ts | 2 +- .../models/constraintSchemaOperator.ts | 2 +- .../openapi/models/createProjectSchemaMode.ts | 2 +- ...eRoleWithPermissionsSchemaAnyOfFourType.ts | 2 +- ...reateRoleWithPermissionsSchemaAnyOfType.ts | 2 +- .../createStrategySchemaParametersItemType.ts | 2 +- .../createStrategyVariantSchemaPayloadType.ts | 2 +- .../createStrategyVariantSchemaWeightType.ts | 2 +- .../src/openapi/models/edgeTokenSchemaType.ts | 2 +- .../src/openapi/models/eventSchemaType.ts | 2 +- .../src/openapi/models/eventsSchemaVersion.ts | 2 +- .../models/featureEventsSchemaVersion.ts | 2 +- .../models/featureTypesSchemaVersion.ts | 2 +- .../openapi/models/healthCheckSchemaHealth.ts | 2 +- .../models/healthOverviewSchemaMode.ts | 2 +- .../openapi/models/healthReportSchemaMode.ts | 2 +- ...anceAdminStatsSchemaClientAppsItemRange.ts | 2 +- ...notificationsSchemaItemNotificationType.ts | 2 +- .../oidcSettingsSchemaDefaultRootRole.ts | 2 +- ...dcSettingsSchemaIdTokenSigningAlgorithm.ts | 2 +- frontend/src/openapi/models/patchSchemaOp.ts | 2 +- .../playgroundConstraintSchemaOperator.ts | 2 +- ...rategySchemaResultAnyOfEvaluationStatus.ts | 2 +- ...gySchemaResultAnyOfFourEvaluationStatus.ts | 2 +- ...SchemaResultAnyOfFourVariantPayloadType.ts | 2 +- .../models/projectCreatedSchemaMode.ts | 2 +- .../models/projectOverviewSchemaMode.ts | 2 +- .../src/openapi/models/projectSchemaMode.ts | 2 +- .../projectSettingsSchemaDefaultStickiness.ts | 2 +- .../models/projectSettingsSchemaMode.ts | 2 +- .../proxyFeatureSchemaVariantPayloadType.ts | 2 +- .../requestsPerSecondSchemaDataResultType.ts | 2 +- .../models/requestsPerSecondSchemaStatus.ts | 2 +- .../samlSettingsSchemaDefaultRootRole.ts | 2 +- .../openapi/models/searchEventsSchemaType.ts | 2 +- .../openapi/models/strategiesSchemaVersion.ts | 2 +- .../strategyVariantSchemaPayloadType.ts | 2 +- .../models/strategyVariantSchemaWeightType.ts | 2 +- .../uiConfigSchemaAuthenticationType.ts | 2 +- ...dateProjectEnterpriseSettingsSchemaMode.ts | 2 +- .../openapi/models/updateProjectSchemaMode.ts | 2 +- .../updateStrategySchemaParametersItemType.ts | 2 +- .../models/variantFlagSchemaPayloadType.ts | 2 +- .../models/variantSchemaPayloadType.ts | 2 +- .../openapi/models/variantSchemaWeightType.ts | 2 +- frontend/yarn.lock | 68 ++++----- package.json | 2 +- src/lib/addons/feature-event-formatter-md.ts | 24 ++-- src/lib/db/access-store.ts | 11 +- src/lib/error/unleash-error.ts | 2 +- .../feature-toggle-list-builder.ts | 131 ++++++++++-------- .../playground/generateObjectCombinations.ts | 23 +-- .../playground/offline-unleash-client.test.ts | 6 +- .../playground/playground-view-model.test.ts | 9 +- src/lib/openapi/index.ts | 4 +- src/lib/openapi/meta-schema-rules.test.ts | 2 +- .../spec/playground-request-schema.test.ts | 2 +- src/lib/openapi/util/openapi-tags.ts | 2 +- src/lib/proxy/proxy-repository.ts | 25 ++-- src/lib/server-impl.test.ts | 8 +- src/lib/types/events.ts | 2 +- src/lib/types/model.ts | 2 +- src/lib/types/serialize-dates.ts | 4 +- src/lib/types/user.ts | 2 +- src/lib/util/omit-keys.ts | 2 +- src/test/arbitraries.test.ts | 6 +- src/test/e2e/api/admin/playground.e2e.test.ts | 12 +- .../e2e/services/playground-service.test.ts | 4 +- yarn.lock | 68 ++++----- 131 files changed, 360 insertions(+), 333 deletions(-) diff --git a/biome.json b/biome.json index f39c76c3ce..e3e73e47cc 100644 --- a/biome.json +++ b/biome.json @@ -1,5 +1,5 @@ { - "$schema": "https://biomejs.dev/schemas/1.3.3/schema.json", + "$schema": "https://biomejs.dev/schemas/1.4.0/schema.json", "linter": { "enabled": true, "rules": { @@ -22,7 +22,8 @@ "noNonNullAssertion": "off", "noInferrableTypes": "off", "noUnusedTemplateLiteral": "off", - "useSingleVarDeclarator": "off" + "useSingleVarDeclarator": "off", + "noUselessElse": "off" }, "suspicious": { "noExplicitAny": "off", diff --git a/frontend/package.json b/frontend/package.json index 4c5abc7a50..68af15fc49 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -30,7 +30,7 @@ "gen:api:sandbox": "NODE_OPTIONS=\"${NODE_OPTIONS} --no-experimental-fetch\" UNLEASH_OPENAPI_URL=https://sandbox.getunleash.io/demo2/docs/openapi.json yarn run gen:api" }, "devDependencies": { - "@biomejs/biome": "^1.3.3", + "@biomejs/biome": "^1.4.0", "@codemirror/lang-json": "6.0.1", "@emotion/react": "11.11.1", "@emotion/styled": "11.11.0", diff --git a/frontend/src/component/admin/apiToken/ApiTokenPage/ApiTokenPage.tsx b/frontend/src/component/admin/apiToken/ApiTokenPage/ApiTokenPage.tsx index 537da13f5a..ad9bb17f91 100644 --- a/frontend/src/component/admin/apiToken/ApiTokenPage/ApiTokenPage.tsx +++ b/frontend/src/component/admin/apiToken/ApiTokenPage/ApiTokenPage.tsx @@ -39,14 +39,14 @@ export const ApiTokenPage = () => { props.row.original.type === 'client' ? READ_CLIENT_API_TOKEN : props.row.original.type === 'frontend' - ? READ_FRONTEND_API_TOKEN - : ADMIN; + ? READ_FRONTEND_API_TOKEN + : ADMIN; const DELETE_PERMISSION = props.row.original.type === 'client' ? DELETE_CLIENT_API_TOKEN : props.row.original.type === 'frontend' - ? DELETE_FRONTEND_API_TOKEN - : ADMIN; + ? DELETE_FRONTEND_API_TOKEN + : ADMIN; return ( diff --git a/frontend/src/component/admin/apiToken/ProjectsList/ProjectsList.tsx b/frontend/src/component/admin/apiToken/ProjectsList/ProjectsList.tsx index 40abec2270..9a341e493f 100644 --- a/frontend/src/component/admin/apiToken/ProjectsList/ProjectsList.tsx +++ b/frontend/src/component/admin/apiToken/ProjectsList/ProjectsList.tsx @@ -27,8 +27,8 @@ export const ProjectsList: VFC = ({ projects && Array.isArray(projects) ? projects : project - ? [project] - : []; + ? [project] + : []; if (fields.length === 0) { return ( diff --git a/frontend/src/component/admin/billing/BillingDashboard/BillingPlan/BillingPlan.tsx b/frontend/src/component/admin/billing/BillingDashboard/BillingPlan/BillingPlan.tsx index 5bc3ebdf20..1d05ebc731 100644 --- a/frontend/src/component/admin/billing/BillingDashboard/BillingPlan/BillingPlan.tsx +++ b/frontend/src/component/admin/billing/BillingDashboard/BillingPlan/BillingPlan.tsx @@ -134,8 +134,8 @@ export const BillingPlan: FC = ({ instanceStatus }) => { {expired ? 'Trial expired' : instanceStatus.trialExtended - ? 'Extended Trial' - : 'Trial'} + ? 'Extended Trial' + : 'Trial'} } /> diff --git a/frontend/src/component/common/FormTemplate/FormTemplate.tsx b/frontend/src/component/common/FormTemplate/FormTemplate.tsx index 1c0b6220c7..a482aa786a 100644 --- a/frontend/src/component/common/FormTemplate/FormTemplate.tsx +++ b/frontend/src/component/common/FormTemplate/FormTemplate.tsx @@ -76,8 +76,8 @@ const StyledFormContent = styled('div', { padding: disablePadding ? 0 : compactPadding - ? theme.spacing(4) - : theme.spacing(6), + ? theme.spacing(4) + : theme.spacing(6), [theme.breakpoints.down('lg')]: { padding: disablePadding ? 0 : theme.spacing(4), }, diff --git a/frontend/src/component/common/ToastRenderer/Toast/Toast.tsx b/frontend/src/component/common/ToastRenderer/Toast/Toast.tsx index 0b311489e1..1b06cd90ed 100644 --- a/frontend/src/component/common/ToastRenderer/Toast/Toast.tsx +++ b/frontend/src/component/common/ToastRenderer/Toast/Toast.tsx @@ -28,7 +28,7 @@ const Toast = ({ title, text, type, confetti }: IToast) => { const length = getRandomNumber(100); const style = { - position: 'absolute' as 'absolute', + position: 'absolute' as const, width: `${width}px`, height: `${width * 0.4}px`, backgroundColor: confettiColors[getRandomNumber(2)], diff --git a/frontend/src/component/context/ContextForm/ContextForm.tsx b/frontend/src/component/context/ContextForm/ContextForm.tsx index e22db21ac7..85ff9f38f0 100644 --- a/frontend/src/component/context/ContextForm/ContextForm.tsx +++ b/frontend/src/component/context/ContextForm/ContextForm.tsx @@ -115,8 +115,8 @@ export const ContextForm: React.FC = ({ tag: isMissingValue ? 'Value cannot be empty' : isDuplicateValue - ? 'Duplicate value' - : undefined, + ? 'Duplicate value' + : undefined, })); }, [setErrors, isMissingValue, isDuplicateValue]); diff --git a/frontend/src/component/demo/DemoSteps/DemoStepTooltip/DemoStepTooltip.tsx b/frontend/src/component/demo/DemoSteps/DemoStepTooltip/DemoStepTooltip.tsx index 5774bfc2d0..545241fe5c 100644 --- a/frontend/src/component/demo/DemoSteps/DemoStepTooltip/DemoStepTooltip.tsx +++ b/frontend/src/component/demo/DemoSteps/DemoStepTooltip/DemoStepTooltip.tsx @@ -90,8 +90,8 @@ export const DemoStepTooltip = ({ stepIndex === 0 ? 'Start' : stepIndex === topics[topic].steps.length - 1 - ? 'Finish' - : 'Next'; + ? 'Finish' + : 'Next'; if (step.target === 'body') { return ( diff --git a/frontend/src/component/demo/DemoSteps/DemoSteps.tsx b/frontend/src/component/demo/DemoSteps/DemoSteps.tsx index bb318e3218..8a5af36780 100644 --- a/frontend/src/component/demo/DemoSteps/DemoSteps.tsx +++ b/frontend/src/component/demo/DemoSteps/DemoSteps.tsx @@ -211,15 +211,18 @@ export const DemoSteps = ({ const currentStep = currentTopic.steps[step]; if (!currentStep) return; - setTimeout(() => { - if ( - currentStep.href && - !location.pathname.endsWith(currentStep.href.split('?')[0]) - ) { - navigate(currentStep.href); - } - waitForLoad(currentStep); - }, currentStep.delay ?? 0); + setTimeout( + () => { + if ( + currentStep.href && + !location.pathname.endsWith(currentStep.href.split('?')[0]) + ) { + navigate(currentStep.href); + } + waitForLoad(currentStep); + }, + currentStep.delay ?? 0, + ); }, [topic, step]); useEffect(() => { diff --git a/frontend/src/component/events/EventDiff/EventDiff.tsx b/frontend/src/component/events/EventDiff/EventDiff.tsx index 95d54a8026..211221e9b6 100644 --- a/frontend/src/component/events/EventDiff/EventDiff.tsx +++ b/frontend/src/component/events/EventDiff/EventDiff.tsx @@ -83,8 +83,8 @@ const EventDiff = ({ {changeValue ? `: ${changeValue}` : diff.kind === 'D' - ? ' (deleted)' - : ''} + ? ' (deleted)' + : ''} ); } diff --git a/frontend/src/component/feature/Dependencies/AddDependencyDialogue.tsx b/frontend/src/component/feature/Dependencies/AddDependencyDialogue.tsx index 8c1f3be0ab..b7b1457078 100644 --- a/frontend/src/component/feature/Dependencies/AddDependencyDialogue.tsx +++ b/frontend/src/component/feature/Dependencies/AddDependencyDialogue.tsx @@ -184,8 +184,8 @@ export const AddDependencyDialogue = ({ isChangeRequestConfiguredInAnyEnv() ? 'Add change to draft' : parent === REMOVE_DEPENDENCY_OPTION.key - ? 'Remove' - : 'Add' + ? 'Remove' + : 'Add' } secondaryButtonText='Cancel' > diff --git a/frontend/src/component/feature/FeatureView/FeatureOverview/ManageTagsDialog/ManageBulkTagsDialog.tsx b/frontend/src/component/feature/FeatureView/FeatureOverview/ManageTagsDialog/ManageBulkTagsDialog.tsx index 1a612086ba..88756c39dd 100644 --- a/frontend/src/component/feature/FeatureView/FeatureOverview/ManageTagsDialog/ManageBulkTagsDialog.tsx +++ b/frontend/src/component/feature/FeatureView/FeatureOverview/ManageTagsDialog/ManageBulkTagsDialog.tsx @@ -90,7 +90,7 @@ export const ManageBulkTagsDialog: VFC = ({ onSubmit, }) => { const { tagTypes, loading: tagTypesLoading } = useTagTypes(); - const [tagType, setTagType] = useState(emptyTagType); + const [tagType, setTagType] = useState<(typeof tagTypes)[0]>(emptyTagType); const [selectedTags, setSelectedTags] = useState([]); const [indeterminateTags, setIndeterminateTags] = useState([]); const { tags, refetch: refetchTags } = useTags(tagType.name); diff --git a/frontend/src/component/playground/Playground/AdvancedPlaygroundResultsTable/combinationCounter.test.ts b/frontend/src/component/playground/Playground/AdvancedPlaygroundResultsTable/combinationCounter.test.ts index 86f653a982..4ee471fc78 100644 --- a/frontend/src/component/playground/Playground/AdvancedPlaygroundResultsTable/combinationCounter.test.ts +++ b/frontend/src/component/playground/Playground/AdvancedPlaygroundResultsTable/combinationCounter.test.ts @@ -32,7 +32,7 @@ const generateFeature = ( parameters: {}, result: { enabled: false, - evaluationStatus: 'complete' as 'complete', + evaluationStatus: 'complete' as const, }, constraints: [ { diff --git a/frontend/src/component/playground/Playground/PlaygroundEnvironmentTable/PlaygroundEnvironmentDiffTable.tsx b/frontend/src/component/playground/Playground/PlaygroundEnvironmentTable/PlaygroundEnvironmentDiffTable.tsx index 1b85b42200..3a939883c9 100644 --- a/frontend/src/component/playground/Playground/PlaygroundEnvironmentTable/PlaygroundEnvironmentDiffTable.tsx +++ b/frontend/src/component/playground/Playground/PlaygroundEnvironmentTable/PlaygroundEnvironmentDiffTable.tsx @@ -35,7 +35,7 @@ export const PlaygroundEnvironmentDiffTable = ({ })), [JSON.stringify(features)], ); - type RowType = typeof data[0]; + type RowType = (typeof data)[0]; const contextFieldsHeaders = Object.keys(firstContext).map( (contextField) => ({ @@ -54,8 +54,8 @@ export const PlaygroundEnvironmentDiffTable = ({ row[environment]?.isEnabled ? 'true' : row[environment]?.strategies?.result === 'unknown' - ? 'unknown' - : 'false', + ? 'unknown' + : 'false', Cell: ({ row }: { row: { original: RowType } }) => { return ( diff --git a/frontend/src/component/playground/Playground/PlaygroundEnvironmentTable/PlaygroundEnvironmentTable.tsx b/frontend/src/component/playground/Playground/PlaygroundEnvironmentTable/PlaygroundEnvironmentTable.tsx index da75b9e02c..d1b36ba267 100644 --- a/frontend/src/component/playground/Playground/PlaygroundEnvironmentTable/PlaygroundEnvironmentTable.tsx +++ b/frontend/src/component/playground/Playground/PlaygroundEnvironmentTable/PlaygroundEnvironmentTable.tsx @@ -72,8 +72,8 @@ export const PlaygroundEnvironmentTable = ({ row?.isEnabled ? 'true' : row?.strategies?.result === 'unknown' - ? 'unknown' - : 'false', + ? 'unknown' + : 'false', Cell: ({ row }: any) => ( ), diff --git a/frontend/src/component/playground/Playground/PlaygroundResultsTable/FeatureResultInfoPopoverCell/FeatureStrategyList/StrategyList/StrategyItem/FeatureStrategyItem.tsx b/frontend/src/component/playground/Playground/PlaygroundResultsTable/FeatureResultInfoPopoverCell/FeatureStrategyList/StrategyList/StrategyItem/FeatureStrategyItem.tsx index 63d07dd1f2..6199e60b59 100644 --- a/frontend/src/component/playground/Playground/PlaygroundResultsTable/FeatureResultInfoPopoverCell/FeatureStrategyList/StrategyList/StrategyItem/FeatureStrategyItem.tsx +++ b/frontend/src/component/playground/Playground/PlaygroundResultsTable/FeatureResultInfoPopoverCell/FeatureStrategyList/StrategyList/StrategyItem/FeatureStrategyItem.tsx @@ -25,8 +25,8 @@ export const FeatureStrategyItem = ({ result.evaluationStatus === 'unevaluated' ? 'Unevaluated' : result.enabled - ? 'True' - : 'False'; + ? 'True' + : 'False'; return ( { healthReport.health < 50 ? 'error.main' : healthReport.health < 75 - ? 'warning.main' - : 'success.main'; + ? 'warning.main' + : 'success.main'; const renderActiveToggles = () => ( diff --git a/frontend/src/component/splash/splash.tsx b/frontend/src/component/splash/splash.tsx index 1b95471c71..b8c90ef040 100644 --- a/frontend/src/component/splash/splash.tsx +++ b/frontend/src/component/splash/splash.tsx @@ -4,4 +4,4 @@ export const splashIds = ['operators'] as const; // Active splash IDs that may be shown to the user. export const activeSplashIds: SplashId[] = []; -export type SplashId = typeof splashIds[number]; +export type SplashId = (typeof splashIds)[number]; diff --git a/frontend/src/hooks/useSearch.ts b/frontend/src/hooks/useSearch.ts index 9adc2e1cfe..68ae49453f 100644 --- a/frontend/src/hooks/useSearch.ts +++ b/frontend/src/hooks/useSearch.ts @@ -138,10 +138,10 @@ export const getColumnValues = (column: any, row: any) => { typeof column.accessor === 'function' ? column.accessor(row) : column.accessor.includes('.') - ? column.accessor - .split('.') - .reduce((object: any, key: string) => object?.[key], row) - : row[column.accessor]; + ? column.accessor + .split('.') + .reduce((object: any, key: string) => object?.[key], row) + : row[column.accessor]; if (column.filterParsing) { return column.filterParsing(value); diff --git a/frontend/src/interfaces/user.ts b/frontend/src/interfaces/user.ts index c66f35ddf7..2dcf71e8b5 100644 --- a/frontend/src/interfaces/user.ts +++ b/frontend/src/interfaces/user.ts @@ -1,5 +1,5 @@ export const AccountTypes = ['User', 'Service Account'] as const; -type AccountType = typeof AccountTypes[number]; +type AccountType = (typeof AccountTypes)[number]; export interface IUser { id: number; diff --git a/frontend/src/openapi/models/_exportFormat.ts b/frontend/src/openapi/models/_exportFormat.ts index 679ac703f5..c9d0677131 100644 --- a/frontend/src/openapi/models/_exportFormat.ts +++ b/frontend/src/openapi/models/_exportFormat.ts @@ -4,7 +4,7 @@ * See `gen:api` script in package.json */ -export type _ExportFormat = typeof _ExportFormat[keyof typeof _ExportFormat]; +export type _ExportFormat = (typeof _ExportFormat)[keyof typeof _ExportFormat]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const _ExportFormat = { diff --git a/frontend/src/openapi/models/addonTypeSchemaAlertsItemType.ts b/frontend/src/openapi/models/addonTypeSchemaAlertsItemType.ts index 04da497176..6a978769c5 100644 --- a/frontend/src/openapi/models/addonTypeSchemaAlertsItemType.ts +++ b/frontend/src/openapi/models/addonTypeSchemaAlertsItemType.ts @@ -8,7 +8,7 @@ * The type of alert. This determines the color of the alert. */ export type AddonTypeSchemaAlertsItemType = - typeof AddonTypeSchemaAlertsItemType[keyof typeof AddonTypeSchemaAlertsItemType]; + (typeof AddonTypeSchemaAlertsItemType)[keyof typeof AddonTypeSchemaAlertsItemType]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const AddonTypeSchemaAlertsItemType = { diff --git a/frontend/src/openapi/models/adminPermissionsSchemaVersion.ts b/frontend/src/openapi/models/adminPermissionsSchemaVersion.ts index acdf6e47ff..d0b87067aa 100644 --- a/frontend/src/openapi/models/adminPermissionsSchemaVersion.ts +++ b/frontend/src/openapi/models/adminPermissionsSchemaVersion.ts @@ -8,7 +8,7 @@ * The api version of this response. A natural increasing number. Only increases if format changes */ export type AdminPermissionsSchemaVersion = - typeof AdminPermissionsSchemaVersion[keyof typeof AdminPermissionsSchemaVersion]; + (typeof AdminPermissionsSchemaVersion)[keyof typeof AdminPermissionsSchemaVersion]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const AdminPermissionsSchemaVersion = { diff --git a/frontend/src/openapi/models/apiTokenSchemaType.ts b/frontend/src/openapi/models/apiTokenSchemaType.ts index 0dbb6da19f..ccdd7636d4 100644 --- a/frontend/src/openapi/models/apiTokenSchemaType.ts +++ b/frontend/src/openapi/models/apiTokenSchemaType.ts @@ -8,7 +8,7 @@ * The type of API token */ export type ApiTokenSchemaType = - typeof ApiTokenSchemaType[keyof typeof ApiTokenSchemaType]; + (typeof ApiTokenSchemaType)[keyof typeof ApiTokenSchemaType]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const ApiTokenSchemaType = { diff --git a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfAction.ts b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfAction.ts index 747b03a3d7..232f2d908b 100644 --- a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfAction.ts +++ b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfAction.ts @@ -8,7 +8,7 @@ * The name of this action. */ export type ChangeRequestCreateFeatureSchemaOneOfAction = - typeof ChangeRequestCreateFeatureSchemaOneOfAction[keyof typeof ChangeRequestCreateFeatureSchemaOneOfAction]; + (typeof ChangeRequestCreateFeatureSchemaOneOfAction)[keyof typeof ChangeRequestCreateFeatureSchemaOneOfAction]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const ChangeRequestCreateFeatureSchemaOneOfAction = { diff --git a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfEightAction.ts b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfEightAction.ts index 9c678a9764..7e7bb556a9 100644 --- a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfEightAction.ts +++ b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfEightAction.ts @@ -8,7 +8,7 @@ * The name of this action. */ export type ChangeRequestCreateFeatureSchemaOneOfEightAction = - typeof ChangeRequestCreateFeatureSchemaOneOfEightAction[keyof typeof ChangeRequestCreateFeatureSchemaOneOfEightAction]; + (typeof ChangeRequestCreateFeatureSchemaOneOfEightAction)[keyof typeof ChangeRequestCreateFeatureSchemaOneOfEightAction]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const ChangeRequestCreateFeatureSchemaOneOfEightAction = { diff --git a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfFourAction.ts b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfFourAction.ts index 47f45d1dc3..a870b7a2fc 100644 --- a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfFourAction.ts +++ b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfFourAction.ts @@ -8,7 +8,7 @@ * The name of this action. */ export type ChangeRequestCreateFeatureSchemaOneOfFourAction = - typeof ChangeRequestCreateFeatureSchemaOneOfFourAction[keyof typeof ChangeRequestCreateFeatureSchemaOneOfFourAction]; + (typeof ChangeRequestCreateFeatureSchemaOneOfFourAction)[keyof typeof ChangeRequestCreateFeatureSchemaOneOfFourAction]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const ChangeRequestCreateFeatureSchemaOneOfFourAction = { diff --git a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfOneeightAction.ts b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfOneeightAction.ts index 7aa6693724..67285b3e0e 100644 --- a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfOneeightAction.ts +++ b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfOneeightAction.ts @@ -8,7 +8,7 @@ * The name of this action. */ export type ChangeRequestCreateFeatureSchemaOneOfOneeightAction = - typeof ChangeRequestCreateFeatureSchemaOneOfOneeightAction[keyof typeof ChangeRequestCreateFeatureSchemaOneOfOneeightAction]; + (typeof ChangeRequestCreateFeatureSchemaOneOfOneeightAction)[keyof typeof ChangeRequestCreateFeatureSchemaOneOfOneeightAction]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const ChangeRequestCreateFeatureSchemaOneOfOneeightAction = { diff --git a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfOneoneAction.ts b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfOneoneAction.ts index b58f2f9eba..5dfa50f9db 100644 --- a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfOneoneAction.ts +++ b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfOneoneAction.ts @@ -8,7 +8,7 @@ * The name of this action. */ export type ChangeRequestCreateFeatureSchemaOneOfOneoneAction = - typeof ChangeRequestCreateFeatureSchemaOneOfOneoneAction[keyof typeof ChangeRequestCreateFeatureSchemaOneOfOneoneAction]; + (typeof ChangeRequestCreateFeatureSchemaOneOfOneoneAction)[keyof typeof ChangeRequestCreateFeatureSchemaOneOfOneoneAction]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const ChangeRequestCreateFeatureSchemaOneOfOneoneAction = { diff --git a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfOnesixAction.ts b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfOnesixAction.ts index edabb77f86..f902eca0b7 100644 --- a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfOnesixAction.ts +++ b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfOnesixAction.ts @@ -8,7 +8,7 @@ * The name of this action. */ export type ChangeRequestCreateFeatureSchemaOneOfOnesixAction = - typeof ChangeRequestCreateFeatureSchemaOneOfOnesixAction[keyof typeof ChangeRequestCreateFeatureSchemaOneOfOnesixAction]; + (typeof ChangeRequestCreateFeatureSchemaOneOfOnesixAction)[keyof typeof ChangeRequestCreateFeatureSchemaOneOfOnesixAction]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const ChangeRequestCreateFeatureSchemaOneOfOnesixAction = { diff --git a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfOnethreeAction.ts b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfOnethreeAction.ts index 8e2d7094f4..eac0f1962d 100644 --- a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfOnethreeAction.ts +++ b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfOnethreeAction.ts @@ -8,7 +8,7 @@ * The name of this action. */ export type ChangeRequestCreateFeatureSchemaOneOfOnethreeAction = - typeof ChangeRequestCreateFeatureSchemaOneOfOnethreeAction[keyof typeof ChangeRequestCreateFeatureSchemaOneOfOnethreeAction]; + (typeof ChangeRequestCreateFeatureSchemaOneOfOnethreeAction)[keyof typeof ChangeRequestCreateFeatureSchemaOneOfOnethreeAction]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const ChangeRequestCreateFeatureSchemaOneOfOnethreeAction = { diff --git a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfSixAction.ts b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfSixAction.ts index 63142d9dd2..231284c0ce 100644 --- a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfSixAction.ts +++ b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfSixAction.ts @@ -8,7 +8,7 @@ * The name of this action. */ export type ChangeRequestCreateFeatureSchemaOneOfSixAction = - typeof ChangeRequestCreateFeatureSchemaOneOfSixAction[keyof typeof ChangeRequestCreateFeatureSchemaOneOfSixAction]; + (typeof ChangeRequestCreateFeatureSchemaOneOfSixAction)[keyof typeof ChangeRequestCreateFeatureSchemaOneOfSixAction]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const ChangeRequestCreateFeatureSchemaOneOfSixAction = { diff --git a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwozeroAction.ts b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwozeroAction.ts index 4fd50e5237..4bd265f5ea 100644 --- a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwozeroAction.ts +++ b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwozeroAction.ts @@ -8,7 +8,7 @@ * The name of this action. */ export type ChangeRequestCreateFeatureSchemaOneOfTwozeroAction = - typeof ChangeRequestCreateFeatureSchemaOneOfTwozeroAction[keyof typeof ChangeRequestCreateFeatureSchemaOneOfTwozeroAction]; + (typeof ChangeRequestCreateFeatureSchemaOneOfTwozeroAction)[keyof typeof ChangeRequestCreateFeatureSchemaOneOfTwozeroAction]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const ChangeRequestCreateFeatureSchemaOneOfTwozeroAction = { diff --git a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfAction.ts b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfAction.ts index 82065de305..711f9e9799 100644 --- a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfAction.ts +++ b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfAction.ts @@ -8,7 +8,7 @@ * The name of this action. */ export type ChangeRequestCreateSchemaOneOfAction = - typeof ChangeRequestCreateSchemaOneOfAction[keyof typeof ChangeRequestCreateSchemaOneOfAction]; + (typeof ChangeRequestCreateSchemaOneOfAction)[keyof typeof ChangeRequestCreateSchemaOneOfAction]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const ChangeRequestCreateSchemaOneOfAction = { diff --git a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfNineAction.ts b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfNineAction.ts index 6b3f2d886a..aae624a500 100644 --- a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfNineAction.ts +++ b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfNineAction.ts @@ -8,7 +8,7 @@ * The name of this action. */ export type ChangeRequestCreateSchemaOneOfNineAction = - typeof ChangeRequestCreateSchemaOneOfNineAction[keyof typeof ChangeRequestCreateSchemaOneOfNineAction]; + (typeof ChangeRequestCreateSchemaOneOfNineAction)[keyof typeof ChangeRequestCreateSchemaOneOfNineAction]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const ChangeRequestCreateSchemaOneOfNineAction = { diff --git a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfOneeightAction.ts b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfOneeightAction.ts index 70b0c40968..af368073d7 100644 --- a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfOneeightAction.ts +++ b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfOneeightAction.ts @@ -8,7 +8,7 @@ * The name of this action. */ export type ChangeRequestCreateSchemaOneOfOneeightAction = - typeof ChangeRequestCreateSchemaOneOfOneeightAction[keyof typeof ChangeRequestCreateSchemaOneOfOneeightAction]; + (typeof ChangeRequestCreateSchemaOneOfOneeightAction)[keyof typeof ChangeRequestCreateSchemaOneOfOneeightAction]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const ChangeRequestCreateSchemaOneOfOneeightAction = { diff --git a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfOneoneAction.ts b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfOneoneAction.ts index e67ee1c37c..86079b523f 100644 --- a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfOneoneAction.ts +++ b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfOneoneAction.ts @@ -8,7 +8,7 @@ * The name of this action. */ export type ChangeRequestCreateSchemaOneOfOneoneAction = - typeof ChangeRequestCreateSchemaOneOfOneoneAction[keyof typeof ChangeRequestCreateSchemaOneOfOneoneAction]; + (typeof ChangeRequestCreateSchemaOneOfOneoneAction)[keyof typeof ChangeRequestCreateSchemaOneOfOneoneAction]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const ChangeRequestCreateSchemaOneOfOneoneAction = { diff --git a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfOnesixAction.ts b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfOnesixAction.ts index baa9f42d09..51a020694d 100644 --- a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfOnesixAction.ts +++ b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfOnesixAction.ts @@ -8,7 +8,7 @@ * The name of this action. */ export type ChangeRequestCreateSchemaOneOfOnesixAction = - typeof ChangeRequestCreateSchemaOneOfOnesixAction[keyof typeof ChangeRequestCreateSchemaOneOfOnesixAction]; + (typeof ChangeRequestCreateSchemaOneOfOnesixAction)[keyof typeof ChangeRequestCreateSchemaOneOfOnesixAction]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const ChangeRequestCreateSchemaOneOfOnesixAction = { diff --git a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfOnethreeAction.ts b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfOnethreeAction.ts index ec626c60fa..ade450d37a 100644 --- a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfOnethreeAction.ts +++ b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfOnethreeAction.ts @@ -8,7 +8,7 @@ * The name of this action. */ export type ChangeRequestCreateSchemaOneOfOnethreeAction = - typeof ChangeRequestCreateSchemaOneOfOnethreeAction[keyof typeof ChangeRequestCreateSchemaOneOfOnethreeAction]; + (typeof ChangeRequestCreateSchemaOneOfOnethreeAction)[keyof typeof ChangeRequestCreateSchemaOneOfOnethreeAction]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const ChangeRequestCreateSchemaOneOfOnethreeAction = { diff --git a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfSixAction.ts b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfSixAction.ts index 174e0c001e..56165d6619 100644 --- a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfSixAction.ts +++ b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfSixAction.ts @@ -8,7 +8,7 @@ * The name of this action. */ export type ChangeRequestCreateSchemaOneOfSixAction = - typeof ChangeRequestCreateSchemaOneOfSixAction[keyof typeof ChangeRequestCreateSchemaOneOfSixAction]; + (typeof ChangeRequestCreateSchemaOneOfSixAction)[keyof typeof ChangeRequestCreateSchemaOneOfSixAction]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const ChangeRequestCreateSchemaOneOfSixAction = { diff --git a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfThreeAction.ts b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfThreeAction.ts index 5c305cc7b1..4286421abc 100644 --- a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfThreeAction.ts +++ b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfThreeAction.ts @@ -8,7 +8,7 @@ * The name of this action. */ export type ChangeRequestCreateSchemaOneOfThreeAction = - typeof ChangeRequestCreateSchemaOneOfThreeAction[keyof typeof ChangeRequestCreateSchemaOneOfThreeAction]; + (typeof ChangeRequestCreateSchemaOneOfThreeAction)[keyof typeof ChangeRequestCreateSchemaOneOfThreeAction]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const ChangeRequestCreateSchemaOneOfThreeAction = { diff --git a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwofiveAction.ts b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwofiveAction.ts index faa699e647..4767b1b089 100644 --- a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwofiveAction.ts +++ b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwofiveAction.ts @@ -8,7 +8,7 @@ * The name of this action. */ export type ChangeRequestCreateSchemaOneOfTwofiveAction = - typeof ChangeRequestCreateSchemaOneOfTwofiveAction[keyof typeof ChangeRequestCreateSchemaOneOfTwofiveAction]; + (typeof ChangeRequestCreateSchemaOneOfTwofiveAction)[keyof typeof ChangeRequestCreateSchemaOneOfTwofiveAction]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const ChangeRequestCreateSchemaOneOfTwofiveAction = { diff --git a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwooneAction.ts b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwooneAction.ts index 17d96cadfa..cfb9e737a7 100644 --- a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwooneAction.ts +++ b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwooneAction.ts @@ -8,7 +8,7 @@ * The name of this action. */ export type ChangeRequestCreateSchemaOneOfTwooneAction = - typeof ChangeRequestCreateSchemaOneOfTwooneAction[keyof typeof ChangeRequestCreateSchemaOneOfTwooneAction]; + (typeof ChangeRequestCreateSchemaOneOfTwooneAction)[keyof typeof ChangeRequestCreateSchemaOneOfTwooneAction]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const ChangeRequestCreateSchemaOneOfTwooneAction = { diff --git a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwothreeAction.ts b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwothreeAction.ts index a0968ce670..d9f8d7c51d 100644 --- a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwothreeAction.ts +++ b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwothreeAction.ts @@ -8,7 +8,7 @@ * The name of this action. */ export type ChangeRequestCreateSchemaOneOfTwothreeAction = - typeof ChangeRequestCreateSchemaOneOfTwothreeAction[keyof typeof ChangeRequestCreateSchemaOneOfTwothreeAction]; + (typeof ChangeRequestCreateSchemaOneOfTwothreeAction)[keyof typeof ChangeRequestCreateSchemaOneOfTwothreeAction]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const ChangeRequestCreateSchemaOneOfTwothreeAction = { diff --git a/frontend/src/openapi/models/changeRequestCreateSegmentSchemaOneOfAction.ts b/frontend/src/openapi/models/changeRequestCreateSegmentSchemaOneOfAction.ts index 46eeca9523..4f2e5fd8b9 100644 --- a/frontend/src/openapi/models/changeRequestCreateSegmentSchemaOneOfAction.ts +++ b/frontend/src/openapi/models/changeRequestCreateSegmentSchemaOneOfAction.ts @@ -8,7 +8,7 @@ * The name of this action. */ export type ChangeRequestCreateSegmentSchemaOneOfAction = - typeof ChangeRequestCreateSegmentSchemaOneOfAction[keyof typeof ChangeRequestCreateSegmentSchemaOneOfAction]; + (typeof ChangeRequestCreateSegmentSchemaOneOfAction)[keyof typeof ChangeRequestCreateSegmentSchemaOneOfAction]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const ChangeRequestCreateSegmentSchemaOneOfAction = { diff --git a/frontend/src/openapi/models/changeRequestCreateSegmentSchemaOneOfThreeAction.ts b/frontend/src/openapi/models/changeRequestCreateSegmentSchemaOneOfThreeAction.ts index ae799f3382..2394907f15 100644 --- a/frontend/src/openapi/models/changeRequestCreateSegmentSchemaOneOfThreeAction.ts +++ b/frontend/src/openapi/models/changeRequestCreateSegmentSchemaOneOfThreeAction.ts @@ -8,7 +8,7 @@ * The name of this action. */ export type ChangeRequestCreateSegmentSchemaOneOfThreeAction = - typeof ChangeRequestCreateSegmentSchemaOneOfThreeAction[keyof typeof ChangeRequestCreateSegmentSchemaOneOfThreeAction]; + (typeof ChangeRequestCreateSegmentSchemaOneOfThreeAction)[keyof typeof ChangeRequestCreateSegmentSchemaOneOfThreeAction]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const ChangeRequestCreateSegmentSchemaOneOfThreeAction = { diff --git a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfAction.ts b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfAction.ts index b2c69c8af7..62a7cc49f3 100644 --- a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfAction.ts +++ b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfAction.ts @@ -8,7 +8,7 @@ * The name of this action. */ export type ChangeRequestOneOrManyCreateSchemaOneOfAction = - typeof ChangeRequestOneOrManyCreateSchemaOneOfAction[keyof typeof ChangeRequestOneOrManyCreateSchemaOneOfAction]; + (typeof ChangeRequestOneOrManyCreateSchemaOneOfAction)[keyof typeof ChangeRequestOneOrManyCreateSchemaOneOfAction]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const ChangeRequestOneOrManyCreateSchemaOneOfAction = { diff --git a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfNineAction.ts b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfNineAction.ts index 4e777fe022..39b5361bf6 100644 --- a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfNineAction.ts +++ b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfNineAction.ts @@ -8,7 +8,7 @@ * The name of this action. */ export type ChangeRequestOneOrManyCreateSchemaOneOfNineAction = - typeof ChangeRequestOneOrManyCreateSchemaOneOfNineAction[keyof typeof ChangeRequestOneOrManyCreateSchemaOneOfNineAction]; + (typeof ChangeRequestOneOrManyCreateSchemaOneOfNineAction)[keyof typeof ChangeRequestOneOrManyCreateSchemaOneOfNineAction]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const ChangeRequestOneOrManyCreateSchemaOneOfNineAction = { diff --git a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfOneeightAction.ts b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfOneeightAction.ts index 05faff3f68..1c560ca9c0 100644 --- a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfOneeightAction.ts +++ b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfOneeightAction.ts @@ -8,7 +8,7 @@ * The name of this action. */ export type ChangeRequestOneOrManyCreateSchemaOneOfOneeightAction = - typeof ChangeRequestOneOrManyCreateSchemaOneOfOneeightAction[keyof typeof ChangeRequestOneOrManyCreateSchemaOneOfOneeightAction]; + (typeof ChangeRequestOneOrManyCreateSchemaOneOfOneeightAction)[keyof typeof ChangeRequestOneOrManyCreateSchemaOneOfOneeightAction]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const ChangeRequestOneOrManyCreateSchemaOneOfOneeightAction = { diff --git a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfOneoneAction.ts b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfOneoneAction.ts index 336a5a7ba4..24b4cd6a74 100644 --- a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfOneoneAction.ts +++ b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfOneoneAction.ts @@ -8,7 +8,7 @@ * The name of this action. */ export type ChangeRequestOneOrManyCreateSchemaOneOfOneoneAction = - typeof ChangeRequestOneOrManyCreateSchemaOneOfOneoneAction[keyof typeof ChangeRequestOneOrManyCreateSchemaOneOfOneoneAction]; + (typeof ChangeRequestOneOrManyCreateSchemaOneOfOneoneAction)[keyof typeof ChangeRequestOneOrManyCreateSchemaOneOfOneoneAction]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const ChangeRequestOneOrManyCreateSchemaOneOfOneoneAction = { diff --git a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfOnesixAction.ts b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfOnesixAction.ts index ccf359f223..ac9067d54c 100644 --- a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfOnesixAction.ts +++ b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfOnesixAction.ts @@ -8,7 +8,7 @@ * The name of this action. */ export type ChangeRequestOneOrManyCreateSchemaOneOfOnesixAction = - typeof ChangeRequestOneOrManyCreateSchemaOneOfOnesixAction[keyof typeof ChangeRequestOneOrManyCreateSchemaOneOfOnesixAction]; + (typeof ChangeRequestOneOrManyCreateSchemaOneOfOnesixAction)[keyof typeof ChangeRequestOneOrManyCreateSchemaOneOfOnesixAction]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const ChangeRequestOneOrManyCreateSchemaOneOfOnesixAction = { diff --git a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfOnethreeAction.ts b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfOnethreeAction.ts index b3f823bde9..8a110e2013 100644 --- a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfOnethreeAction.ts +++ b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfOnethreeAction.ts @@ -8,7 +8,7 @@ * The name of this action. */ export type ChangeRequestOneOrManyCreateSchemaOneOfOnethreeAction = - typeof ChangeRequestOneOrManyCreateSchemaOneOfOnethreeAction[keyof typeof ChangeRequestOneOrManyCreateSchemaOneOfOnethreeAction]; + (typeof ChangeRequestOneOrManyCreateSchemaOneOfOnethreeAction)[keyof typeof ChangeRequestOneOrManyCreateSchemaOneOfOnethreeAction]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const ChangeRequestOneOrManyCreateSchemaOneOfOnethreeAction = { diff --git a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfSixAction.ts b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfSixAction.ts index 71d18ef354..ec2c967c0b 100644 --- a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfSixAction.ts +++ b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfSixAction.ts @@ -8,7 +8,7 @@ * The name of this action. */ export type ChangeRequestOneOrManyCreateSchemaOneOfSixAction = - typeof ChangeRequestOneOrManyCreateSchemaOneOfSixAction[keyof typeof ChangeRequestOneOrManyCreateSchemaOneOfSixAction]; + (typeof ChangeRequestOneOrManyCreateSchemaOneOfSixAction)[keyof typeof ChangeRequestOneOrManyCreateSchemaOneOfSixAction]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const ChangeRequestOneOrManyCreateSchemaOneOfSixAction = { diff --git a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfThreeAction.ts b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfThreeAction.ts index 81d1f5b5ae..7b8fb66275 100644 --- a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfThreeAction.ts +++ b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfThreeAction.ts @@ -8,7 +8,7 @@ * The name of this action. */ export type ChangeRequestOneOrManyCreateSchemaOneOfThreeAction = - typeof ChangeRequestOneOrManyCreateSchemaOneOfThreeAction[keyof typeof ChangeRequestOneOrManyCreateSchemaOneOfThreeAction]; + (typeof ChangeRequestOneOrManyCreateSchemaOneOfThreeAction)[keyof typeof ChangeRequestOneOrManyCreateSchemaOneOfThreeAction]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const ChangeRequestOneOrManyCreateSchemaOneOfThreeAction = { diff --git a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwofiveAction.ts b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwofiveAction.ts index 8831578424..41f210fb6c 100644 --- a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwofiveAction.ts +++ b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwofiveAction.ts @@ -8,7 +8,7 @@ * The name of this action. */ export type ChangeRequestOneOrManyCreateSchemaOneOfTwofiveAction = - typeof ChangeRequestOneOrManyCreateSchemaOneOfTwofiveAction[keyof typeof ChangeRequestOneOrManyCreateSchemaOneOfTwofiveAction]; + (typeof ChangeRequestOneOrManyCreateSchemaOneOfTwofiveAction)[keyof typeof ChangeRequestOneOrManyCreateSchemaOneOfTwofiveAction]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const ChangeRequestOneOrManyCreateSchemaOneOfTwofiveAction = { diff --git a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwooneAction.ts b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwooneAction.ts index a40cf1209e..479a5ede6a 100644 --- a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwooneAction.ts +++ b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwooneAction.ts @@ -8,7 +8,7 @@ * The name of this action. */ export type ChangeRequestOneOrManyCreateSchemaOneOfTwooneAction = - typeof ChangeRequestOneOrManyCreateSchemaOneOfTwooneAction[keyof typeof ChangeRequestOneOrManyCreateSchemaOneOfTwooneAction]; + (typeof ChangeRequestOneOrManyCreateSchemaOneOfTwooneAction)[keyof typeof ChangeRequestOneOrManyCreateSchemaOneOfTwooneAction]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const ChangeRequestOneOrManyCreateSchemaOneOfTwooneAction = { diff --git a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwothreeAction.ts b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwothreeAction.ts index 7e91a3589d..c6c54e3dbc 100644 --- a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwothreeAction.ts +++ b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwothreeAction.ts @@ -8,7 +8,7 @@ * The name of this action. */ export type ChangeRequestOneOrManyCreateSchemaOneOfTwothreeAction = - typeof ChangeRequestOneOrManyCreateSchemaOneOfTwothreeAction[keyof typeof ChangeRequestOneOrManyCreateSchemaOneOfTwothreeAction]; + (typeof ChangeRequestOneOrManyCreateSchemaOneOfTwothreeAction)[keyof typeof ChangeRequestOneOrManyCreateSchemaOneOfTwothreeAction]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const ChangeRequestOneOrManyCreateSchemaOneOfTwothreeAction = { diff --git a/frontend/src/openapi/models/changeRequestScheduleSchemaStatus.ts b/frontend/src/openapi/models/changeRequestScheduleSchemaStatus.ts index 59d5ccecb8..1660b7901e 100644 --- a/frontend/src/openapi/models/changeRequestScheduleSchemaStatus.ts +++ b/frontend/src/openapi/models/changeRequestScheduleSchemaStatus.ts @@ -8,7 +8,7 @@ * The status of the schedule. */ export type ChangeRequestScheduleSchemaStatus = - typeof ChangeRequestScheduleSchemaStatus[keyof typeof ChangeRequestScheduleSchemaStatus]; + (typeof ChangeRequestScheduleSchemaStatus)[keyof typeof ChangeRequestScheduleSchemaStatus]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const ChangeRequestScheduleSchemaStatus = { diff --git a/frontend/src/openapi/models/changeRequestSchemaOneOfFourState.ts b/frontend/src/openapi/models/changeRequestSchemaOneOfFourState.ts index 49d4f4d764..4a0e76b7ec 100644 --- a/frontend/src/openapi/models/changeRequestSchemaOneOfFourState.ts +++ b/frontend/src/openapi/models/changeRequestSchemaOneOfFourState.ts @@ -8,7 +8,7 @@ * The current state of the change request. */ export type ChangeRequestSchemaOneOfFourState = - typeof ChangeRequestSchemaOneOfFourState[keyof typeof ChangeRequestSchemaOneOfFourState]; + (typeof ChangeRequestSchemaOneOfFourState)[keyof typeof ChangeRequestSchemaOneOfFourState]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const ChangeRequestSchemaOneOfFourState = { diff --git a/frontend/src/openapi/models/changeRequestSchemaOneOfState.ts b/frontend/src/openapi/models/changeRequestSchemaOneOfState.ts index 78464b9e2d..5bcb7f7eb8 100644 --- a/frontend/src/openapi/models/changeRequestSchemaOneOfState.ts +++ b/frontend/src/openapi/models/changeRequestSchemaOneOfState.ts @@ -8,7 +8,7 @@ * The current state of the change request. */ export type ChangeRequestSchemaOneOfState = - typeof ChangeRequestSchemaOneOfState[keyof typeof ChangeRequestSchemaOneOfState]; + (typeof ChangeRequestSchemaOneOfState)[keyof typeof ChangeRequestSchemaOneOfState]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const ChangeRequestSchemaOneOfState = { diff --git a/frontend/src/openapi/models/changeRequestStateSchemaOneOfState.ts b/frontend/src/openapi/models/changeRequestStateSchemaOneOfState.ts index 426ad02a22..8ebf62b85b 100644 --- a/frontend/src/openapi/models/changeRequestStateSchemaOneOfState.ts +++ b/frontend/src/openapi/models/changeRequestStateSchemaOneOfState.ts @@ -8,7 +8,7 @@ * The new desired state for the change request */ export type ChangeRequestStateSchemaOneOfState = - typeof ChangeRequestStateSchemaOneOfState[keyof typeof ChangeRequestStateSchemaOneOfState]; + (typeof ChangeRequestStateSchemaOneOfState)[keyof typeof ChangeRequestStateSchemaOneOfState]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const ChangeRequestStateSchemaOneOfState = { diff --git a/frontend/src/openapi/models/changeRequestStateSchemaOneOfThreeState.ts b/frontend/src/openapi/models/changeRequestStateSchemaOneOfThreeState.ts index 43454dae0c..c132cc2101 100644 --- a/frontend/src/openapi/models/changeRequestStateSchemaOneOfThreeState.ts +++ b/frontend/src/openapi/models/changeRequestStateSchemaOneOfThreeState.ts @@ -8,7 +8,7 @@ * The new desired state for the change request */ export type ChangeRequestStateSchemaOneOfThreeState = - typeof ChangeRequestStateSchemaOneOfThreeState[keyof typeof ChangeRequestStateSchemaOneOfThreeState]; + (typeof ChangeRequestStateSchemaOneOfThreeState)[keyof typeof ChangeRequestStateSchemaOneOfThreeState]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const ChangeRequestStateSchemaOneOfThreeState = { diff --git a/frontend/src/openapi/models/constraintSchemaOperator.ts b/frontend/src/openapi/models/constraintSchemaOperator.ts index f0ece50150..eea65ed86b 100644 --- a/frontend/src/openapi/models/constraintSchemaOperator.ts +++ b/frontend/src/openapi/models/constraintSchemaOperator.ts @@ -8,7 +8,7 @@ * 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/reference/strategy-constraints#strategy-constraint-operators). */ export type ConstraintSchemaOperator = - typeof ConstraintSchemaOperator[keyof typeof ConstraintSchemaOperator]; + (typeof ConstraintSchemaOperator)[keyof typeof ConstraintSchemaOperator]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const ConstraintSchemaOperator = { diff --git a/frontend/src/openapi/models/createProjectSchemaMode.ts b/frontend/src/openapi/models/createProjectSchemaMode.ts index 9b78664172..77133c7e4c 100644 --- a/frontend/src/openapi/models/createProjectSchemaMode.ts +++ b/frontend/src/openapi/models/createProjectSchemaMode.ts @@ -8,7 +8,7 @@ * A mode of the project affecting what actions are possible in this project */ export type CreateProjectSchemaMode = - typeof CreateProjectSchemaMode[keyof typeof CreateProjectSchemaMode]; + (typeof CreateProjectSchemaMode)[keyof typeof CreateProjectSchemaMode]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const CreateProjectSchemaMode = { diff --git a/frontend/src/openapi/models/createRoleWithPermissionsSchemaAnyOfFourType.ts b/frontend/src/openapi/models/createRoleWithPermissionsSchemaAnyOfFourType.ts index 0f396af36b..c1909b2d4c 100644 --- a/frontend/src/openapi/models/createRoleWithPermissionsSchemaAnyOfFourType.ts +++ b/frontend/src/openapi/models/createRoleWithPermissionsSchemaAnyOfFourType.ts @@ -8,7 +8,7 @@ * [Custom project roles](https://docs.getunleash.io/reference/rbac#custom-project-roles) contain a specific set of permissions for project resources. */ export type CreateRoleWithPermissionsSchemaAnyOfFourType = - typeof CreateRoleWithPermissionsSchemaAnyOfFourType[keyof typeof CreateRoleWithPermissionsSchemaAnyOfFourType]; + (typeof CreateRoleWithPermissionsSchemaAnyOfFourType)[keyof typeof CreateRoleWithPermissionsSchemaAnyOfFourType]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const CreateRoleWithPermissionsSchemaAnyOfFourType = { diff --git a/frontend/src/openapi/models/createRoleWithPermissionsSchemaAnyOfType.ts b/frontend/src/openapi/models/createRoleWithPermissionsSchemaAnyOfType.ts index 1c4852b608..e49c645b41 100644 --- a/frontend/src/openapi/models/createRoleWithPermissionsSchemaAnyOfType.ts +++ b/frontend/src/openapi/models/createRoleWithPermissionsSchemaAnyOfType.ts @@ -8,7 +8,7 @@ * [Custom root roles](https://docs.getunleash.io/reference/rbac#custom-root-roles) (type=root-custom) are root roles with a custom set of permissions. [Custom project roles](https://docs.getunleash.io/reference/rbac#custom-project-roles) (type=custom) contain a specific set of permissions for project resources. */ export type CreateRoleWithPermissionsSchemaAnyOfType = - typeof CreateRoleWithPermissionsSchemaAnyOfType[keyof typeof CreateRoleWithPermissionsSchemaAnyOfType]; + (typeof CreateRoleWithPermissionsSchemaAnyOfType)[keyof typeof CreateRoleWithPermissionsSchemaAnyOfType]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const CreateRoleWithPermissionsSchemaAnyOfType = { diff --git a/frontend/src/openapi/models/createStrategySchemaParametersItemType.ts b/frontend/src/openapi/models/createStrategySchemaParametersItemType.ts index 0c725cd31e..33e89ecf3e 100644 --- a/frontend/src/openapi/models/createStrategySchemaParametersItemType.ts +++ b/frontend/src/openapi/models/createStrategySchemaParametersItemType.ts @@ -8,7 +8,7 @@ * The [type of the parameter](https://docs.getunleash.io/reference/custom-activation-strategies#parameter-types) */ export type CreateStrategySchemaParametersItemType = - typeof CreateStrategySchemaParametersItemType[keyof typeof CreateStrategySchemaParametersItemType]; + (typeof CreateStrategySchemaParametersItemType)[keyof typeof CreateStrategySchemaParametersItemType]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const CreateStrategySchemaParametersItemType = { diff --git a/frontend/src/openapi/models/createStrategyVariantSchemaPayloadType.ts b/frontend/src/openapi/models/createStrategyVariantSchemaPayloadType.ts index 841a95647d..4eda08965c 100644 --- a/frontend/src/openapi/models/createStrategyVariantSchemaPayloadType.ts +++ b/frontend/src/openapi/models/createStrategyVariantSchemaPayloadType.ts @@ -8,7 +8,7 @@ * The type of the value. Commonly used types are string, number, json and csv. */ export type CreateStrategyVariantSchemaPayloadType = - typeof CreateStrategyVariantSchemaPayloadType[keyof typeof CreateStrategyVariantSchemaPayloadType]; + (typeof CreateStrategyVariantSchemaPayloadType)[keyof typeof CreateStrategyVariantSchemaPayloadType]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const CreateStrategyVariantSchemaPayloadType = { diff --git a/frontend/src/openapi/models/createStrategyVariantSchemaWeightType.ts b/frontend/src/openapi/models/createStrategyVariantSchemaWeightType.ts index 93eb582d69..73ddce7691 100644 --- a/frontend/src/openapi/models/createStrategyVariantSchemaWeightType.ts +++ b/frontend/src/openapi/models/createStrategyVariantSchemaWeightType.ts @@ -8,7 +8,7 @@ * Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/reference/feature-toggle-variants#variant-weight). */ export type CreateStrategyVariantSchemaWeightType = - typeof CreateStrategyVariantSchemaWeightType[keyof typeof CreateStrategyVariantSchemaWeightType]; + (typeof CreateStrategyVariantSchemaWeightType)[keyof typeof CreateStrategyVariantSchemaWeightType]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const CreateStrategyVariantSchemaWeightType = { diff --git a/frontend/src/openapi/models/edgeTokenSchemaType.ts b/frontend/src/openapi/models/edgeTokenSchemaType.ts index b3be7145ac..ff173ac254 100644 --- a/frontend/src/openapi/models/edgeTokenSchemaType.ts +++ b/frontend/src/openapi/models/edgeTokenSchemaType.ts @@ -8,7 +8,7 @@ * The [API token](https://docs.getunleash.io/reference/api-tokens-and-client-keys#api-tokens)'s **type**. Unleash supports three different types of API tokens ([ADMIN](https://docs.getunleash.io/reference/api-tokens-and-client-keys#admin-tokens), [CLIENT](https://docs.getunleash.io/reference/api-tokens-and-client-keys#client-tokens), [FRONTEND](https://docs.getunleash.io/reference/api-tokens-and-client-keys#front-end-tokens)). They all have varying access, so when validating a token it's important to know what kind you're dealing with */ export type EdgeTokenSchemaType = - typeof EdgeTokenSchemaType[keyof typeof EdgeTokenSchemaType]; + (typeof EdgeTokenSchemaType)[keyof typeof EdgeTokenSchemaType]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const EdgeTokenSchemaType = { diff --git a/frontend/src/openapi/models/eventSchemaType.ts b/frontend/src/openapi/models/eventSchemaType.ts index 19e6b6c45a..aa9df3ccfd 100644 --- a/frontend/src/openapi/models/eventSchemaType.ts +++ b/frontend/src/openapi/models/eventSchemaType.ts @@ -8,7 +8,7 @@ * What [type](https://docs.getunleash.io/reference/api/legacy/unleash/admin/events#event-type-description) of event this is */ export type EventSchemaType = - typeof EventSchemaType[keyof typeof EventSchemaType]; + (typeof EventSchemaType)[keyof typeof EventSchemaType]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const EventSchemaType = { diff --git a/frontend/src/openapi/models/eventsSchemaVersion.ts b/frontend/src/openapi/models/eventsSchemaVersion.ts index 0b1f8abc6e..df04beb0c9 100644 --- a/frontend/src/openapi/models/eventsSchemaVersion.ts +++ b/frontend/src/openapi/models/eventsSchemaVersion.ts @@ -8,7 +8,7 @@ * The api version of this response. A natural increasing number. Only increases if format changes */ export type EventsSchemaVersion = - typeof EventsSchemaVersion[keyof typeof EventsSchemaVersion]; + (typeof EventsSchemaVersion)[keyof typeof EventsSchemaVersion]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const EventsSchemaVersion = { diff --git a/frontend/src/openapi/models/featureEventsSchemaVersion.ts b/frontend/src/openapi/models/featureEventsSchemaVersion.ts index 14fa1ccd30..5691e44bbc 100644 --- a/frontend/src/openapi/models/featureEventsSchemaVersion.ts +++ b/frontend/src/openapi/models/featureEventsSchemaVersion.ts @@ -8,7 +8,7 @@ * An API versioning number */ export type FeatureEventsSchemaVersion = - typeof FeatureEventsSchemaVersion[keyof typeof FeatureEventsSchemaVersion]; + (typeof FeatureEventsSchemaVersion)[keyof typeof FeatureEventsSchemaVersion]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const FeatureEventsSchemaVersion = { diff --git a/frontend/src/openapi/models/featureTypesSchemaVersion.ts b/frontend/src/openapi/models/featureTypesSchemaVersion.ts index 14e1b4bf0f..c500b0959f 100644 --- a/frontend/src/openapi/models/featureTypesSchemaVersion.ts +++ b/frontend/src/openapi/models/featureTypesSchemaVersion.ts @@ -8,7 +8,7 @@ * The schema version used to describe the feature toggle types listed in the `types` property. */ export type FeatureTypesSchemaVersion = - typeof FeatureTypesSchemaVersion[keyof typeof FeatureTypesSchemaVersion]; + (typeof FeatureTypesSchemaVersion)[keyof typeof FeatureTypesSchemaVersion]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const FeatureTypesSchemaVersion = { diff --git a/frontend/src/openapi/models/healthCheckSchemaHealth.ts b/frontend/src/openapi/models/healthCheckSchemaHealth.ts index cf58d71975..2559096270 100644 --- a/frontend/src/openapi/models/healthCheckSchemaHealth.ts +++ b/frontend/src/openapi/models/healthCheckSchemaHealth.ts @@ -8,7 +8,7 @@ * The state this Unleash instance is in. GOOD if everything is ok, BAD if the instance should be restarted */ export type HealthCheckSchemaHealth = - typeof HealthCheckSchemaHealth[keyof typeof HealthCheckSchemaHealth]; + (typeof HealthCheckSchemaHealth)[keyof typeof HealthCheckSchemaHealth]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const HealthCheckSchemaHealth = { diff --git a/frontend/src/openapi/models/healthOverviewSchemaMode.ts b/frontend/src/openapi/models/healthOverviewSchemaMode.ts index 4260e7ae2b..2dd4d5dd02 100644 --- a/frontend/src/openapi/models/healthOverviewSchemaMode.ts +++ b/frontend/src/openapi/models/healthOverviewSchemaMode.ts @@ -8,7 +8,7 @@ * The project's [collaboration mode](https://docs.getunleash.io/reference/project-collaboration-mode). Determines whether non-project members can submit change requests or not. */ export type HealthOverviewSchemaMode = - typeof HealthOverviewSchemaMode[keyof typeof HealthOverviewSchemaMode]; + (typeof HealthOverviewSchemaMode)[keyof typeof HealthOverviewSchemaMode]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const HealthOverviewSchemaMode = { diff --git a/frontend/src/openapi/models/healthReportSchemaMode.ts b/frontend/src/openapi/models/healthReportSchemaMode.ts index b50500c136..a6a077964b 100644 --- a/frontend/src/openapi/models/healthReportSchemaMode.ts +++ b/frontend/src/openapi/models/healthReportSchemaMode.ts @@ -8,7 +8,7 @@ * The project's [collaboration mode](https://docs.getunleash.io/reference/project-collaboration-mode). Determines whether non-project members can submit change requests or not. */ export type HealthReportSchemaMode = - typeof HealthReportSchemaMode[keyof typeof HealthReportSchemaMode]; + (typeof HealthReportSchemaMode)[keyof typeof HealthReportSchemaMode]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const HealthReportSchemaMode = { diff --git a/frontend/src/openapi/models/instanceAdminStatsSchemaClientAppsItemRange.ts b/frontend/src/openapi/models/instanceAdminStatsSchemaClientAppsItemRange.ts index 6e3065ca32..801b06aa9c 100644 --- a/frontend/src/openapi/models/instanceAdminStatsSchemaClientAppsItemRange.ts +++ b/frontend/src/openapi/models/instanceAdminStatsSchemaClientAppsItemRange.ts @@ -8,7 +8,7 @@ * A description of a time range */ export type InstanceAdminStatsSchemaClientAppsItemRange = - typeof InstanceAdminStatsSchemaClientAppsItemRange[keyof typeof InstanceAdminStatsSchemaClientAppsItemRange]; + (typeof InstanceAdminStatsSchemaClientAppsItemRange)[keyof typeof InstanceAdminStatsSchemaClientAppsItemRange]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const InstanceAdminStatsSchemaClientAppsItemRange = { diff --git a/frontend/src/openapi/models/notificationsSchemaItemNotificationType.ts b/frontend/src/openapi/models/notificationsSchemaItemNotificationType.ts index 4c70176cc4..13ddfac3cd 100644 --- a/frontend/src/openapi/models/notificationsSchemaItemNotificationType.ts +++ b/frontend/src/openapi/models/notificationsSchemaItemNotificationType.ts @@ -8,7 +8,7 @@ * The type of the notification used e.g. for the graphical hints */ export type NotificationsSchemaItemNotificationType = - typeof NotificationsSchemaItemNotificationType[keyof typeof NotificationsSchemaItemNotificationType]; + (typeof NotificationsSchemaItemNotificationType)[keyof typeof NotificationsSchemaItemNotificationType]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const NotificationsSchemaItemNotificationType = { diff --git a/frontend/src/openapi/models/oidcSettingsSchemaDefaultRootRole.ts b/frontend/src/openapi/models/oidcSettingsSchemaDefaultRootRole.ts index ad1bfee89a..4e7ad22420 100644 --- a/frontend/src/openapi/models/oidcSettingsSchemaDefaultRootRole.ts +++ b/frontend/src/openapi/models/oidcSettingsSchemaDefaultRootRole.ts @@ -8,7 +8,7 @@ * [Default role](https://docs.getunleash.io/reference/rbac#standard-roles) granted to users auto-created from email. Only relevant if autoCreate is `true` */ export type OidcSettingsSchemaDefaultRootRole = - typeof OidcSettingsSchemaDefaultRootRole[keyof typeof OidcSettingsSchemaDefaultRootRole]; + (typeof OidcSettingsSchemaDefaultRootRole)[keyof typeof OidcSettingsSchemaDefaultRootRole]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const OidcSettingsSchemaDefaultRootRole = { diff --git a/frontend/src/openapi/models/oidcSettingsSchemaIdTokenSigningAlgorithm.ts b/frontend/src/openapi/models/oidcSettingsSchemaIdTokenSigningAlgorithm.ts index 27fc38981b..53cbe01889 100644 --- a/frontend/src/openapi/models/oidcSettingsSchemaIdTokenSigningAlgorithm.ts +++ b/frontend/src/openapi/models/oidcSettingsSchemaIdTokenSigningAlgorithm.ts @@ -8,7 +8,7 @@ * The signing algorithm used to sign our token. Refer to the [JWT signatures](https://jwt.io/introduction) documentation for more information. */ export type OidcSettingsSchemaIdTokenSigningAlgorithm = - typeof OidcSettingsSchemaIdTokenSigningAlgorithm[keyof typeof OidcSettingsSchemaIdTokenSigningAlgorithm]; + (typeof OidcSettingsSchemaIdTokenSigningAlgorithm)[keyof typeof OidcSettingsSchemaIdTokenSigningAlgorithm]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const OidcSettingsSchemaIdTokenSigningAlgorithm = { diff --git a/frontend/src/openapi/models/patchSchemaOp.ts b/frontend/src/openapi/models/patchSchemaOp.ts index 06ef2e0f38..e7bded8eb4 100644 --- a/frontend/src/openapi/models/patchSchemaOp.ts +++ b/frontend/src/openapi/models/patchSchemaOp.ts @@ -7,7 +7,7 @@ /** * The kind of operation to perform */ -export type PatchSchemaOp = typeof PatchSchemaOp[keyof typeof PatchSchemaOp]; +export type PatchSchemaOp = (typeof PatchSchemaOp)[keyof typeof PatchSchemaOp]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const PatchSchemaOp = { diff --git a/frontend/src/openapi/models/playgroundConstraintSchemaOperator.ts b/frontend/src/openapi/models/playgroundConstraintSchemaOperator.ts index c22cc14e24..1cf1d51844 100644 --- a/frontend/src/openapi/models/playgroundConstraintSchemaOperator.ts +++ b/frontend/src/openapi/models/playgroundConstraintSchemaOperator.ts @@ -8,7 +8,7 @@ * 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/reference/strategy-constraints#strategy-constraint-operators). */ export type PlaygroundConstraintSchemaOperator = - typeof PlaygroundConstraintSchemaOperator[keyof typeof PlaygroundConstraintSchemaOperator]; + (typeof PlaygroundConstraintSchemaOperator)[keyof typeof PlaygroundConstraintSchemaOperator]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const PlaygroundConstraintSchemaOperator = { diff --git a/frontend/src/openapi/models/playgroundStrategySchemaResultAnyOfEvaluationStatus.ts b/frontend/src/openapi/models/playgroundStrategySchemaResultAnyOfEvaluationStatus.ts index 318e7cc11d..82ecbd3e3a 100644 --- a/frontend/src/openapi/models/playgroundStrategySchemaResultAnyOfEvaluationStatus.ts +++ b/frontend/src/openapi/models/playgroundStrategySchemaResultAnyOfEvaluationStatus.ts @@ -8,7 +8,7 @@ * 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. The `unevaluated` result is also returned if the strategy is disabled. */ export type PlaygroundStrategySchemaResultAnyOfEvaluationStatus = - typeof PlaygroundStrategySchemaResultAnyOfEvaluationStatus[keyof typeof PlaygroundStrategySchemaResultAnyOfEvaluationStatus]; + (typeof PlaygroundStrategySchemaResultAnyOfEvaluationStatus)[keyof typeof PlaygroundStrategySchemaResultAnyOfEvaluationStatus]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const PlaygroundStrategySchemaResultAnyOfEvaluationStatus = { diff --git a/frontend/src/openapi/models/playgroundStrategySchemaResultAnyOfFourEvaluationStatus.ts b/frontend/src/openapi/models/playgroundStrategySchemaResultAnyOfFourEvaluationStatus.ts index 9771ab7469..c3dbc40617 100644 --- a/frontend/src/openapi/models/playgroundStrategySchemaResultAnyOfFourEvaluationStatus.ts +++ b/frontend/src/openapi/models/playgroundStrategySchemaResultAnyOfFourEvaluationStatus.ts @@ -8,7 +8,7 @@ * Signals that this strategy was evaluated successfully. */ export type PlaygroundStrategySchemaResultAnyOfFourEvaluationStatus = - typeof PlaygroundStrategySchemaResultAnyOfFourEvaluationStatus[keyof typeof PlaygroundStrategySchemaResultAnyOfFourEvaluationStatus]; + (typeof PlaygroundStrategySchemaResultAnyOfFourEvaluationStatus)[keyof typeof PlaygroundStrategySchemaResultAnyOfFourEvaluationStatus]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const PlaygroundStrategySchemaResultAnyOfFourEvaluationStatus = { diff --git a/frontend/src/openapi/models/playgroundStrategySchemaResultAnyOfFourVariantPayloadType.ts b/frontend/src/openapi/models/playgroundStrategySchemaResultAnyOfFourVariantPayloadType.ts index dbef26d109..d99057740c 100644 --- a/frontend/src/openapi/models/playgroundStrategySchemaResultAnyOfFourVariantPayloadType.ts +++ b/frontend/src/openapi/models/playgroundStrategySchemaResultAnyOfFourVariantPayloadType.ts @@ -8,7 +8,7 @@ * The format of the payload. */ export type PlaygroundStrategySchemaResultAnyOfFourVariantPayloadType = - typeof PlaygroundStrategySchemaResultAnyOfFourVariantPayloadType[keyof typeof PlaygroundStrategySchemaResultAnyOfFourVariantPayloadType]; + (typeof PlaygroundStrategySchemaResultAnyOfFourVariantPayloadType)[keyof typeof PlaygroundStrategySchemaResultAnyOfFourVariantPayloadType]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const PlaygroundStrategySchemaResultAnyOfFourVariantPayloadType = { diff --git a/frontend/src/openapi/models/projectCreatedSchemaMode.ts b/frontend/src/openapi/models/projectCreatedSchemaMode.ts index 0e4fc0dd4e..7df0ceae50 100644 --- a/frontend/src/openapi/models/projectCreatedSchemaMode.ts +++ b/frontend/src/openapi/models/projectCreatedSchemaMode.ts @@ -8,7 +8,7 @@ * A mode of the project affecting what actions are possible in this project */ export type ProjectCreatedSchemaMode = - typeof ProjectCreatedSchemaMode[keyof typeof ProjectCreatedSchemaMode]; + (typeof ProjectCreatedSchemaMode)[keyof typeof ProjectCreatedSchemaMode]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const ProjectCreatedSchemaMode = { diff --git a/frontend/src/openapi/models/projectOverviewSchemaMode.ts b/frontend/src/openapi/models/projectOverviewSchemaMode.ts index 34a0bdcbf8..69e0cd8003 100644 --- a/frontend/src/openapi/models/projectOverviewSchemaMode.ts +++ b/frontend/src/openapi/models/projectOverviewSchemaMode.ts @@ -8,7 +8,7 @@ * The project's [collaboration mode](https://docs.getunleash.io/reference/project-collaboration-mode). Determines whether non-project members can submit change requests or not. */ export type ProjectOverviewSchemaMode = - typeof ProjectOverviewSchemaMode[keyof typeof ProjectOverviewSchemaMode]; + (typeof ProjectOverviewSchemaMode)[keyof typeof ProjectOverviewSchemaMode]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const ProjectOverviewSchemaMode = { diff --git a/frontend/src/openapi/models/projectSchemaMode.ts b/frontend/src/openapi/models/projectSchemaMode.ts index b625071cec..947db93654 100644 --- a/frontend/src/openapi/models/projectSchemaMode.ts +++ b/frontend/src/openapi/models/projectSchemaMode.ts @@ -8,7 +8,7 @@ * The project's [collaboration mode](https://docs.getunleash.io/reference/project-collaboration-mode). Determines whether non-project members can submit change requests or not. */ export type ProjectSchemaMode = - typeof ProjectSchemaMode[keyof typeof ProjectSchemaMode]; + (typeof ProjectSchemaMode)[keyof typeof ProjectSchemaMode]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const ProjectSchemaMode = { diff --git a/frontend/src/openapi/models/projectSettingsSchemaDefaultStickiness.ts b/frontend/src/openapi/models/projectSettingsSchemaDefaultStickiness.ts index a629be11b0..2339ff7cd8 100644 --- a/frontend/src/openapi/models/projectSettingsSchemaDefaultStickiness.ts +++ b/frontend/src/openapi/models/projectSettingsSchemaDefaultStickiness.ts @@ -8,7 +8,7 @@ * The [default stickiness for this project](https://docs.getunleash.io/reference/stickiness#project-default-stickiness) */ export type ProjectSettingsSchemaDefaultStickiness = - typeof ProjectSettingsSchemaDefaultStickiness[keyof typeof ProjectSettingsSchemaDefaultStickiness]; + (typeof ProjectSettingsSchemaDefaultStickiness)[keyof typeof ProjectSettingsSchemaDefaultStickiness]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const ProjectSettingsSchemaDefaultStickiness = { diff --git a/frontend/src/openapi/models/projectSettingsSchemaMode.ts b/frontend/src/openapi/models/projectSettingsSchemaMode.ts index eacf616200..fc17990f5d 100644 --- a/frontend/src/openapi/models/projectSettingsSchemaMode.ts +++ b/frontend/src/openapi/models/projectSettingsSchemaMode.ts @@ -8,7 +8,7 @@ * The project's [collaboration mode](https://docs.getunleash.io/reference/project-collaboration-mode). */ export type ProjectSettingsSchemaMode = - typeof ProjectSettingsSchemaMode[keyof typeof ProjectSettingsSchemaMode]; + (typeof ProjectSettingsSchemaMode)[keyof typeof ProjectSettingsSchemaMode]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const ProjectSettingsSchemaMode = { diff --git a/frontend/src/openapi/models/proxyFeatureSchemaVariantPayloadType.ts b/frontend/src/openapi/models/proxyFeatureSchemaVariantPayloadType.ts index abab0ac8c7..6680e4f6fe 100644 --- a/frontend/src/openapi/models/proxyFeatureSchemaVariantPayloadType.ts +++ b/frontend/src/openapi/models/proxyFeatureSchemaVariantPayloadType.ts @@ -8,7 +8,7 @@ * The format of the payload. */ export type ProxyFeatureSchemaVariantPayloadType = - typeof ProxyFeatureSchemaVariantPayloadType[keyof typeof ProxyFeatureSchemaVariantPayloadType]; + (typeof ProxyFeatureSchemaVariantPayloadType)[keyof typeof ProxyFeatureSchemaVariantPayloadType]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const ProxyFeatureSchemaVariantPayloadType = { diff --git a/frontend/src/openapi/models/requestsPerSecondSchemaDataResultType.ts b/frontend/src/openapi/models/requestsPerSecondSchemaDataResultType.ts index d8463ff012..6011add60f 100644 --- a/frontend/src/openapi/models/requestsPerSecondSchemaDataResultType.ts +++ b/frontend/src/openapi/models/requestsPerSecondSchemaDataResultType.ts @@ -8,7 +8,7 @@ * Prometheus compatible result type. */ export type RequestsPerSecondSchemaDataResultType = - typeof RequestsPerSecondSchemaDataResultType[keyof typeof RequestsPerSecondSchemaDataResultType]; + (typeof RequestsPerSecondSchemaDataResultType)[keyof typeof RequestsPerSecondSchemaDataResultType]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const RequestsPerSecondSchemaDataResultType = { diff --git a/frontend/src/openapi/models/requestsPerSecondSchemaStatus.ts b/frontend/src/openapi/models/requestsPerSecondSchemaStatus.ts index 602296c505..361503c66f 100644 --- a/frontend/src/openapi/models/requestsPerSecondSchemaStatus.ts +++ b/frontend/src/openapi/models/requestsPerSecondSchemaStatus.ts @@ -8,7 +8,7 @@ * Whether the query against prometheus succeeded or failed */ export type RequestsPerSecondSchemaStatus = - typeof RequestsPerSecondSchemaStatus[keyof typeof RequestsPerSecondSchemaStatus]; + (typeof RequestsPerSecondSchemaStatus)[keyof typeof RequestsPerSecondSchemaStatus]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const RequestsPerSecondSchemaStatus = { diff --git a/frontend/src/openapi/models/samlSettingsSchemaDefaultRootRole.ts b/frontend/src/openapi/models/samlSettingsSchemaDefaultRootRole.ts index 76fb4f4398..b6ead47df4 100644 --- a/frontend/src/openapi/models/samlSettingsSchemaDefaultRootRole.ts +++ b/frontend/src/openapi/models/samlSettingsSchemaDefaultRootRole.ts @@ -8,7 +8,7 @@ * Assign this root role to auto created users */ export type SamlSettingsSchemaDefaultRootRole = - typeof SamlSettingsSchemaDefaultRootRole[keyof typeof SamlSettingsSchemaDefaultRootRole]; + (typeof SamlSettingsSchemaDefaultRootRole)[keyof typeof SamlSettingsSchemaDefaultRootRole]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const SamlSettingsSchemaDefaultRootRole = { diff --git a/frontend/src/openapi/models/searchEventsSchemaType.ts b/frontend/src/openapi/models/searchEventsSchemaType.ts index cefd2a6d59..5bf5b73275 100644 --- a/frontend/src/openapi/models/searchEventsSchemaType.ts +++ b/frontend/src/openapi/models/searchEventsSchemaType.ts @@ -8,7 +8,7 @@ * Find events by event type (case-sensitive). */ export type SearchEventsSchemaType = - typeof SearchEventsSchemaType[keyof typeof SearchEventsSchemaType]; + (typeof SearchEventsSchemaType)[keyof typeof SearchEventsSchemaType]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const SearchEventsSchemaType = { diff --git a/frontend/src/openapi/models/strategiesSchemaVersion.ts b/frontend/src/openapi/models/strategiesSchemaVersion.ts index 062ce565f9..4bd441fd8c 100644 --- a/frontend/src/openapi/models/strategiesSchemaVersion.ts +++ b/frontend/src/openapi/models/strategiesSchemaVersion.ts @@ -8,7 +8,7 @@ * Version of the strategies schema */ export type StrategiesSchemaVersion = - typeof StrategiesSchemaVersion[keyof typeof StrategiesSchemaVersion]; + (typeof StrategiesSchemaVersion)[keyof typeof StrategiesSchemaVersion]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const StrategiesSchemaVersion = { diff --git a/frontend/src/openapi/models/strategyVariantSchemaPayloadType.ts b/frontend/src/openapi/models/strategyVariantSchemaPayloadType.ts index 0372035f80..ffd4204aa5 100644 --- a/frontend/src/openapi/models/strategyVariantSchemaPayloadType.ts +++ b/frontend/src/openapi/models/strategyVariantSchemaPayloadType.ts @@ -8,7 +8,7 @@ * The type of the value. Commonly used types are string, number, json and csv. */ export type StrategyVariantSchemaPayloadType = - typeof StrategyVariantSchemaPayloadType[keyof typeof StrategyVariantSchemaPayloadType]; + (typeof StrategyVariantSchemaPayloadType)[keyof typeof StrategyVariantSchemaPayloadType]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const StrategyVariantSchemaPayloadType = { diff --git a/frontend/src/openapi/models/strategyVariantSchemaWeightType.ts b/frontend/src/openapi/models/strategyVariantSchemaWeightType.ts index be2437f17e..02eb2ae757 100644 --- a/frontend/src/openapi/models/strategyVariantSchemaWeightType.ts +++ b/frontend/src/openapi/models/strategyVariantSchemaWeightType.ts @@ -8,7 +8,7 @@ * Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/reference/feature-toggle-variants#variant-weight). */ export type StrategyVariantSchemaWeightType = - typeof StrategyVariantSchemaWeightType[keyof typeof StrategyVariantSchemaWeightType]; + (typeof StrategyVariantSchemaWeightType)[keyof typeof StrategyVariantSchemaWeightType]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const StrategyVariantSchemaWeightType = { diff --git a/frontend/src/openapi/models/uiConfigSchemaAuthenticationType.ts b/frontend/src/openapi/models/uiConfigSchemaAuthenticationType.ts index a6a9b07ac3..1ffdf6bb8d 100644 --- a/frontend/src/openapi/models/uiConfigSchemaAuthenticationType.ts +++ b/frontend/src/openapi/models/uiConfigSchemaAuthenticationType.ts @@ -8,7 +8,7 @@ * The type of authentication enabled for this Unleash instance */ export type UiConfigSchemaAuthenticationType = - typeof UiConfigSchemaAuthenticationType[keyof typeof UiConfigSchemaAuthenticationType]; + (typeof UiConfigSchemaAuthenticationType)[keyof typeof UiConfigSchemaAuthenticationType]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const UiConfigSchemaAuthenticationType = { diff --git a/frontend/src/openapi/models/updateProjectEnterpriseSettingsSchemaMode.ts b/frontend/src/openapi/models/updateProjectEnterpriseSettingsSchemaMode.ts index b26750b319..6edc7c3a0f 100644 --- a/frontend/src/openapi/models/updateProjectEnterpriseSettingsSchemaMode.ts +++ b/frontend/src/openapi/models/updateProjectEnterpriseSettingsSchemaMode.ts @@ -8,7 +8,7 @@ * A mode of the project affecting what actions are possible in this project */ export type UpdateProjectEnterpriseSettingsSchemaMode = - typeof UpdateProjectEnterpriseSettingsSchemaMode[keyof typeof UpdateProjectEnterpriseSettingsSchemaMode]; + (typeof UpdateProjectEnterpriseSettingsSchemaMode)[keyof typeof UpdateProjectEnterpriseSettingsSchemaMode]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const UpdateProjectEnterpriseSettingsSchemaMode = { diff --git a/frontend/src/openapi/models/updateProjectSchemaMode.ts b/frontend/src/openapi/models/updateProjectSchemaMode.ts index ac5c1cca20..d2b2bc92d8 100644 --- a/frontend/src/openapi/models/updateProjectSchemaMode.ts +++ b/frontend/src/openapi/models/updateProjectSchemaMode.ts @@ -8,7 +8,7 @@ * A mode of the project affecting what actions are possible in this project */ export type UpdateProjectSchemaMode = - typeof UpdateProjectSchemaMode[keyof typeof UpdateProjectSchemaMode]; + (typeof UpdateProjectSchemaMode)[keyof typeof UpdateProjectSchemaMode]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const UpdateProjectSchemaMode = { diff --git a/frontend/src/openapi/models/updateStrategySchemaParametersItemType.ts b/frontend/src/openapi/models/updateStrategySchemaParametersItemType.ts index 1b34e8e13d..eafd3e2ecb 100644 --- a/frontend/src/openapi/models/updateStrategySchemaParametersItemType.ts +++ b/frontend/src/openapi/models/updateStrategySchemaParametersItemType.ts @@ -8,7 +8,7 @@ * The [type of the parameter](https://docs.getunleash.io/reference/custom-activation-strategies#parameter-types) */ export type UpdateStrategySchemaParametersItemType = - typeof UpdateStrategySchemaParametersItemType[keyof typeof UpdateStrategySchemaParametersItemType]; + (typeof UpdateStrategySchemaParametersItemType)[keyof typeof UpdateStrategySchemaParametersItemType]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const UpdateStrategySchemaParametersItemType = { diff --git a/frontend/src/openapi/models/variantFlagSchemaPayloadType.ts b/frontend/src/openapi/models/variantFlagSchemaPayloadType.ts index 08caa52993..85f7038ba1 100644 --- a/frontend/src/openapi/models/variantFlagSchemaPayloadType.ts +++ b/frontend/src/openapi/models/variantFlagSchemaPayloadType.ts @@ -8,7 +8,7 @@ * The type of data contained. */ export type VariantFlagSchemaPayloadType = - typeof VariantFlagSchemaPayloadType[keyof typeof VariantFlagSchemaPayloadType]; + (typeof VariantFlagSchemaPayloadType)[keyof typeof VariantFlagSchemaPayloadType]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const VariantFlagSchemaPayloadType = { diff --git a/frontend/src/openapi/models/variantSchemaPayloadType.ts b/frontend/src/openapi/models/variantSchemaPayloadType.ts index c6d053690b..a13d363b2a 100644 --- a/frontend/src/openapi/models/variantSchemaPayloadType.ts +++ b/frontend/src/openapi/models/variantSchemaPayloadType.ts @@ -8,7 +8,7 @@ * The type of the value. Commonly used types are string, number, json and csv. */ export type VariantSchemaPayloadType = - typeof VariantSchemaPayloadType[keyof typeof VariantSchemaPayloadType]; + (typeof VariantSchemaPayloadType)[keyof typeof VariantSchemaPayloadType]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const VariantSchemaPayloadType = { diff --git a/frontend/src/openapi/models/variantSchemaWeightType.ts b/frontend/src/openapi/models/variantSchemaWeightType.ts index d515e58ae7..82084d4215 100644 --- a/frontend/src/openapi/models/variantSchemaWeightType.ts +++ b/frontend/src/openapi/models/variantSchemaWeightType.ts @@ -8,7 +8,7 @@ * Set to fix if this variant must have exactly the weight allocated to it. If the type is variable, the weight will adjust so that the total weight of all variants adds up to 1000 */ export type VariantSchemaWeightType = - typeof VariantSchemaWeightType[keyof typeof VariantSchemaWeightType]; + (typeof VariantSchemaWeightType)[keyof typeof VariantSchemaWeightType]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const VariantSchemaWeightType = { diff --git a/frontend/yarn.lock b/frontend/yarn.lock index 99468e744d..62962986c2 100644 --- a/frontend/yarn.lock +++ b/frontend/yarn.lock @@ -489,47 +489,47 @@ "@babel/helper-validator-identifier" "^7.22.20" to-fast-properties "^2.0.0" -"@biomejs/biome@^1.3.3": - version "1.3.3" - resolved "https://registry.yarnpkg.com/@biomejs/biome/-/biome-1.3.3.tgz#aeec38fcc5fe2f9ec299c4f66512cc7bd0044ee8" - integrity sha512-vTJn7RBzLWIabUuUIoEopO860YyBrbPEu4Pztfd28jRU5QD074hKZ9IQs24pFO6A2R296gaeYmN62f4u7pUruQ== +"@biomejs/biome@^1.4.0": + version "1.4.0" + resolved "https://registry.yarnpkg.com/@biomejs/biome/-/biome-1.4.0.tgz#b512e1e7a4f3ec0bc0aceaa99fab8eded2bd95c9" + integrity sha512-/rDlao6ra38nhxo4IYCqWCzfTJcpMk4YHjSVBI9yN/ifdhnzSwirL25xDVH7G9hZdNhpF9g78FaPJhFa9DX0Cw== optionalDependencies: - "@biomejs/cli-darwin-arm64" "1.3.3" - "@biomejs/cli-darwin-x64" "1.3.3" - "@biomejs/cli-linux-arm64" "1.3.3" - "@biomejs/cli-linux-x64" "1.3.3" - "@biomejs/cli-win32-arm64" "1.3.3" - "@biomejs/cli-win32-x64" "1.3.3" + "@biomejs/cli-darwin-arm64" "1.4.0" + "@biomejs/cli-darwin-x64" "1.4.0" + "@biomejs/cli-linux-arm64" "1.4.0" + "@biomejs/cli-linux-x64" "1.4.0" + "@biomejs/cli-win32-arm64" "1.4.0" + "@biomejs/cli-win32-x64" "1.4.0" -"@biomejs/cli-darwin-arm64@1.3.3": - version "1.3.3" - resolved "https://registry.yarnpkg.com/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-1.3.3.tgz#2efd927d5eef7ce6c874cbda7c05243f689f2d8e" - integrity sha512-2X87ZfbmWwe4NGukrUvnoYdI//muSgjNUCAHJ2DO+kS1sB7kDy1s6PN/IYyTJuqRcJtDuOnSpaUDE7KxR1YhtA== +"@biomejs/cli-darwin-arm64@1.4.0": + version "1.4.0" + resolved "https://registry.yarnpkg.com/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-1.4.0.tgz#08e9e19ae72fd980be65307844a71cd7ba96f4f2" + integrity sha512-nBrtVRwr4IlTtxLOHwBwLv1sWvggf9/DnT5/ALIANJZOpoING6u8jHWipods69wK8kGa8Ld7iwHm3W5BrJJFFQ== -"@biomejs/cli-darwin-x64@1.3.3": - version "1.3.3" - resolved "https://registry.yarnpkg.com/@biomejs/cli-darwin-x64/-/cli-darwin-x64-1.3.3.tgz#abf6b08aac01503a56a85e12cf21057cf1edfe2a" - integrity sha512-t+7DWTCbSgHOBcPsGKuwS1qh1z9zbXFK8i8ktE18yW7iF/W0zI62k44fYqYeFJKlb0Q08aqUvez3L+AQJFsn+w== +"@biomejs/cli-darwin-x64@1.4.0": + version "1.4.0" + resolved "https://registry.yarnpkg.com/@biomejs/cli-darwin-x64/-/cli-darwin-x64-1.4.0.tgz#ae04f06a4446fa718dfeba863af6250a0b4185e6" + integrity sha512-nny0VgOj3ksUGzU5GblgtQEvrAZFgFe1IJBoYOP978OQdDrg7BpS+GX5udfof87Dl4ZlHPRBU951ceHOxF7BTg== -"@biomejs/cli-linux-arm64@1.3.3": - version "1.3.3" - resolved "https://registry.yarnpkg.com/@biomejs/cli-linux-arm64/-/cli-linux-arm64-1.3.3.tgz#e76b00a50707c4c530306c7a6cdbdc3d32c2d86d" - integrity sha512-D8CvXaB8lkXXBQ6B3n0MXSSZFiE60+aNHorBLimVTtKiMod8QvAP425oQFZFul5wMXZqPLGTKFjXbAi/rvnc1A== +"@biomejs/cli-linux-arm64@1.4.0": + version "1.4.0" + resolved "https://registry.yarnpkg.com/@biomejs/cli-linux-arm64/-/cli-linux-arm64-1.4.0.tgz#40fbd94cff2c8437d18136d25801ead441ac6739" + integrity sha512-gyLkT/Yh9xfW1T9yjQs/2txkCeG0e+LRs0adLugMwN0ptcNTRyusBvUoiHnpB+9rS6hWu9ZCedGMNmKQ8v2GSw== -"@biomejs/cli-linux-x64@1.3.3": - version "1.3.3" - resolved "https://registry.yarnpkg.com/@biomejs/cli-linux-x64/-/cli-linux-x64-1.3.3.tgz#fd3e4ed41a42805ec289956b32eaec7b6a10aa2f" - integrity sha512-bqB05fwJnRZwRlcm/BS/s4qPickqiXZkiU/nOYvHApfsPeqgSHgv5HWoBYuSUjgqBbX3XZJArsC5dCcVW7vAJw== +"@biomejs/cli-linux-x64@1.4.0": + version "1.4.0" + resolved "https://registry.yarnpkg.com/@biomejs/cli-linux-x64/-/cli-linux-x64-1.4.0.tgz#813d191b020a90aa829a5fc37dfeea393696a0f1" + integrity sha512-LIxTuU2zSbIHM9XDYjQphJ5UU8h2eS7yR8uIvGYSba7Qt9AKqfbenyVJTsVnoj1CXxxgKNVSc/wVmlOlGz5DBQ== -"@biomejs/cli-win32-arm64@1.3.3": - version "1.3.3" - resolved "https://registry.yarnpkg.com/@biomejs/cli-win32-arm64/-/cli-win32-arm64-1.3.3.tgz#d6f21a838ffc24d10193e70e5feb42c98fbb62fe" - integrity sha512-muFOjAv1ONMfaJDlo4Ds+Qb9lkdSLM2XaxOe3AJPejSq3Vi0aRr51ZnE02BofMnL2sVsOA9cO54wibsuTcopbw== +"@biomejs/cli-win32-arm64@1.4.0": + version "1.4.0" + resolved "https://registry.yarnpkg.com/@biomejs/cli-win32-arm64/-/cli-win32-arm64-1.4.0.tgz#a6edb984d48d9a9db5971e13c3047ab19fd592c2" + integrity sha512-U2jT1/0wZLJIRqnU8qHAfi/A/+yUwlL3sYJgqs+wO0BbR22WGQZlj03u5FdpEoyLXdsLv1pbeIcjNp+V0NYXWA== -"@biomejs/cli-win32-x64@1.3.3": - version "1.3.3" - resolved "https://registry.yarnpkg.com/@biomejs/cli-win32-x64/-/cli-win32-x64-1.3.3.tgz#0186fba137dc4c4d12680d93ab7e3d6bd3e8f57c" - integrity sha512-PMkMhS4smmmTMflxuZUx3REFSazEL9xsGscvZO1dKWI4ET23la+KxEM4TlSpjOyO66UerqSkuUlZecn0QhD63A== +"@biomejs/cli-win32-x64@1.4.0": + version "1.4.0" + resolved "https://registry.yarnpkg.com/@biomejs/cli-win32-x64/-/cli-win32-x64-1.4.0.tgz#0bb1292c5e279198912b6ec35649124ba8349b72" + integrity sha512-gN6DgyyBxIwoCovAUFJHFWVallb0cLosayDRtNyxU3MDv/atZxSXOWQezfVKBIbgmFPxYWJObd+awvbPYXwwww== "@braintree/sanitize-url@^6.0.0": version "6.0.2" diff --git a/package.json b/package.json index c2ccfe5f2c..0d8d988acb 100644 --- a/package.json +++ b/package.json @@ -151,7 +151,7 @@ "devDependencies": { "@apidevtools/swagger-parser": "10.1.0", "@babel/core": "7.23.3", - "@biomejs/biome": "1.3.3", + "@biomejs/biome": "1.4.0", "@swc/core": "1.3.99", "@swc/jest": "0.2.29", "@types/bcryptjs": "2.4.6", diff --git a/src/lib/addons/feature-event-formatter-md.ts b/src/lib/addons/feature-event-formatter-md.ts index 76dbf488a7..000fefb529 100644 --- a/src/lib/addons/feature-event-formatter-md.ts +++ b/src/lib/addons/feature-event-formatter-md.ts @@ -435,12 +435,12 @@ export class FeatureEventFormatterMd implements FeatureEventFormatter { preData?.parameters[propertyName] === data?.parameters[propertyName] ? '' : !preData - ? ` ${propertyName} to ${userIdText( - data?.parameters[propertyName], - )}` - : ` ${propertyName} from ${userIdText( - preData.parameters[propertyName], - )} to ${userIdText(data?.parameters[propertyName])}`; + ? ` ${propertyName} to ${userIdText( + data?.parameters[propertyName], + )}` + : ` ${propertyName} from ${userIdText( + preData.parameters[propertyName], + )} to ${userIdText(data?.parameters[propertyName])}`; const constraintText = this.constraintChangeText( preData?.constraints, data?.constraints, @@ -469,20 +469,20 @@ export class FeatureEventFormatterMd implements FeatureEventFormatter { oldStickiness === stickiness ? '' : !oldStickiness - ? ` stickiness to ${stickiness}` - : ` stickiness from ${oldStickiness} to ${stickiness}`; + ? ` stickiness to ${stickiness}` + : ` stickiness from ${oldStickiness} to ${stickiness}`; const rolloutText = oldRollout === rollout ? '' : !oldRollout - ? ` rollout to ${rollout}%` - : ` rollout from ${oldRollout}% to ${rollout}%`; + ? ` rollout to ${rollout}%` + : ` rollout from ${oldRollout}% to ${rollout}%`; const groupIdText = oldGroupId === groupId ? '' : !oldGroupId - ? ` groupId to ${groupId}` - : ` groupId from ${oldGroupId} to ${groupId}`; + ? ` groupId to ${groupId}` + : ` groupId from ${oldGroupId} to ${groupId}`; const constraintText = this.constraintChangeText( preData?.constraints, data?.constraints, diff --git a/src/lib/db/access-store.ts b/src/lib/db/access-store.ts index 3212122ebb..a49c420cb9 100644 --- a/src/lib/db/access-store.ts +++ b/src/lib/db/access-store.ts @@ -92,10 +92,13 @@ export class AccessStore implements IAccessStore { .from(T.PERMISSIONS) .whereIn('id', permissionIds); - const rowByPermissionId = rows.reduce((acc, row) => { - acc[row.id] = row; - return acc; - }, {} as Map); + const rowByPermissionId = rows.reduce( + (acc, row) => { + acc[row.id] = row; + return acc; + }, + {} as Map, + ); const permissionsWithNames = permissions.map((permission) => ({ name: rowByPermissionId[permission.id].permission, diff --git a/src/lib/error/unleash-error.ts b/src/lib/error/unleash-error.ts index 2f83bee693..565808a48b 100644 --- a/src/lib/error/unleash-error.ts +++ b/src/lib/error/unleash-error.ts @@ -33,7 +33,7 @@ export const UnleashApiErrorTypes = [ 'InternalError', ] as const; -export type UnleashApiErrorName = typeof UnleashApiErrorTypes[number]; +export type UnleashApiErrorName = (typeof UnleashApiErrorTypes)[number]; export abstract class UnleashError extends Error { id: string; diff --git a/src/lib/features/feature-toggle/query-builders/feature-toggle-list-builder.ts b/src/lib/features/feature-toggle/query-builders/feature-toggle-list-builder.ts index c55acdd496..a7b5501817 100644 --- a/src/lib/features/feature-toggle/query-builders/feature-toggle-list-builder.ts +++ b/src/lib/features/feature-toggle/query-builders/feature-toggle-list-builder.ts @@ -1,5 +1,5 @@ -import { Knex } from "knex"; -import FeatureToggleStore from "../feature-toggle-store"; +import { Knex } from 'knex'; +import FeatureToggleStore from '../feature-toggle-store'; export class FeatureToggleListBuilder { private db: Knex; @@ -15,97 +15,118 @@ export class FeatureToggleListBuilder { getSelectColumns = () => { return this.selectColumns; - } + }; query = (table: string) => { this.internalQuery = this.db(table); return this; - } + }; addSelectColumn = (column: string | Knex.Raw) => { this.selectColumns.push(column); - } + }; withArchived = (includeArchived: boolean) => { - this.internalQuery.modify(FeatureToggleStore.filterByArchived, includeArchived) + this.internalQuery.modify( + FeatureToggleStore.filterByArchived, + includeArchived, + ); return this; - } + }; withStrategies = (filter: string) => { - this.internalQuery.leftJoin( - this.db('feature_strategies') - .select('*') - .where({ environment: filter }) - .as('fs'), - 'fs.feature_name', - 'features.name', - ) + this.internalQuery.leftJoin( + this.db('feature_strategies') + .select('*') + .where({ environment: filter }) + .as('fs'), + 'fs.feature_name', + 'features.name', + ); - return this; - } + return this; + }; withFeatureEnvironments = (filter: string) => { - this.internalQuery.leftJoin( - this.db('feature_environments') - .select( - 'feature_name', - 'enabled', - 'environment', - 'variants', - 'last_seen_at', - ) - .where({ environment: filter }) - .as('fe'), - 'fe.feature_name', - 'features.name', - ) + this.internalQuery.leftJoin( + this.db('feature_environments') + .select( + 'feature_name', + 'enabled', + 'environment', + 'variants', + 'last_seen_at', + ) + .where({ environment: filter }) + .as('fe'), + 'fe.feature_name', + 'features.name', + ); - return this; - } + return this; + }; withFeatureStrategySegments = () => { - this.internalQuery.leftJoin( - 'feature_strategy_segment as fss', - `fss.feature_strategy_id`, - `fs.id`, - ) + this.internalQuery.leftJoin( + 'feature_strategy_segment as fss', + `fss.feature_strategy_id`, + `fs.id`, + ); - return this; - } + return this; + }; withSegments = () => { - this.internalQuery.leftJoin('segments', `segments.id`, `fss.segment_id`) + this.internalQuery.leftJoin( + 'segments', + `segments.id`, + `fss.segment_id`, + ); return this; - } + }; withDependentFeatureToggles = () => { - this.internalQuery.leftJoin('dependent_features as df', 'df.child', 'features.name') + this.internalQuery.leftJoin( + 'dependent_features as df', + 'df.child', + 'features.name', + ); return this; - } + }; withFeatureTags = () => { - this.internalQuery.leftJoin('feature_tag as ft', 'ft.feature_name', 'features.name'); + this.internalQuery.leftJoin( + 'feature_tag as ft', + 'ft.feature_name', + 'features.name', + ); return this; - } + }; withLastSeenByEnvironment = (archived = false) => { if (archived) { - this.internalQuery.leftJoin('last_seen_at_metrics', function() { - this.on('last_seen_at_metrics.feature_name', '=', 'features.name') - .andOnNotNull('features.archived_at'); - }) + this.internalQuery.leftJoin('last_seen_at_metrics', function () { + this.on( + 'last_seen_at_metrics.feature_name', + '=', + 'features.name', + ).andOnNotNull('features.archived_at'); + }); } else { - this.internalQuery.leftJoin('last_seen_at_metrics', 'last_seen_at_metrics.feature_name', 'features.name'); + this.internalQuery.leftJoin( + 'last_seen_at_metrics', + 'last_seen_at_metrics.feature_name', + 'features.name', + ); } - return this; - } + }; withFavorites = (userId: number) => { this.internalQuery.leftJoin(`favorite_features`, function () { @@ -117,9 +138,9 @@ export class FeatureToggleListBuilder { }); return this; - } + }; forProject = (project: string[]) => { this.internalQuery.whereIn('features.project', project); - } + }; } diff --git a/src/lib/features/playground/generateObjectCombinations.ts b/src/lib/features/playground/generateObjectCombinations.ts index 8f40ed270d..53a7d56655 100644 --- a/src/lib/features/playground/generateObjectCombinations.ts +++ b/src/lib/features/playground/generateObjectCombinations.ts @@ -3,16 +3,19 @@ type Dict = { [K in keyof T]: (string | number)[] }; export const splitByComma = >( obj: T, ): Dict => { - return Object.entries(obj).reduce((acc, [key, value]) => { - if (key === 'properties' && typeof value === 'object') { - const nested = splitByComma(value as any); - return { ...acc, ...nested }; - } else if (typeof value === 'string') { - return { ...acc, [key]: value.split(',') }; - } else { - return { ...acc, [key]: [value] }; - } - }, {} as Dict); + return Object.entries(obj).reduce( + (acc, [key, value]) => { + if (key === 'properties' && typeof value === 'object') { + const nested = splitByComma(value as any); + return { ...acc, ...nested }; + } else if (typeof value === 'string') { + return { ...acc, [key]: value.split(',') }; + } else { + return { ...acc, [key]: [value] }; + } + }, + {} as Dict, + ); }; export const generateCombinations = >( diff --git a/src/lib/features/playground/offline-unleash-client.test.ts b/src/lib/features/playground/offline-unleash-client.test.ts index e8cd525e5e..bad4d00b0b 100644 --- a/src/lib/features/playground/offline-unleash-client.test.ts +++ b/src/lib/features/playground/offline-unleash-client.test.ts @@ -262,7 +262,7 @@ describe('offline client', () => { { values: ['my-app-name'], inverted: false, - operator: 'IN' as 'IN', + operator: 'IN' as const, contextName: 'appName', caseInsensitive: false, }, @@ -282,7 +282,7 @@ describe('offline client', () => { { values: ['client-test'], inverted: false, - operator: 'IN' as 'IN', + operator: 'IN' as const, contextName: 'appName', caseInsensitive: false, }, @@ -409,7 +409,7 @@ describe('offline client', () => { { values: ['my-app-name'], inverted: false, - operator: 'IN' as 'IN', + operator: 'IN' as const, contextName: 'appName', caseInsensitive: false, }, diff --git a/src/lib/features/playground/playground-view-model.test.ts b/src/lib/features/playground/playground-view-model.test.ts index 3c5c99fc3b..2d440a0f30 100644 --- a/src/lib/features/playground/playground-view-model.test.ts +++ b/src/lib/features/playground/playground-view-model.test.ts @@ -7,7 +7,7 @@ describe('playground result to view model', () => { it('adds edit links to playground models', () => { const input = { environment: 'development', - projects: '*' as '*', + projects: '*' as const, context: { appName: 'playground', userId: '1' }, }; const featureResult = { @@ -27,7 +27,7 @@ describe('playground result to view model', () => { }, result: { enabled: false, - evaluationStatus: 'complete' as 'complete', + evaluationStatus: 'complete' as const, }, constraints: [], segments: [], @@ -67,7 +67,7 @@ describe('playground result to view model', () => { it('adds edit links to advanced playground models', () => { const input = { environments: ['development'], - projects: '*' as '*', + projects: '*' as const, context: { appName: 'playground', userId: '1' }, }; @@ -93,8 +93,7 @@ describe('playground result to view model', () => { }, result: { enabled: false, - evaluationStatus: - 'complete' as 'complete', + evaluationStatus: 'complete' as const, }, constraints: [], segments: [], diff --git a/src/lib/openapi/index.ts b/src/lib/openapi/index.ts index 8b8156a71e..5865df238e 100644 --- a/src/lib/openapi/index.ts +++ b/src/lib/openapi/index.ts @@ -188,10 +188,10 @@ import { segmentStrategiesSchema } from './spec/admin-strategies-schema'; import { featureDependenciesSchema } from './spec/feature-dependencies-schema'; // Schemas must have an $id property on the form "#/components/schemas/mySchema". -export type SchemaId = typeof schemas[keyof typeof schemas]['$id']; +export type SchemaId = (typeof schemas)[keyof typeof schemas]['$id']; // Schemas must list all their $refs in `components`, including nested schemas. -export type SchemaRef = typeof schemas[keyof typeof schemas]['components']; +export type SchemaRef = (typeof schemas)[keyof typeof schemas]['components']; // JSON schema properties that should not be included in the OpenAPI spec. export interface JsonSchemaProps { diff --git a/src/lib/openapi/meta-schema-rules.test.ts b/src/lib/openapi/meta-schema-rules.test.ts index 7a4f710197..2649514423 100644 --- a/src/lib/openapi/meta-schema-rules.test.ts +++ b/src/lib/openapi/meta-schema-rules.test.ts @@ -8,7 +8,7 @@ type Rule = { name: string; match?: ( schemaName: string, - schema: typeof schemas[SchemaNames], + schema: (typeof schemas)[SchemaNames], ) => boolean; metaSchema: Schema; knownExceptions?: string[]; diff --git a/src/lib/openapi/spec/playground-request-schema.test.ts b/src/lib/openapi/spec/playground-request-schema.test.ts index 0583720901..9dfb17958d 100644 --- a/src/lib/openapi/spec/playground-request-schema.test.ts +++ b/src/lib/openapi/spec/playground-request-schema.test.ts @@ -17,7 +17,7 @@ export const generate = (): Arbitrary => fc.uniqueArray( fc.oneof(fc.lorem({ maxCount: 1 }), urlFriendlyString()), ), - fc.constant('*' as '*'), + fc.constant('*' as const), ), context: generateContext(), }); diff --git a/src/lib/openapi/util/openapi-tags.ts b/src/lib/openapi/util/openapi-tags.ts index dd9dbc452b..6049b6074f 100644 --- a/src/lib/openapi/util/openapi-tags.ts +++ b/src/lib/openapi/util/openapi-tags.ts @@ -156,4 +156,4 @@ export const openApiTags = [...OPENAPI_TAGS]; export type OpenApiTag = // The official OpenAPI tags that we use. - typeof OPENAPI_TAGS[number]['name']; + (typeof OPENAPI_TAGS)[number]['name']; diff --git a/src/lib/proxy/proxy-repository.ts b/src/lib/proxy/proxy-repository.ts index 3f1e398d84..579f892577 100644 --- a/src/lib/proxy/proxy-repository.ts +++ b/src/lib/proxy/proxy-repository.ts @@ -96,17 +96,20 @@ export class ProxyRepository extends EventEmitter implements RepositoryInterface } private async dataPolling() { - this.timer = setTimeout(async () => { - if (!this.running) { - clearTimeout(this.timer!); - this.timer = null; - this.logger.debug( - 'Shutting down data polling for proxy repository', - ); - return; - } - await this.dataPolling(); - }, this.randomizeDelay(this.interval, this.interval * 2)).unref(); + this.timer = setTimeout( + async () => { + if (!this.running) { + clearTimeout(this.timer!); + this.timer = null; + this.logger.debug( + 'Shutting down data polling for proxy repository', + ); + return; + } + await this.dataPolling(); + }, + this.randomizeDelay(this.interval, this.interval * 2), + ).unref(); await this.loadDataForToken(); } diff --git a/src/lib/server-impl.test.ts b/src/lib/server-impl.test.ts index 4c5d1415e1..7a1bd69d68 100644 --- a/src/lib/server-impl.test.ts +++ b/src/lib/server-impl.test.ts @@ -58,13 +58,7 @@ jest.mock('./util/db-lock', () => ({ withDbLock: () => (fn) => fn, })); -jest.mock( - './util/version', - () => - function () { - return 'unleash-test-version'; - }, -); +jest.mock('./util/version', () => () => 'unleash-test-version'); test('should call preHook', async () => { let called = 0; diff --git a/src/lib/types/events.ts b/src/lib/types/events.ts index 8f942efb5c..35ba29b1ad 100644 --- a/src/lib/types/events.ts +++ b/src/lib/types/events.ts @@ -293,7 +293,7 @@ export const IEventTypes = [ BANNER_UPDATED, BANNER_DELETED, ] as const; -export type IEventType = typeof IEventTypes[number]; +export type IEventType = (typeof IEventTypes)[number]; export interface IBaseEvent { type: IEventType; diff --git a/src/lib/types/model.ts b/src/lib/types/model.ts index 4a3c0b1e9b..e2d5043b3a 100644 --- a/src/lib/types/model.ts +++ b/src/lib/types/model.ts @@ -7,7 +7,7 @@ import { IProjectStats } from 'lib/services/project-service'; import { CreateFeatureStrategySchema } from '../openapi'; import { ProjectEnvironment } from './stores/project-store'; -export type Operator = typeof ALL_OPERATORS[number]; +export type Operator = (typeof ALL_OPERATORS)[number]; export interface IConstraint { contextName: string; diff --git a/src/lib/types/serialize-dates.ts b/src/lib/types/serialize-dates.ts index ba36957d9a..5390a67c96 100644 --- a/src/lib/types/serialize-dates.ts +++ b/src/lib/types/serialize-dates.ts @@ -1,8 +1,8 @@ type SerializedDates = T extends Date ? string : T extends object - ? { [P in keyof T]: SerializedDates } - : T; + ? { [P in keyof T]: SerializedDates } + : T; // Convert Date objects to strings recursively. export const serializeDates = (obj: T): SerializedDates => { diff --git a/src/lib/types/user.ts b/src/lib/types/user.ts index 32ff121019..c7c9965b8a 100644 --- a/src/lib/types/user.ts +++ b/src/lib/types/user.ts @@ -2,7 +2,7 @@ import Joi, { ValidationError } from 'joi'; import { generateImageUrl } from '../util/generateImageUrl'; export const AccountTypes = ['User', 'Service Account'] as const; -type AccountType = typeof AccountTypes[number]; +type AccountType = (typeof AccountTypes)[number]; export interface UserData { id: number; diff --git a/src/lib/util/omit-keys.ts b/src/lib/util/omit-keys.ts index 66207ec4b1..ded3ad4bc3 100644 --- a/src/lib/util/omit-keys.ts +++ b/src/lib/util/omit-keys.ts @@ -7,7 +7,7 @@ export interface OmitKeys { // https://stackoverflow.com/questions/53966509/typescript-type-safe-omit-function export const omitKeys: OmitKeys = (obj, ...keys) => { const ret = {} as { - [K in keyof typeof obj]: typeof obj[K]; + [K in keyof typeof obj]: (typeof obj)[K]; }; let key: keyof typeof obj; diff --git a/src/test/arbitraries.test.ts b/src/test/arbitraries.test.ts index 6de177c851..d6cfd528e4 100644 --- a/src/test/arbitraries.test.ts +++ b/src/test/arbitraries.test.ts @@ -143,17 +143,17 @@ export const variant = (): Arbitrary => payload: fc.option( fc.oneof( fc.record({ - type: fc.constant('json' as 'json'), + type: fc.constant('json' as const), value: fc.json(), }), fc.record({ - type: fc.constant('csv' as 'csv'), + type: fc.constant('csv' as const), value: fc .array(fc.lorem()) .map((words) => words.join(',')), }), fc.record({ - type: fc.constant('string' as 'string'), + type: fc.constant('string' as const), value: fc.string(), }), ), diff --git a/src/test/e2e/api/admin/playground.e2e.test.ts b/src/test/e2e/api/admin/playground.e2e.test.ts index f6ac7afa12..d23f6b8417 100644 --- a/src/test/e2e/api/admin/playground.e2e.test.ts +++ b/src/test/e2e/api/admin/playground.e2e.test.ts @@ -346,7 +346,7 @@ describe('Playground API E2E', () => { .record({ values: appName().map(toArray), inverted: fc.constant(false), - operator: fc.constant('IN' as 'IN'), + operator: fc.constant('IN' as const), contextName: fc.constant('appName'), caseInsensitive: fc.boolean(), }) @@ -416,17 +416,17 @@ describe('Playground API E2E', () => { fc.record({ name: fc.constant('remoteAddress'), value: fc.ipV4(), - operator: fc.constant('IN' as 'IN'), + operator: fc.constant('IN' as const), }), fc.record({ name: fc.constant('sessionId'), value: fc.uuid(), - operator: fc.constant('IN' as 'IN'), + operator: fc.constant('IN' as const), }), fc.record({ name: fc.constant('userId'), value: fc.emailAddress(), - operator: fc.constant('IN' as 'IN'), + operator: fc.constant('IN' as const), }), ); @@ -524,7 +524,7 @@ describe('Playground API E2E', () => { { values: [context.value], inverted: false, - operator: 'IN' as 'IN', + operator: 'IN' as const, contextName: context.name, caseInsensitive: false, }, @@ -649,7 +649,7 @@ describe('Playground API E2E', () => { constraints: [ { contextName: customContextFieldName, - operator: 'IN' as 'IN', + operator: 'IN' as const, values: [customContextValue], }, ], diff --git a/src/test/e2e/services/playground-service.test.ts b/src/test/e2e/services/playground-service.test.ts index c42532ed8f..b90fd9a3bb 100644 --- a/src/test/e2e/services/playground-service.test.ts +++ b/src/test/e2e/services/playground-service.test.ts @@ -913,7 +913,7 @@ describe('the playground service (e2e)', () => { constraints: [ { contextName: 'appName', - operator: 'IN' as 'IN', + operator: 'IN' as const, values: [uuid], }, ], @@ -977,7 +977,7 @@ describe('the playground service (e2e)', () => { constraints: [ { contextName: 'appName', - operator: 'IN' as 'IN', + operator: 'IN' as const, values: [uuid], }, ], diff --git a/yarn.lock b/yarn.lock index 6b0bca4e33..e4f833f6ef 100644 --- a/yarn.lock +++ b/yarn.lock @@ -616,47 +616,47 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@biomejs/biome@1.3.3": - version "1.3.3" - resolved "https://registry.yarnpkg.com/@biomejs/biome/-/biome-1.3.3.tgz#aeec38fcc5fe2f9ec299c4f66512cc7bd0044ee8" - integrity sha512-vTJn7RBzLWIabUuUIoEopO860YyBrbPEu4Pztfd28jRU5QD074hKZ9IQs24pFO6A2R296gaeYmN62f4u7pUruQ== +"@biomejs/biome@1.4.0": + version "1.4.0" + resolved "https://registry.yarnpkg.com/@biomejs/biome/-/biome-1.4.0.tgz#b512e1e7a4f3ec0bc0aceaa99fab8eded2bd95c9" + integrity sha512-/rDlao6ra38nhxo4IYCqWCzfTJcpMk4YHjSVBI9yN/ifdhnzSwirL25xDVH7G9hZdNhpF9g78FaPJhFa9DX0Cw== optionalDependencies: - "@biomejs/cli-darwin-arm64" "1.3.3" - "@biomejs/cli-darwin-x64" "1.3.3" - "@biomejs/cli-linux-arm64" "1.3.3" - "@biomejs/cli-linux-x64" "1.3.3" - "@biomejs/cli-win32-arm64" "1.3.3" - "@biomejs/cli-win32-x64" "1.3.3" + "@biomejs/cli-darwin-arm64" "1.4.0" + "@biomejs/cli-darwin-x64" "1.4.0" + "@biomejs/cli-linux-arm64" "1.4.0" + "@biomejs/cli-linux-x64" "1.4.0" + "@biomejs/cli-win32-arm64" "1.4.0" + "@biomejs/cli-win32-x64" "1.4.0" -"@biomejs/cli-darwin-arm64@1.3.3": - version "1.3.3" - resolved "https://registry.yarnpkg.com/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-1.3.3.tgz#2efd927d5eef7ce6c874cbda7c05243f689f2d8e" - integrity sha512-2X87ZfbmWwe4NGukrUvnoYdI//muSgjNUCAHJ2DO+kS1sB7kDy1s6PN/IYyTJuqRcJtDuOnSpaUDE7KxR1YhtA== +"@biomejs/cli-darwin-arm64@1.4.0": + version "1.4.0" + resolved "https://registry.yarnpkg.com/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-1.4.0.tgz#08e9e19ae72fd980be65307844a71cd7ba96f4f2" + integrity sha512-nBrtVRwr4IlTtxLOHwBwLv1sWvggf9/DnT5/ALIANJZOpoING6u8jHWipods69wK8kGa8Ld7iwHm3W5BrJJFFQ== -"@biomejs/cli-darwin-x64@1.3.3": - version "1.3.3" - resolved "https://registry.yarnpkg.com/@biomejs/cli-darwin-x64/-/cli-darwin-x64-1.3.3.tgz#abf6b08aac01503a56a85e12cf21057cf1edfe2a" - integrity sha512-t+7DWTCbSgHOBcPsGKuwS1qh1z9zbXFK8i8ktE18yW7iF/W0zI62k44fYqYeFJKlb0Q08aqUvez3L+AQJFsn+w== +"@biomejs/cli-darwin-x64@1.4.0": + version "1.4.0" + resolved "https://registry.yarnpkg.com/@biomejs/cli-darwin-x64/-/cli-darwin-x64-1.4.0.tgz#ae04f06a4446fa718dfeba863af6250a0b4185e6" + integrity sha512-nny0VgOj3ksUGzU5GblgtQEvrAZFgFe1IJBoYOP978OQdDrg7BpS+GX5udfof87Dl4ZlHPRBU951ceHOxF7BTg== -"@biomejs/cli-linux-arm64@1.3.3": - version "1.3.3" - resolved "https://registry.yarnpkg.com/@biomejs/cli-linux-arm64/-/cli-linux-arm64-1.3.3.tgz#e76b00a50707c4c530306c7a6cdbdc3d32c2d86d" - integrity sha512-D8CvXaB8lkXXBQ6B3n0MXSSZFiE60+aNHorBLimVTtKiMod8QvAP425oQFZFul5wMXZqPLGTKFjXbAi/rvnc1A== +"@biomejs/cli-linux-arm64@1.4.0": + version "1.4.0" + resolved "https://registry.yarnpkg.com/@biomejs/cli-linux-arm64/-/cli-linux-arm64-1.4.0.tgz#40fbd94cff2c8437d18136d25801ead441ac6739" + integrity sha512-gyLkT/Yh9xfW1T9yjQs/2txkCeG0e+LRs0adLugMwN0ptcNTRyusBvUoiHnpB+9rS6hWu9ZCedGMNmKQ8v2GSw== -"@biomejs/cli-linux-x64@1.3.3": - version "1.3.3" - resolved "https://registry.yarnpkg.com/@biomejs/cli-linux-x64/-/cli-linux-x64-1.3.3.tgz#fd3e4ed41a42805ec289956b32eaec7b6a10aa2f" - integrity sha512-bqB05fwJnRZwRlcm/BS/s4qPickqiXZkiU/nOYvHApfsPeqgSHgv5HWoBYuSUjgqBbX3XZJArsC5dCcVW7vAJw== +"@biomejs/cli-linux-x64@1.4.0": + version "1.4.0" + resolved "https://registry.yarnpkg.com/@biomejs/cli-linux-x64/-/cli-linux-x64-1.4.0.tgz#813d191b020a90aa829a5fc37dfeea393696a0f1" + integrity sha512-LIxTuU2zSbIHM9XDYjQphJ5UU8h2eS7yR8uIvGYSba7Qt9AKqfbenyVJTsVnoj1CXxxgKNVSc/wVmlOlGz5DBQ== -"@biomejs/cli-win32-arm64@1.3.3": - version "1.3.3" - resolved "https://registry.yarnpkg.com/@biomejs/cli-win32-arm64/-/cli-win32-arm64-1.3.3.tgz#d6f21a838ffc24d10193e70e5feb42c98fbb62fe" - integrity sha512-muFOjAv1ONMfaJDlo4Ds+Qb9lkdSLM2XaxOe3AJPejSq3Vi0aRr51ZnE02BofMnL2sVsOA9cO54wibsuTcopbw== +"@biomejs/cli-win32-arm64@1.4.0": + version "1.4.0" + resolved "https://registry.yarnpkg.com/@biomejs/cli-win32-arm64/-/cli-win32-arm64-1.4.0.tgz#a6edb984d48d9a9db5971e13c3047ab19fd592c2" + integrity sha512-U2jT1/0wZLJIRqnU8qHAfi/A/+yUwlL3sYJgqs+wO0BbR22WGQZlj03u5FdpEoyLXdsLv1pbeIcjNp+V0NYXWA== -"@biomejs/cli-win32-x64@1.3.3": - version "1.3.3" - resolved "https://registry.yarnpkg.com/@biomejs/cli-win32-x64/-/cli-win32-x64-1.3.3.tgz#0186fba137dc4c4d12680d93ab7e3d6bd3e8f57c" - integrity sha512-PMkMhS4smmmTMflxuZUx3REFSazEL9xsGscvZO1dKWI4ET23la+KxEM4TlSpjOyO66UerqSkuUlZecn0QhD63A== +"@biomejs/cli-win32-x64@1.4.0": + version "1.4.0" + resolved "https://registry.yarnpkg.com/@biomejs/cli-win32-x64/-/cli-win32-x64-1.4.0.tgz#0bb1292c5e279198912b6ec35649124ba8349b72" + integrity sha512-gN6DgyyBxIwoCovAUFJHFWVallb0cLosayDRtNyxU3MDv/atZxSXOWQezfVKBIbgmFPxYWJObd+awvbPYXwwww== "@colors/colors@1.5.0": version "1.5.0"