diff --git a/front/src/__stories__/App.stories.tsx b/front/src/__stories__/App.stories.tsx
index 2d96c9e52..aa617a153 100644
--- a/front/src/__stories__/App.stories.tsx
+++ b/front/src/__stories__/App.stories.tsx
@@ -12,7 +12,7 @@ const component = {
localStorage.setItem('refreshToken', 'xxx-refresh');
localStorage.setItem(
'accessToken',
- 'eyJhbGciOiJIUzI1NiJ9.eyJodHRwczovL2hhc3VyYS5pby9qd3QvY2xhaW1zIjp7IngtaGFzdXJhLXdvcmtzcGFjZS1pZCI6IjdlZDlkMjEyLTFjMjUtNGQwMi1iZjI1LTZhZWNjZjdlYTQxOSIsIngtaGFzdXJhLWFsbG93ZWQtcm9sZXMiOlsibWUiLCJ1c2VyIl0sIngtaGFzdXJhLWRlZmF1bHQtcm9sZSI6InVzZXIiLCJ4LWhhc3VyYS11c2VyLWlkIjoiMTY1MDZiYTgtMTk2Yy00YzEzLWE0YTctYTIyY2I1ZWNjZmExIiwieC1oYXN1cmEtdXNlci1pcy1hbm9ueW1vdXMiOiJmYWxzZSJ9LCJzdWIiOiIxNjUwNmJhOC0xOTZjLTRjMTMtYTRhNy1hMjJjYjVlY2NmYTEiLCJpYXQiOjE2ODM4NzM5NzIsImV4cCI6MTY4Mzg3NDg3MiwiaXNzIjoiaGFzdXJhLWF1dGgifQ.C_OynseOprgU-SdLBLzMdfg_441eopI7LYg8yB86g3c',
+ 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJiNzU5MGRiOS1hYzdkLTQyNzUtOWM2Yy0zMjM5NzkxOTI3OTUiLCJ3b3Jrc3BhY2VJZCI6IjdlZDlkMjEyLTFjMjUtNGQwMi1iZjI1LTZhZWNjZjdlYTQxOSIsImlhdCI6MTY4NTA5MzE3MiwiZXhwIjoxNjg1MDkzNDcyfQ.0g-z2vKBbGGcs0EmZ3Q7HpZ9Yno_SOrprhcQMm1Zb6Y',
);
const mocks = [
@@ -20,14 +20,14 @@ const mocks = [
request: {
query: GET_CURRENT_USER,
variables: {
- uuid: '16506ba8-196c-4c13-a4a7-a22cb5eccfa1',
+ uuid: 'b7590db9-ac7d-4275-9c6c-323979192795',
},
},
result: {
data: {
users: [
{
- id: '16506ba8-196c-4c13-a4a7-a22cb5eccfa1',
+ id: 'b7590db9-ac7d-4275-9c6c-323979192795',
email: 'charles@twenty.com',
displayName: 'Charles Bochet',
workspace_member: {
diff --git a/front/src/apollo.tsx b/front/src/apollo.tsx
index 2bbe68c90..ad9b75ac3 100644
--- a/front/src/apollo.tsx
+++ b/front/src/apollo.tsx
@@ -28,8 +28,7 @@ const errorLink = onError(({ graphQLErrors, operation, forward }) => {
if (graphQLErrors) {
for (const err of graphQLErrors) {
switch (err.extensions.code) {
- case 'invalid-jwt':
- case 'not-found':
+ case 'UNAUTHENTICATED':
return new Observable((observer) => {
(async () => {
try {
diff --git a/front/src/components/editable-cell/EditableCell.tsx b/front/src/components/editable-cell/EditableCell.tsx
index 7016e0d6c..32afd5872 100644
--- a/front/src/components/editable-cell/EditableCell.tsx
+++ b/front/src/components/editable-cell/EditableCell.tsx
@@ -69,8 +69,7 @@ export function EditableCell({
onInsideClick && onInsideClick();
}}
>
- {nonEditModeContent}
- {isEditMode && (
+ {isEditMode ? (
{editModeContent}
+ ) : (
+ {nonEditModeContent}
)}
);
diff --git a/front/src/components/editable-cell/__tests__/EditableFullName.test.tsx b/front/src/components/editable-cell/__tests__/EditableFullName.test.tsx
index b5979f475..5d59305a7 100644
--- a/front/src/components/editable-cell/__tests__/EditableFullName.test.tsx
+++ b/front/src/components/editable-cell/__tests__/EditableFullName.test.tsx
@@ -5,11 +5,7 @@ import { EditableFullNameStory } from '../__stories__/EditableFullName.stories';
it('Checks the EditableFullName editing event bubbles up', async () => {
const func = jest.fn(() => null);
const { getByTestId } = render(
- ,
+ ,
);
const parent = getByTestId('content-editable-parent');
diff --git a/front/src/components/people/EditablePeopleFullName.tsx b/front/src/components/people/EditablePeopleFullName.tsx
index a5d7d76e6..cffd6df37 100644
--- a/front/src/components/people/EditablePeopleFullName.tsx
+++ b/front/src/components/people/EditablePeopleFullName.tsx
@@ -23,7 +23,7 @@ export function EditablePeopleFullName({
setFirstnameValue(firstValue);
setLastnameValue(secondValue);
- onChange(firstnameValue, lastnameValue);
+ onChange(firstValue, secondValue);
}
return (
diff --git a/front/src/generated/graphql.tsx b/front/src/generated/graphql.tsx
index 1264c978c..b38ddd6e1 100644
--- a/front/src/generated/graphql.tsx
+++ b/front/src/generated/graphql.tsx
@@ -17,8 +17,8 @@ export type Scalars = {
JSON: any;
};
-export type AffectedRowsOutput = {
- __typename?: 'AffectedRowsOutput';
+export type AffectedRows = {
+ __typename?: 'AffectedRows';
count: Scalars['Int'];
};
@@ -33,7 +33,7 @@ export type BoolFilter = {
export type Company = {
__typename?: 'Company';
- _count?: Maybe;
+ _count: CompanyCount;
accountOwner?: Maybe;
accountOwnerId?: Maybe;
address: Scalars['String'];
@@ -41,24 +41,14 @@ export type Company = {
deletedAt?: Maybe;
domainName: Scalars['String'];
employees?: Maybe;
- id: Scalars['String'];
+ id: Scalars['ID'];
name: Scalars['String'];
- people: Array;
+ people?: Maybe>;
updatedAt: Scalars['DateTime'];
workspace: Workspace;
workspaceId: Scalars['String'];
};
-
-export type CompanyPeopleArgs = {
- cursor?: InputMaybe;
- distinct?: InputMaybe>;
- orderBy?: InputMaybe>;
- skip?: InputMaybe;
- take?: InputMaybe;
- where?: InputMaybe;
-};
-
export type CompanyCount = {
__typename?: 'CompanyCount';
people: Scalars['Int'];
@@ -75,24 +65,6 @@ export type CompanyCreateInput = {
name: Scalars['String'];
people?: InputMaybe;
updatedAt?: InputMaybe;
- workspace: WorkspaceCreateNestedOneWithoutCompaniesInput;
-};
-
-export type CompanyCreateManyAccountOwnerInput = {
- address: Scalars['String'];
- createdAt?: InputMaybe;
- deletedAt?: InputMaybe;
- domainName: Scalars['String'];
- employees?: InputMaybe;
- id: Scalars['String'];
- name: Scalars['String'];
- updatedAt?: InputMaybe;
- workspaceId: Scalars['String'];
-};
-
-export type CompanyCreateManyAccountOwnerInputEnvelope = {
- data: Array;
- skipDuplicates?: InputMaybe;
};
export type CompanyCreateManyWorkspaceInput = {
@@ -112,13 +84,6 @@ export type CompanyCreateManyWorkspaceInputEnvelope = {
skipDuplicates?: InputMaybe;
};
-export type CompanyCreateNestedManyWithoutAccountOwnerInput = {
- connect?: InputMaybe>;
- connectOrCreate?: InputMaybe>;
- create?: InputMaybe>;
- createMany?: InputMaybe;
-};
-
export type CompanyCreateNestedManyWithoutWorkspaceInput = {
connect?: InputMaybe>;
connectOrCreate?: InputMaybe>;
@@ -132,11 +97,6 @@ export type CompanyCreateNestedOneWithoutPeopleInput = {
create?: InputMaybe;
};
-export type CompanyCreateOrConnectWithoutAccountOwnerInput = {
- create: CompanyCreateWithoutAccountOwnerInput;
- where: CompanyWhereUniqueInput;
-};
-
export type CompanyCreateOrConnectWithoutPeopleInput = {
create: CompanyCreateWithoutPeopleInput;
where: CompanyWhereUniqueInput;
@@ -147,19 +107,6 @@ export type CompanyCreateOrConnectWithoutWorkspaceInput = {
where: CompanyWhereUniqueInput;
};
-export type CompanyCreateWithoutAccountOwnerInput = {
- address: Scalars['String'];
- createdAt?: InputMaybe;
- deletedAt?: InputMaybe;
- domainName: Scalars['String'];
- employees?: InputMaybe;
- id: Scalars['String'];
- name: Scalars['String'];
- people?: InputMaybe;
- updatedAt?: InputMaybe;
- workspace: WorkspaceCreateNestedOneWithoutCompaniesInput;
-};
-
export type CompanyCreateWithoutPeopleInput = {
accountOwner?: InputMaybe;
address: Scalars['String'];
@@ -170,7 +117,6 @@ export type CompanyCreateWithoutPeopleInput = {
id: Scalars['String'];
name: Scalars['String'];
updatedAt?: InputMaybe;
- workspace: WorkspaceCreateNestedOneWithoutCompaniesInput;
};
export type CompanyCreateWithoutWorkspaceInput = {
@@ -208,8 +154,6 @@ export type CompanyOrderByWithRelationInput = {
name?: InputMaybe;
people?: InputMaybe;
updatedAt?: InputMaybe;
- workspace?: InputMaybe;
- workspaceId?: InputMaybe;
};
export type CompanyRelationFilter = {
@@ -243,7 +187,6 @@ export type CompanyScalarWhereInput = {
id?: InputMaybe;
name?: InputMaybe;
updatedAt?: InputMaybe;
- workspaceId?: InputMaybe;
};
export type CompanyUpdateInput = {
@@ -257,7 +200,6 @@ export type CompanyUpdateInput = {
name?: InputMaybe;
people?: InputMaybe;
updatedAt?: InputMaybe;
- workspace?: InputMaybe;
};
export type CompanyUpdateManyMutationInput = {
@@ -271,30 +213,11 @@ export type CompanyUpdateManyMutationInput = {
updatedAt?: InputMaybe;
};
-export type CompanyUpdateManyWithWhereWithoutAccountOwnerInput = {
- data: CompanyUpdateManyMutationInput;
- where: CompanyScalarWhereInput;
-};
-
export type CompanyUpdateManyWithWhereWithoutWorkspaceInput = {
data: CompanyUpdateManyMutationInput;
where: CompanyScalarWhereInput;
};
-export type CompanyUpdateManyWithoutAccountOwnerNestedInput = {
- connect?: InputMaybe>;
- connectOrCreate?: InputMaybe>;
- create?: InputMaybe>;
- createMany?: InputMaybe;
- delete?: InputMaybe>;
- deleteMany?: InputMaybe>;
- disconnect?: InputMaybe>;
- set?: InputMaybe>;
- update?: InputMaybe>;
- updateMany?: InputMaybe>;
- upsert?: InputMaybe>;
-};
-
export type CompanyUpdateManyWithoutWorkspaceNestedInput = {
connect?: InputMaybe>;
connectOrCreate?: InputMaybe>;
@@ -319,29 +242,11 @@ export type CompanyUpdateOneWithoutPeopleNestedInput = {
upsert?: InputMaybe;
};
-export type CompanyUpdateWithWhereUniqueWithoutAccountOwnerInput = {
- data: CompanyUpdateWithoutAccountOwnerInput;
- where: CompanyWhereUniqueInput;
-};
-
export type CompanyUpdateWithWhereUniqueWithoutWorkspaceInput = {
data: CompanyUpdateWithoutWorkspaceInput;
where: CompanyWhereUniqueInput;
};
-export type CompanyUpdateWithoutAccountOwnerInput = {
- address?: InputMaybe;
- createdAt?: InputMaybe;
- deletedAt?: InputMaybe;
- domainName?: InputMaybe;
- employees?: InputMaybe;
- id?: InputMaybe;
- name?: InputMaybe;
- people?: InputMaybe;
- updatedAt?: InputMaybe;
- workspace?: InputMaybe;
-};
-
export type CompanyUpdateWithoutPeopleInput = {
accountOwner?: InputMaybe;
address?: InputMaybe;
@@ -352,7 +257,6 @@ export type CompanyUpdateWithoutPeopleInput = {
id?: InputMaybe;
name?: InputMaybe;
updatedAt?: InputMaybe;
- workspace?: InputMaybe;
};
export type CompanyUpdateWithoutWorkspaceInput = {
@@ -368,12 +272,6 @@ export type CompanyUpdateWithoutWorkspaceInput = {
updatedAt?: InputMaybe;
};
-export type CompanyUpsertWithWhereUniqueWithoutAccountOwnerInput = {
- create: CompanyCreateWithoutAccountOwnerInput;
- update: CompanyUpdateWithoutAccountOwnerInput;
- where: CompanyWhereUniqueInput;
-};
-
export type CompanyUpsertWithWhereUniqueWithoutWorkspaceInput = {
create: CompanyCreateWithoutWorkspaceInput;
update: CompanyUpdateWithoutWorkspaceInput;
@@ -400,8 +298,6 @@ export type CompanyWhereInput = {
name?: InputMaybe;
people?: InputMaybe;
updatedAt?: InputMaybe;
- workspace?: InputMaybe;
- workspaceId?: InputMaybe;
};
export type CompanyWhereUniqueInput = {
@@ -465,8 +361,8 @@ export type Mutation = {
__typename?: 'Mutation';
createOneCompany: Company;
createOnePerson: Person;
- deleteManyCompany: AffectedRowsOutput;
- deleteManyPerson: AffectedRowsOutput;
+ deleteManyCompany: AffectedRows;
+ deleteManyPerson: AffectedRows;
deleteOneCompany?: Maybe;
updateOneCompany?: Maybe;
updateOnePerson?: Maybe;
@@ -600,7 +496,7 @@ export type Person = {
deletedAt?: Maybe;
email: Scalars['String'];
firstname: Scalars['String'];
- id: Scalars['String'];
+ id: Scalars['ID'];
lastname: Scalars['String'];
phone: Scalars['String'];
updatedAt: Scalars['DateTime'];
@@ -619,7 +515,6 @@ export type PersonCreateInput = {
lastname: Scalars['String'];
phone: Scalars['String'];
updatedAt?: InputMaybe;
- workspace: WorkspaceCreateNestedOneWithoutPeopleInput;
};
export type PersonCreateManyCompanyInput = {
@@ -632,7 +527,6 @@ export type PersonCreateManyCompanyInput = {
lastname: Scalars['String'];
phone: Scalars['String'];
updatedAt?: InputMaybe;
- workspaceId: Scalars['String'];
};
export type PersonCreateManyCompanyInputEnvelope = {
@@ -692,7 +586,6 @@ export type PersonCreateWithoutCompanyInput = {
lastname: Scalars['String'];
phone: Scalars['String'];
updatedAt?: InputMaybe;
- workspace: WorkspaceCreateNestedOneWithoutPeopleInput;
};
export type PersonCreateWithoutWorkspaceInput = {
@@ -730,8 +623,6 @@ export type PersonOrderByWithRelationInput = {
lastname?: InputMaybe;
phone?: InputMaybe;
updatedAt?: InputMaybe;
- workspace?: InputMaybe;
- workspaceId?: InputMaybe;
};
export enum PersonScalarFieldEnum {
@@ -762,7 +653,6 @@ export type PersonScalarWhereInput = {
lastname?: InputMaybe;
phone?: InputMaybe;
updatedAt?: InputMaybe;
- workspaceId?: InputMaybe;
};
export type PersonUpdateInput = {
@@ -776,7 +666,6 @@ export type PersonUpdateInput = {
lastname?: InputMaybe;
phone?: InputMaybe;
updatedAt?: InputMaybe;
- workspace?: InputMaybe;
};
export type PersonUpdateManyMutationInput = {
@@ -849,7 +738,6 @@ export type PersonUpdateWithoutCompanyInput = {
lastname?: InputMaybe;
phone?: InputMaybe;
updatedAt?: InputMaybe;
- workspace?: InputMaybe;
};
export type PersonUpdateWithoutWorkspaceInput = {
@@ -892,8 +780,6 @@ export type PersonWhereInput = {
lastname?: InputMaybe;
phone?: InputMaybe;
updatedAt?: InputMaybe;
- workspace?: InputMaybe;
- workspaceId?: InputMaybe;
};
export type PersonWhereUniqueInput = {
@@ -904,6 +790,7 @@ export type Query = {
__typename?: 'Query';
companies: Array;
people: Array;
+ user: User;
users: Array;
};
@@ -928,6 +815,11 @@ export type QueryPeopleArgs = {
};
+export type QueryUserArgs = {
+ where: UserWhereUniqueInput;
+};
+
+
export type QueryUsersArgs = {
cursor?: InputMaybe;
distinct?: InputMaybe>;
@@ -946,9 +838,10 @@ export type RefreshToken = {
__typename?: 'RefreshToken';
createdAt: Scalars['DateTime'];
deletedAt?: Maybe;
- id: Scalars['String'];
+ id: Scalars['ID'];
refreshToken: Scalars['String'];
updatedAt: Scalars['DateTime'];
+ user: User;
userId: Scalars['String'];
};
@@ -1130,18 +1023,18 @@ export type StringNullableFilter = {
export type User = {
__typename?: 'User';
- RefreshTokens: Array;
+ RefreshTokens?: Maybe>;
WorkspaceMember?: Maybe;
- _count?: Maybe;
+ _count: UserCount;
avatarUrl?: Maybe;
- companies: Array;
+ companies?: Maybe>;
createdAt: Scalars['DateTime'];
deletedAt?: Maybe;
disabled: Scalars['Boolean'];
displayName: Scalars['String'];
email: Scalars['String'];
emailVerified: Scalars['Boolean'];
- id: Scalars['String'];
+ id: Scalars['ID'];
lastSeen?: Maybe;
locale: Scalars['String'];
metadata?: Maybe;
@@ -1182,22 +1075,11 @@ export type UserCreateNestedOneWithoutCompaniesInput = {
create?: InputMaybe;
};
-export type UserCreateNestedOneWithoutWorkspaceMemberInput = {
- connect?: InputMaybe;
- connectOrCreate?: InputMaybe;
- create?: InputMaybe;
-};
-
export type UserCreateOrConnectWithoutCompaniesInput = {
create: UserCreateWithoutCompaniesInput;
where: UserWhereUniqueInput;
};
-export type UserCreateOrConnectWithoutWorkspaceMemberInput = {
- create: UserCreateWithoutWorkspaceMemberInput;
- where: UserWhereUniqueInput;
-};
-
export type UserCreateWithoutCompaniesInput = {
RefreshTokens?: InputMaybe;
WorkspaceMember?: InputMaybe;
@@ -1217,25 +1099,6 @@ export type UserCreateWithoutCompaniesInput = {
updatedAt?: InputMaybe;
};
-export type UserCreateWithoutWorkspaceMemberInput = {
- RefreshTokens?: InputMaybe;
- avatarUrl?: InputMaybe;
- companies?: InputMaybe;
- createdAt?: InputMaybe;
- deletedAt?: InputMaybe;
- disabled?: InputMaybe;
- displayName: Scalars['String'];
- email: Scalars['String'];
- emailVerified?: InputMaybe;
- id: Scalars['String'];
- lastSeen?: InputMaybe;
- locale: Scalars['String'];
- metadata?: InputMaybe;
- passwordHash?: InputMaybe;
- phoneNumber?: InputMaybe;
- updatedAt?: InputMaybe;
-};
-
export type UserOrderByWithRelationInput = {
RefreshTokens?: InputMaybe;
WorkspaceMember?: InputMaybe;
@@ -1278,14 +1141,6 @@ export enum UserScalarFieldEnum {
UpdatedAt = 'updatedAt'
}
-export type UserUpdateOneRequiredWithoutWorkspaceMemberNestedInput = {
- connect?: InputMaybe;
- connectOrCreate?: InputMaybe;
- create?: InputMaybe;
- update?: InputMaybe;
- upsert?: InputMaybe;
-};
-
export type UserUpdateOneWithoutCompaniesNestedInput = {
connect?: InputMaybe;
connectOrCreate?: InputMaybe;
@@ -1315,35 +1170,11 @@ export type UserUpdateWithoutCompaniesInput = {
updatedAt?: InputMaybe;
};
-export type UserUpdateWithoutWorkspaceMemberInput = {
- RefreshTokens?: InputMaybe;
- avatarUrl?: InputMaybe;
- companies?: InputMaybe;
- createdAt?: InputMaybe;
- deletedAt?: InputMaybe;
- disabled?: InputMaybe;
- displayName?: InputMaybe;
- email?: InputMaybe;
- emailVerified?: InputMaybe;
- id?: InputMaybe;
- lastSeen?: InputMaybe;
- locale?: InputMaybe;
- metadata?: InputMaybe;
- passwordHash?: InputMaybe;
- phoneNumber?: InputMaybe;
- updatedAt?: InputMaybe;
-};
-
export type UserUpsertWithoutCompaniesInput = {
create: UserCreateWithoutCompaniesInput;
update: UserUpdateWithoutCompaniesInput;
};
-export type UserUpsertWithoutWorkspaceMemberInput = {
- create: UserCreateWithoutWorkspaceMemberInput;
- update: UserUpdateWithoutWorkspaceMemberInput;
-};
-
export type UserWhereInput = {
AND?: InputMaybe>;
NOT?: InputMaybe>;
@@ -1374,12 +1205,15 @@ export type UserWhereUniqueInput = {
export type Workspace = {
__typename?: 'Workspace';
- _count?: Maybe;
+ WorkspaceMember?: Maybe>;
+ _count: WorkspaceCount;
+ companies?: Maybe>;
createdAt: Scalars['DateTime'];
deletedAt?: Maybe;
displayName: Scalars['String'];
domainName: Scalars['String'];
- id: Scalars['String'];
+ id: Scalars['ID'];
+ people?: Maybe>;
updatedAt: Scalars['DateTime'];
};
@@ -1390,61 +1224,17 @@ export type WorkspaceCount = {
people: Scalars['Int'];
};
-export type WorkspaceCreateNestedOneWithoutCompaniesInput = {
- connect?: InputMaybe;
- connectOrCreate?: InputMaybe;
- create?: InputMaybe;
-};
-
-export type WorkspaceCreateNestedOneWithoutPeopleInput = {
- connect?: InputMaybe;
- connectOrCreate?: InputMaybe;
- create?: InputMaybe;
-};
-
export type WorkspaceCreateNestedOneWithoutWorkspaceMemberInput = {
connect?: InputMaybe;
connectOrCreate?: InputMaybe;
create?: InputMaybe;
};
-export type WorkspaceCreateOrConnectWithoutCompaniesInput = {
- create: WorkspaceCreateWithoutCompaniesInput;
- where: WorkspaceWhereUniqueInput;
-};
-
-export type WorkspaceCreateOrConnectWithoutPeopleInput = {
- create: WorkspaceCreateWithoutPeopleInput;
- where: WorkspaceWhereUniqueInput;
-};
-
export type WorkspaceCreateOrConnectWithoutWorkspaceMemberInput = {
create: WorkspaceCreateWithoutWorkspaceMemberInput;
where: WorkspaceWhereUniqueInput;
};
-export type WorkspaceCreateWithoutCompaniesInput = {
- WorkspaceMember?: InputMaybe;
- createdAt?: InputMaybe;
- deletedAt?: InputMaybe;
- displayName: Scalars['String'];
- domainName: Scalars['String'];
- id: Scalars['String'];
- people?: InputMaybe;
- updatedAt?: InputMaybe;
-};
-
-export type WorkspaceCreateWithoutPeopleInput = {
- WorkspaceMember?: InputMaybe;
- companies?: InputMaybe;
- createdAt?: InputMaybe;
- deletedAt?: InputMaybe;
- displayName: Scalars['String'];
- domainName: Scalars['String'];
- id: Scalars['String'];
- updatedAt?: InputMaybe;
-};
-
export type WorkspaceCreateWithoutWorkspaceMemberInput = {
companies?: InputMaybe;
createdAt?: InputMaybe;
@@ -1460,7 +1250,7 @@ export type WorkspaceMember = {
__typename?: 'WorkspaceMember';
createdAt: Scalars['DateTime'];
deletedAt?: Maybe;
- id: Scalars['String'];
+ id: Scalars['ID'];
updatedAt: Scalars['DateTime'];
user: User;
userId: Scalars['String'];
@@ -1468,26 +1258,6 @@ export type WorkspaceMember = {
workspaceId: Scalars['String'];
};
-export type WorkspaceMemberCreateManyWorkspaceInput = {
- createdAt?: InputMaybe;
- deletedAt?: InputMaybe;
- id: Scalars['String'];
- updatedAt?: InputMaybe;
- userId: Scalars['String'];
-};
-
-export type WorkspaceMemberCreateManyWorkspaceInputEnvelope = {
- data: Array;
- skipDuplicates?: InputMaybe;
-};
-
-export type WorkspaceMemberCreateNestedManyWithoutWorkspaceInput = {
- connect?: InputMaybe>;
- connectOrCreate?: InputMaybe>;
- create?: InputMaybe>;
- createMany?: InputMaybe;
-};
-
export type WorkspaceMemberCreateNestedOneWithoutUserInput = {
connect?: InputMaybe;
connectOrCreate?: InputMaybe;
@@ -1499,11 +1269,6 @@ export type WorkspaceMemberCreateOrConnectWithoutUserInput = {
where: WorkspaceMemberWhereUniqueInput;
};
-export type WorkspaceMemberCreateOrConnectWithoutWorkspaceInput = {
- create: WorkspaceMemberCreateWithoutWorkspaceInput;
- where: WorkspaceMemberWhereUniqueInput;
-};
-
export type WorkspaceMemberCreateWithoutUserInput = {
createdAt?: InputMaybe;
deletedAt?: InputMaybe;
@@ -1512,14 +1277,6 @@ export type WorkspaceMemberCreateWithoutUserInput = {
workspace: WorkspaceCreateNestedOneWithoutWorkspaceMemberInput;
};
-export type WorkspaceMemberCreateWithoutWorkspaceInput = {
- createdAt?: InputMaybe;
- deletedAt?: InputMaybe;
- id: Scalars['String'];
- updatedAt?: InputMaybe;
- user: UserCreateNestedOneWithoutWorkspaceMemberInput;
-};
-
export type WorkspaceMemberListRelationFilter = {
every?: InputMaybe;
none?: InputMaybe;
@@ -1546,44 +1303,6 @@ export type WorkspaceMemberRelationFilter = {
isNot?: InputMaybe;
};
-export type WorkspaceMemberScalarWhereInput = {
- AND?: InputMaybe>;
- NOT?: InputMaybe>;
- OR?: InputMaybe>;
- createdAt?: InputMaybe;
- deletedAt?: InputMaybe;
- id?: InputMaybe;
- updatedAt?: InputMaybe;
- userId?: InputMaybe;
- workspaceId?: InputMaybe;
-};
-
-export type WorkspaceMemberUpdateManyMutationInput = {
- createdAt?: InputMaybe;
- deletedAt?: InputMaybe;
- id?: InputMaybe;
- updatedAt?: InputMaybe;
-};
-
-export type WorkspaceMemberUpdateManyWithWhereWithoutWorkspaceInput = {
- data: WorkspaceMemberUpdateManyMutationInput;
- where: WorkspaceMemberScalarWhereInput;
-};
-
-export type WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput = {
- connect?: InputMaybe>;
- connectOrCreate?: InputMaybe>;
- create?: InputMaybe>;
- createMany?: InputMaybe;
- delete?: InputMaybe>;
- deleteMany?: InputMaybe>;
- disconnect?: InputMaybe>;
- set?: InputMaybe>;
- update?: InputMaybe>;
- updateMany?: InputMaybe>;
- upsert?: InputMaybe>;
-};
-
export type WorkspaceMemberUpdateOneWithoutUserNestedInput = {
connect?: InputMaybe;
connectOrCreate?: InputMaybe;
@@ -1594,11 +1313,6 @@ export type WorkspaceMemberUpdateOneWithoutUserNestedInput = {
upsert?: InputMaybe;
};
-export type WorkspaceMemberUpdateWithWhereUniqueWithoutWorkspaceInput = {
- data: WorkspaceMemberUpdateWithoutWorkspaceInput;
- where: WorkspaceMemberWhereUniqueInput;
-};
-
export type WorkspaceMemberUpdateWithoutUserInput = {
createdAt?: InputMaybe;
deletedAt?: InputMaybe;
@@ -1607,20 +1321,6 @@ export type WorkspaceMemberUpdateWithoutUserInput = {
workspace?: InputMaybe;
};
-export type WorkspaceMemberUpdateWithoutWorkspaceInput = {
- createdAt?: InputMaybe