Move Impersonate from User to Workspace (#2630)
* Fix impersonate * align core typeorm config with metadata config + add allowImpersonation to workspace * move allowImpersonation to workspace * remove allowImpersonation from workspaceMember workspace table
This commit is contained in:
@ -83,11 +83,13 @@ export type CreateOneRelationInput = {
|
||||
|
||||
export type CreateRelationInput = {
|
||||
description?: InputMaybe<Scalars['String']['input']>;
|
||||
fromDescription?: InputMaybe<Scalars['String']['input']>;
|
||||
fromIcon?: InputMaybe<Scalars['String']['input']>;
|
||||
fromLabel: Scalars['String']['input'];
|
||||
fromName: Scalars['String']['input'];
|
||||
fromObjectMetadataId: Scalars['String']['input'];
|
||||
relationType: RelationMetadataType;
|
||||
toDescription?: InputMaybe<Scalars['String']['input']>;
|
||||
toIcon?: InputMaybe<Scalars['String']['input']>;
|
||||
toLabel: Scalars['String']['input'];
|
||||
toName: Scalars['String']['input'];
|
||||
@ -393,7 +395,9 @@ export type UpdateFieldInput = {
|
||||
export type UpdateObjectInput = {
|
||||
description?: InputMaybe<Scalars['String']['input']>;
|
||||
icon?: InputMaybe<Scalars['String']['input']>;
|
||||
imageIdentifierFieldMetadataId?: InputMaybe<Scalars['String']['input']>;
|
||||
isActive?: InputMaybe<Scalars['Boolean']['input']>;
|
||||
labelIdentifierFieldMetadataId?: InputMaybe<Scalars['String']['input']>;
|
||||
labelPlural?: InputMaybe<Scalars['String']['input']>;
|
||||
labelSingular?: InputMaybe<Scalars['String']['input']>;
|
||||
namePlural?: InputMaybe<Scalars['String']['input']>;
|
||||
@ -457,6 +461,7 @@ export type UserWorkspaceMemberName = {
|
||||
|
||||
export type Workspace = {
|
||||
__typename?: 'Workspace';
|
||||
allowImpersonation: Scalars['Boolean']['output'];
|
||||
createdAt: Scalars['DateTime']['output'];
|
||||
deletedAt?: Maybe<Scalars['DateTime']['output']>;
|
||||
displayName?: Maybe<Scalars['String']['output']>;
|
||||
|
||||
Reference in New Issue
Block a user