1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-08-13 13:48:59 +02:00

chore(deps): update dependency @biomejs/biome to v1.4.0 (#5288)

[![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](af24597c18...889593e3f9)

##### 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 <chriswk@getunleash.io>
This commit is contained in:
renovate[bot] 2023-11-28 09:32:00 +00:00 committed by GitHub
parent 06d5de76c0
commit c7498dcac6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
131 changed files with 360 additions and 333 deletions

View File

@ -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",

View File

@ -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",

View File

@ -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>

View File

@ -27,8 +27,8 @@ export const ProjectsList: VFC<IProjectsListProps> = ({
projects && Array.isArray(projects)
? projects
: project
? [project]
: [];
? [project]
: [];
if (fields.length === 0) {
return (

View File

@ -134,8 +134,8 @@ export const BillingPlan: FC<IBillingPlanProps> = ({ instanceStatus }) => {
{expired
? 'Trial expired'
: instanceStatus.trialExtended
? 'Extended Trial'
: 'Trial'}
? 'Extended Trial'
: 'Trial'}
</StyledTrialSpan>
}
/>

View File

@ -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),
},

View File

@ -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)],

View File

@ -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]);

View File

@ -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 (

View File

@ -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(() => {

View File

@ -83,8 +83,8 @@ const EventDiff = ({
{changeValue
? `: ${changeValue}`
: diff.kind === 'D'
? ' (deleted)'
: ''}
? ' (deleted)'
: ''}
</div>
);
}

View File

@ -184,8 +184,8 @@ export const AddDependencyDialogue = ({
isChangeRequestConfiguredInAnyEnv()
? 'Add change to draft'
: parent === REMOVE_DEPENDENCY_OPTION.key
? 'Remove'
: 'Add'
? 'Remove'
: 'Add'
}
secondaryButtonText='Cancel'
>

View File

@ -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);

View File

@ -32,7 +32,7 @@ const generateFeature = (
parameters: {},
result: {
enabled: false,
evaluationStatus: 'complete' as 'complete',
evaluationStatus: 'complete' as const,
},
constraints: [
{

View File

@ -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 (
<Box sx={{ display: 'flex' }}>

View File

@ -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} />
),

View File

@ -25,8 +25,8 @@ export const FeatureStrategyItem = ({
result.evaluationStatus === 'unevaluated'
? 'Unevaluated'
: result.enabled
? 'True'
: 'False';
? 'True'
: 'False';
return (
<StrategyItemContainer

View File

@ -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>

View File

@ -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];

View File

@ -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);

View File

@ -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;

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {

Some files were not shown because too many files have changed in this diff Show More