Skip to content

Commit

Permalink
chore(deps): update dependency @biomejs/biome to v1.4.0 (#5288)
Browse files Browse the repository at this point in the history
[![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

<details>
<summary>biomejs/biome (@&#8203;biomejs/biome)</summary>

###
[`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
[@&#8203;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
[@&#8203;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
[@&#8203;simonxabris](https://togithub.com/simonxabris)

- Add option `--line-feed` to the `format` command. Contributed by
[@&#8203;SuperchupuDev](https://togithub.com/SuperchupuDev)

- Add option `--bracket-same-line` to the `format` command. Contributed
by [@&#8203;faultyserve](https://togithub.com/faultyserve)

- Add option `--bracket-spacing` to the `format` command. Contributed by
[@&#8203;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
[@&#8203;ematipico](https://togithub.com/ematipico)

##### Configuration

- Add option `formatter.lineFeed`. Contributed by
[@&#8203;SuperchupuDev](https://togithub.com/SuperchupuDev)
- Add option `javascript.formatter.bracketSameLine`. Contributed by
[@&#8203;faultyserve](https://togithub.com/faultyserve)
- Add option `javascript.formatter.bracketSpacing`. Contributed by
[@&#8203;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
[@&#8203;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.
[#&#8203;627](https://togithub.com/biomejs/biome/issues/627).
Contributed by [@&#8203;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.
[#&#8203;627](https://togithub.com/biomejs/biome/issues/627).
Contributed by [@&#8203;faultyserver](https://togithub.com/faultyserver)

##### Bug fixes

- Fix [#&#8203;832](https://togithub.com/biomejs/biome/issues/832), the
formatter no longer keeps an unnecessary trailing comma in type
parameter lists. Contributed by
[@&#8203;Conaclos](https://togithub.com/Conaclos)

- Fix [#&#8203;301](https://togithub.com/biomejs/biome/issues/301), the
formatter should not break before the `in` keyword. Contributed by
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;TaKO8Ki](https://togithub.com/TaKO8Ki) and
[@&#8203;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 [@&#8203;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 [@&#8203;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 [#&#8203;639](https://togithub.com/biomejs/biome/issues/639) by
ignoring unused TypeScript's mapped key. Contributed by
[@&#8203;Conaclos](https://togithub.com/Conaclos)

- Fix [#&#8203;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
[@&#8203;Conaclos](https://togithub.com/Conaclos)

- Fix [#&#8203;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 [@&#8203;Conaclos](https://togithub.com/Conaclos)

- Fix [#&#8203;607](https://togithub.com/biomejs/biome/issues/609)
`useExhaustiveDependencies`, ignore optional chaining, Contributed by
[@&#8203;msdlisper](https://togithub.com/msdlisper)

- Fix [#&#8203;676](https://togithub.com/biomejs/biome/issues/676), by
using the correct node for the `"noreferrer"` when applying the code
action. Contributed by
[@&#8203;ematipico](https://togithub.com/ematipico)

- Fix [#&#8203;455](https://togithub.com/biomejs/biome/issues/455). The
CLI can now print complex emojis to the console correctly.

- Fix [#&#8203;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
[@&#8203;Conaclos](https://togithub.com/Conaclos)

- Fix [#&#8203;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
[@&#8203;unvalley](https://togithub.com/unvalley)

- Fix [#&#8203;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
[@&#8203;vasucp1207](https://togithub.com/vasucp1207)

- Fix [#&#8203;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
[@&#8203;hougesen](https://togithub.com/hougesen)

- Fix [#&#8203;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 [@&#8203;TaKO8Ki](https://togithub.com/TaKO8Ki)

- Fix [#&#8203;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 [@&#8203;vasucp1207](https://togithub.com/vasucp1207)

- Fix [#&#8203;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 [@&#8203;arendjr](https://togithub.com/arendjr)

##### Parser

##### Bug fixes

- Fix [#&#8203;846](https://togithub.com/biomejs/biome/issues/846) that
erroneously parsed `<const T,>() => {}` as a JSX tag instead of an arrow
function when both TypeScript and JSX are enabled.

##### VSCode

</details>

---

### 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.

---

- [ ] <!-- rebase-check -->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).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40Ni4wIiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Christopher Kolstad <[email protected]>
  • Loading branch information
renovate[bot] and chriswk authored Nov 28, 2023
1 parent 06d5de7 commit c7498dc
Show file tree
Hide file tree
Showing 131 changed files with 362 additions and 335 deletions.
5 changes: 3 additions & 2 deletions biome.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand All @@ -22,7 +22,8 @@
"noNonNullAssertion": "off",
"noInferrableTypes": "off",
"noUnusedTemplateLiteral": "off",
"useSingleVarDeclarator": "off"
"useSingleVarDeclarator": "off",
"noUselessElse": "off"
},
"suspicious": {
"noExplicitAny": "off",
Expand Down
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<ActionCell>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ export const ProjectsList: VFC<IProjectsListProps> = ({
projects && Array.isArray(projects)
? projects
: project
? [project]
: [];
? [project]
: [];

if (fields.length === 0) {
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ export const BillingPlan: FC<IBillingPlanProps> = ({ instanceStatus }) => {
{expired
? 'Trial expired'
: instanceStatus.trialExtended
? 'Extended Trial'
: 'Trial'}
? 'Extended Trial'
: 'Trial'}
</StyledTrialSpan>
}
/>
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/component/common/FormTemplate/FormTemplate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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),
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)],
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/component/context/ContextForm/ContextForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ export const ContextForm: React.FC<IContextForm> = ({
tag: isMissingValue
? 'Value cannot be empty'
: isDuplicateValue
? 'Duplicate value'
: undefined,
? 'Duplicate value'
: undefined,
}));
}, [setErrors, isMissingValue, isDuplicateValue]);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
21 changes: 12 additions & 9 deletions frontend/src/component/demo/DemoSteps/DemoSteps.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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(() => {
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/component/events/EventDiff/EventDiff.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ const EventDiff = ({
{changeValue
? `: ${changeValue}`
: diff.kind === 'D'
? ' (deleted)'
: ''}
? ' (deleted)'
: ''}
</div>
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,8 @@ export const AddDependencyDialogue = ({
isChangeRequestConfiguredInAnyEnv()
? 'Add change to draft'
: parent === REMOVE_DEPENDENCY_OPTION.key
? 'Remove'
: 'Add'
? 'Remove'
: 'Add'
}
secondaryButtonText='Cancel'
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export const ManageBulkTagsDialog: VFC<IManageBulkTagsDialogProps> = ({
onSubmit,
}) => {
const { tagTypes, loading: tagTypesLoading } = useTagTypes();
const [tagType, setTagType] = useState<typeof tagTypes[0]>(emptyTagType);
const [tagType, setTagType] = useState<(typeof tagTypes)[0]>(emptyTagType);
const [selectedTags, setSelectedTags] = useState<TagOption[]>([]);
const [indeterminateTags, setIndeterminateTags] = useState<TagOption[]>([]);
const { tags, refetch: refetchTags } = useTags(tagType.name);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const generateFeature = (
parameters: {},
result: {
enabled: false,
evaluationStatus: 'complete' as 'complete',
evaluationStatus: 'complete' as const,
},
constraints: [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) => ({
Expand All @@ -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 (
<Box sx={{ display: 'flex' }}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ export const PlaygroundEnvironmentTable = ({
row?.isEnabled
? 'true'
: row?.strategies?.result === 'unknown'
? 'unknown'
: 'false',
? 'unknown'
: 'false',
Cell: ({ row }: any) => (
<FeatureStatusCell feature={row.original} />
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ export const FeatureStrategyItem = ({
result.evaluationStatus === 'unevaluated'
? 'Unevaluated'
: result.enabled
? 'True'
: 'False';
? 'True'
: 'False';

return (
<StrategyItemContainer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ export const ReportCard = ({ healthReport }: IReportCardProps) => {
healthReport.health < 50
? 'error.main'
: healthReport.health < 75
? 'warning.main'
: 'success.main';
? 'warning.main'
: 'success.main';

const renderActiveToggles = () => (
<StyledBoxActive>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/component/splash/splash.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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];
8 changes: 4 additions & 4 deletions frontend/src/hooks/useSearch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/interfaces/user.ts
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/openapi/models/_exportFormat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/openapi/models/apiTokenSchemaType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
Loading

0 comments on commit c7498dc

Please sign in to comment.