The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Add comments to Prisma Schema and GraphQL server (#162)
Charles Bocheta3a3c1924f89
diff --git a/front/src/apollo.tsx b/front/src/apollo.tsxindex 80981dad408..ad9b75ac39a 100644--- a/front/src/apollo.tsx+++ b/front/src/apollo.tsx@@ -10,8 +10,6 @@ import { RestLink } from 'apollo-link-rest';import { onError } from '@apollo/client/link/error';import { refreshAccessToken } from './services/auth/AuthService';-console.log(process.env.REACT_APP_API_URL);-const apiLink = createHttpLink({uri: `${process.env.REACT_APP_API_URL}`,});diff --git a/front/src/generated/graphql.tsx b/front/src/generated/graphql.tsxindex 5f23a619668..b87484d93a1 100644--- a/front/src/generated/graphql.tsx+++ b/front/src/generated/graphql.tsx@@ -31,12 +31,401 @@ export type BoolFilter = {not?: InputMaybe<NestedBoolFilter>;};+export type Comment = {+ __typename?: 'Comment';+ author: User;+ authorId: Scalars['String'];+ body: Scalars['String'];+ commentThread: CommentThread;+ commentThreadId: Scalars['String'];+ createdAt: Scalars['DateTime'];+ deletedAt?: Maybe<Scalars['DateTime']>;+ id: Scalars['ID'];+ updatedAt: Scalars['DateTime'];+ workspace: Workspace;+ workspaceId: Scalars['String'];+};++export type CommentCreateInput = {+ author: UserCreateNestedOneWithoutCommentsInput;+ body: Scalars['String'];+ commentThread: CommentThreadCreateNestedOneWithoutCommentsInput;+ createdAt?: InputMaybe<Scalars['DateTime']>;+ deletedAt?: InputMaybe<Scalars['DateTime']>;+ id: Scalars['String'];+ updatedAt?: InputMaybe<Scalars['DateTime']>;+};++export type CommentCreateManyAuthorInput = {+ body: Scalars['String'];+ commentThreadId: Scalars['String'];+ createdAt?: InputMaybe<Scalars['DateTime']>;+ deletedAt?: InputMaybe<Scalars['DateTime']>;+ id: Scalars['String'];+ updatedAt?: InputMaybe<Scalars['DateTime']>;+};++export type CommentCreateManyAuthorInputEnvelope = {+ data: Array<CommentCreateManyAuthorInput>;+ skipDuplicates?: InputMaybe<Scalars['Boolean']>;+};++export type CommentCreateManyCommentThreadInput = {+ authorId: Scalars['String'];+ body: Scalars['String'];+ createdAt?: InputMaybe<Scalars['DateTime']>;+ deletedAt?: InputMaybe<Scalars['DateTime']>;+ id: Scalars['String'];+ updatedAt?: InputMaybe<Scalars['DateTime']>;+};++export type CommentCreateManyCommentThreadInputEnvelope = {+ data: Array<CommentCreateManyCommentThreadInput>;+ skipDuplicates?: InputMaybe<Scalars['Boolean']>;+};++export type CommentCreateNestedManyWithoutAuthorInput = {+ connect?: InputMaybe<Array<CommentWhereUniqueInput>>;+ connectOrCreate?: InputMaybe<Array<CommentCreateOrConnectWithoutAuthorInput>>;+ create?: InputMaybe<Array<CommentCreateWithoutAuthorInput>>;+ createMany?: InputMaybe<CommentCreateManyAuthorInputEnvelope>;+};++export type CommentCreateNestedManyWithoutCommentThreadInput = {+ createMany?: InputMaybe<CommentCreateManyCommentThreadInputEnvelope>;+};++export type CommentCreateOrConnectWithoutAuthorInput = {+ create: CommentCreateWithoutAuthorInput;+ where: CommentWhereUniqueInput;+};++export type CommentCreateWithoutAuthorInput = {+ body: Scalars['String'];+ commentThread: CommentThreadCreateNestedOneWithoutCommentsInput;+ createdAt?: InputMaybe<Scalars['DateTime']>;+ deletedAt?: InputMaybe<Scalars['DateTime']>;+ id: Scalars['String'];+ updatedAt?: InputMaybe<Scalars['DateTime']>;+};++export type CommentListRelationFilter = {+ every?: InputMaybe<CommentWhereInput>;+ none?: InputMaybe<CommentWhereInput>;+ some?: InputMaybe<CommentWhereInput>;+};++export type CommentOrderByRelationAggregateInput = {+ _count?: InputMaybe<SortOrder>;+};++export type CommentScalarWhereInput = {+ AND?: InputMaybe<Array<CommentScalarWhereInput>>;+ NOT?: InputMaybe<Array<CommentScalarWhereInput>>;+ OR?: InputMaybe<Array<CommentScalarWhereInput>>;+ authorId?: InputMaybe<StringFilter>;+ body?: InputMaybe<StringFilter>;+ commentThreadId?: InputMaybe<StringFilter>;+ createdAt?: InputMaybe<DateTimeFilter>;+ deletedAt?: InputMaybe<DateTimeNullableFilter>;+ id?: InputMaybe<StringFilter>;+ updatedAt?: InputMaybe<DateTimeFilter>;+};++export type CommentThread = {+ __typename?: 'CommentThread';+ _count: CommentThreadCount;+ commentThreadTargets?: Maybe<Array<CommentThreadTarget>>;+ comments?: Maybe<Array<Comment>>;+ createdAt: Scalars['DateTime'];+ deletedAt?: Maybe<Scalars['DateTime']>;+ id: Scalars['ID'];+ updatedAt: Scalars['DateTime'];+ workspace: Workspace;+ workspaceId: Scalars['String'];+};++export type CommentThreadCount = {+ __typename?: 'CommentThreadCount';+ commentThreadTargets: Scalars['Int'];+ comments: Scalars['Int'];+};++export type CommentThreadCreateInput = {+ commentThreadTargets?: InputMaybe<CommentThreadTargetCreateNestedManyWithoutCommentThreadInput>;+ comments?: InputMaybe<CommentCreateNestedManyWithoutCommentThreadInput>;+ createdAt?: InputMaybe<Scalars['DateTime']>;+ deletedAt?: InputMaybe<Scalars['DateTime']>;+ id: Scalars['String'];+ updatedAt?: InputMaybe<Scalars['DateTime']>;+};++export type CommentThreadCreateNestedOneWithoutCommentsInput = {+ connect?: InputMaybe<CommentThreadWhereUniqueInput>;+};++export type CommentThreadCreateOrConnectWithoutCommentsInput = {+ create: CommentThreadCreateWithoutCommentsInput;+ where: CommentThreadWhereUniqueInput;+};++export type CommentThreadCreateWithoutCommentsInput = {+ commentThreadTargets?: InputMaybe<CommentThreadTargetCreateNestedManyWithoutCommentThreadInput>;+ createdAt?: InputMaybe<Scalars['DateTime']>;+ deletedAt?: InputMaybe<Scalars['DateTime']>;+ id: Scalars['String'];+ updatedAt?: InputMaybe<Scalars['DateTime']>;+};++export type CommentThreadRelationFilter = {+ is?: InputMaybe<CommentThreadWhereInput>;+ isNot?: InputMaybe<CommentThreadWhereInput>;+};++export type CommentThreadTarget = {+ __typename?: 'CommentThreadTarget';+ commentThread: CommentThread;+ commentThreadId: Scalars['String'];+ commentableId: Scalars['String'];+ commentableType: CommentableType;+ createdAt: Scalars['DateTime'];+ deletedAt?: Maybe<Scalars['DateTime']>;+ id: Scalars['ID'];+ updatedAt: Scalars['DateTime'];+};++export type CommentThreadTargetCreateManyCommentThreadInput = {+ commentableId: Scalars['String'];+ commentableType: CommentableType;+ createdAt?: InputMaybe<Scalars['DateTime']>;+ deletedAt?: InputMaybe<Scalars['DateTime']>;+ id: Scalars['String'];+ updatedAt?: InputMaybe<Scalars['DateTime']>;+};++export type CommentThreadTargetCreateManyCommentThreadInputEnvelope = {+ data: Array<CommentThreadTargetCreateManyCommentThreadInput>;+ skipDuplicates?: InputMaybe<Scalars['Boolean']>;+};++export type CommentThreadTargetCreateNestedManyWithoutCommentThreadInput = {+ createMany?: InputMaybe<CommentThreadTargetCreateManyCommentThreadInputEnvelope>;+};++export type CommentThreadTargetCreateOrConnectWithoutCommentThreadInput = {+ create: CommentThreadTargetCreateWithoutCommentThreadInput;+ where: CommentThreadTargetWhereUniqueInput;+};++export type CommentThreadTargetCreateWithoutCommentThreadInput = {+ commentableId: Scalars['String'];+ commentableType: CommentableType;+ createdAt?: InputMaybe<Scalars['DateTime']>;+ deletedAt?: InputMaybe<Scalars['DateTime']>;+ id: Scalars['String'];+ updatedAt?: InputMaybe<Scalars['DateTime']>;+};++export type CommentThreadTargetListRelationFilter = {+ every?: InputMaybe<CommentThreadTargetWhereInput>;+ none?: InputMaybe<CommentThreadTargetWhereInput>;+ some?: InputMaybe<CommentThreadTargetWhereInput>;+};++export type CommentThreadTargetScalarWhereInput = {+ AND?: InputMaybe<Array<CommentThreadTargetScalarWhereInput>>;+ NOT?: InputMaybe<Array<CommentThreadTargetScalarWhereInput>>;+ OR?: InputMaybe<Array<CommentThreadTargetScalarWhereInput>>;+ commentThreadId?: InputMaybe<StringFilter>;+ commentableId?: InputMaybe<StringFilter>;+ commentableType?: InputMaybe<EnumCommentableTypeFilter>;+ createdAt?: InputMaybe<DateTimeFilter>;+ deletedAt?: InputMaybe<DateTimeNullableFilter>;+ id?: InputMaybe<StringFilter>;+ updatedAt?: InputMaybe<DateTimeFilter>;+};++export type CommentThreadTargetUpdateManyMutationInput = {+ commentableId?: InputMaybe<StringFieldUpdateOperationsInput>;+ commentableType?: InputMaybe<EnumCommentableTypeFieldUpdateOperationsInput>;+ createdAt?: InputMaybe<DateTimeFieldUpdateOperationsInput>;+ deletedAt?: InputMaybe<NullableDateTimeFieldUpdateOperationsInput>;+ id?: InputMaybe<StringFieldUpdateOperationsInput>;+ updatedAt?: InputMaybe<DateTimeFieldUpdateOperationsInput>;+};++export type CommentThreadTargetUpdateManyWithWhereWithoutCommentThreadInput = {+ data: CommentThreadTargetUpdateManyMutationInput;+ where: CommentThreadTargetScalarWhereInput;+};++export type CommentThreadTargetUpdateManyWithoutCommentThreadNestedInput = {+ connect?: InputMaybe<Array<CommentThreadTargetWhereUniqueInput>>;+ connectOrCreate?: InputMaybe<Array<CommentThreadTargetCreateOrConnectWithoutCommentThreadInput>>;+ create?: InputMaybe<Array<CommentThreadTargetCreateWithoutCommentThreadInput>>;+ createMany?: InputMaybe<CommentThreadTargetCreateManyCommentThreadInputEnvelope>;+ delete?: InputMaybe<Array<CommentThreadTargetWhereUniqueInput>>;+ deleteMany?: InputMaybe<Array<CommentThreadTargetScalarWhereInput>>;+ disconnect?: InputMaybe<Array<CommentThreadTargetWhereUniqueInput>>;+ set?: InputMaybe<Array<CommentThreadTargetWhereUniqueInput>>;+ update?: InputMaybe<Array<CommentThreadTargetUpdateWithWhereUniqueWithoutCommentThreadInput>>;+ updateMany?: InputMaybe<Array<CommentThreadTargetUpdateManyWithWhereWithoutCommentThreadInput>>;+ upsert?: InputMaybe<Array<CommentThreadTargetUpsertWithWhereUniqueWithoutCommentThreadInput>>;+};++export type CommentThreadTargetUpdateWithWhereUniqueWithoutCommentThreadInput = {+ data: CommentThreadTargetUpdateWithoutCommentThreadInput;+ where: CommentThreadTargetWhereUniqueInput;+};++export type CommentThreadTargetUpdateWithoutCommentThreadInput = {+ commentableId?: InputMaybe<StringFieldUpdateOperationsInput>;+ commentableType?: InputMaybe<EnumCommentableTypeFieldUpdateOperationsInput>;+ createdAt?: InputMaybe<DateTimeFieldUpdateOperationsInput>;+ deletedAt?: InputMaybe<NullableDateTimeFieldUpdateOperationsInput>;+ id?: InputMaybe<StringFieldUpdateOperationsInput>;+ updatedAt?: InputMaybe<DateTimeFieldUpdateOperationsInput>;+};++export type CommentThreadTargetUpsertWithWhereUniqueWithoutCommentThreadInput = {+ create: CommentThreadTargetCreateWithoutCommentThreadInput;+ update: CommentThreadTargetUpdateWithoutCommentThreadInput;+ where: CommentThreadTargetWhereUniqueInput;+};++export type CommentThreadTargetWhereInput = {+ AND?: InputMaybe<Array<CommentThreadTargetWhereInput>>;+ NOT?: InputMaybe<Array<CommentThreadTargetWhereInput>>;+ OR?: InputMaybe<Array<CommentThreadTargetWhereInput>>;+ commentThread?: InputMaybe<CommentThreadRelationFilter>;+ commentThreadId?: InputMaybe<StringFilter>;+ commentableId?: InputMaybe<StringFilter>;+ commentableType?: InputMaybe<EnumCommentableTypeFilter>;+ createdAt?: InputMaybe<DateTimeFilter>;+ deletedAt?: InputMaybe<DateTimeNullableFilter>;+ id?: InputMaybe<StringFilter>;+ updatedAt?: InputMaybe<DateTimeFilter>;+};++export type CommentThreadTargetWhereUniqueInput = {+ id?: InputMaybe<Scalars['String']>;+};++export type CommentThreadUpdateOneRequiredWithoutCommentsNestedInput = {+ connect?: InputMaybe<CommentThreadWhereUniqueInput>;+ connectOrCreate?: InputMaybe<CommentThreadCreateOrConnectWithoutCommentsInput>;+ create?: InputMaybe<CommentThreadCreateWithoutCommentsInput>;+ update?: InputMaybe<CommentThreadUpdateWithoutCommentsInput>;+ upsert?: InputMaybe<CommentThreadUpsertWithoutCommentsInput>;+};++export type CommentThreadUpdateWithoutCommentsInput = {+ commentThreadTargets?: InputMaybe<CommentThreadTargetUpdateManyWithoutCommentThreadNestedInput>;+ createdAt?: InputMaybe<DateTimeFieldUpdateOperationsInput>;+ deletedAt?: InputMaybe<NullableDateTimeFieldUpdateOperationsInput>;+ id?: InputMaybe<StringFieldUpdateOperationsInput>;+ updatedAt?: InputMaybe<DateTimeFieldUpdateOperationsInput>;+};++export type CommentThreadUpsertWithoutCommentsInput = {+ create: CommentThreadCreateWithoutCommentsInput;+ update: CommentThreadUpdateWithoutCommentsInput;+};++export type CommentThreadWhereInput = {+ AND?: InputMaybe<Array<CommentThreadWhereInput>>;+ NOT?: InputMaybe<Array<CommentThreadWhereInput>>;+ OR?: InputMaybe<Array<CommentThreadWhereInput>>;+ commentThreadTargets?: InputMaybe<CommentThreadTargetListRelationFilter>;+ comments?: InputMaybe<CommentListRelationFilter>;+ createdAt?: InputMaybe<DateTimeFilter>;+ deletedAt?: InputMaybe<DateTimeNullableFilter>;+ id?: InputMaybe<StringFilter>;+ updatedAt?: InputMaybe<DateTimeFilter>;+};++export type CommentThreadWhereUniqueInput = {+ id?: InputMaybe<Scalars['String']>;+};++export type CommentUpdateManyMutationInput = {+ body?: InputMaybe<StringFieldUpdateOperationsInput>;+ createdAt?: InputMaybe<DateTimeFieldUpdateOperationsInput>;+ deletedAt?: InputMaybe<NullableDateTimeFieldUpdateOperationsInput>;+ id?: InputMaybe<StringFieldUpdateOperationsInput>;+ updatedAt?: InputMaybe<DateTimeFieldUpdateOperationsInput>;+};++export type CommentUpdateManyWithWhereWithoutAuthorInput = {+ data: CommentUpdateManyMutationInput;+ where: CommentScalarWhereInput;+};++export type CommentUpdateManyWithoutAuthorNestedInput = {+ connect?: InputMaybe<Array<CommentWhereUniqueInput>>;+ connectOrCreate?: InputMaybe<Array<CommentCreateOrConnectWithoutAuthorInput>>;+ create?: InputMaybe<Array<CommentCreateWithoutAuthorInput>>;+ createMany?: InputMaybe<CommentCreateManyAuthorInputEnvelope>;+ delete?: InputMaybe<Array<CommentWhereUniqueInput>>;+ deleteMany?: InputMaybe<Array<CommentScalarWhereInput>>;+ disconnect?: InputMaybe<Array<CommentWhereUniqueInput>>;+ set?: InputMaybe<Array<CommentWhereUniqueInput>>;+ update?: InputMaybe<Array<CommentUpdateWithWhereUniqueWithoutAuthorInput>>;+ updateMany?: InputMaybe<Array<CommentUpdateManyWithWhereWithoutAuthorInput>>;+ upsert?: InputMaybe<Array<CommentUpsertWithWhereUniqueWithoutAuthorInput>>;+};++export type CommentUpdateWithWhereUniqueWithoutAuthorInput = {+ data: CommentUpdateWithoutAuthorInput;+ where: CommentWhereUniqueInput;+};++export type CommentUpdateWithoutAuthorInput = {+ body?: InputMaybe<StringFieldUpdateOperationsInput>;+ commentThread?: InputMaybe<CommentThreadUpdateOneRequiredWithoutCommentsNestedInput>;+ createdAt?: InputMaybe<DateTimeFieldUpdateOperationsInput>;+ deletedAt?: InputMaybe<NullableDateTimeFieldUpdateOperationsInput>;+ id?: InputMaybe<StringFieldUpdateOperationsInput>;+ updatedAt?: InputMaybe<DateTimeFieldUpdateOperationsInput>;+};++export type CommentUpsertWithWhereUniqueWithoutAuthorInput = {+ create: CommentCreateWithoutAuthorInput;+ update: CommentUpdateWithoutAuthorInput;+ where: CommentWhereUniqueInput;+};++export type CommentWhereInput = {+ AND?: InputMaybe<Array<CommentWhereInput>>;+ NOT?: InputMaybe<Array<CommentWhereInput>>;+ OR?: InputMaybe<Array<CommentWhereInput>>;+ author?: InputMaybe<UserRelationFilter>;+ authorId?: InputMaybe<StringFilter>;+ body?: InputMaybe<StringFilter>;+ commentThread?: InputMaybe<CommentThreadRelationFilter>;+ commentThreadId?: InputMaybe<StringFilter>;+ createdAt?: InputMaybe<DateTimeFilter>;+ deletedAt?: InputMaybe<DateTimeNullableFilter>;+ id?: InputMaybe<StringFilter>;+ updatedAt?: InputMaybe<DateTimeFilter>;+};++export type CommentWhereUniqueInput = {+ id?: InputMaybe<Scalars['String']>;+};++export enum CommentableType {+ Company = 'Company',+ Person = 'Person'+}+export type Company = {__typename?: 'Company';_count: CompanyCount;accountOwner?: Maybe<User>;accountOwnerId?: Maybe<Scalars['String']>;address: Scalars['String'];+ commentThreads: Array<CommentThread>;createdAt: Scalars['DateTime'];deletedAt?: Maybe<Scalars['DateTime']>;domainName: Scalars['String'];@@ -219,6 +608,17 @@ export type DateTimeNullableFilter = {notIn?: InputMaybe<Array<Scalars['DateTime']>>;};+export type EnumCommentableTypeFieldUpdateOperationsInput = {+ set?: InputMaybe<CommentableType>;+};++export type EnumCommentableTypeFilter = {+ equals?: InputMaybe<CommentableType>;+ in?: InputMaybe<Array<CommentableType>>;+ not?: InputMaybe<NestedEnumCommentableTypeFilter>;+ notIn?: InputMaybe<Array<CommentableType>>;+};+export type IntNullableFilter = {equals?: InputMaybe<Scalars['Int']>;gt?: InputMaybe<Scalars['Int']>;@@ -248,6 +648,8 @@ export type JsonNullableFilter = {export type Mutation = {__typename?: 'Mutation';+ createOneComment: Comment;+ createOneCommentThread: CommentThread;createOneCompany: Company;createOnePerson: Person;deleteManyCompany: AffectedRows;@@ -257,6 +659,16 @@ export type Mutation = {};+export type MutationCreateOneCommentArgs = {+ data: CommentCreateInput;+};+++export type MutationCreateOneCommentThreadArgs = {+ data: CommentThreadCreateInput;+};++export type MutationCreateOneCompanyArgs = {data: CompanyCreateInput;};@@ -315,6 +727,13 @@ export type NestedDateTimeNullableFilter = {notIn?: InputMaybe<Array<Scalars['DateTime']>>;};+export type NestedEnumCommentableTypeFilter = {+ equals?: InputMaybe<CommentableType>;+ in?: InputMaybe<Array<CommentableType>>;+ not?: InputMaybe<NestedEnumCommentableTypeFilter>;+ notIn?: InputMaybe<Array<CommentableType>>;+};+export type NestedIntNullableFilter = {equals?: InputMaybe<Scalars['Int']>;gt?: InputMaybe<Scalars['Int']>;@@ -373,6 +792,7 @@ export type NullableStringFieldUpdateOperationsInput = {export type Person = {__typename?: 'Person';city: Scalars['String'];+ commentThreads: Array<CommentThread>;company?: Maybe<Company>;companyId?: Maybe<Scalars['String']>;createdAt: Scalars['DateTime'];@@ -814,10 +1234,9 @@ export type StringNullableFilter = {export type User = {__typename?: 'User';- RefreshTokens?: Maybe<Array<RefreshToken>>;- WorkspaceMember?: Maybe<WorkspaceMember>;_count: UserCount;avatarUrl?: Maybe<Scalars['String']>;+ comments?: Maybe<Array<Comment>>;companies?: Maybe<Array<Company>>;createdAt: Scalars['DateTime'];deletedAt?: Maybe<Scalars['DateTime']>;@@ -831,17 +1250,9 @@ export type User = {metadata?: Maybe<Scalars['JSON']>;passwordHash?: Maybe<Scalars['String']>;phoneNumber?: Maybe<Scalars['String']>;+ refreshTokens?: Maybe<Array<RefreshToken>>;updatedAt: Scalars['DateTime'];-};---export type UserRefreshTokensArgs = {- cursor?: InputMaybe<RefreshTokenWhereUniqueInput>;- distinct?: InputMaybe<Array<RefreshTokenScalarFieldEnum>>;- orderBy?: InputMaybe<Array<RefreshTokenOrderByWithRelationInput>>;- skip?: InputMaybe<Scalars['Int']>;- take?: InputMaybe<Scalars['Int']>;- where?: InputMaybe<RefreshTokenWhereInput>;+ workspaceMember?: Maybe<WorkspaceMember>;};@@ -854,10 +1265,25 @@ export type UserCompaniesArgs = {where?: InputMaybe<CompanyWhereInput>;};++export type UserRefreshTokensArgs = {+ cursor?: InputMaybe<RefreshTokenWhereUniqueInput>;+ distinct?: InputMaybe<Array<RefreshTokenScalarFieldEnum>>;+ orderBy?: InputMaybe<Array<RefreshTokenOrderByWithRelationInput>>;+ skip?: InputMaybe<Scalars['Int']>;+ take?: InputMaybe<Scalars['Int']>;+ where?: InputMaybe<RefreshTokenWhereInput>;+};+export type UserCount = {__typename?: 'UserCount';- RefreshTokens: Scalars['Int'];+ comments: Scalars['Int'];companies: Scalars['Int'];+ refreshTokens: Scalars['Int'];+};++export type UserCreateNestedOneWithoutCommentsInput = {+ connect?: InputMaybe<UserWhereUniqueInput>;};export type UserCreateNestedOneWithoutCompaniesInput = {@@ -872,9 +1298,8 @@ export type UserCreateOrConnectWithoutCompaniesInput = {};export type UserCreateWithoutCompaniesInput = {- RefreshTokens?: InputMaybe<RefreshTokenCreateNestedManyWithoutUserInput>;- WorkspaceMember?: InputMaybe<WorkspaceMemberCreateNestedOneWithoutUserInput>;avatarUrl?: InputMaybe<Scalars['String']>;+ comments?: InputMaybe<CommentCreateNestedManyWithoutAuthorInput>;createdAt?: InputMaybe<Scalars['DateTime']>;deletedAt?: InputMaybe<Scalars['DateTime']>;disabled?: InputMaybe<Scalars['Boolean']>;@@ -887,13 +1312,14 @@ export type UserCreateWithoutCompaniesInput = {metadata?: InputMaybe<Scalars['JSON']>;passwordHash?: InputMaybe<Scalars['String']>;phoneNumber?: InputMaybe<Scalars['String']>;+ refreshTokens?: InputMaybe<RefreshTokenCreateNestedManyWithoutUserInput>;updatedAt?: InputMaybe<Scalars['DateTime']>;+ workspaceMember?: InputMaybe<WorkspaceMemberCreateNestedOneWithoutUserInput>;};export type UserOrderByWithRelationInput = {- RefreshTokens?: InputMaybe<RefreshTokenOrderByRelationAggregateInput>;- WorkspaceMember?: InputMaybe<WorkspaceMemberOrderByWithRelationInput>;avatarUrl?: InputMaybe<SortOrder>;+ comments?: InputMaybe<CommentOrderByRelationAggregateInput>;companies?: InputMaybe<CompanyOrderByRelationAggregateInput>;createdAt?: InputMaybe<SortOrder>;deletedAt?: InputMaybe<SortOrder>;@@ -907,7 +1333,9 @@ export type UserOrderByWithRelationInput = {metadata?: InputMaybe<SortOrder>;passwordHash?: InputMaybe<SortOrder>;phoneNumber?: InputMaybe<SortOrder>;+ refreshTokens?: InputMaybe<RefreshTokenOrderByRelationAggregateInput>;updatedAt?: InputMaybe<SortOrder>;+ workspaceMember?: InputMaybe<WorkspaceMemberOrderByWithRelationInput>;};export type UserRelationFilter = {@@ -943,9 +1371,8 @@ export type UserUpdateOneWithoutCompaniesNestedInput = {};export type UserUpdateWithoutCompaniesInput = {- RefreshTokens?: InputMaybe<RefreshTokenUpdateManyWithoutUserNestedInput>;- WorkspaceMember?: InputMaybe<WorkspaceMemberUpdateOneWithoutUserNestedInput>;avatarUrl?: InputMaybe<NullableStringFieldUpdateOperationsInput>;+ comments?: InputMaybe<CommentUpdateManyWithoutAuthorNestedInput>;createdAt?: InputMaybe<DateTimeFieldUpdateOperationsInput>;deletedAt?: InputMaybe<NullableDateTimeFieldUpdateOperationsInput>;disabled?: InputMaybe<BoolFieldUpdateOperationsInput>;@@ -958,7 +1385,9 @@ export type UserUpdateWithoutCompaniesInput = {metadata?: InputMaybe<Scalars['JSON']>;passwordHash?: InputMaybe<NullableStringFieldUpdateOperationsInput>;phoneNumber?: InputMaybe<NullableStringFieldUpdateOperationsInput>;+ refreshTokens?: InputMaybe<RefreshTokenUpdateManyWithoutUserNestedInput>;updatedAt?: InputMaybe<DateTimeFieldUpdateOperationsInput>;+ workspaceMember?: InputMaybe<WorkspaceMemberUpdateOneWithoutUserNestedInput>;};export type UserUpsertWithoutCompaniesInput = {@@ -970,9 +1399,8 @@ export type UserWhereInput = {AND?: InputMaybe<Array<UserWhereInput>>;NOT?: InputMaybe<Array<UserWhereInput>>;OR?: InputMaybe<Array<UserWhereInput>>;- RefreshTokens?: InputMaybe<RefreshTokenListRelationFilter>;- WorkspaceMember?: InputMaybe<WorkspaceMemberRelationFilter>;avatarUrl?: InputMaybe<StringNullableFilter>;+ comments?: InputMaybe<CommentListRelationFilter>;companies?: InputMaybe<CompanyListRelationFilter>;createdAt?: InputMaybe<DateTimeFilter>;deletedAt?: InputMaybe<DateTimeNullableFilter>;@@ -986,7 +1414,9 @@ export type UserWhereInput = {metadata?: InputMaybe<JsonNullableFilter>;passwordHash?: InputMaybe<StringNullableFilter>;phoneNumber?: InputMaybe<StringNullableFilter>;+ refreshTokens?: InputMaybe<RefreshTokenListRelationFilter>;updatedAt?: InputMaybe<DateTimeFilter>;+ workspaceMember?: InputMaybe<WorkspaceMemberRelationFilter>;};export type UserWhereUniqueInput = {@@ -996,8 +1426,9 @@ export type UserWhereUniqueInput = {export type Workspace = {__typename?: 'Workspace';- WorkspaceMember?: Maybe<Array<WorkspaceMember>>;_count: WorkspaceCount;+ commentThreads?: Maybe<Array<CommentThread>>;+ comments?: Maybe<Array<Comment>>;companies?: Maybe<Array<Company>>;createdAt: Scalars['DateTime'];deletedAt?: Maybe<Scalars['DateTime']>;@@ -1007,13 +1438,16 @@ export type Workspace = {logo?: Maybe<Scalars['String']>;people?: Maybe<Array<Person>>;updatedAt: Scalars['DateTime'];+ workspaceMember?: Maybe<Array<WorkspaceMember>>;};export type WorkspaceCount = {__typename?: 'WorkspaceCount';- WorkspaceMember: Scalars['Int'];+ commentThreads: Scalars['Int'];+ comments: Scalars['Int'];companies: Scalars['Int'];people: Scalars['Int'];+ workspaceMember: Scalars['Int'];};export type WorkspaceMember = {@@ -1105,7 +1539,7 @@ export type GetCompaniesQueryVariables = Exact<{}>;-export type GetCompaniesQuery = { __typename?: 'Query', findManyCompany: Array<{ __typename?: 'Company', id: string, domainName: string, name: string, createdAt: any, address: string, employees?: number | null, accountOwner?: { __typename?: 'User', id: string, email: string, displayName: string } | null }> };+export type GetCompaniesQuery = { __typename?: 'Query', companies: Array<{ __typename?: 'Company', id: string, domainName: string, name: string, createdAt: any, address: string, employees?: number | null, accountOwner?: { __typename?: 'User', id: string, email: string, displayName: string } | null }> };export type UpdateCompanyMutationVariables = Exact<{id?: InputMaybe<Scalars['String']>;@@ -1146,7 +1580,7 @@ export type GetPeopleQueryVariables = Exact<{}>;-export type GetPeopleQuery = { __typename?: 'Query', findManyPerson: Array<{ __typename?: 'Person', id: string, phone: string, email: string, city: string, firstname: string, lastname: string, createdAt: any, company?: { __typename?: 'Company', id: string, name: string, domainName: string } | null }> };+export type GetPeopleQuery = { __typename?: 'Query', people: Array<{ __typename?: 'Person', id: string, phone: string, email: string, city: string, firstname: string, lastname: string, createdAt: any, company?: { __typename?: 'Company', id: string, name: string, domainName: string } | null }> };export type UpdatePeopleMutationVariables = Exact<{id?: InputMaybe<Scalars['String']>;@@ -1201,7 +1635,7 @@ export type SearchUserQueryQuery = { __typename?: 'Query', searchResults: Array<export type EmptyQueryQueryVariables = Exact<{ [key: string]: never; }>;-export type EmptyQueryQuery = { __typename?: 'Query', findManyUser: Array<{ __typename?: 'User', id: string }> };+export type EmptyQueryQuery = { __typename?: 'Query', searchResults: Array<{ __typename?: 'User', id: string }> };export type SearchCompanyQueryQueryVariables = Exact<{where?: InputMaybe<CompanyWhereInput>;@@ -1216,7 +1650,7 @@ export type GetCurrentUserQueryVariables = Exact<{}>;-export type GetCurrentUserQuery = { __typename?: 'Query', findManyUser: Array<{ __typename?: 'User', id: string, email: string, displayName: string, workspaceMember?: { __typename?: 'WorkspaceMember', workspace: { __typename?: 'Workspace', id: string, domainName: string, displayName: string, logo?: string | null } } | null }> };+export type GetCurrentUserQuery = { __typename?: 'Query', users: Array<{ __typename?: 'User', id: string, email: string, displayName: string, workspaceMember?: { __typename?: 'WorkspaceMember', workspace: { __typename?: 'Workspace', id: string, domainName: string, displayName: string, logo?: string | null } } | null }> };export type GetUsersQueryVariables = Exact<{ [key: string]: never; }>;@@ -1226,7 +1660,7 @@ export type GetUsersQuery = { __typename?: 'Query', findManyUser: Array<{ __typeexport const GetCompaniesDocument = gql`query GetCompanies($orderBy: [CompanyOrderByWithRelationInput!], $where: CompanyWhereInput) {- findManyCompany(orderBy: $orderBy, where: $where) {+ companies: findManyCompany(orderBy: $orderBy, where: $where) {iddomainNamename@@ -1402,7 +1836,7 @@ export type DeleteCompaniesMutationResult = Apollo.MutationResult<DeleteCompanieexport type DeleteCompaniesMutationOptions = Apollo.BaseMutationOptions<DeleteCompaniesMutation, DeleteCompaniesMutationVariables>;export const GetPeopleDocument = gql`query GetPeople($orderBy: [PersonOrderByWithRelationInput!], $where: PersonWhereInput, $limit: Int) {- findManyPerson(orderBy: $orderBy, where: $where, take: $limit) {+ people: findManyPerson(orderBy: $orderBy, where: $where, take: $limit) {idphone@@ -1669,7 +2103,7 @@ export type SearchUserQueryLazyQueryHookResult = ReturnType<typeof useSearchUserexport type SearchUserQueryQueryResult = Apollo.QueryResult<SearchUserQueryQuery, SearchUserQueryQueryVariables>;export const EmptyQueryDocument = gql`query EmptyQuery {- findManyUser {+ searchResults: findManyUser {id}}@@ -1741,11 +2175,11 @@ export type SearchCompanyQueryLazyQueryHookResult = ReturnType<typeof useSearchCexport type SearchCompanyQueryQueryResult = Apollo.QueryResult<SearchCompanyQueryQuery, SearchCompanyQueryQueryVariables>;export const GetCurrentUserDocument = gql`query getCurrentUser($uuid: String) {- findManyUser(where: {id: {equals: $uuid}}) {+ users: findManyUser(where: {id: {equals: $uuid}}) {iddisplayName- workspaceMember: WorkspaceMember {+ workspaceMember {workspace {iddomainNamediff --git a/front/src/pages/auth/Callback.tsx b/front/src/pages/auth/Callback.tsxindex b99d925653a..50815bfb6a8 100644--- a/front/src/pages/auth/Callback.tsx+++ b/front/src/pages/auth/Callback.tsx@@ -7,7 +7,6 @@ function Callback() {const [isLoading, setIsLoading] = useState(true);const refreshToken = searchParams.get('refreshToken');- console.log('refreshToken', refreshToken);localStorage.setItem('refreshToken', refreshToken || '');const navigate = useNavigate();diff --git a/front/src/services/api/users/index.tsx b/front/src/services/api/users/index.tsxindex a896ecaaff7..081db2cf103 100644--- a/front/src/services/api/users/index.tsx+++ b/front/src/services/api/users/index.tsx@@ -7,7 +7,7 @@ export const GET_CURRENT_USER = gql`iddisplayName- workspaceMember: WorkspaceMember {+ workspaceMember {workspace {iddomainNamediff --git a/server/src/api/@generated/comment-thread-target/aggregate-comment-thread-target.output.ts b/server/src/api/@generated/comment-thread-target/aggregate-comment-thread-target.output.tsnew file mode 100644index 00000000000..61d5a307831--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/aggregate-comment-thread-target.output.ts@@ -0,0 +1,17 @@+import { Field } from '@nestjs/graphql';+import { ObjectType } from '@nestjs/graphql';+import { CommentThreadTargetCountAggregate } from './comment-thread-target-count-aggregate.output';+import { CommentThreadTargetMinAggregate } from './comment-thread-target-min-aggregate.output';+import { CommentThreadTargetMaxAggregate } from './comment-thread-target-max-aggregate.output';++@ObjectType()+export class AggregateCommentThreadTarget {+ @Field(() => CommentThreadTargetCountAggregate, { nullable: true })+ _count?: CommentThreadTargetCountAggregate;++ @Field(() => CommentThreadTargetMinAggregate, { nullable: true })+ _min?: CommentThreadTargetMinAggregate;++ @Field(() => CommentThreadTargetMaxAggregate, { nullable: true })+ _max?: CommentThreadTargetMaxAggregate;+}diff --git a/server/src/api/@generated/comment-thread-target/comment-thread-target-aggregate.args.ts b/server/src/api/@generated/comment-thread-target/comment-thread-target-aggregate.args.tsnew file mode 100644index 00000000000..0fae7e0e14b--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/comment-thread-target-aggregate.args.ts@@ -0,0 +1,40 @@+import { Field } from '@nestjs/graphql';+import { ArgsType } from '@nestjs/graphql';+import { CommentThreadTargetWhereInput } from './comment-thread-target-where.input';+import { Type } from 'class-transformer';+import { CommentThreadTargetOrderByWithRelationInput } from './comment-thread-target-order-by-with-relation.input';+import { CommentThreadTargetWhereUniqueInput } from './comment-thread-target-where-unique.input';+import { Int } from '@nestjs/graphql';+import { CommentThreadTargetCountAggregateInput } from './comment-thread-target-count-aggregate.input';+import { CommentThreadTargetMinAggregateInput } from './comment-thread-target-min-aggregate.input';+import { CommentThreadTargetMaxAggregateInput } from './comment-thread-target-max-aggregate.input';++@ArgsType()+export class CommentThreadTargetAggregateArgs {+ @Field(() => CommentThreadTargetWhereInput, { nullable: true })+ @Type(() => CommentThreadTargetWhereInput)+ where?: CommentThreadTargetWhereInput;++ @Field(() => [CommentThreadTargetOrderByWithRelationInput], {+ nullable: true,+ })+ orderBy?: Array<CommentThreadTargetOrderByWithRelationInput>;++ @Field(() => CommentThreadTargetWhereUniqueInput, { nullable: true })+ cursor?: CommentThreadTargetWhereUniqueInput;++ @Field(() => Int, { nullable: true })+ take?: number;++ @Field(() => Int, { nullable: true })+ skip?: number;++ @Field(() => CommentThreadTargetCountAggregateInput, { nullable: true })+ _count?: CommentThreadTargetCountAggregateInput;++ @Field(() => CommentThreadTargetMinAggregateInput, { nullable: true })+ _min?: CommentThreadTargetMinAggregateInput;++ @Field(() => CommentThreadTargetMaxAggregateInput, { nullable: true })+ _max?: CommentThreadTargetMaxAggregateInput;+}diff --git a/server/src/api/@generated/comment-thread-target/comment-thread-target-count-aggregate.input.ts b/server/src/api/@generated/comment-thread-target/comment-thread-target-count-aggregate.input.tsnew file mode 100644index 00000000000..9d127add4e7--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/comment-thread-target-count-aggregate.input.ts@@ -0,0 +1,29 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';++@InputType()+export class CommentThreadTargetCountAggregateInput {+ @Field(() => Boolean, { nullable: true })+ id?: true;++ @Field(() => Boolean, { nullable: true })+ createdAt?: true;++ @Field(() => Boolean, { nullable: true })+ updatedAt?: true;++ @Field(() => Boolean, { nullable: true })+ deletedAt?: true;++ @Field(() => Boolean, { nullable: true })+ commentThreadId?: true;++ @Field(() => Boolean, { nullable: true })+ commentableType?: true;++ @Field(() => Boolean, { nullable: true })+ commentableId?: true;++ @Field(() => Boolean, { nullable: true })+ _all?: true;+}diff --git a/server/src/api/@generated/comment-thread-target/comment-thread-target-count-aggregate.output.ts b/server/src/api/@generated/comment-thread-target/comment-thread-target-count-aggregate.output.tsnew file mode 100644index 00000000000..736eaed8ca0--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/comment-thread-target-count-aggregate.output.ts@@ -0,0 +1,30 @@+import { Field } from '@nestjs/graphql';+import { ObjectType } from '@nestjs/graphql';+import { Int } from '@nestjs/graphql';++@ObjectType()+export class CommentThreadTargetCountAggregate {+ @Field(() => Int, { nullable: false })+ id!: number;++ @Field(() => Int, { nullable: false })+ createdAt!: number;++ @Field(() => Int, { nullable: false })+ updatedAt!: number;++ @Field(() => Int, { nullable: false })+ deletedAt!: number;++ @Field(() => Int, { nullable: false })+ commentThreadId!: number;++ @Field(() => Int, { nullable: false })+ commentableType!: number;++ @Field(() => Int, { nullable: false })+ commentableId!: number;++ @Field(() => Int, { nullable: false })+ _all!: number;+}diff --git a/server/src/api/@generated/comment-thread-target/comment-thread-target-count-order-by-aggregate.input.ts b/server/src/api/@generated/comment-thread-target/comment-thread-target-count-order-by-aggregate.input.tsnew file mode 100644index 00000000000..ef1e5303bd7--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/comment-thread-target-count-order-by-aggregate.input.ts@@ -0,0 +1,27 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { SortOrder } from '../prisma/sort-order.enum';++@InputType()+export class CommentThreadTargetCountOrderByAggregateInput {+ @Field(() => SortOrder, { nullable: true })+ id?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ createdAt?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ updatedAt?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ deletedAt?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ commentThreadId?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ commentableType?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ commentableId?: keyof typeof SortOrder;+}diff --git a/server/src/api/@generated/comment-thread-target/comment-thread-target-create-many-comment-thread-input-envelope.input.ts b/server/src/api/@generated/comment-thread-target/comment-thread-target-create-many-comment-thread-input-envelope.input.tsnew file mode 100644index 00000000000..bfcaf936c24--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/comment-thread-target-create-many-comment-thread-input-envelope.input.ts@@ -0,0 +1,16 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentThreadTargetCreateManyCommentThreadInput } from './comment-thread-target-create-many-comment-thread.input';+import { Type } from 'class-transformer';++@InputType()+export class CommentThreadTargetCreateManyCommentThreadInputEnvelope {+ @Field(() => [CommentThreadTargetCreateManyCommentThreadInput], {+ nullable: false,+ })+ @Type(() => CommentThreadTargetCreateManyCommentThreadInput)+ data!: Array<CommentThreadTargetCreateManyCommentThreadInput>;++ @Field(() => Boolean, { nullable: true })+ skipDuplicates?: boolean;+}diff --git a/server/src/api/@generated/comment-thread-target/comment-thread-target-create-many-comment-thread.input.ts b/server/src/api/@generated/comment-thread-target/comment-thread-target-create-many-comment-thread.input.tsnew file mode 100644index 00000000000..1642a246aff--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/comment-thread-target-create-many-comment-thread.input.ts@@ -0,0 +1,24 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentableType } from '../prisma/commentable-type.enum';++@InputType()+export class CommentThreadTargetCreateManyCommentThreadInput {+ @Field(() => String, { nullable: false })+ id!: string;++ @Field(() => Date, { nullable: true })+ createdAt?: Date | string;++ @Field(() => Date, { nullable: true })+ updatedAt?: Date | string;++ @Field(() => Date, { nullable: true })+ deletedAt?: Date | string;++ @Field(() => CommentableType, { nullable: false })+ commentableType!: keyof typeof CommentableType;++ @Field(() => String, { nullable: false })+ commentableId!: string;+}diff --git a/server/src/api/@generated/comment-thread-target/comment-thread-target-create-many.input.ts b/server/src/api/@generated/comment-thread-target/comment-thread-target-create-many.input.tsnew file mode 100644index 00000000000..1dbb18c97b2--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/comment-thread-target-create-many.input.ts@@ -0,0 +1,27 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentableType } from '../prisma/commentable-type.enum';++@InputType()+export class CommentThreadTargetCreateManyInput {+ @Field(() => String, { nullable: false })+ id!: string;++ @Field(() => Date, { nullable: true })+ createdAt?: Date | string;++ @Field(() => Date, { nullable: true })+ updatedAt?: Date | string;++ @Field(() => Date, { nullable: true })+ deletedAt?: Date | string;++ @Field(() => String, { nullable: false })+ commentThreadId!: string;++ @Field(() => CommentableType, { nullable: false })+ commentableType!: keyof typeof CommentableType;++ @Field(() => String, { nullable: false })+ commentableId!: string;+}diff --git a/server/src/api/@generated/comment-thread-target/comment-thread-target-create-nested-many-without-comment-thread.input.ts b/server/src/api/@generated/comment-thread-target/comment-thread-target-create-nested-many-without-comment-thread.input.tsnew file mode 100644index 00000000000..82d2fb0b0f6--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/comment-thread-target-create-nested-many-without-comment-thread.input.ts@@ -0,0 +1,26 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentThreadTargetCreateWithoutCommentThreadInput } from './comment-thread-target-create-without-comment-thread.input';+import { HideField } from '@nestjs/graphql';+import { CommentThreadTargetCreateOrConnectWithoutCommentThreadInput } from './comment-thread-target-create-or-connect-without-comment-thread.input';+import { CommentThreadTargetCreateManyCommentThreadInputEnvelope } from './comment-thread-target-create-many-comment-thread-input-envelope.input';+import { Type } from 'class-transformer';+import { CommentThreadTargetWhereUniqueInput } from './comment-thread-target-where-unique.input';++@InputType()+export class CommentThreadTargetCreateNestedManyWithoutCommentThreadInput {+ @HideField()+ create?: Array<CommentThreadTargetCreateWithoutCommentThreadInput>;++ @HideField()+ connectOrCreate?: Array<CommentThreadTargetCreateOrConnectWithoutCommentThreadInput>;++ @Field(() => CommentThreadTargetCreateManyCommentThreadInputEnvelope, {+ nullable: true,+ })+ @Type(() => CommentThreadTargetCreateManyCommentThreadInputEnvelope)+ createMany?: CommentThreadTargetCreateManyCommentThreadInputEnvelope;++ @HideField()+ connect?: Array<CommentThreadTargetWhereUniqueInput>;+}diff --git a/server/src/api/@generated/comment-thread-target/comment-thread-target-create-or-connect-without-comment-thread.input.ts b/server/src/api/@generated/comment-thread-target/comment-thread-target-create-or-connect-without-comment-thread.input.tsnew file mode 100644index 00000000000..4e2df0345b8--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/comment-thread-target-create-or-connect-without-comment-thread.input.ts@@ -0,0 +1,18 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentThreadTargetWhereUniqueInput } from './comment-thread-target-where-unique.input';+import { Type } from 'class-transformer';+import { CommentThreadTargetCreateWithoutCommentThreadInput } from './comment-thread-target-create-without-comment-thread.input';++@InputType()+export class CommentThreadTargetCreateOrConnectWithoutCommentThreadInput {+ @Field(() => CommentThreadTargetWhereUniqueInput, { nullable: false })+ @Type(() => CommentThreadTargetWhereUniqueInput)+ where!: CommentThreadTargetWhereUniqueInput;++ @Field(() => CommentThreadTargetCreateWithoutCommentThreadInput, {+ nullable: false,+ })+ @Type(() => CommentThreadTargetCreateWithoutCommentThreadInput)+ create!: CommentThreadTargetCreateWithoutCommentThreadInput;+}diff --git a/server/src/api/@generated/comment-thread-target/comment-thread-target-create-without-comment-thread.input.ts b/server/src/api/@generated/comment-thread-target/comment-thread-target-create-without-comment-thread.input.tsnew file mode 100644index 00000000000..ad36e97e49a--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/comment-thread-target-create-without-comment-thread.input.ts@@ -0,0 +1,24 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentableType } from '../prisma/commentable-type.enum';++@InputType()+export class CommentThreadTargetCreateWithoutCommentThreadInput {+ @Field(() => String, { nullable: false })+ id!: string;++ @Field(() => Date, { nullable: true })+ createdAt?: Date | string;++ @Field(() => Date, { nullable: true })+ updatedAt?: Date | string;++ @Field(() => Date, { nullable: true })+ deletedAt?: Date | string;++ @Field(() => CommentableType, { nullable: false })+ commentableType!: keyof typeof CommentableType;++ @Field(() => String, { nullable: false })+ commentableId!: string;+}diff --git a/server/src/api/@generated/comment-thread-target/comment-thread-target-create.input.ts b/server/src/api/@generated/comment-thread-target/comment-thread-target-create.input.tsnew file mode 100644index 00000000000..2a487415d2f--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/comment-thread-target-create.input.ts@@ -0,0 +1,30 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentableType } from '../prisma/commentable-type.enum';+import { CommentThreadCreateNestedOneWithoutCommentThreadTargetsInput } from '../comment-thread/comment-thread-create-nested-one-without-comment-thread-targets.input';++@InputType()+export class CommentThreadTargetCreateInput {+ @Field(() => String, { nullable: false })+ id!: string;++ @Field(() => Date, { nullable: true })+ createdAt?: Date | string;++ @Field(() => Date, { nullable: true })+ updatedAt?: Date | string;++ @Field(() => Date, { nullable: true })+ deletedAt?: Date | string;++ @Field(() => CommentableType, { nullable: false })+ commentableType!: keyof typeof CommentableType;++ @Field(() => String, { nullable: false })+ commentableId!: string;++ @Field(() => CommentThreadCreateNestedOneWithoutCommentThreadTargetsInput, {+ nullable: false,+ })+ commentThread!: CommentThreadCreateNestedOneWithoutCommentThreadTargetsInput;+}diff --git a/server/src/api/@generated/comment-thread-target/comment-thread-target-group-by.args.ts b/server/src/api/@generated/comment-thread-target/comment-thread-target-group-by.args.tsnew file mode 100644index 00000000000..6199a10c4ed--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/comment-thread-target-group-by.args.ts@@ -0,0 +1,46 @@+import { Field } from '@nestjs/graphql';+import { ArgsType } from '@nestjs/graphql';+import { CommentThreadTargetWhereInput } from './comment-thread-target-where.input';+import { Type } from 'class-transformer';+import { CommentThreadTargetOrderByWithAggregationInput } from './comment-thread-target-order-by-with-aggregation.input';+import { CommentThreadTargetScalarFieldEnum } from './comment-thread-target-scalar-field.enum';+import { CommentThreadTargetScalarWhereWithAggregatesInput } from './comment-thread-target-scalar-where-with-aggregates.input';+import { Int } from '@nestjs/graphql';+import { CommentThreadTargetCountAggregateInput } from './comment-thread-target-count-aggregate.input';+import { CommentThreadTargetMinAggregateInput } from './comment-thread-target-min-aggregate.input';+import { CommentThreadTargetMaxAggregateInput } from './comment-thread-target-max-aggregate.input';++@ArgsType()+export class CommentThreadTargetGroupByArgs {+ @Field(() => CommentThreadTargetWhereInput, { nullable: true })+ @Type(() => CommentThreadTargetWhereInput)+ where?: CommentThreadTargetWhereInput;++ @Field(() => [CommentThreadTargetOrderByWithAggregationInput], {+ nullable: true,+ })+ orderBy?: Array<CommentThreadTargetOrderByWithAggregationInput>;++ @Field(() => [CommentThreadTargetScalarFieldEnum], { nullable: false })+ by!: Array<keyof typeof CommentThreadTargetScalarFieldEnum>;++ @Field(() => CommentThreadTargetScalarWhereWithAggregatesInput, {+ nullable: true,+ })+ having?: CommentThreadTargetScalarWhereWithAggregatesInput;++ @Field(() => Int, { nullable: true })+ take?: number;++ @Field(() => Int, { nullable: true })+ skip?: number;++ @Field(() => CommentThreadTargetCountAggregateInput, { nullable: true })+ _count?: CommentThreadTargetCountAggregateInput;++ @Field(() => CommentThreadTargetMinAggregateInput, { nullable: true })+ _min?: CommentThreadTargetMinAggregateInput;++ @Field(() => CommentThreadTargetMaxAggregateInput, { nullable: true })+ _max?: CommentThreadTargetMaxAggregateInput;+}diff --git a/server/src/api/@generated/comment-thread-target/comment-thread-target-group-by.output.ts b/server/src/api/@generated/comment-thread-target/comment-thread-target-group-by.output.tsnew file mode 100644index 00000000000..f12e3b0efe0--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/comment-thread-target-group-by.output.ts@@ -0,0 +1,39 @@+import { Field } from '@nestjs/graphql';+import { ObjectType } from '@nestjs/graphql';+import { CommentableType } from '../prisma/commentable-type.enum';+import { CommentThreadTargetCountAggregate } from './comment-thread-target-count-aggregate.output';+import { CommentThreadTargetMinAggregate } from './comment-thread-target-min-aggregate.output';+import { CommentThreadTargetMaxAggregate } from './comment-thread-target-max-aggregate.output';++@ObjectType()+export class CommentThreadTargetGroupBy {+ @Field(() => String, { nullable: false })+ id!: string;++ @Field(() => Date, { nullable: false })+ createdAt!: Date | string;++ @Field(() => Date, { nullable: false })+ updatedAt!: Date | string;++ @Field(() => Date, { nullable: true })+ deletedAt?: Date | string;++ @Field(() => String, { nullable: false })+ commentThreadId!: string;++ @Field(() => CommentableType, { nullable: false })+ commentableType!: keyof typeof CommentableType;++ @Field(() => String, { nullable: false })+ commentableId!: string;++ @Field(() => CommentThreadTargetCountAggregate, { nullable: true })+ _count?: CommentThreadTargetCountAggregate;++ @Field(() => CommentThreadTargetMinAggregate, { nullable: true })+ _min?: CommentThreadTargetMinAggregate;++ @Field(() => CommentThreadTargetMaxAggregate, { nullable: true })+ _max?: CommentThreadTargetMaxAggregate;+}diff --git a/server/src/api/@generated/comment-thread-target/comment-thread-target-list-relation-filter.input.ts b/server/src/api/@generated/comment-thread-target/comment-thread-target-list-relation-filter.input.tsnew file mode 100644index 00000000000..0beb36062bf--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/comment-thread-target-list-relation-filter.input.ts@@ -0,0 +1,15 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentThreadTargetWhereInput } from './comment-thread-target-where.input';++@InputType()+export class CommentThreadTargetListRelationFilter {+ @Field(() => CommentThreadTargetWhereInput, { nullable: true })+ every?: CommentThreadTargetWhereInput;++ @Field(() => CommentThreadTargetWhereInput, { nullable: true })+ some?: CommentThreadTargetWhereInput;++ @Field(() => CommentThreadTargetWhereInput, { nullable: true })+ none?: CommentThreadTargetWhereInput;+}diff --git a/server/src/api/@generated/comment-thread-target/comment-thread-target-max-aggregate.input.ts b/server/src/api/@generated/comment-thread-target/comment-thread-target-max-aggregate.input.tsnew file mode 100644index 00000000000..19b32ce4ffe--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/comment-thread-target-max-aggregate.input.ts@@ -0,0 +1,26 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';++@InputType()+export class CommentThreadTargetMaxAggregateInput {+ @Field(() => Boolean, { nullable: true })+ id?: true;++ @Field(() => Boolean, { nullable: true })+ createdAt?: true;++ @Field(() => Boolean, { nullable: true })+ updatedAt?: true;++ @Field(() => Boolean, { nullable: true })+ deletedAt?: true;++ @Field(() => Boolean, { nullable: true })+ commentThreadId?: true;++ @Field(() => Boolean, { nullable: true })+ commentableType?: true;++ @Field(() => Boolean, { nullable: true })+ commentableId?: true;+}diff --git a/server/src/api/@generated/comment-thread-target/comment-thread-target-max-aggregate.output.ts b/server/src/api/@generated/comment-thread-target/comment-thread-target-max-aggregate.output.tsnew file mode 100644index 00000000000..13499da7d56--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/comment-thread-target-max-aggregate.output.ts@@ -0,0 +1,27 @@+import { Field } from '@nestjs/graphql';+import { ObjectType } from '@nestjs/graphql';+import { CommentableType } from '../prisma/commentable-type.enum';++@ObjectType()+export class CommentThreadTargetMaxAggregate {+ @Field(() => String, { nullable: true })+ id?: string;++ @Field(() => Date, { nullable: true })+ createdAt?: Date | string;++ @Field(() => Date, { nullable: true })+ updatedAt?: Date | string;++ @Field(() => Date, { nullable: true })+ deletedAt?: Date | string;++ @Field(() => String, { nullable: true })+ commentThreadId?: string;++ @Field(() => CommentableType, { nullable: true })+ commentableType?: keyof typeof CommentableType;++ @Field(() => String, { nullable: true })+ commentableId?: string;+}diff --git a/server/src/api/@generated/comment-thread-target/comment-thread-target-max-order-by-aggregate.input.ts b/server/src/api/@generated/comment-thread-target/comment-thread-target-max-order-by-aggregate.input.tsnew file mode 100644index 00000000000..15c9cc13244--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/comment-thread-target-max-order-by-aggregate.input.ts@@ -0,0 +1,27 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { SortOrder } from '../prisma/sort-order.enum';++@InputType()+export class CommentThreadTargetMaxOrderByAggregateInput {+ @Field(() => SortOrder, { nullable: true })+ id?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ createdAt?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ updatedAt?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ deletedAt?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ commentThreadId?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ commentableType?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ commentableId?: keyof typeof SortOrder;+}diff --git a/server/src/api/@generated/comment-thread-target/comment-thread-target-min-aggregate.input.ts b/server/src/api/@generated/comment-thread-target/comment-thread-target-min-aggregate.input.tsnew file mode 100644index 00000000000..1d11e8257f5--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/comment-thread-target-min-aggregate.input.ts@@ -0,0 +1,26 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';++@InputType()+export class CommentThreadTargetMinAggregateInput {+ @Field(() => Boolean, { nullable: true })+ id?: true;++ @Field(() => Boolean, { nullable: true })+ createdAt?: true;++ @Field(() => Boolean, { nullable: true })+ updatedAt?: true;++ @Field(() => Boolean, { nullable: true })+ deletedAt?: true;++ @Field(() => Boolean, { nullable: true })+ commentThreadId?: true;++ @Field(() => Boolean, { nullable: true })+ commentableType?: true;++ @Field(() => Boolean, { nullable: true })+ commentableId?: true;+}diff --git a/server/src/api/@generated/comment-thread-target/comment-thread-target-min-aggregate.output.ts b/server/src/api/@generated/comment-thread-target/comment-thread-target-min-aggregate.output.tsnew file mode 100644index 00000000000..3cfafede91a--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/comment-thread-target-min-aggregate.output.ts@@ -0,0 +1,27 @@+import { Field } from '@nestjs/graphql';+import { ObjectType } from '@nestjs/graphql';+import { CommentableType } from '../prisma/commentable-type.enum';++@ObjectType()+export class CommentThreadTargetMinAggregate {+ @Field(() => String, { nullable: true })+ id?: string;++ @Field(() => Date, { nullable: true })+ createdAt?: Date | string;++ @Field(() => Date, { nullable: true })+ updatedAt?: Date | string;++ @Field(() => Date, { nullable: true })+ deletedAt?: Date | string;++ @Field(() => String, { nullable: true })+ commentThreadId?: string;++ @Field(() => CommentableType, { nullable: true })+ commentableType?: keyof typeof CommentableType;++ @Field(() => String, { nullable: true })+ commentableId?: string;+}diff --git a/server/src/api/@generated/comment-thread-target/comment-thread-target-min-order-by-aggregate.input.ts b/server/src/api/@generated/comment-thread-target/comment-thread-target-min-order-by-aggregate.input.tsnew file mode 100644index 00000000000..a5daba5ee5f--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/comment-thread-target-min-order-by-aggregate.input.ts@@ -0,0 +1,27 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { SortOrder } from '../prisma/sort-order.enum';++@InputType()+export class CommentThreadTargetMinOrderByAggregateInput {+ @Field(() => SortOrder, { nullable: true })+ id?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ createdAt?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ updatedAt?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ deletedAt?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ commentThreadId?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ commentableType?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ commentableId?: keyof typeof SortOrder;+}diff --git a/server/src/api/@generated/comment-thread-target/comment-thread-target-order-by-relation-aggregate.input.ts b/server/src/api/@generated/comment-thread-target/comment-thread-target-order-by-relation-aggregate.input.tsnew file mode 100644index 00000000000..c121b1834ab--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/comment-thread-target-order-by-relation-aggregate.input.ts@@ -0,0 +1,9 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { SortOrder } from '../prisma/sort-order.enum';++@InputType()+export class CommentThreadTargetOrderByRelationAggregateInput {+ @Field(() => SortOrder, { nullable: true })+ _count?: keyof typeof SortOrder;+}diff --git a/server/src/api/@generated/comment-thread-target/comment-thread-target-order-by-with-aggregation.input.ts b/server/src/api/@generated/comment-thread-target/comment-thread-target-order-by-with-aggregation.input.tsnew file mode 100644index 00000000000..decb06eb01c--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/comment-thread-target-order-by-with-aggregation.input.ts@@ -0,0 +1,41 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { SortOrder } from '../prisma/sort-order.enum';+import { CommentThreadTargetCountOrderByAggregateInput } from './comment-thread-target-count-order-by-aggregate.input';+import { CommentThreadTargetMaxOrderByAggregateInput } from './comment-thread-target-max-order-by-aggregate.input';+import { CommentThreadTargetMinOrderByAggregateInput } from './comment-thread-target-min-order-by-aggregate.input';++@InputType()+export class CommentThreadTargetOrderByWithAggregationInput {+ @Field(() => SortOrder, { nullable: true })+ id?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ createdAt?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ updatedAt?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ deletedAt?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ commentThreadId?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ commentableType?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ commentableId?: keyof typeof SortOrder;++ @Field(() => CommentThreadTargetCountOrderByAggregateInput, {+ nullable: true,+ })+ _count?: CommentThreadTargetCountOrderByAggregateInput;++ @Field(() => CommentThreadTargetMaxOrderByAggregateInput, { nullable: true })+ _max?: CommentThreadTargetMaxOrderByAggregateInput;++ @Field(() => CommentThreadTargetMinOrderByAggregateInput, { nullable: true })+ _min?: CommentThreadTargetMinOrderByAggregateInput;+}diff --git a/server/src/api/@generated/comment-thread-target/comment-thread-target-order-by-with-relation.input.ts b/server/src/api/@generated/comment-thread-target/comment-thread-target-order-by-with-relation.input.tsnew file mode 100644index 00000000000..0be52856dce--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/comment-thread-target-order-by-with-relation.input.ts@@ -0,0 +1,31 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { SortOrder } from '../prisma/sort-order.enum';+import { CommentThreadOrderByWithRelationInput } from '../comment-thread/comment-thread-order-by-with-relation.input';++@InputType()+export class CommentThreadTargetOrderByWithRelationInput {+ @Field(() => SortOrder, { nullable: true })+ id?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ createdAt?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ updatedAt?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ deletedAt?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ commentThreadId?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ commentableType?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ commentableId?: keyof typeof SortOrder;++ @Field(() => CommentThreadOrderByWithRelationInput, { nullable: true })+ commentThread?: CommentThreadOrderByWithRelationInput;+}diff --git a/server/src/api/@generated/comment-thread-target/comment-thread-target-scalar-field.enum.ts b/server/src/api/@generated/comment-thread-target/comment-thread-target-scalar-field.enum.tsnew file mode 100644index 00000000000..56d7e0c52bc--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/comment-thread-target-scalar-field.enum.ts@@ -0,0 +1,16 @@+import { registerEnumType } from '@nestjs/graphql';++export enum CommentThreadTargetScalarFieldEnum {+ id = 'id',+ createdAt = 'createdAt',+ updatedAt = 'updatedAt',+ deletedAt = 'deletedAt',+ commentThreadId = 'commentThreadId',+ commentableType = 'commentableType',+ commentableId = 'commentableId',+}++registerEnumType(CommentThreadTargetScalarFieldEnum, {+ name: 'CommentThreadTargetScalarFieldEnum',+ description: undefined,+});diff --git a/server/src/api/@generated/comment-thread-target/comment-thread-target-scalar-where-with-aggregates.input.ts b/server/src/api/@generated/comment-thread-target/comment-thread-target-scalar-where-with-aggregates.input.tsnew file mode 100644index 00000000000..39ec613ca58--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/comment-thread-target-scalar-where-with-aggregates.input.ts@@ -0,0 +1,45 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { StringWithAggregatesFilter } from '../prisma/string-with-aggregates-filter.input';+import { DateTimeWithAggregatesFilter } from '../prisma/date-time-with-aggregates-filter.input';+import { DateTimeNullableWithAggregatesFilter } from '../prisma/date-time-nullable-with-aggregates-filter.input';+import { EnumCommentableTypeWithAggregatesFilter } from '../prisma/enum-commentable-type-with-aggregates-filter.input';++@InputType()+export class CommentThreadTargetScalarWhereWithAggregatesInput {+ @Field(() => [CommentThreadTargetScalarWhereWithAggregatesInput], {+ nullable: true,+ })+ AND?: Array<CommentThreadTargetScalarWhereWithAggregatesInput>;++ @Field(() => [CommentThreadTargetScalarWhereWithAggregatesInput], {+ nullable: true,+ })+ OR?: Array<CommentThreadTargetScalarWhereWithAggregatesInput>;++ @Field(() => [CommentThreadTargetScalarWhereWithAggregatesInput], {+ nullable: true,+ })+ NOT?: Array<CommentThreadTargetScalarWhereWithAggregatesInput>;++ @Field(() => StringWithAggregatesFilter, { nullable: true })+ id?: StringWithAggregatesFilter;++ @Field(() => DateTimeWithAggregatesFilter, { nullable: true })+ createdAt?: DateTimeWithAggregatesFilter;++ @Field(() => DateTimeWithAggregatesFilter, { nullable: true })+ updatedAt?: DateTimeWithAggregatesFilter;++ @Field(() => DateTimeNullableWithAggregatesFilter, { nullable: true })+ deletedAt?: DateTimeNullableWithAggregatesFilter;++ @Field(() => StringWithAggregatesFilter, { nullable: true })+ commentThreadId?: StringWithAggregatesFilter;++ @Field(() => EnumCommentableTypeWithAggregatesFilter, { nullable: true })+ commentableType?: EnumCommentableTypeWithAggregatesFilter;++ @Field(() => StringWithAggregatesFilter, { nullable: true })+ commentableId?: StringWithAggregatesFilter;+}diff --git a/server/src/api/@generated/comment-thread-target/comment-thread-target-scalar-where.input.ts b/server/src/api/@generated/comment-thread-target/comment-thread-target-scalar-where.input.tsnew file mode 100644index 00000000000..a2fcb88726a--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/comment-thread-target-scalar-where.input.ts@@ -0,0 +1,39 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { StringFilter } from '../prisma/string-filter.input';+import { DateTimeFilter } from '../prisma/date-time-filter.input';+import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input';+import { EnumCommentableTypeFilter } from '../prisma/enum-commentable-type-filter.input';++@InputType()+export class CommentThreadTargetScalarWhereInput {+ @Field(() => [CommentThreadTargetScalarWhereInput], { nullable: true })+ AND?: Array<CommentThreadTargetScalarWhereInput>;++ @Field(() => [CommentThreadTargetScalarWhereInput], { nullable: true })+ OR?: Array<CommentThreadTargetScalarWhereInput>;++ @Field(() => [CommentThreadTargetScalarWhereInput], { nullable: true })+ NOT?: Array<CommentThreadTargetScalarWhereInput>;++ @Field(() => StringFilter, { nullable: true })+ id?: StringFilter;++ @Field(() => DateTimeFilter, { nullable: true })+ createdAt?: DateTimeFilter;++ @Field(() => DateTimeFilter, { nullable: true })+ updatedAt?: DateTimeFilter;++ @Field(() => DateTimeNullableFilter, { nullable: true })+ deletedAt?: DateTimeNullableFilter;++ @Field(() => StringFilter, { nullable: true })+ commentThreadId?: StringFilter;++ @Field(() => EnumCommentableTypeFilter, { nullable: true })+ commentableType?: EnumCommentableTypeFilter;++ @Field(() => StringFilter, { nullable: true })+ commentableId?: StringFilter;+}diff --git a/server/src/api/@generated/comment-thread-target/comment-thread-target-unchecked-create-nested-many-without-comment-thread.input.ts b/server/src/api/@generated/comment-thread-target/comment-thread-target-unchecked-create-nested-many-without-comment-thread.input.tsnew file mode 100644index 00000000000..fc62505b7ea--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/comment-thread-target-unchecked-create-nested-many-without-comment-thread.input.ts@@ -0,0 +1,32 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentThreadTargetCreateWithoutCommentThreadInput } from './comment-thread-target-create-without-comment-thread.input';+import { Type } from 'class-transformer';+import { CommentThreadTargetCreateOrConnectWithoutCommentThreadInput } from './comment-thread-target-create-or-connect-without-comment-thread.input';+import { CommentThreadTargetCreateManyCommentThreadInputEnvelope } from './comment-thread-target-create-many-comment-thread-input-envelope.input';+import { CommentThreadTargetWhereUniqueInput } from './comment-thread-target-where-unique.input';++@InputType()+export class CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput {+ @Field(() => [CommentThreadTargetCreateWithoutCommentThreadInput], {+ nullable: true,+ })+ @Type(() => CommentThreadTargetCreateWithoutCommentThreadInput)+ create?: Array<CommentThreadTargetCreateWithoutCommentThreadInput>;++ @Field(() => [CommentThreadTargetCreateOrConnectWithoutCommentThreadInput], {+ nullable: true,+ })+ @Type(() => CommentThreadTargetCreateOrConnectWithoutCommentThreadInput)+ connectOrCreate?: Array<CommentThreadTargetCreateOrConnectWithoutCommentThreadInput>;++ @Field(() => CommentThreadTargetCreateManyCommentThreadInputEnvelope, {+ nullable: true,+ })+ @Type(() => CommentThreadTargetCreateManyCommentThreadInputEnvelope)+ createMany?: CommentThreadTargetCreateManyCommentThreadInputEnvelope;++ @Field(() => [CommentThreadTargetWhereUniqueInput], { nullable: true })+ @Type(() => CommentThreadTargetWhereUniqueInput)+ connect?: Array<CommentThreadTargetWhereUniqueInput>;+}diff --git a/server/src/api/@generated/comment-thread-target/comment-thread-target-unchecked-create-without-comment-thread.input.ts b/server/src/api/@generated/comment-thread-target/comment-thread-target-unchecked-create-without-comment-thread.input.tsnew file mode 100644index 00000000000..5750b95ef00--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/comment-thread-target-unchecked-create-without-comment-thread.input.ts@@ -0,0 +1,24 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentableType } from '../prisma/commentable-type.enum';++@InputType()+export class CommentThreadTargetUncheckedCreateWithoutCommentThreadInput {+ @Field(() => String, { nullable: false })+ id!: string;++ @Field(() => Date, { nullable: true })+ createdAt?: Date | string;++ @Field(() => Date, { nullable: true })+ updatedAt?: Date | string;++ @Field(() => Date, { nullable: true })+ deletedAt?: Date | string;++ @Field(() => CommentableType, { nullable: false })+ commentableType!: keyof typeof CommentableType;++ @Field(() => String, { nullable: false })+ commentableId!: string;+}diff --git a/server/src/api/@generated/comment-thread-target/comment-thread-target-unchecked-create.input.ts b/server/src/api/@generated/comment-thread-target/comment-thread-target-unchecked-create.input.tsnew file mode 100644index 00000000000..087af460d48--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/comment-thread-target-unchecked-create.input.ts@@ -0,0 +1,27 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentableType } from '../prisma/commentable-type.enum';++@InputType()+export class CommentThreadTargetUncheckedCreateInput {+ @Field(() => String, { nullable: false })+ id!: string;++ @Field(() => Date, { nullable: true })+ createdAt?: Date | string;++ @Field(() => Date, { nullable: true })+ updatedAt?: Date | string;++ @Field(() => Date, { nullable: true })+ deletedAt?: Date | string;++ @Field(() => String, { nullable: false })+ commentThreadId!: string;++ @Field(() => CommentableType, { nullable: false })+ commentableType!: keyof typeof CommentableType;++ @Field(() => String, { nullable: false })+ commentableId!: string;+}diff --git a/server/src/api/@generated/comment-thread-target/comment-thread-target-unchecked-update-many-without-comment-thread-nested.input.ts b/server/src/api/@generated/comment-thread-target/comment-thread-target-unchecked-update-many-without-comment-thread-nested.input.tsnew file mode 100644index 00000000000..615780fe14c--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/comment-thread-target-unchecked-update-many-without-comment-thread-nested.input.ts@@ -0,0 +1,73 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentThreadTargetCreateWithoutCommentThreadInput } from './comment-thread-target-create-without-comment-thread.input';+import { Type } from 'class-transformer';+import { CommentThreadTargetCreateOrConnectWithoutCommentThreadInput } from './comment-thread-target-create-or-connect-without-comment-thread.input';+import { CommentThreadTargetUpsertWithWhereUniqueWithoutCommentThreadInput } from './comment-thread-target-upsert-with-where-unique-without-comment-thread.input';+import { CommentThreadTargetCreateManyCommentThreadInputEnvelope } from './comment-thread-target-create-many-comment-thread-input-envelope.input';+import { CommentThreadTargetWhereUniqueInput } from './comment-thread-target-where-unique.input';+import { CommentThreadTargetUpdateWithWhereUniqueWithoutCommentThreadInput } from './comment-thread-target-update-with-where-unique-without-comment-thread.input';+import { CommentThreadTargetUpdateManyWithWhereWithoutCommentThreadInput } from './comment-thread-target-update-many-with-where-without-comment-thread.input';+import { CommentThreadTargetScalarWhereInput } from './comment-thread-target-scalar-where.input';++@InputType()+export class CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadNestedInput {+ @Field(() => [CommentThreadTargetCreateWithoutCommentThreadInput], {+ nullable: true,+ })+ @Type(() => CommentThreadTargetCreateWithoutCommentThreadInput)+ create?: Array<CommentThreadTargetCreateWithoutCommentThreadInput>;++ @Field(() => [CommentThreadTargetCreateOrConnectWithoutCommentThreadInput], {+ nullable: true,+ })+ @Type(() => CommentThreadTargetCreateOrConnectWithoutCommentThreadInput)+ connectOrCreate?: Array<CommentThreadTargetCreateOrConnectWithoutCommentThreadInput>;++ @Field(+ () => [CommentThreadTargetUpsertWithWhereUniqueWithoutCommentThreadInput],+ { nullable: true },+ )+ @Type(() => CommentThreadTargetUpsertWithWhereUniqueWithoutCommentThreadInput)+ upsert?: Array<CommentThreadTargetUpsertWithWhereUniqueWithoutCommentThreadInput>;++ @Field(() => CommentThreadTargetCreateManyCommentThreadInputEnvelope, {+ nullable: true,+ })+ @Type(() => CommentThreadTargetCreateManyCommentThreadInputEnvelope)+ createMany?: CommentThreadTargetCreateManyCommentThreadInputEnvelope;++ @Field(() => [CommentThreadTargetWhereUniqueInput], { nullable: true })+ @Type(() => CommentThreadTargetWhereUniqueInput)+ set?: Array<CommentThreadTargetWhereUniqueInput>;++ @Field(() => [CommentThreadTargetWhereUniqueInput], { nullable: true })+ @Type(() => CommentThreadTargetWhereUniqueInput)+ disconnect?: Array<CommentThreadTargetWhereUniqueInput>;++ @Field(() => [CommentThreadTargetWhereUniqueInput], { nullable: true })+ @Type(() => CommentThreadTargetWhereUniqueInput)+ delete?: Array<CommentThreadTargetWhereUniqueInput>;++ @Field(() => [CommentThreadTargetWhereUniqueInput], { nullable: true })+ @Type(() => CommentThreadTargetWhereUniqueInput)+ connect?: Array<CommentThreadTargetWhereUniqueInput>;++ @Field(+ () => [CommentThreadTargetUpdateWithWhereUniqueWithoutCommentThreadInput],+ { nullable: true },+ )+ @Type(() => CommentThreadTargetUpdateWithWhereUniqueWithoutCommentThreadInput)+ update?: Array<CommentThreadTargetUpdateWithWhereUniqueWithoutCommentThreadInput>;++ @Field(+ () => [CommentThreadTargetUpdateManyWithWhereWithoutCommentThreadInput],+ { nullable: true },+ )+ @Type(() => CommentThreadTargetUpdateManyWithWhereWithoutCommentThreadInput)+ updateMany?: Array<CommentThreadTargetUpdateManyWithWhereWithoutCommentThreadInput>;++ @Field(() => [CommentThreadTargetScalarWhereInput], { nullable: true })+ @Type(() => CommentThreadTargetScalarWhereInput)+ deleteMany?: Array<CommentThreadTargetScalarWhereInput>;+}diff --git a/server/src/api/@generated/comment-thread-target/comment-thread-target-unchecked-update-many-without-comment-thread-targets.input.ts b/server/src/api/@generated/comment-thread-target/comment-thread-target-unchecked-update-many-without-comment-thread-targets.input.tsnew file mode 100644index 00000000000..15a9d596745--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/comment-thread-target-unchecked-update-many-without-comment-thread-targets.input.ts@@ -0,0 +1,29 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';+import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';+import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';+import { EnumCommentableTypeFieldUpdateOperationsInput } from '../prisma/enum-commentable-type-field-update-operations.input';++@InputType()+export class CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadTargetsInput {+ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ id?: StringFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ createdAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ updatedAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })+ deletedAt?: NullableDateTimeFieldUpdateOperationsInput;++ @Field(() => EnumCommentableTypeFieldUpdateOperationsInput, {+ nullable: true,+ })+ commentableType?: EnumCommentableTypeFieldUpdateOperationsInput;++ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ commentableId?: StringFieldUpdateOperationsInput;+}diff --git a/server/src/api/@generated/comment-thread-target/comment-thread-target-unchecked-update-many.input.ts b/server/src/api/@generated/comment-thread-target/comment-thread-target-unchecked-update-many.input.tsnew file mode 100644index 00000000000..75e768767ac--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/comment-thread-target-unchecked-update-many.input.ts@@ -0,0 +1,32 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';+import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';+import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';+import { EnumCommentableTypeFieldUpdateOperationsInput } from '../prisma/enum-commentable-type-field-update-operations.input';++@InputType()+export class CommentThreadTargetUncheckedUpdateManyInput {+ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ id?: StringFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ createdAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ updatedAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })+ deletedAt?: NullableDateTimeFieldUpdateOperationsInput;++ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ commentThreadId?: StringFieldUpdateOperationsInput;++ @Field(() => EnumCommentableTypeFieldUpdateOperationsInput, {+ nullable: true,+ })+ commentableType?: EnumCommentableTypeFieldUpdateOperationsInput;++ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ commentableId?: StringFieldUpdateOperationsInput;+}diff --git a/server/src/api/@generated/comment-thread-target/comment-thread-target-unchecked-update-without-comment-thread.input.ts b/server/src/api/@generated/comment-thread-target/comment-thread-target-unchecked-update-without-comment-thread.input.tsnew file mode 100644index 00000000000..7e5def10f33--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/comment-thread-target-unchecked-update-without-comment-thread.input.ts@@ -0,0 +1,29 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';+import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';+import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';+import { EnumCommentableTypeFieldUpdateOperationsInput } from '../prisma/enum-commentable-type-field-update-operations.input';++@InputType()+export class CommentThreadTargetUncheckedUpdateWithoutCommentThreadInput {+ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ id?: StringFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ createdAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ updatedAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })+ deletedAt?: NullableDateTimeFieldUpdateOperationsInput;++ @Field(() => EnumCommentableTypeFieldUpdateOperationsInput, {+ nullable: true,+ })+ commentableType?: EnumCommentableTypeFieldUpdateOperationsInput;++ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ commentableId?: StringFieldUpdateOperationsInput;+}diff --git a/server/src/api/@generated/comment-thread-target/comment-thread-target-unchecked-update.input.ts b/server/src/api/@generated/comment-thread-target/comment-thread-target-unchecked-update.input.tsnew file mode 100644index 00000000000..3ac44917869--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/comment-thread-target-unchecked-update.input.ts@@ -0,0 +1,32 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';+import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';+import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';+import { EnumCommentableTypeFieldUpdateOperationsInput } from '../prisma/enum-commentable-type-field-update-operations.input';++@InputType()+export class CommentThreadTargetUncheckedUpdateInput {+ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ id?: StringFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ createdAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ updatedAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })+ deletedAt?: NullableDateTimeFieldUpdateOperationsInput;++ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ commentThreadId?: StringFieldUpdateOperationsInput;++ @Field(() => EnumCommentableTypeFieldUpdateOperationsInput, {+ nullable: true,+ })+ commentableType?: EnumCommentableTypeFieldUpdateOperationsInput;++ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ commentableId?: StringFieldUpdateOperationsInput;+}diff --git a/server/src/api/@generated/comment-thread-target/comment-thread-target-update-many-mutation.input.ts b/server/src/api/@generated/comment-thread-target/comment-thread-target-update-many-mutation.input.tsnew file mode 100644index 00000000000..818666e6cc8--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/comment-thread-target-update-many-mutation.input.ts@@ -0,0 +1,29 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';+import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';+import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';+import { EnumCommentableTypeFieldUpdateOperationsInput } from '../prisma/enum-commentable-type-field-update-operations.input';++@InputType()+export class CommentThreadTargetUpdateManyMutationInput {+ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ id?: StringFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ createdAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ updatedAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })+ deletedAt?: NullableDateTimeFieldUpdateOperationsInput;++ @Field(() => EnumCommentableTypeFieldUpdateOperationsInput, {+ nullable: true,+ })+ commentableType?: EnumCommentableTypeFieldUpdateOperationsInput;++ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ commentableId?: StringFieldUpdateOperationsInput;+}diff --git a/server/src/api/@generated/comment-thread-target/comment-thread-target-update-many-with-where-without-comment-thread.input.ts b/server/src/api/@generated/comment-thread-target/comment-thread-target-update-many-with-where-without-comment-thread.input.tsnew file mode 100644index 00000000000..1c53feddebe--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/comment-thread-target-update-many-with-where-without-comment-thread.input.ts@@ -0,0 +1,16 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentThreadTargetScalarWhereInput } from './comment-thread-target-scalar-where.input';+import { Type } from 'class-transformer';+import { CommentThreadTargetUpdateManyMutationInput } from './comment-thread-target-update-many-mutation.input';++@InputType()+export class CommentThreadTargetUpdateManyWithWhereWithoutCommentThreadInput {+ @Field(() => CommentThreadTargetScalarWhereInput, { nullable: false })+ @Type(() => CommentThreadTargetScalarWhereInput)+ where!: CommentThreadTargetScalarWhereInput;++ @Field(() => CommentThreadTargetUpdateManyMutationInput, { nullable: false })+ @Type(() => CommentThreadTargetUpdateManyMutationInput)+ data!: CommentThreadTargetUpdateManyMutationInput;+}diff --git a/server/src/api/@generated/comment-thread-target/comment-thread-target-update-many-without-comment-thread-nested.input.ts b/server/src/api/@generated/comment-thread-target/comment-thread-target-update-many-without-comment-thread-nested.input.tsnew file mode 100644index 00000000000..6cb787e5968--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/comment-thread-target-update-many-without-comment-thread-nested.input.ts@@ -0,0 +1,73 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentThreadTargetCreateWithoutCommentThreadInput } from './comment-thread-target-create-without-comment-thread.input';+import { Type } from 'class-transformer';+import { CommentThreadTargetCreateOrConnectWithoutCommentThreadInput } from './comment-thread-target-create-or-connect-without-comment-thread.input';+import { CommentThreadTargetUpsertWithWhereUniqueWithoutCommentThreadInput } from './comment-thread-target-upsert-with-where-unique-without-comment-thread.input';+import { CommentThreadTargetCreateManyCommentThreadInputEnvelope } from './comment-thread-target-create-many-comment-thread-input-envelope.input';+import { CommentThreadTargetWhereUniqueInput } from './comment-thread-target-where-unique.input';+import { CommentThreadTargetUpdateWithWhereUniqueWithoutCommentThreadInput } from './comment-thread-target-update-with-where-unique-without-comment-thread.input';+import { CommentThreadTargetUpdateManyWithWhereWithoutCommentThreadInput } from './comment-thread-target-update-many-with-where-without-comment-thread.input';+import { CommentThreadTargetScalarWhereInput } from './comment-thread-target-scalar-where.input';++@InputType()+export class CommentThreadTargetUpdateManyWithoutCommentThreadNestedInput {+ @Field(() => [CommentThreadTargetCreateWithoutCommentThreadInput], {+ nullable: true,+ })+ @Type(() => CommentThreadTargetCreateWithoutCommentThreadInput)+ create?: Array<CommentThreadTargetCreateWithoutCommentThreadInput>;++ @Field(() => [CommentThreadTargetCreateOrConnectWithoutCommentThreadInput], {+ nullable: true,+ })+ @Type(() => CommentThreadTargetCreateOrConnectWithoutCommentThreadInput)+ connectOrCreate?: Array<CommentThreadTargetCreateOrConnectWithoutCommentThreadInput>;++ @Field(+ () => [CommentThreadTargetUpsertWithWhereUniqueWithoutCommentThreadInput],+ { nullable: true },+ )+ @Type(() => CommentThreadTargetUpsertWithWhereUniqueWithoutCommentThreadInput)+ upsert?: Array<CommentThreadTargetUpsertWithWhereUniqueWithoutCommentThreadInput>;++ @Field(() => CommentThreadTargetCreateManyCommentThreadInputEnvelope, {+ nullable: true,+ })+ @Type(() => CommentThreadTargetCreateManyCommentThreadInputEnvelope)+ createMany?: CommentThreadTargetCreateManyCommentThreadInputEnvelope;++ @Field(() => [CommentThreadTargetWhereUniqueInput], { nullable: true })+ @Type(() => CommentThreadTargetWhereUniqueInput)+ set?: Array<CommentThreadTargetWhereUniqueInput>;++ @Field(() => [CommentThreadTargetWhereUniqueInput], { nullable: true })+ @Type(() => CommentThreadTargetWhereUniqueInput)+ disconnect?: Array<CommentThreadTargetWhereUniqueInput>;++ @Field(() => [CommentThreadTargetWhereUniqueInput], { nullable: true })+ @Type(() => CommentThreadTargetWhereUniqueInput)+ delete?: Array<CommentThreadTargetWhereUniqueInput>;++ @Field(() => [CommentThreadTargetWhereUniqueInput], { nullable: true })+ @Type(() => CommentThreadTargetWhereUniqueInput)+ connect?: Array<CommentThreadTargetWhereUniqueInput>;++ @Field(+ () => [CommentThreadTargetUpdateWithWhereUniqueWithoutCommentThreadInput],+ { nullable: true },+ )+ @Type(() => CommentThreadTargetUpdateWithWhereUniqueWithoutCommentThreadInput)+ update?: Array<CommentThreadTargetUpdateWithWhereUniqueWithoutCommentThreadInput>;++ @Field(+ () => [CommentThreadTargetUpdateManyWithWhereWithoutCommentThreadInput],+ { nullable: true },+ )+ @Type(() => CommentThreadTargetUpdateManyWithWhereWithoutCommentThreadInput)+ updateMany?: Array<CommentThreadTargetUpdateManyWithWhereWithoutCommentThreadInput>;++ @Field(() => [CommentThreadTargetScalarWhereInput], { nullable: true })+ @Type(() => CommentThreadTargetScalarWhereInput)+ deleteMany?: Array<CommentThreadTargetScalarWhereInput>;+}diff --git a/server/src/api/@generated/comment-thread-target/comment-thread-target-update-with-where-unique-without-comment-thread.input.ts b/server/src/api/@generated/comment-thread-target/comment-thread-target-update-with-where-unique-without-comment-thread.input.tsnew file mode 100644index 00000000000..54dffc95662--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/comment-thread-target-update-with-where-unique-without-comment-thread.input.ts@@ -0,0 +1,18 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentThreadTargetWhereUniqueInput } from './comment-thread-target-where-unique.input';+import { Type } from 'class-transformer';+import { CommentThreadTargetUpdateWithoutCommentThreadInput } from './comment-thread-target-update-without-comment-thread.input';++@InputType()+export class CommentThreadTargetUpdateWithWhereUniqueWithoutCommentThreadInput {+ @Field(() => CommentThreadTargetWhereUniqueInput, { nullable: false })+ @Type(() => CommentThreadTargetWhereUniqueInput)+ where!: CommentThreadTargetWhereUniqueInput;++ @Field(() => CommentThreadTargetUpdateWithoutCommentThreadInput, {+ nullable: false,+ })+ @Type(() => CommentThreadTargetUpdateWithoutCommentThreadInput)+ data!: CommentThreadTargetUpdateWithoutCommentThreadInput;+}diff --git a/server/src/api/@generated/comment-thread-target/comment-thread-target-update-without-comment-thread.input.ts b/server/src/api/@generated/comment-thread-target/comment-thread-target-update-without-comment-thread.input.tsnew file mode 100644index 00000000000..5619d0943ca--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/comment-thread-target-update-without-comment-thread.input.ts@@ -0,0 +1,29 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';+import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';+import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';+import { EnumCommentableTypeFieldUpdateOperationsInput } from '../prisma/enum-commentable-type-field-update-operations.input';++@InputType()+export class CommentThreadTargetUpdateWithoutCommentThreadInput {+ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ id?: StringFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ createdAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ updatedAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })+ deletedAt?: NullableDateTimeFieldUpdateOperationsInput;++ @Field(() => EnumCommentableTypeFieldUpdateOperationsInput, {+ nullable: true,+ })+ commentableType?: EnumCommentableTypeFieldUpdateOperationsInput;++ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ commentableId?: StringFieldUpdateOperationsInput;+}diff --git a/server/src/api/@generated/comment-thread-target/comment-thread-target-update.input.ts b/server/src/api/@generated/comment-thread-target/comment-thread-target-update.input.tsnew file mode 100644index 00000000000..b486697b9d4--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/comment-thread-target-update.input.ts@@ -0,0 +1,36 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';+import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';+import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';+import { EnumCommentableTypeFieldUpdateOperationsInput } from '../prisma/enum-commentable-type-field-update-operations.input';+import { CommentThreadUpdateOneRequiredWithoutCommentThreadTargetsNestedInput } from '../comment-thread/comment-thread-update-one-required-without-comment-thread-targets-nested.input';++@InputType()+export class CommentThreadTargetUpdateInput {+ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ id?: StringFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ createdAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ updatedAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })+ deletedAt?: NullableDateTimeFieldUpdateOperationsInput;++ @Field(() => EnumCommentableTypeFieldUpdateOperationsInput, {+ nullable: true,+ })+ commentableType?: EnumCommentableTypeFieldUpdateOperationsInput;++ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ commentableId?: StringFieldUpdateOperationsInput;++ @Field(+ () => CommentThreadUpdateOneRequiredWithoutCommentThreadTargetsNestedInput,+ { nullable: true },+ )+ commentThread?: CommentThreadUpdateOneRequiredWithoutCommentThreadTargetsNestedInput;+}diff --git a/server/src/api/@generated/comment-thread-target/comment-thread-target-upsert-with-where-unique-without-comment-thread.input.ts b/server/src/api/@generated/comment-thread-target/comment-thread-target-upsert-with-where-unique-without-comment-thread.input.tsnew file mode 100644index 00000000000..951071fe3b7--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/comment-thread-target-upsert-with-where-unique-without-comment-thread.input.ts@@ -0,0 +1,25 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentThreadTargetWhereUniqueInput } from './comment-thread-target-where-unique.input';+import { Type } from 'class-transformer';+import { CommentThreadTargetUpdateWithoutCommentThreadInput } from './comment-thread-target-update-without-comment-thread.input';+import { CommentThreadTargetCreateWithoutCommentThreadInput } from './comment-thread-target-create-without-comment-thread.input';++@InputType()+export class CommentThreadTargetUpsertWithWhereUniqueWithoutCommentThreadInput {+ @Field(() => CommentThreadTargetWhereUniqueInput, { nullable: false })+ @Type(() => CommentThreadTargetWhereUniqueInput)+ where!: CommentThreadTargetWhereUniqueInput;++ @Field(() => CommentThreadTargetUpdateWithoutCommentThreadInput, {+ nullable: false,+ })+ @Type(() => CommentThreadTargetUpdateWithoutCommentThreadInput)+ update!: CommentThreadTargetUpdateWithoutCommentThreadInput;++ @Field(() => CommentThreadTargetCreateWithoutCommentThreadInput, {+ nullable: false,+ })+ @Type(() => CommentThreadTargetCreateWithoutCommentThreadInput)+ create!: CommentThreadTargetCreateWithoutCommentThreadInput;+}diff --git a/server/src/api/@generated/comment-thread-target/comment-thread-target-where-unique.input.ts b/server/src/api/@generated/comment-thread-target/comment-thread-target-where-unique.input.tsnew file mode 100644index 00000000000..cd6dc92144a--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/comment-thread-target-where-unique.input.ts@@ -0,0 +1,8 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';++@InputType()+export class CommentThreadTargetWhereUniqueInput {+ @Field(() => String, { nullable: true })+ id?: string;+}diff --git a/server/src/api/@generated/comment-thread-target/comment-thread-target-where.input.ts b/server/src/api/@generated/comment-thread-target/comment-thread-target-where.input.tsnew file mode 100644index 00000000000..3ffcfa458e4--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/comment-thread-target-where.input.ts@@ -0,0 +1,43 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { StringFilter } from '../prisma/string-filter.input';+import { DateTimeFilter } from '../prisma/date-time-filter.input';+import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input';+import { EnumCommentableTypeFilter } from '../prisma/enum-commentable-type-filter.input';+import { CommentThreadRelationFilter } from '../comment-thread/comment-thread-relation-filter.input';++@InputType()+export class CommentThreadTargetWhereInput {+ @Field(() => [CommentThreadTargetWhereInput], { nullable: true })+ AND?: Array<CommentThreadTargetWhereInput>;++ @Field(() => [CommentThreadTargetWhereInput], { nullable: true })+ OR?: Array<CommentThreadTargetWhereInput>;++ @Field(() => [CommentThreadTargetWhereInput], { nullable: true })+ NOT?: Array<CommentThreadTargetWhereInput>;++ @Field(() => StringFilter, { nullable: true })+ id?: StringFilter;++ @Field(() => DateTimeFilter, { nullable: true })+ createdAt?: DateTimeFilter;++ @Field(() => DateTimeFilter, { nullable: true })+ updatedAt?: DateTimeFilter;++ @Field(() => DateTimeNullableFilter, { nullable: true })+ deletedAt?: DateTimeNullableFilter;++ @Field(() => StringFilter, { nullable: true })+ commentThreadId?: StringFilter;++ @Field(() => EnumCommentableTypeFilter, { nullable: true })+ commentableType?: EnumCommentableTypeFilter;++ @Field(() => StringFilter, { nullable: true })+ commentableId?: StringFilter;++ @Field(() => CommentThreadRelationFilter, { nullable: true })+ commentThread?: CommentThreadRelationFilter;+}diff --git a/server/src/api/@generated/comment-thread-target/comment-thread-target.model.ts b/server/src/api/@generated/comment-thread-target/comment-thread-target.model.tsnew file mode 100644index 00000000000..6676e57028a--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/comment-thread-target.model.ts@@ -0,0 +1,32 @@+import { Field } from '@nestjs/graphql';+import { ObjectType } from '@nestjs/graphql';+import { ID } from '@nestjs/graphql';+import { CommentableType } from '../prisma/commentable-type.enum';+import { CommentThread } from '../comment-thread/comment-thread.model';++@ObjectType()+export class CommentThreadTarget {+ @Field(() => ID, { nullable: false })+ id!: string;++ @Field(() => Date, { nullable: false })+ createdAt!: Date;++ @Field(() => Date, { nullable: false })+ updatedAt!: Date;++ @Field(() => Date, { nullable: true })+ deletedAt!: Date | null;++ @Field(() => String, { nullable: false })+ commentThreadId!: string;++ @Field(() => CommentableType, { nullable: false })+ commentableType!: keyof typeof CommentableType;++ @Field(() => String, { nullable: false })+ commentableId!: string;++ @Field(() => CommentThread, { nullable: false })+ commentThread?: CommentThread;+}diff --git a/server/src/api/@generated/comment-thread-target/create-many-comment-thread-target.args.ts b/server/src/api/@generated/comment-thread-target/create-many-comment-thread-target.args.tsnew file mode 100644index 00000000000..871843b9a3a--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/create-many-comment-thread-target.args.ts@@ -0,0 +1,14 @@+import { Field } from '@nestjs/graphql';+import { ArgsType } from '@nestjs/graphql';+import { CommentThreadTargetCreateManyInput } from './comment-thread-target-create-many.input';+import { Type } from 'class-transformer';++@ArgsType()+export class CreateManyCommentThreadTargetArgs {+ @Field(() => [CommentThreadTargetCreateManyInput], { nullable: false })+ @Type(() => CommentThreadTargetCreateManyInput)+ data!: Array<CommentThreadTargetCreateManyInput>;++ @Field(() => Boolean, { nullable: true })+ skipDuplicates?: boolean;+}diff --git a/server/src/api/@generated/comment-thread-target/create-one-comment-thread-target.args.ts b/server/src/api/@generated/comment-thread-target/create-one-comment-thread-target.args.tsnew file mode 100644index 00000000000..1758aaf78fc--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/create-one-comment-thread-target.args.ts@@ -0,0 +1,11 @@+import { Field } from '@nestjs/graphql';+import { ArgsType } from '@nestjs/graphql';+import { CommentThreadTargetCreateInput } from './comment-thread-target-create.input';+import { Type } from 'class-transformer';++@ArgsType()+export class CreateOneCommentThreadTargetArgs {+ @Field(() => CommentThreadTargetCreateInput, { nullable: false })+ @Type(() => CommentThreadTargetCreateInput)+ data!: CommentThreadTargetCreateInput;+}diff --git a/server/src/api/@generated/comment-thread-target/delete-many-comment-thread-target.args.ts b/server/src/api/@generated/comment-thread-target/delete-many-comment-thread-target.args.tsnew file mode 100644index 00000000000..2d3d17c8c19--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/delete-many-comment-thread-target.args.ts@@ -0,0 +1,11 @@+import { Field } from '@nestjs/graphql';+import { ArgsType } from '@nestjs/graphql';+import { CommentThreadTargetWhereInput } from './comment-thread-target-where.input';+import { Type } from 'class-transformer';++@ArgsType()+export class DeleteManyCommentThreadTargetArgs {+ @Field(() => CommentThreadTargetWhereInput, { nullable: true })+ @Type(() => CommentThreadTargetWhereInput)+ where?: CommentThreadTargetWhereInput;+}diff --git a/server/src/api/@generated/comment-thread-target/delete-one-comment-thread-target.args.ts b/server/src/api/@generated/comment-thread-target/delete-one-comment-thread-target.args.tsnew file mode 100644index 00000000000..6df21c31f7d--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/delete-one-comment-thread-target.args.ts@@ -0,0 +1,11 @@+import { Field } from '@nestjs/graphql';+import { ArgsType } from '@nestjs/graphql';+import { CommentThreadTargetWhereUniqueInput } from './comment-thread-target-where-unique.input';+import { Type } from 'class-transformer';++@ArgsType()+export class DeleteOneCommentThreadTargetArgs {+ @Field(() => CommentThreadTargetWhereUniqueInput, { nullable: false })+ @Type(() => CommentThreadTargetWhereUniqueInput)+ where!: CommentThreadTargetWhereUniqueInput;+}diff --git a/server/src/api/@generated/comment-thread-target/find-first-comment-thread-target-or-throw.args.ts b/server/src/api/@generated/comment-thread-target/find-first-comment-thread-target-or-throw.args.tsnew file mode 100644index 00000000000..fe945441271--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/find-first-comment-thread-target-or-throw.args.ts@@ -0,0 +1,32 @@+import { Field } from '@nestjs/graphql';+import { ArgsType } from '@nestjs/graphql';+import { CommentThreadTargetWhereInput } from './comment-thread-target-where.input';+import { Type } from 'class-transformer';+import { CommentThreadTargetOrderByWithRelationInput } from './comment-thread-target-order-by-with-relation.input';+import { CommentThreadTargetWhereUniqueInput } from './comment-thread-target-where-unique.input';+import { Int } from '@nestjs/graphql';+import { CommentThreadTargetScalarFieldEnum } from './comment-thread-target-scalar-field.enum';++@ArgsType()+export class FindFirstCommentThreadTargetOrThrowArgs {+ @Field(() => CommentThreadTargetWhereInput, { nullable: true })+ @Type(() => CommentThreadTargetWhereInput)+ where?: CommentThreadTargetWhereInput;++ @Field(() => [CommentThreadTargetOrderByWithRelationInput], {+ nullable: true,+ })+ orderBy?: Array<CommentThreadTargetOrderByWithRelationInput>;++ @Field(() => CommentThreadTargetWhereUniqueInput, { nullable: true })+ cursor?: CommentThreadTargetWhereUniqueInput;++ @Field(() => Int, { nullable: true })+ take?: number;++ @Field(() => Int, { nullable: true })+ skip?: number;++ @Field(() => [CommentThreadTargetScalarFieldEnum], { nullable: true })+ distinct?: Array<keyof typeof CommentThreadTargetScalarFieldEnum>;+}diff --git a/server/src/api/@generated/comment-thread-target/find-first-comment-thread-target.args.ts b/server/src/api/@generated/comment-thread-target/find-first-comment-thread-target.args.tsnew file mode 100644index 00000000000..8aed956e7dc--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/find-first-comment-thread-target.args.ts@@ -0,0 +1,32 @@+import { Field } from '@nestjs/graphql';+import { ArgsType } from '@nestjs/graphql';+import { CommentThreadTargetWhereInput } from './comment-thread-target-where.input';+import { Type } from 'class-transformer';+import { CommentThreadTargetOrderByWithRelationInput } from './comment-thread-target-order-by-with-relation.input';+import { CommentThreadTargetWhereUniqueInput } from './comment-thread-target-where-unique.input';+import { Int } from '@nestjs/graphql';+import { CommentThreadTargetScalarFieldEnum } from './comment-thread-target-scalar-field.enum';++@ArgsType()+export class FindFirstCommentThreadTargetArgs {+ @Field(() => CommentThreadTargetWhereInput, { nullable: true })+ @Type(() => CommentThreadTargetWhereInput)+ where?: CommentThreadTargetWhereInput;++ @Field(() => [CommentThreadTargetOrderByWithRelationInput], {+ nullable: true,+ })+ orderBy?: Array<CommentThreadTargetOrderByWithRelationInput>;++ @Field(() => CommentThreadTargetWhereUniqueInput, { nullable: true })+ cursor?: CommentThreadTargetWhereUniqueInput;++ @Field(() => Int, { nullable: true })+ take?: number;++ @Field(() => Int, { nullable: true })+ skip?: number;++ @Field(() => [CommentThreadTargetScalarFieldEnum], { nullable: true })+ distinct?: Array<keyof typeof CommentThreadTargetScalarFieldEnum>;+}diff --git a/server/src/api/@generated/comment-thread-target/find-many-comment-thread-target.args.ts b/server/src/api/@generated/comment-thread-target/find-many-comment-thread-target.args.tsnew file mode 100644index 00000000000..2cc89248fb8--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/find-many-comment-thread-target.args.ts@@ -0,0 +1,32 @@+import { Field } from '@nestjs/graphql';+import { ArgsType } from '@nestjs/graphql';+import { CommentThreadTargetWhereInput } from './comment-thread-target-where.input';+import { Type } from 'class-transformer';+import { CommentThreadTargetOrderByWithRelationInput } from './comment-thread-target-order-by-with-relation.input';+import { CommentThreadTargetWhereUniqueInput } from './comment-thread-target-where-unique.input';+import { Int } from '@nestjs/graphql';+import { CommentThreadTargetScalarFieldEnum } from './comment-thread-target-scalar-field.enum';++@ArgsType()+export class FindManyCommentThreadTargetArgs {+ @Field(() => CommentThreadTargetWhereInput, { nullable: true })+ @Type(() => CommentThreadTargetWhereInput)+ where?: CommentThreadTargetWhereInput;++ @Field(() => [CommentThreadTargetOrderByWithRelationInput], {+ nullable: true,+ })+ orderBy?: Array<CommentThreadTargetOrderByWithRelationInput>;++ @Field(() => CommentThreadTargetWhereUniqueInput, { nullable: true })+ cursor?: CommentThreadTargetWhereUniqueInput;++ @Field(() => Int, { nullable: true })+ take?: number;++ @Field(() => Int, { nullable: true })+ skip?: number;++ @Field(() => [CommentThreadTargetScalarFieldEnum], { nullable: true })+ distinct?: Array<keyof typeof CommentThreadTargetScalarFieldEnum>;+}diff --git a/server/src/api/@generated/comment-thread-target/find-unique-comment-thread-target-or-throw.args.ts b/server/src/api/@generated/comment-thread-target/find-unique-comment-thread-target-or-throw.args.tsnew file mode 100644index 00000000000..45a0e6a4c5e--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/find-unique-comment-thread-target-or-throw.args.ts@@ -0,0 +1,11 @@+import { Field } from '@nestjs/graphql';+import { ArgsType } from '@nestjs/graphql';+import { CommentThreadTargetWhereUniqueInput } from './comment-thread-target-where-unique.input';+import { Type } from 'class-transformer';++@ArgsType()+export class FindUniqueCommentThreadTargetOrThrowArgs {+ @Field(() => CommentThreadTargetWhereUniqueInput, { nullable: false })+ @Type(() => CommentThreadTargetWhereUniqueInput)+ where!: CommentThreadTargetWhereUniqueInput;+}diff --git a/server/src/api/@generated/comment-thread-target/find-unique-comment-thread-target.args.ts b/server/src/api/@generated/comment-thread-target/find-unique-comment-thread-target.args.tsnew file mode 100644index 00000000000..f31648a76fa--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/find-unique-comment-thread-target.args.ts@@ -0,0 +1,11 @@+import { Field } from '@nestjs/graphql';+import { ArgsType } from '@nestjs/graphql';+import { CommentThreadTargetWhereUniqueInput } from './comment-thread-target-where-unique.input';+import { Type } from 'class-transformer';++@ArgsType()+export class FindUniqueCommentThreadTargetArgs {+ @Field(() => CommentThreadTargetWhereUniqueInput, { nullable: false })+ @Type(() => CommentThreadTargetWhereUniqueInput)+ where!: CommentThreadTargetWhereUniqueInput;+}diff --git a/server/src/api/@generated/comment-thread-target/update-many-comment-thread-target.args.ts b/server/src/api/@generated/comment-thread-target/update-many-comment-thread-target.args.tsnew file mode 100644index 00000000000..4f3672deb5b--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/update-many-comment-thread-target.args.ts@@ -0,0 +1,16 @@+import { Field } from '@nestjs/graphql';+import { ArgsType } from '@nestjs/graphql';+import { CommentThreadTargetUpdateManyMutationInput } from './comment-thread-target-update-many-mutation.input';+import { Type } from 'class-transformer';+import { CommentThreadTargetWhereInput } from './comment-thread-target-where.input';++@ArgsType()+export class UpdateManyCommentThreadTargetArgs {+ @Field(() => CommentThreadTargetUpdateManyMutationInput, { nullable: false })+ @Type(() => CommentThreadTargetUpdateManyMutationInput)+ data!: CommentThreadTargetUpdateManyMutationInput;++ @Field(() => CommentThreadTargetWhereInput, { nullable: true })+ @Type(() => CommentThreadTargetWhereInput)+ where?: CommentThreadTargetWhereInput;+}diff --git a/server/src/api/@generated/comment-thread-target/update-one-comment-thread-target.args.ts b/server/src/api/@generated/comment-thread-target/update-one-comment-thread-target.args.tsnew file mode 100644index 00000000000..98edb83b54b--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/update-one-comment-thread-target.args.ts@@ -0,0 +1,16 @@+import { Field } from '@nestjs/graphql';+import { ArgsType } from '@nestjs/graphql';+import { CommentThreadTargetUpdateInput } from './comment-thread-target-update.input';+import { Type } from 'class-transformer';+import { CommentThreadTargetWhereUniqueInput } from './comment-thread-target-where-unique.input';++@ArgsType()+export class UpdateOneCommentThreadTargetArgs {+ @Field(() => CommentThreadTargetUpdateInput, { nullable: false })+ @Type(() => CommentThreadTargetUpdateInput)+ data!: CommentThreadTargetUpdateInput;++ @Field(() => CommentThreadTargetWhereUniqueInput, { nullable: false })+ @Type(() => CommentThreadTargetWhereUniqueInput)+ where!: CommentThreadTargetWhereUniqueInput;+}diff --git a/server/src/api/@generated/comment-thread-target/upsert-one-comment-thread-target.args.ts b/server/src/api/@generated/comment-thread-target/upsert-one-comment-thread-target.args.tsnew file mode 100644index 00000000000..8d843b0b312--- /dev/null+++ b/server/src/api/@generated/comment-thread-target/upsert-one-comment-thread-target.args.ts@@ -0,0 +1,21 @@+import { Field } from '@nestjs/graphql';+import { ArgsType } from '@nestjs/graphql';+import { CommentThreadTargetWhereUniqueInput } from './comment-thread-target-where-unique.input';+import { Type } from 'class-transformer';+import { CommentThreadTargetCreateInput } from './comment-thread-target-create.input';+import { CommentThreadTargetUpdateInput } from './comment-thread-target-update.input';++@ArgsType()+export class UpsertOneCommentThreadTargetArgs {+ @Field(() => CommentThreadTargetWhereUniqueInput, { nullable: false })+ @Type(() => CommentThreadTargetWhereUniqueInput)+ where!: CommentThreadTargetWhereUniqueInput;++ @Field(() => CommentThreadTargetCreateInput, { nullable: false })+ @Type(() => CommentThreadTargetCreateInput)+ create!: CommentThreadTargetCreateInput;++ @Field(() => CommentThreadTargetUpdateInput, { nullable: false })+ @Type(() => CommentThreadTargetUpdateInput)+ update!: CommentThreadTargetUpdateInput;+}diff --git a/server/src/api/@generated/comment-thread/aggregate-comment-thread.output.ts b/server/src/api/@generated/comment-thread/aggregate-comment-thread.output.tsnew file mode 100644index 00000000000..78420a7e127--- /dev/null+++ b/server/src/api/@generated/comment-thread/aggregate-comment-thread.output.ts@@ -0,0 +1,17 @@+import { Field } from '@nestjs/graphql';+import { ObjectType } from '@nestjs/graphql';+import { CommentThreadCountAggregate } from './comment-thread-count-aggregate.output';+import { CommentThreadMinAggregate } from './comment-thread-min-aggregate.output';+import { CommentThreadMaxAggregate } from './comment-thread-max-aggregate.output';++@ObjectType()+export class AggregateCommentThread {+ @Field(() => CommentThreadCountAggregate, { nullable: true })+ _count?: CommentThreadCountAggregate;++ @Field(() => CommentThreadMinAggregate, { nullable: true })+ _min?: CommentThreadMinAggregate;++ @Field(() => CommentThreadMaxAggregate, { nullable: true })+ _max?: CommentThreadMaxAggregate;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-aggregate.args.ts b/server/src/api/@generated/comment-thread/comment-thread-aggregate.args.tsnew file mode 100644index 00000000000..bf6aac3c5c3--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-aggregate.args.ts@@ -0,0 +1,38 @@+import { Field } from '@nestjs/graphql';+import { ArgsType } from '@nestjs/graphql';+import { CommentThreadWhereInput } from './comment-thread-where.input';+import { Type } from 'class-transformer';+import { CommentThreadOrderByWithRelationInput } from './comment-thread-order-by-with-relation.input';+import { CommentThreadWhereUniqueInput } from './comment-thread-where-unique.input';+import { Int } from '@nestjs/graphql';+import { CommentThreadCountAggregateInput } from './comment-thread-count-aggregate.input';+import { CommentThreadMinAggregateInput } from './comment-thread-min-aggregate.input';+import { CommentThreadMaxAggregateInput } from './comment-thread-max-aggregate.input';++@ArgsType()+export class CommentThreadAggregateArgs {+ @Field(() => CommentThreadWhereInput, { nullable: true })+ @Type(() => CommentThreadWhereInput)+ where?: CommentThreadWhereInput;++ @Field(() => [CommentThreadOrderByWithRelationInput], { nullable: true })+ orderBy?: Array<CommentThreadOrderByWithRelationInput>;++ @Field(() => CommentThreadWhereUniqueInput, { nullable: true })+ cursor?: CommentThreadWhereUniqueInput;++ @Field(() => Int, { nullable: true })+ take?: number;++ @Field(() => Int, { nullable: true })+ skip?: number;++ @Field(() => CommentThreadCountAggregateInput, { nullable: true })+ _count?: CommentThreadCountAggregateInput;++ @Field(() => CommentThreadMinAggregateInput, { nullable: true })+ _min?: CommentThreadMinAggregateInput;++ @Field(() => CommentThreadMaxAggregateInput, { nullable: true })+ _max?: CommentThreadMaxAggregateInput;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-count-aggregate.input.ts b/server/src/api/@generated/comment-thread/comment-thread-count-aggregate.input.tsnew file mode 100644index 00000000000..d4626569538--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-count-aggregate.input.ts@@ -0,0 +1,24 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { HideField } from '@nestjs/graphql';++@InputType()+export class CommentThreadCountAggregateInput {+ @Field(() => Boolean, { nullable: true })+ id?: true;++ @Field(() => Boolean, { nullable: true })+ createdAt?: true;++ @Field(() => Boolean, { nullable: true })+ updatedAt?: true;++ @Field(() => Boolean, { nullable: true })+ deletedAt?: true;++ @HideField()+ workspaceId?: true;++ @Field(() => Boolean, { nullable: true })+ _all?: true;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-count-aggregate.output.ts b/server/src/api/@generated/comment-thread/comment-thread-count-aggregate.output.tsnew file mode 100644index 00000000000..b8939483265--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-count-aggregate.output.ts@@ -0,0 +1,24 @@+import { Field } from '@nestjs/graphql';+import { ObjectType } from '@nestjs/graphql';+import { Int } from '@nestjs/graphql';++@ObjectType()+export class CommentThreadCountAggregate {+ @Field(() => Int, { nullable: false })+ id!: number;++ @Field(() => Int, { nullable: false })+ createdAt!: number;++ @Field(() => Int, { nullable: false })+ updatedAt!: number;++ @Field(() => Int, { nullable: false })+ deletedAt!: number;++ @Field(() => Int, { nullable: false })+ workspaceId!: number;++ @Field(() => Int, { nullable: false })+ _all!: number;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-count-order-by-aggregate.input.ts b/server/src/api/@generated/comment-thread/comment-thread-count-order-by-aggregate.input.tsnew file mode 100644index 00000000000..e6117e959cc--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-count-order-by-aggregate.input.ts@@ -0,0 +1,22 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { SortOrder } from '../prisma/sort-order.enum';+import { HideField } from '@nestjs/graphql';++@InputType()+export class CommentThreadCountOrderByAggregateInput {+ @Field(() => SortOrder, { nullable: true })+ id?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ createdAt?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ updatedAt?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ deletedAt?: keyof typeof SortOrder;++ @HideField()+ workspaceId?: keyof typeof SortOrder;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-create-many-workspace-input-envelope.input.ts b/server/src/api/@generated/comment-thread/comment-thread-create-many-workspace-input-envelope.input.tsnew file mode 100644index 00000000000..f71659cb85e--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-create-many-workspace-input-envelope.input.ts@@ -0,0 +1,14 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentThreadCreateManyWorkspaceInput } from './comment-thread-create-many-workspace.input';+import { Type } from 'class-transformer';++@InputType()+export class CommentThreadCreateManyWorkspaceInputEnvelope {+ @Field(() => [CommentThreadCreateManyWorkspaceInput], { nullable: false })+ @Type(() => CommentThreadCreateManyWorkspaceInput)+ data!: Array<CommentThreadCreateManyWorkspaceInput>;++ @Field(() => Boolean, { nullable: true })+ skipDuplicates?: boolean;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-create-many-workspace.input.ts b/server/src/api/@generated/comment-thread/comment-thread-create-many-workspace.input.tsnew file mode 100644index 00000000000..24d5fb76009--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-create-many-workspace.input.ts@@ -0,0 +1,17 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';++@InputType()+export class CommentThreadCreateManyWorkspaceInput {+ @Field(() => String, { nullable: false })+ id!: string;++ @Field(() => Date, { nullable: true })+ createdAt?: Date | string;++ @Field(() => Date, { nullable: true })+ updatedAt?: Date | string;++ @Field(() => Date, { nullable: true })+ deletedAt?: Date | string;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-create-many.input.ts b/server/src/api/@generated/comment-thread/comment-thread-create-many.input.tsnew file mode 100644index 00000000000..48c76dcd065--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-create-many.input.ts@@ -0,0 +1,21 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { HideField } from '@nestjs/graphql';++@InputType()+export class CommentThreadCreateManyInput {+ @Field(() => String, { nullable: false })+ id!: string;++ @Field(() => Date, { nullable: true })+ createdAt?: Date | string;++ @Field(() => Date, { nullable: true })+ updatedAt?: Date | string;++ @Field(() => Date, { nullable: true })+ deletedAt?: Date | string;++ @HideField()+ workspaceId!: string;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-create-nested-many-without-workspace.input.ts b/server/src/api/@generated/comment-thread/comment-thread-create-nested-many-without-workspace.input.tsnew file mode 100644index 00000000000..2e746da67c1--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-create-nested-many-without-workspace.input.ts@@ -0,0 +1,30 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentThreadCreateWithoutWorkspaceInput } from './comment-thread-create-without-workspace.input';+import { Type } from 'class-transformer';+import { CommentThreadCreateOrConnectWithoutWorkspaceInput } from './comment-thread-create-or-connect-without-workspace.input';+import { CommentThreadCreateManyWorkspaceInputEnvelope } from './comment-thread-create-many-workspace-input-envelope.input';+import { CommentThreadWhereUniqueInput } from './comment-thread-where-unique.input';++@InputType()+export class CommentThreadCreateNestedManyWithoutWorkspaceInput {+ @Field(() => [CommentThreadCreateWithoutWorkspaceInput], { nullable: true })+ @Type(() => CommentThreadCreateWithoutWorkspaceInput)+ create?: Array<CommentThreadCreateWithoutWorkspaceInput>;++ @Field(() => [CommentThreadCreateOrConnectWithoutWorkspaceInput], {+ nullable: true,+ })+ @Type(() => CommentThreadCreateOrConnectWithoutWorkspaceInput)+ connectOrCreate?: Array<CommentThreadCreateOrConnectWithoutWorkspaceInput>;++ @Field(() => CommentThreadCreateManyWorkspaceInputEnvelope, {+ nullable: true,+ })+ @Type(() => CommentThreadCreateManyWorkspaceInputEnvelope)+ createMany?: CommentThreadCreateManyWorkspaceInputEnvelope;++ @Field(() => [CommentThreadWhereUniqueInput], { nullable: true })+ @Type(() => CommentThreadWhereUniqueInput)+ connect?: Array<CommentThreadWhereUniqueInput>;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-create-nested-one-without-comment-thread-targets.input.ts b/server/src/api/@generated/comment-thread/comment-thread-create-nested-one-without-comment-thread-targets.input.tsnew file mode 100644index 00000000000..98384214330--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-create-nested-one-without-comment-thread-targets.input.ts@@ -0,0 +1,25 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentThreadCreateWithoutCommentThreadTargetsInput } from './comment-thread-create-without-comment-thread-targets.input';+import { Type } from 'class-transformer';+import { CommentThreadCreateOrConnectWithoutCommentThreadTargetsInput } from './comment-thread-create-or-connect-without-comment-thread-targets.input';+import { CommentThreadWhereUniqueInput } from './comment-thread-where-unique.input';++@InputType()+export class CommentThreadCreateNestedOneWithoutCommentThreadTargetsInput {+ @Field(() => CommentThreadCreateWithoutCommentThreadTargetsInput, {+ nullable: true,+ })+ @Type(() => CommentThreadCreateWithoutCommentThreadTargetsInput)+ create?: CommentThreadCreateWithoutCommentThreadTargetsInput;++ @Field(() => CommentThreadCreateOrConnectWithoutCommentThreadTargetsInput, {+ nullable: true,+ })+ @Type(() => CommentThreadCreateOrConnectWithoutCommentThreadTargetsInput)+ connectOrCreate?: CommentThreadCreateOrConnectWithoutCommentThreadTargetsInput;++ @Field(() => CommentThreadWhereUniqueInput, { nullable: true })+ @Type(() => CommentThreadWhereUniqueInput)+ connect?: CommentThreadWhereUniqueInput;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-create-nested-one-without-comments.input.ts b/server/src/api/@generated/comment-thread/comment-thread-create-nested-one-without-comments.input.tsnew file mode 100644index 00000000000..e83c81eadc7--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-create-nested-one-without-comments.input.ts@@ -0,0 +1,20 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentThreadCreateWithoutCommentsInput } from './comment-thread-create-without-comments.input';+import { HideField } from '@nestjs/graphql';+import { CommentThreadCreateOrConnectWithoutCommentsInput } from './comment-thread-create-or-connect-without-comments.input';+import { CommentThreadWhereUniqueInput } from './comment-thread-where-unique.input';+import { Type } from 'class-transformer';++@InputType()+export class CommentThreadCreateNestedOneWithoutCommentsInput {+ @HideField()+ create?: CommentThreadCreateWithoutCommentsInput;++ @HideField()+ connectOrCreate?: CommentThreadCreateOrConnectWithoutCommentsInput;++ @Field(() => CommentThreadWhereUniqueInput, { nullable: true })+ @Type(() => CommentThreadWhereUniqueInput)+ connect?: CommentThreadWhereUniqueInput;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-create-or-connect-without-comment-thread-targets.input.ts b/server/src/api/@generated/comment-thread/comment-thread-create-or-connect-without-comment-thread-targets.input.tsnew file mode 100644index 00000000000..9b8ec6e8417--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-create-or-connect-without-comment-thread-targets.input.ts@@ -0,0 +1,18 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentThreadWhereUniqueInput } from './comment-thread-where-unique.input';+import { Type } from 'class-transformer';+import { CommentThreadCreateWithoutCommentThreadTargetsInput } from './comment-thread-create-without-comment-thread-targets.input';++@InputType()+export class CommentThreadCreateOrConnectWithoutCommentThreadTargetsInput {+ @Field(() => CommentThreadWhereUniqueInput, { nullable: false })+ @Type(() => CommentThreadWhereUniqueInput)+ where!: CommentThreadWhereUniqueInput;++ @Field(() => CommentThreadCreateWithoutCommentThreadTargetsInput, {+ nullable: false,+ })+ @Type(() => CommentThreadCreateWithoutCommentThreadTargetsInput)+ create!: CommentThreadCreateWithoutCommentThreadTargetsInput;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-create-or-connect-without-comments.input.ts b/server/src/api/@generated/comment-thread/comment-thread-create-or-connect-without-comments.input.tsnew file mode 100644index 00000000000..da18703cb27--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-create-or-connect-without-comments.input.ts@@ -0,0 +1,16 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentThreadWhereUniqueInput } from './comment-thread-where-unique.input';+import { Type } from 'class-transformer';+import { CommentThreadCreateWithoutCommentsInput } from './comment-thread-create-without-comments.input';++@InputType()+export class CommentThreadCreateOrConnectWithoutCommentsInput {+ @Field(() => CommentThreadWhereUniqueInput, { nullable: false })+ @Type(() => CommentThreadWhereUniqueInput)+ where!: CommentThreadWhereUniqueInput;++ @Field(() => CommentThreadCreateWithoutCommentsInput, { nullable: false })+ @Type(() => CommentThreadCreateWithoutCommentsInput)+ create!: CommentThreadCreateWithoutCommentsInput;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-create-or-connect-without-workspace.input.ts b/server/src/api/@generated/comment-thread/comment-thread-create-or-connect-without-workspace.input.tsnew file mode 100644index 00000000000..fad32f89f4a--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-create-or-connect-without-workspace.input.ts@@ -0,0 +1,16 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentThreadWhereUniqueInput } from './comment-thread-where-unique.input';+import { Type } from 'class-transformer';+import { CommentThreadCreateWithoutWorkspaceInput } from './comment-thread-create-without-workspace.input';++@InputType()+export class CommentThreadCreateOrConnectWithoutWorkspaceInput {+ @Field(() => CommentThreadWhereUniqueInput, { nullable: false })+ @Type(() => CommentThreadWhereUniqueInput)+ where!: CommentThreadWhereUniqueInput;++ @Field(() => CommentThreadCreateWithoutWorkspaceInput, { nullable: false })+ @Type(() => CommentThreadCreateWithoutWorkspaceInput)+ create!: CommentThreadCreateWithoutWorkspaceInput;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-create-without-comment-thread-targets.input.ts b/server/src/api/@generated/comment-thread/comment-thread-create-without-comment-thread-targets.input.tsnew file mode 100644index 00000000000..306272214d8--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-create-without-comment-thread-targets.input.ts@@ -0,0 +1,28 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentCreateNestedManyWithoutCommentThreadInput } from '../comment/comment-create-nested-many-without-comment-thread.input';+import { WorkspaceCreateNestedOneWithoutCommentThreadsInput } from '../workspace/workspace-create-nested-one-without-comment-threads.input';+import { HideField } from '@nestjs/graphql';++@InputType()+export class CommentThreadCreateWithoutCommentThreadTargetsInput {+ @Field(() => String, { nullable: false })+ id!: string;++ @Field(() => Date, { nullable: true })+ createdAt?: Date | string;++ @Field(() => Date, { nullable: true })+ updatedAt?: Date | string;++ @Field(() => Date, { nullable: true })+ deletedAt?: Date | string;++ @Field(() => CommentCreateNestedManyWithoutCommentThreadInput, {+ nullable: true,+ })+ comments?: CommentCreateNestedManyWithoutCommentThreadInput;++ @HideField()+ workspace!: WorkspaceCreateNestedOneWithoutCommentThreadsInput;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-create-without-comments.input.ts b/server/src/api/@generated/comment-thread/comment-thread-create-without-comments.input.tsnew file mode 100644index 00000000000..d873f077767--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-create-without-comments.input.ts@@ -0,0 +1,28 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentThreadTargetCreateNestedManyWithoutCommentThreadInput } from '../comment-thread-target/comment-thread-target-create-nested-many-without-comment-thread.input';+import { WorkspaceCreateNestedOneWithoutCommentThreadsInput } from '../workspace/workspace-create-nested-one-without-comment-threads.input';+import { HideField } from '@nestjs/graphql';++@InputType()+export class CommentThreadCreateWithoutCommentsInput {+ @Field(() => String, { nullable: false })+ id!: string;++ @Field(() => Date, { nullable: true })+ createdAt?: Date | string;++ @Field(() => Date, { nullable: true })+ updatedAt?: Date | string;++ @Field(() => Date, { nullable: true })+ deletedAt?: Date | string;++ @Field(() => CommentThreadTargetCreateNestedManyWithoutCommentThreadInput, {+ nullable: true,+ })+ commentThreadTargets?: CommentThreadTargetCreateNestedManyWithoutCommentThreadInput;++ @HideField()+ workspace!: WorkspaceCreateNestedOneWithoutCommentThreadsInput;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-create-without-workspace.input.ts b/server/src/api/@generated/comment-thread/comment-thread-create-without-workspace.input.tsnew file mode 100644index 00000000000..bc450325ba9--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-create-without-workspace.input.ts@@ -0,0 +1,29 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentThreadTargetCreateNestedManyWithoutCommentThreadInput } from '../comment-thread-target/comment-thread-target-create-nested-many-without-comment-thread.input';+import { CommentCreateNestedManyWithoutCommentThreadInput } from '../comment/comment-create-nested-many-without-comment-thread.input';++@InputType()+export class CommentThreadCreateWithoutWorkspaceInput {+ @Field(() => String, { nullable: false })+ id!: string;++ @Field(() => Date, { nullable: true })+ createdAt?: Date | string;++ @Field(() => Date, { nullable: true })+ updatedAt?: Date | string;++ @Field(() => Date, { nullable: true })+ deletedAt?: Date | string;++ @Field(() => CommentThreadTargetCreateNestedManyWithoutCommentThreadInput, {+ nullable: true,+ })+ commentThreadTargets?: CommentThreadTargetCreateNestedManyWithoutCommentThreadInput;++ @Field(() => CommentCreateNestedManyWithoutCommentThreadInput, {+ nullable: true,+ })+ comments?: CommentCreateNestedManyWithoutCommentThreadInput;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-create.input.ts b/server/src/api/@generated/comment-thread/comment-thread-create.input.tsnew file mode 100644index 00000000000..1df8ab3630b--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-create.input.ts@@ -0,0 +1,34 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentThreadTargetCreateNestedManyWithoutCommentThreadInput } from '../comment-thread-target/comment-thread-target-create-nested-many-without-comment-thread.input';+import { CommentCreateNestedManyWithoutCommentThreadInput } from '../comment/comment-create-nested-many-without-comment-thread.input';+import { WorkspaceCreateNestedOneWithoutCommentThreadsInput } from '../workspace/workspace-create-nested-one-without-comment-threads.input';+import { HideField } from '@nestjs/graphql';++@InputType()+export class CommentThreadCreateInput {+ @Field(() => String, { nullable: false })+ id!: string;++ @Field(() => Date, { nullable: true })+ createdAt?: Date | string;++ @Field(() => Date, { nullable: true })+ updatedAt?: Date | string;++ @Field(() => Date, { nullable: true })+ deletedAt?: Date | string;++ @Field(() => CommentThreadTargetCreateNestedManyWithoutCommentThreadInput, {+ nullable: true,+ })+ commentThreadTargets?: CommentThreadTargetCreateNestedManyWithoutCommentThreadInput;++ @Field(() => CommentCreateNestedManyWithoutCommentThreadInput, {+ nullable: true,+ })+ comments?: CommentCreateNestedManyWithoutCommentThreadInput;++ @HideField()+ workspace!: WorkspaceCreateNestedOneWithoutCommentThreadsInput;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-group-by.args.ts b/server/src/api/@generated/comment-thread/comment-thread-group-by.args.tsnew file mode 100644index 00000000000..f6978d8eda4--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-group-by.args.ts@@ -0,0 +1,42 @@+import { Field } from '@nestjs/graphql';+import { ArgsType } from '@nestjs/graphql';+import { CommentThreadWhereInput } from './comment-thread-where.input';+import { Type } from 'class-transformer';+import { CommentThreadOrderByWithAggregationInput } from './comment-thread-order-by-with-aggregation.input';+import { CommentThreadScalarFieldEnum } from './comment-thread-scalar-field.enum';+import { CommentThreadScalarWhereWithAggregatesInput } from './comment-thread-scalar-where-with-aggregates.input';+import { Int } from '@nestjs/graphql';+import { CommentThreadCountAggregateInput } from './comment-thread-count-aggregate.input';+import { CommentThreadMinAggregateInput } from './comment-thread-min-aggregate.input';+import { CommentThreadMaxAggregateInput } from './comment-thread-max-aggregate.input';++@ArgsType()+export class CommentThreadGroupByArgs {+ @Field(() => CommentThreadWhereInput, { nullable: true })+ @Type(() => CommentThreadWhereInput)+ where?: CommentThreadWhereInput;++ @Field(() => [CommentThreadOrderByWithAggregationInput], { nullable: true })+ orderBy?: Array<CommentThreadOrderByWithAggregationInput>;++ @Field(() => [CommentThreadScalarFieldEnum], { nullable: false })+ by!: Array<keyof typeof CommentThreadScalarFieldEnum>;++ @Field(() => CommentThreadScalarWhereWithAggregatesInput, { nullable: true })+ having?: CommentThreadScalarWhereWithAggregatesInput;++ @Field(() => Int, { nullable: true })+ take?: number;++ @Field(() => Int, { nullable: true })+ skip?: number;++ @Field(() => CommentThreadCountAggregateInput, { nullable: true })+ _count?: CommentThreadCountAggregateInput;++ @Field(() => CommentThreadMinAggregateInput, { nullable: true })+ _min?: CommentThreadMinAggregateInput;++ @Field(() => CommentThreadMaxAggregateInput, { nullable: true })+ _max?: CommentThreadMaxAggregateInput;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-group-by.output.ts b/server/src/api/@generated/comment-thread/comment-thread-group-by.output.tsnew file mode 100644index 00000000000..4c2e3879acc--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-group-by.output.ts@@ -0,0 +1,32 @@+import { Field } from '@nestjs/graphql';+import { ObjectType } from '@nestjs/graphql';+import { CommentThreadCountAggregate } from './comment-thread-count-aggregate.output';+import { CommentThreadMinAggregate } from './comment-thread-min-aggregate.output';+import { CommentThreadMaxAggregate } from './comment-thread-max-aggregate.output';++@ObjectType()+export class CommentThreadGroupBy {+ @Field(() => String, { nullable: false })+ id!: string;++ @Field(() => Date, { nullable: false })+ createdAt!: Date | string;++ @Field(() => Date, { nullable: false })+ updatedAt!: Date | string;++ @Field(() => Date, { nullable: true })+ deletedAt?: Date | string;++ @Field(() => String, { nullable: false })+ workspaceId!: string;++ @Field(() => CommentThreadCountAggregate, { nullable: true })+ _count?: CommentThreadCountAggregate;++ @Field(() => CommentThreadMinAggregate, { nullable: true })+ _min?: CommentThreadMinAggregate;++ @Field(() => CommentThreadMaxAggregate, { nullable: true })+ _max?: CommentThreadMaxAggregate;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-list-relation-filter.input.ts b/server/src/api/@generated/comment-thread/comment-thread-list-relation-filter.input.tsnew file mode 100644index 00000000000..a404ae33dee--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-list-relation-filter.input.ts@@ -0,0 +1,15 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentThreadWhereInput } from './comment-thread-where.input';++@InputType()+export class CommentThreadListRelationFilter {+ @Field(() => CommentThreadWhereInput, { nullable: true })+ every?: CommentThreadWhereInput;++ @Field(() => CommentThreadWhereInput, { nullable: true })+ some?: CommentThreadWhereInput;++ @Field(() => CommentThreadWhereInput, { nullable: true })+ none?: CommentThreadWhereInput;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-max-aggregate.input.ts b/server/src/api/@generated/comment-thread/comment-thread-max-aggregate.input.tsnew file mode 100644index 00000000000..c970ee260c0--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-max-aggregate.input.ts@@ -0,0 +1,21 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { HideField } from '@nestjs/graphql';++@InputType()+export class CommentThreadMaxAggregateInput {+ @Field(() => Boolean, { nullable: true })+ id?: true;++ @Field(() => Boolean, { nullable: true })+ createdAt?: true;++ @Field(() => Boolean, { nullable: true })+ updatedAt?: true;++ @Field(() => Boolean, { nullable: true })+ deletedAt?: true;++ @HideField()+ workspaceId?: true;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-max-aggregate.output.ts b/server/src/api/@generated/comment-thread/comment-thread-max-aggregate.output.tsnew file mode 100644index 00000000000..ea2561d690d--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-max-aggregate.output.ts@@ -0,0 +1,20 @@+import { Field } from '@nestjs/graphql';+import { ObjectType } from '@nestjs/graphql';++@ObjectType()+export class CommentThreadMaxAggregate {+ @Field(() => String, { nullable: true })+ id?: string;++ @Field(() => Date, { nullable: true })+ createdAt?: Date | string;++ @Field(() => Date, { nullable: true })+ updatedAt?: Date | string;++ @Field(() => Date, { nullable: true })+ deletedAt?: Date | string;++ @Field(() => String, { nullable: true })+ workspaceId?: string;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-max-order-by-aggregate.input.ts b/server/src/api/@generated/comment-thread/comment-thread-max-order-by-aggregate.input.tsnew file mode 100644index 00000000000..b70e7bb60fb--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-max-order-by-aggregate.input.ts@@ -0,0 +1,22 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { SortOrder } from '../prisma/sort-order.enum';+import { HideField } from '@nestjs/graphql';++@InputType()+export class CommentThreadMaxOrderByAggregateInput {+ @Field(() => SortOrder, { nullable: true })+ id?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ createdAt?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ updatedAt?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ deletedAt?: keyof typeof SortOrder;++ @HideField()+ workspaceId?: keyof typeof SortOrder;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-min-aggregate.input.ts b/server/src/api/@generated/comment-thread/comment-thread-min-aggregate.input.tsnew file mode 100644index 00000000000..e5fc71ed0d2--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-min-aggregate.input.ts@@ -0,0 +1,21 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { HideField } from '@nestjs/graphql';++@InputType()+export class CommentThreadMinAggregateInput {+ @Field(() => Boolean, { nullable: true })+ id?: true;++ @Field(() => Boolean, { nullable: true })+ createdAt?: true;++ @Field(() => Boolean, { nullable: true })+ updatedAt?: true;++ @Field(() => Boolean, { nullable: true })+ deletedAt?: true;++ @HideField()+ workspaceId?: true;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-min-aggregate.output.ts b/server/src/api/@generated/comment-thread/comment-thread-min-aggregate.output.tsnew file mode 100644index 00000000000..ddc05c1b7e5--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-min-aggregate.output.ts@@ -0,0 +1,20 @@+import { Field } from '@nestjs/graphql';+import { ObjectType } from '@nestjs/graphql';++@ObjectType()+export class CommentThreadMinAggregate {+ @Field(() => String, { nullable: true })+ id?: string;++ @Field(() => Date, { nullable: true })+ createdAt?: Date | string;++ @Field(() => Date, { nullable: true })+ updatedAt?: Date | string;++ @Field(() => Date, { nullable: true })+ deletedAt?: Date | string;++ @Field(() => String, { nullable: true })+ workspaceId?: string;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-min-order-by-aggregate.input.ts b/server/src/api/@generated/comment-thread/comment-thread-min-order-by-aggregate.input.tsnew file mode 100644index 00000000000..cb9226716a0--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-min-order-by-aggregate.input.ts@@ -0,0 +1,22 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { SortOrder } from '../prisma/sort-order.enum';+import { HideField } from '@nestjs/graphql';++@InputType()+export class CommentThreadMinOrderByAggregateInput {+ @Field(() => SortOrder, { nullable: true })+ id?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ createdAt?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ updatedAt?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ deletedAt?: keyof typeof SortOrder;++ @HideField()+ workspaceId?: keyof typeof SortOrder;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-order-by-relation-aggregate.input.ts b/server/src/api/@generated/comment-thread/comment-thread-order-by-relation-aggregate.input.tsnew file mode 100644index 00000000000..219a7f482b0--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-order-by-relation-aggregate.input.ts@@ -0,0 +1,9 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { SortOrder } from '../prisma/sort-order.enum';++@InputType()+export class CommentThreadOrderByRelationAggregateInput {+ @Field(() => SortOrder, { nullable: true })+ _count?: keyof typeof SortOrder;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-order-by-with-aggregation.input.ts b/server/src/api/@generated/comment-thread/comment-thread-order-by-with-aggregation.input.tsnew file mode 100644index 00000000000..1ed4dee1ab4--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-order-by-with-aggregation.input.ts@@ -0,0 +1,34 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { SortOrder } from '../prisma/sort-order.enum';+import { HideField } from '@nestjs/graphql';+import { CommentThreadCountOrderByAggregateInput } from './comment-thread-count-order-by-aggregate.input';+import { CommentThreadMaxOrderByAggregateInput } from './comment-thread-max-order-by-aggregate.input';+import { CommentThreadMinOrderByAggregateInput } from './comment-thread-min-order-by-aggregate.input';++@InputType()+export class CommentThreadOrderByWithAggregationInput {+ @Field(() => SortOrder, { nullable: true })+ id?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ createdAt?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ updatedAt?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ deletedAt?: keyof typeof SortOrder;++ @HideField()+ workspaceId?: keyof typeof SortOrder;++ @Field(() => CommentThreadCountOrderByAggregateInput, { nullable: true })+ _count?: CommentThreadCountOrderByAggregateInput;++ @Field(() => CommentThreadMaxOrderByAggregateInput, { nullable: true })+ _max?: CommentThreadMaxOrderByAggregateInput;++ @Field(() => CommentThreadMinOrderByAggregateInput, { nullable: true })+ _min?: CommentThreadMinOrderByAggregateInput;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-order-by-with-relation.input.ts b/server/src/api/@generated/comment-thread/comment-thread-order-by-with-relation.input.tsnew file mode 100644index 00000000000..8bbab633195--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-order-by-with-relation.input.ts@@ -0,0 +1,36 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { SortOrder } from '../prisma/sort-order.enum';+import { HideField } from '@nestjs/graphql';+import { CommentThreadTargetOrderByRelationAggregateInput } from '../comment-thread-target/comment-thread-target-order-by-relation-aggregate.input';+import { CommentOrderByRelationAggregateInput } from '../comment/comment-order-by-relation-aggregate.input';+import { WorkspaceOrderByWithRelationInput } from '../workspace/workspace-order-by-with-relation.input';++@InputType()+export class CommentThreadOrderByWithRelationInput {+ @Field(() => SortOrder, { nullable: true })+ id?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ createdAt?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ updatedAt?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ deletedAt?: keyof typeof SortOrder;++ @HideField()+ workspaceId?: keyof typeof SortOrder;++ @Field(() => CommentThreadTargetOrderByRelationAggregateInput, {+ nullable: true,+ })+ commentThreadTargets?: CommentThreadTargetOrderByRelationAggregateInput;++ @Field(() => CommentOrderByRelationAggregateInput, { nullable: true })+ comments?: CommentOrderByRelationAggregateInput;++ @HideField()+ workspace?: WorkspaceOrderByWithRelationInput;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-relation-filter.input.ts b/server/src/api/@generated/comment-thread/comment-thread-relation-filter.input.tsnew file mode 100644index 00000000000..6fc2ccdf7f2--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-relation-filter.input.ts@@ -0,0 +1,12 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentThreadWhereInput } from './comment-thread-where.input';++@InputType()+export class CommentThreadRelationFilter {+ @Field(() => CommentThreadWhereInput, { nullable: true })+ is?: CommentThreadWhereInput;++ @Field(() => CommentThreadWhereInput, { nullable: true })+ isNot?: CommentThreadWhereInput;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-scalar-field.enum.ts b/server/src/api/@generated/comment-thread/comment-thread-scalar-field.enum.tsnew file mode 100644index 00000000000..ed3da1907e7--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-scalar-field.enum.ts@@ -0,0 +1,14 @@+import { registerEnumType } from '@nestjs/graphql';++export enum CommentThreadScalarFieldEnum {+ id = 'id',+ createdAt = 'createdAt',+ updatedAt = 'updatedAt',+ deletedAt = 'deletedAt',+ workspaceId = 'workspaceId',+}++registerEnumType(CommentThreadScalarFieldEnum, {+ name: 'CommentThreadScalarFieldEnum',+ description: undefined,+});diff --git a/server/src/api/@generated/comment-thread/comment-thread-scalar-where-with-aggregates.input.ts b/server/src/api/@generated/comment-thread/comment-thread-scalar-where-with-aggregates.input.tsnew file mode 100644index 00000000000..dd5a99ea6a1--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-scalar-where-with-aggregates.input.ts@@ -0,0 +1,39 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { StringWithAggregatesFilter } from '../prisma/string-with-aggregates-filter.input';+import { DateTimeWithAggregatesFilter } from '../prisma/date-time-with-aggregates-filter.input';+import { DateTimeNullableWithAggregatesFilter } from '../prisma/date-time-nullable-with-aggregates-filter.input';+import { HideField } from '@nestjs/graphql';++@InputType()+export class CommentThreadScalarWhereWithAggregatesInput {+ @Field(() => [CommentThreadScalarWhereWithAggregatesInput], {+ nullable: true,+ })+ AND?: Array<CommentThreadScalarWhereWithAggregatesInput>;++ @Field(() => [CommentThreadScalarWhereWithAggregatesInput], {+ nullable: true,+ })+ OR?: Array<CommentThreadScalarWhereWithAggregatesInput>;++ @Field(() => [CommentThreadScalarWhereWithAggregatesInput], {+ nullable: true,+ })+ NOT?: Array<CommentThreadScalarWhereWithAggregatesInput>;++ @Field(() => StringWithAggregatesFilter, { nullable: true })+ id?: StringWithAggregatesFilter;++ @Field(() => DateTimeWithAggregatesFilter, { nullable: true })+ createdAt?: DateTimeWithAggregatesFilter;++ @Field(() => DateTimeWithAggregatesFilter, { nullable: true })+ updatedAt?: DateTimeWithAggregatesFilter;++ @Field(() => DateTimeNullableWithAggregatesFilter, { nullable: true })+ deletedAt?: DateTimeNullableWithAggregatesFilter;++ @HideField()+ workspaceId?: StringWithAggregatesFilter;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-scalar-where.input.ts b/server/src/api/@generated/comment-thread/comment-thread-scalar-where.input.tsnew file mode 100644index 00000000000..bc14e41a3ee--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-scalar-where.input.ts@@ -0,0 +1,33 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { StringFilter } from '../prisma/string-filter.input';+import { DateTimeFilter } from '../prisma/date-time-filter.input';+import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input';+import { HideField } from '@nestjs/graphql';++@InputType()+export class CommentThreadScalarWhereInput {+ @Field(() => [CommentThreadScalarWhereInput], { nullable: true })+ AND?: Array<CommentThreadScalarWhereInput>;++ @Field(() => [CommentThreadScalarWhereInput], { nullable: true })+ OR?: Array<CommentThreadScalarWhereInput>;++ @Field(() => [CommentThreadScalarWhereInput], { nullable: true })+ NOT?: Array<CommentThreadScalarWhereInput>;++ @Field(() => StringFilter, { nullable: true })+ id?: StringFilter;++ @Field(() => DateTimeFilter, { nullable: true })+ createdAt?: DateTimeFilter;++ @Field(() => DateTimeFilter, { nullable: true })+ updatedAt?: DateTimeFilter;++ @Field(() => DateTimeNullableFilter, { nullable: true })+ deletedAt?: DateTimeNullableFilter;++ @HideField()+ workspaceId?: StringFilter;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-unchecked-create-nested-many-without-workspace.input.ts b/server/src/api/@generated/comment-thread/comment-thread-unchecked-create-nested-many-without-workspace.input.tsnew file mode 100644index 00000000000..9be1c521959--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-unchecked-create-nested-many-without-workspace.input.ts@@ -0,0 +1,30 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentThreadCreateWithoutWorkspaceInput } from './comment-thread-create-without-workspace.input';+import { Type } from 'class-transformer';+import { CommentThreadCreateOrConnectWithoutWorkspaceInput } from './comment-thread-create-or-connect-without-workspace.input';+import { CommentThreadCreateManyWorkspaceInputEnvelope } from './comment-thread-create-many-workspace-input-envelope.input';+import { CommentThreadWhereUniqueInput } from './comment-thread-where-unique.input';++@InputType()+export class CommentThreadUncheckedCreateNestedManyWithoutWorkspaceInput {+ @Field(() => [CommentThreadCreateWithoutWorkspaceInput], { nullable: true })+ @Type(() => CommentThreadCreateWithoutWorkspaceInput)+ create?: Array<CommentThreadCreateWithoutWorkspaceInput>;++ @Field(() => [CommentThreadCreateOrConnectWithoutWorkspaceInput], {+ nullable: true,+ })+ @Type(() => CommentThreadCreateOrConnectWithoutWorkspaceInput)+ connectOrCreate?: Array<CommentThreadCreateOrConnectWithoutWorkspaceInput>;++ @Field(() => CommentThreadCreateManyWorkspaceInputEnvelope, {+ nullable: true,+ })+ @Type(() => CommentThreadCreateManyWorkspaceInputEnvelope)+ createMany?: CommentThreadCreateManyWorkspaceInputEnvelope;++ @Field(() => [CommentThreadWhereUniqueInput], { nullable: true })+ @Type(() => CommentThreadWhereUniqueInput)+ connect?: Array<CommentThreadWhereUniqueInput>;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-unchecked-create-without-comment-thread-targets.input.ts b/server/src/api/@generated/comment-thread/comment-thread-unchecked-create-without-comment-thread-targets.input.tsnew file mode 100644index 00000000000..415192c1699--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-unchecked-create-without-comment-thread-targets.input.ts@@ -0,0 +1,27 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { HideField } from '@nestjs/graphql';+import { CommentUncheckedCreateNestedManyWithoutCommentThreadInput } from '../comment/comment-unchecked-create-nested-many-without-comment-thread.input';++@InputType()+export class CommentThreadUncheckedCreateWithoutCommentThreadTargetsInput {+ @Field(() => String, { nullable: false })+ id!: string;++ @Field(() => Date, { nullable: true })+ createdAt?: Date | string;++ @Field(() => Date, { nullable: true })+ updatedAt?: Date | string;++ @Field(() => Date, { nullable: true })+ deletedAt?: Date | string;++ @HideField()+ workspaceId!: string;++ @Field(() => CommentUncheckedCreateNestedManyWithoutCommentThreadInput, {+ nullable: true,+ })+ comments?: CommentUncheckedCreateNestedManyWithoutCommentThreadInput;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-unchecked-create-without-comments.input.ts b/server/src/api/@generated/comment-thread/comment-thread-unchecked-create-without-comments.input.tsnew file mode 100644index 00000000000..35585d671a4--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-unchecked-create-without-comments.input.ts@@ -0,0 +1,28 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { HideField } from '@nestjs/graphql';+import { CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput } from '../comment-thread-target/comment-thread-target-unchecked-create-nested-many-without-comment-thread.input';++@InputType()+export class CommentThreadUncheckedCreateWithoutCommentsInput {+ @Field(() => String, { nullable: false })+ id!: string;++ @Field(() => Date, { nullable: true })+ createdAt?: Date | string;++ @Field(() => Date, { nullable: true })+ updatedAt?: Date | string;++ @Field(() => Date, { nullable: true })+ deletedAt?: Date | string;++ @HideField()+ workspaceId!: string;++ @Field(+ () => CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput,+ { nullable: true },+ )+ commentThreadTargets?: CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-unchecked-create-without-workspace.input.ts b/server/src/api/@generated/comment-thread/comment-thread-unchecked-create-without-workspace.input.tsnew file mode 100644index 00000000000..7f7352dafe0--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-unchecked-create-without-workspace.input.ts@@ -0,0 +1,30 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput } from '../comment-thread-target/comment-thread-target-unchecked-create-nested-many-without-comment-thread.input';+import { CommentUncheckedCreateNestedManyWithoutCommentThreadInput } from '../comment/comment-unchecked-create-nested-many-without-comment-thread.input';++@InputType()+export class CommentThreadUncheckedCreateWithoutWorkspaceInput {+ @Field(() => String, { nullable: false })+ id!: string;++ @Field(() => Date, { nullable: true })+ createdAt?: Date | string;++ @Field(() => Date, { nullable: true })+ updatedAt?: Date | string;++ @Field(() => Date, { nullable: true })+ deletedAt?: Date | string;++ @Field(+ () => CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput,+ { nullable: true },+ )+ commentThreadTargets?: CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput;++ @Field(() => CommentUncheckedCreateNestedManyWithoutCommentThreadInput, {+ nullable: true,+ })+ comments?: CommentUncheckedCreateNestedManyWithoutCommentThreadInput;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-unchecked-create.input.ts b/server/src/api/@generated/comment-thread/comment-thread-unchecked-create.input.tsnew file mode 100644index 00000000000..e582d86dde4--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-unchecked-create.input.ts@@ -0,0 +1,34 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { HideField } from '@nestjs/graphql';+import { CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput } from '../comment-thread-target/comment-thread-target-unchecked-create-nested-many-without-comment-thread.input';+import { CommentUncheckedCreateNestedManyWithoutCommentThreadInput } from '../comment/comment-unchecked-create-nested-many-without-comment-thread.input';++@InputType()+export class CommentThreadUncheckedCreateInput {+ @Field(() => String, { nullable: false })+ id!: string;++ @Field(() => Date, { nullable: true })+ createdAt?: Date | string;++ @Field(() => Date, { nullable: true })+ updatedAt?: Date | string;++ @Field(() => Date, { nullable: true })+ deletedAt?: Date | string;++ @HideField()+ workspaceId!: string;++ @Field(+ () => CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput,+ { nullable: true },+ )+ commentThreadTargets?: CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput;++ @Field(() => CommentUncheckedCreateNestedManyWithoutCommentThreadInput, {+ nullable: true,+ })+ comments?: CommentUncheckedCreateNestedManyWithoutCommentThreadInput;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-unchecked-update-many-without-comment-threads.input.ts b/server/src/api/@generated/comment-thread/comment-thread-unchecked-update-many-without-comment-threads.input.tsnew file mode 100644index 00000000000..4a8046ef9a3--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-unchecked-update-many-without-comment-threads.input.ts@@ -0,0 +1,20 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';+import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';+import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';++@InputType()+export class CommentThreadUncheckedUpdateManyWithoutCommentThreadsInput {+ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ id?: StringFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ createdAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ updatedAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })+ deletedAt?: NullableDateTimeFieldUpdateOperationsInput;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-unchecked-update-many-without-workspace-nested.input.ts b/server/src/api/@generated/comment-thread/comment-thread-unchecked-update-many-without-workspace-nested.input.tsnew file mode 100644index 00000000000..3c542be4bf6--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-unchecked-update-many-without-workspace-nested.input.ts@@ -0,0 +1,68 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentThreadCreateWithoutWorkspaceInput } from './comment-thread-create-without-workspace.input';+import { Type } from 'class-transformer';+import { CommentThreadCreateOrConnectWithoutWorkspaceInput } from './comment-thread-create-or-connect-without-workspace.input';+import { CommentThreadUpsertWithWhereUniqueWithoutWorkspaceInput } from './comment-thread-upsert-with-where-unique-without-workspace.input';+import { CommentThreadCreateManyWorkspaceInputEnvelope } from './comment-thread-create-many-workspace-input-envelope.input';+import { CommentThreadWhereUniqueInput } from './comment-thread-where-unique.input';+import { CommentThreadUpdateWithWhereUniqueWithoutWorkspaceInput } from './comment-thread-update-with-where-unique-without-workspace.input';+import { CommentThreadUpdateManyWithWhereWithoutWorkspaceInput } from './comment-thread-update-many-with-where-without-workspace.input';+import { CommentThreadScalarWhereInput } from './comment-thread-scalar-where.input';++@InputType()+export class CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput {+ @Field(() => [CommentThreadCreateWithoutWorkspaceInput], { nullable: true })+ @Type(() => CommentThreadCreateWithoutWorkspaceInput)+ create?: Array<CommentThreadCreateWithoutWorkspaceInput>;++ @Field(() => [CommentThreadCreateOrConnectWithoutWorkspaceInput], {+ nullable: true,+ })+ @Type(() => CommentThreadCreateOrConnectWithoutWorkspaceInput)+ connectOrCreate?: Array<CommentThreadCreateOrConnectWithoutWorkspaceInput>;++ @Field(() => [CommentThreadUpsertWithWhereUniqueWithoutWorkspaceInput], {+ nullable: true,+ })+ @Type(() => CommentThreadUpsertWithWhereUniqueWithoutWorkspaceInput)+ upsert?: Array<CommentThreadUpsertWithWhereUniqueWithoutWorkspaceInput>;++ @Field(() => CommentThreadCreateManyWorkspaceInputEnvelope, {+ nullable: true,+ })+ @Type(() => CommentThreadCreateManyWorkspaceInputEnvelope)+ createMany?: CommentThreadCreateManyWorkspaceInputEnvelope;++ @Field(() => [CommentThreadWhereUniqueInput], { nullable: true })+ @Type(() => CommentThreadWhereUniqueInput)+ set?: Array<CommentThreadWhereUniqueInput>;++ @Field(() => [CommentThreadWhereUniqueInput], { nullable: true })+ @Type(() => CommentThreadWhereUniqueInput)+ disconnect?: Array<CommentThreadWhereUniqueInput>;++ @Field(() => [CommentThreadWhereUniqueInput], { nullable: true })+ @Type(() => CommentThreadWhereUniqueInput)+ delete?: Array<CommentThreadWhereUniqueInput>;++ @Field(() => [CommentThreadWhereUniqueInput], { nullable: true })+ @Type(() => CommentThreadWhereUniqueInput)+ connect?: Array<CommentThreadWhereUniqueInput>;++ @Field(() => [CommentThreadUpdateWithWhereUniqueWithoutWorkspaceInput], {+ nullable: true,+ })+ @Type(() => CommentThreadUpdateWithWhereUniqueWithoutWorkspaceInput)+ update?: Array<CommentThreadUpdateWithWhereUniqueWithoutWorkspaceInput>;++ @Field(() => [CommentThreadUpdateManyWithWhereWithoutWorkspaceInput], {+ nullable: true,+ })+ @Type(() => CommentThreadUpdateManyWithWhereWithoutWorkspaceInput)+ updateMany?: Array<CommentThreadUpdateManyWithWhereWithoutWorkspaceInput>;++ @Field(() => [CommentThreadScalarWhereInput], { nullable: true })+ @Type(() => CommentThreadScalarWhereInput)+ deleteMany?: Array<CommentThreadScalarWhereInput>;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-unchecked-update-many.input.ts b/server/src/api/@generated/comment-thread/comment-thread-unchecked-update-many.input.tsnew file mode 100644index 00000000000..06ce841c184--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-unchecked-update-many.input.ts@@ -0,0 +1,24 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';+import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';+import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';+import { HideField } from '@nestjs/graphql';++@InputType()+export class CommentThreadUncheckedUpdateManyInput {+ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ id?: StringFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ createdAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ updatedAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })+ deletedAt?: NullableDateTimeFieldUpdateOperationsInput;++ @HideField()+ workspaceId?: StringFieldUpdateOperationsInput;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-unchecked-update-without-comment-thread-targets.input.ts b/server/src/api/@generated/comment-thread/comment-thread-unchecked-update-without-comment-thread-targets.input.tsnew file mode 100644index 00000000000..3b4ad71ca65--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-unchecked-update-without-comment-thread-targets.input.ts@@ -0,0 +1,30 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';+import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';+import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';+import { HideField } from '@nestjs/graphql';+import { CommentUncheckedUpdateManyWithoutCommentThreadNestedInput } from '../comment/comment-unchecked-update-many-without-comment-thread-nested.input';++@InputType()+export class CommentThreadUncheckedUpdateWithoutCommentThreadTargetsInput {+ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ id?: StringFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ createdAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ updatedAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })+ deletedAt?: NullableDateTimeFieldUpdateOperationsInput;++ @HideField()+ workspaceId?: StringFieldUpdateOperationsInput;++ @Field(() => CommentUncheckedUpdateManyWithoutCommentThreadNestedInput, {+ nullable: true,+ })+ comments?: CommentUncheckedUpdateManyWithoutCommentThreadNestedInput;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-unchecked-update-without-comments.input.ts b/server/src/api/@generated/comment-thread/comment-thread-unchecked-update-without-comments.input.tsnew file mode 100644index 00000000000..7a1804892ab--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-unchecked-update-without-comments.input.ts@@ -0,0 +1,31 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';+import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';+import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';+import { HideField } from '@nestjs/graphql';+import { CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadNestedInput } from '../comment-thread-target/comment-thread-target-unchecked-update-many-without-comment-thread-nested.input';++@InputType()+export class CommentThreadUncheckedUpdateWithoutCommentsInput {+ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ id?: StringFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ createdAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ updatedAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })+ deletedAt?: NullableDateTimeFieldUpdateOperationsInput;++ @HideField()+ workspaceId?: StringFieldUpdateOperationsInput;++ @Field(+ () => CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadNestedInput,+ { nullable: true },+ )+ commentThreadTargets?: CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadNestedInput;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-unchecked-update-without-workspace.input.ts b/server/src/api/@generated/comment-thread/comment-thread-unchecked-update-without-workspace.input.tsnew file mode 100644index 00000000000..b2369097d49--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-unchecked-update-without-workspace.input.ts@@ -0,0 +1,33 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';+import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';+import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';+import { CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadNestedInput } from '../comment-thread-target/comment-thread-target-unchecked-update-many-without-comment-thread-nested.input';+import { CommentUncheckedUpdateManyWithoutCommentThreadNestedInput } from '../comment/comment-unchecked-update-many-without-comment-thread-nested.input';++@InputType()+export class CommentThreadUncheckedUpdateWithoutWorkspaceInput {+ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ id?: StringFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ createdAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ updatedAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })+ deletedAt?: NullableDateTimeFieldUpdateOperationsInput;++ @Field(+ () => CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadNestedInput,+ { nullable: true },+ )+ commentThreadTargets?: CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadNestedInput;++ @Field(() => CommentUncheckedUpdateManyWithoutCommentThreadNestedInput, {+ nullable: true,+ })+ comments?: CommentUncheckedUpdateManyWithoutCommentThreadNestedInput;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-unchecked-update.input.ts b/server/src/api/@generated/comment-thread/comment-thread-unchecked-update.input.tsnew file mode 100644index 00000000000..a16f3b2332b--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-unchecked-update.input.ts@@ -0,0 +1,37 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';+import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';+import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';+import { HideField } from '@nestjs/graphql';+import { CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadNestedInput } from '../comment-thread-target/comment-thread-target-unchecked-update-many-without-comment-thread-nested.input';+import { CommentUncheckedUpdateManyWithoutCommentThreadNestedInput } from '../comment/comment-unchecked-update-many-without-comment-thread-nested.input';++@InputType()+export class CommentThreadUncheckedUpdateInput {+ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ id?: StringFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ createdAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ updatedAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })+ deletedAt?: NullableDateTimeFieldUpdateOperationsInput;++ @HideField()+ workspaceId?: StringFieldUpdateOperationsInput;++ @Field(+ () => CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadNestedInput,+ { nullable: true },+ )+ commentThreadTargets?: CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadNestedInput;++ @Field(() => CommentUncheckedUpdateManyWithoutCommentThreadNestedInput, {+ nullable: true,+ })+ comments?: CommentUncheckedUpdateManyWithoutCommentThreadNestedInput;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-update-many-mutation.input.ts b/server/src/api/@generated/comment-thread/comment-thread-update-many-mutation.input.tsnew file mode 100644index 00000000000..1a2aa1d8eb2--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-update-many-mutation.input.ts@@ -0,0 +1,20 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';+import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';+import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';++@InputType()+export class CommentThreadUpdateManyMutationInput {+ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ id?: StringFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ createdAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ updatedAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })+ deletedAt?: NullableDateTimeFieldUpdateOperationsInput;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-update-many-with-where-without-workspace.input.ts b/server/src/api/@generated/comment-thread/comment-thread-update-many-with-where-without-workspace.input.tsnew file mode 100644index 00000000000..61d894dd154--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-update-many-with-where-without-workspace.input.ts@@ -0,0 +1,16 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentThreadScalarWhereInput } from './comment-thread-scalar-where.input';+import { Type } from 'class-transformer';+import { CommentThreadUpdateManyMutationInput } from './comment-thread-update-many-mutation.input';++@InputType()+export class CommentThreadUpdateManyWithWhereWithoutWorkspaceInput {+ @Field(() => CommentThreadScalarWhereInput, { nullable: false })+ @Type(() => CommentThreadScalarWhereInput)+ where!: CommentThreadScalarWhereInput;++ @Field(() => CommentThreadUpdateManyMutationInput, { nullable: false })+ @Type(() => CommentThreadUpdateManyMutationInput)+ data!: CommentThreadUpdateManyMutationInput;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-update-many-without-workspace-nested.input.ts b/server/src/api/@generated/comment-thread/comment-thread-update-many-without-workspace-nested.input.tsnew file mode 100644index 00000000000..9654aff5ec0--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-update-many-without-workspace-nested.input.ts@@ -0,0 +1,68 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentThreadCreateWithoutWorkspaceInput } from './comment-thread-create-without-workspace.input';+import { Type } from 'class-transformer';+import { CommentThreadCreateOrConnectWithoutWorkspaceInput } from './comment-thread-create-or-connect-without-workspace.input';+import { CommentThreadUpsertWithWhereUniqueWithoutWorkspaceInput } from './comment-thread-upsert-with-where-unique-without-workspace.input';+import { CommentThreadCreateManyWorkspaceInputEnvelope } from './comment-thread-create-many-workspace-input-envelope.input';+import { CommentThreadWhereUniqueInput } from './comment-thread-where-unique.input';+import { CommentThreadUpdateWithWhereUniqueWithoutWorkspaceInput } from './comment-thread-update-with-where-unique-without-workspace.input';+import { CommentThreadUpdateManyWithWhereWithoutWorkspaceInput } from './comment-thread-update-many-with-where-without-workspace.input';+import { CommentThreadScalarWhereInput } from './comment-thread-scalar-where.input';++@InputType()+export class CommentThreadUpdateManyWithoutWorkspaceNestedInput {+ @Field(() => [CommentThreadCreateWithoutWorkspaceInput], { nullable: true })+ @Type(() => CommentThreadCreateWithoutWorkspaceInput)+ create?: Array<CommentThreadCreateWithoutWorkspaceInput>;++ @Field(() => [CommentThreadCreateOrConnectWithoutWorkspaceInput], {+ nullable: true,+ })+ @Type(() => CommentThreadCreateOrConnectWithoutWorkspaceInput)+ connectOrCreate?: Array<CommentThreadCreateOrConnectWithoutWorkspaceInput>;++ @Field(() => [CommentThreadUpsertWithWhereUniqueWithoutWorkspaceInput], {+ nullable: true,+ })+ @Type(() => CommentThreadUpsertWithWhereUniqueWithoutWorkspaceInput)+ upsert?: Array<CommentThreadUpsertWithWhereUniqueWithoutWorkspaceInput>;++ @Field(() => CommentThreadCreateManyWorkspaceInputEnvelope, {+ nullable: true,+ })+ @Type(() => CommentThreadCreateManyWorkspaceInputEnvelope)+ createMany?: CommentThreadCreateManyWorkspaceInputEnvelope;++ @Field(() => [CommentThreadWhereUniqueInput], { nullable: true })+ @Type(() => CommentThreadWhereUniqueInput)+ set?: Array<CommentThreadWhereUniqueInput>;++ @Field(() => [CommentThreadWhereUniqueInput], { nullable: true })+ @Type(() => CommentThreadWhereUniqueInput)+ disconnect?: Array<CommentThreadWhereUniqueInput>;++ @Field(() => [CommentThreadWhereUniqueInput], { nullable: true })+ @Type(() => CommentThreadWhereUniqueInput)+ delete?: Array<CommentThreadWhereUniqueInput>;++ @Field(() => [CommentThreadWhereUniqueInput], { nullable: true })+ @Type(() => CommentThreadWhereUniqueInput)+ connect?: Array<CommentThreadWhereUniqueInput>;++ @Field(() => [CommentThreadUpdateWithWhereUniqueWithoutWorkspaceInput], {+ nullable: true,+ })+ @Type(() => CommentThreadUpdateWithWhereUniqueWithoutWorkspaceInput)+ update?: Array<CommentThreadUpdateWithWhereUniqueWithoutWorkspaceInput>;++ @Field(() => [CommentThreadUpdateManyWithWhereWithoutWorkspaceInput], {+ nullable: true,+ })+ @Type(() => CommentThreadUpdateManyWithWhereWithoutWorkspaceInput)+ updateMany?: Array<CommentThreadUpdateManyWithWhereWithoutWorkspaceInput>;++ @Field(() => [CommentThreadScalarWhereInput], { nullable: true })+ @Type(() => CommentThreadScalarWhereInput)+ deleteMany?: Array<CommentThreadScalarWhereInput>;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-update-one-required-without-comment-thread-targets-nested.input.ts b/server/src/api/@generated/comment-thread/comment-thread-update-one-required-without-comment-thread-targets-nested.input.tsnew file mode 100644index 00000000000..8296b0bdbcb--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-update-one-required-without-comment-thread-targets-nested.input.ts@@ -0,0 +1,39 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentThreadCreateWithoutCommentThreadTargetsInput } from './comment-thread-create-without-comment-thread-targets.input';+import { Type } from 'class-transformer';+import { CommentThreadCreateOrConnectWithoutCommentThreadTargetsInput } from './comment-thread-create-or-connect-without-comment-thread-targets.input';+import { CommentThreadUpsertWithoutCommentThreadTargetsInput } from './comment-thread-upsert-without-comment-thread-targets.input';+import { CommentThreadWhereUniqueInput } from './comment-thread-where-unique.input';+import { CommentThreadUpdateWithoutCommentThreadTargetsInput } from './comment-thread-update-without-comment-thread-targets.input';++@InputType()+export class CommentThreadUpdateOneRequiredWithoutCommentThreadTargetsNestedInput {+ @Field(() => CommentThreadCreateWithoutCommentThreadTargetsInput, {+ nullable: true,+ })+ @Type(() => CommentThreadCreateWithoutCommentThreadTargetsInput)+ create?: CommentThreadCreateWithoutCommentThreadTargetsInput;++ @Field(() => CommentThreadCreateOrConnectWithoutCommentThreadTargetsInput, {+ nullable: true,+ })+ @Type(() => CommentThreadCreateOrConnectWithoutCommentThreadTargetsInput)+ connectOrCreate?: CommentThreadCreateOrConnectWithoutCommentThreadTargetsInput;++ @Field(() => CommentThreadUpsertWithoutCommentThreadTargetsInput, {+ nullable: true,+ })+ @Type(() => CommentThreadUpsertWithoutCommentThreadTargetsInput)+ upsert?: CommentThreadUpsertWithoutCommentThreadTargetsInput;++ @Field(() => CommentThreadWhereUniqueInput, { nullable: true })+ @Type(() => CommentThreadWhereUniqueInput)+ connect?: CommentThreadWhereUniqueInput;++ @Field(() => CommentThreadUpdateWithoutCommentThreadTargetsInput, {+ nullable: true,+ })+ @Type(() => CommentThreadUpdateWithoutCommentThreadTargetsInput)+ update?: CommentThreadUpdateWithoutCommentThreadTargetsInput;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-update-one-required-without-comments-nested.input.ts b/server/src/api/@generated/comment-thread/comment-thread-update-one-required-without-comments-nested.input.tsnew file mode 100644index 00000000000..a74885d400b--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-update-one-required-without-comments-nested.input.ts@@ -0,0 +1,33 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentThreadCreateWithoutCommentsInput } from './comment-thread-create-without-comments.input';+import { Type } from 'class-transformer';+import { CommentThreadCreateOrConnectWithoutCommentsInput } from './comment-thread-create-or-connect-without-comments.input';+import { CommentThreadUpsertWithoutCommentsInput } from './comment-thread-upsert-without-comments.input';+import { CommentThreadWhereUniqueInput } from './comment-thread-where-unique.input';+import { CommentThreadUpdateWithoutCommentsInput } from './comment-thread-update-without-comments.input';++@InputType()+export class CommentThreadUpdateOneRequiredWithoutCommentsNestedInput {+ @Field(() => CommentThreadCreateWithoutCommentsInput, { nullable: true })+ @Type(() => CommentThreadCreateWithoutCommentsInput)+ create?: CommentThreadCreateWithoutCommentsInput;++ @Field(() => CommentThreadCreateOrConnectWithoutCommentsInput, {+ nullable: true,+ })+ @Type(() => CommentThreadCreateOrConnectWithoutCommentsInput)+ connectOrCreate?: CommentThreadCreateOrConnectWithoutCommentsInput;++ @Field(() => CommentThreadUpsertWithoutCommentsInput, { nullable: true })+ @Type(() => CommentThreadUpsertWithoutCommentsInput)+ upsert?: CommentThreadUpsertWithoutCommentsInput;++ @Field(() => CommentThreadWhereUniqueInput, { nullable: true })+ @Type(() => CommentThreadWhereUniqueInput)+ connect?: CommentThreadWhereUniqueInput;++ @Field(() => CommentThreadUpdateWithoutCommentsInput, { nullable: true })+ @Type(() => CommentThreadUpdateWithoutCommentsInput)+ update?: CommentThreadUpdateWithoutCommentsInput;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-update-with-where-unique-without-workspace.input.ts b/server/src/api/@generated/comment-thread/comment-thread-update-with-where-unique-without-workspace.input.tsnew file mode 100644index 00000000000..2ddcf95a4cc--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-update-with-where-unique-without-workspace.input.ts@@ -0,0 +1,16 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentThreadWhereUniqueInput } from './comment-thread-where-unique.input';+import { Type } from 'class-transformer';+import { CommentThreadUpdateWithoutWorkspaceInput } from './comment-thread-update-without-workspace.input';++@InputType()+export class CommentThreadUpdateWithWhereUniqueWithoutWorkspaceInput {+ @Field(() => CommentThreadWhereUniqueInput, { nullable: false })+ @Type(() => CommentThreadWhereUniqueInput)+ where!: CommentThreadWhereUniqueInput;++ @Field(() => CommentThreadUpdateWithoutWorkspaceInput, { nullable: false })+ @Type(() => CommentThreadUpdateWithoutWorkspaceInput)+ data!: CommentThreadUpdateWithoutWorkspaceInput;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-update-without-comment-thread-targets.input.ts b/server/src/api/@generated/comment-thread/comment-thread-update-without-comment-thread-targets.input.tsnew file mode 100644index 00000000000..2da9aa25644--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-update-without-comment-thread-targets.input.ts@@ -0,0 +1,31 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';+import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';+import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';+import { CommentUpdateManyWithoutCommentThreadNestedInput } from '../comment/comment-update-many-without-comment-thread-nested.input';+import { WorkspaceUpdateOneRequiredWithoutCommentThreadsNestedInput } from '../workspace/workspace-update-one-required-without-comment-threads-nested.input';+import { HideField } from '@nestjs/graphql';++@InputType()+export class CommentThreadUpdateWithoutCommentThreadTargetsInput {+ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ id?: StringFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ createdAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ updatedAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })+ deletedAt?: NullableDateTimeFieldUpdateOperationsInput;++ @Field(() => CommentUpdateManyWithoutCommentThreadNestedInput, {+ nullable: true,+ })+ comments?: CommentUpdateManyWithoutCommentThreadNestedInput;++ @HideField()+ workspace?: WorkspaceUpdateOneRequiredWithoutCommentThreadsNestedInput;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-update-without-comments.input.ts b/server/src/api/@generated/comment-thread/comment-thread-update-without-comments.input.tsnew file mode 100644index 00000000000..848e731085a--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-update-without-comments.input.ts@@ -0,0 +1,31 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';+import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';+import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';+import { CommentThreadTargetUpdateManyWithoutCommentThreadNestedInput } from '../comment-thread-target/comment-thread-target-update-many-without-comment-thread-nested.input';+import { WorkspaceUpdateOneRequiredWithoutCommentThreadsNestedInput } from '../workspace/workspace-update-one-required-without-comment-threads-nested.input';+import { HideField } from '@nestjs/graphql';++@InputType()+export class CommentThreadUpdateWithoutCommentsInput {+ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ id?: StringFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ createdAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ updatedAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })+ deletedAt?: NullableDateTimeFieldUpdateOperationsInput;++ @Field(() => CommentThreadTargetUpdateManyWithoutCommentThreadNestedInput, {+ nullable: true,+ })+ commentThreadTargets?: CommentThreadTargetUpdateManyWithoutCommentThreadNestedInput;++ @HideField()+ workspace?: WorkspaceUpdateOneRequiredWithoutCommentThreadsNestedInput;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-update-without-workspace.input.ts b/server/src/api/@generated/comment-thread/comment-thread-update-without-workspace.input.tsnew file mode 100644index 00000000000..cf9fc825d59--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-update-without-workspace.input.ts@@ -0,0 +1,32 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';+import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';+import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';+import { CommentThreadTargetUpdateManyWithoutCommentThreadNestedInput } from '../comment-thread-target/comment-thread-target-update-many-without-comment-thread-nested.input';+import { CommentUpdateManyWithoutCommentThreadNestedInput } from '../comment/comment-update-many-without-comment-thread-nested.input';++@InputType()+export class CommentThreadUpdateWithoutWorkspaceInput {+ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ id?: StringFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ createdAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ updatedAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })+ deletedAt?: NullableDateTimeFieldUpdateOperationsInput;++ @Field(() => CommentThreadTargetUpdateManyWithoutCommentThreadNestedInput, {+ nullable: true,+ })+ commentThreadTargets?: CommentThreadTargetUpdateManyWithoutCommentThreadNestedInput;++ @Field(() => CommentUpdateManyWithoutCommentThreadNestedInput, {+ nullable: true,+ })+ comments?: CommentUpdateManyWithoutCommentThreadNestedInput;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-update.input.ts b/server/src/api/@generated/comment-thread/comment-thread-update.input.tsnew file mode 100644index 00000000000..1914f875e12--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-update.input.ts@@ -0,0 +1,37 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';+import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';+import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';+import { CommentThreadTargetUpdateManyWithoutCommentThreadNestedInput } from '../comment-thread-target/comment-thread-target-update-many-without-comment-thread-nested.input';+import { CommentUpdateManyWithoutCommentThreadNestedInput } from '../comment/comment-update-many-without-comment-thread-nested.input';+import { WorkspaceUpdateOneRequiredWithoutCommentThreadsNestedInput } from '../workspace/workspace-update-one-required-without-comment-threads-nested.input';+import { HideField } from '@nestjs/graphql';++@InputType()+export class CommentThreadUpdateInput {+ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ id?: StringFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ createdAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ updatedAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })+ deletedAt?: NullableDateTimeFieldUpdateOperationsInput;++ @Field(() => CommentThreadTargetUpdateManyWithoutCommentThreadNestedInput, {+ nullable: true,+ })+ commentThreadTargets?: CommentThreadTargetUpdateManyWithoutCommentThreadNestedInput;++ @Field(() => CommentUpdateManyWithoutCommentThreadNestedInput, {+ nullable: true,+ })+ comments?: CommentUpdateManyWithoutCommentThreadNestedInput;++ @HideField()+ workspace?: WorkspaceUpdateOneRequiredWithoutCommentThreadsNestedInput;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-upsert-with-where-unique-without-workspace.input.ts b/server/src/api/@generated/comment-thread/comment-thread-upsert-with-where-unique-without-workspace.input.tsnew file mode 100644index 00000000000..5a5f5ce5289--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-upsert-with-where-unique-without-workspace.input.ts@@ -0,0 +1,21 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentThreadWhereUniqueInput } from './comment-thread-where-unique.input';+import { Type } from 'class-transformer';+import { CommentThreadUpdateWithoutWorkspaceInput } from './comment-thread-update-without-workspace.input';+import { CommentThreadCreateWithoutWorkspaceInput } from './comment-thread-create-without-workspace.input';++@InputType()+export class CommentThreadUpsertWithWhereUniqueWithoutWorkspaceInput {+ @Field(() => CommentThreadWhereUniqueInput, { nullable: false })+ @Type(() => CommentThreadWhereUniqueInput)+ where!: CommentThreadWhereUniqueInput;++ @Field(() => CommentThreadUpdateWithoutWorkspaceInput, { nullable: false })+ @Type(() => CommentThreadUpdateWithoutWorkspaceInput)+ update!: CommentThreadUpdateWithoutWorkspaceInput;++ @Field(() => CommentThreadCreateWithoutWorkspaceInput, { nullable: false })+ @Type(() => CommentThreadCreateWithoutWorkspaceInput)+ create!: CommentThreadCreateWithoutWorkspaceInput;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-upsert-without-comment-thread-targets.input.ts b/server/src/api/@generated/comment-thread/comment-thread-upsert-without-comment-thread-targets.input.tsnew file mode 100644index 00000000000..7510d83c3e9--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-upsert-without-comment-thread-targets.input.ts@@ -0,0 +1,20 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentThreadUpdateWithoutCommentThreadTargetsInput } from './comment-thread-update-without-comment-thread-targets.input';+import { Type } from 'class-transformer';+import { CommentThreadCreateWithoutCommentThreadTargetsInput } from './comment-thread-create-without-comment-thread-targets.input';++@InputType()+export class CommentThreadUpsertWithoutCommentThreadTargetsInput {+ @Field(() => CommentThreadUpdateWithoutCommentThreadTargetsInput, {+ nullable: false,+ })+ @Type(() => CommentThreadUpdateWithoutCommentThreadTargetsInput)+ update!: CommentThreadUpdateWithoutCommentThreadTargetsInput;++ @Field(() => CommentThreadCreateWithoutCommentThreadTargetsInput, {+ nullable: false,+ })+ @Type(() => CommentThreadCreateWithoutCommentThreadTargetsInput)+ create!: CommentThreadCreateWithoutCommentThreadTargetsInput;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-upsert-without-comments.input.ts b/server/src/api/@generated/comment-thread/comment-thread-upsert-without-comments.input.tsnew file mode 100644index 00000000000..36543edabf4--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-upsert-without-comments.input.ts@@ -0,0 +1,16 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentThreadUpdateWithoutCommentsInput } from './comment-thread-update-without-comments.input';+import { Type } from 'class-transformer';+import { CommentThreadCreateWithoutCommentsInput } from './comment-thread-create-without-comments.input';++@InputType()+export class CommentThreadUpsertWithoutCommentsInput {+ @Field(() => CommentThreadUpdateWithoutCommentsInput, { nullable: false })+ @Type(() => CommentThreadUpdateWithoutCommentsInput)+ update!: CommentThreadUpdateWithoutCommentsInput;++ @Field(() => CommentThreadCreateWithoutCommentsInput, { nullable: false })+ @Type(() => CommentThreadCreateWithoutCommentsInput)+ create!: CommentThreadCreateWithoutCommentsInput;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-where-unique.input.ts b/server/src/api/@generated/comment-thread/comment-thread-where-unique.input.tsnew file mode 100644index 00000000000..2a02cb0be1b--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-where-unique.input.ts@@ -0,0 +1,8 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';++@InputType()+export class CommentThreadWhereUniqueInput {+ @Field(() => String, { nullable: true })+ id?: string;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread-where.input.ts b/server/src/api/@generated/comment-thread/comment-thread-where.input.tsnew file mode 100644index 00000000000..e8813380546--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread-where.input.ts@@ -0,0 +1,45 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { StringFilter } from '../prisma/string-filter.input';+import { DateTimeFilter } from '../prisma/date-time-filter.input';+import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input';+import { HideField } from '@nestjs/graphql';+import { CommentThreadTargetListRelationFilter } from '../comment-thread-target/comment-thread-target-list-relation-filter.input';+import { CommentListRelationFilter } from '../comment/comment-list-relation-filter.input';+import { WorkspaceRelationFilter } from '../workspace/workspace-relation-filter.input';++@InputType()+export class CommentThreadWhereInput {+ @Field(() => [CommentThreadWhereInput], { nullable: true })+ AND?: Array<CommentThreadWhereInput>;++ @Field(() => [CommentThreadWhereInput], { nullable: true })+ OR?: Array<CommentThreadWhereInput>;++ @Field(() => [CommentThreadWhereInput], { nullable: true })+ NOT?: Array<CommentThreadWhereInput>;++ @Field(() => StringFilter, { nullable: true })+ id?: StringFilter;++ @Field(() => DateTimeFilter, { nullable: true })+ createdAt?: DateTimeFilter;++ @Field(() => DateTimeFilter, { nullable: true })+ updatedAt?: DateTimeFilter;++ @Field(() => DateTimeNullableFilter, { nullable: true })+ deletedAt?: DateTimeNullableFilter;++ @HideField()+ workspaceId?: StringFilter;++ @Field(() => CommentThreadTargetListRelationFilter, { nullable: true })+ commentThreadTargets?: CommentThreadTargetListRelationFilter;++ @Field(() => CommentListRelationFilter, { nullable: true })+ comments?: CommentListRelationFilter;++ @HideField()+ workspace?: WorkspaceRelationFilter;+}diff --git a/server/src/api/@generated/comment-thread/comment-thread.model.ts b/server/src/api/@generated/comment-thread/comment-thread.model.tsnew file mode 100644index 00000000000..fdce0089994--- /dev/null+++ b/server/src/api/@generated/comment-thread/comment-thread.model.ts@@ -0,0 +1,37 @@+import { Field } from '@nestjs/graphql';+import { ObjectType } from '@nestjs/graphql';+import { ID } from '@nestjs/graphql';+import { CommentThreadTarget } from '../comment-thread-target/comment-thread-target.model';+import { Comment } from '../comment/comment.model';+import { Workspace } from '../workspace/workspace.model';+import { CommentThreadCount } from '../comment/comment-thread-count.output';++@ObjectType()+export class CommentThread {+ @Field(() => ID, { nullable: false })+ id!: string;++ @Field(() => Date, { nullable: false })+ createdAt!: Date;++ @Field(() => Date, { nullable: false })+ updatedAt!: Date;++ @Field(() => Date, { nullable: true })+ deletedAt!: Date | null;++ @Field(() => String, { nullable: false })+ workspaceId!: string;++ @Field(() => [CommentThreadTarget], { nullable: true })+ commentThreadTargets?: Array<CommentThreadTarget>;++ @Field(() => [Comment], { nullable: true })+ comments?: Array<Comment>;++ @Field(() => Workspace, { nullable: false })+ workspace?: Workspace;++ @Field(() => CommentThreadCount, { nullable: false })+ _count?: CommentThreadCount;+}diff --git a/server/src/api/@generated/comment-thread/create-many-comment-thread.args.ts b/server/src/api/@generated/comment-thread/create-many-comment-thread.args.tsnew file mode 100644index 00000000000..c164431a19f--- /dev/null+++ b/server/src/api/@generated/comment-thread/create-many-comment-thread.args.ts@@ -0,0 +1,14 @@+import { Field } from '@nestjs/graphql';+import { ArgsType } from '@nestjs/graphql';+import { CommentThreadCreateManyInput } from './comment-thread-create-many.input';+import { Type } from 'class-transformer';++@ArgsType()+export class CreateManyCommentThreadArgs {+ @Field(() => [CommentThreadCreateManyInput], { nullable: false })+ @Type(() => CommentThreadCreateManyInput)+ data!: Array<CommentThreadCreateManyInput>;++ @Field(() => Boolean, { nullable: true })+ skipDuplicates?: boolean;+}diff --git a/server/src/api/@generated/comment-thread/create-one-comment-thread.args.ts b/server/src/api/@generated/comment-thread/create-one-comment-thread.args.tsnew file mode 100644index 00000000000..cd42f478fa7--- /dev/null+++ b/server/src/api/@generated/comment-thread/create-one-comment-thread.args.ts@@ -0,0 +1,11 @@+import { Field } from '@nestjs/graphql';+import { ArgsType } from '@nestjs/graphql';+import { CommentThreadCreateInput } from './comment-thread-create.input';+import { Type } from 'class-transformer';++@ArgsType()+export class CreateOneCommentThreadArgs {+ @Field(() => CommentThreadCreateInput, { nullable: false })+ @Type(() => CommentThreadCreateInput)+ data!: CommentThreadCreateInput;+}diff --git a/server/src/api/@generated/comment-thread/delete-many-comment-thread.args.ts b/server/src/api/@generated/comment-thread/delete-many-comment-thread.args.tsnew file mode 100644index 00000000000..66e58e9eafd--- /dev/null+++ b/server/src/api/@generated/comment-thread/delete-many-comment-thread.args.ts@@ -0,0 +1,11 @@+import { Field } from '@nestjs/graphql';+import { ArgsType } from '@nestjs/graphql';+import { CommentThreadWhereInput } from './comment-thread-where.input';+import { Type } from 'class-transformer';++@ArgsType()+export class DeleteManyCommentThreadArgs {+ @Field(() => CommentThreadWhereInput, { nullable: true })+ @Type(() => CommentThreadWhereInput)+ where?: CommentThreadWhereInput;+}diff --git a/server/src/api/@generated/comment-thread/delete-one-comment-thread.args.ts b/server/src/api/@generated/comment-thread/delete-one-comment-thread.args.tsnew file mode 100644index 00000000000..d32ea70d9e5--- /dev/null+++ b/server/src/api/@generated/comment-thread/delete-one-comment-thread.args.ts@@ -0,0 +1,11 @@+import { Field } from '@nestjs/graphql';+import { ArgsType } from '@nestjs/graphql';+import { CommentThreadWhereUniqueInput } from './comment-thread-where-unique.input';+import { Type } from 'class-transformer';++@ArgsType()+export class DeleteOneCommentThreadArgs {+ @Field(() => CommentThreadWhereUniqueInput, { nullable: false })+ @Type(() => CommentThreadWhereUniqueInput)+ where!: CommentThreadWhereUniqueInput;+}diff --git a/server/src/api/@generated/comment-thread/find-first-comment-thread-or-throw.args.ts b/server/src/api/@generated/comment-thread/find-first-comment-thread-or-throw.args.tsnew file mode 100644index 00000000000..851888ea92b--- /dev/null+++ b/server/src/api/@generated/comment-thread/find-first-comment-thread-or-throw.args.ts@@ -0,0 +1,30 @@+import { Field } from '@nestjs/graphql';+import { ArgsType } from '@nestjs/graphql';+import { CommentThreadWhereInput } from './comment-thread-where.input';+import { Type } from 'class-transformer';+import { CommentThreadOrderByWithRelationInput } from './comment-thread-order-by-with-relation.input';+import { CommentThreadWhereUniqueInput } from './comment-thread-where-unique.input';+import { Int } from '@nestjs/graphql';+import { CommentThreadScalarFieldEnum } from './comment-thread-scalar-field.enum';++@ArgsType()+export class FindFirstCommentThreadOrThrowArgs {+ @Field(() => CommentThreadWhereInput, { nullable: true })+ @Type(() => CommentThreadWhereInput)+ where?: CommentThreadWhereInput;++ @Field(() => [CommentThreadOrderByWithRelationInput], { nullable: true })+ orderBy?: Array<CommentThreadOrderByWithRelationInput>;++ @Field(() => CommentThreadWhereUniqueInput, { nullable: true })+ cursor?: CommentThreadWhereUniqueInput;++ @Field(() => Int, { nullable: true })+ take?: number;++ @Field(() => Int, { nullable: true })+ skip?: number;++ @Field(() => [CommentThreadScalarFieldEnum], { nullable: true })+ distinct?: Array<keyof typeof CommentThreadScalarFieldEnum>;+}diff --git a/server/src/api/@generated/comment-thread/find-first-comment-thread.args.ts b/server/src/api/@generated/comment-thread/find-first-comment-thread.args.tsnew file mode 100644index 00000000000..b347df8e540--- /dev/null+++ b/server/src/api/@generated/comment-thread/find-first-comment-thread.args.ts@@ -0,0 +1,30 @@+import { Field } from '@nestjs/graphql';+import { ArgsType } from '@nestjs/graphql';+import { CommentThreadWhereInput } from './comment-thread-where.input';+import { Type } from 'class-transformer';+import { CommentThreadOrderByWithRelationInput } from './comment-thread-order-by-with-relation.input';+import { CommentThreadWhereUniqueInput } from './comment-thread-where-unique.input';+import { Int } from '@nestjs/graphql';+import { CommentThreadScalarFieldEnum } from './comment-thread-scalar-field.enum';++@ArgsType()+export class FindFirstCommentThreadArgs {+ @Field(() => CommentThreadWhereInput, { nullable: true })+ @Type(() => CommentThreadWhereInput)+ where?: CommentThreadWhereInput;++ @Field(() => [CommentThreadOrderByWithRelationInput], { nullable: true })+ orderBy?: Array<CommentThreadOrderByWithRelationInput>;++ @Field(() => CommentThreadWhereUniqueInput, { nullable: true })+ cursor?: CommentThreadWhereUniqueInput;++ @Field(() => Int, { nullable: true })+ take?: number;++ @Field(() => Int, { nullable: true })+ skip?: number;++ @Field(() => [CommentThreadScalarFieldEnum], { nullable: true })+ distinct?: Array<keyof typeof CommentThreadScalarFieldEnum>;+}diff --git a/server/src/api/@generated/comment-thread/find-many-comment-thread.args.ts b/server/src/api/@generated/comment-thread/find-many-comment-thread.args.tsnew file mode 100644index 00000000000..711f3e6bccf--- /dev/null+++ b/server/src/api/@generated/comment-thread/find-many-comment-thread.args.ts@@ -0,0 +1,30 @@+import { Field } from '@nestjs/graphql';+import { ArgsType } from '@nestjs/graphql';+import { CommentThreadWhereInput } from './comment-thread-where.input';+import { Type } from 'class-transformer';+import { CommentThreadOrderByWithRelationInput } from './comment-thread-order-by-with-relation.input';+import { CommentThreadWhereUniqueInput } from './comment-thread-where-unique.input';+import { Int } from '@nestjs/graphql';+import { CommentThreadScalarFieldEnum } from './comment-thread-scalar-field.enum';++@ArgsType()+export class FindManyCommentThreadArgs {+ @Field(() => CommentThreadWhereInput, { nullable: true })+ @Type(() => CommentThreadWhereInput)+ where?: CommentThreadWhereInput;++ @Field(() => [CommentThreadOrderByWithRelationInput], { nullable: true })+ orderBy?: Array<CommentThreadOrderByWithRelationInput>;++ @Field(() => CommentThreadWhereUniqueInput, { nullable: true })+ cursor?: CommentThreadWhereUniqueInput;++ @Field(() => Int, { nullable: true })+ take?: number;++ @Field(() => Int, { nullable: true })+ skip?: number;++ @Field(() => [CommentThreadScalarFieldEnum], { nullable: true })+ distinct?: Array<keyof typeof CommentThreadScalarFieldEnum>;+}diff --git a/server/src/api/@generated/comment-thread/find-unique-comment-thread-or-throw.args.ts b/server/src/api/@generated/comment-thread/find-unique-comment-thread-or-throw.args.tsnew file mode 100644index 00000000000..cc01910d709--- /dev/null+++ b/server/src/api/@generated/comment-thread/find-unique-comment-thread-or-throw.args.ts@@ -0,0 +1,11 @@+import { Field } from '@nestjs/graphql';+import { ArgsType } from '@nestjs/graphql';+import { CommentThreadWhereUniqueInput } from './comment-thread-where-unique.input';+import { Type } from 'class-transformer';++@ArgsType()+export class FindUniqueCommentThreadOrThrowArgs {+ @Field(() => CommentThreadWhereUniqueInput, { nullable: false })+ @Type(() => CommentThreadWhereUniqueInput)+ where!: CommentThreadWhereUniqueInput;+}diff --git a/server/src/api/@generated/comment-thread/find-unique-comment-thread.args.ts b/server/src/api/@generated/comment-thread/find-unique-comment-thread.args.tsnew file mode 100644index 00000000000..8b19fa6f5c1--- /dev/null+++ b/server/src/api/@generated/comment-thread/find-unique-comment-thread.args.ts@@ -0,0 +1,11 @@+import { Field } from '@nestjs/graphql';+import { ArgsType } from '@nestjs/graphql';+import { CommentThreadWhereUniqueInput } from './comment-thread-where-unique.input';+import { Type } from 'class-transformer';++@ArgsType()+export class FindUniqueCommentThreadArgs {+ @Field(() => CommentThreadWhereUniqueInput, { nullable: false })+ @Type(() => CommentThreadWhereUniqueInput)+ where!: CommentThreadWhereUniqueInput;+}diff --git a/server/src/api/@generated/comment-thread/update-many-comment-thread.args.ts b/server/src/api/@generated/comment-thread/update-many-comment-thread.args.tsnew file mode 100644index 00000000000..60e1de17a25--- /dev/null+++ b/server/src/api/@generated/comment-thread/update-many-comment-thread.args.ts@@ -0,0 +1,16 @@+import { Field } from '@nestjs/graphql';+import { ArgsType } from '@nestjs/graphql';+import { CommentThreadUpdateManyMutationInput } from './comment-thread-update-many-mutation.input';+import { Type } from 'class-transformer';+import { CommentThreadWhereInput } from './comment-thread-where.input';++@ArgsType()+export class UpdateManyCommentThreadArgs {+ @Field(() => CommentThreadUpdateManyMutationInput, { nullable: false })+ @Type(() => CommentThreadUpdateManyMutationInput)+ data!: CommentThreadUpdateManyMutationInput;++ @Field(() => CommentThreadWhereInput, { nullable: true })+ @Type(() => CommentThreadWhereInput)+ where?: CommentThreadWhereInput;+}diff --git a/server/src/api/@generated/comment-thread/update-one-comment-thread.args.ts b/server/src/api/@generated/comment-thread/update-one-comment-thread.args.tsnew file mode 100644index 00000000000..81b672851da--- /dev/null+++ b/server/src/api/@generated/comment-thread/update-one-comment-thread.args.ts@@ -0,0 +1,16 @@+import { Field } from '@nestjs/graphql';+import { ArgsType } from '@nestjs/graphql';+import { CommentThreadUpdateInput } from './comment-thread-update.input';+import { Type } from 'class-transformer';+import { CommentThreadWhereUniqueInput } from './comment-thread-where-unique.input';++@ArgsType()+export class UpdateOneCommentThreadArgs {+ @Field(() => CommentThreadUpdateInput, { nullable: false })+ @Type(() => CommentThreadUpdateInput)+ data!: CommentThreadUpdateInput;++ @Field(() => CommentThreadWhereUniqueInput, { nullable: false })+ @Type(() => CommentThreadWhereUniqueInput)+ where!: CommentThreadWhereUniqueInput;+}diff --git a/server/src/api/@generated/comment-thread/upsert-one-comment-thread.args.ts b/server/src/api/@generated/comment-thread/upsert-one-comment-thread.args.tsnew file mode 100644index 00000000000..43270e398db--- /dev/null+++ b/server/src/api/@generated/comment-thread/upsert-one-comment-thread.args.ts@@ -0,0 +1,21 @@+import { Field } from '@nestjs/graphql';+import { ArgsType } from '@nestjs/graphql';+import { CommentThreadWhereUniqueInput } from './comment-thread-where-unique.input';+import { Type } from 'class-transformer';+import { CommentThreadCreateInput } from './comment-thread-create.input';+import { CommentThreadUpdateInput } from './comment-thread-update.input';++@ArgsType()+export class UpsertOneCommentThreadArgs {+ @Field(() => CommentThreadWhereUniqueInput, { nullable: false })+ @Type(() => CommentThreadWhereUniqueInput)+ where!: CommentThreadWhereUniqueInput;++ @Field(() => CommentThreadCreateInput, { nullable: false })+ @Type(() => CommentThreadCreateInput)+ create!: CommentThreadCreateInput;++ @Field(() => CommentThreadUpdateInput, { nullable: false })+ @Type(() => CommentThreadUpdateInput)+ update!: CommentThreadUpdateInput;+}diff --git a/server/src/api/@generated/comment/aggregate-comment.output.ts b/server/src/api/@generated/comment/aggregate-comment.output.tsnew file mode 100644index 00000000000..59c747eb7e8--- /dev/null+++ b/server/src/api/@generated/comment/aggregate-comment.output.ts@@ -0,0 +1,17 @@+import { Field } from '@nestjs/graphql';+import { ObjectType } from '@nestjs/graphql';+import { CommentCountAggregate } from './comment-count-aggregate.output';+import { CommentMinAggregate } from './comment-min-aggregate.output';+import { CommentMaxAggregate } from './comment-max-aggregate.output';++@ObjectType()+export class AggregateComment {+ @Field(() => CommentCountAggregate, { nullable: true })+ _count?: CommentCountAggregate;++ @Field(() => CommentMinAggregate, { nullable: true })+ _min?: CommentMinAggregate;++ @Field(() => CommentMaxAggregate, { nullable: true })+ _max?: CommentMaxAggregate;+}diff --git a/server/src/api/@generated/comment/comment-aggregate.args.ts b/server/src/api/@generated/comment/comment-aggregate.args.tsnew file mode 100644index 00000000000..16d93a5088a--- /dev/null+++ b/server/src/api/@generated/comment/comment-aggregate.args.ts@@ -0,0 +1,38 @@+import { Field } from '@nestjs/graphql';+import { ArgsType } from '@nestjs/graphql';+import { CommentWhereInput } from './comment-where.input';+import { Type } from 'class-transformer';+import { CommentOrderByWithRelationInput } from './comment-order-by-with-relation.input';+import { CommentWhereUniqueInput } from './comment-where-unique.input';+import { Int } from '@nestjs/graphql';+import { CommentCountAggregateInput } from './comment-count-aggregate.input';+import { CommentMinAggregateInput } from './comment-min-aggregate.input';+import { CommentMaxAggregateInput } from './comment-max-aggregate.input';++@ArgsType()+export class CommentAggregateArgs {+ @Field(() => CommentWhereInput, { nullable: true })+ @Type(() => CommentWhereInput)+ where?: CommentWhereInput;++ @Field(() => [CommentOrderByWithRelationInput], { nullable: true })+ orderBy?: Array<CommentOrderByWithRelationInput>;++ @Field(() => CommentWhereUniqueInput, { nullable: true })+ cursor?: CommentWhereUniqueInput;++ @Field(() => Int, { nullable: true })+ take?: number;++ @Field(() => Int, { nullable: true })+ skip?: number;++ @Field(() => CommentCountAggregateInput, { nullable: true })+ _count?: CommentCountAggregateInput;++ @Field(() => CommentMinAggregateInput, { nullable: true })+ _min?: CommentMinAggregateInput;++ @Field(() => CommentMaxAggregateInput, { nullable: true })+ _max?: CommentMaxAggregateInput;+}diff --git a/server/src/api/@generated/comment/comment-count-aggregate.input.ts b/server/src/api/@generated/comment/comment-count-aggregate.input.tsnew file mode 100644index 00000000000..a094806ad82--- /dev/null+++ b/server/src/api/@generated/comment/comment-count-aggregate.input.ts@@ -0,0 +1,33 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { HideField } from '@nestjs/graphql';++@InputType()+export class CommentCountAggregateInput {+ @Field(() => Boolean, { nullable: true })+ id?: true;++ @Field(() => Boolean, { nullable: true })+ createdAt?: true;++ @Field(() => Boolean, { nullable: true })+ updatedAt?: true;++ @Field(() => Boolean, { nullable: true })+ deletedAt?: true;++ @Field(() => Boolean, { nullable: true })+ body?: true;++ @Field(() => Boolean, { nullable: true })+ authorId?: true;++ @Field(() => Boolean, { nullable: true })+ commentThreadId?: true;++ @HideField()+ workspaceId?: true;++ @Field(() => Boolean, { nullable: true })+ _all?: true;+}diff --git a/server/src/api/@generated/comment/comment-count-aggregate.output.ts b/server/src/api/@generated/comment/comment-count-aggregate.output.tsnew file mode 100644index 00000000000..f4b6b7ce592--- /dev/null+++ b/server/src/api/@generated/comment/comment-count-aggregate.output.ts@@ -0,0 +1,33 @@+import { Field } from '@nestjs/graphql';+import { ObjectType } from '@nestjs/graphql';+import { Int } from '@nestjs/graphql';++@ObjectType()+export class CommentCountAggregate {+ @Field(() => Int, { nullable: false })+ id!: number;++ @Field(() => Int, { nullable: false })+ createdAt!: number;++ @Field(() => Int, { nullable: false })+ updatedAt!: number;++ @Field(() => Int, { nullable: false })+ deletedAt!: number;++ @Field(() => Int, { nullable: false })+ body!: number;++ @Field(() => Int, { nullable: false })+ authorId!: number;++ @Field(() => Int, { nullable: false })+ commentThreadId!: number;++ @Field(() => Int, { nullable: false })+ workspaceId!: number;++ @Field(() => Int, { nullable: false })+ _all!: number;+}diff --git a/server/src/api/@generated/comment/comment-count-order-by-aggregate.input.ts b/server/src/api/@generated/comment/comment-count-order-by-aggregate.input.tsnew file mode 100644index 00000000000..1af0d817b35--- /dev/null+++ b/server/src/api/@generated/comment/comment-count-order-by-aggregate.input.ts@@ -0,0 +1,31 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { SortOrder } from '../prisma/sort-order.enum';+import { HideField } from '@nestjs/graphql';++@InputType()+export class CommentCountOrderByAggregateInput {+ @Field(() => SortOrder, { nullable: true })+ id?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ createdAt?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ updatedAt?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ deletedAt?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ body?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ authorId?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ commentThreadId?: keyof typeof SortOrder;++ @HideField()+ workspaceId?: keyof typeof SortOrder;+}diff --git a/server/src/api/@generated/comment/comment-create-many-author-input-envelope.input.ts b/server/src/api/@generated/comment/comment-create-many-author-input-envelope.input.tsnew file mode 100644index 00000000000..61137975e78--- /dev/null+++ b/server/src/api/@generated/comment/comment-create-many-author-input-envelope.input.ts@@ -0,0 +1,14 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentCreateManyAuthorInput } from './comment-create-many-author.input';+import { Type } from 'class-transformer';++@InputType()+export class CommentCreateManyAuthorInputEnvelope {+ @Field(() => [CommentCreateManyAuthorInput], { nullable: false })+ @Type(() => CommentCreateManyAuthorInput)+ data!: Array<CommentCreateManyAuthorInput>;++ @Field(() => Boolean, { nullable: true })+ skipDuplicates?: boolean;+}diff --git a/server/src/api/@generated/comment/comment-create-many-author.input.ts b/server/src/api/@generated/comment/comment-create-many-author.input.tsnew file mode 100644index 00000000000..e4c4254df39--- /dev/null+++ b/server/src/api/@generated/comment/comment-create-many-author.input.ts@@ -0,0 +1,27 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { HideField } from '@nestjs/graphql';++@InputType()+export class CommentCreateManyAuthorInput {+ @Field(() => String, { nullable: false })+ id!: string;++ @Field(() => Date, { nullable: true })+ createdAt?: Date | string;++ @Field(() => Date, { nullable: true })+ updatedAt?: Date | string;++ @Field(() => Date, { nullable: true })+ deletedAt?: Date | string;++ @Field(() => String, { nullable: false })+ body!: string;++ @Field(() => String, { nullable: false })+ commentThreadId!: string;++ @HideField()+ workspaceId!: string;+}diff --git a/server/src/api/@generated/comment/comment-create-many-comment-thread-input-envelope.input.ts b/server/src/api/@generated/comment/comment-create-many-comment-thread-input-envelope.input.tsnew file mode 100644index 00000000000..286663520ca--- /dev/null+++ b/server/src/api/@generated/comment/comment-create-many-comment-thread-input-envelope.input.ts@@ -0,0 +1,14 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentCreateManyCommentThreadInput } from './comment-create-many-comment-thread.input';+import { Type } from 'class-transformer';++@InputType()+export class CommentCreateManyCommentThreadInputEnvelope {+ @Field(() => [CommentCreateManyCommentThreadInput], { nullable: false })+ @Type(() => CommentCreateManyCommentThreadInput)+ data!: Array<CommentCreateManyCommentThreadInput>;++ @Field(() => Boolean, { nullable: true })+ skipDuplicates?: boolean;+}diff --git a/server/src/api/@generated/comment/comment-create-many-comment-thread.input.ts b/server/src/api/@generated/comment/comment-create-many-comment-thread.input.tsnew file mode 100644index 00000000000..5532438e583--- /dev/null+++ b/server/src/api/@generated/comment/comment-create-many-comment-thread.input.ts@@ -0,0 +1,27 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { HideField } from '@nestjs/graphql';++@InputType()+export class CommentCreateManyCommentThreadInput {+ @Field(() => String, { nullable: false })+ id!: string;++ @Field(() => Date, { nullable: true })+ createdAt?: Date | string;++ @Field(() => Date, { nullable: true })+ updatedAt?: Date | string;++ @Field(() => Date, { nullable: true })+ deletedAt?: Date | string;++ @Field(() => String, { nullable: false })+ body!: string;++ @Field(() => String, { nullable: false })+ authorId!: string;++ @HideField()+ workspaceId!: string;+}diff --git a/server/src/api/@generated/comment/comment-create-many-workspace-input-envelope.input.ts b/server/src/api/@generated/comment/comment-create-many-workspace-input-envelope.input.tsnew file mode 100644index 00000000000..eb6ed2d0ac6--- /dev/null+++ b/server/src/api/@generated/comment/comment-create-many-workspace-input-envelope.input.ts@@ -0,0 +1,14 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentCreateManyWorkspaceInput } from './comment-create-many-workspace.input';+import { Type } from 'class-transformer';++@InputType()+export class CommentCreateManyWorkspaceInputEnvelope {+ @Field(() => [CommentCreateManyWorkspaceInput], { nullable: false })+ @Type(() => CommentCreateManyWorkspaceInput)+ data!: Array<CommentCreateManyWorkspaceInput>;++ @Field(() => Boolean, { nullable: true })+ skipDuplicates?: boolean;+}diff --git a/server/src/api/@generated/comment/comment-create-many-workspace.input.ts b/server/src/api/@generated/comment/comment-create-many-workspace.input.tsnew file mode 100644index 00000000000..3ab83281688--- /dev/null+++ b/server/src/api/@generated/comment/comment-create-many-workspace.input.ts@@ -0,0 +1,26 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';++@InputType()+export class CommentCreateManyWorkspaceInput {+ @Field(() => String, { nullable: false })+ id!: string;++ @Field(() => Date, { nullable: true })+ createdAt?: Date | string;++ @Field(() => Date, { nullable: true })+ updatedAt?: Date | string;++ @Field(() => Date, { nullable: true })+ deletedAt?: Date | string;++ @Field(() => String, { nullable: false })+ body!: string;++ @Field(() => String, { nullable: false })+ authorId!: string;++ @Field(() => String, { nullable: false })+ commentThreadId!: string;+}diff --git a/server/src/api/@generated/comment/comment-create-many.input.ts b/server/src/api/@generated/comment/comment-create-many.input.tsnew file mode 100644index 00000000000..b302ef0d367--- /dev/null+++ b/server/src/api/@generated/comment/comment-create-many.input.ts@@ -0,0 +1,30 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { HideField } from '@nestjs/graphql';++@InputType()+export class CommentCreateManyInput {+ @Field(() => String, { nullable: false })+ id!: string;++ @Field(() => Date, { nullable: true })+ createdAt?: Date | string;++ @Field(() => Date, { nullable: true })+ updatedAt?: Date | string;++ @Field(() => Date, { nullable: true })+ deletedAt?: Date | string;++ @Field(() => String, { nullable: false })+ body!: string;++ @Field(() => String, { nullable: false })+ authorId!: string;++ @Field(() => String, { nullable: false })+ commentThreadId!: string;++ @HideField()+ workspaceId!: string;+}diff --git a/server/src/api/@generated/comment/comment-create-nested-many-without-author.input.ts b/server/src/api/@generated/comment/comment-create-nested-many-without-author.input.tsnew file mode 100644index 00000000000..30b154290f4--- /dev/null+++ b/server/src/api/@generated/comment/comment-create-nested-many-without-author.input.ts@@ -0,0 +1,26 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentCreateWithoutAuthorInput } from './comment-create-without-author.input';+import { Type } from 'class-transformer';+import { CommentCreateOrConnectWithoutAuthorInput } from './comment-create-or-connect-without-author.input';+import { CommentCreateManyAuthorInputEnvelope } from './comment-create-many-author-input-envelope.input';+import { CommentWhereUniqueInput } from './comment-where-unique.input';++@InputType()+export class CommentCreateNestedManyWithoutAuthorInput {+ @Field(() => [CommentCreateWithoutAuthorInput], { nullable: true })+ @Type(() => CommentCreateWithoutAuthorInput)+ create?: Array<CommentCreateWithoutAuthorInput>;++ @Field(() => [CommentCreateOrConnectWithoutAuthorInput], { nullable: true })+ @Type(() => CommentCreateOrConnectWithoutAuthorInput)+ connectOrCreate?: Array<CommentCreateOrConnectWithoutAuthorInput>;++ @Field(() => CommentCreateManyAuthorInputEnvelope, { nullable: true })+ @Type(() => CommentCreateManyAuthorInputEnvelope)+ createMany?: CommentCreateManyAuthorInputEnvelope;++ @Field(() => [CommentWhereUniqueInput], { nullable: true })+ @Type(() => CommentWhereUniqueInput)+ connect?: Array<CommentWhereUniqueInput>;+}diff --git a/server/src/api/@generated/comment/comment-create-nested-many-without-comment-thread.input.ts b/server/src/api/@generated/comment/comment-create-nested-many-without-comment-thread.input.tsnew file mode 100644index 00000000000..8098805b2fc--- /dev/null+++ b/server/src/api/@generated/comment/comment-create-nested-many-without-comment-thread.input.ts@@ -0,0 +1,24 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentCreateWithoutCommentThreadInput } from './comment-create-without-comment-thread.input';+import { HideField } from '@nestjs/graphql';+import { CommentCreateOrConnectWithoutCommentThreadInput } from './comment-create-or-connect-without-comment-thread.input';+import { CommentCreateManyCommentThreadInputEnvelope } from './comment-create-many-comment-thread-input-envelope.input';+import { Type } from 'class-transformer';+import { CommentWhereUniqueInput } from './comment-where-unique.input';++@InputType()+export class CommentCreateNestedManyWithoutCommentThreadInput {+ @HideField()+ create?: Array<CommentCreateWithoutCommentThreadInput>;++ @HideField()+ connectOrCreate?: Array<CommentCreateOrConnectWithoutCommentThreadInput>;++ @Field(() => CommentCreateManyCommentThreadInputEnvelope, { nullable: true })+ @Type(() => CommentCreateManyCommentThreadInputEnvelope)+ createMany?: CommentCreateManyCommentThreadInputEnvelope;++ @HideField()+ connect?: Array<CommentWhereUniqueInput>;+}diff --git a/server/src/api/@generated/comment/comment-create-nested-many-without-workspace.input.ts b/server/src/api/@generated/comment/comment-create-nested-many-without-workspace.input.tsnew file mode 100644index 00000000000..fdefc12c42f--- /dev/null+++ b/server/src/api/@generated/comment/comment-create-nested-many-without-workspace.input.ts@@ -0,0 +1,28 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentCreateWithoutWorkspaceInput } from './comment-create-without-workspace.input';+import { Type } from 'class-transformer';+import { CommentCreateOrConnectWithoutWorkspaceInput } from './comment-create-or-connect-without-workspace.input';+import { CommentCreateManyWorkspaceInputEnvelope } from './comment-create-many-workspace-input-envelope.input';+import { CommentWhereUniqueInput } from './comment-where-unique.input';++@InputType()+export class CommentCreateNestedManyWithoutWorkspaceInput {+ @Field(() => [CommentCreateWithoutWorkspaceInput], { nullable: true })+ @Type(() => CommentCreateWithoutWorkspaceInput)+ create?: Array<CommentCreateWithoutWorkspaceInput>;++ @Field(() => [CommentCreateOrConnectWithoutWorkspaceInput], {+ nullable: true,+ })+ @Type(() => CommentCreateOrConnectWithoutWorkspaceInput)+ connectOrCreate?: Array<CommentCreateOrConnectWithoutWorkspaceInput>;++ @Field(() => CommentCreateManyWorkspaceInputEnvelope, { nullable: true })+ @Type(() => CommentCreateManyWorkspaceInputEnvelope)+ createMany?: CommentCreateManyWorkspaceInputEnvelope;++ @Field(() => [CommentWhereUniqueInput], { nullable: true })+ @Type(() => CommentWhereUniqueInput)+ connect?: Array<CommentWhereUniqueInput>;+}diff --git a/server/src/api/@generated/comment/comment-create-or-connect-without-author.input.ts b/server/src/api/@generated/comment/comment-create-or-connect-without-author.input.tsnew file mode 100644index 00000000000..71530403cce--- /dev/null+++ b/server/src/api/@generated/comment/comment-create-or-connect-without-author.input.ts@@ -0,0 +1,16 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentWhereUniqueInput } from './comment-where-unique.input';+import { Type } from 'class-transformer';+import { CommentCreateWithoutAuthorInput } from './comment-create-without-author.input';++@InputType()+export class CommentCreateOrConnectWithoutAuthorInput {+ @Field(() => CommentWhereUniqueInput, { nullable: false })+ @Type(() => CommentWhereUniqueInput)+ where!: CommentWhereUniqueInput;++ @Field(() => CommentCreateWithoutAuthorInput, { nullable: false })+ @Type(() => CommentCreateWithoutAuthorInput)+ create!: CommentCreateWithoutAuthorInput;+}diff --git a/server/src/api/@generated/comment/comment-create-or-connect-without-comment-thread.input.ts b/server/src/api/@generated/comment/comment-create-or-connect-without-comment-thread.input.tsnew file mode 100644index 00000000000..77332a266c2--- /dev/null+++ b/server/src/api/@generated/comment/comment-create-or-connect-without-comment-thread.input.ts@@ -0,0 +1,16 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentWhereUniqueInput } from './comment-where-unique.input';+import { Type } from 'class-transformer';+import { CommentCreateWithoutCommentThreadInput } from './comment-create-without-comment-thread.input';++@InputType()+export class CommentCreateOrConnectWithoutCommentThreadInput {+ @Field(() => CommentWhereUniqueInput, { nullable: false })+ @Type(() => CommentWhereUniqueInput)+ where!: CommentWhereUniqueInput;++ @Field(() => CommentCreateWithoutCommentThreadInput, { nullable: false })+ @Type(() => CommentCreateWithoutCommentThreadInput)+ create!: CommentCreateWithoutCommentThreadInput;+}diff --git a/server/src/api/@generated/comment/comment-create-or-connect-without-workspace.input.ts b/server/src/api/@generated/comment/comment-create-or-connect-without-workspace.input.tsnew file mode 100644index 00000000000..7e005b9eff8--- /dev/null+++ b/server/src/api/@generated/comment/comment-create-or-connect-without-workspace.input.ts@@ -0,0 +1,16 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentWhereUniqueInput } from './comment-where-unique.input';+import { Type } from 'class-transformer';+import { CommentCreateWithoutWorkspaceInput } from './comment-create-without-workspace.input';++@InputType()+export class CommentCreateOrConnectWithoutWorkspaceInput {+ @Field(() => CommentWhereUniqueInput, { nullable: false })+ @Type(() => CommentWhereUniqueInput)+ where!: CommentWhereUniqueInput;++ @Field(() => CommentCreateWithoutWorkspaceInput, { nullable: false })+ @Type(() => CommentCreateWithoutWorkspaceInput)+ create!: CommentCreateWithoutWorkspaceInput;+}diff --git a/server/src/api/@generated/comment/comment-create-without-author.input.ts b/server/src/api/@generated/comment/comment-create-without-author.input.tsnew file mode 100644index 00000000000..d0bfca8cf3c--- /dev/null+++ b/server/src/api/@generated/comment/comment-create-without-author.input.ts@@ -0,0 +1,31 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentThreadCreateNestedOneWithoutCommentsInput } from '../comment-thread/comment-thread-create-nested-one-without-comments.input';+import { WorkspaceCreateNestedOneWithoutCommentsInput } from '../workspace/workspace-create-nested-one-without-comments.input';+import { HideField } from '@nestjs/graphql';++@InputType()+export class CommentCreateWithoutAuthorInput {+ @Field(() => String, { nullable: false })+ id!: string;++ @Field(() => Date, { nullable: true })+ createdAt?: Date | string;++ @Field(() => Date, { nullable: true })+ updatedAt?: Date | string;++ @Field(() => Date, { nullable: true })+ deletedAt?: Date | string;++ @Field(() => String, { nullable: false })+ body!: string;++ @Field(() => CommentThreadCreateNestedOneWithoutCommentsInput, {+ nullable: false,+ })+ commentThread!: CommentThreadCreateNestedOneWithoutCommentsInput;++ @HideField()+ workspace!: WorkspaceCreateNestedOneWithoutCommentsInput;+}diff --git a/server/src/api/@generated/comment/comment-create-without-comment-thread.input.ts b/server/src/api/@generated/comment/comment-create-without-comment-thread.input.tsnew file mode 100644index 00000000000..a2d4fc74684--- /dev/null+++ b/server/src/api/@generated/comment/comment-create-without-comment-thread.input.ts@@ -0,0 +1,29 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { UserCreateNestedOneWithoutCommentsInput } from '../user/user-create-nested-one-without-comments.input';+import { WorkspaceCreateNestedOneWithoutCommentsInput } from '../workspace/workspace-create-nested-one-without-comments.input';+import { HideField } from '@nestjs/graphql';++@InputType()+export class CommentCreateWithoutCommentThreadInput {+ @Field(() => String, { nullable: false })+ id!: string;++ @Field(() => Date, { nullable: true })+ createdAt?: Date | string;++ @Field(() => Date, { nullable: true })+ updatedAt?: Date | string;++ @Field(() => Date, { nullable: true })+ deletedAt?: Date | string;++ @Field(() => String, { nullable: false })+ body!: string;++ @Field(() => UserCreateNestedOneWithoutCommentsInput, { nullable: false })+ author!: UserCreateNestedOneWithoutCommentsInput;++ @HideField()+ workspace!: WorkspaceCreateNestedOneWithoutCommentsInput;+}diff --git a/server/src/api/@generated/comment/comment-create-without-workspace.input.ts b/server/src/api/@generated/comment/comment-create-without-workspace.input.tsnew file mode 100644index 00000000000..a0205d851bf--- /dev/null+++ b/server/src/api/@generated/comment/comment-create-without-workspace.input.ts@@ -0,0 +1,30 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { UserCreateNestedOneWithoutCommentsInput } from '../user/user-create-nested-one-without-comments.input';+import { CommentThreadCreateNestedOneWithoutCommentsInput } from '../comment-thread/comment-thread-create-nested-one-without-comments.input';++@InputType()+export class CommentCreateWithoutWorkspaceInput {+ @Field(() => String, { nullable: false })+ id!: string;++ @Field(() => Date, { nullable: true })+ createdAt?: Date | string;++ @Field(() => Date, { nullable: true })+ updatedAt?: Date | string;++ @Field(() => Date, { nullable: true })+ deletedAt?: Date | string;++ @Field(() => String, { nullable: false })+ body!: string;++ @Field(() => UserCreateNestedOneWithoutCommentsInput, { nullable: false })+ author!: UserCreateNestedOneWithoutCommentsInput;++ @Field(() => CommentThreadCreateNestedOneWithoutCommentsInput, {+ nullable: false,+ })+ commentThread!: CommentThreadCreateNestedOneWithoutCommentsInput;+}diff --git a/server/src/api/@generated/comment/comment-create.input.ts b/server/src/api/@generated/comment/comment-create.input.tsnew file mode 100644index 00000000000..70bbbe34fb0--- /dev/null+++ b/server/src/api/@generated/comment/comment-create.input.ts@@ -0,0 +1,35 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { UserCreateNestedOneWithoutCommentsInput } from '../user/user-create-nested-one-without-comments.input';+import { CommentThreadCreateNestedOneWithoutCommentsInput } from '../comment-thread/comment-thread-create-nested-one-without-comments.input';+import { WorkspaceCreateNestedOneWithoutCommentsInput } from '../workspace/workspace-create-nested-one-without-comments.input';+import { HideField } from '@nestjs/graphql';++@InputType()+export class CommentCreateInput {+ @Field(() => String, { nullable: false })+ id!: string;++ @Field(() => Date, { nullable: true })+ createdAt?: Date | string;++ @Field(() => Date, { nullable: true })+ updatedAt?: Date | string;++ @Field(() => Date, { nullable: true })+ deletedAt?: Date | string;++ @Field(() => String, { nullable: false })+ body!: string;++ @Field(() => UserCreateNestedOneWithoutCommentsInput, { nullable: false })+ author!: UserCreateNestedOneWithoutCommentsInput;++ @Field(() => CommentThreadCreateNestedOneWithoutCommentsInput, {+ nullable: false,+ })+ commentThread!: CommentThreadCreateNestedOneWithoutCommentsInput;++ @HideField()+ workspace!: WorkspaceCreateNestedOneWithoutCommentsInput;+}diff --git a/server/src/api/@generated/comment/comment-group-by.args.ts b/server/src/api/@generated/comment/comment-group-by.args.tsnew file mode 100644index 00000000000..436a0eb407c--- /dev/null+++ b/server/src/api/@generated/comment/comment-group-by.args.ts@@ -0,0 +1,42 @@+import { Field } from '@nestjs/graphql';+import { ArgsType } from '@nestjs/graphql';+import { CommentWhereInput } from './comment-where.input';+import { Type } from 'class-transformer';+import { CommentOrderByWithAggregationInput } from './comment-order-by-with-aggregation.input';+import { CommentScalarFieldEnum } from './comment-scalar-field.enum';+import { CommentScalarWhereWithAggregatesInput } from './comment-scalar-where-with-aggregates.input';+import { Int } from '@nestjs/graphql';+import { CommentCountAggregateInput } from './comment-count-aggregate.input';+import { CommentMinAggregateInput } from './comment-min-aggregate.input';+import { CommentMaxAggregateInput } from './comment-max-aggregate.input';++@ArgsType()+export class CommentGroupByArgs {+ @Field(() => CommentWhereInput, { nullable: true })+ @Type(() => CommentWhereInput)+ where?: CommentWhereInput;++ @Field(() => [CommentOrderByWithAggregationInput], { nullable: true })+ orderBy?: Array<CommentOrderByWithAggregationInput>;++ @Field(() => [CommentScalarFieldEnum], { nullable: false })+ by!: Array<keyof typeof CommentScalarFieldEnum>;++ @Field(() => CommentScalarWhereWithAggregatesInput, { nullable: true })+ having?: CommentScalarWhereWithAggregatesInput;++ @Field(() => Int, { nullable: true })+ take?: number;++ @Field(() => Int, { nullable: true })+ skip?: number;++ @Field(() => CommentCountAggregateInput, { nullable: true })+ _count?: CommentCountAggregateInput;++ @Field(() => CommentMinAggregateInput, { nullable: true })+ _min?: CommentMinAggregateInput;++ @Field(() => CommentMaxAggregateInput, { nullable: true })+ _max?: CommentMaxAggregateInput;+}diff --git a/server/src/api/@generated/comment/comment-group-by.output.ts b/server/src/api/@generated/comment/comment-group-by.output.tsnew file mode 100644index 00000000000..79195d6338b--- /dev/null+++ b/server/src/api/@generated/comment/comment-group-by.output.ts@@ -0,0 +1,41 @@+import { Field } from '@nestjs/graphql';+import { ObjectType } from '@nestjs/graphql';+import { CommentCountAggregate } from './comment-count-aggregate.output';+import { CommentMinAggregate } from './comment-min-aggregate.output';+import { CommentMaxAggregate } from './comment-max-aggregate.output';++@ObjectType()+export class CommentGroupBy {+ @Field(() => String, { nullable: false })+ id!: string;++ @Field(() => Date, { nullable: false })+ createdAt!: Date | string;++ @Field(() => Date, { nullable: false })+ updatedAt!: Date | string;++ @Field(() => Date, { nullable: true })+ deletedAt?: Date | string;++ @Field(() => String, { nullable: false })+ body!: string;++ @Field(() => String, { nullable: false })+ authorId!: string;++ @Field(() => String, { nullable: false })+ commentThreadId!: string;++ @Field(() => String, { nullable: false })+ workspaceId!: string;++ @Field(() => CommentCountAggregate, { nullable: true })+ _count?: CommentCountAggregate;++ @Field(() => CommentMinAggregate, { nullable: true })+ _min?: CommentMinAggregate;++ @Field(() => CommentMaxAggregate, { nullable: true })+ _max?: CommentMaxAggregate;+}diff --git a/server/src/api/@generated/comment/comment-list-relation-filter.input.ts b/server/src/api/@generated/comment/comment-list-relation-filter.input.tsnew file mode 100644index 00000000000..7e058603b38--- /dev/null+++ b/server/src/api/@generated/comment/comment-list-relation-filter.input.ts@@ -0,0 +1,15 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentWhereInput } from './comment-where.input';++@InputType()+export class CommentListRelationFilter {+ @Field(() => CommentWhereInput, { nullable: true })+ every?: CommentWhereInput;++ @Field(() => CommentWhereInput, { nullable: true })+ some?: CommentWhereInput;++ @Field(() => CommentWhereInput, { nullable: true })+ none?: CommentWhereInput;+}diff --git a/server/src/api/@generated/comment/comment-max-aggregate.input.ts b/server/src/api/@generated/comment/comment-max-aggregate.input.tsnew file mode 100644index 00000000000..c240d5117f4--- /dev/null+++ b/server/src/api/@generated/comment/comment-max-aggregate.input.ts@@ -0,0 +1,30 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { HideField } from '@nestjs/graphql';++@InputType()+export class CommentMaxAggregateInput {+ @Field(() => Boolean, { nullable: true })+ id?: true;++ @Field(() => Boolean, { nullable: true })+ createdAt?: true;++ @Field(() => Boolean, { nullable: true })+ updatedAt?: true;++ @Field(() => Boolean, { nullable: true })+ deletedAt?: true;++ @Field(() => Boolean, { nullable: true })+ body?: true;++ @Field(() => Boolean, { nullable: true })+ authorId?: true;++ @Field(() => Boolean, { nullable: true })+ commentThreadId?: true;++ @HideField()+ workspaceId?: true;+}diff --git a/server/src/api/@generated/comment/comment-max-aggregate.output.ts b/server/src/api/@generated/comment/comment-max-aggregate.output.tsnew file mode 100644index 00000000000..2ecb7020cb5--- /dev/null+++ b/server/src/api/@generated/comment/comment-max-aggregate.output.ts@@ -0,0 +1,29 @@+import { Field } from '@nestjs/graphql';+import { ObjectType } from '@nestjs/graphql';++@ObjectType()+export class CommentMaxAggregate {+ @Field(() => String, { nullable: true })+ id?: string;++ @Field(() => Date, { nullable: true })+ createdAt?: Date | string;++ @Field(() => Date, { nullable: true })+ updatedAt?: Date | string;++ @Field(() => Date, { nullable: true })+ deletedAt?: Date | string;++ @Field(() => String, { nullable: true })+ body?: string;++ @Field(() => String, { nullable: true })+ authorId?: string;++ @Field(() => String, { nullable: true })+ commentThreadId?: string;++ @Field(() => String, { nullable: true })+ workspaceId?: string;+}diff --git a/server/src/api/@generated/comment/comment-max-order-by-aggregate.input.ts b/server/src/api/@generated/comment/comment-max-order-by-aggregate.input.tsnew file mode 100644index 00000000000..77d4c697e74--- /dev/null+++ b/server/src/api/@generated/comment/comment-max-order-by-aggregate.input.ts@@ -0,0 +1,31 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { SortOrder } from '../prisma/sort-order.enum';+import { HideField } from '@nestjs/graphql';++@InputType()+export class CommentMaxOrderByAggregateInput {+ @Field(() => SortOrder, { nullable: true })+ id?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ createdAt?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ updatedAt?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ deletedAt?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ body?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ authorId?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ commentThreadId?: keyof typeof SortOrder;++ @HideField()+ workspaceId?: keyof typeof SortOrder;+}diff --git a/server/src/api/@generated/comment/comment-min-aggregate.input.ts b/server/src/api/@generated/comment/comment-min-aggregate.input.tsnew file mode 100644index 00000000000..4ff204da036--- /dev/null+++ b/server/src/api/@generated/comment/comment-min-aggregate.input.ts@@ -0,0 +1,30 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { HideField } from '@nestjs/graphql';++@InputType()+export class CommentMinAggregateInput {+ @Field(() => Boolean, { nullable: true })+ id?: true;++ @Field(() => Boolean, { nullable: true })+ createdAt?: true;++ @Field(() => Boolean, { nullable: true })+ updatedAt?: true;++ @Field(() => Boolean, { nullable: true })+ deletedAt?: true;++ @Field(() => Boolean, { nullable: true })+ body?: true;++ @Field(() => Boolean, { nullable: true })+ authorId?: true;++ @Field(() => Boolean, { nullable: true })+ commentThreadId?: true;++ @HideField()+ workspaceId?: true;+}diff --git a/server/src/api/@generated/comment/comment-min-aggregate.output.ts b/server/src/api/@generated/comment/comment-min-aggregate.output.tsnew file mode 100644index 00000000000..382e399fd68--- /dev/null+++ b/server/src/api/@generated/comment/comment-min-aggregate.output.ts@@ -0,0 +1,29 @@+import { Field } from '@nestjs/graphql';+import { ObjectType } from '@nestjs/graphql';++@ObjectType()+export class CommentMinAggregate {+ @Field(() => String, { nullable: true })+ id?: string;++ @Field(() => Date, { nullable: true })+ createdAt?: Date | string;++ @Field(() => Date, { nullable: true })+ updatedAt?: Date | string;++ @Field(() => Date, { nullable: true })+ deletedAt?: Date | string;++ @Field(() => String, { nullable: true })+ body?: string;++ @Field(() => String, { nullable: true })+ authorId?: string;++ @Field(() => String, { nullable: true })+ commentThreadId?: string;++ @Field(() => String, { nullable: true })+ workspaceId?: string;+}diff --git a/server/src/api/@generated/comment/comment-min-order-by-aggregate.input.ts b/server/src/api/@generated/comment/comment-min-order-by-aggregate.input.tsnew file mode 100644index 00000000000..2d07c24493a--- /dev/null+++ b/server/src/api/@generated/comment/comment-min-order-by-aggregate.input.ts@@ -0,0 +1,31 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { SortOrder } from '../prisma/sort-order.enum';+import { HideField } from '@nestjs/graphql';++@InputType()+export class CommentMinOrderByAggregateInput {+ @Field(() => SortOrder, { nullable: true })+ id?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ createdAt?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ updatedAt?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ deletedAt?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ body?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ authorId?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ commentThreadId?: keyof typeof SortOrder;++ @HideField()+ workspaceId?: keyof typeof SortOrder;+}diff --git a/server/src/api/@generated/comment/comment-order-by-relation-aggregate.input.ts b/server/src/api/@generated/comment/comment-order-by-relation-aggregate.input.tsnew file mode 100644index 00000000000..8124b8ab624--- /dev/null+++ b/server/src/api/@generated/comment/comment-order-by-relation-aggregate.input.ts@@ -0,0 +1,9 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { SortOrder } from '../prisma/sort-order.enum';++@InputType()+export class CommentOrderByRelationAggregateInput {+ @Field(() => SortOrder, { nullable: true })+ _count?: keyof typeof SortOrder;+}diff --git a/server/src/api/@generated/comment/comment-order-by-with-aggregation.input.ts b/server/src/api/@generated/comment/comment-order-by-with-aggregation.input.tsnew file mode 100644index 00000000000..ff9b8b8b124--- /dev/null+++ b/server/src/api/@generated/comment/comment-order-by-with-aggregation.input.ts@@ -0,0 +1,43 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { SortOrder } from '../prisma/sort-order.enum';+import { HideField } from '@nestjs/graphql';+import { CommentCountOrderByAggregateInput } from './comment-count-order-by-aggregate.input';+import { CommentMaxOrderByAggregateInput } from './comment-max-order-by-aggregate.input';+import { CommentMinOrderByAggregateInput } from './comment-min-order-by-aggregate.input';++@InputType()+export class CommentOrderByWithAggregationInput {+ @Field(() => SortOrder, { nullable: true })+ id?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ createdAt?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ updatedAt?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ deletedAt?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ body?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ authorId?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ commentThreadId?: keyof typeof SortOrder;++ @HideField()+ workspaceId?: keyof typeof SortOrder;++ @Field(() => CommentCountOrderByAggregateInput, { nullable: true })+ _count?: CommentCountOrderByAggregateInput;++ @Field(() => CommentMaxOrderByAggregateInput, { nullable: true })+ _max?: CommentMaxOrderByAggregateInput;++ @Field(() => CommentMinOrderByAggregateInput, { nullable: true })+ _min?: CommentMinOrderByAggregateInput;+}diff --git a/server/src/api/@generated/comment/comment-order-by-with-relation.input.ts b/server/src/api/@generated/comment/comment-order-by-with-relation.input.tsnew file mode 100644index 00000000000..cccffba6540--- /dev/null+++ b/server/src/api/@generated/comment/comment-order-by-with-relation.input.ts@@ -0,0 +1,43 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { SortOrder } from '../prisma/sort-order.enum';+import { HideField } from '@nestjs/graphql';+import { UserOrderByWithRelationInput } from '../user/user-order-by-with-relation.input';+import { CommentThreadOrderByWithRelationInput } from '../comment-thread/comment-thread-order-by-with-relation.input';+import { WorkspaceOrderByWithRelationInput } from '../workspace/workspace-order-by-with-relation.input';++@InputType()+export class CommentOrderByWithRelationInput {+ @Field(() => SortOrder, { nullable: true })+ id?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ createdAt?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ updatedAt?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ deletedAt?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ body?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ authorId?: keyof typeof SortOrder;++ @Field(() => SortOrder, { nullable: true })+ commentThreadId?: keyof typeof SortOrder;++ @HideField()+ workspaceId?: keyof typeof SortOrder;++ @Field(() => UserOrderByWithRelationInput, { nullable: true })+ author?: UserOrderByWithRelationInput;++ @Field(() => CommentThreadOrderByWithRelationInput, { nullable: true })+ commentThread?: CommentThreadOrderByWithRelationInput;++ @HideField()+ workspace?: WorkspaceOrderByWithRelationInput;+}diff --git a/server/src/api/@generated/comment/comment-scalar-field.enum.ts b/server/src/api/@generated/comment/comment-scalar-field.enum.tsnew file mode 100644index 00000000000..d44b471fb88--- /dev/null+++ b/server/src/api/@generated/comment/comment-scalar-field.enum.ts@@ -0,0 +1,17 @@+import { registerEnumType } from '@nestjs/graphql';++export enum CommentScalarFieldEnum {+ id = 'id',+ createdAt = 'createdAt',+ updatedAt = 'updatedAt',+ deletedAt = 'deletedAt',+ body = 'body',+ authorId = 'authorId',+ commentThreadId = 'commentThreadId',+ workspaceId = 'workspaceId',+}++registerEnumType(CommentScalarFieldEnum, {+ name: 'CommentScalarFieldEnum',+ description: undefined,+});diff --git a/server/src/api/@generated/comment/comment-scalar-where-with-aggregates.input.ts b/server/src/api/@generated/comment/comment-scalar-where-with-aggregates.input.tsnew file mode 100644index 00000000000..6046dee93f7--- /dev/null+++ b/server/src/api/@generated/comment/comment-scalar-where-with-aggregates.input.ts@@ -0,0 +1,42 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { StringWithAggregatesFilter } from '../prisma/string-with-aggregates-filter.input';+import { DateTimeWithAggregatesFilter } from '../prisma/date-time-with-aggregates-filter.input';+import { DateTimeNullableWithAggregatesFilter } from '../prisma/date-time-nullable-with-aggregates-filter.input';+import { HideField } from '@nestjs/graphql';++@InputType()+export class CommentScalarWhereWithAggregatesInput {+ @Field(() => [CommentScalarWhereWithAggregatesInput], { nullable: true })+ AND?: Array<CommentScalarWhereWithAggregatesInput>;++ @Field(() => [CommentScalarWhereWithAggregatesInput], { nullable: true })+ OR?: Array<CommentScalarWhereWithAggregatesInput>;++ @Field(() => [CommentScalarWhereWithAggregatesInput], { nullable: true })+ NOT?: Array<CommentScalarWhereWithAggregatesInput>;++ @Field(() => StringWithAggregatesFilter, { nullable: true })+ id?: StringWithAggregatesFilter;++ @Field(() => DateTimeWithAggregatesFilter, { nullable: true })+ createdAt?: DateTimeWithAggregatesFilter;++ @Field(() => DateTimeWithAggregatesFilter, { nullable: true })+ updatedAt?: DateTimeWithAggregatesFilter;++ @Field(() => DateTimeNullableWithAggregatesFilter, { nullable: true })+ deletedAt?: DateTimeNullableWithAggregatesFilter;++ @Field(() => StringWithAggregatesFilter, { nullable: true })+ body?: StringWithAggregatesFilter;++ @Field(() => StringWithAggregatesFilter, { nullable: true })+ authorId?: StringWithAggregatesFilter;++ @Field(() => StringWithAggregatesFilter, { nullable: true })+ commentThreadId?: StringWithAggregatesFilter;++ @HideField()+ workspaceId?: StringWithAggregatesFilter;+}diff --git a/server/src/api/@generated/comment/comment-scalar-where.input.ts b/server/src/api/@generated/comment/comment-scalar-where.input.tsnew file mode 100644index 00000000000..1bfeb806260--- /dev/null+++ b/server/src/api/@generated/comment/comment-scalar-where.input.ts@@ -0,0 +1,42 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { StringFilter } from '../prisma/string-filter.input';+import { DateTimeFilter } from '../prisma/date-time-filter.input';+import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input';+import { HideField } from '@nestjs/graphql';++@InputType()+export class CommentScalarWhereInput {+ @Field(() => [CommentScalarWhereInput], { nullable: true })+ AND?: Array<CommentScalarWhereInput>;++ @Field(() => [CommentScalarWhereInput], { nullable: true })+ OR?: Array<CommentScalarWhereInput>;++ @Field(() => [CommentScalarWhereInput], { nullable: true })+ NOT?: Array<CommentScalarWhereInput>;++ @Field(() => StringFilter, { nullable: true })+ id?: StringFilter;++ @Field(() => DateTimeFilter, { nullable: true })+ createdAt?: DateTimeFilter;++ @Field(() => DateTimeFilter, { nullable: true })+ updatedAt?: DateTimeFilter;++ @Field(() => DateTimeNullableFilter, { nullable: true })+ deletedAt?: DateTimeNullableFilter;++ @Field(() => StringFilter, { nullable: true })+ body?: StringFilter;++ @Field(() => StringFilter, { nullable: true })+ authorId?: StringFilter;++ @Field(() => StringFilter, { nullable: true })+ commentThreadId?: StringFilter;++ @HideField()+ workspaceId?: StringFilter;+}diff --git a/server/src/api/@generated/comment/comment-thread-count.output.ts b/server/src/api/@generated/comment/comment-thread-count.output.tsnew file mode 100644index 00000000000..39cadfd8ca1--- /dev/null+++ b/server/src/api/@generated/comment/comment-thread-count.output.ts@@ -0,0 +1,12 @@+import { Field } from '@nestjs/graphql';+import { ObjectType } from '@nestjs/graphql';+import { Int } from '@nestjs/graphql';++@ObjectType()+export class CommentThreadCount {+ @Field(() => Int, { nullable: false })+ commentThreadTargets?: number;++ @Field(() => Int, { nullable: false })+ comments?: number;+}diff --git a/server/src/api/@generated/comment/comment-unchecked-create-nested-many-without-author.input.ts b/server/src/api/@generated/comment/comment-unchecked-create-nested-many-without-author.input.tsnew file mode 100644index 00000000000..f3360c84f50--- /dev/null+++ b/server/src/api/@generated/comment/comment-unchecked-create-nested-many-without-author.input.ts@@ -0,0 +1,26 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentCreateWithoutAuthorInput } from './comment-create-without-author.input';+import { Type } from 'class-transformer';+import { CommentCreateOrConnectWithoutAuthorInput } from './comment-create-or-connect-without-author.input';+import { CommentCreateManyAuthorInputEnvelope } from './comment-create-many-author-input-envelope.input';+import { CommentWhereUniqueInput } from './comment-where-unique.input';++@InputType()+export class CommentUncheckedCreateNestedManyWithoutAuthorInput {+ @Field(() => [CommentCreateWithoutAuthorInput], { nullable: true })+ @Type(() => CommentCreateWithoutAuthorInput)+ create?: Array<CommentCreateWithoutAuthorInput>;++ @Field(() => [CommentCreateOrConnectWithoutAuthorInput], { nullable: true })+ @Type(() => CommentCreateOrConnectWithoutAuthorInput)+ connectOrCreate?: Array<CommentCreateOrConnectWithoutAuthorInput>;++ @Field(() => CommentCreateManyAuthorInputEnvelope, { nullable: true })+ @Type(() => CommentCreateManyAuthorInputEnvelope)+ createMany?: CommentCreateManyAuthorInputEnvelope;++ @Field(() => [CommentWhereUniqueInput], { nullable: true })+ @Type(() => CommentWhereUniqueInput)+ connect?: Array<CommentWhereUniqueInput>;+}diff --git a/server/src/api/@generated/comment/comment-unchecked-create-nested-many-without-comment-thread.input.ts b/server/src/api/@generated/comment/comment-unchecked-create-nested-many-without-comment-thread.input.tsnew file mode 100644index 00000000000..45659bc3eee--- /dev/null+++ b/server/src/api/@generated/comment/comment-unchecked-create-nested-many-without-comment-thread.input.ts@@ -0,0 +1,28 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentCreateWithoutCommentThreadInput } from './comment-create-without-comment-thread.input';+import { Type } from 'class-transformer';+import { CommentCreateOrConnectWithoutCommentThreadInput } from './comment-create-or-connect-without-comment-thread.input';+import { CommentCreateManyCommentThreadInputEnvelope } from './comment-create-many-comment-thread-input-envelope.input';+import { CommentWhereUniqueInput } from './comment-where-unique.input';++@InputType()+export class CommentUncheckedCreateNestedManyWithoutCommentThreadInput {+ @Field(() => [CommentCreateWithoutCommentThreadInput], { nullable: true })+ @Type(() => CommentCreateWithoutCommentThreadInput)+ create?: Array<CommentCreateWithoutCommentThreadInput>;++ @Field(() => [CommentCreateOrConnectWithoutCommentThreadInput], {+ nullable: true,+ })+ @Type(() => CommentCreateOrConnectWithoutCommentThreadInput)+ connectOrCreate?: Array<CommentCreateOrConnectWithoutCommentThreadInput>;++ @Field(() => CommentCreateManyCommentThreadInputEnvelope, { nullable: true })+ @Type(() => CommentCreateManyCommentThreadInputEnvelope)+ createMany?: CommentCreateManyCommentThreadInputEnvelope;++ @Field(() => [CommentWhereUniqueInput], { nullable: true })+ @Type(() => CommentWhereUniqueInput)+ connect?: Array<CommentWhereUniqueInput>;+}diff --git a/server/src/api/@generated/comment/comment-unchecked-create-nested-many-without-workspace.input.ts b/server/src/api/@generated/comment/comment-unchecked-create-nested-many-without-workspace.input.tsnew file mode 100644index 00000000000..e26dbd00fb5--- /dev/null+++ b/server/src/api/@generated/comment/comment-unchecked-create-nested-many-without-workspace.input.ts@@ -0,0 +1,28 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentCreateWithoutWorkspaceInput } from './comment-create-without-workspace.input';+import { Type } from 'class-transformer';+import { CommentCreateOrConnectWithoutWorkspaceInput } from './comment-create-or-connect-without-workspace.input';+import { CommentCreateManyWorkspaceInputEnvelope } from './comment-create-many-workspace-input-envelope.input';+import { CommentWhereUniqueInput } from './comment-where-unique.input';++@InputType()+export class CommentUncheckedCreateNestedManyWithoutWorkspaceInput {+ @Field(() => [CommentCreateWithoutWorkspaceInput], { nullable: true })+ @Type(() => CommentCreateWithoutWorkspaceInput)+ create?: Array<CommentCreateWithoutWorkspaceInput>;++ @Field(() => [CommentCreateOrConnectWithoutWorkspaceInput], {+ nullable: true,+ })+ @Type(() => CommentCreateOrConnectWithoutWorkspaceInput)+ connectOrCreate?: Array<CommentCreateOrConnectWithoutWorkspaceInput>;++ @Field(() => CommentCreateManyWorkspaceInputEnvelope, { nullable: true })+ @Type(() => CommentCreateManyWorkspaceInputEnvelope)+ createMany?: CommentCreateManyWorkspaceInputEnvelope;++ @Field(() => [CommentWhereUniqueInput], { nullable: true })+ @Type(() => CommentWhereUniqueInput)+ connect?: Array<CommentWhereUniqueInput>;+}diff --git a/server/src/api/@generated/comment/comment-unchecked-create-without-author.input.ts b/server/src/api/@generated/comment/comment-unchecked-create-without-author.input.tsnew file mode 100644index 00000000000..ed5cb0c6e20--- /dev/null+++ b/server/src/api/@generated/comment/comment-unchecked-create-without-author.input.ts@@ -0,0 +1,27 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { HideField } from '@nestjs/graphql';++@InputType()+export class CommentUncheckedCreateWithoutAuthorInput {+ @Field(() => String, { nullable: false })+ id!: string;++ @Field(() => Date, { nullable: true })+ createdAt?: Date | string;++ @Field(() => Date, { nullable: true })+ updatedAt?: Date | string;++ @Field(() => Date, { nullable: true })+ deletedAt?: Date | string;++ @Field(() => String, { nullable: false })+ body!: string;++ @Field(() => String, { nullable: false })+ commentThreadId!: string;++ @HideField()+ workspaceId!: string;+}diff --git a/server/src/api/@generated/comment/comment-unchecked-create-without-comment-thread.input.ts b/server/src/api/@generated/comment/comment-unchecked-create-without-comment-thread.input.tsnew file mode 100644index 00000000000..f0167e2a662--- /dev/null+++ b/server/src/api/@generated/comment/comment-unchecked-create-without-comment-thread.input.ts@@ -0,0 +1,27 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { HideField } from '@nestjs/graphql';++@InputType()+export class CommentUncheckedCreateWithoutCommentThreadInput {+ @Field(() => String, { nullable: false })+ id!: string;++ @Field(() => Date, { nullable: true })+ createdAt?: Date | string;++ @Field(() => Date, { nullable: true })+ updatedAt?: Date | string;++ @Field(() => Date, { nullable: true })+ deletedAt?: Date | string;++ @Field(() => String, { nullable: false })+ body!: string;++ @Field(() => String, { nullable: false })+ authorId!: string;++ @HideField()+ workspaceId!: string;+}diff --git a/server/src/api/@generated/comment/comment-unchecked-create-without-workspace.input.ts b/server/src/api/@generated/comment/comment-unchecked-create-without-workspace.input.tsnew file mode 100644index 00000000000..795e7f2f27f--- /dev/null+++ b/server/src/api/@generated/comment/comment-unchecked-create-without-workspace.input.ts@@ -0,0 +1,26 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';++@InputType()+export class CommentUncheckedCreateWithoutWorkspaceInput {+ @Field(() => String, { nullable: false })+ id!: string;++ @Field(() => Date, { nullable: true })+ createdAt?: Date | string;++ @Field(() => Date, { nullable: true })+ updatedAt?: Date | string;++ @Field(() => Date, { nullable: true })+ deletedAt?: Date | string;++ @Field(() => String, { nullable: false })+ body!: string;++ @Field(() => String, { nullable: false })+ authorId!: string;++ @Field(() => String, { nullable: false })+ commentThreadId!: string;+}diff --git a/server/src/api/@generated/comment/comment-unchecked-create.input.ts b/server/src/api/@generated/comment/comment-unchecked-create.input.tsnew file mode 100644index 00000000000..943c49ef846--- /dev/null+++ b/server/src/api/@generated/comment/comment-unchecked-create.input.ts@@ -0,0 +1,30 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { HideField } from '@nestjs/graphql';++@InputType()+export class CommentUncheckedCreateInput {+ @Field(() => String, { nullable: false })+ id!: string;++ @Field(() => Date, { nullable: true })+ createdAt?: Date | string;++ @Field(() => Date, { nullable: true })+ updatedAt?: Date | string;++ @Field(() => Date, { nullable: true })+ deletedAt?: Date | string;++ @Field(() => String, { nullable: false })+ body!: string;++ @Field(() => String, { nullable: false })+ authorId!: string;++ @Field(() => String, { nullable: false })+ commentThreadId!: string;++ @HideField()+ workspaceId!: string;+}diff --git a/server/src/api/@generated/comment/comment-unchecked-update-many-without-author-nested.input.ts b/server/src/api/@generated/comment/comment-unchecked-update-many-without-author-nested.input.tsnew file mode 100644index 00000000000..fdc24f30fdd--- /dev/null+++ b/server/src/api/@generated/comment/comment-unchecked-update-many-without-author-nested.input.ts@@ -0,0 +1,64 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentCreateWithoutAuthorInput } from './comment-create-without-author.input';+import { Type } from 'class-transformer';+import { CommentCreateOrConnectWithoutAuthorInput } from './comment-create-or-connect-without-author.input';+import { CommentUpsertWithWhereUniqueWithoutAuthorInput } from './comment-upsert-with-where-unique-without-author.input';+import { CommentCreateManyAuthorInputEnvelope } from './comment-create-many-author-input-envelope.input';+import { CommentWhereUniqueInput } from './comment-where-unique.input';+import { CommentUpdateWithWhereUniqueWithoutAuthorInput } from './comment-update-with-where-unique-without-author.input';+import { CommentUpdateManyWithWhereWithoutAuthorInput } from './comment-update-many-with-where-without-author.input';+import { CommentScalarWhereInput } from './comment-scalar-where.input';++@InputType()+export class CommentUncheckedUpdateManyWithoutAuthorNestedInput {+ @Field(() => [CommentCreateWithoutAuthorInput], { nullable: true })+ @Type(() => CommentCreateWithoutAuthorInput)+ create?: Array<CommentCreateWithoutAuthorInput>;++ @Field(() => [CommentCreateOrConnectWithoutAuthorInput], { nullable: true })+ @Type(() => CommentCreateOrConnectWithoutAuthorInput)+ connectOrCreate?: Array<CommentCreateOrConnectWithoutAuthorInput>;++ @Field(() => [CommentUpsertWithWhereUniqueWithoutAuthorInput], {+ nullable: true,+ })+ @Type(() => CommentUpsertWithWhereUniqueWithoutAuthorInput)+ upsert?: Array<CommentUpsertWithWhereUniqueWithoutAuthorInput>;++ @Field(() => CommentCreateManyAuthorInputEnvelope, { nullable: true })+ @Type(() => CommentCreateManyAuthorInputEnvelope)+ createMany?: CommentCreateManyAuthorInputEnvelope;++ @Field(() => [CommentWhereUniqueInput], { nullable: true })+ @Type(() => CommentWhereUniqueInput)+ set?: Array<CommentWhereUniqueInput>;++ @Field(() => [CommentWhereUniqueInput], { nullable: true })+ @Type(() => CommentWhereUniqueInput)+ disconnect?: Array<CommentWhereUniqueInput>;++ @Field(() => [CommentWhereUniqueInput], { nullable: true })+ @Type(() => CommentWhereUniqueInput)+ delete?: Array<CommentWhereUniqueInput>;++ @Field(() => [CommentWhereUniqueInput], { nullable: true })+ @Type(() => CommentWhereUniqueInput)+ connect?: Array<CommentWhereUniqueInput>;++ @Field(() => [CommentUpdateWithWhereUniqueWithoutAuthorInput], {+ nullable: true,+ })+ @Type(() => CommentUpdateWithWhereUniqueWithoutAuthorInput)+ update?: Array<CommentUpdateWithWhereUniqueWithoutAuthorInput>;++ @Field(() => [CommentUpdateManyWithWhereWithoutAuthorInput], {+ nullable: true,+ })+ @Type(() => CommentUpdateManyWithWhereWithoutAuthorInput)+ updateMany?: Array<CommentUpdateManyWithWhereWithoutAuthorInput>;++ @Field(() => [CommentScalarWhereInput], { nullable: true })+ @Type(() => CommentScalarWhereInput)+ deleteMany?: Array<CommentScalarWhereInput>;+}diff --git a/server/src/api/@generated/comment/comment-unchecked-update-many-without-comment-thread-nested.input.ts b/server/src/api/@generated/comment/comment-unchecked-update-many-without-comment-thread-nested.input.tsnew file mode 100644index 00000000000..5a706db3b6c--- /dev/null+++ b/server/src/api/@generated/comment/comment-unchecked-update-many-without-comment-thread-nested.input.ts@@ -0,0 +1,66 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentCreateWithoutCommentThreadInput } from './comment-create-without-comment-thread.input';+import { Type } from 'class-transformer';+import { CommentCreateOrConnectWithoutCommentThreadInput } from './comment-create-or-connect-without-comment-thread.input';+import { CommentUpsertWithWhereUniqueWithoutCommentThreadInput } from './comment-upsert-with-where-unique-without-comment-thread.input';+import { CommentCreateManyCommentThreadInputEnvelope } from './comment-create-many-comment-thread-input-envelope.input';+import { CommentWhereUniqueInput } from './comment-where-unique.input';+import { CommentUpdateWithWhereUniqueWithoutCommentThreadInput } from './comment-update-with-where-unique-without-comment-thread.input';+import { CommentUpdateManyWithWhereWithoutCommentThreadInput } from './comment-update-many-with-where-without-comment-thread.input';+import { CommentScalarWhereInput } from './comment-scalar-where.input';++@InputType()+export class CommentUncheckedUpdateManyWithoutCommentThreadNestedInput {+ @Field(() => [CommentCreateWithoutCommentThreadInput], { nullable: true })+ @Type(() => CommentCreateWithoutCommentThreadInput)+ create?: Array<CommentCreateWithoutCommentThreadInput>;++ @Field(() => [CommentCreateOrConnectWithoutCommentThreadInput], {+ nullable: true,+ })+ @Type(() => CommentCreateOrConnectWithoutCommentThreadInput)+ connectOrCreate?: Array<CommentCreateOrConnectWithoutCommentThreadInput>;++ @Field(() => [CommentUpsertWithWhereUniqueWithoutCommentThreadInput], {+ nullable: true,+ })+ @Type(() => CommentUpsertWithWhereUniqueWithoutCommentThreadInput)+ upsert?: Array<CommentUpsertWithWhereUniqueWithoutCommentThreadInput>;++ @Field(() => CommentCreateManyCommentThreadInputEnvelope, { nullable: true })+ @Type(() => CommentCreateManyCommentThreadInputEnvelope)+ createMany?: CommentCreateManyCommentThreadInputEnvelope;++ @Field(() => [CommentWhereUniqueInput], { nullable: true })+ @Type(() => CommentWhereUniqueInput)+ set?: Array<CommentWhereUniqueInput>;++ @Field(() => [CommentWhereUniqueInput], { nullable: true })+ @Type(() => CommentWhereUniqueInput)+ disconnect?: Array<CommentWhereUniqueInput>;++ @Field(() => [CommentWhereUniqueInput], { nullable: true })+ @Type(() => CommentWhereUniqueInput)+ delete?: Array<CommentWhereUniqueInput>;++ @Field(() => [CommentWhereUniqueInput], { nullable: true })+ @Type(() => CommentWhereUniqueInput)+ connect?: Array<CommentWhereUniqueInput>;++ @Field(() => [CommentUpdateWithWhereUniqueWithoutCommentThreadInput], {+ nullable: true,+ })+ @Type(() => CommentUpdateWithWhereUniqueWithoutCommentThreadInput)+ update?: Array<CommentUpdateWithWhereUniqueWithoutCommentThreadInput>;++ @Field(() => [CommentUpdateManyWithWhereWithoutCommentThreadInput], {+ nullable: true,+ })+ @Type(() => CommentUpdateManyWithWhereWithoutCommentThreadInput)+ updateMany?: Array<CommentUpdateManyWithWhereWithoutCommentThreadInput>;++ @Field(() => [CommentScalarWhereInput], { nullable: true })+ @Type(() => CommentScalarWhereInput)+ deleteMany?: Array<CommentScalarWhereInput>;+}diff --git a/server/src/api/@generated/comment/comment-unchecked-update-many-without-comments.input.ts b/server/src/api/@generated/comment/comment-unchecked-update-many-without-comments.input.tsnew file mode 100644index 00000000000..4e1fb0b1941--- /dev/null+++ b/server/src/api/@generated/comment/comment-unchecked-update-many-without-comments.input.ts@@ -0,0 +1,30 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';+import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';+import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';+import { HideField } from '@nestjs/graphql';++@InputType()+export class CommentUncheckedUpdateManyWithoutCommentsInput {+ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ id?: StringFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ createdAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ updatedAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })+ deletedAt?: NullableDateTimeFieldUpdateOperationsInput;++ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ body?: StringFieldUpdateOperationsInput;++ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ commentThreadId?: StringFieldUpdateOperationsInput;++ @HideField()+ workspaceId?: StringFieldUpdateOperationsInput;+}diff --git a/server/src/api/@generated/comment/comment-unchecked-update-many-without-workspace-nested.input.ts b/server/src/api/@generated/comment/comment-unchecked-update-many-without-workspace-nested.input.tsnew file mode 100644index 00000000000..9435f52c559--- /dev/null+++ b/server/src/api/@generated/comment/comment-unchecked-update-many-without-workspace-nested.input.ts@@ -0,0 +1,66 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentCreateWithoutWorkspaceInput } from './comment-create-without-workspace.input';+import { Type } from 'class-transformer';+import { CommentCreateOrConnectWithoutWorkspaceInput } from './comment-create-or-connect-without-workspace.input';+import { CommentUpsertWithWhereUniqueWithoutWorkspaceInput } from './comment-upsert-with-where-unique-without-workspace.input';+import { CommentCreateManyWorkspaceInputEnvelope } from './comment-create-many-workspace-input-envelope.input';+import { CommentWhereUniqueInput } from './comment-where-unique.input';+import { CommentUpdateWithWhereUniqueWithoutWorkspaceInput } from './comment-update-with-where-unique-without-workspace.input';+import { CommentUpdateManyWithWhereWithoutWorkspaceInput } from './comment-update-many-with-where-without-workspace.input';+import { CommentScalarWhereInput } from './comment-scalar-where.input';++@InputType()+export class CommentUncheckedUpdateManyWithoutWorkspaceNestedInput {+ @Field(() => [CommentCreateWithoutWorkspaceInput], { nullable: true })+ @Type(() => CommentCreateWithoutWorkspaceInput)+ create?: Array<CommentCreateWithoutWorkspaceInput>;++ @Field(() => [CommentCreateOrConnectWithoutWorkspaceInput], {+ nullable: true,+ })+ @Type(() => CommentCreateOrConnectWithoutWorkspaceInput)+ connectOrCreate?: Array<CommentCreateOrConnectWithoutWorkspaceInput>;++ @Field(() => [CommentUpsertWithWhereUniqueWithoutWorkspaceInput], {+ nullable: true,+ })+ @Type(() => CommentUpsertWithWhereUniqueWithoutWorkspaceInput)+ upsert?: Array<CommentUpsertWithWhereUniqueWithoutWorkspaceInput>;++ @Field(() => CommentCreateManyWorkspaceInputEnvelope, { nullable: true })+ @Type(() => CommentCreateManyWorkspaceInputEnvelope)+ createMany?: CommentCreateManyWorkspaceInputEnvelope;++ @Field(() => [CommentWhereUniqueInput], { nullable: true })+ @Type(() => CommentWhereUniqueInput)+ set?: Array<CommentWhereUniqueInput>;++ @Field(() => [CommentWhereUniqueInput], { nullable: true })+ @Type(() => CommentWhereUniqueInput)+ disconnect?: Array<CommentWhereUniqueInput>;++ @Field(() => [CommentWhereUniqueInput], { nullable: true })+ @Type(() => CommentWhereUniqueInput)+ delete?: Array<CommentWhereUniqueInput>;++ @Field(() => [CommentWhereUniqueInput], { nullable: true })+ @Type(() => CommentWhereUniqueInput)+ connect?: Array<CommentWhereUniqueInput>;++ @Field(() => [CommentUpdateWithWhereUniqueWithoutWorkspaceInput], {+ nullable: true,+ })+ @Type(() => CommentUpdateWithWhereUniqueWithoutWorkspaceInput)+ update?: Array<CommentUpdateWithWhereUniqueWithoutWorkspaceInput>;++ @Field(() => [CommentUpdateManyWithWhereWithoutWorkspaceInput], {+ nullable: true,+ })+ @Type(() => CommentUpdateManyWithWhereWithoutWorkspaceInput)+ updateMany?: Array<CommentUpdateManyWithWhereWithoutWorkspaceInput>;++ @Field(() => [CommentScalarWhereInput], { nullable: true })+ @Type(() => CommentScalarWhereInput)+ deleteMany?: Array<CommentScalarWhereInput>;+}diff --git a/server/src/api/@generated/comment/comment-unchecked-update-many.input.ts b/server/src/api/@generated/comment/comment-unchecked-update-many.input.tsnew file mode 100644index 00000000000..71a3dd39bff--- /dev/null+++ b/server/src/api/@generated/comment/comment-unchecked-update-many.input.ts@@ -0,0 +1,33 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';+import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';+import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';+import { HideField } from '@nestjs/graphql';++@InputType()+export class CommentUncheckedUpdateManyInput {+ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ id?: StringFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ createdAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ updatedAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })+ deletedAt?: NullableDateTimeFieldUpdateOperationsInput;++ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ body?: StringFieldUpdateOperationsInput;++ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ authorId?: StringFieldUpdateOperationsInput;++ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ commentThreadId?: StringFieldUpdateOperationsInput;++ @HideField()+ workspaceId?: StringFieldUpdateOperationsInput;+}diff --git a/server/src/api/@generated/comment/comment-unchecked-update-without-author.input.ts b/server/src/api/@generated/comment/comment-unchecked-update-without-author.input.tsnew file mode 100644index 00000000000..6d89f926f1f--- /dev/null+++ b/server/src/api/@generated/comment/comment-unchecked-update-without-author.input.ts@@ -0,0 +1,30 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';+import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';+import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';+import { HideField } from '@nestjs/graphql';++@InputType()+export class CommentUncheckedUpdateWithoutAuthorInput {+ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ id?: StringFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ createdAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ updatedAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })+ deletedAt?: NullableDateTimeFieldUpdateOperationsInput;++ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ body?: StringFieldUpdateOperationsInput;++ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ commentThreadId?: StringFieldUpdateOperationsInput;++ @HideField()+ workspaceId?: StringFieldUpdateOperationsInput;+}diff --git a/server/src/api/@generated/comment/comment-unchecked-update-without-comment-thread.input.ts b/server/src/api/@generated/comment/comment-unchecked-update-without-comment-thread.input.tsnew file mode 100644index 00000000000..7427889cabe--- /dev/null+++ b/server/src/api/@generated/comment/comment-unchecked-update-without-comment-thread.input.ts@@ -0,0 +1,30 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';+import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';+import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';+import { HideField } from '@nestjs/graphql';++@InputType()+export class CommentUncheckedUpdateWithoutCommentThreadInput {+ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ id?: StringFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ createdAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ updatedAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })+ deletedAt?: NullableDateTimeFieldUpdateOperationsInput;++ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ body?: StringFieldUpdateOperationsInput;++ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ authorId?: StringFieldUpdateOperationsInput;++ @HideField()+ workspaceId?: StringFieldUpdateOperationsInput;+}diff --git a/server/src/api/@generated/comment/comment-unchecked-update-without-workspace.input.ts b/server/src/api/@generated/comment/comment-unchecked-update-without-workspace.input.tsnew file mode 100644index 00000000000..ab5d7eed08f--- /dev/null+++ b/server/src/api/@generated/comment/comment-unchecked-update-without-workspace.input.ts@@ -0,0 +1,29 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';+import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';+import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';++@InputType()+export class CommentUncheckedUpdateWithoutWorkspaceInput {+ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ id?: StringFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ createdAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ updatedAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })+ deletedAt?: NullableDateTimeFieldUpdateOperationsInput;++ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ body?: StringFieldUpdateOperationsInput;++ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ authorId?: StringFieldUpdateOperationsInput;++ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ commentThreadId?: StringFieldUpdateOperationsInput;+}diff --git a/server/src/api/@generated/comment/comment-unchecked-update.input.ts b/server/src/api/@generated/comment/comment-unchecked-update.input.tsnew file mode 100644index 00000000000..a34d8c4bb27--- /dev/null+++ b/server/src/api/@generated/comment/comment-unchecked-update.input.ts@@ -0,0 +1,33 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';+import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';+import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';+import { HideField } from '@nestjs/graphql';++@InputType()+export class CommentUncheckedUpdateInput {+ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ id?: StringFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ createdAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ updatedAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })+ deletedAt?: NullableDateTimeFieldUpdateOperationsInput;++ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ body?: StringFieldUpdateOperationsInput;++ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ authorId?: StringFieldUpdateOperationsInput;++ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ commentThreadId?: StringFieldUpdateOperationsInput;++ @HideField()+ workspaceId?: StringFieldUpdateOperationsInput;+}diff --git a/server/src/api/@generated/comment/comment-update-many-mutation.input.ts b/server/src/api/@generated/comment/comment-update-many-mutation.input.tsnew file mode 100644index 00000000000..c828a454cb2--- /dev/null+++ b/server/src/api/@generated/comment/comment-update-many-mutation.input.ts@@ -0,0 +1,23 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';+import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';+import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';++@InputType()+export class CommentUpdateManyMutationInput {+ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ id?: StringFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ createdAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ updatedAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })+ deletedAt?: NullableDateTimeFieldUpdateOperationsInput;++ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ body?: StringFieldUpdateOperationsInput;+}diff --git a/server/src/api/@generated/comment/comment-update-many-with-where-without-author.input.ts b/server/src/api/@generated/comment/comment-update-many-with-where-without-author.input.tsnew file mode 100644index 00000000000..c14e531fb48--- /dev/null+++ b/server/src/api/@generated/comment/comment-update-many-with-where-without-author.input.ts@@ -0,0 +1,16 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentScalarWhereInput } from './comment-scalar-where.input';+import { Type } from 'class-transformer';+import { CommentUpdateManyMutationInput } from './comment-update-many-mutation.input';++@InputType()+export class CommentUpdateManyWithWhereWithoutAuthorInput {+ @Field(() => CommentScalarWhereInput, { nullable: false })+ @Type(() => CommentScalarWhereInput)+ where!: CommentScalarWhereInput;++ @Field(() => CommentUpdateManyMutationInput, { nullable: false })+ @Type(() => CommentUpdateManyMutationInput)+ data!: CommentUpdateManyMutationInput;+}diff --git a/server/src/api/@generated/comment/comment-update-many-with-where-without-comment-thread.input.ts b/server/src/api/@generated/comment/comment-update-many-with-where-without-comment-thread.input.tsnew file mode 100644index 00000000000..893394e090d--- /dev/null+++ b/server/src/api/@generated/comment/comment-update-many-with-where-without-comment-thread.input.ts@@ -0,0 +1,16 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentScalarWhereInput } from './comment-scalar-where.input';+import { Type } from 'class-transformer';+import { CommentUpdateManyMutationInput } from './comment-update-many-mutation.input';++@InputType()+export class CommentUpdateManyWithWhereWithoutCommentThreadInput {+ @Field(() => CommentScalarWhereInput, { nullable: false })+ @Type(() => CommentScalarWhereInput)+ where!: CommentScalarWhereInput;++ @Field(() => CommentUpdateManyMutationInput, { nullable: false })+ @Type(() => CommentUpdateManyMutationInput)+ data!: CommentUpdateManyMutationInput;+}diff --git a/server/src/api/@generated/comment/comment-update-many-with-where-without-workspace.input.ts b/server/src/api/@generated/comment/comment-update-many-with-where-without-workspace.input.tsnew file mode 100644index 00000000000..ec53f809dd4--- /dev/null+++ b/server/src/api/@generated/comment/comment-update-many-with-where-without-workspace.input.ts@@ -0,0 +1,16 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentScalarWhereInput } from './comment-scalar-where.input';+import { Type } from 'class-transformer';+import { CommentUpdateManyMutationInput } from './comment-update-many-mutation.input';++@InputType()+export class CommentUpdateManyWithWhereWithoutWorkspaceInput {+ @Field(() => CommentScalarWhereInput, { nullable: false })+ @Type(() => CommentScalarWhereInput)+ where!: CommentScalarWhereInput;++ @Field(() => CommentUpdateManyMutationInput, { nullable: false })+ @Type(() => CommentUpdateManyMutationInput)+ data!: CommentUpdateManyMutationInput;+}diff --git a/server/src/api/@generated/comment/comment-update-many-without-author-nested.input.ts b/server/src/api/@generated/comment/comment-update-many-without-author-nested.input.tsnew file mode 100644index 00000000000..5b77d08c90f--- /dev/null+++ b/server/src/api/@generated/comment/comment-update-many-without-author-nested.input.ts@@ -0,0 +1,64 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentCreateWithoutAuthorInput } from './comment-create-without-author.input';+import { Type } from 'class-transformer';+import { CommentCreateOrConnectWithoutAuthorInput } from './comment-create-or-connect-without-author.input';+import { CommentUpsertWithWhereUniqueWithoutAuthorInput } from './comment-upsert-with-where-unique-without-author.input';+import { CommentCreateManyAuthorInputEnvelope } from './comment-create-many-author-input-envelope.input';+import { CommentWhereUniqueInput } from './comment-where-unique.input';+import { CommentUpdateWithWhereUniqueWithoutAuthorInput } from './comment-update-with-where-unique-without-author.input';+import { CommentUpdateManyWithWhereWithoutAuthorInput } from './comment-update-many-with-where-without-author.input';+import { CommentScalarWhereInput } from './comment-scalar-where.input';++@InputType()+export class CommentUpdateManyWithoutAuthorNestedInput {+ @Field(() => [CommentCreateWithoutAuthorInput], { nullable: true })+ @Type(() => CommentCreateWithoutAuthorInput)+ create?: Array<CommentCreateWithoutAuthorInput>;++ @Field(() => [CommentCreateOrConnectWithoutAuthorInput], { nullable: true })+ @Type(() => CommentCreateOrConnectWithoutAuthorInput)+ connectOrCreate?: Array<CommentCreateOrConnectWithoutAuthorInput>;++ @Field(() => [CommentUpsertWithWhereUniqueWithoutAuthorInput], {+ nullable: true,+ })+ @Type(() => CommentUpsertWithWhereUniqueWithoutAuthorInput)+ upsert?: Array<CommentUpsertWithWhereUniqueWithoutAuthorInput>;++ @Field(() => CommentCreateManyAuthorInputEnvelope, { nullable: true })+ @Type(() => CommentCreateManyAuthorInputEnvelope)+ createMany?: CommentCreateManyAuthorInputEnvelope;++ @Field(() => [CommentWhereUniqueInput], { nullable: true })+ @Type(() => CommentWhereUniqueInput)+ set?: Array<CommentWhereUniqueInput>;++ @Field(() => [CommentWhereUniqueInput], { nullable: true })+ @Type(() => CommentWhereUniqueInput)+ disconnect?: Array<CommentWhereUniqueInput>;++ @Field(() => [CommentWhereUniqueInput], { nullable: true })+ @Type(() => CommentWhereUniqueInput)+ delete?: Array<CommentWhereUniqueInput>;++ @Field(() => [CommentWhereUniqueInput], { nullable: true })+ @Type(() => CommentWhereUniqueInput)+ connect?: Array<CommentWhereUniqueInput>;++ @Field(() => [CommentUpdateWithWhereUniqueWithoutAuthorInput], {+ nullable: true,+ })+ @Type(() => CommentUpdateWithWhereUniqueWithoutAuthorInput)+ update?: Array<CommentUpdateWithWhereUniqueWithoutAuthorInput>;++ @Field(() => [CommentUpdateManyWithWhereWithoutAuthorInput], {+ nullable: true,+ })+ @Type(() => CommentUpdateManyWithWhereWithoutAuthorInput)+ updateMany?: Array<CommentUpdateManyWithWhereWithoutAuthorInput>;++ @Field(() => [CommentScalarWhereInput], { nullable: true })+ @Type(() => CommentScalarWhereInput)+ deleteMany?: Array<CommentScalarWhereInput>;+}diff --git a/server/src/api/@generated/comment/comment-update-many-without-comment-thread-nested.input.ts b/server/src/api/@generated/comment/comment-update-many-without-comment-thread-nested.input.tsnew file mode 100644index 00000000000..2e4ba9dbbd5--- /dev/null+++ b/server/src/api/@generated/comment/comment-update-many-without-comment-thread-nested.input.ts@@ -0,0 +1,66 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentCreateWithoutCommentThreadInput } from './comment-create-without-comment-thread.input';+import { Type } from 'class-transformer';+import { CommentCreateOrConnectWithoutCommentThreadInput } from './comment-create-or-connect-without-comment-thread.input';+import { CommentUpsertWithWhereUniqueWithoutCommentThreadInput } from './comment-upsert-with-where-unique-without-comment-thread.input';+import { CommentCreateManyCommentThreadInputEnvelope } from './comment-create-many-comment-thread-input-envelope.input';+import { CommentWhereUniqueInput } from './comment-where-unique.input';+import { CommentUpdateWithWhereUniqueWithoutCommentThreadInput } from './comment-update-with-where-unique-without-comment-thread.input';+import { CommentUpdateManyWithWhereWithoutCommentThreadInput } from './comment-update-many-with-where-without-comment-thread.input';+import { CommentScalarWhereInput } from './comment-scalar-where.input';++@InputType()+export class CommentUpdateManyWithoutCommentThreadNestedInput {+ @Field(() => [CommentCreateWithoutCommentThreadInput], { nullable: true })+ @Type(() => CommentCreateWithoutCommentThreadInput)+ create?: Array<CommentCreateWithoutCommentThreadInput>;++ @Field(() => [CommentCreateOrConnectWithoutCommentThreadInput], {+ nullable: true,+ })+ @Type(() => CommentCreateOrConnectWithoutCommentThreadInput)+ connectOrCreate?: Array<CommentCreateOrConnectWithoutCommentThreadInput>;++ @Field(() => [CommentUpsertWithWhereUniqueWithoutCommentThreadInput], {+ nullable: true,+ })+ @Type(() => CommentUpsertWithWhereUniqueWithoutCommentThreadInput)+ upsert?: Array<CommentUpsertWithWhereUniqueWithoutCommentThreadInput>;++ @Field(() => CommentCreateManyCommentThreadInputEnvelope, { nullable: true })+ @Type(() => CommentCreateManyCommentThreadInputEnvelope)+ createMany?: CommentCreateManyCommentThreadInputEnvelope;++ @Field(() => [CommentWhereUniqueInput], { nullable: true })+ @Type(() => CommentWhereUniqueInput)+ set?: Array<CommentWhereUniqueInput>;++ @Field(() => [CommentWhereUniqueInput], { nullable: true })+ @Type(() => CommentWhereUniqueInput)+ disconnect?: Array<CommentWhereUniqueInput>;++ @Field(() => [CommentWhereUniqueInput], { nullable: true })+ @Type(() => CommentWhereUniqueInput)+ delete?: Array<CommentWhereUniqueInput>;++ @Field(() => [CommentWhereUniqueInput], { nullable: true })+ @Type(() => CommentWhereUniqueInput)+ connect?: Array<CommentWhereUniqueInput>;++ @Field(() => [CommentUpdateWithWhereUniqueWithoutCommentThreadInput], {+ nullable: true,+ })+ @Type(() => CommentUpdateWithWhereUniqueWithoutCommentThreadInput)+ update?: Array<CommentUpdateWithWhereUniqueWithoutCommentThreadInput>;++ @Field(() => [CommentUpdateManyWithWhereWithoutCommentThreadInput], {+ nullable: true,+ })+ @Type(() => CommentUpdateManyWithWhereWithoutCommentThreadInput)+ updateMany?: Array<CommentUpdateManyWithWhereWithoutCommentThreadInput>;++ @Field(() => [CommentScalarWhereInput], { nullable: true })+ @Type(() => CommentScalarWhereInput)+ deleteMany?: Array<CommentScalarWhereInput>;+}diff --git a/server/src/api/@generated/comment/comment-update-many-without-workspace-nested.input.ts b/server/src/api/@generated/comment/comment-update-many-without-workspace-nested.input.tsnew file mode 100644index 00000000000..a2ae2e037a2--- /dev/null+++ b/server/src/api/@generated/comment/comment-update-many-without-workspace-nested.input.ts@@ -0,0 +1,66 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentCreateWithoutWorkspaceInput } from './comment-create-without-workspace.input';+import { Type } from 'class-transformer';+import { CommentCreateOrConnectWithoutWorkspaceInput } from './comment-create-or-connect-without-workspace.input';+import { CommentUpsertWithWhereUniqueWithoutWorkspaceInput } from './comment-upsert-with-where-unique-without-workspace.input';+import { CommentCreateManyWorkspaceInputEnvelope } from './comment-create-many-workspace-input-envelope.input';+import { CommentWhereUniqueInput } from './comment-where-unique.input';+import { CommentUpdateWithWhereUniqueWithoutWorkspaceInput } from './comment-update-with-where-unique-without-workspace.input';+import { CommentUpdateManyWithWhereWithoutWorkspaceInput } from './comment-update-many-with-where-without-workspace.input';+import { CommentScalarWhereInput } from './comment-scalar-where.input';++@InputType()+export class CommentUpdateManyWithoutWorkspaceNestedInput {+ @Field(() => [CommentCreateWithoutWorkspaceInput], { nullable: true })+ @Type(() => CommentCreateWithoutWorkspaceInput)+ create?: Array<CommentCreateWithoutWorkspaceInput>;++ @Field(() => [CommentCreateOrConnectWithoutWorkspaceInput], {+ nullable: true,+ })+ @Type(() => CommentCreateOrConnectWithoutWorkspaceInput)+ connectOrCreate?: Array<CommentCreateOrConnectWithoutWorkspaceInput>;++ @Field(() => [CommentUpsertWithWhereUniqueWithoutWorkspaceInput], {+ nullable: true,+ })+ @Type(() => CommentUpsertWithWhereUniqueWithoutWorkspaceInput)+ upsert?: Array<CommentUpsertWithWhereUniqueWithoutWorkspaceInput>;++ @Field(() => CommentCreateManyWorkspaceInputEnvelope, { nullable: true })+ @Type(() => CommentCreateManyWorkspaceInputEnvelope)+ createMany?: CommentCreateManyWorkspaceInputEnvelope;++ @Field(() => [CommentWhereUniqueInput], { nullable: true })+ @Type(() => CommentWhereUniqueInput)+ set?: Array<CommentWhereUniqueInput>;++ @Field(() => [CommentWhereUniqueInput], { nullable: true })+ @Type(() => CommentWhereUniqueInput)+ disconnect?: Array<CommentWhereUniqueInput>;++ @Field(() => [CommentWhereUniqueInput], { nullable: true })+ @Type(() => CommentWhereUniqueInput)+ delete?: Array<CommentWhereUniqueInput>;++ @Field(() => [CommentWhereUniqueInput], { nullable: true })+ @Type(() => CommentWhereUniqueInput)+ connect?: Array<CommentWhereUniqueInput>;++ @Field(() => [CommentUpdateWithWhereUniqueWithoutWorkspaceInput], {+ nullable: true,+ })+ @Type(() => CommentUpdateWithWhereUniqueWithoutWorkspaceInput)+ update?: Array<CommentUpdateWithWhereUniqueWithoutWorkspaceInput>;++ @Field(() => [CommentUpdateManyWithWhereWithoutWorkspaceInput], {+ nullable: true,+ })+ @Type(() => CommentUpdateManyWithWhereWithoutWorkspaceInput)+ updateMany?: Array<CommentUpdateManyWithWhereWithoutWorkspaceInput>;++ @Field(() => [CommentScalarWhereInput], { nullable: true })+ @Type(() => CommentScalarWhereInput)+ deleteMany?: Array<CommentScalarWhereInput>;+}diff --git a/server/src/api/@generated/comment/comment-update-with-where-unique-without-author.input.ts b/server/src/api/@generated/comment/comment-update-with-where-unique-without-author.input.tsnew file mode 100644index 00000000000..38d866afaf5--- /dev/null+++ b/server/src/api/@generated/comment/comment-update-with-where-unique-without-author.input.ts@@ -0,0 +1,16 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentWhereUniqueInput } from './comment-where-unique.input';+import { Type } from 'class-transformer';+import { CommentUpdateWithoutAuthorInput } from './comment-update-without-author.input';++@InputType()+export class CommentUpdateWithWhereUniqueWithoutAuthorInput {+ @Field(() => CommentWhereUniqueInput, { nullable: false })+ @Type(() => CommentWhereUniqueInput)+ where!: CommentWhereUniqueInput;++ @Field(() => CommentUpdateWithoutAuthorInput, { nullable: false })+ @Type(() => CommentUpdateWithoutAuthorInput)+ data!: CommentUpdateWithoutAuthorInput;+}diff --git a/server/src/api/@generated/comment/comment-update-with-where-unique-without-comment-thread.input.ts b/server/src/api/@generated/comment/comment-update-with-where-unique-without-comment-thread.input.tsnew file mode 100644index 00000000000..aedf1a46339--- /dev/null+++ b/server/src/api/@generated/comment/comment-update-with-where-unique-without-comment-thread.input.ts@@ -0,0 +1,16 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentWhereUniqueInput } from './comment-where-unique.input';+import { Type } from 'class-transformer';+import { CommentUpdateWithoutCommentThreadInput } from './comment-update-without-comment-thread.input';++@InputType()+export class CommentUpdateWithWhereUniqueWithoutCommentThreadInput {+ @Field(() => CommentWhereUniqueInput, { nullable: false })+ @Type(() => CommentWhereUniqueInput)+ where!: CommentWhereUniqueInput;++ @Field(() => CommentUpdateWithoutCommentThreadInput, { nullable: false })+ @Type(() => CommentUpdateWithoutCommentThreadInput)+ data!: CommentUpdateWithoutCommentThreadInput;+}diff --git a/server/src/api/@generated/comment/comment-update-with-where-unique-without-workspace.input.ts b/server/src/api/@generated/comment/comment-update-with-where-unique-without-workspace.input.tsnew file mode 100644index 00000000000..0dc930564c4--- /dev/null+++ b/server/src/api/@generated/comment/comment-update-with-where-unique-without-workspace.input.ts@@ -0,0 +1,16 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentWhereUniqueInput } from './comment-where-unique.input';+import { Type } from 'class-transformer';+import { CommentUpdateWithoutWorkspaceInput } from './comment-update-without-workspace.input';++@InputType()+export class CommentUpdateWithWhereUniqueWithoutWorkspaceInput {+ @Field(() => CommentWhereUniqueInput, { nullable: false })+ @Type(() => CommentWhereUniqueInput)+ where!: CommentWhereUniqueInput;++ @Field(() => CommentUpdateWithoutWorkspaceInput, { nullable: false })+ @Type(() => CommentUpdateWithoutWorkspaceInput)+ data!: CommentUpdateWithoutWorkspaceInput;+}diff --git a/server/src/api/@generated/comment/comment-update-without-author.input.ts b/server/src/api/@generated/comment/comment-update-without-author.input.tsnew file mode 100644index 00000000000..7c6c6110857--- /dev/null+++ b/server/src/api/@generated/comment/comment-update-without-author.input.ts@@ -0,0 +1,34 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';+import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';+import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';+import { CommentThreadUpdateOneRequiredWithoutCommentsNestedInput } from '../comment-thread/comment-thread-update-one-required-without-comments-nested.input';+import { WorkspaceUpdateOneRequiredWithoutCommentsNestedInput } from '../workspace/workspace-update-one-required-without-comments-nested.input';+import { HideField } from '@nestjs/graphql';++@InputType()+export class CommentUpdateWithoutAuthorInput {+ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ id?: StringFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ createdAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ updatedAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })+ deletedAt?: NullableDateTimeFieldUpdateOperationsInput;++ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ body?: StringFieldUpdateOperationsInput;++ @Field(() => CommentThreadUpdateOneRequiredWithoutCommentsNestedInput, {+ nullable: true,+ })+ commentThread?: CommentThreadUpdateOneRequiredWithoutCommentsNestedInput;++ @HideField()+ workspace?: WorkspaceUpdateOneRequiredWithoutCommentsNestedInput;+}diff --git a/server/src/api/@generated/comment/comment-update-without-comment-thread.input.ts b/server/src/api/@generated/comment/comment-update-without-comment-thread.input.tsnew file mode 100644index 00000000000..e03374d01eb--- /dev/null+++ b/server/src/api/@generated/comment/comment-update-without-comment-thread.input.ts@@ -0,0 +1,34 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';+import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';+import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';+import { UserUpdateOneRequiredWithoutCommentsNestedInput } from '../user/user-update-one-required-without-comments-nested.input';+import { WorkspaceUpdateOneRequiredWithoutCommentsNestedInput } from '../workspace/workspace-update-one-required-without-comments-nested.input';+import { HideField } from '@nestjs/graphql';++@InputType()+export class CommentUpdateWithoutCommentThreadInput {+ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ id?: StringFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ createdAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ updatedAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })+ deletedAt?: NullableDateTimeFieldUpdateOperationsInput;++ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ body?: StringFieldUpdateOperationsInput;++ @Field(() => UserUpdateOneRequiredWithoutCommentsNestedInput, {+ nullable: true,+ })+ author?: UserUpdateOneRequiredWithoutCommentsNestedInput;++ @HideField()+ workspace?: WorkspaceUpdateOneRequiredWithoutCommentsNestedInput;+}diff --git a/server/src/api/@generated/comment/comment-update-without-workspace.input.ts b/server/src/api/@generated/comment/comment-update-without-workspace.input.tsnew file mode 100644index 00000000000..a94b70eb2f9--- /dev/null+++ b/server/src/api/@generated/comment/comment-update-without-workspace.input.ts@@ -0,0 +1,35 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';+import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';+import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';+import { UserUpdateOneRequiredWithoutCommentsNestedInput } from '../user/user-update-one-required-without-comments-nested.input';+import { CommentThreadUpdateOneRequiredWithoutCommentsNestedInput } from '../comment-thread/comment-thread-update-one-required-without-comments-nested.input';++@InputType()+export class CommentUpdateWithoutWorkspaceInput {+ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ id?: StringFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ createdAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ updatedAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })+ deletedAt?: NullableDateTimeFieldUpdateOperationsInput;++ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ body?: StringFieldUpdateOperationsInput;++ @Field(() => UserUpdateOneRequiredWithoutCommentsNestedInput, {+ nullable: true,+ })+ author?: UserUpdateOneRequiredWithoutCommentsNestedInput;++ @Field(() => CommentThreadUpdateOneRequiredWithoutCommentsNestedInput, {+ nullable: true,+ })+ commentThread?: CommentThreadUpdateOneRequiredWithoutCommentsNestedInput;+}diff --git a/server/src/api/@generated/comment/comment-update.input.ts b/server/src/api/@generated/comment/comment-update.input.tsnew file mode 100644index 00000000000..61c99ce5ec4--- /dev/null+++ b/server/src/api/@generated/comment/comment-update.input.ts@@ -0,0 +1,40 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';+import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';+import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';+import { UserUpdateOneRequiredWithoutCommentsNestedInput } from '../user/user-update-one-required-without-comments-nested.input';+import { CommentThreadUpdateOneRequiredWithoutCommentsNestedInput } from '../comment-thread/comment-thread-update-one-required-without-comments-nested.input';+import { WorkspaceUpdateOneRequiredWithoutCommentsNestedInput } from '../workspace/workspace-update-one-required-without-comments-nested.input';+import { HideField } from '@nestjs/graphql';++@InputType()+export class CommentUpdateInput {+ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ id?: StringFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ createdAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ updatedAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })+ deletedAt?: NullableDateTimeFieldUpdateOperationsInput;++ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ body?: StringFieldUpdateOperationsInput;++ @Field(() => UserUpdateOneRequiredWithoutCommentsNestedInput, {+ nullable: true,+ })+ author?: UserUpdateOneRequiredWithoutCommentsNestedInput;++ @Field(() => CommentThreadUpdateOneRequiredWithoutCommentsNestedInput, {+ nullable: true,+ })+ commentThread?: CommentThreadUpdateOneRequiredWithoutCommentsNestedInput;++ @HideField()+ workspace?: WorkspaceUpdateOneRequiredWithoutCommentsNestedInput;+}diff --git a/server/src/api/@generated/comment/comment-upsert-with-where-unique-without-author.input.ts b/server/src/api/@generated/comment/comment-upsert-with-where-unique-without-author.input.tsnew file mode 100644index 00000000000..69fbe04d9fb--- /dev/null+++ b/server/src/api/@generated/comment/comment-upsert-with-where-unique-without-author.input.ts@@ -0,0 +1,21 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentWhereUniqueInput } from './comment-where-unique.input';+import { Type } from 'class-transformer';+import { CommentUpdateWithoutAuthorInput } from './comment-update-without-author.input';+import { CommentCreateWithoutAuthorInput } from './comment-create-without-author.input';++@InputType()+export class CommentUpsertWithWhereUniqueWithoutAuthorInput {+ @Field(() => CommentWhereUniqueInput, { nullable: false })+ @Type(() => CommentWhereUniqueInput)+ where!: CommentWhereUniqueInput;++ @Field(() => CommentUpdateWithoutAuthorInput, { nullable: false })+ @Type(() => CommentUpdateWithoutAuthorInput)+ update!: CommentUpdateWithoutAuthorInput;++ @Field(() => CommentCreateWithoutAuthorInput, { nullable: false })+ @Type(() => CommentCreateWithoutAuthorInput)+ create!: CommentCreateWithoutAuthorInput;+}diff --git a/server/src/api/@generated/comment/comment-upsert-with-where-unique-without-comment-thread.input.ts b/server/src/api/@generated/comment/comment-upsert-with-where-unique-without-comment-thread.input.tsnew file mode 100644index 00000000000..aa464cb2f55--- /dev/null+++ b/server/src/api/@generated/comment/comment-upsert-with-where-unique-without-comment-thread.input.ts@@ -0,0 +1,21 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentWhereUniqueInput } from './comment-where-unique.input';+import { Type } from 'class-transformer';+import { CommentUpdateWithoutCommentThreadInput } from './comment-update-without-comment-thread.input';+import { CommentCreateWithoutCommentThreadInput } from './comment-create-without-comment-thread.input';++@InputType()+export class CommentUpsertWithWhereUniqueWithoutCommentThreadInput {+ @Field(() => CommentWhereUniqueInput, { nullable: false })+ @Type(() => CommentWhereUniqueInput)+ where!: CommentWhereUniqueInput;++ @Field(() => CommentUpdateWithoutCommentThreadInput, { nullable: false })+ @Type(() => CommentUpdateWithoutCommentThreadInput)+ update!: CommentUpdateWithoutCommentThreadInput;++ @Field(() => CommentCreateWithoutCommentThreadInput, { nullable: false })+ @Type(() => CommentCreateWithoutCommentThreadInput)+ create!: CommentCreateWithoutCommentThreadInput;+}diff --git a/server/src/api/@generated/comment/comment-upsert-with-where-unique-without-workspace.input.ts b/server/src/api/@generated/comment/comment-upsert-with-where-unique-without-workspace.input.tsnew file mode 100644index 00000000000..4dd6c184b6a--- /dev/null+++ b/server/src/api/@generated/comment/comment-upsert-with-where-unique-without-workspace.input.ts@@ -0,0 +1,21 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentWhereUniqueInput } from './comment-where-unique.input';+import { Type } from 'class-transformer';+import { CommentUpdateWithoutWorkspaceInput } from './comment-update-without-workspace.input';+import { CommentCreateWithoutWorkspaceInput } from './comment-create-without-workspace.input';++@InputType()+export class CommentUpsertWithWhereUniqueWithoutWorkspaceInput {+ @Field(() => CommentWhereUniqueInput, { nullable: false })+ @Type(() => CommentWhereUniqueInput)+ where!: CommentWhereUniqueInput;++ @Field(() => CommentUpdateWithoutWorkspaceInput, { nullable: false })+ @Type(() => CommentUpdateWithoutWorkspaceInput)+ update!: CommentUpdateWithoutWorkspaceInput;++ @Field(() => CommentCreateWithoutWorkspaceInput, { nullable: false })+ @Type(() => CommentCreateWithoutWorkspaceInput)+ create!: CommentCreateWithoutWorkspaceInput;+}diff --git a/server/src/api/@generated/comment/comment-where-unique.input.ts b/server/src/api/@generated/comment/comment-where-unique.input.tsnew file mode 100644index 00000000000..ed23c5bb44b--- /dev/null+++ b/server/src/api/@generated/comment/comment-where-unique.input.ts@@ -0,0 +1,8 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';++@InputType()+export class CommentWhereUniqueInput {+ @Field(() => String, { nullable: true })+ id?: string;+}diff --git a/server/src/api/@generated/comment/comment-where.input.ts b/server/src/api/@generated/comment/comment-where.input.tsnew file mode 100644index 00000000000..87cd3feeb88--- /dev/null+++ b/server/src/api/@generated/comment/comment-where.input.ts@@ -0,0 +1,54 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { StringFilter } from '../prisma/string-filter.input';+import { DateTimeFilter } from '../prisma/date-time-filter.input';+import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input';+import { HideField } from '@nestjs/graphql';+import { UserRelationFilter } from '../user/user-relation-filter.input';+import { CommentThreadRelationFilter } from '../comment-thread/comment-thread-relation-filter.input';+import { WorkspaceRelationFilter } from '../workspace/workspace-relation-filter.input';++@InputType()+export class CommentWhereInput {+ @Field(() => [CommentWhereInput], { nullable: true })+ AND?: Array<CommentWhereInput>;++ @Field(() => [CommentWhereInput], { nullable: true })+ OR?: Array<CommentWhereInput>;++ @Field(() => [CommentWhereInput], { nullable: true })+ NOT?: Array<CommentWhereInput>;++ @Field(() => StringFilter, { nullable: true })+ id?: StringFilter;++ @Field(() => DateTimeFilter, { nullable: true })+ createdAt?: DateTimeFilter;++ @Field(() => DateTimeFilter, { nullable: true })+ updatedAt?: DateTimeFilter;++ @Field(() => DateTimeNullableFilter, { nullable: true })+ deletedAt?: DateTimeNullableFilter;++ @Field(() => StringFilter, { nullable: true })+ body?: StringFilter;++ @Field(() => StringFilter, { nullable: true })+ authorId?: StringFilter;++ @Field(() => StringFilter, { nullable: true })+ commentThreadId?: StringFilter;++ @HideField()+ workspaceId?: StringFilter;++ @Field(() => UserRelationFilter, { nullable: true })+ author?: UserRelationFilter;++ @Field(() => CommentThreadRelationFilter, { nullable: true })+ commentThread?: CommentThreadRelationFilter;++ @HideField()+ workspace?: WorkspaceRelationFilter;+}diff --git a/server/src/api/@generated/comment/comment.model.ts b/server/src/api/@generated/comment/comment.model.tsnew file mode 100644index 00000000000..7b933d524c6--- /dev/null+++ b/server/src/api/@generated/comment/comment.model.ts@@ -0,0 +1,42 @@+import { Field } from '@nestjs/graphql';+import { ObjectType } from '@nestjs/graphql';+import { ID } from '@nestjs/graphql';+import { User } from '../user/user.model';+import { CommentThread } from '../comment-thread/comment-thread.model';+import { Workspace } from '../workspace/workspace.model';++@ObjectType()+export class Comment {+ @Field(() => ID, { nullable: false })+ id!: string;++ @Field(() => Date, { nullable: false })+ createdAt!: Date;++ @Field(() => Date, { nullable: false })+ updatedAt!: Date;++ @Field(() => Date, { nullable: true })+ deletedAt!: Date | null;++ @Field(() => String, { nullable: false })+ body!: string;++ @Field(() => String, { nullable: false })+ authorId!: string;++ @Field(() => String, { nullable: false })+ commentThreadId!: string;++ @Field(() => String, { nullable: false })+ workspaceId!: string;++ @Field(() => User, { nullable: false })+ author?: User;++ @Field(() => CommentThread, { nullable: false })+ commentThread?: CommentThread;++ @Field(() => Workspace, { nullable: false })+ workspace?: Workspace;+}diff --git a/server/src/api/@generated/comment/create-many-comment.args.ts b/server/src/api/@generated/comment/create-many-comment.args.tsnew file mode 100644index 00000000000..4f66f49c08e--- /dev/null+++ b/server/src/api/@generated/comment/create-many-comment.args.ts@@ -0,0 +1,14 @@+import { Field } from '@nestjs/graphql';+import { ArgsType } from '@nestjs/graphql';+import { CommentCreateManyInput } from './comment-create-many.input';+import { Type } from 'class-transformer';++@ArgsType()+export class CreateManyCommentArgs {+ @Field(() => [CommentCreateManyInput], { nullable: false })+ @Type(() => CommentCreateManyInput)+ data!: Array<CommentCreateManyInput>;++ @Field(() => Boolean, { nullable: true })+ skipDuplicates?: boolean;+}diff --git a/server/src/api/@generated/comment/create-one-comment.args.ts b/server/src/api/@generated/comment/create-one-comment.args.tsnew file mode 100644index 00000000000..0867c2ea7b5--- /dev/null+++ b/server/src/api/@generated/comment/create-one-comment.args.ts@@ -0,0 +1,11 @@+import { Field } from '@nestjs/graphql';+import { ArgsType } from '@nestjs/graphql';+import { CommentCreateInput } from './comment-create.input';+import { Type } from 'class-transformer';++@ArgsType()+export class CreateOneCommentArgs {+ @Field(() => CommentCreateInput, { nullable: false })+ @Type(() => CommentCreateInput)+ data!: CommentCreateInput;+}diff --git a/server/src/api/@generated/comment/delete-many-comment.args.ts b/server/src/api/@generated/comment/delete-many-comment.args.tsnew file mode 100644index 00000000000..f224a9cbe27--- /dev/null+++ b/server/src/api/@generated/comment/delete-many-comment.args.ts@@ -0,0 +1,11 @@+import { Field } from '@nestjs/graphql';+import { ArgsType } from '@nestjs/graphql';+import { CommentWhereInput } from './comment-where.input';+import { Type } from 'class-transformer';++@ArgsType()+export class DeleteManyCommentArgs {+ @Field(() => CommentWhereInput, { nullable: true })+ @Type(() => CommentWhereInput)+ where?: CommentWhereInput;+}diff --git a/server/src/api/@generated/comment/delete-one-comment.args.ts b/server/src/api/@generated/comment/delete-one-comment.args.tsnew file mode 100644index 00000000000..a4fe59237c5--- /dev/null+++ b/server/src/api/@generated/comment/delete-one-comment.args.ts@@ -0,0 +1,11 @@+import { Field } from '@nestjs/graphql';+import { ArgsType } from '@nestjs/graphql';+import { CommentWhereUniqueInput } from './comment-where-unique.input';+import { Type } from 'class-transformer';++@ArgsType()+export class DeleteOneCommentArgs {+ @Field(() => CommentWhereUniqueInput, { nullable: false })+ @Type(() => CommentWhereUniqueInput)+ where!: CommentWhereUniqueInput;+}diff --git a/server/src/api/@generated/comment/find-first-comment-or-throw.args.ts b/server/src/api/@generated/comment/find-first-comment-or-throw.args.tsnew file mode 100644index 00000000000..9f51ef025f7--- /dev/null+++ b/server/src/api/@generated/comment/find-first-comment-or-throw.args.ts@@ -0,0 +1,30 @@+import { Field } from '@nestjs/graphql';+import { ArgsType } from '@nestjs/graphql';+import { CommentWhereInput } from './comment-where.input';+import { Type } from 'class-transformer';+import { CommentOrderByWithRelationInput } from './comment-order-by-with-relation.input';+import { CommentWhereUniqueInput } from './comment-where-unique.input';+import { Int } from '@nestjs/graphql';+import { CommentScalarFieldEnum } from './comment-scalar-field.enum';++@ArgsType()+export class FindFirstCommentOrThrowArgs {+ @Field(() => CommentWhereInput, { nullable: true })+ @Type(() => CommentWhereInput)+ where?: CommentWhereInput;++ @Field(() => [CommentOrderByWithRelationInput], { nullable: true })+ orderBy?: Array<CommentOrderByWithRelationInput>;++ @Field(() => CommentWhereUniqueInput, { nullable: true })+ cursor?: CommentWhereUniqueInput;++ @Field(() => Int, { nullable: true })+ take?: number;++ @Field(() => Int, { nullable: true })+ skip?: number;++ @Field(() => [CommentScalarFieldEnum], { nullable: true })+ distinct?: Array<keyof typeof CommentScalarFieldEnum>;+}diff --git a/server/src/api/@generated/comment/find-first-comment.args.ts b/server/src/api/@generated/comment/find-first-comment.args.tsnew file mode 100644index 00000000000..bbb48ffe621--- /dev/null+++ b/server/src/api/@generated/comment/find-first-comment.args.ts@@ -0,0 +1,30 @@+import { Field } from '@nestjs/graphql';+import { ArgsType } from '@nestjs/graphql';+import { CommentWhereInput } from './comment-where.input';+import { Type } from 'class-transformer';+import { CommentOrderByWithRelationInput } from './comment-order-by-with-relation.input';+import { CommentWhereUniqueInput } from './comment-where-unique.input';+import { Int } from '@nestjs/graphql';+import { CommentScalarFieldEnum } from './comment-scalar-field.enum';++@ArgsType()+export class FindFirstCommentArgs {+ @Field(() => CommentWhereInput, { nullable: true })+ @Type(() => CommentWhereInput)+ where?: CommentWhereInput;++ @Field(() => [CommentOrderByWithRelationInput], { nullable: true })+ orderBy?: Array<CommentOrderByWithRelationInput>;++ @Field(() => CommentWhereUniqueInput, { nullable: true })+ cursor?: CommentWhereUniqueInput;++ @Field(() => Int, { nullable: true })+ take?: number;++ @Field(() => Int, { nullable: true })+ skip?: number;++ @Field(() => [CommentScalarFieldEnum], { nullable: true })+ distinct?: Array<keyof typeof CommentScalarFieldEnum>;+}diff --git a/server/src/api/@generated/comment/find-many-comment.args.ts b/server/src/api/@generated/comment/find-many-comment.args.tsnew file mode 100644index 00000000000..5da29c37aa6--- /dev/null+++ b/server/src/api/@generated/comment/find-many-comment.args.ts@@ -0,0 +1,30 @@+import { Field } from '@nestjs/graphql';+import { ArgsType } from '@nestjs/graphql';+import { CommentWhereInput } from './comment-where.input';+import { Type } from 'class-transformer';+import { CommentOrderByWithRelationInput } from './comment-order-by-with-relation.input';+import { CommentWhereUniqueInput } from './comment-where-unique.input';+import { Int } from '@nestjs/graphql';+import { CommentScalarFieldEnum } from './comment-scalar-field.enum';++@ArgsType()+export class FindManyCommentArgs {+ @Field(() => CommentWhereInput, { nullable: true })+ @Type(() => CommentWhereInput)+ where?: CommentWhereInput;++ @Field(() => [CommentOrderByWithRelationInput], { nullable: true })+ orderBy?: Array<CommentOrderByWithRelationInput>;++ @Field(() => CommentWhereUniqueInput, { nullable: true })+ cursor?: CommentWhereUniqueInput;++ @Field(() => Int, { nullable: true })+ take?: number;++ @Field(() => Int, { nullable: true })+ skip?: number;++ @Field(() => [CommentScalarFieldEnum], { nullable: true })+ distinct?: Array<keyof typeof CommentScalarFieldEnum>;+}diff --git a/server/src/api/@generated/comment/find-unique-comment-or-throw.args.ts b/server/src/api/@generated/comment/find-unique-comment-or-throw.args.tsnew file mode 100644index 00000000000..e60058e5cb8--- /dev/null+++ b/server/src/api/@generated/comment/find-unique-comment-or-throw.args.ts@@ -0,0 +1,11 @@+import { Field } from '@nestjs/graphql';+import { ArgsType } from '@nestjs/graphql';+import { CommentWhereUniqueInput } from './comment-where-unique.input';+import { Type } from 'class-transformer';++@ArgsType()+export class FindUniqueCommentOrThrowArgs {+ @Field(() => CommentWhereUniqueInput, { nullable: false })+ @Type(() => CommentWhereUniqueInput)+ where!: CommentWhereUniqueInput;+}diff --git a/server/src/api/@generated/comment/find-unique-comment.args.ts b/server/src/api/@generated/comment/find-unique-comment.args.tsnew file mode 100644index 00000000000..13669b8594b--- /dev/null+++ b/server/src/api/@generated/comment/find-unique-comment.args.ts@@ -0,0 +1,11 @@+import { Field } from '@nestjs/graphql';+import { ArgsType } from '@nestjs/graphql';+import { CommentWhereUniqueInput } from './comment-where-unique.input';+import { Type } from 'class-transformer';++@ArgsType()+export class FindUniqueCommentArgs {+ @Field(() => CommentWhereUniqueInput, { nullable: false })+ @Type(() => CommentWhereUniqueInput)+ where!: CommentWhereUniqueInput;+}diff --git a/server/src/api/@generated/comment/update-many-comment.args.ts b/server/src/api/@generated/comment/update-many-comment.args.tsnew file mode 100644index 00000000000..3cc465481bc--- /dev/null+++ b/server/src/api/@generated/comment/update-many-comment.args.ts@@ -0,0 +1,16 @@+import { Field } from '@nestjs/graphql';+import { ArgsType } from '@nestjs/graphql';+import { CommentUpdateManyMutationInput } from './comment-update-many-mutation.input';+import { Type } from 'class-transformer';+import { CommentWhereInput } from './comment-where.input';++@ArgsType()+export class UpdateManyCommentArgs {+ @Field(() => CommentUpdateManyMutationInput, { nullable: false })+ @Type(() => CommentUpdateManyMutationInput)+ data!: CommentUpdateManyMutationInput;++ @Field(() => CommentWhereInput, { nullable: true })+ @Type(() => CommentWhereInput)+ where?: CommentWhereInput;+}diff --git a/server/src/api/@generated/comment/update-one-comment.args.ts b/server/src/api/@generated/comment/update-one-comment.args.tsnew file mode 100644index 00000000000..7eb2e0d139d--- /dev/null+++ b/server/src/api/@generated/comment/update-one-comment.args.ts@@ -0,0 +1,16 @@+import { Field } from '@nestjs/graphql';+import { ArgsType } from '@nestjs/graphql';+import { CommentUpdateInput } from './comment-update.input';+import { Type } from 'class-transformer';+import { CommentWhereUniqueInput } from './comment-where-unique.input';++@ArgsType()+export class UpdateOneCommentArgs {+ @Field(() => CommentUpdateInput, { nullable: false })+ @Type(() => CommentUpdateInput)+ data!: CommentUpdateInput;++ @Field(() => CommentWhereUniqueInput, { nullable: false })+ @Type(() => CommentWhereUniqueInput)+ where!: CommentWhereUniqueInput;+}diff --git a/server/src/api/@generated/comment/upsert-one-comment.args.ts b/server/src/api/@generated/comment/upsert-one-comment.args.tsnew file mode 100644index 00000000000..f16c3114c63--- /dev/null+++ b/server/src/api/@generated/comment/upsert-one-comment.args.ts@@ -0,0 +1,21 @@+import { Field } from '@nestjs/graphql';+import { ArgsType } from '@nestjs/graphql';+import { CommentWhereUniqueInput } from './comment-where-unique.input';+import { Type } from 'class-transformer';+import { CommentCreateInput } from './comment-create.input';+import { CommentUpdateInput } from './comment-update.input';++@ArgsType()+export class UpsertOneCommentArgs {+ @Field(() => CommentWhereUniqueInput, { nullable: false })+ @Type(() => CommentWhereUniqueInput)+ where!: CommentWhereUniqueInput;++ @Field(() => CommentCreateInput, { nullable: false })+ @Type(() => CommentCreateInput)+ create!: CommentCreateInput;++ @Field(() => CommentUpdateInput, { nullable: false })+ @Type(() => CommentUpdateInput)+ update!: CommentUpdateInput;+}diff --git a/server/src/api/@generated/prisma/commentable-type.enum.ts b/server/src/api/@generated/prisma/commentable-type.enum.tsnew file mode 100644index 00000000000..5f476e80f1f--- /dev/null+++ b/server/src/api/@generated/prisma/commentable-type.enum.ts@@ -0,0 +1,11 @@+import { registerEnumType } from '@nestjs/graphql';++export enum CommentableType {+ Person = 'Person',+ Company = 'Company',+}++registerEnumType(CommentableType, {+ name: 'CommentableType',+ description: undefined,+});diff --git a/server/src/api/@generated/prisma/enum-commentable-type-field-update-operations.input.ts b/server/src/api/@generated/prisma/enum-commentable-type-field-update-operations.input.tsnew file mode 100644index 00000000000..d492479ca06--- /dev/null+++ b/server/src/api/@generated/prisma/enum-commentable-type-field-update-operations.input.ts@@ -0,0 +1,9 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentableType } from './commentable-type.enum';++@InputType()+export class EnumCommentableTypeFieldUpdateOperationsInput {+ @Field(() => CommentableType, { nullable: true })+ set?: keyof typeof CommentableType;+}diff --git a/server/src/api/@generated/prisma/enum-commentable-type-filter.input.ts b/server/src/api/@generated/prisma/enum-commentable-type-filter.input.tsnew file mode 100644index 00000000000..6f8ec9af84e--- /dev/null+++ b/server/src/api/@generated/prisma/enum-commentable-type-filter.input.ts@@ -0,0 +1,19 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentableType } from './commentable-type.enum';+import { NestedEnumCommentableTypeFilter } from './nested-enum-commentable-type-filter.input';++@InputType()+export class EnumCommentableTypeFilter {+ @Field(() => CommentableType, { nullable: true })+ equals?: keyof typeof CommentableType;++ @Field(() => [CommentableType], { nullable: true })+ in?: Array<keyof typeof CommentableType>;++ @Field(() => [CommentableType], { nullable: true })+ notIn?: Array<keyof typeof CommentableType>;++ @Field(() => NestedEnumCommentableTypeFilter, { nullable: true })+ not?: NestedEnumCommentableTypeFilter;+}diff --git a/server/src/api/@generated/prisma/enum-commentable-type-with-aggregates-filter.input.ts b/server/src/api/@generated/prisma/enum-commentable-type-with-aggregates-filter.input.tsnew file mode 100644index 00000000000..9d5eb5c9a46--- /dev/null+++ b/server/src/api/@generated/prisma/enum-commentable-type-with-aggregates-filter.input.ts@@ -0,0 +1,32 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentableType } from './commentable-type.enum';+import { NestedEnumCommentableTypeWithAggregatesFilter } from './nested-enum-commentable-type-with-aggregates-filter.input';+import { NestedIntFilter } from './nested-int-filter.input';+import { NestedEnumCommentableTypeFilter } from './nested-enum-commentable-type-filter.input';++@InputType()+export class EnumCommentableTypeWithAggregatesFilter {+ @Field(() => CommentableType, { nullable: true })+ equals?: keyof typeof CommentableType;++ @Field(() => [CommentableType], { nullable: true })+ in?: Array<keyof typeof CommentableType>;++ @Field(() => [CommentableType], { nullable: true })+ notIn?: Array<keyof typeof CommentableType>;++ @Field(() => NestedEnumCommentableTypeWithAggregatesFilter, {+ nullable: true,+ })+ not?: NestedEnumCommentableTypeWithAggregatesFilter;++ @Field(() => NestedIntFilter, { nullable: true })+ _count?: NestedIntFilter;++ @Field(() => NestedEnumCommentableTypeFilter, { nullable: true })+ _min?: NestedEnumCommentableTypeFilter;++ @Field(() => NestedEnumCommentableTypeFilter, { nullable: true })+ _max?: NestedEnumCommentableTypeFilter;+}diff --git a/server/src/api/@generated/prisma/nested-enum-commentable-type-filter.input.ts b/server/src/api/@generated/prisma/nested-enum-commentable-type-filter.input.tsnew file mode 100644index 00000000000..899b24aaa88--- /dev/null+++ b/server/src/api/@generated/prisma/nested-enum-commentable-type-filter.input.ts@@ -0,0 +1,18 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentableType } from './commentable-type.enum';++@InputType()+export class NestedEnumCommentableTypeFilter {+ @Field(() => CommentableType, { nullable: true })+ equals?: keyof typeof CommentableType;++ @Field(() => [CommentableType], { nullable: true })+ in?: Array<keyof typeof CommentableType>;++ @Field(() => [CommentableType], { nullable: true })+ notIn?: Array<keyof typeof CommentableType>;++ @Field(() => NestedEnumCommentableTypeFilter, { nullable: true })+ not?: NestedEnumCommentableTypeFilter;+}diff --git a/server/src/api/@generated/prisma/nested-enum-commentable-type-with-aggregates-filter.input.ts b/server/src/api/@generated/prisma/nested-enum-commentable-type-with-aggregates-filter.input.tsnew file mode 100644index 00000000000..7871c387492--- /dev/null+++ b/server/src/api/@generated/prisma/nested-enum-commentable-type-with-aggregates-filter.input.ts@@ -0,0 +1,31 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { CommentableType } from './commentable-type.enum';+import { NestedIntFilter } from './nested-int-filter.input';+import { NestedEnumCommentableTypeFilter } from './nested-enum-commentable-type-filter.input';++@InputType()+export class NestedEnumCommentableTypeWithAggregatesFilter {+ @Field(() => CommentableType, { nullable: true })+ equals?: keyof typeof CommentableType;++ @Field(() => [CommentableType], { nullable: true })+ in?: Array<keyof typeof CommentableType>;++ @Field(() => [CommentableType], { nullable: true })+ notIn?: Array<keyof typeof CommentableType>;++ @Field(() => NestedEnumCommentableTypeWithAggregatesFilter, {+ nullable: true,+ })+ not?: NestedEnumCommentableTypeWithAggregatesFilter;++ @Field(() => NestedIntFilter, { nullable: true })+ _count?: NestedIntFilter;++ @Field(() => NestedEnumCommentableTypeFilter, { nullable: true })+ _min?: NestedEnumCommentableTypeFilter;++ @Field(() => NestedEnumCommentableTypeFilter, { nullable: true })+ _max?: NestedEnumCommentableTypeFilter;+}diff --git a/server/src/api/@generated/refresh-token/refresh-token.model.ts b/server/src/api/@generated/refresh-token/refresh-token.model.tsindex 776ac99899c..e342d81ff14 100644--- a/server/src/api/@generated/refresh-token/refresh-token.model.ts+++ b/server/src/api/@generated/refresh-token/refresh-token.model.ts@@ -3,7 +3,7 @@ import { ObjectType } from '@nestjs/graphql';import { ID } from '@nestjs/graphql';import { User } from '../user/user.model';-@ObjectType({})+@ObjectType()export class RefreshToken {@Field(() => ID, { nullable: false })id!: string;diff --git a/server/src/api/@generated/user/user-count.output.ts b/server/src/api/@generated/user/user-count.output.tsindex 0b06b01d3e9..975eb99062f 100644--- a/server/src/api/@generated/user/user-count.output.ts+++ b/server/src/api/@generated/user/user-count.output.ts@@ -8,5 +8,8 @@ export class UserCount {companies?: number;@Field(() => Int, { nullable: false })- RefreshTokens?: number;+ refreshTokens?: number;++ @Field(() => Int, { nullable: false })+ comments?: number;}diff --git a/server/src/api/@generated/user/user-create-nested-one-without-comments.input.ts b/server/src/api/@generated/user/user-create-nested-one-without-comments.input.tsnew file mode 100644index 00000000000..c245180cee3--- /dev/null+++ b/server/src/api/@generated/user/user-create-nested-one-without-comments.input.ts@@ -0,0 +1,20 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { UserCreateWithoutCommentsInput } from './user-create-without-comments.input';+import { HideField } from '@nestjs/graphql';+import { UserCreateOrConnectWithoutCommentsInput } from './user-create-or-connect-without-comments.input';+import { UserWhereUniqueInput } from './user-where-unique.input';+import { Type } from 'class-transformer';++@InputType()+export class UserCreateNestedOneWithoutCommentsInput {+ @HideField()+ create?: UserCreateWithoutCommentsInput;++ @HideField()+ connectOrCreate?: UserCreateOrConnectWithoutCommentsInput;++ @Field(() => UserWhereUniqueInput, { nullable: true })+ @Type(() => UserWhereUniqueInput)+ connect?: UserWhereUniqueInput;+}diff --git a/server/src/api/@generated/user/user-create-or-connect-without-comments.input.ts b/server/src/api/@generated/user/user-create-or-connect-without-comments.input.tsnew file mode 100644index 00000000000..6a1e06fb353--- /dev/null+++ b/server/src/api/@generated/user/user-create-or-connect-without-comments.input.ts@@ -0,0 +1,16 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { UserWhereUniqueInput } from './user-where-unique.input';+import { Type } from 'class-transformer';+import { UserCreateWithoutCommentsInput } from './user-create-without-comments.input';++@InputType()+export class UserCreateOrConnectWithoutCommentsInput {+ @Field(() => UserWhereUniqueInput, { nullable: false })+ @Type(() => UserWhereUniqueInput)+ where!: UserWhereUniqueInput;++ @Field(() => UserCreateWithoutCommentsInput, { nullable: false })+ @Type(() => UserCreateWithoutCommentsInput)+ create!: UserCreateWithoutCommentsInput;+}diff --git a/server/src/api/@generated/user/user-create-without-comments.input.ts b/server/src/api/@generated/user/user-create-without-comments.input.tsnew file mode 100644index 00000000000..ecd2204c9c9--- /dev/null+++ b/server/src/api/@generated/user/user-create-without-comments.input.ts@@ -0,0 +1,64 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { GraphQLJSON } from 'graphql-type-json';+import { WorkspaceMemberCreateNestedOneWithoutUserInput } from '../workspace-member/workspace-member-create-nested-one-without-user.input';+import { CompanyCreateNestedManyWithoutAccountOwnerInput } from '../company/company-create-nested-many-without-account-owner.input';+import { RefreshTokenCreateNestedManyWithoutUserInput } from '../refresh-token/refresh-token-create-nested-many-without-user.input';++@InputType()+export class UserCreateWithoutCommentsInput {+ @Field(() => String, { nullable: false })+ id!: string;++ @Field(() => Date, { nullable: true })+ createdAt?: Date | string;++ @Field(() => Date, { nullable: true })+ updatedAt?: Date | string;++ @Field(() => Date, { nullable: true })+ deletedAt?: Date | string;++ @Field(() => Date, { nullable: true })+ lastSeen?: Date | string;++ @Field(() => Boolean, { nullable: true })+ disabled?: boolean;++ @Field(() => String, { nullable: false })+ displayName!: string;++ @Field(() => String, { nullable: false })+ email!: string;++ @Field(() => String, { nullable: true })+ avatarUrl?: string;++ @Field(() => String, { nullable: false })+ locale!: string;++ @Field(() => String, { nullable: true })+ phoneNumber?: string;++ @Field(() => String, { nullable: true })+ passwordHash?: string;++ @Field(() => Boolean, { nullable: true })+ emailVerified?: boolean;++ @Field(() => GraphQLJSON, { nullable: true })+ metadata?: any;++ @Field(() => WorkspaceMemberCreateNestedOneWithoutUserInput, {+ nullable: true,+ })+ workspaceMember?: WorkspaceMemberCreateNestedOneWithoutUserInput;++ @Field(() => CompanyCreateNestedManyWithoutAccountOwnerInput, {+ nullable: true,+ })+ companies?: CompanyCreateNestedManyWithoutAccountOwnerInput;++ @Field(() => RefreshTokenCreateNestedManyWithoutUserInput, { nullable: true })+ refreshTokens?: RefreshTokenCreateNestedManyWithoutUserInput;+}diff --git a/server/src/api/@generated/user/user-create-without-companies.input.ts b/server/src/api/@generated/user/user-create-without-companies.input.tsindex 3d1ed32b20a..ca8b1f34f7f 100644--- a/server/src/api/@generated/user/user-create-without-companies.input.ts+++ b/server/src/api/@generated/user/user-create-without-companies.input.ts@@ -3,6 +3,7 @@ import { InputType } from '@nestjs/graphql';import { GraphQLJSON } from 'graphql-type-json';import { WorkspaceMemberCreateNestedOneWithoutUserInput } from '../workspace-member/workspace-member-create-nested-one-without-user.input';import { RefreshTokenCreateNestedManyWithoutUserInput } from '../refresh-token/refresh-token-create-nested-many-without-user.input';+import { CommentCreateNestedManyWithoutAuthorInput } from '../comment/comment-create-nested-many-without-author.input';@InputType()export class UserCreateWithoutCompaniesInput {@@ -51,8 +52,11 @@ export class UserCreateWithoutCompaniesInput {@Field(() => WorkspaceMemberCreateNestedOneWithoutUserInput, {nullable: true,})- WorkspaceMember?: WorkspaceMemberCreateNestedOneWithoutUserInput;+ workspaceMember?: WorkspaceMemberCreateNestedOneWithoutUserInput;@Field(() => RefreshTokenCreateNestedManyWithoutUserInput, { nullable: true })- RefreshTokens?: RefreshTokenCreateNestedManyWithoutUserInput;+ refreshTokens?: RefreshTokenCreateNestedManyWithoutUserInput;++ @Field(() => CommentCreateNestedManyWithoutAuthorInput, { nullable: true })+ comments?: CommentCreateNestedManyWithoutAuthorInput;}diff --git a/server/src/api/@generated/user/user-create-without-refresh-tokens.input.ts b/server/src/api/@generated/user/user-create-without-refresh-tokens.input.tsindex 96548cc84f1..2ceeb6425ea 100644--- a/server/src/api/@generated/user/user-create-without-refresh-tokens.input.ts+++ b/server/src/api/@generated/user/user-create-without-refresh-tokens.input.ts@@ -3,6 +3,7 @@ import { InputType } from '@nestjs/graphql';import { GraphQLJSON } from 'graphql-type-json';import { WorkspaceMemberCreateNestedOneWithoutUserInput } from '../workspace-member/workspace-member-create-nested-one-without-user.input';import { CompanyCreateNestedManyWithoutAccountOwnerInput } from '../company/company-create-nested-many-without-account-owner.input';+import { CommentCreateNestedManyWithoutAuthorInput } from '../comment/comment-create-nested-many-without-author.input';@InputType()export class UserCreateWithoutRefreshTokensInput {@@ -51,10 +52,13 @@ export class UserCreateWithoutRefreshTokensInput {@Field(() => WorkspaceMemberCreateNestedOneWithoutUserInput, {nullable: true,})- WorkspaceMember?: WorkspaceMemberCreateNestedOneWithoutUserInput;+ workspaceMember?: WorkspaceMemberCreateNestedOneWithoutUserInput;@Field(() => CompanyCreateNestedManyWithoutAccountOwnerInput, {nullable: true,})companies?: CompanyCreateNestedManyWithoutAccountOwnerInput;++ @Field(() => CommentCreateNestedManyWithoutAuthorInput, { nullable: true })+ comments?: CommentCreateNestedManyWithoutAuthorInput;}diff --git a/server/src/api/@generated/user/user-create-without-workspace-member.input.ts b/server/src/api/@generated/user/user-create-without-workspace-member.input.tsindex 7c8ba07fa37..558cfb512c2 100644--- a/server/src/api/@generated/user/user-create-without-workspace-member.input.ts+++ b/server/src/api/@generated/user/user-create-without-workspace-member.input.ts@@ -3,6 +3,7 @@ import { InputType } from '@nestjs/graphql';import { GraphQLJSON } from 'graphql-type-json';import { CompanyCreateNestedManyWithoutAccountOwnerInput } from '../company/company-create-nested-many-without-account-owner.input';import { RefreshTokenCreateNestedManyWithoutUserInput } from '../refresh-token/refresh-token-create-nested-many-without-user.input';+import { CommentCreateNestedManyWithoutAuthorInput } from '../comment/comment-create-nested-many-without-author.input';@InputType()export class UserCreateWithoutWorkspaceMemberInput {@@ -54,5 +55,8 @@ export class UserCreateWithoutWorkspaceMemberInput {companies?: CompanyCreateNestedManyWithoutAccountOwnerInput;@Field(() => RefreshTokenCreateNestedManyWithoutUserInput, { nullable: true })- RefreshTokens?: RefreshTokenCreateNestedManyWithoutUserInput;+ refreshTokens?: RefreshTokenCreateNestedManyWithoutUserInput;++ @Field(() => CommentCreateNestedManyWithoutAuthorInput, { nullable: true })+ comments?: CommentCreateNestedManyWithoutAuthorInput;}diff --git a/server/src/api/@generated/user/user-create.input.ts b/server/src/api/@generated/user/user-create.input.tsindex 2d1e7717c69..3d7db9a34b6 100644--- a/server/src/api/@generated/user/user-create.input.ts+++ b/server/src/api/@generated/user/user-create.input.ts@@ -4,6 +4,7 @@ import { GraphQLJSON } from 'graphql-type-json';import { WorkspaceMemberCreateNestedOneWithoutUserInput } from '../workspace-member/workspace-member-create-nested-one-without-user.input';import { CompanyCreateNestedManyWithoutAccountOwnerInput } from '../company/company-create-nested-many-without-account-owner.input';import { RefreshTokenCreateNestedManyWithoutUserInput } from '../refresh-token/refresh-token-create-nested-many-without-user.input';+import { CommentCreateNestedManyWithoutAuthorInput } from '../comment/comment-create-nested-many-without-author.input';@InputType()export class UserCreateInput {@@ -52,7 +53,7 @@ export class UserCreateInput {@Field(() => WorkspaceMemberCreateNestedOneWithoutUserInput, {nullable: true,})- WorkspaceMember?: WorkspaceMemberCreateNestedOneWithoutUserInput;+ workspaceMember?: WorkspaceMemberCreateNestedOneWithoutUserInput;@Field(() => CompanyCreateNestedManyWithoutAccountOwnerInput, {nullable: true,@@ -60,5 +61,8 @@ export class UserCreateInput {companies?: CompanyCreateNestedManyWithoutAccountOwnerInput;@Field(() => RefreshTokenCreateNestedManyWithoutUserInput, { nullable: true })- RefreshTokens?: RefreshTokenCreateNestedManyWithoutUserInput;+ refreshTokens?: RefreshTokenCreateNestedManyWithoutUserInput;++ @Field(() => CommentCreateNestedManyWithoutAuthorInput, { nullable: true })+ comments?: CommentCreateNestedManyWithoutAuthorInput;}diff --git a/server/src/api/@generated/user/user-order-by-with-relation.input.ts b/server/src/api/@generated/user/user-order-by-with-relation.input.tsindex b0a93239cc5..19de494dd42 100644--- a/server/src/api/@generated/user/user-order-by-with-relation.input.ts+++ b/server/src/api/@generated/user/user-order-by-with-relation.input.ts@@ -4,6 +4,7 @@ import { SortOrder } from '../prisma/sort-order.enum';import { WorkspaceMemberOrderByWithRelationInput } from '../workspace-member/workspace-member-order-by-with-relation.input';import { CompanyOrderByRelationAggregateInput } from '../company/company-order-by-relation-aggregate.input';import { RefreshTokenOrderByRelationAggregateInput } from '../refresh-token/refresh-token-order-by-relation-aggregate.input';+import { CommentOrderByRelationAggregateInput } from '../comment/comment-order-by-relation-aggregate.input';@InputType()export class UserOrderByWithRelationInput {@@ -50,11 +51,14 @@ export class UserOrderByWithRelationInput {metadata?: keyof typeof SortOrder;@Field(() => WorkspaceMemberOrderByWithRelationInput, { nullable: true })- WorkspaceMember?: WorkspaceMemberOrderByWithRelationInput;+ workspaceMember?: WorkspaceMemberOrderByWithRelationInput;@Field(() => CompanyOrderByRelationAggregateInput, { nullable: true })companies?: CompanyOrderByRelationAggregateInput;@Field(() => RefreshTokenOrderByRelationAggregateInput, { nullable: true })- RefreshTokens?: RefreshTokenOrderByRelationAggregateInput;+ refreshTokens?: RefreshTokenOrderByRelationAggregateInput;++ @Field(() => CommentOrderByRelationAggregateInput, { nullable: true })+ comments?: CommentOrderByRelationAggregateInput;}diff --git a/server/src/api/@generated/user/user-unchecked-create-without-comments.input.ts b/server/src/api/@generated/user/user-unchecked-create-without-comments.input.tsnew file mode 100644index 00000000000..ead84bd47f4--- /dev/null+++ b/server/src/api/@generated/user/user-unchecked-create-without-comments.input.ts@@ -0,0 +1,66 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { GraphQLJSON } from 'graphql-type-json';+import { WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput } from '../workspace-member/workspace-member-unchecked-create-nested-one-without-user.input';+import { CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput } from '../company/company-unchecked-create-nested-many-without-account-owner.input';+import { RefreshTokenUncheckedCreateNestedManyWithoutUserInput } from '../refresh-token/refresh-token-unchecked-create-nested-many-without-user.input';++@InputType()+export class UserUncheckedCreateWithoutCommentsInput {+ @Field(() => String, { nullable: false })+ id!: string;++ @Field(() => Date, { nullable: true })+ createdAt?: Date | string;++ @Field(() => Date, { nullable: true })+ updatedAt?: Date | string;++ @Field(() => Date, { nullable: true })+ deletedAt?: Date | string;++ @Field(() => Date, { nullable: true })+ lastSeen?: Date | string;++ @Field(() => Boolean, { nullable: true })+ disabled?: boolean;++ @Field(() => String, { nullable: false })+ displayName!: string;++ @Field(() => String, { nullable: false })+ email!: string;++ @Field(() => String, { nullable: true })+ avatarUrl?: string;++ @Field(() => String, { nullable: false })+ locale!: string;++ @Field(() => String, { nullable: true })+ phoneNumber?: string;++ @Field(() => String, { nullable: true })+ passwordHash?: string;++ @Field(() => Boolean, { nullable: true })+ emailVerified?: boolean;++ @Field(() => GraphQLJSON, { nullable: true })+ metadata?: any;++ @Field(() => WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput, {+ nullable: true,+ })+ workspaceMember?: WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput;++ @Field(() => CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput, {+ nullable: true,+ })+ companies?: CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput;++ @Field(() => RefreshTokenUncheckedCreateNestedManyWithoutUserInput, {+ nullable: true,+ })+ refreshTokens?: RefreshTokenUncheckedCreateNestedManyWithoutUserInput;+}diff --git a/server/src/api/@generated/user/user-unchecked-create-without-companies.input.ts b/server/src/api/@generated/user/user-unchecked-create-without-companies.input.tsindex 2ebb8430112..2f40176a5d1 100644--- a/server/src/api/@generated/user/user-unchecked-create-without-companies.input.ts+++ b/server/src/api/@generated/user/user-unchecked-create-without-companies.input.ts@@ -3,6 +3,7 @@ import { InputType } from '@nestjs/graphql';import { GraphQLJSON } from 'graphql-type-json';import { WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput } from '../workspace-member/workspace-member-unchecked-create-nested-one-without-user.input';import { RefreshTokenUncheckedCreateNestedManyWithoutUserInput } from '../refresh-token/refresh-token-unchecked-create-nested-many-without-user.input';+import { CommentUncheckedCreateNestedManyWithoutAuthorInput } from '../comment/comment-unchecked-create-nested-many-without-author.input';@InputType()export class UserUncheckedCreateWithoutCompaniesInput {@@ -51,10 +52,15 @@ export class UserUncheckedCreateWithoutCompaniesInput {@Field(() => WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput, {nullable: true,})- WorkspaceMember?: WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput;+ workspaceMember?: WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput;@Field(() => RefreshTokenUncheckedCreateNestedManyWithoutUserInput, {nullable: true,})- RefreshTokens?: RefreshTokenUncheckedCreateNestedManyWithoutUserInput;+ refreshTokens?: RefreshTokenUncheckedCreateNestedManyWithoutUserInput;++ @Field(() => CommentUncheckedCreateNestedManyWithoutAuthorInput, {+ nullable: true,+ })+ comments?: CommentUncheckedCreateNestedManyWithoutAuthorInput;}diff --git a/server/src/api/@generated/user/user-unchecked-create-without-refresh-tokens.input.ts b/server/src/api/@generated/user/user-unchecked-create-without-refresh-tokens.input.tsindex a8f3cc89fe5..7ace7a8db9d 100644--- a/server/src/api/@generated/user/user-unchecked-create-without-refresh-tokens.input.ts+++ b/server/src/api/@generated/user/user-unchecked-create-without-refresh-tokens.input.ts@@ -3,6 +3,7 @@ import { InputType } from '@nestjs/graphql';import { GraphQLJSON } from 'graphql-type-json';import { WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput } from '../workspace-member/workspace-member-unchecked-create-nested-one-without-user.input';import { CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput } from '../company/company-unchecked-create-nested-many-without-account-owner.input';+import { CommentUncheckedCreateNestedManyWithoutAuthorInput } from '../comment/comment-unchecked-create-nested-many-without-author.input';@InputType()export class UserUncheckedCreateWithoutRefreshTokensInput {@@ -51,10 +52,15 @@ export class UserUncheckedCreateWithoutRefreshTokensInput {@Field(() => WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput, {nullable: true,})- WorkspaceMember?: WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput;+ workspaceMember?: WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput;@Field(() => CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput, {nullable: true,})companies?: CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput;++ @Field(() => CommentUncheckedCreateNestedManyWithoutAuthorInput, {+ nullable: true,+ })+ comments?: CommentUncheckedCreateNestedManyWithoutAuthorInput;}diff --git a/server/src/api/@generated/user/user-unchecked-create-without-workspace-member.input.ts b/server/src/api/@generated/user/user-unchecked-create-without-workspace-member.input.tsindex 9fefdf39777..e8da0a013ea 100644--- a/server/src/api/@generated/user/user-unchecked-create-without-workspace-member.input.ts+++ b/server/src/api/@generated/user/user-unchecked-create-without-workspace-member.input.ts@@ -3,6 +3,7 @@ import { InputType } from '@nestjs/graphql';import { GraphQLJSON } from 'graphql-type-json';import { CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput } from '../company/company-unchecked-create-nested-many-without-account-owner.input';import { RefreshTokenUncheckedCreateNestedManyWithoutUserInput } from '../refresh-token/refresh-token-unchecked-create-nested-many-without-user.input';+import { CommentUncheckedCreateNestedManyWithoutAuthorInput } from '../comment/comment-unchecked-create-nested-many-without-author.input';@InputType()export class UserUncheckedCreateWithoutWorkspaceMemberInput {@@ -56,5 +57,10 @@ export class UserUncheckedCreateWithoutWorkspaceMemberInput {@Field(() => RefreshTokenUncheckedCreateNestedManyWithoutUserInput, {nullable: true,})- RefreshTokens?: RefreshTokenUncheckedCreateNestedManyWithoutUserInput;+ refreshTokens?: RefreshTokenUncheckedCreateNestedManyWithoutUserInput;++ @Field(() => CommentUncheckedCreateNestedManyWithoutAuthorInput, {+ nullable: true,+ })+ comments?: CommentUncheckedCreateNestedManyWithoutAuthorInput;}diff --git a/server/src/api/@generated/user/user-unchecked-create.input.ts b/server/src/api/@generated/user/user-unchecked-create.input.tsindex 0328b0b2a2a..351bab644ed 100644--- a/server/src/api/@generated/user/user-unchecked-create.input.ts+++ b/server/src/api/@generated/user/user-unchecked-create.input.ts@@ -4,6 +4,7 @@ import { GraphQLJSON } from 'graphql-type-json';import { WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput } from '../workspace-member/workspace-member-unchecked-create-nested-one-without-user.input';import { CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput } from '../company/company-unchecked-create-nested-many-without-account-owner.input';import { RefreshTokenUncheckedCreateNestedManyWithoutUserInput } from '../refresh-token/refresh-token-unchecked-create-nested-many-without-user.input';+import { CommentUncheckedCreateNestedManyWithoutAuthorInput } from '../comment/comment-unchecked-create-nested-many-without-author.input';@InputType()export class UserUncheckedCreateInput {@@ -52,7 +53,7 @@ export class UserUncheckedCreateInput {@Field(() => WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput, {nullable: true,})- WorkspaceMember?: WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput;+ workspaceMember?: WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput;@Field(() => CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput, {nullable: true,@@ -62,5 +63,10 @@ export class UserUncheckedCreateInput {@Field(() => RefreshTokenUncheckedCreateNestedManyWithoutUserInput, {nullable: true,})- RefreshTokens?: RefreshTokenUncheckedCreateNestedManyWithoutUserInput;+ refreshTokens?: RefreshTokenUncheckedCreateNestedManyWithoutUserInput;++ @Field(() => CommentUncheckedCreateNestedManyWithoutAuthorInput, {+ nullable: true,+ })+ comments?: CommentUncheckedCreateNestedManyWithoutAuthorInput;}diff --git a/server/src/api/@generated/user/user-unchecked-update-without-comments.input.ts b/server/src/api/@generated/user/user-unchecked-update-without-comments.input.tsnew file mode 100644index 00000000000..1cfbac99c40--- /dev/null+++ b/server/src/api/@generated/user/user-unchecked-update-without-comments.input.ts@@ -0,0 +1,71 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';+import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';+import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';+import { BoolFieldUpdateOperationsInput } from '../prisma/bool-field-update-operations.input';+import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input';+import { GraphQLJSON } from 'graphql-type-json';+import { WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput } from '../workspace-member/workspace-member-unchecked-update-one-without-user-nested.input';+import { CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput } from '../company/company-unchecked-update-many-without-account-owner-nested.input';+import { RefreshTokenUncheckedUpdateManyWithoutUserNestedInput } from '../refresh-token/refresh-token-unchecked-update-many-without-user-nested.input';++@InputType()+export class UserUncheckedUpdateWithoutCommentsInput {+ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ id?: StringFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ createdAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ updatedAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })+ deletedAt?: NullableDateTimeFieldUpdateOperationsInput;++ @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })+ lastSeen?: NullableDateTimeFieldUpdateOperationsInput;++ @Field(() => BoolFieldUpdateOperationsInput, { nullable: true })+ disabled?: BoolFieldUpdateOperationsInput;++ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ displayName?: StringFieldUpdateOperationsInput;++ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ email?: StringFieldUpdateOperationsInput;++ @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true })+ avatarUrl?: NullableStringFieldUpdateOperationsInput;++ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ locale?: StringFieldUpdateOperationsInput;++ @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true })+ phoneNumber?: NullableStringFieldUpdateOperationsInput;++ @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true })+ passwordHash?: NullableStringFieldUpdateOperationsInput;++ @Field(() => BoolFieldUpdateOperationsInput, { nullable: true })+ emailVerified?: BoolFieldUpdateOperationsInput;++ @Field(() => GraphQLJSON, { nullable: true })+ metadata?: any;++ @Field(() => WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput, {+ nullable: true,+ })+ workspaceMember?: WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput;++ @Field(() => CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput, {+ nullable: true,+ })+ companies?: CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput;++ @Field(() => RefreshTokenUncheckedUpdateManyWithoutUserNestedInput, {+ nullable: true,+ })+ refreshTokens?: RefreshTokenUncheckedUpdateManyWithoutUserNestedInput;+}diff --git a/server/src/api/@generated/user/user-unchecked-update-without-companies.input.ts b/server/src/api/@generated/user/user-unchecked-update-without-companies.input.tsindex 335e60dbb88..b49ec74703e 100644--- a/server/src/api/@generated/user/user-unchecked-update-without-companies.input.ts+++ b/server/src/api/@generated/user/user-unchecked-update-without-companies.input.ts@@ -8,6 +8,7 @@ import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-strimport { GraphQLJSON } from 'graphql-type-json';import { WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput } from '../workspace-member/workspace-member-unchecked-update-one-without-user-nested.input';import { RefreshTokenUncheckedUpdateManyWithoutUserNestedInput } from '../refresh-token/refresh-token-unchecked-update-many-without-user-nested.input';+import { CommentUncheckedUpdateManyWithoutAuthorNestedInput } from '../comment/comment-unchecked-update-many-without-author-nested.input';@InputType()export class UserUncheckedUpdateWithoutCompaniesInput {@@ -56,10 +57,15 @@ export class UserUncheckedUpdateWithoutCompaniesInput {@Field(() => WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput, {nullable: true,})- WorkspaceMember?: WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput;+ workspaceMember?: WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput;@Field(() => RefreshTokenUncheckedUpdateManyWithoutUserNestedInput, {nullable: true,})- RefreshTokens?: RefreshTokenUncheckedUpdateManyWithoutUserNestedInput;+ refreshTokens?: RefreshTokenUncheckedUpdateManyWithoutUserNestedInput;++ @Field(() => CommentUncheckedUpdateManyWithoutAuthorNestedInput, {+ nullable: true,+ })+ comments?: CommentUncheckedUpdateManyWithoutAuthorNestedInput;}diff --git a/server/src/api/@generated/user/user-unchecked-update-without-refresh-tokens.input.ts b/server/src/api/@generated/user/user-unchecked-update-without-refresh-tokens.input.tsindex ffb863733a7..876fd46f41d 100644--- a/server/src/api/@generated/user/user-unchecked-update-without-refresh-tokens.input.ts+++ b/server/src/api/@generated/user/user-unchecked-update-without-refresh-tokens.input.ts@@ -8,6 +8,7 @@ import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-strimport { GraphQLJSON } from 'graphql-type-json';import { WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput } from '../workspace-member/workspace-member-unchecked-update-one-without-user-nested.input';import { CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput } from '../company/company-unchecked-update-many-without-account-owner-nested.input';+import { CommentUncheckedUpdateManyWithoutAuthorNestedInput } from '../comment/comment-unchecked-update-many-without-author-nested.input';@InputType()export class UserUncheckedUpdateWithoutRefreshTokensInput {@@ -56,10 +57,15 @@ export class UserUncheckedUpdateWithoutRefreshTokensInput {@Field(() => WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput, {nullable: true,})- WorkspaceMember?: WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput;+ workspaceMember?: WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput;@Field(() => CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput, {nullable: true,})companies?: CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput;++ @Field(() => CommentUncheckedUpdateManyWithoutAuthorNestedInput, {+ nullable: true,+ })+ comments?: CommentUncheckedUpdateManyWithoutAuthorNestedInput;}diff --git a/server/src/api/@generated/user/user-unchecked-update-without-workspace-member.input.ts b/server/src/api/@generated/user/user-unchecked-update-without-workspace-member.input.tsindex 37241aea60e..f535aa03745 100644--- a/server/src/api/@generated/user/user-unchecked-update-without-workspace-member.input.ts+++ b/server/src/api/@generated/user/user-unchecked-update-without-workspace-member.input.ts@@ -8,6 +8,7 @@ import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-strimport { GraphQLJSON } from 'graphql-type-json';import { CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput } from '../company/company-unchecked-update-many-without-account-owner-nested.input';import { RefreshTokenUncheckedUpdateManyWithoutUserNestedInput } from '../refresh-token/refresh-token-unchecked-update-many-without-user-nested.input';+import { CommentUncheckedUpdateManyWithoutAuthorNestedInput } from '../comment/comment-unchecked-update-many-without-author-nested.input';@InputType()export class UserUncheckedUpdateWithoutWorkspaceMemberInput {@@ -61,5 +62,10 @@ export class UserUncheckedUpdateWithoutWorkspaceMemberInput {@Field(() => RefreshTokenUncheckedUpdateManyWithoutUserNestedInput, {nullable: true,})- RefreshTokens?: RefreshTokenUncheckedUpdateManyWithoutUserNestedInput;+ refreshTokens?: RefreshTokenUncheckedUpdateManyWithoutUserNestedInput;++ @Field(() => CommentUncheckedUpdateManyWithoutAuthorNestedInput, {+ nullable: true,+ })+ comments?: CommentUncheckedUpdateManyWithoutAuthorNestedInput;}diff --git a/server/src/api/@generated/user/user-unchecked-update.input.ts b/server/src/api/@generated/user/user-unchecked-update.input.tsindex dd44dc43d15..16ed47bb6e1 100644--- a/server/src/api/@generated/user/user-unchecked-update.input.ts+++ b/server/src/api/@generated/user/user-unchecked-update.input.ts@@ -9,6 +9,7 @@ import { GraphQLJSON } from 'graphql-type-json';import { WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput } from '../workspace-member/workspace-member-unchecked-update-one-without-user-nested.input';import { CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput } from '../company/company-unchecked-update-many-without-account-owner-nested.input';import { RefreshTokenUncheckedUpdateManyWithoutUserNestedInput } from '../refresh-token/refresh-token-unchecked-update-many-without-user-nested.input';+import { CommentUncheckedUpdateManyWithoutAuthorNestedInput } from '../comment/comment-unchecked-update-many-without-author-nested.input';@InputType()export class UserUncheckedUpdateInput {@@ -57,7 +58,7 @@ export class UserUncheckedUpdateInput {@Field(() => WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput, {nullable: true,})- WorkspaceMember?: WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput;+ workspaceMember?: WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput;@Field(() => CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput, {nullable: true,@@ -67,5 +68,10 @@ export class UserUncheckedUpdateInput {@Field(() => RefreshTokenUncheckedUpdateManyWithoutUserNestedInput, {nullable: true,})- RefreshTokens?: RefreshTokenUncheckedUpdateManyWithoutUserNestedInput;+ refreshTokens?: RefreshTokenUncheckedUpdateManyWithoutUserNestedInput;++ @Field(() => CommentUncheckedUpdateManyWithoutAuthorNestedInput, {+ nullable: true,+ })+ comments?: CommentUncheckedUpdateManyWithoutAuthorNestedInput;}diff --git a/server/src/api/@generated/user/user-update-one-required-without-comments-nested.input.ts b/server/src/api/@generated/user/user-update-one-required-without-comments-nested.input.tsnew file mode 100644index 00000000000..6114952efd6--- /dev/null+++ b/server/src/api/@generated/user/user-update-one-required-without-comments-nested.input.ts@@ -0,0 +1,31 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { UserCreateWithoutCommentsInput } from './user-create-without-comments.input';+import { Type } from 'class-transformer';+import { UserCreateOrConnectWithoutCommentsInput } from './user-create-or-connect-without-comments.input';+import { UserUpsertWithoutCommentsInput } from './user-upsert-without-comments.input';+import { UserWhereUniqueInput } from './user-where-unique.input';+import { UserUpdateWithoutCommentsInput } from './user-update-without-comments.input';++@InputType()+export class UserUpdateOneRequiredWithoutCommentsNestedInput {+ @Field(() => UserCreateWithoutCommentsInput, { nullable: true })+ @Type(() => UserCreateWithoutCommentsInput)+ create?: UserCreateWithoutCommentsInput;++ @Field(() => UserCreateOrConnectWithoutCommentsInput, { nullable: true })+ @Type(() => UserCreateOrConnectWithoutCommentsInput)+ connectOrCreate?: UserCreateOrConnectWithoutCommentsInput;++ @Field(() => UserUpsertWithoutCommentsInput, { nullable: true })+ @Type(() => UserUpsertWithoutCommentsInput)+ upsert?: UserUpsertWithoutCommentsInput;++ @Field(() => UserWhereUniqueInput, { nullable: true })+ @Type(() => UserWhereUniqueInput)+ connect?: UserWhereUniqueInput;++ @Field(() => UserUpdateWithoutCommentsInput, { nullable: true })+ @Type(() => UserUpdateWithoutCommentsInput)+ update?: UserUpdateWithoutCommentsInput;+}diff --git a/server/src/api/@generated/user/user-update-without-comments.input.ts b/server/src/api/@generated/user/user-update-without-comments.input.tsnew file mode 100644index 00000000000..e122b6c83c1--- /dev/null+++ b/server/src/api/@generated/user/user-update-without-comments.input.ts@@ -0,0 +1,69 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';+import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';+import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';+import { BoolFieldUpdateOperationsInput } from '../prisma/bool-field-update-operations.input';+import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input';+import { GraphQLJSON } from 'graphql-type-json';+import { WorkspaceMemberUpdateOneWithoutUserNestedInput } from '../workspace-member/workspace-member-update-one-without-user-nested.input';+import { CompanyUpdateManyWithoutAccountOwnerNestedInput } from '../company/company-update-many-without-account-owner-nested.input';+import { RefreshTokenUpdateManyWithoutUserNestedInput } from '../refresh-token/refresh-token-update-many-without-user-nested.input';++@InputType()+export class UserUpdateWithoutCommentsInput {+ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ id?: StringFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ createdAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ updatedAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })+ deletedAt?: NullableDateTimeFieldUpdateOperationsInput;++ @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })+ lastSeen?: NullableDateTimeFieldUpdateOperationsInput;++ @Field(() => BoolFieldUpdateOperationsInput, { nullable: true })+ disabled?: BoolFieldUpdateOperationsInput;++ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ displayName?: StringFieldUpdateOperationsInput;++ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ email?: StringFieldUpdateOperationsInput;++ @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true })+ avatarUrl?: NullableStringFieldUpdateOperationsInput;++ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ locale?: StringFieldUpdateOperationsInput;++ @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true })+ phoneNumber?: NullableStringFieldUpdateOperationsInput;++ @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true })+ passwordHash?: NullableStringFieldUpdateOperationsInput;++ @Field(() => BoolFieldUpdateOperationsInput, { nullable: true })+ emailVerified?: BoolFieldUpdateOperationsInput;++ @Field(() => GraphQLJSON, { nullable: true })+ metadata?: any;++ @Field(() => WorkspaceMemberUpdateOneWithoutUserNestedInput, {+ nullable: true,+ })+ workspaceMember?: WorkspaceMemberUpdateOneWithoutUserNestedInput;++ @Field(() => CompanyUpdateManyWithoutAccountOwnerNestedInput, {+ nullable: true,+ })+ companies?: CompanyUpdateManyWithoutAccountOwnerNestedInput;++ @Field(() => RefreshTokenUpdateManyWithoutUserNestedInput, { nullable: true })+ refreshTokens?: RefreshTokenUpdateManyWithoutUserNestedInput;+}diff --git a/server/src/api/@generated/user/user-update-without-companies.input.ts b/server/src/api/@generated/user/user-update-without-companies.input.tsindex cf4cd3a65c1..42506a4ebe0 100644--- a/server/src/api/@generated/user/user-update-without-companies.input.ts+++ b/server/src/api/@generated/user/user-update-without-companies.input.ts@@ -8,6 +8,7 @@ import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-strimport { GraphQLJSON } from 'graphql-type-json';import { WorkspaceMemberUpdateOneWithoutUserNestedInput } from '../workspace-member/workspace-member-update-one-without-user-nested.input';import { RefreshTokenUpdateManyWithoutUserNestedInput } from '../refresh-token/refresh-token-update-many-without-user-nested.input';+import { CommentUpdateManyWithoutAuthorNestedInput } from '../comment/comment-update-many-without-author-nested.input';@InputType()export class UserUpdateWithoutCompaniesInput {@@ -56,8 +57,11 @@ export class UserUpdateWithoutCompaniesInput {@Field(() => WorkspaceMemberUpdateOneWithoutUserNestedInput, {nullable: true,})- WorkspaceMember?: WorkspaceMemberUpdateOneWithoutUserNestedInput;+ workspaceMember?: WorkspaceMemberUpdateOneWithoutUserNestedInput;@Field(() => RefreshTokenUpdateManyWithoutUserNestedInput, { nullable: true })- RefreshTokens?: RefreshTokenUpdateManyWithoutUserNestedInput;+ refreshTokens?: RefreshTokenUpdateManyWithoutUserNestedInput;++ @Field(() => CommentUpdateManyWithoutAuthorNestedInput, { nullable: true })+ comments?: CommentUpdateManyWithoutAuthorNestedInput;}diff --git a/server/src/api/@generated/user/user-update-without-refresh-tokens.input.ts b/server/src/api/@generated/user/user-update-without-refresh-tokens.input.tsindex 0d05ad62460..1cdd1df8eb4 100644--- a/server/src/api/@generated/user/user-update-without-refresh-tokens.input.ts+++ b/server/src/api/@generated/user/user-update-without-refresh-tokens.input.ts@@ -8,6 +8,7 @@ import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-strimport { GraphQLJSON } from 'graphql-type-json';import { WorkspaceMemberUpdateOneWithoutUserNestedInput } from '../workspace-member/workspace-member-update-one-without-user-nested.input';import { CompanyUpdateManyWithoutAccountOwnerNestedInput } from '../company/company-update-many-without-account-owner-nested.input';+import { CommentUpdateManyWithoutAuthorNestedInput } from '../comment/comment-update-many-without-author-nested.input';@InputType()export class UserUpdateWithoutRefreshTokensInput {@@ -56,10 +57,13 @@ export class UserUpdateWithoutRefreshTokensInput {@Field(() => WorkspaceMemberUpdateOneWithoutUserNestedInput, {nullable: true,})- WorkspaceMember?: WorkspaceMemberUpdateOneWithoutUserNestedInput;+ workspaceMember?: WorkspaceMemberUpdateOneWithoutUserNestedInput;@Field(() => CompanyUpdateManyWithoutAccountOwnerNestedInput, {nullable: true,})companies?: CompanyUpdateManyWithoutAccountOwnerNestedInput;++ @Field(() => CommentUpdateManyWithoutAuthorNestedInput, { nullable: true })+ comments?: CommentUpdateManyWithoutAuthorNestedInput;}diff --git a/server/src/api/@generated/user/user-update-without-workspace-member.input.ts b/server/src/api/@generated/user/user-update-without-workspace-member.input.tsindex 670b2210c1c..93f65ea3e12 100644--- a/server/src/api/@generated/user/user-update-without-workspace-member.input.ts+++ b/server/src/api/@generated/user/user-update-without-workspace-member.input.ts@@ -8,6 +8,7 @@ import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-strimport { GraphQLJSON } from 'graphql-type-json';import { CompanyUpdateManyWithoutAccountOwnerNestedInput } from '../company/company-update-many-without-account-owner-nested.input';import { RefreshTokenUpdateManyWithoutUserNestedInput } from '../refresh-token/refresh-token-update-many-without-user-nested.input';+import { CommentUpdateManyWithoutAuthorNestedInput } from '../comment/comment-update-many-without-author-nested.input';@InputType()export class UserUpdateWithoutWorkspaceMemberInput {@@ -59,5 +60,8 @@ export class UserUpdateWithoutWorkspaceMemberInput {companies?: CompanyUpdateManyWithoutAccountOwnerNestedInput;@Field(() => RefreshTokenUpdateManyWithoutUserNestedInput, { nullable: true })- RefreshTokens?: RefreshTokenUpdateManyWithoutUserNestedInput;+ refreshTokens?: RefreshTokenUpdateManyWithoutUserNestedInput;++ @Field(() => CommentUpdateManyWithoutAuthorNestedInput, { nullable: true })+ comments?: CommentUpdateManyWithoutAuthorNestedInput;}diff --git a/server/src/api/@generated/user/user-update.input.ts b/server/src/api/@generated/user/user-update.input.tsindex a4d23fea539..f280246b837 100644--- a/server/src/api/@generated/user/user-update.input.ts+++ b/server/src/api/@generated/user/user-update.input.ts@@ -9,6 +9,7 @@ import { GraphQLJSON } from 'graphql-type-json';import { WorkspaceMemberUpdateOneWithoutUserNestedInput } from '../workspace-member/workspace-member-update-one-without-user-nested.input';import { CompanyUpdateManyWithoutAccountOwnerNestedInput } from '../company/company-update-many-without-account-owner-nested.input';import { RefreshTokenUpdateManyWithoutUserNestedInput } from '../refresh-token/refresh-token-update-many-without-user-nested.input';+import { CommentUpdateManyWithoutAuthorNestedInput } from '../comment/comment-update-many-without-author-nested.input';@InputType()export class UserUpdateInput {@@ -57,7 +58,7 @@ export class UserUpdateInput {@Field(() => WorkspaceMemberUpdateOneWithoutUserNestedInput, {nullable: true,})- WorkspaceMember?: WorkspaceMemberUpdateOneWithoutUserNestedInput;+ workspaceMember?: WorkspaceMemberUpdateOneWithoutUserNestedInput;@Field(() => CompanyUpdateManyWithoutAccountOwnerNestedInput, {nullable: true,@@ -65,5 +66,8 @@ export class UserUpdateInput {companies?: CompanyUpdateManyWithoutAccountOwnerNestedInput;@Field(() => RefreshTokenUpdateManyWithoutUserNestedInput, { nullable: true })- RefreshTokens?: RefreshTokenUpdateManyWithoutUserNestedInput;+ refreshTokens?: RefreshTokenUpdateManyWithoutUserNestedInput;++ @Field(() => CommentUpdateManyWithoutAuthorNestedInput, { nullable: true })+ comments?: CommentUpdateManyWithoutAuthorNestedInput;}diff --git a/server/src/api/@generated/user/user-upsert-without-comments.input.ts b/server/src/api/@generated/user/user-upsert-without-comments.input.tsnew file mode 100644index 00000000000..dda79ed1b77--- /dev/null+++ b/server/src/api/@generated/user/user-upsert-without-comments.input.ts@@ -0,0 +1,16 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { UserUpdateWithoutCommentsInput } from './user-update-without-comments.input';+import { Type } from 'class-transformer';+import { UserCreateWithoutCommentsInput } from './user-create-without-comments.input';++@InputType()+export class UserUpsertWithoutCommentsInput {+ @Field(() => UserUpdateWithoutCommentsInput, { nullable: false })+ @Type(() => UserUpdateWithoutCommentsInput)+ update!: UserUpdateWithoutCommentsInput;++ @Field(() => UserCreateWithoutCommentsInput, { nullable: false })+ @Type(() => UserCreateWithoutCommentsInput)+ create!: UserCreateWithoutCommentsInput;+}diff --git a/server/src/api/@generated/user/user-where.input.ts b/server/src/api/@generated/user/user-where.input.tsindex c23d732f104..459c1cbadfa 100644--- a/server/src/api/@generated/user/user-where.input.ts+++ b/server/src/api/@generated/user/user-where.input.ts@@ -9,6 +9,7 @@ import { JsonNullableFilter } from '../prisma/json-nullable-filter.input';import { WorkspaceMemberRelationFilter } from '../workspace-member/workspace-member-relation-filter.input';import { CompanyListRelationFilter } from '../company/company-list-relation-filter.input';import { RefreshTokenListRelationFilter } from '../refresh-token/refresh-token-list-relation-filter.input';+import { CommentListRelationFilter } from '../comment/comment-list-relation-filter.input';@InputType()export class UserWhereInput {@@ -64,11 +65,14 @@ export class UserWhereInput {metadata?: JsonNullableFilter;@Field(() => WorkspaceMemberRelationFilter, { nullable: true })- WorkspaceMember?: WorkspaceMemberRelationFilter;+ workspaceMember?: WorkspaceMemberRelationFilter;@Field(() => CompanyListRelationFilter, { nullable: true })companies?: CompanyListRelationFilter;@Field(() => RefreshTokenListRelationFilter, { nullable: true })- RefreshTokens?: RefreshTokenListRelationFilter;+ refreshTokens?: RefreshTokenListRelationFilter;++ @Field(() => CommentListRelationFilter, { nullable: true })+ comments?: CommentListRelationFilter;}diff --git a/server/src/api/@generated/user/user.model.ts b/server/src/api/@generated/user/user.model.tsindex 92bcda0594a..a19d5faf559 100644--- a/server/src/api/@generated/user/user.model.ts+++ b/server/src/api/@generated/user/user.model.ts@@ -5,6 +5,7 @@ import { GraphQLJSON } from 'graphql-type-json';import { WorkspaceMember } from '../workspace-member/workspace-member.model';import { Company } from '../company/company.model';import { RefreshToken } from '../refresh-token/refresh-token.model';+import { Comment } from '../comment/comment.model';import { UserCount } from './user-count.output';@ObjectType()@@ -52,13 +53,16 @@ export class User {metadata!: any | null;@Field(() => WorkspaceMember, { nullable: true })- WorkspaceMember?: WorkspaceMember | null;+ workspaceMember?: WorkspaceMember | null;@Field(() => [Company], { nullable: true })companies?: Array<Company>;@Field(() => [RefreshToken], { nullable: true })- RefreshTokens?: Array<RefreshToken>;+ refreshTokens?: Array<RefreshToken>;++ @Field(() => [Comment], { nullable: true })+ comments?: Array<Comment>;@Field(() => UserCount, { nullable: false })_count?: UserCount;diff --git a/server/src/api/@generated/workspace/workspace-count.output.ts b/server/src/api/@generated/workspace/workspace-count.output.tsindex 3080082c114..b3b9d47bebd 100644--- a/server/src/api/@generated/workspace/workspace-count.output.ts+++ b/server/src/api/@generated/workspace/workspace-count.output.ts@@ -5,11 +5,17 @@ import { Int } from '@nestjs/graphql';@ObjectType()export class WorkspaceCount {@Field(() => Int, { nullable: false })- WorkspaceMember?: number;+ workspaceMember?: number;@Field(() => Int, { nullable: false })companies?: number;@Field(() => Int, { nullable: false })people?: number;++ @Field(() => Int, { nullable: false })+ commentThreads?: number;++ @Field(() => Int, { nullable: false })+ comments?: number;}diff --git a/server/src/api/@generated/workspace/workspace-create-nested-one-without-comment-threads.input.ts b/server/src/api/@generated/workspace/workspace-create-nested-one-without-comment-threads.input.tsnew file mode 100644index 00000000000..d8eb9861ee9--- /dev/null+++ b/server/src/api/@generated/workspace/workspace-create-nested-one-without-comment-threads.input.ts@@ -0,0 +1,23 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { WorkspaceCreateWithoutCommentThreadsInput } from './workspace-create-without-comment-threads.input';+import { Type } from 'class-transformer';+import { WorkspaceCreateOrConnectWithoutCommentThreadsInput } from './workspace-create-or-connect-without-comment-threads.input';+import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input';++@InputType()+export class WorkspaceCreateNestedOneWithoutCommentThreadsInput {+ @Field(() => WorkspaceCreateWithoutCommentThreadsInput, { nullable: true })+ @Type(() => WorkspaceCreateWithoutCommentThreadsInput)+ create?: WorkspaceCreateWithoutCommentThreadsInput;++ @Field(() => WorkspaceCreateOrConnectWithoutCommentThreadsInput, {+ nullable: true,+ })+ @Type(() => WorkspaceCreateOrConnectWithoutCommentThreadsInput)+ connectOrCreate?: WorkspaceCreateOrConnectWithoutCommentThreadsInput;++ @Field(() => WorkspaceWhereUniqueInput, { nullable: true })+ @Type(() => WorkspaceWhereUniqueInput)+ connect?: WorkspaceWhereUniqueInput;+}diff --git a/server/src/api/@generated/workspace/workspace-create-nested-one-without-comments.input.ts b/server/src/api/@generated/workspace/workspace-create-nested-one-without-comments.input.tsnew file mode 100644index 00000000000..8ab54cca819--- /dev/null+++ b/server/src/api/@generated/workspace/workspace-create-nested-one-without-comments.input.ts@@ -0,0 +1,21 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { WorkspaceCreateWithoutCommentsInput } from './workspace-create-without-comments.input';+import { Type } from 'class-transformer';+import { WorkspaceCreateOrConnectWithoutCommentsInput } from './workspace-create-or-connect-without-comments.input';+import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input';++@InputType()+export class WorkspaceCreateNestedOneWithoutCommentsInput {+ @Field(() => WorkspaceCreateWithoutCommentsInput, { nullable: true })+ @Type(() => WorkspaceCreateWithoutCommentsInput)+ create?: WorkspaceCreateWithoutCommentsInput;++ @Field(() => WorkspaceCreateOrConnectWithoutCommentsInput, { nullable: true })+ @Type(() => WorkspaceCreateOrConnectWithoutCommentsInput)+ connectOrCreate?: WorkspaceCreateOrConnectWithoutCommentsInput;++ @Field(() => WorkspaceWhereUniqueInput, { nullable: true })+ @Type(() => WorkspaceWhereUniqueInput)+ connect?: WorkspaceWhereUniqueInput;+}diff --git a/server/src/api/@generated/workspace/workspace-create-or-connect-without-comment-threads.input.ts b/server/src/api/@generated/workspace/workspace-create-or-connect-without-comment-threads.input.tsnew file mode 100644index 00000000000..5b4b63c1b7d--- /dev/null+++ b/server/src/api/@generated/workspace/workspace-create-or-connect-without-comment-threads.input.ts@@ -0,0 +1,16 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input';+import { Type } from 'class-transformer';+import { WorkspaceCreateWithoutCommentThreadsInput } from './workspace-create-without-comment-threads.input';++@InputType()+export class WorkspaceCreateOrConnectWithoutCommentThreadsInput {+ @Field(() => WorkspaceWhereUniqueInput, { nullable: false })+ @Type(() => WorkspaceWhereUniqueInput)+ where!: WorkspaceWhereUniqueInput;++ @Field(() => WorkspaceCreateWithoutCommentThreadsInput, { nullable: false })+ @Type(() => WorkspaceCreateWithoutCommentThreadsInput)+ create!: WorkspaceCreateWithoutCommentThreadsInput;+}diff --git a/server/src/api/@generated/workspace/workspace-create-or-connect-without-comments.input.ts b/server/src/api/@generated/workspace/workspace-create-or-connect-without-comments.input.tsnew file mode 100644index 00000000000..9e03e276ea4--- /dev/null+++ b/server/src/api/@generated/workspace/workspace-create-or-connect-without-comments.input.ts@@ -0,0 +1,16 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input';+import { Type } from 'class-transformer';+import { WorkspaceCreateWithoutCommentsInput } from './workspace-create-without-comments.input';++@InputType()+export class WorkspaceCreateOrConnectWithoutCommentsInput {+ @Field(() => WorkspaceWhereUniqueInput, { nullable: false })+ @Type(() => WorkspaceWhereUniqueInput)+ where!: WorkspaceWhereUniqueInput;++ @Field(() => WorkspaceCreateWithoutCommentsInput, { nullable: false })+ @Type(() => WorkspaceCreateWithoutCommentsInput)+ create!: WorkspaceCreateWithoutCommentsInput;+}diff --git a/server/src/api/@generated/workspace/workspace-create-without-comment-threads.input.ts b/server/src/api/@generated/workspace/workspace-create-without-comment-threads.input.tsnew file mode 100644index 00000000000..317967d1eff--- /dev/null+++ b/server/src/api/@generated/workspace/workspace-create-without-comment-threads.input.ts@@ -0,0 +1,44 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { WorkspaceMemberCreateNestedManyWithoutWorkspaceInput } from '../workspace-member/workspace-member-create-nested-many-without-workspace.input';+import { CompanyCreateNestedManyWithoutWorkspaceInput } from '../company/company-create-nested-many-without-workspace.input';+import { PersonCreateNestedManyWithoutWorkspaceInput } from '../person/person-create-nested-many-without-workspace.input';+import { CommentCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-create-nested-many-without-workspace.input';++@InputType()+export class WorkspaceCreateWithoutCommentThreadsInput {+ @Field(() => String, { nullable: false })+ id!: string;++ @Field(() => Date, { nullable: true })+ createdAt?: Date | string;++ @Field(() => Date, { nullable: true })+ updatedAt?: Date | string;++ @Field(() => Date, { nullable: true })+ deletedAt?: Date | string;++ @Field(() => String, { nullable: false })+ domainName!: string;++ @Field(() => String, { nullable: false })+ displayName!: string;++ @Field(() => String, { nullable: true })+ logo?: string;++ @Field(() => WorkspaceMemberCreateNestedManyWithoutWorkspaceInput, {+ nullable: true,+ })+ workspaceMember?: WorkspaceMemberCreateNestedManyWithoutWorkspaceInput;++ @Field(() => CompanyCreateNestedManyWithoutWorkspaceInput, { nullable: true })+ companies?: CompanyCreateNestedManyWithoutWorkspaceInput;++ @Field(() => PersonCreateNestedManyWithoutWorkspaceInput, { nullable: true })+ people?: PersonCreateNestedManyWithoutWorkspaceInput;++ @Field(() => CommentCreateNestedManyWithoutWorkspaceInput, { nullable: true })+ comments?: CommentCreateNestedManyWithoutWorkspaceInput;+}diff --git a/server/src/api/@generated/workspace/workspace-create-without-comments.input.ts b/server/src/api/@generated/workspace/workspace-create-without-comments.input.tsnew file mode 100644index 00000000000..273dc80a943--- /dev/null+++ b/server/src/api/@generated/workspace/workspace-create-without-comments.input.ts@@ -0,0 +1,46 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { WorkspaceMemberCreateNestedManyWithoutWorkspaceInput } from '../workspace-member/workspace-member-create-nested-many-without-workspace.input';+import { CompanyCreateNestedManyWithoutWorkspaceInput } from '../company/company-create-nested-many-without-workspace.input';+import { PersonCreateNestedManyWithoutWorkspaceInput } from '../person/person-create-nested-many-without-workspace.input';+import { CommentThreadCreateNestedManyWithoutWorkspaceInput } from '../comment-thread/comment-thread-create-nested-many-without-workspace.input';++@InputType()+export class WorkspaceCreateWithoutCommentsInput {+ @Field(() => String, { nullable: false })+ id!: string;++ @Field(() => Date, { nullable: true })+ createdAt?: Date | string;++ @Field(() => Date, { nullable: true })+ updatedAt?: Date | string;++ @Field(() => Date, { nullable: true })+ deletedAt?: Date | string;++ @Field(() => String, { nullable: false })+ domainName!: string;++ @Field(() => String, { nullable: false })+ displayName!: string;++ @Field(() => String, { nullable: true })+ logo?: string;++ @Field(() => WorkspaceMemberCreateNestedManyWithoutWorkspaceInput, {+ nullable: true,+ })+ workspaceMember?: WorkspaceMemberCreateNestedManyWithoutWorkspaceInput;++ @Field(() => CompanyCreateNestedManyWithoutWorkspaceInput, { nullable: true })+ companies?: CompanyCreateNestedManyWithoutWorkspaceInput;++ @Field(() => PersonCreateNestedManyWithoutWorkspaceInput, { nullable: true })+ people?: PersonCreateNestedManyWithoutWorkspaceInput;++ @Field(() => CommentThreadCreateNestedManyWithoutWorkspaceInput, {+ nullable: true,+ })+ commentThreads?: CommentThreadCreateNestedManyWithoutWorkspaceInput;+}diff --git a/server/src/api/@generated/workspace/workspace-create-without-companies.input.ts b/server/src/api/@generated/workspace/workspace-create-without-companies.input.tsindex 075161c7086..fc5ee7c91eb 100644--- a/server/src/api/@generated/workspace/workspace-create-without-companies.input.ts+++ b/server/src/api/@generated/workspace/workspace-create-without-companies.input.ts@@ -2,6 +2,8 @@ import { Field } from '@nestjs/graphql';import { InputType } from '@nestjs/graphql';import { WorkspaceMemberCreateNestedManyWithoutWorkspaceInput } from '../workspace-member/workspace-member-create-nested-many-without-workspace.input';import { PersonCreateNestedManyWithoutWorkspaceInput } from '../person/person-create-nested-many-without-workspace.input';+import { CommentThreadCreateNestedManyWithoutWorkspaceInput } from '../comment-thread/comment-thread-create-nested-many-without-workspace.input';+import { CommentCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-create-nested-many-without-workspace.input';@InputType()export class WorkspaceCreateWithoutCompaniesInput {@@ -29,8 +31,16 @@ export class WorkspaceCreateWithoutCompaniesInput {@Field(() => WorkspaceMemberCreateNestedManyWithoutWorkspaceInput, {nullable: true,})- WorkspaceMember?: WorkspaceMemberCreateNestedManyWithoutWorkspaceInput;+ workspaceMember?: WorkspaceMemberCreateNestedManyWithoutWorkspaceInput;@Field(() => PersonCreateNestedManyWithoutWorkspaceInput, { nullable: true })people?: PersonCreateNestedManyWithoutWorkspaceInput;++ @Field(() => CommentThreadCreateNestedManyWithoutWorkspaceInput, {+ nullable: true,+ })+ commentThreads?: CommentThreadCreateNestedManyWithoutWorkspaceInput;++ @Field(() => CommentCreateNestedManyWithoutWorkspaceInput, { nullable: true })+ comments?: CommentCreateNestedManyWithoutWorkspaceInput;}diff --git a/server/src/api/@generated/workspace/workspace-create-without-people.input.ts b/server/src/api/@generated/workspace/workspace-create-without-people.input.tsindex a2268f8b703..f38f64c25b1 100644--- a/server/src/api/@generated/workspace/workspace-create-without-people.input.ts+++ b/server/src/api/@generated/workspace/workspace-create-without-people.input.ts@@ -2,6 +2,8 @@ import { Field } from '@nestjs/graphql';import { InputType } from '@nestjs/graphql';import { WorkspaceMemberCreateNestedManyWithoutWorkspaceInput } from '../workspace-member/workspace-member-create-nested-many-without-workspace.input';import { CompanyCreateNestedManyWithoutWorkspaceInput } from '../company/company-create-nested-many-without-workspace.input';+import { CommentThreadCreateNestedManyWithoutWorkspaceInput } from '../comment-thread/comment-thread-create-nested-many-without-workspace.input';+import { CommentCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-create-nested-many-without-workspace.input';@InputType()export class WorkspaceCreateWithoutPeopleInput {@@ -29,8 +31,16 @@ export class WorkspaceCreateWithoutPeopleInput {@Field(() => WorkspaceMemberCreateNestedManyWithoutWorkspaceInput, {nullable: true,})- WorkspaceMember?: WorkspaceMemberCreateNestedManyWithoutWorkspaceInput;+ workspaceMember?: WorkspaceMemberCreateNestedManyWithoutWorkspaceInput;@Field(() => CompanyCreateNestedManyWithoutWorkspaceInput, { nullable: true })companies?: CompanyCreateNestedManyWithoutWorkspaceInput;++ @Field(() => CommentThreadCreateNestedManyWithoutWorkspaceInput, {+ nullable: true,+ })+ commentThreads?: CommentThreadCreateNestedManyWithoutWorkspaceInput;++ @Field(() => CommentCreateNestedManyWithoutWorkspaceInput, { nullable: true })+ comments?: CommentCreateNestedManyWithoutWorkspaceInput;}diff --git a/server/src/api/@generated/workspace/workspace-create-without-workspace-member.input.ts b/server/src/api/@generated/workspace/workspace-create-without-workspace-member.input.tsindex be5c1194c34..9d8a2576ca7 100644--- a/server/src/api/@generated/workspace/workspace-create-without-workspace-member.input.ts+++ b/server/src/api/@generated/workspace/workspace-create-without-workspace-member.input.ts@@ -2,6 +2,8 @@ import { Field } from '@nestjs/graphql';import { InputType } from '@nestjs/graphql';import { CompanyCreateNestedManyWithoutWorkspaceInput } from '../company/company-create-nested-many-without-workspace.input';import { PersonCreateNestedManyWithoutWorkspaceInput } from '../person/person-create-nested-many-without-workspace.input';+import { CommentThreadCreateNestedManyWithoutWorkspaceInput } from '../comment-thread/comment-thread-create-nested-many-without-workspace.input';+import { CommentCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-create-nested-many-without-workspace.input';@InputType()export class WorkspaceCreateWithoutWorkspaceMemberInput {@@ -31,4 +33,12 @@ export class WorkspaceCreateWithoutWorkspaceMemberInput {@Field(() => PersonCreateNestedManyWithoutWorkspaceInput, { nullable: true })people?: PersonCreateNestedManyWithoutWorkspaceInput;++ @Field(() => CommentThreadCreateNestedManyWithoutWorkspaceInput, {+ nullable: true,+ })+ commentThreads?: CommentThreadCreateNestedManyWithoutWorkspaceInput;++ @Field(() => CommentCreateNestedManyWithoutWorkspaceInput, { nullable: true })+ comments?: CommentCreateNestedManyWithoutWorkspaceInput;}diff --git a/server/src/api/@generated/workspace/workspace-create.input.ts b/server/src/api/@generated/workspace/workspace-create.input.tsindex 426d15cf073..9f95fa7bf43 100644--- a/server/src/api/@generated/workspace/workspace-create.input.ts+++ b/server/src/api/@generated/workspace/workspace-create.input.ts@@ -3,6 +3,8 @@ import { InputType } from '@nestjs/graphql';import { WorkspaceMemberCreateNestedManyWithoutWorkspaceInput } from '../workspace-member/workspace-member-create-nested-many-without-workspace.input';import { CompanyCreateNestedManyWithoutWorkspaceInput } from '../company/company-create-nested-many-without-workspace.input';import { PersonCreateNestedManyWithoutWorkspaceInput } from '../person/person-create-nested-many-without-workspace.input';+import { CommentThreadCreateNestedManyWithoutWorkspaceInput } from '../comment-thread/comment-thread-create-nested-many-without-workspace.input';+import { CommentCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-create-nested-many-without-workspace.input';@InputType()export class WorkspaceCreateInput {@@ -30,11 +32,19 @@ export class WorkspaceCreateInput {@Field(() => WorkspaceMemberCreateNestedManyWithoutWorkspaceInput, {nullable: true,})- WorkspaceMember?: WorkspaceMemberCreateNestedManyWithoutWorkspaceInput;+ workspaceMember?: WorkspaceMemberCreateNestedManyWithoutWorkspaceInput;@Field(() => CompanyCreateNestedManyWithoutWorkspaceInput, { nullable: true })companies?: CompanyCreateNestedManyWithoutWorkspaceInput;@Field(() => PersonCreateNestedManyWithoutWorkspaceInput, { nullable: true })people?: PersonCreateNestedManyWithoutWorkspaceInput;++ @Field(() => CommentThreadCreateNestedManyWithoutWorkspaceInput, {+ nullable: true,+ })+ commentThreads?: CommentThreadCreateNestedManyWithoutWorkspaceInput;++ @Field(() => CommentCreateNestedManyWithoutWorkspaceInput, { nullable: true })+ comments?: CommentCreateNestedManyWithoutWorkspaceInput;}diff --git a/server/src/api/@generated/workspace/workspace-order-by-with-relation.input.ts b/server/src/api/@generated/workspace/workspace-order-by-with-relation.input.tsindex dfd0b1dffcf..f49c85a5e1a 100644--- a/server/src/api/@generated/workspace/workspace-order-by-with-relation.input.ts+++ b/server/src/api/@generated/workspace/workspace-order-by-with-relation.input.ts@@ -4,6 +4,8 @@ import { SortOrder } from '../prisma/sort-order.enum';import { WorkspaceMemberOrderByRelationAggregateInput } from '../workspace-member/workspace-member-order-by-relation-aggregate.input';import { CompanyOrderByRelationAggregateInput } from '../company/company-order-by-relation-aggregate.input';import { PersonOrderByRelationAggregateInput } from '../person/person-order-by-relation-aggregate.input';+import { CommentThreadOrderByRelationAggregateInput } from '../comment-thread/comment-thread-order-by-relation-aggregate.input';+import { CommentOrderByRelationAggregateInput } from '../comment/comment-order-by-relation-aggregate.input';@InputType()export class WorkspaceOrderByWithRelationInput {@@ -29,11 +31,17 @@ export class WorkspaceOrderByWithRelationInput {logo?: keyof typeof SortOrder;@Field(() => WorkspaceMemberOrderByRelationAggregateInput, { nullable: true })- WorkspaceMember?: WorkspaceMemberOrderByRelationAggregateInput;+ workspaceMember?: WorkspaceMemberOrderByRelationAggregateInput;@Field(() => CompanyOrderByRelationAggregateInput, { nullable: true })companies?: CompanyOrderByRelationAggregateInput;@Field(() => PersonOrderByRelationAggregateInput, { nullable: true })people?: PersonOrderByRelationAggregateInput;++ @Field(() => CommentThreadOrderByRelationAggregateInput, { nullable: true })+ commentThreads?: CommentThreadOrderByRelationAggregateInput;++ @Field(() => CommentOrderByRelationAggregateInput, { nullable: true })+ comments?: CommentOrderByRelationAggregateInput;}diff --git a/server/src/api/@generated/workspace/workspace-unchecked-create-without-comment-threads.input.ts b/server/src/api/@generated/workspace/workspace-unchecked-create-without-comment-threads.input.tsnew file mode 100644index 00000000000..c28e1a480f9--- /dev/null+++ b/server/src/api/@generated/workspace/workspace-unchecked-create-without-comment-threads.input.ts@@ -0,0 +1,50 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput } from '../workspace-member/workspace-member-unchecked-create-nested-many-without-workspace.input';+import { CompanyUncheckedCreateNestedManyWithoutWorkspaceInput } from '../company/company-unchecked-create-nested-many-without-workspace.input';+import { PersonUncheckedCreateNestedManyWithoutWorkspaceInput } from '../person/person-unchecked-create-nested-many-without-workspace.input';+import { CommentUncheckedCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-unchecked-create-nested-many-without-workspace.input';++@InputType()+export class WorkspaceUncheckedCreateWithoutCommentThreadsInput {+ @Field(() => String, { nullable: false })+ id!: string;++ @Field(() => Date, { nullable: true })+ createdAt?: Date | string;++ @Field(() => Date, { nullable: true })+ updatedAt?: Date | string;++ @Field(() => Date, { nullable: true })+ deletedAt?: Date | string;++ @Field(() => String, { nullable: false })+ domainName!: string;++ @Field(() => String, { nullable: false })+ displayName!: string;++ @Field(() => String, { nullable: true })+ logo?: string;++ @Field(() => WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput, {+ nullable: true,+ })+ workspaceMember?: WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput;++ @Field(() => CompanyUncheckedCreateNestedManyWithoutWorkspaceInput, {+ nullable: true,+ })+ companies?: CompanyUncheckedCreateNestedManyWithoutWorkspaceInput;++ @Field(() => PersonUncheckedCreateNestedManyWithoutWorkspaceInput, {+ nullable: true,+ })+ people?: PersonUncheckedCreateNestedManyWithoutWorkspaceInput;++ @Field(() => CommentUncheckedCreateNestedManyWithoutWorkspaceInput, {+ nullable: true,+ })+ comments?: CommentUncheckedCreateNestedManyWithoutWorkspaceInput;+}diff --git a/server/src/api/@generated/workspace/workspace-unchecked-create-without-comments.input.ts b/server/src/api/@generated/workspace/workspace-unchecked-create-without-comments.input.tsnew file mode 100644index 00000000000..35179d92688--- /dev/null+++ b/server/src/api/@generated/workspace/workspace-unchecked-create-without-comments.input.ts@@ -0,0 +1,50 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput } from '../workspace-member/workspace-member-unchecked-create-nested-many-without-workspace.input';+import { CompanyUncheckedCreateNestedManyWithoutWorkspaceInput } from '../company/company-unchecked-create-nested-many-without-workspace.input';+import { PersonUncheckedCreateNestedManyWithoutWorkspaceInput } from '../person/person-unchecked-create-nested-many-without-workspace.input';+import { CommentThreadUncheckedCreateNestedManyWithoutWorkspaceInput } from '../comment-thread/comment-thread-unchecked-create-nested-many-without-workspace.input';++@InputType()+export class WorkspaceUncheckedCreateWithoutCommentsInput {+ @Field(() => String, { nullable: false })+ id!: string;++ @Field(() => Date, { nullable: true })+ createdAt?: Date | string;++ @Field(() => Date, { nullable: true })+ updatedAt?: Date | string;++ @Field(() => Date, { nullable: true })+ deletedAt?: Date | string;++ @Field(() => String, { nullable: false })+ domainName!: string;++ @Field(() => String, { nullable: false })+ displayName!: string;++ @Field(() => String, { nullable: true })+ logo?: string;++ @Field(() => WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput, {+ nullable: true,+ })+ workspaceMember?: WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput;++ @Field(() => CompanyUncheckedCreateNestedManyWithoutWorkspaceInput, {+ nullable: true,+ })+ companies?: CompanyUncheckedCreateNestedManyWithoutWorkspaceInput;++ @Field(() => PersonUncheckedCreateNestedManyWithoutWorkspaceInput, {+ nullable: true,+ })+ people?: PersonUncheckedCreateNestedManyWithoutWorkspaceInput;++ @Field(() => CommentThreadUncheckedCreateNestedManyWithoutWorkspaceInput, {+ nullable: true,+ })+ commentThreads?: CommentThreadUncheckedCreateNestedManyWithoutWorkspaceInput;+}diff --git a/server/src/api/@generated/workspace/workspace-unchecked-create-without-companies.input.ts b/server/src/api/@generated/workspace/workspace-unchecked-create-without-companies.input.tsindex f9104a2a715..2211365531f 100644--- a/server/src/api/@generated/workspace/workspace-unchecked-create-without-companies.input.ts+++ b/server/src/api/@generated/workspace/workspace-unchecked-create-without-companies.input.ts@@ -2,6 +2,8 @@ import { Field } from '@nestjs/graphql';import { InputType } from '@nestjs/graphql';import { WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput } from '../workspace-member/workspace-member-unchecked-create-nested-many-without-workspace.input';import { PersonUncheckedCreateNestedManyWithoutWorkspaceInput } from '../person/person-unchecked-create-nested-many-without-workspace.input';+import { CommentThreadUncheckedCreateNestedManyWithoutWorkspaceInput } from '../comment-thread/comment-thread-unchecked-create-nested-many-without-workspace.input';+import { CommentUncheckedCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-unchecked-create-nested-many-without-workspace.input';@InputType()export class WorkspaceUncheckedCreateWithoutCompaniesInput {@@ -29,10 +31,20 @@ export class WorkspaceUncheckedCreateWithoutCompaniesInput {@Field(() => WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable: true,})- WorkspaceMember?: WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput;+ workspaceMember?: WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput;@Field(() => PersonUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable: true,})people?: PersonUncheckedCreateNestedManyWithoutWorkspaceInput;++ @Field(() => CommentThreadUncheckedCreateNestedManyWithoutWorkspaceInput, {+ nullable: true,+ })+ commentThreads?: CommentThreadUncheckedCreateNestedManyWithoutWorkspaceInput;++ @Field(() => CommentUncheckedCreateNestedManyWithoutWorkspaceInput, {+ nullable: true,+ })+ comments?: CommentUncheckedCreateNestedManyWithoutWorkspaceInput;}diff --git a/server/src/api/@generated/workspace/workspace-unchecked-create-without-people.input.ts b/server/src/api/@generated/workspace/workspace-unchecked-create-without-people.input.tsindex 76b6cad7c9b..45b35f827e3 100644--- a/server/src/api/@generated/workspace/workspace-unchecked-create-without-people.input.ts+++ b/server/src/api/@generated/workspace/workspace-unchecked-create-without-people.input.ts@@ -2,6 +2,8 @@ import { Field } from '@nestjs/graphql';import { InputType } from '@nestjs/graphql';import { WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput } from '../workspace-member/workspace-member-unchecked-create-nested-many-without-workspace.input';import { CompanyUncheckedCreateNestedManyWithoutWorkspaceInput } from '../company/company-unchecked-create-nested-many-without-workspace.input';+import { CommentThreadUncheckedCreateNestedManyWithoutWorkspaceInput } from '../comment-thread/comment-thread-unchecked-create-nested-many-without-workspace.input';+import { CommentUncheckedCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-unchecked-create-nested-many-without-workspace.input';@InputType()export class WorkspaceUncheckedCreateWithoutPeopleInput {@@ -29,10 +31,20 @@ export class WorkspaceUncheckedCreateWithoutPeopleInput {@Field(() => WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable: true,})- WorkspaceMember?: WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput;+ workspaceMember?: WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput;@Field(() => CompanyUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable: true,})companies?: CompanyUncheckedCreateNestedManyWithoutWorkspaceInput;++ @Field(() => CommentThreadUncheckedCreateNestedManyWithoutWorkspaceInput, {+ nullable: true,+ })+ commentThreads?: CommentThreadUncheckedCreateNestedManyWithoutWorkspaceInput;++ @Field(() => CommentUncheckedCreateNestedManyWithoutWorkspaceInput, {+ nullable: true,+ })+ comments?: CommentUncheckedCreateNestedManyWithoutWorkspaceInput;}diff --git a/server/src/api/@generated/workspace/workspace-unchecked-create-without-workspace-member.input.ts b/server/src/api/@generated/workspace/workspace-unchecked-create-without-workspace-member.input.tsindex 80e8bc7aad0..bfde88e5e23 100644--- a/server/src/api/@generated/workspace/workspace-unchecked-create-without-workspace-member.input.ts+++ b/server/src/api/@generated/workspace/workspace-unchecked-create-without-workspace-member.input.ts@@ -2,6 +2,8 @@ import { Field } from '@nestjs/graphql';import { InputType } from '@nestjs/graphql';import { CompanyUncheckedCreateNestedManyWithoutWorkspaceInput } from '../company/company-unchecked-create-nested-many-without-workspace.input';import { PersonUncheckedCreateNestedManyWithoutWorkspaceInput } from '../person/person-unchecked-create-nested-many-without-workspace.input';+import { CommentThreadUncheckedCreateNestedManyWithoutWorkspaceInput } from '../comment-thread/comment-thread-unchecked-create-nested-many-without-workspace.input';+import { CommentUncheckedCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-unchecked-create-nested-many-without-workspace.input';@InputType()export class WorkspaceUncheckedCreateWithoutWorkspaceMemberInput {@@ -35,4 +37,14 @@ export class WorkspaceUncheckedCreateWithoutWorkspaceMemberInput {nullable: true,})people?: PersonUncheckedCreateNestedManyWithoutWorkspaceInput;++ @Field(() => CommentThreadUncheckedCreateNestedManyWithoutWorkspaceInput, {+ nullable: true,+ })+ commentThreads?: CommentThreadUncheckedCreateNestedManyWithoutWorkspaceInput;++ @Field(() => CommentUncheckedCreateNestedManyWithoutWorkspaceInput, {+ nullable: true,+ })+ comments?: CommentUncheckedCreateNestedManyWithoutWorkspaceInput;}diff --git a/server/src/api/@generated/workspace/workspace-unchecked-create.input.ts b/server/src/api/@generated/workspace/workspace-unchecked-create.input.tsindex c684881b68a..b67fc5ca499 100644--- a/server/src/api/@generated/workspace/workspace-unchecked-create.input.ts+++ b/server/src/api/@generated/workspace/workspace-unchecked-create.input.ts@@ -3,6 +3,8 @@ import { InputType } from '@nestjs/graphql';import { WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput } from '../workspace-member/workspace-member-unchecked-create-nested-many-without-workspace.input';import { CompanyUncheckedCreateNestedManyWithoutWorkspaceInput } from '../company/company-unchecked-create-nested-many-without-workspace.input';import { PersonUncheckedCreateNestedManyWithoutWorkspaceInput } from '../person/person-unchecked-create-nested-many-without-workspace.input';+import { CommentThreadUncheckedCreateNestedManyWithoutWorkspaceInput } from '../comment-thread/comment-thread-unchecked-create-nested-many-without-workspace.input';+import { CommentUncheckedCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-unchecked-create-nested-many-without-workspace.input';@InputType()export class WorkspaceUncheckedCreateInput {@@ -30,7 +32,7 @@ export class WorkspaceUncheckedCreateInput {@Field(() => WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable: true,})- WorkspaceMember?: WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput;+ workspaceMember?: WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput;@Field(() => CompanyUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable: true,@@ -41,4 +43,14 @@ export class WorkspaceUncheckedCreateInput {nullable: true,})people?: PersonUncheckedCreateNestedManyWithoutWorkspaceInput;++ @Field(() => CommentThreadUncheckedCreateNestedManyWithoutWorkspaceInput, {+ nullable: true,+ })+ commentThreads?: CommentThreadUncheckedCreateNestedManyWithoutWorkspaceInput;++ @Field(() => CommentUncheckedCreateNestedManyWithoutWorkspaceInput, {+ nullable: true,+ })+ comments?: CommentUncheckedCreateNestedManyWithoutWorkspaceInput;}diff --git a/server/src/api/@generated/workspace/workspace-unchecked-update-without-comment-threads.input.ts b/server/src/api/@generated/workspace/workspace-unchecked-update-without-comment-threads.input.tsnew file mode 100644index 00000000000..40eb010b044--- /dev/null+++ b/server/src/api/@generated/workspace/workspace-unchecked-update-without-comment-threads.input.ts@@ -0,0 +1,54 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';+import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';+import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';+import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input';+import { WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../workspace-member/workspace-member-unchecked-update-many-without-workspace-nested.input';+import { CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../company/company-unchecked-update-many-without-workspace-nested.input';+import { PersonUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../person/person-unchecked-update-many-without-workspace-nested.input';+import { CommentUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-unchecked-update-many-without-workspace-nested.input';++@InputType()+export class WorkspaceUncheckedUpdateWithoutCommentThreadsInput {+ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ id?: StringFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ createdAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ updatedAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })+ deletedAt?: NullableDateTimeFieldUpdateOperationsInput;++ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ domainName?: StringFieldUpdateOperationsInput;++ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ displayName?: StringFieldUpdateOperationsInput;++ @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true })+ logo?: NullableStringFieldUpdateOperationsInput;++ @Field(() => WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput, {+ nullable: true,+ })+ workspaceMember?: WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput;++ @Field(() => CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput, {+ nullable: true,+ })+ companies?: CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput;++ @Field(() => PersonUncheckedUpdateManyWithoutWorkspaceNestedInput, {+ nullable: true,+ })+ people?: PersonUncheckedUpdateManyWithoutWorkspaceNestedInput;++ @Field(() => CommentUncheckedUpdateManyWithoutWorkspaceNestedInput, {+ nullable: true,+ })+ comments?: CommentUncheckedUpdateManyWithoutWorkspaceNestedInput;+}diff --git a/server/src/api/@generated/workspace/workspace-unchecked-update-without-comments.input.ts b/server/src/api/@generated/workspace/workspace-unchecked-update-without-comments.input.tsnew file mode 100644index 00000000000..50d54cdee2c--- /dev/null+++ b/server/src/api/@generated/workspace/workspace-unchecked-update-without-comments.input.ts@@ -0,0 +1,54 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';+import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';+import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';+import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input';+import { WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../workspace-member/workspace-member-unchecked-update-many-without-workspace-nested.input';+import { CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../company/company-unchecked-update-many-without-workspace-nested.input';+import { PersonUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../person/person-unchecked-update-many-without-workspace-nested.input';+import { CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../comment-thread/comment-thread-unchecked-update-many-without-workspace-nested.input';++@InputType()+export class WorkspaceUncheckedUpdateWithoutCommentsInput {+ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ id?: StringFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ createdAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ updatedAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })+ deletedAt?: NullableDateTimeFieldUpdateOperationsInput;++ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ domainName?: StringFieldUpdateOperationsInput;++ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ displayName?: StringFieldUpdateOperationsInput;++ @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true })+ logo?: NullableStringFieldUpdateOperationsInput;++ @Field(() => WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput, {+ nullable: true,+ })+ workspaceMember?: WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput;++ @Field(() => CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput, {+ nullable: true,+ })+ companies?: CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput;++ @Field(() => PersonUncheckedUpdateManyWithoutWorkspaceNestedInput, {+ nullable: true,+ })+ people?: PersonUncheckedUpdateManyWithoutWorkspaceNestedInput;++ @Field(() => CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput, {+ nullable: true,+ })+ commentThreads?: CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput;+}diff --git a/server/src/api/@generated/workspace/workspace-unchecked-update-without-companies.input.ts b/server/src/api/@generated/workspace/workspace-unchecked-update-without-companies.input.tsindex 2ba122ae9d4..a1cfd3b122e 100644--- a/server/src/api/@generated/workspace/workspace-unchecked-update-without-companies.input.ts+++ b/server/src/api/@generated/workspace/workspace-unchecked-update-without-companies.input.ts@@ -6,6 +6,8 @@ import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-dimport { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input';import { WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../workspace-member/workspace-member-unchecked-update-many-without-workspace-nested.input';import { PersonUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../person/person-unchecked-update-many-without-workspace-nested.input';+import { CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../comment-thread/comment-thread-unchecked-update-many-without-workspace-nested.input';+import { CommentUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-unchecked-update-many-without-workspace-nested.input';@InputType()export class WorkspaceUncheckedUpdateWithoutCompaniesInput {@@ -33,10 +35,20 @@ export class WorkspaceUncheckedUpdateWithoutCompaniesInput {@Field(() => WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable: true,})- WorkspaceMember?: WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput;+ workspaceMember?: WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput;@Field(() => PersonUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable: true,})people?: PersonUncheckedUpdateManyWithoutWorkspaceNestedInput;++ @Field(() => CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput, {+ nullable: true,+ })+ commentThreads?: CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput;++ @Field(() => CommentUncheckedUpdateManyWithoutWorkspaceNestedInput, {+ nullable: true,+ })+ comments?: CommentUncheckedUpdateManyWithoutWorkspaceNestedInput;}diff --git a/server/src/api/@generated/workspace/workspace-unchecked-update-without-people.input.ts b/server/src/api/@generated/workspace/workspace-unchecked-update-without-people.input.tsindex 9d1c76a5ec2..0691c303e49 100644--- a/server/src/api/@generated/workspace/workspace-unchecked-update-without-people.input.ts+++ b/server/src/api/@generated/workspace/workspace-unchecked-update-without-people.input.ts@@ -6,6 +6,8 @@ import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-dimport { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input';import { WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../workspace-member/workspace-member-unchecked-update-many-without-workspace-nested.input';import { CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../company/company-unchecked-update-many-without-workspace-nested.input';+import { CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../comment-thread/comment-thread-unchecked-update-many-without-workspace-nested.input';+import { CommentUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-unchecked-update-many-without-workspace-nested.input';@InputType()export class WorkspaceUncheckedUpdateWithoutPeopleInput {@@ -33,10 +35,20 @@ export class WorkspaceUncheckedUpdateWithoutPeopleInput {@Field(() => WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable: true,})- WorkspaceMember?: WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput;+ workspaceMember?: WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput;@Field(() => CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable: true,})companies?: CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput;++ @Field(() => CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput, {+ nullable: true,+ })+ commentThreads?: CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput;++ @Field(() => CommentUncheckedUpdateManyWithoutWorkspaceNestedInput, {+ nullable: true,+ })+ comments?: CommentUncheckedUpdateManyWithoutWorkspaceNestedInput;}diff --git a/server/src/api/@generated/workspace/workspace-unchecked-update-without-workspace-member.input.ts b/server/src/api/@generated/workspace/workspace-unchecked-update-without-workspace-member.input.tsindex 1de5318f130..d032ba7f0ad 100644--- a/server/src/api/@generated/workspace/workspace-unchecked-update-without-workspace-member.input.ts+++ b/server/src/api/@generated/workspace/workspace-unchecked-update-without-workspace-member.input.ts@@ -6,6 +6,8 @@ import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-dimport { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input';import { CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../company/company-unchecked-update-many-without-workspace-nested.input';import { PersonUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../person/person-unchecked-update-many-without-workspace-nested.input';+import { CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../comment-thread/comment-thread-unchecked-update-many-without-workspace-nested.input';+import { CommentUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-unchecked-update-many-without-workspace-nested.input';@InputType()export class WorkspaceUncheckedUpdateWithoutWorkspaceMemberInput {@@ -39,4 +41,14 @@ export class WorkspaceUncheckedUpdateWithoutWorkspaceMemberInput {nullable: true,})people?: PersonUncheckedUpdateManyWithoutWorkspaceNestedInput;++ @Field(() => CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput, {+ nullable: true,+ })+ commentThreads?: CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput;++ @Field(() => CommentUncheckedUpdateManyWithoutWorkspaceNestedInput, {+ nullable: true,+ })+ comments?: CommentUncheckedUpdateManyWithoutWorkspaceNestedInput;}diff --git a/server/src/api/@generated/workspace/workspace-unchecked-update.input.ts b/server/src/api/@generated/workspace/workspace-unchecked-update.input.tsindex 51b545bdc91..86facdc21e1 100644--- a/server/src/api/@generated/workspace/workspace-unchecked-update.input.ts+++ b/server/src/api/@generated/workspace/workspace-unchecked-update.input.ts@@ -7,6 +7,8 @@ import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-strimport { WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../workspace-member/workspace-member-unchecked-update-many-without-workspace-nested.input';import { CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../company/company-unchecked-update-many-without-workspace-nested.input';import { PersonUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../person/person-unchecked-update-many-without-workspace-nested.input';+import { CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../comment-thread/comment-thread-unchecked-update-many-without-workspace-nested.input';+import { CommentUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-unchecked-update-many-without-workspace-nested.input';@InputType()export class WorkspaceUncheckedUpdateInput {@@ -34,7 +36,7 @@ export class WorkspaceUncheckedUpdateInput {@Field(() => WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable: true,})- WorkspaceMember?: WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput;+ workspaceMember?: WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput;@Field(() => CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable: true,@@ -45,4 +47,14 @@ export class WorkspaceUncheckedUpdateInput {nullable: true,})people?: PersonUncheckedUpdateManyWithoutWorkspaceNestedInput;++ @Field(() => CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput, {+ nullable: true,+ })+ commentThreads?: CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput;++ @Field(() => CommentUncheckedUpdateManyWithoutWorkspaceNestedInput, {+ nullable: true,+ })+ comments?: CommentUncheckedUpdateManyWithoutWorkspaceNestedInput;}diff --git a/server/src/api/@generated/workspace/workspace-update-one-required-without-comment-threads-nested.input.ts b/server/src/api/@generated/workspace/workspace-update-one-required-without-comment-threads-nested.input.tsnew file mode 100644index 00000000000..261757eeffd--- /dev/null+++ b/server/src/api/@generated/workspace/workspace-update-one-required-without-comment-threads-nested.input.ts@@ -0,0 +1,33 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { WorkspaceCreateWithoutCommentThreadsInput } from './workspace-create-without-comment-threads.input';+import { Type } from 'class-transformer';+import { WorkspaceCreateOrConnectWithoutCommentThreadsInput } from './workspace-create-or-connect-without-comment-threads.input';+import { WorkspaceUpsertWithoutCommentThreadsInput } from './workspace-upsert-without-comment-threads.input';+import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input';+import { WorkspaceUpdateWithoutCommentThreadsInput } from './workspace-update-without-comment-threads.input';++@InputType()+export class WorkspaceUpdateOneRequiredWithoutCommentThreadsNestedInput {+ @Field(() => WorkspaceCreateWithoutCommentThreadsInput, { nullable: true })+ @Type(() => WorkspaceCreateWithoutCommentThreadsInput)+ create?: WorkspaceCreateWithoutCommentThreadsInput;++ @Field(() => WorkspaceCreateOrConnectWithoutCommentThreadsInput, {+ nullable: true,+ })+ @Type(() => WorkspaceCreateOrConnectWithoutCommentThreadsInput)+ connectOrCreate?: WorkspaceCreateOrConnectWithoutCommentThreadsInput;++ @Field(() => WorkspaceUpsertWithoutCommentThreadsInput, { nullable: true })+ @Type(() => WorkspaceUpsertWithoutCommentThreadsInput)+ upsert?: WorkspaceUpsertWithoutCommentThreadsInput;++ @Field(() => WorkspaceWhereUniqueInput, { nullable: true })+ @Type(() => WorkspaceWhereUniqueInput)+ connect?: WorkspaceWhereUniqueInput;++ @Field(() => WorkspaceUpdateWithoutCommentThreadsInput, { nullable: true })+ @Type(() => WorkspaceUpdateWithoutCommentThreadsInput)+ update?: WorkspaceUpdateWithoutCommentThreadsInput;+}diff --git a/server/src/api/@generated/workspace/workspace-update-one-required-without-comments-nested.input.ts b/server/src/api/@generated/workspace/workspace-update-one-required-without-comments-nested.input.tsnew file mode 100644index 00000000000..d0caf6a1c1c--- /dev/null+++ b/server/src/api/@generated/workspace/workspace-update-one-required-without-comments-nested.input.ts@@ -0,0 +1,31 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { WorkspaceCreateWithoutCommentsInput } from './workspace-create-without-comments.input';+import { Type } from 'class-transformer';+import { WorkspaceCreateOrConnectWithoutCommentsInput } from './workspace-create-or-connect-without-comments.input';+import { WorkspaceUpsertWithoutCommentsInput } from './workspace-upsert-without-comments.input';+import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input';+import { WorkspaceUpdateWithoutCommentsInput } from './workspace-update-without-comments.input';++@InputType()+export class WorkspaceUpdateOneRequiredWithoutCommentsNestedInput {+ @Field(() => WorkspaceCreateWithoutCommentsInput, { nullable: true })+ @Type(() => WorkspaceCreateWithoutCommentsInput)+ create?: WorkspaceCreateWithoutCommentsInput;++ @Field(() => WorkspaceCreateOrConnectWithoutCommentsInput, { nullable: true })+ @Type(() => WorkspaceCreateOrConnectWithoutCommentsInput)+ connectOrCreate?: WorkspaceCreateOrConnectWithoutCommentsInput;++ @Field(() => WorkspaceUpsertWithoutCommentsInput, { nullable: true })+ @Type(() => WorkspaceUpsertWithoutCommentsInput)+ upsert?: WorkspaceUpsertWithoutCommentsInput;++ @Field(() => WorkspaceWhereUniqueInput, { nullable: true })+ @Type(() => WorkspaceWhereUniqueInput)+ connect?: WorkspaceWhereUniqueInput;++ @Field(() => WorkspaceUpdateWithoutCommentsInput, { nullable: true })+ @Type(() => WorkspaceUpdateWithoutCommentsInput)+ update?: WorkspaceUpdateWithoutCommentsInput;+}diff --git a/server/src/api/@generated/workspace/workspace-update-without-comment-threads.input.ts b/server/src/api/@generated/workspace/workspace-update-without-comment-threads.input.tsnew file mode 100644index 00000000000..ef8e490a480--- /dev/null+++ b/server/src/api/@generated/workspace/workspace-update-without-comment-threads.input.ts@@ -0,0 +1,48 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';+import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';+import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';+import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input';+import { WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput } from '../workspace-member/workspace-member-update-many-without-workspace-nested.input';+import { CompanyUpdateManyWithoutWorkspaceNestedInput } from '../company/company-update-many-without-workspace-nested.input';+import { PersonUpdateManyWithoutWorkspaceNestedInput } from '../person/person-update-many-without-workspace-nested.input';+import { CommentUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-update-many-without-workspace-nested.input';++@InputType()+export class WorkspaceUpdateWithoutCommentThreadsInput {+ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ id?: StringFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ createdAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ updatedAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })+ deletedAt?: NullableDateTimeFieldUpdateOperationsInput;++ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ domainName?: StringFieldUpdateOperationsInput;++ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ displayName?: StringFieldUpdateOperationsInput;++ @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true })+ logo?: NullableStringFieldUpdateOperationsInput;++ @Field(() => WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput, {+ nullable: true,+ })+ workspaceMember?: WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput;++ @Field(() => CompanyUpdateManyWithoutWorkspaceNestedInput, { nullable: true })+ companies?: CompanyUpdateManyWithoutWorkspaceNestedInput;++ @Field(() => PersonUpdateManyWithoutWorkspaceNestedInput, { nullable: true })+ people?: PersonUpdateManyWithoutWorkspaceNestedInput;++ @Field(() => CommentUpdateManyWithoutWorkspaceNestedInput, { nullable: true })+ comments?: CommentUpdateManyWithoutWorkspaceNestedInput;+}diff --git a/server/src/api/@generated/workspace/workspace-update-without-comments.input.ts b/server/src/api/@generated/workspace/workspace-update-without-comments.input.tsnew file mode 100644index 00000000000..ce8ad1b5544--- /dev/null+++ b/server/src/api/@generated/workspace/workspace-update-without-comments.input.ts@@ -0,0 +1,50 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';+import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';+import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';+import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input';+import { WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput } from '../workspace-member/workspace-member-update-many-without-workspace-nested.input';+import { CompanyUpdateManyWithoutWorkspaceNestedInput } from '../company/company-update-many-without-workspace-nested.input';+import { PersonUpdateManyWithoutWorkspaceNestedInput } from '../person/person-update-many-without-workspace-nested.input';+import { CommentThreadUpdateManyWithoutWorkspaceNestedInput } from '../comment-thread/comment-thread-update-many-without-workspace-nested.input';++@InputType()+export class WorkspaceUpdateWithoutCommentsInput {+ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ id?: StringFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ createdAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })+ updatedAt?: DateTimeFieldUpdateOperationsInput;++ @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })+ deletedAt?: NullableDateTimeFieldUpdateOperationsInput;++ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ domainName?: StringFieldUpdateOperationsInput;++ @Field(() => StringFieldUpdateOperationsInput, { nullable: true })+ displayName?: StringFieldUpdateOperationsInput;++ @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true })+ logo?: NullableStringFieldUpdateOperationsInput;++ @Field(() => WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput, {+ nullable: true,+ })+ workspaceMember?: WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput;++ @Field(() => CompanyUpdateManyWithoutWorkspaceNestedInput, { nullable: true })+ companies?: CompanyUpdateManyWithoutWorkspaceNestedInput;++ @Field(() => PersonUpdateManyWithoutWorkspaceNestedInput, { nullable: true })+ people?: PersonUpdateManyWithoutWorkspaceNestedInput;++ @Field(() => CommentThreadUpdateManyWithoutWorkspaceNestedInput, {+ nullable: true,+ })+ commentThreads?: CommentThreadUpdateManyWithoutWorkspaceNestedInput;+}diff --git a/server/src/api/@generated/workspace/workspace-update-without-companies.input.ts b/server/src/api/@generated/workspace/workspace-update-without-companies.input.tsindex 8f01ed49dd9..3c3bbd59e8b 100644--- a/server/src/api/@generated/workspace/workspace-update-without-companies.input.ts+++ b/server/src/api/@generated/workspace/workspace-update-without-companies.input.ts@@ -6,6 +6,8 @@ import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-dimport { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input';import { WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput } from '../workspace-member/workspace-member-update-many-without-workspace-nested.input';import { PersonUpdateManyWithoutWorkspaceNestedInput } from '../person/person-update-many-without-workspace-nested.input';+import { CommentThreadUpdateManyWithoutWorkspaceNestedInput } from '../comment-thread/comment-thread-update-many-without-workspace-nested.input';+import { CommentUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-update-many-without-workspace-nested.input';@InputType()export class WorkspaceUpdateWithoutCompaniesInput {@@ -33,8 +35,16 @@ export class WorkspaceUpdateWithoutCompaniesInput {@Field(() => WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput, {nullable: true,})- WorkspaceMember?: WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput;+ workspaceMember?: WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput;@Field(() => PersonUpdateManyWithoutWorkspaceNestedInput, { nullable: true })people?: PersonUpdateManyWithoutWorkspaceNestedInput;++ @Field(() => CommentThreadUpdateManyWithoutWorkspaceNestedInput, {+ nullable: true,+ })+ commentThreads?: CommentThreadUpdateManyWithoutWorkspaceNestedInput;++ @Field(() => CommentUpdateManyWithoutWorkspaceNestedInput, { nullable: true })+ comments?: CommentUpdateManyWithoutWorkspaceNestedInput;}diff --git a/server/src/api/@generated/workspace/workspace-update-without-people.input.ts b/server/src/api/@generated/workspace/workspace-update-without-people.input.tsindex 98eaf76277c..1ea5dacf730 100644--- a/server/src/api/@generated/workspace/workspace-update-without-people.input.ts+++ b/server/src/api/@generated/workspace/workspace-update-without-people.input.ts@@ -6,6 +6,8 @@ import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-dimport { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input';import { WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput } from '../workspace-member/workspace-member-update-many-without-workspace-nested.input';import { CompanyUpdateManyWithoutWorkspaceNestedInput } from '../company/company-update-many-without-workspace-nested.input';+import { CommentThreadUpdateManyWithoutWorkspaceNestedInput } from '../comment-thread/comment-thread-update-many-without-workspace-nested.input';+import { CommentUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-update-many-without-workspace-nested.input';@InputType()export class WorkspaceUpdateWithoutPeopleInput {@@ -33,8 +35,16 @@ export class WorkspaceUpdateWithoutPeopleInput {@Field(() => WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput, {nullable: true,})- WorkspaceMember?: WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput;+ workspaceMember?: WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput;@Field(() => CompanyUpdateManyWithoutWorkspaceNestedInput, { nullable: true })companies?: CompanyUpdateManyWithoutWorkspaceNestedInput;++ @Field(() => CommentThreadUpdateManyWithoutWorkspaceNestedInput, {+ nullable: true,+ })+ commentThreads?: CommentThreadUpdateManyWithoutWorkspaceNestedInput;++ @Field(() => CommentUpdateManyWithoutWorkspaceNestedInput, { nullable: true })+ comments?: CommentUpdateManyWithoutWorkspaceNestedInput;}diff --git a/server/src/api/@generated/workspace/workspace-update-without-workspace-member.input.ts b/server/src/api/@generated/workspace/workspace-update-without-workspace-member.input.tsindex 6121476c108..f91a7bce7af 100644--- a/server/src/api/@generated/workspace/workspace-update-without-workspace-member.input.ts+++ b/server/src/api/@generated/workspace/workspace-update-without-workspace-member.input.ts@@ -6,6 +6,8 @@ import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-dimport { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input';import { CompanyUpdateManyWithoutWorkspaceNestedInput } from '../company/company-update-many-without-workspace-nested.input';import { PersonUpdateManyWithoutWorkspaceNestedInput } from '../person/person-update-many-without-workspace-nested.input';+import { CommentThreadUpdateManyWithoutWorkspaceNestedInput } from '../comment-thread/comment-thread-update-many-without-workspace-nested.input';+import { CommentUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-update-many-without-workspace-nested.input';@InputType()export class WorkspaceUpdateWithoutWorkspaceMemberInput {@@ -35,4 +37,12 @@ export class WorkspaceUpdateWithoutWorkspaceMemberInput {@Field(() => PersonUpdateManyWithoutWorkspaceNestedInput, { nullable: true })people?: PersonUpdateManyWithoutWorkspaceNestedInput;++ @Field(() => CommentThreadUpdateManyWithoutWorkspaceNestedInput, {+ nullable: true,+ })+ commentThreads?: CommentThreadUpdateManyWithoutWorkspaceNestedInput;++ @Field(() => CommentUpdateManyWithoutWorkspaceNestedInput, { nullable: true })+ comments?: CommentUpdateManyWithoutWorkspaceNestedInput;}diff --git a/server/src/api/@generated/workspace/workspace-update.input.ts b/server/src/api/@generated/workspace/workspace-update.input.tsindex 9b0460eba00..f9b8c91912a 100644--- a/server/src/api/@generated/workspace/workspace-update.input.ts+++ b/server/src/api/@generated/workspace/workspace-update.input.ts@@ -7,6 +7,8 @@ import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-strimport { WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput } from '../workspace-member/workspace-member-update-many-without-workspace-nested.input';import { CompanyUpdateManyWithoutWorkspaceNestedInput } from '../company/company-update-many-without-workspace-nested.input';import { PersonUpdateManyWithoutWorkspaceNestedInput } from '../person/person-update-many-without-workspace-nested.input';+import { CommentThreadUpdateManyWithoutWorkspaceNestedInput } from '../comment-thread/comment-thread-update-many-without-workspace-nested.input';+import { CommentUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-update-many-without-workspace-nested.input';@InputType()export class WorkspaceUpdateInput {@@ -34,11 +36,19 @@ export class WorkspaceUpdateInput {@Field(() => WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput, {nullable: true,})- WorkspaceMember?: WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput;+ workspaceMember?: WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput;@Field(() => CompanyUpdateManyWithoutWorkspaceNestedInput, { nullable: true })companies?: CompanyUpdateManyWithoutWorkspaceNestedInput;@Field(() => PersonUpdateManyWithoutWorkspaceNestedInput, { nullable: true })people?: PersonUpdateManyWithoutWorkspaceNestedInput;++ @Field(() => CommentThreadUpdateManyWithoutWorkspaceNestedInput, {+ nullable: true,+ })+ commentThreads?: CommentThreadUpdateManyWithoutWorkspaceNestedInput;++ @Field(() => CommentUpdateManyWithoutWorkspaceNestedInput, { nullable: true })+ comments?: CommentUpdateManyWithoutWorkspaceNestedInput;}diff --git a/server/src/api/@generated/workspace/workspace-upsert-without-comment-threads.input.ts b/server/src/api/@generated/workspace/workspace-upsert-without-comment-threads.input.tsnew file mode 100644index 00000000000..87fc18d0836--- /dev/null+++ b/server/src/api/@generated/workspace/workspace-upsert-without-comment-threads.input.ts@@ -0,0 +1,16 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { WorkspaceUpdateWithoutCommentThreadsInput } from './workspace-update-without-comment-threads.input';+import { Type } from 'class-transformer';+import { WorkspaceCreateWithoutCommentThreadsInput } from './workspace-create-without-comment-threads.input';++@InputType()+export class WorkspaceUpsertWithoutCommentThreadsInput {+ @Field(() => WorkspaceUpdateWithoutCommentThreadsInput, { nullable: false })+ @Type(() => WorkspaceUpdateWithoutCommentThreadsInput)+ update!: WorkspaceUpdateWithoutCommentThreadsInput;++ @Field(() => WorkspaceCreateWithoutCommentThreadsInput, { nullable: false })+ @Type(() => WorkspaceCreateWithoutCommentThreadsInput)+ create!: WorkspaceCreateWithoutCommentThreadsInput;+}diff --git a/server/src/api/@generated/workspace/workspace-upsert-without-comments.input.ts b/server/src/api/@generated/workspace/workspace-upsert-without-comments.input.tsnew file mode 100644index 00000000000..ff7c31f1912--- /dev/null+++ b/server/src/api/@generated/workspace/workspace-upsert-without-comments.input.ts@@ -0,0 +1,16 @@+import { Field } from '@nestjs/graphql';+import { InputType } from '@nestjs/graphql';+import { WorkspaceUpdateWithoutCommentsInput } from './workspace-update-without-comments.input';+import { Type } from 'class-transformer';+import { WorkspaceCreateWithoutCommentsInput } from './workspace-create-without-comments.input';++@InputType()+export class WorkspaceUpsertWithoutCommentsInput {+ @Field(() => WorkspaceUpdateWithoutCommentsInput, { nullable: false })+ @Type(() => WorkspaceUpdateWithoutCommentsInput)+ update!: WorkspaceUpdateWithoutCommentsInput;++ @Field(() => WorkspaceCreateWithoutCommentsInput, { nullable: false })+ @Type(() => WorkspaceCreateWithoutCommentsInput)+ create!: WorkspaceCreateWithoutCommentsInput;+}diff --git a/server/src/api/@generated/workspace/workspace-where.input.ts b/server/src/api/@generated/workspace/workspace-where.input.tsindex 6bed2ed336f..bdf36575a07 100644--- a/server/src/api/@generated/workspace/workspace-where.input.ts+++ b/server/src/api/@generated/workspace/workspace-where.input.ts@@ -7,6 +7,8 @@ import { StringNullableFilter } from '../prisma/string-nullable-filter.input';import { WorkspaceMemberListRelationFilter } from '../workspace-member/workspace-member-list-relation-filter.input';import { CompanyListRelationFilter } from '../company/company-list-relation-filter.input';import { PersonListRelationFilter } from '../person/person-list-relation-filter.input';+import { CommentThreadListRelationFilter } from '../comment-thread/comment-thread-list-relation-filter.input';+import { CommentListRelationFilter } from '../comment/comment-list-relation-filter.input';@InputType()export class WorkspaceWhereInput {@@ -41,11 +43,17 @@ export class WorkspaceWhereInput {logo?: StringNullableFilter;@Field(() => WorkspaceMemberListRelationFilter, { nullable: true })- WorkspaceMember?: WorkspaceMemberListRelationFilter;+ workspaceMember?: WorkspaceMemberListRelationFilter;@Field(() => CompanyListRelationFilter, { nullable: true })companies?: CompanyListRelationFilter;@Field(() => PersonListRelationFilter, { nullable: true })people?: PersonListRelationFilter;++ @Field(() => CommentThreadListRelationFilter, { nullable: true })+ commentThreads?: CommentThreadListRelationFilter;++ @Field(() => CommentListRelationFilter, { nullable: true })+ comments?: CommentListRelationFilter;}diff --git a/server/src/api/@generated/workspace/workspace.model.ts b/server/src/api/@generated/workspace/workspace.model.tsindex 45332bb7d4b..214f02f4ed7 100644--- a/server/src/api/@generated/workspace/workspace.model.ts+++ b/server/src/api/@generated/workspace/workspace.model.ts@@ -4,6 +4,8 @@ import { ID } from '@nestjs/graphql';import { WorkspaceMember } from '../workspace-member/workspace-member.model';import { Company } from '../company/company.model';import { Person } from '../person/person.model';+import { CommentThread } from '../comment-thread/comment-thread.model';+import { Comment } from '../comment/comment.model';import { WorkspaceCount } from './workspace-count.output';@ObjectType({})@@ -30,7 +32,7 @@ export class Workspace {logo!: string | null;@Field(() => [WorkspaceMember], { nullable: true })- WorkspaceMember?: Array<WorkspaceMember>;+ workspaceMember?: Array<WorkspaceMember>;@Field(() => [Company], { nullable: true })companies?: Array<Company>;@@ -38,6 +40,12 @@ export class Workspace {@Field(() => [Person], { nullable: true })people?: Array<Person>;+ @Field(() => [CommentThread], { nullable: true })+ commentThreads?: Array<CommentThread>;++ @Field(() => [Comment], { nullable: true })+ comments?: Array<Comment>;+@Field(() => WorkspaceCount, { nullable: false })_count?: WorkspaceCount;}diff --git a/server/src/api/api.module.ts b/server/src/api/api.module.tsindex 069a657cd61..6a789459369 100644--- a/server/src/api/api.module.ts+++ b/server/src/api/api.module.ts@@ -4,6 +4,8 @@ import { ApolloDriver, ApolloDriverConfig } from '@nestjs/apollo';import { CompanyResolver } from './resolvers/company.resolver';import { UserResolver } from './resolvers/user.resolver';import { PersonResolver } from './resolvers/person.resolver';+import { CommentResolver } from './resolvers/comment.resolver';+import { CommentThreadResolver } from './resolvers/comment-thread.resolver';import { PersonRelationsResolver } from './resolvers/relations/person-relations.resolver';import { UserRelationsResolver } from './resolvers/relations/user-relations.resolver';@@ -13,6 +15,7 @@ import { AuthModule } from 'src/auth/auth.module';import { CompanyRelationsResolver } from './resolvers/relations/company-relations.resolver';import { PrismaModule } from 'src/database/prisma.module';import { ArgsService } from './resolvers/services/args.service';+import { CommentThreadRelationsResolver } from './resolvers/relations/comment-thread-relations.resolver';@Module({imports: [@@ -31,11 +34,14 @@ import { ArgsService } from './resolvers/services/args.service';CompanyResolver,PersonResolver,UserResolver,+ CommentResolver,+ CommentThreadResolver,CompanyRelationsResolver,PersonRelationsResolver,UserRelationsResolver,WorkspaceMemberRelationsResolver,+ CommentThreadRelationsResolver,],})export class ApiModule {}diff --git a/server/src/api/resolvers/comment-thread.resolver.ts b/server/src/api/resolvers/comment-thread.resolver.tsnew file mode 100644index 00000000000..26b2ba30ccb--- /dev/null+++ b/server/src/api/resolvers/comment-thread.resolver.ts@@ -0,0 +1,38 @@+import { Resolver, Args, Mutation } from '@nestjs/graphql';+import { UseGuards } from '@nestjs/common';+import { JwtAuthGuard } from 'src/auth/guards/jwt.auth.guard';+import { PrismaService } from 'src/database/prisma.service';+import { Workspace } from '../@generated/workspace/workspace.model';+import { AuthWorkspace } from './decorators/auth-workspace.decorator';+import { CommentThread } from '../@generated/comment-thread/comment-thread.model';+import { CreateOneCommentThreadArgs } from '../@generated/comment-thread/create-one-comment-thread.args';+import { CreateOneCommentThreadGuard } from './guards/create-one-comment-thread.guard';++@UseGuards(JwtAuthGuard)+@Resolver(() => CommentThread)+export class CommentThreadResolver {+ constructor(private readonly prismaService: PrismaService) {}++ @UseGuards(CreateOneCommentThreadGuard)+ @Mutation(() => CommentThread, {+ nullable: false,+ })+ async createOneCommentThread(+ @Args() args: CreateOneCommentThreadArgs,+ @AuthWorkspace() workspace: Workspace,+ ): Promise<CommentThread> {+ const newCommentData = args.data.comments?.createMany?.data+ ? args.data.comments?.createMany?.data?.map((comment) => ({+ ...comment,+ ...{ workspaceId: workspace.id },+ }))+ : [];+ return this.prismaService.commentThread.create({+ data: {+ ...args.data,+ ...{ comments: { createMany: { data: newCommentData } } },+ ...{ workspace: { connect: { id: workspace.id } } },+ },+ });+ }+}diff --git a/server/src/api/resolvers/comment.resolver.ts b/server/src/api/resolvers/comment.resolver.tsnew file mode 100644index 00000000000..c16047f5f4a--- /dev/null+++ b/server/src/api/resolvers/comment.resolver.ts@@ -0,0 +1,31 @@+import { Resolver, Args, Mutation } from '@nestjs/graphql';+import { UseGuards } from '@nestjs/common';+import { JwtAuthGuard } from 'src/auth/guards/jwt.auth.guard';+import { PrismaService } from 'src/database/prisma.service';+import { Workspace } from '../@generated/workspace/workspace.model';+import { AuthWorkspace } from './decorators/auth-workspace.decorator';+import { CreateOneCommentArgs } from '../@generated/comment/create-one-comment.args';+import { Comment } from '../@generated/comment/comment.model';+import { CreateOneCommentGuard } from './guards/create-one-comment.guard';++@UseGuards(JwtAuthGuard)+@Resolver(() => Comment)+export class CommentResolver {+ constructor(private readonly prismaService: PrismaService) {}++ @UseGuards(CreateOneCommentGuard)+ @Mutation(() => Comment, {+ nullable: false,+ })+ async createOneComment(+ @Args() args: CreateOneCommentArgs,+ @AuthWorkspace() workspace: Workspace,+ ): Promise<Comment> {+ return this.prismaService.comment.create({+ data: {+ ...args.data,+ ...{ workspace: { connect: { id: workspace.id } } },+ },+ });+ }+}diff --git a/server/src/api/resolvers/guards/create-one-comment-thread.guard.ts b/server/src/api/resolvers/guards/create-one-comment-thread.guard.tsnew file mode 100644index 00000000000..f080e7fb8e5--- /dev/null+++ b/server/src/api/resolvers/guards/create-one-comment-thread.guard.ts@@ -0,0 +1,104 @@+import {+ CanActivate,+ ExecutionContext,+ HttpException,+ HttpStatus,+ Injectable,+} from '@nestjs/common';+import { GqlExecutionContext } from '@nestjs/graphql';+import { PrismaService } from 'src/database/prisma.service';++@Injectable()+export class CreateOneCommentThreadGuard implements CanActivate {+ constructor(private prismaService: PrismaService) {}++ async canActivate(context: ExecutionContext): Promise<boolean> {+ const gqlContext = GqlExecutionContext.create(context);+ const request = gqlContext.getContext().req;+ const args = gqlContext.getArgs();++ const targets = args.data?.commentThreadTargets?.createMany?.data;+ const comments = args.data?.comments?.createMany?.data;+ const workspaceId = await request.workspace;++ if (!targets || targets.length === 0) {+ throw new HttpException(+ { reason: 'Missing commentThreadTargets' },+ HttpStatus.BAD_REQUEST,+ );+ }++ await targets.map(async (target) => {+ if (!target.commentableId || !target.commentableType) {+ throw new HttpException(+ {+ reason:+ 'Missing commentThreadTarget.commentableId or commentThreadTarget.commentableType',+ },+ HttpStatus.BAD_REQUEST,+ );+ }++ if (!['Person', 'Company'].includes(target.commentableType)) {+ throw new HttpException(+ { reason: 'Invalid commentThreadTarget.commentableType' },+ HttpStatus.BAD_REQUEST,+ );+ }++ const targetEntity = await this.prismaService[+ target.commentableType+ ].findUnique({+ where: { id: target.commentableId },+ });++ if (targetEntity.workspaceId !== workspaceId) {+ throw new HttpException(+ { reason: 'CommentThreadTarget not found' },+ HttpStatus.NOT_FOUND,+ );+ }+ });++ if (!comments) {+ return true;+ }++ await comments.map(async (comment) => {+ if (!comment.authorId) {+ throw new HttpException(+ { reason: 'Missing comment.authorId' },+ HttpStatus.BAD_REQUEST,+ );+ }++ const author = await this.prismaService.user.findUnique({+ where: { id: comment.authorId },+ });++ if (!author) {+ throw new HttpException(+ { reason: 'Comment.authorId not found' },+ HttpStatus.NOT_FOUND,+ );+ }++ const userWorkspaceMember =+ await this.prismaService.workspaceMember.findFirst({+ where: { userId: author.id },+ });++ if (+ !userWorkspaceMember ||+ userWorkspaceMember.workspaceId !== workspaceId+ ) {+ throw new HttpException(+ { reason: 'Comment.authorId not found' },+ HttpStatus.NOT_FOUND,+ );+ }+ });++ return true;+ }+}diff --git a/server/src/api/resolvers/guards/create-one-comment.guard.ts b/server/src/api/resolvers/guards/create-one-comment.guard.tsnew file mode 100644index 00000000000..52fffc4a336--- /dev/null+++ b/server/src/api/resolvers/guards/create-one-comment.guard.ts@@ -0,0 +1,71 @@+import {+ CanActivate,+ ExecutionContext,+ HttpException,+ HttpStatus,+ Injectable,+} from '@nestjs/common';+import { GqlExecutionContext } from '@nestjs/graphql';+import { PrismaService } from 'src/database/prisma.service';++@Injectable()+export class CreateOneCommentGuard implements CanActivate {+ constructor(private prismaService: PrismaService) {}++ async canActivate(context: ExecutionContext): Promise<boolean> {+ const gqlContext = GqlExecutionContext.create(context);+ const request = gqlContext.getContext().req;+ const args = gqlContext.getArgs();++ const authorId = args.data?.author?.connect?.id;+ const commentThreadId = args.data?.commentThread?.connect?.id;++ if (!authorId || !commentThreadId) {+ throw new HttpException(+ { reason: 'Missing author or commentThread' },+ HttpStatus.BAD_REQUEST,+ );+ }++ const author = await this.prismaService.user.findUnique({+ where: { id: authorId },+ });++ const commentThread = await this.prismaService.commentThread.findUnique({+ where: { id: commentThreadId },+ });++ if (!author || !commentThread) {+ throw new HttpException(+ { reason: 'Author or commentThread not found' },+ HttpStatus.NOT_FOUND,+ );+ }++ const userWorkspaceMember =+ await this.prismaService.workspaceMember.findFirst({+ where: { userId: author.id },+ });++ if (!userWorkspaceMember) {+ throw new HttpException(+ { reason: 'Author or commentThread not found' },+ HttpStatus.NOT_FOUND,+ );+ }++ const workspace = await request.workspace;++ if (+ userWorkspaceMember.workspaceId !== workspace.id ||+ commentThread.workspaceId !== workspace.id+ ) {+ throw new HttpException(+ { reason: 'Author or commentThread not found' },+ HttpStatus.NOT_FOUND,+ );+ }++ return true;+ }+}diff --git a/server/src/api/resolvers/relations/comment-thread-relations.resolver.ts b/server/src/api/resolvers/relations/comment-thread-relations.resolver.tsnew file mode 100644index 00000000000..d66bfb09f20--- /dev/null+++ b/server/src/api/resolvers/relations/comment-thread-relations.resolver.ts@@ -0,0 +1,22 @@+import * as TypeGraphQL from '@nestjs/graphql';+import { CommentThread } from 'src/api/@generated/comment-thread/comment-thread.model';+import { Comment } from 'src/api/@generated/comment/comment.model';+import { PrismaService } from 'src/database/prisma.service';+[email protected](() => CommentThread)+export class CommentThreadRelationsResolver {+ constructor(private readonly prismaService: PrismaService) {}++ @TypeGraphQL.ResolveField(() => [Comment], {+ nullable: false,+ })+ async comments(+ @TypeGraphQL.Root() commentThread: CommentThread,+ ): Promise<Comment[]> {+ return this.prismaService.comment.findMany({+ where: {+ commentThreadId: commentThread.id,+ },+ });+ }+}diff --git a/server/src/api/resolvers/relations/company-relations.resolver.ts b/server/src/api/resolvers/relations/company-relations.resolver.tsindex 46ee910cdab..dccc34d0287 100644--- a/server/src/api/resolvers/relations/company-relations.resolver.ts+++ b/server/src/api/resolvers/relations/company-relations.resolver.ts@@ -1,4 +1,5 @@import * as TypeGraphQL from '@nestjs/graphql';+import { CommentThread } from 'src/api/@generated/comment-thread/comment-thread.model';import { Company } from 'src/api/@generated/company/company.model';import { User } from 'src/api/@generated/user/user.model';import { Workspace } from 'src/api/@generated/workspace/workspace.model';@@ -35,4 +36,22 @@ export class CompanyRelationsResolver {}).workspace({});}++ @TypeGraphQL.ResolveField(() => [CommentThread], {+ nullable: false,+ })+ async commentThreads(+ @TypeGraphQL.Root() company: Company,+ ): Promise<CommentThread[]> {+ return this.prismaService.commentThread.findMany({+ where: {+ commentThreadTargets: {+ some: {+ commentableId: company.id,+ commentableType: 'Company',+ },+ },+ },+ });+ }}diff --git a/server/src/api/resolvers/relations/person-relations.resolver.ts b/server/src/api/resolvers/relations/person-relations.resolver.tsindex b18a507652c..411f9491ef0 100644--- a/server/src/api/resolvers/relations/person-relations.resolver.ts+++ b/server/src/api/resolvers/relations/person-relations.resolver.ts@@ -1,4 +1,5 @@import * as TypeGraphQL from '@nestjs/graphql';+import { CommentThread } from 'src/api/@generated/comment-thread/comment-thread.model';import { Company } from 'src/api/@generated/company/company.model';import { Person } from 'src/api/@generated/person/person.model';import { Workspace } from 'src/api/@generated/workspace/workspace.model';@@ -33,4 +34,22 @@ export class PersonRelationsResolver {}).workspace({});}++ @TypeGraphQL.ResolveField(() => [CommentThread], {+ nullable: false,+ })+ async commentThreads(+ @TypeGraphQL.Root() person: Person,+ ): Promise<CommentThread[]> {+ return await this.prismaService.commentThread.findMany({+ where: {+ commentThreadTargets: {+ some: {+ commentableId: person.id,+ commentableType: 'Person',+ },+ },+ },+ });+ }}diff --git a/server/src/api/resolvers/relations/user-relations.resolver.ts b/server/src/api/resolvers/relations/user-relations.resolver.tsindex 35b6699881f..26859212b05 100644--- a/server/src/api/resolvers/relations/user-relations.resolver.ts+++ b/server/src/api/resolvers/relations/user-relations.resolver.ts@@ -15,7 +15,7 @@ export class UserRelationsResolver {@TypeGraphQL.ResolveField(() => WorkspaceMember, {nullable: true,})- async WorkspaceMember(+ async workspaceMember(@TypeGraphQL.Parent() user: User,): Promise<WorkspaceMember | null> {return await this.prismaService.user@@ -24,7 +24,7 @@ export class UserRelationsResolver {id: user.id,},})- .WorkspaceMember({});+ .workspaceMember({});}@TypeGraphQL.ResolveField(() => [Company], {@@ -49,7 +49,7 @@ export class UserRelationsResolver {@TypeGraphQL.ResolveField(() => [RefreshToken], {nullable: false,})- async RefreshTokens(+ async refreshTokens(@TypeGraphQL.Parent() user: User,@TypeGraphQL.Info() info: GraphQLResolveInfo,@TypeGraphQL.Args() args: FindManyRefreshTokenArgs,@@ -60,7 +60,7 @@ export class UserRelationsResolver {id: user.id,},})- .RefreshTokens({+ .refreshTokens({...args,});}diff --git a/server/src/auth/services/auth.service.ts b/server/src/auth/services/auth.service.tsindex d0374fab9f6..a232385d3b6 100644--- a/server/src/auth/services/auth.service.ts+++ b/server/src/auth/services/auth.service.ts@@ -98,7 +98,7 @@ export class AuthService {}const workspace = await this.workspaceRepository.findFirst({- where: { WorkspaceMember: { every: { userId: user.id } } },+ where: { workspaceMember: { some: { userId: user.id } } },});if (!workspace) {diff --git a/server/src/database/migrations/20230531093843_create_comments/migration.sql b/server/src/database/migrations/20230531093843_create_comments/migration.sqlnew file mode 100644index 00000000000..6c6fd0a3c82--- /dev/null+++ b/server/src/database/migrations/20230531093843_create_comments/migration.sql@@ -0,0 +1,55 @@+-- CreateEnum+CREATE TYPE "CommentableType" AS ENUM ('Person', 'Company');++-- CreateTable+CREATE TABLE "comment_threads" (+ "id" TEXT NOT NULL,+ "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,+ "updatedAt" TIMESTAMP(3) NOT NULL,+ "deletedAt" TIMESTAMP(3),+ "workspaceId" TEXT NOT NULL,++ CONSTRAINT "comment_threads_pkey" PRIMARY KEY ("id")+);++-- CreateTable+CREATE TABLE "comments" (+ "id" TEXT NOT NULL,+ "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,+ "updatedAt" TIMESTAMP(3) NOT NULL,+ "deletedAt" TIMESTAMP(3),+ "body" TEXT NOT NULL,+ "authorId" TEXT NOT NULL,+ "commentThreadId" TEXT NOT NULL,+ "workspaceId" TEXT NOT NULL,++ CONSTRAINT "comments_pkey" PRIMARY KEY ("id")+);++-- CreateTable+CREATE TABLE "comment_thread_targets" (+ "id" TEXT NOT NULL,+ "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,+ "updatedAt" TIMESTAMP(3) NOT NULL,+ "deletedAt" TIMESTAMP(3),+ "commentThreadId" TEXT NOT NULL,+ "commentableType" "CommentableType" NOT NULL,+ "commentableId" TEXT NOT NULL,++ CONSTRAINT "comment_thread_targets_pkey" PRIMARY KEY ("id")+);++-- AddForeignKey+ALTER TABLE "comment_threads" ADD CONSTRAINT "comment_threads_workspaceId_fkey" FOREIGN KEY ("workspaceId") REFERENCES "workspaces"("id") ON DELETE RESTRICT ON UPDATE CASCADE;++-- AddForeignKey+ALTER TABLE "comments" ADD CONSTRAINT "comments_authorId_fkey" FOREIGN KEY ("authorId") REFERENCES "users"("id") ON DELETE RESTRICT ON UPDATE CASCADE;++-- AddForeignKey+ALTER TABLE "comments" ADD CONSTRAINT "comments_commentThreadId_fkey" FOREIGN KEY ("commentThreadId") REFERENCES "comment_threads"("id") ON DELETE RESTRICT ON UPDATE CASCADE;++-- AddForeignKey+ALTER TABLE "comments" ADD CONSTRAINT "comments_workspaceId_fkey" FOREIGN KEY ("workspaceId") REFERENCES "workspaces"("id") ON DELETE RESTRICT ON UPDATE CASCADE;++-- AddForeignKey+ALTER TABLE "comment_thread_targets" ADD CONSTRAINT "comment_thread_targets_commentThreadId_fkey" FOREIGN KEY ("commentThreadId") REFERENCES "comment_threads"("id") ON DELETE RESTRICT ON UPDATE CASCADE;diff --git a/server/src/database/schema.prisma b/server/src/database/schema.prismaindex 10af19c2196..cfbb1e520ab 100644--- a/server/src/database/schema.prisma+++ b/server/src/database/schema.prisma@@ -11,6 +11,30 @@ datasource db {generator nestgraphql {provider = "node node_modules/prisma-nestjs-graphql"output = "../../src/api/@generated"++ decorate_1_type = "*CommentThreadTargetCreateNestedManyWithoutCommentThreadInput"+ decorate_1_field = "!(createMany)"+ decorate_1_name = "HideField"+ decorate_1_from = "@nestjs/graphql"+ decorate_1_arguments = "[]"++ decorate_2_type = "*CommentCreateNestedManyWithoutCommentThreadInput"+ decorate_2_field = "!(createMany)"+ decorate_2_name = "HideField"+ decorate_2_from = "@nestjs/graphql"+ decorate_2_arguments = "[]"++ decorate_3_type = "*UserCreateNestedOneWithoutCommentsInput"+ decorate_3_field = "!(connect)"+ decorate_3_name = "HideField"+ decorate_3_from = "@nestjs/graphql"+ decorate_3_arguments = "[]"++ decorate_4_type = "*CommentThreadCreateNestedOneWithoutCommentsInput"+ decorate_4_field = "!(connect)"+ decorate_4_name = "HideField"+ decorate_4_from = "@nestjs/graphql"+ decorate_4_arguments = "[]"}model User {@@ -28,9 +52,10 @@ model User {passwordHash String?emailVerified Boolean @default(false)metadata Json?- WorkspaceMember WorkspaceMember?+ workspaceMember WorkspaceMember?companies Company[]- RefreshTokens RefreshToken[]+ refreshTokens RefreshToken[]+ comments Comment[]@@map("users")}@@ -44,9 +69,11 @@ model Workspace {domainName String @uniquedisplayName Stringlogo String?- WorkspaceMember WorkspaceMember[]+ workspaceMember WorkspaceMember[]companies Company[]people Person[]+ commentThreads CommentThread[]+ comments Comment[]@@map("workspaces")}@@ -108,7 +135,6 @@ model Person {@@map("people")}-/// @TypeGraphQL.omit(input: true)model RefreshToken {id String @idcreatedAt DateTime @default(now())@@ -120,3 +146,55 @@ model RefreshToken {@@map("refresh_tokens")}++model CommentThread {+ id String @id+ createdAt DateTime @default(now())+ updatedAt DateTime @updatedAt+ deletedAt DateTime?+ commentThreadTargets CommentThreadTarget[]+ comments Comment[]+ /// @TypeGraphQL.omit(input: true)+ workspaceId String+ /// @TypeGraphQL.omit(input: true)+ workspace Workspace @relation(fields: [workspaceId], references: [id])++ @@map("comment_threads")+}++model Comment {+ id String @id+ createdAt DateTime @default(now())+ updatedAt DateTime @updatedAt+ deletedAt DateTime?+ body String+ authorId String+ author User @relation(fields: [authorId], references: [id])+ commentThreadId String+ commentThread CommentThread @relation(fields: [commentThreadId], references: [id])+ /// @TypeGraphQL.omit(input: true)+ workspaceId String+ /// @TypeGraphQL.omit(input: true)+ workspace Workspace @relation(fields: [workspaceId], references: [id])++ @@map("comments")+}++enum CommentableType {+ Person+ Company+}++model CommentThreadTarget {+ id String @id+ createdAt DateTime @default(now())+ updatedAt DateTime @updatedAt+ deletedAt DateTime?+ commentThreadId String+ commentThread CommentThread @relation(fields: [commentThreadId], references: [id])++ commentableType CommentableType+ commentableId String++ @@map("comment_thread_targets")+}\ No newline at end of filediff --git a/server/src/database/seeds/comments.ts b/server/src/database/seeds/comments.tsnew file mode 100644index 00000000000..73ec7cf2926--- /dev/null+++ b/server/src/database/seeds/comments.ts@@ -0,0 +1,110 @@+import { PrismaClient } from '@prisma/client';+export const seedComments = async (prisma: PrismaClient) => {+ await prisma.commentThread.upsert({+ where: { id: 'twenty-fe256b39-3ec3-4fe3-8997-b76aa0bfb400' },+ update: {},+ create: {+ id: 'twenty-fe256b39-3ec3-4fe3-8997-b76aa0bfb400',+ workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419',+ },+ });++ await prisma.commentThreadTarget.upsert({+ where: { id: 'twenty-fe256b39-3ec3-4fe3-8997-b76aa0bfb600' },+ update: {},+ create: {+ id: 'twenty-fe256b39-3ec3-4fe3-8997-b76aa0bfb600',+ commentableType: 'Company',+ commentableId: 'twenty-fe256b39-3ec3-4fe3-8997-b76aa0bfa408',+ commentThreadId: 'twenty-fe256b39-3ec3-4fe3-8997-b76aa0bfb400',+ },+ });++ await prisma.comment.upsert({+ where: { id: 'twenty-fe256b39-3ec3-4fe3-8997-b76aa0bfb200' },+ update: {},+ create: {+ id: 'twenty-fe256b39-3ec3-4fe3-8997-b76aa0bfb200',+ workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419',+ body: 'Hi Félix ! How do you like your Twenty workspace?',+ commentThreadId: 'twenty-fe256b39-3ec3-4fe3-8997-b76aa0bfb400',+ authorId: 'twenty-ge256b39-3ec3-4fe3-8997-b76aa0bfa408',+ },+ });++ await prisma.comment.upsert({+ where: { id: 'twenty-fe256b40-3ec3-4fe3-8997-b76aa0bfb200' },+ update: {},+ create: {+ id: 'twenty-fe256b40-3ec3-4fe3-8997-b76aa0bfb200',+ workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419',+ body: 'I love it!',+ commentThreadId: 'twenty-fe256b39-3ec3-4fe3-8997-b76aa0bfb400',+ authorId: 'twenty-gk256b39-3ec3-4fe3-8997-b76aa0bfa408',+ },+ });++ await prisma.commentThread.upsert({+ where: { id: 'twenty-fe256b39-3ec3-4fe3-8997-b76aa0bfc408' },+ update: {},+ create: {+ id: 'twenty-fe256b39-3ec3-4fe3-8997-b76aa0bfc408',+ workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419',+ },+ });++ await prisma.commentThreadTarget.upsert({+ where: { id: 'twenty-fe256b39-3ec3-4fe3-8997-a76aa0bfb600' },+ update: {},+ create: {+ id: 'twenty-fe256b39-3ec3-4fe3-8997-a76aa0bfb600',+ commentableType: 'Person',+ commentableId: 'twenty-755035db-623d-41fe-92e7-dd45b7c568e1',+ commentThreadId: 'twenty-fe256b39-3ec3-4fe3-8997-b76aa0bfc408',+ },+ });++ await prisma.comment.upsert({+ where: { id: 'twenty-fe256b39-3ec3-4fe3-8997-b76aa0bfb100' },+ update: {},+ create: {+ id: 'twenty-fe256b39-3ec3-4fe3-8997-b76aa0bfb100',+ workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419',+ body: 'I really like this comment thread feature!',+ commentThreadId: 'twenty-fe256b39-3ec3-4fe3-8997-b76aa0bfc408',+ authorId: 'twenty-ge256b39-3ec3-4fe3-8997-b76aa0bfa408',+ },+ });++ await prisma.commentThread.upsert({+ where: { id: 'twenty-dev-fe256b39-3ec3-4fe3-8997-b76aaabfb408' },+ update: {},+ create: {+ id: 'twenty-dev-fe256b39-3ec3-4fe3-8997-b76aaabfb408',+ workspaceId: 'twenty-dev-7ed9d212-1c25-4d02-bf25-6aeccf7ea420',+ },+ });++ await prisma.commentThreadTarget.upsert({+ where: { id: 'twenty-dev-fe256b39-3ec3-4fe3-8997-a76aa0bfba00' },+ update: {},+ create: {+ id: 'twenty-dev-fe256b39-3ec3-4fe3-8997-a76aa0bfba00',+ commentableType: 'Company',+ commentableId: 'twenty-dev-a674fa6c-1455-4c57-afaf-dd5dc086361e',+ commentThreadId: 'twenty-dev-fe256b39-3ec3-4fe3-8997-b76aaabfb408',+ },+ });++ await prisma.comment.upsert({+ where: { id: 'twenty-dev-fe256b39-3ec3-4fe3-8997-b76aa0bfb000' },+ update: {},+ create: {+ id: 'twenty-dev-fe256b39-3ec3-4fe3-8997-b76aa0bfb000',+ workspaceId: 'twenty-dev-7ed9d212-1c25-4d02-bf25-6aeccf7ea420',+ body: 'I really like this comment thread feature!',+ commentThreadId: 'twenty-dev-fe256b39-3ec3-4fe3-8997-b76aaabfb408',+ authorId: 'twenty-dev-gk256b39-3ec3-4fe3-8997-b76aa0boa408',+ },+ });+};diff --git a/server/src/database/seeds/companies.ts b/server/src/database/seeds/companies.tsindex 37c53ebd940..dbd31f0c4ac 100644--- a/server/src/database/seeds/companies.ts+++ b/server/src/database/seeds/companies.ts@@ -1,161 +1,161 @@import { PrismaClient } from '@prisma/client';export const seedCompanies = async (prisma: PrismaClient) => {await prisma.company.upsert({- where: { id: 'fe256b39-3ec3-4fe3-8997-b76aa0bfa408' },+ where: { id: 'twenty-fe256b39-3ec3-4fe3-8997-b76aa0bfa408' },update: {},create: {- id: 'fe256b39-3ec3-4fe3-8997-b76aa0bfa408',+ id: 'twenty-fe256b39-3ec3-4fe3-8997-b76aa0bfa408',name: 'Linkedin',domainName: 'linkedin.com',- workspaceId: '7ed9d212-1c25-4d02-bf25-6aeccf7ea419',+ workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419',address: '',},});await prisma.company.upsert({- where: { id: '118995f3-5d81-46d6-bf83-f7fd33ea6102' },+ where: { id: 'twenty-118995f3-5d81-46d6-bf83-f7fd33ea6102' },update: {},create: {- id: '118995f3-5d81-46d6-bf83-f7fd33ea6102',+ id: 'twenty-118995f3-5d81-46d6-bf83-f7fd33ea6102',name: 'Facebook',domainName: 'facebook.com',- workspaceId: '7ed9d212-1c25-4d02-bf25-6aeccf7ea419',+ workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419',address: '',},});await prisma.company.upsert({- where: { id: '04b2e9f5-0713-40a5-8216-82802401d33e' },+ where: { id: 'twenty-04b2e9f5-0713-40a5-8216-82802401d33e' },update: {},create: {- id: '04b2e9f5-0713-40a5-8216-82802401d33e',+ id: 'twenty-04b2e9f5-0713-40a5-8216-82802401d33e',name: 'Qonto',domainName: 'qonto.com',- workspaceId: '7ed9d212-1c25-4d02-bf25-6aeccf7ea419',+ workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419',address: '',},});await prisma.company.upsert({- where: { id: '460b6fb1-ed89-413a-b31a-962986e67bb4' },+ where: { id: 'twenty-460b6fb1-ed89-413a-b31a-962986e67bb4' },update: {},create: {- id: '460b6fb1-ed89-413a-b31a-962986e67bb4',+ id: 'twenty-460b6fb1-ed89-413a-b31a-962986e67bb4',name: 'Microsoft',domainName: 'microsoft.com',- workspaceId: '7ed9d212-1c25-4d02-bf25-6aeccf7ea419',+ workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419',address: '',},});await prisma.company.upsert({- where: { id: '89bb825c-171e-4bcc-9cf7-43448d6fb278' },+ where: { id: 'twenty-89bb825c-171e-4bcc-9cf7-43448d6fb278' },update: {},create: {- id: '89bb825c-171e-4bcc-9cf7-43448d6fb278',+ id: 'twenty-89bb825c-171e-4bcc-9cf7-43448d6fb278',name: 'Airbnb',domainName: 'airbnb.com',- workspaceId: '7ed9d212-1c25-4d02-bf25-6aeccf7ea419',+ workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419',address: '',},});await prisma.company.upsert({- where: { id: '0d940997-c21e-4ec2-873b-de4264d89025' },+ where: { id: 'twenty-0d940997-c21e-4ec2-873b-de4264d89025' },update: {},create: {- id: '0d940997-c21e-4ec2-873b-de4264d89025',+ id: 'twenty-0d940997-c21e-4ec2-873b-de4264d89025',name: 'Google',domainName: 'google.com',- workspaceId: '7ed9d212-1c25-4d02-bf25-6aeccf7ea419',+ workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419',address: '',},});await prisma.company.upsert({- where: { id: '1d3a1c6e-707e-44dc-a1d2-30030bf1a944' },+ where: { id: 'twenty-1d3a1c6e-707e-44dc-a1d2-30030bf1a944' },update: {},create: {- id: '1d3a1c6e-707e-44dc-a1d2-30030bf1a944',+ id: 'twenty-1d3a1c6e-707e-44dc-a1d2-30030bf1a944',name: 'Netflix',domainName: 'netflix.com',- workspaceId: '7ed9d212-1c25-4d02-bf25-6aeccf7ea419',+ workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419',address: '',},});await prisma.company.upsert({- where: { id: '7a93d1e5-3f74-492d-a101-2a70f50a1645' },+ where: { id: 'twenty-7a93d1e5-3f74-492d-a101-2a70f50a1645' },update: {},create: {- id: '7a93d1e5-3f74-492d-a101-2a70f50a1645',+ id: 'twenty-7a93d1e5-3f74-492d-a101-2a70f50a1645',name: 'Libeo',domainName: 'libeo.io',- workspaceId: '7ed9d212-1c25-4d02-bf25-6aeccf7ea419',+ workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419',address: '',},});await prisma.company.upsert({- where: { id: '9d162de6-cfbf-4156-a790-e39854dcd4eb' },+ where: { id: 'twenty-9d162de6-cfbf-4156-a790-e39854dcd4eb' },update: {},create: {- id: '9d162de6-cfbf-4156-a790-e39854dcd4eb',+ id: 'twenty-9d162de6-cfbf-4156-a790-e39854dcd4eb',name: 'Claap',domainName: 'claap.com',- workspaceId: '7ed9d212-1c25-4d02-bf25-6aeccf7ea419',+ workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419',address: '',},});await prisma.company.upsert({- where: { id: 'aaffcfbd-f86b-419f-b794-02319abe8637' },+ where: { id: 'twenty-aaffcfbd-f86b-419f-b794-02319abe8637' },update: {},create: {- id: 'aaffcfbd-f86b-419f-b794-02319abe8637',+ id: 'twenty-aaffcfbd-f86b-419f-b794-02319abe8637',name: 'Hasura',domainName: 'hasura.io',- workspaceId: '7ed9d212-1c25-4d02-bf25-6aeccf7ea419',+ workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419',address: '',},});await prisma.company.upsert({- where: { id: 'f33dc242-5518-4553-9433-42d8eb82834b' },+ where: { id: 'twenty-f33dc242-5518-4553-9433-42d8eb82834b' },update: {},create: {- id: 'f33dc242-5518-4553-9433-42d8eb82834b',+ id: 'twenty-f33dc242-5518-4553-9433-42d8eb82834b',name: 'Wework',domainName: 'wework.com',- workspaceId: '7ed9d212-1c25-4d02-bf25-6aeccf7ea419',+ workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419',address: '',},});await prisma.company.upsert({- where: { id: 'a7bc68d5-f79e-40dd-bd06-c36e6abb4678' },+ where: { id: 'twenty-a7bc68d5-f79e-40dd-bd06-c36e6abb4678' },update: {},create: {- id: 'a7bc68d5-f79e-40dd-bd06-c36e6abb4678',+ id: 'twenty-a7bc68d5-f79e-40dd-bd06-c36e6abb4678',name: 'Samsung',domainName: 'samsung.com',- workspaceId: '7ed9d212-1c25-4d02-bf25-6aeccf7ea419',+ workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419',address: '',},});await prisma.company.upsert({- where: { id: 'a674fa6c-1455-4c57-afaf-dd5dc086361d' },+ where: { id: 'twenty-a674fa6c-1455-4c57-afaf-dd5dc086361d' },update: {},create: {- id: 'a674fa6c-1455-4c57-afaf-dd5dc086361d',+ id: 'twenty-a674fa6c-1455-4c57-afaf-dd5dc086361d',name: 'Algolia',domainName: 'algolia.com',- workspaceId: '7ed9d212-1c25-4d02-bf25-6aeccf7ea419',+ workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419',address: '',},});await prisma.company.upsert({- where: { id: 'a674fa6c-1455-4c57-afaf-dd5dc086361e' },+ where: { id: 'twenty-dev-a674fa6c-1455-4c57-afaf-dd5dc086361e' },update: {},create: {- id: 'a674fa6c-1455-4c57-afaf-dd5dc086361e',+ id: 'twenty-dev-a674fa6c-1455-4c57-afaf-dd5dc086361e',name: 'Instagram',domainName: 'instagram.com',- workspaceId: '7ed9d212-1c25-4d02-bf25-6aeccf7ea420',+ workspaceId: 'twenty-dev-7ed9d212-1c25-4d02-bf25-6aeccf7ea420',address: '',},});diff --git a/server/src/database/seeds/index.ts b/server/src/database/seeds/index.tsindex d88a5eb6163..6317935eddc 100644--- a/server/src/database/seeds/index.ts+++ b/server/src/database/seeds/index.ts@@ -2,12 +2,16 @@ import { PrismaClient } from '@prisma/client';import { seedCompanies } from './companies';import { seedWorkspaces } from './workspaces';import { seedPeople } from './people';+import { seedComments } from './comments';+import { seedUsers } from './users';const seed = async () => {const prisma = new PrismaClient();await seedWorkspaces(prisma);+ await seedUsers(prisma);await seedCompanies(prisma);await seedPeople(prisma);+ await seedComments(prisma);await prisma.$disconnect();};diff --git a/server/src/database/seeds/people.ts b/server/src/database/seeds/people.tsindex 4caa253f0e8..78315628b09 100644--- a/server/src/database/seeds/people.ts+++ b/server/src/database/seeds/people.ts@@ -1,226 +1,226 @@import { PrismaClient } from '@prisma/client';export const seedPeople = async (prisma: PrismaClient) => {await prisma.person.upsert({- where: { id: '86083141-1c0e-494c-a1b6-85b1c6fefaa5' },+ where: { id: 'twenty-86083141-1c0e-494c-a1b6-85b1c6fefaa5' },update: {},create: {- id: '86083141-1c0e-494c-a1b6-85b1c6fefaa5',+ id: 'twenty-86083141-1c0e-494c-a1b6-85b1c6fefaa5',firstname: 'Christoph',lastname: 'Callisto',- workspaceId: '7ed9d212-1c25-4d02-bf25-6aeccf7ea419',+ workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419',phone: '+33789012345',city: 'Seattle',- companyId: 'fe256b39-3ec3-4fe3-8997-b76aa0bfa408',+ companyId: 'twenty-fe256b39-3ec3-4fe3-8997-b76aa0bfa408',email: '[email protected]',},});await prisma.person.upsert({- where: { id: '0aa00beb-ac73-4797-824e-87a1f5aea9e0' },+ where: { id: 'twenty-0aa00beb-ac73-4797-824e-87a1f5aea9e0' },update: {},create: {- id: '0aa00beb-ac73-4797-824e-87a1f5aea9e0',+ id: 'twenty-0aa00beb-ac73-4797-824e-87a1f5aea9e0',firstname: 'Sylvie',lastname: 'Palmer',- workspaceId: '7ed9d212-1c25-4d02-bf25-6aeccf7ea419',+ workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419',phone: '+33780123456',city: 'Los Angeles',- companyId: 'fe256b39-3ec3-4fe3-8997-b76aa0bfa408',+ companyId: 'twenty-fe256b39-3ec3-4fe3-8997-b76aa0bfa408',email: '[email protected]',},});await prisma.person.upsert({- where: { id: '93c72d2e-f517-42fd-80ae-14173b3b70ae' },+ where: { id: 'twenty-93c72d2e-f517-42fd-80ae-14173b3b70ae' },update: {},create: {- id: '93c72d2e-f517-42fd-80ae-14173b3b70ae',+ id: 'twenty-93c72d2e-f517-42fd-80ae-14173b3b70ae',firstname: 'Christopher',lastname: 'Gonzalez',- workspaceId: '7ed9d212-1c25-4d02-bf25-6aeccf7ea419',+ workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419',phone: '+33789012345',city: 'Seattle',- companyId: '04b2e9f5-0713-40a5-8216-82802401d33e',+ companyId: 'twenty-04b2e9f5-0713-40a5-8216-82802401d33e',email: '[email protected]',},});await prisma.person.upsert({- where: { id: 'eeeacacf-eee1-4690-ad2c-8619e5b56a2e' },+ where: { id: 'twenty-eeeacacf-eee1-4690-ad2c-8619e5b56a2e' },update: {},create: {- id: 'eeeacacf-eee1-4690-ad2c-8619e5b56a2e',+ id: 'twenty-eeeacacf-eee1-4690-ad2c-8619e5b56a2e',firstname: 'Ashley',lastname: 'Parker',- workspaceId: '7ed9d212-1c25-4d02-bf25-6aeccf7ea419',+ workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419',phone: '+33780123456',city: 'Los Angeles',- companyId: '04b2e9f5-0713-40a5-8216-82802401d33e',+ companyId: 'twenty-04b2e9f5-0713-40a5-8216-82802401d33e',email: '[email protected]',},});await prisma.person.upsert({- where: { id: '9b324a88-6784-4449-afdf-dc62cb8702f2' },+ where: { id: 'twenty-9b324a88-6784-4449-afdf-dc62cb8702f2' },update: {},create: {- id: '9b324a88-6784-4449-afdf-dc62cb8702f2',+ id: 'twenty-9b324a88-6784-4449-afdf-dc62cb8702f2',firstname: 'Nicholas',lastname: 'Wright',- workspaceId: '7ed9d212-1c25-4d02-bf25-6aeccf7ea419',+ workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419',phone: '+33781234567',city: 'Seattle',- companyId: '460b6fb1-ed89-413a-b31a-962986e67bb4',+ companyId: 'twenty-460b6fb1-ed89-413a-b31a-962986e67bb4',email: '[email protected]',},});await prisma.person.upsert({- where: { id: '1d151852-490f-4466-8391-733cfd66a0c8' },+ where: { id: 'twenty-1d151852-490f-4466-8391-733cfd66a0c8' },update: {},create: {- id: '1d151852-490f-4466-8391-733cfd66a0c8',+ id: 'twenty-1d151852-490f-4466-8391-733cfd66a0c8',firstname: 'Isabella',lastname: 'Scott',- workspaceId: '7ed9d212-1c25-4d02-bf25-6aeccf7ea419',+ workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419',phone: '+33782345678',city: 'New York',- companyId: '460b6fb1-ed89-413a-b31a-962986e67bb4',+ companyId: 'twenty-460b6fb1-ed89-413a-b31a-962986e67bb4',email: '[email protected]',},});await prisma.person.upsert({- where: { id: '98406e26-80f1-4dff-b570-a74942528de3' },+ where: { id: 'twenty-98406e26-80f1-4dff-b570-a74942528de3' },update: {},create: {- id: '98406e26-80f1-4dff-b570-a74942528de3',+ id: 'twenty-98406e26-80f1-4dff-b570-a74942528de3',firstname: 'Matthew',lastname: 'Green',- workspaceId: '7ed9d212-1c25-4d02-bf25-6aeccf7ea419',+ workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419',phone: '+33783456789',city: 'Seattle',- companyId: '460b6fb1-ed89-413a-b31a-962986e67bb4',+ companyId: 'twenty-460b6fb1-ed89-413a-b31a-962986e67bb4',email: '[email protected]',},});await prisma.person.upsert({- where: { id: 'a2e78a5f-338b-46df-8811-fa08c7d19d35' },+ where: { id: 'twenty-a2e78a5f-338b-46df-8811-fa08c7d19d35' },update: {},create: {- id: 'a2e78a5f-338b-46df-8811-fa08c7d19d35',+ id: 'twenty-a2e78a5f-338b-46df-8811-fa08c7d19d35',firstname: 'Elizabeth',lastname: 'Baker',- workspaceId: '7ed9d212-1c25-4d02-bf25-6aeccf7ea419',+ workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419',phone: '+33784567890',city: 'New York',- companyId: '89bb825c-171e-4bcc-9cf7-43448d6fb278',+ companyId: 'twenty-89bb825c-171e-4bcc-9cf7-43448d6fb278',email: '[email protected]',},});await prisma.person.upsert({- where: { id: 'ca1f5bf3-64ad-4b0e-bbfd-e9fd795b7016' },+ where: { id: 'twenty-ca1f5bf3-64ad-4b0e-bbfd-e9fd795b7016' },update: {},create: {- id: 'ca1f5bf3-64ad-4b0e-bbfd-e9fd795b7016',+ id: 'twenty-ca1f5bf3-64ad-4b0e-bbfd-e9fd795b7016',firstname: 'Christopher',lastname: 'Nelson',- workspaceId: '7ed9d212-1c25-4d02-bf25-6aeccf7ea419',+ workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419',phone: '+33785678901',city: 'San Francisco',- companyId: '89bb825c-171e-4bcc-9cf7-43448d6fb278',+ companyId: 'twenty-89bb825c-171e-4bcc-9cf7-43448d6fb278',email: '[email protected]',},});await prisma.person.upsert({- where: { id: '56955422-5d54-41b7-ba36-f0d20e1417ae' },+ where: { id: 'twenty-56955422-5d54-41b7-ba36-f0d20e1417ae' },update: {},create: {- id: '56955422-5d54-41b7-ba36-f0d20e1417ae',+ id: 'twenty-56955422-5d54-41b7-ba36-f0d20e1417ae',firstname: 'Avery',lastname: 'Carter',- workspaceId: '7ed9d212-1c25-4d02-bf25-6aeccf7ea419',+ workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419',phone: '+33786789012',city: 'New York',- companyId: '89bb825c-171e-4bcc-9cf7-43448d6fb278',+ companyId: 'twenty-89bb825c-171e-4bcc-9cf7-43448d6fb278',email: '[email protected]',},});await prisma.person.upsert({- where: { id: '755035db-623d-41fe-92e7-dd45b7c568e1' },+ where: { id: 'twenty-755035db-623d-41fe-92e7-dd45b7c568e1' },update: {},create: {- id: '755035db-623d-41fe-92e7-dd45b7c568e1',+ id: 'twenty-755035db-623d-41fe-92e7-dd45b7c568e1',firstname: 'Ethan',lastname: 'Mitchell',- workspaceId: '7ed9d212-1c25-4d02-bf25-6aeccf7ea419',+ workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419',phone: '+33787890123',city: 'Los Angeles',- companyId: '0d940997-c21e-4ec2-873b-de4264d89025',+ companyId: 'twenty-0d940997-c21e-4ec2-873b-de4264d89025',email: '[email protected]',},});await prisma.person.upsert({- where: { id: '240da2ec-2d40-4e49-8df4-9c6a049190ef' },+ where: { id: 'twenty-240da2ec-2d40-4e49-8df4-9c6a049190ef' },update: {},create: {- id: '240da2ec-2d40-4e49-8df4-9c6a049190ef',+ id: 'twenty-240da2ec-2d40-4e49-8df4-9c6a049190ef',firstname: 'Madison',lastname: 'Perez',- workspaceId: '7ed9d212-1c25-4d02-bf25-6aeccf7ea419',+ workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419',phone: '+33788901234',city: 'Seattle',- companyId: '0d940997-c21e-4ec2-873b-de4264d89025',+ companyId: 'twenty-0d940997-c21e-4ec2-873b-de4264d89025',email: '[email protected]',},});await prisma.person.upsert({- where: { id: '240da2ec-2d40-4e49-8df4-9c6a049190df' },+ where: { id: 'twenty-240da2ec-2d40-4e49-8df4-9c6a049190df' },update: {},create: {- id: '240da2ec-2d40-4e49-8df4-9c6a049190df',+ id: 'twenty-240da2ec-2d40-4e49-8df4-9c6a049190df',firstname: 'Bertrand',lastname: 'Voulzy',- workspaceId: '7ed9d212-1c25-4d02-bf25-6aeccf7ea419',+ workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419',phone: '+33788901234',city: 'Seattle',- companyId: '0d940997-c21e-4ec2-873b-de4264d89025',+ companyId: 'twenty-0d940997-c21e-4ec2-873b-de4264d89025',email: '[email protected]',},});await prisma.person.upsert({- where: { id: '240da2ec-2d40-4e49-8df4-9c6a049190dg' },+ where: { id: 'twenty-240da2ec-2d40-4e49-8df4-9c6a049190dg' },update: {},create: {- id: '240da2ec-2d40-4e49-8df4-9c6a049190dg',+ id: 'twenty-240da2ec-2d40-4e49-8df4-9c6a049190dg',firstname: 'Louis',lastname: 'Duss',- workspaceId: '7ed9d212-1c25-4d02-bf25-6aeccf7ea419',+ workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419',phone: '+33788901234',city: 'Seattle',- companyId: '0d940997-c21e-4ec2-873b-de4264d89025',+ companyId: 'twenty-0d940997-c21e-4ec2-873b-de4264d89025',email: '[email protected]',},});await prisma.person.upsert({- where: { id: '240da2ec-2d40-4e49-8df4-9c6a049190dh' },+ where: { id: 'twenty-dev-240da2ec-2d40-4e49-8df4-9c6a049190dh' },update: {},create: {- id: '240da2ec-2d40-4e49-8df4-9c6a049190dh',+ id: 'twenty-dev-240da2ec-2d40-4e49-8df4-9c6a049190dh',firstname: 'Lorie',lastname: 'Vladim',- workspaceId: '7ed9d212-1c25-4d02-bf25-6aeccf7ea420',+ workspaceId: 'twenty-dev-7ed9d212-1c25-4d02-bf25-6aeccf7ea420',phone: '+33788901235',city: 'Seattle',- companyId: 'a674fa6c-1455-4c57-afaf-dd5dc086361e',+ companyId: 'twenty-dev-a674fa6c-1455-4c57-afaf-dd5dc086361e',email: '[email protected]',},});diff --git a/server/src/database/seeds/users.ts b/server/src/database/seeds/users.tsnew file mode 100644index 00000000000..44e0c5df4df--- /dev/null+++ b/server/src/database/seeds/users.ts@@ -0,0 +1,53 @@+import { PrismaClient } from '@prisma/client';+export const seedUsers = async (prisma: PrismaClient) => {+ await prisma.user.upsert({+ where: { id: 'twenty-ge256b39-3ec3-4fe3-8997-b76aa0bfa408' },+ update: {},+ create: {+ id: 'twenty-ge256b39-3ec3-4fe3-8997-b76aa0bfa408',+ displayName: 'Charles Bochet',+ email: '[email protected]',+ locale: 'en',+ workspaceMember: {+ create: {+ id: 'twenty-7ef9d213-1c25-4d02-bf35-6aeccf7ea419',+ workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419',+ },+ },+ },+ });++ await prisma.user.upsert({+ where: { id: 'twenty-gk256b39-3ec3-4fe3-8997-b76aa0bfa408' },+ update: {},+ create: {+ id: 'twenty-gk256b39-3ec3-4fe3-8997-b76aa0bfa408',+ displayName: 'Félix Malfait',+ email: '[email protected]',+ locale: 'en',+ workspaceMember: {+ create: {+ id: 'twenty-7ed9d213-1c25-4d02-bf35-6aeccf7ea419',+ workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419',+ },+ },+ },+ });++ await prisma.user.upsert({+ where: { id: 'twenty-dev-gk256b39-3ec3-4fe3-8997-b76aa0boa408' },+ update: {},+ create: {+ id: 'twenty-dev-gk256b39-3ec3-4fe3-8997-b76aa0boa408',+ displayName: 'Charles Bochet Dev',+ email: '[email protected]',+ locale: 'en',+ workspaceMember: {+ create: {+ id: 'twenty-dev-7ed9d213-1c25-4d02-bf35-6aeccf7oa419',+ workspaceId: 'twenty-dev-7ed9d212-1c25-4d02-bf25-6aeccf7ea420',+ },+ },+ },+ });+};diff --git a/server/src/database/seeds/workspaces.ts b/server/src/database/seeds/workspaces.tsindex 801ebf8e5fc..4c8bd9d2cb3 100644--- a/server/src/database/seeds/workspaces.ts+++ b/server/src/database/seeds/workspaces.ts@@ -4,20 +4,20 @@ export const seedWorkspaces = async (prisma: PrismaClient) => {where: { domainName: 'twenty.com' },update: {},create: {- id: '7ed9d212-1c25-4d02-bf25-6aeccf7ea419',+ id: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419',displayName: 'Twenty',domainName: 'twenty.com',logo: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAAAXNSR0IArs4c6QAAEE9JREFUeF7tXWuQHWWZft4+M4kVV7IEkoxzOSdzy4TJ3dlcZiaRJMQQyl2wZPGHmEKBWlyqWEvNClUbDSMqXpAq3MXLKO5SXJZ1V0vYHyrI7mBmBhISYBVDSM6ZOXMjgUQqEkWSOed7ra+7T99Od5/u0z0TXbr/ZKan++uvn+e9v9/XIXgcXV1dtWexKK1MFzNQlD4Qb7Jeylz6zfgB5jn5N+28/Zx2Ptg5ea85tvE013Pm88rnaB9Du91/zuXzDvMu2rwZGCTCXkEYWzT/7PihQ4em3aAmt5Or/+qKtWD+CDM+DEaddcL2ySXgO/ErFxo+AaaHIcRDY2PPPOe8voyA1Wt3XA9SbgfQ5JSWBHxT610UsYLG0gSB+8ZGn77PSoKNgJVrLr9KUejHJtBu6ltZhYOZGDdT9Odtdiprg3w/8YGJ/P5HS9caBOiSr7KTSH54mx8MfF14mW6YGHv6+/I3lQDV5guWrCRmJ1TwULXGThS5cNUrYwefJxntFLDwy2B8KpH8GZZ8u/G/e9GC6dtoRdcVrQrzYBLtzB74uqCfIJHaRKtW7diGlPJkEmoGzVmqNjuWvEgnu4BttGrNzn1JkjX74GtsYB+tWnu5LdZMMlyvbD0+yTezesBGQAL+7IKvhqElDUjAn33wpQ1SCUjAPz/gqxqwck3JBySFtWDZrFuF1l6eCVNN0AlIwD8f4EvLQyvX7DAr+/Z4yBK3Wqf39qjnByOkeskvmX2DgKSZokEepQkUvpTDmgYk4J8f8FUnvGK1aYLe7m3E2TI71rKPhYAwxai3azMlus139qN1AhLwbWFGwMZ/NTbfWobQTdD7tHUCZeFtEu3YwfJfXWHH0C2sdw/1acXq97k4/gT82QBfLUUsX6VpgHkk4M8W+KoJshOQgD+b4DsImEHwiUcEaC9AzztDvfLfz5mnLD+63SegXA3iPjf/JZhzYNzKCh2p/EyL/gueB4E9gLjS7pi9IiD7+aCFzZLP0DVgRsAvEniEiW84evipfWFACHLt4lWr3jnvD/PvBfN1luvfAvgJLtT+XT4/cCLIOF7XNDZ2L6AafgiMTQz8RbiWbfClj7R81faATjhUmn4WwA8UVj555MiTv4kChNu9bW1XzC3SG/8AqVWMd2rX8G+YsCd/bOg7tsWfER/elNlwPQOfBtBpN0/RJL80FnWu3B7ACYcCX67+eowL83Zlsz95I+L7u97e3LbpbwA8COCCEvgK84dyueH/if9516QaMmM7CfRvAC72NzHBJV+fNxwExJHhitGjLz3VEj8Q6oiUae3uVig1ZBn/dwqLW3K5YQnQjB1N6Y3fEuCPl4ALpg1eWmKetxAQB/goFgRvHHl54OAMIEHN7b3b1ZXGwMU6EMxMH8/nBvtn4HllQzak12cBtMYFvtoP0ExQHOCr6vfjc3PxsfwLA6fjBqS1ffPXhOZwF5pj81Wj2aHH4n6W13gN6XWXAfRzVX4D7o+wX2tKvtEP6Fx5mVsJvLq6OKHv6OEBubS97Ghr29KIlPgegMvLJaiyqjpCzbNg3j2aG/oXL7A6OzvnnPnDhTsV4n5mXuy8zr2Ow6eI+CMT+QM/cxu3Lr2hMwX+JTNS3qYo3LvQJSsuK68CVbczhQn43MsvDXzBlYCOS/8X4C0xgA+GuC2fbbgL+M+iFwGZlp5PAbidmd8VDHwDOCGmC82vvHJo3HlffX1XmlKpnzPQHtcumzICqu8I0TkGf+bYSwP3OCfe0tmbVoqpAQDNXipZSVWNMRm7R5tq7sHAQMET/ObeGwG+h8HzQoKvXs7gL06NHdjjvLeubu1Cpab2ERBvi0WQmGEjoHrw1WmfY8buY0ee+mfnxDs6tnYUUXwcQNqt+xYEfAIKYL7vHXNrdx8+PPA7D/CVpuae7QrhQWa2+ArdYDj2h5nPLYvE+yfH99/kfEZDw/qLWMHDAO+IKkglrA0CooGv5gmycOBLADPS5kuFXYkhfoYibhodHR7zkvym1p4VCqvgr65G8i2g9k9VIKBaQdKeYb67SkB08OWw4hxAngQUpAYYBIQDn8GHqVjYNjq6/1Uv8Bcs2HDBu/4y9StmtpAcTvItuPgSwKxpgD66+VOAVSVOrGnZ8m0BnbBmHb0lS2qAOwHNHVs7FFF8HCQ1IBT4MkQ+hiLv8JP8JUvW1bFSO8jMRowO8GMKF28qomYQsJ4PsgWL+6fGn3U1QYJMExTyXVwjyzIC3LWhEviaD6hMgCmdgVZiMB8nxodGRoYGvSS/rW3zwuli4QcMGBEWgP7x0adl1spNS7pfBHi53Wm6dbes7xiEgFCC5Aq+fKKNgOrB1wgQoN05FyesaUBB1wBn+9O7H50Ct2Wzwzkv8OX5THPPEQZ3WK65/805yi2nXh46I89ZCQjawwUqESAMExREkFwTLd0XGAREA19zwkxeBPR2KFBUHxBkwgCfVFj05HJPy9Tf9ZARSc3cmicdDnffnFTN1dnsvpOlm0oEBAVfLQ+QHwFClkI8oyBnCuUHvqEB0cFXNUCAeU/26L47nYi1tL/3gwDLbZnznc7LpZlyCuBrR7PDT3iVldPpTRciJb4F8N8CelZKGFYEX5vPP5O3Pl8SwCxNUCWzY2pmEAKCCFIl8FUCOjq3ujjhIDZfjwHssfVJML4JwYbkCoUXkdyBCaovbYv1WwBWIL504tiwtPnCS/ozrT3fheDrGKjVr3kVinj/eG7/Iec9jRnpA4ThA9Q3863jMIjg44TFw8yaBugIqP+ElfzS3WUEuKmq+QD/pRlRYmOAzxDxx0aODf/QC3jZiJkunv4MA5+3XUPUNz4y7FqDasxseBGAwwnbBcxJSHAC3P1XEMl3JeA8gv8mmO/k4py78vmBt9wIkPuZT71eex2Dvm42YkpCSH3j+coEVJJ8Q6YZ/ccnvcLQkgZEB18SZWjAeQQfgumBN+fW3HzSu8SAdOvGXgj6bwAXWglSnSa4bzz/jK8GhABfDl+BALdShHvXULMebvmTdk4l4DyCL5j5iXxueKeX2ZHnGxu7Vyq1+KXzmtK8CfAlgLlkggKvWPMhoKj6gGptvpMQWnqJdMJ+Ga7F3TiKWRFtviT+p9O107umjhzwbNxnMhu2QlH+g22NGHs260dAfXrDi6T6gMDgS5ntPz550DUTLnDRCENNk1WOXyXJN3zA0ku2BIqCnFoSEXyplsdqKNVrjdnLIpjW7raUwBADi5xmx7bE20cDNAKcmbCXEzbOByYgjMN1u5acBHgnLOE7/m7hmd7+zOVzQ21+ZieTWd/MSkouqprjB74OWd+khw+oT6/XNaBS+GkjJRABUcFX/ZeVgNkAX27Phyhc41fZbGrpWUfMjwCwra7wnB+hIgH+TtiuEYLR/+qUvwmKA3x1cW6JgNkAnxl5MU2XjY8PjnhJfyaz+d1Cmf4RgTaYiZtfBVOtHfgSAF8nXG6OGP4E2MvRVh/pHe14abFKwCyBf0Io1Dt+zBv8lpau+QWe8xCA91c0O9aAwI+ApvV6IhbchPoRMC0KZU44qMM1TbKlIdO+TDrhGc1w5eg5gG7MZwdlX9j1UNdi1uKrBNwQCnw1mPbRAJUANyfs7YjDEhCloUXtyy6193HiDTVljeQNgD+RzzU84LWKQVtCMn8PAbfBrO/4fLvOoepMfZPj7olYfdM6oxQRNHJjkKcPcGpAFPBVJ2wlIP5QE3KlxFfHcsOf9Yl4KN3cvQvA/aElXy+CESoTEBR8OQcB6n/NwwlbCYgKvqq8JQLiBh/AtGD+SgXwkW7eeAtA36gWfPUlwH2T4wdcSxFSA8xMuGL8r2odU2UC4gBfjYIkAXGDr325l79RQ/NvzWZ/Ipequx6Zlp6bmfluAHNLFwQJCOz5BctPP3oS8O5G0wQF7eFWIsAtCgraUymrvLZ1SB8QPELQgPJuI+oPeDSfG/qAj9lBuqX7r8GQn8pUooCvaUAQAkL0cJm/9Orx5/7JOf/6+q6LzxXFvxNhu11jw5Ry7FpIbR3vNdsTdndsPMPNfpYX+PQFvoxv50eG/t4X/OaeXQDLdaJGlluN5BvEAX2veJiguqZ1/0rMH7WTbLmzvJkiUoDr0sQL67vSNULIdaPLzPGqB191wiUCwjgpT/BBj9TQ9E3Z7H7PjRmZlg1XMytyF8tFUSW/ZIoY/IXjE89+zq2FKcNbwefuYKKbAwjS64L52pPHn/upmwAtqFvbmQL+D0CN9uxo4KvaKwmIB3zIxbl7R3NDd/hJfxx/q0+v/y4BN5bmzcCvFUE7p6b2T8YxvtcYFy1+zzaF+Mm4wFedcOtS0wRV8gXekq9O+SwTfXosO3jvTIIgx25oWL8UCg6w2uTXGxuCr5maOvhfM/nshYvXHgWhPQ7JN+ZtEhDCSemO2EHIW2B8Mj8y9O2ZBEGOvTizvjklMADYFnq9dnzy2bJ9AHHNZWHdmnsBacaimx1bKV0jIDL4+sIs/ON4btgW08cFgHUcjQCWZQ11HahpivhXKVa2Tk15N3iqmI+ysG6t3FRyf7gV1/Zox6saS61LN/tGQRXMjiVSUjOYO8ZGh/bGuU3UDTArAY75FQF+nAvF606ceN5YnFUF6MYtC+vWfJRBu6GuLbIf3pFbMPBVJ1wiIECE4PH/v9iigZNF4p5JnxVtUcAo3Vu/pGsZivQCMxkJnEOLswL4/GtTBx+o9nkXNC5fMLcw50GANzEjxC6b4OAbBMQEvkUbsAspy2cJ1E8OVPjugAdSbncpjN3MMGJ7HxN6kkF3UpHk5hD98J/HNGiewvRZEORe5FhCTT8TTy3tpgkKkOHaYIpeD3Erg4eToLD+K65OlhUIL/uuXePvXy0EVCwvJOA7SvXWACDkqguNGpkJaxqQgG+X6HhDTT8TTy3t8mMgQT9ZFu6bEZU6bVElqHze7oL0p2Z2rISoBIQKNctCsTDSkth8pzZQc5umAeYR22cLrFFRWWoQxXH9f5B8oxRhJyABvyQ1cSRZ1ijIyw9YNCABf7bBl8/TCUjAPx/g6wT0ugYJSZKlGxCzUubwaZWTrCAVBlrS2lsWxiTgzw74akPGSUAC/uyBr2bCVgIS8GcXfNUHlAhIwJ998A0CEvDPD/gqAZmWnoBO2O71zWw0KS8EiXb0nUGOQg5A6ZaeXxCw2YyDk9pO5SKhKYxRwGfmX1CmtWcbGFWsdUkkPyL4APFWamrraVUEDzKjzqkfkZYL+iYwYZOY6jZB20qMM9BMsRYwywuE2ju6rGLR2pyE4ylObVb/S/NTr8/9MoPlZx4d2Z6blCeSH1nypfNluvvMG4tuJYl4faZ7bUrhRwnU5O9cE/DjAB/ABBNd+fvTh19QCZBHU0v39cS4LzE7zpA0NodrWBciuuHM6cPy+0lyab15NDVvvFJfsx/AFHnZcf9VAOW28s+vjRilh06kXHXm9K+N713bCFA1IdN9PYjldp+muJsSb3PwJ0jQ7WfOaJJfOsoIkH9oWLJujUKpXSz4w4AZHSVtxKpWj5wgpoeFggekzbeCX2aCrH/csmVLTS53LiNEMU0p9LGRrLmZmMTsOIGVSRaI96a4ZuK3v714DHD/1vUfAXqNkrnBgC3YAAAAAElFTkSuQmCC',},});await prisma.workspace.upsert({- where: { domainName: 'claap.com' },+ where: { domainName: 'dev.twenty.com' },update: {},create: {- id: '7ed9d212-1c25-4d02-bf25-6aeccf7ea420',- displayName: 'Claap',- domainName: 'claap.com',- logo: 'data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBT/wgARCADIAMgDASIAAhEBAxEB/8QAHAABAAMAAwEBAAAAAAAAAAAAAAUGBwIDBAgB/8QAGwEBAAIDAQEAAAAAAAAAAAAAAAIDAQUGBAf/2gAMAwEAAhADEAAAAbAPP9iAAAAAAAAAAAAAAP2XVw6eh0ekLjvllMEFwAAAAAACYh9zlpv2V8+c2cTp3RldwXZxEWCv09/c9Wq9ku+fZTUPR56voQY9IAAAAAEpuuEbvZw+bZ/oWex6EI7fl39Nxz49Sq9rya3gae9F/q7zOG6+2Wh+fWwZbHc+EY2YAAADbcSkJanc8+s9gs4bK7fZfKsxvSM42uO34YFq2RY9e3ytHo0tXo/XnljjsNQr3ulrOV+dnt8VH1UEgAAAHs8ZGTj+BG7an89WifMcqj3dMOi9GsRNus5OFptT5R3mqXOqztnE5lUNSy2vuAjtwAAAABOKoOQ1ues5bDIr6IhkKvoOGX1R6pKPrOfPN88qsMd3a8x7umO2DHvAAAAAlNx+fdanyUrRqda1nu0aq2KfO1fKPoTA4dF5xDqZHc63Zbfndbx7XpzHswVtGXx6GHEduAAAA93h0vPgstQvODT5jt0zO9cxsZ/LLz0z5vFrXWtzr6uQyq9YjLUd9tpaHV/QvkqV8u+a/PPCXiKPqALAAAF+oPPPk+hoyl+u3g7tnEHX4b+weCOl47u53/hB2/O+eSXu4Y22BNH9kOg53HlTbOKzHzFP08GQAAAAAEnGENkzSGS1nv2fCe1H6EZD0z5jRcd6PyvqwxtAAAAAAAAAAAAAAAAAAAAAAAAAAAP/xAAlEAACAgIBBAIDAQEAAAAAAAADBAIFAQYAEBMUMBESFTVAYDH/2gAIAQEAAQUC/wAfjHzkdO6XEqJ6OChICXQAZMGapHFf4aysJZGSrF0I9ChGxC2XgrYc1dXuu82c0SWHu/7yrSwgmc8FhNbUWUh7O5HNfsIHM3/7fmuq+PWkngQ2DZYP7quHcsebYxnudc5zLKwMssQjgcNka7Fd760nZf5ti0vv1nCQ5asr3HObO13nwLkaIlquOBq1F+ZAOWHddVZw4mRE/qp38PpmDA42tUz9h6qznNfQro5uv2mvK+PWlJgIzlyc1QsECJCQDA+zqCyDaViSjLE43yGHUvUi8VA6F2s9jow0JWB/i0t4xxCOytdiv5VWw1KR6xNYEWrGm+B1ViXK1HNetx0HjN+sbhw8zZt55KeZ51ZbuN82ZrvP8XXm0au18CeH9hAlI+yuF5r7k5oc2cHbsPcMkxSV2VsHDFyYvNTWx2rGU4IcjHMsqpfj6NI3kKbUD7qe8NeyxglS4LGcfHNTYx9OH1lM00qhZDOyWMQr0L4oVVvdpnT9tbUGsspUiqWOlhVAsYSieneV2kE4z2VKOHNpKTEpZnJKjO8oUMwT9lYuNp6EIig/aArsG2s8sp7VL7xziWNmS7yfWvSk+0IUQj2DK0EvZCeRzsLyK6GckaMnrDBuQpK9CKxRGAQeCjYDlY/SgrfCVITAoZqfyJ4ILCw3RKNYsqstaT1KLEePX1ga0dns0vsUxDypSyDSc2lTttc16t8xrlxfTOTDBcSrtkKCQyRLB1SDy04ZHP06mHHZfHIqWcfHE0ivGOGCFLTs+VXXqvlVoRSOVBOKKtwxkCPXVGJTDy3x8Wfp1VvEScNWKsTEKAIbFbxPivui1wGrBhzmsVv0jyH1sDPokr2OmsJZXVlnEcMm8hn0wnIc1dr+Ik2wWMPXjL2OlWhmwbjHEI3Vj+PU1Q+JBaUE4M2pY+yWriBPmyWPjrfwIWJq4iF8u5G1fzYtpOTQYQsQ2AulpcCroMHm0b+QZZhmLZnR4PsLp8ZzmWf8f//EADERAAAFAgMFBgcBAQAAAAAAAAABAgMEBRESITETFEFRYRAgIjAygQYjcZGhsfFA8P/aAAgBAwEBPwHz1uob9arBDzTvoUR+/Yp5tCiQpVjPyapO3Nrw+o9AzFk1BRrLPqYepcuMWO1/oIpmqO2o+RfoVR7eJarcMhFZ2DKW+ReR8QX2qPoKTh3NGHslPlHjqd5F/BSmd4lpvwzEmaxEL5qgr4gbv4WxDqLM3JGR8u9UoW+tWL1FoG35dNUaSy6B2pS5Xy768CFWdNuKzH42K/sKCxhaU8fEIpT0qS5jPIj1DsGlsFhcXn9cwlzdn8bJ3sYSolpJRce8pJKyUQS2hHpKwqdLflO7Zs79BGZ3dlLXIVSc44/urR2LQMUqKwWabn1E0kLcW63pewpLu1iI6Zd911DKcbh2IP18iOzCPuGK/dVn05dBU6e465vMcsSVcgiPU5JbNV7dcg7To7EQmXV2z16iHFbiN4WjuR9+tR3n3WyRmR5e4TT4MBF5R3P/ALQhPOM544qDIvwKDIxtKZPh2VaZvb2zR6U/sRKi1T2tlmo/x7CHU2Jh4SyVy70+RusdTpaikx0TVrfkeIyFXcbwtxi1uWQguHCmklXOxirzd2ZwJ9ShRIaHLvuFe2gfisyE4XEiQ0qFJNBHmkNL2jaV8+7LjlKZU0fEFTZ7S7IT9jFPpBsr28g7qC2o7BqkKSV+YdccqMm5anoG5R0qUpoyunL9ahVZhkjESvaw+ZUpfVQSRJKxeQtCXEmhZXIRaYzEdN1H8E+momli0UCoUrFYzIQae3CTlmrn/t//xAAfEQACAQQDAQEAAAAAAAAAAAAAARECEiExECAwQEH/2gAIAQIBAT8B+tKSUiUMWh+FJVvhD0JSWjUdk4MMhIp2VEwiWb8U4GJfpcxFW/C0tEzCJyNz3pJb0Kf0q4pUDUjUdlkqwUjyilSVMk32WCUOrjSIuRazS8m5E4LkNz9v/8QAOhAAAgECAwQIAggGAwAAAAAAAQIDABESITEQIkFRBBMjMDJCUmFxgRQgQGKRobHRMzRgcoLBU5Lw/9oACAEBAAY/Av6PsMzW70d/nlX8ufkQawyIyHkwttSJfExsKzixr6kz+w4V3UHiflVok3vWdTtwyIHXkamijFkGg+WxpTpEPzOzAoG4Mz7/AGBI/Nq3xppJGwoONEQRhF5tma3sDj3WgknYSe+hrpHy/QbFY+KTepnbwqLmnkbVzfv+jqdMY2Qw+W2P6lybmo4hq5tQUZACwooPFKcP2Do7nQONkM48NsB+phYFWHA00x0jH5nYIxpEPzoJEhduQoN0mT/BP3rc6OnxIvVjGpHwomNeofmun4UYpRY/r3atftFyce9NHIuJG1Bq/R5Rb0yVvyRqPxoP/Fl9TcK6R/dSE+KTfpnbwqLmnkbVjeojCPGoYniaLOwRRxNWTHL7gZVZ0eL31FBlOJToRTEDtI95e7EkZ+I4GhvdVJ6G24pZAg96PV3wyvlQUZAZVgHilNvlsxSZmNigXnWKVsuCjQV2ULEc9BXaSJH+ddT1plF7i4tbZNF6WI7zs5pEHs1fzMv/AHNXYljzNPMdIxl8Ts6seGIW+exYoxidqDSATS8zoKMaDrpBwGgrcKxD7oqeWd2fC+pz4bMfCRb9/iRijc1NWe0y/e1p5G8TG52TT+a+AVO0fjCG2wAC5PCpUfxFGZ/wqGT1IDUcvoa34/YLxwOw52q7dHe3sL7JoON8Y2Yhji9kOVXjS7+tszR6Mp7R9fYUnWyqmAld41LArNIWGVhlfvt3cj4uaFk6x/W+041wycJBrXpkTjwNdurRN7ZismZ/gtFejp1Q9RzNFmJZjqTTTJYZ7qnzUUkUow4HvYopDZGNBUGFRoBXaNvcEXWuyiRB97OgOkxrh9ScKBBuDXXgb8X6fUSJeOp5ClRBZVFgKJnQO+ic796rrkym4qKSPOWZbqOVX3pJGPxJq8zCFeWprHLZvvSmlaEgxcLUyN4WFjTxNqhttxuO1kzPsOVFm0FfSOmXt5IQfCPerLBGP8a/hiJvVHlVn3kPhcce7SFMz+grcF380h1NGPomQ/5D/qsUjl25sa6zgr3/AMb5/wC9iTjSQZ/EbOscdlHn8TsMXR2wRKfENTWISOG53oL0jtY/V5hQdDiU5ginifjoeRpkbxKbHuppvMThqdE8ZQgbBHEt+Z4CpYh4ViI+NQv5gMJ+VSepN8UsaC7MbCkhXhqeZqXD4mU/L3+pNCdEII+ezpNvX3UvRz5t5dmKSBGbnasMaKi8lFfRoTdb77Dj7U8caqcRvduFdrKzDlwr6W4zOSfvs6WDnGvY/v8A+9qMb/JuY2tK2Rl0+FEnICpZPWxPdBlOFhmCKA6RFiPqSuzgdj942oqW6uP0ptWPyasfagqiyjICiR/FfJP3qeK+9ix1gmTGK7Kew5OKDzP11vLaw2dQp7SXX2H2HFEddVOhrePUyDVWppPIMkHtSypqNRzFYo2z4qdRtt45uCfvTSyHE7fZQyMUYcRViUk/uWrdYIx9wWq5zP8ASH//xAAqEAEAAQIDBwQDAQEAAAAAAAABEQAhMUFREGFxgZGhsTDB0fAgQOFg8f/aAAgBAQABPyH/AB6ECmAVOoW776myv0LNbwFhbcJ1zb6lVw3P5pIYf0NR5YsPmiYNV3nbXDtkzT8kkjMSH32RKyvQO07BBEYRdV/EeuCoLrQnC2XV4/FH2DKqyQVvnsd6le5oPFHhLYH0mu82aIkLPhl280sEIbcViTV8/XG9EycGdkHsCY1Zg8PX8JwtRawkTw76EeGDQKmhAOTF+Of6A2RJO6dkApuGjMnl/BBiwGEqDmX6Hidkgpi8132p6joAJLyedDACmodWt3BExWgwfK+FR4W4mA1PTX0iM5vc6BgSMxUtLcLEcyuLzirxSsksAtwFfe3FRShZcHDt5pLoU24rF2751BhEHETOscPTwFOAXcu6gphz2OlHxBKJEqwU1M0zPTuJsFwdGhKOasdHPbxduu8DOsgxEl41ojYcDQqRaPcT8c9gBoQsXiee1YXn4zQIq853GodG0JdEkAk5BWNZWBnCbdvULjRDhR8MdDdpzJajZg/o0nZFpPUl326bEhogKzmBHoHvTwLBWE0Wp04mXq0eMRXkENkeSxlvLfHrihzCA1ALu2Oo96ucL4zsC0lTNABfJ0qVQQRiW2I2dAC61YabrlwdIq40qHGL1Gxedw/oP0ACPkcda+pMMqRIkJk0p7BgamD4OtY0zul0nkNcWUf+HKpyeHPveh7A0TOfeoNTFbYjGM/WlphYHblq0yGO8eWm0wCCxs+SotM+QYPw0OM0p/rU+W0f3iiQp93A70+EJRK0peAsd69Y3Ehh9Vnd4jPdzwoxo4BYKxbMm4dOeaT9quaLF4d6M6FsKRMyiK6Lurx+ev4Wmi7rjUDzAaU5AWcOA6eq/EAmiVDV5B14U+XNwoUYvpKw6m59MKwBwjgtbDlRfSgtzWPJXtwsRyY5FEmgpaTcJCG8a8KiPeGm+6Q8MGg/KI+D6d3FtfDOeFR0IPpLFIjBslK8FO9+wq90KU7jw2IMYb6NI6bMSjynkHvs4/gJMxyK3CIOaate303oHI8gSjKsfANHxCA3npHhWM9AJ9+1ZHKGbFIkSExGkwPkOq0+GK3Mj5WpsZ5ls/tQ0J7Dj2mrOjCrmMfINAwUkjJF/rU/BiZ3R3Sdu+wskk+kyMPOJidPGzWkNpeOtQwLQFWV+WARkqx8XmIht0pfnrHQWqRyWuRnsYY54z5hQx7Y5WttC+WIdODzlpWoEq5V/wBhV9J16cwGndQz4nlXLoAdpoICbqeLntvcBbZUPwWBkUDnIt+fJ8U5LONiyR7d6XkyZxODTUvv73Kkh7juOtBBBYoMPUQ5vXDr+ihJGCTTHxBKbcnOr5C9Mv6rTrEwzCgVt25TyELb30FSyxK/q4QenhriNd7tFOZFvnXGnCKXVxf8h//aAAwDAQACAAMAAAAQBBBBBBBBBBBBBBBOCBOJBBBBBBBd2xLdABBBBBBBXBBV8JDCBBBBBEnJJidvoJBBBBBBDbiuhWpBBBBBBHEpidcBBBBBBBbWUPBruNBBBBBCr8ZWSg0qBBBBU87lbFA3gBBBBBBBSAA4aBBBBBBBBBBBBBBBBBBBBBBBBBBBB//EACkRAQABAwIGAQUBAQEAAAAAAAERACExQWFRcYGRobEgEDDB0fDhQPH/2gAIAQMBAT8Q++XJDdD3TkctD6fofLAFCeX2UPa7OL09tT88SW7voxWFQvLmN9HrFOjKsrqopcyKPT9s1xPAeevn7AluJd5v+KT5+ecsz/Y+gC2ObbyilyBf6Y8xUogdAuvT8sFCgiboPaH3UkiOVnmaJ/Pyh3i6vY8/YVIU9UWd7+zvRd2LIIntd5TThskHCAQ9fVRQu4OR+18UiONFXW9o6RfB4pTE4ruwPxQHFTDck3HiWSsQIE5PyHgJuTWI+QD1SANgCsgcHDeW8ZohtAddXqzVuXROJWMvAnGt5o+kWW7xg7daJPOIxgiOcL2qXLe50x4j5pyhq/3ilkg4qPB+zlTgEWsrdHPfo0lgAdSMZjUc2oOxxZojebvZqC1ivEiOhHYJdanmRMqM2yRB85R5ANDKXmeCihV4z4Lp0elLExQqQnSMw54cqVHdycn9Pv6JKzYI11P4P9oMJbLDZtljVCF1SKuj4zXk6+9vkpCRY5tvGabGUWb51TU0DG2KGAKaGhjGkzB1q1yC6zHhh6VevQNjV/B30rOwQHG7Hg60rInGLnJyVfXAj2R5xFIhoHuT8XaiFnglx752pUoeIB3k8xQWEXDMPFdX/wBloAjJhexp/mXeouXYHA07F3q0u6yTWwgbuU1mpFF3J5XI8xWUFzsH6DrQnEEdvsHgTI4qSW5AN90O+9970eDHh4nB/rUqAnGX1E0+nJlejge9dP8At//EAB0RAQEBAAIDAQEAAAAAAAAAAAEAESExECAwUUD/2gAIAQIBAT8Q+4L1InfjF5+OyYjcXZjkWu/Dq3Z4GuTyJ0t/svb22SScyGpnzkkMherMY/DdjGMtdiDUpaAGGL3BeCP3P5jDG3mhuiRc+6Adtkw4hx3xg1ley+wayTwIPLCNG2XBCOocbPD6rW23dsYWrxAU8jwcfGHOpRjP4S/2v//EACkQAQABAwQCAgEEAwEAAAAAAAERACExQVFhcYGREKEwIECxwWDw8eH/2gAIAQEAAT8Q/wAPfCEDlXYKAFq4lL3KTHjRz0jX/EJsJ8iCOmAVEvBlrwHUm8Fh2FIgIjCOn7BMlhIFYA1V4P6oEKEEOxoOCDj5znKOOycPNSNHwQQJb5Wfi5alTzf6O3wlGNMuiUzCF8X/ADmAUQBlaDKQLkmrWMOAr+PopANVbBRY8wFFvAnR7UWuS+M4UVKUMFU2sw8IcL8gL0Lzl5WPUBpxrLAFX0VhWOnEljox+c/BCMICPr4a1UG2ZM9HsfofIwCpYCC7wBUl8GTQsPgS+KOWMuggPRVhkWG4bvUB+wFkJTaIC+l+EKZ4ixKXv6PkFQCV0pDKQ73huVcphtN4fT3Pi0KjDFv6I+GsQaxwbrgOW1LSd5oHCF+gO6wUgH96/dJX+096RRsHJHe+iPBrckNtO2o/+N/xDDRoUkbAfQE+zSoOEKsP6dRLjU1lJErjEz5CjRKr+HCB9lHDdRhN8Y8spo/Dl7FJS+DxgPlXCemAV+ikZnj9Sx1eiaxZkQsuFSMFCGCS/MaDuLQvcx+qVlEBnYlJ4Gj3SKJYRMlGfSKWBPnDG4fjFGQyupD+8lS3wgdTzWPV+Cs/DYWJGPgyLgGkdFCSDgUcAvVDjBHgCA9ValEg3hd+j4HhpAvLZxEJ0FThEjKQuG/LdrGEyc9RD4aFSmYT4gPurbIQgxIJbTLnVpAIgjZGlgLgdZpeYP5DJVj1sMUjlGQD+GsnMFp5aIkZM8hPp7nxYVKJiwvqHwgkgeOVdALrUE9jKNs9rbr9YprDooTk3NgdmKdQdgKHmW/IFKN0sCqGwZgsS/FrxVuvz0e/58rQELyXqDlWiwcRX5DSbyW5Ff5+Ahy8Lxi7fQppcliClOQlOqVWW7QdoOlFgAy05IGJsr9AOyplkV5CHuavbTDYoX/Tf9hjhwU/K33SSLXW27upGzoQhGjpgsygR9UkAiCNkauDVBpOYIHRbiisZIsHpx4ChDHBt5JZ5hEbS7SmKvUpZgWWxLbVLAOcAiLigXJ/NBbLEjuD6C26VcSEmT7jHgTy/NigBA+k/wAD4hvUfa1ROvIf2WSg8gzk7kWdQ9tJ9tsX6vurbRJSDgyUf0Jshyq5aXLGWCZGBDYmyzci7HvhwOeTnX8sJ5LsWCk9JBLmj64iwNAo6vHEB3jAcqFEE3sv2RB6afHmR8gaw6jzihKIfkQkR2ipdBEi6IHhTgcv0SRKjEx/8DlCii6UwEFDNtMwoyFwZdGxqflZWAuokfZUKfEXLPYSRqnDSUy5gUNgu9FXR2TJzoweWTaiYhmcnsWLpFp0EF48TAgQCjGlc+KwBH6aG25kRMMScOfPzBRUMf0pvLyxpVyvQErsAXVbAXVCpW2+CCBdeWWbSgAdBSLKvakvmoXTLIx5H2E8lEWKYUFsnsPU/jG1tS28VNhK9u7UurtByX+g8y3oZn0ondLByzOxTsZqH0Tg4o0LG6RCfzOyhEkuVazk4bRL2vZ8QUMhFs/OGXQa0sEuKZJCTw5yJMRdzN4LzgmPn3M0++hIsbzp4b86UEiaUowlEMyQlLDyPsk1riUQiIns/EuglVkRB2j0ppWHckVjvHmkbOQEI7NODKSn8BH26S1K6jlEKV5+1WUuJzmLygeVEGDm5Kjyx2lO/GLqr9G7UKlxHC2XtxsAaU4KrcMmTgkO/wBA7korMLBxM+18BsBOjdZftfxH3KTsQo7mD5fCNsZSR3RHtNDrxghcwfzUMpyUsWTUG67hGKi1NKJiASZjVphpasGQw+ovKKsNikXw+TBwO/w8SLh1ZJsz4SkzoURGmH9mj8pfItDd9hOodaEmpjgEq0zIkCOgiHgfxE+ulAMI0GMoQLmuw9McFLLFse7UW87s5G0k9Jjj5NZwLbe+7YO+KNIEGACAOijPk2sIegM9o1qQEK5IknmEz0pmtvgXcLj1TJw2kzzE+qakqDecJXpY3GgIACACwU0PYCvqn/SOH7G3r5FAmB1IluI3pMtpUQErjEaWeNantwJLZTfJ7jSmPG6V1l4fpB0oIUBKBtk22Sz8orX4jb/oOm4oGQeDYDQCwcftUTBLZeSjLAIP7zKiyChPWKR4SkPupymqrn/EP//Z',+ id: 'twenty-dev-7ed9d212-1c25-4d02-bf25-6aeccf7ea420',+ displayName: 'Twenty Dev',+ domainName: 'dev.twenty.com',+ logo: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAAAXNSR0IArs4c6QAAEE9JREFUeF7tXWuQHWWZft4+M4kVV7IEkoxzOSdzy4TJ3dlcZiaRJMQQyl2wZPGHmEKBWlyqWEvNClUbDSMqXpAq3MXLKO5SXJZ1V0vYHyrI7mBmBhISYBVDSM6ZOXMjgUQqEkWSOed7ra+7T99Od5/u0z0TXbr/ZKan++uvn+e9v9/XIXgcXV1dtWexKK1MFzNQlD4Qb7Jeylz6zfgB5jn5N+28/Zx2Ptg5ea85tvE013Pm88rnaB9Du91/zuXzDvMu2rwZGCTCXkEYWzT/7PihQ4em3aAmt5Or/+qKtWD+CDM+DEaddcL2ySXgO/ErFxo+AaaHIcRDY2PPPOe8voyA1Wt3XA9SbgfQ5JSWBHxT610UsYLG0gSB+8ZGn77PSoKNgJVrLr9KUejHJtBu6ltZhYOZGDdT9Odtdiprg3w/8YGJ/P5HS9caBOiSr7KTSH54mx8MfF14mW6YGHv6+/I3lQDV5guWrCRmJ1TwULXGThS5cNUrYwefJxntFLDwy2B8KpH8GZZ8u/G/e9GC6dtoRdcVrQrzYBLtzB74uqCfIJHaRKtW7diGlPJkEmoGzVmqNjuWvEgnu4BttGrNzn1JkjX74GtsYB+tWnu5LdZMMlyvbD0+yTezesBGQAL+7IKvhqElDUjAn33wpQ1SCUjAPz/gqxqwck3JBySFtWDZrFuF1l6eCVNN0AlIwD8f4EvLQyvX7DAr+/Z4yBK3Wqf39qjnByOkeskvmX2DgKSZokEepQkUvpTDmgYk4J8f8FUnvGK1aYLe7m3E2TI71rKPhYAwxai3azMlus139qN1AhLwbWFGwMZ/NTbfWobQTdD7tHUCZeFtEu3YwfJfXWHH0C2sdw/1acXq97k4/gT82QBfLUUsX6VpgHkk4M8W+KoJshOQgD+b4DsImEHwiUcEaC9AzztDvfLfz5mnLD+63SegXA3iPjf/JZhzYNzKCh2p/EyL/gueB4E9gLjS7pi9IiD7+aCFzZLP0DVgRsAvEniEiW84evipfWFACHLt4lWr3jnvD/PvBfN1luvfAvgJLtT+XT4/cCLIOF7XNDZ2L6AafgiMTQz8RbiWbfClj7R81faATjhUmn4WwA8UVj555MiTv4kChNu9bW1XzC3SG/8AqVWMd2rX8G+YsCd/bOg7tsWfER/elNlwPQOfBtBpN0/RJL80FnWu3B7ACYcCX67+eowL83Zlsz95I+L7u97e3LbpbwA8COCCEvgK84dyueH/if9516QaMmM7CfRvAC72NzHBJV+fNxwExJHhitGjLz3VEj8Q6oiUae3uVig1ZBn/dwqLW3K5YQnQjB1N6Y3fEuCPl4ALpg1eWmKetxAQB/goFgRvHHl54OAMIEHN7b3b1ZXGwMU6EMxMH8/nBvtn4HllQzak12cBtMYFvtoP0ExQHOCr6vfjc3PxsfwLA6fjBqS1ffPXhOZwF5pj81Wj2aHH4n6W13gN6XWXAfRzVX4D7o+wX2tKvtEP6Fx5mVsJvLq6OKHv6OEBubS97Ghr29KIlPgegMvLJaiyqjpCzbNg3j2aG/oXL7A6OzvnnPnDhTsV4n5mXuy8zr2Ow6eI+CMT+QM/cxu3Lr2hMwX+JTNS3qYo3LvQJSsuK68CVbczhQn43MsvDXzBlYCOS/8X4C0xgA+GuC2fbbgL+M+iFwGZlp5PAbidmd8VDHwDOCGmC82vvHJo3HlffX1XmlKpnzPQHtcumzICqu8I0TkGf+bYSwP3OCfe0tmbVoqpAQDNXipZSVWNMRm7R5tq7sHAQMET/ObeGwG+h8HzQoKvXs7gL06NHdjjvLeubu1Cpab2ERBvi0WQmGEjoHrw1WmfY8buY0ee+mfnxDs6tnYUUXwcQNqt+xYEfAIKYL7vHXNrdx8+PPA7D/CVpuae7QrhQWa2+ArdYDj2h5nPLYvE+yfH99/kfEZDw/qLWMHDAO+IKkglrA0CooGv5gmycOBLADPS5kuFXYkhfoYibhodHR7zkvym1p4VCqvgr65G8i2g9k9VIKBaQdKeYb67SkB08OWw4hxAngQUpAYYBIQDn8GHqVjYNjq6/1Uv8Bcs2HDBu/4y9StmtpAcTvItuPgSwKxpgD66+VOAVSVOrGnZ8m0BnbBmHb0lS2qAOwHNHVs7FFF8HCQ1IBT4MkQ+hiLv8JP8JUvW1bFSO8jMRowO8GMKF28qomYQsJ4PsgWL+6fGn3U1QYJMExTyXVwjyzIC3LWhEviaD6hMgCmdgVZiMB8nxodGRoYGvSS/rW3zwuli4QcMGBEWgP7x0adl1spNS7pfBHi53Wm6dbes7xiEgFCC5Aq+fKKNgOrB1wgQoN05FyesaUBB1wBn+9O7H50Ct2Wzwzkv8OX5THPPEQZ3WK65/805yi2nXh46I89ZCQjawwUqESAMExREkFwTLd0XGAREA19zwkxeBPR2KFBUHxBkwgCfVFj05HJPy9Tf9ZARSc3cmicdDnffnFTN1dnsvpOlm0oEBAVfLQ+QHwFClkI8oyBnCuUHvqEB0cFXNUCAeU/26L47nYi1tL/3gwDLbZnznc7LpZlyCuBrR7PDT3iVldPpTRciJb4F8N8CelZKGFYEX5vPP5O3Pl8SwCxNUCWzY2pmEAKCCFIl8FUCOjq3ujjhIDZfjwHssfVJML4JwYbkCoUXkdyBCaovbYv1WwBWIL504tiwtPnCS/ozrT3fheDrGKjVr3kVinj/eG7/Iec9jRnpA4ThA9Q3863jMIjg44TFw8yaBugIqP+ElfzS3WUEuKmq+QD/pRlRYmOAzxDxx0aODf/QC3jZiJkunv4MA5+3XUPUNz4y7FqDasxseBGAwwnbBcxJSHAC3P1XEMl3JeA8gv8mmO/k4py78vmBt9wIkPuZT71eex2Dvm42YkpCSH3j+coEVJJ8Q6YZ/ccnvcLQkgZEB18SZWjAeQQfgumBN+fW3HzSu8SAdOvGXgj6bwAXWglSnSa4bzz/jK8GhABfDl+BALdShHvXULMebvmTdk4l4DyCL5j5iXxueKeX2ZHnGxu7Vyq1+KXzmtK8CfAlgLlkggKvWPMhoKj6gGptvpMQWnqJdMJ+Ga7F3TiKWRFtviT+p9O107umjhzwbNxnMhu2QlH+g22NGHs260dAfXrDi6T6gMDgS5ntPz550DUTLnDRCENNk1WOXyXJN3zA0ku2BIqCnFoSEXyplsdqKNVrjdnLIpjW7raUwBADi5xmx7bE20cDNAKcmbCXEzbOByYgjMN1u5acBHgnLOE7/m7hmd7+zOVzQ21+ZieTWd/MSkouqprjB74OWd+khw+oT6/XNaBS+GkjJRABUcFX/ZeVgNkAX27Phyhc41fZbGrpWUfMjwCwra7wnB+hIgH+TtiuEYLR/+qUvwmKA3x1cW6JgNkAnxl5MU2XjY8PjnhJfyaz+d1Cmf4RgTaYiZtfBVOtHfgSAF8nXG6OGP4E2MvRVh/pHe14abFKwCyBf0Io1Dt+zBv8lpau+QWe8xCA91c0O9aAwI+ApvV6IhbchPoRMC0KZU44qMM1TbKlIdO+TDrhGc1w5eg5gG7MZwdlX9j1UNdi1uKrBNwQCnw1mPbRAJUANyfs7YjDEhCloUXtyy6193HiDTVljeQNgD+RzzU84LWKQVtCMn8PAbfBrO/4fLvOoepMfZPj7olYfdM6oxQRNHJjkKcPcGpAFPBVJ2wlIP5QE3KlxFfHcsOf9Yl4KN3cvQvA/aElXy+CESoTEBR8OQcB6n/NwwlbCYgKvqq8JQLiBh/AtGD+SgXwkW7eeAtA36gWfPUlwH2T4wdcSxFSA8xMuGL8r2odU2UC4gBfjYIkAXGDr325l79RQ/NvzWZ/Ipequx6Zlp6bmfluAHNLFwQJCOz5BctPP3oS8O5G0wQF7eFWIsAtCgraUymrvLZ1SB8QPELQgPJuI+oPeDSfG/qAj9lBuqX7r8GQn8pUooCvaUAQAkL0cJm/9Orx5/7JOf/6+q6LzxXFvxNhu11jw5Ry7FpIbR3vNdsTdndsPMPNfpYX+PQFvoxv50eG/t4X/OaeXQDLdaJGlluN5BvEAX2veJiguqZ1/0rMH7WTbLmzvJkiUoDr0sQL67vSNULIdaPLzPGqB191wiUCwjgpT/BBj9TQ9E3Z7H7PjRmZlg1XMytyF8tFUSW/ZIoY/IXjE89+zq2FKcNbwefuYKKbAwjS64L52pPHn/upmwAtqFvbmQL+D0CN9uxo4KvaKwmIB3zIxbl7R3NDd/hJfxx/q0+v/y4BN5bmzcCvFUE7p6b2T8YxvtcYFy1+zzaF+Mm4wFedcOtS0wRV8gXekq9O+SwTfXosO3jvTIIgx25oWL8UCg6w2uTXGxuCr5maOvhfM/nshYvXHgWhPQ7JN+ZtEhDCSemO2EHIW2B8Mj8y9O2ZBEGOvTizvjklMADYFnq9dnzy2bJ9AHHNZWHdmnsBacaimx1bKV0jIDL4+sIs/ON4btgW08cFgHUcjQCWZQ11HahpivhXKVa2Tk15N3iqmI+ysG6t3FRyf7gV1/Zox6saS61LN/tGQRXMjiVSUjOYO8ZGh/bGuU3UDTArAY75FQF+nAvF606ceN5YnFUF6MYtC+vWfJRBu6GuLbIf3pFbMPBVJ1wiIECE4PH/v9iigZNF4p5JnxVtUcAo3Vu/pGsZivQCMxkJnEOLswL4/GtTBx+o9nkXNC5fMLcw50GANzEjxC6b4OAbBMQEvkUbsAspy2cJ1E8OVPjugAdSbncpjN3MMGJ7HxN6kkF3UpHk5hD98J/HNGiewvRZEORe5FhCTT8TTy3tpgkKkOHaYIpeD3Erg4eToLD+K65OlhUIL/uuXePvXy0EVCwvJOA7SvXWACDkqguNGpkJaxqQgG+X6HhDTT8TTy3t8mMgQT9ZFu6bEZU6bVElqHze7oL0p2Z2rISoBIQKNctCsTDSkth8pzZQc5umAeYR22cLrFFRWWoQxXH9f5B8oxRhJyABvyQ1cSRZ1ijIyw9YNCABf7bBl8/TCUjAPx/g6wT0ugYJSZKlGxCzUubwaZWTrCAVBlrS2lsWxiTgzw74akPGSUAC/uyBr2bCVgIS8GcXfNUHlAhIwJ998A0CEvDPD/gqAZmWnoBO2O71zWw0KS8EiXb0nUGOQg5A6ZaeXxCw2YyDk9pO5SKhKYxRwGfmX1CmtWcbGFWsdUkkPyL4APFWamrraVUEDzKjzqkfkZYL+iYwYZOY6jZB20qMM9BMsRYwywuE2ju6rGLR2pyE4ylObVb/S/NTr8/9MoPlZx4d2Z6blCeSH1nypfNluvvMG4tuJYl4faZ7bUrhRwnU5O9cE/DjAB/ABBNd+fvTh19QCZBHU0v39cS4LzE7zpA0NodrWBciuuHM6cPy+0lyab15NDVvvFJfsx/AFHnZcf9VAOW28s+vjRilh06kXHXm9K+N713bCFA1IdN9PYjldp+muJsSb3PwJ0jQ7WfOaJJfOsoIkH9oWLJujUKpXSz4w4AZHSVtxKpWj5wgpoeFggekzbeCX2aCrH/csmVLTS53LiNEMU0p9LGRrLmZmMTsOIGVSRaI96a4ZuK3v714DHD/1vUfAXqNkrnBgC3YAAAAAElFTkSuQmCC',},});};diff --git a/server/src/entities/user/user.repository.ts b/server/src/entities/user/user.repository.tsindex 63dfc57ff60..3d8d2548a35 100644--- a/server/src/entities/user/user.repository.ts+++ b/server/src/entities/user/user.repository.ts@@ -21,7 +21,10 @@ export class UserRepository {where?: Prisma.UserWhereInput;}): Promise<User | null> {const { where } = params;- return this.prisma.user.findFirst({ where });++ return this.prisma.user.findFirst({+ where,+ });}async upsertUser(params: {