Fix CI after SettingsFeature enum update (#10178)
This commit is contained in:
@ -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'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -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'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user