Fix CI after SettingsFeature enum update (#10178)

This commit is contained in:
Weiko
2025-02-13 10:19:36 +01:00
committed by GitHub
parent 372ebd14fe
commit d7b84de1b5
3 changed files with 6 additions and 6 deletions

View File

@ -1738,8 +1738,8 @@ export enum SettingsFeatures {
API_KEYS_AND_WEBHOOKS = 'API_KEYS_AND_WEBHOOKS', API_KEYS_AND_WEBHOOKS = 'API_KEYS_AND_WEBHOOKS',
DATA_MODEL = 'DATA_MODEL', DATA_MODEL = 'DATA_MODEL',
ROLES = 'ROLES', ROLES = 'ROLES',
SECURITY_SETTINGS = 'SECURITY_SETTINGS', SECURITY = 'SECURITY',
WORKSPACE_SETTINGS = 'WORKSPACE_SETTINGS', WORKSPACE = 'WORKSPACE',
WORKSPACE_USERS = 'WORKSPACE_USERS' WORKSPACE_USERS = 'WORKSPACE_USERS'
} }

View File

@ -1,5 +1,5 @@
import * as Apollo from '@apollo/client';
import { gql } from '@apollo/client'; import { gql } from '@apollo/client';
import * as Apollo from '@apollo/client';
export type Maybe<T> = T | null; export type Maybe<T> = T | null;
export type InputMaybe<T> = Maybe<T>; export type InputMaybe<T> = Maybe<T>;
export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] }; export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
@ -1535,7 +1535,7 @@ export enum SettingsFeatures {
DATA_MODEL = 'DATA_MODEL', DATA_MODEL = 'DATA_MODEL',
ROLES = 'ROLES', ROLES = 'ROLES',
SECURITY = 'SECURITY', SECURITY = 'SECURITY',
WORKSPACE_SETTINGS = 'WORKSPACE_SETTINGS', WORKSPACE = 'WORKSPACE',
WORKSPACE_USERS = 'WORKSPACE_USERS' WORKSPACE_USERS = 'WORKSPACE_USERS'
} }

View File

@ -63,7 +63,7 @@ export const RolePermissions = ({ role }: { role: Role }) => {
value: role.canUpdateAllSettings, value: role.canUpdateAllSettings,
}, },
{ {
key: SettingsFeatures.WORKSPACE_SETTINGS, key: SettingsFeatures.WORKSPACE,
label: 'Workspace Settings', label: 'Workspace Settings',
type: 'General', type: 'General',
value: role.canUpdateAllSettings, value: role.canUpdateAllSettings,
@ -87,7 +87,7 @@ export const RolePermissions = ({ role }: { role: Role }) => {
value: role.canUpdateAllSettings, value: role.canUpdateAllSettings,
}, },
{ {
key: SettingsFeatures.SECURITY_SETTINGS, key: SettingsFeatures.SECURITY,
label: 'Security Settings', label: 'Security Settings',
type: 'Security', type: 'Security',
value: role.canUpdateAllSettings, value: role.canUpdateAllSettings,