diff --git a/front/src/generated/graphql.tsx b/front/src/generated/graphql.tsx index 5a59f5ccd..942892e6a 100644 --- a/front/src/generated/graphql.tsx +++ b/front/src/generated/graphql.tsx @@ -34,6 +34,76 @@ export type Analytics = { success: Scalars['Boolean']; }; +export type Attachment = { + __typename?: 'Attachment'; + activity: CommentThread; + activityId: Scalars['String']; + author: User; + authorId: Scalars['String']; + createdAt: Scalars['DateTime']; + fullPath: Scalars['String']; + id: Scalars['ID']; + name: Scalars['String']; + type: AttachmentType; + updatedAt: Scalars['DateTime']; +}; + +export type AttachmentCreateNestedManyWithoutActivityInput = { + connect?: InputMaybe>; +}; + +export type AttachmentListRelationFilter = { + every?: InputMaybe; + none?: InputMaybe; + some?: InputMaybe; +}; + +export type AttachmentOrderByRelationAggregateInput = { + _count?: InputMaybe; +}; + +export enum AttachmentType { + Archive = 'Archive', + Audio = 'Audio', + Image = 'Image', + Other = 'Other', + Spreadsheet = 'Spreadsheet', + TextDocument = 'TextDocument', + Video = 'Video' +} + +export type AttachmentUpdateManyWithoutActivityNestedInput = { + connect?: InputMaybe>; + disconnect?: InputMaybe>; + set?: InputMaybe>; +}; + +export type AttachmentUpdateManyWithoutAuthorNestedInput = { + connect?: InputMaybe>; + disconnect?: InputMaybe>; + set?: InputMaybe>; +}; + +export type AttachmentWhereInput = { + AND?: InputMaybe>; + NOT?: InputMaybe>; + OR?: InputMaybe>; + activity?: InputMaybe; + activityId?: InputMaybe; + author?: InputMaybe; + authorId?: InputMaybe; + createdAt?: InputMaybe; + fullPath?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + type?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type AttachmentWhereUniqueInput = { + id?: InputMaybe; +}; + export type AuthProviders = { __typename?: 'AuthProviders'; google: Scalars['Boolean']; @@ -102,95 +172,8 @@ export type CommentCreateInput = { updatedAt?: InputMaybe; }; -export type CommentCreateManyAuthorInput = { - body: Scalars['String']; - commentThreadId: Scalars['String']; - createdAt?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type CommentCreateManyAuthorInputEnvelope = { - data: Array; - skipDuplicates?: InputMaybe; -}; - -export type CommentCreateManyCommentThreadInput = { - authorId: Scalars['String']; - body: Scalars['String']; - createdAt?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type CommentCreateManyCommentThreadInputEnvelope = { - data: Array; - skipDuplicates?: InputMaybe; -}; - -export type CommentCreateManyWorkspaceInput = { - authorId: Scalars['String']; - body: Scalars['String']; - commentThreadId: Scalars['String']; - createdAt?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type CommentCreateManyWorkspaceInputEnvelope = { - data: Array; - skipDuplicates?: InputMaybe; -}; - -export type CommentCreateNestedManyWithoutAuthorInput = { - connect?: InputMaybe>; - connectOrCreate?: InputMaybe>; - create?: InputMaybe>; - createMany?: InputMaybe; -}; - export type CommentCreateNestedManyWithoutCommentThreadInput = { - createMany?: InputMaybe; -}; - -export type CommentCreateOrConnectWithoutAuthorInput = { - create: CommentCreateWithoutAuthorInput; - where: CommentWhereUniqueInput; -}; - -export type CommentCreateOrConnectWithoutCommentThreadInput = { - create: CommentCreateWithoutCommentThreadInput; - where: CommentWhereUniqueInput; -}; - -export type CommentCreateOrConnectWithoutWorkspaceInput = { - create: CommentCreateWithoutWorkspaceInput; - where: CommentWhereUniqueInput; -}; - -export type CommentCreateWithoutAuthorInput = { - body: Scalars['String']; - commentThread: CommentThreadCreateNestedOneWithoutCommentsInput; - createdAt?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type CommentCreateWithoutCommentThreadInput = { - author: UserCreateNestedOneWithoutCommentsInput; - body: Scalars['String']; - createdAt?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type CommentCreateWithoutWorkspaceInput = { - author: UserCreateNestedOneWithoutCommentsInput; - body: Scalars['String']; - commentThread: CommentThreadCreateNestedOneWithoutCommentsInput; - createdAt?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; + connect?: InputMaybe>; }; export type CommentListRelationFilter = { @@ -203,22 +186,11 @@ export type CommentOrderByRelationAggregateInput = { _count?: InputMaybe; }; -export type CommentScalarWhereInput = { - AND?: InputMaybe>; - NOT?: InputMaybe>; - OR?: InputMaybe>; - authorId?: InputMaybe; - body?: InputMaybe; - commentThreadId?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; -}; - export type CommentThread = { __typename?: 'CommentThread'; assignee?: Maybe; assigneeId?: Maybe; + attachments?: Maybe>; author: User; authorId: Scalars['String']; body?: Maybe; @@ -236,6 +208,7 @@ export type CommentThread = { export type CommentThreadCreateInput = { assignee?: InputMaybe; + attachments?: InputMaybe; author: UserCreateNestedOneWithoutAuthoredCommentThreadsInput; body?: InputMaybe; commentThreadTargets?: InputMaybe; @@ -250,160 +223,10 @@ export type CommentThreadCreateInput = { updatedAt?: InputMaybe; }; -export type CommentThreadCreateManyAssigneeInput = { - authorId: Scalars['String']; - body?: InputMaybe; - completedAt?: InputMaybe; - createdAt?: InputMaybe; - dueAt?: InputMaybe; - id?: InputMaybe; - reminderAt?: InputMaybe; - title?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type CommentThreadCreateManyAssigneeInputEnvelope = { - data: Array; - skipDuplicates?: InputMaybe; -}; - -export type CommentThreadCreateManyAuthorInput = { - assigneeId?: InputMaybe; - body?: InputMaybe; - completedAt?: InputMaybe; - createdAt?: InputMaybe; - dueAt?: InputMaybe; - id?: InputMaybe; - reminderAt?: InputMaybe; - title?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type CommentThreadCreateManyAuthorInputEnvelope = { - data: Array; - skipDuplicates?: InputMaybe; -}; - -export type CommentThreadCreateManyWorkspaceInput = { - assigneeId?: InputMaybe; - authorId: Scalars['String']; - body?: InputMaybe; - completedAt?: InputMaybe; - createdAt?: InputMaybe; - dueAt?: InputMaybe; - id?: InputMaybe; - reminderAt?: InputMaybe; - title?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type CommentThreadCreateManyWorkspaceInputEnvelope = { - data: Array; - skipDuplicates?: InputMaybe; -}; - -export type CommentThreadCreateNestedManyWithoutAssigneeInput = { - connect?: InputMaybe>; - connectOrCreate?: InputMaybe>; - create?: InputMaybe>; - createMany?: InputMaybe; -}; - -export type CommentThreadCreateNestedManyWithoutAuthorInput = { - connect?: InputMaybe>; - connectOrCreate?: InputMaybe>; - create?: InputMaybe>; - createMany?: InputMaybe; -}; - export type CommentThreadCreateNestedOneWithoutCommentsInput = { connect?: InputMaybe; }; -export type CommentThreadCreateOrConnectWithoutAssigneeInput = { - create: CommentThreadCreateWithoutAssigneeInput; - where: CommentThreadWhereUniqueInput; -}; - -export type CommentThreadCreateOrConnectWithoutAuthorInput = { - create: CommentThreadCreateWithoutAuthorInput; - where: CommentThreadWhereUniqueInput; -}; - -export type CommentThreadCreateOrConnectWithoutCommentsInput = { - create: CommentThreadCreateWithoutCommentsInput; - where: CommentThreadWhereUniqueInput; -}; - -export type CommentThreadCreateOrConnectWithoutWorkspaceInput = { - create: CommentThreadCreateWithoutWorkspaceInput; - where: CommentThreadWhereUniqueInput; -}; - -export type CommentThreadCreateWithoutAssigneeInput = { - author: UserCreateNestedOneWithoutAuthoredCommentThreadsInput; - body?: InputMaybe; - commentThreadTargets?: InputMaybe; - comments?: InputMaybe; - completedAt?: InputMaybe; - createdAt?: InputMaybe; - dueAt?: InputMaybe; - id?: InputMaybe; - reminderAt?: InputMaybe; - title?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type CommentThreadCreateWithoutAuthorInput = { - assignee?: InputMaybe; - body?: InputMaybe; - commentThreadTargets?: InputMaybe; - comments?: InputMaybe; - completedAt?: InputMaybe; - createdAt?: InputMaybe; - dueAt?: InputMaybe; - id?: InputMaybe; - reminderAt?: InputMaybe; - title?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type CommentThreadCreateWithoutCommentsInput = { - assignee?: InputMaybe; - author: UserCreateNestedOneWithoutAuthoredCommentThreadsInput; - body?: InputMaybe; - commentThreadTargets?: InputMaybe; - completedAt?: InputMaybe; - createdAt?: InputMaybe; - dueAt?: InputMaybe; - id?: InputMaybe; - reminderAt?: InputMaybe; - title?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type CommentThreadCreateWithoutWorkspaceInput = { - assignee?: InputMaybe; - author: UserCreateNestedOneWithoutAuthoredCommentThreadsInput; - body?: InputMaybe; - commentThreadTargets?: InputMaybe; - comments?: InputMaybe; - completedAt?: InputMaybe; - createdAt?: InputMaybe; - dueAt?: InputMaybe; - id?: InputMaybe; - reminderAt?: InputMaybe; - title?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; -}; - export type CommentThreadListRelationFilter = { every?: InputMaybe; none?: InputMaybe; @@ -417,6 +240,7 @@ export type CommentThreadOrderByRelationAggregateInput = { export type CommentThreadOrderByWithRelationInput = { assignee?: InputMaybe; assigneeId?: InputMaybe; + attachments?: InputMaybe; author?: InputMaybe; authorId?: InputMaybe; body?: InputMaybe; @@ -453,23 +277,6 @@ export enum CommentThreadScalarFieldEnum { WorkspaceId = 'workspaceId' } -export type CommentThreadScalarWhereInput = { - AND?: InputMaybe>; - NOT?: InputMaybe>; - OR?: InputMaybe>; - assigneeId?: InputMaybe; - authorId?: InputMaybe; - body?: InputMaybe; - completedAt?: InputMaybe; - createdAt?: InputMaybe; - dueAt?: InputMaybe; - id?: InputMaybe; - reminderAt?: InputMaybe; - title?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; -}; - export type CommentThreadTarget = { __typename?: 'CommentThreadTarget'; commentThread: CommentThread; @@ -495,6 +302,9 @@ export type CommentThreadTargetCreateManyCommentThreadInputEnvelope = { }; export type CommentThreadTargetCreateNestedManyWithoutCommentThreadInput = { + connect?: InputMaybe>; + connectOrCreate?: InputMaybe>; + create?: InputMaybe>; createMany?: InputMaybe; }; @@ -521,62 +331,14 @@ export type CommentThreadTargetOrderByRelationAggregateInput = { _count?: InputMaybe; }; -export type CommentThreadTargetScalarWhereInput = { - AND?: InputMaybe>; - NOT?: InputMaybe>; - OR?: InputMaybe>; - commentThreadId?: InputMaybe; - commentableId?: InputMaybe; - commentableType?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type CommentThreadTargetUpdateManyMutationInput = { - commentableId?: InputMaybe; - commentableType?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type CommentThreadTargetUpdateManyWithWhereWithoutCommentThreadInput = { - data: CommentThreadTargetUpdateManyMutationInput; - where: CommentThreadTargetScalarWhereInput; -}; - export type CommentThreadTargetUpdateManyWithoutCommentThreadNestedInput = { connect?: InputMaybe>; connectOrCreate?: InputMaybe>; create?: InputMaybe>; createMany?: InputMaybe; delete?: InputMaybe>; - deleteMany?: InputMaybe>; disconnect?: InputMaybe>; set?: InputMaybe>; - update?: InputMaybe>; - updateMany?: InputMaybe>; - upsert?: InputMaybe>; -}; - -export type CommentThreadTargetUpdateWithWhereUniqueWithoutCommentThreadInput = { - data: CommentThreadTargetUpdateWithoutCommentThreadInput; - where: CommentThreadTargetWhereUniqueInput; -}; - -export type CommentThreadTargetUpdateWithoutCommentThreadInput = { - commentableId?: InputMaybe; - commentableType?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type CommentThreadTargetUpsertWithWhereUniqueWithoutCommentThreadInput = { - create: CommentThreadTargetCreateWithoutCommentThreadInput; - update: CommentThreadTargetUpdateWithoutCommentThreadInput; - where: CommentThreadTargetWhereUniqueInput; }; export type CommentThreadTargetWhereInput = { @@ -598,6 +360,7 @@ export type CommentThreadTargetWhereUniqueInput = { export type CommentThreadUpdateInput = { assignee?: InputMaybe; + attachments?: InputMaybe; author?: InputMaybe; body?: InputMaybe; commentThreadTargets?: InputMaybe; @@ -612,180 +375,22 @@ export type CommentThreadUpdateInput = { updatedAt?: InputMaybe; }; -export type CommentThreadUpdateManyMutationInput = { - body?: InputMaybe; - completedAt?: InputMaybe; - createdAt?: InputMaybe; - dueAt?: InputMaybe; - id?: InputMaybe; - reminderAt?: InputMaybe; - title?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type CommentThreadUpdateManyWithWhereWithoutAssigneeInput = { - data: CommentThreadUpdateManyMutationInput; - where: CommentThreadScalarWhereInput; -}; - -export type CommentThreadUpdateManyWithWhereWithoutAuthorInput = { - data: CommentThreadUpdateManyMutationInput; - where: CommentThreadScalarWhereInput; -}; - -export type CommentThreadUpdateManyWithWhereWithoutWorkspaceInput = { - data: CommentThreadUpdateManyMutationInput; - where: CommentThreadScalarWhereInput; -}; - export type CommentThreadUpdateManyWithoutAssigneeNestedInput = { connect?: InputMaybe>; - connectOrCreate?: InputMaybe>; - create?: InputMaybe>; - createMany?: InputMaybe; - delete?: InputMaybe>; - deleteMany?: InputMaybe>; disconnect?: InputMaybe>; set?: InputMaybe>; - update?: InputMaybe>; - updateMany?: InputMaybe>; - upsert?: InputMaybe>; }; export type CommentThreadUpdateManyWithoutAuthorNestedInput = { connect?: InputMaybe>; - connectOrCreate?: InputMaybe>; - create?: InputMaybe>; - createMany?: InputMaybe; - delete?: InputMaybe>; - deleteMany?: InputMaybe>; disconnect?: InputMaybe>; set?: InputMaybe>; - update?: InputMaybe>; - updateMany?: InputMaybe>; - upsert?: InputMaybe>; }; export type CommentThreadUpdateManyWithoutWorkspaceNestedInput = { connect?: InputMaybe>; - connectOrCreate?: InputMaybe>; - create?: InputMaybe>; - createMany?: InputMaybe; - delete?: InputMaybe>; - deleteMany?: InputMaybe>; disconnect?: InputMaybe>; set?: InputMaybe>; - update?: InputMaybe>; - updateMany?: InputMaybe>; - upsert?: InputMaybe>; -}; - -export type CommentThreadUpdateOneRequiredWithoutCommentsNestedInput = { - connect?: InputMaybe; - connectOrCreate?: InputMaybe; - create?: InputMaybe; - update?: InputMaybe; - upsert?: InputMaybe; -}; - -export type CommentThreadUpdateWithWhereUniqueWithoutAssigneeInput = { - data: CommentThreadUpdateWithoutAssigneeInput; - where: CommentThreadWhereUniqueInput; -}; - -export type CommentThreadUpdateWithWhereUniqueWithoutAuthorInput = { - data: CommentThreadUpdateWithoutAuthorInput; - where: CommentThreadWhereUniqueInput; -}; - -export type CommentThreadUpdateWithWhereUniqueWithoutWorkspaceInput = { - data: CommentThreadUpdateWithoutWorkspaceInput; - where: CommentThreadWhereUniqueInput; -}; - -export type CommentThreadUpdateWithoutAssigneeInput = { - author?: InputMaybe; - body?: InputMaybe; - commentThreadTargets?: InputMaybe; - comments?: InputMaybe; - completedAt?: InputMaybe; - createdAt?: InputMaybe; - dueAt?: InputMaybe; - id?: InputMaybe; - reminderAt?: InputMaybe; - title?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type CommentThreadUpdateWithoutAuthorInput = { - assignee?: InputMaybe; - body?: InputMaybe; - commentThreadTargets?: InputMaybe; - comments?: InputMaybe; - completedAt?: InputMaybe; - createdAt?: InputMaybe; - dueAt?: InputMaybe; - id?: InputMaybe; - reminderAt?: InputMaybe; - title?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type CommentThreadUpdateWithoutCommentsInput = { - assignee?: InputMaybe; - author?: InputMaybe; - body?: InputMaybe; - commentThreadTargets?: InputMaybe; - completedAt?: InputMaybe; - createdAt?: InputMaybe; - dueAt?: InputMaybe; - id?: InputMaybe; - reminderAt?: InputMaybe; - title?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type CommentThreadUpdateWithoutWorkspaceInput = { - assignee?: InputMaybe; - author?: InputMaybe; - body?: InputMaybe; - commentThreadTargets?: InputMaybe; - comments?: InputMaybe; - completedAt?: InputMaybe; - createdAt?: InputMaybe; - dueAt?: InputMaybe; - id?: InputMaybe; - reminderAt?: InputMaybe; - title?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type CommentThreadUpsertWithWhereUniqueWithoutAssigneeInput = { - create: CommentThreadCreateWithoutAssigneeInput; - update: CommentThreadUpdateWithoutAssigneeInput; - where: CommentThreadWhereUniqueInput; -}; - -export type CommentThreadUpsertWithWhereUniqueWithoutAuthorInput = { - create: CommentThreadCreateWithoutAuthorInput; - update: CommentThreadUpdateWithoutAuthorInput; - where: CommentThreadWhereUniqueInput; -}; - -export type CommentThreadUpsertWithWhereUniqueWithoutWorkspaceInput = { - create: CommentThreadCreateWithoutWorkspaceInput; - update: CommentThreadUpdateWithoutWorkspaceInput; - where: CommentThreadWhereUniqueInput; -}; - -export type CommentThreadUpsertWithoutCommentsInput = { - create: CommentThreadCreateWithoutCommentsInput; - update: CommentThreadUpdateWithoutCommentsInput; }; export type CommentThreadWhereInput = { @@ -794,6 +399,7 @@ export type CommentThreadWhereInput = { OR?: InputMaybe>; assignee?: InputMaybe; assigneeId?: InputMaybe; + attachments?: InputMaybe; author?: InputMaybe; authorId?: InputMaybe; body?: InputMaybe; @@ -813,126 +419,22 @@ export type CommentThreadWhereUniqueInput = { id?: InputMaybe; }; -export type CommentUpdateManyMutationInput = { - body?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type CommentUpdateManyWithWhereWithoutAuthorInput = { - data: CommentUpdateManyMutationInput; - where: CommentScalarWhereInput; -}; - -export type CommentUpdateManyWithWhereWithoutCommentThreadInput = { - data: CommentUpdateManyMutationInput; - where: CommentScalarWhereInput; -}; - -export type CommentUpdateManyWithWhereWithoutWorkspaceInput = { - data: CommentUpdateManyMutationInput; - where: CommentScalarWhereInput; -}; - export type CommentUpdateManyWithoutAuthorNestedInput = { connect?: InputMaybe>; - connectOrCreate?: InputMaybe>; - create?: InputMaybe>; - createMany?: InputMaybe; - delete?: InputMaybe>; - deleteMany?: InputMaybe>; disconnect?: InputMaybe>; set?: InputMaybe>; - update?: InputMaybe>; - updateMany?: InputMaybe>; - upsert?: InputMaybe>; }; export type CommentUpdateManyWithoutCommentThreadNestedInput = { connect?: InputMaybe>; - connectOrCreate?: InputMaybe>; - create?: InputMaybe>; - createMany?: InputMaybe; - delete?: InputMaybe>; - deleteMany?: InputMaybe>; disconnect?: InputMaybe>; set?: InputMaybe>; - update?: InputMaybe>; - updateMany?: InputMaybe>; - upsert?: InputMaybe>; }; export type CommentUpdateManyWithoutWorkspaceNestedInput = { connect?: InputMaybe>; - connectOrCreate?: InputMaybe>; - create?: InputMaybe>; - createMany?: InputMaybe; - delete?: InputMaybe>; - deleteMany?: InputMaybe>; disconnect?: InputMaybe>; set?: InputMaybe>; - update?: InputMaybe>; - updateMany?: InputMaybe>; - upsert?: InputMaybe>; -}; - -export type CommentUpdateWithWhereUniqueWithoutAuthorInput = { - data: CommentUpdateWithoutAuthorInput; - where: CommentWhereUniqueInput; -}; - -export type CommentUpdateWithWhereUniqueWithoutCommentThreadInput = { - data: CommentUpdateWithoutCommentThreadInput; - where: CommentWhereUniqueInput; -}; - -export type CommentUpdateWithWhereUniqueWithoutWorkspaceInput = { - data: CommentUpdateWithoutWorkspaceInput; - where: CommentWhereUniqueInput; -}; - -export type CommentUpdateWithoutAuthorInput = { - body?: InputMaybe; - commentThread?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type CommentUpdateWithoutCommentThreadInput = { - author?: InputMaybe; - body?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type CommentUpdateWithoutWorkspaceInput = { - author?: InputMaybe; - body?: InputMaybe; - commentThread?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type CommentUpsertWithWhereUniqueWithoutAuthorInput = { - create: CommentCreateWithoutAuthorInput; - update: CommentUpdateWithoutAuthorInput; - where: CommentWhereUniqueInput; -}; - -export type CommentUpsertWithWhereUniqueWithoutCommentThreadInput = { - create: CommentCreateWithoutCommentThreadInput; - update: CommentUpdateWithoutCommentThreadInput; - where: CommentWhereUniqueInput; -}; - -export type CommentUpsertWithWhereUniqueWithoutWorkspaceInput = { - create: CommentCreateWithoutWorkspaceInput; - update: CommentUpdateWithoutWorkspaceInput; - where: CommentWhereUniqueInput; }; export type CommentWhereInput = { @@ -987,81 +489,10 @@ export type CompanyCreateInput = { updatedAt?: InputMaybe; }; -export type CompanyCreateManyAccountOwnerInput = { - address: Scalars['String']; - createdAt?: InputMaybe; - domainName: Scalars['String']; - employees?: InputMaybe; - id?: InputMaybe; - name: Scalars['String']; - updatedAt?: InputMaybe; -}; - -export type CompanyCreateManyAccountOwnerInputEnvelope = { - data: Array; - skipDuplicates?: InputMaybe; -}; - -export type CompanyCreateManyWorkspaceInput = { - accountOwnerId?: InputMaybe; - address: Scalars['String']; - createdAt?: InputMaybe; - domainName: Scalars['String']; - employees?: InputMaybe; - id?: InputMaybe; - name: Scalars['String']; - updatedAt?: InputMaybe; -}; - -export type CompanyCreateManyWorkspaceInputEnvelope = { - data: Array; - skipDuplicates?: InputMaybe; -}; - -export type CompanyCreateNestedManyWithoutAccountOwnerInput = { - connect?: InputMaybe>; - connectOrCreate?: InputMaybe>; - create?: InputMaybe>; - createMany?: InputMaybe; -}; - export type CompanyCreateNestedOneWithoutPeopleInput = { connect?: InputMaybe; }; -export type CompanyCreateOrConnectWithoutAccountOwnerInput = { - create: CompanyCreateWithoutAccountOwnerInput; - where: CompanyWhereUniqueInput; -}; - -export type CompanyCreateOrConnectWithoutWorkspaceInput = { - create: CompanyCreateWithoutWorkspaceInput; - where: CompanyWhereUniqueInput; -}; - -export type CompanyCreateWithoutAccountOwnerInput = { - address: Scalars['String']; - createdAt?: InputMaybe; - domainName: Scalars['String']; - employees?: InputMaybe; - id?: InputMaybe; - name: Scalars['String']; - people?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type CompanyCreateWithoutWorkspaceInput = { - accountOwner?: InputMaybe; - address: Scalars['String']; - createdAt?: InputMaybe; - domainName: Scalars['String']; - employees?: InputMaybe; - id?: InputMaybe; - name: Scalars['String']; - people?: InputMaybe; - updatedAt?: InputMaybe; -}; - export type CompanyListRelationFilter = { every?: InputMaybe; none?: InputMaybe; @@ -1103,20 +534,6 @@ export enum CompanyScalarFieldEnum { WorkspaceId = 'workspaceId' } -export type CompanyScalarWhereInput = { - AND?: InputMaybe>; - NOT?: InputMaybe>; - OR?: InputMaybe>; - accountOwnerId?: InputMaybe; - address?: InputMaybe; - createdAt?: InputMaybe; - domainName?: InputMaybe; - employees?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; -}; - export type CompanyUpdateInput = { accountOwner?: InputMaybe; address?: InputMaybe; @@ -1129,101 +546,21 @@ export type CompanyUpdateInput = { updatedAt?: InputMaybe; }; -export type CompanyUpdateManyMutationInput = { - address?: InputMaybe; - createdAt?: InputMaybe; - domainName?: InputMaybe; - employees?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type CompanyUpdateManyWithWhereWithoutAccountOwnerInput = { - data: CompanyUpdateManyMutationInput; - where: CompanyScalarWhereInput; -}; - -export type CompanyUpdateManyWithWhereWithoutWorkspaceInput = { - data: CompanyUpdateManyMutationInput; - where: CompanyScalarWhereInput; -}; - export type CompanyUpdateManyWithoutAccountOwnerNestedInput = { connect?: InputMaybe>; - connectOrCreate?: InputMaybe>; - create?: InputMaybe>; - createMany?: InputMaybe; - delete?: InputMaybe>; - deleteMany?: InputMaybe>; disconnect?: InputMaybe>; set?: InputMaybe>; - update?: InputMaybe>; - updateMany?: InputMaybe>; - upsert?: InputMaybe>; }; export type CompanyUpdateManyWithoutWorkspaceNestedInput = { connect?: InputMaybe>; - connectOrCreate?: InputMaybe>; - create?: InputMaybe>; - createMany?: InputMaybe; - delete?: InputMaybe>; - deleteMany?: InputMaybe>; disconnect?: InputMaybe>; set?: InputMaybe>; - update?: InputMaybe>; - updateMany?: InputMaybe>; - upsert?: InputMaybe>; }; export type CompanyUpdateOneWithoutPeopleNestedInput = { connect?: InputMaybe; -}; - -export type CompanyUpdateWithWhereUniqueWithoutAccountOwnerInput = { - data: CompanyUpdateWithoutAccountOwnerInput; - where: CompanyWhereUniqueInput; -}; - -export type CompanyUpdateWithWhereUniqueWithoutWorkspaceInput = { - data: CompanyUpdateWithoutWorkspaceInput; - where: CompanyWhereUniqueInput; -}; - -export type CompanyUpdateWithoutAccountOwnerInput = { - address?: InputMaybe; - createdAt?: InputMaybe; - domainName?: InputMaybe; - employees?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - people?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type CompanyUpdateWithoutWorkspaceInput = { - accountOwner?: InputMaybe; - address?: InputMaybe; - createdAt?: InputMaybe; - domainName?: InputMaybe; - employees?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - people?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type CompanyUpsertWithWhereUniqueWithoutAccountOwnerInput = { - create: CompanyCreateWithoutAccountOwnerInput; - update: CompanyUpdateWithoutAccountOwnerInput; - where: CompanyWhereUniqueInput; -}; - -export type CompanyUpsertWithWhereUniqueWithoutWorkspaceInput = { - create: CompanyCreateWithoutWorkspaceInput; - update: CompanyUpdateWithoutWorkspaceInput; - where: CompanyWhereUniqueInput; + disconnect?: InputMaybe; }; export type CompanyWhereInput = { @@ -1283,6 +620,13 @@ export type EnumActivityTypeFilter = { notIn?: InputMaybe>; }; +export type EnumAttachmentTypeFilter = { + equals?: InputMaybe; + in?: InputMaybe>; + not?: InputMaybe; + notIn?: InputMaybe>; +}; + export type EnumColorSchemeFieldUpdateOperationsInput = { set?: InputMaybe; }; @@ -1294,10 +638,6 @@ export type EnumColorSchemeFilter = { notIn?: InputMaybe>; }; -export type EnumCommentableTypeFieldUpdateOperationsInput = { - set?: InputMaybe; -}; - export type EnumCommentableTypeFilter = { equals?: InputMaybe; in?: InputMaybe>; @@ -1317,6 +657,7 @@ export type EnumPipelineProgressableTypeFilter = { }; export enum FileFolder { + Attachment = 'Attachment', ProfilePicture = 'ProfilePicture', WorkspaceLogo = 'WorkspaceLogo' } @@ -1376,6 +717,7 @@ export type Mutation = { updateOnePipelineStage?: Maybe; updateUser: User; updateWorkspace: Workspace; + uploadAttachment: Scalars['String']; uploadFile: Scalars['String']; uploadImage: Scalars['String']; uploadProfilePicture: Scalars['String']; @@ -1499,6 +841,12 @@ export type MutationUpdateWorkspaceArgs = { }; +export type MutationUploadAttachmentArgs = { + activityId: Scalars['String']; + file: Scalars['Upload']; +}; + + export type MutationUploadFileArgs = { file: Scalars['Upload']; fileFolder?: InputMaybe; @@ -1559,6 +907,13 @@ export type NestedEnumActivityTypeFilter = { notIn?: InputMaybe>; }; +export type NestedEnumAttachmentTypeFilter = { + equals?: InputMaybe; + in?: InputMaybe>; + not?: InputMaybe; + notIn?: InputMaybe>; +}; + export type NestedEnumColorSchemeFilter = { equals?: InputMaybe; in?: InputMaybe>; @@ -1665,44 +1020,10 @@ export type PersonCreateInput = { updatedAt?: InputMaybe; }; -export type PersonCreateManyWorkspaceInput = { - city: Scalars['String']; - companyId?: InputMaybe; - createdAt?: InputMaybe; - email: Scalars['String']; - firstName: Scalars['String']; - id?: InputMaybe; - lastName: Scalars['String']; - phone: Scalars['String']; - updatedAt?: InputMaybe; -}; - -export type PersonCreateManyWorkspaceInputEnvelope = { - data: Array; - skipDuplicates?: InputMaybe; -}; - export type PersonCreateNestedManyWithoutCompanyInput = { connect?: InputMaybe>; }; -export type PersonCreateOrConnectWithoutWorkspaceInput = { - create: PersonCreateWithoutWorkspaceInput; - where: PersonWhereUniqueInput; -}; - -export type PersonCreateWithoutWorkspaceInput = { - city: Scalars['String']; - company?: InputMaybe; - createdAt?: InputMaybe; - email: Scalars['String']; - firstName: Scalars['String']; - id?: InputMaybe; - lastName: Scalars['String']; - phone: Scalars['String']; - updatedAt?: InputMaybe; -}; - export type PersonListRelationFilter = { every?: InputMaybe; none?: InputMaybe; @@ -1740,21 +1061,6 @@ export enum PersonScalarFieldEnum { WorkspaceId = 'workspaceId' } -export type PersonScalarWhereInput = { - AND?: InputMaybe>; - NOT?: InputMaybe>; - OR?: InputMaybe>; - city?: InputMaybe; - companyId?: InputMaybe; - createdAt?: InputMaybe; - email?: InputMaybe; - firstName?: InputMaybe; - id?: InputMaybe; - lastName?: InputMaybe; - phone?: InputMaybe; - updatedAt?: InputMaybe; -}; - export type PersonUpdateInput = { city?: InputMaybe; company?: InputMaybe; @@ -1767,61 +1073,16 @@ export type PersonUpdateInput = { updatedAt?: InputMaybe; }; -export type PersonUpdateManyMutationInput = { - city?: InputMaybe; - createdAt?: InputMaybe; - email?: InputMaybe; - firstName?: InputMaybe; - id?: InputMaybe; - lastName?: InputMaybe; - phone?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type PersonUpdateManyWithWhereWithoutWorkspaceInput = { - data: PersonUpdateManyMutationInput; - where: PersonScalarWhereInput; -}; - export type PersonUpdateManyWithoutCompanyNestedInput = { connect?: InputMaybe>; + disconnect?: InputMaybe>; + set?: InputMaybe>; }; export type PersonUpdateManyWithoutWorkspaceNestedInput = { connect?: InputMaybe>; - connectOrCreate?: InputMaybe>; - create?: InputMaybe>; - createMany?: InputMaybe; - delete?: InputMaybe>; - deleteMany?: InputMaybe>; disconnect?: InputMaybe>; set?: InputMaybe>; - update?: InputMaybe>; - updateMany?: InputMaybe>; - upsert?: InputMaybe>; -}; - -export type PersonUpdateWithWhereUniqueWithoutWorkspaceInput = { - data: PersonUpdateWithoutWorkspaceInput; - where: PersonWhereUniqueInput; -}; - -export type PersonUpdateWithoutWorkspaceInput = { - city?: InputMaybe; - company?: InputMaybe; - createdAt?: InputMaybe; - email?: InputMaybe; - firstName?: InputMaybe; - id?: InputMaybe; - lastName?: InputMaybe; - phone?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type PersonUpsertWithWhereUniqueWithoutWorkspaceInput = { - create: PersonCreateWithoutWorkspaceInput; - update: PersonUpdateWithoutWorkspaceInput; - where: PersonWhereUniqueInput; }; export type PersonWhereInput = { @@ -1856,61 +1117,10 @@ export type Pipeline = { updatedAt: Scalars['DateTime']; }; -export type PipelineCreateManyWorkspaceInput = { - createdAt?: InputMaybe; - icon: Scalars['String']; - id?: InputMaybe; - name: Scalars['String']; - pipelineProgressableType?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type PipelineCreateManyWorkspaceInputEnvelope = { - data: Array; - skipDuplicates?: InputMaybe; -}; - export type PipelineCreateNestedOneWithoutPipelineProgressesInput = { connect?: InputMaybe; }; -export type PipelineCreateNestedOneWithoutPipelineStagesInput = { - connect?: InputMaybe; - connectOrCreate?: InputMaybe; - create?: InputMaybe; -}; - -export type PipelineCreateOrConnectWithoutPipelineStagesInput = { - create: PipelineCreateWithoutPipelineStagesInput; - where: PipelineWhereUniqueInput; -}; - -export type PipelineCreateOrConnectWithoutWorkspaceInput = { - create: PipelineCreateWithoutWorkspaceInput; - where: PipelineWhereUniqueInput; -}; - -export type PipelineCreateWithoutPipelineStagesInput = { - createdAt?: InputMaybe; - icon: Scalars['String']; - id?: InputMaybe; - name: Scalars['String']; - pipelineProgressableType?: InputMaybe; - pipelineProgresses?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type PipelineCreateWithoutWorkspaceInput = { - createdAt?: InputMaybe; - icon: Scalars['String']; - id?: InputMaybe; - name: Scalars['String']; - pipelineProgressableType?: InputMaybe; - pipelineProgresses?: InputMaybe; - pipelineStages?: InputMaybe; - updatedAt?: InputMaybe; -}; - export type PipelineOrderByWithRelationInput = { createdAt?: InputMaybe; icon?: InputMaybe; @@ -1949,118 +1159,6 @@ export type PipelineProgressCreateInput = { updatedAt?: InputMaybe; }; -export type PipelineProgressCreateManyPipelineInput = { - amount?: InputMaybe; - closeDate?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - pipelineStageId: Scalars['String']; - progressableId: Scalars['String']; - progressableType: PipelineProgressableType; - updatedAt?: InputMaybe; -}; - -export type PipelineProgressCreateManyPipelineInputEnvelope = { - data: Array; - skipDuplicates?: InputMaybe; -}; - -export type PipelineProgressCreateManyPipelineStageInput = { - amount?: InputMaybe; - closeDate?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - pipelineId: Scalars['String']; - progressableId: Scalars['String']; - progressableType: PipelineProgressableType; - updatedAt?: InputMaybe; -}; - -export type PipelineProgressCreateManyPipelineStageInputEnvelope = { - data: Array; - skipDuplicates?: InputMaybe; -}; - -export type PipelineProgressCreateManyWorkspaceInput = { - amount?: InputMaybe; - closeDate?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - pipelineId: Scalars['String']; - pipelineStageId: Scalars['String']; - progressableId: Scalars['String']; - progressableType: PipelineProgressableType; - updatedAt?: InputMaybe; -}; - -export type PipelineProgressCreateManyWorkspaceInputEnvelope = { - data: Array; - skipDuplicates?: InputMaybe; -}; - -export type PipelineProgressCreateNestedManyWithoutPipelineInput = { - connect?: InputMaybe>; - connectOrCreate?: InputMaybe>; - create?: InputMaybe>; - createMany?: InputMaybe; -}; - -export type PipelineProgressCreateNestedManyWithoutPipelineStageInput = { - connect?: InputMaybe>; - connectOrCreate?: InputMaybe>; - create?: InputMaybe>; - createMany?: InputMaybe; -}; - -export type PipelineProgressCreateOrConnectWithoutPipelineInput = { - create: PipelineProgressCreateWithoutPipelineInput; - where: PipelineProgressWhereUniqueInput; -}; - -export type PipelineProgressCreateOrConnectWithoutPipelineStageInput = { - create: PipelineProgressCreateWithoutPipelineStageInput; - where: PipelineProgressWhereUniqueInput; -}; - -export type PipelineProgressCreateOrConnectWithoutWorkspaceInput = { - create: PipelineProgressCreateWithoutWorkspaceInput; - where: PipelineProgressWhereUniqueInput; -}; - -export type PipelineProgressCreateWithoutPipelineInput = { - amount?: InputMaybe; - closeDate?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - pipelineStage: PipelineStageCreateNestedOneWithoutPipelineProgressesInput; - progressableId: Scalars['String']; - progressableType: PipelineProgressableType; - updatedAt?: InputMaybe; -}; - -export type PipelineProgressCreateWithoutPipelineStageInput = { - amount?: InputMaybe; - closeDate?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - pipeline: PipelineCreateNestedOneWithoutPipelineProgressesInput; - progressableId: Scalars['String']; - progressableType: PipelineProgressableType; - updatedAt?: InputMaybe; -}; - -export type PipelineProgressCreateWithoutWorkspaceInput = { - amount?: InputMaybe; - closeDate?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - pipeline: PipelineCreateNestedOneWithoutPipelineProgressesInput; - pipelineStage: PipelineStageCreateNestedOneWithoutPipelineProgressesInput; - progressableId: Scalars['String']; - progressableType: PipelineProgressableType; - updatedAt?: InputMaybe; -}; - export type PipelineProgressListRelationFilter = { every?: InputMaybe; none?: InputMaybe; @@ -2099,21 +1197,6 @@ export enum PipelineProgressScalarFieldEnum { WorkspaceId = 'workspaceId' } -export type PipelineProgressScalarWhereInput = { - AND?: InputMaybe>; - NOT?: InputMaybe>; - OR?: InputMaybe>; - amount?: InputMaybe; - closeDate?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - pipelineId?: InputMaybe; - pipelineStageId?: InputMaybe; - progressableId?: InputMaybe; - progressableType?: InputMaybe; - updatedAt?: InputMaybe; -}; - export type PipelineProgressUpdateInput = { amount?: InputMaybe; closeDate?: InputMaybe; @@ -2126,138 +1209,16 @@ export type PipelineProgressUpdateInput = { updatedAt?: InputMaybe; }; -export type PipelineProgressUpdateManyMutationInput = { - amount?: InputMaybe; - closeDate?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - progressableId?: InputMaybe; - progressableType?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type PipelineProgressUpdateManyWithWhereWithoutPipelineInput = { - data: PipelineProgressUpdateManyMutationInput; - where: PipelineProgressScalarWhereInput; -}; - -export type PipelineProgressUpdateManyWithWhereWithoutPipelineStageInput = { - data: PipelineProgressUpdateManyMutationInput; - where: PipelineProgressScalarWhereInput; -}; - -export type PipelineProgressUpdateManyWithWhereWithoutWorkspaceInput = { - data: PipelineProgressUpdateManyMutationInput; - where: PipelineProgressScalarWhereInput; -}; - -export type PipelineProgressUpdateManyWithoutPipelineNestedInput = { - connect?: InputMaybe>; - connectOrCreate?: InputMaybe>; - create?: InputMaybe>; - createMany?: InputMaybe; - delete?: InputMaybe>; - deleteMany?: InputMaybe>; - disconnect?: InputMaybe>; - set?: InputMaybe>; - update?: InputMaybe>; - updateMany?: InputMaybe>; - upsert?: InputMaybe>; -}; - export type PipelineProgressUpdateManyWithoutPipelineStageNestedInput = { connect?: InputMaybe>; - connectOrCreate?: InputMaybe>; - create?: InputMaybe>; - createMany?: InputMaybe; - delete?: InputMaybe>; - deleteMany?: InputMaybe>; disconnect?: InputMaybe>; set?: InputMaybe>; - update?: InputMaybe>; - updateMany?: InputMaybe>; - upsert?: InputMaybe>; }; export type PipelineProgressUpdateManyWithoutWorkspaceNestedInput = { connect?: InputMaybe>; - connectOrCreate?: InputMaybe>; - create?: InputMaybe>; - createMany?: InputMaybe; - delete?: InputMaybe>; - deleteMany?: InputMaybe>; disconnect?: InputMaybe>; set?: InputMaybe>; - update?: InputMaybe>; - updateMany?: InputMaybe>; - upsert?: InputMaybe>; -}; - -export type PipelineProgressUpdateWithWhereUniqueWithoutPipelineInput = { - data: PipelineProgressUpdateWithoutPipelineInput; - where: PipelineProgressWhereUniqueInput; -}; - -export type PipelineProgressUpdateWithWhereUniqueWithoutPipelineStageInput = { - data: PipelineProgressUpdateWithoutPipelineStageInput; - where: PipelineProgressWhereUniqueInput; -}; - -export type PipelineProgressUpdateWithWhereUniqueWithoutWorkspaceInput = { - data: PipelineProgressUpdateWithoutWorkspaceInput; - where: PipelineProgressWhereUniqueInput; -}; - -export type PipelineProgressUpdateWithoutPipelineInput = { - amount?: InputMaybe; - closeDate?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - pipelineStage?: InputMaybe; - progressableId?: InputMaybe; - progressableType?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type PipelineProgressUpdateWithoutPipelineStageInput = { - amount?: InputMaybe; - closeDate?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - pipeline?: InputMaybe; - progressableId?: InputMaybe; - progressableType?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type PipelineProgressUpdateWithoutWorkspaceInput = { - amount?: InputMaybe; - closeDate?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - pipeline?: InputMaybe; - pipelineStage?: InputMaybe; - progressableId?: InputMaybe; - progressableType?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type PipelineProgressUpsertWithWhereUniqueWithoutPipelineInput = { - create: PipelineProgressCreateWithoutPipelineInput; - update: PipelineProgressUpdateWithoutPipelineInput; - where: PipelineProgressWhereUniqueInput; -}; - -export type PipelineProgressUpsertWithWhereUniqueWithoutPipelineStageInput = { - create: PipelineProgressCreateWithoutPipelineStageInput; - update: PipelineProgressUpdateWithoutPipelineStageInput; - where: PipelineProgressWhereUniqueInput; -}; - -export type PipelineProgressUpsertWithWhereUniqueWithoutWorkspaceInput = { - create: PipelineProgressCreateWithoutWorkspaceInput; - update: PipelineProgressUpdateWithoutWorkspaceInput; - where: PipelineProgressWhereUniqueInput; }; export type PipelineProgressWhereInput = { @@ -2302,18 +1263,6 @@ export enum PipelineScalarFieldEnum { WorkspaceId = 'workspaceId' } -export type PipelineScalarWhereInput = { - AND?: InputMaybe>; - NOT?: InputMaybe>; - OR?: InputMaybe>; - createdAt?: InputMaybe; - icon?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - pipelineProgressableType?: InputMaybe; - updatedAt?: InputMaybe; -}; - export type PipelineStage = { __typename?: 'PipelineStage'; color: Scalars['String']; @@ -2328,81 +1277,10 @@ export type PipelineStage = { updatedAt: Scalars['DateTime']; }; -export type PipelineStageCreateManyPipelineInput = { - color: Scalars['String']; - createdAt?: InputMaybe; - id?: InputMaybe; - index?: InputMaybe; - name: Scalars['String']; - type: Scalars['String']; - updatedAt?: InputMaybe; -}; - -export type PipelineStageCreateManyPipelineInputEnvelope = { - data: Array; - skipDuplicates?: InputMaybe; -}; - -export type PipelineStageCreateManyWorkspaceInput = { - color: Scalars['String']; - createdAt?: InputMaybe; - id?: InputMaybe; - index?: InputMaybe; - name: Scalars['String']; - pipelineId: Scalars['String']; - type: Scalars['String']; - updatedAt?: InputMaybe; -}; - -export type PipelineStageCreateManyWorkspaceInputEnvelope = { - data: Array; - skipDuplicates?: InputMaybe; -}; - -export type PipelineStageCreateNestedManyWithoutPipelineInput = { - connect?: InputMaybe>; - connectOrCreate?: InputMaybe>; - create?: InputMaybe>; - createMany?: InputMaybe; -}; - export type PipelineStageCreateNestedOneWithoutPipelineProgressesInput = { connect?: InputMaybe; }; -export type PipelineStageCreateOrConnectWithoutPipelineInput = { - create: PipelineStageCreateWithoutPipelineInput; - where: PipelineStageWhereUniqueInput; -}; - -export type PipelineStageCreateOrConnectWithoutWorkspaceInput = { - create: PipelineStageCreateWithoutWorkspaceInput; - where: PipelineStageWhereUniqueInput; -}; - -export type PipelineStageCreateWithoutPipelineInput = { - color: Scalars['String']; - createdAt?: InputMaybe; - id?: InputMaybe; - index?: InputMaybe; - name: Scalars['String']; - pipelineProgresses?: InputMaybe; - type: Scalars['String']; - updatedAt?: InputMaybe; -}; - -export type PipelineStageCreateWithoutWorkspaceInput = { - color: Scalars['String']; - createdAt?: InputMaybe; - id?: InputMaybe; - index?: InputMaybe; - name: Scalars['String']; - pipeline: PipelineCreateNestedOneWithoutPipelineStagesInput; - pipelineProgresses?: InputMaybe; - type: Scalars['String']; - updatedAt?: InputMaybe; -}; - export type PipelineStageListRelationFilter = { every?: InputMaybe; none?: InputMaybe; @@ -2444,20 +1322,6 @@ export enum PipelineStageScalarFieldEnum { WorkspaceId = 'workspaceId' } -export type PipelineStageScalarWhereInput = { - AND?: InputMaybe>; - NOT?: InputMaybe>; - OR?: InputMaybe>; - color?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - index?: InputMaybe; - name?: InputMaybe; - pipelineId?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; -}; - export type PipelineStageUpdateInput = { color?: InputMaybe; createdAt?: InputMaybe; @@ -2470,103 +1334,16 @@ export type PipelineStageUpdateInput = { updatedAt?: InputMaybe; }; -export type PipelineStageUpdateManyMutationInput = { - color?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - index?: InputMaybe; - name?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type PipelineStageUpdateManyWithWhereWithoutPipelineInput = { - data: PipelineStageUpdateManyMutationInput; - where: PipelineStageScalarWhereInput; -}; - -export type PipelineStageUpdateManyWithWhereWithoutWorkspaceInput = { - data: PipelineStageUpdateManyMutationInput; - where: PipelineStageScalarWhereInput; -}; - -export type PipelineStageUpdateManyWithoutPipelineNestedInput = { - connect?: InputMaybe>; - connectOrCreate?: InputMaybe>; - create?: InputMaybe>; - createMany?: InputMaybe; - delete?: InputMaybe>; - deleteMany?: InputMaybe>; - disconnect?: InputMaybe>; - set?: InputMaybe>; - update?: InputMaybe>; - updateMany?: InputMaybe>; - upsert?: InputMaybe>; -}; - export type PipelineStageUpdateManyWithoutWorkspaceNestedInput = { connect?: InputMaybe>; - connectOrCreate?: InputMaybe>; - create?: InputMaybe>; - createMany?: InputMaybe; - delete?: InputMaybe>; - deleteMany?: InputMaybe>; disconnect?: InputMaybe>; set?: InputMaybe>; - update?: InputMaybe>; - updateMany?: InputMaybe>; - upsert?: InputMaybe>; }; export type PipelineStageUpdateOneRequiredWithoutPipelineProgressesNestedInput = { connect?: InputMaybe; }; -export type PipelineStageUpdateWithWhereUniqueWithoutPipelineInput = { - data: PipelineStageUpdateWithoutPipelineInput; - where: PipelineStageWhereUniqueInput; -}; - -export type PipelineStageUpdateWithWhereUniqueWithoutWorkspaceInput = { - data: PipelineStageUpdateWithoutWorkspaceInput; - where: PipelineStageWhereUniqueInput; -}; - -export type PipelineStageUpdateWithoutPipelineInput = { - color?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - index?: InputMaybe; - name?: InputMaybe; - pipelineProgresses?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type PipelineStageUpdateWithoutWorkspaceInput = { - color?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - index?: InputMaybe; - name?: InputMaybe; - pipeline?: InputMaybe; - pipelineProgresses?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type PipelineStageUpsertWithWhereUniqueWithoutPipelineInput = { - create: PipelineStageCreateWithoutPipelineInput; - update: PipelineStageUpdateWithoutPipelineInput; - where: PipelineStageWhereUniqueInput; -}; - -export type PipelineStageUpsertWithWhereUniqueWithoutWorkspaceInput = { - create: PipelineStageCreateWithoutWorkspaceInput; - update: PipelineStageUpdateWithoutWorkspaceInput; - where: PipelineStageWhereUniqueInput; -}; - export type PipelineStageWhereInput = { AND?: InputMaybe>; NOT?: InputMaybe>; @@ -2587,32 +1364,10 @@ export type PipelineStageWhereUniqueInput = { id?: InputMaybe; }; -export type PipelineUpdateManyMutationInput = { - createdAt?: InputMaybe; - icon?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - pipelineProgressableType?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type PipelineUpdateManyWithWhereWithoutWorkspaceInput = { - data: PipelineUpdateManyMutationInput; - where: PipelineScalarWhereInput; -}; - export type PipelineUpdateManyWithoutWorkspaceNestedInput = { connect?: InputMaybe>; - connectOrCreate?: InputMaybe>; - create?: InputMaybe>; - createMany?: InputMaybe; - delete?: InputMaybe>; - deleteMany?: InputMaybe>; disconnect?: InputMaybe>; set?: InputMaybe>; - update?: InputMaybe>; - updateMany?: InputMaybe>; - upsert?: InputMaybe>; }; export type PipelineUpdateOneRequiredWithoutPipelineProgressesNestedInput = { @@ -2621,47 +1376,6 @@ export type PipelineUpdateOneRequiredWithoutPipelineProgressesNestedInput = { export type PipelineUpdateOneRequiredWithoutPipelineStagesNestedInput = { connect?: InputMaybe; - connectOrCreate?: InputMaybe; - create?: InputMaybe; - update?: InputMaybe; - upsert?: InputMaybe; -}; - -export type PipelineUpdateWithWhereUniqueWithoutWorkspaceInput = { - data: PipelineUpdateWithoutWorkspaceInput; - where: PipelineWhereUniqueInput; -}; - -export type PipelineUpdateWithoutPipelineStagesInput = { - createdAt?: InputMaybe; - icon?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - pipelineProgressableType?: InputMaybe; - pipelineProgresses?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type PipelineUpdateWithoutWorkspaceInput = { - createdAt?: InputMaybe; - icon?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - pipelineProgressableType?: InputMaybe; - pipelineProgresses?: InputMaybe; - pipelineStages?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type PipelineUpsertWithWhereUniqueWithoutWorkspaceInput = { - create: PipelineCreateWithoutWorkspaceInput; - update: PipelineUpdateWithoutWorkspaceInput; - where: PipelineWhereUniqueInput; -}; - -export type PipelineUpsertWithoutPipelineStagesInput = { - create: PipelineCreateWithoutPipelineStagesInput; - update: PipelineUpdateWithoutPipelineStagesInput; }; export type PipelineWhereInput = { @@ -2854,6 +1568,7 @@ export type Telemetry = { export type User = { __typename?: 'User'; assignedCommentThreads?: Maybe>; + authoredAttachments?: Maybe>; authoredCommentThreads?: Maybe>; avatarUrl?: Maybe; comments?: Maybe>; @@ -2867,6 +1582,7 @@ export type User = { id: Scalars['ID']; lastName?: Maybe; lastSeen?: Maybe; + locale: Scalars['String']; metadata?: Maybe; phoneNumber?: Maybe; settings: UserSettings; @@ -2877,14 +1593,10 @@ export type User = { export type UserCreateNestedOneWithoutAssignedCommentThreadsInput = { connect?: InputMaybe; - connectOrCreate?: InputMaybe; - create?: InputMaybe; }; export type UserCreateNestedOneWithoutAuthoredCommentThreadsInput = { connect?: InputMaybe; - connectOrCreate?: InputMaybe; - create?: InputMaybe; }; export type UserCreateNestedOneWithoutCommentsInput = { @@ -2895,109 +1607,6 @@ export type UserCreateNestedOneWithoutCompaniesInput = { connect?: InputMaybe; }; -export type UserCreateNestedOneWithoutWorkspaceMemberInput = { - connect?: InputMaybe; - connectOrCreate?: InputMaybe; - create?: InputMaybe; -}; - -export type UserCreateOrConnectWithoutAssignedCommentThreadsInput = { - create: UserCreateWithoutAssignedCommentThreadsInput; - where: UserWhereUniqueInput; -}; - -export type UserCreateOrConnectWithoutAuthoredCommentThreadsInput = { - create: UserCreateWithoutAuthoredCommentThreadsInput; - where: UserWhereUniqueInput; -}; - -export type UserCreateOrConnectWithoutCommentsInput = { - create: UserCreateWithoutCommentsInput; - where: UserWhereUniqueInput; -}; - -export type UserCreateOrConnectWithoutWorkspaceMemberInput = { - create: UserCreateWithoutWorkspaceMemberInput; - where: UserWhereUniqueInput; -}; - -export type UserCreateWithoutAssignedCommentThreadsInput = { - authoredCommentThreads?: InputMaybe; - avatarUrl?: InputMaybe; - comments?: InputMaybe; - companies?: InputMaybe; - createdAt?: InputMaybe; - disabled?: InputMaybe; - email: Scalars['String']; - emailVerified?: InputMaybe; - firstName?: InputMaybe; - id?: InputMaybe; - lastName?: InputMaybe; - lastSeen?: InputMaybe; - metadata?: InputMaybe; - phoneNumber?: InputMaybe; - settings: UserSettingsCreateNestedOneWithoutUserInput; - updatedAt?: InputMaybe; -}; - -export type UserCreateWithoutAuthoredCommentThreadsInput = { - assignedCommentThreads?: InputMaybe; - avatarUrl?: InputMaybe; - comments?: InputMaybe; - companies?: InputMaybe; - createdAt?: InputMaybe; - disabled?: InputMaybe; - email: Scalars['String']; - emailVerified?: InputMaybe; - firstName?: InputMaybe; - id?: InputMaybe; - lastName?: InputMaybe; - lastSeen?: InputMaybe; - metadata?: InputMaybe; - phoneNumber?: InputMaybe; - settings: UserSettingsCreateNestedOneWithoutUserInput; - updatedAt?: InputMaybe; -}; - -export type UserCreateWithoutCommentsInput = { - assignedCommentThreads?: InputMaybe; - authoredCommentThreads?: InputMaybe; - avatarUrl?: InputMaybe; - companies?: InputMaybe; - createdAt?: InputMaybe; - disabled?: InputMaybe; - email: Scalars['String']; - emailVerified?: InputMaybe; - firstName?: InputMaybe; - id?: InputMaybe; - lastName?: InputMaybe; - lastSeen?: InputMaybe; - metadata?: InputMaybe; - phoneNumber?: InputMaybe; - settings: UserSettingsCreateNestedOneWithoutUserInput; - updatedAt?: InputMaybe; -}; - -export type UserCreateWithoutWorkspaceMemberInput = { - assignedCommentThreads?: InputMaybe; - authoredCommentThreads?: InputMaybe; - avatarUrl?: InputMaybe; - comments?: InputMaybe; - companies?: InputMaybe; - createdAt?: InputMaybe; - disabled?: InputMaybe; - email: Scalars['String']; - emailVerified?: InputMaybe; - firstName?: InputMaybe; - id?: InputMaybe; - lastName?: InputMaybe; - lastSeen?: InputMaybe; - metadata?: InputMaybe; - phoneNumber?: InputMaybe; - settings: UserSettingsCreateNestedOneWithoutUserInput; - updatedAt?: InputMaybe; -}; - export type UserExists = { __typename?: 'UserExists'; exists: Scalars['Boolean']; @@ -3005,6 +1614,7 @@ export type UserExists = { export type UserOrderByWithRelationInput = { assignedCommentThreads?: InputMaybe; + authoredAttachments?: InputMaybe; authoredCommentThreads?: InputMaybe; avatarUrl?: InputMaybe; comments?: InputMaybe; @@ -3017,6 +1627,7 @@ export type UserOrderByWithRelationInput = { id?: InputMaybe; lastName?: InputMaybe; lastSeen?: InputMaybe; + locale?: InputMaybe; metadata?: InputMaybe; phoneNumber?: InputMaybe; settings?: InputMaybe; @@ -3040,6 +1651,7 @@ export enum UserScalarFieldEnum { Id = 'id', LastName = 'lastName', LastSeen = 'lastSeen', + Locale = 'locale', Metadata = 'metadata', PasswordHash = 'passwordHash', PhoneNumber = 'phoneNumber', @@ -3057,25 +1669,6 @@ export type UserSettings = { user?: Maybe; }; -export type UserSettingsCreateNestedOneWithoutUserInput = { - connect?: InputMaybe; - connectOrCreate?: InputMaybe; - create?: InputMaybe; -}; - -export type UserSettingsCreateOrConnectWithoutUserInput = { - create: UserSettingsCreateWithoutUserInput; - where: UserSettingsWhereUniqueInput; -}; - -export type UserSettingsCreateWithoutUserInput = { - colorScheme?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - locale: Scalars['String']; - updatedAt?: InputMaybe; -}; - export type UserSettingsOrderByWithRelationInput = { colorScheme?: InputMaybe; createdAt?: InputMaybe; @@ -3091,11 +1684,7 @@ export type UserSettingsRelationFilter = { }; export type UserSettingsUpdateOneRequiredWithoutUserNestedInput = { - connect?: InputMaybe; - connectOrCreate?: InputMaybe; - create?: InputMaybe; update?: InputMaybe; - upsert?: InputMaybe; }; export type UserSettingsUpdateWithoutUserInput = { @@ -3106,11 +1695,6 @@ export type UserSettingsUpdateWithoutUserInput = { updatedAt?: InputMaybe; }; -export type UserSettingsUpsertWithoutUserInput = { - create: UserSettingsCreateWithoutUserInput; - update: UserSettingsUpdateWithoutUserInput; -}; - export type UserSettingsWhereInput = { AND?: InputMaybe>; NOT?: InputMaybe>; @@ -3123,12 +1707,9 @@ export type UserSettingsWhereInput = { user?: InputMaybe; }; -export type UserSettingsWhereUniqueInput = { - id?: InputMaybe; -}; - export type UserUpdateInput = { assignedCommentThreads?: InputMaybe; + authoredAttachments?: InputMaybe; authoredCommentThreads?: InputMaybe; avatarUrl?: InputMaybe; comments?: InputMaybe; @@ -3141,6 +1722,7 @@ export type UserUpdateInput = { id?: InputMaybe; lastName?: InputMaybe; lastSeen?: InputMaybe; + locale?: InputMaybe; metadata?: InputMaybe; phoneNumber?: InputMaybe; settings?: InputMaybe; @@ -3149,137 +1731,16 @@ export type UserUpdateInput = { export type UserUpdateOneRequiredWithoutAuthoredCommentThreadsNestedInput = { connect?: InputMaybe; - connectOrCreate?: InputMaybe; - create?: InputMaybe; - update?: InputMaybe; - upsert?: InputMaybe; -}; - -export type UserUpdateOneRequiredWithoutCommentsNestedInput = { - connect?: InputMaybe; - connectOrCreate?: InputMaybe; - create?: InputMaybe; - update?: InputMaybe; - upsert?: InputMaybe; -}; - -export type UserUpdateOneRequiredWithoutWorkspaceMemberNestedInput = { - connect?: InputMaybe; - connectOrCreate?: InputMaybe; - create?: InputMaybe; - update?: InputMaybe; - upsert?: InputMaybe; }; export type UserUpdateOneWithoutAssignedCommentThreadsNestedInput = { connect?: InputMaybe; - connectOrCreate?: InputMaybe; - create?: InputMaybe; - delete?: InputMaybe; disconnect?: InputMaybe; - update?: InputMaybe; - upsert?: InputMaybe; }; export type UserUpdateOneWithoutCompaniesNestedInput = { connect?: InputMaybe; -}; - -export type UserUpdateWithoutAssignedCommentThreadsInput = { - authoredCommentThreads?: InputMaybe; - avatarUrl?: InputMaybe; - comments?: InputMaybe; - companies?: InputMaybe; - createdAt?: InputMaybe; - disabled?: InputMaybe; - email?: InputMaybe; - emailVerified?: InputMaybe; - firstName?: InputMaybe; - id?: InputMaybe; - lastName?: InputMaybe; - lastSeen?: InputMaybe; - metadata?: InputMaybe; - phoneNumber?: InputMaybe; - settings?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type UserUpdateWithoutAuthoredCommentThreadsInput = { - assignedCommentThreads?: InputMaybe; - avatarUrl?: InputMaybe; - comments?: InputMaybe; - companies?: InputMaybe; - createdAt?: InputMaybe; - disabled?: InputMaybe; - email?: InputMaybe; - emailVerified?: InputMaybe; - firstName?: InputMaybe; - id?: InputMaybe; - lastName?: InputMaybe; - lastSeen?: InputMaybe; - metadata?: InputMaybe; - phoneNumber?: InputMaybe; - settings?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type UserUpdateWithoutCommentsInput = { - assignedCommentThreads?: InputMaybe; - authoredCommentThreads?: InputMaybe; - avatarUrl?: InputMaybe; - companies?: InputMaybe; - createdAt?: InputMaybe; - disabled?: InputMaybe; - email?: InputMaybe; - emailVerified?: InputMaybe; - firstName?: InputMaybe; - id?: InputMaybe; - lastName?: InputMaybe; - lastSeen?: InputMaybe; - metadata?: InputMaybe; - phoneNumber?: InputMaybe; - settings?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type UserUpdateWithoutWorkspaceMemberInput = { - assignedCommentThreads?: InputMaybe; - authoredCommentThreads?: InputMaybe; - avatarUrl?: InputMaybe; - comments?: InputMaybe; - companies?: InputMaybe; - createdAt?: InputMaybe; - disabled?: InputMaybe; - email?: InputMaybe; - emailVerified?: InputMaybe; - firstName?: InputMaybe; - id?: InputMaybe; - lastName?: InputMaybe; - lastSeen?: InputMaybe; - metadata?: InputMaybe; - phoneNumber?: InputMaybe; - settings?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type UserUpsertWithoutAssignedCommentThreadsInput = { - create: UserCreateWithoutAssignedCommentThreadsInput; - update: UserUpdateWithoutAssignedCommentThreadsInput; -}; - -export type UserUpsertWithoutAuthoredCommentThreadsInput = { - create: UserCreateWithoutAuthoredCommentThreadsInput; - update: UserUpdateWithoutAuthoredCommentThreadsInput; -}; - -export type UserUpsertWithoutCommentsInput = { - create: UserCreateWithoutCommentsInput; - update: UserUpdateWithoutCommentsInput; -}; - -export type UserUpsertWithoutWorkspaceMemberInput = { - create: UserCreateWithoutWorkspaceMemberInput; - update: UserUpdateWithoutWorkspaceMemberInput; + disconnect?: InputMaybe; }; export type UserWhereInput = { @@ -3287,6 +1748,7 @@ export type UserWhereInput = { NOT?: InputMaybe>; OR?: InputMaybe>; assignedCommentThreads?: InputMaybe; + authoredAttachments?: InputMaybe; authoredCommentThreads?: InputMaybe; avatarUrl?: InputMaybe; comments?: InputMaybe; @@ -3299,6 +1761,7 @@ export type UserWhereInput = { id?: InputMaybe; lastName?: InputMaybe; lastSeen?: InputMaybe; + locale?: InputMaybe; metadata?: InputMaybe; phoneNumber?: InputMaybe; settings?: InputMaybe; @@ -3352,30 +1815,6 @@ export type WorkspaceMember = { workspace: Workspace; }; -export type WorkspaceMemberCreateManyWorkspaceInput = { - createdAt?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; - userId: Scalars['String']; -}; - -export type WorkspaceMemberCreateManyWorkspaceInputEnvelope = { - data: Array; - skipDuplicates?: InputMaybe; -}; - -export type WorkspaceMemberCreateOrConnectWithoutWorkspaceInput = { - create: WorkspaceMemberCreateWithoutWorkspaceInput; - where: WorkspaceMemberWhereUniqueInput; -}; - -export type WorkspaceMemberCreateWithoutWorkspaceInput = { - createdAt?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; - user: UserCreateNestedOneWithoutWorkspaceMemberInput; -}; - export type WorkspaceMemberOrderByWithRelationInput = { createdAt?: InputMaybe; id?: InputMaybe; @@ -3393,57 +1832,10 @@ export enum WorkspaceMemberScalarFieldEnum { WorkspaceId = 'workspaceId' } -export type WorkspaceMemberScalarWhereInput = { - AND?: InputMaybe>; - NOT?: InputMaybe>; - OR?: InputMaybe>; - createdAt?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; - userId?: InputMaybe; -}; - -export type WorkspaceMemberUpdateManyMutationInput = { - createdAt?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type WorkspaceMemberUpdateManyWithWhereWithoutWorkspaceInput = { - data: WorkspaceMemberUpdateManyMutationInput; - where: WorkspaceMemberScalarWhereInput; -}; - export type WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput = { connect?: InputMaybe>; - connectOrCreate?: InputMaybe>; - create?: InputMaybe>; - createMany?: InputMaybe; - delete?: InputMaybe>; - deleteMany?: InputMaybe>; disconnect?: InputMaybe>; set?: InputMaybe>; - update?: InputMaybe>; - updateMany?: InputMaybe>; - upsert?: InputMaybe>; -}; - -export type WorkspaceMemberUpdateWithWhereUniqueWithoutWorkspaceInput = { - data: WorkspaceMemberUpdateWithoutWorkspaceInput; - where: WorkspaceMemberWhereUniqueInput; -}; - -export type WorkspaceMemberUpdateWithoutWorkspaceInput = { - createdAt?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; - user?: InputMaybe; -}; - -export type WorkspaceMemberUpsertWithWhereUniqueWithoutWorkspaceInput = { - create: WorkspaceMemberCreateWithoutWorkspaceInput; - update: WorkspaceMemberUpdateWithoutWorkspaceInput; - where: WorkspaceMemberWhereUniqueInput; }; export type WorkspaceMemberWhereInput = { @@ -3555,6 +1947,14 @@ export type UpdateCommentThreadMutationVariables = Exact<{ export type UpdateCommentThreadMutation = { __typename?: 'Mutation', updateOneCommentThread: { __typename?: 'CommentThread', id: string, body?: string | null, title?: string | null, type: ActivityType } }; +export type UploadAttachmentMutationVariables = Exact<{ + file: Scalars['Upload']; + activityId: Scalars['String']; +}>; + + +export type UploadAttachmentMutation = { __typename?: 'Mutation', uploadAttachment: string }; + export type CreateEventMutationVariables = Exact<{ type: Scalars['String']; data: Scalars['JSON']; @@ -4315,6 +2715,38 @@ export function useUpdateCommentThreadMutation(baseOptions?: Apollo.MutationHook export type UpdateCommentThreadMutationHookResult = ReturnType; export type UpdateCommentThreadMutationResult = Apollo.MutationResult; export type UpdateCommentThreadMutationOptions = Apollo.BaseMutationOptions; +export const UploadAttachmentDocument = gql` + mutation UploadAttachment($file: Upload!, $activityId: String!) { + uploadAttachment(file: $file, activityId: $activityId) +} + `; +export type UploadAttachmentMutationFn = Apollo.MutationFunction; + +/** + * __useUploadAttachmentMutation__ + * + * To run a mutation, you first call `useUploadAttachmentMutation` within a React component and pass it any options that fit your needs. + * When your component renders, `useUploadAttachmentMutation` returns a tuple that includes: + * - A mutate function that you can call at any time to execute the mutation + * - An object with fields that represent the current status of the mutation's execution + * + * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; + * + * @example + * const [uploadAttachmentMutation, { data, loading, error }] = useUploadAttachmentMutation({ + * variables: { + * file: // value for 'file' + * activityId: // value for 'activityId' + * }, + * }); + */ +export function useUploadAttachmentMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(UploadAttachmentDocument, options); + } +export type UploadAttachmentMutationHookResult = ReturnType; +export type UploadAttachmentMutationResult = Apollo.MutationResult; +export type UploadAttachmentMutationOptions = Apollo.BaseMutationOptions; export const CreateEventDocument = gql` mutation CreateEvent($type: String!, $data: JSON!) { createEvent(type: $type, data: $data) { diff --git a/front/src/modules/activities/queries/update.ts b/front/src/modules/activities/queries/update.ts index 02b08af2b..bf5c27a36 100644 --- a/front/src/modules/activities/queries/update.ts +++ b/front/src/modules/activities/queries/update.ts @@ -91,3 +91,9 @@ export const UPDATE_COMMENT_THREAD = gql` } } `; + +export const UPLOAD_ATTACHMENT = gql` + mutation UploadAttachment($file: Upload!, $activityId: String!) { + uploadAttachment(file: $file, activityId: $activityId) + } +`; diff --git a/server/.gitignore b/server/.gitignore index f1b84825d..2cc70c1b3 100644 --- a/server/.gitignore +++ b/server/.gitignore @@ -1,6 +1,7 @@ # compiled output /dist /node_modules +/src/core/@generated # Logs logs diff --git a/server/src/ability/ability.factory.ts b/server/src/ability/ability.factory.ts index 1336d15a1..c3217f20c 100644 --- a/server/src/ability/ability.factory.ts +++ b/server/src/ability/ability.factory.ts @@ -14,6 +14,7 @@ import { Pipeline, PipelineStage, PipelineProgress, + Attachment, } from '@prisma/client'; import { AbilityAction } from './ability.action'; @@ -30,6 +31,7 @@ type SubjectsAbility = Subjects<{ Pipeline: Pipeline; PipelineStage: PipelineStage; PipelineProgress: PipelineProgress; + Attachment: Attachment; }>; export type AppAbility = PureAbility< @@ -98,6 +100,11 @@ export class AbilityFactory { // CommentThreadTarget can(AbilityAction.Read, 'CommentThreadTarget'); + // Attachment + can(AbilityAction.Read, 'Attachment', { workspaceId: workspace.id }); + can(AbilityAction.Update, 'Attachment', { workspaceId: workspace.id }); + can(AbilityAction.Create, 'Attachment', { workspaceId: workspace.id }); + // Pipeline can(AbilityAction.Read, 'Pipeline', { workspaceId: workspace.id }); diff --git a/server/src/ability/ability.module.ts b/server/src/ability/ability.module.ts index 53841fd42..41586d2ff 100644 --- a/server/src/ability/ability.module.ts +++ b/server/src/ability/ability.module.ts @@ -85,6 +85,13 @@ import { UpdatePipelineProgressAbilityHandler, DeletePipelineProgressAbilityHandler, } from './handlers/pipeline-progress.ability-handler'; +import { + CreateAttachmentAbilityHandler, + DeleteAttachmentAbilityHandler, + ManageAttachmentAbilityHandler, + ReadAttachmentAbilityHandler, + UpdateAttachmentAbilityHandler, +} from './handlers/attachment.ability-handler'; @Global() @Module({ @@ -145,6 +152,12 @@ import { CreateCommentThreadTargetAbilityHandler, UpdateCommentThreadTargetAbilityHandler, DeleteCommentThreadTargetAbilityHandler, + //Attachment + ManageAttachmentAbilityHandler, + ReadAttachmentAbilityHandler, + CreateAttachmentAbilityHandler, + UpdateAttachmentAbilityHandler, + DeleteAttachmentAbilityHandler, // Pipeline ManagePipelineAbilityHandler, ReadPipelineAbilityHandler, @@ -220,6 +233,12 @@ import { CreateCommentThreadTargetAbilityHandler, UpdateCommentThreadTargetAbilityHandler, DeleteCommentThreadTargetAbilityHandler, + //Attachment + ManageAttachmentAbilityHandler, + ReadAttachmentAbilityHandler, + CreateAttachmentAbilityHandler, + UpdateAttachmentAbilityHandler, + DeleteAttachmentAbilityHandler, // Pipeline ManagePipelineAbilityHandler, ReadPipelineAbilityHandler, diff --git a/server/src/ability/handlers/attachment.ability-handler.ts b/server/src/ability/handlers/attachment.ability-handler.ts new file mode 100644 index 000000000..314d4de23 --- /dev/null +++ b/server/src/ability/handlers/attachment.ability-handler.ts @@ -0,0 +1,67 @@ +import { PrismaService } from 'src/database/prisma.service'; +import { AbilityAction } from '../ability.action'; +import { AppAbility } from '../ability.factory'; +import { IAbilityHandler } from '../interfaces/ability-handler.interface'; +import { + ExecutionContext, + ForbiddenException, + Injectable, + NotFoundException, +} from '@nestjs/common'; +import { assert } from 'src/utils/assert'; +import { GqlExecutionContext } from '@nestjs/graphql'; +import { subject } from '@casl/ability'; + +class AttachmentArgs { + activityId?: string; +} + +@Injectable() +export class ManageAttachmentAbilityHandler implements IAbilityHandler { + async handle(ability: AppAbility) { + return ability.can(AbilityAction.Manage, 'Attachment'); + } +} + +@Injectable() +export class ReadAttachmentAbilityHandler implements IAbilityHandler { + handle(ability: AppAbility) { + return ability.can(AbilityAction.Read, 'Attachment'); + } +} + +@Injectable() +export class CreateAttachmentAbilityHandler implements IAbilityHandler { + constructor(private readonly prismaService: PrismaService) {} + + async handle(ability: AppAbility, context: ExecutionContext) { + const gqlContext = GqlExecutionContext.create(context); + const args = gqlContext.getArgs(); + assert(args.activityId, '', ForbiddenException); + + const activity = await this.prismaService.commentThread.findUnique({ + where: { id: args.activityId }, + include: { workspace: true }, + }); + assert(activity, '', NotFoundException); + + return ability.can( + AbilityAction.Update, + subject('Workspace', activity.workspace), + ); + } +} + +@Injectable() +export class UpdateAttachmentAbilityHandler implements IAbilityHandler { + async handle(ability: AppAbility) { + return ability.can(AbilityAction.Update, 'Attachment'); + } +} + +@Injectable() +export class DeleteAttachmentAbilityHandler implements IAbilityHandler { + async handle(ability: AppAbility) { + return ability.can(AbilityAction.Delete, 'Attachment'); + } +} diff --git a/server/src/constants/settings/interfaces/settings.interface.ts b/server/src/constants/settings/interfaces/settings.interface.ts index f1caa0fb5..bbf8e1a3b 100644 --- a/server/src/constants/settings/interfaces/settings.interface.ts +++ b/server/src/constants/settings/interfaces/settings.interface.ts @@ -6,7 +6,7 @@ type ValueOfFileFolder = `${FileFolder}`; export interface Settings { storage: { imageCropSizes: { - [key in ValueOfFileFolder]: ShortCropSize[]; + [key in ValueOfFileFolder]?: ShortCropSize[]; }; }; } diff --git a/server/src/core/@generated/comment-thread-target/aggregate-comment-thread-target.output.ts b/server/src/core/@generated/comment-thread-target/aggregate-comment-thread-target.output.ts deleted file mode 100644 index 4c7a9c4b2..000000000 --- a/server/src/core/@generated/comment-thread-target/aggregate-comment-thread-target.output.ts +++ /dev/null @@ -1,18 +0,0 @@ -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/core/@generated/comment-thread-target/comment-thread-target-aggregate.args.ts b/server/src/core/@generated/comment-thread-target/comment-thread-target-aggregate.args.ts deleted file mode 100644 index 747379def..000000000 --- a/server/src/core/@generated/comment-thread-target/comment-thread-target-aggregate.args.ts +++ /dev/null @@ -1,39 +0,0 @@ -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; - - @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/core/@generated/comment-thread-target/comment-thread-target-count-aggregate.input.ts b/server/src/core/@generated/comment-thread-target/comment-thread-target-count-aggregate.input.ts deleted file mode 100644 index 0e4f79ddd..000000000 --- a/server/src/core/@generated/comment-thread-target/comment-thread-target-count-aggregate.input.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class CommentThreadTargetCountAggregateInput { - - @Field(() => Boolean, {nullable:true}) - id?: true; - - @Field(() => Boolean, {nullable:true}) - commentThreadId?: true; - - @Field(() => Boolean, {nullable:true}) - commentableType?: true; - - @Field(() => Boolean, {nullable:true}) - commentableId?: true; - - @HideField() - deletedAt?: true; - - @Field(() => Boolean, {nullable:true}) - createdAt?: true; - - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; - - @Field(() => Boolean, {nullable:true}) - _all?: true; -} diff --git a/server/src/core/@generated/comment-thread-target/comment-thread-target-count-aggregate.output.ts b/server/src/core/@generated/comment-thread-target/comment-thread-target-count-aggregate.output.ts deleted file mode 100644 index f038e8821..000000000 --- a/server/src/core/@generated/comment-thread-target/comment-thread-target-count-aggregate.output.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import { Int } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; - -@ObjectType() -export class CommentThreadTargetCountAggregate { - - @Field(() => Int, {nullable:false}) - id!: number; - - @Field(() => Int, {nullable:false}) - commentThreadId!: number; - - @Field(() => Int, {nullable:false}) - commentableType!: number; - - @Field(() => Int, {nullable:false}) - commentableId!: number; - - @HideField() - deletedAt!: number; - - @Field(() => Int, {nullable:false}) - createdAt!: number; - - @Field(() => Int, {nullable:false}) - updatedAt!: number; - - @Field(() => Int, {nullable:false}) - _all!: number; -} diff --git a/server/src/core/@generated/comment-thread-target/comment-thread-target-count-order-by-aggregate.input.ts b/server/src/core/@generated/comment-thread-target/comment-thread-target-count-order-by-aggregate.input.ts deleted file mode 100644 index 896d5641d..000000000 --- a/server/src/core/@generated/comment-thread-target/comment-thread-target-count-order-by-aggregate.input.ts +++ /dev/null @@ -1,29 +0,0 @@ -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 CommentThreadTargetCountOrderByAggregateInput { - - @Field(() => SortOrder, {nullable:true}) - id?: 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; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; -} diff --git a/server/src/core/@generated/comment-thread-target/comment-thread-target-create-many-comment-thread-input-envelope.input.ts b/server/src/core/@generated/comment-thread-target/comment-thread-target-create-many-comment-thread-input-envelope.input.ts deleted file mode 100644 index cdd546cdc..000000000 --- a/server/src/core/@generated/comment-thread-target/comment-thread-target-create-many-comment-thread-input-envelope.input.ts +++ /dev/null @@ -1,15 +0,0 @@ -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; - - @Field(() => Boolean, {nullable:true}) - skipDuplicates?: boolean; -} diff --git a/server/src/core/@generated/comment-thread-target/comment-thread-target-create-many-comment-thread.input.ts b/server/src/core/@generated/comment-thread-target/comment-thread-target-create-many-comment-thread.input.ts deleted file mode 100644 index 02aa39e45..000000000 --- a/server/src/core/@generated/comment-thread-target/comment-thread-target-create-many-comment-thread.input.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { CommentableType } from '../prisma/commentable-type.enum'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class CommentThreadTargetCreateManyCommentThreadInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => CommentableType, {nullable:false}) - commentableType!: keyof typeof CommentableType; - - @Field(() => String, {nullable:false}) - commentableId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/comment-thread-target/comment-thread-target-create-many.input.ts b/server/src/core/@generated/comment-thread-target/comment-thread-target-create-many.input.ts deleted file mode 100644 index 7a4102197..000000000 --- a/server/src/core/@generated/comment-thread-target/comment-thread-target-create-many.input.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { CommentableType } from '../prisma/commentable-type.enum'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class CommentThreadTargetCreateManyInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - commentThreadId!: string; - - @Field(() => CommentableType, {nullable:false}) - commentableType!: keyof typeof CommentableType; - - @Field(() => String, {nullable:false}) - commentableId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/comment-thread-target/comment-thread-target-create-nested-many-without-comment-thread.input.ts b/server/src/core/@generated/comment-thread-target/comment-thread-target-create-nested-many-without-comment-thread.input.ts deleted file mode 100644 index e3e414efc..000000000 --- a/server/src/core/@generated/comment-thread-target/comment-thread-target-create-nested-many-without-comment-thread.input.ts +++ /dev/null @@ -1,25 +0,0 @@ -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; - - @HideField() - connectOrCreate?: Array; - - @Field(() => CommentThreadTargetCreateManyCommentThreadInputEnvelope, {nullable:true}) - @Type(() => CommentThreadTargetCreateManyCommentThreadInputEnvelope) - createMany?: CommentThreadTargetCreateManyCommentThreadInputEnvelope; - - @HideField() - connect?: Array; -} diff --git a/server/src/core/@generated/comment-thread-target/comment-thread-target-create-or-connect-without-comment-thread.input.ts b/server/src/core/@generated/comment-thread-target/comment-thread-target-create-or-connect-without-comment-thread.input.ts deleted file mode 100644 index 9b891c9bd..000000000 --- a/server/src/core/@generated/comment-thread-target/comment-thread-target-create-or-connect-without-comment-thread.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -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/core/@generated/comment-thread-target/comment-thread-target-create-without-comment-thread.input.ts b/server/src/core/@generated/comment-thread-target/comment-thread-target-create-without-comment-thread.input.ts deleted file mode 100644 index a9841b6ee..000000000 --- a/server/src/core/@generated/comment-thread-target/comment-thread-target-create-without-comment-thread.input.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { CommentableType } from '../prisma/commentable-type.enum'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class CommentThreadTargetCreateWithoutCommentThreadInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => CommentableType, {nullable:false}) - commentableType!: keyof typeof CommentableType; - - @Field(() => String, {nullable:false}) - commentableId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/comment-thread-target/comment-thread-target-create.input.ts b/server/src/core/@generated/comment-thread-target/comment-thread-target-create.input.ts deleted file mode 100644 index 3fc238fb7..000000000 --- a/server/src/core/@generated/comment-thread-target/comment-thread-target-create.input.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { CommentableType } from '../prisma/commentable-type.enum'; -import { HideField } from '@nestjs/graphql'; -import { CommentThreadCreateNestedOneWithoutCommentThreadTargetsInput } from '../comment-thread/comment-thread-create-nested-one-without-comment-thread-targets.input'; - -@InputType() -export class CommentThreadTargetCreateInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => CommentableType, {nullable:false}) - commentableType!: keyof typeof CommentableType; - - @Field(() => String, {nullable:false}) - commentableId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => CommentThreadCreateNestedOneWithoutCommentThreadTargetsInput, {nullable:false}) - commentThread!: CommentThreadCreateNestedOneWithoutCommentThreadTargetsInput; -} diff --git a/server/src/core/@generated/comment-thread-target/comment-thread-target-group-by.args.ts b/server/src/core/@generated/comment-thread-target/comment-thread-target-group-by.args.ts deleted file mode 100644 index ed64b87ec..000000000 --- a/server/src/core/@generated/comment-thread-target/comment-thread-target-group-by.args.ts +++ /dev/null @@ -1,43 +0,0 @@ -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; - - @Field(() => [CommentThreadTargetScalarFieldEnum], {nullable:false}) - by!: Array; - - @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/core/@generated/comment-thread-target/comment-thread-target-group-by.output.ts b/server/src/core/@generated/comment-thread-target/comment-thread-target-group-by.output.ts deleted file mode 100644 index a092a5ae7..000000000 --- a/server/src/core/@generated/comment-thread-target/comment-thread-target-group-by.output.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { CommentableType } from '../prisma/commentable-type.enum'; -import { HideField } 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 CommentThreadTargetGroupBy { - - @Field(() => String, {nullable:false}) - @Validator.IsString() - @Validator.IsOptional() - id!: string; - - @Field(() => String, {nullable:false}) - commentThreadId!: string; - - @Field(() => CommentableType, {nullable:false}) - commentableType!: keyof typeof CommentableType; - - @Field(() => String, {nullable:false}) - commentableId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:false}) - createdAt!: Date | string; - - @Field(() => Date, {nullable:false}) - updatedAt!: Date | string; - - @Field(() => CommentThreadTargetCountAggregate, {nullable:true}) - _count?: CommentThreadTargetCountAggregate; - - @Field(() => CommentThreadTargetMinAggregate, {nullable:true}) - _min?: CommentThreadTargetMinAggregate; - - @Field(() => CommentThreadTargetMaxAggregate, {nullable:true}) - _max?: CommentThreadTargetMaxAggregate; -} diff --git a/server/src/core/@generated/comment-thread-target/comment-thread-target-list-relation-filter.input.ts b/server/src/core/@generated/comment-thread-target/comment-thread-target-list-relation-filter.input.ts deleted file mode 100644 index 90ba0767c..000000000 --- a/server/src/core/@generated/comment-thread-target/comment-thread-target-list-relation-filter.input.ts +++ /dev/null @@ -1,16 +0,0 @@ -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/core/@generated/comment-thread-target/comment-thread-target-max-aggregate.input.ts b/server/src/core/@generated/comment-thread-target/comment-thread-target-max-aggregate.input.ts deleted file mode 100644 index b5b48fbeb..000000000 --- a/server/src/core/@generated/comment-thread-target/comment-thread-target-max-aggregate.input.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class CommentThreadTargetMaxAggregateInput { - - @Field(() => Boolean, {nullable:true}) - id?: true; - - @Field(() => Boolean, {nullable:true}) - commentThreadId?: true; - - @Field(() => Boolean, {nullable:true}) - commentableType?: true; - - @Field(() => Boolean, {nullable:true}) - commentableId?: true; - - @HideField() - deletedAt?: true; - - @Field(() => Boolean, {nullable:true}) - createdAt?: true; - - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; -} diff --git a/server/src/core/@generated/comment-thread-target/comment-thread-target-max-aggregate.output.ts b/server/src/core/@generated/comment-thread-target/comment-thread-target-max-aggregate.output.ts deleted file mode 100644 index bf42f814a..000000000 --- a/server/src/core/@generated/comment-thread-target/comment-thread-target-max-aggregate.output.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { CommentableType } from '../prisma/commentable-type.enum'; -import { HideField } from '@nestjs/graphql'; - -@ObjectType() -export class CommentThreadTargetMaxAggregate { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - commentThreadId?: string; - - @Field(() => CommentableType, {nullable:true}) - commentableType?: keyof typeof CommentableType; - - @Field(() => String, {nullable:true}) - commentableId?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/comment-thread-target/comment-thread-target-max-order-by-aggregate.input.ts b/server/src/core/@generated/comment-thread-target/comment-thread-target-max-order-by-aggregate.input.ts deleted file mode 100644 index 872d31450..000000000 --- a/server/src/core/@generated/comment-thread-target/comment-thread-target-max-order-by-aggregate.input.ts +++ /dev/null @@ -1,29 +0,0 @@ -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 CommentThreadTargetMaxOrderByAggregateInput { - - @Field(() => SortOrder, {nullable:true}) - id?: 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; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; -} diff --git a/server/src/core/@generated/comment-thread-target/comment-thread-target-min-aggregate.input.ts b/server/src/core/@generated/comment-thread-target/comment-thread-target-min-aggregate.input.ts deleted file mode 100644 index 5034d36a7..000000000 --- a/server/src/core/@generated/comment-thread-target/comment-thread-target-min-aggregate.input.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class CommentThreadTargetMinAggregateInput { - - @Field(() => Boolean, {nullable:true}) - id?: true; - - @Field(() => Boolean, {nullable:true}) - commentThreadId?: true; - - @Field(() => Boolean, {nullable:true}) - commentableType?: true; - - @Field(() => Boolean, {nullable:true}) - commentableId?: true; - - @HideField() - deletedAt?: true; - - @Field(() => Boolean, {nullable:true}) - createdAt?: true; - - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; -} diff --git a/server/src/core/@generated/comment-thread-target/comment-thread-target-min-aggregate.output.ts b/server/src/core/@generated/comment-thread-target/comment-thread-target-min-aggregate.output.ts deleted file mode 100644 index ae259145c..000000000 --- a/server/src/core/@generated/comment-thread-target/comment-thread-target-min-aggregate.output.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { CommentableType } from '../prisma/commentable-type.enum'; -import { HideField } from '@nestjs/graphql'; - -@ObjectType() -export class CommentThreadTargetMinAggregate { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - commentThreadId?: string; - - @Field(() => CommentableType, {nullable:true}) - commentableType?: keyof typeof CommentableType; - - @Field(() => String, {nullable:true}) - commentableId?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/comment-thread-target/comment-thread-target-min-order-by-aggregate.input.ts b/server/src/core/@generated/comment-thread-target/comment-thread-target-min-order-by-aggregate.input.ts deleted file mode 100644 index c40faf76d..000000000 --- a/server/src/core/@generated/comment-thread-target/comment-thread-target-min-order-by-aggregate.input.ts +++ /dev/null @@ -1,29 +0,0 @@ -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 CommentThreadTargetMinOrderByAggregateInput { - - @Field(() => SortOrder, {nullable:true}) - id?: 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; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; -} diff --git a/server/src/core/@generated/comment-thread-target/comment-thread-target-order-by-relation-aggregate.input.ts b/server/src/core/@generated/comment-thread-target/comment-thread-target-order-by-relation-aggregate.input.ts deleted file mode 100644 index 4c383b250..000000000 --- a/server/src/core/@generated/comment-thread-target/comment-thread-target-order-by-relation-aggregate.input.ts +++ /dev/null @@ -1,10 +0,0 @@ -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/core/@generated/comment-thread-target/comment-thread-target-order-by-with-aggregation.input.ts b/server/src/core/@generated/comment-thread-target/comment-thread-target-order-by-with-aggregation.input.ts deleted file mode 100644 index fb7ba4de9..000000000 --- a/server/src/core/@generated/comment-thread-target/comment-thread-target-order-by-with-aggregation.input.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { SortOrder } from '../prisma/sort-order.enum'; -import { HideField } from '@nestjs/graphql'; -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}) - commentThreadId?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - commentableType?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - commentableId?: keyof typeof SortOrder; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: 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/core/@generated/comment-thread-target/comment-thread-target-order-by-with-relation.input.ts b/server/src/core/@generated/comment-thread-target/comment-thread-target-order-by-with-relation.input.ts deleted file mode 100644 index cfebe1306..000000000 --- a/server/src/core/@generated/comment-thread-target/comment-thread-target-order-by-with-relation.input.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { SortOrder } from '../prisma/sort-order.enum'; -import { HideField } from '@nestjs/graphql'; -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}) - commentThreadId?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - commentableType?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - commentableId?: keyof typeof SortOrder; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; - - @Field(() => CommentThreadOrderByWithRelationInput, {nullable:true}) - commentThread?: CommentThreadOrderByWithRelationInput; -} diff --git a/server/src/core/@generated/comment-thread-target/comment-thread-target-scalar-field.enum.ts b/server/src/core/@generated/comment-thread-target/comment-thread-target-scalar-field.enum.ts deleted file mode 100644 index ae369577c..000000000 --- a/server/src/core/@generated/comment-thread-target/comment-thread-target-scalar-field.enum.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { registerEnumType } from '@nestjs/graphql'; - -export enum CommentThreadTargetScalarFieldEnum { - id = "id", - commentThreadId = "commentThreadId", - commentableType = "commentableType", - commentableId = "commentableId", - deletedAt = "deletedAt", - createdAt = "createdAt", - updatedAt = "updatedAt" -} - - -registerEnumType(CommentThreadTargetScalarFieldEnum, { name: 'CommentThreadTargetScalarFieldEnum', description: undefined }) diff --git a/server/src/core/@generated/comment-thread-target/comment-thread-target-scalar-where-with-aggregates.input.ts b/server/src/core/@generated/comment-thread-target/comment-thread-target-scalar-where-with-aggregates.input.ts deleted file mode 100644 index a5e135c46..000000000 --- a/server/src/core/@generated/comment-thread-target/comment-thread-target-scalar-where-with-aggregates.input.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringWithAggregatesFilter } from '../prisma/string-with-aggregates-filter.input'; -import { EnumCommentableTypeWithAggregatesFilter } from '../prisma/enum-commentable-type-with-aggregates-filter.input'; -import { DateTimeNullableWithAggregatesFilter } from '../prisma/date-time-nullable-with-aggregates-filter.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeWithAggregatesFilter } from '../prisma/date-time-with-aggregates-filter.input'; - -@InputType() -export class CommentThreadTargetScalarWhereWithAggregatesInput { - - @Field(() => [CommentThreadTargetScalarWhereWithAggregatesInput], {nullable:true}) - AND?: Array; - - @Field(() => [CommentThreadTargetScalarWhereWithAggregatesInput], {nullable:true}) - OR?: Array; - - @Field(() => [CommentThreadTargetScalarWhereWithAggregatesInput], {nullable:true}) - NOT?: Array; - - @Field(() => StringWithAggregatesFilter, {nullable:true}) - id?: StringWithAggregatesFilter; - - @Field(() => StringWithAggregatesFilter, {nullable:true}) - commentThreadId?: StringWithAggregatesFilter; - - @Field(() => EnumCommentableTypeWithAggregatesFilter, {nullable:true}) - commentableType?: EnumCommentableTypeWithAggregatesFilter; - - @Field(() => StringWithAggregatesFilter, {nullable:true}) - commentableId?: StringWithAggregatesFilter; - - @HideField() - deletedAt?: DateTimeNullableWithAggregatesFilter; - - @Field(() => DateTimeWithAggregatesFilter, {nullable:true}) - createdAt?: DateTimeWithAggregatesFilter; - - @Field(() => DateTimeWithAggregatesFilter, {nullable:true}) - updatedAt?: DateTimeWithAggregatesFilter; -} diff --git a/server/src/core/@generated/comment-thread-target/comment-thread-target-scalar-where.input.ts b/server/src/core/@generated/comment-thread-target/comment-thread-target-scalar-where.input.ts deleted file mode 100644 index 06c553f44..000000000 --- a/server/src/core/@generated/comment-thread-target/comment-thread-target-scalar-where.input.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFilter } from '../prisma/string-filter.input'; -import { EnumCommentableTypeFilter } from '../prisma/enum-commentable-type-filter.input'; -import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFilter } from '../prisma/date-time-filter.input'; - -@InputType() -export class CommentThreadTargetScalarWhereInput { - - @Field(() => [CommentThreadTargetScalarWhereInput], {nullable:true}) - AND?: Array; - - @Field(() => [CommentThreadTargetScalarWhereInput], {nullable:true}) - OR?: Array; - - @Field(() => [CommentThreadTargetScalarWhereInput], {nullable:true}) - NOT?: Array; - - @Field(() => StringFilter, {nullable:true}) - id?: StringFilter; - - @Field(() => StringFilter, {nullable:true}) - commentThreadId?: StringFilter; - - @Field(() => EnumCommentableTypeFilter, {nullable:true}) - commentableType?: EnumCommentableTypeFilter; - - @Field(() => StringFilter, {nullable:true}) - commentableId?: StringFilter; - - @HideField() - deletedAt?: DateTimeNullableFilter; - - @Field(() => DateTimeFilter, {nullable:true}) - createdAt?: DateTimeFilter; - - @Field(() => DateTimeFilter, {nullable:true}) - updatedAt?: DateTimeFilter; -} diff --git a/server/src/core/@generated/comment-thread-target/comment-thread-target-unchecked-create-nested-many-without-comment-thread.input.ts b/server/src/core/@generated/comment-thread-target/comment-thread-target-unchecked-create-nested-many-without-comment-thread.input.ts deleted file mode 100644 index e2365f6e8..000000000 --- a/server/src/core/@generated/comment-thread-target/comment-thread-target-unchecked-create-nested-many-without-comment-thread.input.ts +++ /dev/null @@ -1,27 +0,0 @@ -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; - - @Field(() => [CommentThreadTargetCreateOrConnectWithoutCommentThreadInput], {nullable:true}) - @Type(() => CommentThreadTargetCreateOrConnectWithoutCommentThreadInput) - connectOrCreate?: Array; - - @Field(() => CommentThreadTargetCreateManyCommentThreadInputEnvelope, {nullable:true}) - @Type(() => CommentThreadTargetCreateManyCommentThreadInputEnvelope) - createMany?: CommentThreadTargetCreateManyCommentThreadInputEnvelope; - - @Field(() => [CommentThreadTargetWhereUniqueInput], {nullable:true}) - @Type(() => CommentThreadTargetWhereUniqueInput) - connect?: Array; -} diff --git a/server/src/core/@generated/comment-thread-target/comment-thread-target-unchecked-create-without-comment-thread.input.ts b/server/src/core/@generated/comment-thread-target/comment-thread-target-unchecked-create-without-comment-thread.input.ts deleted file mode 100644 index f8cffa629..000000000 --- a/server/src/core/@generated/comment-thread-target/comment-thread-target-unchecked-create-without-comment-thread.input.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { CommentableType } from '../prisma/commentable-type.enum'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class CommentThreadTargetUncheckedCreateWithoutCommentThreadInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => CommentableType, {nullable:false}) - commentableType!: keyof typeof CommentableType; - - @Field(() => String, {nullable:false}) - commentableId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/comment-thread-target/comment-thread-target-unchecked-create.input.ts b/server/src/core/@generated/comment-thread-target/comment-thread-target-unchecked-create.input.ts deleted file mode 100644 index bc0557332..000000000 --- a/server/src/core/@generated/comment-thread-target/comment-thread-target-unchecked-create.input.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { CommentableType } from '../prisma/commentable-type.enum'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class CommentThreadTargetUncheckedCreateInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - commentThreadId!: string; - - @Field(() => CommentableType, {nullable:false}) - commentableType!: keyof typeof CommentableType; - - @Field(() => String, {nullable:false}) - commentableId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/comment-thread-target/comment-thread-target-unchecked-update-many-without-comment-thread-nested.input.ts b/server/src/core/@generated/comment-thread-target/comment-thread-target-unchecked-update-many-without-comment-thread-nested.input.ts deleted file mode 100644 index ed26324b6..000000000 --- a/server/src/core/@generated/comment-thread-target/comment-thread-target-unchecked-update-many-without-comment-thread-nested.input.ts +++ /dev/null @@ -1,59 +0,0 @@ -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; - - @Field(() => [CommentThreadTargetCreateOrConnectWithoutCommentThreadInput], {nullable:true}) - @Type(() => CommentThreadTargetCreateOrConnectWithoutCommentThreadInput) - connectOrCreate?: Array; - - @Field(() => [CommentThreadTargetUpsertWithWhereUniqueWithoutCommentThreadInput], {nullable:true}) - @Type(() => CommentThreadTargetUpsertWithWhereUniqueWithoutCommentThreadInput) - upsert?: Array; - - @Field(() => CommentThreadTargetCreateManyCommentThreadInputEnvelope, {nullable:true}) - @Type(() => CommentThreadTargetCreateManyCommentThreadInputEnvelope) - createMany?: CommentThreadTargetCreateManyCommentThreadInputEnvelope; - - @Field(() => [CommentThreadTargetWhereUniqueInput], {nullable:true}) - @Type(() => CommentThreadTargetWhereUniqueInput) - set?: Array; - - @Field(() => [CommentThreadTargetWhereUniqueInput], {nullable:true}) - @Type(() => CommentThreadTargetWhereUniqueInput) - disconnect?: Array; - - @Field(() => [CommentThreadTargetWhereUniqueInput], {nullable:true}) - @Type(() => CommentThreadTargetWhereUniqueInput) - delete?: Array; - - @Field(() => [CommentThreadTargetWhereUniqueInput], {nullable:true}) - @Type(() => CommentThreadTargetWhereUniqueInput) - connect?: Array; - - @Field(() => [CommentThreadTargetUpdateWithWhereUniqueWithoutCommentThreadInput], {nullable:true}) - @Type(() => CommentThreadTargetUpdateWithWhereUniqueWithoutCommentThreadInput) - update?: Array; - - @Field(() => [CommentThreadTargetUpdateManyWithWhereWithoutCommentThreadInput], {nullable:true}) - @Type(() => CommentThreadTargetUpdateManyWithWhereWithoutCommentThreadInput) - updateMany?: Array; - - @Field(() => [CommentThreadTargetScalarWhereInput], {nullable:true}) - @Type(() => CommentThreadTargetScalarWhereInput) - deleteMany?: Array; -} diff --git a/server/src/core/@generated/comment-thread-target/comment-thread-target-unchecked-update-many-without-comment-thread-targets.input.ts b/server/src/core/@generated/comment-thread-target/comment-thread-target-unchecked-update-many-without-comment-thread-targets.input.ts deleted file mode 100644 index 65e494a82..000000000 --- a/server/src/core/@generated/comment-thread-target/comment-thread-target-unchecked-update-many-without-comment-thread-targets.input.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { EnumCommentableTypeFieldUpdateOperationsInput } from '../prisma/enum-commentable-type-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadTargetsInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => EnumCommentableTypeFieldUpdateOperationsInput, {nullable:true}) - commentableType?: EnumCommentableTypeFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - commentableId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/comment-thread-target/comment-thread-target-unchecked-update-many.input.ts b/server/src/core/@generated/comment-thread-target/comment-thread-target-unchecked-update-many.input.ts deleted file mode 100644 index ec50834a1..000000000 --- a/server/src/core/@generated/comment-thread-target/comment-thread-target-unchecked-update-many.input.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { EnumCommentableTypeFieldUpdateOperationsInput } from '../prisma/enum-commentable-type-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class CommentThreadTargetUncheckedUpdateManyInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - commentThreadId?: StringFieldUpdateOperationsInput; - - @Field(() => EnumCommentableTypeFieldUpdateOperationsInput, {nullable:true}) - commentableType?: EnumCommentableTypeFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - commentableId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/comment-thread-target/comment-thread-target-unchecked-update-without-comment-thread.input.ts b/server/src/core/@generated/comment-thread-target/comment-thread-target-unchecked-update-without-comment-thread.input.ts deleted file mode 100644 index 0836a70a5..000000000 --- a/server/src/core/@generated/comment-thread-target/comment-thread-target-unchecked-update-without-comment-thread.input.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { EnumCommentableTypeFieldUpdateOperationsInput } from '../prisma/enum-commentable-type-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class CommentThreadTargetUncheckedUpdateWithoutCommentThreadInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => EnumCommentableTypeFieldUpdateOperationsInput, {nullable:true}) - commentableType?: EnumCommentableTypeFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - commentableId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/comment-thread-target/comment-thread-target-unchecked-update.input.ts b/server/src/core/@generated/comment-thread-target/comment-thread-target-unchecked-update.input.ts deleted file mode 100644 index 06a0820dc..000000000 --- a/server/src/core/@generated/comment-thread-target/comment-thread-target-unchecked-update.input.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { EnumCommentableTypeFieldUpdateOperationsInput } from '../prisma/enum-commentable-type-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class CommentThreadTargetUncheckedUpdateInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - commentThreadId?: StringFieldUpdateOperationsInput; - - @Field(() => EnumCommentableTypeFieldUpdateOperationsInput, {nullable:true}) - commentableType?: EnumCommentableTypeFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - commentableId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/comment-thread-target/comment-thread-target-update-many-mutation.input.ts b/server/src/core/@generated/comment-thread-target/comment-thread-target-update-many-mutation.input.ts deleted file mode 100644 index 3bfffaa85..000000000 --- a/server/src/core/@generated/comment-thread-target/comment-thread-target-update-many-mutation.input.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { EnumCommentableTypeFieldUpdateOperationsInput } from '../prisma/enum-commentable-type-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class CommentThreadTargetUpdateManyMutationInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => EnumCommentableTypeFieldUpdateOperationsInput, {nullable:true}) - commentableType?: EnumCommentableTypeFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - commentableId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/comment-thread-target/comment-thread-target-update-many-with-where-without-comment-thread.input.ts b/server/src/core/@generated/comment-thread-target/comment-thread-target-update-many-with-where-without-comment-thread.input.ts deleted file mode 100644 index ed5caa295..000000000 --- a/server/src/core/@generated/comment-thread-target/comment-thread-target-update-many-with-where-without-comment-thread.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -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/core/@generated/comment-thread-target/comment-thread-target-update-many-without-comment-thread-nested.input.ts b/server/src/core/@generated/comment-thread-target/comment-thread-target-update-many-without-comment-thread-nested.input.ts deleted file mode 100644 index d24cde170..000000000 --- a/server/src/core/@generated/comment-thread-target/comment-thread-target-update-many-without-comment-thread-nested.input.ts +++ /dev/null @@ -1,59 +0,0 @@ -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; - - @Field(() => [CommentThreadTargetCreateOrConnectWithoutCommentThreadInput], {nullable:true}) - @Type(() => CommentThreadTargetCreateOrConnectWithoutCommentThreadInput) - connectOrCreate?: Array; - - @Field(() => [CommentThreadTargetUpsertWithWhereUniqueWithoutCommentThreadInput], {nullable:true}) - @Type(() => CommentThreadTargetUpsertWithWhereUniqueWithoutCommentThreadInput) - upsert?: Array; - - @Field(() => CommentThreadTargetCreateManyCommentThreadInputEnvelope, {nullable:true}) - @Type(() => CommentThreadTargetCreateManyCommentThreadInputEnvelope) - createMany?: CommentThreadTargetCreateManyCommentThreadInputEnvelope; - - @Field(() => [CommentThreadTargetWhereUniqueInput], {nullable:true}) - @Type(() => CommentThreadTargetWhereUniqueInput) - set?: Array; - - @Field(() => [CommentThreadTargetWhereUniqueInput], {nullable:true}) - @Type(() => CommentThreadTargetWhereUniqueInput) - disconnect?: Array; - - @Field(() => [CommentThreadTargetWhereUniqueInput], {nullable:true}) - @Type(() => CommentThreadTargetWhereUniqueInput) - delete?: Array; - - @Field(() => [CommentThreadTargetWhereUniqueInput], {nullable:true}) - @Type(() => CommentThreadTargetWhereUniqueInput) - connect?: Array; - - @Field(() => [CommentThreadTargetUpdateWithWhereUniqueWithoutCommentThreadInput], {nullable:true}) - @Type(() => CommentThreadTargetUpdateWithWhereUniqueWithoutCommentThreadInput) - update?: Array; - - @Field(() => [CommentThreadTargetUpdateManyWithWhereWithoutCommentThreadInput], {nullable:true}) - @Type(() => CommentThreadTargetUpdateManyWithWhereWithoutCommentThreadInput) - updateMany?: Array; - - @Field(() => [CommentThreadTargetScalarWhereInput], {nullable:true}) - @Type(() => CommentThreadTargetScalarWhereInput) - deleteMany?: Array; -} diff --git a/server/src/core/@generated/comment-thread-target/comment-thread-target-update-with-where-unique-without-comment-thread.input.ts b/server/src/core/@generated/comment-thread-target/comment-thread-target-update-with-where-unique-without-comment-thread.input.ts deleted file mode 100644 index 587596223..000000000 --- a/server/src/core/@generated/comment-thread-target/comment-thread-target-update-with-where-unique-without-comment-thread.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -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/core/@generated/comment-thread-target/comment-thread-target-update-without-comment-thread.input.ts b/server/src/core/@generated/comment-thread-target/comment-thread-target-update-without-comment-thread.input.ts deleted file mode 100644 index 277543987..000000000 --- a/server/src/core/@generated/comment-thread-target/comment-thread-target-update-without-comment-thread.input.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { EnumCommentableTypeFieldUpdateOperationsInput } from '../prisma/enum-commentable-type-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class CommentThreadTargetUpdateWithoutCommentThreadInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => EnumCommentableTypeFieldUpdateOperationsInput, {nullable:true}) - commentableType?: EnumCommentableTypeFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - commentableId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/comment-thread-target/comment-thread-target-update.input.ts b/server/src/core/@generated/comment-thread-target/comment-thread-target-update.input.ts deleted file mode 100644 index d186e329e..000000000 --- a/server/src/core/@generated/comment-thread-target/comment-thread-target-update.input.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { EnumCommentableTypeFieldUpdateOperationsInput } from '../prisma/enum-commentable-type-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-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(() => EnumCommentableTypeFieldUpdateOperationsInput, {nullable:true}) - commentableType?: EnumCommentableTypeFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - commentableId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => CommentThreadUpdateOneRequiredWithoutCommentThreadTargetsNestedInput, {nullable:true}) - commentThread?: CommentThreadUpdateOneRequiredWithoutCommentThreadTargetsNestedInput; -} diff --git a/server/src/core/@generated/comment-thread-target/comment-thread-target-upsert-with-where-unique-without-comment-thread.input.ts b/server/src/core/@generated/comment-thread-target/comment-thread-target-upsert-with-where-unique-without-comment-thread.input.ts deleted file mode 100644 index da51f8928..000000000 --- a/server/src/core/@generated/comment-thread-target/comment-thread-target-upsert-with-where-unique-without-comment-thread.input.ts +++ /dev/null @@ -1,22 +0,0 @@ -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/core/@generated/comment-thread-target/comment-thread-target-where-unique.input.ts b/server/src/core/@generated/comment-thread-target/comment-thread-target-where-unique.input.ts deleted file mode 100644 index 90aa4a527..000000000 --- a/server/src/core/@generated/comment-thread-target/comment-thread-target-where-unique.input.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; - -@InputType() -export class CommentThreadTargetWhereUniqueInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; -} diff --git a/server/src/core/@generated/comment-thread-target/comment-thread-target-where.input.ts b/server/src/core/@generated/comment-thread-target/comment-thread-target-where.input.ts deleted file mode 100644 index 492beeb6f..000000000 --- a/server/src/core/@generated/comment-thread-target/comment-thread-target-where.input.ts +++ /dev/null @@ -1,45 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFilter } from '../prisma/string-filter.input'; -import { EnumCommentableTypeFilter } from '../prisma/enum-commentable-type-filter.input'; -import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFilter } from '../prisma/date-time-filter.input'; -import { CommentThreadRelationFilter } from '../comment-thread/comment-thread-relation-filter.input'; - -@InputType() -export class CommentThreadTargetWhereInput { - - @Field(() => [CommentThreadTargetWhereInput], {nullable:true}) - AND?: Array; - - @Field(() => [CommentThreadTargetWhereInput], {nullable:true}) - OR?: Array; - - @Field(() => [CommentThreadTargetWhereInput], {nullable:true}) - NOT?: Array; - - @Field(() => StringFilter, {nullable:true}) - id?: StringFilter; - - @Field(() => StringFilter, {nullable:true}) - commentThreadId?: StringFilter; - - @Field(() => EnumCommentableTypeFilter, {nullable:true}) - commentableType?: EnumCommentableTypeFilter; - - @Field(() => StringFilter, {nullable:true}) - commentableId?: StringFilter; - - @HideField() - deletedAt?: DateTimeNullableFilter; - - @Field(() => DateTimeFilter, {nullable:true}) - createdAt?: DateTimeFilter; - - @Field(() => DateTimeFilter, {nullable:true}) - updatedAt?: DateTimeFilter; - - @Field(() => CommentThreadRelationFilter, {nullable:true}) - commentThread?: CommentThreadRelationFilter; -} diff --git a/server/src/core/@generated/comment-thread-target/comment-thread-target.model.ts b/server/src/core/@generated/comment-thread-target/comment-thread-target.model.ts deleted file mode 100644 index 5c79dc759..000000000 --- a/server/src/core/@generated/comment-thread-target/comment-thread-target.model.ts +++ /dev/null @@ -1,34 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import { ID } from '@nestjs/graphql'; -import { CommentableType } from '../prisma/commentable-type.enum'; -import { HideField } from '@nestjs/graphql'; -import { CommentThread } from '../comment-thread/comment-thread.model'; - -@ObjectType() -export class CommentThreadTarget { - - @Field(() => ID, {nullable:false}) - id!: string; - - @Field(() => String, {nullable:false}) - commentThreadId!: string; - - @Field(() => CommentableType, {nullable:false}) - commentableType!: keyof typeof CommentableType; - - @Field(() => String, {nullable:false}) - commentableId!: string; - - @HideField() - deletedAt!: Date | null; - - @Field(() => Date, {nullable:false}) - createdAt!: Date; - - @Field(() => Date, {nullable:false}) - updatedAt!: Date; - - @Field(() => CommentThread, {nullable:false}) - commentThread?: CommentThread; -} diff --git a/server/src/core/@generated/comment-thread-target/create-many-comment-thread-target.args.ts b/server/src/core/@generated/comment-thread-target/create-many-comment-thread-target.args.ts deleted file mode 100644 index c2b72c0f2..000000000 --- a/server/src/core/@generated/comment-thread-target/create-many-comment-thread-target.args.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { CommentThreadTargetCreateManyInput } from './comment-thread-target-create-many.input'; -import { Type } from 'class-transformer'; -import { ValidateNested } from 'class-validator'; - -@ArgsType() -export class CreateManyCommentThreadTargetArgs { - - @Field(() => [CommentThreadTargetCreateManyInput], {nullable:false}) - @Type(() => CommentThreadTargetCreateManyInput) - @ValidateNested({each: true}) - @Type(() => CommentThreadTargetCreateManyInput) - data!: Array; - - @Field(() => Boolean, {nullable:true}) - skipDuplicates?: boolean; -} diff --git a/server/src/core/@generated/comment-thread-target/create-one-comment-thread-target.args.ts b/server/src/core/@generated/comment-thread-target/create-one-comment-thread-target.args.ts deleted file mode 100644 index 0e5ebee05..000000000 --- a/server/src/core/@generated/comment-thread-target/create-one-comment-thread-target.args.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { CommentThreadTargetCreateInput } from './comment-thread-target-create.input'; -import { Type } from 'class-transformer'; -import { ValidateNested } from 'class-validator'; - -@ArgsType() -export class CreateOneCommentThreadTargetArgs { - - @Field(() => CommentThreadTargetCreateInput, {nullable:false}) - @Type(() => CommentThreadTargetCreateInput) - @ValidateNested({each: true}) - @Type(() => CommentThreadTargetCreateInput) - data!: CommentThreadTargetCreateInput; -} diff --git a/server/src/core/@generated/comment-thread-target/delete-many-comment-thread-target.args.ts b/server/src/core/@generated/comment-thread-target/delete-many-comment-thread-target.args.ts deleted file mode 100644 index f5063b63c..000000000 --- a/server/src/core/@generated/comment-thread-target/delete-many-comment-thread-target.args.ts +++ /dev/null @@ -1,12 +0,0 @@ -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/core/@generated/comment-thread-target/delete-one-comment-thread-target.args.ts b/server/src/core/@generated/comment-thread-target/delete-one-comment-thread-target.args.ts deleted file mode 100644 index c2475d4c8..000000000 --- a/server/src/core/@generated/comment-thread-target/delete-one-comment-thread-target.args.ts +++ /dev/null @@ -1,12 +0,0 @@ -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/core/@generated/comment-thread-target/find-first-comment-thread-target-or-throw.args.ts b/server/src/core/@generated/comment-thread-target/find-first-comment-thread-target-or-throw.args.ts deleted file mode 100644 index b1382f593..000000000 --- a/server/src/core/@generated/comment-thread-target/find-first-comment-thread-target-or-throw.args.ts +++ /dev/null @@ -1,31 +0,0 @@ -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; - - @Field(() => CommentThreadTargetWhereUniqueInput, {nullable:true}) - cursor?: CommentThreadTargetWhereUniqueInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [CommentThreadTargetScalarFieldEnum], {nullable:true}) - distinct?: Array; -} diff --git a/server/src/core/@generated/comment-thread-target/find-first-comment-thread-target.args.ts b/server/src/core/@generated/comment-thread-target/find-first-comment-thread-target.args.ts deleted file mode 100644 index 123d19cf1..000000000 --- a/server/src/core/@generated/comment-thread-target/find-first-comment-thread-target.args.ts +++ /dev/null @@ -1,31 +0,0 @@ -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; - - @Field(() => CommentThreadTargetWhereUniqueInput, {nullable:true}) - cursor?: CommentThreadTargetWhereUniqueInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [CommentThreadTargetScalarFieldEnum], {nullable:true}) - distinct?: Array; -} diff --git a/server/src/core/@generated/comment-thread-target/find-many-comment-thread-target.args.ts b/server/src/core/@generated/comment-thread-target/find-many-comment-thread-target.args.ts deleted file mode 100644 index 0c3c587f6..000000000 --- a/server/src/core/@generated/comment-thread-target/find-many-comment-thread-target.args.ts +++ /dev/null @@ -1,31 +0,0 @@ -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; - - @Field(() => CommentThreadTargetWhereUniqueInput, {nullable:true}) - cursor?: CommentThreadTargetWhereUniqueInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [CommentThreadTargetScalarFieldEnum], {nullable:true}) - distinct?: Array; -} diff --git a/server/src/core/@generated/comment-thread-target/find-unique-comment-thread-target-or-throw.args.ts b/server/src/core/@generated/comment-thread-target/find-unique-comment-thread-target-or-throw.args.ts deleted file mode 100644 index 6567e2d1c..000000000 --- a/server/src/core/@generated/comment-thread-target/find-unique-comment-thread-target-or-throw.args.ts +++ /dev/null @@ -1,12 +0,0 @@ -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/core/@generated/comment-thread-target/find-unique-comment-thread-target.args.ts b/server/src/core/@generated/comment-thread-target/find-unique-comment-thread-target.args.ts deleted file mode 100644 index 714038a93..000000000 --- a/server/src/core/@generated/comment-thread-target/find-unique-comment-thread-target.args.ts +++ /dev/null @@ -1,12 +0,0 @@ -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/core/@generated/comment-thread-target/update-many-comment-thread-target.args.ts b/server/src/core/@generated/comment-thread-target/update-many-comment-thread-target.args.ts deleted file mode 100644 index f2ac96498..000000000 --- a/server/src/core/@generated/comment-thread-target/update-many-comment-thread-target.args.ts +++ /dev/null @@ -1,20 +0,0 @@ -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 { ValidateNested } from 'class-validator'; -import { CommentThreadTargetWhereInput } from './comment-thread-target-where.input'; - -@ArgsType() -export class UpdateManyCommentThreadTargetArgs { - - @Field(() => CommentThreadTargetUpdateManyMutationInput, {nullable:false}) - @Type(() => CommentThreadTargetUpdateManyMutationInput) - @ValidateNested({each: true}) - @Type(() => CommentThreadTargetUpdateManyMutationInput) - data!: CommentThreadTargetUpdateManyMutationInput; - - @Field(() => CommentThreadTargetWhereInput, {nullable:true}) - @Type(() => CommentThreadTargetWhereInput) - where?: CommentThreadTargetWhereInput; -} diff --git a/server/src/core/@generated/comment-thread-target/update-one-comment-thread-target.args.ts b/server/src/core/@generated/comment-thread-target/update-one-comment-thread-target.args.ts deleted file mode 100644 index 7f083a66a..000000000 --- a/server/src/core/@generated/comment-thread-target/update-one-comment-thread-target.args.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { CommentThreadTargetUpdateInput } from './comment-thread-target-update.input'; -import { Type } from 'class-transformer'; -import { ValidateNested } from 'class-validator'; -import { CommentThreadTargetWhereUniqueInput } from './comment-thread-target-where-unique.input'; - -@ArgsType() -export class UpdateOneCommentThreadTargetArgs { - - @Field(() => CommentThreadTargetUpdateInput, {nullable:false}) - @Type(() => CommentThreadTargetUpdateInput) - @ValidateNested({each: true}) - @Type(() => CommentThreadTargetUpdateInput) - data!: CommentThreadTargetUpdateInput; - - @Field(() => CommentThreadTargetWhereUniqueInput, {nullable:false}) - @Type(() => CommentThreadTargetWhereUniqueInput) - where!: CommentThreadTargetWhereUniqueInput; -} diff --git a/server/src/core/@generated/comment-thread-target/upsert-one-comment-thread-target.args.ts b/server/src/core/@generated/comment-thread-target/upsert-one-comment-thread-target.args.ts deleted file mode 100644 index cce008ee9..000000000 --- a/server/src/core/@generated/comment-thread-target/upsert-one-comment-thread-target.args.ts +++ /dev/null @@ -1,22 +0,0 @@ -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/core/@generated/comment-thread/aggregate-comment-thread.output.ts b/server/src/core/@generated/comment-thread/aggregate-comment-thread.output.ts deleted file mode 100644 index 915fe402e..000000000 --- a/server/src/core/@generated/comment-thread/aggregate-comment-thread.output.ts +++ /dev/null @@ -1,18 +0,0 @@ -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/core/@generated/comment-thread/comment-thread-aggregate.args.ts b/server/src/core/@generated/comment-thread/comment-thread-aggregate.args.ts deleted file mode 100644 index ece04425d..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-aggregate.args.ts +++ /dev/null @@ -1,39 +0,0 @@ -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; - - @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/core/@generated/comment-thread/comment-thread-count-aggregate.input.ts b/server/src/core/@generated/comment-thread/comment-thread-count-aggregate.input.ts deleted file mode 100644 index 8d33b53e9..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-count-aggregate.input.ts +++ /dev/null @@ -1,49 +0,0 @@ -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; - - @HideField() - workspaceId?: true; - - @Field(() => Boolean, {nullable:true}) - authorId?: true; - - @Field(() => Boolean, {nullable:true}) - body?: true; - - @Field(() => Boolean, {nullable:true}) - title?: true; - - @Field(() => Boolean, {nullable:true}) - type?: true; - - @Field(() => Boolean, {nullable:true}) - reminderAt?: true; - - @Field(() => Boolean, {nullable:true}) - dueAt?: true; - - @Field(() => Boolean, {nullable:true}) - completedAt?: true; - - @Field(() => Boolean, {nullable:true}) - assigneeId?: true; - - @HideField() - deletedAt?: true; - - @Field(() => Boolean, {nullable:true}) - createdAt?: true; - - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; - - @Field(() => Boolean, {nullable:true}) - _all?: true; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-count-aggregate.output.ts b/server/src/core/@generated/comment-thread/comment-thread-count-aggregate.output.ts deleted file mode 100644 index dee457293..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-count-aggregate.output.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import { Int } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; - -@ObjectType() -export class CommentThreadCountAggregate { - - @Field(() => Int, {nullable:false}) - id!: number; - - @HideField() - workspaceId!: number; - - @Field(() => Int, {nullable:false}) - authorId!: number; - - @Field(() => Int, {nullable:false}) - body!: number; - - @Field(() => Int, {nullable:false}) - title!: number; - - @Field(() => Int, {nullable:false}) - type!: number; - - @Field(() => Int, {nullable:false}) - reminderAt!: number; - - @Field(() => Int, {nullable:false}) - dueAt!: number; - - @Field(() => Int, {nullable:false}) - completedAt!: number; - - @Field(() => Int, {nullable:false}) - assigneeId!: number; - - @HideField() - deletedAt!: number; - - @Field(() => Int, {nullable:false}) - createdAt!: number; - - @Field(() => Int, {nullable:false}) - updatedAt!: number; - - @Field(() => Int, {nullable:false}) - _all!: number; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-count-order-by-aggregate.input.ts b/server/src/core/@generated/comment-thread/comment-thread-count-order-by-aggregate.input.ts deleted file mode 100644 index 87face400..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-count-order-by-aggregate.input.ts +++ /dev/null @@ -1,47 +0,0 @@ -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; - - @HideField() - workspaceId?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - authorId?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - body?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - title?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - type?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - reminderAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - dueAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - completedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - assigneeId?: keyof typeof SortOrder; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-create-many-assignee-input-envelope.input.ts b/server/src/core/@generated/comment-thread/comment-thread-create-many-assignee-input-envelope.input.ts deleted file mode 100644 index cb26c69af..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-create-many-assignee-input-envelope.input.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { CommentThreadCreateManyAssigneeInput } from './comment-thread-create-many-assignee.input'; -import { Type } from 'class-transformer'; - -@InputType() -export class CommentThreadCreateManyAssigneeInputEnvelope { - - @Field(() => [CommentThreadCreateManyAssigneeInput], {nullable:false}) - @Type(() => CommentThreadCreateManyAssigneeInput) - data!: Array; - - @Field(() => Boolean, {nullable:true}) - skipDuplicates?: boolean; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-create-many-assignee.input.ts b/server/src/core/@generated/comment-thread/comment-thread-create-many-assignee.input.ts deleted file mode 100644 index 176db7868..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-create-many-assignee.input.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; -import { ActivityType } from '../prisma/activity-type.enum'; - -@InputType() -export class CommentThreadCreateManyAssigneeInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @HideField() - workspaceId!: string; - - @Field(() => String, {nullable:false}) - authorId!: string; - - @Field(() => String, {nullable:true}) - body?: string; - - @Field(() => String, {nullable:true}) - title?: string; - - @Field(() => ActivityType, {nullable:true}) - type?: keyof typeof ActivityType; - - @Field(() => Date, {nullable:true}) - reminderAt?: Date | string; - - @Field(() => Date, {nullable:true}) - dueAt?: Date | string; - - @Field(() => Date, {nullable:true}) - completedAt?: Date | string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-create-many-author-input-envelope.input.ts b/server/src/core/@generated/comment-thread/comment-thread-create-many-author-input-envelope.input.ts deleted file mode 100644 index 3952bd948..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-create-many-author-input-envelope.input.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { CommentThreadCreateManyAuthorInput } from './comment-thread-create-many-author.input'; -import { Type } from 'class-transformer'; - -@InputType() -export class CommentThreadCreateManyAuthorInputEnvelope { - - @Field(() => [CommentThreadCreateManyAuthorInput], {nullable:false}) - @Type(() => CommentThreadCreateManyAuthorInput) - data!: Array; - - @Field(() => Boolean, {nullable:true}) - skipDuplicates?: boolean; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-create-many-author.input.ts b/server/src/core/@generated/comment-thread/comment-thread-create-many-author.input.ts deleted file mode 100644 index 470c403b2..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-create-many-author.input.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; -import { ActivityType } from '../prisma/activity-type.enum'; - -@InputType() -export class CommentThreadCreateManyAuthorInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @HideField() - workspaceId!: string; - - @Field(() => String, {nullable:true}) - body?: string; - - @Field(() => String, {nullable:true}) - title?: string; - - @Field(() => ActivityType, {nullable:true}) - type?: keyof typeof ActivityType; - - @Field(() => Date, {nullable:true}) - reminderAt?: Date | string; - - @Field(() => Date, {nullable:true}) - dueAt?: Date | string; - - @Field(() => Date, {nullable:true}) - completedAt?: Date | string; - - @Field(() => String, {nullable:true}) - assigneeId?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-create-many-workspace-input-envelope.input.ts b/server/src/core/@generated/comment-thread/comment-thread-create-many-workspace-input-envelope.input.ts deleted file mode 100644 index 2e48c228a..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-create-many-workspace-input-envelope.input.ts +++ /dev/null @@ -1,15 +0,0 @@ -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; - - @Field(() => Boolean, {nullable:true}) - skipDuplicates?: boolean; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-create-many-workspace.input.ts b/server/src/core/@generated/comment-thread/comment-thread-create-many-workspace.input.ts deleted file mode 100644 index 84be14632..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-create-many-workspace.input.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { ActivityType } from '../prisma/activity-type.enum'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class CommentThreadCreateManyWorkspaceInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - authorId!: string; - - @Field(() => String, {nullable:true}) - body?: string; - - @Field(() => String, {nullable:true}) - title?: string; - - @Field(() => ActivityType, {nullable:true}) - type?: keyof typeof ActivityType; - - @Field(() => Date, {nullable:true}) - reminderAt?: Date | string; - - @Field(() => Date, {nullable:true}) - dueAt?: Date | string; - - @Field(() => Date, {nullable:true}) - completedAt?: Date | string; - - @Field(() => String, {nullable:true}) - assigneeId?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-create-many.input.ts b/server/src/core/@generated/comment-thread/comment-thread-create-many.input.ts deleted file mode 100644 index bf87c91e7..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-create-many.input.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; -import { ActivityType } from '../prisma/activity-type.enum'; - -@InputType() -export class CommentThreadCreateManyInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @HideField() - workspaceId!: string; - - @Field(() => String, {nullable:false}) - authorId!: string; - - @Field(() => String, {nullable:true}) - body?: string; - - @Field(() => String, {nullable:true}) - title?: string; - - @Field(() => ActivityType, {nullable:true}) - type?: keyof typeof ActivityType; - - @Field(() => Date, {nullable:true}) - reminderAt?: Date | string; - - @Field(() => Date, {nullable:true}) - dueAt?: Date | string; - - @Field(() => Date, {nullable:true}) - completedAt?: Date | string; - - @Field(() => String, {nullable:true}) - assigneeId?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-create-nested-many-without-assignee.input.ts b/server/src/core/@generated/comment-thread/comment-thread-create-nested-many-without-assignee.input.ts deleted file mode 100644 index 57a2e3cdd..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-create-nested-many-without-assignee.input.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { CommentThreadCreateWithoutAssigneeInput } from './comment-thread-create-without-assignee.input'; -import { Type } from 'class-transformer'; -import { CommentThreadCreateOrConnectWithoutAssigneeInput } from './comment-thread-create-or-connect-without-assignee.input'; -import { CommentThreadCreateManyAssigneeInputEnvelope } from './comment-thread-create-many-assignee-input-envelope.input'; -import { CommentThreadWhereUniqueInput } from './comment-thread-where-unique.input'; - -@InputType() -export class CommentThreadCreateNestedManyWithoutAssigneeInput { - - @Field(() => [CommentThreadCreateWithoutAssigneeInput], {nullable:true}) - @Type(() => CommentThreadCreateWithoutAssigneeInput) - create?: Array; - - @Field(() => [CommentThreadCreateOrConnectWithoutAssigneeInput], {nullable:true}) - @Type(() => CommentThreadCreateOrConnectWithoutAssigneeInput) - connectOrCreate?: Array; - - @Field(() => CommentThreadCreateManyAssigneeInputEnvelope, {nullable:true}) - @Type(() => CommentThreadCreateManyAssigneeInputEnvelope) - createMany?: CommentThreadCreateManyAssigneeInputEnvelope; - - @Field(() => [CommentThreadWhereUniqueInput], {nullable:true}) - @Type(() => CommentThreadWhereUniqueInput) - connect?: Array; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-create-nested-many-without-author.input.ts b/server/src/core/@generated/comment-thread/comment-thread-create-nested-many-without-author.input.ts deleted file mode 100644 index d242a2030..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-create-nested-many-without-author.input.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { CommentThreadCreateWithoutAuthorInput } from './comment-thread-create-without-author.input'; -import { Type } from 'class-transformer'; -import { CommentThreadCreateOrConnectWithoutAuthorInput } from './comment-thread-create-or-connect-without-author.input'; -import { CommentThreadCreateManyAuthorInputEnvelope } from './comment-thread-create-many-author-input-envelope.input'; -import { CommentThreadWhereUniqueInput } from './comment-thread-where-unique.input'; - -@InputType() -export class CommentThreadCreateNestedManyWithoutAuthorInput { - - @Field(() => [CommentThreadCreateWithoutAuthorInput], {nullable:true}) - @Type(() => CommentThreadCreateWithoutAuthorInput) - create?: Array; - - @Field(() => [CommentThreadCreateOrConnectWithoutAuthorInput], {nullable:true}) - @Type(() => CommentThreadCreateOrConnectWithoutAuthorInput) - connectOrCreate?: Array; - - @Field(() => CommentThreadCreateManyAuthorInputEnvelope, {nullable:true}) - @Type(() => CommentThreadCreateManyAuthorInputEnvelope) - createMany?: CommentThreadCreateManyAuthorInputEnvelope; - - @Field(() => [CommentThreadWhereUniqueInput], {nullable:true}) - @Type(() => CommentThreadWhereUniqueInput) - connect?: Array; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-create-nested-many-without-workspace.input.ts b/server/src/core/@generated/comment-thread/comment-thread-create-nested-many-without-workspace.input.ts deleted file mode 100644 index db0fb033b..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-create-nested-many-without-workspace.input.ts +++ /dev/null @@ -1,27 +0,0 @@ -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; - - @Field(() => [CommentThreadCreateOrConnectWithoutWorkspaceInput], {nullable:true}) - @Type(() => CommentThreadCreateOrConnectWithoutWorkspaceInput) - connectOrCreate?: Array; - - @Field(() => CommentThreadCreateManyWorkspaceInputEnvelope, {nullable:true}) - @Type(() => CommentThreadCreateManyWorkspaceInputEnvelope) - createMany?: CommentThreadCreateManyWorkspaceInputEnvelope; - - @Field(() => [CommentThreadWhereUniqueInput], {nullable:true}) - @Type(() => CommentThreadWhereUniqueInput) - connect?: Array; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-create-nested-one-without-comment-thread-targets.input.ts b/server/src/core/@generated/comment-thread/comment-thread-create-nested-one-without-comment-thread-targets.input.ts deleted file mode 100644 index 23afc3d4b..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-create-nested-one-without-comment-thread-targets.input.ts +++ /dev/null @@ -1,22 +0,0 @@ -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/core/@generated/comment-thread/comment-thread-create-nested-one-without-comments.input.ts b/server/src/core/@generated/comment-thread/comment-thread-create-nested-one-without-comments.input.ts deleted file mode 100644 index 4c4262f11..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-create-nested-one-without-comments.input.ts +++ /dev/null @@ -1,21 +0,0 @@ -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/core/@generated/comment-thread/comment-thread-create-or-connect-without-assignee.input.ts b/server/src/core/@generated/comment-thread/comment-thread-create-or-connect-without-assignee.input.ts deleted file mode 100644 index 4c20822f0..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-create-or-connect-without-assignee.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { CommentThreadWhereUniqueInput } from './comment-thread-where-unique.input'; -import { Type } from 'class-transformer'; -import { CommentThreadCreateWithoutAssigneeInput } from './comment-thread-create-without-assignee.input'; - -@InputType() -export class CommentThreadCreateOrConnectWithoutAssigneeInput { - - @Field(() => CommentThreadWhereUniqueInput, {nullable:false}) - @Type(() => CommentThreadWhereUniqueInput) - where!: CommentThreadWhereUniqueInput; - - @Field(() => CommentThreadCreateWithoutAssigneeInput, {nullable:false}) - @Type(() => CommentThreadCreateWithoutAssigneeInput) - create!: CommentThreadCreateWithoutAssigneeInput; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-create-or-connect-without-author.input.ts b/server/src/core/@generated/comment-thread/comment-thread-create-or-connect-without-author.input.ts deleted file mode 100644 index 71076b129..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-create-or-connect-without-author.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { CommentThreadWhereUniqueInput } from './comment-thread-where-unique.input'; -import { Type } from 'class-transformer'; -import { CommentThreadCreateWithoutAuthorInput } from './comment-thread-create-without-author.input'; - -@InputType() -export class CommentThreadCreateOrConnectWithoutAuthorInput { - - @Field(() => CommentThreadWhereUniqueInput, {nullable:false}) - @Type(() => CommentThreadWhereUniqueInput) - where!: CommentThreadWhereUniqueInput; - - @Field(() => CommentThreadCreateWithoutAuthorInput, {nullable:false}) - @Type(() => CommentThreadCreateWithoutAuthorInput) - create!: CommentThreadCreateWithoutAuthorInput; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-create-or-connect-without-comment-thread-targets.input.ts b/server/src/core/@generated/comment-thread/comment-thread-create-or-connect-without-comment-thread-targets.input.ts deleted file mode 100644 index 2b79755be..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-create-or-connect-without-comment-thread-targets.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -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/core/@generated/comment-thread/comment-thread-create-or-connect-without-comments.input.ts b/server/src/core/@generated/comment-thread/comment-thread-create-or-connect-without-comments.input.ts deleted file mode 100644 index b7d7907ba..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-create-or-connect-without-comments.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -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/core/@generated/comment-thread/comment-thread-create-or-connect-without-workspace.input.ts b/server/src/core/@generated/comment-thread/comment-thread-create-or-connect-without-workspace.input.ts deleted file mode 100644 index 755ec47fb..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-create-or-connect-without-workspace.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -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/core/@generated/comment-thread/comment-thread-create-without-assignee.input.ts b/server/src/core/@generated/comment-thread/comment-thread-create-without-assignee.input.ts deleted file mode 100644 index e9f650514..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-create-without-assignee.input.ts +++ /dev/null @@ -1,57 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { ActivityType } from '../prisma/activity-type.enum'; -import { HideField } 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 { UserCreateNestedOneWithoutAuthoredCommentThreadsInput } from '../user/user-create-nested-one-without-authored-comment-threads.input'; - -@InputType() -export class CommentThreadCreateWithoutAssigneeInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - body?: string; - - @Field(() => String, {nullable:true}) - title?: string; - - @Field(() => ActivityType, {nullable:true}) - type?: keyof typeof ActivityType; - - @Field(() => Date, {nullable:true}) - reminderAt?: Date | string; - - @Field(() => Date, {nullable:true}) - dueAt?: Date | string; - - @Field(() => Date, {nullable:true}) - completedAt?: Date | string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => CommentThreadTargetCreateNestedManyWithoutCommentThreadInput, {nullable:true}) - commentThreadTargets?: CommentThreadTargetCreateNestedManyWithoutCommentThreadInput; - - @Field(() => CommentCreateNestedManyWithoutCommentThreadInput, {nullable:true}) - comments?: CommentCreateNestedManyWithoutCommentThreadInput; - - @HideField() - workspace!: WorkspaceCreateNestedOneWithoutCommentThreadsInput; - - @Field(() => UserCreateNestedOneWithoutAuthoredCommentThreadsInput, {nullable:false}) - author!: UserCreateNestedOneWithoutAuthoredCommentThreadsInput; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-create-without-author.input.ts b/server/src/core/@generated/comment-thread/comment-thread-create-without-author.input.ts deleted file mode 100644 index 14227b6a7..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-create-without-author.input.ts +++ /dev/null @@ -1,57 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { ActivityType } from '../prisma/activity-type.enum'; -import { HideField } 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 { UserCreateNestedOneWithoutAssignedCommentThreadsInput } from '../user/user-create-nested-one-without-assigned-comment-threads.input'; - -@InputType() -export class CommentThreadCreateWithoutAuthorInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - body?: string; - - @Field(() => String, {nullable:true}) - title?: string; - - @Field(() => ActivityType, {nullable:true}) - type?: keyof typeof ActivityType; - - @Field(() => Date, {nullable:true}) - reminderAt?: Date | string; - - @Field(() => Date, {nullable:true}) - dueAt?: Date | string; - - @Field(() => Date, {nullable:true}) - completedAt?: Date | string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => CommentThreadTargetCreateNestedManyWithoutCommentThreadInput, {nullable:true}) - commentThreadTargets?: CommentThreadTargetCreateNestedManyWithoutCommentThreadInput; - - @Field(() => CommentCreateNestedManyWithoutCommentThreadInput, {nullable:true}) - comments?: CommentCreateNestedManyWithoutCommentThreadInput; - - @HideField() - workspace!: WorkspaceCreateNestedOneWithoutCommentThreadsInput; - - @Field(() => UserCreateNestedOneWithoutAssignedCommentThreadsInput, {nullable:true}) - assignee?: UserCreateNestedOneWithoutAssignedCommentThreadsInput; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-create-without-comment-thread-targets.input.ts b/server/src/core/@generated/comment-thread/comment-thread-create-without-comment-thread-targets.input.ts deleted file mode 100644 index cfcdb379b..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-create-without-comment-thread-targets.input.ts +++ /dev/null @@ -1,57 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { ActivityType } from '../prisma/activity-type.enum'; -import { HideField } 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 { UserCreateNestedOneWithoutAuthoredCommentThreadsInput } from '../user/user-create-nested-one-without-authored-comment-threads.input'; -import { UserCreateNestedOneWithoutAssignedCommentThreadsInput } from '../user/user-create-nested-one-without-assigned-comment-threads.input'; - -@InputType() -export class CommentThreadCreateWithoutCommentThreadTargetsInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - body?: string; - - @Field(() => String, {nullable:true}) - title?: string; - - @Field(() => ActivityType, {nullable:true}) - type?: keyof typeof ActivityType; - - @Field(() => Date, {nullable:true}) - reminderAt?: Date | string; - - @Field(() => Date, {nullable:true}) - dueAt?: Date | string; - - @Field(() => Date, {nullable:true}) - completedAt?: Date | string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => CommentCreateNestedManyWithoutCommentThreadInput, {nullable:true}) - comments?: CommentCreateNestedManyWithoutCommentThreadInput; - - @HideField() - workspace!: WorkspaceCreateNestedOneWithoutCommentThreadsInput; - - @Field(() => UserCreateNestedOneWithoutAuthoredCommentThreadsInput, {nullable:false}) - author!: UserCreateNestedOneWithoutAuthoredCommentThreadsInput; - - @Field(() => UserCreateNestedOneWithoutAssignedCommentThreadsInput, {nullable:true}) - assignee?: UserCreateNestedOneWithoutAssignedCommentThreadsInput; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-create-without-comments.input.ts b/server/src/core/@generated/comment-thread/comment-thread-create-without-comments.input.ts deleted file mode 100644 index 5304c459a..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-create-without-comments.input.ts +++ /dev/null @@ -1,57 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { ActivityType } from '../prisma/activity-type.enum'; -import { HideField } 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 { UserCreateNestedOneWithoutAuthoredCommentThreadsInput } from '../user/user-create-nested-one-without-authored-comment-threads.input'; -import { UserCreateNestedOneWithoutAssignedCommentThreadsInput } from '../user/user-create-nested-one-without-assigned-comment-threads.input'; - -@InputType() -export class CommentThreadCreateWithoutCommentsInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - body?: string; - - @Field(() => String, {nullable:true}) - title?: string; - - @Field(() => ActivityType, {nullable:true}) - type?: keyof typeof ActivityType; - - @Field(() => Date, {nullable:true}) - reminderAt?: Date | string; - - @Field(() => Date, {nullable:true}) - dueAt?: Date | string; - - @Field(() => Date, {nullable:true}) - completedAt?: Date | string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => CommentThreadTargetCreateNestedManyWithoutCommentThreadInput, {nullable:true}) - commentThreadTargets?: CommentThreadTargetCreateNestedManyWithoutCommentThreadInput; - - @HideField() - workspace!: WorkspaceCreateNestedOneWithoutCommentThreadsInput; - - @Field(() => UserCreateNestedOneWithoutAuthoredCommentThreadsInput, {nullable:false}) - author!: UserCreateNestedOneWithoutAuthoredCommentThreadsInput; - - @Field(() => UserCreateNestedOneWithoutAssignedCommentThreadsInput, {nullable:true}) - assignee?: UserCreateNestedOneWithoutAssignedCommentThreadsInput; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-create-without-workspace.input.ts b/server/src/core/@generated/comment-thread/comment-thread-create-without-workspace.input.ts deleted file mode 100644 index a5e18c5cb..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-create-without-workspace.input.ts +++ /dev/null @@ -1,57 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { ActivityType } from '../prisma/activity-type.enum'; -import { HideField } 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 { UserCreateNestedOneWithoutAuthoredCommentThreadsInput } from '../user/user-create-nested-one-without-authored-comment-threads.input'; -import { UserCreateNestedOneWithoutAssignedCommentThreadsInput } from '../user/user-create-nested-one-without-assigned-comment-threads.input'; - -@InputType() -export class CommentThreadCreateWithoutWorkspaceInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - body?: string; - - @Field(() => String, {nullable:true}) - title?: string; - - @Field(() => ActivityType, {nullable:true}) - type?: keyof typeof ActivityType; - - @Field(() => Date, {nullable:true}) - reminderAt?: Date | string; - - @Field(() => Date, {nullable:true}) - dueAt?: Date | string; - - @Field(() => Date, {nullable:true}) - completedAt?: Date | string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => CommentThreadTargetCreateNestedManyWithoutCommentThreadInput, {nullable:true}) - commentThreadTargets?: CommentThreadTargetCreateNestedManyWithoutCommentThreadInput; - - @Field(() => CommentCreateNestedManyWithoutCommentThreadInput, {nullable:true}) - comments?: CommentCreateNestedManyWithoutCommentThreadInput; - - @Field(() => UserCreateNestedOneWithoutAuthoredCommentThreadsInput, {nullable:false}) - author!: UserCreateNestedOneWithoutAuthoredCommentThreadsInput; - - @Field(() => UserCreateNestedOneWithoutAssignedCommentThreadsInput, {nullable:true}) - assignee?: UserCreateNestedOneWithoutAssignedCommentThreadsInput; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-create.input.ts b/server/src/core/@generated/comment-thread/comment-thread-create.input.ts deleted file mode 100644 index cada3bcf6..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-create.input.ts +++ /dev/null @@ -1,61 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { ActivityType } from '../prisma/activity-type.enum'; -import { HideField } 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 { UserCreateNestedOneWithoutAuthoredCommentThreadsInput } from '../user/user-create-nested-one-without-authored-comment-threads.input'; -import { UserCreateNestedOneWithoutAssignedCommentThreadsInput } from '../user/user-create-nested-one-without-assigned-comment-threads.input'; - -@InputType() -export class CommentThreadCreateInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - body?: string; - - @Field(() => String, {nullable:true}) - title?: string; - - @Field(() => ActivityType, {nullable:true}) - type?: keyof typeof ActivityType; - - @Field(() => Date, {nullable:true}) - reminderAt?: Date | string; - - @Field(() => Date, {nullable:true}) - dueAt?: Date | string; - - @Field(() => Date, {nullable:true}) - completedAt?: Date | string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => CommentThreadTargetCreateNestedManyWithoutCommentThreadInput, {nullable:true}) - commentThreadTargets?: CommentThreadTargetCreateNestedManyWithoutCommentThreadInput; - - @Field(() => CommentCreateNestedManyWithoutCommentThreadInput, {nullable:true}) - comments?: CommentCreateNestedManyWithoutCommentThreadInput; - - @HideField() - workspace!: WorkspaceCreateNestedOneWithoutCommentThreadsInput; - - @Field(() => UserCreateNestedOneWithoutAuthoredCommentThreadsInput, {nullable:false}) - author!: UserCreateNestedOneWithoutAuthoredCommentThreadsInput; - - @Field(() => UserCreateNestedOneWithoutAssignedCommentThreadsInput, {nullable:true}) - assignee?: UserCreateNestedOneWithoutAssignedCommentThreadsInput; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-group-by.args.ts b/server/src/core/@generated/comment-thread/comment-thread-group-by.args.ts deleted file mode 100644 index 05bc51029..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-group-by.args.ts +++ /dev/null @@ -1,43 +0,0 @@ -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; - - @Field(() => [CommentThreadScalarFieldEnum], {nullable:false}) - by!: Array; - - @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/core/@generated/comment-thread/comment-thread-group-by.output.ts b/server/src/core/@generated/comment-thread/comment-thread-group-by.output.ts deleted file mode 100644 index 1dfebdcb7..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-group-by.output.ts +++ /dev/null @@ -1,62 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; -import { ActivityType } from '../prisma/activity-type.enum'; -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}) - @Validator.IsString() - @Validator.IsOptional() - id!: string; - - @HideField() - workspaceId!: string; - - @Field(() => String, {nullable:false}) - authorId!: string; - - @Field(() => String, {nullable:true}) - body?: string; - - @Field(() => String, {nullable:true}) - title?: string; - - @Field(() => ActivityType, {nullable:false}) - type!: keyof typeof ActivityType; - - @Field(() => Date, {nullable:true}) - reminderAt?: Date | string; - - @Field(() => Date, {nullable:true}) - dueAt?: Date | string; - - @Field(() => Date, {nullable:true}) - completedAt?: Date | string; - - @Field(() => String, {nullable:true}) - assigneeId?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:false}) - createdAt!: Date | string; - - @Field(() => Date, {nullable:false}) - updatedAt!: Date | string; - - @Field(() => CommentThreadCountAggregate, {nullable:true}) - _count?: CommentThreadCountAggregate; - - @Field(() => CommentThreadMinAggregate, {nullable:true}) - _min?: CommentThreadMinAggregate; - - @Field(() => CommentThreadMaxAggregate, {nullable:true}) - _max?: CommentThreadMaxAggregate; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-list-relation-filter.input.ts b/server/src/core/@generated/comment-thread/comment-thread-list-relation-filter.input.ts deleted file mode 100644 index e0e6706ef..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-list-relation-filter.input.ts +++ /dev/null @@ -1,16 +0,0 @@ -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/core/@generated/comment-thread/comment-thread-max-aggregate.input.ts b/server/src/core/@generated/comment-thread/comment-thread-max-aggregate.input.ts deleted file mode 100644 index a3a4c165b..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-max-aggregate.input.ts +++ /dev/null @@ -1,46 +0,0 @@ -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; - - @HideField() - workspaceId?: true; - - @Field(() => Boolean, {nullable:true}) - authorId?: true; - - @Field(() => Boolean, {nullable:true}) - body?: true; - - @Field(() => Boolean, {nullable:true}) - title?: true; - - @Field(() => Boolean, {nullable:true}) - type?: true; - - @Field(() => Boolean, {nullable:true}) - reminderAt?: true; - - @Field(() => Boolean, {nullable:true}) - dueAt?: true; - - @Field(() => Boolean, {nullable:true}) - completedAt?: true; - - @Field(() => Boolean, {nullable:true}) - assigneeId?: true; - - @HideField() - deletedAt?: true; - - @Field(() => Boolean, {nullable:true}) - createdAt?: true; - - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-max-aggregate.output.ts b/server/src/core/@generated/comment-thread/comment-thread-max-aggregate.output.ts deleted file mode 100644 index d4f6142fc..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-max-aggregate.output.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; -import { ActivityType } from '../prisma/activity-type.enum'; - -@ObjectType() -export class CommentThreadMaxAggregate { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @HideField() - workspaceId?: string; - - @Field(() => String, {nullable:true}) - authorId?: string; - - @Field(() => String, {nullable:true}) - body?: string; - - @Field(() => String, {nullable:true}) - title?: string; - - @Field(() => ActivityType, {nullable:true}) - type?: keyof typeof ActivityType; - - @Field(() => Date, {nullable:true}) - reminderAt?: Date | string; - - @Field(() => Date, {nullable:true}) - dueAt?: Date | string; - - @Field(() => Date, {nullable:true}) - completedAt?: Date | string; - - @Field(() => String, {nullable:true}) - assigneeId?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-max-order-by-aggregate.input.ts b/server/src/core/@generated/comment-thread/comment-thread-max-order-by-aggregate.input.ts deleted file mode 100644 index a3196aed5..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-max-order-by-aggregate.input.ts +++ /dev/null @@ -1,47 +0,0 @@ -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; - - @HideField() - workspaceId?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - authorId?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - body?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - title?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - type?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - reminderAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - dueAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - completedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - assigneeId?: keyof typeof SortOrder; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-min-aggregate.input.ts b/server/src/core/@generated/comment-thread/comment-thread-min-aggregate.input.ts deleted file mode 100644 index fdebf06d2..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-min-aggregate.input.ts +++ /dev/null @@ -1,46 +0,0 @@ -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; - - @HideField() - workspaceId?: true; - - @Field(() => Boolean, {nullable:true}) - authorId?: true; - - @Field(() => Boolean, {nullable:true}) - body?: true; - - @Field(() => Boolean, {nullable:true}) - title?: true; - - @Field(() => Boolean, {nullable:true}) - type?: true; - - @Field(() => Boolean, {nullable:true}) - reminderAt?: true; - - @Field(() => Boolean, {nullable:true}) - dueAt?: true; - - @Field(() => Boolean, {nullable:true}) - completedAt?: true; - - @Field(() => Boolean, {nullable:true}) - assigneeId?: true; - - @HideField() - deletedAt?: true; - - @Field(() => Boolean, {nullable:true}) - createdAt?: true; - - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-min-aggregate.output.ts b/server/src/core/@generated/comment-thread/comment-thread-min-aggregate.output.ts deleted file mode 100644 index b07021176..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-min-aggregate.output.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; -import { ActivityType } from '../prisma/activity-type.enum'; - -@ObjectType() -export class CommentThreadMinAggregate { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @HideField() - workspaceId?: string; - - @Field(() => String, {nullable:true}) - authorId?: string; - - @Field(() => String, {nullable:true}) - body?: string; - - @Field(() => String, {nullable:true}) - title?: string; - - @Field(() => ActivityType, {nullable:true}) - type?: keyof typeof ActivityType; - - @Field(() => Date, {nullable:true}) - reminderAt?: Date | string; - - @Field(() => Date, {nullable:true}) - dueAt?: Date | string; - - @Field(() => Date, {nullable:true}) - completedAt?: Date | string; - - @Field(() => String, {nullable:true}) - assigneeId?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-min-order-by-aggregate.input.ts b/server/src/core/@generated/comment-thread/comment-thread-min-order-by-aggregate.input.ts deleted file mode 100644 index a25760ac1..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-min-order-by-aggregate.input.ts +++ /dev/null @@ -1,47 +0,0 @@ -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; - - @HideField() - workspaceId?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - authorId?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - body?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - title?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - type?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - reminderAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - dueAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - completedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - assigneeId?: keyof typeof SortOrder; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-order-by-relation-aggregate.input.ts b/server/src/core/@generated/comment-thread/comment-thread-order-by-relation-aggregate.input.ts deleted file mode 100644 index 7239fb7af..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-order-by-relation-aggregate.input.ts +++ /dev/null @@ -1,10 +0,0 @@ -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/core/@generated/comment-thread/comment-thread-order-by-with-aggregation.input.ts b/server/src/core/@generated/comment-thread/comment-thread-order-by-with-aggregation.input.ts deleted file mode 100644 index 94adb64f9..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-order-by-with-aggregation.input.ts +++ /dev/null @@ -1,59 +0,0 @@ -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; - - @HideField() - workspaceId?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - authorId?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - body?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - title?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - type?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - reminderAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - dueAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - completedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - assigneeId?: keyof typeof SortOrder; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: 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/core/@generated/comment-thread/comment-thread-order-by-with-relation.input.ts b/server/src/core/@generated/comment-thread/comment-thread-order-by-with-relation.input.ts deleted file mode 100644 index 43e3eeaa2..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-order-by-with-relation.input.ts +++ /dev/null @@ -1,66 +0,0 @@ -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'; -import { UserOrderByWithRelationInput } from '../user/user-order-by-with-relation.input'; - -@InputType() -export class CommentThreadOrderByWithRelationInput { - - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; - - @HideField() - workspaceId?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - authorId?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - body?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - title?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - type?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - reminderAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - dueAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - completedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - assigneeId?: keyof typeof SortOrder; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; - - @Field(() => CommentThreadTargetOrderByRelationAggregateInput, {nullable:true}) - commentThreadTargets?: CommentThreadTargetOrderByRelationAggregateInput; - - @Field(() => CommentOrderByRelationAggregateInput, {nullable:true}) - comments?: CommentOrderByRelationAggregateInput; - - @HideField() - workspace?: WorkspaceOrderByWithRelationInput; - - @Field(() => UserOrderByWithRelationInput, {nullable:true}) - author?: UserOrderByWithRelationInput; - - @Field(() => UserOrderByWithRelationInput, {nullable:true}) - assignee?: UserOrderByWithRelationInput; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-relation-filter.input.ts b/server/src/core/@generated/comment-thread/comment-thread-relation-filter.input.ts deleted file mode 100644 index 6478f565b..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-relation-filter.input.ts +++ /dev/null @@ -1,13 +0,0 @@ -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/core/@generated/comment-thread/comment-thread-scalar-field.enum.ts b/server/src/core/@generated/comment-thread/comment-thread-scalar-field.enum.ts deleted file mode 100644 index c7b9b53cc..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-scalar-field.enum.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { registerEnumType } from '@nestjs/graphql'; - -export enum CommentThreadScalarFieldEnum { - id = "id", - workspaceId = "workspaceId", - authorId = "authorId", - body = "body", - title = "title", - type = "type", - reminderAt = "reminderAt", - dueAt = "dueAt", - completedAt = "completedAt", - assigneeId = "assigneeId", - deletedAt = "deletedAt", - createdAt = "createdAt", - updatedAt = "updatedAt" -} - - -registerEnumType(CommentThreadScalarFieldEnum, { name: 'CommentThreadScalarFieldEnum', description: undefined }) diff --git a/server/src/core/@generated/comment-thread/comment-thread-scalar-where-with-aggregates.input.ts b/server/src/core/@generated/comment-thread/comment-thread-scalar-where-with-aggregates.input.ts deleted file mode 100644 index d0779620e..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-scalar-where-with-aggregates.input.ts +++ /dev/null @@ -1,60 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringWithAggregatesFilter } from '../prisma/string-with-aggregates-filter.input'; -import { HideField } from '@nestjs/graphql'; -import { StringNullableWithAggregatesFilter } from '../prisma/string-nullable-with-aggregates-filter.input'; -import { EnumActivityTypeWithAggregatesFilter } from '../prisma/enum-activity-type-with-aggregates-filter.input'; -import { DateTimeNullableWithAggregatesFilter } from '../prisma/date-time-nullable-with-aggregates-filter.input'; -import { DateTimeWithAggregatesFilter } from '../prisma/date-time-with-aggregates-filter.input'; - -@InputType() -export class CommentThreadScalarWhereWithAggregatesInput { - - @Field(() => [CommentThreadScalarWhereWithAggregatesInput], {nullable:true}) - AND?: Array; - - @Field(() => [CommentThreadScalarWhereWithAggregatesInput], {nullable:true}) - OR?: Array; - - @Field(() => [CommentThreadScalarWhereWithAggregatesInput], {nullable:true}) - NOT?: Array; - - @Field(() => StringWithAggregatesFilter, {nullable:true}) - id?: StringWithAggregatesFilter; - - @HideField() - workspaceId?: StringWithAggregatesFilter; - - @Field(() => StringWithAggregatesFilter, {nullable:true}) - authorId?: StringWithAggregatesFilter; - - @Field(() => StringNullableWithAggregatesFilter, {nullable:true}) - body?: StringNullableWithAggregatesFilter; - - @Field(() => StringNullableWithAggregatesFilter, {nullable:true}) - title?: StringNullableWithAggregatesFilter; - - @Field(() => EnumActivityTypeWithAggregatesFilter, {nullable:true}) - type?: EnumActivityTypeWithAggregatesFilter; - - @Field(() => DateTimeNullableWithAggregatesFilter, {nullable:true}) - reminderAt?: DateTimeNullableWithAggregatesFilter; - - @Field(() => DateTimeNullableWithAggregatesFilter, {nullable:true}) - dueAt?: DateTimeNullableWithAggregatesFilter; - - @Field(() => DateTimeNullableWithAggregatesFilter, {nullable:true}) - completedAt?: DateTimeNullableWithAggregatesFilter; - - @Field(() => StringNullableWithAggregatesFilter, {nullable:true}) - assigneeId?: StringNullableWithAggregatesFilter; - - @HideField() - deletedAt?: DateTimeNullableWithAggregatesFilter; - - @Field(() => DateTimeWithAggregatesFilter, {nullable:true}) - createdAt?: DateTimeWithAggregatesFilter; - - @Field(() => DateTimeWithAggregatesFilter, {nullable:true}) - updatedAt?: DateTimeWithAggregatesFilter; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-scalar-where.input.ts b/server/src/core/@generated/comment-thread/comment-thread-scalar-where.input.ts deleted file mode 100644 index 18f6fc4d9..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-scalar-where.input.ts +++ /dev/null @@ -1,60 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFilter } from '../prisma/string-filter.input'; -import { HideField } from '@nestjs/graphql'; -import { StringNullableFilter } from '../prisma/string-nullable-filter.input'; -import { EnumActivityTypeFilter } from '../prisma/enum-activity-type-filter.input'; -import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input'; -import { DateTimeFilter } from '../prisma/date-time-filter.input'; - -@InputType() -export class CommentThreadScalarWhereInput { - - @Field(() => [CommentThreadScalarWhereInput], {nullable:true}) - AND?: Array; - - @Field(() => [CommentThreadScalarWhereInput], {nullable:true}) - OR?: Array; - - @Field(() => [CommentThreadScalarWhereInput], {nullable:true}) - NOT?: Array; - - @Field(() => StringFilter, {nullable:true}) - id?: StringFilter; - - @HideField() - workspaceId?: StringFilter; - - @Field(() => StringFilter, {nullable:true}) - authorId?: StringFilter; - - @Field(() => StringNullableFilter, {nullable:true}) - body?: StringNullableFilter; - - @Field(() => StringNullableFilter, {nullable:true}) - title?: StringNullableFilter; - - @Field(() => EnumActivityTypeFilter, {nullable:true}) - type?: EnumActivityTypeFilter; - - @Field(() => DateTimeNullableFilter, {nullable:true}) - reminderAt?: DateTimeNullableFilter; - - @Field(() => DateTimeNullableFilter, {nullable:true}) - dueAt?: DateTimeNullableFilter; - - @Field(() => DateTimeNullableFilter, {nullable:true}) - completedAt?: DateTimeNullableFilter; - - @Field(() => StringNullableFilter, {nullable:true}) - assigneeId?: StringNullableFilter; - - @HideField() - deletedAt?: DateTimeNullableFilter; - - @Field(() => DateTimeFilter, {nullable:true}) - createdAt?: DateTimeFilter; - - @Field(() => DateTimeFilter, {nullable:true}) - updatedAt?: DateTimeFilter; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-unchecked-create-nested-many-without-assignee.input.ts b/server/src/core/@generated/comment-thread/comment-thread-unchecked-create-nested-many-without-assignee.input.ts deleted file mode 100644 index 0e6914b56..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-unchecked-create-nested-many-without-assignee.input.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { CommentThreadCreateWithoutAssigneeInput } from './comment-thread-create-without-assignee.input'; -import { Type } from 'class-transformer'; -import { CommentThreadCreateOrConnectWithoutAssigneeInput } from './comment-thread-create-or-connect-without-assignee.input'; -import { CommentThreadCreateManyAssigneeInputEnvelope } from './comment-thread-create-many-assignee-input-envelope.input'; -import { CommentThreadWhereUniqueInput } from './comment-thread-where-unique.input'; - -@InputType() -export class CommentThreadUncheckedCreateNestedManyWithoutAssigneeInput { - - @Field(() => [CommentThreadCreateWithoutAssigneeInput], {nullable:true}) - @Type(() => CommentThreadCreateWithoutAssigneeInput) - create?: Array; - - @Field(() => [CommentThreadCreateOrConnectWithoutAssigneeInput], {nullable:true}) - @Type(() => CommentThreadCreateOrConnectWithoutAssigneeInput) - connectOrCreate?: Array; - - @Field(() => CommentThreadCreateManyAssigneeInputEnvelope, {nullable:true}) - @Type(() => CommentThreadCreateManyAssigneeInputEnvelope) - createMany?: CommentThreadCreateManyAssigneeInputEnvelope; - - @Field(() => [CommentThreadWhereUniqueInput], {nullable:true}) - @Type(() => CommentThreadWhereUniqueInput) - connect?: Array; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-unchecked-create-nested-many-without-author.input.ts b/server/src/core/@generated/comment-thread/comment-thread-unchecked-create-nested-many-without-author.input.ts deleted file mode 100644 index e3be46bd2..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-unchecked-create-nested-many-without-author.input.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { CommentThreadCreateWithoutAuthorInput } from './comment-thread-create-without-author.input'; -import { Type } from 'class-transformer'; -import { CommentThreadCreateOrConnectWithoutAuthorInput } from './comment-thread-create-or-connect-without-author.input'; -import { CommentThreadCreateManyAuthorInputEnvelope } from './comment-thread-create-many-author-input-envelope.input'; -import { CommentThreadWhereUniqueInput } from './comment-thread-where-unique.input'; - -@InputType() -export class CommentThreadUncheckedCreateNestedManyWithoutAuthorInput { - - @Field(() => [CommentThreadCreateWithoutAuthorInput], {nullable:true}) - @Type(() => CommentThreadCreateWithoutAuthorInput) - create?: Array; - - @Field(() => [CommentThreadCreateOrConnectWithoutAuthorInput], {nullable:true}) - @Type(() => CommentThreadCreateOrConnectWithoutAuthorInput) - connectOrCreate?: Array; - - @Field(() => CommentThreadCreateManyAuthorInputEnvelope, {nullable:true}) - @Type(() => CommentThreadCreateManyAuthorInputEnvelope) - createMany?: CommentThreadCreateManyAuthorInputEnvelope; - - @Field(() => [CommentThreadWhereUniqueInput], {nullable:true}) - @Type(() => CommentThreadWhereUniqueInput) - connect?: Array; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-unchecked-create-nested-many-without-workspace.input.ts b/server/src/core/@generated/comment-thread/comment-thread-unchecked-create-nested-many-without-workspace.input.ts deleted file mode 100644 index 59314af75..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-unchecked-create-nested-many-without-workspace.input.ts +++ /dev/null @@ -1,27 +0,0 @@ -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; - - @Field(() => [CommentThreadCreateOrConnectWithoutWorkspaceInput], {nullable:true}) - @Type(() => CommentThreadCreateOrConnectWithoutWorkspaceInput) - connectOrCreate?: Array; - - @Field(() => CommentThreadCreateManyWorkspaceInputEnvelope, {nullable:true}) - @Type(() => CommentThreadCreateManyWorkspaceInputEnvelope) - createMany?: CommentThreadCreateManyWorkspaceInputEnvelope; - - @Field(() => [CommentThreadWhereUniqueInput], {nullable:true}) - @Type(() => CommentThreadWhereUniqueInput) - connect?: Array; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-unchecked-create-without-assignee.input.ts b/server/src/core/@generated/comment-thread/comment-thread-unchecked-create-without-assignee.input.ts deleted file mode 100644 index fdef6da66..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-unchecked-create-without-assignee.input.ts +++ /dev/null @@ -1,55 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; -import { ActivityType } from '../prisma/activity-type.enum'; -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 CommentThreadUncheckedCreateWithoutAssigneeInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @HideField() - workspaceId!: string; - - @Field(() => String, {nullable:false}) - authorId!: string; - - @Field(() => String, {nullable:true}) - body?: string; - - @Field(() => String, {nullable:true}) - title?: string; - - @Field(() => ActivityType, {nullable:true}) - type?: keyof typeof ActivityType; - - @Field(() => Date, {nullable:true}) - reminderAt?: Date | string; - - @Field(() => Date, {nullable:true}) - dueAt?: Date | string; - - @Field(() => Date, {nullable:true}) - completedAt?: Date | string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput, {nullable:true}) - commentThreadTargets?: CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput; - - @Field(() => CommentUncheckedCreateNestedManyWithoutCommentThreadInput, {nullable:true}) - comments?: CommentUncheckedCreateNestedManyWithoutCommentThreadInput; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-unchecked-create-without-author.input.ts b/server/src/core/@generated/comment-thread/comment-thread-unchecked-create-without-author.input.ts deleted file mode 100644 index de9c07e0a..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-unchecked-create-without-author.input.ts +++ /dev/null @@ -1,55 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; -import { ActivityType } from '../prisma/activity-type.enum'; -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 CommentThreadUncheckedCreateWithoutAuthorInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @HideField() - workspaceId!: string; - - @Field(() => String, {nullable:true}) - body?: string; - - @Field(() => String, {nullable:true}) - title?: string; - - @Field(() => ActivityType, {nullable:true}) - type?: keyof typeof ActivityType; - - @Field(() => Date, {nullable:true}) - reminderAt?: Date | string; - - @Field(() => Date, {nullable:true}) - dueAt?: Date | string; - - @Field(() => Date, {nullable:true}) - completedAt?: Date | string; - - @Field(() => String, {nullable:true}) - assigneeId?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput, {nullable:true}) - commentThreadTargets?: CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput; - - @Field(() => CommentUncheckedCreateNestedManyWithoutCommentThreadInput, {nullable:true}) - comments?: CommentUncheckedCreateNestedManyWithoutCommentThreadInput; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-unchecked-create-without-comment-thread-targets.input.ts b/server/src/core/@generated/comment-thread/comment-thread-unchecked-create-without-comment-thread-targets.input.ts deleted file mode 100644 index 295b415dd..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-unchecked-create-without-comment-thread-targets.input.ts +++ /dev/null @@ -1,54 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; -import { ActivityType } from '../prisma/activity-type.enum'; -import { CommentUncheckedCreateNestedManyWithoutCommentThreadInput } from '../comment/comment-unchecked-create-nested-many-without-comment-thread.input'; - -@InputType() -export class CommentThreadUncheckedCreateWithoutCommentThreadTargetsInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @HideField() - workspaceId!: string; - - @Field(() => String, {nullable:false}) - authorId!: string; - - @Field(() => String, {nullable:true}) - body?: string; - - @Field(() => String, {nullable:true}) - title?: string; - - @Field(() => ActivityType, {nullable:true}) - type?: keyof typeof ActivityType; - - @Field(() => Date, {nullable:true}) - reminderAt?: Date | string; - - @Field(() => Date, {nullable:true}) - dueAt?: Date | string; - - @Field(() => Date, {nullable:true}) - completedAt?: Date | string; - - @Field(() => String, {nullable:true}) - assigneeId?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => CommentUncheckedCreateNestedManyWithoutCommentThreadInput, {nullable:true}) - comments?: CommentUncheckedCreateNestedManyWithoutCommentThreadInput; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-unchecked-create-without-comments.input.ts b/server/src/core/@generated/comment-thread/comment-thread-unchecked-create-without-comments.input.ts deleted file mode 100644 index e7270b9eb..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-unchecked-create-without-comments.input.ts +++ /dev/null @@ -1,54 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; -import { ActivityType } from '../prisma/activity-type.enum'; -import { CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput } from '../comment-thread-target/comment-thread-target-unchecked-create-nested-many-without-comment-thread.input'; - -@InputType() -export class CommentThreadUncheckedCreateWithoutCommentsInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @HideField() - workspaceId!: string; - - @Field(() => String, {nullable:false}) - authorId!: string; - - @Field(() => String, {nullable:true}) - body?: string; - - @Field(() => String, {nullable:true}) - title?: string; - - @Field(() => ActivityType, {nullable:true}) - type?: keyof typeof ActivityType; - - @Field(() => Date, {nullable:true}) - reminderAt?: Date | string; - - @Field(() => Date, {nullable:true}) - dueAt?: Date | string; - - @Field(() => Date, {nullable:true}) - completedAt?: Date | string; - - @Field(() => String, {nullable:true}) - assigneeId?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput, {nullable:true}) - commentThreadTargets?: CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-unchecked-create-without-workspace.input.ts b/server/src/core/@generated/comment-thread/comment-thread-unchecked-create-without-workspace.input.ts deleted file mode 100644 index 6fa04fbd6..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-unchecked-create-without-workspace.input.ts +++ /dev/null @@ -1,55 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { ActivityType } from '../prisma/activity-type.enum'; -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 CommentThreadUncheckedCreateWithoutWorkspaceInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - authorId!: string; - - @Field(() => String, {nullable:true}) - body?: string; - - @Field(() => String, {nullable:true}) - title?: string; - - @Field(() => ActivityType, {nullable:true}) - type?: keyof typeof ActivityType; - - @Field(() => Date, {nullable:true}) - reminderAt?: Date | string; - - @Field(() => Date, {nullable:true}) - dueAt?: Date | string; - - @Field(() => Date, {nullable:true}) - completedAt?: Date | string; - - @Field(() => String, {nullable:true}) - assigneeId?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput, {nullable:true}) - commentThreadTargets?: CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput; - - @Field(() => CommentUncheckedCreateNestedManyWithoutCommentThreadInput, {nullable:true}) - comments?: CommentUncheckedCreateNestedManyWithoutCommentThreadInput; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-unchecked-create.input.ts b/server/src/core/@generated/comment-thread/comment-thread-unchecked-create.input.ts deleted file mode 100644 index d6064df67..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-unchecked-create.input.ts +++ /dev/null @@ -1,58 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; -import { ActivityType } from '../prisma/activity-type.enum'; -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:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @HideField() - workspaceId!: string; - - @Field(() => String, {nullable:false}) - authorId!: string; - - @Field(() => String, {nullable:true}) - body?: string; - - @Field(() => String, {nullable:true}) - title?: string; - - @Field(() => ActivityType, {nullable:true}) - type?: keyof typeof ActivityType; - - @Field(() => Date, {nullable:true}) - reminderAt?: Date | string; - - @Field(() => Date, {nullable:true}) - dueAt?: Date | string; - - @Field(() => Date, {nullable:true}) - completedAt?: Date | string; - - @Field(() => String, {nullable:true}) - assigneeId?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput, {nullable:true}) - commentThreadTargets?: CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput; - - @Field(() => CommentUncheckedCreateNestedManyWithoutCommentThreadInput, {nullable:true}) - comments?: CommentUncheckedCreateNestedManyWithoutCommentThreadInput; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-unchecked-update-many-without-assigned-comment-threads.input.ts b/server/src/core/@generated/comment-thread/comment-thread-unchecked-update-many-without-assigned-comment-threads.input.ts deleted file mode 100644 index 2e9ece3d3..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-unchecked-update-many-without-assigned-comment-threads.input.ts +++ /dev/null @@ -1,48 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { EnumActivityTypeFieldUpdateOperationsInput } from '../prisma/enum-activity-type-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class CommentThreadUncheckedUpdateManyWithoutAssignedCommentThreadsInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @HideField() - workspaceId?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - authorId?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - body?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - title?: NullableStringFieldUpdateOperationsInput; - - @Field(() => EnumActivityTypeFieldUpdateOperationsInput, {nullable:true}) - type?: EnumActivityTypeFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - reminderAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - dueAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - completedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-unchecked-update-many-without-assignee-nested.input.ts b/server/src/core/@generated/comment-thread/comment-thread-unchecked-update-many-without-assignee-nested.input.ts deleted file mode 100644 index 0aade1da9..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-unchecked-update-many-without-assignee-nested.input.ts +++ /dev/null @@ -1,59 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { CommentThreadCreateWithoutAssigneeInput } from './comment-thread-create-without-assignee.input'; -import { Type } from 'class-transformer'; -import { CommentThreadCreateOrConnectWithoutAssigneeInput } from './comment-thread-create-or-connect-without-assignee.input'; -import { CommentThreadUpsertWithWhereUniqueWithoutAssigneeInput } from './comment-thread-upsert-with-where-unique-without-assignee.input'; -import { CommentThreadCreateManyAssigneeInputEnvelope } from './comment-thread-create-many-assignee-input-envelope.input'; -import { CommentThreadWhereUniqueInput } from './comment-thread-where-unique.input'; -import { CommentThreadUpdateWithWhereUniqueWithoutAssigneeInput } from './comment-thread-update-with-where-unique-without-assignee.input'; -import { CommentThreadUpdateManyWithWhereWithoutAssigneeInput } from './comment-thread-update-many-with-where-without-assignee.input'; -import { CommentThreadScalarWhereInput } from './comment-thread-scalar-where.input'; - -@InputType() -export class CommentThreadUncheckedUpdateManyWithoutAssigneeNestedInput { - - @Field(() => [CommentThreadCreateWithoutAssigneeInput], {nullable:true}) - @Type(() => CommentThreadCreateWithoutAssigneeInput) - create?: Array; - - @Field(() => [CommentThreadCreateOrConnectWithoutAssigneeInput], {nullable:true}) - @Type(() => CommentThreadCreateOrConnectWithoutAssigneeInput) - connectOrCreate?: Array; - - @Field(() => [CommentThreadUpsertWithWhereUniqueWithoutAssigneeInput], {nullable:true}) - @Type(() => CommentThreadUpsertWithWhereUniqueWithoutAssigneeInput) - upsert?: Array; - - @Field(() => CommentThreadCreateManyAssigneeInputEnvelope, {nullable:true}) - @Type(() => CommentThreadCreateManyAssigneeInputEnvelope) - createMany?: CommentThreadCreateManyAssigneeInputEnvelope; - - @Field(() => [CommentThreadWhereUniqueInput], {nullable:true}) - @Type(() => CommentThreadWhereUniqueInput) - set?: Array; - - @Field(() => [CommentThreadWhereUniqueInput], {nullable:true}) - @Type(() => CommentThreadWhereUniqueInput) - disconnect?: Array; - - @Field(() => [CommentThreadWhereUniqueInput], {nullable:true}) - @Type(() => CommentThreadWhereUniqueInput) - delete?: Array; - - @Field(() => [CommentThreadWhereUniqueInput], {nullable:true}) - @Type(() => CommentThreadWhereUniqueInput) - connect?: Array; - - @Field(() => [CommentThreadUpdateWithWhereUniqueWithoutAssigneeInput], {nullable:true}) - @Type(() => CommentThreadUpdateWithWhereUniqueWithoutAssigneeInput) - update?: Array; - - @Field(() => [CommentThreadUpdateManyWithWhereWithoutAssigneeInput], {nullable:true}) - @Type(() => CommentThreadUpdateManyWithWhereWithoutAssigneeInput) - updateMany?: Array; - - @Field(() => [CommentThreadScalarWhereInput], {nullable:true}) - @Type(() => CommentThreadScalarWhereInput) - deleteMany?: Array; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-unchecked-update-many-without-author-nested.input.ts b/server/src/core/@generated/comment-thread/comment-thread-unchecked-update-many-without-author-nested.input.ts deleted file mode 100644 index 9e19b9167..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-unchecked-update-many-without-author-nested.input.ts +++ /dev/null @@ -1,59 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { CommentThreadCreateWithoutAuthorInput } from './comment-thread-create-without-author.input'; -import { Type } from 'class-transformer'; -import { CommentThreadCreateOrConnectWithoutAuthorInput } from './comment-thread-create-or-connect-without-author.input'; -import { CommentThreadUpsertWithWhereUniqueWithoutAuthorInput } from './comment-thread-upsert-with-where-unique-without-author.input'; -import { CommentThreadCreateManyAuthorInputEnvelope } from './comment-thread-create-many-author-input-envelope.input'; -import { CommentThreadWhereUniqueInput } from './comment-thread-where-unique.input'; -import { CommentThreadUpdateWithWhereUniqueWithoutAuthorInput } from './comment-thread-update-with-where-unique-without-author.input'; -import { CommentThreadUpdateManyWithWhereWithoutAuthorInput } from './comment-thread-update-many-with-where-without-author.input'; -import { CommentThreadScalarWhereInput } from './comment-thread-scalar-where.input'; - -@InputType() -export class CommentThreadUncheckedUpdateManyWithoutAuthorNestedInput { - - @Field(() => [CommentThreadCreateWithoutAuthorInput], {nullable:true}) - @Type(() => CommentThreadCreateWithoutAuthorInput) - create?: Array; - - @Field(() => [CommentThreadCreateOrConnectWithoutAuthorInput], {nullable:true}) - @Type(() => CommentThreadCreateOrConnectWithoutAuthorInput) - connectOrCreate?: Array; - - @Field(() => [CommentThreadUpsertWithWhereUniqueWithoutAuthorInput], {nullable:true}) - @Type(() => CommentThreadUpsertWithWhereUniqueWithoutAuthorInput) - upsert?: Array; - - @Field(() => CommentThreadCreateManyAuthorInputEnvelope, {nullable:true}) - @Type(() => CommentThreadCreateManyAuthorInputEnvelope) - createMany?: CommentThreadCreateManyAuthorInputEnvelope; - - @Field(() => [CommentThreadWhereUniqueInput], {nullable:true}) - @Type(() => CommentThreadWhereUniqueInput) - set?: Array; - - @Field(() => [CommentThreadWhereUniqueInput], {nullable:true}) - @Type(() => CommentThreadWhereUniqueInput) - disconnect?: Array; - - @Field(() => [CommentThreadWhereUniqueInput], {nullable:true}) - @Type(() => CommentThreadWhereUniqueInput) - delete?: Array; - - @Field(() => [CommentThreadWhereUniqueInput], {nullable:true}) - @Type(() => CommentThreadWhereUniqueInput) - connect?: Array; - - @Field(() => [CommentThreadUpdateWithWhereUniqueWithoutAuthorInput], {nullable:true}) - @Type(() => CommentThreadUpdateWithWhereUniqueWithoutAuthorInput) - update?: Array; - - @Field(() => [CommentThreadUpdateManyWithWhereWithoutAuthorInput], {nullable:true}) - @Type(() => CommentThreadUpdateManyWithWhereWithoutAuthorInput) - updateMany?: Array; - - @Field(() => [CommentThreadScalarWhereInput], {nullable:true}) - @Type(() => CommentThreadScalarWhereInput) - deleteMany?: Array; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-unchecked-update-many-without-authored-comment-threads.input.ts b/server/src/core/@generated/comment-thread/comment-thread-unchecked-update-many-without-authored-comment-threads.input.ts deleted file mode 100644 index 8f7b55dba..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-unchecked-update-many-without-authored-comment-threads.input.ts +++ /dev/null @@ -1,48 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { EnumActivityTypeFieldUpdateOperationsInput } from '../prisma/enum-activity-type-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class CommentThreadUncheckedUpdateManyWithoutAuthoredCommentThreadsInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @HideField() - workspaceId?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - body?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - title?: NullableStringFieldUpdateOperationsInput; - - @Field(() => EnumActivityTypeFieldUpdateOperationsInput, {nullable:true}) - type?: EnumActivityTypeFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - reminderAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - dueAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - completedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - assigneeId?: NullableStringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-unchecked-update-many-without-comment-thread.input.ts b/server/src/core/@generated/comment-thread/comment-thread-unchecked-update-many-without-comment-thread.input.ts deleted file mode 100644 index 046bc72be..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-unchecked-update-many-without-comment-thread.input.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class CommentThreadUncheckedUpdateManyWithoutCommentThreadInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @HideField() - workspaceId?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - body?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - title?: NullableStringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-unchecked-update-many-without-comment-threads.input.ts b/server/src/core/@generated/comment-thread/comment-thread-unchecked-update-many-without-comment-threads.input.ts deleted file mode 100644 index 4085282b9..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-unchecked-update-many-without-comment-threads.input.ts +++ /dev/null @@ -1,48 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { EnumActivityTypeFieldUpdateOperationsInput } from '../prisma/enum-activity-type-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class CommentThreadUncheckedUpdateManyWithoutCommentThreadsInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - authorId?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - body?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - title?: NullableStringFieldUpdateOperationsInput; - - @Field(() => EnumActivityTypeFieldUpdateOperationsInput, {nullable:true}) - type?: EnumActivityTypeFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - reminderAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - dueAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - completedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - assigneeId?: NullableStringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-unchecked-update-many-without-workspace-nested.input.ts b/server/src/core/@generated/comment-thread/comment-thread-unchecked-update-many-without-workspace-nested.input.ts deleted file mode 100644 index 2edaef8cf..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-unchecked-update-many-without-workspace-nested.input.ts +++ /dev/null @@ -1,59 +0,0 @@ -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; - - @Field(() => [CommentThreadCreateOrConnectWithoutWorkspaceInput], {nullable:true}) - @Type(() => CommentThreadCreateOrConnectWithoutWorkspaceInput) - connectOrCreate?: Array; - - @Field(() => [CommentThreadUpsertWithWhereUniqueWithoutWorkspaceInput], {nullable:true}) - @Type(() => CommentThreadUpsertWithWhereUniqueWithoutWorkspaceInput) - upsert?: Array; - - @Field(() => CommentThreadCreateManyWorkspaceInputEnvelope, {nullable:true}) - @Type(() => CommentThreadCreateManyWorkspaceInputEnvelope) - createMany?: CommentThreadCreateManyWorkspaceInputEnvelope; - - @Field(() => [CommentThreadWhereUniqueInput], {nullable:true}) - @Type(() => CommentThreadWhereUniqueInput) - set?: Array; - - @Field(() => [CommentThreadWhereUniqueInput], {nullable:true}) - @Type(() => CommentThreadWhereUniqueInput) - disconnect?: Array; - - @Field(() => [CommentThreadWhereUniqueInput], {nullable:true}) - @Type(() => CommentThreadWhereUniqueInput) - delete?: Array; - - @Field(() => [CommentThreadWhereUniqueInput], {nullable:true}) - @Type(() => CommentThreadWhereUniqueInput) - connect?: Array; - - @Field(() => [CommentThreadUpdateWithWhereUniqueWithoutWorkspaceInput], {nullable:true}) - @Type(() => CommentThreadUpdateWithWhereUniqueWithoutWorkspaceInput) - update?: Array; - - @Field(() => [CommentThreadUpdateManyWithWhereWithoutWorkspaceInput], {nullable:true}) - @Type(() => CommentThreadUpdateManyWithWhereWithoutWorkspaceInput) - updateMany?: Array; - - @Field(() => [CommentThreadScalarWhereInput], {nullable:true}) - @Type(() => CommentThreadScalarWhereInput) - deleteMany?: Array; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-unchecked-update-many.input.ts b/server/src/core/@generated/comment-thread/comment-thread-unchecked-update-many.input.ts deleted file mode 100644 index 76c1f0523..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-unchecked-update-many.input.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { EnumActivityTypeFieldUpdateOperationsInput } from '../prisma/enum-activity-type-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class CommentThreadUncheckedUpdateManyInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @HideField() - workspaceId?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - authorId?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - body?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - title?: NullableStringFieldUpdateOperationsInput; - - @Field(() => EnumActivityTypeFieldUpdateOperationsInput, {nullable:true}) - type?: EnumActivityTypeFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - reminderAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - dueAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - completedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - assigneeId?: NullableStringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-unchecked-update-without-assignee.input.ts b/server/src/core/@generated/comment-thread/comment-thread-unchecked-update-without-assignee.input.ts deleted file mode 100644 index ee89156c5..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-unchecked-update-without-assignee.input.ts +++ /dev/null @@ -1,56 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { EnumActivityTypeFieldUpdateOperationsInput } from '../prisma/enum-activity-type-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/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 CommentThreadUncheckedUpdateWithoutAssigneeInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @HideField() - workspaceId?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - authorId?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - body?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - title?: NullableStringFieldUpdateOperationsInput; - - @Field(() => EnumActivityTypeFieldUpdateOperationsInput, {nullable:true}) - type?: EnumActivityTypeFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - reminderAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - dueAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - completedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadNestedInput, {nullable:true}) - commentThreadTargets?: CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadNestedInput; - - @Field(() => CommentUncheckedUpdateManyWithoutCommentThreadNestedInput, {nullable:true}) - comments?: CommentUncheckedUpdateManyWithoutCommentThreadNestedInput; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-unchecked-update-without-author.input.ts b/server/src/core/@generated/comment-thread/comment-thread-unchecked-update-without-author.input.ts deleted file mode 100644 index 0bb07e25f..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-unchecked-update-without-author.input.ts +++ /dev/null @@ -1,56 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { EnumActivityTypeFieldUpdateOperationsInput } from '../prisma/enum-activity-type-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/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 CommentThreadUncheckedUpdateWithoutAuthorInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @HideField() - workspaceId?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - body?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - title?: NullableStringFieldUpdateOperationsInput; - - @Field(() => EnumActivityTypeFieldUpdateOperationsInput, {nullable:true}) - type?: EnumActivityTypeFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - reminderAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - dueAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - completedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - assigneeId?: NullableStringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadNestedInput, {nullable:true}) - commentThreadTargets?: CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadNestedInput; - - @Field(() => CommentUncheckedUpdateManyWithoutCommentThreadNestedInput, {nullable:true}) - comments?: CommentUncheckedUpdateManyWithoutCommentThreadNestedInput; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-unchecked-update-without-comment-thread-targets.input.ts b/server/src/core/@generated/comment-thread/comment-thread-unchecked-update-without-comment-thread-targets.input.ts deleted file mode 100644 index 9e86a0e35..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-unchecked-update-without-comment-thread-targets.input.ts +++ /dev/null @@ -1,55 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { EnumActivityTypeFieldUpdateOperationsInput } from '../prisma/enum-activity-type-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -import { CommentUncheckedUpdateManyWithoutCommentThreadNestedInput } from '../comment/comment-unchecked-update-many-without-comment-thread-nested.input'; - -@InputType() -export class CommentThreadUncheckedUpdateWithoutCommentThreadTargetsInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @HideField() - workspaceId?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - authorId?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - body?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - title?: NullableStringFieldUpdateOperationsInput; - - @Field(() => EnumActivityTypeFieldUpdateOperationsInput, {nullable:true}) - type?: EnumActivityTypeFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - reminderAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - dueAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - completedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - assigneeId?: NullableStringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => CommentUncheckedUpdateManyWithoutCommentThreadNestedInput, {nullable:true}) - comments?: CommentUncheckedUpdateManyWithoutCommentThreadNestedInput; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-unchecked-update-without-comments.input.ts b/server/src/core/@generated/comment-thread/comment-thread-unchecked-update-without-comments.input.ts deleted file mode 100644 index cce342abd..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-unchecked-update-without-comments.input.ts +++ /dev/null @@ -1,55 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { EnumActivityTypeFieldUpdateOperationsInput } from '../prisma/enum-activity-type-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -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; - - @HideField() - workspaceId?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - authorId?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - body?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - title?: NullableStringFieldUpdateOperationsInput; - - @Field(() => EnumActivityTypeFieldUpdateOperationsInput, {nullable:true}) - type?: EnumActivityTypeFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - reminderAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - dueAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - completedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - assigneeId?: NullableStringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadNestedInput, {nullable:true}) - commentThreadTargets?: CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadNestedInput; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-unchecked-update-without-workspace.input.ts b/server/src/core/@generated/comment-thread/comment-thread-unchecked-update-without-workspace.input.ts deleted file mode 100644 index e92b5b4ca..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-unchecked-update-without-workspace.input.ts +++ /dev/null @@ -1,56 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { EnumActivityTypeFieldUpdateOperationsInput } from '../prisma/enum-activity-type-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/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(() => StringFieldUpdateOperationsInput, {nullable:true}) - authorId?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - body?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - title?: NullableStringFieldUpdateOperationsInput; - - @Field(() => EnumActivityTypeFieldUpdateOperationsInput, {nullable:true}) - type?: EnumActivityTypeFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - reminderAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - dueAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - completedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - assigneeId?: NullableStringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadNestedInput, {nullable:true}) - commentThreadTargets?: CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadNestedInput; - - @Field(() => CommentUncheckedUpdateManyWithoutCommentThreadNestedInput, {nullable:true}) - comments?: CommentUncheckedUpdateManyWithoutCommentThreadNestedInput; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-unchecked-update.input.ts b/server/src/core/@generated/comment-thread/comment-thread-unchecked-update.input.ts deleted file mode 100644 index d9c7a550c..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-unchecked-update.input.ts +++ /dev/null @@ -1,59 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { EnumActivityTypeFieldUpdateOperationsInput } from '../prisma/enum-activity-type-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/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 CommentThreadUncheckedUpdateInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @HideField() - workspaceId?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - authorId?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - body?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - title?: NullableStringFieldUpdateOperationsInput; - - @Field(() => EnumActivityTypeFieldUpdateOperationsInput, {nullable:true}) - type?: EnumActivityTypeFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - reminderAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - dueAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - completedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - assigneeId?: NullableStringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadNestedInput, {nullable:true}) - commentThreadTargets?: CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadNestedInput; - - @Field(() => CommentUncheckedUpdateManyWithoutCommentThreadNestedInput, {nullable:true}) - comments?: CommentUncheckedUpdateManyWithoutCommentThreadNestedInput; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-update-many-mutation.input.ts b/server/src/core/@generated/comment-thread/comment-thread-update-many-mutation.input.ts deleted file mode 100644 index f2a574c71..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-update-many-mutation.input.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { EnumActivityTypeFieldUpdateOperationsInput } from '../prisma/enum-activity-type-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class CommentThreadUpdateManyMutationInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - body?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - title?: NullableStringFieldUpdateOperationsInput; - - @Field(() => EnumActivityTypeFieldUpdateOperationsInput, {nullable:true}) - type?: EnumActivityTypeFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - reminderAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - dueAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - completedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-update-many-with-where-without-assignee.input.ts b/server/src/core/@generated/comment-thread/comment-thread-update-many-with-where-without-assignee.input.ts deleted file mode 100644 index 7ce26ff37..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-update-many-with-where-without-assignee.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -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 CommentThreadUpdateManyWithWhereWithoutAssigneeInput { - - @Field(() => CommentThreadScalarWhereInput, {nullable:false}) - @Type(() => CommentThreadScalarWhereInput) - where!: CommentThreadScalarWhereInput; - - @Field(() => CommentThreadUpdateManyMutationInput, {nullable:false}) - @Type(() => CommentThreadUpdateManyMutationInput) - data!: CommentThreadUpdateManyMutationInput; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-update-many-with-where-without-author.input.ts b/server/src/core/@generated/comment-thread/comment-thread-update-many-with-where-without-author.input.ts deleted file mode 100644 index 44fd12a1d..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-update-many-with-where-without-author.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -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 CommentThreadUpdateManyWithWhereWithoutAuthorInput { - - @Field(() => CommentThreadScalarWhereInput, {nullable:false}) - @Type(() => CommentThreadScalarWhereInput) - where!: CommentThreadScalarWhereInput; - - @Field(() => CommentThreadUpdateManyMutationInput, {nullable:false}) - @Type(() => CommentThreadUpdateManyMutationInput) - data!: CommentThreadUpdateManyMutationInput; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-update-many-with-where-without-workspace.input.ts b/server/src/core/@generated/comment-thread/comment-thread-update-many-with-where-without-workspace.input.ts deleted file mode 100644 index f50981ff5..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-update-many-with-where-without-workspace.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -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/core/@generated/comment-thread/comment-thread-update-many-without-assignee-nested.input.ts b/server/src/core/@generated/comment-thread/comment-thread-update-many-without-assignee-nested.input.ts deleted file mode 100644 index 19236d64a..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-update-many-without-assignee-nested.input.ts +++ /dev/null @@ -1,59 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { CommentThreadCreateWithoutAssigneeInput } from './comment-thread-create-without-assignee.input'; -import { Type } from 'class-transformer'; -import { CommentThreadCreateOrConnectWithoutAssigneeInput } from './comment-thread-create-or-connect-without-assignee.input'; -import { CommentThreadUpsertWithWhereUniqueWithoutAssigneeInput } from './comment-thread-upsert-with-where-unique-without-assignee.input'; -import { CommentThreadCreateManyAssigneeInputEnvelope } from './comment-thread-create-many-assignee-input-envelope.input'; -import { CommentThreadWhereUniqueInput } from './comment-thread-where-unique.input'; -import { CommentThreadUpdateWithWhereUniqueWithoutAssigneeInput } from './comment-thread-update-with-where-unique-without-assignee.input'; -import { CommentThreadUpdateManyWithWhereWithoutAssigneeInput } from './comment-thread-update-many-with-where-without-assignee.input'; -import { CommentThreadScalarWhereInput } from './comment-thread-scalar-where.input'; - -@InputType() -export class CommentThreadUpdateManyWithoutAssigneeNestedInput { - - @Field(() => [CommentThreadCreateWithoutAssigneeInput], {nullable:true}) - @Type(() => CommentThreadCreateWithoutAssigneeInput) - create?: Array; - - @Field(() => [CommentThreadCreateOrConnectWithoutAssigneeInput], {nullable:true}) - @Type(() => CommentThreadCreateOrConnectWithoutAssigneeInput) - connectOrCreate?: Array; - - @Field(() => [CommentThreadUpsertWithWhereUniqueWithoutAssigneeInput], {nullable:true}) - @Type(() => CommentThreadUpsertWithWhereUniqueWithoutAssigneeInput) - upsert?: Array; - - @Field(() => CommentThreadCreateManyAssigneeInputEnvelope, {nullable:true}) - @Type(() => CommentThreadCreateManyAssigneeInputEnvelope) - createMany?: CommentThreadCreateManyAssigneeInputEnvelope; - - @Field(() => [CommentThreadWhereUniqueInput], {nullable:true}) - @Type(() => CommentThreadWhereUniqueInput) - set?: Array; - - @Field(() => [CommentThreadWhereUniqueInput], {nullable:true}) - @Type(() => CommentThreadWhereUniqueInput) - disconnect?: Array; - - @Field(() => [CommentThreadWhereUniqueInput], {nullable:true}) - @Type(() => CommentThreadWhereUniqueInput) - delete?: Array; - - @Field(() => [CommentThreadWhereUniqueInput], {nullable:true}) - @Type(() => CommentThreadWhereUniqueInput) - connect?: Array; - - @Field(() => [CommentThreadUpdateWithWhereUniqueWithoutAssigneeInput], {nullable:true}) - @Type(() => CommentThreadUpdateWithWhereUniqueWithoutAssigneeInput) - update?: Array; - - @Field(() => [CommentThreadUpdateManyWithWhereWithoutAssigneeInput], {nullable:true}) - @Type(() => CommentThreadUpdateManyWithWhereWithoutAssigneeInput) - updateMany?: Array; - - @Field(() => [CommentThreadScalarWhereInput], {nullable:true}) - @Type(() => CommentThreadScalarWhereInput) - deleteMany?: Array; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-update-many-without-author-nested.input.ts b/server/src/core/@generated/comment-thread/comment-thread-update-many-without-author-nested.input.ts deleted file mode 100644 index 1281f5177..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-update-many-without-author-nested.input.ts +++ /dev/null @@ -1,59 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { CommentThreadCreateWithoutAuthorInput } from './comment-thread-create-without-author.input'; -import { Type } from 'class-transformer'; -import { CommentThreadCreateOrConnectWithoutAuthorInput } from './comment-thread-create-or-connect-without-author.input'; -import { CommentThreadUpsertWithWhereUniqueWithoutAuthorInput } from './comment-thread-upsert-with-where-unique-without-author.input'; -import { CommentThreadCreateManyAuthorInputEnvelope } from './comment-thread-create-many-author-input-envelope.input'; -import { CommentThreadWhereUniqueInput } from './comment-thread-where-unique.input'; -import { CommentThreadUpdateWithWhereUniqueWithoutAuthorInput } from './comment-thread-update-with-where-unique-without-author.input'; -import { CommentThreadUpdateManyWithWhereWithoutAuthorInput } from './comment-thread-update-many-with-where-without-author.input'; -import { CommentThreadScalarWhereInput } from './comment-thread-scalar-where.input'; - -@InputType() -export class CommentThreadUpdateManyWithoutAuthorNestedInput { - - @Field(() => [CommentThreadCreateWithoutAuthorInput], {nullable:true}) - @Type(() => CommentThreadCreateWithoutAuthorInput) - create?: Array; - - @Field(() => [CommentThreadCreateOrConnectWithoutAuthorInput], {nullable:true}) - @Type(() => CommentThreadCreateOrConnectWithoutAuthorInput) - connectOrCreate?: Array; - - @Field(() => [CommentThreadUpsertWithWhereUniqueWithoutAuthorInput], {nullable:true}) - @Type(() => CommentThreadUpsertWithWhereUniqueWithoutAuthorInput) - upsert?: Array; - - @Field(() => CommentThreadCreateManyAuthorInputEnvelope, {nullable:true}) - @Type(() => CommentThreadCreateManyAuthorInputEnvelope) - createMany?: CommentThreadCreateManyAuthorInputEnvelope; - - @Field(() => [CommentThreadWhereUniqueInput], {nullable:true}) - @Type(() => CommentThreadWhereUniqueInput) - set?: Array; - - @Field(() => [CommentThreadWhereUniqueInput], {nullable:true}) - @Type(() => CommentThreadWhereUniqueInput) - disconnect?: Array; - - @Field(() => [CommentThreadWhereUniqueInput], {nullable:true}) - @Type(() => CommentThreadWhereUniqueInput) - delete?: Array; - - @Field(() => [CommentThreadWhereUniqueInput], {nullable:true}) - @Type(() => CommentThreadWhereUniqueInput) - connect?: Array; - - @Field(() => [CommentThreadUpdateWithWhereUniqueWithoutAuthorInput], {nullable:true}) - @Type(() => CommentThreadUpdateWithWhereUniqueWithoutAuthorInput) - update?: Array; - - @Field(() => [CommentThreadUpdateManyWithWhereWithoutAuthorInput], {nullable:true}) - @Type(() => CommentThreadUpdateManyWithWhereWithoutAuthorInput) - updateMany?: Array; - - @Field(() => [CommentThreadScalarWhereInput], {nullable:true}) - @Type(() => CommentThreadScalarWhereInput) - deleteMany?: Array; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-update-many-without-workspace-nested.input.ts b/server/src/core/@generated/comment-thread/comment-thread-update-many-without-workspace-nested.input.ts deleted file mode 100644 index 928f72fcc..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-update-many-without-workspace-nested.input.ts +++ /dev/null @@ -1,59 +0,0 @@ -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; - - @Field(() => [CommentThreadCreateOrConnectWithoutWorkspaceInput], {nullable:true}) - @Type(() => CommentThreadCreateOrConnectWithoutWorkspaceInput) - connectOrCreate?: Array; - - @Field(() => [CommentThreadUpsertWithWhereUniqueWithoutWorkspaceInput], {nullable:true}) - @Type(() => CommentThreadUpsertWithWhereUniqueWithoutWorkspaceInput) - upsert?: Array; - - @Field(() => CommentThreadCreateManyWorkspaceInputEnvelope, {nullable:true}) - @Type(() => CommentThreadCreateManyWorkspaceInputEnvelope) - createMany?: CommentThreadCreateManyWorkspaceInputEnvelope; - - @Field(() => [CommentThreadWhereUniqueInput], {nullable:true}) - @Type(() => CommentThreadWhereUniqueInput) - set?: Array; - - @Field(() => [CommentThreadWhereUniqueInput], {nullable:true}) - @Type(() => CommentThreadWhereUniqueInput) - disconnect?: Array; - - @Field(() => [CommentThreadWhereUniqueInput], {nullable:true}) - @Type(() => CommentThreadWhereUniqueInput) - delete?: Array; - - @Field(() => [CommentThreadWhereUniqueInput], {nullable:true}) - @Type(() => CommentThreadWhereUniqueInput) - connect?: Array; - - @Field(() => [CommentThreadUpdateWithWhereUniqueWithoutWorkspaceInput], {nullable:true}) - @Type(() => CommentThreadUpdateWithWhereUniqueWithoutWorkspaceInput) - update?: Array; - - @Field(() => [CommentThreadUpdateManyWithWhereWithoutWorkspaceInput], {nullable:true}) - @Type(() => CommentThreadUpdateManyWithWhereWithoutWorkspaceInput) - updateMany?: Array; - - @Field(() => [CommentThreadScalarWhereInput], {nullable:true}) - @Type(() => CommentThreadScalarWhereInput) - deleteMany?: Array; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-update-one-required-without-comment-thread-targets-nested.input.ts b/server/src/core/@generated/comment-thread/comment-thread-update-one-required-without-comment-thread-targets-nested.input.ts deleted file mode 100644 index 27eeb3120..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-update-one-required-without-comment-thread-targets-nested.input.ts +++ /dev/null @@ -1,32 +0,0 @@ -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/core/@generated/comment-thread/comment-thread-update-one-required-without-comments-nested.input.ts b/server/src/core/@generated/comment-thread/comment-thread-update-one-required-without-comments-nested.input.ts deleted file mode 100644 index 876ba7657..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-update-one-required-without-comments-nested.input.ts +++ /dev/null @@ -1,32 +0,0 @@ -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/core/@generated/comment-thread/comment-thread-update-with-where-unique-without-assignee.input.ts b/server/src/core/@generated/comment-thread/comment-thread-update-with-where-unique-without-assignee.input.ts deleted file mode 100644 index a7a826766..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-update-with-where-unique-without-assignee.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { CommentThreadWhereUniqueInput } from './comment-thread-where-unique.input'; -import { Type } from 'class-transformer'; -import { CommentThreadUpdateWithoutAssigneeInput } from './comment-thread-update-without-assignee.input'; - -@InputType() -export class CommentThreadUpdateWithWhereUniqueWithoutAssigneeInput { - - @Field(() => CommentThreadWhereUniqueInput, {nullable:false}) - @Type(() => CommentThreadWhereUniqueInput) - where!: CommentThreadWhereUniqueInput; - - @Field(() => CommentThreadUpdateWithoutAssigneeInput, {nullable:false}) - @Type(() => CommentThreadUpdateWithoutAssigneeInput) - data!: CommentThreadUpdateWithoutAssigneeInput; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-update-with-where-unique-without-author.input.ts b/server/src/core/@generated/comment-thread/comment-thread-update-with-where-unique-without-author.input.ts deleted file mode 100644 index 6adcc0a15..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-update-with-where-unique-without-author.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { CommentThreadWhereUniqueInput } from './comment-thread-where-unique.input'; -import { Type } from 'class-transformer'; -import { CommentThreadUpdateWithoutAuthorInput } from './comment-thread-update-without-author.input'; - -@InputType() -export class CommentThreadUpdateWithWhereUniqueWithoutAuthorInput { - - @Field(() => CommentThreadWhereUniqueInput, {nullable:false}) - @Type(() => CommentThreadWhereUniqueInput) - where!: CommentThreadWhereUniqueInput; - - @Field(() => CommentThreadUpdateWithoutAuthorInput, {nullable:false}) - @Type(() => CommentThreadUpdateWithoutAuthorInput) - data!: CommentThreadUpdateWithoutAuthorInput; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-update-with-where-unique-without-workspace.input.ts b/server/src/core/@generated/comment-thread/comment-thread-update-with-where-unique-without-workspace.input.ts deleted file mode 100644 index f0ae4835d..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-update-with-where-unique-without-workspace.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -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/core/@generated/comment-thread/comment-thread-update-without-assignee.input.ts b/server/src/core/@generated/comment-thread/comment-thread-update-without-assignee.input.ts deleted file mode 100644 index 117e76c93..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-update-without-assignee.input.ts +++ /dev/null @@ -1,58 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { EnumActivityTypeFieldUpdateOperationsInput } from '../prisma/enum-activity-type-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/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 { UserUpdateOneRequiredWithoutAuthoredCommentThreadsNestedInput } from '../user/user-update-one-required-without-authored-comment-threads-nested.input'; - -@InputType() -export class CommentThreadUpdateWithoutAssigneeInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - body?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - title?: NullableStringFieldUpdateOperationsInput; - - @Field(() => EnumActivityTypeFieldUpdateOperationsInput, {nullable:true}) - type?: EnumActivityTypeFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - reminderAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - dueAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - completedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => CommentThreadTargetUpdateManyWithoutCommentThreadNestedInput, {nullable:true}) - commentThreadTargets?: CommentThreadTargetUpdateManyWithoutCommentThreadNestedInput; - - @Field(() => CommentUpdateManyWithoutCommentThreadNestedInput, {nullable:true}) - comments?: CommentUpdateManyWithoutCommentThreadNestedInput; - - @HideField() - workspace?: WorkspaceUpdateOneRequiredWithoutCommentThreadsNestedInput; - - @Field(() => UserUpdateOneRequiredWithoutAuthoredCommentThreadsNestedInput, {nullable:true}) - author?: UserUpdateOneRequiredWithoutAuthoredCommentThreadsNestedInput; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-update-without-author.input.ts b/server/src/core/@generated/comment-thread/comment-thread-update-without-author.input.ts deleted file mode 100644 index 28c7cff9a..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-update-without-author.input.ts +++ /dev/null @@ -1,58 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { EnumActivityTypeFieldUpdateOperationsInput } from '../prisma/enum-activity-type-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/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 { UserUpdateOneWithoutAssignedCommentThreadsNestedInput } from '../user/user-update-one-without-assigned-comment-threads-nested.input'; - -@InputType() -export class CommentThreadUpdateWithoutAuthorInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - body?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - title?: NullableStringFieldUpdateOperationsInput; - - @Field(() => EnumActivityTypeFieldUpdateOperationsInput, {nullable:true}) - type?: EnumActivityTypeFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - reminderAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - dueAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - completedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => CommentThreadTargetUpdateManyWithoutCommentThreadNestedInput, {nullable:true}) - commentThreadTargets?: CommentThreadTargetUpdateManyWithoutCommentThreadNestedInput; - - @Field(() => CommentUpdateManyWithoutCommentThreadNestedInput, {nullable:true}) - comments?: CommentUpdateManyWithoutCommentThreadNestedInput; - - @HideField() - workspace?: WorkspaceUpdateOneRequiredWithoutCommentThreadsNestedInput; - - @Field(() => UserUpdateOneWithoutAssignedCommentThreadsNestedInput, {nullable:true}) - assignee?: UserUpdateOneWithoutAssignedCommentThreadsNestedInput; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-update-without-comment-thread-targets.input.ts b/server/src/core/@generated/comment-thread/comment-thread-update-without-comment-thread-targets.input.ts deleted file mode 100644 index 4780011da..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-update-without-comment-thread-targets.input.ts +++ /dev/null @@ -1,58 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { EnumActivityTypeFieldUpdateOperationsInput } from '../prisma/enum-activity-type-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/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 { UserUpdateOneRequiredWithoutAuthoredCommentThreadsNestedInput } from '../user/user-update-one-required-without-authored-comment-threads-nested.input'; -import { UserUpdateOneWithoutAssignedCommentThreadsNestedInput } from '../user/user-update-one-without-assigned-comment-threads-nested.input'; - -@InputType() -export class CommentThreadUpdateWithoutCommentThreadTargetsInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - body?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - title?: NullableStringFieldUpdateOperationsInput; - - @Field(() => EnumActivityTypeFieldUpdateOperationsInput, {nullable:true}) - type?: EnumActivityTypeFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - reminderAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - dueAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - completedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => CommentUpdateManyWithoutCommentThreadNestedInput, {nullable:true}) - comments?: CommentUpdateManyWithoutCommentThreadNestedInput; - - @HideField() - workspace?: WorkspaceUpdateOneRequiredWithoutCommentThreadsNestedInput; - - @Field(() => UserUpdateOneRequiredWithoutAuthoredCommentThreadsNestedInput, {nullable:true}) - author?: UserUpdateOneRequiredWithoutAuthoredCommentThreadsNestedInput; - - @Field(() => UserUpdateOneWithoutAssignedCommentThreadsNestedInput, {nullable:true}) - assignee?: UserUpdateOneWithoutAssignedCommentThreadsNestedInput; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-update-without-comments.input.ts b/server/src/core/@generated/comment-thread/comment-thread-update-without-comments.input.ts deleted file mode 100644 index dee47c49a..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-update-without-comments.input.ts +++ /dev/null @@ -1,58 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { EnumActivityTypeFieldUpdateOperationsInput } from '../prisma/enum-activity-type-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/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 { UserUpdateOneRequiredWithoutAuthoredCommentThreadsNestedInput } from '../user/user-update-one-required-without-authored-comment-threads-nested.input'; -import { UserUpdateOneWithoutAssignedCommentThreadsNestedInput } from '../user/user-update-one-without-assigned-comment-threads-nested.input'; - -@InputType() -export class CommentThreadUpdateWithoutCommentsInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - body?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - title?: NullableStringFieldUpdateOperationsInput; - - @Field(() => EnumActivityTypeFieldUpdateOperationsInput, {nullable:true}) - type?: EnumActivityTypeFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - reminderAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - dueAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - completedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => CommentThreadTargetUpdateManyWithoutCommentThreadNestedInput, {nullable:true}) - commentThreadTargets?: CommentThreadTargetUpdateManyWithoutCommentThreadNestedInput; - - @HideField() - workspace?: WorkspaceUpdateOneRequiredWithoutCommentThreadsNestedInput; - - @Field(() => UserUpdateOneRequiredWithoutAuthoredCommentThreadsNestedInput, {nullable:true}) - author?: UserUpdateOneRequiredWithoutAuthoredCommentThreadsNestedInput; - - @Field(() => UserUpdateOneWithoutAssignedCommentThreadsNestedInput, {nullable:true}) - assignee?: UserUpdateOneWithoutAssignedCommentThreadsNestedInput; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-update-without-workspace.input.ts b/server/src/core/@generated/comment-thread/comment-thread-update-without-workspace.input.ts deleted file mode 100644 index 30442c8c9..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-update-without-workspace.input.ts +++ /dev/null @@ -1,58 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { EnumActivityTypeFieldUpdateOperationsInput } from '../prisma/enum-activity-type-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/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 { UserUpdateOneRequiredWithoutAuthoredCommentThreadsNestedInput } from '../user/user-update-one-required-without-authored-comment-threads-nested.input'; -import { UserUpdateOneWithoutAssignedCommentThreadsNestedInput } from '../user/user-update-one-without-assigned-comment-threads-nested.input'; - -@InputType() -export class CommentThreadUpdateWithoutWorkspaceInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - body?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - title?: NullableStringFieldUpdateOperationsInput; - - @Field(() => EnumActivityTypeFieldUpdateOperationsInput, {nullable:true}) - type?: EnumActivityTypeFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - reminderAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - dueAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - completedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => CommentThreadTargetUpdateManyWithoutCommentThreadNestedInput, {nullable:true}) - commentThreadTargets?: CommentThreadTargetUpdateManyWithoutCommentThreadNestedInput; - - @Field(() => CommentUpdateManyWithoutCommentThreadNestedInput, {nullable:true}) - comments?: CommentUpdateManyWithoutCommentThreadNestedInput; - - @Field(() => UserUpdateOneRequiredWithoutAuthoredCommentThreadsNestedInput, {nullable:true}) - author?: UserUpdateOneRequiredWithoutAuthoredCommentThreadsNestedInput; - - @Field(() => UserUpdateOneWithoutAssignedCommentThreadsNestedInput, {nullable:true}) - assignee?: UserUpdateOneWithoutAssignedCommentThreadsNestedInput; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-update.input.ts b/server/src/core/@generated/comment-thread/comment-thread-update.input.ts deleted file mode 100644 index db2c55e97..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-update.input.ts +++ /dev/null @@ -1,62 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { EnumActivityTypeFieldUpdateOperationsInput } from '../prisma/enum-activity-type-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/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 { UserUpdateOneRequiredWithoutAuthoredCommentThreadsNestedInput } from '../user/user-update-one-required-without-authored-comment-threads-nested.input'; -import { UserUpdateOneWithoutAssignedCommentThreadsNestedInput } from '../user/user-update-one-without-assigned-comment-threads-nested.input'; - -@InputType() -export class CommentThreadUpdateInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - body?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - title?: NullableStringFieldUpdateOperationsInput; - - @Field(() => EnumActivityTypeFieldUpdateOperationsInput, {nullable:true}) - type?: EnumActivityTypeFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - reminderAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - dueAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - completedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => CommentThreadTargetUpdateManyWithoutCommentThreadNestedInput, {nullable:true}) - commentThreadTargets?: CommentThreadTargetUpdateManyWithoutCommentThreadNestedInput; - - @Field(() => CommentUpdateManyWithoutCommentThreadNestedInput, {nullable:true}) - comments?: CommentUpdateManyWithoutCommentThreadNestedInput; - - @HideField() - workspace?: WorkspaceUpdateOneRequiredWithoutCommentThreadsNestedInput; - - @Field(() => UserUpdateOneRequiredWithoutAuthoredCommentThreadsNestedInput, {nullable:true}) - author?: UserUpdateOneRequiredWithoutAuthoredCommentThreadsNestedInput; - - @Field(() => UserUpdateOneWithoutAssignedCommentThreadsNestedInput, {nullable:true}) - assignee?: UserUpdateOneWithoutAssignedCommentThreadsNestedInput; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-upsert-with-where-unique-without-assignee.input.ts b/server/src/core/@generated/comment-thread/comment-thread-upsert-with-where-unique-without-assignee.input.ts deleted file mode 100644 index 824fce1b9..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-upsert-with-where-unique-without-assignee.input.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { CommentThreadWhereUniqueInput } from './comment-thread-where-unique.input'; -import { Type } from 'class-transformer'; -import { CommentThreadUpdateWithoutAssigneeInput } from './comment-thread-update-without-assignee.input'; -import { CommentThreadCreateWithoutAssigneeInput } from './comment-thread-create-without-assignee.input'; - -@InputType() -export class CommentThreadUpsertWithWhereUniqueWithoutAssigneeInput { - - @Field(() => CommentThreadWhereUniqueInput, {nullable:false}) - @Type(() => CommentThreadWhereUniqueInput) - where!: CommentThreadWhereUniqueInput; - - @Field(() => CommentThreadUpdateWithoutAssigneeInput, {nullable:false}) - @Type(() => CommentThreadUpdateWithoutAssigneeInput) - update!: CommentThreadUpdateWithoutAssigneeInput; - - @Field(() => CommentThreadCreateWithoutAssigneeInput, {nullable:false}) - @Type(() => CommentThreadCreateWithoutAssigneeInput) - create!: CommentThreadCreateWithoutAssigneeInput; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-upsert-with-where-unique-without-author.input.ts b/server/src/core/@generated/comment-thread/comment-thread-upsert-with-where-unique-without-author.input.ts deleted file mode 100644 index d85d75c21..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-upsert-with-where-unique-without-author.input.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { CommentThreadWhereUniqueInput } from './comment-thread-where-unique.input'; -import { Type } from 'class-transformer'; -import { CommentThreadUpdateWithoutAuthorInput } from './comment-thread-update-without-author.input'; -import { CommentThreadCreateWithoutAuthorInput } from './comment-thread-create-without-author.input'; - -@InputType() -export class CommentThreadUpsertWithWhereUniqueWithoutAuthorInput { - - @Field(() => CommentThreadWhereUniqueInput, {nullable:false}) - @Type(() => CommentThreadWhereUniqueInput) - where!: CommentThreadWhereUniqueInput; - - @Field(() => CommentThreadUpdateWithoutAuthorInput, {nullable:false}) - @Type(() => CommentThreadUpdateWithoutAuthorInput) - update!: CommentThreadUpdateWithoutAuthorInput; - - @Field(() => CommentThreadCreateWithoutAuthorInput, {nullable:false}) - @Type(() => CommentThreadCreateWithoutAuthorInput) - create!: CommentThreadCreateWithoutAuthorInput; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-upsert-with-where-unique-without-workspace.input.ts b/server/src/core/@generated/comment-thread/comment-thread-upsert-with-where-unique-without-workspace.input.ts deleted file mode 100644 index c8f510307..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-upsert-with-where-unique-without-workspace.input.ts +++ /dev/null @@ -1,22 +0,0 @@ -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/core/@generated/comment-thread/comment-thread-upsert-without-comment-thread-targets.input.ts b/server/src/core/@generated/comment-thread/comment-thread-upsert-without-comment-thread-targets.input.ts deleted file mode 100644 index f2e22c6db..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-upsert-without-comment-thread-targets.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -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/core/@generated/comment-thread/comment-thread-upsert-without-comments.input.ts b/server/src/core/@generated/comment-thread/comment-thread-upsert-without-comments.input.ts deleted file mode 100644 index 0c3183312..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-upsert-without-comments.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -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/core/@generated/comment-thread/comment-thread-where-unique.input.ts b/server/src/core/@generated/comment-thread/comment-thread-where-unique.input.ts deleted file mode 100644 index c9afee05b..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-where-unique.input.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; - -@InputType() -export class CommentThreadWhereUniqueInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread-where.input.ts b/server/src/core/@generated/comment-thread/comment-thread-where.input.ts deleted file mode 100644 index 553ec5c3a..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread-where.input.ts +++ /dev/null @@ -1,79 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFilter } from '../prisma/string-filter.input'; -import { HideField } from '@nestjs/graphql'; -import { StringNullableFilter } from '../prisma/string-nullable-filter.input'; -import { EnumActivityTypeFilter } from '../prisma/enum-activity-type-filter.input'; -import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input'; -import { DateTimeFilter } from '../prisma/date-time-filter.input'; -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'; -import { UserRelationFilter } from '../user/user-relation-filter.input'; - -@InputType() -export class CommentThreadWhereInput { - - @Field(() => [CommentThreadWhereInput], {nullable:true}) - AND?: Array; - - @Field(() => [CommentThreadWhereInput], {nullable:true}) - OR?: Array; - - @Field(() => [CommentThreadWhereInput], {nullable:true}) - NOT?: Array; - - @Field(() => StringFilter, {nullable:true}) - id?: StringFilter; - - @HideField() - workspaceId?: StringFilter; - - @Field(() => StringFilter, {nullable:true}) - authorId?: StringFilter; - - @Field(() => StringNullableFilter, {nullable:true}) - body?: StringNullableFilter; - - @Field(() => StringNullableFilter, {nullable:true}) - title?: StringNullableFilter; - - @Field(() => EnumActivityTypeFilter, {nullable:true}) - type?: EnumActivityTypeFilter; - - @Field(() => DateTimeNullableFilter, {nullable:true}) - reminderAt?: DateTimeNullableFilter; - - @Field(() => DateTimeNullableFilter, {nullable:true}) - dueAt?: DateTimeNullableFilter; - - @Field(() => DateTimeNullableFilter, {nullable:true}) - completedAt?: DateTimeNullableFilter; - - @Field(() => StringNullableFilter, {nullable:true}) - assigneeId?: StringNullableFilter; - - @HideField() - deletedAt?: DateTimeNullableFilter; - - @Field(() => DateTimeFilter, {nullable:true}) - createdAt?: DateTimeFilter; - - @Field(() => DateTimeFilter, {nullable:true}) - updatedAt?: DateTimeFilter; - - @Field(() => CommentThreadTargetListRelationFilter, {nullable:true}) - commentThreadTargets?: CommentThreadTargetListRelationFilter; - - @Field(() => CommentListRelationFilter, {nullable:true}) - comments?: CommentListRelationFilter; - - @HideField() - workspace?: WorkspaceRelationFilter; - - @Field(() => UserRelationFilter, {nullable:true}) - author?: UserRelationFilter; - - @Field(() => UserRelationFilter, {nullable:true}) - assignee?: UserRelationFilter; -} diff --git a/server/src/core/@generated/comment-thread/comment-thread.model.ts b/server/src/core/@generated/comment-thread/comment-thread.model.ts deleted file mode 100644 index 8ae7b5f29..000000000 --- a/server/src/core/@generated/comment-thread/comment-thread.model.ts +++ /dev/null @@ -1,71 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import { ID } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; -import { ActivityType } from '../prisma/activity-type.enum'; -import { CommentThreadTarget } from '../comment-thread-target/comment-thread-target.model'; -import { Comment } from '../comment/comment.model'; -import { Workspace } from '../workspace/workspace.model'; -import { User } from '../user/user.model'; -import { CommentThreadCount } from '../comment/comment-thread-count.output'; - -@ObjectType() -export class CommentThread { - - @Field(() => ID, {nullable:false}) - id!: string; - - @HideField() - workspaceId!: string; - - @Field(() => String, {nullable:false}) - authorId!: string; - - @Field(() => String, {nullable:true}) - body!: string | null; - - @Field(() => String, {nullable:true}) - title!: string | null; - - @Field(() => ActivityType, {nullable:false,defaultValue:'Note'}) - type!: keyof typeof ActivityType; - - @Field(() => Date, {nullable:true}) - reminderAt!: Date | null; - - @Field(() => Date, {nullable:true}) - dueAt!: Date | null; - - @Field(() => Date, {nullable:true}) - completedAt!: Date | null; - - @Field(() => String, {nullable:true}) - assigneeId!: string | null; - - @HideField() - deletedAt!: Date | null; - - @Field(() => Date, {nullable:false}) - createdAt!: Date; - - @Field(() => Date, {nullable:false}) - updatedAt!: Date; - - @Field(() => [CommentThreadTarget], {nullable:true}) - commentThreadTargets?: Array; - - @Field(() => [Comment], {nullable:true}) - comments?: Array; - - @HideField() - workspace?: Workspace; - - @Field(() => User, {nullable:false}) - author?: User; - - @Field(() => User, {nullable:true}) - assignee?: User | null; - - @HideField() - _count?: CommentThreadCount; -} diff --git a/server/src/core/@generated/comment-thread/create-many-comment-thread.args.ts b/server/src/core/@generated/comment-thread/create-many-comment-thread.args.ts deleted file mode 100644 index eb14acb1b..000000000 --- a/server/src/core/@generated/comment-thread/create-many-comment-thread.args.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { CommentThreadCreateManyInput } from './comment-thread-create-many.input'; -import { Type } from 'class-transformer'; -import { ValidateNested } from 'class-validator'; - -@ArgsType() -export class CreateManyCommentThreadArgs { - - @Field(() => [CommentThreadCreateManyInput], {nullable:false}) - @Type(() => CommentThreadCreateManyInput) - @ValidateNested({each: true}) - @Type(() => CommentThreadCreateManyInput) - data!: Array; - - @Field(() => Boolean, {nullable:true}) - skipDuplicates?: boolean; -} diff --git a/server/src/core/@generated/comment-thread/create-one-comment-thread.args.ts b/server/src/core/@generated/comment-thread/create-one-comment-thread.args.ts deleted file mode 100644 index 20ed8d3e5..000000000 --- a/server/src/core/@generated/comment-thread/create-one-comment-thread.args.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { CommentThreadCreateInput } from './comment-thread-create.input'; -import { Type } from 'class-transformer'; -import { ValidateNested } from 'class-validator'; - -@ArgsType() -export class CreateOneCommentThreadArgs { - - @Field(() => CommentThreadCreateInput, {nullable:false}) - @Type(() => CommentThreadCreateInput) - @ValidateNested({each: true}) - @Type(() => CommentThreadCreateInput) - data!: CommentThreadCreateInput; -} diff --git a/server/src/core/@generated/comment-thread/delete-many-comment-thread.args.ts b/server/src/core/@generated/comment-thread/delete-many-comment-thread.args.ts deleted file mode 100644 index 1cc525ab6..000000000 --- a/server/src/core/@generated/comment-thread/delete-many-comment-thread.args.ts +++ /dev/null @@ -1,12 +0,0 @@ -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/core/@generated/comment-thread/delete-one-comment-thread.args.ts b/server/src/core/@generated/comment-thread/delete-one-comment-thread.args.ts deleted file mode 100644 index ebb54bcd4..000000000 --- a/server/src/core/@generated/comment-thread/delete-one-comment-thread.args.ts +++ /dev/null @@ -1,12 +0,0 @@ -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/core/@generated/comment-thread/find-first-comment-thread-or-throw.args.ts b/server/src/core/@generated/comment-thread/find-first-comment-thread-or-throw.args.ts deleted file mode 100644 index 96a66405a..000000000 --- a/server/src/core/@generated/comment-thread/find-first-comment-thread-or-throw.args.ts +++ /dev/null @@ -1,31 +0,0 @@ -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; - - @Field(() => CommentThreadWhereUniqueInput, {nullable:true}) - cursor?: CommentThreadWhereUniqueInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [CommentThreadScalarFieldEnum], {nullable:true}) - distinct?: Array; -} diff --git a/server/src/core/@generated/comment-thread/find-first-comment-thread.args.ts b/server/src/core/@generated/comment-thread/find-first-comment-thread.args.ts deleted file mode 100644 index 35d0b5dfa..000000000 --- a/server/src/core/@generated/comment-thread/find-first-comment-thread.args.ts +++ /dev/null @@ -1,31 +0,0 @@ -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; - - @Field(() => CommentThreadWhereUniqueInput, {nullable:true}) - cursor?: CommentThreadWhereUniqueInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [CommentThreadScalarFieldEnum], {nullable:true}) - distinct?: Array; -} diff --git a/server/src/core/@generated/comment-thread/find-many-comment-thread.args.ts b/server/src/core/@generated/comment-thread/find-many-comment-thread.args.ts deleted file mode 100644 index b1b4d0d8c..000000000 --- a/server/src/core/@generated/comment-thread/find-many-comment-thread.args.ts +++ /dev/null @@ -1,31 +0,0 @@ -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; - - @Field(() => CommentThreadWhereUniqueInput, {nullable:true}) - cursor?: CommentThreadWhereUniqueInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [CommentThreadScalarFieldEnum], {nullable:true}) - distinct?: Array; -} diff --git a/server/src/core/@generated/comment-thread/find-unique-comment-thread-or-throw.args.ts b/server/src/core/@generated/comment-thread/find-unique-comment-thread-or-throw.args.ts deleted file mode 100644 index 95c5de11d..000000000 --- a/server/src/core/@generated/comment-thread/find-unique-comment-thread-or-throw.args.ts +++ /dev/null @@ -1,12 +0,0 @@ -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/core/@generated/comment-thread/find-unique-comment-thread.args.ts b/server/src/core/@generated/comment-thread/find-unique-comment-thread.args.ts deleted file mode 100644 index c52949f03..000000000 --- a/server/src/core/@generated/comment-thread/find-unique-comment-thread.args.ts +++ /dev/null @@ -1,12 +0,0 @@ -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/core/@generated/comment-thread/update-many-comment-thread.args.ts b/server/src/core/@generated/comment-thread/update-many-comment-thread.args.ts deleted file mode 100644 index ccf3aeaf4..000000000 --- a/server/src/core/@generated/comment-thread/update-many-comment-thread.args.ts +++ /dev/null @@ -1,20 +0,0 @@ -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 { ValidateNested } from 'class-validator'; -import { CommentThreadWhereInput } from './comment-thread-where.input'; - -@ArgsType() -export class UpdateManyCommentThreadArgs { - - @Field(() => CommentThreadUpdateManyMutationInput, {nullable:false}) - @Type(() => CommentThreadUpdateManyMutationInput) - @ValidateNested({each: true}) - @Type(() => CommentThreadUpdateManyMutationInput) - data!: CommentThreadUpdateManyMutationInput; - - @Field(() => CommentThreadWhereInput, {nullable:true}) - @Type(() => CommentThreadWhereInput) - where?: CommentThreadWhereInput; -} diff --git a/server/src/core/@generated/comment-thread/update-one-comment-thread.args.ts b/server/src/core/@generated/comment-thread/update-one-comment-thread.args.ts deleted file mode 100644 index 0c7ba7277..000000000 --- a/server/src/core/@generated/comment-thread/update-one-comment-thread.args.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { CommentThreadUpdateInput } from './comment-thread-update.input'; -import { Type } from 'class-transformer'; -import { ValidateNested } from 'class-validator'; -import { CommentThreadWhereUniqueInput } from './comment-thread-where-unique.input'; - -@ArgsType() -export class UpdateOneCommentThreadArgs { - - @Field(() => CommentThreadUpdateInput, {nullable:false}) - @Type(() => CommentThreadUpdateInput) - @ValidateNested({each: true}) - @Type(() => CommentThreadUpdateInput) - data!: CommentThreadUpdateInput; - - @Field(() => CommentThreadWhereUniqueInput, {nullable:false}) - @Type(() => CommentThreadWhereUniqueInput) - where!: CommentThreadWhereUniqueInput; -} diff --git a/server/src/core/@generated/comment-thread/upsert-one-comment-thread.args.ts b/server/src/core/@generated/comment-thread/upsert-one-comment-thread.args.ts deleted file mode 100644 index 6b17a6d4b..000000000 --- a/server/src/core/@generated/comment-thread/upsert-one-comment-thread.args.ts +++ /dev/null @@ -1,22 +0,0 @@ -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/core/@generated/comment/aggregate-comment.output.ts b/server/src/core/@generated/comment/aggregate-comment.output.ts deleted file mode 100644 index 3090623aa..000000000 --- a/server/src/core/@generated/comment/aggregate-comment.output.ts +++ /dev/null @@ -1,18 +0,0 @@ -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/core/@generated/comment/comment-aggregate.args.ts b/server/src/core/@generated/comment/comment-aggregate.args.ts deleted file mode 100644 index 4d61071db..000000000 --- a/server/src/core/@generated/comment/comment-aggregate.args.ts +++ /dev/null @@ -1,39 +0,0 @@ -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; - - @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/core/@generated/comment/comment-count-aggregate.input.ts b/server/src/core/@generated/comment/comment-count-aggregate.input.ts deleted file mode 100644 index 89af0ecef..000000000 --- a/server/src/core/@generated/comment/comment-count-aggregate.input.ts +++ /dev/null @@ -1,34 +0,0 @@ -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}) - body?: true; - - @Field(() => Boolean, {nullable:true}) - authorId?: true; - - @Field(() => Boolean, {nullable:true}) - commentThreadId?: true; - - @HideField() - workspaceId?: true; - - @HideField() - deletedAt?: true; - - @Field(() => Boolean, {nullable:true}) - createdAt?: true; - - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; - - @Field(() => Boolean, {nullable:true}) - _all?: true; -} diff --git a/server/src/core/@generated/comment/comment-count-aggregate.output.ts b/server/src/core/@generated/comment/comment-count-aggregate.output.ts deleted file mode 100644 index c9698a2e8..000000000 --- a/server/src/core/@generated/comment/comment-count-aggregate.output.ts +++ /dev/null @@ -1,35 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import { Int } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; - -@ObjectType() -export class CommentCountAggregate { - - @Field(() => Int, {nullable:false}) - id!: number; - - @Field(() => Int, {nullable:false}) - body!: number; - - @Field(() => Int, {nullable:false}) - authorId!: number; - - @Field(() => Int, {nullable:false}) - commentThreadId!: number; - - @HideField() - workspaceId!: number; - - @HideField() - deletedAt!: number; - - @Field(() => Int, {nullable:false}) - createdAt!: number; - - @Field(() => Int, {nullable:false}) - updatedAt!: number; - - @Field(() => Int, {nullable:false}) - _all!: number; -} diff --git a/server/src/core/@generated/comment/comment-count-order-by-aggregate.input.ts b/server/src/core/@generated/comment/comment-count-order-by-aggregate.input.ts deleted file mode 100644 index 46177b8da..000000000 --- a/server/src/core/@generated/comment/comment-count-order-by-aggregate.input.ts +++ /dev/null @@ -1,32 +0,0 @@ -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}) - 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; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; -} diff --git a/server/src/core/@generated/comment/comment-create-many-author-input-envelope.input.ts b/server/src/core/@generated/comment/comment-create-many-author-input-envelope.input.ts deleted file mode 100644 index 2dd543bda..000000000 --- a/server/src/core/@generated/comment/comment-create-many-author-input-envelope.input.ts +++ /dev/null @@ -1,15 +0,0 @@ -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; - - @Field(() => Boolean, {nullable:true}) - skipDuplicates?: boolean; -} diff --git a/server/src/core/@generated/comment/comment-create-many-author.input.ts b/server/src/core/@generated/comment/comment-create-many-author.input.ts deleted file mode 100644 index d7c870533..000000000 --- a/server/src/core/@generated/comment/comment-create-many-author.input.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class CommentCreateManyAuthorInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - body!: string; - - @Field(() => String, {nullable:false}) - commentThreadId!: string; - - @HideField() - workspaceId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/comment/comment-create-many-comment-thread-input-envelope.input.ts b/server/src/core/@generated/comment/comment-create-many-comment-thread-input-envelope.input.ts deleted file mode 100644 index f3ec51dfb..000000000 --- a/server/src/core/@generated/comment/comment-create-many-comment-thread-input-envelope.input.ts +++ /dev/null @@ -1,15 +0,0 @@ -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; - - @Field(() => Boolean, {nullable:true}) - skipDuplicates?: boolean; -} diff --git a/server/src/core/@generated/comment/comment-create-many-comment-thread.input.ts b/server/src/core/@generated/comment/comment-create-many-comment-thread.input.ts deleted file mode 100644 index 2bb1a8576..000000000 --- a/server/src/core/@generated/comment/comment-create-many-comment-thread.input.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class CommentCreateManyCommentThreadInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - body!: string; - - @Field(() => String, {nullable:false}) - authorId!: string; - - @HideField() - workspaceId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/comment/comment-create-many-workspace-input-envelope.input.ts b/server/src/core/@generated/comment/comment-create-many-workspace-input-envelope.input.ts deleted file mode 100644 index 46a7cad7e..000000000 --- a/server/src/core/@generated/comment/comment-create-many-workspace-input-envelope.input.ts +++ /dev/null @@ -1,15 +0,0 @@ -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; - - @Field(() => Boolean, {nullable:true}) - skipDuplicates?: boolean; -} diff --git a/server/src/core/@generated/comment/comment-create-many-workspace.input.ts b/server/src/core/@generated/comment/comment-create-many-workspace.input.ts deleted file mode 100644 index 7ae9a8982..000000000 --- a/server/src/core/@generated/comment/comment-create-many-workspace.input.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class CommentCreateManyWorkspaceInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - body!: string; - - @Field(() => String, {nullable:false}) - authorId!: string; - - @Field(() => String, {nullable:false}) - commentThreadId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/comment/comment-create-many.input.ts b/server/src/core/@generated/comment/comment-create-many.input.ts deleted file mode 100644 index 7ebf705b7..000000000 --- a/server/src/core/@generated/comment/comment-create-many.input.ts +++ /dev/null @@ -1,35 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class CommentCreateManyInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - body!: string; - - @Field(() => String, {nullable:false}) - authorId!: string; - - @Field(() => String, {nullable:false}) - commentThreadId!: string; - - @HideField() - workspaceId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/comment/comment-create-nested-many-without-author.input.ts b/server/src/core/@generated/comment/comment-create-nested-many-without-author.input.ts deleted file mode 100644 index 1f56e0c8d..000000000 --- a/server/src/core/@generated/comment/comment-create-nested-many-without-author.input.ts +++ /dev/null @@ -1,27 +0,0 @@ -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; - - @Field(() => [CommentCreateOrConnectWithoutAuthorInput], {nullable:true}) - @Type(() => CommentCreateOrConnectWithoutAuthorInput) - connectOrCreate?: Array; - - @Field(() => CommentCreateManyAuthorInputEnvelope, {nullable:true}) - @Type(() => CommentCreateManyAuthorInputEnvelope) - createMany?: CommentCreateManyAuthorInputEnvelope; - - @Field(() => [CommentWhereUniqueInput], {nullable:true}) - @Type(() => CommentWhereUniqueInput) - connect?: Array; -} diff --git a/server/src/core/@generated/comment/comment-create-nested-many-without-comment-thread.input.ts b/server/src/core/@generated/comment/comment-create-nested-many-without-comment-thread.input.ts deleted file mode 100644 index 409ffaf22..000000000 --- a/server/src/core/@generated/comment/comment-create-nested-many-without-comment-thread.input.ts +++ /dev/null @@ -1,25 +0,0 @@ -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; - - @HideField() - connectOrCreate?: Array; - - @Field(() => CommentCreateManyCommentThreadInputEnvelope, {nullable:true}) - @Type(() => CommentCreateManyCommentThreadInputEnvelope) - createMany?: CommentCreateManyCommentThreadInputEnvelope; - - @HideField() - connect?: Array; -} diff --git a/server/src/core/@generated/comment/comment-create-nested-many-without-workspace.input.ts b/server/src/core/@generated/comment/comment-create-nested-many-without-workspace.input.ts deleted file mode 100644 index a4942400b..000000000 --- a/server/src/core/@generated/comment/comment-create-nested-many-without-workspace.input.ts +++ /dev/null @@ -1,27 +0,0 @@ -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; - - @Field(() => [CommentCreateOrConnectWithoutWorkspaceInput], {nullable:true}) - @Type(() => CommentCreateOrConnectWithoutWorkspaceInput) - connectOrCreate?: Array; - - @Field(() => CommentCreateManyWorkspaceInputEnvelope, {nullable:true}) - @Type(() => CommentCreateManyWorkspaceInputEnvelope) - createMany?: CommentCreateManyWorkspaceInputEnvelope; - - @Field(() => [CommentWhereUniqueInput], {nullable:true}) - @Type(() => CommentWhereUniqueInput) - connect?: Array; -} diff --git a/server/src/core/@generated/comment/comment-create-or-connect-without-author.input.ts b/server/src/core/@generated/comment/comment-create-or-connect-without-author.input.ts deleted file mode 100644 index b893b78b0..000000000 --- a/server/src/core/@generated/comment/comment-create-or-connect-without-author.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -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/core/@generated/comment/comment-create-or-connect-without-comment-thread.input.ts b/server/src/core/@generated/comment/comment-create-or-connect-without-comment-thread.input.ts deleted file mode 100644 index f6e712ce8..000000000 --- a/server/src/core/@generated/comment/comment-create-or-connect-without-comment-thread.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -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/core/@generated/comment/comment-create-or-connect-without-workspace.input.ts b/server/src/core/@generated/comment/comment-create-or-connect-without-workspace.input.ts deleted file mode 100644 index 51461f038..000000000 --- a/server/src/core/@generated/comment/comment-create-or-connect-without-workspace.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -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/core/@generated/comment/comment-create-without-author.input.ts b/server/src/core/@generated/comment/comment-create-without-author.input.ts deleted file mode 100644 index 2ac660538..000000000 --- a/server/src/core/@generated/comment/comment-create-without-author.input.ts +++ /dev/null @@ -1,34 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } 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'; - -@InputType() -export class CommentCreateWithoutAuthorInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - body!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => CommentThreadCreateNestedOneWithoutCommentsInput, {nullable:false}) - commentThread!: CommentThreadCreateNestedOneWithoutCommentsInput; - - @HideField() - workspace!: WorkspaceCreateNestedOneWithoutCommentsInput; -} diff --git a/server/src/core/@generated/comment/comment-create-without-comment-thread.input.ts b/server/src/core/@generated/comment/comment-create-without-comment-thread.input.ts deleted file mode 100644 index 308a1080c..000000000 --- a/server/src/core/@generated/comment/comment-create-without-comment-thread.input.ts +++ /dev/null @@ -1,34 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } 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'; - -@InputType() -export class CommentCreateWithoutCommentThreadInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - body!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => UserCreateNestedOneWithoutCommentsInput, {nullable:false}) - author!: UserCreateNestedOneWithoutCommentsInput; - - @HideField() - workspace!: WorkspaceCreateNestedOneWithoutCommentsInput; -} diff --git a/server/src/core/@generated/comment/comment-create-without-workspace.input.ts b/server/src/core/@generated/comment/comment-create-without-workspace.input.ts deleted file mode 100644 index e10ec5cbe..000000000 --- a/server/src/core/@generated/comment/comment-create-without-workspace.input.ts +++ /dev/null @@ -1,34 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } 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:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - body!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => UserCreateNestedOneWithoutCommentsInput, {nullable:false}) - author!: UserCreateNestedOneWithoutCommentsInput; - - @Field(() => CommentThreadCreateNestedOneWithoutCommentsInput, {nullable:false}) - commentThread!: CommentThreadCreateNestedOneWithoutCommentsInput; -} diff --git a/server/src/core/@generated/comment/comment-create.input.ts b/server/src/core/@generated/comment/comment-create.input.ts deleted file mode 100644 index 1c1ae3c64..000000000 --- a/server/src/core/@generated/comment/comment-create.input.ts +++ /dev/null @@ -1,38 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } 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'; - -@InputType() -export class CommentCreateInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - body!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => UserCreateNestedOneWithoutCommentsInput, {nullable:false}) - author!: UserCreateNestedOneWithoutCommentsInput; - - @Field(() => CommentThreadCreateNestedOneWithoutCommentsInput, {nullable:false}) - commentThread!: CommentThreadCreateNestedOneWithoutCommentsInput; - - @HideField() - workspace!: WorkspaceCreateNestedOneWithoutCommentsInput; -} diff --git a/server/src/core/@generated/comment/comment-group-by.args.ts b/server/src/core/@generated/comment/comment-group-by.args.ts deleted file mode 100644 index a3521aba4..000000000 --- a/server/src/core/@generated/comment/comment-group-by.args.ts +++ /dev/null @@ -1,43 +0,0 @@ -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; - - @Field(() => [CommentScalarFieldEnum], {nullable:false}) - by!: Array; - - @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/core/@generated/comment/comment-group-by.output.ts b/server/src/core/@generated/comment/comment-group-by.output.ts deleted file mode 100644 index bfe52f64a..000000000 --- a/server/src/core/@generated/comment/comment-group-by.output.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } 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}) - @Validator.IsString() - @Validator.IsOptional() - id!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - body!: string; - - @Field(() => String, {nullable:false}) - authorId!: string; - - @Field(() => String, {nullable:false}) - commentThreadId!: string; - - @HideField() - workspaceId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:false}) - createdAt!: Date | string; - - @Field(() => Date, {nullable:false}) - updatedAt!: Date | string; - - @Field(() => CommentCountAggregate, {nullable:true}) - _count?: CommentCountAggregate; - - @Field(() => CommentMinAggregate, {nullable:true}) - _min?: CommentMinAggregate; - - @Field(() => CommentMaxAggregate, {nullable:true}) - _max?: CommentMaxAggregate; -} diff --git a/server/src/core/@generated/comment/comment-list-relation-filter.input.ts b/server/src/core/@generated/comment/comment-list-relation-filter.input.ts deleted file mode 100644 index 5f2ca5b29..000000000 --- a/server/src/core/@generated/comment/comment-list-relation-filter.input.ts +++ /dev/null @@ -1,16 +0,0 @@ -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/core/@generated/comment/comment-max-aggregate.input.ts b/server/src/core/@generated/comment/comment-max-aggregate.input.ts deleted file mode 100644 index ebf8cc128..000000000 --- a/server/src/core/@generated/comment/comment-max-aggregate.input.ts +++ /dev/null @@ -1,31 +0,0 @@ -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}) - body?: true; - - @Field(() => Boolean, {nullable:true}) - authorId?: true; - - @Field(() => Boolean, {nullable:true}) - commentThreadId?: true; - - @HideField() - workspaceId?: true; - - @HideField() - deletedAt?: true; - - @Field(() => Boolean, {nullable:true}) - createdAt?: true; - - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; -} diff --git a/server/src/core/@generated/comment/comment-max-aggregate.output.ts b/server/src/core/@generated/comment/comment-max-aggregate.output.ts deleted file mode 100644 index 76a42879c..000000000 --- a/server/src/core/@generated/comment/comment-max-aggregate.output.ts +++ /dev/null @@ -1,35 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; - -@ObjectType() -export class CommentMaxAggregate { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - body?: string; - - @Field(() => String, {nullable:true}) - authorId?: string; - - @Field(() => String, {nullable:true}) - commentThreadId?: string; - - @HideField() - workspaceId?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/comment/comment-max-order-by-aggregate.input.ts b/server/src/core/@generated/comment/comment-max-order-by-aggregate.input.ts deleted file mode 100644 index 66e4d5c39..000000000 --- a/server/src/core/@generated/comment/comment-max-order-by-aggregate.input.ts +++ /dev/null @@ -1,32 +0,0 @@ -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}) - 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; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; -} diff --git a/server/src/core/@generated/comment/comment-min-aggregate.input.ts b/server/src/core/@generated/comment/comment-min-aggregate.input.ts deleted file mode 100644 index 2191c600d..000000000 --- a/server/src/core/@generated/comment/comment-min-aggregate.input.ts +++ /dev/null @@ -1,31 +0,0 @@ -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}) - body?: true; - - @Field(() => Boolean, {nullable:true}) - authorId?: true; - - @Field(() => Boolean, {nullable:true}) - commentThreadId?: true; - - @HideField() - workspaceId?: true; - - @HideField() - deletedAt?: true; - - @Field(() => Boolean, {nullable:true}) - createdAt?: true; - - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; -} diff --git a/server/src/core/@generated/comment/comment-min-aggregate.output.ts b/server/src/core/@generated/comment/comment-min-aggregate.output.ts deleted file mode 100644 index 0aff5db28..000000000 --- a/server/src/core/@generated/comment/comment-min-aggregate.output.ts +++ /dev/null @@ -1,35 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; - -@ObjectType() -export class CommentMinAggregate { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - body?: string; - - @Field(() => String, {nullable:true}) - authorId?: string; - - @Field(() => String, {nullable:true}) - commentThreadId?: string; - - @HideField() - workspaceId?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/comment/comment-min-order-by-aggregate.input.ts b/server/src/core/@generated/comment/comment-min-order-by-aggregate.input.ts deleted file mode 100644 index 0cdfb6456..000000000 --- a/server/src/core/@generated/comment/comment-min-order-by-aggregate.input.ts +++ /dev/null @@ -1,32 +0,0 @@ -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}) - 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; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; -} diff --git a/server/src/core/@generated/comment/comment-order-by-relation-aggregate.input.ts b/server/src/core/@generated/comment/comment-order-by-relation-aggregate.input.ts deleted file mode 100644 index 6e4cb1816..000000000 --- a/server/src/core/@generated/comment/comment-order-by-relation-aggregate.input.ts +++ /dev/null @@ -1,10 +0,0 @@ -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/core/@generated/comment/comment-order-by-with-aggregation.input.ts b/server/src/core/@generated/comment/comment-order-by-with-aggregation.input.ts deleted file mode 100644 index 8e7b21f15..000000000 --- a/server/src/core/@generated/comment/comment-order-by-with-aggregation.input.ts +++ /dev/null @@ -1,44 +0,0 @@ -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}) - 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; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: 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/core/@generated/comment/comment-order-by-with-relation.input.ts b/server/src/core/@generated/comment/comment-order-by-with-relation.input.ts deleted file mode 100644 index 7336ca8ed..000000000 --- a/server/src/core/@generated/comment/comment-order-by-with-relation.input.ts +++ /dev/null @@ -1,44 +0,0 @@ -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}) - 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; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; - - @Field(() => UserOrderByWithRelationInput, {nullable:true}) - author?: UserOrderByWithRelationInput; - - @Field(() => CommentThreadOrderByWithRelationInput, {nullable:true}) - commentThread?: CommentThreadOrderByWithRelationInput; - - @HideField() - workspace?: WorkspaceOrderByWithRelationInput; -} diff --git a/server/src/core/@generated/comment/comment-scalar-field.enum.ts b/server/src/core/@generated/comment/comment-scalar-field.enum.ts deleted file mode 100644 index 0c3c0accf..000000000 --- a/server/src/core/@generated/comment/comment-scalar-field.enum.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { registerEnumType } from '@nestjs/graphql'; - -export enum CommentScalarFieldEnum { - id = "id", - body = "body", - authorId = "authorId", - commentThreadId = "commentThreadId", - workspaceId = "workspaceId", - deletedAt = "deletedAt", - createdAt = "createdAt", - updatedAt = "updatedAt" -} - - -registerEnumType(CommentScalarFieldEnum, { name: 'CommentScalarFieldEnum', description: undefined }) diff --git a/server/src/core/@generated/comment/comment-scalar-where-with-aggregates.input.ts b/server/src/core/@generated/comment/comment-scalar-where-with-aggregates.input.ts deleted file mode 100644 index f018ee34c..000000000 --- a/server/src/core/@generated/comment/comment-scalar-where-with-aggregates.input.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringWithAggregatesFilter } from '../prisma/string-with-aggregates-filter.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeNullableWithAggregatesFilter } from '../prisma/date-time-nullable-with-aggregates-filter.input'; -import { DateTimeWithAggregatesFilter } from '../prisma/date-time-with-aggregates-filter.input'; - -@InputType() -export class CommentScalarWhereWithAggregatesInput { - - @Field(() => [CommentScalarWhereWithAggregatesInput], {nullable:true}) - AND?: Array; - - @Field(() => [CommentScalarWhereWithAggregatesInput], {nullable:true}) - OR?: Array; - - @Field(() => [CommentScalarWhereWithAggregatesInput], {nullable:true}) - NOT?: Array; - - @Field(() => StringWithAggregatesFilter, {nullable:true}) - id?: StringWithAggregatesFilter; - - @Field(() => StringWithAggregatesFilter, {nullable:true}) - body?: StringWithAggregatesFilter; - - @Field(() => StringWithAggregatesFilter, {nullable:true}) - authorId?: StringWithAggregatesFilter; - - @Field(() => StringWithAggregatesFilter, {nullable:true}) - commentThreadId?: StringWithAggregatesFilter; - - @HideField() - workspaceId?: StringWithAggregatesFilter; - - @HideField() - deletedAt?: DateTimeNullableWithAggregatesFilter; - - @Field(() => DateTimeWithAggregatesFilter, {nullable:true}) - createdAt?: DateTimeWithAggregatesFilter; - - @Field(() => DateTimeWithAggregatesFilter, {nullable:true}) - updatedAt?: DateTimeWithAggregatesFilter; -} diff --git a/server/src/core/@generated/comment/comment-scalar-where.input.ts b/server/src/core/@generated/comment/comment-scalar-where.input.ts deleted file mode 100644 index 3ff125e3f..000000000 --- a/server/src/core/@generated/comment/comment-scalar-where.input.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFilter } from '../prisma/string-filter.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input'; -import { DateTimeFilter } from '../prisma/date-time-filter.input'; - -@InputType() -export class CommentScalarWhereInput { - - @Field(() => [CommentScalarWhereInput], {nullable:true}) - AND?: Array; - - @Field(() => [CommentScalarWhereInput], {nullable:true}) - OR?: Array; - - @Field(() => [CommentScalarWhereInput], {nullable:true}) - NOT?: Array; - - @Field(() => StringFilter, {nullable:true}) - id?: StringFilter; - - @Field(() => StringFilter, {nullable:true}) - body?: StringFilter; - - @Field(() => StringFilter, {nullable:true}) - authorId?: StringFilter; - - @Field(() => StringFilter, {nullable:true}) - commentThreadId?: StringFilter; - - @HideField() - workspaceId?: StringFilter; - - @HideField() - deletedAt?: DateTimeNullableFilter; - - @Field(() => DateTimeFilter, {nullable:true}) - createdAt?: DateTimeFilter; - - @Field(() => DateTimeFilter, {nullable:true}) - updatedAt?: DateTimeFilter; -} diff --git a/server/src/core/@generated/comment/comment-thread-count.output.ts b/server/src/core/@generated/comment/comment-thread-count.output.ts deleted file mode 100644 index 0476851b1..000000000 --- a/server/src/core/@generated/comment/comment-thread-count.output.ts +++ /dev/null @@ -1,13 +0,0 @@ -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/core/@generated/comment/comment-unchecked-create-nested-many-without-author.input.ts b/server/src/core/@generated/comment/comment-unchecked-create-nested-many-without-author.input.ts deleted file mode 100644 index 0123b316f..000000000 --- a/server/src/core/@generated/comment/comment-unchecked-create-nested-many-without-author.input.ts +++ /dev/null @@ -1,27 +0,0 @@ -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; - - @Field(() => [CommentCreateOrConnectWithoutAuthorInput], {nullable:true}) - @Type(() => CommentCreateOrConnectWithoutAuthorInput) - connectOrCreate?: Array; - - @Field(() => CommentCreateManyAuthorInputEnvelope, {nullable:true}) - @Type(() => CommentCreateManyAuthorInputEnvelope) - createMany?: CommentCreateManyAuthorInputEnvelope; - - @Field(() => [CommentWhereUniqueInput], {nullable:true}) - @Type(() => CommentWhereUniqueInput) - connect?: Array; -} diff --git a/server/src/core/@generated/comment/comment-unchecked-create-nested-many-without-comment-thread.input.ts b/server/src/core/@generated/comment/comment-unchecked-create-nested-many-without-comment-thread.input.ts deleted file mode 100644 index 11c133900..000000000 --- a/server/src/core/@generated/comment/comment-unchecked-create-nested-many-without-comment-thread.input.ts +++ /dev/null @@ -1,27 +0,0 @@ -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; - - @Field(() => [CommentCreateOrConnectWithoutCommentThreadInput], {nullable:true}) - @Type(() => CommentCreateOrConnectWithoutCommentThreadInput) - connectOrCreate?: Array; - - @Field(() => CommentCreateManyCommentThreadInputEnvelope, {nullable:true}) - @Type(() => CommentCreateManyCommentThreadInputEnvelope) - createMany?: CommentCreateManyCommentThreadInputEnvelope; - - @Field(() => [CommentWhereUniqueInput], {nullable:true}) - @Type(() => CommentWhereUniqueInput) - connect?: Array; -} diff --git a/server/src/core/@generated/comment/comment-unchecked-create-nested-many-without-workspace.input.ts b/server/src/core/@generated/comment/comment-unchecked-create-nested-many-without-workspace.input.ts deleted file mode 100644 index d28931a76..000000000 --- a/server/src/core/@generated/comment/comment-unchecked-create-nested-many-without-workspace.input.ts +++ /dev/null @@ -1,27 +0,0 @@ -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; - - @Field(() => [CommentCreateOrConnectWithoutWorkspaceInput], {nullable:true}) - @Type(() => CommentCreateOrConnectWithoutWorkspaceInput) - connectOrCreate?: Array; - - @Field(() => CommentCreateManyWorkspaceInputEnvelope, {nullable:true}) - @Type(() => CommentCreateManyWorkspaceInputEnvelope) - createMany?: CommentCreateManyWorkspaceInputEnvelope; - - @Field(() => [CommentWhereUniqueInput], {nullable:true}) - @Type(() => CommentWhereUniqueInput) - connect?: Array; -} diff --git a/server/src/core/@generated/comment/comment-unchecked-create-without-author.input.ts b/server/src/core/@generated/comment/comment-unchecked-create-without-author.input.ts deleted file mode 100644 index 6a0fae050..000000000 --- a/server/src/core/@generated/comment/comment-unchecked-create-without-author.input.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class CommentUncheckedCreateWithoutAuthorInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - body!: string; - - @Field(() => String, {nullable:false}) - commentThreadId!: string; - - @HideField() - workspaceId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/comment/comment-unchecked-create-without-comment-thread.input.ts b/server/src/core/@generated/comment/comment-unchecked-create-without-comment-thread.input.ts deleted file mode 100644 index b7a8b5e13..000000000 --- a/server/src/core/@generated/comment/comment-unchecked-create-without-comment-thread.input.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class CommentUncheckedCreateWithoutCommentThreadInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - body!: string; - - @Field(() => String, {nullable:false}) - authorId!: string; - - @HideField() - workspaceId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/comment/comment-unchecked-create-without-workspace.input.ts b/server/src/core/@generated/comment/comment-unchecked-create-without-workspace.input.ts deleted file mode 100644 index 3e1d391d1..000000000 --- a/server/src/core/@generated/comment/comment-unchecked-create-without-workspace.input.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class CommentUncheckedCreateWithoutWorkspaceInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - body!: string; - - @Field(() => String, {nullable:false}) - authorId!: string; - - @Field(() => String, {nullable:false}) - commentThreadId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/comment/comment-unchecked-create.input.ts b/server/src/core/@generated/comment/comment-unchecked-create.input.ts deleted file mode 100644 index 690de65f9..000000000 --- a/server/src/core/@generated/comment/comment-unchecked-create.input.ts +++ /dev/null @@ -1,35 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class CommentUncheckedCreateInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - body!: string; - - @Field(() => String, {nullable:false}) - authorId!: string; - - @Field(() => String, {nullable:false}) - commentThreadId!: string; - - @HideField() - workspaceId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/comment/comment-unchecked-update-many-without-author-nested.input.ts b/server/src/core/@generated/comment/comment-unchecked-update-many-without-author-nested.input.ts deleted file mode 100644 index faf2ceb9c..000000000 --- a/server/src/core/@generated/comment/comment-unchecked-update-many-without-author-nested.input.ts +++ /dev/null @@ -1,59 +0,0 @@ -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; - - @Field(() => [CommentCreateOrConnectWithoutAuthorInput], {nullable:true}) - @Type(() => CommentCreateOrConnectWithoutAuthorInput) - connectOrCreate?: Array; - - @Field(() => [CommentUpsertWithWhereUniqueWithoutAuthorInput], {nullable:true}) - @Type(() => CommentUpsertWithWhereUniqueWithoutAuthorInput) - upsert?: Array; - - @Field(() => CommentCreateManyAuthorInputEnvelope, {nullable:true}) - @Type(() => CommentCreateManyAuthorInputEnvelope) - createMany?: CommentCreateManyAuthorInputEnvelope; - - @Field(() => [CommentWhereUniqueInput], {nullable:true}) - @Type(() => CommentWhereUniqueInput) - set?: Array; - - @Field(() => [CommentWhereUniqueInput], {nullable:true}) - @Type(() => CommentWhereUniqueInput) - disconnect?: Array; - - @Field(() => [CommentWhereUniqueInput], {nullable:true}) - @Type(() => CommentWhereUniqueInput) - delete?: Array; - - @Field(() => [CommentWhereUniqueInput], {nullable:true}) - @Type(() => CommentWhereUniqueInput) - connect?: Array; - - @Field(() => [CommentUpdateWithWhereUniqueWithoutAuthorInput], {nullable:true}) - @Type(() => CommentUpdateWithWhereUniqueWithoutAuthorInput) - update?: Array; - - @Field(() => [CommentUpdateManyWithWhereWithoutAuthorInput], {nullable:true}) - @Type(() => CommentUpdateManyWithWhereWithoutAuthorInput) - updateMany?: Array; - - @Field(() => [CommentScalarWhereInput], {nullable:true}) - @Type(() => CommentScalarWhereInput) - deleteMany?: Array; -} diff --git a/server/src/core/@generated/comment/comment-unchecked-update-many-without-comment-thread-nested.input.ts b/server/src/core/@generated/comment/comment-unchecked-update-many-without-comment-thread-nested.input.ts deleted file mode 100644 index 1e74dacc5..000000000 --- a/server/src/core/@generated/comment/comment-unchecked-update-many-without-comment-thread-nested.input.ts +++ /dev/null @@ -1,59 +0,0 @@ -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; - - @Field(() => [CommentCreateOrConnectWithoutCommentThreadInput], {nullable:true}) - @Type(() => CommentCreateOrConnectWithoutCommentThreadInput) - connectOrCreate?: Array; - - @Field(() => [CommentUpsertWithWhereUniqueWithoutCommentThreadInput], {nullable:true}) - @Type(() => CommentUpsertWithWhereUniqueWithoutCommentThreadInput) - upsert?: Array; - - @Field(() => CommentCreateManyCommentThreadInputEnvelope, {nullable:true}) - @Type(() => CommentCreateManyCommentThreadInputEnvelope) - createMany?: CommentCreateManyCommentThreadInputEnvelope; - - @Field(() => [CommentWhereUniqueInput], {nullable:true}) - @Type(() => CommentWhereUniqueInput) - set?: Array; - - @Field(() => [CommentWhereUniqueInput], {nullable:true}) - @Type(() => CommentWhereUniqueInput) - disconnect?: Array; - - @Field(() => [CommentWhereUniqueInput], {nullable:true}) - @Type(() => CommentWhereUniqueInput) - delete?: Array; - - @Field(() => [CommentWhereUniqueInput], {nullable:true}) - @Type(() => CommentWhereUniqueInput) - connect?: Array; - - @Field(() => [CommentUpdateWithWhereUniqueWithoutCommentThreadInput], {nullable:true}) - @Type(() => CommentUpdateWithWhereUniqueWithoutCommentThreadInput) - update?: Array; - - @Field(() => [CommentUpdateManyWithWhereWithoutCommentThreadInput], {nullable:true}) - @Type(() => CommentUpdateManyWithWhereWithoutCommentThreadInput) - updateMany?: Array; - - @Field(() => [CommentScalarWhereInput], {nullable:true}) - @Type(() => CommentScalarWhereInput) - deleteMany?: Array; -} diff --git a/server/src/core/@generated/comment/comment-unchecked-update-many-without-comments.input.ts b/server/src/core/@generated/comment/comment-unchecked-update-many-without-comments.input.ts deleted file mode 100644 index 1802ebeef..000000000 --- a/server/src/core/@generated/comment/comment-unchecked-update-many-without-comments.input.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class CommentUncheckedUpdateManyWithoutCommentsInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - body?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - commentThreadId?: StringFieldUpdateOperationsInput; - - @HideField() - workspaceId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/comment/comment-unchecked-update-many-without-workspace-nested.input.ts b/server/src/core/@generated/comment/comment-unchecked-update-many-without-workspace-nested.input.ts deleted file mode 100644 index da3aad9b8..000000000 --- a/server/src/core/@generated/comment/comment-unchecked-update-many-without-workspace-nested.input.ts +++ /dev/null @@ -1,59 +0,0 @@ -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; - - @Field(() => [CommentCreateOrConnectWithoutWorkspaceInput], {nullable:true}) - @Type(() => CommentCreateOrConnectWithoutWorkspaceInput) - connectOrCreate?: Array; - - @Field(() => [CommentUpsertWithWhereUniqueWithoutWorkspaceInput], {nullable:true}) - @Type(() => CommentUpsertWithWhereUniqueWithoutWorkspaceInput) - upsert?: Array; - - @Field(() => CommentCreateManyWorkspaceInputEnvelope, {nullable:true}) - @Type(() => CommentCreateManyWorkspaceInputEnvelope) - createMany?: CommentCreateManyWorkspaceInputEnvelope; - - @Field(() => [CommentWhereUniqueInput], {nullable:true}) - @Type(() => CommentWhereUniqueInput) - set?: Array; - - @Field(() => [CommentWhereUniqueInput], {nullable:true}) - @Type(() => CommentWhereUniqueInput) - disconnect?: Array; - - @Field(() => [CommentWhereUniqueInput], {nullable:true}) - @Type(() => CommentWhereUniqueInput) - delete?: Array; - - @Field(() => [CommentWhereUniqueInput], {nullable:true}) - @Type(() => CommentWhereUniqueInput) - connect?: Array; - - @Field(() => [CommentUpdateWithWhereUniqueWithoutWorkspaceInput], {nullable:true}) - @Type(() => CommentUpdateWithWhereUniqueWithoutWorkspaceInput) - update?: Array; - - @Field(() => [CommentUpdateManyWithWhereWithoutWorkspaceInput], {nullable:true}) - @Type(() => CommentUpdateManyWithWhereWithoutWorkspaceInput) - updateMany?: Array; - - @Field(() => [CommentScalarWhereInput], {nullable:true}) - @Type(() => CommentScalarWhereInput) - deleteMany?: Array; -} diff --git a/server/src/core/@generated/comment/comment-unchecked-update-many.input.ts b/server/src/core/@generated/comment/comment-unchecked-update-many.input.ts deleted file mode 100644 index c5e8948eb..000000000 --- a/server/src/core/@generated/comment/comment-unchecked-update-many.input.ts +++ /dev/null @@ -1,34 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class CommentUncheckedUpdateManyInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - body?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - authorId?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - commentThreadId?: StringFieldUpdateOperationsInput; - - @HideField() - workspaceId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/comment/comment-unchecked-update-without-author.input.ts b/server/src/core/@generated/comment/comment-unchecked-update-without-author.input.ts deleted file mode 100644 index 025ec0409..000000000 --- a/server/src/core/@generated/comment/comment-unchecked-update-without-author.input.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class CommentUncheckedUpdateWithoutAuthorInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - body?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - commentThreadId?: StringFieldUpdateOperationsInput; - - @HideField() - workspaceId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/comment/comment-unchecked-update-without-comment-thread.input.ts b/server/src/core/@generated/comment/comment-unchecked-update-without-comment-thread.input.ts deleted file mode 100644 index 14d2d005b..000000000 --- a/server/src/core/@generated/comment/comment-unchecked-update-without-comment-thread.input.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class CommentUncheckedUpdateWithoutCommentThreadInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - body?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - authorId?: StringFieldUpdateOperationsInput; - - @HideField() - workspaceId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/comment/comment-unchecked-update-without-workspace.input.ts b/server/src/core/@generated/comment/comment-unchecked-update-without-workspace.input.ts deleted file mode 100644 index 173f3a1a0..000000000 --- a/server/src/core/@generated/comment/comment-unchecked-update-without-workspace.input.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class CommentUncheckedUpdateWithoutWorkspaceInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - body?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - authorId?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - commentThreadId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/comment/comment-unchecked-update.input.ts b/server/src/core/@generated/comment/comment-unchecked-update.input.ts deleted file mode 100644 index 7551d1c90..000000000 --- a/server/src/core/@generated/comment/comment-unchecked-update.input.ts +++ /dev/null @@ -1,34 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class CommentUncheckedUpdateInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - body?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - authorId?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - commentThreadId?: StringFieldUpdateOperationsInput; - - @HideField() - workspaceId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/comment/comment-update-many-mutation.input.ts b/server/src/core/@generated/comment/comment-update-many-mutation.input.ts deleted file mode 100644 index aa011be80..000000000 --- a/server/src/core/@generated/comment/comment-update-many-mutation.input.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class CommentUpdateManyMutationInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - body?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/comment/comment-update-many-with-where-without-author.input.ts b/server/src/core/@generated/comment/comment-update-many-with-where-without-author.input.ts deleted file mode 100644 index 5ddc8df26..000000000 --- a/server/src/core/@generated/comment/comment-update-many-with-where-without-author.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -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/core/@generated/comment/comment-update-many-with-where-without-comment-thread.input.ts b/server/src/core/@generated/comment/comment-update-many-with-where-without-comment-thread.input.ts deleted file mode 100644 index 6b30b64e3..000000000 --- a/server/src/core/@generated/comment/comment-update-many-with-where-without-comment-thread.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -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/core/@generated/comment/comment-update-many-with-where-without-workspace.input.ts b/server/src/core/@generated/comment/comment-update-many-with-where-without-workspace.input.ts deleted file mode 100644 index d92c0404d..000000000 --- a/server/src/core/@generated/comment/comment-update-many-with-where-without-workspace.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -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/core/@generated/comment/comment-update-many-without-author-nested.input.ts b/server/src/core/@generated/comment/comment-update-many-without-author-nested.input.ts deleted file mode 100644 index deb0372ab..000000000 --- a/server/src/core/@generated/comment/comment-update-many-without-author-nested.input.ts +++ /dev/null @@ -1,59 +0,0 @@ -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; - - @Field(() => [CommentCreateOrConnectWithoutAuthorInput], {nullable:true}) - @Type(() => CommentCreateOrConnectWithoutAuthorInput) - connectOrCreate?: Array; - - @Field(() => [CommentUpsertWithWhereUniqueWithoutAuthorInput], {nullable:true}) - @Type(() => CommentUpsertWithWhereUniqueWithoutAuthorInput) - upsert?: Array; - - @Field(() => CommentCreateManyAuthorInputEnvelope, {nullable:true}) - @Type(() => CommentCreateManyAuthorInputEnvelope) - createMany?: CommentCreateManyAuthorInputEnvelope; - - @Field(() => [CommentWhereUniqueInput], {nullable:true}) - @Type(() => CommentWhereUniqueInput) - set?: Array; - - @Field(() => [CommentWhereUniqueInput], {nullable:true}) - @Type(() => CommentWhereUniqueInput) - disconnect?: Array; - - @Field(() => [CommentWhereUniqueInput], {nullable:true}) - @Type(() => CommentWhereUniqueInput) - delete?: Array; - - @Field(() => [CommentWhereUniqueInput], {nullable:true}) - @Type(() => CommentWhereUniqueInput) - connect?: Array; - - @Field(() => [CommentUpdateWithWhereUniqueWithoutAuthorInput], {nullable:true}) - @Type(() => CommentUpdateWithWhereUniqueWithoutAuthorInput) - update?: Array; - - @Field(() => [CommentUpdateManyWithWhereWithoutAuthorInput], {nullable:true}) - @Type(() => CommentUpdateManyWithWhereWithoutAuthorInput) - updateMany?: Array; - - @Field(() => [CommentScalarWhereInput], {nullable:true}) - @Type(() => CommentScalarWhereInput) - deleteMany?: Array; -} diff --git a/server/src/core/@generated/comment/comment-update-many-without-comment-thread-nested.input.ts b/server/src/core/@generated/comment/comment-update-many-without-comment-thread-nested.input.ts deleted file mode 100644 index b19e9c4e2..000000000 --- a/server/src/core/@generated/comment/comment-update-many-without-comment-thread-nested.input.ts +++ /dev/null @@ -1,59 +0,0 @@ -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; - - @Field(() => [CommentCreateOrConnectWithoutCommentThreadInput], {nullable:true}) - @Type(() => CommentCreateOrConnectWithoutCommentThreadInput) - connectOrCreate?: Array; - - @Field(() => [CommentUpsertWithWhereUniqueWithoutCommentThreadInput], {nullable:true}) - @Type(() => CommentUpsertWithWhereUniqueWithoutCommentThreadInput) - upsert?: Array; - - @Field(() => CommentCreateManyCommentThreadInputEnvelope, {nullable:true}) - @Type(() => CommentCreateManyCommentThreadInputEnvelope) - createMany?: CommentCreateManyCommentThreadInputEnvelope; - - @Field(() => [CommentWhereUniqueInput], {nullable:true}) - @Type(() => CommentWhereUniqueInput) - set?: Array; - - @Field(() => [CommentWhereUniqueInput], {nullable:true}) - @Type(() => CommentWhereUniqueInput) - disconnect?: Array; - - @Field(() => [CommentWhereUniqueInput], {nullable:true}) - @Type(() => CommentWhereUniqueInput) - delete?: Array; - - @Field(() => [CommentWhereUniqueInput], {nullable:true}) - @Type(() => CommentWhereUniqueInput) - connect?: Array; - - @Field(() => [CommentUpdateWithWhereUniqueWithoutCommentThreadInput], {nullable:true}) - @Type(() => CommentUpdateWithWhereUniqueWithoutCommentThreadInput) - update?: Array; - - @Field(() => [CommentUpdateManyWithWhereWithoutCommentThreadInput], {nullable:true}) - @Type(() => CommentUpdateManyWithWhereWithoutCommentThreadInput) - updateMany?: Array; - - @Field(() => [CommentScalarWhereInput], {nullable:true}) - @Type(() => CommentScalarWhereInput) - deleteMany?: Array; -} diff --git a/server/src/core/@generated/comment/comment-update-many-without-workspace-nested.input.ts b/server/src/core/@generated/comment/comment-update-many-without-workspace-nested.input.ts deleted file mode 100644 index 2ec52ccc0..000000000 --- a/server/src/core/@generated/comment/comment-update-many-without-workspace-nested.input.ts +++ /dev/null @@ -1,59 +0,0 @@ -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; - - @Field(() => [CommentCreateOrConnectWithoutWorkspaceInput], {nullable:true}) - @Type(() => CommentCreateOrConnectWithoutWorkspaceInput) - connectOrCreate?: Array; - - @Field(() => [CommentUpsertWithWhereUniqueWithoutWorkspaceInput], {nullable:true}) - @Type(() => CommentUpsertWithWhereUniqueWithoutWorkspaceInput) - upsert?: Array; - - @Field(() => CommentCreateManyWorkspaceInputEnvelope, {nullable:true}) - @Type(() => CommentCreateManyWorkspaceInputEnvelope) - createMany?: CommentCreateManyWorkspaceInputEnvelope; - - @Field(() => [CommentWhereUniqueInput], {nullable:true}) - @Type(() => CommentWhereUniqueInput) - set?: Array; - - @Field(() => [CommentWhereUniqueInput], {nullable:true}) - @Type(() => CommentWhereUniqueInput) - disconnect?: Array; - - @Field(() => [CommentWhereUniqueInput], {nullable:true}) - @Type(() => CommentWhereUniqueInput) - delete?: Array; - - @Field(() => [CommentWhereUniqueInput], {nullable:true}) - @Type(() => CommentWhereUniqueInput) - connect?: Array; - - @Field(() => [CommentUpdateWithWhereUniqueWithoutWorkspaceInput], {nullable:true}) - @Type(() => CommentUpdateWithWhereUniqueWithoutWorkspaceInput) - update?: Array; - - @Field(() => [CommentUpdateManyWithWhereWithoutWorkspaceInput], {nullable:true}) - @Type(() => CommentUpdateManyWithWhereWithoutWorkspaceInput) - updateMany?: Array; - - @Field(() => [CommentScalarWhereInput], {nullable:true}) - @Type(() => CommentScalarWhereInput) - deleteMany?: Array; -} diff --git a/server/src/core/@generated/comment/comment-update-with-where-unique-without-author.input.ts b/server/src/core/@generated/comment/comment-update-with-where-unique-without-author.input.ts deleted file mode 100644 index 99673751f..000000000 --- a/server/src/core/@generated/comment/comment-update-with-where-unique-without-author.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -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/core/@generated/comment/comment-update-with-where-unique-without-comment-thread.input.ts b/server/src/core/@generated/comment/comment-update-with-where-unique-without-comment-thread.input.ts deleted file mode 100644 index 8d6693bce..000000000 --- a/server/src/core/@generated/comment/comment-update-with-where-unique-without-comment-thread.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -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/core/@generated/comment/comment-update-with-where-unique-without-workspace.input.ts b/server/src/core/@generated/comment/comment-update-with-where-unique-without-workspace.input.ts deleted file mode 100644 index d3fb34afe..000000000 --- a/server/src/core/@generated/comment/comment-update-with-where-unique-without-workspace.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -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/core/@generated/comment/comment-update-without-author.input.ts b/server/src/core/@generated/comment/comment-update-without-author.input.ts deleted file mode 100644 index 540ecb69e..000000000 --- a/server/src/core/@generated/comment/comment-update-without-author.input.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/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'; - -@InputType() -export class CommentUpdateWithoutAuthorInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - body?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => CommentThreadUpdateOneRequiredWithoutCommentsNestedInput, {nullable:true}) - commentThread?: CommentThreadUpdateOneRequiredWithoutCommentsNestedInput; - - @HideField() - workspace?: WorkspaceUpdateOneRequiredWithoutCommentsNestedInput; -} diff --git a/server/src/core/@generated/comment/comment-update-without-comment-thread.input.ts b/server/src/core/@generated/comment/comment-update-without-comment-thread.input.ts deleted file mode 100644 index 19ab20305..000000000 --- a/server/src/core/@generated/comment/comment-update-without-comment-thread.input.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/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'; - -@InputType() -export class CommentUpdateWithoutCommentThreadInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - body?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => UserUpdateOneRequiredWithoutCommentsNestedInput, {nullable:true}) - author?: UserUpdateOneRequiredWithoutCommentsNestedInput; - - @HideField() - workspace?: WorkspaceUpdateOneRequiredWithoutCommentsNestedInput; -} diff --git a/server/src/core/@generated/comment/comment-update-without-workspace.input.ts b/server/src/core/@generated/comment/comment-update-without-workspace.input.ts deleted file mode 100644 index f61c5d531..000000000 --- a/server/src/core/@generated/comment/comment-update-without-workspace.input.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/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(() => StringFieldUpdateOperationsInput, {nullable:true}) - body?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => UserUpdateOneRequiredWithoutCommentsNestedInput, {nullable:true}) - author?: UserUpdateOneRequiredWithoutCommentsNestedInput; - - @Field(() => CommentThreadUpdateOneRequiredWithoutCommentsNestedInput, {nullable:true}) - commentThread?: CommentThreadUpdateOneRequiredWithoutCommentsNestedInput; -} diff --git a/server/src/core/@generated/comment/comment-update.input.ts b/server/src/core/@generated/comment/comment-update.input.ts deleted file mode 100644 index c0bef523d..000000000 --- a/server/src/core/@generated/comment/comment-update.input.ts +++ /dev/null @@ -1,37 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/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'; - -@InputType() -export class CommentUpdateInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - body?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => UserUpdateOneRequiredWithoutCommentsNestedInput, {nullable:true}) - author?: UserUpdateOneRequiredWithoutCommentsNestedInput; - - @Field(() => CommentThreadUpdateOneRequiredWithoutCommentsNestedInput, {nullable:true}) - commentThread?: CommentThreadUpdateOneRequiredWithoutCommentsNestedInput; - - @HideField() - workspace?: WorkspaceUpdateOneRequiredWithoutCommentsNestedInput; -} diff --git a/server/src/core/@generated/comment/comment-upsert-with-where-unique-without-author.input.ts b/server/src/core/@generated/comment/comment-upsert-with-where-unique-without-author.input.ts deleted file mode 100644 index 65805bb90..000000000 --- a/server/src/core/@generated/comment/comment-upsert-with-where-unique-without-author.input.ts +++ /dev/null @@ -1,22 +0,0 @@ -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/core/@generated/comment/comment-upsert-with-where-unique-without-comment-thread.input.ts b/server/src/core/@generated/comment/comment-upsert-with-where-unique-without-comment-thread.input.ts deleted file mode 100644 index 1f99fb5c4..000000000 --- a/server/src/core/@generated/comment/comment-upsert-with-where-unique-without-comment-thread.input.ts +++ /dev/null @@ -1,22 +0,0 @@ -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/core/@generated/comment/comment-upsert-with-where-unique-without-workspace.input.ts b/server/src/core/@generated/comment/comment-upsert-with-where-unique-without-workspace.input.ts deleted file mode 100644 index 6e2cf71c2..000000000 --- a/server/src/core/@generated/comment/comment-upsert-with-where-unique-without-workspace.input.ts +++ /dev/null @@ -1,22 +0,0 @@ -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/core/@generated/comment/comment-where-unique.input.ts b/server/src/core/@generated/comment/comment-where-unique.input.ts deleted file mode 100644 index a7c8c8c41..000000000 --- a/server/src/core/@generated/comment/comment-where-unique.input.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; - -@InputType() -export class CommentWhereUniqueInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; -} diff --git a/server/src/core/@generated/comment/comment-where.input.ts b/server/src/core/@generated/comment/comment-where.input.ts deleted file mode 100644 index f48c7cf7f..000000000 --- a/server/src/core/@generated/comment/comment-where.input.ts +++ /dev/null @@ -1,55 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFilter } from '../prisma/string-filter.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input'; -import { DateTimeFilter } from '../prisma/date-time-filter.input'; -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; - - @Field(() => [CommentWhereInput], {nullable:true}) - OR?: Array; - - @Field(() => [CommentWhereInput], {nullable:true}) - NOT?: Array; - - @Field(() => StringFilter, {nullable:true}) - id?: StringFilter; - - @Field(() => StringFilter, {nullable:true}) - body?: StringFilter; - - @Field(() => StringFilter, {nullable:true}) - authorId?: StringFilter; - - @Field(() => StringFilter, {nullable:true}) - commentThreadId?: StringFilter; - - @HideField() - workspaceId?: StringFilter; - - @HideField() - deletedAt?: DateTimeNullableFilter; - - @Field(() => DateTimeFilter, {nullable:true}) - createdAt?: DateTimeFilter; - - @Field(() => DateTimeFilter, {nullable:true}) - updatedAt?: DateTimeFilter; - - @Field(() => UserRelationFilter, {nullable:true}) - author?: UserRelationFilter; - - @Field(() => CommentThreadRelationFilter, {nullable:true}) - commentThread?: CommentThreadRelationFilter; - - @HideField() - workspace?: WorkspaceRelationFilter; -} diff --git a/server/src/core/@generated/comment/comment.model.ts b/server/src/core/@generated/comment/comment.model.ts deleted file mode 100644 index 0b229f8c0..000000000 --- a/server/src/core/@generated/comment/comment.model.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import { ID } from '@nestjs/graphql'; -import { HideField } 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(() => String, {nullable:false}) - body!: string; - - @Field(() => String, {nullable:false}) - authorId!: string; - - @Field(() => String, {nullable:false}) - commentThreadId!: string; - - @HideField() - workspaceId!: string; - - @HideField() - deletedAt!: Date | null; - - @Field(() => Date, {nullable:false}) - createdAt!: Date; - - @Field(() => Date, {nullable:false}) - updatedAt!: Date; - - @Field(() => User, {nullable:false}) - author?: User; - - @Field(() => CommentThread, {nullable:false}) - commentThread?: CommentThread; - - @HideField() - workspace?: Workspace; -} diff --git a/server/src/core/@generated/comment/create-many-comment.args.ts b/server/src/core/@generated/comment/create-many-comment.args.ts deleted file mode 100644 index fc752ae2b..000000000 --- a/server/src/core/@generated/comment/create-many-comment.args.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { CommentCreateManyInput } from './comment-create-many.input'; -import { Type } from 'class-transformer'; -import { ValidateNested } from 'class-validator'; - -@ArgsType() -export class CreateManyCommentArgs { - - @Field(() => [CommentCreateManyInput], {nullable:false}) - @Type(() => CommentCreateManyInput) - @ValidateNested({each: true}) - @Type(() => CommentCreateManyInput) - data!: Array; - - @Field(() => Boolean, {nullable:true}) - skipDuplicates?: boolean; -} diff --git a/server/src/core/@generated/comment/create-one-comment.args.ts b/server/src/core/@generated/comment/create-one-comment.args.ts deleted file mode 100644 index 573b1a2e6..000000000 --- a/server/src/core/@generated/comment/create-one-comment.args.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { CommentCreateInput } from './comment-create.input'; -import { Type } from 'class-transformer'; -import { ValidateNested } from 'class-validator'; - -@ArgsType() -export class CreateOneCommentArgs { - - @Field(() => CommentCreateInput, {nullable:false}) - @Type(() => CommentCreateInput) - @ValidateNested({each: true}) - @Type(() => CommentCreateInput) - data!: CommentCreateInput; -} diff --git a/server/src/core/@generated/comment/delete-many-comment.args.ts b/server/src/core/@generated/comment/delete-many-comment.args.ts deleted file mode 100644 index 4570f3311..000000000 --- a/server/src/core/@generated/comment/delete-many-comment.args.ts +++ /dev/null @@ -1,12 +0,0 @@ -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/core/@generated/comment/delete-one-comment.args.ts b/server/src/core/@generated/comment/delete-one-comment.args.ts deleted file mode 100644 index 0ffd91719..000000000 --- a/server/src/core/@generated/comment/delete-one-comment.args.ts +++ /dev/null @@ -1,12 +0,0 @@ -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/core/@generated/comment/find-first-comment-or-throw.args.ts b/server/src/core/@generated/comment/find-first-comment-or-throw.args.ts deleted file mode 100644 index 5317e5937..000000000 --- a/server/src/core/@generated/comment/find-first-comment-or-throw.args.ts +++ /dev/null @@ -1,31 +0,0 @@ -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; - - @Field(() => CommentWhereUniqueInput, {nullable:true}) - cursor?: CommentWhereUniqueInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [CommentScalarFieldEnum], {nullable:true}) - distinct?: Array; -} diff --git a/server/src/core/@generated/comment/find-first-comment.args.ts b/server/src/core/@generated/comment/find-first-comment.args.ts deleted file mode 100644 index e70918566..000000000 --- a/server/src/core/@generated/comment/find-first-comment.args.ts +++ /dev/null @@ -1,31 +0,0 @@ -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; - - @Field(() => CommentWhereUniqueInput, {nullable:true}) - cursor?: CommentWhereUniqueInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [CommentScalarFieldEnum], {nullable:true}) - distinct?: Array; -} diff --git a/server/src/core/@generated/comment/find-many-comment.args.ts b/server/src/core/@generated/comment/find-many-comment.args.ts deleted file mode 100644 index 944a27ade..000000000 --- a/server/src/core/@generated/comment/find-many-comment.args.ts +++ /dev/null @@ -1,31 +0,0 @@ -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; - - @Field(() => CommentWhereUniqueInput, {nullable:true}) - cursor?: CommentWhereUniqueInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [CommentScalarFieldEnum], {nullable:true}) - distinct?: Array; -} diff --git a/server/src/core/@generated/comment/find-unique-comment-or-throw.args.ts b/server/src/core/@generated/comment/find-unique-comment-or-throw.args.ts deleted file mode 100644 index 11481c340..000000000 --- a/server/src/core/@generated/comment/find-unique-comment-or-throw.args.ts +++ /dev/null @@ -1,12 +0,0 @@ -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/core/@generated/comment/find-unique-comment.args.ts b/server/src/core/@generated/comment/find-unique-comment.args.ts deleted file mode 100644 index 1a9a2f734..000000000 --- a/server/src/core/@generated/comment/find-unique-comment.args.ts +++ /dev/null @@ -1,12 +0,0 @@ -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/core/@generated/comment/update-many-comment.args.ts b/server/src/core/@generated/comment/update-many-comment.args.ts deleted file mode 100644 index 2ed02c08d..000000000 --- a/server/src/core/@generated/comment/update-many-comment.args.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { CommentUpdateManyMutationInput } from './comment-update-many-mutation.input'; -import { Type } from 'class-transformer'; -import { ValidateNested } from 'class-validator'; -import { CommentWhereInput } from './comment-where.input'; - -@ArgsType() -export class UpdateManyCommentArgs { - - @Field(() => CommentUpdateManyMutationInput, {nullable:false}) - @Type(() => CommentUpdateManyMutationInput) - @ValidateNested({each: true}) - @Type(() => CommentUpdateManyMutationInput) - data!: CommentUpdateManyMutationInput; - - @Field(() => CommentWhereInput, {nullable:true}) - @Type(() => CommentWhereInput) - where?: CommentWhereInput; -} diff --git a/server/src/core/@generated/comment/update-one-comment.args.ts b/server/src/core/@generated/comment/update-one-comment.args.ts deleted file mode 100644 index efeb6180f..000000000 --- a/server/src/core/@generated/comment/update-one-comment.args.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { CommentUpdateInput } from './comment-update.input'; -import { Type } from 'class-transformer'; -import { ValidateNested } from 'class-validator'; -import { CommentWhereUniqueInput } from './comment-where-unique.input'; - -@ArgsType() -export class UpdateOneCommentArgs { - - @Field(() => CommentUpdateInput, {nullable:false}) - @Type(() => CommentUpdateInput) - @ValidateNested({each: true}) - @Type(() => CommentUpdateInput) - data!: CommentUpdateInput; - - @Field(() => CommentWhereUniqueInput, {nullable:false}) - @Type(() => CommentWhereUniqueInput) - where!: CommentWhereUniqueInput; -} diff --git a/server/src/core/@generated/comment/upsert-one-comment.args.ts b/server/src/core/@generated/comment/upsert-one-comment.args.ts deleted file mode 100644 index ca8b8fd51..000000000 --- a/server/src/core/@generated/comment/upsert-one-comment.args.ts +++ /dev/null @@ -1,22 +0,0 @@ -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/core/@generated/company/aggregate-company.output.ts b/server/src/core/@generated/company/aggregate-company.output.ts deleted file mode 100644 index f630368d9..000000000 --- a/server/src/core/@generated/company/aggregate-company.output.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import { CompanyCountAggregate } from './company-count-aggregate.output'; -import { CompanyAvgAggregate } from './company-avg-aggregate.output'; -import { CompanySumAggregate } from './company-sum-aggregate.output'; -import { CompanyMinAggregate } from './company-min-aggregate.output'; -import { CompanyMaxAggregate } from './company-max-aggregate.output'; - -@ObjectType() -export class AggregateCompany { - - @Field(() => CompanyCountAggregate, {nullable:true}) - _count?: CompanyCountAggregate; - - @Field(() => CompanyAvgAggregate, {nullable:true}) - _avg?: CompanyAvgAggregate; - - @Field(() => CompanySumAggregate, {nullable:true}) - _sum?: CompanySumAggregate; - - @Field(() => CompanyMinAggregate, {nullable:true}) - _min?: CompanyMinAggregate; - - @Field(() => CompanyMaxAggregate, {nullable:true}) - _max?: CompanyMaxAggregate; -} diff --git a/server/src/core/@generated/company/company-aggregate.args.ts b/server/src/core/@generated/company/company-aggregate.args.ts deleted file mode 100644 index fd232e8d0..000000000 --- a/server/src/core/@generated/company/company-aggregate.args.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { CompanyWhereInput } from './company-where.input'; -import { Type } from 'class-transformer'; -import { CompanyOrderByWithRelationInput } from './company-order-by-with-relation.input'; -import { CompanyWhereUniqueInput } from './company-where-unique.input'; -import { Int } from '@nestjs/graphql'; -import { CompanyCountAggregateInput } from './company-count-aggregate.input'; -import { CompanyAvgAggregateInput } from './company-avg-aggregate.input'; -import { CompanySumAggregateInput } from './company-sum-aggregate.input'; -import { CompanyMinAggregateInput } from './company-min-aggregate.input'; -import { CompanyMaxAggregateInput } from './company-max-aggregate.input'; - -@ArgsType() -export class CompanyAggregateArgs { - - @Field(() => CompanyWhereInput, {nullable:true}) - @Type(() => CompanyWhereInput) - where?: CompanyWhereInput; - - @Field(() => [CompanyOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; - - @Field(() => CompanyWhereUniqueInput, {nullable:true}) - cursor?: CompanyWhereUniqueInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => CompanyCountAggregateInput, {nullable:true}) - _count?: CompanyCountAggregateInput; - - @Field(() => CompanyAvgAggregateInput, {nullable:true}) - _avg?: CompanyAvgAggregateInput; - - @Field(() => CompanySumAggregateInput, {nullable:true}) - _sum?: CompanySumAggregateInput; - - @Field(() => CompanyMinAggregateInput, {nullable:true}) - _min?: CompanyMinAggregateInput; - - @Field(() => CompanyMaxAggregateInput, {nullable:true}) - _max?: CompanyMaxAggregateInput; -} diff --git a/server/src/core/@generated/company/company-avg-aggregate.input.ts b/server/src/core/@generated/company/company-avg-aggregate.input.ts deleted file mode 100644 index 8fb9d2abf..000000000 --- a/server/src/core/@generated/company/company-avg-aggregate.input.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; - -@InputType() -export class CompanyAvgAggregateInput { - - @Field(() => Boolean, {nullable:true}) - employees?: true; -} diff --git a/server/src/core/@generated/company/company-avg-aggregate.output.ts b/server/src/core/@generated/company/company-avg-aggregate.output.ts deleted file mode 100644 index a23403d7a..000000000 --- a/server/src/core/@generated/company/company-avg-aggregate.output.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import { Float } from '@nestjs/graphql'; - -@ObjectType() -export class CompanyAvgAggregate { - - @Field(() => Float, {nullable:true}) - employees?: number; -} diff --git a/server/src/core/@generated/company/company-avg-order-by-aggregate.input.ts b/server/src/core/@generated/company/company-avg-order-by-aggregate.input.ts deleted file mode 100644 index 4abaa84e2..000000000 --- a/server/src/core/@generated/company/company-avg-order-by-aggregate.input.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { SortOrder } from '../prisma/sort-order.enum'; - -@InputType() -export class CompanyAvgOrderByAggregateInput { - - @Field(() => SortOrder, {nullable:true}) - employees?: keyof typeof SortOrder; -} diff --git a/server/src/core/@generated/company/company-count-aggregate.input.ts b/server/src/core/@generated/company/company-count-aggregate.input.ts deleted file mode 100644 index 14f2f92d0..000000000 --- a/server/src/core/@generated/company/company-count-aggregate.input.ts +++ /dev/null @@ -1,40 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class CompanyCountAggregateInput { - - @Field(() => Boolean, {nullable:true}) - id?: true; - - @Field(() => Boolean, {nullable:true}) - name?: true; - - @Field(() => Boolean, {nullable:true}) - domainName?: true; - - @Field(() => Boolean, {nullable:true}) - address?: true; - - @Field(() => Boolean, {nullable:true}) - employees?: true; - - @Field(() => Boolean, {nullable:true}) - accountOwnerId?: true; - - @HideField() - workspaceId?: true; - - @HideField() - deletedAt?: true; - - @Field(() => Boolean, {nullable:true}) - createdAt?: true; - - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; - - @Field(() => Boolean, {nullable:true}) - _all?: true; -} diff --git a/server/src/core/@generated/company/company-count-aggregate.output.ts b/server/src/core/@generated/company/company-count-aggregate.output.ts deleted file mode 100644 index 143cc0700..000000000 --- a/server/src/core/@generated/company/company-count-aggregate.output.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import { Int } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; - -@ObjectType() -export class CompanyCountAggregate { - - @Field(() => Int, {nullable:false}) - id!: number; - - @Field(() => Int, {nullable:false}) - name!: number; - - @Field(() => Int, {nullable:false}) - domainName!: number; - - @Field(() => Int, {nullable:false}) - address!: number; - - @Field(() => Int, {nullable:false}) - @Validator.IsNumber() - @Validator.IsOptional() - employees!: number; - - @Field(() => Int, {nullable:false}) - accountOwnerId!: number; - - @HideField() - workspaceId!: number; - - @HideField() - deletedAt!: number; - - @Field(() => Int, {nullable:false}) - createdAt!: number; - - @Field(() => Int, {nullable:false}) - updatedAt!: number; - - @Field(() => Int, {nullable:false}) - _all!: number; -} diff --git a/server/src/core/@generated/company/company-count-order-by-aggregate.input.ts b/server/src/core/@generated/company/company-count-order-by-aggregate.input.ts deleted file mode 100644 index 75597cb14..000000000 --- a/server/src/core/@generated/company/company-count-order-by-aggregate.input.ts +++ /dev/null @@ -1,38 +0,0 @@ -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 CompanyCountOrderByAggregateInput { - - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - name?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - domainName?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - address?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - employees?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - accountOwnerId?: keyof typeof SortOrder; - - @HideField() - workspaceId?: keyof typeof SortOrder; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; -} diff --git a/server/src/core/@generated/company/company-count.output.ts b/server/src/core/@generated/company/company-count.output.ts deleted file mode 100644 index f19b03a8e..000000000 --- a/server/src/core/@generated/company/company-count.output.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import { Int } from '@nestjs/graphql'; - -@ObjectType() -export class CompanyCount { - - @Field(() => Int, {nullable:false}) - people?: number; -} diff --git a/server/src/core/@generated/company/company-create-many-account-owner-input-envelope.input.ts b/server/src/core/@generated/company/company-create-many-account-owner-input-envelope.input.ts deleted file mode 100644 index 85de77ee7..000000000 --- a/server/src/core/@generated/company/company-create-many-account-owner-input-envelope.input.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { CompanyCreateManyAccountOwnerInput } from './company-create-many-account-owner.input'; -import { Type } from 'class-transformer'; - -@InputType() -export class CompanyCreateManyAccountOwnerInputEnvelope { - - @Field(() => [CompanyCreateManyAccountOwnerInput], {nullable:false}) - @Type(() => CompanyCreateManyAccountOwnerInput) - data!: Array; - - @Field(() => Boolean, {nullable:true}) - skipDuplicates?: boolean; -} diff --git a/server/src/core/@generated/company/company-create-many-account-owner.input.ts b/server/src/core/@generated/company/company-create-many-account-owner.input.ts deleted file mode 100644 index 99c968e83..000000000 --- a/server/src/core/@generated/company/company-create-many-account-owner.input.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { Int } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class CompanyCreateManyAccountOwnerInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - name!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - domainName!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - address!: string; - - @Field(() => Int, {nullable:true}) - @Validator.IsNumber() - @Validator.IsOptional() - employees?: number; - - @HideField() - workspaceId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/company/company-create-many-workspace-input-envelope.input.ts b/server/src/core/@generated/company/company-create-many-workspace-input-envelope.input.ts deleted file mode 100644 index 76f653e78..000000000 --- a/server/src/core/@generated/company/company-create-many-workspace-input-envelope.input.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { CompanyCreateManyWorkspaceInput } from './company-create-many-workspace.input'; -import { Type } from 'class-transformer'; - -@InputType() -export class CompanyCreateManyWorkspaceInputEnvelope { - - @Field(() => [CompanyCreateManyWorkspaceInput], {nullable:false}) - @Type(() => CompanyCreateManyWorkspaceInput) - data!: Array; - - @Field(() => Boolean, {nullable:true}) - skipDuplicates?: boolean; -} diff --git a/server/src/core/@generated/company/company-create-many-workspace.input.ts b/server/src/core/@generated/company/company-create-many-workspace.input.ts deleted file mode 100644 index 3f763511a..000000000 --- a/server/src/core/@generated/company/company-create-many-workspace.input.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { Int } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class CompanyCreateManyWorkspaceInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - name!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - domainName!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - address!: string; - - @Field(() => Int, {nullable:true}) - @Validator.IsNumber() - @Validator.IsOptional() - employees?: number; - - @Field(() => String, {nullable:true}) - accountOwnerId?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/company/company-create-many.input.ts b/server/src/core/@generated/company/company-create-many.input.ts deleted file mode 100644 index b161afb74..000000000 --- a/server/src/core/@generated/company/company-create-many.input.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { Int } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class CompanyCreateManyInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - name!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - domainName!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - address!: string; - - @Field(() => Int, {nullable:true}) - @Validator.IsNumber() - @Validator.IsOptional() - employees?: number; - - @Field(() => String, {nullable:true}) - accountOwnerId?: string; - - @HideField() - workspaceId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/company/company-create-nested-many-without-account-owner.input.ts b/server/src/core/@generated/company/company-create-nested-many-without-account-owner.input.ts deleted file mode 100644 index 6dce6b105..000000000 --- a/server/src/core/@generated/company/company-create-nested-many-without-account-owner.input.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { CompanyCreateWithoutAccountOwnerInput } from './company-create-without-account-owner.input'; -import { Type } from 'class-transformer'; -import { CompanyCreateOrConnectWithoutAccountOwnerInput } from './company-create-or-connect-without-account-owner.input'; -import { CompanyCreateManyAccountOwnerInputEnvelope } from './company-create-many-account-owner-input-envelope.input'; -import { CompanyWhereUniqueInput } from './company-where-unique.input'; - -@InputType() -export class CompanyCreateNestedManyWithoutAccountOwnerInput { - - @Field(() => [CompanyCreateWithoutAccountOwnerInput], {nullable:true}) - @Type(() => CompanyCreateWithoutAccountOwnerInput) - create?: Array; - - @Field(() => [CompanyCreateOrConnectWithoutAccountOwnerInput], {nullable:true}) - @Type(() => CompanyCreateOrConnectWithoutAccountOwnerInput) - connectOrCreate?: Array; - - @Field(() => CompanyCreateManyAccountOwnerInputEnvelope, {nullable:true}) - @Type(() => CompanyCreateManyAccountOwnerInputEnvelope) - createMany?: CompanyCreateManyAccountOwnerInputEnvelope; - - @Field(() => [CompanyWhereUniqueInput], {nullable:true}) - @Type(() => CompanyWhereUniqueInput) - connect?: Array; -} diff --git a/server/src/core/@generated/company/company-create-nested-many-without-workspace.input.ts b/server/src/core/@generated/company/company-create-nested-many-without-workspace.input.ts deleted file mode 100644 index caa3fe63b..000000000 --- a/server/src/core/@generated/company/company-create-nested-many-without-workspace.input.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { CompanyCreateWithoutWorkspaceInput } from './company-create-without-workspace.input'; -import { Type } from 'class-transformer'; -import { CompanyCreateOrConnectWithoutWorkspaceInput } from './company-create-or-connect-without-workspace.input'; -import { CompanyCreateManyWorkspaceInputEnvelope } from './company-create-many-workspace-input-envelope.input'; -import { CompanyWhereUniqueInput } from './company-where-unique.input'; - -@InputType() -export class CompanyCreateNestedManyWithoutWorkspaceInput { - - @Field(() => [CompanyCreateWithoutWorkspaceInput], {nullable:true}) - @Type(() => CompanyCreateWithoutWorkspaceInput) - create?: Array; - - @Field(() => [CompanyCreateOrConnectWithoutWorkspaceInput], {nullable:true}) - @Type(() => CompanyCreateOrConnectWithoutWorkspaceInput) - connectOrCreate?: Array; - - @Field(() => CompanyCreateManyWorkspaceInputEnvelope, {nullable:true}) - @Type(() => CompanyCreateManyWorkspaceInputEnvelope) - createMany?: CompanyCreateManyWorkspaceInputEnvelope; - - @Field(() => [CompanyWhereUniqueInput], {nullable:true}) - @Type(() => CompanyWhereUniqueInput) - connect?: Array; -} diff --git a/server/src/core/@generated/company/company-create-nested-one-without-people.input.ts b/server/src/core/@generated/company/company-create-nested-one-without-people.input.ts deleted file mode 100644 index 839f64864..000000000 --- a/server/src/core/@generated/company/company-create-nested-one-without-people.input.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { CompanyCreateWithoutPeopleInput } from './company-create-without-people.input'; -import { HideField } from '@nestjs/graphql'; -import { CompanyCreateOrConnectWithoutPeopleInput } from './company-create-or-connect-without-people.input'; -import { CompanyWhereUniqueInput } from './company-where-unique.input'; -import { Type } from 'class-transformer'; - -@InputType() -export class CompanyCreateNestedOneWithoutPeopleInput { - - @HideField() - create?: CompanyCreateWithoutPeopleInput; - - @HideField() - connectOrCreate?: CompanyCreateOrConnectWithoutPeopleInput; - - @Field(() => CompanyWhereUniqueInput, {nullable:true}) - @Type(() => CompanyWhereUniqueInput) - connect?: CompanyWhereUniqueInput; -} diff --git a/server/src/core/@generated/company/company-create-or-connect-without-account-owner.input.ts b/server/src/core/@generated/company/company-create-or-connect-without-account-owner.input.ts deleted file mode 100644 index cb5307ce3..000000000 --- a/server/src/core/@generated/company/company-create-or-connect-without-account-owner.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { CompanyWhereUniqueInput } from './company-where-unique.input'; -import { Type } from 'class-transformer'; -import { CompanyCreateWithoutAccountOwnerInput } from './company-create-without-account-owner.input'; - -@InputType() -export class CompanyCreateOrConnectWithoutAccountOwnerInput { - - @Field(() => CompanyWhereUniqueInput, {nullable:false}) - @Type(() => CompanyWhereUniqueInput) - where!: CompanyWhereUniqueInput; - - @Field(() => CompanyCreateWithoutAccountOwnerInput, {nullable:false}) - @Type(() => CompanyCreateWithoutAccountOwnerInput) - create!: CompanyCreateWithoutAccountOwnerInput; -} diff --git a/server/src/core/@generated/company/company-create-or-connect-without-people.input.ts b/server/src/core/@generated/company/company-create-or-connect-without-people.input.ts deleted file mode 100644 index 626c90d22..000000000 --- a/server/src/core/@generated/company/company-create-or-connect-without-people.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { CompanyWhereUniqueInput } from './company-where-unique.input'; -import { Type } from 'class-transformer'; -import { CompanyCreateWithoutPeopleInput } from './company-create-without-people.input'; - -@InputType() -export class CompanyCreateOrConnectWithoutPeopleInput { - - @Field(() => CompanyWhereUniqueInput, {nullable:false}) - @Type(() => CompanyWhereUniqueInput) - where!: CompanyWhereUniqueInput; - - @Field(() => CompanyCreateWithoutPeopleInput, {nullable:false}) - @Type(() => CompanyCreateWithoutPeopleInput) - create!: CompanyCreateWithoutPeopleInput; -} diff --git a/server/src/core/@generated/company/company-create-or-connect-without-workspace.input.ts b/server/src/core/@generated/company/company-create-or-connect-without-workspace.input.ts deleted file mode 100644 index e1a59ddf7..000000000 --- a/server/src/core/@generated/company/company-create-or-connect-without-workspace.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { CompanyWhereUniqueInput } from './company-where-unique.input'; -import { Type } from 'class-transformer'; -import { CompanyCreateWithoutWorkspaceInput } from './company-create-without-workspace.input'; - -@InputType() -export class CompanyCreateOrConnectWithoutWorkspaceInput { - - @Field(() => CompanyWhereUniqueInput, {nullable:false}) - @Type(() => CompanyWhereUniqueInput) - where!: CompanyWhereUniqueInput; - - @Field(() => CompanyCreateWithoutWorkspaceInput, {nullable:false}) - @Type(() => CompanyCreateWithoutWorkspaceInput) - create!: CompanyCreateWithoutWorkspaceInput; -} diff --git a/server/src/core/@generated/company/company-create-without-account-owner.input.ts b/server/src/core/@generated/company/company-create-without-account-owner.input.ts deleted file mode 100644 index d352a6e6a..000000000 --- a/server/src/core/@generated/company/company-create-without-account-owner.input.ts +++ /dev/null @@ -1,48 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { Int } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; -import { PersonCreateNestedManyWithoutCompanyInput } from '../person/person-create-nested-many-without-company.input'; -import { WorkspaceCreateNestedOneWithoutCompaniesInput } from '../workspace/workspace-create-nested-one-without-companies.input'; - -@InputType() -export class CompanyCreateWithoutAccountOwnerInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - name!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - domainName!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - address!: string; - - @Field(() => Int, {nullable:true}) - @Validator.IsNumber() - @Validator.IsOptional() - employees?: number; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => PersonCreateNestedManyWithoutCompanyInput, {nullable:true}) - people?: PersonCreateNestedManyWithoutCompanyInput; - - @HideField() - workspace!: WorkspaceCreateNestedOneWithoutCompaniesInput; -} diff --git a/server/src/core/@generated/company/company-create-without-people.input.ts b/server/src/core/@generated/company/company-create-without-people.input.ts deleted file mode 100644 index c65208cac..000000000 --- a/server/src/core/@generated/company/company-create-without-people.input.ts +++ /dev/null @@ -1,48 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { Int } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; -import { UserCreateNestedOneWithoutCompaniesInput } from '../user/user-create-nested-one-without-companies.input'; -import { WorkspaceCreateNestedOneWithoutCompaniesInput } from '../workspace/workspace-create-nested-one-without-companies.input'; - -@InputType() -export class CompanyCreateWithoutPeopleInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - name!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - domainName!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - address!: string; - - @Field(() => Int, {nullable:true}) - @Validator.IsNumber() - @Validator.IsOptional() - employees?: number; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => UserCreateNestedOneWithoutCompaniesInput, {nullable:true}) - accountOwner?: UserCreateNestedOneWithoutCompaniesInput; - - @HideField() - workspace!: WorkspaceCreateNestedOneWithoutCompaniesInput; -} diff --git a/server/src/core/@generated/company/company-create-without-workspace.input.ts b/server/src/core/@generated/company/company-create-without-workspace.input.ts deleted file mode 100644 index 7b0603117..000000000 --- a/server/src/core/@generated/company/company-create-without-workspace.input.ts +++ /dev/null @@ -1,48 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { Int } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; -import { PersonCreateNestedManyWithoutCompanyInput } from '../person/person-create-nested-many-without-company.input'; -import { UserCreateNestedOneWithoutCompaniesInput } from '../user/user-create-nested-one-without-companies.input'; - -@InputType() -export class CompanyCreateWithoutWorkspaceInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - name!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - domainName!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - address!: string; - - @Field(() => Int, {nullable:true}) - @Validator.IsNumber() - @Validator.IsOptional() - employees?: number; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => PersonCreateNestedManyWithoutCompanyInput, {nullable:true}) - people?: PersonCreateNestedManyWithoutCompanyInput; - - @Field(() => UserCreateNestedOneWithoutCompaniesInput, {nullable:true}) - accountOwner?: UserCreateNestedOneWithoutCompaniesInput; -} diff --git a/server/src/core/@generated/company/company-create.input.ts b/server/src/core/@generated/company/company-create.input.ts deleted file mode 100644 index d508b8860..000000000 --- a/server/src/core/@generated/company/company-create.input.ts +++ /dev/null @@ -1,52 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { Int } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; -import { PersonCreateNestedManyWithoutCompanyInput } from '../person/person-create-nested-many-without-company.input'; -import { UserCreateNestedOneWithoutCompaniesInput } from '../user/user-create-nested-one-without-companies.input'; -import { WorkspaceCreateNestedOneWithoutCompaniesInput } from '../workspace/workspace-create-nested-one-without-companies.input'; - -@InputType() -export class CompanyCreateInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - name!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - domainName!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - address!: string; - - @Field(() => Int, {nullable:true}) - @Validator.IsNumber() - @Validator.IsOptional() - employees?: number; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => PersonCreateNestedManyWithoutCompanyInput, {nullable:true}) - people?: PersonCreateNestedManyWithoutCompanyInput; - - @Field(() => UserCreateNestedOneWithoutCompaniesInput, {nullable:true}) - accountOwner?: UserCreateNestedOneWithoutCompaniesInput; - - @HideField() - workspace!: WorkspaceCreateNestedOneWithoutCompaniesInput; -} diff --git a/server/src/core/@generated/company/company-group-by.args.ts b/server/src/core/@generated/company/company-group-by.args.ts deleted file mode 100644 index d541fef07..000000000 --- a/server/src/core/@generated/company/company-group-by.args.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { CompanyWhereInput } from './company-where.input'; -import { Type } from 'class-transformer'; -import { CompanyOrderByWithAggregationInput } from './company-order-by-with-aggregation.input'; -import { CompanyScalarFieldEnum } from './company-scalar-field.enum'; -import { CompanyScalarWhereWithAggregatesInput } from './company-scalar-where-with-aggregates.input'; -import { Int } from '@nestjs/graphql'; -import { CompanyCountAggregateInput } from './company-count-aggregate.input'; -import { CompanyAvgAggregateInput } from './company-avg-aggregate.input'; -import { CompanySumAggregateInput } from './company-sum-aggregate.input'; -import { CompanyMinAggregateInput } from './company-min-aggregate.input'; -import { CompanyMaxAggregateInput } from './company-max-aggregate.input'; - -@ArgsType() -export class CompanyGroupByArgs { - - @Field(() => CompanyWhereInput, {nullable:true}) - @Type(() => CompanyWhereInput) - where?: CompanyWhereInput; - - @Field(() => [CompanyOrderByWithAggregationInput], {nullable:true}) - orderBy?: Array; - - @Field(() => [CompanyScalarFieldEnum], {nullable:false}) - by!: Array; - - @Field(() => CompanyScalarWhereWithAggregatesInput, {nullable:true}) - having?: CompanyScalarWhereWithAggregatesInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => CompanyCountAggregateInput, {nullable:true}) - _count?: CompanyCountAggregateInput; - - @Field(() => CompanyAvgAggregateInput, {nullable:true}) - _avg?: CompanyAvgAggregateInput; - - @Field(() => CompanySumAggregateInput, {nullable:true}) - _sum?: CompanySumAggregateInput; - - @Field(() => CompanyMinAggregateInput, {nullable:true}) - _min?: CompanyMinAggregateInput; - - @Field(() => CompanyMaxAggregateInput, {nullable:true}) - _max?: CompanyMaxAggregateInput; -} diff --git a/server/src/core/@generated/company/company-group-by.output.ts b/server/src/core/@generated/company/company-group-by.output.ts deleted file mode 100644 index 8762da2d9..000000000 --- a/server/src/core/@generated/company/company-group-by.output.ts +++ /dev/null @@ -1,66 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { Int } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; -import { CompanyCountAggregate } from './company-count-aggregate.output'; -import { CompanyAvgAggregate } from './company-avg-aggregate.output'; -import { CompanySumAggregate } from './company-sum-aggregate.output'; -import { CompanyMinAggregate } from './company-min-aggregate.output'; -import { CompanyMaxAggregate } from './company-max-aggregate.output'; - -@ObjectType() -export class CompanyGroupBy { - - @Field(() => String, {nullable:false}) - @Validator.IsString() - @Validator.IsOptional() - id!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - name!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - domainName!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - address!: string; - - @Field(() => Int, {nullable:true}) - @Validator.IsNumber() - @Validator.IsOptional() - employees?: number; - - @Field(() => String, {nullable:true}) - accountOwnerId?: string; - - @HideField() - workspaceId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:false}) - createdAt!: Date | string; - - @Field(() => Date, {nullable:false}) - updatedAt!: Date | string; - - @Field(() => CompanyCountAggregate, {nullable:true}) - _count?: CompanyCountAggregate; - - @Field(() => CompanyAvgAggregate, {nullable:true}) - _avg?: CompanyAvgAggregate; - - @Field(() => CompanySumAggregate, {nullable:true}) - _sum?: CompanySumAggregate; - - @Field(() => CompanyMinAggregate, {nullable:true}) - _min?: CompanyMinAggregate; - - @Field(() => CompanyMaxAggregate, {nullable:true}) - _max?: CompanyMaxAggregate; -} diff --git a/server/src/core/@generated/company/company-list-relation-filter.input.ts b/server/src/core/@generated/company/company-list-relation-filter.input.ts deleted file mode 100644 index a65fee0ab..000000000 --- a/server/src/core/@generated/company/company-list-relation-filter.input.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { CompanyWhereInput } from './company-where.input'; - -@InputType() -export class CompanyListRelationFilter { - - @Field(() => CompanyWhereInput, {nullable:true}) - every?: CompanyWhereInput; - - @Field(() => CompanyWhereInput, {nullable:true}) - some?: CompanyWhereInput; - - @Field(() => CompanyWhereInput, {nullable:true}) - none?: CompanyWhereInput; -} diff --git a/server/src/core/@generated/company/company-max-aggregate.input.ts b/server/src/core/@generated/company/company-max-aggregate.input.ts deleted file mode 100644 index 87e3d8fd7..000000000 --- a/server/src/core/@generated/company/company-max-aggregate.input.ts +++ /dev/null @@ -1,37 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class CompanyMaxAggregateInput { - - @Field(() => Boolean, {nullable:true}) - id?: true; - - @Field(() => Boolean, {nullable:true}) - name?: true; - - @Field(() => Boolean, {nullable:true}) - domainName?: true; - - @Field(() => Boolean, {nullable:true}) - address?: true; - - @Field(() => Boolean, {nullable:true}) - employees?: true; - - @Field(() => Boolean, {nullable:true}) - accountOwnerId?: true; - - @HideField() - workspaceId?: true; - - @HideField() - deletedAt?: true; - - @Field(() => Boolean, {nullable:true}) - createdAt?: true; - - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; -} diff --git a/server/src/core/@generated/company/company-max-aggregate.output.ts b/server/src/core/@generated/company/company-max-aggregate.output.ts deleted file mode 100644 index c7e4574c0..000000000 --- a/server/src/core/@generated/company/company-max-aggregate.output.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { Int } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; - -@ObjectType() -export class CompanyMaxAggregate { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - name?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - domainName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - address?: string; - - @Field(() => Int, {nullable:true}) - @Validator.IsNumber() - @Validator.IsOptional() - employees?: number; - - @Field(() => String, {nullable:true}) - accountOwnerId?: string; - - @HideField() - workspaceId?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/company/company-max-order-by-aggregate.input.ts b/server/src/core/@generated/company/company-max-order-by-aggregate.input.ts deleted file mode 100644 index b0d279c54..000000000 --- a/server/src/core/@generated/company/company-max-order-by-aggregate.input.ts +++ /dev/null @@ -1,38 +0,0 @@ -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 CompanyMaxOrderByAggregateInput { - - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - name?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - domainName?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - address?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - employees?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - accountOwnerId?: keyof typeof SortOrder; - - @HideField() - workspaceId?: keyof typeof SortOrder; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; -} diff --git a/server/src/core/@generated/company/company-min-aggregate.input.ts b/server/src/core/@generated/company/company-min-aggregate.input.ts deleted file mode 100644 index acd3cf7d1..000000000 --- a/server/src/core/@generated/company/company-min-aggregate.input.ts +++ /dev/null @@ -1,37 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class CompanyMinAggregateInput { - - @Field(() => Boolean, {nullable:true}) - id?: true; - - @Field(() => Boolean, {nullable:true}) - name?: true; - - @Field(() => Boolean, {nullable:true}) - domainName?: true; - - @Field(() => Boolean, {nullable:true}) - address?: true; - - @Field(() => Boolean, {nullable:true}) - employees?: true; - - @Field(() => Boolean, {nullable:true}) - accountOwnerId?: true; - - @HideField() - workspaceId?: true; - - @HideField() - deletedAt?: true; - - @Field(() => Boolean, {nullable:true}) - createdAt?: true; - - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; -} diff --git a/server/src/core/@generated/company/company-min-aggregate.output.ts b/server/src/core/@generated/company/company-min-aggregate.output.ts deleted file mode 100644 index 74ce0909f..000000000 --- a/server/src/core/@generated/company/company-min-aggregate.output.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { Int } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; - -@ObjectType() -export class CompanyMinAggregate { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - name?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - domainName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - address?: string; - - @Field(() => Int, {nullable:true}) - @Validator.IsNumber() - @Validator.IsOptional() - employees?: number; - - @Field(() => String, {nullable:true}) - accountOwnerId?: string; - - @HideField() - workspaceId?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/company/company-min-order-by-aggregate.input.ts b/server/src/core/@generated/company/company-min-order-by-aggregate.input.ts deleted file mode 100644 index 885fe8f3a..000000000 --- a/server/src/core/@generated/company/company-min-order-by-aggregate.input.ts +++ /dev/null @@ -1,38 +0,0 @@ -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 CompanyMinOrderByAggregateInput { - - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - name?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - domainName?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - address?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - employees?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - accountOwnerId?: keyof typeof SortOrder; - - @HideField() - workspaceId?: keyof typeof SortOrder; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; -} diff --git a/server/src/core/@generated/company/company-order-by-relation-aggregate.input.ts b/server/src/core/@generated/company/company-order-by-relation-aggregate.input.ts deleted file mode 100644 index 9a2ca5f96..000000000 --- a/server/src/core/@generated/company/company-order-by-relation-aggregate.input.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { SortOrder } from '../prisma/sort-order.enum'; - -@InputType() -export class CompanyOrderByRelationAggregateInput { - - @Field(() => SortOrder, {nullable:true}) - _count?: keyof typeof SortOrder; -} diff --git a/server/src/core/@generated/company/company-order-by-with-aggregation.input.ts b/server/src/core/@generated/company/company-order-by-with-aggregation.input.ts deleted file mode 100644 index fea90cb81..000000000 --- a/server/src/core/@generated/company/company-order-by-with-aggregation.input.ts +++ /dev/null @@ -1,58 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { SortOrder } from '../prisma/sort-order.enum'; -import { HideField } from '@nestjs/graphql'; -import { CompanyCountOrderByAggregateInput } from './company-count-order-by-aggregate.input'; -import { CompanyAvgOrderByAggregateInput } from './company-avg-order-by-aggregate.input'; -import { CompanyMaxOrderByAggregateInput } from './company-max-order-by-aggregate.input'; -import { CompanyMinOrderByAggregateInput } from './company-min-order-by-aggregate.input'; -import { CompanySumOrderByAggregateInput } from './company-sum-order-by-aggregate.input'; - -@InputType() -export class CompanyOrderByWithAggregationInput { - - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - name?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - domainName?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - address?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - employees?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - accountOwnerId?: keyof typeof SortOrder; - - @HideField() - workspaceId?: keyof typeof SortOrder; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; - - @Field(() => CompanyCountOrderByAggregateInput, {nullable:true}) - _count?: CompanyCountOrderByAggregateInput; - - @Field(() => CompanyAvgOrderByAggregateInput, {nullable:true}) - _avg?: CompanyAvgOrderByAggregateInput; - - @Field(() => CompanyMaxOrderByAggregateInput, {nullable:true}) - _max?: CompanyMaxOrderByAggregateInput; - - @Field(() => CompanyMinOrderByAggregateInput, {nullable:true}) - _min?: CompanyMinOrderByAggregateInput; - - @Field(() => CompanySumOrderByAggregateInput, {nullable:true}) - _sum?: CompanySumOrderByAggregateInput; -} diff --git a/server/src/core/@generated/company/company-order-by-with-relation.input.ts b/server/src/core/@generated/company/company-order-by-with-relation.input.ts deleted file mode 100644 index a7c3e8cb8..000000000 --- a/server/src/core/@generated/company/company-order-by-with-relation.input.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { SortOrder } from '../prisma/sort-order.enum'; -import { HideField } from '@nestjs/graphql'; -import { PersonOrderByRelationAggregateInput } from '../person/person-order-by-relation-aggregate.input'; -import { UserOrderByWithRelationInput } from '../user/user-order-by-with-relation.input'; -import { WorkspaceOrderByWithRelationInput } from '../workspace/workspace-order-by-with-relation.input'; - -@InputType() -export class CompanyOrderByWithRelationInput { - - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - name?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - domainName?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - address?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - employees?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - accountOwnerId?: keyof typeof SortOrder; - - @HideField() - workspaceId?: keyof typeof SortOrder; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; - - @Field(() => PersonOrderByRelationAggregateInput, {nullable:true}) - people?: PersonOrderByRelationAggregateInput; - - @Field(() => UserOrderByWithRelationInput, {nullable:true}) - accountOwner?: UserOrderByWithRelationInput; - - @HideField() - workspace?: WorkspaceOrderByWithRelationInput; -} diff --git a/server/src/core/@generated/company/company-relation-filter.input.ts b/server/src/core/@generated/company/company-relation-filter.input.ts deleted file mode 100644 index dea21ee13..000000000 --- a/server/src/core/@generated/company/company-relation-filter.input.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { CompanyWhereInput } from './company-where.input'; - -@InputType() -export class CompanyRelationFilter { - - @Field(() => CompanyWhereInput, {nullable:true}) - is?: CompanyWhereInput; - - @Field(() => CompanyWhereInput, {nullable:true}) - isNot?: CompanyWhereInput; -} diff --git a/server/src/core/@generated/company/company-scalar-field.enum.ts b/server/src/core/@generated/company/company-scalar-field.enum.ts deleted file mode 100644 index 494c0c425..000000000 --- a/server/src/core/@generated/company/company-scalar-field.enum.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { registerEnumType } from '@nestjs/graphql'; - -export enum CompanyScalarFieldEnum { - id = "id", - name = "name", - domainName = "domainName", - address = "address", - employees = "employees", - accountOwnerId = "accountOwnerId", - workspaceId = "workspaceId", - deletedAt = "deletedAt", - createdAt = "createdAt", - updatedAt = "updatedAt" -} - - -registerEnumType(CompanyScalarFieldEnum, { name: 'CompanyScalarFieldEnum', description: undefined }) diff --git a/server/src/core/@generated/company/company-scalar-where-with-aggregates.input.ts b/server/src/core/@generated/company/company-scalar-where-with-aggregates.input.ts deleted file mode 100644 index 1f1f9f001..000000000 --- a/server/src/core/@generated/company/company-scalar-where-with-aggregates.input.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringWithAggregatesFilter } from '../prisma/string-with-aggregates-filter.input'; -import { IntNullableWithAggregatesFilter } from '../prisma/int-nullable-with-aggregates-filter.input'; -import { StringNullableWithAggregatesFilter } from '../prisma/string-nullable-with-aggregates-filter.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeNullableWithAggregatesFilter } from '../prisma/date-time-nullable-with-aggregates-filter.input'; -import { DateTimeWithAggregatesFilter } from '../prisma/date-time-with-aggregates-filter.input'; - -@InputType() -export class CompanyScalarWhereWithAggregatesInput { - - @Field(() => [CompanyScalarWhereWithAggregatesInput], {nullable:true}) - AND?: Array; - - @Field(() => [CompanyScalarWhereWithAggregatesInput], {nullable:true}) - OR?: Array; - - @Field(() => [CompanyScalarWhereWithAggregatesInput], {nullable:true}) - NOT?: Array; - - @Field(() => StringWithAggregatesFilter, {nullable:true}) - id?: StringWithAggregatesFilter; - - @Field(() => StringWithAggregatesFilter, {nullable:true}) - name?: StringWithAggregatesFilter; - - @Field(() => StringWithAggregatesFilter, {nullable:true}) - domainName?: StringWithAggregatesFilter; - - @Field(() => StringWithAggregatesFilter, {nullable:true}) - address?: StringWithAggregatesFilter; - - @Field(() => IntNullableWithAggregatesFilter, {nullable:true}) - employees?: IntNullableWithAggregatesFilter; - - @Field(() => StringNullableWithAggregatesFilter, {nullable:true}) - accountOwnerId?: StringNullableWithAggregatesFilter; - - @HideField() - workspaceId?: StringWithAggregatesFilter; - - @HideField() - deletedAt?: DateTimeNullableWithAggregatesFilter; - - @Field(() => DateTimeWithAggregatesFilter, {nullable:true}) - createdAt?: DateTimeWithAggregatesFilter; - - @Field(() => DateTimeWithAggregatesFilter, {nullable:true}) - updatedAt?: DateTimeWithAggregatesFilter; -} diff --git a/server/src/core/@generated/company/company-scalar-where.input.ts b/server/src/core/@generated/company/company-scalar-where.input.ts deleted file mode 100644 index 683d80cd0..000000000 --- a/server/src/core/@generated/company/company-scalar-where.input.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFilter } from '../prisma/string-filter.input'; -import { IntNullableFilter } from '../prisma/int-nullable-filter.input'; -import { StringNullableFilter } from '../prisma/string-nullable-filter.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input'; -import { DateTimeFilter } from '../prisma/date-time-filter.input'; - -@InputType() -export class CompanyScalarWhereInput { - - @Field(() => [CompanyScalarWhereInput], {nullable:true}) - AND?: Array; - - @Field(() => [CompanyScalarWhereInput], {nullable:true}) - OR?: Array; - - @Field(() => [CompanyScalarWhereInput], {nullable:true}) - NOT?: Array; - - @Field(() => StringFilter, {nullable:true}) - id?: StringFilter; - - @Field(() => StringFilter, {nullable:true}) - name?: StringFilter; - - @Field(() => StringFilter, {nullable:true}) - domainName?: StringFilter; - - @Field(() => StringFilter, {nullable:true}) - address?: StringFilter; - - @Field(() => IntNullableFilter, {nullable:true}) - employees?: IntNullableFilter; - - @Field(() => StringNullableFilter, {nullable:true}) - accountOwnerId?: StringNullableFilter; - - @HideField() - workspaceId?: StringFilter; - - @HideField() - deletedAt?: DateTimeNullableFilter; - - @Field(() => DateTimeFilter, {nullable:true}) - createdAt?: DateTimeFilter; - - @Field(() => DateTimeFilter, {nullable:true}) - updatedAt?: DateTimeFilter; -} diff --git a/server/src/core/@generated/company/company-sum-aggregate.input.ts b/server/src/core/@generated/company/company-sum-aggregate.input.ts deleted file mode 100644 index a6c9ca0e2..000000000 --- a/server/src/core/@generated/company/company-sum-aggregate.input.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; - -@InputType() -export class CompanySumAggregateInput { - - @Field(() => Boolean, {nullable:true}) - employees?: true; -} diff --git a/server/src/core/@generated/company/company-sum-aggregate.output.ts b/server/src/core/@generated/company/company-sum-aggregate.output.ts deleted file mode 100644 index 58c960c43..000000000 --- a/server/src/core/@generated/company/company-sum-aggregate.output.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import { Int } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; - -@ObjectType() -export class CompanySumAggregate { - - @Field(() => Int, {nullable:true}) - @Validator.IsNumber() - @Validator.IsOptional() - employees?: number; -} diff --git a/server/src/core/@generated/company/company-sum-order-by-aggregate.input.ts b/server/src/core/@generated/company/company-sum-order-by-aggregate.input.ts deleted file mode 100644 index e03195d8f..000000000 --- a/server/src/core/@generated/company/company-sum-order-by-aggregate.input.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { SortOrder } from '../prisma/sort-order.enum'; - -@InputType() -export class CompanySumOrderByAggregateInput { - - @Field(() => SortOrder, {nullable:true}) - employees?: keyof typeof SortOrder; -} diff --git a/server/src/core/@generated/company/company-unchecked-create-nested-many-without-account-owner.input.ts b/server/src/core/@generated/company/company-unchecked-create-nested-many-without-account-owner.input.ts deleted file mode 100644 index a199607bc..000000000 --- a/server/src/core/@generated/company/company-unchecked-create-nested-many-without-account-owner.input.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { CompanyCreateWithoutAccountOwnerInput } from './company-create-without-account-owner.input'; -import { Type } from 'class-transformer'; -import { CompanyCreateOrConnectWithoutAccountOwnerInput } from './company-create-or-connect-without-account-owner.input'; -import { CompanyCreateManyAccountOwnerInputEnvelope } from './company-create-many-account-owner-input-envelope.input'; -import { CompanyWhereUniqueInput } from './company-where-unique.input'; - -@InputType() -export class CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput { - - @Field(() => [CompanyCreateWithoutAccountOwnerInput], {nullable:true}) - @Type(() => CompanyCreateWithoutAccountOwnerInput) - create?: Array; - - @Field(() => [CompanyCreateOrConnectWithoutAccountOwnerInput], {nullable:true}) - @Type(() => CompanyCreateOrConnectWithoutAccountOwnerInput) - connectOrCreate?: Array; - - @Field(() => CompanyCreateManyAccountOwnerInputEnvelope, {nullable:true}) - @Type(() => CompanyCreateManyAccountOwnerInputEnvelope) - createMany?: CompanyCreateManyAccountOwnerInputEnvelope; - - @Field(() => [CompanyWhereUniqueInput], {nullable:true}) - @Type(() => CompanyWhereUniqueInput) - connect?: Array; -} diff --git a/server/src/core/@generated/company/company-unchecked-create-nested-many-without-workspace.input.ts b/server/src/core/@generated/company/company-unchecked-create-nested-many-without-workspace.input.ts deleted file mode 100644 index 11aa1bd26..000000000 --- a/server/src/core/@generated/company/company-unchecked-create-nested-many-without-workspace.input.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { CompanyCreateWithoutWorkspaceInput } from './company-create-without-workspace.input'; -import { Type } from 'class-transformer'; -import { CompanyCreateOrConnectWithoutWorkspaceInput } from './company-create-or-connect-without-workspace.input'; -import { CompanyCreateManyWorkspaceInputEnvelope } from './company-create-many-workspace-input-envelope.input'; -import { CompanyWhereUniqueInput } from './company-where-unique.input'; - -@InputType() -export class CompanyUncheckedCreateNestedManyWithoutWorkspaceInput { - - @Field(() => [CompanyCreateWithoutWorkspaceInput], {nullable:true}) - @Type(() => CompanyCreateWithoutWorkspaceInput) - create?: Array; - - @Field(() => [CompanyCreateOrConnectWithoutWorkspaceInput], {nullable:true}) - @Type(() => CompanyCreateOrConnectWithoutWorkspaceInput) - connectOrCreate?: Array; - - @Field(() => CompanyCreateManyWorkspaceInputEnvelope, {nullable:true}) - @Type(() => CompanyCreateManyWorkspaceInputEnvelope) - createMany?: CompanyCreateManyWorkspaceInputEnvelope; - - @Field(() => [CompanyWhereUniqueInput], {nullable:true}) - @Type(() => CompanyWhereUniqueInput) - connect?: Array; -} diff --git a/server/src/core/@generated/company/company-unchecked-create-without-account-owner.input.ts b/server/src/core/@generated/company/company-unchecked-create-without-account-owner.input.ts deleted file mode 100644 index 40ae7579f..000000000 --- a/server/src/core/@generated/company/company-unchecked-create-without-account-owner.input.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { Int } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; -import { PersonUncheckedCreateNestedManyWithoutCompanyInput } from '../person/person-unchecked-create-nested-many-without-company.input'; - -@InputType() -export class CompanyUncheckedCreateWithoutAccountOwnerInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - name!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - domainName!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - address!: string; - - @Field(() => Int, {nullable:true}) - @Validator.IsNumber() - @Validator.IsOptional() - employees?: number; - - @HideField() - workspaceId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => PersonUncheckedCreateNestedManyWithoutCompanyInput, {nullable:true}) - people?: PersonUncheckedCreateNestedManyWithoutCompanyInput; -} diff --git a/server/src/core/@generated/company/company-unchecked-create-without-people.input.ts b/server/src/core/@generated/company/company-unchecked-create-without-people.input.ts deleted file mode 100644 index 4e5e00e2e..000000000 --- a/server/src/core/@generated/company/company-unchecked-create-without-people.input.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { Int } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class CompanyUncheckedCreateWithoutPeopleInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - name!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - domainName!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - address!: string; - - @Field(() => Int, {nullable:true}) - @Validator.IsNumber() - @Validator.IsOptional() - employees?: number; - - @Field(() => String, {nullable:true}) - accountOwnerId?: string; - - @HideField() - workspaceId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/company/company-unchecked-create-without-workspace.input.ts b/server/src/core/@generated/company/company-unchecked-create-without-workspace.input.ts deleted file mode 100644 index 1b9e18d9a..000000000 --- a/server/src/core/@generated/company/company-unchecked-create-without-workspace.input.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { Int } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; -import { PersonUncheckedCreateNestedManyWithoutCompanyInput } from '../person/person-unchecked-create-nested-many-without-company.input'; - -@InputType() -export class CompanyUncheckedCreateWithoutWorkspaceInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - name!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - domainName!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - address!: string; - - @Field(() => Int, {nullable:true}) - @Validator.IsNumber() - @Validator.IsOptional() - employees?: number; - - @Field(() => String, {nullable:true}) - accountOwnerId?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => PersonUncheckedCreateNestedManyWithoutCompanyInput, {nullable:true}) - people?: PersonUncheckedCreateNestedManyWithoutCompanyInput; -} diff --git a/server/src/core/@generated/company/company-unchecked-create.input.ts b/server/src/core/@generated/company/company-unchecked-create.input.ts deleted file mode 100644 index 470901b95..000000000 --- a/server/src/core/@generated/company/company-unchecked-create.input.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { Int } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; -import { PersonUncheckedCreateNestedManyWithoutCompanyInput } from '../person/person-unchecked-create-nested-many-without-company.input'; - -@InputType() -export class CompanyUncheckedCreateInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - name!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - domainName!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - address!: string; - - @Field(() => Int, {nullable:true}) - @Validator.IsNumber() - @Validator.IsOptional() - employees?: number; - - @Field(() => String, {nullable:true}) - accountOwnerId?: string; - - @HideField() - workspaceId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => PersonUncheckedCreateNestedManyWithoutCompanyInput, {nullable:true}) - people?: PersonUncheckedCreateNestedManyWithoutCompanyInput; -} diff --git a/server/src/core/@generated/company/company-unchecked-update-many-without-account-owner-nested.input.ts b/server/src/core/@generated/company/company-unchecked-update-many-without-account-owner-nested.input.ts deleted file mode 100644 index dac779ff6..000000000 --- a/server/src/core/@generated/company/company-unchecked-update-many-without-account-owner-nested.input.ts +++ /dev/null @@ -1,59 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { CompanyCreateWithoutAccountOwnerInput } from './company-create-without-account-owner.input'; -import { Type } from 'class-transformer'; -import { CompanyCreateOrConnectWithoutAccountOwnerInput } from './company-create-or-connect-without-account-owner.input'; -import { CompanyUpsertWithWhereUniqueWithoutAccountOwnerInput } from './company-upsert-with-where-unique-without-account-owner.input'; -import { CompanyCreateManyAccountOwnerInputEnvelope } from './company-create-many-account-owner-input-envelope.input'; -import { CompanyWhereUniqueInput } from './company-where-unique.input'; -import { CompanyUpdateWithWhereUniqueWithoutAccountOwnerInput } from './company-update-with-where-unique-without-account-owner.input'; -import { CompanyUpdateManyWithWhereWithoutAccountOwnerInput } from './company-update-many-with-where-without-account-owner.input'; -import { CompanyScalarWhereInput } from './company-scalar-where.input'; - -@InputType() -export class CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput { - - @Field(() => [CompanyCreateWithoutAccountOwnerInput], {nullable:true}) - @Type(() => CompanyCreateWithoutAccountOwnerInput) - create?: Array; - - @Field(() => [CompanyCreateOrConnectWithoutAccountOwnerInput], {nullable:true}) - @Type(() => CompanyCreateOrConnectWithoutAccountOwnerInput) - connectOrCreate?: Array; - - @Field(() => [CompanyUpsertWithWhereUniqueWithoutAccountOwnerInput], {nullable:true}) - @Type(() => CompanyUpsertWithWhereUniqueWithoutAccountOwnerInput) - upsert?: Array; - - @Field(() => CompanyCreateManyAccountOwnerInputEnvelope, {nullable:true}) - @Type(() => CompanyCreateManyAccountOwnerInputEnvelope) - createMany?: CompanyCreateManyAccountOwnerInputEnvelope; - - @Field(() => [CompanyWhereUniqueInput], {nullable:true}) - @Type(() => CompanyWhereUniqueInput) - set?: Array; - - @Field(() => [CompanyWhereUniqueInput], {nullable:true}) - @Type(() => CompanyWhereUniqueInput) - disconnect?: Array; - - @Field(() => [CompanyWhereUniqueInput], {nullable:true}) - @Type(() => CompanyWhereUniqueInput) - delete?: Array; - - @Field(() => [CompanyWhereUniqueInput], {nullable:true}) - @Type(() => CompanyWhereUniqueInput) - connect?: Array; - - @Field(() => [CompanyUpdateWithWhereUniqueWithoutAccountOwnerInput], {nullable:true}) - @Type(() => CompanyUpdateWithWhereUniqueWithoutAccountOwnerInput) - update?: Array; - - @Field(() => [CompanyUpdateManyWithWhereWithoutAccountOwnerInput], {nullable:true}) - @Type(() => CompanyUpdateManyWithWhereWithoutAccountOwnerInput) - updateMany?: Array; - - @Field(() => [CompanyScalarWhereInput], {nullable:true}) - @Type(() => CompanyScalarWhereInput) - deleteMany?: Array; -} diff --git a/server/src/core/@generated/company/company-unchecked-update-many-without-companies.input.ts b/server/src/core/@generated/company/company-unchecked-update-many-without-companies.input.ts deleted file mode 100644 index 2be597cc2..000000000 --- a/server/src/core/@generated/company/company-unchecked-update-many-without-companies.input.ts +++ /dev/null @@ -1,38 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class CompanyUncheckedUpdateManyWithoutCompaniesInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - name?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - domainName?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - address?: StringFieldUpdateOperationsInput; - - @Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true}) - employees?: NullableIntFieldUpdateOperationsInput; - - @HideField() - workspaceId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/company/company-unchecked-update-many-without-workspace-nested.input.ts b/server/src/core/@generated/company/company-unchecked-update-many-without-workspace-nested.input.ts deleted file mode 100644 index d206aac15..000000000 --- a/server/src/core/@generated/company/company-unchecked-update-many-without-workspace-nested.input.ts +++ /dev/null @@ -1,59 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { CompanyCreateWithoutWorkspaceInput } from './company-create-without-workspace.input'; -import { Type } from 'class-transformer'; -import { CompanyCreateOrConnectWithoutWorkspaceInput } from './company-create-or-connect-without-workspace.input'; -import { CompanyUpsertWithWhereUniqueWithoutWorkspaceInput } from './company-upsert-with-where-unique-without-workspace.input'; -import { CompanyCreateManyWorkspaceInputEnvelope } from './company-create-many-workspace-input-envelope.input'; -import { CompanyWhereUniqueInput } from './company-where-unique.input'; -import { CompanyUpdateWithWhereUniqueWithoutWorkspaceInput } from './company-update-with-where-unique-without-workspace.input'; -import { CompanyUpdateManyWithWhereWithoutWorkspaceInput } from './company-update-many-with-where-without-workspace.input'; -import { CompanyScalarWhereInput } from './company-scalar-where.input'; - -@InputType() -export class CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput { - - @Field(() => [CompanyCreateWithoutWorkspaceInput], {nullable:true}) - @Type(() => CompanyCreateWithoutWorkspaceInput) - create?: Array; - - @Field(() => [CompanyCreateOrConnectWithoutWorkspaceInput], {nullable:true}) - @Type(() => CompanyCreateOrConnectWithoutWorkspaceInput) - connectOrCreate?: Array; - - @Field(() => [CompanyUpsertWithWhereUniqueWithoutWorkspaceInput], {nullable:true}) - @Type(() => CompanyUpsertWithWhereUniqueWithoutWorkspaceInput) - upsert?: Array; - - @Field(() => CompanyCreateManyWorkspaceInputEnvelope, {nullable:true}) - @Type(() => CompanyCreateManyWorkspaceInputEnvelope) - createMany?: CompanyCreateManyWorkspaceInputEnvelope; - - @Field(() => [CompanyWhereUniqueInput], {nullable:true}) - @Type(() => CompanyWhereUniqueInput) - set?: Array; - - @Field(() => [CompanyWhereUniqueInput], {nullable:true}) - @Type(() => CompanyWhereUniqueInput) - disconnect?: Array; - - @Field(() => [CompanyWhereUniqueInput], {nullable:true}) - @Type(() => CompanyWhereUniqueInput) - delete?: Array; - - @Field(() => [CompanyWhereUniqueInput], {nullable:true}) - @Type(() => CompanyWhereUniqueInput) - connect?: Array; - - @Field(() => [CompanyUpdateWithWhereUniqueWithoutWorkspaceInput], {nullable:true}) - @Type(() => CompanyUpdateWithWhereUniqueWithoutWorkspaceInput) - update?: Array; - - @Field(() => [CompanyUpdateManyWithWhereWithoutWorkspaceInput], {nullable:true}) - @Type(() => CompanyUpdateManyWithWhereWithoutWorkspaceInput) - updateMany?: Array; - - @Field(() => [CompanyScalarWhereInput], {nullable:true}) - @Type(() => CompanyScalarWhereInput) - deleteMany?: Array; -} diff --git a/server/src/core/@generated/company/company-unchecked-update-many.input.ts b/server/src/core/@generated/company/company-unchecked-update-many.input.ts deleted file mode 100644 index 23ab8f677..000000000 --- a/server/src/core/@generated/company/company-unchecked-update-many.input.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class CompanyUncheckedUpdateManyInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - name?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - domainName?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - address?: StringFieldUpdateOperationsInput; - - @Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true}) - employees?: NullableIntFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - accountOwnerId?: NullableStringFieldUpdateOperationsInput; - - @HideField() - workspaceId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/company/company-unchecked-update-without-account-owner.input.ts b/server/src/core/@generated/company/company-unchecked-update-without-account-owner.input.ts deleted file mode 100644 index f51071546..000000000 --- a/server/src/core/@generated/company/company-unchecked-update-without-account-owner.input.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -import { PersonUncheckedUpdateManyWithoutCompanyNestedInput } from '../person/person-unchecked-update-many-without-company-nested.input'; - -@InputType() -export class CompanyUncheckedUpdateWithoutAccountOwnerInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - name?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - domainName?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - address?: StringFieldUpdateOperationsInput; - - @Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true}) - employees?: NullableIntFieldUpdateOperationsInput; - - @HideField() - workspaceId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => PersonUncheckedUpdateManyWithoutCompanyNestedInput, {nullable:true}) - people?: PersonUncheckedUpdateManyWithoutCompanyNestedInput; -} diff --git a/server/src/core/@generated/company/company-unchecked-update-without-people.input.ts b/server/src/core/@generated/company/company-unchecked-update-without-people.input.ts deleted file mode 100644 index 2604c5387..000000000 --- a/server/src/core/@generated/company/company-unchecked-update-without-people.input.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class CompanyUncheckedUpdateWithoutPeopleInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - name?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - domainName?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - address?: StringFieldUpdateOperationsInput; - - @Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true}) - employees?: NullableIntFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - accountOwnerId?: NullableStringFieldUpdateOperationsInput; - - @HideField() - workspaceId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/company/company-unchecked-update-without-workspace.input.ts b/server/src/core/@generated/company/company-unchecked-update-without-workspace.input.ts deleted file mode 100644 index f9fa9a7f5..000000000 --- a/server/src/core/@generated/company/company-unchecked-update-without-workspace.input.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -import { PersonUncheckedUpdateManyWithoutCompanyNestedInput } from '../person/person-unchecked-update-many-without-company-nested.input'; - -@InputType() -export class CompanyUncheckedUpdateWithoutWorkspaceInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - name?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - domainName?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - address?: StringFieldUpdateOperationsInput; - - @Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true}) - employees?: NullableIntFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - accountOwnerId?: NullableStringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => PersonUncheckedUpdateManyWithoutCompanyNestedInput, {nullable:true}) - people?: PersonUncheckedUpdateManyWithoutCompanyNestedInput; -} diff --git a/server/src/core/@generated/company/company-unchecked-update.input.ts b/server/src/core/@generated/company/company-unchecked-update.input.ts deleted file mode 100644 index 87f784af2..000000000 --- a/server/src/core/@generated/company/company-unchecked-update.input.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -import { PersonUncheckedUpdateManyWithoutCompanyNestedInput } from '../person/person-unchecked-update-many-without-company-nested.input'; - -@InputType() -export class CompanyUncheckedUpdateInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - name?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - domainName?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - address?: StringFieldUpdateOperationsInput; - - @Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true}) - employees?: NullableIntFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - accountOwnerId?: NullableStringFieldUpdateOperationsInput; - - @HideField() - workspaceId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => PersonUncheckedUpdateManyWithoutCompanyNestedInput, {nullable:true}) - people?: PersonUncheckedUpdateManyWithoutCompanyNestedInput; -} diff --git a/server/src/core/@generated/company/company-update-many-mutation.input.ts b/server/src/core/@generated/company/company-update-many-mutation.input.ts deleted file mode 100644 index 108002844..000000000 --- a/server/src/core/@generated/company/company-update-many-mutation.input.ts +++ /dev/null @@ -1,35 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class CompanyUpdateManyMutationInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - name?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - domainName?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - address?: StringFieldUpdateOperationsInput; - - @Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true}) - employees?: NullableIntFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/company/company-update-many-with-where-without-account-owner.input.ts b/server/src/core/@generated/company/company-update-many-with-where-without-account-owner.input.ts deleted file mode 100644 index d59462b70..000000000 --- a/server/src/core/@generated/company/company-update-many-with-where-without-account-owner.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { CompanyScalarWhereInput } from './company-scalar-where.input'; -import { Type } from 'class-transformer'; -import { CompanyUpdateManyMutationInput } from './company-update-many-mutation.input'; - -@InputType() -export class CompanyUpdateManyWithWhereWithoutAccountOwnerInput { - - @Field(() => CompanyScalarWhereInput, {nullable:false}) - @Type(() => CompanyScalarWhereInput) - where!: CompanyScalarWhereInput; - - @Field(() => CompanyUpdateManyMutationInput, {nullable:false}) - @Type(() => CompanyUpdateManyMutationInput) - data!: CompanyUpdateManyMutationInput; -} diff --git a/server/src/core/@generated/company/company-update-many-with-where-without-workspace.input.ts b/server/src/core/@generated/company/company-update-many-with-where-without-workspace.input.ts deleted file mode 100644 index 83f74f350..000000000 --- a/server/src/core/@generated/company/company-update-many-with-where-without-workspace.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { CompanyScalarWhereInput } from './company-scalar-where.input'; -import { Type } from 'class-transformer'; -import { CompanyUpdateManyMutationInput } from './company-update-many-mutation.input'; - -@InputType() -export class CompanyUpdateManyWithWhereWithoutWorkspaceInput { - - @Field(() => CompanyScalarWhereInput, {nullable:false}) - @Type(() => CompanyScalarWhereInput) - where!: CompanyScalarWhereInput; - - @Field(() => CompanyUpdateManyMutationInput, {nullable:false}) - @Type(() => CompanyUpdateManyMutationInput) - data!: CompanyUpdateManyMutationInput; -} diff --git a/server/src/core/@generated/company/company-update-many-without-account-owner-nested.input.ts b/server/src/core/@generated/company/company-update-many-without-account-owner-nested.input.ts deleted file mode 100644 index 38c397f96..000000000 --- a/server/src/core/@generated/company/company-update-many-without-account-owner-nested.input.ts +++ /dev/null @@ -1,59 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { CompanyCreateWithoutAccountOwnerInput } from './company-create-without-account-owner.input'; -import { Type } from 'class-transformer'; -import { CompanyCreateOrConnectWithoutAccountOwnerInput } from './company-create-or-connect-without-account-owner.input'; -import { CompanyUpsertWithWhereUniqueWithoutAccountOwnerInput } from './company-upsert-with-where-unique-without-account-owner.input'; -import { CompanyCreateManyAccountOwnerInputEnvelope } from './company-create-many-account-owner-input-envelope.input'; -import { CompanyWhereUniqueInput } from './company-where-unique.input'; -import { CompanyUpdateWithWhereUniqueWithoutAccountOwnerInput } from './company-update-with-where-unique-without-account-owner.input'; -import { CompanyUpdateManyWithWhereWithoutAccountOwnerInput } from './company-update-many-with-where-without-account-owner.input'; -import { CompanyScalarWhereInput } from './company-scalar-where.input'; - -@InputType() -export class CompanyUpdateManyWithoutAccountOwnerNestedInput { - - @Field(() => [CompanyCreateWithoutAccountOwnerInput], {nullable:true}) - @Type(() => CompanyCreateWithoutAccountOwnerInput) - create?: Array; - - @Field(() => [CompanyCreateOrConnectWithoutAccountOwnerInput], {nullable:true}) - @Type(() => CompanyCreateOrConnectWithoutAccountOwnerInput) - connectOrCreate?: Array; - - @Field(() => [CompanyUpsertWithWhereUniqueWithoutAccountOwnerInput], {nullable:true}) - @Type(() => CompanyUpsertWithWhereUniqueWithoutAccountOwnerInput) - upsert?: Array; - - @Field(() => CompanyCreateManyAccountOwnerInputEnvelope, {nullable:true}) - @Type(() => CompanyCreateManyAccountOwnerInputEnvelope) - createMany?: CompanyCreateManyAccountOwnerInputEnvelope; - - @Field(() => [CompanyWhereUniqueInput], {nullable:true}) - @Type(() => CompanyWhereUniqueInput) - set?: Array; - - @Field(() => [CompanyWhereUniqueInput], {nullable:true}) - @Type(() => CompanyWhereUniqueInput) - disconnect?: Array; - - @Field(() => [CompanyWhereUniqueInput], {nullable:true}) - @Type(() => CompanyWhereUniqueInput) - delete?: Array; - - @Field(() => [CompanyWhereUniqueInput], {nullable:true}) - @Type(() => CompanyWhereUniqueInput) - connect?: Array; - - @Field(() => [CompanyUpdateWithWhereUniqueWithoutAccountOwnerInput], {nullable:true}) - @Type(() => CompanyUpdateWithWhereUniqueWithoutAccountOwnerInput) - update?: Array; - - @Field(() => [CompanyUpdateManyWithWhereWithoutAccountOwnerInput], {nullable:true}) - @Type(() => CompanyUpdateManyWithWhereWithoutAccountOwnerInput) - updateMany?: Array; - - @Field(() => [CompanyScalarWhereInput], {nullable:true}) - @Type(() => CompanyScalarWhereInput) - deleteMany?: Array; -} diff --git a/server/src/core/@generated/company/company-update-many-without-workspace-nested.input.ts b/server/src/core/@generated/company/company-update-many-without-workspace-nested.input.ts deleted file mode 100644 index 457b8f1d8..000000000 --- a/server/src/core/@generated/company/company-update-many-without-workspace-nested.input.ts +++ /dev/null @@ -1,59 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { CompanyCreateWithoutWorkspaceInput } from './company-create-without-workspace.input'; -import { Type } from 'class-transformer'; -import { CompanyCreateOrConnectWithoutWorkspaceInput } from './company-create-or-connect-without-workspace.input'; -import { CompanyUpsertWithWhereUniqueWithoutWorkspaceInput } from './company-upsert-with-where-unique-without-workspace.input'; -import { CompanyCreateManyWorkspaceInputEnvelope } from './company-create-many-workspace-input-envelope.input'; -import { CompanyWhereUniqueInput } from './company-where-unique.input'; -import { CompanyUpdateWithWhereUniqueWithoutWorkspaceInput } from './company-update-with-where-unique-without-workspace.input'; -import { CompanyUpdateManyWithWhereWithoutWorkspaceInput } from './company-update-many-with-where-without-workspace.input'; -import { CompanyScalarWhereInput } from './company-scalar-where.input'; - -@InputType() -export class CompanyUpdateManyWithoutWorkspaceNestedInput { - - @Field(() => [CompanyCreateWithoutWorkspaceInput], {nullable:true}) - @Type(() => CompanyCreateWithoutWorkspaceInput) - create?: Array; - - @Field(() => [CompanyCreateOrConnectWithoutWorkspaceInput], {nullable:true}) - @Type(() => CompanyCreateOrConnectWithoutWorkspaceInput) - connectOrCreate?: Array; - - @Field(() => [CompanyUpsertWithWhereUniqueWithoutWorkspaceInput], {nullable:true}) - @Type(() => CompanyUpsertWithWhereUniqueWithoutWorkspaceInput) - upsert?: Array; - - @Field(() => CompanyCreateManyWorkspaceInputEnvelope, {nullable:true}) - @Type(() => CompanyCreateManyWorkspaceInputEnvelope) - createMany?: CompanyCreateManyWorkspaceInputEnvelope; - - @Field(() => [CompanyWhereUniqueInput], {nullable:true}) - @Type(() => CompanyWhereUniqueInput) - set?: Array; - - @Field(() => [CompanyWhereUniqueInput], {nullable:true}) - @Type(() => CompanyWhereUniqueInput) - disconnect?: Array; - - @Field(() => [CompanyWhereUniqueInput], {nullable:true}) - @Type(() => CompanyWhereUniqueInput) - delete?: Array; - - @Field(() => [CompanyWhereUniqueInput], {nullable:true}) - @Type(() => CompanyWhereUniqueInput) - connect?: Array; - - @Field(() => [CompanyUpdateWithWhereUniqueWithoutWorkspaceInput], {nullable:true}) - @Type(() => CompanyUpdateWithWhereUniqueWithoutWorkspaceInput) - update?: Array; - - @Field(() => [CompanyUpdateManyWithWhereWithoutWorkspaceInput], {nullable:true}) - @Type(() => CompanyUpdateManyWithWhereWithoutWorkspaceInput) - updateMany?: Array; - - @Field(() => [CompanyScalarWhereInput], {nullable:true}) - @Type(() => CompanyScalarWhereInput) - deleteMany?: Array; -} diff --git a/server/src/core/@generated/company/company-update-one-without-people-nested.input.ts b/server/src/core/@generated/company/company-update-one-without-people-nested.input.ts deleted file mode 100644 index 732209372..000000000 --- a/server/src/core/@generated/company/company-update-one-without-people-nested.input.ts +++ /dev/null @@ -1,35 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { CompanyCreateWithoutPeopleInput } from './company-create-without-people.input'; -import { HideField } from '@nestjs/graphql'; -import { CompanyCreateOrConnectWithoutPeopleInput } from './company-create-or-connect-without-people.input'; -import { CompanyUpsertWithoutPeopleInput } from './company-upsert-without-people.input'; -import { CompanyWhereUniqueInput } from './company-where-unique.input'; -import { Type } from 'class-transformer'; -import { CompanyUpdateWithoutPeopleInput } from './company-update-without-people.input'; - -@InputType() -export class CompanyUpdateOneWithoutPeopleNestedInput { - - @HideField() - create?: CompanyCreateWithoutPeopleInput; - - @HideField() - connectOrCreate?: CompanyCreateOrConnectWithoutPeopleInput; - - @HideField() - upsert?: CompanyUpsertWithoutPeopleInput; - - @HideField() - disconnect?: boolean; - - @HideField() - delete?: boolean; - - @Field(() => CompanyWhereUniqueInput, {nullable:true}) - @Type(() => CompanyWhereUniqueInput) - connect?: CompanyWhereUniqueInput; - - @HideField() - update?: CompanyUpdateWithoutPeopleInput; -} diff --git a/server/src/core/@generated/company/company-update-with-where-unique-without-account-owner.input.ts b/server/src/core/@generated/company/company-update-with-where-unique-without-account-owner.input.ts deleted file mode 100644 index e717ff9fa..000000000 --- a/server/src/core/@generated/company/company-update-with-where-unique-without-account-owner.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { CompanyWhereUniqueInput } from './company-where-unique.input'; -import { Type } from 'class-transformer'; -import { CompanyUpdateWithoutAccountOwnerInput } from './company-update-without-account-owner.input'; - -@InputType() -export class CompanyUpdateWithWhereUniqueWithoutAccountOwnerInput { - - @Field(() => CompanyWhereUniqueInput, {nullable:false}) - @Type(() => CompanyWhereUniqueInput) - where!: CompanyWhereUniqueInput; - - @Field(() => CompanyUpdateWithoutAccountOwnerInput, {nullable:false}) - @Type(() => CompanyUpdateWithoutAccountOwnerInput) - data!: CompanyUpdateWithoutAccountOwnerInput; -} diff --git a/server/src/core/@generated/company/company-update-with-where-unique-without-workspace.input.ts b/server/src/core/@generated/company/company-update-with-where-unique-without-workspace.input.ts deleted file mode 100644 index f6e5a7527..000000000 --- a/server/src/core/@generated/company/company-update-with-where-unique-without-workspace.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { CompanyWhereUniqueInput } from './company-where-unique.input'; -import { Type } from 'class-transformer'; -import { CompanyUpdateWithoutWorkspaceInput } from './company-update-without-workspace.input'; - -@InputType() -export class CompanyUpdateWithWhereUniqueWithoutWorkspaceInput { - - @Field(() => CompanyWhereUniqueInput, {nullable:false}) - @Type(() => CompanyWhereUniqueInput) - where!: CompanyWhereUniqueInput; - - @Field(() => CompanyUpdateWithoutWorkspaceInput, {nullable:false}) - @Type(() => CompanyUpdateWithoutWorkspaceInput) - data!: CompanyUpdateWithoutWorkspaceInput; -} diff --git a/server/src/core/@generated/company/company-update-without-account-owner.input.ts b/server/src/core/@generated/company/company-update-without-account-owner.input.ts deleted file mode 100644 index 50c39c010..000000000 --- a/server/src/core/@generated/company/company-update-without-account-owner.input.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -import { PersonUpdateManyWithoutCompanyNestedInput } from '../person/person-update-many-without-company-nested.input'; -import { WorkspaceUpdateOneRequiredWithoutCompaniesNestedInput } from '../workspace/workspace-update-one-required-without-companies-nested.input'; - -@InputType() -export class CompanyUpdateWithoutAccountOwnerInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - name?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - domainName?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - address?: StringFieldUpdateOperationsInput; - - @Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true}) - employees?: NullableIntFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => PersonUpdateManyWithoutCompanyNestedInput, {nullable:true}) - people?: PersonUpdateManyWithoutCompanyNestedInput; - - @HideField() - workspace?: WorkspaceUpdateOneRequiredWithoutCompaniesNestedInput; -} diff --git a/server/src/core/@generated/company/company-update-without-people.input.ts b/server/src/core/@generated/company/company-update-without-people.input.ts deleted file mode 100644 index 7eac96e73..000000000 --- a/server/src/core/@generated/company/company-update-without-people.input.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -import { UserUpdateOneWithoutCompaniesNestedInput } from '../user/user-update-one-without-companies-nested.input'; -import { WorkspaceUpdateOneRequiredWithoutCompaniesNestedInput } from '../workspace/workspace-update-one-required-without-companies-nested.input'; - -@InputType() -export class CompanyUpdateWithoutPeopleInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - name?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - domainName?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - address?: StringFieldUpdateOperationsInput; - - @Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true}) - employees?: NullableIntFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => UserUpdateOneWithoutCompaniesNestedInput, {nullable:true}) - accountOwner?: UserUpdateOneWithoutCompaniesNestedInput; - - @HideField() - workspace?: WorkspaceUpdateOneRequiredWithoutCompaniesNestedInput; -} diff --git a/server/src/core/@generated/company/company-update-without-workspace.input.ts b/server/src/core/@generated/company/company-update-without-workspace.input.ts deleted file mode 100644 index 34087ae04..000000000 --- a/server/src/core/@generated/company/company-update-without-workspace.input.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -import { PersonUpdateManyWithoutCompanyNestedInput } from '../person/person-update-many-without-company-nested.input'; -import { UserUpdateOneWithoutCompaniesNestedInput } from '../user/user-update-one-without-companies-nested.input'; - -@InputType() -export class CompanyUpdateWithoutWorkspaceInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - name?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - domainName?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - address?: StringFieldUpdateOperationsInput; - - @Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true}) - employees?: NullableIntFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => PersonUpdateManyWithoutCompanyNestedInput, {nullable:true}) - people?: PersonUpdateManyWithoutCompanyNestedInput; - - @Field(() => UserUpdateOneWithoutCompaniesNestedInput, {nullable:true}) - accountOwner?: UserUpdateOneWithoutCompaniesNestedInput; -} diff --git a/server/src/core/@generated/company/company-update.input.ts b/server/src/core/@generated/company/company-update.input.ts deleted file mode 100644 index 3df2e6e52..000000000 --- a/server/src/core/@generated/company/company-update.input.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -import { PersonUpdateManyWithoutCompanyNestedInput } from '../person/person-update-many-without-company-nested.input'; -import { UserUpdateOneWithoutCompaniesNestedInput } from '../user/user-update-one-without-companies-nested.input'; -import { WorkspaceUpdateOneRequiredWithoutCompaniesNestedInput } from '../workspace/workspace-update-one-required-without-companies-nested.input'; - -@InputType() -export class CompanyUpdateInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - name?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - domainName?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - address?: StringFieldUpdateOperationsInput; - - @Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true}) - employees?: NullableIntFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => PersonUpdateManyWithoutCompanyNestedInput, {nullable:true}) - people?: PersonUpdateManyWithoutCompanyNestedInput; - - @Field(() => UserUpdateOneWithoutCompaniesNestedInput, {nullable:true}) - accountOwner?: UserUpdateOneWithoutCompaniesNestedInput; - - @HideField() - workspace?: WorkspaceUpdateOneRequiredWithoutCompaniesNestedInput; -} diff --git a/server/src/core/@generated/company/company-upsert-with-where-unique-without-account-owner.input.ts b/server/src/core/@generated/company/company-upsert-with-where-unique-without-account-owner.input.ts deleted file mode 100644 index 42ccc52d8..000000000 --- a/server/src/core/@generated/company/company-upsert-with-where-unique-without-account-owner.input.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { CompanyWhereUniqueInput } from './company-where-unique.input'; -import { Type } from 'class-transformer'; -import { CompanyUpdateWithoutAccountOwnerInput } from './company-update-without-account-owner.input'; -import { CompanyCreateWithoutAccountOwnerInput } from './company-create-without-account-owner.input'; - -@InputType() -export class CompanyUpsertWithWhereUniqueWithoutAccountOwnerInput { - - @Field(() => CompanyWhereUniqueInput, {nullable:false}) - @Type(() => CompanyWhereUniqueInput) - where!: CompanyWhereUniqueInput; - - @Field(() => CompanyUpdateWithoutAccountOwnerInput, {nullable:false}) - @Type(() => CompanyUpdateWithoutAccountOwnerInput) - update!: CompanyUpdateWithoutAccountOwnerInput; - - @Field(() => CompanyCreateWithoutAccountOwnerInput, {nullable:false}) - @Type(() => CompanyCreateWithoutAccountOwnerInput) - create!: CompanyCreateWithoutAccountOwnerInput; -} diff --git a/server/src/core/@generated/company/company-upsert-with-where-unique-without-workspace.input.ts b/server/src/core/@generated/company/company-upsert-with-where-unique-without-workspace.input.ts deleted file mode 100644 index a6cc8a35b..000000000 --- a/server/src/core/@generated/company/company-upsert-with-where-unique-without-workspace.input.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { CompanyWhereUniqueInput } from './company-where-unique.input'; -import { Type } from 'class-transformer'; -import { CompanyUpdateWithoutWorkspaceInput } from './company-update-without-workspace.input'; -import { CompanyCreateWithoutWorkspaceInput } from './company-create-without-workspace.input'; - -@InputType() -export class CompanyUpsertWithWhereUniqueWithoutWorkspaceInput { - - @Field(() => CompanyWhereUniqueInput, {nullable:false}) - @Type(() => CompanyWhereUniqueInput) - where!: CompanyWhereUniqueInput; - - @Field(() => CompanyUpdateWithoutWorkspaceInput, {nullable:false}) - @Type(() => CompanyUpdateWithoutWorkspaceInput) - update!: CompanyUpdateWithoutWorkspaceInput; - - @Field(() => CompanyCreateWithoutWorkspaceInput, {nullable:false}) - @Type(() => CompanyCreateWithoutWorkspaceInput) - create!: CompanyCreateWithoutWorkspaceInput; -} diff --git a/server/src/core/@generated/company/company-upsert-without-people.input.ts b/server/src/core/@generated/company/company-upsert-without-people.input.ts deleted file mode 100644 index 38d664dc0..000000000 --- a/server/src/core/@generated/company/company-upsert-without-people.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { CompanyUpdateWithoutPeopleInput } from './company-update-without-people.input'; -import { Type } from 'class-transformer'; -import { CompanyCreateWithoutPeopleInput } from './company-create-without-people.input'; - -@InputType() -export class CompanyUpsertWithoutPeopleInput { - - @Field(() => CompanyUpdateWithoutPeopleInput, {nullable:false}) - @Type(() => CompanyUpdateWithoutPeopleInput) - update!: CompanyUpdateWithoutPeopleInput; - - @Field(() => CompanyCreateWithoutPeopleInput, {nullable:false}) - @Type(() => CompanyCreateWithoutPeopleInput) - create!: CompanyCreateWithoutPeopleInput; -} diff --git a/server/src/core/@generated/company/company-where-unique.input.ts b/server/src/core/@generated/company/company-where-unique.input.ts deleted file mode 100644 index a18bd04bd..000000000 --- a/server/src/core/@generated/company/company-where-unique.input.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; - -@InputType() -export class CompanyWhereUniqueInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; -} diff --git a/server/src/core/@generated/company/company-where.input.ts b/server/src/core/@generated/company/company-where.input.ts deleted file mode 100644 index ef56cd223..000000000 --- a/server/src/core/@generated/company/company-where.input.ts +++ /dev/null @@ -1,63 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFilter } from '../prisma/string-filter.input'; -import { IntNullableFilter } from '../prisma/int-nullable-filter.input'; -import { StringNullableFilter } from '../prisma/string-nullable-filter.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input'; -import { DateTimeFilter } from '../prisma/date-time-filter.input'; -import { PersonListRelationFilter } from '../person/person-list-relation-filter.input'; -import { UserRelationFilter } from '../user/user-relation-filter.input'; -import { WorkspaceRelationFilter } from '../workspace/workspace-relation-filter.input'; - -@InputType() -export class CompanyWhereInput { - - @Field(() => [CompanyWhereInput], {nullable:true}) - AND?: Array; - - @Field(() => [CompanyWhereInput], {nullable:true}) - OR?: Array; - - @Field(() => [CompanyWhereInput], {nullable:true}) - NOT?: Array; - - @Field(() => StringFilter, {nullable:true}) - id?: StringFilter; - - @Field(() => StringFilter, {nullable:true}) - name?: StringFilter; - - @Field(() => StringFilter, {nullable:true}) - domainName?: StringFilter; - - @Field(() => StringFilter, {nullable:true}) - address?: StringFilter; - - @Field(() => IntNullableFilter, {nullable:true}) - employees?: IntNullableFilter; - - @Field(() => StringNullableFilter, {nullable:true}) - accountOwnerId?: StringNullableFilter; - - @HideField() - workspaceId?: StringFilter; - - @HideField() - deletedAt?: DateTimeNullableFilter; - - @Field(() => DateTimeFilter, {nullable:true}) - createdAt?: DateTimeFilter; - - @Field(() => DateTimeFilter, {nullable:true}) - updatedAt?: DateTimeFilter; - - @Field(() => PersonListRelationFilter, {nullable:true}) - people?: PersonListRelationFilter; - - @Field(() => UserRelationFilter, {nullable:true}) - accountOwner?: UserRelationFilter; - - @HideField() - workspace?: WorkspaceRelationFilter; -} diff --git a/server/src/core/@generated/company/company.model.ts b/server/src/core/@generated/company/company.model.ts deleted file mode 100644 index 7a4b1910f..000000000 --- a/server/src/core/@generated/company/company.model.ts +++ /dev/null @@ -1,55 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import { ID } from '@nestjs/graphql'; -import { Int } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; -import { Person } from '../person/person.model'; -import { User } from '../user/user.model'; -import { Workspace } from '../workspace/workspace.model'; -import { CompanyCount } from './company-count.output'; - -@ObjectType() -export class Company { - - @Field(() => ID, {nullable:false}) - id!: string; - - @Field(() => String, {nullable:false}) - name!: string; - - @Field(() => String, {nullable:false}) - domainName!: string; - - @Field(() => String, {nullable:false}) - address!: string; - - @Field(() => Int, {nullable:true}) - employees!: number | null; - - @Field(() => String, {nullable:true}) - accountOwnerId!: string | null; - - @HideField() - workspaceId!: string; - - @HideField() - deletedAt!: Date | null; - - @Field(() => Date, {nullable:false}) - createdAt!: Date; - - @Field(() => Date, {nullable:false}) - updatedAt!: Date; - - @Field(() => [Person], {nullable:true}) - people?: Array; - - @Field(() => User, {nullable:true}) - accountOwner?: User | null; - - @HideField() - workspace?: Workspace; - - @HideField() - _count?: CompanyCount; -} diff --git a/server/src/core/@generated/company/create-many-company.args.ts b/server/src/core/@generated/company/create-many-company.args.ts deleted file mode 100644 index 08e78f224..000000000 --- a/server/src/core/@generated/company/create-many-company.args.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { CompanyCreateManyInput } from './company-create-many.input'; -import { Type } from 'class-transformer'; -import { ValidateNested } from 'class-validator'; - -@ArgsType() -export class CreateManyCompanyArgs { - - @Field(() => [CompanyCreateManyInput], {nullable:false}) - @Type(() => CompanyCreateManyInput) - @ValidateNested({each: true}) - @Type(() => CompanyCreateManyInput) - data!: Array; - - @Field(() => Boolean, {nullable:true}) - skipDuplicates?: boolean; -} diff --git a/server/src/core/@generated/company/create-one-company.args.ts b/server/src/core/@generated/company/create-one-company.args.ts deleted file mode 100644 index c8dd6a033..000000000 --- a/server/src/core/@generated/company/create-one-company.args.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { CompanyCreateInput } from './company-create.input'; -import { Type } from 'class-transformer'; -import { ValidateNested } from 'class-validator'; - -@ArgsType() -export class CreateOneCompanyArgs { - - @Field(() => CompanyCreateInput, {nullable:false}) - @Type(() => CompanyCreateInput) - @ValidateNested({each: true}) - @Type(() => CompanyCreateInput) - data!: CompanyCreateInput; -} diff --git a/server/src/core/@generated/company/delete-many-company.args.ts b/server/src/core/@generated/company/delete-many-company.args.ts deleted file mode 100644 index e29682d7f..000000000 --- a/server/src/core/@generated/company/delete-many-company.args.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { CompanyWhereInput } from './company-where.input'; -import { Type } from 'class-transformer'; - -@ArgsType() -export class DeleteManyCompanyArgs { - - @Field(() => CompanyWhereInput, {nullable:true}) - @Type(() => CompanyWhereInput) - where?: CompanyWhereInput; -} diff --git a/server/src/core/@generated/company/delete-one-company.args.ts b/server/src/core/@generated/company/delete-one-company.args.ts deleted file mode 100644 index a214a0e5d..000000000 --- a/server/src/core/@generated/company/delete-one-company.args.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { CompanyWhereUniqueInput } from './company-where-unique.input'; -import { Type } from 'class-transformer'; - -@ArgsType() -export class DeleteOneCompanyArgs { - - @Field(() => CompanyWhereUniqueInput, {nullable:false}) - @Type(() => CompanyWhereUniqueInput) - where!: CompanyWhereUniqueInput; -} diff --git a/server/src/core/@generated/company/find-first-company-or-throw.args.ts b/server/src/core/@generated/company/find-first-company-or-throw.args.ts deleted file mode 100644 index 75e6ec5ee..000000000 --- a/server/src/core/@generated/company/find-first-company-or-throw.args.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { CompanyWhereInput } from './company-where.input'; -import { Type } from 'class-transformer'; -import { CompanyOrderByWithRelationInput } from './company-order-by-with-relation.input'; -import { CompanyWhereUniqueInput } from './company-where-unique.input'; -import { Int } from '@nestjs/graphql'; -import { CompanyScalarFieldEnum } from './company-scalar-field.enum'; - -@ArgsType() -export class FindFirstCompanyOrThrowArgs { - - @Field(() => CompanyWhereInput, {nullable:true}) - @Type(() => CompanyWhereInput) - where?: CompanyWhereInput; - - @Field(() => [CompanyOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; - - @Field(() => CompanyWhereUniqueInput, {nullable:true}) - cursor?: CompanyWhereUniqueInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [CompanyScalarFieldEnum], {nullable:true}) - distinct?: Array; -} diff --git a/server/src/core/@generated/company/find-first-company.args.ts b/server/src/core/@generated/company/find-first-company.args.ts deleted file mode 100644 index 6d335d936..000000000 --- a/server/src/core/@generated/company/find-first-company.args.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { CompanyWhereInput } from './company-where.input'; -import { Type } from 'class-transformer'; -import { CompanyOrderByWithRelationInput } from './company-order-by-with-relation.input'; -import { CompanyWhereUniqueInput } from './company-where-unique.input'; -import { Int } from '@nestjs/graphql'; -import { CompanyScalarFieldEnum } from './company-scalar-field.enum'; - -@ArgsType() -export class FindFirstCompanyArgs { - - @Field(() => CompanyWhereInput, {nullable:true}) - @Type(() => CompanyWhereInput) - where?: CompanyWhereInput; - - @Field(() => [CompanyOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; - - @Field(() => CompanyWhereUniqueInput, {nullable:true}) - cursor?: CompanyWhereUniqueInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [CompanyScalarFieldEnum], {nullable:true}) - distinct?: Array; -} diff --git a/server/src/core/@generated/company/find-many-company.args.ts b/server/src/core/@generated/company/find-many-company.args.ts deleted file mode 100644 index 57509e29a..000000000 --- a/server/src/core/@generated/company/find-many-company.args.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { CompanyWhereInput } from './company-where.input'; -import { Type } from 'class-transformer'; -import { CompanyOrderByWithRelationInput } from './company-order-by-with-relation.input'; -import { CompanyWhereUniqueInput } from './company-where-unique.input'; -import { Int } from '@nestjs/graphql'; -import { CompanyScalarFieldEnum } from './company-scalar-field.enum'; - -@ArgsType() -export class FindManyCompanyArgs { - - @Field(() => CompanyWhereInput, {nullable:true}) - @Type(() => CompanyWhereInput) - where?: CompanyWhereInput; - - @Field(() => [CompanyOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; - - @Field(() => CompanyWhereUniqueInput, {nullable:true}) - cursor?: CompanyWhereUniqueInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [CompanyScalarFieldEnum], {nullable:true}) - distinct?: Array; -} diff --git a/server/src/core/@generated/company/find-unique-company-or-throw.args.ts b/server/src/core/@generated/company/find-unique-company-or-throw.args.ts deleted file mode 100644 index 0b97bb13f..000000000 --- a/server/src/core/@generated/company/find-unique-company-or-throw.args.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { CompanyWhereUniqueInput } from './company-where-unique.input'; -import { Type } from 'class-transformer'; - -@ArgsType() -export class FindUniqueCompanyOrThrowArgs { - - @Field(() => CompanyWhereUniqueInput, {nullable:false}) - @Type(() => CompanyWhereUniqueInput) - where!: CompanyWhereUniqueInput; -} diff --git a/server/src/core/@generated/company/find-unique-company.args.ts b/server/src/core/@generated/company/find-unique-company.args.ts deleted file mode 100644 index 4aab75358..000000000 --- a/server/src/core/@generated/company/find-unique-company.args.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { CompanyWhereUniqueInput } from './company-where-unique.input'; -import { Type } from 'class-transformer'; - -@ArgsType() -export class FindUniqueCompanyArgs { - - @Field(() => CompanyWhereUniqueInput, {nullable:false}) - @Type(() => CompanyWhereUniqueInput) - where!: CompanyWhereUniqueInput; -} diff --git a/server/src/core/@generated/company/update-many-company.args.ts b/server/src/core/@generated/company/update-many-company.args.ts deleted file mode 100644 index 6672abe31..000000000 --- a/server/src/core/@generated/company/update-many-company.args.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { CompanyUpdateManyMutationInput } from './company-update-many-mutation.input'; -import { Type } from 'class-transformer'; -import { ValidateNested } from 'class-validator'; -import { CompanyWhereInput } from './company-where.input'; - -@ArgsType() -export class UpdateManyCompanyArgs { - - @Field(() => CompanyUpdateManyMutationInput, {nullable:false}) - @Type(() => CompanyUpdateManyMutationInput) - @ValidateNested({each: true}) - @Type(() => CompanyUpdateManyMutationInput) - data!: CompanyUpdateManyMutationInput; - - @Field(() => CompanyWhereInput, {nullable:true}) - @Type(() => CompanyWhereInput) - where?: CompanyWhereInput; -} diff --git a/server/src/core/@generated/company/update-one-company.args.ts b/server/src/core/@generated/company/update-one-company.args.ts deleted file mode 100644 index ca5a67049..000000000 --- a/server/src/core/@generated/company/update-one-company.args.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { CompanyUpdateInput } from './company-update.input'; -import { Type } from 'class-transformer'; -import { ValidateNested } from 'class-validator'; -import { CompanyWhereUniqueInput } from './company-where-unique.input'; - -@ArgsType() -export class UpdateOneCompanyArgs { - - @Field(() => CompanyUpdateInput, {nullable:false}) - @Type(() => CompanyUpdateInput) - @ValidateNested({each: true}) - @Type(() => CompanyUpdateInput) - data!: CompanyUpdateInput; - - @Field(() => CompanyWhereUniqueInput, {nullable:false}) - @Type(() => CompanyWhereUniqueInput) - where!: CompanyWhereUniqueInput; -} diff --git a/server/src/core/@generated/company/upsert-one-company.args.ts b/server/src/core/@generated/company/upsert-one-company.args.ts deleted file mode 100644 index 9e7a902c8..000000000 --- a/server/src/core/@generated/company/upsert-one-company.args.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { CompanyWhereUniqueInput } from './company-where-unique.input'; -import { Type } from 'class-transformer'; -import { CompanyCreateInput } from './company-create.input'; -import { CompanyUpdateInput } from './company-update.input'; - -@ArgsType() -export class UpsertOneCompanyArgs { - - @Field(() => CompanyWhereUniqueInput, {nullable:false}) - @Type(() => CompanyWhereUniqueInput) - where!: CompanyWhereUniqueInput; - - @Field(() => CompanyCreateInput, {nullable:false}) - @Type(() => CompanyCreateInput) - create!: CompanyCreateInput; - - @Field(() => CompanyUpdateInput, {nullable:false}) - @Type(() => CompanyUpdateInput) - update!: CompanyUpdateInput; -} diff --git a/server/src/core/@generated/person/aggregate-person.output.ts b/server/src/core/@generated/person/aggregate-person.output.ts deleted file mode 100644 index d74fd2f26..000000000 --- a/server/src/core/@generated/person/aggregate-person.output.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import { PersonCountAggregate } from './person-count-aggregate.output'; -import { PersonMinAggregate } from './person-min-aggregate.output'; -import { PersonMaxAggregate } from './person-max-aggregate.output'; - -@ObjectType() -export class AggregatePerson { - - @Field(() => PersonCountAggregate, {nullable:true}) - _count?: PersonCountAggregate; - - @Field(() => PersonMinAggregate, {nullable:true}) - _min?: PersonMinAggregate; - - @Field(() => PersonMaxAggregate, {nullable:true}) - _max?: PersonMaxAggregate; -} diff --git a/server/src/core/@generated/person/create-many-person.args.ts b/server/src/core/@generated/person/create-many-person.args.ts deleted file mode 100644 index d78b614a4..000000000 --- a/server/src/core/@generated/person/create-many-person.args.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PersonCreateManyInput } from './person-create-many.input'; -import { Type } from 'class-transformer'; -import { ValidateNested } from 'class-validator'; - -@ArgsType() -export class CreateManyPersonArgs { - - @Field(() => [PersonCreateManyInput], {nullable:false}) - @Type(() => PersonCreateManyInput) - @ValidateNested({each: true}) - @Type(() => PersonCreateManyInput) - data!: Array; - - @Field(() => Boolean, {nullable:true}) - skipDuplicates?: boolean; -} diff --git a/server/src/core/@generated/person/create-one-person.args.ts b/server/src/core/@generated/person/create-one-person.args.ts deleted file mode 100644 index 8651efd2c..000000000 --- a/server/src/core/@generated/person/create-one-person.args.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PersonCreateInput } from './person-create.input'; -import { Type } from 'class-transformer'; -import { ValidateNested } from 'class-validator'; - -@ArgsType() -export class CreateOnePersonArgs { - - @Field(() => PersonCreateInput, {nullable:false}) - @Type(() => PersonCreateInput) - @ValidateNested({each: true}) - @Type(() => PersonCreateInput) - data!: PersonCreateInput; -} diff --git a/server/src/core/@generated/person/delete-many-person.args.ts b/server/src/core/@generated/person/delete-many-person.args.ts deleted file mode 100644 index 03164d7d2..000000000 --- a/server/src/core/@generated/person/delete-many-person.args.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PersonWhereInput } from './person-where.input'; -import { Type } from 'class-transformer'; - -@ArgsType() -export class DeleteManyPersonArgs { - - @Field(() => PersonWhereInput, {nullable:true}) - @Type(() => PersonWhereInput) - where?: PersonWhereInput; -} diff --git a/server/src/core/@generated/person/delete-one-person.args.ts b/server/src/core/@generated/person/delete-one-person.args.ts deleted file mode 100644 index 948d81094..000000000 --- a/server/src/core/@generated/person/delete-one-person.args.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PersonWhereUniqueInput } from './person-where-unique.input'; -import { Type } from 'class-transformer'; - -@ArgsType() -export class DeleteOnePersonArgs { - - @Field(() => PersonWhereUniqueInput, {nullable:false}) - @Type(() => PersonWhereUniqueInput) - where!: PersonWhereUniqueInput; -} diff --git a/server/src/core/@generated/person/find-first-person-or-throw.args.ts b/server/src/core/@generated/person/find-first-person-or-throw.args.ts deleted file mode 100644 index ae79aa421..000000000 --- a/server/src/core/@generated/person/find-first-person-or-throw.args.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PersonWhereInput } from './person-where.input'; -import { Type } from 'class-transformer'; -import { PersonOrderByWithRelationInput } from './person-order-by-with-relation.input'; -import { PersonWhereUniqueInput } from './person-where-unique.input'; -import { Int } from '@nestjs/graphql'; -import { PersonScalarFieldEnum } from './person-scalar-field.enum'; - -@ArgsType() -export class FindFirstPersonOrThrowArgs { - - @Field(() => PersonWhereInput, {nullable:true}) - @Type(() => PersonWhereInput) - where?: PersonWhereInput; - - @Field(() => [PersonOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; - - @Field(() => PersonWhereUniqueInput, {nullable:true}) - cursor?: PersonWhereUniqueInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [PersonScalarFieldEnum], {nullable:true}) - distinct?: Array; -} diff --git a/server/src/core/@generated/person/find-first-person.args.ts b/server/src/core/@generated/person/find-first-person.args.ts deleted file mode 100644 index 95f27d487..000000000 --- a/server/src/core/@generated/person/find-first-person.args.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PersonWhereInput } from './person-where.input'; -import { Type } from 'class-transformer'; -import { PersonOrderByWithRelationInput } from './person-order-by-with-relation.input'; -import { PersonWhereUniqueInput } from './person-where-unique.input'; -import { Int } from '@nestjs/graphql'; -import { PersonScalarFieldEnum } from './person-scalar-field.enum'; - -@ArgsType() -export class FindFirstPersonArgs { - - @Field(() => PersonWhereInput, {nullable:true}) - @Type(() => PersonWhereInput) - where?: PersonWhereInput; - - @Field(() => [PersonOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; - - @Field(() => PersonWhereUniqueInput, {nullable:true}) - cursor?: PersonWhereUniqueInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [PersonScalarFieldEnum], {nullable:true}) - distinct?: Array; -} diff --git a/server/src/core/@generated/person/find-many-person.args.ts b/server/src/core/@generated/person/find-many-person.args.ts deleted file mode 100644 index daf71d251..000000000 --- a/server/src/core/@generated/person/find-many-person.args.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PersonWhereInput } from './person-where.input'; -import { Type } from 'class-transformer'; -import { PersonOrderByWithRelationInput } from './person-order-by-with-relation.input'; -import { PersonWhereUniqueInput } from './person-where-unique.input'; -import { Int } from '@nestjs/graphql'; -import { PersonScalarFieldEnum } from './person-scalar-field.enum'; - -@ArgsType() -export class FindManyPersonArgs { - - @Field(() => PersonWhereInput, {nullable:true}) - @Type(() => PersonWhereInput) - where?: PersonWhereInput; - - @Field(() => [PersonOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; - - @Field(() => PersonWhereUniqueInput, {nullable:true}) - cursor?: PersonWhereUniqueInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [PersonScalarFieldEnum], {nullable:true}) - distinct?: Array; -} diff --git a/server/src/core/@generated/person/find-unique-person-or-throw.args.ts b/server/src/core/@generated/person/find-unique-person-or-throw.args.ts deleted file mode 100644 index bf547d68f..000000000 --- a/server/src/core/@generated/person/find-unique-person-or-throw.args.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PersonWhereUniqueInput } from './person-where-unique.input'; -import { Type } from 'class-transformer'; - -@ArgsType() -export class FindUniquePersonOrThrowArgs { - - @Field(() => PersonWhereUniqueInput, {nullable:false}) - @Type(() => PersonWhereUniqueInput) - where!: PersonWhereUniqueInput; -} diff --git a/server/src/core/@generated/person/find-unique-person.args.ts b/server/src/core/@generated/person/find-unique-person.args.ts deleted file mode 100644 index fc17d8f54..000000000 --- a/server/src/core/@generated/person/find-unique-person.args.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PersonWhereUniqueInput } from './person-where-unique.input'; -import { Type } from 'class-transformer'; - -@ArgsType() -export class FindUniquePersonArgs { - - @Field(() => PersonWhereUniqueInput, {nullable:false}) - @Type(() => PersonWhereUniqueInput) - where!: PersonWhereUniqueInput; -} diff --git a/server/src/core/@generated/person/person-aggregate.args.ts b/server/src/core/@generated/person/person-aggregate.args.ts deleted file mode 100644 index 03726105f..000000000 --- a/server/src/core/@generated/person/person-aggregate.args.ts +++ /dev/null @@ -1,39 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PersonWhereInput } from './person-where.input'; -import { Type } from 'class-transformer'; -import { PersonOrderByWithRelationInput } from './person-order-by-with-relation.input'; -import { PersonWhereUniqueInput } from './person-where-unique.input'; -import { Int } from '@nestjs/graphql'; -import { PersonCountAggregateInput } from './person-count-aggregate.input'; -import { PersonMinAggregateInput } from './person-min-aggregate.input'; -import { PersonMaxAggregateInput } from './person-max-aggregate.input'; - -@ArgsType() -export class PersonAggregateArgs { - - @Field(() => PersonWhereInput, {nullable:true}) - @Type(() => PersonWhereInput) - where?: PersonWhereInput; - - @Field(() => [PersonOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; - - @Field(() => PersonWhereUniqueInput, {nullable:true}) - cursor?: PersonWhereUniqueInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => PersonCountAggregateInput, {nullable:true}) - _count?: PersonCountAggregateInput; - - @Field(() => PersonMinAggregateInput, {nullable:true}) - _min?: PersonMinAggregateInput; - - @Field(() => PersonMaxAggregateInput, {nullable:true}) - _max?: PersonMaxAggregateInput; -} diff --git a/server/src/core/@generated/person/person-count-aggregate.input.ts b/server/src/core/@generated/person/person-count-aggregate.input.ts deleted file mode 100644 index 2b3e04e14..000000000 --- a/server/src/core/@generated/person/person-count-aggregate.input.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class PersonCountAggregateInput { - - @Field(() => Boolean, {nullable:true}) - id?: true; - - @Field(() => Boolean, {nullable:true}) - firstName?: true; - - @Field(() => Boolean, {nullable:true}) - lastName?: true; - - @Field(() => Boolean, {nullable:true}) - email?: true; - - @Field(() => Boolean, {nullable:true}) - phone?: true; - - @Field(() => Boolean, {nullable:true}) - city?: true; - - @Field(() => Boolean, {nullable:true}) - companyId?: true; - - @HideField() - workspaceId?: true; - - @HideField() - deletedAt?: true; - - @Field(() => Boolean, {nullable:true}) - createdAt?: true; - - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; - - @Field(() => Boolean, {nullable:true}) - _all?: true; -} diff --git a/server/src/core/@generated/person/person-count-aggregate.output.ts b/server/src/core/@generated/person/person-count-aggregate.output.ts deleted file mode 100644 index 0bca1e21b..000000000 --- a/server/src/core/@generated/person/person-count-aggregate.output.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import { Int } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; - -@ObjectType() -export class PersonCountAggregate { - - @Field(() => Int, {nullable:false}) - id!: number; - - @Field(() => Int, {nullable:false}) - firstName!: number; - - @Field(() => Int, {nullable:false}) - lastName!: number; - - @Field(() => Int, {nullable:false}) - email!: number; - - @Field(() => Int, {nullable:false}) - phone!: number; - - @Field(() => Int, {nullable:false}) - city!: number; - - @Field(() => Int, {nullable:false}) - companyId!: number; - - @HideField() - workspaceId!: number; - - @HideField() - deletedAt!: number; - - @Field(() => Int, {nullable:false}) - createdAt!: number; - - @Field(() => Int, {nullable:false}) - updatedAt!: number; - - @Field(() => Int, {nullable:false}) - _all!: number; -} diff --git a/server/src/core/@generated/person/person-count-order-by-aggregate.input.ts b/server/src/core/@generated/person/person-count-order-by-aggregate.input.ts deleted file mode 100644 index 7988bc562..000000000 --- a/server/src/core/@generated/person/person-count-order-by-aggregate.input.ts +++ /dev/null @@ -1,41 +0,0 @@ -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 PersonCountOrderByAggregateInput { - - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - firstName?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - lastName?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - email?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - phone?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - city?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - companyId?: keyof typeof SortOrder; - - @HideField() - workspaceId?: keyof typeof SortOrder; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; -} diff --git a/server/src/core/@generated/person/person-create-many-company-input-envelope.input.ts b/server/src/core/@generated/person/person-create-many-company-input-envelope.input.ts deleted file mode 100644 index 97666da47..000000000 --- a/server/src/core/@generated/person/person-create-many-company-input-envelope.input.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PersonCreateManyCompanyInput } from './person-create-many-company.input'; -import { Type } from 'class-transformer'; - -@InputType() -export class PersonCreateManyCompanyInputEnvelope { - - @Field(() => [PersonCreateManyCompanyInput], {nullable:false}) - @Type(() => PersonCreateManyCompanyInput) - data!: Array; - - @Field(() => Boolean, {nullable:true}) - skipDuplicates?: boolean; -} diff --git a/server/src/core/@generated/person/person-create-many-company.input.ts b/server/src/core/@generated/person/person-create-many-company.input.ts deleted file mode 100644 index 96153739b..000000000 --- a/server/src/core/@generated/person/person-create-many-company.input.ts +++ /dev/null @@ -1,45 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class PersonCreateManyCompanyInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - firstName!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - lastName!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - email!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - phone!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - city!: string; - - @HideField() - workspaceId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/person/person-create-many-workspace-input-envelope.input.ts b/server/src/core/@generated/person/person-create-many-workspace-input-envelope.input.ts deleted file mode 100644 index 97e817db2..000000000 --- a/server/src/core/@generated/person/person-create-many-workspace-input-envelope.input.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PersonCreateManyWorkspaceInput } from './person-create-many-workspace.input'; -import { Type } from 'class-transformer'; - -@InputType() -export class PersonCreateManyWorkspaceInputEnvelope { - - @Field(() => [PersonCreateManyWorkspaceInput], {nullable:false}) - @Type(() => PersonCreateManyWorkspaceInput) - data!: Array; - - @Field(() => Boolean, {nullable:true}) - skipDuplicates?: boolean; -} diff --git a/server/src/core/@generated/person/person-create-many-workspace.input.ts b/server/src/core/@generated/person/person-create-many-workspace.input.ts deleted file mode 100644 index a83329065..000000000 --- a/server/src/core/@generated/person/person-create-many-workspace.input.ts +++ /dev/null @@ -1,45 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class PersonCreateManyWorkspaceInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - firstName!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - lastName!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - email!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - phone!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - city!: string; - - @Field(() => String, {nullable:true}) - companyId?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/person/person-create-many.input.ts b/server/src/core/@generated/person/person-create-many.input.ts deleted file mode 100644 index 02e40eee7..000000000 --- a/server/src/core/@generated/person/person-create-many.input.ts +++ /dev/null @@ -1,48 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class PersonCreateManyInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - firstName!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - lastName!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - email!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - phone!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - city!: string; - - @Field(() => String, {nullable:true}) - companyId?: string; - - @HideField() - workspaceId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/person/person-create-nested-many-without-company.input.ts b/server/src/core/@generated/person/person-create-nested-many-without-company.input.ts deleted file mode 100644 index c8ffd9211..000000000 --- a/server/src/core/@generated/person/person-create-nested-many-without-company.input.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PersonCreateWithoutCompanyInput } from './person-create-without-company.input'; -import { HideField } from '@nestjs/graphql'; -import { PersonCreateOrConnectWithoutCompanyInput } from './person-create-or-connect-without-company.input'; -import { PersonCreateManyCompanyInputEnvelope } from './person-create-many-company-input-envelope.input'; -import { PersonWhereUniqueInput } from './person-where-unique.input'; -import { Type } from 'class-transformer'; - -@InputType() -export class PersonCreateNestedManyWithoutCompanyInput { - - @HideField() - create?: Array; - - @HideField() - connectOrCreate?: Array; - - @HideField() - createMany?: PersonCreateManyCompanyInputEnvelope; - - @Field(() => [PersonWhereUniqueInput], {nullable:true}) - @Type(() => PersonWhereUniqueInput) - connect?: Array; -} diff --git a/server/src/core/@generated/person/person-create-nested-many-without-workspace.input.ts b/server/src/core/@generated/person/person-create-nested-many-without-workspace.input.ts deleted file mode 100644 index 9ed6c2196..000000000 --- a/server/src/core/@generated/person/person-create-nested-many-without-workspace.input.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PersonCreateWithoutWorkspaceInput } from './person-create-without-workspace.input'; -import { Type } from 'class-transformer'; -import { PersonCreateOrConnectWithoutWorkspaceInput } from './person-create-or-connect-without-workspace.input'; -import { PersonCreateManyWorkspaceInputEnvelope } from './person-create-many-workspace-input-envelope.input'; -import { PersonWhereUniqueInput } from './person-where-unique.input'; - -@InputType() -export class PersonCreateNestedManyWithoutWorkspaceInput { - - @Field(() => [PersonCreateWithoutWorkspaceInput], {nullable:true}) - @Type(() => PersonCreateWithoutWorkspaceInput) - create?: Array; - - @Field(() => [PersonCreateOrConnectWithoutWorkspaceInput], {nullable:true}) - @Type(() => PersonCreateOrConnectWithoutWorkspaceInput) - connectOrCreate?: Array; - - @Field(() => PersonCreateManyWorkspaceInputEnvelope, {nullable:true}) - @Type(() => PersonCreateManyWorkspaceInputEnvelope) - createMany?: PersonCreateManyWorkspaceInputEnvelope; - - @Field(() => [PersonWhereUniqueInput], {nullable:true}) - @Type(() => PersonWhereUniqueInput) - connect?: Array; -} diff --git a/server/src/core/@generated/person/person-create-or-connect-without-company.input.ts b/server/src/core/@generated/person/person-create-or-connect-without-company.input.ts deleted file mode 100644 index d8f7e161e..000000000 --- a/server/src/core/@generated/person/person-create-or-connect-without-company.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PersonWhereUniqueInput } from './person-where-unique.input'; -import { Type } from 'class-transformer'; -import { PersonCreateWithoutCompanyInput } from './person-create-without-company.input'; - -@InputType() -export class PersonCreateOrConnectWithoutCompanyInput { - - @Field(() => PersonWhereUniqueInput, {nullable:false}) - @Type(() => PersonWhereUniqueInput) - where!: PersonWhereUniqueInput; - - @Field(() => PersonCreateWithoutCompanyInput, {nullable:false}) - @Type(() => PersonCreateWithoutCompanyInput) - create!: PersonCreateWithoutCompanyInput; -} diff --git a/server/src/core/@generated/person/person-create-or-connect-without-workspace.input.ts b/server/src/core/@generated/person/person-create-or-connect-without-workspace.input.ts deleted file mode 100644 index 145651223..000000000 --- a/server/src/core/@generated/person/person-create-or-connect-without-workspace.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PersonWhereUniqueInput } from './person-where-unique.input'; -import { Type } from 'class-transformer'; -import { PersonCreateWithoutWorkspaceInput } from './person-create-without-workspace.input'; - -@InputType() -export class PersonCreateOrConnectWithoutWorkspaceInput { - - @Field(() => PersonWhereUniqueInput, {nullable:false}) - @Type(() => PersonWhereUniqueInput) - where!: PersonWhereUniqueInput; - - @Field(() => PersonCreateWithoutWorkspaceInput, {nullable:false}) - @Type(() => PersonCreateWithoutWorkspaceInput) - create!: PersonCreateWithoutWorkspaceInput; -} diff --git a/server/src/core/@generated/person/person-create-without-company.input.ts b/server/src/core/@generated/person/person-create-without-company.input.ts deleted file mode 100644 index fbc7fe66f..000000000 --- a/server/src/core/@generated/person/person-create-without-company.input.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; -import { WorkspaceCreateNestedOneWithoutPeopleInput } from '../workspace/workspace-create-nested-one-without-people.input'; - -@InputType() -export class PersonCreateWithoutCompanyInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - firstName!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - lastName!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - email!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - phone!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - city!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @HideField() - workspace!: WorkspaceCreateNestedOneWithoutPeopleInput; -} diff --git a/server/src/core/@generated/person/person-create-without-workspace.input.ts b/server/src/core/@generated/person/person-create-without-workspace.input.ts deleted file mode 100644 index fe2714abd..000000000 --- a/server/src/core/@generated/person/person-create-without-workspace.input.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; -import { CompanyCreateNestedOneWithoutPeopleInput } from '../company/company-create-nested-one-without-people.input'; - -@InputType() -export class PersonCreateWithoutWorkspaceInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - firstName!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - lastName!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - email!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - phone!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - city!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => CompanyCreateNestedOneWithoutPeopleInput, {nullable:true}) - company?: CompanyCreateNestedOneWithoutPeopleInput; -} diff --git a/server/src/core/@generated/person/person-create.input.ts b/server/src/core/@generated/person/person-create.input.ts deleted file mode 100644 index ab931df50..000000000 --- a/server/src/core/@generated/person/person-create.input.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; -import { CompanyCreateNestedOneWithoutPeopleInput } from '../company/company-create-nested-one-without-people.input'; -import { WorkspaceCreateNestedOneWithoutPeopleInput } from '../workspace/workspace-create-nested-one-without-people.input'; - -@InputType() -export class PersonCreateInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - firstName!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - lastName!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - email!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - phone!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - city!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => CompanyCreateNestedOneWithoutPeopleInput, {nullable:true}) - company?: CompanyCreateNestedOneWithoutPeopleInput; - - @HideField() - workspace!: WorkspaceCreateNestedOneWithoutPeopleInput; -} diff --git a/server/src/core/@generated/person/person-group-by.args.ts b/server/src/core/@generated/person/person-group-by.args.ts deleted file mode 100644 index 378117736..000000000 --- a/server/src/core/@generated/person/person-group-by.args.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PersonWhereInput } from './person-where.input'; -import { Type } from 'class-transformer'; -import { PersonOrderByWithAggregationInput } from './person-order-by-with-aggregation.input'; -import { PersonScalarFieldEnum } from './person-scalar-field.enum'; -import { PersonScalarWhereWithAggregatesInput } from './person-scalar-where-with-aggregates.input'; -import { Int } from '@nestjs/graphql'; -import { PersonCountAggregateInput } from './person-count-aggregate.input'; -import { PersonMinAggregateInput } from './person-min-aggregate.input'; -import { PersonMaxAggregateInput } from './person-max-aggregate.input'; - -@ArgsType() -export class PersonGroupByArgs { - - @Field(() => PersonWhereInput, {nullable:true}) - @Type(() => PersonWhereInput) - where?: PersonWhereInput; - - @Field(() => [PersonOrderByWithAggregationInput], {nullable:true}) - orderBy?: Array; - - @Field(() => [PersonScalarFieldEnum], {nullable:false}) - by!: Array; - - @Field(() => PersonScalarWhereWithAggregatesInput, {nullable:true}) - having?: PersonScalarWhereWithAggregatesInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => PersonCountAggregateInput, {nullable:true}) - _count?: PersonCountAggregateInput; - - @Field(() => PersonMinAggregateInput, {nullable:true}) - _min?: PersonMinAggregateInput; - - @Field(() => PersonMaxAggregateInput, {nullable:true}) - _max?: PersonMaxAggregateInput; -} diff --git a/server/src/core/@generated/person/person-group-by.output.ts b/server/src/core/@generated/person/person-group-by.output.ts deleted file mode 100644 index c38310a97..000000000 --- a/server/src/core/@generated/person/person-group-by.output.ts +++ /dev/null @@ -1,60 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; -import { PersonCountAggregate } from './person-count-aggregate.output'; -import { PersonMinAggregate } from './person-min-aggregate.output'; -import { PersonMaxAggregate } from './person-max-aggregate.output'; - -@ObjectType() -export class PersonGroupBy { - - @Field(() => String, {nullable:false}) - @Validator.IsString() - @Validator.IsOptional() - id!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - firstName!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - lastName!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - email!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - phone!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - city!: string; - - @Field(() => String, {nullable:true}) - companyId?: string; - - @HideField() - workspaceId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:false}) - createdAt!: Date | string; - - @Field(() => Date, {nullable:false}) - updatedAt!: Date | string; - - @Field(() => PersonCountAggregate, {nullable:true}) - _count?: PersonCountAggregate; - - @Field(() => PersonMinAggregate, {nullable:true}) - _min?: PersonMinAggregate; - - @Field(() => PersonMaxAggregate, {nullable:true}) - _max?: PersonMaxAggregate; -} diff --git a/server/src/core/@generated/person/person-list-relation-filter.input.ts b/server/src/core/@generated/person/person-list-relation-filter.input.ts deleted file mode 100644 index 0847b96b0..000000000 --- a/server/src/core/@generated/person/person-list-relation-filter.input.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PersonWhereInput } from './person-where.input'; - -@InputType() -export class PersonListRelationFilter { - - @Field(() => PersonWhereInput, {nullable:true}) - every?: PersonWhereInput; - - @Field(() => PersonWhereInput, {nullable:true}) - some?: PersonWhereInput; - - @Field(() => PersonWhereInput, {nullable:true}) - none?: PersonWhereInput; -} diff --git a/server/src/core/@generated/person/person-max-aggregate.input.ts b/server/src/core/@generated/person/person-max-aggregate.input.ts deleted file mode 100644 index 5593aa797..000000000 --- a/server/src/core/@generated/person/person-max-aggregate.input.ts +++ /dev/null @@ -1,40 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class PersonMaxAggregateInput { - - @Field(() => Boolean, {nullable:true}) - id?: true; - - @Field(() => Boolean, {nullable:true}) - firstName?: true; - - @Field(() => Boolean, {nullable:true}) - lastName?: true; - - @Field(() => Boolean, {nullable:true}) - email?: true; - - @Field(() => Boolean, {nullable:true}) - phone?: true; - - @Field(() => Boolean, {nullable:true}) - city?: true; - - @Field(() => Boolean, {nullable:true}) - companyId?: true; - - @HideField() - workspaceId?: true; - - @HideField() - deletedAt?: true; - - @Field(() => Boolean, {nullable:true}) - createdAt?: true; - - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; -} diff --git a/server/src/core/@generated/person/person-max-aggregate.output.ts b/server/src/core/@generated/person/person-max-aggregate.output.ts deleted file mode 100644 index a9b01b9db..000000000 --- a/server/src/core/@generated/person/person-max-aggregate.output.ts +++ /dev/null @@ -1,48 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; - -@ObjectType() -export class PersonMaxAggregate { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - firstName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - lastName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - email?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - phone?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - city?: string; - - @Field(() => String, {nullable:true}) - companyId?: string; - - @HideField() - workspaceId?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/person/person-max-order-by-aggregate.input.ts b/server/src/core/@generated/person/person-max-order-by-aggregate.input.ts deleted file mode 100644 index f810ef759..000000000 --- a/server/src/core/@generated/person/person-max-order-by-aggregate.input.ts +++ /dev/null @@ -1,41 +0,0 @@ -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 PersonMaxOrderByAggregateInput { - - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - firstName?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - lastName?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - email?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - phone?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - city?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - companyId?: keyof typeof SortOrder; - - @HideField() - workspaceId?: keyof typeof SortOrder; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; -} diff --git a/server/src/core/@generated/person/person-min-aggregate.input.ts b/server/src/core/@generated/person/person-min-aggregate.input.ts deleted file mode 100644 index ffe38e04a..000000000 --- a/server/src/core/@generated/person/person-min-aggregate.input.ts +++ /dev/null @@ -1,40 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class PersonMinAggregateInput { - - @Field(() => Boolean, {nullable:true}) - id?: true; - - @Field(() => Boolean, {nullable:true}) - firstName?: true; - - @Field(() => Boolean, {nullable:true}) - lastName?: true; - - @Field(() => Boolean, {nullable:true}) - email?: true; - - @Field(() => Boolean, {nullable:true}) - phone?: true; - - @Field(() => Boolean, {nullable:true}) - city?: true; - - @Field(() => Boolean, {nullable:true}) - companyId?: true; - - @HideField() - workspaceId?: true; - - @HideField() - deletedAt?: true; - - @Field(() => Boolean, {nullable:true}) - createdAt?: true; - - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; -} diff --git a/server/src/core/@generated/person/person-min-aggregate.output.ts b/server/src/core/@generated/person/person-min-aggregate.output.ts deleted file mode 100644 index d3aeb355e..000000000 --- a/server/src/core/@generated/person/person-min-aggregate.output.ts +++ /dev/null @@ -1,48 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; - -@ObjectType() -export class PersonMinAggregate { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - firstName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - lastName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - email?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - phone?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - city?: string; - - @Field(() => String, {nullable:true}) - companyId?: string; - - @HideField() - workspaceId?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/person/person-min-order-by-aggregate.input.ts b/server/src/core/@generated/person/person-min-order-by-aggregate.input.ts deleted file mode 100644 index 5a835edcc..000000000 --- a/server/src/core/@generated/person/person-min-order-by-aggregate.input.ts +++ /dev/null @@ -1,41 +0,0 @@ -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 PersonMinOrderByAggregateInput { - - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - firstName?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - lastName?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - email?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - phone?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - city?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - companyId?: keyof typeof SortOrder; - - @HideField() - workspaceId?: keyof typeof SortOrder; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; -} diff --git a/server/src/core/@generated/person/person-order-by-relation-aggregate.input.ts b/server/src/core/@generated/person/person-order-by-relation-aggregate.input.ts deleted file mode 100644 index 6d2347dc4..000000000 --- a/server/src/core/@generated/person/person-order-by-relation-aggregate.input.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { SortOrder } from '../prisma/sort-order.enum'; - -@InputType() -export class PersonOrderByRelationAggregateInput { - - @Field(() => SortOrder, {nullable:true}) - _count?: keyof typeof SortOrder; -} diff --git a/server/src/core/@generated/person/person-order-by-with-aggregation.input.ts b/server/src/core/@generated/person/person-order-by-with-aggregation.input.ts deleted file mode 100644 index 4d98359b5..000000000 --- a/server/src/core/@generated/person/person-order-by-with-aggregation.input.ts +++ /dev/null @@ -1,53 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { SortOrder } from '../prisma/sort-order.enum'; -import { HideField } from '@nestjs/graphql'; -import { PersonCountOrderByAggregateInput } from './person-count-order-by-aggregate.input'; -import { PersonMaxOrderByAggregateInput } from './person-max-order-by-aggregate.input'; -import { PersonMinOrderByAggregateInput } from './person-min-order-by-aggregate.input'; - -@InputType() -export class PersonOrderByWithAggregationInput { - - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - firstName?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - lastName?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - email?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - phone?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - city?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - companyId?: keyof typeof SortOrder; - - @HideField() - workspaceId?: keyof typeof SortOrder; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; - - @Field(() => PersonCountOrderByAggregateInput, {nullable:true}) - _count?: PersonCountOrderByAggregateInput; - - @Field(() => PersonMaxOrderByAggregateInput, {nullable:true}) - _max?: PersonMaxOrderByAggregateInput; - - @Field(() => PersonMinOrderByAggregateInput, {nullable:true}) - _min?: PersonMinOrderByAggregateInput; -} diff --git a/server/src/core/@generated/person/person-order-by-with-relation.input.ts b/server/src/core/@generated/person/person-order-by-with-relation.input.ts deleted file mode 100644 index 473a66d4f..000000000 --- a/server/src/core/@generated/person/person-order-by-with-relation.input.ts +++ /dev/null @@ -1,49 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { SortOrder } from '../prisma/sort-order.enum'; -import { HideField } from '@nestjs/graphql'; -import { CompanyOrderByWithRelationInput } from '../company/company-order-by-with-relation.input'; -import { WorkspaceOrderByWithRelationInput } from '../workspace/workspace-order-by-with-relation.input'; - -@InputType() -export class PersonOrderByWithRelationInput { - - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - firstName?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - lastName?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - email?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - phone?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - city?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - companyId?: keyof typeof SortOrder; - - @HideField() - workspaceId?: keyof typeof SortOrder; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; - - @Field(() => CompanyOrderByWithRelationInput, {nullable:true}) - company?: CompanyOrderByWithRelationInput; - - @HideField() - workspace?: WorkspaceOrderByWithRelationInput; -} diff --git a/server/src/core/@generated/person/person-scalar-field.enum.ts b/server/src/core/@generated/person/person-scalar-field.enum.ts deleted file mode 100644 index 33072717b..000000000 --- a/server/src/core/@generated/person/person-scalar-field.enum.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { registerEnumType } from '@nestjs/graphql'; - -export enum PersonScalarFieldEnum { - id = "id", - firstName = "firstName", - lastName = "lastName", - email = "email", - phone = "phone", - city = "city", - companyId = "companyId", - workspaceId = "workspaceId", - deletedAt = "deletedAt", - createdAt = "createdAt", - updatedAt = "updatedAt" -} - - -registerEnumType(PersonScalarFieldEnum, { name: 'PersonScalarFieldEnum', description: undefined }) diff --git a/server/src/core/@generated/person/person-scalar-where-with-aggregates.input.ts b/server/src/core/@generated/person/person-scalar-where-with-aggregates.input.ts deleted file mode 100644 index 895487d43..000000000 --- a/server/src/core/@generated/person/person-scalar-where-with-aggregates.input.ts +++ /dev/null @@ -1,53 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringWithAggregatesFilter } from '../prisma/string-with-aggregates-filter.input'; -import { StringNullableWithAggregatesFilter } from '../prisma/string-nullable-with-aggregates-filter.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeNullableWithAggregatesFilter } from '../prisma/date-time-nullable-with-aggregates-filter.input'; -import { DateTimeWithAggregatesFilter } from '../prisma/date-time-with-aggregates-filter.input'; - -@InputType() -export class PersonScalarWhereWithAggregatesInput { - - @Field(() => [PersonScalarWhereWithAggregatesInput], {nullable:true}) - AND?: Array; - - @Field(() => [PersonScalarWhereWithAggregatesInput], {nullable:true}) - OR?: Array; - - @Field(() => [PersonScalarWhereWithAggregatesInput], {nullable:true}) - NOT?: Array; - - @Field(() => StringWithAggregatesFilter, {nullable:true}) - id?: StringWithAggregatesFilter; - - @Field(() => StringWithAggregatesFilter, {nullable:true}) - firstName?: StringWithAggregatesFilter; - - @Field(() => StringWithAggregatesFilter, {nullable:true}) - lastName?: StringWithAggregatesFilter; - - @Field(() => StringWithAggregatesFilter, {nullable:true}) - email?: StringWithAggregatesFilter; - - @Field(() => StringWithAggregatesFilter, {nullable:true}) - phone?: StringWithAggregatesFilter; - - @Field(() => StringWithAggregatesFilter, {nullable:true}) - city?: StringWithAggregatesFilter; - - @Field(() => StringNullableWithAggregatesFilter, {nullable:true}) - companyId?: StringNullableWithAggregatesFilter; - - @HideField() - workspaceId?: StringWithAggregatesFilter; - - @HideField() - deletedAt?: DateTimeNullableWithAggregatesFilter; - - @Field(() => DateTimeWithAggregatesFilter, {nullable:true}) - createdAt?: DateTimeWithAggregatesFilter; - - @Field(() => DateTimeWithAggregatesFilter, {nullable:true}) - updatedAt?: DateTimeWithAggregatesFilter; -} diff --git a/server/src/core/@generated/person/person-scalar-where.input.ts b/server/src/core/@generated/person/person-scalar-where.input.ts deleted file mode 100644 index 8e4efdad7..000000000 --- a/server/src/core/@generated/person/person-scalar-where.input.ts +++ /dev/null @@ -1,53 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFilter } from '../prisma/string-filter.input'; -import { StringNullableFilter } from '../prisma/string-nullable-filter.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input'; -import { DateTimeFilter } from '../prisma/date-time-filter.input'; - -@InputType() -export class PersonScalarWhereInput { - - @Field(() => [PersonScalarWhereInput], {nullable:true}) - AND?: Array; - - @Field(() => [PersonScalarWhereInput], {nullable:true}) - OR?: Array; - - @Field(() => [PersonScalarWhereInput], {nullable:true}) - NOT?: Array; - - @Field(() => StringFilter, {nullable:true}) - id?: StringFilter; - - @Field(() => StringFilter, {nullable:true}) - firstName?: StringFilter; - - @Field(() => StringFilter, {nullable:true}) - lastName?: StringFilter; - - @Field(() => StringFilter, {nullable:true}) - email?: StringFilter; - - @Field(() => StringFilter, {nullable:true}) - phone?: StringFilter; - - @Field(() => StringFilter, {nullable:true}) - city?: StringFilter; - - @Field(() => StringNullableFilter, {nullable:true}) - companyId?: StringNullableFilter; - - @HideField() - workspaceId?: StringFilter; - - @HideField() - deletedAt?: DateTimeNullableFilter; - - @Field(() => DateTimeFilter, {nullable:true}) - createdAt?: DateTimeFilter; - - @Field(() => DateTimeFilter, {nullable:true}) - updatedAt?: DateTimeFilter; -} diff --git a/server/src/core/@generated/person/person-unchecked-create-nested-many-without-company.input.ts b/server/src/core/@generated/person/person-unchecked-create-nested-many-without-company.input.ts deleted file mode 100644 index 74785b39d..000000000 --- a/server/src/core/@generated/person/person-unchecked-create-nested-many-without-company.input.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PersonCreateWithoutCompanyInput } from './person-create-without-company.input'; -import { Type } from 'class-transformer'; -import { PersonCreateOrConnectWithoutCompanyInput } from './person-create-or-connect-without-company.input'; -import { PersonCreateManyCompanyInputEnvelope } from './person-create-many-company-input-envelope.input'; -import { PersonWhereUniqueInput } from './person-where-unique.input'; - -@InputType() -export class PersonUncheckedCreateNestedManyWithoutCompanyInput { - - @Field(() => [PersonCreateWithoutCompanyInput], {nullable:true}) - @Type(() => PersonCreateWithoutCompanyInput) - create?: Array; - - @Field(() => [PersonCreateOrConnectWithoutCompanyInput], {nullable:true}) - @Type(() => PersonCreateOrConnectWithoutCompanyInput) - connectOrCreate?: Array; - - @Field(() => PersonCreateManyCompanyInputEnvelope, {nullable:true}) - @Type(() => PersonCreateManyCompanyInputEnvelope) - createMany?: PersonCreateManyCompanyInputEnvelope; - - @Field(() => [PersonWhereUniqueInput], {nullable:true}) - @Type(() => PersonWhereUniqueInput) - connect?: Array; -} diff --git a/server/src/core/@generated/person/person-unchecked-create-nested-many-without-workspace.input.ts b/server/src/core/@generated/person/person-unchecked-create-nested-many-without-workspace.input.ts deleted file mode 100644 index d5509f40d..000000000 --- a/server/src/core/@generated/person/person-unchecked-create-nested-many-without-workspace.input.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PersonCreateWithoutWorkspaceInput } from './person-create-without-workspace.input'; -import { Type } from 'class-transformer'; -import { PersonCreateOrConnectWithoutWorkspaceInput } from './person-create-or-connect-without-workspace.input'; -import { PersonCreateManyWorkspaceInputEnvelope } from './person-create-many-workspace-input-envelope.input'; -import { PersonWhereUniqueInput } from './person-where-unique.input'; - -@InputType() -export class PersonUncheckedCreateNestedManyWithoutWorkspaceInput { - - @Field(() => [PersonCreateWithoutWorkspaceInput], {nullable:true}) - @Type(() => PersonCreateWithoutWorkspaceInput) - create?: Array; - - @Field(() => [PersonCreateOrConnectWithoutWorkspaceInput], {nullable:true}) - @Type(() => PersonCreateOrConnectWithoutWorkspaceInput) - connectOrCreate?: Array; - - @Field(() => PersonCreateManyWorkspaceInputEnvelope, {nullable:true}) - @Type(() => PersonCreateManyWorkspaceInputEnvelope) - createMany?: PersonCreateManyWorkspaceInputEnvelope; - - @Field(() => [PersonWhereUniqueInput], {nullable:true}) - @Type(() => PersonWhereUniqueInput) - connect?: Array; -} diff --git a/server/src/core/@generated/person/person-unchecked-create-without-company.input.ts b/server/src/core/@generated/person/person-unchecked-create-without-company.input.ts deleted file mode 100644 index 077cabde1..000000000 --- a/server/src/core/@generated/person/person-unchecked-create-without-company.input.ts +++ /dev/null @@ -1,45 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class PersonUncheckedCreateWithoutCompanyInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - firstName!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - lastName!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - email!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - phone!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - city!: string; - - @HideField() - workspaceId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/person/person-unchecked-create-without-workspace.input.ts b/server/src/core/@generated/person/person-unchecked-create-without-workspace.input.ts deleted file mode 100644 index 22fbf994a..000000000 --- a/server/src/core/@generated/person/person-unchecked-create-without-workspace.input.ts +++ /dev/null @@ -1,45 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class PersonUncheckedCreateWithoutWorkspaceInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - firstName!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - lastName!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - email!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - phone!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - city!: string; - - @Field(() => String, {nullable:true}) - companyId?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/person/person-unchecked-create.input.ts b/server/src/core/@generated/person/person-unchecked-create.input.ts deleted file mode 100644 index 10317e1e9..000000000 --- a/server/src/core/@generated/person/person-unchecked-create.input.ts +++ /dev/null @@ -1,48 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class PersonUncheckedCreateInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - firstName!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - lastName!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - email!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - phone!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - city!: string; - - @Field(() => String, {nullable:true}) - companyId?: string; - - @HideField() - workspaceId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/person/person-unchecked-update-many-without-company-nested.input.ts b/server/src/core/@generated/person/person-unchecked-update-many-without-company-nested.input.ts deleted file mode 100644 index 27b1dd344..000000000 --- a/server/src/core/@generated/person/person-unchecked-update-many-without-company-nested.input.ts +++ /dev/null @@ -1,59 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PersonCreateWithoutCompanyInput } from './person-create-without-company.input'; -import { Type } from 'class-transformer'; -import { PersonCreateOrConnectWithoutCompanyInput } from './person-create-or-connect-without-company.input'; -import { PersonUpsertWithWhereUniqueWithoutCompanyInput } from './person-upsert-with-where-unique-without-company.input'; -import { PersonCreateManyCompanyInputEnvelope } from './person-create-many-company-input-envelope.input'; -import { PersonWhereUniqueInput } from './person-where-unique.input'; -import { PersonUpdateWithWhereUniqueWithoutCompanyInput } from './person-update-with-where-unique-without-company.input'; -import { PersonUpdateManyWithWhereWithoutCompanyInput } from './person-update-many-with-where-without-company.input'; -import { PersonScalarWhereInput } from './person-scalar-where.input'; - -@InputType() -export class PersonUncheckedUpdateManyWithoutCompanyNestedInput { - - @Field(() => [PersonCreateWithoutCompanyInput], {nullable:true}) - @Type(() => PersonCreateWithoutCompanyInput) - create?: Array; - - @Field(() => [PersonCreateOrConnectWithoutCompanyInput], {nullable:true}) - @Type(() => PersonCreateOrConnectWithoutCompanyInput) - connectOrCreate?: Array; - - @Field(() => [PersonUpsertWithWhereUniqueWithoutCompanyInput], {nullable:true}) - @Type(() => PersonUpsertWithWhereUniqueWithoutCompanyInput) - upsert?: Array; - - @Field(() => PersonCreateManyCompanyInputEnvelope, {nullable:true}) - @Type(() => PersonCreateManyCompanyInputEnvelope) - createMany?: PersonCreateManyCompanyInputEnvelope; - - @Field(() => [PersonWhereUniqueInput], {nullable:true}) - @Type(() => PersonWhereUniqueInput) - set?: Array; - - @Field(() => [PersonWhereUniqueInput], {nullable:true}) - @Type(() => PersonWhereUniqueInput) - disconnect?: Array; - - @Field(() => [PersonWhereUniqueInput], {nullable:true}) - @Type(() => PersonWhereUniqueInput) - delete?: Array; - - @Field(() => [PersonWhereUniqueInput], {nullable:true}) - @Type(() => PersonWhereUniqueInput) - connect?: Array; - - @Field(() => [PersonUpdateWithWhereUniqueWithoutCompanyInput], {nullable:true}) - @Type(() => PersonUpdateWithWhereUniqueWithoutCompanyInput) - update?: Array; - - @Field(() => [PersonUpdateManyWithWhereWithoutCompanyInput], {nullable:true}) - @Type(() => PersonUpdateManyWithWhereWithoutCompanyInput) - updateMany?: Array; - - @Field(() => [PersonScalarWhereInput], {nullable:true}) - @Type(() => PersonScalarWhereInput) - deleteMany?: Array; -} diff --git a/server/src/core/@generated/person/person-unchecked-update-many-without-people.input.ts b/server/src/core/@generated/person/person-unchecked-update-many-without-people.input.ts deleted file mode 100644 index 4c20fe2ea..000000000 --- a/server/src/core/@generated/person/person-unchecked-update-many-without-people.input.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class PersonUncheckedUpdateManyWithoutPeopleInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - firstName?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - lastName?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - email?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - phone?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - city?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - companyId?: NullableStringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/person/person-unchecked-update-many-without-workspace-nested.input.ts b/server/src/core/@generated/person/person-unchecked-update-many-without-workspace-nested.input.ts deleted file mode 100644 index 7bb5a34f2..000000000 --- a/server/src/core/@generated/person/person-unchecked-update-many-without-workspace-nested.input.ts +++ /dev/null @@ -1,59 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PersonCreateWithoutWorkspaceInput } from './person-create-without-workspace.input'; -import { Type } from 'class-transformer'; -import { PersonCreateOrConnectWithoutWorkspaceInput } from './person-create-or-connect-without-workspace.input'; -import { PersonUpsertWithWhereUniqueWithoutWorkspaceInput } from './person-upsert-with-where-unique-without-workspace.input'; -import { PersonCreateManyWorkspaceInputEnvelope } from './person-create-many-workspace-input-envelope.input'; -import { PersonWhereUniqueInput } from './person-where-unique.input'; -import { PersonUpdateWithWhereUniqueWithoutWorkspaceInput } from './person-update-with-where-unique-without-workspace.input'; -import { PersonUpdateManyWithWhereWithoutWorkspaceInput } from './person-update-many-with-where-without-workspace.input'; -import { PersonScalarWhereInput } from './person-scalar-where.input'; - -@InputType() -export class PersonUncheckedUpdateManyWithoutWorkspaceNestedInput { - - @Field(() => [PersonCreateWithoutWorkspaceInput], {nullable:true}) - @Type(() => PersonCreateWithoutWorkspaceInput) - create?: Array; - - @Field(() => [PersonCreateOrConnectWithoutWorkspaceInput], {nullable:true}) - @Type(() => PersonCreateOrConnectWithoutWorkspaceInput) - connectOrCreate?: Array; - - @Field(() => [PersonUpsertWithWhereUniqueWithoutWorkspaceInput], {nullable:true}) - @Type(() => PersonUpsertWithWhereUniqueWithoutWorkspaceInput) - upsert?: Array; - - @Field(() => PersonCreateManyWorkspaceInputEnvelope, {nullable:true}) - @Type(() => PersonCreateManyWorkspaceInputEnvelope) - createMany?: PersonCreateManyWorkspaceInputEnvelope; - - @Field(() => [PersonWhereUniqueInput], {nullable:true}) - @Type(() => PersonWhereUniqueInput) - set?: Array; - - @Field(() => [PersonWhereUniqueInput], {nullable:true}) - @Type(() => PersonWhereUniqueInput) - disconnect?: Array; - - @Field(() => [PersonWhereUniqueInput], {nullable:true}) - @Type(() => PersonWhereUniqueInput) - delete?: Array; - - @Field(() => [PersonWhereUniqueInput], {nullable:true}) - @Type(() => PersonWhereUniqueInput) - connect?: Array; - - @Field(() => [PersonUpdateWithWhereUniqueWithoutWorkspaceInput], {nullable:true}) - @Type(() => PersonUpdateWithWhereUniqueWithoutWorkspaceInput) - update?: Array; - - @Field(() => [PersonUpdateManyWithWhereWithoutWorkspaceInput], {nullable:true}) - @Type(() => PersonUpdateManyWithWhereWithoutWorkspaceInput) - updateMany?: Array; - - @Field(() => [PersonScalarWhereInput], {nullable:true}) - @Type(() => PersonScalarWhereInput) - deleteMany?: Array; -} diff --git a/server/src/core/@generated/person/person-unchecked-update-many.input.ts b/server/src/core/@generated/person/person-unchecked-update-many.input.ts deleted file mode 100644 index 945ed260e..000000000 --- a/server/src/core/@generated/person/person-unchecked-update-many.input.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class PersonUncheckedUpdateManyInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - firstName?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - lastName?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - email?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - phone?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - city?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - companyId?: NullableStringFieldUpdateOperationsInput; - - @HideField() - workspaceId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/person/person-unchecked-update-without-company.input.ts b/server/src/core/@generated/person/person-unchecked-update-without-company.input.ts deleted file mode 100644 index dbe15e504..000000000 --- a/server/src/core/@generated/person/person-unchecked-update-without-company.input.ts +++ /dev/null @@ -1,40 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class PersonUncheckedUpdateWithoutCompanyInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - firstName?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - lastName?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - email?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - phone?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - city?: StringFieldUpdateOperationsInput; - - @HideField() - workspaceId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/person/person-unchecked-update-without-workspace.input.ts b/server/src/core/@generated/person/person-unchecked-update-without-workspace.input.ts deleted file mode 100644 index be4fabb6f..000000000 --- a/server/src/core/@generated/person/person-unchecked-update-without-workspace.input.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class PersonUncheckedUpdateWithoutWorkspaceInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - firstName?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - lastName?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - email?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - phone?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - city?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - companyId?: NullableStringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/person/person-unchecked-update.input.ts b/server/src/core/@generated/person/person-unchecked-update.input.ts deleted file mode 100644 index bcbd44296..000000000 --- a/server/src/core/@generated/person/person-unchecked-update.input.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class PersonUncheckedUpdateInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - firstName?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - lastName?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - email?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - phone?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - city?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - companyId?: NullableStringFieldUpdateOperationsInput; - - @HideField() - workspaceId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/person/person-update-many-mutation.input.ts b/server/src/core/@generated/person/person-update-many-mutation.input.ts deleted file mode 100644 index 29154b43b..000000000 --- a/server/src/core/@generated/person/person-update-many-mutation.input.ts +++ /dev/null @@ -1,37 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class PersonUpdateManyMutationInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - firstName?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - lastName?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - email?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - phone?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - city?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/person/person-update-many-with-where-without-company.input.ts b/server/src/core/@generated/person/person-update-many-with-where-without-company.input.ts deleted file mode 100644 index 961d25eb9..000000000 --- a/server/src/core/@generated/person/person-update-many-with-where-without-company.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PersonScalarWhereInput } from './person-scalar-where.input'; -import { Type } from 'class-transformer'; -import { PersonUpdateManyMutationInput } from './person-update-many-mutation.input'; - -@InputType() -export class PersonUpdateManyWithWhereWithoutCompanyInput { - - @Field(() => PersonScalarWhereInput, {nullable:false}) - @Type(() => PersonScalarWhereInput) - where!: PersonScalarWhereInput; - - @Field(() => PersonUpdateManyMutationInput, {nullable:false}) - @Type(() => PersonUpdateManyMutationInput) - data!: PersonUpdateManyMutationInput; -} diff --git a/server/src/core/@generated/person/person-update-many-with-where-without-workspace.input.ts b/server/src/core/@generated/person/person-update-many-with-where-without-workspace.input.ts deleted file mode 100644 index 92b4e17d9..000000000 --- a/server/src/core/@generated/person/person-update-many-with-where-without-workspace.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PersonScalarWhereInput } from './person-scalar-where.input'; -import { Type } from 'class-transformer'; -import { PersonUpdateManyMutationInput } from './person-update-many-mutation.input'; - -@InputType() -export class PersonUpdateManyWithWhereWithoutWorkspaceInput { - - @Field(() => PersonScalarWhereInput, {nullable:false}) - @Type(() => PersonScalarWhereInput) - where!: PersonScalarWhereInput; - - @Field(() => PersonUpdateManyMutationInput, {nullable:false}) - @Type(() => PersonUpdateManyMutationInput) - data!: PersonUpdateManyMutationInput; -} diff --git a/server/src/core/@generated/person/person-update-many-without-company-nested.input.ts b/server/src/core/@generated/person/person-update-many-without-company-nested.input.ts deleted file mode 100644 index 1af061ebe..000000000 --- a/server/src/core/@generated/person/person-update-many-without-company-nested.input.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PersonCreateWithoutCompanyInput } from './person-create-without-company.input'; -import { HideField } from '@nestjs/graphql'; -import { PersonCreateOrConnectWithoutCompanyInput } from './person-create-or-connect-without-company.input'; -import { PersonUpsertWithWhereUniqueWithoutCompanyInput } from './person-upsert-with-where-unique-without-company.input'; -import { PersonCreateManyCompanyInputEnvelope } from './person-create-many-company-input-envelope.input'; -import { PersonWhereUniqueInput } from './person-where-unique.input'; -import { Type } from 'class-transformer'; -import { PersonUpdateWithWhereUniqueWithoutCompanyInput } from './person-update-with-where-unique-without-company.input'; -import { PersonUpdateManyWithWhereWithoutCompanyInput } from './person-update-many-with-where-without-company.input'; -import { PersonScalarWhereInput } from './person-scalar-where.input'; - -@InputType() -export class PersonUpdateManyWithoutCompanyNestedInput { - - @HideField() - create?: Array; - - @HideField() - connectOrCreate?: Array; - - @HideField() - upsert?: Array; - - @HideField() - createMany?: PersonCreateManyCompanyInputEnvelope; - - @HideField() - set?: Array; - - @HideField() - disconnect?: Array; - - @HideField() - delete?: Array; - - @Field(() => [PersonWhereUniqueInput], {nullable:true}) - @Type(() => PersonWhereUniqueInput) - connect?: Array; - - @HideField() - update?: Array; - - @HideField() - updateMany?: Array; - - @HideField() - deleteMany?: Array; -} diff --git a/server/src/core/@generated/person/person-update-many-without-workspace-nested.input.ts b/server/src/core/@generated/person/person-update-many-without-workspace-nested.input.ts deleted file mode 100644 index 45f1092b4..000000000 --- a/server/src/core/@generated/person/person-update-many-without-workspace-nested.input.ts +++ /dev/null @@ -1,59 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PersonCreateWithoutWorkspaceInput } from './person-create-without-workspace.input'; -import { Type } from 'class-transformer'; -import { PersonCreateOrConnectWithoutWorkspaceInput } from './person-create-or-connect-without-workspace.input'; -import { PersonUpsertWithWhereUniqueWithoutWorkspaceInput } from './person-upsert-with-where-unique-without-workspace.input'; -import { PersonCreateManyWorkspaceInputEnvelope } from './person-create-many-workspace-input-envelope.input'; -import { PersonWhereUniqueInput } from './person-where-unique.input'; -import { PersonUpdateWithWhereUniqueWithoutWorkspaceInput } from './person-update-with-where-unique-without-workspace.input'; -import { PersonUpdateManyWithWhereWithoutWorkspaceInput } from './person-update-many-with-where-without-workspace.input'; -import { PersonScalarWhereInput } from './person-scalar-where.input'; - -@InputType() -export class PersonUpdateManyWithoutWorkspaceNestedInput { - - @Field(() => [PersonCreateWithoutWorkspaceInput], {nullable:true}) - @Type(() => PersonCreateWithoutWorkspaceInput) - create?: Array; - - @Field(() => [PersonCreateOrConnectWithoutWorkspaceInput], {nullable:true}) - @Type(() => PersonCreateOrConnectWithoutWorkspaceInput) - connectOrCreate?: Array; - - @Field(() => [PersonUpsertWithWhereUniqueWithoutWorkspaceInput], {nullable:true}) - @Type(() => PersonUpsertWithWhereUniqueWithoutWorkspaceInput) - upsert?: Array; - - @Field(() => PersonCreateManyWorkspaceInputEnvelope, {nullable:true}) - @Type(() => PersonCreateManyWorkspaceInputEnvelope) - createMany?: PersonCreateManyWorkspaceInputEnvelope; - - @Field(() => [PersonWhereUniqueInput], {nullable:true}) - @Type(() => PersonWhereUniqueInput) - set?: Array; - - @Field(() => [PersonWhereUniqueInput], {nullable:true}) - @Type(() => PersonWhereUniqueInput) - disconnect?: Array; - - @Field(() => [PersonWhereUniqueInput], {nullable:true}) - @Type(() => PersonWhereUniqueInput) - delete?: Array; - - @Field(() => [PersonWhereUniqueInput], {nullable:true}) - @Type(() => PersonWhereUniqueInput) - connect?: Array; - - @Field(() => [PersonUpdateWithWhereUniqueWithoutWorkspaceInput], {nullable:true}) - @Type(() => PersonUpdateWithWhereUniqueWithoutWorkspaceInput) - update?: Array; - - @Field(() => [PersonUpdateManyWithWhereWithoutWorkspaceInput], {nullable:true}) - @Type(() => PersonUpdateManyWithWhereWithoutWorkspaceInput) - updateMany?: Array; - - @Field(() => [PersonScalarWhereInput], {nullable:true}) - @Type(() => PersonScalarWhereInput) - deleteMany?: Array; -} diff --git a/server/src/core/@generated/person/person-update-with-where-unique-without-company.input.ts b/server/src/core/@generated/person/person-update-with-where-unique-without-company.input.ts deleted file mode 100644 index ba1691fb7..000000000 --- a/server/src/core/@generated/person/person-update-with-where-unique-without-company.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PersonWhereUniqueInput } from './person-where-unique.input'; -import { Type } from 'class-transformer'; -import { PersonUpdateWithoutCompanyInput } from './person-update-without-company.input'; - -@InputType() -export class PersonUpdateWithWhereUniqueWithoutCompanyInput { - - @Field(() => PersonWhereUniqueInput, {nullable:false}) - @Type(() => PersonWhereUniqueInput) - where!: PersonWhereUniqueInput; - - @Field(() => PersonUpdateWithoutCompanyInput, {nullable:false}) - @Type(() => PersonUpdateWithoutCompanyInput) - data!: PersonUpdateWithoutCompanyInput; -} diff --git a/server/src/core/@generated/person/person-update-with-where-unique-without-workspace.input.ts b/server/src/core/@generated/person/person-update-with-where-unique-without-workspace.input.ts deleted file mode 100644 index 39461bc97..000000000 --- a/server/src/core/@generated/person/person-update-with-where-unique-without-workspace.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PersonWhereUniqueInput } from './person-where-unique.input'; -import { Type } from 'class-transformer'; -import { PersonUpdateWithoutWorkspaceInput } from './person-update-without-workspace.input'; - -@InputType() -export class PersonUpdateWithWhereUniqueWithoutWorkspaceInput { - - @Field(() => PersonWhereUniqueInput, {nullable:false}) - @Type(() => PersonWhereUniqueInput) - where!: PersonWhereUniqueInput; - - @Field(() => PersonUpdateWithoutWorkspaceInput, {nullable:false}) - @Type(() => PersonUpdateWithoutWorkspaceInput) - data!: PersonUpdateWithoutWorkspaceInput; -} diff --git a/server/src/core/@generated/person/person-update-without-company.input.ts b/server/src/core/@generated/person/person-update-without-company.input.ts deleted file mode 100644 index cc27bfbe3..000000000 --- a/server/src/core/@generated/person/person-update-without-company.input.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -import { WorkspaceUpdateOneRequiredWithoutPeopleNestedInput } from '../workspace/workspace-update-one-required-without-people-nested.input'; - -@InputType() -export class PersonUpdateWithoutCompanyInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - firstName?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - lastName?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - email?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - phone?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - city?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @HideField() - workspace?: WorkspaceUpdateOneRequiredWithoutPeopleNestedInput; -} diff --git a/server/src/core/@generated/person/person-update-without-workspace.input.ts b/server/src/core/@generated/person/person-update-without-workspace.input.ts deleted file mode 100644 index 6e0c20ebe..000000000 --- a/server/src/core/@generated/person/person-update-without-workspace.input.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -import { CompanyUpdateOneWithoutPeopleNestedInput } from '../company/company-update-one-without-people-nested.input'; - -@InputType() -export class PersonUpdateWithoutWorkspaceInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - firstName?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - lastName?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - email?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - phone?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - city?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => CompanyUpdateOneWithoutPeopleNestedInput, {nullable:true}) - company?: CompanyUpdateOneWithoutPeopleNestedInput; -} diff --git a/server/src/core/@generated/person/person-update.input.ts b/server/src/core/@generated/person/person-update.input.ts deleted file mode 100644 index 96c90ad36..000000000 --- a/server/src/core/@generated/person/person-update.input.ts +++ /dev/null @@ -1,45 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -import { CompanyUpdateOneWithoutPeopleNestedInput } from '../company/company-update-one-without-people-nested.input'; -import { WorkspaceUpdateOneRequiredWithoutPeopleNestedInput } from '../workspace/workspace-update-one-required-without-people-nested.input'; - -@InputType() -export class PersonUpdateInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - firstName?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - lastName?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - email?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - phone?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - city?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => CompanyUpdateOneWithoutPeopleNestedInput, {nullable:true}) - company?: CompanyUpdateOneWithoutPeopleNestedInput; - - @HideField() - workspace?: WorkspaceUpdateOneRequiredWithoutPeopleNestedInput; -} diff --git a/server/src/core/@generated/person/person-upsert-with-where-unique-without-company.input.ts b/server/src/core/@generated/person/person-upsert-with-where-unique-without-company.input.ts deleted file mode 100644 index d77d0a1b4..000000000 --- a/server/src/core/@generated/person/person-upsert-with-where-unique-without-company.input.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PersonWhereUniqueInput } from './person-where-unique.input'; -import { Type } from 'class-transformer'; -import { PersonUpdateWithoutCompanyInput } from './person-update-without-company.input'; -import { PersonCreateWithoutCompanyInput } from './person-create-without-company.input'; - -@InputType() -export class PersonUpsertWithWhereUniqueWithoutCompanyInput { - - @Field(() => PersonWhereUniqueInput, {nullable:false}) - @Type(() => PersonWhereUniqueInput) - where!: PersonWhereUniqueInput; - - @Field(() => PersonUpdateWithoutCompanyInput, {nullable:false}) - @Type(() => PersonUpdateWithoutCompanyInput) - update!: PersonUpdateWithoutCompanyInput; - - @Field(() => PersonCreateWithoutCompanyInput, {nullable:false}) - @Type(() => PersonCreateWithoutCompanyInput) - create!: PersonCreateWithoutCompanyInput; -} diff --git a/server/src/core/@generated/person/person-upsert-with-where-unique-without-workspace.input.ts b/server/src/core/@generated/person/person-upsert-with-where-unique-without-workspace.input.ts deleted file mode 100644 index 73074d494..000000000 --- a/server/src/core/@generated/person/person-upsert-with-where-unique-without-workspace.input.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PersonWhereUniqueInput } from './person-where-unique.input'; -import { Type } from 'class-transformer'; -import { PersonUpdateWithoutWorkspaceInput } from './person-update-without-workspace.input'; -import { PersonCreateWithoutWorkspaceInput } from './person-create-without-workspace.input'; - -@InputType() -export class PersonUpsertWithWhereUniqueWithoutWorkspaceInput { - - @Field(() => PersonWhereUniqueInput, {nullable:false}) - @Type(() => PersonWhereUniqueInput) - where!: PersonWhereUniqueInput; - - @Field(() => PersonUpdateWithoutWorkspaceInput, {nullable:false}) - @Type(() => PersonUpdateWithoutWorkspaceInput) - update!: PersonUpdateWithoutWorkspaceInput; - - @Field(() => PersonCreateWithoutWorkspaceInput, {nullable:false}) - @Type(() => PersonCreateWithoutWorkspaceInput) - create!: PersonCreateWithoutWorkspaceInput; -} diff --git a/server/src/core/@generated/person/person-where-unique.input.ts b/server/src/core/@generated/person/person-where-unique.input.ts deleted file mode 100644 index 9e7ddd895..000000000 --- a/server/src/core/@generated/person/person-where-unique.input.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; - -@InputType() -export class PersonWhereUniqueInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; -} diff --git a/server/src/core/@generated/person/person-where.input.ts b/server/src/core/@generated/person/person-where.input.ts deleted file mode 100644 index 18efb07a1..000000000 --- a/server/src/core/@generated/person/person-where.input.ts +++ /dev/null @@ -1,61 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFilter } from '../prisma/string-filter.input'; -import { StringNullableFilter } from '../prisma/string-nullable-filter.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input'; -import { DateTimeFilter } from '../prisma/date-time-filter.input'; -import { CompanyRelationFilter } from '../company/company-relation-filter.input'; -import { WorkspaceRelationFilter } from '../workspace/workspace-relation-filter.input'; - -@InputType() -export class PersonWhereInput { - - @Field(() => [PersonWhereInput], {nullable:true}) - AND?: Array; - - @Field(() => [PersonWhereInput], {nullable:true}) - OR?: Array; - - @Field(() => [PersonWhereInput], {nullable:true}) - NOT?: Array; - - @Field(() => StringFilter, {nullable:true}) - id?: StringFilter; - - @Field(() => StringFilter, {nullable:true}) - firstName?: StringFilter; - - @Field(() => StringFilter, {nullable:true}) - lastName?: StringFilter; - - @Field(() => StringFilter, {nullable:true}) - email?: StringFilter; - - @Field(() => StringFilter, {nullable:true}) - phone?: StringFilter; - - @Field(() => StringFilter, {nullable:true}) - city?: StringFilter; - - @Field(() => StringNullableFilter, {nullable:true}) - companyId?: StringNullableFilter; - - @HideField() - workspaceId?: StringFilter; - - @HideField() - deletedAt?: DateTimeNullableFilter; - - @Field(() => DateTimeFilter, {nullable:true}) - createdAt?: DateTimeFilter; - - @Field(() => DateTimeFilter, {nullable:true}) - updatedAt?: DateTimeFilter; - - @Field(() => CompanyRelationFilter, {nullable:true}) - company?: CompanyRelationFilter; - - @HideField() - workspace?: WorkspaceRelationFilter; -} diff --git a/server/src/core/@generated/person/person.model.ts b/server/src/core/@generated/person/person.model.ts deleted file mode 100644 index 77142945b..000000000 --- a/server/src/core/@generated/person/person.model.ts +++ /dev/null @@ -1,49 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import { ID } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; -import { Company } from '../company/company.model'; -import { Workspace } from '../workspace/workspace.model'; - -@ObjectType() -export class Person { - - @Field(() => ID, {nullable:false}) - id!: string; - - @Field(() => String, {nullable:false}) - firstName!: string; - - @Field(() => String, {nullable:false}) - lastName!: string; - - @Field(() => String, {nullable:false}) - email!: string; - - @Field(() => String, {nullable:false}) - phone!: string; - - @Field(() => String, {nullable:false}) - city!: string; - - @Field(() => String, {nullable:true}) - companyId!: string | null; - - @HideField() - workspaceId!: string; - - @HideField() - deletedAt!: Date | null; - - @Field(() => Date, {nullable:false}) - createdAt!: Date; - - @Field(() => Date, {nullable:false}) - updatedAt!: Date; - - @Field(() => Company, {nullable:true}) - company?: Company | null; - - @HideField() - workspace?: Workspace; -} diff --git a/server/src/core/@generated/person/update-many-person.args.ts b/server/src/core/@generated/person/update-many-person.args.ts deleted file mode 100644 index ba742bafd..000000000 --- a/server/src/core/@generated/person/update-many-person.args.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PersonUpdateManyMutationInput } from './person-update-many-mutation.input'; -import { Type } from 'class-transformer'; -import { ValidateNested } from 'class-validator'; -import { PersonWhereInput } from './person-where.input'; - -@ArgsType() -export class UpdateManyPersonArgs { - - @Field(() => PersonUpdateManyMutationInput, {nullable:false}) - @Type(() => PersonUpdateManyMutationInput) - @ValidateNested({each: true}) - @Type(() => PersonUpdateManyMutationInput) - data!: PersonUpdateManyMutationInput; - - @Field(() => PersonWhereInput, {nullable:true}) - @Type(() => PersonWhereInput) - where?: PersonWhereInput; -} diff --git a/server/src/core/@generated/person/update-one-person.args.ts b/server/src/core/@generated/person/update-one-person.args.ts deleted file mode 100644 index c70516db7..000000000 --- a/server/src/core/@generated/person/update-one-person.args.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PersonUpdateInput } from './person-update.input'; -import { Type } from 'class-transformer'; -import { ValidateNested } from 'class-validator'; -import { PersonWhereUniqueInput } from './person-where-unique.input'; - -@ArgsType() -export class UpdateOnePersonArgs { - - @Field(() => PersonUpdateInput, {nullable:false}) - @Type(() => PersonUpdateInput) - @ValidateNested({each: true}) - @Type(() => PersonUpdateInput) - data!: PersonUpdateInput; - - @Field(() => PersonWhereUniqueInput, {nullable:false}) - @Type(() => PersonWhereUniqueInput) - where!: PersonWhereUniqueInput; -} diff --git a/server/src/core/@generated/person/upsert-one-person.args.ts b/server/src/core/@generated/person/upsert-one-person.args.ts deleted file mode 100644 index f7437a767..000000000 --- a/server/src/core/@generated/person/upsert-one-person.args.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PersonWhereUniqueInput } from './person-where-unique.input'; -import { Type } from 'class-transformer'; -import { PersonCreateInput } from './person-create.input'; -import { PersonUpdateInput } from './person-update.input'; - -@ArgsType() -export class UpsertOnePersonArgs { - - @Field(() => PersonWhereUniqueInput, {nullable:false}) - @Type(() => PersonWhereUniqueInput) - where!: PersonWhereUniqueInput; - - @Field(() => PersonCreateInput, {nullable:false}) - @Type(() => PersonCreateInput) - create!: PersonCreateInput; - - @Field(() => PersonUpdateInput, {nullable:false}) - @Type(() => PersonUpdateInput) - update!: PersonUpdateInput; -} diff --git a/server/src/core/@generated/pipeline-progress/aggregate-pipeline-progress.output.ts b/server/src/core/@generated/pipeline-progress/aggregate-pipeline-progress.output.ts deleted file mode 100644 index 29c2b9de5..000000000 --- a/server/src/core/@generated/pipeline-progress/aggregate-pipeline-progress.output.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import { PipelineProgressCountAggregate } from './pipeline-progress-count-aggregate.output'; -import { PipelineProgressAvgAggregate } from './pipeline-progress-avg-aggregate.output'; -import { PipelineProgressSumAggregate } from './pipeline-progress-sum-aggregate.output'; -import { PipelineProgressMinAggregate } from './pipeline-progress-min-aggregate.output'; -import { PipelineProgressMaxAggregate } from './pipeline-progress-max-aggregate.output'; - -@ObjectType() -export class AggregatePipelineProgress { - - @Field(() => PipelineProgressCountAggregate, {nullable:true}) - _count?: PipelineProgressCountAggregate; - - @Field(() => PipelineProgressAvgAggregate, {nullable:true}) - _avg?: PipelineProgressAvgAggregate; - - @Field(() => PipelineProgressSumAggregate, {nullable:true}) - _sum?: PipelineProgressSumAggregate; - - @Field(() => PipelineProgressMinAggregate, {nullable:true}) - _min?: PipelineProgressMinAggregate; - - @Field(() => PipelineProgressMaxAggregate, {nullable:true}) - _max?: PipelineProgressMaxAggregate; -} diff --git a/server/src/core/@generated/pipeline-progress/create-many-pipeline-progress.args.ts b/server/src/core/@generated/pipeline-progress/create-many-pipeline-progress.args.ts deleted file mode 100644 index 447f7bf6f..000000000 --- a/server/src/core/@generated/pipeline-progress/create-many-pipeline-progress.args.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PipelineProgressCreateManyInput } from './pipeline-progress-create-many.input'; -import { Type } from 'class-transformer'; -import { ValidateNested } from 'class-validator'; - -@ArgsType() -export class CreateManyPipelineProgressArgs { - - @Field(() => [PipelineProgressCreateManyInput], {nullable:false}) - @Type(() => PipelineProgressCreateManyInput) - @ValidateNested({each: true}) - @Type(() => PipelineProgressCreateManyInput) - data!: Array; - - @Field(() => Boolean, {nullable:true}) - skipDuplicates?: boolean; -} diff --git a/server/src/core/@generated/pipeline-progress/create-one-pipeline-progress.args.ts b/server/src/core/@generated/pipeline-progress/create-one-pipeline-progress.args.ts deleted file mode 100644 index 3455dda8d..000000000 --- a/server/src/core/@generated/pipeline-progress/create-one-pipeline-progress.args.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PipelineProgressCreateInput } from './pipeline-progress-create.input'; -import { Type } from 'class-transformer'; -import { ValidateNested } from 'class-validator'; - -@ArgsType() -export class CreateOnePipelineProgressArgs { - - @Field(() => PipelineProgressCreateInput, {nullable:false}) - @Type(() => PipelineProgressCreateInput) - @ValidateNested({each: true}) - @Type(() => PipelineProgressCreateInput) - data!: PipelineProgressCreateInput; -} diff --git a/server/src/core/@generated/pipeline-progress/delete-many-pipeline-progress.args.ts b/server/src/core/@generated/pipeline-progress/delete-many-pipeline-progress.args.ts deleted file mode 100644 index 87b46c87b..000000000 --- a/server/src/core/@generated/pipeline-progress/delete-many-pipeline-progress.args.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PipelineProgressWhereInput } from './pipeline-progress-where.input'; -import { Type } from 'class-transformer'; - -@ArgsType() -export class DeleteManyPipelineProgressArgs { - - @Field(() => PipelineProgressWhereInput, {nullable:true}) - @Type(() => PipelineProgressWhereInput) - where?: PipelineProgressWhereInput; -} diff --git a/server/src/core/@generated/pipeline-progress/delete-one-pipeline-progress.args.ts b/server/src/core/@generated/pipeline-progress/delete-one-pipeline-progress.args.ts deleted file mode 100644 index 6a68a310e..000000000 --- a/server/src/core/@generated/pipeline-progress/delete-one-pipeline-progress.args.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input'; -import { Type } from 'class-transformer'; - -@ArgsType() -export class DeleteOnePipelineProgressArgs { - - @Field(() => PipelineProgressWhereUniqueInput, {nullable:false}) - @Type(() => PipelineProgressWhereUniqueInput) - where!: PipelineProgressWhereUniqueInput; -} diff --git a/server/src/core/@generated/pipeline-progress/find-first-pipeline-progress-or-throw.args.ts b/server/src/core/@generated/pipeline-progress/find-first-pipeline-progress-or-throw.args.ts deleted file mode 100644 index d5e952b7c..000000000 --- a/server/src/core/@generated/pipeline-progress/find-first-pipeline-progress-or-throw.args.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PipelineProgressWhereInput } from './pipeline-progress-where.input'; -import { Type } from 'class-transformer'; -import { PipelineProgressOrderByWithRelationInput } from './pipeline-progress-order-by-with-relation.input'; -import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input'; -import { Int } from '@nestjs/graphql'; -import { PipelineProgressScalarFieldEnum } from './pipeline-progress-scalar-field.enum'; - -@ArgsType() -export class FindFirstPipelineProgressOrThrowArgs { - - @Field(() => PipelineProgressWhereInput, {nullable:true}) - @Type(() => PipelineProgressWhereInput) - where?: PipelineProgressWhereInput; - - @Field(() => [PipelineProgressOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; - - @Field(() => PipelineProgressWhereUniqueInput, {nullable:true}) - cursor?: PipelineProgressWhereUniqueInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [PipelineProgressScalarFieldEnum], {nullable:true}) - distinct?: Array; -} diff --git a/server/src/core/@generated/pipeline-progress/find-first-pipeline-progress.args.ts b/server/src/core/@generated/pipeline-progress/find-first-pipeline-progress.args.ts deleted file mode 100644 index a8a6aa153..000000000 --- a/server/src/core/@generated/pipeline-progress/find-first-pipeline-progress.args.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PipelineProgressWhereInput } from './pipeline-progress-where.input'; -import { Type } from 'class-transformer'; -import { PipelineProgressOrderByWithRelationInput } from './pipeline-progress-order-by-with-relation.input'; -import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input'; -import { Int } from '@nestjs/graphql'; -import { PipelineProgressScalarFieldEnum } from './pipeline-progress-scalar-field.enum'; - -@ArgsType() -export class FindFirstPipelineProgressArgs { - - @Field(() => PipelineProgressWhereInput, {nullable:true}) - @Type(() => PipelineProgressWhereInput) - where?: PipelineProgressWhereInput; - - @Field(() => [PipelineProgressOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; - - @Field(() => PipelineProgressWhereUniqueInput, {nullable:true}) - cursor?: PipelineProgressWhereUniqueInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [PipelineProgressScalarFieldEnum], {nullable:true}) - distinct?: Array; -} diff --git a/server/src/core/@generated/pipeline-progress/find-many-pipeline-progress.args.ts b/server/src/core/@generated/pipeline-progress/find-many-pipeline-progress.args.ts deleted file mode 100644 index 42e0413a4..000000000 --- a/server/src/core/@generated/pipeline-progress/find-many-pipeline-progress.args.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PipelineProgressWhereInput } from './pipeline-progress-where.input'; -import { Type } from 'class-transformer'; -import { PipelineProgressOrderByWithRelationInput } from './pipeline-progress-order-by-with-relation.input'; -import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input'; -import { Int } from '@nestjs/graphql'; -import { PipelineProgressScalarFieldEnum } from './pipeline-progress-scalar-field.enum'; - -@ArgsType() -export class FindManyPipelineProgressArgs { - - @Field(() => PipelineProgressWhereInput, {nullable:true}) - @Type(() => PipelineProgressWhereInput) - where?: PipelineProgressWhereInput; - - @Field(() => [PipelineProgressOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; - - @Field(() => PipelineProgressWhereUniqueInput, {nullable:true}) - cursor?: PipelineProgressWhereUniqueInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [PipelineProgressScalarFieldEnum], {nullable:true}) - distinct?: Array; -} diff --git a/server/src/core/@generated/pipeline-progress/find-unique-pipeline-progress-or-throw.args.ts b/server/src/core/@generated/pipeline-progress/find-unique-pipeline-progress-or-throw.args.ts deleted file mode 100644 index 92cca670f..000000000 --- a/server/src/core/@generated/pipeline-progress/find-unique-pipeline-progress-or-throw.args.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input'; -import { Type } from 'class-transformer'; - -@ArgsType() -export class FindUniquePipelineProgressOrThrowArgs { - - @Field(() => PipelineProgressWhereUniqueInput, {nullable:false}) - @Type(() => PipelineProgressWhereUniqueInput) - where!: PipelineProgressWhereUniqueInput; -} diff --git a/server/src/core/@generated/pipeline-progress/find-unique-pipeline-progress.args.ts b/server/src/core/@generated/pipeline-progress/find-unique-pipeline-progress.args.ts deleted file mode 100644 index 0045f1667..000000000 --- a/server/src/core/@generated/pipeline-progress/find-unique-pipeline-progress.args.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input'; -import { Type } from 'class-transformer'; - -@ArgsType() -export class FindUniquePipelineProgressArgs { - - @Field(() => PipelineProgressWhereUniqueInput, {nullable:false}) - @Type(() => PipelineProgressWhereUniqueInput) - where!: PipelineProgressWhereUniqueInput; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-avg-aggregate.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-avg-aggregate.input.ts deleted file mode 100644 index f86fe1bd3..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-avg-aggregate.input.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; - -@InputType() -export class PipelineProgressAvgAggregateInput { - - @Field(() => Boolean, {nullable:true}) - amount?: true; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-avg-aggregate.output.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-avg-aggregate.output.ts deleted file mode 100644 index aa5557724..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-avg-aggregate.output.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import { Float } from '@nestjs/graphql'; - -@ObjectType() -export class PipelineProgressAvgAggregate { - - @Field(() => Float, {nullable:true}) - amount?: number; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-avg-order-by-aggregate.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-avg-order-by-aggregate.input.ts deleted file mode 100644 index 4248bd3e2..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-avg-order-by-aggregate.input.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { SortOrder } from '../prisma/sort-order.enum'; - -@InputType() -export class PipelineProgressAvgOrderByAggregateInput { - - @Field(() => SortOrder, {nullable:true}) - amount?: keyof typeof SortOrder; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-count-aggregate.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-count-aggregate.input.ts deleted file mode 100644 index 8d18d885b..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-count-aggregate.input.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class PipelineProgressCountAggregateInput { - - @Field(() => Boolean, {nullable:true}) - id?: true; - - @Field(() => Boolean, {nullable:true}) - amount?: true; - - @Field(() => Boolean, {nullable:true}) - closeDate?: true; - - @Field(() => Boolean, {nullable:true}) - pipelineId?: true; - - @Field(() => Boolean, {nullable:true}) - pipelineStageId?: true; - - @Field(() => Boolean, {nullable:true}) - progressableType?: true; - - @Field(() => Boolean, {nullable:true}) - progressableId?: true; - - @HideField() - workspaceId?: true; - - @HideField() - deletedAt?: true; - - @Field(() => Boolean, {nullable:true}) - createdAt?: true; - - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; - - @Field(() => Boolean, {nullable:true}) - _all?: true; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-count-aggregate.output.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-count-aggregate.output.ts deleted file mode 100644 index 391a8c57b..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-count-aggregate.output.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import { Int } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; - -@ObjectType() -export class PipelineProgressCountAggregate { - - @Field(() => Int, {nullable:false}) - id!: number; - - @Field(() => Int, {nullable:false}) - amount!: number; - - @Field(() => Int, {nullable:false}) - closeDate!: number; - - @Field(() => Int, {nullable:false}) - pipelineId!: number; - - @Field(() => Int, {nullable:false}) - pipelineStageId!: number; - - @Field(() => Int, {nullable:false}) - progressableType!: number; - - @Field(() => Int, {nullable:false}) - progressableId!: number; - - @HideField() - workspaceId!: number; - - @HideField() - deletedAt!: number; - - @Field(() => Int, {nullable:false}) - createdAt!: number; - - @Field(() => Int, {nullable:false}) - updatedAt!: number; - - @Field(() => Int, {nullable:false}) - _all!: number; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-count-order-by-aggregate.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-count-order-by-aggregate.input.ts deleted file mode 100644 index a9568a5a8..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-count-order-by-aggregate.input.ts +++ /dev/null @@ -1,41 +0,0 @@ -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 PipelineProgressCountOrderByAggregateInput { - - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - amount?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - closeDate?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - pipelineId?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - pipelineStageId?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - progressableType?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - progressableId?: keyof typeof SortOrder; - - @HideField() - workspaceId?: keyof typeof SortOrder; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-create-many-pipeline-input-envelope.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-create-many-pipeline-input-envelope.input.ts deleted file mode 100644 index e5dc1ba83..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-create-many-pipeline-input-envelope.input.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineProgressCreateManyPipelineInput } from './pipeline-progress-create-many-pipeline.input'; -import { Type } from 'class-transformer'; - -@InputType() -export class PipelineProgressCreateManyPipelineInputEnvelope { - - @Field(() => [PipelineProgressCreateManyPipelineInput], {nullable:false}) - @Type(() => PipelineProgressCreateManyPipelineInput) - data!: Array; - - @Field(() => Boolean, {nullable:true}) - skipDuplicates?: boolean; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-create-many-pipeline-stage-input-envelope.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-create-many-pipeline-stage-input-envelope.input.ts deleted file mode 100644 index 3f1b15b3e..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-create-many-pipeline-stage-input-envelope.input.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineProgressCreateManyPipelineStageInput } from './pipeline-progress-create-many-pipeline-stage.input'; -import { Type } from 'class-transformer'; - -@InputType() -export class PipelineProgressCreateManyPipelineStageInputEnvelope { - - @Field(() => [PipelineProgressCreateManyPipelineStageInput], {nullable:false}) - @Type(() => PipelineProgressCreateManyPipelineStageInput) - data!: Array; - - @Field(() => Boolean, {nullable:true}) - skipDuplicates?: boolean; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-create-many-pipeline-stage.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-create-many-pipeline-stage.input.ts deleted file mode 100644 index 1330c3e06..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-create-many-pipeline-stage.input.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { Int } from '@nestjs/graphql'; -import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class PipelineProgressCreateManyPipelineStageInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => Int, {nullable:true}) - amount?: number; - - @Field(() => Date, {nullable:true}) - closeDate?: Date | string; - - @Field(() => String, {nullable:false}) - pipelineId!: string; - - @Field(() => PipelineProgressableType, {nullable:false}) - progressableType!: keyof typeof PipelineProgressableType; - - @Field(() => String, {nullable:false}) - progressableId!: string; - - @HideField() - workspaceId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-create-many-pipeline.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-create-many-pipeline.input.ts deleted file mode 100644 index 32d95af4a..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-create-many-pipeline.input.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { Int } from '@nestjs/graphql'; -import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class PipelineProgressCreateManyPipelineInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => Int, {nullable:true}) - amount?: number; - - @Field(() => Date, {nullable:true}) - closeDate?: Date | string; - - @Field(() => String, {nullable:false}) - pipelineStageId!: string; - - @Field(() => PipelineProgressableType, {nullable:false}) - progressableType!: keyof typeof PipelineProgressableType; - - @Field(() => String, {nullable:false}) - progressableId!: string; - - @HideField() - workspaceId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-create-many-workspace-input-envelope.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-create-many-workspace-input-envelope.input.ts deleted file mode 100644 index 1c14a60cd..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-create-many-workspace-input-envelope.input.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineProgressCreateManyWorkspaceInput } from './pipeline-progress-create-many-workspace.input'; -import { Type } from 'class-transformer'; - -@InputType() -export class PipelineProgressCreateManyWorkspaceInputEnvelope { - - @Field(() => [PipelineProgressCreateManyWorkspaceInput], {nullable:false}) - @Type(() => PipelineProgressCreateManyWorkspaceInput) - data!: Array; - - @Field(() => Boolean, {nullable:true}) - skipDuplicates?: boolean; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-create-many-workspace.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-create-many-workspace.input.ts deleted file mode 100644 index ffe769c02..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-create-many-workspace.input.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { Int } from '@nestjs/graphql'; -import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class PipelineProgressCreateManyWorkspaceInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => Int, {nullable:true}) - amount?: number; - - @Field(() => Date, {nullable:true}) - closeDate?: Date | string; - - @Field(() => String, {nullable:false}) - pipelineId!: string; - - @Field(() => String, {nullable:false}) - pipelineStageId!: string; - - @Field(() => PipelineProgressableType, {nullable:false}) - progressableType!: keyof typeof PipelineProgressableType; - - @Field(() => String, {nullable:false}) - progressableId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-create-many.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-create-many.input.ts deleted file mode 100644 index 271953ac6..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-create-many.input.ts +++ /dev/null @@ -1,45 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { Int } from '@nestjs/graphql'; -import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class PipelineProgressCreateManyInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => Int, {nullable:true}) - amount?: number; - - @Field(() => Date, {nullable:true}) - closeDate?: Date | string; - - @Field(() => String, {nullable:false}) - pipelineId!: string; - - @Field(() => String, {nullable:false}) - pipelineStageId!: string; - - @Field(() => PipelineProgressableType, {nullable:false}) - progressableType!: keyof typeof PipelineProgressableType; - - @Field(() => String, {nullable:false}) - progressableId!: string; - - @HideField() - workspaceId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-create-nested-many-without-pipeline-stage.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-create-nested-many-without-pipeline-stage.input.ts deleted file mode 100644 index ffabaf10d..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-create-nested-many-without-pipeline-stage.input.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineProgressCreateWithoutPipelineStageInput } from './pipeline-progress-create-without-pipeline-stage.input'; -import { Type } from 'class-transformer'; -import { PipelineProgressCreateOrConnectWithoutPipelineStageInput } from './pipeline-progress-create-or-connect-without-pipeline-stage.input'; -import { PipelineProgressCreateManyPipelineStageInputEnvelope } from './pipeline-progress-create-many-pipeline-stage-input-envelope.input'; -import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input'; - -@InputType() -export class PipelineProgressCreateNestedManyWithoutPipelineStageInput { - - @Field(() => [PipelineProgressCreateWithoutPipelineStageInput], {nullable:true}) - @Type(() => PipelineProgressCreateWithoutPipelineStageInput) - create?: Array; - - @Field(() => [PipelineProgressCreateOrConnectWithoutPipelineStageInput], {nullable:true}) - @Type(() => PipelineProgressCreateOrConnectWithoutPipelineStageInput) - connectOrCreate?: Array; - - @Field(() => PipelineProgressCreateManyPipelineStageInputEnvelope, {nullable:true}) - @Type(() => PipelineProgressCreateManyPipelineStageInputEnvelope) - createMany?: PipelineProgressCreateManyPipelineStageInputEnvelope; - - @Field(() => [PipelineProgressWhereUniqueInput], {nullable:true}) - @Type(() => PipelineProgressWhereUniqueInput) - connect?: Array; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-create-nested-many-without-pipeline.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-create-nested-many-without-pipeline.input.ts deleted file mode 100644 index 3dac9d9a3..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-create-nested-many-without-pipeline.input.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineProgressCreateWithoutPipelineInput } from './pipeline-progress-create-without-pipeline.input'; -import { Type } from 'class-transformer'; -import { PipelineProgressCreateOrConnectWithoutPipelineInput } from './pipeline-progress-create-or-connect-without-pipeline.input'; -import { PipelineProgressCreateManyPipelineInputEnvelope } from './pipeline-progress-create-many-pipeline-input-envelope.input'; -import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input'; - -@InputType() -export class PipelineProgressCreateNestedManyWithoutPipelineInput { - - @Field(() => [PipelineProgressCreateWithoutPipelineInput], {nullable:true}) - @Type(() => PipelineProgressCreateWithoutPipelineInput) - create?: Array; - - @Field(() => [PipelineProgressCreateOrConnectWithoutPipelineInput], {nullable:true}) - @Type(() => PipelineProgressCreateOrConnectWithoutPipelineInput) - connectOrCreate?: Array; - - @Field(() => PipelineProgressCreateManyPipelineInputEnvelope, {nullable:true}) - @Type(() => PipelineProgressCreateManyPipelineInputEnvelope) - createMany?: PipelineProgressCreateManyPipelineInputEnvelope; - - @Field(() => [PipelineProgressWhereUniqueInput], {nullable:true}) - @Type(() => PipelineProgressWhereUniqueInput) - connect?: Array; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-create-nested-many-without-workspace.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-create-nested-many-without-workspace.input.ts deleted file mode 100644 index f2c6a3829..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-create-nested-many-without-workspace.input.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineProgressCreateWithoutWorkspaceInput } from './pipeline-progress-create-without-workspace.input'; -import { Type } from 'class-transformer'; -import { PipelineProgressCreateOrConnectWithoutWorkspaceInput } from './pipeline-progress-create-or-connect-without-workspace.input'; -import { PipelineProgressCreateManyWorkspaceInputEnvelope } from './pipeline-progress-create-many-workspace-input-envelope.input'; -import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input'; - -@InputType() -export class PipelineProgressCreateNestedManyWithoutWorkspaceInput { - - @Field(() => [PipelineProgressCreateWithoutWorkspaceInput], {nullable:true}) - @Type(() => PipelineProgressCreateWithoutWorkspaceInput) - create?: Array; - - @Field(() => [PipelineProgressCreateOrConnectWithoutWorkspaceInput], {nullable:true}) - @Type(() => PipelineProgressCreateOrConnectWithoutWorkspaceInput) - connectOrCreate?: Array; - - @Field(() => PipelineProgressCreateManyWorkspaceInputEnvelope, {nullable:true}) - @Type(() => PipelineProgressCreateManyWorkspaceInputEnvelope) - createMany?: PipelineProgressCreateManyWorkspaceInputEnvelope; - - @Field(() => [PipelineProgressWhereUniqueInput], {nullable:true}) - @Type(() => PipelineProgressWhereUniqueInput) - connect?: Array; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-create-or-connect-without-pipeline-stage.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-create-or-connect-without-pipeline-stage.input.ts deleted file mode 100644 index 5f1a1c88f..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-create-or-connect-without-pipeline-stage.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input'; -import { Type } from 'class-transformer'; -import { PipelineProgressCreateWithoutPipelineStageInput } from './pipeline-progress-create-without-pipeline-stage.input'; - -@InputType() -export class PipelineProgressCreateOrConnectWithoutPipelineStageInput { - - @Field(() => PipelineProgressWhereUniqueInput, {nullable:false}) - @Type(() => PipelineProgressWhereUniqueInput) - where!: PipelineProgressWhereUniqueInput; - - @Field(() => PipelineProgressCreateWithoutPipelineStageInput, {nullable:false}) - @Type(() => PipelineProgressCreateWithoutPipelineStageInput) - create!: PipelineProgressCreateWithoutPipelineStageInput; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-create-or-connect-without-pipeline.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-create-or-connect-without-pipeline.input.ts deleted file mode 100644 index feced0250..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-create-or-connect-without-pipeline.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input'; -import { Type } from 'class-transformer'; -import { PipelineProgressCreateWithoutPipelineInput } from './pipeline-progress-create-without-pipeline.input'; - -@InputType() -export class PipelineProgressCreateOrConnectWithoutPipelineInput { - - @Field(() => PipelineProgressWhereUniqueInput, {nullable:false}) - @Type(() => PipelineProgressWhereUniqueInput) - where!: PipelineProgressWhereUniqueInput; - - @Field(() => PipelineProgressCreateWithoutPipelineInput, {nullable:false}) - @Type(() => PipelineProgressCreateWithoutPipelineInput) - create!: PipelineProgressCreateWithoutPipelineInput; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-create-or-connect-without-workspace.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-create-or-connect-without-workspace.input.ts deleted file mode 100644 index ff0e1c8c5..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-create-or-connect-without-workspace.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input'; -import { Type } from 'class-transformer'; -import { PipelineProgressCreateWithoutWorkspaceInput } from './pipeline-progress-create-without-workspace.input'; - -@InputType() -export class PipelineProgressCreateOrConnectWithoutWorkspaceInput { - - @Field(() => PipelineProgressWhereUniqueInput, {nullable:false}) - @Type(() => PipelineProgressWhereUniqueInput) - where!: PipelineProgressWhereUniqueInput; - - @Field(() => PipelineProgressCreateWithoutWorkspaceInput, {nullable:false}) - @Type(() => PipelineProgressCreateWithoutWorkspaceInput) - create!: PipelineProgressCreateWithoutWorkspaceInput; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-create-without-pipeline-stage.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-create-without-pipeline-stage.input.ts deleted file mode 100644 index 78ec0090e..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-create-without-pipeline-stage.input.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { Int } from '@nestjs/graphql'; -import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum'; -import { HideField } from '@nestjs/graphql'; -import { PipelineCreateNestedOneWithoutPipelineProgressesInput } from '../pipeline/pipeline-create-nested-one-without-pipeline-progresses.input'; -import { WorkspaceCreateNestedOneWithoutPipelineProgressesInput } from '../workspace/workspace-create-nested-one-without-pipeline-progresses.input'; - -@InputType() -export class PipelineProgressCreateWithoutPipelineStageInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => Int, {nullable:true}) - amount?: number; - - @Field(() => Date, {nullable:true}) - closeDate?: Date | string; - - @Field(() => PipelineProgressableType, {nullable:false}) - progressableType!: keyof typeof PipelineProgressableType; - - @Field(() => String, {nullable:false}) - progressableId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => PipelineCreateNestedOneWithoutPipelineProgressesInput, {nullable:false}) - pipeline!: PipelineCreateNestedOneWithoutPipelineProgressesInput; - - @HideField() - workspace!: WorkspaceCreateNestedOneWithoutPipelineProgressesInput; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-create-without-pipeline.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-create-without-pipeline.input.ts deleted file mode 100644 index e82dfcf15..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-create-without-pipeline.input.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { Int } from '@nestjs/graphql'; -import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum'; -import { HideField } from '@nestjs/graphql'; -import { PipelineStageCreateNestedOneWithoutPipelineProgressesInput } from '../pipeline-stage/pipeline-stage-create-nested-one-without-pipeline-progresses.input'; -import { WorkspaceCreateNestedOneWithoutPipelineProgressesInput } from '../workspace/workspace-create-nested-one-without-pipeline-progresses.input'; - -@InputType() -export class PipelineProgressCreateWithoutPipelineInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => Int, {nullable:true}) - amount?: number; - - @Field(() => Date, {nullable:true}) - closeDate?: Date | string; - - @Field(() => PipelineProgressableType, {nullable:false}) - progressableType!: keyof typeof PipelineProgressableType; - - @Field(() => String, {nullable:false}) - progressableId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => PipelineStageCreateNestedOneWithoutPipelineProgressesInput, {nullable:false}) - pipelineStage!: PipelineStageCreateNestedOneWithoutPipelineProgressesInput; - - @HideField() - workspace!: WorkspaceCreateNestedOneWithoutPipelineProgressesInput; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-create-without-workspace.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-create-without-workspace.input.ts deleted file mode 100644 index 2c7581c05..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-create-without-workspace.input.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { Int } from '@nestjs/graphql'; -import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum'; -import { HideField } from '@nestjs/graphql'; -import { PipelineCreateNestedOneWithoutPipelineProgressesInput } from '../pipeline/pipeline-create-nested-one-without-pipeline-progresses.input'; -import { PipelineStageCreateNestedOneWithoutPipelineProgressesInput } from '../pipeline-stage/pipeline-stage-create-nested-one-without-pipeline-progresses.input'; - -@InputType() -export class PipelineProgressCreateWithoutWorkspaceInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => Int, {nullable:true}) - amount?: number; - - @Field(() => Date, {nullable:true}) - closeDate?: Date | string; - - @Field(() => PipelineProgressableType, {nullable:false}) - progressableType!: keyof typeof PipelineProgressableType; - - @Field(() => String, {nullable:false}) - progressableId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => PipelineCreateNestedOneWithoutPipelineProgressesInput, {nullable:false}) - pipeline!: PipelineCreateNestedOneWithoutPipelineProgressesInput; - - @Field(() => PipelineStageCreateNestedOneWithoutPipelineProgressesInput, {nullable:false}) - pipelineStage!: PipelineStageCreateNestedOneWithoutPipelineProgressesInput; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-create.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-create.input.ts deleted file mode 100644 index 64210859a..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-create.input.ts +++ /dev/null @@ -1,48 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { Int } from '@nestjs/graphql'; -import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum'; -import { HideField } from '@nestjs/graphql'; -import { PipelineCreateNestedOneWithoutPipelineProgressesInput } from '../pipeline/pipeline-create-nested-one-without-pipeline-progresses.input'; -import { PipelineStageCreateNestedOneWithoutPipelineProgressesInput } from '../pipeline-stage/pipeline-stage-create-nested-one-without-pipeline-progresses.input'; -import { WorkspaceCreateNestedOneWithoutPipelineProgressesInput } from '../workspace/workspace-create-nested-one-without-pipeline-progresses.input'; - -@InputType() -export class PipelineProgressCreateInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => Int, {nullable:true}) - amount?: number; - - @Field(() => Date, {nullable:true}) - closeDate?: Date | string; - - @Field(() => PipelineProgressableType, {nullable:false}) - progressableType!: keyof typeof PipelineProgressableType; - - @Field(() => String, {nullable:false}) - progressableId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => PipelineCreateNestedOneWithoutPipelineProgressesInput, {nullable:false}) - pipeline!: PipelineCreateNestedOneWithoutPipelineProgressesInput; - - @Field(() => PipelineStageCreateNestedOneWithoutPipelineProgressesInput, {nullable:false}) - pipelineStage!: PipelineStageCreateNestedOneWithoutPipelineProgressesInput; - - @HideField() - workspace!: WorkspaceCreateNestedOneWithoutPipelineProgressesInput; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-group-by.args.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-group-by.args.ts deleted file mode 100644 index 496d44148..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-group-by.args.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PipelineProgressWhereInput } from './pipeline-progress-where.input'; -import { Type } from 'class-transformer'; -import { PipelineProgressOrderByWithAggregationInput } from './pipeline-progress-order-by-with-aggregation.input'; -import { PipelineProgressScalarFieldEnum } from './pipeline-progress-scalar-field.enum'; -import { PipelineProgressScalarWhereWithAggregatesInput } from './pipeline-progress-scalar-where-with-aggregates.input'; -import { Int } from '@nestjs/graphql'; -import { PipelineProgressCountAggregateInput } from './pipeline-progress-count-aggregate.input'; -import { PipelineProgressAvgAggregateInput } from './pipeline-progress-avg-aggregate.input'; -import { PipelineProgressSumAggregateInput } from './pipeline-progress-sum-aggregate.input'; -import { PipelineProgressMinAggregateInput } from './pipeline-progress-min-aggregate.input'; -import { PipelineProgressMaxAggregateInput } from './pipeline-progress-max-aggregate.input'; - -@ArgsType() -export class PipelineProgressGroupByArgs { - - @Field(() => PipelineProgressWhereInput, {nullable:true}) - @Type(() => PipelineProgressWhereInput) - where?: PipelineProgressWhereInput; - - @Field(() => [PipelineProgressOrderByWithAggregationInput], {nullable:true}) - orderBy?: Array; - - @Field(() => [PipelineProgressScalarFieldEnum], {nullable:false}) - by!: Array; - - @Field(() => PipelineProgressScalarWhereWithAggregatesInput, {nullable:true}) - having?: PipelineProgressScalarWhereWithAggregatesInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => PipelineProgressCountAggregateInput, {nullable:true}) - _count?: PipelineProgressCountAggregateInput; - - @Field(() => PipelineProgressAvgAggregateInput, {nullable:true}) - _avg?: PipelineProgressAvgAggregateInput; - - @Field(() => PipelineProgressSumAggregateInput, {nullable:true}) - _sum?: PipelineProgressSumAggregateInput; - - @Field(() => PipelineProgressMinAggregateInput, {nullable:true}) - _min?: PipelineProgressMinAggregateInput; - - @Field(() => PipelineProgressMaxAggregateInput, {nullable:true}) - _max?: PipelineProgressMaxAggregateInput; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-group-by.output.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-group-by.output.ts deleted file mode 100644 index 737938df4..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-group-by.output.ts +++ /dev/null @@ -1,65 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { Int } from '@nestjs/graphql'; -import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum'; -import { HideField } from '@nestjs/graphql'; -import { PipelineProgressCountAggregate } from './pipeline-progress-count-aggregate.output'; -import { PipelineProgressAvgAggregate } from './pipeline-progress-avg-aggregate.output'; -import { PipelineProgressSumAggregate } from './pipeline-progress-sum-aggregate.output'; -import { PipelineProgressMinAggregate } from './pipeline-progress-min-aggregate.output'; -import { PipelineProgressMaxAggregate } from './pipeline-progress-max-aggregate.output'; - -@ObjectType() -export class PipelineProgressGroupBy { - - @Field(() => String, {nullable:false}) - @Validator.IsString() - @Validator.IsOptional() - id!: string; - - @Field(() => Int, {nullable:true}) - amount?: number; - - @Field(() => Date, {nullable:true}) - closeDate?: Date | string; - - @Field(() => String, {nullable:false}) - pipelineId!: string; - - @Field(() => String, {nullable:false}) - pipelineStageId!: string; - - @Field(() => PipelineProgressableType, {nullable:false}) - progressableType!: keyof typeof PipelineProgressableType; - - @Field(() => String, {nullable:false}) - progressableId!: string; - - @HideField() - workspaceId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:false}) - createdAt!: Date | string; - - @Field(() => Date, {nullable:false}) - updatedAt!: Date | string; - - @Field(() => PipelineProgressCountAggregate, {nullable:true}) - _count?: PipelineProgressCountAggregate; - - @Field(() => PipelineProgressAvgAggregate, {nullable:true}) - _avg?: PipelineProgressAvgAggregate; - - @Field(() => PipelineProgressSumAggregate, {nullable:true}) - _sum?: PipelineProgressSumAggregate; - - @Field(() => PipelineProgressMinAggregate, {nullable:true}) - _min?: PipelineProgressMinAggregate; - - @Field(() => PipelineProgressMaxAggregate, {nullable:true}) - _max?: PipelineProgressMaxAggregate; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-list-relation-filter.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-list-relation-filter.input.ts deleted file mode 100644 index 3306ae52d..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-list-relation-filter.input.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineProgressWhereInput } from './pipeline-progress-where.input'; - -@InputType() -export class PipelineProgressListRelationFilter { - - @Field(() => PipelineProgressWhereInput, {nullable:true}) - every?: PipelineProgressWhereInput; - - @Field(() => PipelineProgressWhereInput, {nullable:true}) - some?: PipelineProgressWhereInput; - - @Field(() => PipelineProgressWhereInput, {nullable:true}) - none?: PipelineProgressWhereInput; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-max-aggregate.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-max-aggregate.input.ts deleted file mode 100644 index e2a605b03..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-max-aggregate.input.ts +++ /dev/null @@ -1,40 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class PipelineProgressMaxAggregateInput { - - @Field(() => Boolean, {nullable:true}) - id?: true; - - @Field(() => Boolean, {nullable:true}) - amount?: true; - - @Field(() => Boolean, {nullable:true}) - closeDate?: true; - - @Field(() => Boolean, {nullable:true}) - pipelineId?: true; - - @Field(() => Boolean, {nullable:true}) - pipelineStageId?: true; - - @Field(() => Boolean, {nullable:true}) - progressableType?: true; - - @Field(() => Boolean, {nullable:true}) - progressableId?: true; - - @HideField() - workspaceId?: true; - - @HideField() - deletedAt?: true; - - @Field(() => Boolean, {nullable:true}) - createdAt?: true; - - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-max-aggregate.output.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-max-aggregate.output.ts deleted file mode 100644 index 69cff0081..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-max-aggregate.output.ts +++ /dev/null @@ -1,45 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { Int } from '@nestjs/graphql'; -import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum'; -import { HideField } from '@nestjs/graphql'; - -@ObjectType() -export class PipelineProgressMaxAggregate { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => Int, {nullable:true}) - amount?: number; - - @Field(() => Date, {nullable:true}) - closeDate?: Date | string; - - @Field(() => String, {nullable:true}) - pipelineId?: string; - - @Field(() => String, {nullable:true}) - pipelineStageId?: string; - - @Field(() => PipelineProgressableType, {nullable:true}) - progressableType?: keyof typeof PipelineProgressableType; - - @Field(() => String, {nullable:true}) - progressableId?: string; - - @HideField() - workspaceId?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-max-order-by-aggregate.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-max-order-by-aggregate.input.ts deleted file mode 100644 index 55c2bd901..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-max-order-by-aggregate.input.ts +++ /dev/null @@ -1,41 +0,0 @@ -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 PipelineProgressMaxOrderByAggregateInput { - - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - amount?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - closeDate?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - pipelineId?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - pipelineStageId?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - progressableType?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - progressableId?: keyof typeof SortOrder; - - @HideField() - workspaceId?: keyof typeof SortOrder; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-min-aggregate.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-min-aggregate.input.ts deleted file mode 100644 index 2f39291af..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-min-aggregate.input.ts +++ /dev/null @@ -1,40 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class PipelineProgressMinAggregateInput { - - @Field(() => Boolean, {nullable:true}) - id?: true; - - @Field(() => Boolean, {nullable:true}) - amount?: true; - - @Field(() => Boolean, {nullable:true}) - closeDate?: true; - - @Field(() => Boolean, {nullable:true}) - pipelineId?: true; - - @Field(() => Boolean, {nullable:true}) - pipelineStageId?: true; - - @Field(() => Boolean, {nullable:true}) - progressableType?: true; - - @Field(() => Boolean, {nullable:true}) - progressableId?: true; - - @HideField() - workspaceId?: true; - - @HideField() - deletedAt?: true; - - @Field(() => Boolean, {nullable:true}) - createdAt?: true; - - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-min-aggregate.output.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-min-aggregate.output.ts deleted file mode 100644 index 7b1bb0ecd..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-min-aggregate.output.ts +++ /dev/null @@ -1,45 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { Int } from '@nestjs/graphql'; -import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum'; -import { HideField } from '@nestjs/graphql'; - -@ObjectType() -export class PipelineProgressMinAggregate { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => Int, {nullable:true}) - amount?: number; - - @Field(() => Date, {nullable:true}) - closeDate?: Date | string; - - @Field(() => String, {nullable:true}) - pipelineId?: string; - - @Field(() => String, {nullable:true}) - pipelineStageId?: string; - - @Field(() => PipelineProgressableType, {nullable:true}) - progressableType?: keyof typeof PipelineProgressableType; - - @Field(() => String, {nullable:true}) - progressableId?: string; - - @HideField() - workspaceId?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-min-order-by-aggregate.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-min-order-by-aggregate.input.ts deleted file mode 100644 index 7236c6689..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-min-order-by-aggregate.input.ts +++ /dev/null @@ -1,41 +0,0 @@ -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 PipelineProgressMinOrderByAggregateInput { - - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - amount?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - closeDate?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - pipelineId?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - pipelineStageId?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - progressableType?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - progressableId?: keyof typeof SortOrder; - - @HideField() - workspaceId?: keyof typeof SortOrder; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-order-by-relation-aggregate.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-order-by-relation-aggregate.input.ts deleted file mode 100644 index 977ad5e28..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-order-by-relation-aggregate.input.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { SortOrder } from '../prisma/sort-order.enum'; - -@InputType() -export class PipelineProgressOrderByRelationAggregateInput { - - @Field(() => SortOrder, {nullable:true}) - _count?: keyof typeof SortOrder; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-order-by-with-aggregation.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-order-by-with-aggregation.input.ts deleted file mode 100644 index f3a435f3d..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-order-by-with-aggregation.input.ts +++ /dev/null @@ -1,61 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { SortOrder } from '../prisma/sort-order.enum'; -import { HideField } from '@nestjs/graphql'; -import { PipelineProgressCountOrderByAggregateInput } from './pipeline-progress-count-order-by-aggregate.input'; -import { PipelineProgressAvgOrderByAggregateInput } from './pipeline-progress-avg-order-by-aggregate.input'; -import { PipelineProgressMaxOrderByAggregateInput } from './pipeline-progress-max-order-by-aggregate.input'; -import { PipelineProgressMinOrderByAggregateInput } from './pipeline-progress-min-order-by-aggregate.input'; -import { PipelineProgressSumOrderByAggregateInput } from './pipeline-progress-sum-order-by-aggregate.input'; - -@InputType() -export class PipelineProgressOrderByWithAggregationInput { - - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - amount?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - closeDate?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - pipelineId?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - pipelineStageId?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - progressableType?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - progressableId?: keyof typeof SortOrder; - - @HideField() - workspaceId?: keyof typeof SortOrder; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; - - @Field(() => PipelineProgressCountOrderByAggregateInput, {nullable:true}) - _count?: PipelineProgressCountOrderByAggregateInput; - - @Field(() => PipelineProgressAvgOrderByAggregateInput, {nullable:true}) - _avg?: PipelineProgressAvgOrderByAggregateInput; - - @Field(() => PipelineProgressMaxOrderByAggregateInput, {nullable:true}) - _max?: PipelineProgressMaxOrderByAggregateInput; - - @Field(() => PipelineProgressMinOrderByAggregateInput, {nullable:true}) - _min?: PipelineProgressMinOrderByAggregateInput; - - @Field(() => PipelineProgressSumOrderByAggregateInput, {nullable:true}) - _sum?: PipelineProgressSumOrderByAggregateInput; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-order-by-with-relation.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-order-by-with-relation.input.ts deleted file mode 100644 index 473a1ef37..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-order-by-with-relation.input.ts +++ /dev/null @@ -1,53 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { SortOrder } from '../prisma/sort-order.enum'; -import { HideField } from '@nestjs/graphql'; -import { PipelineOrderByWithRelationInput } from '../pipeline/pipeline-order-by-with-relation.input'; -import { PipelineStageOrderByWithRelationInput } from '../pipeline-stage/pipeline-stage-order-by-with-relation.input'; -import { WorkspaceOrderByWithRelationInput } from '../workspace/workspace-order-by-with-relation.input'; - -@InputType() -export class PipelineProgressOrderByWithRelationInput { - - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - amount?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - closeDate?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - pipelineId?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - pipelineStageId?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - progressableType?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - progressableId?: keyof typeof SortOrder; - - @HideField() - workspaceId?: keyof typeof SortOrder; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; - - @Field(() => PipelineOrderByWithRelationInput, {nullable:true}) - pipeline?: PipelineOrderByWithRelationInput; - - @Field(() => PipelineStageOrderByWithRelationInput, {nullable:true}) - pipelineStage?: PipelineStageOrderByWithRelationInput; - - @HideField() - workspace?: WorkspaceOrderByWithRelationInput; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-scalar-field.enum.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-scalar-field.enum.ts deleted file mode 100644 index 74c4341ed..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-scalar-field.enum.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { registerEnumType } from '@nestjs/graphql'; - -export enum PipelineProgressScalarFieldEnum { - id = "id", - amount = "amount", - closeDate = "closeDate", - pipelineId = "pipelineId", - pipelineStageId = "pipelineStageId", - progressableType = "progressableType", - progressableId = "progressableId", - workspaceId = "workspaceId", - deletedAt = "deletedAt", - createdAt = "createdAt", - updatedAt = "updatedAt" -} - - -registerEnumType(PipelineProgressScalarFieldEnum, { name: 'PipelineProgressScalarFieldEnum', description: undefined }) diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-scalar-where-with-aggregates.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-scalar-where-with-aggregates.input.ts deleted file mode 100644 index b5871f77b..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-scalar-where-with-aggregates.input.ts +++ /dev/null @@ -1,54 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringWithAggregatesFilter } from '../prisma/string-with-aggregates-filter.input'; -import { IntNullableWithAggregatesFilter } from '../prisma/int-nullable-with-aggregates-filter.input'; -import { DateTimeNullableWithAggregatesFilter } from '../prisma/date-time-nullable-with-aggregates-filter.input'; -import { EnumPipelineProgressableTypeWithAggregatesFilter } from '../prisma/enum-pipeline-progressable-type-with-aggregates-filter.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeWithAggregatesFilter } from '../prisma/date-time-with-aggregates-filter.input'; - -@InputType() -export class PipelineProgressScalarWhereWithAggregatesInput { - - @Field(() => [PipelineProgressScalarWhereWithAggregatesInput], {nullable:true}) - AND?: Array; - - @Field(() => [PipelineProgressScalarWhereWithAggregatesInput], {nullable:true}) - OR?: Array; - - @Field(() => [PipelineProgressScalarWhereWithAggregatesInput], {nullable:true}) - NOT?: Array; - - @Field(() => StringWithAggregatesFilter, {nullable:true}) - id?: StringWithAggregatesFilter; - - @Field(() => IntNullableWithAggregatesFilter, {nullable:true}) - amount?: IntNullableWithAggregatesFilter; - - @Field(() => DateTimeNullableWithAggregatesFilter, {nullable:true}) - closeDate?: DateTimeNullableWithAggregatesFilter; - - @Field(() => StringWithAggregatesFilter, {nullable:true}) - pipelineId?: StringWithAggregatesFilter; - - @Field(() => StringWithAggregatesFilter, {nullable:true}) - pipelineStageId?: StringWithAggregatesFilter; - - @Field(() => EnumPipelineProgressableTypeWithAggregatesFilter, {nullable:true}) - progressableType?: EnumPipelineProgressableTypeWithAggregatesFilter; - - @Field(() => StringWithAggregatesFilter, {nullable:true}) - progressableId?: StringWithAggregatesFilter; - - @HideField() - workspaceId?: StringWithAggregatesFilter; - - @HideField() - deletedAt?: DateTimeNullableWithAggregatesFilter; - - @Field(() => DateTimeWithAggregatesFilter, {nullable:true}) - createdAt?: DateTimeWithAggregatesFilter; - - @Field(() => DateTimeWithAggregatesFilter, {nullable:true}) - updatedAt?: DateTimeWithAggregatesFilter; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-scalar-where.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-scalar-where.input.ts deleted file mode 100644 index 30a278f47..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-scalar-where.input.ts +++ /dev/null @@ -1,54 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFilter } from '../prisma/string-filter.input'; -import { IntNullableFilter } from '../prisma/int-nullable-filter.input'; -import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input'; -import { EnumPipelineProgressableTypeFilter } from '../prisma/enum-pipeline-progressable-type-filter.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFilter } from '../prisma/date-time-filter.input'; - -@InputType() -export class PipelineProgressScalarWhereInput { - - @Field(() => [PipelineProgressScalarWhereInput], {nullable:true}) - AND?: Array; - - @Field(() => [PipelineProgressScalarWhereInput], {nullable:true}) - OR?: Array; - - @Field(() => [PipelineProgressScalarWhereInput], {nullable:true}) - NOT?: Array; - - @Field(() => StringFilter, {nullable:true}) - id?: StringFilter; - - @Field(() => IntNullableFilter, {nullable:true}) - amount?: IntNullableFilter; - - @Field(() => DateTimeNullableFilter, {nullable:true}) - closeDate?: DateTimeNullableFilter; - - @Field(() => StringFilter, {nullable:true}) - pipelineId?: StringFilter; - - @Field(() => StringFilter, {nullable:true}) - pipelineStageId?: StringFilter; - - @Field(() => EnumPipelineProgressableTypeFilter, {nullable:true}) - progressableType?: EnumPipelineProgressableTypeFilter; - - @Field(() => StringFilter, {nullable:true}) - progressableId?: StringFilter; - - @HideField() - workspaceId?: StringFilter; - - @HideField() - deletedAt?: DateTimeNullableFilter; - - @Field(() => DateTimeFilter, {nullable:true}) - createdAt?: DateTimeFilter; - - @Field(() => DateTimeFilter, {nullable:true}) - updatedAt?: DateTimeFilter; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-sum-aggregate.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-sum-aggregate.input.ts deleted file mode 100644 index 30cb5b49d..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-sum-aggregate.input.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; - -@InputType() -export class PipelineProgressSumAggregateInput { - - @Field(() => Boolean, {nullable:true}) - amount?: true; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-sum-aggregate.output.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-sum-aggregate.output.ts deleted file mode 100644 index 0ef5a5b2c..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-sum-aggregate.output.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import { Int } from '@nestjs/graphql'; - -@ObjectType() -export class PipelineProgressSumAggregate { - - @Field(() => Int, {nullable:true}) - amount?: number; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-sum-order-by-aggregate.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-sum-order-by-aggregate.input.ts deleted file mode 100644 index b74257aa8..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-sum-order-by-aggregate.input.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { SortOrder } from '../prisma/sort-order.enum'; - -@InputType() -export class PipelineProgressSumOrderByAggregateInput { - - @Field(() => SortOrder, {nullable:true}) - amount?: keyof typeof SortOrder; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-unchecked-create-nested-many-without-pipeline-stage.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-unchecked-create-nested-many-without-pipeline-stage.input.ts deleted file mode 100644 index c686e108e..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-unchecked-create-nested-many-without-pipeline-stage.input.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineProgressCreateWithoutPipelineStageInput } from './pipeline-progress-create-without-pipeline-stage.input'; -import { Type } from 'class-transformer'; -import { PipelineProgressCreateOrConnectWithoutPipelineStageInput } from './pipeline-progress-create-or-connect-without-pipeline-stage.input'; -import { PipelineProgressCreateManyPipelineStageInputEnvelope } from './pipeline-progress-create-many-pipeline-stage-input-envelope.input'; -import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input'; - -@InputType() -export class PipelineProgressUncheckedCreateNestedManyWithoutPipelineStageInput { - - @Field(() => [PipelineProgressCreateWithoutPipelineStageInput], {nullable:true}) - @Type(() => PipelineProgressCreateWithoutPipelineStageInput) - create?: Array; - - @Field(() => [PipelineProgressCreateOrConnectWithoutPipelineStageInput], {nullable:true}) - @Type(() => PipelineProgressCreateOrConnectWithoutPipelineStageInput) - connectOrCreate?: Array; - - @Field(() => PipelineProgressCreateManyPipelineStageInputEnvelope, {nullable:true}) - @Type(() => PipelineProgressCreateManyPipelineStageInputEnvelope) - createMany?: PipelineProgressCreateManyPipelineStageInputEnvelope; - - @Field(() => [PipelineProgressWhereUniqueInput], {nullable:true}) - @Type(() => PipelineProgressWhereUniqueInput) - connect?: Array; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-unchecked-create-nested-many-without-pipeline.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-unchecked-create-nested-many-without-pipeline.input.ts deleted file mode 100644 index 2adb8aca5..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-unchecked-create-nested-many-without-pipeline.input.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineProgressCreateWithoutPipelineInput } from './pipeline-progress-create-without-pipeline.input'; -import { Type } from 'class-transformer'; -import { PipelineProgressCreateOrConnectWithoutPipelineInput } from './pipeline-progress-create-or-connect-without-pipeline.input'; -import { PipelineProgressCreateManyPipelineInputEnvelope } from './pipeline-progress-create-many-pipeline-input-envelope.input'; -import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input'; - -@InputType() -export class PipelineProgressUncheckedCreateNestedManyWithoutPipelineInput { - - @Field(() => [PipelineProgressCreateWithoutPipelineInput], {nullable:true}) - @Type(() => PipelineProgressCreateWithoutPipelineInput) - create?: Array; - - @Field(() => [PipelineProgressCreateOrConnectWithoutPipelineInput], {nullable:true}) - @Type(() => PipelineProgressCreateOrConnectWithoutPipelineInput) - connectOrCreate?: Array; - - @Field(() => PipelineProgressCreateManyPipelineInputEnvelope, {nullable:true}) - @Type(() => PipelineProgressCreateManyPipelineInputEnvelope) - createMany?: PipelineProgressCreateManyPipelineInputEnvelope; - - @Field(() => [PipelineProgressWhereUniqueInput], {nullable:true}) - @Type(() => PipelineProgressWhereUniqueInput) - connect?: Array; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-unchecked-create-nested-many-without-workspace.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-unchecked-create-nested-many-without-workspace.input.ts deleted file mode 100644 index 7e2689926..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-unchecked-create-nested-many-without-workspace.input.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineProgressCreateWithoutWorkspaceInput } from './pipeline-progress-create-without-workspace.input'; -import { Type } from 'class-transformer'; -import { PipelineProgressCreateOrConnectWithoutWorkspaceInput } from './pipeline-progress-create-or-connect-without-workspace.input'; -import { PipelineProgressCreateManyWorkspaceInputEnvelope } from './pipeline-progress-create-many-workspace-input-envelope.input'; -import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input'; - -@InputType() -export class PipelineProgressUncheckedCreateNestedManyWithoutWorkspaceInput { - - @Field(() => [PipelineProgressCreateWithoutWorkspaceInput], {nullable:true}) - @Type(() => PipelineProgressCreateWithoutWorkspaceInput) - create?: Array; - - @Field(() => [PipelineProgressCreateOrConnectWithoutWorkspaceInput], {nullable:true}) - @Type(() => PipelineProgressCreateOrConnectWithoutWorkspaceInput) - connectOrCreate?: Array; - - @Field(() => PipelineProgressCreateManyWorkspaceInputEnvelope, {nullable:true}) - @Type(() => PipelineProgressCreateManyWorkspaceInputEnvelope) - createMany?: PipelineProgressCreateManyWorkspaceInputEnvelope; - - @Field(() => [PipelineProgressWhereUniqueInput], {nullable:true}) - @Type(() => PipelineProgressWhereUniqueInput) - connect?: Array; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-unchecked-create-without-pipeline-stage.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-unchecked-create-without-pipeline-stage.input.ts deleted file mode 100644 index f967799e2..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-unchecked-create-without-pipeline-stage.input.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { Int } from '@nestjs/graphql'; -import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class PipelineProgressUncheckedCreateWithoutPipelineStageInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => Int, {nullable:true}) - amount?: number; - - @Field(() => Date, {nullable:true}) - closeDate?: Date | string; - - @Field(() => String, {nullable:false}) - pipelineId!: string; - - @Field(() => PipelineProgressableType, {nullable:false}) - progressableType!: keyof typeof PipelineProgressableType; - - @Field(() => String, {nullable:false}) - progressableId!: string; - - @HideField() - workspaceId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-unchecked-create-without-pipeline.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-unchecked-create-without-pipeline.input.ts deleted file mode 100644 index 874ea0c34..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-unchecked-create-without-pipeline.input.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { Int } from '@nestjs/graphql'; -import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class PipelineProgressUncheckedCreateWithoutPipelineInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => Int, {nullable:true}) - amount?: number; - - @Field(() => Date, {nullable:true}) - closeDate?: Date | string; - - @Field(() => String, {nullable:false}) - pipelineStageId!: string; - - @Field(() => PipelineProgressableType, {nullable:false}) - progressableType!: keyof typeof PipelineProgressableType; - - @Field(() => String, {nullable:false}) - progressableId!: string; - - @HideField() - workspaceId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-unchecked-create-without-workspace.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-unchecked-create-without-workspace.input.ts deleted file mode 100644 index 61630adf4..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-unchecked-create-without-workspace.input.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { Int } from '@nestjs/graphql'; -import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class PipelineProgressUncheckedCreateWithoutWorkspaceInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => Int, {nullable:true}) - amount?: number; - - @Field(() => Date, {nullable:true}) - closeDate?: Date | string; - - @Field(() => String, {nullable:false}) - pipelineId!: string; - - @Field(() => String, {nullable:false}) - pipelineStageId!: string; - - @Field(() => PipelineProgressableType, {nullable:false}) - progressableType!: keyof typeof PipelineProgressableType; - - @Field(() => String, {nullable:false}) - progressableId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-unchecked-create.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-unchecked-create.input.ts deleted file mode 100644 index cc5812447..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-unchecked-create.input.ts +++ /dev/null @@ -1,45 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { Int } from '@nestjs/graphql'; -import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class PipelineProgressUncheckedCreateInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => Int, {nullable:true}) - amount?: number; - - @Field(() => Date, {nullable:true}) - closeDate?: Date | string; - - @Field(() => String, {nullable:false}) - pipelineId!: string; - - @Field(() => String, {nullable:false}) - pipelineStageId!: string; - - @Field(() => PipelineProgressableType, {nullable:false}) - progressableType!: keyof typeof PipelineProgressableType; - - @Field(() => String, {nullable:false}) - progressableId!: string; - - @HideField() - workspaceId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-unchecked-update-many-without-pipeline-nested.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-unchecked-update-many-without-pipeline-nested.input.ts deleted file mode 100644 index 73e204428..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-unchecked-update-many-without-pipeline-nested.input.ts +++ /dev/null @@ -1,59 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineProgressCreateWithoutPipelineInput } from './pipeline-progress-create-without-pipeline.input'; -import { Type } from 'class-transformer'; -import { PipelineProgressCreateOrConnectWithoutPipelineInput } from './pipeline-progress-create-or-connect-without-pipeline.input'; -import { PipelineProgressUpsertWithWhereUniqueWithoutPipelineInput } from './pipeline-progress-upsert-with-where-unique-without-pipeline.input'; -import { PipelineProgressCreateManyPipelineInputEnvelope } from './pipeline-progress-create-many-pipeline-input-envelope.input'; -import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input'; -import { PipelineProgressUpdateWithWhereUniqueWithoutPipelineInput } from './pipeline-progress-update-with-where-unique-without-pipeline.input'; -import { PipelineProgressUpdateManyWithWhereWithoutPipelineInput } from './pipeline-progress-update-many-with-where-without-pipeline.input'; -import { PipelineProgressScalarWhereInput } from './pipeline-progress-scalar-where.input'; - -@InputType() -export class PipelineProgressUncheckedUpdateManyWithoutPipelineNestedInput { - - @Field(() => [PipelineProgressCreateWithoutPipelineInput], {nullable:true}) - @Type(() => PipelineProgressCreateWithoutPipelineInput) - create?: Array; - - @Field(() => [PipelineProgressCreateOrConnectWithoutPipelineInput], {nullable:true}) - @Type(() => PipelineProgressCreateOrConnectWithoutPipelineInput) - connectOrCreate?: Array; - - @Field(() => [PipelineProgressUpsertWithWhereUniqueWithoutPipelineInput], {nullable:true}) - @Type(() => PipelineProgressUpsertWithWhereUniqueWithoutPipelineInput) - upsert?: Array; - - @Field(() => PipelineProgressCreateManyPipelineInputEnvelope, {nullable:true}) - @Type(() => PipelineProgressCreateManyPipelineInputEnvelope) - createMany?: PipelineProgressCreateManyPipelineInputEnvelope; - - @Field(() => [PipelineProgressWhereUniqueInput], {nullable:true}) - @Type(() => PipelineProgressWhereUniqueInput) - set?: Array; - - @Field(() => [PipelineProgressWhereUniqueInput], {nullable:true}) - @Type(() => PipelineProgressWhereUniqueInput) - disconnect?: Array; - - @Field(() => [PipelineProgressWhereUniqueInput], {nullable:true}) - @Type(() => PipelineProgressWhereUniqueInput) - delete?: Array; - - @Field(() => [PipelineProgressWhereUniqueInput], {nullable:true}) - @Type(() => PipelineProgressWhereUniqueInput) - connect?: Array; - - @Field(() => [PipelineProgressUpdateWithWhereUniqueWithoutPipelineInput], {nullable:true}) - @Type(() => PipelineProgressUpdateWithWhereUniqueWithoutPipelineInput) - update?: Array; - - @Field(() => [PipelineProgressUpdateManyWithWhereWithoutPipelineInput], {nullable:true}) - @Type(() => PipelineProgressUpdateManyWithWhereWithoutPipelineInput) - updateMany?: Array; - - @Field(() => [PipelineProgressScalarWhereInput], {nullable:true}) - @Type(() => PipelineProgressScalarWhereInput) - deleteMany?: Array; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-unchecked-update-many-without-pipeline-progresses.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-unchecked-update-many-without-pipeline-progresses.input.ts deleted file mode 100644 index 181fd4cab..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-unchecked-update-many-without-pipeline-progresses.input.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class PipelineProgressUncheckedUpdateManyWithoutPipelineProgressesInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true}) - amount?: NullableIntFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - closeDate?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - pipelineId?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - pipelineStageId?: StringFieldUpdateOperationsInput; - - @Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, {nullable:true}) - progressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - progressableId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-unchecked-update-many-without-pipeline-stage-nested.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-unchecked-update-many-without-pipeline-stage-nested.input.ts deleted file mode 100644 index faffc220e..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-unchecked-update-many-without-pipeline-stage-nested.input.ts +++ /dev/null @@ -1,59 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineProgressCreateWithoutPipelineStageInput } from './pipeline-progress-create-without-pipeline-stage.input'; -import { Type } from 'class-transformer'; -import { PipelineProgressCreateOrConnectWithoutPipelineStageInput } from './pipeline-progress-create-or-connect-without-pipeline-stage.input'; -import { PipelineProgressUpsertWithWhereUniqueWithoutPipelineStageInput } from './pipeline-progress-upsert-with-where-unique-without-pipeline-stage.input'; -import { PipelineProgressCreateManyPipelineStageInputEnvelope } from './pipeline-progress-create-many-pipeline-stage-input-envelope.input'; -import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input'; -import { PipelineProgressUpdateWithWhereUniqueWithoutPipelineStageInput } from './pipeline-progress-update-with-where-unique-without-pipeline-stage.input'; -import { PipelineProgressUpdateManyWithWhereWithoutPipelineStageInput } from './pipeline-progress-update-many-with-where-without-pipeline-stage.input'; -import { PipelineProgressScalarWhereInput } from './pipeline-progress-scalar-where.input'; - -@InputType() -export class PipelineProgressUncheckedUpdateManyWithoutPipelineStageNestedInput { - - @Field(() => [PipelineProgressCreateWithoutPipelineStageInput], {nullable:true}) - @Type(() => PipelineProgressCreateWithoutPipelineStageInput) - create?: Array; - - @Field(() => [PipelineProgressCreateOrConnectWithoutPipelineStageInput], {nullable:true}) - @Type(() => PipelineProgressCreateOrConnectWithoutPipelineStageInput) - connectOrCreate?: Array; - - @Field(() => [PipelineProgressUpsertWithWhereUniqueWithoutPipelineStageInput], {nullable:true}) - @Type(() => PipelineProgressUpsertWithWhereUniqueWithoutPipelineStageInput) - upsert?: Array; - - @Field(() => PipelineProgressCreateManyPipelineStageInputEnvelope, {nullable:true}) - @Type(() => PipelineProgressCreateManyPipelineStageInputEnvelope) - createMany?: PipelineProgressCreateManyPipelineStageInputEnvelope; - - @Field(() => [PipelineProgressWhereUniqueInput], {nullable:true}) - @Type(() => PipelineProgressWhereUniqueInput) - set?: Array; - - @Field(() => [PipelineProgressWhereUniqueInput], {nullable:true}) - @Type(() => PipelineProgressWhereUniqueInput) - disconnect?: Array; - - @Field(() => [PipelineProgressWhereUniqueInput], {nullable:true}) - @Type(() => PipelineProgressWhereUniqueInput) - delete?: Array; - - @Field(() => [PipelineProgressWhereUniqueInput], {nullable:true}) - @Type(() => PipelineProgressWhereUniqueInput) - connect?: Array; - - @Field(() => [PipelineProgressUpdateWithWhereUniqueWithoutPipelineStageInput], {nullable:true}) - @Type(() => PipelineProgressUpdateWithWhereUniqueWithoutPipelineStageInput) - update?: Array; - - @Field(() => [PipelineProgressUpdateManyWithWhereWithoutPipelineStageInput], {nullable:true}) - @Type(() => PipelineProgressUpdateManyWithWhereWithoutPipelineStageInput) - updateMany?: Array; - - @Field(() => [PipelineProgressScalarWhereInput], {nullable:true}) - @Type(() => PipelineProgressScalarWhereInput) - deleteMany?: Array; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-unchecked-update-many-without-workspace-nested.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-unchecked-update-many-without-workspace-nested.input.ts deleted file mode 100644 index 52847299f..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-unchecked-update-many-without-workspace-nested.input.ts +++ /dev/null @@ -1,59 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineProgressCreateWithoutWorkspaceInput } from './pipeline-progress-create-without-workspace.input'; -import { Type } from 'class-transformer'; -import { PipelineProgressCreateOrConnectWithoutWorkspaceInput } from './pipeline-progress-create-or-connect-without-workspace.input'; -import { PipelineProgressUpsertWithWhereUniqueWithoutWorkspaceInput } from './pipeline-progress-upsert-with-where-unique-without-workspace.input'; -import { PipelineProgressCreateManyWorkspaceInputEnvelope } from './pipeline-progress-create-many-workspace-input-envelope.input'; -import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input'; -import { PipelineProgressUpdateWithWhereUniqueWithoutWorkspaceInput } from './pipeline-progress-update-with-where-unique-without-workspace.input'; -import { PipelineProgressUpdateManyWithWhereWithoutWorkspaceInput } from './pipeline-progress-update-many-with-where-without-workspace.input'; -import { PipelineProgressScalarWhereInput } from './pipeline-progress-scalar-where.input'; - -@InputType() -export class PipelineProgressUncheckedUpdateManyWithoutWorkspaceNestedInput { - - @Field(() => [PipelineProgressCreateWithoutWorkspaceInput], {nullable:true}) - @Type(() => PipelineProgressCreateWithoutWorkspaceInput) - create?: Array; - - @Field(() => [PipelineProgressCreateOrConnectWithoutWorkspaceInput], {nullable:true}) - @Type(() => PipelineProgressCreateOrConnectWithoutWorkspaceInput) - connectOrCreate?: Array; - - @Field(() => [PipelineProgressUpsertWithWhereUniqueWithoutWorkspaceInput], {nullable:true}) - @Type(() => PipelineProgressUpsertWithWhereUniqueWithoutWorkspaceInput) - upsert?: Array; - - @Field(() => PipelineProgressCreateManyWorkspaceInputEnvelope, {nullable:true}) - @Type(() => PipelineProgressCreateManyWorkspaceInputEnvelope) - createMany?: PipelineProgressCreateManyWorkspaceInputEnvelope; - - @Field(() => [PipelineProgressWhereUniqueInput], {nullable:true}) - @Type(() => PipelineProgressWhereUniqueInput) - set?: Array; - - @Field(() => [PipelineProgressWhereUniqueInput], {nullable:true}) - @Type(() => PipelineProgressWhereUniqueInput) - disconnect?: Array; - - @Field(() => [PipelineProgressWhereUniqueInput], {nullable:true}) - @Type(() => PipelineProgressWhereUniqueInput) - delete?: Array; - - @Field(() => [PipelineProgressWhereUniqueInput], {nullable:true}) - @Type(() => PipelineProgressWhereUniqueInput) - connect?: Array; - - @Field(() => [PipelineProgressUpdateWithWhereUniqueWithoutWorkspaceInput], {nullable:true}) - @Type(() => PipelineProgressUpdateWithWhereUniqueWithoutWorkspaceInput) - update?: Array; - - @Field(() => [PipelineProgressUpdateManyWithWhereWithoutWorkspaceInput], {nullable:true}) - @Type(() => PipelineProgressUpdateManyWithWhereWithoutWorkspaceInput) - updateMany?: Array; - - @Field(() => [PipelineProgressScalarWhereInput], {nullable:true}) - @Type(() => PipelineProgressScalarWhereInput) - deleteMany?: Array; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-unchecked-update-many.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-unchecked-update-many.input.ts deleted file mode 100644 index a879a4268..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-unchecked-update-many.input.ts +++ /dev/null @@ -1,45 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class PipelineProgressUncheckedUpdateManyInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true}) - amount?: NullableIntFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - closeDate?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - pipelineId?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - pipelineStageId?: StringFieldUpdateOperationsInput; - - @Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, {nullable:true}) - progressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - progressableId?: StringFieldUpdateOperationsInput; - - @HideField() - workspaceId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-unchecked-update-without-pipeline-stage.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-unchecked-update-without-pipeline-stage.input.ts deleted file mode 100644 index 28cd21bfa..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-unchecked-update-without-pipeline-stage.input.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class PipelineProgressUncheckedUpdateWithoutPipelineStageInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true}) - amount?: NullableIntFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - closeDate?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - pipelineId?: StringFieldUpdateOperationsInput; - - @Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, {nullable:true}) - progressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - progressableId?: StringFieldUpdateOperationsInput; - - @HideField() - workspaceId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-unchecked-update-without-pipeline.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-unchecked-update-without-pipeline.input.ts deleted file mode 100644 index ce6bdff48..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-unchecked-update-without-pipeline.input.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class PipelineProgressUncheckedUpdateWithoutPipelineInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true}) - amount?: NullableIntFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - closeDate?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - pipelineStageId?: StringFieldUpdateOperationsInput; - - @Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, {nullable:true}) - progressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - progressableId?: StringFieldUpdateOperationsInput; - - @HideField() - workspaceId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-unchecked-update-without-workspace.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-unchecked-update-without-workspace.input.ts deleted file mode 100644 index 616a5d390..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-unchecked-update-without-workspace.input.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class PipelineProgressUncheckedUpdateWithoutWorkspaceInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true}) - amount?: NullableIntFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - closeDate?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - pipelineId?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - pipelineStageId?: StringFieldUpdateOperationsInput; - - @Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, {nullable:true}) - progressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - progressableId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-unchecked-update.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-unchecked-update.input.ts deleted file mode 100644 index ae601f665..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-unchecked-update.input.ts +++ /dev/null @@ -1,45 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class PipelineProgressUncheckedUpdateInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true}) - amount?: NullableIntFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - closeDate?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - pipelineId?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - pipelineStageId?: StringFieldUpdateOperationsInput; - - @Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, {nullable:true}) - progressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - progressableId?: StringFieldUpdateOperationsInput; - - @HideField() - workspaceId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-update-many-mutation.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-update-many-mutation.input.ts deleted file mode 100644 index 9e1ff37e6..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-update-many-mutation.input.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class PipelineProgressUpdateManyMutationInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true}) - amount?: NullableIntFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - closeDate?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, {nullable:true}) - progressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - progressableId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-update-many-with-where-without-pipeline-stage.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-update-many-with-where-without-pipeline-stage.input.ts deleted file mode 100644 index 0da079bda..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-update-many-with-where-without-pipeline-stage.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineProgressScalarWhereInput } from './pipeline-progress-scalar-where.input'; -import { Type } from 'class-transformer'; -import { PipelineProgressUpdateManyMutationInput } from './pipeline-progress-update-many-mutation.input'; - -@InputType() -export class PipelineProgressUpdateManyWithWhereWithoutPipelineStageInput { - - @Field(() => PipelineProgressScalarWhereInput, {nullable:false}) - @Type(() => PipelineProgressScalarWhereInput) - where!: PipelineProgressScalarWhereInput; - - @Field(() => PipelineProgressUpdateManyMutationInput, {nullable:false}) - @Type(() => PipelineProgressUpdateManyMutationInput) - data!: PipelineProgressUpdateManyMutationInput; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-update-many-with-where-without-pipeline.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-update-many-with-where-without-pipeline.input.ts deleted file mode 100644 index ae8e71ab5..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-update-many-with-where-without-pipeline.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineProgressScalarWhereInput } from './pipeline-progress-scalar-where.input'; -import { Type } from 'class-transformer'; -import { PipelineProgressUpdateManyMutationInput } from './pipeline-progress-update-many-mutation.input'; - -@InputType() -export class PipelineProgressUpdateManyWithWhereWithoutPipelineInput { - - @Field(() => PipelineProgressScalarWhereInput, {nullable:false}) - @Type(() => PipelineProgressScalarWhereInput) - where!: PipelineProgressScalarWhereInput; - - @Field(() => PipelineProgressUpdateManyMutationInput, {nullable:false}) - @Type(() => PipelineProgressUpdateManyMutationInput) - data!: PipelineProgressUpdateManyMutationInput; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-update-many-with-where-without-workspace.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-update-many-with-where-without-workspace.input.ts deleted file mode 100644 index 50ed71ec0..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-update-many-with-where-without-workspace.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineProgressScalarWhereInput } from './pipeline-progress-scalar-where.input'; -import { Type } from 'class-transformer'; -import { PipelineProgressUpdateManyMutationInput } from './pipeline-progress-update-many-mutation.input'; - -@InputType() -export class PipelineProgressUpdateManyWithWhereWithoutWorkspaceInput { - - @Field(() => PipelineProgressScalarWhereInput, {nullable:false}) - @Type(() => PipelineProgressScalarWhereInput) - where!: PipelineProgressScalarWhereInput; - - @Field(() => PipelineProgressUpdateManyMutationInput, {nullable:false}) - @Type(() => PipelineProgressUpdateManyMutationInput) - data!: PipelineProgressUpdateManyMutationInput; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-update-many-without-pipeline-nested.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-update-many-without-pipeline-nested.input.ts deleted file mode 100644 index 8029200a7..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-update-many-without-pipeline-nested.input.ts +++ /dev/null @@ -1,59 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineProgressCreateWithoutPipelineInput } from './pipeline-progress-create-without-pipeline.input'; -import { Type } from 'class-transformer'; -import { PipelineProgressCreateOrConnectWithoutPipelineInput } from './pipeline-progress-create-or-connect-without-pipeline.input'; -import { PipelineProgressUpsertWithWhereUniqueWithoutPipelineInput } from './pipeline-progress-upsert-with-where-unique-without-pipeline.input'; -import { PipelineProgressCreateManyPipelineInputEnvelope } from './pipeline-progress-create-many-pipeline-input-envelope.input'; -import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input'; -import { PipelineProgressUpdateWithWhereUniqueWithoutPipelineInput } from './pipeline-progress-update-with-where-unique-without-pipeline.input'; -import { PipelineProgressUpdateManyWithWhereWithoutPipelineInput } from './pipeline-progress-update-many-with-where-without-pipeline.input'; -import { PipelineProgressScalarWhereInput } from './pipeline-progress-scalar-where.input'; - -@InputType() -export class PipelineProgressUpdateManyWithoutPipelineNestedInput { - - @Field(() => [PipelineProgressCreateWithoutPipelineInput], {nullable:true}) - @Type(() => PipelineProgressCreateWithoutPipelineInput) - create?: Array; - - @Field(() => [PipelineProgressCreateOrConnectWithoutPipelineInput], {nullable:true}) - @Type(() => PipelineProgressCreateOrConnectWithoutPipelineInput) - connectOrCreate?: Array; - - @Field(() => [PipelineProgressUpsertWithWhereUniqueWithoutPipelineInput], {nullable:true}) - @Type(() => PipelineProgressUpsertWithWhereUniqueWithoutPipelineInput) - upsert?: Array; - - @Field(() => PipelineProgressCreateManyPipelineInputEnvelope, {nullable:true}) - @Type(() => PipelineProgressCreateManyPipelineInputEnvelope) - createMany?: PipelineProgressCreateManyPipelineInputEnvelope; - - @Field(() => [PipelineProgressWhereUniqueInput], {nullable:true}) - @Type(() => PipelineProgressWhereUniqueInput) - set?: Array; - - @Field(() => [PipelineProgressWhereUniqueInput], {nullable:true}) - @Type(() => PipelineProgressWhereUniqueInput) - disconnect?: Array; - - @Field(() => [PipelineProgressWhereUniqueInput], {nullable:true}) - @Type(() => PipelineProgressWhereUniqueInput) - delete?: Array; - - @Field(() => [PipelineProgressWhereUniqueInput], {nullable:true}) - @Type(() => PipelineProgressWhereUniqueInput) - connect?: Array; - - @Field(() => [PipelineProgressUpdateWithWhereUniqueWithoutPipelineInput], {nullable:true}) - @Type(() => PipelineProgressUpdateWithWhereUniqueWithoutPipelineInput) - update?: Array; - - @Field(() => [PipelineProgressUpdateManyWithWhereWithoutPipelineInput], {nullable:true}) - @Type(() => PipelineProgressUpdateManyWithWhereWithoutPipelineInput) - updateMany?: Array; - - @Field(() => [PipelineProgressScalarWhereInput], {nullable:true}) - @Type(() => PipelineProgressScalarWhereInput) - deleteMany?: Array; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-update-many-without-pipeline-stage-nested.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-update-many-without-pipeline-stage-nested.input.ts deleted file mode 100644 index f4b331037..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-update-many-without-pipeline-stage-nested.input.ts +++ /dev/null @@ -1,59 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineProgressCreateWithoutPipelineStageInput } from './pipeline-progress-create-without-pipeline-stage.input'; -import { Type } from 'class-transformer'; -import { PipelineProgressCreateOrConnectWithoutPipelineStageInput } from './pipeline-progress-create-or-connect-without-pipeline-stage.input'; -import { PipelineProgressUpsertWithWhereUniqueWithoutPipelineStageInput } from './pipeline-progress-upsert-with-where-unique-without-pipeline-stage.input'; -import { PipelineProgressCreateManyPipelineStageInputEnvelope } from './pipeline-progress-create-many-pipeline-stage-input-envelope.input'; -import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input'; -import { PipelineProgressUpdateWithWhereUniqueWithoutPipelineStageInput } from './pipeline-progress-update-with-where-unique-without-pipeline-stage.input'; -import { PipelineProgressUpdateManyWithWhereWithoutPipelineStageInput } from './pipeline-progress-update-many-with-where-without-pipeline-stage.input'; -import { PipelineProgressScalarWhereInput } from './pipeline-progress-scalar-where.input'; - -@InputType() -export class PipelineProgressUpdateManyWithoutPipelineStageNestedInput { - - @Field(() => [PipelineProgressCreateWithoutPipelineStageInput], {nullable:true}) - @Type(() => PipelineProgressCreateWithoutPipelineStageInput) - create?: Array; - - @Field(() => [PipelineProgressCreateOrConnectWithoutPipelineStageInput], {nullable:true}) - @Type(() => PipelineProgressCreateOrConnectWithoutPipelineStageInput) - connectOrCreate?: Array; - - @Field(() => [PipelineProgressUpsertWithWhereUniqueWithoutPipelineStageInput], {nullable:true}) - @Type(() => PipelineProgressUpsertWithWhereUniqueWithoutPipelineStageInput) - upsert?: Array; - - @Field(() => PipelineProgressCreateManyPipelineStageInputEnvelope, {nullable:true}) - @Type(() => PipelineProgressCreateManyPipelineStageInputEnvelope) - createMany?: PipelineProgressCreateManyPipelineStageInputEnvelope; - - @Field(() => [PipelineProgressWhereUniqueInput], {nullable:true}) - @Type(() => PipelineProgressWhereUniqueInput) - set?: Array; - - @Field(() => [PipelineProgressWhereUniqueInput], {nullable:true}) - @Type(() => PipelineProgressWhereUniqueInput) - disconnect?: Array; - - @Field(() => [PipelineProgressWhereUniqueInput], {nullable:true}) - @Type(() => PipelineProgressWhereUniqueInput) - delete?: Array; - - @Field(() => [PipelineProgressWhereUniqueInput], {nullable:true}) - @Type(() => PipelineProgressWhereUniqueInput) - connect?: Array; - - @Field(() => [PipelineProgressUpdateWithWhereUniqueWithoutPipelineStageInput], {nullable:true}) - @Type(() => PipelineProgressUpdateWithWhereUniqueWithoutPipelineStageInput) - update?: Array; - - @Field(() => [PipelineProgressUpdateManyWithWhereWithoutPipelineStageInput], {nullable:true}) - @Type(() => PipelineProgressUpdateManyWithWhereWithoutPipelineStageInput) - updateMany?: Array; - - @Field(() => [PipelineProgressScalarWhereInput], {nullable:true}) - @Type(() => PipelineProgressScalarWhereInput) - deleteMany?: Array; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-update-many-without-workspace-nested.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-update-many-without-workspace-nested.input.ts deleted file mode 100644 index 685294b01..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-update-many-without-workspace-nested.input.ts +++ /dev/null @@ -1,59 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineProgressCreateWithoutWorkspaceInput } from './pipeline-progress-create-without-workspace.input'; -import { Type } from 'class-transformer'; -import { PipelineProgressCreateOrConnectWithoutWorkspaceInput } from './pipeline-progress-create-or-connect-without-workspace.input'; -import { PipelineProgressUpsertWithWhereUniqueWithoutWorkspaceInput } from './pipeline-progress-upsert-with-where-unique-without-workspace.input'; -import { PipelineProgressCreateManyWorkspaceInputEnvelope } from './pipeline-progress-create-many-workspace-input-envelope.input'; -import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input'; -import { PipelineProgressUpdateWithWhereUniqueWithoutWorkspaceInput } from './pipeline-progress-update-with-where-unique-without-workspace.input'; -import { PipelineProgressUpdateManyWithWhereWithoutWorkspaceInput } from './pipeline-progress-update-many-with-where-without-workspace.input'; -import { PipelineProgressScalarWhereInput } from './pipeline-progress-scalar-where.input'; - -@InputType() -export class PipelineProgressUpdateManyWithoutWorkspaceNestedInput { - - @Field(() => [PipelineProgressCreateWithoutWorkspaceInput], {nullable:true}) - @Type(() => PipelineProgressCreateWithoutWorkspaceInput) - create?: Array; - - @Field(() => [PipelineProgressCreateOrConnectWithoutWorkspaceInput], {nullable:true}) - @Type(() => PipelineProgressCreateOrConnectWithoutWorkspaceInput) - connectOrCreate?: Array; - - @Field(() => [PipelineProgressUpsertWithWhereUniqueWithoutWorkspaceInput], {nullable:true}) - @Type(() => PipelineProgressUpsertWithWhereUniqueWithoutWorkspaceInput) - upsert?: Array; - - @Field(() => PipelineProgressCreateManyWorkspaceInputEnvelope, {nullable:true}) - @Type(() => PipelineProgressCreateManyWorkspaceInputEnvelope) - createMany?: PipelineProgressCreateManyWorkspaceInputEnvelope; - - @Field(() => [PipelineProgressWhereUniqueInput], {nullable:true}) - @Type(() => PipelineProgressWhereUniqueInput) - set?: Array; - - @Field(() => [PipelineProgressWhereUniqueInput], {nullable:true}) - @Type(() => PipelineProgressWhereUniqueInput) - disconnect?: Array; - - @Field(() => [PipelineProgressWhereUniqueInput], {nullable:true}) - @Type(() => PipelineProgressWhereUniqueInput) - delete?: Array; - - @Field(() => [PipelineProgressWhereUniqueInput], {nullable:true}) - @Type(() => PipelineProgressWhereUniqueInput) - connect?: Array; - - @Field(() => [PipelineProgressUpdateWithWhereUniqueWithoutWorkspaceInput], {nullable:true}) - @Type(() => PipelineProgressUpdateWithWhereUniqueWithoutWorkspaceInput) - update?: Array; - - @Field(() => [PipelineProgressUpdateManyWithWhereWithoutWorkspaceInput], {nullable:true}) - @Type(() => PipelineProgressUpdateManyWithWhereWithoutWorkspaceInput) - updateMany?: Array; - - @Field(() => [PipelineProgressScalarWhereInput], {nullable:true}) - @Type(() => PipelineProgressScalarWhereInput) - deleteMany?: Array; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-update-with-where-unique-without-pipeline-stage.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-update-with-where-unique-without-pipeline-stage.input.ts deleted file mode 100644 index 6fdb98a81..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-update-with-where-unique-without-pipeline-stage.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input'; -import { Type } from 'class-transformer'; -import { PipelineProgressUpdateWithoutPipelineStageInput } from './pipeline-progress-update-without-pipeline-stage.input'; - -@InputType() -export class PipelineProgressUpdateWithWhereUniqueWithoutPipelineStageInput { - - @Field(() => PipelineProgressWhereUniqueInput, {nullable:false}) - @Type(() => PipelineProgressWhereUniqueInput) - where!: PipelineProgressWhereUniqueInput; - - @Field(() => PipelineProgressUpdateWithoutPipelineStageInput, {nullable:false}) - @Type(() => PipelineProgressUpdateWithoutPipelineStageInput) - data!: PipelineProgressUpdateWithoutPipelineStageInput; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-update-with-where-unique-without-pipeline.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-update-with-where-unique-without-pipeline.input.ts deleted file mode 100644 index 57d94096a..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-update-with-where-unique-without-pipeline.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input'; -import { Type } from 'class-transformer'; -import { PipelineProgressUpdateWithoutPipelineInput } from './pipeline-progress-update-without-pipeline.input'; - -@InputType() -export class PipelineProgressUpdateWithWhereUniqueWithoutPipelineInput { - - @Field(() => PipelineProgressWhereUniqueInput, {nullable:false}) - @Type(() => PipelineProgressWhereUniqueInput) - where!: PipelineProgressWhereUniqueInput; - - @Field(() => PipelineProgressUpdateWithoutPipelineInput, {nullable:false}) - @Type(() => PipelineProgressUpdateWithoutPipelineInput) - data!: PipelineProgressUpdateWithoutPipelineInput; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-update-with-where-unique-without-workspace.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-update-with-where-unique-without-workspace.input.ts deleted file mode 100644 index 9c9fe0a14..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-update-with-where-unique-without-workspace.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input'; -import { Type } from 'class-transformer'; -import { PipelineProgressUpdateWithoutWorkspaceInput } from './pipeline-progress-update-without-workspace.input'; - -@InputType() -export class PipelineProgressUpdateWithWhereUniqueWithoutWorkspaceInput { - - @Field(() => PipelineProgressWhereUniqueInput, {nullable:false}) - @Type(() => PipelineProgressWhereUniqueInput) - where!: PipelineProgressWhereUniqueInput; - - @Field(() => PipelineProgressUpdateWithoutWorkspaceInput, {nullable:false}) - @Type(() => PipelineProgressUpdateWithoutWorkspaceInput) - data!: PipelineProgressUpdateWithoutWorkspaceInput; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-update-without-pipeline-stage.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-update-without-pipeline-stage.input.ts deleted file mode 100644 index 0bca57170..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-update-without-pipeline-stage.input.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -import { PipelineUpdateOneRequiredWithoutPipelineProgressesNestedInput } from '../pipeline/pipeline-update-one-required-without-pipeline-progresses-nested.input'; -import { WorkspaceUpdateOneRequiredWithoutPipelineProgressesNestedInput } from '../workspace/workspace-update-one-required-without-pipeline-progresses-nested.input'; - -@InputType() -export class PipelineProgressUpdateWithoutPipelineStageInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true}) - amount?: NullableIntFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - closeDate?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, {nullable:true}) - progressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - progressableId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => PipelineUpdateOneRequiredWithoutPipelineProgressesNestedInput, {nullable:true}) - pipeline?: PipelineUpdateOneRequiredWithoutPipelineProgressesNestedInput; - - @HideField() - workspace?: WorkspaceUpdateOneRequiredWithoutPipelineProgressesNestedInput; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-update-without-pipeline.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-update-without-pipeline.input.ts deleted file mode 100644 index 00f16f70e..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-update-without-pipeline.input.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -import { PipelineStageUpdateOneRequiredWithoutPipelineProgressesNestedInput } from '../pipeline-stage/pipeline-stage-update-one-required-without-pipeline-progresses-nested.input'; -import { WorkspaceUpdateOneRequiredWithoutPipelineProgressesNestedInput } from '../workspace/workspace-update-one-required-without-pipeline-progresses-nested.input'; - -@InputType() -export class PipelineProgressUpdateWithoutPipelineInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true}) - amount?: NullableIntFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - closeDate?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, {nullable:true}) - progressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - progressableId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => PipelineStageUpdateOneRequiredWithoutPipelineProgressesNestedInput, {nullable:true}) - pipelineStage?: PipelineStageUpdateOneRequiredWithoutPipelineProgressesNestedInput; - - @HideField() - workspace?: WorkspaceUpdateOneRequiredWithoutPipelineProgressesNestedInput; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-update-without-workspace.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-update-without-workspace.input.ts deleted file mode 100644 index 776854539..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-update-without-workspace.input.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -import { PipelineUpdateOneRequiredWithoutPipelineProgressesNestedInput } from '../pipeline/pipeline-update-one-required-without-pipeline-progresses-nested.input'; -import { PipelineStageUpdateOneRequiredWithoutPipelineProgressesNestedInput } from '../pipeline-stage/pipeline-stage-update-one-required-without-pipeline-progresses-nested.input'; - -@InputType() -export class PipelineProgressUpdateWithoutWorkspaceInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true}) - amount?: NullableIntFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - closeDate?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, {nullable:true}) - progressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - progressableId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => PipelineUpdateOneRequiredWithoutPipelineProgressesNestedInput, {nullable:true}) - pipeline?: PipelineUpdateOneRequiredWithoutPipelineProgressesNestedInput; - - @Field(() => PipelineStageUpdateOneRequiredWithoutPipelineProgressesNestedInput, {nullable:true}) - pipelineStage?: PipelineStageUpdateOneRequiredWithoutPipelineProgressesNestedInput; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-update.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-update.input.ts deleted file mode 100644 index a9d88f5b5..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-update.input.ts +++ /dev/null @@ -1,48 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -import { PipelineUpdateOneRequiredWithoutPipelineProgressesNestedInput } from '../pipeline/pipeline-update-one-required-without-pipeline-progresses-nested.input'; -import { PipelineStageUpdateOneRequiredWithoutPipelineProgressesNestedInput } from '../pipeline-stage/pipeline-stage-update-one-required-without-pipeline-progresses-nested.input'; -import { WorkspaceUpdateOneRequiredWithoutPipelineProgressesNestedInput } from '../workspace/workspace-update-one-required-without-pipeline-progresses-nested.input'; - -@InputType() -export class PipelineProgressUpdateInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true}) - amount?: NullableIntFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - closeDate?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, {nullable:true}) - progressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - progressableId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => PipelineUpdateOneRequiredWithoutPipelineProgressesNestedInput, {nullable:true}) - pipeline?: PipelineUpdateOneRequiredWithoutPipelineProgressesNestedInput; - - @Field(() => PipelineStageUpdateOneRequiredWithoutPipelineProgressesNestedInput, {nullable:true}) - pipelineStage?: PipelineStageUpdateOneRequiredWithoutPipelineProgressesNestedInput; - - @HideField() - workspace?: WorkspaceUpdateOneRequiredWithoutPipelineProgressesNestedInput; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-upsert-with-where-unique-without-pipeline-stage.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-upsert-with-where-unique-without-pipeline-stage.input.ts deleted file mode 100644 index 8752b039a..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-upsert-with-where-unique-without-pipeline-stage.input.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input'; -import { Type } from 'class-transformer'; -import { PipelineProgressUpdateWithoutPipelineStageInput } from './pipeline-progress-update-without-pipeline-stage.input'; -import { PipelineProgressCreateWithoutPipelineStageInput } from './pipeline-progress-create-without-pipeline-stage.input'; - -@InputType() -export class PipelineProgressUpsertWithWhereUniqueWithoutPipelineStageInput { - - @Field(() => PipelineProgressWhereUniqueInput, {nullable:false}) - @Type(() => PipelineProgressWhereUniqueInput) - where!: PipelineProgressWhereUniqueInput; - - @Field(() => PipelineProgressUpdateWithoutPipelineStageInput, {nullable:false}) - @Type(() => PipelineProgressUpdateWithoutPipelineStageInput) - update!: PipelineProgressUpdateWithoutPipelineStageInput; - - @Field(() => PipelineProgressCreateWithoutPipelineStageInput, {nullable:false}) - @Type(() => PipelineProgressCreateWithoutPipelineStageInput) - create!: PipelineProgressCreateWithoutPipelineStageInput; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-upsert-with-where-unique-without-pipeline.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-upsert-with-where-unique-without-pipeline.input.ts deleted file mode 100644 index 6992af9cf..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-upsert-with-where-unique-without-pipeline.input.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input'; -import { Type } from 'class-transformer'; -import { PipelineProgressUpdateWithoutPipelineInput } from './pipeline-progress-update-without-pipeline.input'; -import { PipelineProgressCreateWithoutPipelineInput } from './pipeline-progress-create-without-pipeline.input'; - -@InputType() -export class PipelineProgressUpsertWithWhereUniqueWithoutPipelineInput { - - @Field(() => PipelineProgressWhereUniqueInput, {nullable:false}) - @Type(() => PipelineProgressWhereUniqueInput) - where!: PipelineProgressWhereUniqueInput; - - @Field(() => PipelineProgressUpdateWithoutPipelineInput, {nullable:false}) - @Type(() => PipelineProgressUpdateWithoutPipelineInput) - update!: PipelineProgressUpdateWithoutPipelineInput; - - @Field(() => PipelineProgressCreateWithoutPipelineInput, {nullable:false}) - @Type(() => PipelineProgressCreateWithoutPipelineInput) - create!: PipelineProgressCreateWithoutPipelineInput; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-upsert-with-where-unique-without-workspace.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-upsert-with-where-unique-without-workspace.input.ts deleted file mode 100644 index 2b75b6e6b..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-upsert-with-where-unique-without-workspace.input.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input'; -import { Type } from 'class-transformer'; -import { PipelineProgressUpdateWithoutWorkspaceInput } from './pipeline-progress-update-without-workspace.input'; -import { PipelineProgressCreateWithoutWorkspaceInput } from './pipeline-progress-create-without-workspace.input'; - -@InputType() -export class PipelineProgressUpsertWithWhereUniqueWithoutWorkspaceInput { - - @Field(() => PipelineProgressWhereUniqueInput, {nullable:false}) - @Type(() => PipelineProgressWhereUniqueInput) - where!: PipelineProgressWhereUniqueInput; - - @Field(() => PipelineProgressUpdateWithoutWorkspaceInput, {nullable:false}) - @Type(() => PipelineProgressUpdateWithoutWorkspaceInput) - update!: PipelineProgressUpdateWithoutWorkspaceInput; - - @Field(() => PipelineProgressCreateWithoutWorkspaceInput, {nullable:false}) - @Type(() => PipelineProgressCreateWithoutWorkspaceInput) - create!: PipelineProgressCreateWithoutWorkspaceInput; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-where-unique.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-where-unique.input.ts deleted file mode 100644 index 49964611f..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-where-unique.input.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; - -@InputType() -export class PipelineProgressWhereUniqueInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress-where.input.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress-where.input.ts deleted file mode 100644 index 7f2904e82..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress-where.input.ts +++ /dev/null @@ -1,66 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFilter } from '../prisma/string-filter.input'; -import { IntNullableFilter } from '../prisma/int-nullable-filter.input'; -import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input'; -import { EnumPipelineProgressableTypeFilter } from '../prisma/enum-pipeline-progressable-type-filter.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFilter } from '../prisma/date-time-filter.input'; -import { PipelineRelationFilter } from '../pipeline/pipeline-relation-filter.input'; -import { PipelineStageRelationFilter } from '../pipeline-stage/pipeline-stage-relation-filter.input'; -import { WorkspaceRelationFilter } from '../workspace/workspace-relation-filter.input'; - -@InputType() -export class PipelineProgressWhereInput { - - @Field(() => [PipelineProgressWhereInput], {nullable:true}) - AND?: Array; - - @Field(() => [PipelineProgressWhereInput], {nullable:true}) - OR?: Array; - - @Field(() => [PipelineProgressWhereInput], {nullable:true}) - NOT?: Array; - - @Field(() => StringFilter, {nullable:true}) - id?: StringFilter; - - @Field(() => IntNullableFilter, {nullable:true}) - amount?: IntNullableFilter; - - @Field(() => DateTimeNullableFilter, {nullable:true}) - closeDate?: DateTimeNullableFilter; - - @Field(() => StringFilter, {nullable:true}) - pipelineId?: StringFilter; - - @Field(() => StringFilter, {nullable:true}) - pipelineStageId?: StringFilter; - - @Field(() => EnumPipelineProgressableTypeFilter, {nullable:true}) - progressableType?: EnumPipelineProgressableTypeFilter; - - @Field(() => StringFilter, {nullable:true}) - progressableId?: StringFilter; - - @HideField() - workspaceId?: StringFilter; - - @HideField() - deletedAt?: DateTimeNullableFilter; - - @Field(() => DateTimeFilter, {nullable:true}) - createdAt?: DateTimeFilter; - - @Field(() => DateTimeFilter, {nullable:true}) - updatedAt?: DateTimeFilter; - - @Field(() => PipelineRelationFilter, {nullable:true}) - pipeline?: PipelineRelationFilter; - - @Field(() => PipelineStageRelationFilter, {nullable:true}) - pipelineStage?: PipelineStageRelationFilter; - - @HideField() - workspace?: WorkspaceRelationFilter; -} diff --git a/server/src/core/@generated/pipeline-progress/pipeline-progress.model.ts b/server/src/core/@generated/pipeline-progress/pipeline-progress.model.ts deleted file mode 100644 index 9ff9282ce..000000000 --- a/server/src/core/@generated/pipeline-progress/pipeline-progress.model.ts +++ /dev/null @@ -1,55 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import { ID } from '@nestjs/graphql'; -import { Int } from '@nestjs/graphql'; -import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum'; -import { HideField } from '@nestjs/graphql'; -import { Pipeline } from '../pipeline/pipeline.model'; -import { PipelineStage } from '../pipeline-stage/pipeline-stage.model'; -import { Workspace } from '../workspace/workspace.model'; - -@ObjectType() -export class PipelineProgress { - - @Field(() => ID, {nullable:false}) - id!: string; - - @Field(() => Int, {nullable:true}) - amount!: number | null; - - @Field(() => Date, {nullable:true}) - closeDate!: Date | null; - - @Field(() => String, {nullable:false}) - pipelineId!: string; - - @Field(() => String, {nullable:false}) - pipelineStageId!: string; - - @Field(() => PipelineProgressableType, {nullable:false}) - progressableType!: keyof typeof PipelineProgressableType; - - @Field(() => String, {nullable:false}) - progressableId!: string; - - @HideField() - workspaceId!: string; - - @HideField() - deletedAt!: Date | null; - - @Field(() => Date, {nullable:false}) - createdAt!: Date; - - @Field(() => Date, {nullable:false}) - updatedAt!: Date; - - @Field(() => Pipeline, {nullable:false}) - pipeline?: Pipeline; - - @Field(() => PipelineStage, {nullable:false}) - pipelineStage?: PipelineStage; - - @HideField() - workspace?: Workspace; -} diff --git a/server/src/core/@generated/pipeline-progress/update-many-pipeline-progress.args.ts b/server/src/core/@generated/pipeline-progress/update-many-pipeline-progress.args.ts deleted file mode 100644 index 6e2ecd02b..000000000 --- a/server/src/core/@generated/pipeline-progress/update-many-pipeline-progress.args.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PipelineProgressUpdateManyMutationInput } from './pipeline-progress-update-many-mutation.input'; -import { Type } from 'class-transformer'; -import { ValidateNested } from 'class-validator'; -import { PipelineProgressWhereInput } from './pipeline-progress-where.input'; - -@ArgsType() -export class UpdateManyPipelineProgressArgs { - - @Field(() => PipelineProgressUpdateManyMutationInput, {nullable:false}) - @Type(() => PipelineProgressUpdateManyMutationInput) - @ValidateNested({each: true}) - @Type(() => PipelineProgressUpdateManyMutationInput) - data!: PipelineProgressUpdateManyMutationInput; - - @Field(() => PipelineProgressWhereInput, {nullable:true}) - @Type(() => PipelineProgressWhereInput) - where?: PipelineProgressWhereInput; -} diff --git a/server/src/core/@generated/pipeline-progress/update-one-pipeline-progress.args.ts b/server/src/core/@generated/pipeline-progress/update-one-pipeline-progress.args.ts deleted file mode 100644 index b7fbafe4b..000000000 --- a/server/src/core/@generated/pipeline-progress/update-one-pipeline-progress.args.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PipelineProgressUpdateInput } from './pipeline-progress-update.input'; -import { Type } from 'class-transformer'; -import { ValidateNested } from 'class-validator'; -import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input'; - -@ArgsType() -export class UpdateOnePipelineProgressArgs { - - @Field(() => PipelineProgressUpdateInput, {nullable:false}) - @Type(() => PipelineProgressUpdateInput) - @ValidateNested({each: true}) - @Type(() => PipelineProgressUpdateInput) - data!: PipelineProgressUpdateInput; - - @Field(() => PipelineProgressWhereUniqueInput, {nullable:false}) - @Type(() => PipelineProgressWhereUniqueInput) - where!: PipelineProgressWhereUniqueInput; -} diff --git a/server/src/core/@generated/pipeline-progress/upsert-one-pipeline-progress.args.ts b/server/src/core/@generated/pipeline-progress/upsert-one-pipeline-progress.args.ts deleted file mode 100644 index 256ae7aa2..000000000 --- a/server/src/core/@generated/pipeline-progress/upsert-one-pipeline-progress.args.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input'; -import { Type } from 'class-transformer'; -import { PipelineProgressCreateInput } from './pipeline-progress-create.input'; -import { PipelineProgressUpdateInput } from './pipeline-progress-update.input'; - -@ArgsType() -export class UpsertOnePipelineProgressArgs { - - @Field(() => PipelineProgressWhereUniqueInput, {nullable:false}) - @Type(() => PipelineProgressWhereUniqueInput) - where!: PipelineProgressWhereUniqueInput; - - @Field(() => PipelineProgressCreateInput, {nullable:false}) - @Type(() => PipelineProgressCreateInput) - create!: PipelineProgressCreateInput; - - @Field(() => PipelineProgressUpdateInput, {nullable:false}) - @Type(() => PipelineProgressUpdateInput) - update!: PipelineProgressUpdateInput; -} diff --git a/server/src/core/@generated/pipeline-stage/aggregate-pipeline-stage.output.ts b/server/src/core/@generated/pipeline-stage/aggregate-pipeline-stage.output.ts deleted file mode 100644 index 839728056..000000000 --- a/server/src/core/@generated/pipeline-stage/aggregate-pipeline-stage.output.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import { PipelineStageCountAggregate } from './pipeline-stage-count-aggregate.output'; -import { PipelineStageAvgAggregate } from './pipeline-stage-avg-aggregate.output'; -import { PipelineStageSumAggregate } from './pipeline-stage-sum-aggregate.output'; -import { PipelineStageMinAggregate } from './pipeline-stage-min-aggregate.output'; -import { PipelineStageMaxAggregate } from './pipeline-stage-max-aggregate.output'; - -@ObjectType() -export class AggregatePipelineStage { - - @Field(() => PipelineStageCountAggregate, {nullable:true}) - _count?: PipelineStageCountAggregate; - - @Field(() => PipelineStageAvgAggregate, {nullable:true}) - _avg?: PipelineStageAvgAggregate; - - @Field(() => PipelineStageSumAggregate, {nullable:true}) - _sum?: PipelineStageSumAggregate; - - @Field(() => PipelineStageMinAggregate, {nullable:true}) - _min?: PipelineStageMinAggregate; - - @Field(() => PipelineStageMaxAggregate, {nullable:true}) - _max?: PipelineStageMaxAggregate; -} diff --git a/server/src/core/@generated/pipeline-stage/create-many-pipeline-stage.args.ts b/server/src/core/@generated/pipeline-stage/create-many-pipeline-stage.args.ts deleted file mode 100644 index 92168e92b..000000000 --- a/server/src/core/@generated/pipeline-stage/create-many-pipeline-stage.args.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PipelineStageCreateManyInput } from './pipeline-stage-create-many.input'; -import { Type } from 'class-transformer'; -import { ValidateNested } from 'class-validator'; - -@ArgsType() -export class CreateManyPipelineStageArgs { - - @Field(() => [PipelineStageCreateManyInput], {nullable:false}) - @Type(() => PipelineStageCreateManyInput) - @ValidateNested({each: true}) - @Type(() => PipelineStageCreateManyInput) - data!: Array; - - @Field(() => Boolean, {nullable:true}) - skipDuplicates?: boolean; -} diff --git a/server/src/core/@generated/pipeline-stage/create-one-pipeline-stage.args.ts b/server/src/core/@generated/pipeline-stage/create-one-pipeline-stage.args.ts deleted file mode 100644 index 5821b7a43..000000000 --- a/server/src/core/@generated/pipeline-stage/create-one-pipeline-stage.args.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PipelineStageCreateInput } from './pipeline-stage-create.input'; -import { Type } from 'class-transformer'; -import { ValidateNested } from 'class-validator'; - -@ArgsType() -export class CreateOnePipelineStageArgs { - - @Field(() => PipelineStageCreateInput, {nullable:false}) - @Type(() => PipelineStageCreateInput) - @ValidateNested({each: true}) - @Type(() => PipelineStageCreateInput) - data!: PipelineStageCreateInput; -} diff --git a/server/src/core/@generated/pipeline-stage/delete-many-pipeline-stage.args.ts b/server/src/core/@generated/pipeline-stage/delete-many-pipeline-stage.args.ts deleted file mode 100644 index 2026161b7..000000000 --- a/server/src/core/@generated/pipeline-stage/delete-many-pipeline-stage.args.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PipelineStageWhereInput } from './pipeline-stage-where.input'; -import { Type } from 'class-transformer'; - -@ArgsType() -export class DeleteManyPipelineStageArgs { - - @Field(() => PipelineStageWhereInput, {nullable:true}) - @Type(() => PipelineStageWhereInput) - where?: PipelineStageWhereInput; -} diff --git a/server/src/core/@generated/pipeline-stage/delete-one-pipeline-stage.args.ts b/server/src/core/@generated/pipeline-stage/delete-one-pipeline-stage.args.ts deleted file mode 100644 index 369b1b119..000000000 --- a/server/src/core/@generated/pipeline-stage/delete-one-pipeline-stage.args.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; -import { Type } from 'class-transformer'; - -@ArgsType() -export class DeleteOnePipelineStageArgs { - - @Field(() => PipelineStageWhereUniqueInput, {nullable:false}) - @Type(() => PipelineStageWhereUniqueInput) - where!: PipelineStageWhereUniqueInput; -} diff --git a/server/src/core/@generated/pipeline-stage/find-first-pipeline-stage-or-throw.args.ts b/server/src/core/@generated/pipeline-stage/find-first-pipeline-stage-or-throw.args.ts deleted file mode 100644 index 84aecd5c3..000000000 --- a/server/src/core/@generated/pipeline-stage/find-first-pipeline-stage-or-throw.args.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PipelineStageWhereInput } from './pipeline-stage-where.input'; -import { Type } from 'class-transformer'; -import { PipelineStageOrderByWithRelationInput } from './pipeline-stage-order-by-with-relation.input'; -import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; -import { Int } from '@nestjs/graphql'; -import { PipelineStageScalarFieldEnum } from './pipeline-stage-scalar-field.enum'; - -@ArgsType() -export class FindFirstPipelineStageOrThrowArgs { - - @Field(() => PipelineStageWhereInput, {nullable:true}) - @Type(() => PipelineStageWhereInput) - where?: PipelineStageWhereInput; - - @Field(() => [PipelineStageOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; - - @Field(() => PipelineStageWhereUniqueInput, {nullable:true}) - cursor?: PipelineStageWhereUniqueInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [PipelineStageScalarFieldEnum], {nullable:true}) - distinct?: Array; -} diff --git a/server/src/core/@generated/pipeline-stage/find-first-pipeline-stage.args.ts b/server/src/core/@generated/pipeline-stage/find-first-pipeline-stage.args.ts deleted file mode 100644 index 87b298cbb..000000000 --- a/server/src/core/@generated/pipeline-stage/find-first-pipeline-stage.args.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PipelineStageWhereInput } from './pipeline-stage-where.input'; -import { Type } from 'class-transformer'; -import { PipelineStageOrderByWithRelationInput } from './pipeline-stage-order-by-with-relation.input'; -import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; -import { Int } from '@nestjs/graphql'; -import { PipelineStageScalarFieldEnum } from './pipeline-stage-scalar-field.enum'; - -@ArgsType() -export class FindFirstPipelineStageArgs { - - @Field(() => PipelineStageWhereInput, {nullable:true}) - @Type(() => PipelineStageWhereInput) - where?: PipelineStageWhereInput; - - @Field(() => [PipelineStageOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; - - @Field(() => PipelineStageWhereUniqueInput, {nullable:true}) - cursor?: PipelineStageWhereUniqueInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [PipelineStageScalarFieldEnum], {nullable:true}) - distinct?: Array; -} diff --git a/server/src/core/@generated/pipeline-stage/find-many-pipeline-stage.args.ts b/server/src/core/@generated/pipeline-stage/find-many-pipeline-stage.args.ts deleted file mode 100644 index 83a30eae4..000000000 --- a/server/src/core/@generated/pipeline-stage/find-many-pipeline-stage.args.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PipelineStageWhereInput } from './pipeline-stage-where.input'; -import { Type } from 'class-transformer'; -import { PipelineStageOrderByWithRelationInput } from './pipeline-stage-order-by-with-relation.input'; -import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; -import { Int } from '@nestjs/graphql'; -import { PipelineStageScalarFieldEnum } from './pipeline-stage-scalar-field.enum'; - -@ArgsType() -export class FindManyPipelineStageArgs { - - @Field(() => PipelineStageWhereInput, {nullable:true}) - @Type(() => PipelineStageWhereInput) - where?: PipelineStageWhereInput; - - @Field(() => [PipelineStageOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; - - @Field(() => PipelineStageWhereUniqueInput, {nullable:true}) - cursor?: PipelineStageWhereUniqueInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [PipelineStageScalarFieldEnum], {nullable:true}) - distinct?: Array; -} diff --git a/server/src/core/@generated/pipeline-stage/find-unique-pipeline-stage-or-throw.args.ts b/server/src/core/@generated/pipeline-stage/find-unique-pipeline-stage-or-throw.args.ts deleted file mode 100644 index 565a12c14..000000000 --- a/server/src/core/@generated/pipeline-stage/find-unique-pipeline-stage-or-throw.args.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; -import { Type } from 'class-transformer'; - -@ArgsType() -export class FindUniquePipelineStageOrThrowArgs { - - @Field(() => PipelineStageWhereUniqueInput, {nullable:false}) - @Type(() => PipelineStageWhereUniqueInput) - where!: PipelineStageWhereUniqueInput; -} diff --git a/server/src/core/@generated/pipeline-stage/find-unique-pipeline-stage.args.ts b/server/src/core/@generated/pipeline-stage/find-unique-pipeline-stage.args.ts deleted file mode 100644 index 498a0617e..000000000 --- a/server/src/core/@generated/pipeline-stage/find-unique-pipeline-stage.args.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; -import { Type } from 'class-transformer'; - -@ArgsType() -export class FindUniquePipelineStageArgs { - - @Field(() => PipelineStageWhereUniqueInput, {nullable:false}) - @Type(() => PipelineStageWhereUniqueInput) - where!: PipelineStageWhereUniqueInput; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-aggregate.args.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-aggregate.args.ts deleted file mode 100644 index 391a5c140..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-aggregate.args.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PipelineStageWhereInput } from './pipeline-stage-where.input'; -import { Type } from 'class-transformer'; -import { PipelineStageOrderByWithRelationInput } from './pipeline-stage-order-by-with-relation.input'; -import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; -import { Int } from '@nestjs/graphql'; -import { PipelineStageCountAggregateInput } from './pipeline-stage-count-aggregate.input'; -import { PipelineStageAvgAggregateInput } from './pipeline-stage-avg-aggregate.input'; -import { PipelineStageSumAggregateInput } from './pipeline-stage-sum-aggregate.input'; -import { PipelineStageMinAggregateInput } from './pipeline-stage-min-aggregate.input'; -import { PipelineStageMaxAggregateInput } from './pipeline-stage-max-aggregate.input'; - -@ArgsType() -export class PipelineStageAggregateArgs { - - @Field(() => PipelineStageWhereInput, {nullable:true}) - @Type(() => PipelineStageWhereInput) - where?: PipelineStageWhereInput; - - @Field(() => [PipelineStageOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; - - @Field(() => PipelineStageWhereUniqueInput, {nullable:true}) - cursor?: PipelineStageWhereUniqueInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => PipelineStageCountAggregateInput, {nullable:true}) - _count?: PipelineStageCountAggregateInput; - - @Field(() => PipelineStageAvgAggregateInput, {nullable:true}) - _avg?: PipelineStageAvgAggregateInput; - - @Field(() => PipelineStageSumAggregateInput, {nullable:true}) - _sum?: PipelineStageSumAggregateInput; - - @Field(() => PipelineStageMinAggregateInput, {nullable:true}) - _min?: PipelineStageMinAggregateInput; - - @Field(() => PipelineStageMaxAggregateInput, {nullable:true}) - _max?: PipelineStageMaxAggregateInput; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-avg-aggregate.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-avg-aggregate.input.ts deleted file mode 100644 index a3e9a8034..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-avg-aggregate.input.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; - -@InputType() -export class PipelineStageAvgAggregateInput { - - @Field(() => Boolean, {nullable:true}) - index?: true; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-avg-aggregate.output.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-avg-aggregate.output.ts deleted file mode 100644 index 44e39bfda..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-avg-aggregate.output.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import { Float } from '@nestjs/graphql'; - -@ObjectType() -export class PipelineStageAvgAggregate { - - @Field(() => Float, {nullable:true}) - index?: number; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-avg-order-by-aggregate.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-avg-order-by-aggregate.input.ts deleted file mode 100644 index 42277bd91..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-avg-order-by-aggregate.input.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { SortOrder } from '../prisma/sort-order.enum'; - -@InputType() -export class PipelineStageAvgOrderByAggregateInput { - - @Field(() => SortOrder, {nullable:true}) - index?: keyof typeof SortOrder; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-count-aggregate.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-count-aggregate.input.ts deleted file mode 100644 index 8aae81df7..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-count-aggregate.input.ts +++ /dev/null @@ -1,40 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class PipelineStageCountAggregateInput { - - @Field(() => Boolean, {nullable:true}) - id?: true; - - @Field(() => Boolean, {nullable:true}) - name?: true; - - @Field(() => Boolean, {nullable:true}) - type?: true; - - @Field(() => Boolean, {nullable:true}) - color?: true; - - @Field(() => Boolean, {nullable:true}) - index?: true; - - @Field(() => Boolean, {nullable:true}) - pipelineId?: true; - - @HideField() - workspaceId?: true; - - @HideField() - deletedAt?: true; - - @Field(() => Boolean, {nullable:true}) - createdAt?: true; - - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; - - @Field(() => Boolean, {nullable:true}) - _all?: true; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-count-aggregate.output.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-count-aggregate.output.ts deleted file mode 100644 index e3104b8dc..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-count-aggregate.output.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import { Int } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; - -@ObjectType() -export class PipelineStageCountAggregate { - - @Field(() => Int, {nullable:false}) - id!: number; - - @Field(() => Int, {nullable:false}) - name!: number; - - @Field(() => Int, {nullable:false}) - type!: number; - - @Field(() => Int, {nullable:false}) - color!: number; - - @Field(() => Int, {nullable:false}) - @Validator.IsNumber() - @Validator.IsOptional() - index!: number; - - @Field(() => Int, {nullable:false}) - pipelineId!: number; - - @HideField() - workspaceId!: number; - - @HideField() - deletedAt!: number; - - @Field(() => Int, {nullable:false}) - createdAt!: number; - - @Field(() => Int, {nullable:false}) - updatedAt!: number; - - @Field(() => Int, {nullable:false}) - _all!: number; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-count-order-by-aggregate.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-count-order-by-aggregate.input.ts deleted file mode 100644 index c53ea86ad..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-count-order-by-aggregate.input.ts +++ /dev/null @@ -1,38 +0,0 @@ -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 PipelineStageCountOrderByAggregateInput { - - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - name?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - type?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - color?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - index?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - pipelineId?: keyof typeof SortOrder; - - @HideField() - workspaceId?: keyof typeof SortOrder; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-count.output.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-count.output.ts deleted file mode 100644 index 3cabb7cea..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-count.output.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import { Int } from '@nestjs/graphql'; - -@ObjectType() -export class PipelineStageCount { - - @Field(() => Int, {nullable:false}) - pipelineProgresses?: number; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-create-many-pipeline-input-envelope.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-create-many-pipeline-input-envelope.input.ts deleted file mode 100644 index 11070d074..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-create-many-pipeline-input-envelope.input.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineStageCreateManyPipelineInput } from './pipeline-stage-create-many-pipeline.input'; -import { Type } from 'class-transformer'; - -@InputType() -export class PipelineStageCreateManyPipelineInputEnvelope { - - @Field(() => [PipelineStageCreateManyPipelineInput], {nullable:false}) - @Type(() => PipelineStageCreateManyPipelineInput) - data!: Array; - - @Field(() => Boolean, {nullable:true}) - skipDuplicates?: boolean; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-create-many-pipeline.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-create-many-pipeline.input.ts deleted file mode 100644 index 43d089db5..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-create-many-pipeline.input.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { Int } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class PipelineStageCreateManyPipelineInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - name!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - type!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - color!: string; - - @Field(() => Int, {nullable:true}) - @Validator.IsNumber() - @Validator.IsOptional() - index?: number; - - @HideField() - workspaceId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-create-many-workspace-input-envelope.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-create-many-workspace-input-envelope.input.ts deleted file mode 100644 index 2de970c8a..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-create-many-workspace-input-envelope.input.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineStageCreateManyWorkspaceInput } from './pipeline-stage-create-many-workspace.input'; -import { Type } from 'class-transformer'; - -@InputType() -export class PipelineStageCreateManyWorkspaceInputEnvelope { - - @Field(() => [PipelineStageCreateManyWorkspaceInput], {nullable:false}) - @Type(() => PipelineStageCreateManyWorkspaceInput) - data!: Array; - - @Field(() => Boolean, {nullable:true}) - skipDuplicates?: boolean; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-create-many-workspace.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-create-many-workspace.input.ts deleted file mode 100644 index f21d68441..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-create-many-workspace.input.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { Int } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class PipelineStageCreateManyWorkspaceInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - name!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - type!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - color!: string; - - @Field(() => Int, {nullable:true}) - @Validator.IsNumber() - @Validator.IsOptional() - index?: number; - - @Field(() => String, {nullable:false}) - pipelineId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-create-many.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-create-many.input.ts deleted file mode 100644 index db9cff1fa..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-create-many.input.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { Int } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class PipelineStageCreateManyInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - name!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - type!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - color!: string; - - @Field(() => Int, {nullable:true}) - @Validator.IsNumber() - @Validator.IsOptional() - index?: number; - - @Field(() => String, {nullable:false}) - pipelineId!: string; - - @HideField() - workspaceId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-create-nested-many-without-pipeline.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-create-nested-many-without-pipeline.input.ts deleted file mode 100644 index 8c979d405..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-create-nested-many-without-pipeline.input.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineStageCreateWithoutPipelineInput } from './pipeline-stage-create-without-pipeline.input'; -import { Type } from 'class-transformer'; -import { PipelineStageCreateOrConnectWithoutPipelineInput } from './pipeline-stage-create-or-connect-without-pipeline.input'; -import { PipelineStageCreateManyPipelineInputEnvelope } from './pipeline-stage-create-many-pipeline-input-envelope.input'; -import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; - -@InputType() -export class PipelineStageCreateNestedManyWithoutPipelineInput { - - @Field(() => [PipelineStageCreateWithoutPipelineInput], {nullable:true}) - @Type(() => PipelineStageCreateWithoutPipelineInput) - create?: Array; - - @Field(() => [PipelineStageCreateOrConnectWithoutPipelineInput], {nullable:true}) - @Type(() => PipelineStageCreateOrConnectWithoutPipelineInput) - connectOrCreate?: Array; - - @Field(() => PipelineStageCreateManyPipelineInputEnvelope, {nullable:true}) - @Type(() => PipelineStageCreateManyPipelineInputEnvelope) - createMany?: PipelineStageCreateManyPipelineInputEnvelope; - - @Field(() => [PipelineStageWhereUniqueInput], {nullable:true}) - @Type(() => PipelineStageWhereUniqueInput) - connect?: Array; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-create-nested-many-without-workspace.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-create-nested-many-without-workspace.input.ts deleted file mode 100644 index 7bf5595a4..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-create-nested-many-without-workspace.input.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineStageCreateWithoutWorkspaceInput } from './pipeline-stage-create-without-workspace.input'; -import { Type } from 'class-transformer'; -import { PipelineStageCreateOrConnectWithoutWorkspaceInput } from './pipeline-stage-create-or-connect-without-workspace.input'; -import { PipelineStageCreateManyWorkspaceInputEnvelope } from './pipeline-stage-create-many-workspace-input-envelope.input'; -import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; - -@InputType() -export class PipelineStageCreateNestedManyWithoutWorkspaceInput { - - @Field(() => [PipelineStageCreateWithoutWorkspaceInput], {nullable:true}) - @Type(() => PipelineStageCreateWithoutWorkspaceInput) - create?: Array; - - @Field(() => [PipelineStageCreateOrConnectWithoutWorkspaceInput], {nullable:true}) - @Type(() => PipelineStageCreateOrConnectWithoutWorkspaceInput) - connectOrCreate?: Array; - - @Field(() => PipelineStageCreateManyWorkspaceInputEnvelope, {nullable:true}) - @Type(() => PipelineStageCreateManyWorkspaceInputEnvelope) - createMany?: PipelineStageCreateManyWorkspaceInputEnvelope; - - @Field(() => [PipelineStageWhereUniqueInput], {nullable:true}) - @Type(() => PipelineStageWhereUniqueInput) - connect?: Array; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-create-nested-one-without-pipeline-progresses.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-create-nested-one-without-pipeline-progresses.input.ts deleted file mode 100644 index 8a56c7af1..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-create-nested-one-without-pipeline-progresses.input.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineStageCreateWithoutPipelineProgressesInput } from './pipeline-stage-create-without-pipeline-progresses.input'; -import { HideField } from '@nestjs/graphql'; -import { PipelineStageCreateOrConnectWithoutPipelineProgressesInput } from './pipeline-stage-create-or-connect-without-pipeline-progresses.input'; -import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; -import { Type } from 'class-transformer'; - -@InputType() -export class PipelineStageCreateNestedOneWithoutPipelineProgressesInput { - - @HideField() - create?: PipelineStageCreateWithoutPipelineProgressesInput; - - @HideField() - connectOrCreate?: PipelineStageCreateOrConnectWithoutPipelineProgressesInput; - - @Field(() => PipelineStageWhereUniqueInput, {nullable:true}) - @Type(() => PipelineStageWhereUniqueInput) - connect?: PipelineStageWhereUniqueInput; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-create-or-connect-without-pipeline-progresses.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-create-or-connect-without-pipeline-progresses.input.ts deleted file mode 100644 index 0b5a80e65..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-create-or-connect-without-pipeline-progresses.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; -import { Type } from 'class-transformer'; -import { PipelineStageCreateWithoutPipelineProgressesInput } from './pipeline-stage-create-without-pipeline-progresses.input'; - -@InputType() -export class PipelineStageCreateOrConnectWithoutPipelineProgressesInput { - - @Field(() => PipelineStageWhereUniqueInput, {nullable:false}) - @Type(() => PipelineStageWhereUniqueInput) - where!: PipelineStageWhereUniqueInput; - - @Field(() => PipelineStageCreateWithoutPipelineProgressesInput, {nullable:false}) - @Type(() => PipelineStageCreateWithoutPipelineProgressesInput) - create!: PipelineStageCreateWithoutPipelineProgressesInput; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-create-or-connect-without-pipeline.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-create-or-connect-without-pipeline.input.ts deleted file mode 100644 index 7103c3023..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-create-or-connect-without-pipeline.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; -import { Type } from 'class-transformer'; -import { PipelineStageCreateWithoutPipelineInput } from './pipeline-stage-create-without-pipeline.input'; - -@InputType() -export class PipelineStageCreateOrConnectWithoutPipelineInput { - - @Field(() => PipelineStageWhereUniqueInput, {nullable:false}) - @Type(() => PipelineStageWhereUniqueInput) - where!: PipelineStageWhereUniqueInput; - - @Field(() => PipelineStageCreateWithoutPipelineInput, {nullable:false}) - @Type(() => PipelineStageCreateWithoutPipelineInput) - create!: PipelineStageCreateWithoutPipelineInput; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-create-or-connect-without-workspace.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-create-or-connect-without-workspace.input.ts deleted file mode 100644 index a3e6507be..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-create-or-connect-without-workspace.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; -import { Type } from 'class-transformer'; -import { PipelineStageCreateWithoutWorkspaceInput } from './pipeline-stage-create-without-workspace.input'; - -@InputType() -export class PipelineStageCreateOrConnectWithoutWorkspaceInput { - - @Field(() => PipelineStageWhereUniqueInput, {nullable:false}) - @Type(() => PipelineStageWhereUniqueInput) - where!: PipelineStageWhereUniqueInput; - - @Field(() => PipelineStageCreateWithoutWorkspaceInput, {nullable:false}) - @Type(() => PipelineStageCreateWithoutWorkspaceInput) - create!: PipelineStageCreateWithoutWorkspaceInput; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-create-without-pipeline-progresses.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-create-without-pipeline-progresses.input.ts deleted file mode 100644 index 95249cb34..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-create-without-pipeline-progresses.input.ts +++ /dev/null @@ -1,48 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { Int } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; -import { PipelineCreateNestedOneWithoutPipelineStagesInput } from '../pipeline/pipeline-create-nested-one-without-pipeline-stages.input'; -import { WorkspaceCreateNestedOneWithoutPipelineStagesInput } from '../workspace/workspace-create-nested-one-without-pipeline-stages.input'; - -@InputType() -export class PipelineStageCreateWithoutPipelineProgressesInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - name!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - type!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - color!: string; - - @Field(() => Int, {nullable:true}) - @Validator.IsNumber() - @Validator.IsOptional() - index?: number; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => PipelineCreateNestedOneWithoutPipelineStagesInput, {nullable:false}) - pipeline!: PipelineCreateNestedOneWithoutPipelineStagesInput; - - @HideField() - workspace!: WorkspaceCreateNestedOneWithoutPipelineStagesInput; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-create-without-pipeline.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-create-without-pipeline.input.ts deleted file mode 100644 index 2ffa32850..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-create-without-pipeline.input.ts +++ /dev/null @@ -1,48 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { Int } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; -import { PipelineProgressCreateNestedManyWithoutPipelineStageInput } from '../pipeline-progress/pipeline-progress-create-nested-many-without-pipeline-stage.input'; -import { WorkspaceCreateNestedOneWithoutPipelineStagesInput } from '../workspace/workspace-create-nested-one-without-pipeline-stages.input'; - -@InputType() -export class PipelineStageCreateWithoutPipelineInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - name!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - type!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - color!: string; - - @Field(() => Int, {nullable:true}) - @Validator.IsNumber() - @Validator.IsOptional() - index?: number; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => PipelineProgressCreateNestedManyWithoutPipelineStageInput, {nullable:true}) - pipelineProgresses?: PipelineProgressCreateNestedManyWithoutPipelineStageInput; - - @HideField() - workspace!: WorkspaceCreateNestedOneWithoutPipelineStagesInput; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-create-without-workspace.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-create-without-workspace.input.ts deleted file mode 100644 index 9497e8b13..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-create-without-workspace.input.ts +++ /dev/null @@ -1,48 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { Int } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; -import { PipelineProgressCreateNestedManyWithoutPipelineStageInput } from '../pipeline-progress/pipeline-progress-create-nested-many-without-pipeline-stage.input'; -import { PipelineCreateNestedOneWithoutPipelineStagesInput } from '../pipeline/pipeline-create-nested-one-without-pipeline-stages.input'; - -@InputType() -export class PipelineStageCreateWithoutWorkspaceInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - name!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - type!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - color!: string; - - @Field(() => Int, {nullable:true}) - @Validator.IsNumber() - @Validator.IsOptional() - index?: number; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => PipelineProgressCreateNestedManyWithoutPipelineStageInput, {nullable:true}) - pipelineProgresses?: PipelineProgressCreateNestedManyWithoutPipelineStageInput; - - @Field(() => PipelineCreateNestedOneWithoutPipelineStagesInput, {nullable:false}) - pipeline!: PipelineCreateNestedOneWithoutPipelineStagesInput; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-create.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-create.input.ts deleted file mode 100644 index 72f53c828..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-create.input.ts +++ /dev/null @@ -1,52 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { Int } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; -import { PipelineProgressCreateNestedManyWithoutPipelineStageInput } from '../pipeline-progress/pipeline-progress-create-nested-many-without-pipeline-stage.input'; -import { PipelineCreateNestedOneWithoutPipelineStagesInput } from '../pipeline/pipeline-create-nested-one-without-pipeline-stages.input'; -import { WorkspaceCreateNestedOneWithoutPipelineStagesInput } from '../workspace/workspace-create-nested-one-without-pipeline-stages.input'; - -@InputType() -export class PipelineStageCreateInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - name!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - type!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - color!: string; - - @Field(() => Int, {nullable:true}) - @Validator.IsNumber() - @Validator.IsOptional() - index?: number; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => PipelineProgressCreateNestedManyWithoutPipelineStageInput, {nullable:true}) - pipelineProgresses?: PipelineProgressCreateNestedManyWithoutPipelineStageInput; - - @Field(() => PipelineCreateNestedOneWithoutPipelineStagesInput, {nullable:false}) - pipeline!: PipelineCreateNestedOneWithoutPipelineStagesInput; - - @HideField() - workspace!: WorkspaceCreateNestedOneWithoutPipelineStagesInput; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-group-by.args.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-group-by.args.ts deleted file mode 100644 index 035750086..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-group-by.args.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PipelineStageWhereInput } from './pipeline-stage-where.input'; -import { Type } from 'class-transformer'; -import { PipelineStageOrderByWithAggregationInput } from './pipeline-stage-order-by-with-aggregation.input'; -import { PipelineStageScalarFieldEnum } from './pipeline-stage-scalar-field.enum'; -import { PipelineStageScalarWhereWithAggregatesInput } from './pipeline-stage-scalar-where-with-aggregates.input'; -import { Int } from '@nestjs/graphql'; -import { PipelineStageCountAggregateInput } from './pipeline-stage-count-aggregate.input'; -import { PipelineStageAvgAggregateInput } from './pipeline-stage-avg-aggregate.input'; -import { PipelineStageSumAggregateInput } from './pipeline-stage-sum-aggregate.input'; -import { PipelineStageMinAggregateInput } from './pipeline-stage-min-aggregate.input'; -import { PipelineStageMaxAggregateInput } from './pipeline-stage-max-aggregate.input'; - -@ArgsType() -export class PipelineStageGroupByArgs { - - @Field(() => PipelineStageWhereInput, {nullable:true}) - @Type(() => PipelineStageWhereInput) - where?: PipelineStageWhereInput; - - @Field(() => [PipelineStageOrderByWithAggregationInput], {nullable:true}) - orderBy?: Array; - - @Field(() => [PipelineStageScalarFieldEnum], {nullable:false}) - by!: Array; - - @Field(() => PipelineStageScalarWhereWithAggregatesInput, {nullable:true}) - having?: PipelineStageScalarWhereWithAggregatesInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => PipelineStageCountAggregateInput, {nullable:true}) - _count?: PipelineStageCountAggregateInput; - - @Field(() => PipelineStageAvgAggregateInput, {nullable:true}) - _avg?: PipelineStageAvgAggregateInput; - - @Field(() => PipelineStageSumAggregateInput, {nullable:true}) - _sum?: PipelineStageSumAggregateInput; - - @Field(() => PipelineStageMinAggregateInput, {nullable:true}) - _min?: PipelineStageMinAggregateInput; - - @Field(() => PipelineStageMaxAggregateInput, {nullable:true}) - _max?: PipelineStageMaxAggregateInput; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-group-by.output.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-group-by.output.ts deleted file mode 100644 index 661c0ad69..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-group-by.output.ts +++ /dev/null @@ -1,66 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { Int } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; -import { PipelineStageCountAggregate } from './pipeline-stage-count-aggregate.output'; -import { PipelineStageAvgAggregate } from './pipeline-stage-avg-aggregate.output'; -import { PipelineStageSumAggregate } from './pipeline-stage-sum-aggregate.output'; -import { PipelineStageMinAggregate } from './pipeline-stage-min-aggregate.output'; -import { PipelineStageMaxAggregate } from './pipeline-stage-max-aggregate.output'; - -@ObjectType() -export class PipelineStageGroupBy { - - @Field(() => String, {nullable:false}) - @Validator.IsString() - @Validator.IsOptional() - id!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - name!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - type!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - color!: string; - - @Field(() => Int, {nullable:true}) - @Validator.IsNumber() - @Validator.IsOptional() - index?: number; - - @Field(() => String, {nullable:false}) - pipelineId!: string; - - @HideField() - workspaceId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:false}) - createdAt!: Date | string; - - @Field(() => Date, {nullable:false}) - updatedAt!: Date | string; - - @Field(() => PipelineStageCountAggregate, {nullable:true}) - _count?: PipelineStageCountAggregate; - - @Field(() => PipelineStageAvgAggregate, {nullable:true}) - _avg?: PipelineStageAvgAggregate; - - @Field(() => PipelineStageSumAggregate, {nullable:true}) - _sum?: PipelineStageSumAggregate; - - @Field(() => PipelineStageMinAggregate, {nullable:true}) - _min?: PipelineStageMinAggregate; - - @Field(() => PipelineStageMaxAggregate, {nullable:true}) - _max?: PipelineStageMaxAggregate; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-list-relation-filter.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-list-relation-filter.input.ts deleted file mode 100644 index 5e9b5e414..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-list-relation-filter.input.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineStageWhereInput } from './pipeline-stage-where.input'; - -@InputType() -export class PipelineStageListRelationFilter { - - @Field(() => PipelineStageWhereInput, {nullable:true}) - every?: PipelineStageWhereInput; - - @Field(() => PipelineStageWhereInput, {nullable:true}) - some?: PipelineStageWhereInput; - - @Field(() => PipelineStageWhereInput, {nullable:true}) - none?: PipelineStageWhereInput; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-max-aggregate.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-max-aggregate.input.ts deleted file mode 100644 index faaad5aef..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-max-aggregate.input.ts +++ /dev/null @@ -1,37 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class PipelineStageMaxAggregateInput { - - @Field(() => Boolean, {nullable:true}) - id?: true; - - @Field(() => Boolean, {nullable:true}) - name?: true; - - @Field(() => Boolean, {nullable:true}) - type?: true; - - @Field(() => Boolean, {nullable:true}) - color?: true; - - @Field(() => Boolean, {nullable:true}) - index?: true; - - @Field(() => Boolean, {nullable:true}) - pipelineId?: true; - - @HideField() - workspaceId?: true; - - @HideField() - deletedAt?: true; - - @Field(() => Boolean, {nullable:true}) - createdAt?: true; - - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-max-aggregate.output.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-max-aggregate.output.ts deleted file mode 100644 index f8e893b8f..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-max-aggregate.output.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { Int } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; - -@ObjectType() -export class PipelineStageMaxAggregate { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - name?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - type?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - color?: string; - - @Field(() => Int, {nullable:true}) - @Validator.IsNumber() - @Validator.IsOptional() - index?: number; - - @Field(() => String, {nullable:true}) - pipelineId?: string; - - @HideField() - workspaceId?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-max-order-by-aggregate.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-max-order-by-aggregate.input.ts deleted file mode 100644 index b539c6deb..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-max-order-by-aggregate.input.ts +++ /dev/null @@ -1,38 +0,0 @@ -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 PipelineStageMaxOrderByAggregateInput { - - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - name?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - type?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - color?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - index?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - pipelineId?: keyof typeof SortOrder; - - @HideField() - workspaceId?: keyof typeof SortOrder; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-min-aggregate.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-min-aggregate.input.ts deleted file mode 100644 index 63b4b28a2..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-min-aggregate.input.ts +++ /dev/null @@ -1,37 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class PipelineStageMinAggregateInput { - - @Field(() => Boolean, {nullable:true}) - id?: true; - - @Field(() => Boolean, {nullable:true}) - name?: true; - - @Field(() => Boolean, {nullable:true}) - type?: true; - - @Field(() => Boolean, {nullable:true}) - color?: true; - - @Field(() => Boolean, {nullable:true}) - index?: true; - - @Field(() => Boolean, {nullable:true}) - pipelineId?: true; - - @HideField() - workspaceId?: true; - - @HideField() - deletedAt?: true; - - @Field(() => Boolean, {nullable:true}) - createdAt?: true; - - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-min-aggregate.output.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-min-aggregate.output.ts deleted file mode 100644 index 3b5beaa62..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-min-aggregate.output.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { Int } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; - -@ObjectType() -export class PipelineStageMinAggregate { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - name?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - type?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - color?: string; - - @Field(() => Int, {nullable:true}) - @Validator.IsNumber() - @Validator.IsOptional() - index?: number; - - @Field(() => String, {nullable:true}) - pipelineId?: string; - - @HideField() - workspaceId?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-min-order-by-aggregate.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-min-order-by-aggregate.input.ts deleted file mode 100644 index 029a1831b..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-min-order-by-aggregate.input.ts +++ /dev/null @@ -1,38 +0,0 @@ -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 PipelineStageMinOrderByAggregateInput { - - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - name?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - type?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - color?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - index?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - pipelineId?: keyof typeof SortOrder; - - @HideField() - workspaceId?: keyof typeof SortOrder; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-order-by-relation-aggregate.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-order-by-relation-aggregate.input.ts deleted file mode 100644 index af9686b1d..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-order-by-relation-aggregate.input.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { SortOrder } from '../prisma/sort-order.enum'; - -@InputType() -export class PipelineStageOrderByRelationAggregateInput { - - @Field(() => SortOrder, {nullable:true}) - _count?: keyof typeof SortOrder; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-order-by-with-aggregation.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-order-by-with-aggregation.input.ts deleted file mode 100644 index 98cadcbab..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-order-by-with-aggregation.input.ts +++ /dev/null @@ -1,58 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { SortOrder } from '../prisma/sort-order.enum'; -import { HideField } from '@nestjs/graphql'; -import { PipelineStageCountOrderByAggregateInput } from './pipeline-stage-count-order-by-aggregate.input'; -import { PipelineStageAvgOrderByAggregateInput } from './pipeline-stage-avg-order-by-aggregate.input'; -import { PipelineStageMaxOrderByAggregateInput } from './pipeline-stage-max-order-by-aggregate.input'; -import { PipelineStageMinOrderByAggregateInput } from './pipeline-stage-min-order-by-aggregate.input'; -import { PipelineStageSumOrderByAggregateInput } from './pipeline-stage-sum-order-by-aggregate.input'; - -@InputType() -export class PipelineStageOrderByWithAggregationInput { - - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - name?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - type?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - color?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - index?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - pipelineId?: keyof typeof SortOrder; - - @HideField() - workspaceId?: keyof typeof SortOrder; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; - - @Field(() => PipelineStageCountOrderByAggregateInput, {nullable:true}) - _count?: PipelineStageCountOrderByAggregateInput; - - @Field(() => PipelineStageAvgOrderByAggregateInput, {nullable:true}) - _avg?: PipelineStageAvgOrderByAggregateInput; - - @Field(() => PipelineStageMaxOrderByAggregateInput, {nullable:true}) - _max?: PipelineStageMaxOrderByAggregateInput; - - @Field(() => PipelineStageMinOrderByAggregateInput, {nullable:true}) - _min?: PipelineStageMinOrderByAggregateInput; - - @Field(() => PipelineStageSumOrderByAggregateInput, {nullable:true}) - _sum?: PipelineStageSumOrderByAggregateInput; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-order-by-with-relation.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-order-by-with-relation.input.ts deleted file mode 100644 index 0f16c90ec..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-order-by-with-relation.input.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { SortOrder } from '../prisma/sort-order.enum'; -import { HideField } from '@nestjs/graphql'; -import { PipelineProgressOrderByRelationAggregateInput } from '../pipeline-progress/pipeline-progress-order-by-relation-aggregate.input'; -import { PipelineOrderByWithRelationInput } from '../pipeline/pipeline-order-by-with-relation.input'; -import { WorkspaceOrderByWithRelationInput } from '../workspace/workspace-order-by-with-relation.input'; - -@InputType() -export class PipelineStageOrderByWithRelationInput { - - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - name?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - type?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - color?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - index?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - pipelineId?: keyof typeof SortOrder; - - @HideField() - workspaceId?: keyof typeof SortOrder; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; - - @Field(() => PipelineProgressOrderByRelationAggregateInput, {nullable:true}) - pipelineProgresses?: PipelineProgressOrderByRelationAggregateInput; - - @Field(() => PipelineOrderByWithRelationInput, {nullable:true}) - pipeline?: PipelineOrderByWithRelationInput; - - @HideField() - workspace?: WorkspaceOrderByWithRelationInput; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-relation-filter.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-relation-filter.input.ts deleted file mode 100644 index 100b9745c..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-relation-filter.input.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineStageWhereInput } from './pipeline-stage-where.input'; - -@InputType() -export class PipelineStageRelationFilter { - - @Field(() => PipelineStageWhereInput, {nullable:true}) - is?: PipelineStageWhereInput; - - @Field(() => PipelineStageWhereInput, {nullable:true}) - isNot?: PipelineStageWhereInput; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-scalar-field.enum.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-scalar-field.enum.ts deleted file mode 100644 index dc1d8f8ba..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-scalar-field.enum.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { registerEnumType } from '@nestjs/graphql'; - -export enum PipelineStageScalarFieldEnum { - id = "id", - name = "name", - type = "type", - color = "color", - index = "index", - pipelineId = "pipelineId", - workspaceId = "workspaceId", - deletedAt = "deletedAt", - createdAt = "createdAt", - updatedAt = "updatedAt" -} - - -registerEnumType(PipelineStageScalarFieldEnum, { name: 'PipelineStageScalarFieldEnum', description: undefined }) diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-scalar-where-with-aggregates.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-scalar-where-with-aggregates.input.ts deleted file mode 100644 index 5cd9eed0c..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-scalar-where-with-aggregates.input.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringWithAggregatesFilter } from '../prisma/string-with-aggregates-filter.input'; -import { IntNullableWithAggregatesFilter } from '../prisma/int-nullable-with-aggregates-filter.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeNullableWithAggregatesFilter } from '../prisma/date-time-nullable-with-aggregates-filter.input'; -import { DateTimeWithAggregatesFilter } from '../prisma/date-time-with-aggregates-filter.input'; - -@InputType() -export class PipelineStageScalarWhereWithAggregatesInput { - - @Field(() => [PipelineStageScalarWhereWithAggregatesInput], {nullable:true}) - AND?: Array; - - @Field(() => [PipelineStageScalarWhereWithAggregatesInput], {nullable:true}) - OR?: Array; - - @Field(() => [PipelineStageScalarWhereWithAggregatesInput], {nullable:true}) - NOT?: Array; - - @Field(() => StringWithAggregatesFilter, {nullable:true}) - id?: StringWithAggregatesFilter; - - @Field(() => StringWithAggregatesFilter, {nullable:true}) - name?: StringWithAggregatesFilter; - - @Field(() => StringWithAggregatesFilter, {nullable:true}) - type?: StringWithAggregatesFilter; - - @Field(() => StringWithAggregatesFilter, {nullable:true}) - color?: StringWithAggregatesFilter; - - @Field(() => IntNullableWithAggregatesFilter, {nullable:true}) - index?: IntNullableWithAggregatesFilter; - - @Field(() => StringWithAggregatesFilter, {nullable:true}) - pipelineId?: StringWithAggregatesFilter; - - @HideField() - workspaceId?: StringWithAggregatesFilter; - - @HideField() - deletedAt?: DateTimeNullableWithAggregatesFilter; - - @Field(() => DateTimeWithAggregatesFilter, {nullable:true}) - createdAt?: DateTimeWithAggregatesFilter; - - @Field(() => DateTimeWithAggregatesFilter, {nullable:true}) - updatedAt?: DateTimeWithAggregatesFilter; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-scalar-where.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-scalar-where.input.ts deleted file mode 100644 index cb2a85faa..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-scalar-where.input.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFilter } from '../prisma/string-filter.input'; -import { IntNullableFilter } from '../prisma/int-nullable-filter.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input'; -import { DateTimeFilter } from '../prisma/date-time-filter.input'; - -@InputType() -export class PipelineStageScalarWhereInput { - - @Field(() => [PipelineStageScalarWhereInput], {nullable:true}) - AND?: Array; - - @Field(() => [PipelineStageScalarWhereInput], {nullable:true}) - OR?: Array; - - @Field(() => [PipelineStageScalarWhereInput], {nullable:true}) - NOT?: Array; - - @Field(() => StringFilter, {nullable:true}) - id?: StringFilter; - - @Field(() => StringFilter, {nullable:true}) - name?: StringFilter; - - @Field(() => StringFilter, {nullable:true}) - type?: StringFilter; - - @Field(() => StringFilter, {nullable:true}) - color?: StringFilter; - - @Field(() => IntNullableFilter, {nullable:true}) - index?: IntNullableFilter; - - @Field(() => StringFilter, {nullable:true}) - pipelineId?: StringFilter; - - @HideField() - workspaceId?: StringFilter; - - @HideField() - deletedAt?: DateTimeNullableFilter; - - @Field(() => DateTimeFilter, {nullable:true}) - createdAt?: DateTimeFilter; - - @Field(() => DateTimeFilter, {nullable:true}) - updatedAt?: DateTimeFilter; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-sum-aggregate.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-sum-aggregate.input.ts deleted file mode 100644 index 3b161cc5b..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-sum-aggregate.input.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; - -@InputType() -export class PipelineStageSumAggregateInput { - - @Field(() => Boolean, {nullable:true}) - index?: true; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-sum-aggregate.output.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-sum-aggregate.output.ts deleted file mode 100644 index 1ab3c5a8c..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-sum-aggregate.output.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import { Int } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; - -@ObjectType() -export class PipelineStageSumAggregate { - - @Field(() => Int, {nullable:true}) - @Validator.IsNumber() - @Validator.IsOptional() - index?: number; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-sum-order-by-aggregate.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-sum-order-by-aggregate.input.ts deleted file mode 100644 index 9bbbd058c..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-sum-order-by-aggregate.input.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { SortOrder } from '../prisma/sort-order.enum'; - -@InputType() -export class PipelineStageSumOrderByAggregateInput { - - @Field(() => SortOrder, {nullable:true}) - index?: keyof typeof SortOrder; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-pipeline.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-pipeline.input.ts deleted file mode 100644 index 85f0d305f..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-pipeline.input.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineStageCreateWithoutPipelineInput } from './pipeline-stage-create-without-pipeline.input'; -import { Type } from 'class-transformer'; -import { PipelineStageCreateOrConnectWithoutPipelineInput } from './pipeline-stage-create-or-connect-without-pipeline.input'; -import { PipelineStageCreateManyPipelineInputEnvelope } from './pipeline-stage-create-many-pipeline-input-envelope.input'; -import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; - -@InputType() -export class PipelineStageUncheckedCreateNestedManyWithoutPipelineInput { - - @Field(() => [PipelineStageCreateWithoutPipelineInput], {nullable:true}) - @Type(() => PipelineStageCreateWithoutPipelineInput) - create?: Array; - - @Field(() => [PipelineStageCreateOrConnectWithoutPipelineInput], {nullable:true}) - @Type(() => PipelineStageCreateOrConnectWithoutPipelineInput) - connectOrCreate?: Array; - - @Field(() => PipelineStageCreateManyPipelineInputEnvelope, {nullable:true}) - @Type(() => PipelineStageCreateManyPipelineInputEnvelope) - createMany?: PipelineStageCreateManyPipelineInputEnvelope; - - @Field(() => [PipelineStageWhereUniqueInput], {nullable:true}) - @Type(() => PipelineStageWhereUniqueInput) - connect?: Array; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-workspace.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-workspace.input.ts deleted file mode 100644 index 654b13472..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-workspace.input.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineStageCreateWithoutWorkspaceInput } from './pipeline-stage-create-without-workspace.input'; -import { Type } from 'class-transformer'; -import { PipelineStageCreateOrConnectWithoutWorkspaceInput } from './pipeline-stage-create-or-connect-without-workspace.input'; -import { PipelineStageCreateManyWorkspaceInputEnvelope } from './pipeline-stage-create-many-workspace-input-envelope.input'; -import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; - -@InputType() -export class PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput { - - @Field(() => [PipelineStageCreateWithoutWorkspaceInput], {nullable:true}) - @Type(() => PipelineStageCreateWithoutWorkspaceInput) - create?: Array; - - @Field(() => [PipelineStageCreateOrConnectWithoutWorkspaceInput], {nullable:true}) - @Type(() => PipelineStageCreateOrConnectWithoutWorkspaceInput) - connectOrCreate?: Array; - - @Field(() => PipelineStageCreateManyWorkspaceInputEnvelope, {nullable:true}) - @Type(() => PipelineStageCreateManyWorkspaceInputEnvelope) - createMany?: PipelineStageCreateManyWorkspaceInputEnvelope; - - @Field(() => [PipelineStageWhereUniqueInput], {nullable:true}) - @Type(() => PipelineStageWhereUniqueInput) - connect?: Array; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-unchecked-create-without-pipeline-progresses.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-unchecked-create-without-pipeline-progresses.input.ts deleted file mode 100644 index 63d69a35a..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-unchecked-create-without-pipeline-progresses.input.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { Int } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class PipelineStageUncheckedCreateWithoutPipelineProgressesInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - name!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - type!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - color!: string; - - @Field(() => Int, {nullable:true}) - @Validator.IsNumber() - @Validator.IsOptional() - index?: number; - - @Field(() => String, {nullable:false}) - pipelineId!: string; - - @HideField() - workspaceId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-unchecked-create-without-pipeline.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-unchecked-create-without-pipeline.input.ts deleted file mode 100644 index 210c9db0f..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-unchecked-create-without-pipeline.input.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { Int } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; -import { PipelineProgressUncheckedCreateNestedManyWithoutPipelineStageInput } from '../pipeline-progress/pipeline-progress-unchecked-create-nested-many-without-pipeline-stage.input'; - -@InputType() -export class PipelineStageUncheckedCreateWithoutPipelineInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - name!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - type!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - color!: string; - - @Field(() => Int, {nullable:true}) - @Validator.IsNumber() - @Validator.IsOptional() - index?: number; - - @HideField() - workspaceId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => PipelineProgressUncheckedCreateNestedManyWithoutPipelineStageInput, {nullable:true}) - pipelineProgresses?: PipelineProgressUncheckedCreateNestedManyWithoutPipelineStageInput; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-unchecked-create-without-workspace.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-unchecked-create-without-workspace.input.ts deleted file mode 100644 index ed7a1b8ff..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-unchecked-create-without-workspace.input.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { Int } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; -import { PipelineProgressUncheckedCreateNestedManyWithoutPipelineStageInput } from '../pipeline-progress/pipeline-progress-unchecked-create-nested-many-without-pipeline-stage.input'; - -@InputType() -export class PipelineStageUncheckedCreateWithoutWorkspaceInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - name!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - type!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - color!: string; - - @Field(() => Int, {nullable:true}) - @Validator.IsNumber() - @Validator.IsOptional() - index?: number; - - @Field(() => String, {nullable:false}) - pipelineId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => PipelineProgressUncheckedCreateNestedManyWithoutPipelineStageInput, {nullable:true}) - pipelineProgresses?: PipelineProgressUncheckedCreateNestedManyWithoutPipelineStageInput; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-unchecked-create.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-unchecked-create.input.ts deleted file mode 100644 index b1076173c..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-unchecked-create.input.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { Int } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; -import { PipelineProgressUncheckedCreateNestedManyWithoutPipelineStageInput } from '../pipeline-progress/pipeline-progress-unchecked-create-nested-many-without-pipeline-stage.input'; - -@InputType() -export class PipelineStageUncheckedCreateInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - name!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - type!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - color!: string; - - @Field(() => Int, {nullable:true}) - @Validator.IsNumber() - @Validator.IsOptional() - index?: number; - - @Field(() => String, {nullable:false}) - pipelineId!: string; - - @HideField() - workspaceId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => PipelineProgressUncheckedCreateNestedManyWithoutPipelineStageInput, {nullable:true}) - pipelineProgresses?: PipelineProgressUncheckedCreateNestedManyWithoutPipelineStageInput; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-unchecked-update-many-without-pipeline-nested.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-unchecked-update-many-without-pipeline-nested.input.ts deleted file mode 100644 index 3f479329e..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-unchecked-update-many-without-pipeline-nested.input.ts +++ /dev/null @@ -1,59 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineStageCreateWithoutPipelineInput } from './pipeline-stage-create-without-pipeline.input'; -import { Type } from 'class-transformer'; -import { PipelineStageCreateOrConnectWithoutPipelineInput } from './pipeline-stage-create-or-connect-without-pipeline.input'; -import { PipelineStageUpsertWithWhereUniqueWithoutPipelineInput } from './pipeline-stage-upsert-with-where-unique-without-pipeline.input'; -import { PipelineStageCreateManyPipelineInputEnvelope } from './pipeline-stage-create-many-pipeline-input-envelope.input'; -import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; -import { PipelineStageUpdateWithWhereUniqueWithoutPipelineInput } from './pipeline-stage-update-with-where-unique-without-pipeline.input'; -import { PipelineStageUpdateManyWithWhereWithoutPipelineInput } from './pipeline-stage-update-many-with-where-without-pipeline.input'; -import { PipelineStageScalarWhereInput } from './pipeline-stage-scalar-where.input'; - -@InputType() -export class PipelineStageUncheckedUpdateManyWithoutPipelineNestedInput { - - @Field(() => [PipelineStageCreateWithoutPipelineInput], {nullable:true}) - @Type(() => PipelineStageCreateWithoutPipelineInput) - create?: Array; - - @Field(() => [PipelineStageCreateOrConnectWithoutPipelineInput], {nullable:true}) - @Type(() => PipelineStageCreateOrConnectWithoutPipelineInput) - connectOrCreate?: Array; - - @Field(() => [PipelineStageUpsertWithWhereUniqueWithoutPipelineInput], {nullable:true}) - @Type(() => PipelineStageUpsertWithWhereUniqueWithoutPipelineInput) - upsert?: Array; - - @Field(() => PipelineStageCreateManyPipelineInputEnvelope, {nullable:true}) - @Type(() => PipelineStageCreateManyPipelineInputEnvelope) - createMany?: PipelineStageCreateManyPipelineInputEnvelope; - - @Field(() => [PipelineStageWhereUniqueInput], {nullable:true}) - @Type(() => PipelineStageWhereUniqueInput) - set?: Array; - - @Field(() => [PipelineStageWhereUniqueInput], {nullable:true}) - @Type(() => PipelineStageWhereUniqueInput) - disconnect?: Array; - - @Field(() => [PipelineStageWhereUniqueInput], {nullable:true}) - @Type(() => PipelineStageWhereUniqueInput) - delete?: Array; - - @Field(() => [PipelineStageWhereUniqueInput], {nullable:true}) - @Type(() => PipelineStageWhereUniqueInput) - connect?: Array; - - @Field(() => [PipelineStageUpdateWithWhereUniqueWithoutPipelineInput], {nullable:true}) - @Type(() => PipelineStageUpdateWithWhereUniqueWithoutPipelineInput) - update?: Array; - - @Field(() => [PipelineStageUpdateManyWithWhereWithoutPipelineInput], {nullable:true}) - @Type(() => PipelineStageUpdateManyWithWhereWithoutPipelineInput) - updateMany?: Array; - - @Field(() => [PipelineStageScalarWhereInput], {nullable:true}) - @Type(() => PipelineStageScalarWhereInput) - deleteMany?: Array; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-unchecked-update-many-without-pipeline-stages.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-unchecked-update-many-without-pipeline-stages.input.ts deleted file mode 100644 index a4de8de3d..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-unchecked-update-many-without-pipeline-stages.input.ts +++ /dev/null @@ -1,38 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class PipelineStageUncheckedUpdateManyWithoutPipelineStagesInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - name?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - type?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - color?: StringFieldUpdateOperationsInput; - - @Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true}) - index?: NullableIntFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - pipelineId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-unchecked-update-many-without-workspace-nested.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-unchecked-update-many-without-workspace-nested.input.ts deleted file mode 100644 index e7426fb1c..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-unchecked-update-many-without-workspace-nested.input.ts +++ /dev/null @@ -1,59 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineStageCreateWithoutWorkspaceInput } from './pipeline-stage-create-without-workspace.input'; -import { Type } from 'class-transformer'; -import { PipelineStageCreateOrConnectWithoutWorkspaceInput } from './pipeline-stage-create-or-connect-without-workspace.input'; -import { PipelineStageUpsertWithWhereUniqueWithoutWorkspaceInput } from './pipeline-stage-upsert-with-where-unique-without-workspace.input'; -import { PipelineStageCreateManyWorkspaceInputEnvelope } from './pipeline-stage-create-many-workspace-input-envelope.input'; -import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; -import { PipelineStageUpdateWithWhereUniqueWithoutWorkspaceInput } from './pipeline-stage-update-with-where-unique-without-workspace.input'; -import { PipelineStageUpdateManyWithWhereWithoutWorkspaceInput } from './pipeline-stage-update-many-with-where-without-workspace.input'; -import { PipelineStageScalarWhereInput } from './pipeline-stage-scalar-where.input'; - -@InputType() -export class PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput { - - @Field(() => [PipelineStageCreateWithoutWorkspaceInput], {nullable:true}) - @Type(() => PipelineStageCreateWithoutWorkspaceInput) - create?: Array; - - @Field(() => [PipelineStageCreateOrConnectWithoutWorkspaceInput], {nullable:true}) - @Type(() => PipelineStageCreateOrConnectWithoutWorkspaceInput) - connectOrCreate?: Array; - - @Field(() => [PipelineStageUpsertWithWhereUniqueWithoutWorkspaceInput], {nullable:true}) - @Type(() => PipelineStageUpsertWithWhereUniqueWithoutWorkspaceInput) - upsert?: Array; - - @Field(() => PipelineStageCreateManyWorkspaceInputEnvelope, {nullable:true}) - @Type(() => PipelineStageCreateManyWorkspaceInputEnvelope) - createMany?: PipelineStageCreateManyWorkspaceInputEnvelope; - - @Field(() => [PipelineStageWhereUniqueInput], {nullable:true}) - @Type(() => PipelineStageWhereUniqueInput) - set?: Array; - - @Field(() => [PipelineStageWhereUniqueInput], {nullable:true}) - @Type(() => PipelineStageWhereUniqueInput) - disconnect?: Array; - - @Field(() => [PipelineStageWhereUniqueInput], {nullable:true}) - @Type(() => PipelineStageWhereUniqueInput) - delete?: Array; - - @Field(() => [PipelineStageWhereUniqueInput], {nullable:true}) - @Type(() => PipelineStageWhereUniqueInput) - connect?: Array; - - @Field(() => [PipelineStageUpdateWithWhereUniqueWithoutWorkspaceInput], {nullable:true}) - @Type(() => PipelineStageUpdateWithWhereUniqueWithoutWorkspaceInput) - update?: Array; - - @Field(() => [PipelineStageUpdateManyWithWhereWithoutWorkspaceInput], {nullable:true}) - @Type(() => PipelineStageUpdateManyWithWhereWithoutWorkspaceInput) - updateMany?: Array; - - @Field(() => [PipelineStageScalarWhereInput], {nullable:true}) - @Type(() => PipelineStageScalarWhereInput) - deleteMany?: Array; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-unchecked-update-many.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-unchecked-update-many.input.ts deleted file mode 100644 index c278b56f7..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-unchecked-update-many.input.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class PipelineStageUncheckedUpdateManyInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - name?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - type?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - color?: StringFieldUpdateOperationsInput; - - @Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true}) - index?: NullableIntFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - pipelineId?: StringFieldUpdateOperationsInput; - - @HideField() - workspaceId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-unchecked-update-without-pipeline-progresses.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-unchecked-update-without-pipeline-progresses.input.ts deleted file mode 100644 index 3f1fc29c5..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-unchecked-update-without-pipeline-progresses.input.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class PipelineStageUncheckedUpdateWithoutPipelineProgressesInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - name?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - type?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - color?: StringFieldUpdateOperationsInput; - - @Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true}) - index?: NullableIntFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - pipelineId?: StringFieldUpdateOperationsInput; - - @HideField() - workspaceId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-unchecked-update-without-pipeline.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-unchecked-update-without-pipeline.input.ts deleted file mode 100644 index 11883bb2e..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-unchecked-update-without-pipeline.input.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -import { PipelineProgressUncheckedUpdateManyWithoutPipelineStageNestedInput } from '../pipeline-progress/pipeline-progress-unchecked-update-many-without-pipeline-stage-nested.input'; - -@InputType() -export class PipelineStageUncheckedUpdateWithoutPipelineInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - name?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - type?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - color?: StringFieldUpdateOperationsInput; - - @Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true}) - index?: NullableIntFieldUpdateOperationsInput; - - @HideField() - workspaceId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => PipelineProgressUncheckedUpdateManyWithoutPipelineStageNestedInput, {nullable:true}) - pipelineProgresses?: PipelineProgressUncheckedUpdateManyWithoutPipelineStageNestedInput; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-unchecked-update-without-workspace.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-unchecked-update-without-workspace.input.ts deleted file mode 100644 index 451e42799..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-unchecked-update-without-workspace.input.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -import { PipelineProgressUncheckedUpdateManyWithoutPipelineStageNestedInput } from '../pipeline-progress/pipeline-progress-unchecked-update-many-without-pipeline-stage-nested.input'; - -@InputType() -export class PipelineStageUncheckedUpdateWithoutWorkspaceInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - name?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - type?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - color?: StringFieldUpdateOperationsInput; - - @Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true}) - index?: NullableIntFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - pipelineId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => PipelineProgressUncheckedUpdateManyWithoutPipelineStageNestedInput, {nullable:true}) - pipelineProgresses?: PipelineProgressUncheckedUpdateManyWithoutPipelineStageNestedInput; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-unchecked-update.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-unchecked-update.input.ts deleted file mode 100644 index c113ee284..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-unchecked-update.input.ts +++ /dev/null @@ -1,45 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -import { PipelineProgressUncheckedUpdateManyWithoutPipelineStageNestedInput } from '../pipeline-progress/pipeline-progress-unchecked-update-many-without-pipeline-stage-nested.input'; - -@InputType() -export class PipelineStageUncheckedUpdateInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - name?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - type?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - color?: StringFieldUpdateOperationsInput; - - @Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true}) - index?: NullableIntFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - pipelineId?: StringFieldUpdateOperationsInput; - - @HideField() - workspaceId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => PipelineProgressUncheckedUpdateManyWithoutPipelineStageNestedInput, {nullable:true}) - pipelineProgresses?: PipelineProgressUncheckedUpdateManyWithoutPipelineStageNestedInput; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-update-many-mutation.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-update-many-mutation.input.ts deleted file mode 100644 index 5461b6d1a..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-update-many-mutation.input.ts +++ /dev/null @@ -1,35 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class PipelineStageUpdateManyMutationInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - name?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - type?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - color?: StringFieldUpdateOperationsInput; - - @Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true}) - index?: NullableIntFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-update-many-with-where-without-pipeline.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-update-many-with-where-without-pipeline.input.ts deleted file mode 100644 index dab2e0d7b..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-update-many-with-where-without-pipeline.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineStageScalarWhereInput } from './pipeline-stage-scalar-where.input'; -import { Type } from 'class-transformer'; -import { PipelineStageUpdateManyMutationInput } from './pipeline-stage-update-many-mutation.input'; - -@InputType() -export class PipelineStageUpdateManyWithWhereWithoutPipelineInput { - - @Field(() => PipelineStageScalarWhereInput, {nullable:false}) - @Type(() => PipelineStageScalarWhereInput) - where!: PipelineStageScalarWhereInput; - - @Field(() => PipelineStageUpdateManyMutationInput, {nullable:false}) - @Type(() => PipelineStageUpdateManyMutationInput) - data!: PipelineStageUpdateManyMutationInput; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-update-many-with-where-without-workspace.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-update-many-with-where-without-workspace.input.ts deleted file mode 100644 index 10b6aab60..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-update-many-with-where-without-workspace.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineStageScalarWhereInput } from './pipeline-stage-scalar-where.input'; -import { Type } from 'class-transformer'; -import { PipelineStageUpdateManyMutationInput } from './pipeline-stage-update-many-mutation.input'; - -@InputType() -export class PipelineStageUpdateManyWithWhereWithoutWorkspaceInput { - - @Field(() => PipelineStageScalarWhereInput, {nullable:false}) - @Type(() => PipelineStageScalarWhereInput) - where!: PipelineStageScalarWhereInput; - - @Field(() => PipelineStageUpdateManyMutationInput, {nullable:false}) - @Type(() => PipelineStageUpdateManyMutationInput) - data!: PipelineStageUpdateManyMutationInput; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-update-many-without-pipeline-nested.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-update-many-without-pipeline-nested.input.ts deleted file mode 100644 index c6997a3c6..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-update-many-without-pipeline-nested.input.ts +++ /dev/null @@ -1,59 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineStageCreateWithoutPipelineInput } from './pipeline-stage-create-without-pipeline.input'; -import { Type } from 'class-transformer'; -import { PipelineStageCreateOrConnectWithoutPipelineInput } from './pipeline-stage-create-or-connect-without-pipeline.input'; -import { PipelineStageUpsertWithWhereUniqueWithoutPipelineInput } from './pipeline-stage-upsert-with-where-unique-without-pipeline.input'; -import { PipelineStageCreateManyPipelineInputEnvelope } from './pipeline-stage-create-many-pipeline-input-envelope.input'; -import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; -import { PipelineStageUpdateWithWhereUniqueWithoutPipelineInput } from './pipeline-stage-update-with-where-unique-without-pipeline.input'; -import { PipelineStageUpdateManyWithWhereWithoutPipelineInput } from './pipeline-stage-update-many-with-where-without-pipeline.input'; -import { PipelineStageScalarWhereInput } from './pipeline-stage-scalar-where.input'; - -@InputType() -export class PipelineStageUpdateManyWithoutPipelineNestedInput { - - @Field(() => [PipelineStageCreateWithoutPipelineInput], {nullable:true}) - @Type(() => PipelineStageCreateWithoutPipelineInput) - create?: Array; - - @Field(() => [PipelineStageCreateOrConnectWithoutPipelineInput], {nullable:true}) - @Type(() => PipelineStageCreateOrConnectWithoutPipelineInput) - connectOrCreate?: Array; - - @Field(() => [PipelineStageUpsertWithWhereUniqueWithoutPipelineInput], {nullable:true}) - @Type(() => PipelineStageUpsertWithWhereUniqueWithoutPipelineInput) - upsert?: Array; - - @Field(() => PipelineStageCreateManyPipelineInputEnvelope, {nullable:true}) - @Type(() => PipelineStageCreateManyPipelineInputEnvelope) - createMany?: PipelineStageCreateManyPipelineInputEnvelope; - - @Field(() => [PipelineStageWhereUniqueInput], {nullable:true}) - @Type(() => PipelineStageWhereUniqueInput) - set?: Array; - - @Field(() => [PipelineStageWhereUniqueInput], {nullable:true}) - @Type(() => PipelineStageWhereUniqueInput) - disconnect?: Array; - - @Field(() => [PipelineStageWhereUniqueInput], {nullable:true}) - @Type(() => PipelineStageWhereUniqueInput) - delete?: Array; - - @Field(() => [PipelineStageWhereUniqueInput], {nullable:true}) - @Type(() => PipelineStageWhereUniqueInput) - connect?: Array; - - @Field(() => [PipelineStageUpdateWithWhereUniqueWithoutPipelineInput], {nullable:true}) - @Type(() => PipelineStageUpdateWithWhereUniqueWithoutPipelineInput) - update?: Array; - - @Field(() => [PipelineStageUpdateManyWithWhereWithoutPipelineInput], {nullable:true}) - @Type(() => PipelineStageUpdateManyWithWhereWithoutPipelineInput) - updateMany?: Array; - - @Field(() => [PipelineStageScalarWhereInput], {nullable:true}) - @Type(() => PipelineStageScalarWhereInput) - deleteMany?: Array; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-update-many-without-workspace-nested.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-update-many-without-workspace-nested.input.ts deleted file mode 100644 index 3af9513e0..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-update-many-without-workspace-nested.input.ts +++ /dev/null @@ -1,59 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineStageCreateWithoutWorkspaceInput } from './pipeline-stage-create-without-workspace.input'; -import { Type } from 'class-transformer'; -import { PipelineStageCreateOrConnectWithoutWorkspaceInput } from './pipeline-stage-create-or-connect-without-workspace.input'; -import { PipelineStageUpsertWithWhereUniqueWithoutWorkspaceInput } from './pipeline-stage-upsert-with-where-unique-without-workspace.input'; -import { PipelineStageCreateManyWorkspaceInputEnvelope } from './pipeline-stage-create-many-workspace-input-envelope.input'; -import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; -import { PipelineStageUpdateWithWhereUniqueWithoutWorkspaceInput } from './pipeline-stage-update-with-where-unique-without-workspace.input'; -import { PipelineStageUpdateManyWithWhereWithoutWorkspaceInput } from './pipeline-stage-update-many-with-where-without-workspace.input'; -import { PipelineStageScalarWhereInput } from './pipeline-stage-scalar-where.input'; - -@InputType() -export class PipelineStageUpdateManyWithoutWorkspaceNestedInput { - - @Field(() => [PipelineStageCreateWithoutWorkspaceInput], {nullable:true}) - @Type(() => PipelineStageCreateWithoutWorkspaceInput) - create?: Array; - - @Field(() => [PipelineStageCreateOrConnectWithoutWorkspaceInput], {nullable:true}) - @Type(() => PipelineStageCreateOrConnectWithoutWorkspaceInput) - connectOrCreate?: Array; - - @Field(() => [PipelineStageUpsertWithWhereUniqueWithoutWorkspaceInput], {nullable:true}) - @Type(() => PipelineStageUpsertWithWhereUniqueWithoutWorkspaceInput) - upsert?: Array; - - @Field(() => PipelineStageCreateManyWorkspaceInputEnvelope, {nullable:true}) - @Type(() => PipelineStageCreateManyWorkspaceInputEnvelope) - createMany?: PipelineStageCreateManyWorkspaceInputEnvelope; - - @Field(() => [PipelineStageWhereUniqueInput], {nullable:true}) - @Type(() => PipelineStageWhereUniqueInput) - set?: Array; - - @Field(() => [PipelineStageWhereUniqueInput], {nullable:true}) - @Type(() => PipelineStageWhereUniqueInput) - disconnect?: Array; - - @Field(() => [PipelineStageWhereUniqueInput], {nullable:true}) - @Type(() => PipelineStageWhereUniqueInput) - delete?: Array; - - @Field(() => [PipelineStageWhereUniqueInput], {nullable:true}) - @Type(() => PipelineStageWhereUniqueInput) - connect?: Array; - - @Field(() => [PipelineStageUpdateWithWhereUniqueWithoutWorkspaceInput], {nullable:true}) - @Type(() => PipelineStageUpdateWithWhereUniqueWithoutWorkspaceInput) - update?: Array; - - @Field(() => [PipelineStageUpdateManyWithWhereWithoutWorkspaceInput], {nullable:true}) - @Type(() => PipelineStageUpdateManyWithWhereWithoutWorkspaceInput) - updateMany?: Array; - - @Field(() => [PipelineStageScalarWhereInput], {nullable:true}) - @Type(() => PipelineStageScalarWhereInput) - deleteMany?: Array; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-update-one-required-without-pipeline-progresses-nested.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-update-one-required-without-pipeline-progresses-nested.input.ts deleted file mode 100644 index c83cb6700..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-update-one-required-without-pipeline-progresses-nested.input.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineStageCreateWithoutPipelineProgressesInput } from './pipeline-stage-create-without-pipeline-progresses.input'; -import { HideField } from '@nestjs/graphql'; -import { PipelineStageCreateOrConnectWithoutPipelineProgressesInput } from './pipeline-stage-create-or-connect-without-pipeline-progresses.input'; -import { PipelineStageUpsertWithoutPipelineProgressesInput } from './pipeline-stage-upsert-without-pipeline-progresses.input'; -import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; -import { Type } from 'class-transformer'; -import { PipelineStageUpdateWithoutPipelineProgressesInput } from './pipeline-stage-update-without-pipeline-progresses.input'; - -@InputType() -export class PipelineStageUpdateOneRequiredWithoutPipelineProgressesNestedInput { - - @HideField() - create?: PipelineStageCreateWithoutPipelineProgressesInput; - - @HideField() - connectOrCreate?: PipelineStageCreateOrConnectWithoutPipelineProgressesInput; - - @HideField() - upsert?: PipelineStageUpsertWithoutPipelineProgressesInput; - - @Field(() => PipelineStageWhereUniqueInput, {nullable:true}) - @Type(() => PipelineStageWhereUniqueInput) - connect?: PipelineStageWhereUniqueInput; - - @HideField() - update?: PipelineStageUpdateWithoutPipelineProgressesInput; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-update-with-where-unique-without-pipeline.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-update-with-where-unique-without-pipeline.input.ts deleted file mode 100644 index 5164421c8..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-update-with-where-unique-without-pipeline.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; -import { Type } from 'class-transformer'; -import { PipelineStageUpdateWithoutPipelineInput } from './pipeline-stage-update-without-pipeline.input'; - -@InputType() -export class PipelineStageUpdateWithWhereUniqueWithoutPipelineInput { - - @Field(() => PipelineStageWhereUniqueInput, {nullable:false}) - @Type(() => PipelineStageWhereUniqueInput) - where!: PipelineStageWhereUniqueInput; - - @Field(() => PipelineStageUpdateWithoutPipelineInput, {nullable:false}) - @Type(() => PipelineStageUpdateWithoutPipelineInput) - data!: PipelineStageUpdateWithoutPipelineInput; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-update-with-where-unique-without-workspace.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-update-with-where-unique-without-workspace.input.ts deleted file mode 100644 index 607ce3c70..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-update-with-where-unique-without-workspace.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; -import { Type } from 'class-transformer'; -import { PipelineStageUpdateWithoutWorkspaceInput } from './pipeline-stage-update-without-workspace.input'; - -@InputType() -export class PipelineStageUpdateWithWhereUniqueWithoutWorkspaceInput { - - @Field(() => PipelineStageWhereUniqueInput, {nullable:false}) - @Type(() => PipelineStageWhereUniqueInput) - where!: PipelineStageWhereUniqueInput; - - @Field(() => PipelineStageUpdateWithoutWorkspaceInput, {nullable:false}) - @Type(() => PipelineStageUpdateWithoutWorkspaceInput) - data!: PipelineStageUpdateWithoutWorkspaceInput; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-update-without-pipeline-progresses.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-update-without-pipeline-progresses.input.ts deleted file mode 100644 index e39a0a0d2..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-update-without-pipeline-progresses.input.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -import { PipelineUpdateOneRequiredWithoutPipelineStagesNestedInput } from '../pipeline/pipeline-update-one-required-without-pipeline-stages-nested.input'; -import { WorkspaceUpdateOneRequiredWithoutPipelineStagesNestedInput } from '../workspace/workspace-update-one-required-without-pipeline-stages-nested.input'; - -@InputType() -export class PipelineStageUpdateWithoutPipelineProgressesInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - name?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - type?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - color?: StringFieldUpdateOperationsInput; - - @Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true}) - index?: NullableIntFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => PipelineUpdateOneRequiredWithoutPipelineStagesNestedInput, {nullable:true}) - pipeline?: PipelineUpdateOneRequiredWithoutPipelineStagesNestedInput; - - @HideField() - workspace?: WorkspaceUpdateOneRequiredWithoutPipelineStagesNestedInput; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-update-without-pipeline.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-update-without-pipeline.input.ts deleted file mode 100644 index 5b2dfb6c8..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-update-without-pipeline.input.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -import { PipelineProgressUpdateManyWithoutPipelineStageNestedInput } from '../pipeline-progress/pipeline-progress-update-many-without-pipeline-stage-nested.input'; -import { WorkspaceUpdateOneRequiredWithoutPipelineStagesNestedInput } from '../workspace/workspace-update-one-required-without-pipeline-stages-nested.input'; - -@InputType() -export class PipelineStageUpdateWithoutPipelineInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - name?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - type?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - color?: StringFieldUpdateOperationsInput; - - @Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true}) - index?: NullableIntFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => PipelineProgressUpdateManyWithoutPipelineStageNestedInput, {nullable:true}) - pipelineProgresses?: PipelineProgressUpdateManyWithoutPipelineStageNestedInput; - - @HideField() - workspace?: WorkspaceUpdateOneRequiredWithoutPipelineStagesNestedInput; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-update-without-workspace.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-update-without-workspace.input.ts deleted file mode 100644 index 805f5bffc..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-update-without-workspace.input.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -import { PipelineProgressUpdateManyWithoutPipelineStageNestedInput } from '../pipeline-progress/pipeline-progress-update-many-without-pipeline-stage-nested.input'; -import { PipelineUpdateOneRequiredWithoutPipelineStagesNestedInput } from '../pipeline/pipeline-update-one-required-without-pipeline-stages-nested.input'; - -@InputType() -export class PipelineStageUpdateWithoutWorkspaceInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - name?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - type?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - color?: StringFieldUpdateOperationsInput; - - @Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true}) - index?: NullableIntFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => PipelineProgressUpdateManyWithoutPipelineStageNestedInput, {nullable:true}) - pipelineProgresses?: PipelineProgressUpdateManyWithoutPipelineStageNestedInput; - - @Field(() => PipelineUpdateOneRequiredWithoutPipelineStagesNestedInput, {nullable:true}) - pipeline?: PipelineUpdateOneRequiredWithoutPipelineStagesNestedInput; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-update.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-update.input.ts deleted file mode 100644 index e94a8caac..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-update.input.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -import { PipelineProgressUpdateManyWithoutPipelineStageNestedInput } from '../pipeline-progress/pipeline-progress-update-many-without-pipeline-stage-nested.input'; -import { PipelineUpdateOneRequiredWithoutPipelineStagesNestedInput } from '../pipeline/pipeline-update-one-required-without-pipeline-stages-nested.input'; -import { WorkspaceUpdateOneRequiredWithoutPipelineStagesNestedInput } from '../workspace/workspace-update-one-required-without-pipeline-stages-nested.input'; - -@InputType() -export class PipelineStageUpdateInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - name?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - type?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - color?: StringFieldUpdateOperationsInput; - - @Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true}) - index?: NullableIntFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => PipelineProgressUpdateManyWithoutPipelineStageNestedInput, {nullable:true}) - pipelineProgresses?: PipelineProgressUpdateManyWithoutPipelineStageNestedInput; - - @Field(() => PipelineUpdateOneRequiredWithoutPipelineStagesNestedInput, {nullable:true}) - pipeline?: PipelineUpdateOneRequiredWithoutPipelineStagesNestedInput; - - @HideField() - workspace?: WorkspaceUpdateOneRequiredWithoutPipelineStagesNestedInput; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-upsert-with-where-unique-without-pipeline.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-upsert-with-where-unique-without-pipeline.input.ts deleted file mode 100644 index 00eaf2819..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-upsert-with-where-unique-without-pipeline.input.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; -import { Type } from 'class-transformer'; -import { PipelineStageUpdateWithoutPipelineInput } from './pipeline-stage-update-without-pipeline.input'; -import { PipelineStageCreateWithoutPipelineInput } from './pipeline-stage-create-without-pipeline.input'; - -@InputType() -export class PipelineStageUpsertWithWhereUniqueWithoutPipelineInput { - - @Field(() => PipelineStageWhereUniqueInput, {nullable:false}) - @Type(() => PipelineStageWhereUniqueInput) - where!: PipelineStageWhereUniqueInput; - - @Field(() => PipelineStageUpdateWithoutPipelineInput, {nullable:false}) - @Type(() => PipelineStageUpdateWithoutPipelineInput) - update!: PipelineStageUpdateWithoutPipelineInput; - - @Field(() => PipelineStageCreateWithoutPipelineInput, {nullable:false}) - @Type(() => PipelineStageCreateWithoutPipelineInput) - create!: PipelineStageCreateWithoutPipelineInput; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-upsert-with-where-unique-without-workspace.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-upsert-with-where-unique-without-workspace.input.ts deleted file mode 100644 index c3a19b56e..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-upsert-with-where-unique-without-workspace.input.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; -import { Type } from 'class-transformer'; -import { PipelineStageUpdateWithoutWorkspaceInput } from './pipeline-stage-update-without-workspace.input'; -import { PipelineStageCreateWithoutWorkspaceInput } from './pipeline-stage-create-without-workspace.input'; - -@InputType() -export class PipelineStageUpsertWithWhereUniqueWithoutWorkspaceInput { - - @Field(() => PipelineStageWhereUniqueInput, {nullable:false}) - @Type(() => PipelineStageWhereUniqueInput) - where!: PipelineStageWhereUniqueInput; - - @Field(() => PipelineStageUpdateWithoutWorkspaceInput, {nullable:false}) - @Type(() => PipelineStageUpdateWithoutWorkspaceInput) - update!: PipelineStageUpdateWithoutWorkspaceInput; - - @Field(() => PipelineStageCreateWithoutWorkspaceInput, {nullable:false}) - @Type(() => PipelineStageCreateWithoutWorkspaceInput) - create!: PipelineStageCreateWithoutWorkspaceInput; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-upsert-without-pipeline-progresses.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-upsert-without-pipeline-progresses.input.ts deleted file mode 100644 index bf94b4cb9..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-upsert-without-pipeline-progresses.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineStageUpdateWithoutPipelineProgressesInput } from './pipeline-stage-update-without-pipeline-progresses.input'; -import { Type } from 'class-transformer'; -import { PipelineStageCreateWithoutPipelineProgressesInput } from './pipeline-stage-create-without-pipeline-progresses.input'; - -@InputType() -export class PipelineStageUpsertWithoutPipelineProgressesInput { - - @Field(() => PipelineStageUpdateWithoutPipelineProgressesInput, {nullable:false}) - @Type(() => PipelineStageUpdateWithoutPipelineProgressesInput) - update!: PipelineStageUpdateWithoutPipelineProgressesInput; - - @Field(() => PipelineStageCreateWithoutPipelineProgressesInput, {nullable:false}) - @Type(() => PipelineStageCreateWithoutPipelineProgressesInput) - create!: PipelineStageCreateWithoutPipelineProgressesInput; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-where-unique.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-where-unique.input.ts deleted file mode 100644 index 71e4cf1c8..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-where-unique.input.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; - -@InputType() -export class PipelineStageWhereUniqueInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage-where.input.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage-where.input.ts deleted file mode 100644 index 6246d9cf3..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage-where.input.ts +++ /dev/null @@ -1,62 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFilter } from '../prisma/string-filter.input'; -import { IntNullableFilter } from '../prisma/int-nullable-filter.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input'; -import { DateTimeFilter } from '../prisma/date-time-filter.input'; -import { PipelineProgressListRelationFilter } from '../pipeline-progress/pipeline-progress-list-relation-filter.input'; -import { PipelineRelationFilter } from '../pipeline/pipeline-relation-filter.input'; -import { WorkspaceRelationFilter } from '../workspace/workspace-relation-filter.input'; - -@InputType() -export class PipelineStageWhereInput { - - @Field(() => [PipelineStageWhereInput], {nullable:true}) - AND?: Array; - - @Field(() => [PipelineStageWhereInput], {nullable:true}) - OR?: Array; - - @Field(() => [PipelineStageWhereInput], {nullable:true}) - NOT?: Array; - - @Field(() => StringFilter, {nullable:true}) - id?: StringFilter; - - @Field(() => StringFilter, {nullable:true}) - name?: StringFilter; - - @Field(() => StringFilter, {nullable:true}) - type?: StringFilter; - - @Field(() => StringFilter, {nullable:true}) - color?: StringFilter; - - @Field(() => IntNullableFilter, {nullable:true}) - index?: IntNullableFilter; - - @Field(() => StringFilter, {nullable:true}) - pipelineId?: StringFilter; - - @HideField() - workspaceId?: StringFilter; - - @HideField() - deletedAt?: DateTimeNullableFilter; - - @Field(() => DateTimeFilter, {nullable:true}) - createdAt?: DateTimeFilter; - - @Field(() => DateTimeFilter, {nullable:true}) - updatedAt?: DateTimeFilter; - - @Field(() => PipelineProgressListRelationFilter, {nullable:true}) - pipelineProgresses?: PipelineProgressListRelationFilter; - - @Field(() => PipelineRelationFilter, {nullable:true}) - pipeline?: PipelineRelationFilter; - - @HideField() - workspace?: WorkspaceRelationFilter; -} diff --git a/server/src/core/@generated/pipeline-stage/pipeline-stage.model.ts b/server/src/core/@generated/pipeline-stage/pipeline-stage.model.ts deleted file mode 100644 index 5a6b28e18..000000000 --- a/server/src/core/@generated/pipeline-stage/pipeline-stage.model.ts +++ /dev/null @@ -1,55 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import { ID } from '@nestjs/graphql'; -import { Int } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; -import { PipelineProgress } from '../pipeline-progress/pipeline-progress.model'; -import { Pipeline } from '../pipeline/pipeline.model'; -import { Workspace } from '../workspace/workspace.model'; -import { PipelineStageCount } from './pipeline-stage-count.output'; - -@ObjectType() -export class PipelineStage { - - @Field(() => ID, {nullable:false}) - id!: string; - - @Field(() => String, {nullable:false}) - name!: string; - - @Field(() => String, {nullable:false}) - type!: string; - - @Field(() => String, {nullable:false}) - color!: string; - - @Field(() => Int, {nullable:true}) - index!: number | null; - - @Field(() => String, {nullable:false}) - pipelineId!: string; - - @HideField() - workspaceId!: string; - - @HideField() - deletedAt!: Date | null; - - @Field(() => Date, {nullable:false}) - createdAt!: Date; - - @Field(() => Date, {nullable:false}) - updatedAt!: Date; - - @Field(() => [PipelineProgress], {nullable:true}) - pipelineProgresses?: Array; - - @Field(() => Pipeline, {nullable:false}) - pipeline?: Pipeline; - - @HideField() - workspace?: Workspace; - - @HideField() - _count?: PipelineStageCount; -} diff --git a/server/src/core/@generated/pipeline-stage/update-many-pipeline-stage.args.ts b/server/src/core/@generated/pipeline-stage/update-many-pipeline-stage.args.ts deleted file mode 100644 index ce2c3fc9a..000000000 --- a/server/src/core/@generated/pipeline-stage/update-many-pipeline-stage.args.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PipelineStageUpdateManyMutationInput } from './pipeline-stage-update-many-mutation.input'; -import { Type } from 'class-transformer'; -import { ValidateNested } from 'class-validator'; -import { PipelineStageWhereInput } from './pipeline-stage-where.input'; - -@ArgsType() -export class UpdateManyPipelineStageArgs { - - @Field(() => PipelineStageUpdateManyMutationInput, {nullable:false}) - @Type(() => PipelineStageUpdateManyMutationInput) - @ValidateNested({each: true}) - @Type(() => PipelineStageUpdateManyMutationInput) - data!: PipelineStageUpdateManyMutationInput; - - @Field(() => PipelineStageWhereInput, {nullable:true}) - @Type(() => PipelineStageWhereInput) - where?: PipelineStageWhereInput; -} diff --git a/server/src/core/@generated/pipeline-stage/update-one-pipeline-stage.args.ts b/server/src/core/@generated/pipeline-stage/update-one-pipeline-stage.args.ts deleted file mode 100644 index 2a8995dc5..000000000 --- a/server/src/core/@generated/pipeline-stage/update-one-pipeline-stage.args.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PipelineStageUpdateInput } from './pipeline-stage-update.input'; -import { Type } from 'class-transformer'; -import { ValidateNested } from 'class-validator'; -import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; - -@ArgsType() -export class UpdateOnePipelineStageArgs { - - @Field(() => PipelineStageUpdateInput, {nullable:false}) - @Type(() => PipelineStageUpdateInput) - @ValidateNested({each: true}) - @Type(() => PipelineStageUpdateInput) - data!: PipelineStageUpdateInput; - - @Field(() => PipelineStageWhereUniqueInput, {nullable:false}) - @Type(() => PipelineStageWhereUniqueInput) - where!: PipelineStageWhereUniqueInput; -} diff --git a/server/src/core/@generated/pipeline-stage/upsert-one-pipeline-stage.args.ts b/server/src/core/@generated/pipeline-stage/upsert-one-pipeline-stage.args.ts deleted file mode 100644 index a12453f12..000000000 --- a/server/src/core/@generated/pipeline-stage/upsert-one-pipeline-stage.args.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; -import { Type } from 'class-transformer'; -import { PipelineStageCreateInput } from './pipeline-stage-create.input'; -import { PipelineStageUpdateInput } from './pipeline-stage-update.input'; - -@ArgsType() -export class UpsertOnePipelineStageArgs { - - @Field(() => PipelineStageWhereUniqueInput, {nullable:false}) - @Type(() => PipelineStageWhereUniqueInput) - where!: PipelineStageWhereUniqueInput; - - @Field(() => PipelineStageCreateInput, {nullable:false}) - @Type(() => PipelineStageCreateInput) - create!: PipelineStageCreateInput; - - @Field(() => PipelineStageUpdateInput, {nullable:false}) - @Type(() => PipelineStageUpdateInput) - update!: PipelineStageUpdateInput; -} diff --git a/server/src/core/@generated/pipeline/aggregate-pipeline.output.ts b/server/src/core/@generated/pipeline/aggregate-pipeline.output.ts deleted file mode 100644 index 16fda1a99..000000000 --- a/server/src/core/@generated/pipeline/aggregate-pipeline.output.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import { PipelineCountAggregate } from './pipeline-count-aggregate.output'; -import { PipelineMinAggregate } from './pipeline-min-aggregate.output'; -import { PipelineMaxAggregate } from './pipeline-max-aggregate.output'; - -@ObjectType() -export class AggregatePipeline { - - @Field(() => PipelineCountAggregate, {nullable:true}) - _count?: PipelineCountAggregate; - - @Field(() => PipelineMinAggregate, {nullable:true}) - _min?: PipelineMinAggregate; - - @Field(() => PipelineMaxAggregate, {nullable:true}) - _max?: PipelineMaxAggregate; -} diff --git a/server/src/core/@generated/pipeline/create-many-pipeline.args.ts b/server/src/core/@generated/pipeline/create-many-pipeline.args.ts deleted file mode 100644 index 58d1a1ce7..000000000 --- a/server/src/core/@generated/pipeline/create-many-pipeline.args.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PipelineCreateManyInput } from './pipeline-create-many.input'; -import { Type } from 'class-transformer'; -import { ValidateNested } from 'class-validator'; - -@ArgsType() -export class CreateManyPipelineArgs { - - @Field(() => [PipelineCreateManyInput], {nullable:false}) - @Type(() => PipelineCreateManyInput) - @ValidateNested({each: true}) - @Type(() => PipelineCreateManyInput) - data!: Array; - - @Field(() => Boolean, {nullable:true}) - skipDuplicates?: boolean; -} diff --git a/server/src/core/@generated/pipeline/create-one-pipeline.args.ts b/server/src/core/@generated/pipeline/create-one-pipeline.args.ts deleted file mode 100644 index d27b30083..000000000 --- a/server/src/core/@generated/pipeline/create-one-pipeline.args.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PipelineCreateInput } from './pipeline-create.input'; -import { Type } from 'class-transformer'; -import { ValidateNested } from 'class-validator'; - -@ArgsType() -export class CreateOnePipelineArgs { - - @Field(() => PipelineCreateInput, {nullable:false}) - @Type(() => PipelineCreateInput) - @ValidateNested({each: true}) - @Type(() => PipelineCreateInput) - data!: PipelineCreateInput; -} diff --git a/server/src/core/@generated/pipeline/delete-many-pipeline.args.ts b/server/src/core/@generated/pipeline/delete-many-pipeline.args.ts deleted file mode 100644 index bea066770..000000000 --- a/server/src/core/@generated/pipeline/delete-many-pipeline.args.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PipelineWhereInput } from './pipeline-where.input'; -import { Type } from 'class-transformer'; - -@ArgsType() -export class DeleteManyPipelineArgs { - - @Field(() => PipelineWhereInput, {nullable:true}) - @Type(() => PipelineWhereInput) - where?: PipelineWhereInput; -} diff --git a/server/src/core/@generated/pipeline/delete-one-pipeline.args.ts b/server/src/core/@generated/pipeline/delete-one-pipeline.args.ts deleted file mode 100644 index ec2904891..000000000 --- a/server/src/core/@generated/pipeline/delete-one-pipeline.args.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PipelineWhereUniqueInput } from './pipeline-where-unique.input'; -import { Type } from 'class-transformer'; - -@ArgsType() -export class DeleteOnePipelineArgs { - - @Field(() => PipelineWhereUniqueInput, {nullable:false}) - @Type(() => PipelineWhereUniqueInput) - where!: PipelineWhereUniqueInput; -} diff --git a/server/src/core/@generated/pipeline/find-first-pipeline-or-throw.args.ts b/server/src/core/@generated/pipeline/find-first-pipeline-or-throw.args.ts deleted file mode 100644 index 26faa1868..000000000 --- a/server/src/core/@generated/pipeline/find-first-pipeline-or-throw.args.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PipelineWhereInput } from './pipeline-where.input'; -import { Type } from 'class-transformer'; -import { PipelineOrderByWithRelationInput } from './pipeline-order-by-with-relation.input'; -import { PipelineWhereUniqueInput } from './pipeline-where-unique.input'; -import { Int } from '@nestjs/graphql'; -import { PipelineScalarFieldEnum } from './pipeline-scalar-field.enum'; - -@ArgsType() -export class FindFirstPipelineOrThrowArgs { - - @Field(() => PipelineWhereInput, {nullable:true}) - @Type(() => PipelineWhereInput) - where?: PipelineWhereInput; - - @Field(() => [PipelineOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; - - @Field(() => PipelineWhereUniqueInput, {nullable:true}) - cursor?: PipelineWhereUniqueInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [PipelineScalarFieldEnum], {nullable:true}) - distinct?: Array; -} diff --git a/server/src/core/@generated/pipeline/find-first-pipeline.args.ts b/server/src/core/@generated/pipeline/find-first-pipeline.args.ts deleted file mode 100644 index 6bdf0a5a1..000000000 --- a/server/src/core/@generated/pipeline/find-first-pipeline.args.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PipelineWhereInput } from './pipeline-where.input'; -import { Type } from 'class-transformer'; -import { PipelineOrderByWithRelationInput } from './pipeline-order-by-with-relation.input'; -import { PipelineWhereUniqueInput } from './pipeline-where-unique.input'; -import { Int } from '@nestjs/graphql'; -import { PipelineScalarFieldEnum } from './pipeline-scalar-field.enum'; - -@ArgsType() -export class FindFirstPipelineArgs { - - @Field(() => PipelineWhereInput, {nullable:true}) - @Type(() => PipelineWhereInput) - where?: PipelineWhereInput; - - @Field(() => [PipelineOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; - - @Field(() => PipelineWhereUniqueInput, {nullable:true}) - cursor?: PipelineWhereUniqueInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [PipelineScalarFieldEnum], {nullable:true}) - distinct?: Array; -} diff --git a/server/src/core/@generated/pipeline/find-many-pipeline.args.ts b/server/src/core/@generated/pipeline/find-many-pipeline.args.ts deleted file mode 100644 index 55d78fd3e..000000000 --- a/server/src/core/@generated/pipeline/find-many-pipeline.args.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PipelineWhereInput } from './pipeline-where.input'; -import { Type } from 'class-transformer'; -import { PipelineOrderByWithRelationInput } from './pipeline-order-by-with-relation.input'; -import { PipelineWhereUniqueInput } from './pipeline-where-unique.input'; -import { Int } from '@nestjs/graphql'; -import { PipelineScalarFieldEnum } from './pipeline-scalar-field.enum'; - -@ArgsType() -export class FindManyPipelineArgs { - - @Field(() => PipelineWhereInput, {nullable:true}) - @Type(() => PipelineWhereInput) - where?: PipelineWhereInput; - - @Field(() => [PipelineOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; - - @Field(() => PipelineWhereUniqueInput, {nullable:true}) - cursor?: PipelineWhereUniqueInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [PipelineScalarFieldEnum], {nullable:true}) - distinct?: Array; -} diff --git a/server/src/core/@generated/pipeline/find-unique-pipeline-or-throw.args.ts b/server/src/core/@generated/pipeline/find-unique-pipeline-or-throw.args.ts deleted file mode 100644 index 69a04adb4..000000000 --- a/server/src/core/@generated/pipeline/find-unique-pipeline-or-throw.args.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PipelineWhereUniqueInput } from './pipeline-where-unique.input'; -import { Type } from 'class-transformer'; - -@ArgsType() -export class FindUniquePipelineOrThrowArgs { - - @Field(() => PipelineWhereUniqueInput, {nullable:false}) - @Type(() => PipelineWhereUniqueInput) - where!: PipelineWhereUniqueInput; -} diff --git a/server/src/core/@generated/pipeline/find-unique-pipeline.args.ts b/server/src/core/@generated/pipeline/find-unique-pipeline.args.ts deleted file mode 100644 index 5d575bbe4..000000000 --- a/server/src/core/@generated/pipeline/find-unique-pipeline.args.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PipelineWhereUniqueInput } from './pipeline-where-unique.input'; -import { Type } from 'class-transformer'; - -@ArgsType() -export class FindUniquePipelineArgs { - - @Field(() => PipelineWhereUniqueInput, {nullable:false}) - @Type(() => PipelineWhereUniqueInput) - where!: PipelineWhereUniqueInput; -} diff --git a/server/src/core/@generated/pipeline/pipeline-aggregate.args.ts b/server/src/core/@generated/pipeline/pipeline-aggregate.args.ts deleted file mode 100644 index ce8191778..000000000 --- a/server/src/core/@generated/pipeline/pipeline-aggregate.args.ts +++ /dev/null @@ -1,39 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PipelineWhereInput } from './pipeline-where.input'; -import { Type } from 'class-transformer'; -import { PipelineOrderByWithRelationInput } from './pipeline-order-by-with-relation.input'; -import { PipelineWhereUniqueInput } from './pipeline-where-unique.input'; -import { Int } from '@nestjs/graphql'; -import { PipelineCountAggregateInput } from './pipeline-count-aggregate.input'; -import { PipelineMinAggregateInput } from './pipeline-min-aggregate.input'; -import { PipelineMaxAggregateInput } from './pipeline-max-aggregate.input'; - -@ArgsType() -export class PipelineAggregateArgs { - - @Field(() => PipelineWhereInput, {nullable:true}) - @Type(() => PipelineWhereInput) - where?: PipelineWhereInput; - - @Field(() => [PipelineOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; - - @Field(() => PipelineWhereUniqueInput, {nullable:true}) - cursor?: PipelineWhereUniqueInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => PipelineCountAggregateInput, {nullable:true}) - _count?: PipelineCountAggregateInput; - - @Field(() => PipelineMinAggregateInput, {nullable:true}) - _min?: PipelineMinAggregateInput; - - @Field(() => PipelineMaxAggregateInput, {nullable:true}) - _max?: PipelineMaxAggregateInput; -} diff --git a/server/src/core/@generated/pipeline/pipeline-count-aggregate.input.ts b/server/src/core/@generated/pipeline/pipeline-count-aggregate.input.ts deleted file mode 100644 index 1e72ef1b3..000000000 --- a/server/src/core/@generated/pipeline/pipeline-count-aggregate.input.ts +++ /dev/null @@ -1,34 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class PipelineCountAggregateInput { - - @Field(() => Boolean, {nullable:true}) - id?: true; - - @Field(() => Boolean, {nullable:true}) - name?: true; - - @Field(() => Boolean, {nullable:true}) - icon?: true; - - @Field(() => Boolean, {nullable:true}) - pipelineProgressableType?: true; - - @HideField() - workspaceId?: true; - - @HideField() - deletedAt?: true; - - @Field(() => Boolean, {nullable:true}) - createdAt?: true; - - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; - - @Field(() => Boolean, {nullable:true}) - _all?: true; -} diff --git a/server/src/core/@generated/pipeline/pipeline-count-aggregate.output.ts b/server/src/core/@generated/pipeline/pipeline-count-aggregate.output.ts deleted file mode 100644 index e312c63e7..000000000 --- a/server/src/core/@generated/pipeline/pipeline-count-aggregate.output.ts +++ /dev/null @@ -1,35 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import { Int } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; - -@ObjectType() -export class PipelineCountAggregate { - - @Field(() => Int, {nullable:false}) - id!: number; - - @Field(() => Int, {nullable:false}) - name!: number; - - @Field(() => Int, {nullable:false}) - icon!: number; - - @Field(() => Int, {nullable:false}) - pipelineProgressableType!: number; - - @HideField() - workspaceId!: number; - - @HideField() - deletedAt!: number; - - @Field(() => Int, {nullable:false}) - createdAt!: number; - - @Field(() => Int, {nullable:false}) - updatedAt!: number; - - @Field(() => Int, {nullable:false}) - _all!: number; -} diff --git a/server/src/core/@generated/pipeline/pipeline-count-order-by-aggregate.input.ts b/server/src/core/@generated/pipeline/pipeline-count-order-by-aggregate.input.ts deleted file mode 100644 index b3ad6d20a..000000000 --- a/server/src/core/@generated/pipeline/pipeline-count-order-by-aggregate.input.ts +++ /dev/null @@ -1,32 +0,0 @@ -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 PipelineCountOrderByAggregateInput { - - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - name?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - icon?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - pipelineProgressableType?: keyof typeof SortOrder; - - @HideField() - workspaceId?: keyof typeof SortOrder; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; -} diff --git a/server/src/core/@generated/pipeline/pipeline-count.output.ts b/server/src/core/@generated/pipeline/pipeline-count.output.ts deleted file mode 100644 index 218c5a910..000000000 --- a/server/src/core/@generated/pipeline/pipeline-count.output.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import { Int } from '@nestjs/graphql'; - -@ObjectType() -export class PipelineCount { - - @Field(() => Int, {nullable:false}) - pipelineStages?: number; - - @Field(() => Int, {nullable:false}) - pipelineProgresses?: number; -} diff --git a/server/src/core/@generated/pipeline/pipeline-create-many-workspace-input-envelope.input.ts b/server/src/core/@generated/pipeline/pipeline-create-many-workspace-input-envelope.input.ts deleted file mode 100644 index ea4799248..000000000 --- a/server/src/core/@generated/pipeline/pipeline-create-many-workspace-input-envelope.input.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineCreateManyWorkspaceInput } from './pipeline-create-many-workspace.input'; -import { Type } from 'class-transformer'; - -@InputType() -export class PipelineCreateManyWorkspaceInputEnvelope { - - @Field(() => [PipelineCreateManyWorkspaceInput], {nullable:false}) - @Type(() => PipelineCreateManyWorkspaceInput) - data!: Array; - - @Field(() => Boolean, {nullable:true}) - skipDuplicates?: boolean; -} diff --git a/server/src/core/@generated/pipeline/pipeline-create-many-workspace.input.ts b/server/src/core/@generated/pipeline/pipeline-create-many-workspace.input.ts deleted file mode 100644 index c571e668c..000000000 --- a/server/src/core/@generated/pipeline/pipeline-create-many-workspace.input.ts +++ /dev/null @@ -1,34 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class PipelineCreateManyWorkspaceInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - name!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - icon!: string; - - @Field(() => PipelineProgressableType, {nullable:true}) - pipelineProgressableType?: keyof typeof PipelineProgressableType; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/pipeline/pipeline-create-many.input.ts b/server/src/core/@generated/pipeline/pipeline-create-many.input.ts deleted file mode 100644 index d492f1d68..000000000 --- a/server/src/core/@generated/pipeline/pipeline-create-many.input.ts +++ /dev/null @@ -1,37 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class PipelineCreateManyInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - name!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - icon!: string; - - @Field(() => PipelineProgressableType, {nullable:true}) - pipelineProgressableType?: keyof typeof PipelineProgressableType; - - @HideField() - workspaceId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/pipeline/pipeline-create-nested-many-without-workspace.input.ts b/server/src/core/@generated/pipeline/pipeline-create-nested-many-without-workspace.input.ts deleted file mode 100644 index 4b75b79a3..000000000 --- a/server/src/core/@generated/pipeline/pipeline-create-nested-many-without-workspace.input.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineCreateWithoutWorkspaceInput } from './pipeline-create-without-workspace.input'; -import { Type } from 'class-transformer'; -import { PipelineCreateOrConnectWithoutWorkspaceInput } from './pipeline-create-or-connect-without-workspace.input'; -import { PipelineCreateManyWorkspaceInputEnvelope } from './pipeline-create-many-workspace-input-envelope.input'; -import { PipelineWhereUniqueInput } from './pipeline-where-unique.input'; - -@InputType() -export class PipelineCreateNestedManyWithoutWorkspaceInput { - - @Field(() => [PipelineCreateWithoutWorkspaceInput], {nullable:true}) - @Type(() => PipelineCreateWithoutWorkspaceInput) - create?: Array; - - @Field(() => [PipelineCreateOrConnectWithoutWorkspaceInput], {nullable:true}) - @Type(() => PipelineCreateOrConnectWithoutWorkspaceInput) - connectOrCreate?: Array; - - @Field(() => PipelineCreateManyWorkspaceInputEnvelope, {nullable:true}) - @Type(() => PipelineCreateManyWorkspaceInputEnvelope) - createMany?: PipelineCreateManyWorkspaceInputEnvelope; - - @Field(() => [PipelineWhereUniqueInput], {nullable:true}) - @Type(() => PipelineWhereUniqueInput) - connect?: Array; -} diff --git a/server/src/core/@generated/pipeline/pipeline-create-nested-one-without-pipeline-progresses.input.ts b/server/src/core/@generated/pipeline/pipeline-create-nested-one-without-pipeline-progresses.input.ts deleted file mode 100644 index b5387f31f..000000000 --- a/server/src/core/@generated/pipeline/pipeline-create-nested-one-without-pipeline-progresses.input.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineCreateWithoutPipelineProgressesInput } from './pipeline-create-without-pipeline-progresses.input'; -import { HideField } from '@nestjs/graphql'; -import { PipelineCreateOrConnectWithoutPipelineProgressesInput } from './pipeline-create-or-connect-without-pipeline-progresses.input'; -import { PipelineWhereUniqueInput } from './pipeline-where-unique.input'; -import { Type } from 'class-transformer'; - -@InputType() -export class PipelineCreateNestedOneWithoutPipelineProgressesInput { - - @HideField() - create?: PipelineCreateWithoutPipelineProgressesInput; - - @HideField() - connectOrCreate?: PipelineCreateOrConnectWithoutPipelineProgressesInput; - - @Field(() => PipelineWhereUniqueInput, {nullable:true}) - @Type(() => PipelineWhereUniqueInput) - connect?: PipelineWhereUniqueInput; -} diff --git a/server/src/core/@generated/pipeline/pipeline-create-nested-one-without-pipeline-stages.input.ts b/server/src/core/@generated/pipeline/pipeline-create-nested-one-without-pipeline-stages.input.ts deleted file mode 100644 index 0c3183a55..000000000 --- a/server/src/core/@generated/pipeline/pipeline-create-nested-one-without-pipeline-stages.input.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineCreateWithoutPipelineStagesInput } from './pipeline-create-without-pipeline-stages.input'; -import { Type } from 'class-transformer'; -import { PipelineCreateOrConnectWithoutPipelineStagesInput } from './pipeline-create-or-connect-without-pipeline-stages.input'; -import { PipelineWhereUniqueInput } from './pipeline-where-unique.input'; - -@InputType() -export class PipelineCreateNestedOneWithoutPipelineStagesInput { - - @Field(() => PipelineCreateWithoutPipelineStagesInput, {nullable:true}) - @Type(() => PipelineCreateWithoutPipelineStagesInput) - create?: PipelineCreateWithoutPipelineStagesInput; - - @Field(() => PipelineCreateOrConnectWithoutPipelineStagesInput, {nullable:true}) - @Type(() => PipelineCreateOrConnectWithoutPipelineStagesInput) - connectOrCreate?: PipelineCreateOrConnectWithoutPipelineStagesInput; - - @Field(() => PipelineWhereUniqueInput, {nullable:true}) - @Type(() => PipelineWhereUniqueInput) - connect?: PipelineWhereUniqueInput; -} diff --git a/server/src/core/@generated/pipeline/pipeline-create-or-connect-without-pipeline-progresses.input.ts b/server/src/core/@generated/pipeline/pipeline-create-or-connect-without-pipeline-progresses.input.ts deleted file mode 100644 index ad91c395c..000000000 --- a/server/src/core/@generated/pipeline/pipeline-create-or-connect-without-pipeline-progresses.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineWhereUniqueInput } from './pipeline-where-unique.input'; -import { Type } from 'class-transformer'; -import { PipelineCreateWithoutPipelineProgressesInput } from './pipeline-create-without-pipeline-progresses.input'; - -@InputType() -export class PipelineCreateOrConnectWithoutPipelineProgressesInput { - - @Field(() => PipelineWhereUniqueInput, {nullable:false}) - @Type(() => PipelineWhereUniqueInput) - where!: PipelineWhereUniqueInput; - - @Field(() => PipelineCreateWithoutPipelineProgressesInput, {nullable:false}) - @Type(() => PipelineCreateWithoutPipelineProgressesInput) - create!: PipelineCreateWithoutPipelineProgressesInput; -} diff --git a/server/src/core/@generated/pipeline/pipeline-create-or-connect-without-pipeline-stages.input.ts b/server/src/core/@generated/pipeline/pipeline-create-or-connect-without-pipeline-stages.input.ts deleted file mode 100644 index 4db5abc54..000000000 --- a/server/src/core/@generated/pipeline/pipeline-create-or-connect-without-pipeline-stages.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineWhereUniqueInput } from './pipeline-where-unique.input'; -import { Type } from 'class-transformer'; -import { PipelineCreateWithoutPipelineStagesInput } from './pipeline-create-without-pipeline-stages.input'; - -@InputType() -export class PipelineCreateOrConnectWithoutPipelineStagesInput { - - @Field(() => PipelineWhereUniqueInput, {nullable:false}) - @Type(() => PipelineWhereUniqueInput) - where!: PipelineWhereUniqueInput; - - @Field(() => PipelineCreateWithoutPipelineStagesInput, {nullable:false}) - @Type(() => PipelineCreateWithoutPipelineStagesInput) - create!: PipelineCreateWithoutPipelineStagesInput; -} diff --git a/server/src/core/@generated/pipeline/pipeline-create-or-connect-without-workspace.input.ts b/server/src/core/@generated/pipeline/pipeline-create-or-connect-without-workspace.input.ts deleted file mode 100644 index 7c15da711..000000000 --- a/server/src/core/@generated/pipeline/pipeline-create-or-connect-without-workspace.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineWhereUniqueInput } from './pipeline-where-unique.input'; -import { Type } from 'class-transformer'; -import { PipelineCreateWithoutWorkspaceInput } from './pipeline-create-without-workspace.input'; - -@InputType() -export class PipelineCreateOrConnectWithoutWorkspaceInput { - - @Field(() => PipelineWhereUniqueInput, {nullable:false}) - @Type(() => PipelineWhereUniqueInput) - where!: PipelineWhereUniqueInput; - - @Field(() => PipelineCreateWithoutWorkspaceInput, {nullable:false}) - @Type(() => PipelineCreateWithoutWorkspaceInput) - create!: PipelineCreateWithoutWorkspaceInput; -} diff --git a/server/src/core/@generated/pipeline/pipeline-create-without-pipeline-progresses.input.ts b/server/src/core/@generated/pipeline/pipeline-create-without-pipeline-progresses.input.ts deleted file mode 100644 index d6caae5ea..000000000 --- a/server/src/core/@generated/pipeline/pipeline-create-without-pipeline-progresses.input.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum'; -import { HideField } from '@nestjs/graphql'; -import { PipelineStageCreateNestedManyWithoutPipelineInput } from '../pipeline-stage/pipeline-stage-create-nested-many-without-pipeline.input'; -import { WorkspaceCreateNestedOneWithoutPipelinesInput } from '../workspace/workspace-create-nested-one-without-pipelines.input'; - -@InputType() -export class PipelineCreateWithoutPipelineProgressesInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - name!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - icon!: string; - - @Field(() => PipelineProgressableType, {nullable:true}) - pipelineProgressableType?: keyof typeof PipelineProgressableType; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => PipelineStageCreateNestedManyWithoutPipelineInput, {nullable:true}) - pipelineStages?: PipelineStageCreateNestedManyWithoutPipelineInput; - - @HideField() - workspace!: WorkspaceCreateNestedOneWithoutPipelinesInput; -} diff --git a/server/src/core/@generated/pipeline/pipeline-create-without-pipeline-stages.input.ts b/server/src/core/@generated/pipeline/pipeline-create-without-pipeline-stages.input.ts deleted file mode 100644 index 6d70864f7..000000000 --- a/server/src/core/@generated/pipeline/pipeline-create-without-pipeline-stages.input.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum'; -import { HideField } from '@nestjs/graphql'; -import { PipelineProgressCreateNestedManyWithoutPipelineInput } from '../pipeline-progress/pipeline-progress-create-nested-many-without-pipeline.input'; -import { WorkspaceCreateNestedOneWithoutPipelinesInput } from '../workspace/workspace-create-nested-one-without-pipelines.input'; - -@InputType() -export class PipelineCreateWithoutPipelineStagesInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - name!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - icon!: string; - - @Field(() => PipelineProgressableType, {nullable:true}) - pipelineProgressableType?: keyof typeof PipelineProgressableType; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => PipelineProgressCreateNestedManyWithoutPipelineInput, {nullable:true}) - pipelineProgresses?: PipelineProgressCreateNestedManyWithoutPipelineInput; - - @HideField() - workspace!: WorkspaceCreateNestedOneWithoutPipelinesInput; -} diff --git a/server/src/core/@generated/pipeline/pipeline-create-without-workspace.input.ts b/server/src/core/@generated/pipeline/pipeline-create-without-workspace.input.ts deleted file mode 100644 index 86162402e..000000000 --- a/server/src/core/@generated/pipeline/pipeline-create-without-workspace.input.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum'; -import { HideField } from '@nestjs/graphql'; -import { PipelineStageCreateNestedManyWithoutPipelineInput } from '../pipeline-stage/pipeline-stage-create-nested-many-without-pipeline.input'; -import { PipelineProgressCreateNestedManyWithoutPipelineInput } from '../pipeline-progress/pipeline-progress-create-nested-many-without-pipeline.input'; - -@InputType() -export class PipelineCreateWithoutWorkspaceInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - name!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - icon!: string; - - @Field(() => PipelineProgressableType, {nullable:true}) - pipelineProgressableType?: keyof typeof PipelineProgressableType; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => PipelineStageCreateNestedManyWithoutPipelineInput, {nullable:true}) - pipelineStages?: PipelineStageCreateNestedManyWithoutPipelineInput; - - @Field(() => PipelineProgressCreateNestedManyWithoutPipelineInput, {nullable:true}) - pipelineProgresses?: PipelineProgressCreateNestedManyWithoutPipelineInput; -} diff --git a/server/src/core/@generated/pipeline/pipeline-create.input.ts b/server/src/core/@generated/pipeline/pipeline-create.input.ts deleted file mode 100644 index c55a787dd..000000000 --- a/server/src/core/@generated/pipeline/pipeline-create.input.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum'; -import { HideField } from '@nestjs/graphql'; -import { PipelineStageCreateNestedManyWithoutPipelineInput } from '../pipeline-stage/pipeline-stage-create-nested-many-without-pipeline.input'; -import { PipelineProgressCreateNestedManyWithoutPipelineInput } from '../pipeline-progress/pipeline-progress-create-nested-many-without-pipeline.input'; -import { WorkspaceCreateNestedOneWithoutPipelinesInput } from '../workspace/workspace-create-nested-one-without-pipelines.input'; - -@InputType() -export class PipelineCreateInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - name!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - icon!: string; - - @Field(() => PipelineProgressableType, {nullable:true}) - pipelineProgressableType?: keyof typeof PipelineProgressableType; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => PipelineStageCreateNestedManyWithoutPipelineInput, {nullable:true}) - pipelineStages?: PipelineStageCreateNestedManyWithoutPipelineInput; - - @Field(() => PipelineProgressCreateNestedManyWithoutPipelineInput, {nullable:true}) - pipelineProgresses?: PipelineProgressCreateNestedManyWithoutPipelineInput; - - @HideField() - workspace!: WorkspaceCreateNestedOneWithoutPipelinesInput; -} diff --git a/server/src/core/@generated/pipeline/pipeline-group-by.args.ts b/server/src/core/@generated/pipeline/pipeline-group-by.args.ts deleted file mode 100644 index ba80cb757..000000000 --- a/server/src/core/@generated/pipeline/pipeline-group-by.args.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PipelineWhereInput } from './pipeline-where.input'; -import { Type } from 'class-transformer'; -import { PipelineOrderByWithAggregationInput } from './pipeline-order-by-with-aggregation.input'; -import { PipelineScalarFieldEnum } from './pipeline-scalar-field.enum'; -import { PipelineScalarWhereWithAggregatesInput } from './pipeline-scalar-where-with-aggregates.input'; -import { Int } from '@nestjs/graphql'; -import { PipelineCountAggregateInput } from './pipeline-count-aggregate.input'; -import { PipelineMinAggregateInput } from './pipeline-min-aggregate.input'; -import { PipelineMaxAggregateInput } from './pipeline-max-aggregate.input'; - -@ArgsType() -export class PipelineGroupByArgs { - - @Field(() => PipelineWhereInput, {nullable:true}) - @Type(() => PipelineWhereInput) - where?: PipelineWhereInput; - - @Field(() => [PipelineOrderByWithAggregationInput], {nullable:true}) - orderBy?: Array; - - @Field(() => [PipelineScalarFieldEnum], {nullable:false}) - by!: Array; - - @Field(() => PipelineScalarWhereWithAggregatesInput, {nullable:true}) - having?: PipelineScalarWhereWithAggregatesInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => PipelineCountAggregateInput, {nullable:true}) - _count?: PipelineCountAggregateInput; - - @Field(() => PipelineMinAggregateInput, {nullable:true}) - _min?: PipelineMinAggregateInput; - - @Field(() => PipelineMaxAggregateInput, {nullable:true}) - _max?: PipelineMaxAggregateInput; -} diff --git a/server/src/core/@generated/pipeline/pipeline-group-by.output.ts b/server/src/core/@generated/pipeline/pipeline-group-by.output.ts deleted file mode 100644 index 40a2fc00b..000000000 --- a/server/src/core/@generated/pipeline/pipeline-group-by.output.ts +++ /dev/null @@ -1,49 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum'; -import { HideField } from '@nestjs/graphql'; -import { PipelineCountAggregate } from './pipeline-count-aggregate.output'; -import { PipelineMinAggregate } from './pipeline-min-aggregate.output'; -import { PipelineMaxAggregate } from './pipeline-max-aggregate.output'; - -@ObjectType() -export class PipelineGroupBy { - - @Field(() => String, {nullable:false}) - @Validator.IsString() - @Validator.IsOptional() - id!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - name!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - icon!: string; - - @Field(() => PipelineProgressableType, {nullable:false}) - pipelineProgressableType!: keyof typeof PipelineProgressableType; - - @HideField() - workspaceId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:false}) - createdAt!: Date | string; - - @Field(() => Date, {nullable:false}) - updatedAt!: Date | string; - - @Field(() => PipelineCountAggregate, {nullable:true}) - _count?: PipelineCountAggregate; - - @Field(() => PipelineMinAggregate, {nullable:true}) - _min?: PipelineMinAggregate; - - @Field(() => PipelineMaxAggregate, {nullable:true}) - _max?: PipelineMaxAggregate; -} diff --git a/server/src/core/@generated/pipeline/pipeline-list-relation-filter.input.ts b/server/src/core/@generated/pipeline/pipeline-list-relation-filter.input.ts deleted file mode 100644 index 9e40c9a17..000000000 --- a/server/src/core/@generated/pipeline/pipeline-list-relation-filter.input.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineWhereInput } from './pipeline-where.input'; - -@InputType() -export class PipelineListRelationFilter { - - @Field(() => PipelineWhereInput, {nullable:true}) - every?: PipelineWhereInput; - - @Field(() => PipelineWhereInput, {nullable:true}) - some?: PipelineWhereInput; - - @Field(() => PipelineWhereInput, {nullable:true}) - none?: PipelineWhereInput; -} diff --git a/server/src/core/@generated/pipeline/pipeline-max-aggregate.input.ts b/server/src/core/@generated/pipeline/pipeline-max-aggregate.input.ts deleted file mode 100644 index 5cbaed04a..000000000 --- a/server/src/core/@generated/pipeline/pipeline-max-aggregate.input.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class PipelineMaxAggregateInput { - - @Field(() => Boolean, {nullable:true}) - id?: true; - - @Field(() => Boolean, {nullable:true}) - name?: true; - - @Field(() => Boolean, {nullable:true}) - icon?: true; - - @Field(() => Boolean, {nullable:true}) - pipelineProgressableType?: true; - - @HideField() - workspaceId?: true; - - @HideField() - deletedAt?: true; - - @Field(() => Boolean, {nullable:true}) - createdAt?: true; - - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; -} diff --git a/server/src/core/@generated/pipeline/pipeline-max-aggregate.output.ts b/server/src/core/@generated/pipeline/pipeline-max-aggregate.output.ts deleted file mode 100644 index b8820ca68..000000000 --- a/server/src/core/@generated/pipeline/pipeline-max-aggregate.output.ts +++ /dev/null @@ -1,37 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum'; -import { HideField } from '@nestjs/graphql'; - -@ObjectType() -export class PipelineMaxAggregate { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - name?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - icon?: string; - - @Field(() => PipelineProgressableType, {nullable:true}) - pipelineProgressableType?: keyof typeof PipelineProgressableType; - - @HideField() - workspaceId?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/pipeline/pipeline-max-order-by-aggregate.input.ts b/server/src/core/@generated/pipeline/pipeline-max-order-by-aggregate.input.ts deleted file mode 100644 index ce13d8793..000000000 --- a/server/src/core/@generated/pipeline/pipeline-max-order-by-aggregate.input.ts +++ /dev/null @@ -1,32 +0,0 @@ -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 PipelineMaxOrderByAggregateInput { - - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - name?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - icon?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - pipelineProgressableType?: keyof typeof SortOrder; - - @HideField() - workspaceId?: keyof typeof SortOrder; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; -} diff --git a/server/src/core/@generated/pipeline/pipeline-min-aggregate.input.ts b/server/src/core/@generated/pipeline/pipeline-min-aggregate.input.ts deleted file mode 100644 index cac27c8b5..000000000 --- a/server/src/core/@generated/pipeline/pipeline-min-aggregate.input.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class PipelineMinAggregateInput { - - @Field(() => Boolean, {nullable:true}) - id?: true; - - @Field(() => Boolean, {nullable:true}) - name?: true; - - @Field(() => Boolean, {nullable:true}) - icon?: true; - - @Field(() => Boolean, {nullable:true}) - pipelineProgressableType?: true; - - @HideField() - workspaceId?: true; - - @HideField() - deletedAt?: true; - - @Field(() => Boolean, {nullable:true}) - createdAt?: true; - - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; -} diff --git a/server/src/core/@generated/pipeline/pipeline-min-aggregate.output.ts b/server/src/core/@generated/pipeline/pipeline-min-aggregate.output.ts deleted file mode 100644 index a772c42d2..000000000 --- a/server/src/core/@generated/pipeline/pipeline-min-aggregate.output.ts +++ /dev/null @@ -1,37 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum'; -import { HideField } from '@nestjs/graphql'; - -@ObjectType() -export class PipelineMinAggregate { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - name?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - icon?: string; - - @Field(() => PipelineProgressableType, {nullable:true}) - pipelineProgressableType?: keyof typeof PipelineProgressableType; - - @HideField() - workspaceId?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/pipeline/pipeline-min-order-by-aggregate.input.ts b/server/src/core/@generated/pipeline/pipeline-min-order-by-aggregate.input.ts deleted file mode 100644 index c362c9341..000000000 --- a/server/src/core/@generated/pipeline/pipeline-min-order-by-aggregate.input.ts +++ /dev/null @@ -1,32 +0,0 @@ -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 PipelineMinOrderByAggregateInput { - - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - name?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - icon?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - pipelineProgressableType?: keyof typeof SortOrder; - - @HideField() - workspaceId?: keyof typeof SortOrder; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; -} diff --git a/server/src/core/@generated/pipeline/pipeline-order-by-relation-aggregate.input.ts b/server/src/core/@generated/pipeline/pipeline-order-by-relation-aggregate.input.ts deleted file mode 100644 index d08044ccf..000000000 --- a/server/src/core/@generated/pipeline/pipeline-order-by-relation-aggregate.input.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { SortOrder } from '../prisma/sort-order.enum'; - -@InputType() -export class PipelineOrderByRelationAggregateInput { - - @Field(() => SortOrder, {nullable:true}) - _count?: keyof typeof SortOrder; -} diff --git a/server/src/core/@generated/pipeline/pipeline-order-by-with-aggregation.input.ts b/server/src/core/@generated/pipeline/pipeline-order-by-with-aggregation.input.ts deleted file mode 100644 index c9791c513..000000000 --- a/server/src/core/@generated/pipeline/pipeline-order-by-with-aggregation.input.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { SortOrder } from '../prisma/sort-order.enum'; -import { HideField } from '@nestjs/graphql'; -import { PipelineCountOrderByAggregateInput } from './pipeline-count-order-by-aggregate.input'; -import { PipelineMaxOrderByAggregateInput } from './pipeline-max-order-by-aggregate.input'; -import { PipelineMinOrderByAggregateInput } from './pipeline-min-order-by-aggregate.input'; - -@InputType() -export class PipelineOrderByWithAggregationInput { - - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - name?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - icon?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - pipelineProgressableType?: keyof typeof SortOrder; - - @HideField() - workspaceId?: keyof typeof SortOrder; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; - - @Field(() => PipelineCountOrderByAggregateInput, {nullable:true}) - _count?: PipelineCountOrderByAggregateInput; - - @Field(() => PipelineMaxOrderByAggregateInput, {nullable:true}) - _max?: PipelineMaxOrderByAggregateInput; - - @Field(() => PipelineMinOrderByAggregateInput, {nullable:true}) - _min?: PipelineMinOrderByAggregateInput; -} diff --git a/server/src/core/@generated/pipeline/pipeline-order-by-with-relation.input.ts b/server/src/core/@generated/pipeline/pipeline-order-by-with-relation.input.ts deleted file mode 100644 index bfbfa33fd..000000000 --- a/server/src/core/@generated/pipeline/pipeline-order-by-with-relation.input.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { SortOrder } from '../prisma/sort-order.enum'; -import { HideField } from '@nestjs/graphql'; -import { PipelineStageOrderByRelationAggregateInput } from '../pipeline-stage/pipeline-stage-order-by-relation-aggregate.input'; -import { PipelineProgressOrderByRelationAggregateInput } from '../pipeline-progress/pipeline-progress-order-by-relation-aggregate.input'; -import { WorkspaceOrderByWithRelationInput } from '../workspace/workspace-order-by-with-relation.input'; - -@InputType() -export class PipelineOrderByWithRelationInput { - - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - name?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - icon?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - pipelineProgressableType?: keyof typeof SortOrder; - - @HideField() - workspaceId?: keyof typeof SortOrder; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; - - @Field(() => PipelineStageOrderByRelationAggregateInput, {nullable:true}) - pipelineStages?: PipelineStageOrderByRelationAggregateInput; - - @Field(() => PipelineProgressOrderByRelationAggregateInput, {nullable:true}) - pipelineProgresses?: PipelineProgressOrderByRelationAggregateInput; - - @HideField() - workspace?: WorkspaceOrderByWithRelationInput; -} diff --git a/server/src/core/@generated/pipeline/pipeline-progress-aggregate.args.ts b/server/src/core/@generated/pipeline/pipeline-progress-aggregate.args.ts deleted file mode 100644 index 6375de649..000000000 --- a/server/src/core/@generated/pipeline/pipeline-progress-aggregate.args.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PipelineProgressWhereInput } from '../pipeline-progress/pipeline-progress-where.input'; -import { Type } from 'class-transformer'; -import { PipelineProgressOrderByWithRelationInput } from '../pipeline-progress/pipeline-progress-order-by-with-relation.input'; -import { PipelineProgressWhereUniqueInput } from '../pipeline-progress/pipeline-progress-where-unique.input'; -import { Int } from '@nestjs/graphql'; -import { PipelineProgressCountAggregateInput } from '../pipeline-progress/pipeline-progress-count-aggregate.input'; -import { PipelineProgressAvgAggregateInput } from '../pipeline-progress/pipeline-progress-avg-aggregate.input'; -import { PipelineProgressSumAggregateInput } from '../pipeline-progress/pipeline-progress-sum-aggregate.input'; -import { PipelineProgressMinAggregateInput } from '../pipeline-progress/pipeline-progress-min-aggregate.input'; -import { PipelineProgressMaxAggregateInput } from '../pipeline-progress/pipeline-progress-max-aggregate.input'; - -@ArgsType() -export class PipelineProgressAggregateArgs { - - @Field(() => PipelineProgressWhereInput, {nullable:true}) - @Type(() => PipelineProgressWhereInput) - where?: PipelineProgressWhereInput; - - @Field(() => [PipelineProgressOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; - - @Field(() => PipelineProgressWhereUniqueInput, {nullable:true}) - cursor?: PipelineProgressWhereUniqueInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => PipelineProgressCountAggregateInput, {nullable:true}) - _count?: PipelineProgressCountAggregateInput; - - @Field(() => PipelineProgressAvgAggregateInput, {nullable:true}) - _avg?: PipelineProgressAvgAggregateInput; - - @Field(() => PipelineProgressSumAggregateInput, {nullable:true}) - _sum?: PipelineProgressSumAggregateInput; - - @Field(() => PipelineProgressMinAggregateInput, {nullable:true}) - _min?: PipelineProgressMinAggregateInput; - - @Field(() => PipelineProgressMaxAggregateInput, {nullable:true}) - _max?: PipelineProgressMaxAggregateInput; -} diff --git a/server/src/core/@generated/pipeline/pipeline-relation-filter.input.ts b/server/src/core/@generated/pipeline/pipeline-relation-filter.input.ts deleted file mode 100644 index ae5dc56ce..000000000 --- a/server/src/core/@generated/pipeline/pipeline-relation-filter.input.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineWhereInput } from './pipeline-where.input'; - -@InputType() -export class PipelineRelationFilter { - - @Field(() => PipelineWhereInput, {nullable:true}) - is?: PipelineWhereInput; - - @Field(() => PipelineWhereInput, {nullable:true}) - isNot?: PipelineWhereInput; -} diff --git a/server/src/core/@generated/pipeline/pipeline-scalar-field.enum.ts b/server/src/core/@generated/pipeline/pipeline-scalar-field.enum.ts deleted file mode 100644 index dbea46bef..000000000 --- a/server/src/core/@generated/pipeline/pipeline-scalar-field.enum.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { registerEnumType } from '@nestjs/graphql'; - -export enum PipelineScalarFieldEnum { - id = "id", - name = "name", - icon = "icon", - pipelineProgressableType = "pipelineProgressableType", - workspaceId = "workspaceId", - deletedAt = "deletedAt", - createdAt = "createdAt", - updatedAt = "updatedAt" -} - - -registerEnumType(PipelineScalarFieldEnum, { name: 'PipelineScalarFieldEnum', description: undefined }) diff --git a/server/src/core/@generated/pipeline/pipeline-scalar-where-with-aggregates.input.ts b/server/src/core/@generated/pipeline/pipeline-scalar-where-with-aggregates.input.ts deleted file mode 100644 index d511eef62..000000000 --- a/server/src/core/@generated/pipeline/pipeline-scalar-where-with-aggregates.input.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringWithAggregatesFilter } from '../prisma/string-with-aggregates-filter.input'; -import { EnumPipelineProgressableTypeWithAggregatesFilter } from '../prisma/enum-pipeline-progressable-type-with-aggregates-filter.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeNullableWithAggregatesFilter } from '../prisma/date-time-nullable-with-aggregates-filter.input'; -import { DateTimeWithAggregatesFilter } from '../prisma/date-time-with-aggregates-filter.input'; - -@InputType() -export class PipelineScalarWhereWithAggregatesInput { - - @Field(() => [PipelineScalarWhereWithAggregatesInput], {nullable:true}) - AND?: Array; - - @Field(() => [PipelineScalarWhereWithAggregatesInput], {nullable:true}) - OR?: Array; - - @Field(() => [PipelineScalarWhereWithAggregatesInput], {nullable:true}) - NOT?: Array; - - @Field(() => StringWithAggregatesFilter, {nullable:true}) - id?: StringWithAggregatesFilter; - - @Field(() => StringWithAggregatesFilter, {nullable:true}) - name?: StringWithAggregatesFilter; - - @Field(() => StringWithAggregatesFilter, {nullable:true}) - icon?: StringWithAggregatesFilter; - - @Field(() => EnumPipelineProgressableTypeWithAggregatesFilter, {nullable:true}) - pipelineProgressableType?: EnumPipelineProgressableTypeWithAggregatesFilter; - - @HideField() - workspaceId?: StringWithAggregatesFilter; - - @HideField() - deletedAt?: DateTimeNullableWithAggregatesFilter; - - @Field(() => DateTimeWithAggregatesFilter, {nullable:true}) - createdAt?: DateTimeWithAggregatesFilter; - - @Field(() => DateTimeWithAggregatesFilter, {nullable:true}) - updatedAt?: DateTimeWithAggregatesFilter; -} diff --git a/server/src/core/@generated/pipeline/pipeline-scalar-where.input.ts b/server/src/core/@generated/pipeline/pipeline-scalar-where.input.ts deleted file mode 100644 index 1461d9b9e..000000000 --- a/server/src/core/@generated/pipeline/pipeline-scalar-where.input.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFilter } from '../prisma/string-filter.input'; -import { EnumPipelineProgressableTypeFilter } from '../prisma/enum-pipeline-progressable-type-filter.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input'; -import { DateTimeFilter } from '../prisma/date-time-filter.input'; - -@InputType() -export class PipelineScalarWhereInput { - - @Field(() => [PipelineScalarWhereInput], {nullable:true}) - AND?: Array; - - @Field(() => [PipelineScalarWhereInput], {nullable:true}) - OR?: Array; - - @Field(() => [PipelineScalarWhereInput], {nullable:true}) - NOT?: Array; - - @Field(() => StringFilter, {nullable:true}) - id?: StringFilter; - - @Field(() => StringFilter, {nullable:true}) - name?: StringFilter; - - @Field(() => StringFilter, {nullable:true}) - icon?: StringFilter; - - @Field(() => EnumPipelineProgressableTypeFilter, {nullable:true}) - pipelineProgressableType?: EnumPipelineProgressableTypeFilter; - - @HideField() - workspaceId?: StringFilter; - - @HideField() - deletedAt?: DateTimeNullableFilter; - - @Field(() => DateTimeFilter, {nullable:true}) - createdAt?: DateTimeFilter; - - @Field(() => DateTimeFilter, {nullable:true}) - updatedAt?: DateTimeFilter; -} diff --git a/server/src/core/@generated/pipeline/pipeline-unchecked-create-nested-many-without-workspace.input.ts b/server/src/core/@generated/pipeline/pipeline-unchecked-create-nested-many-without-workspace.input.ts deleted file mode 100644 index 9c222d44c..000000000 --- a/server/src/core/@generated/pipeline/pipeline-unchecked-create-nested-many-without-workspace.input.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineCreateWithoutWorkspaceInput } from './pipeline-create-without-workspace.input'; -import { Type } from 'class-transformer'; -import { PipelineCreateOrConnectWithoutWorkspaceInput } from './pipeline-create-or-connect-without-workspace.input'; -import { PipelineCreateManyWorkspaceInputEnvelope } from './pipeline-create-many-workspace-input-envelope.input'; -import { PipelineWhereUniqueInput } from './pipeline-where-unique.input'; - -@InputType() -export class PipelineUncheckedCreateNestedManyWithoutWorkspaceInput { - - @Field(() => [PipelineCreateWithoutWorkspaceInput], {nullable:true}) - @Type(() => PipelineCreateWithoutWorkspaceInput) - create?: Array; - - @Field(() => [PipelineCreateOrConnectWithoutWorkspaceInput], {nullable:true}) - @Type(() => PipelineCreateOrConnectWithoutWorkspaceInput) - connectOrCreate?: Array; - - @Field(() => PipelineCreateManyWorkspaceInputEnvelope, {nullable:true}) - @Type(() => PipelineCreateManyWorkspaceInputEnvelope) - createMany?: PipelineCreateManyWorkspaceInputEnvelope; - - @Field(() => [PipelineWhereUniqueInput], {nullable:true}) - @Type(() => PipelineWhereUniqueInput) - connect?: Array; -} diff --git a/server/src/core/@generated/pipeline/pipeline-unchecked-create-without-pipeline-progresses.input.ts b/server/src/core/@generated/pipeline/pipeline-unchecked-create-without-pipeline-progresses.input.ts deleted file mode 100644 index 53d286c97..000000000 --- a/server/src/core/@generated/pipeline/pipeline-unchecked-create-without-pipeline-progresses.input.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum'; -import { HideField } from '@nestjs/graphql'; -import { PipelineStageUncheckedCreateNestedManyWithoutPipelineInput } from '../pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-pipeline.input'; - -@InputType() -export class PipelineUncheckedCreateWithoutPipelineProgressesInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - name!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - icon!: string; - - @Field(() => PipelineProgressableType, {nullable:true}) - pipelineProgressableType?: keyof typeof PipelineProgressableType; - - @HideField() - workspaceId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => PipelineStageUncheckedCreateNestedManyWithoutPipelineInput, {nullable:true}) - pipelineStages?: PipelineStageUncheckedCreateNestedManyWithoutPipelineInput; -} diff --git a/server/src/core/@generated/pipeline/pipeline-unchecked-create-without-pipeline-stages.input.ts b/server/src/core/@generated/pipeline/pipeline-unchecked-create-without-pipeline-stages.input.ts deleted file mode 100644 index 35ebb9c9a..000000000 --- a/server/src/core/@generated/pipeline/pipeline-unchecked-create-without-pipeline-stages.input.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum'; -import { HideField } from '@nestjs/graphql'; -import { PipelineProgressUncheckedCreateNestedManyWithoutPipelineInput } from '../pipeline-progress/pipeline-progress-unchecked-create-nested-many-without-pipeline.input'; - -@InputType() -export class PipelineUncheckedCreateWithoutPipelineStagesInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - name!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - icon!: string; - - @Field(() => PipelineProgressableType, {nullable:true}) - pipelineProgressableType?: keyof typeof PipelineProgressableType; - - @HideField() - workspaceId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => PipelineProgressUncheckedCreateNestedManyWithoutPipelineInput, {nullable:true}) - pipelineProgresses?: PipelineProgressUncheckedCreateNestedManyWithoutPipelineInput; -} diff --git a/server/src/core/@generated/pipeline/pipeline-unchecked-create-without-workspace.input.ts b/server/src/core/@generated/pipeline/pipeline-unchecked-create-without-workspace.input.ts deleted file mode 100644 index bad372d6f..000000000 --- a/server/src/core/@generated/pipeline/pipeline-unchecked-create-without-workspace.input.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum'; -import { HideField } from '@nestjs/graphql'; -import { PipelineStageUncheckedCreateNestedManyWithoutPipelineInput } from '../pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-pipeline.input'; -import { PipelineProgressUncheckedCreateNestedManyWithoutPipelineInput } from '../pipeline-progress/pipeline-progress-unchecked-create-nested-many-without-pipeline.input'; - -@InputType() -export class PipelineUncheckedCreateWithoutWorkspaceInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - name!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - icon!: string; - - @Field(() => PipelineProgressableType, {nullable:true}) - pipelineProgressableType?: keyof typeof PipelineProgressableType; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => PipelineStageUncheckedCreateNestedManyWithoutPipelineInput, {nullable:true}) - pipelineStages?: PipelineStageUncheckedCreateNestedManyWithoutPipelineInput; - - @Field(() => PipelineProgressUncheckedCreateNestedManyWithoutPipelineInput, {nullable:true}) - pipelineProgresses?: PipelineProgressUncheckedCreateNestedManyWithoutPipelineInput; -} diff --git a/server/src/core/@generated/pipeline/pipeline-unchecked-create.input.ts b/server/src/core/@generated/pipeline/pipeline-unchecked-create.input.ts deleted file mode 100644 index a7f77316b..000000000 --- a/server/src/core/@generated/pipeline/pipeline-unchecked-create.input.ts +++ /dev/null @@ -1,45 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum'; -import { HideField } from '@nestjs/graphql'; -import { PipelineStageUncheckedCreateNestedManyWithoutPipelineInput } from '../pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-pipeline.input'; -import { PipelineProgressUncheckedCreateNestedManyWithoutPipelineInput } from '../pipeline-progress/pipeline-progress-unchecked-create-nested-many-without-pipeline.input'; - -@InputType() -export class PipelineUncheckedCreateInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - name!: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - icon!: string; - - @Field(() => PipelineProgressableType, {nullable:true}) - pipelineProgressableType?: keyof typeof PipelineProgressableType; - - @HideField() - workspaceId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => PipelineStageUncheckedCreateNestedManyWithoutPipelineInput, {nullable:true}) - pipelineStages?: PipelineStageUncheckedCreateNestedManyWithoutPipelineInput; - - @Field(() => PipelineProgressUncheckedCreateNestedManyWithoutPipelineInput, {nullable:true}) - pipelineProgresses?: PipelineProgressUncheckedCreateNestedManyWithoutPipelineInput; -} diff --git a/server/src/core/@generated/pipeline/pipeline-unchecked-update-many-without-pipelines.input.ts b/server/src/core/@generated/pipeline/pipeline-unchecked-update-many-without-pipelines.input.ts deleted file mode 100644 index a648ecd27..000000000 --- a/server/src/core/@generated/pipeline/pipeline-unchecked-update-many-without-pipelines.input.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class PipelineUncheckedUpdateManyWithoutPipelinesInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - name?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - icon?: StringFieldUpdateOperationsInput; - - @Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, {nullable:true}) - pipelineProgressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/pipeline/pipeline-unchecked-update-many-without-workspace-nested.input.ts b/server/src/core/@generated/pipeline/pipeline-unchecked-update-many-without-workspace-nested.input.ts deleted file mode 100644 index 82342b4e9..000000000 --- a/server/src/core/@generated/pipeline/pipeline-unchecked-update-many-without-workspace-nested.input.ts +++ /dev/null @@ -1,59 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineCreateWithoutWorkspaceInput } from './pipeline-create-without-workspace.input'; -import { Type } from 'class-transformer'; -import { PipelineCreateOrConnectWithoutWorkspaceInput } from './pipeline-create-or-connect-without-workspace.input'; -import { PipelineUpsertWithWhereUniqueWithoutWorkspaceInput } from './pipeline-upsert-with-where-unique-without-workspace.input'; -import { PipelineCreateManyWorkspaceInputEnvelope } from './pipeline-create-many-workspace-input-envelope.input'; -import { PipelineWhereUniqueInput } from './pipeline-where-unique.input'; -import { PipelineUpdateWithWhereUniqueWithoutWorkspaceInput } from './pipeline-update-with-where-unique-without-workspace.input'; -import { PipelineUpdateManyWithWhereWithoutWorkspaceInput } from './pipeline-update-many-with-where-without-workspace.input'; -import { PipelineScalarWhereInput } from './pipeline-scalar-where.input'; - -@InputType() -export class PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput { - - @Field(() => [PipelineCreateWithoutWorkspaceInput], {nullable:true}) - @Type(() => PipelineCreateWithoutWorkspaceInput) - create?: Array; - - @Field(() => [PipelineCreateOrConnectWithoutWorkspaceInput], {nullable:true}) - @Type(() => PipelineCreateOrConnectWithoutWorkspaceInput) - connectOrCreate?: Array; - - @Field(() => [PipelineUpsertWithWhereUniqueWithoutWorkspaceInput], {nullable:true}) - @Type(() => PipelineUpsertWithWhereUniqueWithoutWorkspaceInput) - upsert?: Array; - - @Field(() => PipelineCreateManyWorkspaceInputEnvelope, {nullable:true}) - @Type(() => PipelineCreateManyWorkspaceInputEnvelope) - createMany?: PipelineCreateManyWorkspaceInputEnvelope; - - @Field(() => [PipelineWhereUniqueInput], {nullable:true}) - @Type(() => PipelineWhereUniqueInput) - set?: Array; - - @Field(() => [PipelineWhereUniqueInput], {nullable:true}) - @Type(() => PipelineWhereUniqueInput) - disconnect?: Array; - - @Field(() => [PipelineWhereUniqueInput], {nullable:true}) - @Type(() => PipelineWhereUniqueInput) - delete?: Array; - - @Field(() => [PipelineWhereUniqueInput], {nullable:true}) - @Type(() => PipelineWhereUniqueInput) - connect?: Array; - - @Field(() => [PipelineUpdateWithWhereUniqueWithoutWorkspaceInput], {nullable:true}) - @Type(() => PipelineUpdateWithWhereUniqueWithoutWorkspaceInput) - update?: Array; - - @Field(() => [PipelineUpdateManyWithWhereWithoutWorkspaceInput], {nullable:true}) - @Type(() => PipelineUpdateManyWithWhereWithoutWorkspaceInput) - updateMany?: Array; - - @Field(() => [PipelineScalarWhereInput], {nullable:true}) - @Type(() => PipelineScalarWhereInput) - deleteMany?: Array; -} diff --git a/server/src/core/@generated/pipeline/pipeline-unchecked-update-many.input.ts b/server/src/core/@generated/pipeline/pipeline-unchecked-update-many.input.ts deleted file mode 100644 index a8c45c481..000000000 --- a/server/src/core/@generated/pipeline/pipeline-unchecked-update-many.input.ts +++ /dev/null @@ -1,35 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class PipelineUncheckedUpdateManyInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - name?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - icon?: StringFieldUpdateOperationsInput; - - @Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, {nullable:true}) - pipelineProgressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput; - - @HideField() - workspaceId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/pipeline/pipeline-unchecked-update-without-pipeline-progresses.input.ts b/server/src/core/@generated/pipeline/pipeline-unchecked-update-without-pipeline-progresses.input.ts deleted file mode 100644 index 20b84b754..000000000 --- a/server/src/core/@generated/pipeline/pipeline-unchecked-update-without-pipeline-progresses.input.ts +++ /dev/null @@ -1,39 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -import { PipelineStageUncheckedUpdateManyWithoutPipelineNestedInput } from '../pipeline-stage/pipeline-stage-unchecked-update-many-without-pipeline-nested.input'; - -@InputType() -export class PipelineUncheckedUpdateWithoutPipelineProgressesInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - name?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - icon?: StringFieldUpdateOperationsInput; - - @Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, {nullable:true}) - pipelineProgressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput; - - @HideField() - workspaceId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => PipelineStageUncheckedUpdateManyWithoutPipelineNestedInput, {nullable:true}) - pipelineStages?: PipelineStageUncheckedUpdateManyWithoutPipelineNestedInput; -} diff --git a/server/src/core/@generated/pipeline/pipeline-unchecked-update-without-pipeline-stages.input.ts b/server/src/core/@generated/pipeline/pipeline-unchecked-update-without-pipeline-stages.input.ts deleted file mode 100644 index ed0d478ce..000000000 --- a/server/src/core/@generated/pipeline/pipeline-unchecked-update-without-pipeline-stages.input.ts +++ /dev/null @@ -1,39 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -import { PipelineProgressUncheckedUpdateManyWithoutPipelineNestedInput } from '../pipeline-progress/pipeline-progress-unchecked-update-many-without-pipeline-nested.input'; - -@InputType() -export class PipelineUncheckedUpdateWithoutPipelineStagesInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - name?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - icon?: StringFieldUpdateOperationsInput; - - @Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, {nullable:true}) - pipelineProgressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput; - - @HideField() - workspaceId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => PipelineProgressUncheckedUpdateManyWithoutPipelineNestedInput, {nullable:true}) - pipelineProgresses?: PipelineProgressUncheckedUpdateManyWithoutPipelineNestedInput; -} diff --git a/server/src/core/@generated/pipeline/pipeline-unchecked-update-without-workspace.input.ts b/server/src/core/@generated/pipeline/pipeline-unchecked-update-without-workspace.input.ts deleted file mode 100644 index 3d1392cf9..000000000 --- a/server/src/core/@generated/pipeline/pipeline-unchecked-update-without-workspace.input.ts +++ /dev/null @@ -1,40 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -import { PipelineStageUncheckedUpdateManyWithoutPipelineNestedInput } from '../pipeline-stage/pipeline-stage-unchecked-update-many-without-pipeline-nested.input'; -import { PipelineProgressUncheckedUpdateManyWithoutPipelineNestedInput } from '../pipeline-progress/pipeline-progress-unchecked-update-many-without-pipeline-nested.input'; - -@InputType() -export class PipelineUncheckedUpdateWithoutWorkspaceInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - name?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - icon?: StringFieldUpdateOperationsInput; - - @Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, {nullable:true}) - pipelineProgressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => PipelineStageUncheckedUpdateManyWithoutPipelineNestedInput, {nullable:true}) - pipelineStages?: PipelineStageUncheckedUpdateManyWithoutPipelineNestedInput; - - @Field(() => PipelineProgressUncheckedUpdateManyWithoutPipelineNestedInput, {nullable:true}) - pipelineProgresses?: PipelineProgressUncheckedUpdateManyWithoutPipelineNestedInput; -} diff --git a/server/src/core/@generated/pipeline/pipeline-unchecked-update.input.ts b/server/src/core/@generated/pipeline/pipeline-unchecked-update.input.ts deleted file mode 100644 index da6b09a1e..000000000 --- a/server/src/core/@generated/pipeline/pipeline-unchecked-update.input.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -import { PipelineStageUncheckedUpdateManyWithoutPipelineNestedInput } from '../pipeline-stage/pipeline-stage-unchecked-update-many-without-pipeline-nested.input'; -import { PipelineProgressUncheckedUpdateManyWithoutPipelineNestedInput } from '../pipeline-progress/pipeline-progress-unchecked-update-many-without-pipeline-nested.input'; - -@InputType() -export class PipelineUncheckedUpdateInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - name?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - icon?: StringFieldUpdateOperationsInput; - - @Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, {nullable:true}) - pipelineProgressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput; - - @HideField() - workspaceId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => PipelineStageUncheckedUpdateManyWithoutPipelineNestedInput, {nullable:true}) - pipelineStages?: PipelineStageUncheckedUpdateManyWithoutPipelineNestedInput; - - @Field(() => PipelineProgressUncheckedUpdateManyWithoutPipelineNestedInput, {nullable:true}) - pipelineProgresses?: PipelineProgressUncheckedUpdateManyWithoutPipelineNestedInput; -} diff --git a/server/src/core/@generated/pipeline/pipeline-update-many-mutation.input.ts b/server/src/core/@generated/pipeline/pipeline-update-many-mutation.input.ts deleted file mode 100644 index aa48ef072..000000000 --- a/server/src/core/@generated/pipeline/pipeline-update-many-mutation.input.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class PipelineUpdateManyMutationInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - name?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - icon?: StringFieldUpdateOperationsInput; - - @Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, {nullable:true}) - pipelineProgressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/pipeline/pipeline-update-many-with-where-without-workspace.input.ts b/server/src/core/@generated/pipeline/pipeline-update-many-with-where-without-workspace.input.ts deleted file mode 100644 index 0b3bdf33e..000000000 --- a/server/src/core/@generated/pipeline/pipeline-update-many-with-where-without-workspace.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineScalarWhereInput } from './pipeline-scalar-where.input'; -import { Type } from 'class-transformer'; -import { PipelineUpdateManyMutationInput } from './pipeline-update-many-mutation.input'; - -@InputType() -export class PipelineUpdateManyWithWhereWithoutWorkspaceInput { - - @Field(() => PipelineScalarWhereInput, {nullable:false}) - @Type(() => PipelineScalarWhereInput) - where!: PipelineScalarWhereInput; - - @Field(() => PipelineUpdateManyMutationInput, {nullable:false}) - @Type(() => PipelineUpdateManyMutationInput) - data!: PipelineUpdateManyMutationInput; -} diff --git a/server/src/core/@generated/pipeline/pipeline-update-many-without-workspace-nested.input.ts b/server/src/core/@generated/pipeline/pipeline-update-many-without-workspace-nested.input.ts deleted file mode 100644 index ff76adfa9..000000000 --- a/server/src/core/@generated/pipeline/pipeline-update-many-without-workspace-nested.input.ts +++ /dev/null @@ -1,59 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineCreateWithoutWorkspaceInput } from './pipeline-create-without-workspace.input'; -import { Type } from 'class-transformer'; -import { PipelineCreateOrConnectWithoutWorkspaceInput } from './pipeline-create-or-connect-without-workspace.input'; -import { PipelineUpsertWithWhereUniqueWithoutWorkspaceInput } from './pipeline-upsert-with-where-unique-without-workspace.input'; -import { PipelineCreateManyWorkspaceInputEnvelope } from './pipeline-create-many-workspace-input-envelope.input'; -import { PipelineWhereUniqueInput } from './pipeline-where-unique.input'; -import { PipelineUpdateWithWhereUniqueWithoutWorkspaceInput } from './pipeline-update-with-where-unique-without-workspace.input'; -import { PipelineUpdateManyWithWhereWithoutWorkspaceInput } from './pipeline-update-many-with-where-without-workspace.input'; -import { PipelineScalarWhereInput } from './pipeline-scalar-where.input'; - -@InputType() -export class PipelineUpdateManyWithoutWorkspaceNestedInput { - - @Field(() => [PipelineCreateWithoutWorkspaceInput], {nullable:true}) - @Type(() => PipelineCreateWithoutWorkspaceInput) - create?: Array; - - @Field(() => [PipelineCreateOrConnectWithoutWorkspaceInput], {nullable:true}) - @Type(() => PipelineCreateOrConnectWithoutWorkspaceInput) - connectOrCreate?: Array; - - @Field(() => [PipelineUpsertWithWhereUniqueWithoutWorkspaceInput], {nullable:true}) - @Type(() => PipelineUpsertWithWhereUniqueWithoutWorkspaceInput) - upsert?: Array; - - @Field(() => PipelineCreateManyWorkspaceInputEnvelope, {nullable:true}) - @Type(() => PipelineCreateManyWorkspaceInputEnvelope) - createMany?: PipelineCreateManyWorkspaceInputEnvelope; - - @Field(() => [PipelineWhereUniqueInput], {nullable:true}) - @Type(() => PipelineWhereUniqueInput) - set?: Array; - - @Field(() => [PipelineWhereUniqueInput], {nullable:true}) - @Type(() => PipelineWhereUniqueInput) - disconnect?: Array; - - @Field(() => [PipelineWhereUniqueInput], {nullable:true}) - @Type(() => PipelineWhereUniqueInput) - delete?: Array; - - @Field(() => [PipelineWhereUniqueInput], {nullable:true}) - @Type(() => PipelineWhereUniqueInput) - connect?: Array; - - @Field(() => [PipelineUpdateWithWhereUniqueWithoutWorkspaceInput], {nullable:true}) - @Type(() => PipelineUpdateWithWhereUniqueWithoutWorkspaceInput) - update?: Array; - - @Field(() => [PipelineUpdateManyWithWhereWithoutWorkspaceInput], {nullable:true}) - @Type(() => PipelineUpdateManyWithWhereWithoutWorkspaceInput) - updateMany?: Array; - - @Field(() => [PipelineScalarWhereInput], {nullable:true}) - @Type(() => PipelineScalarWhereInput) - deleteMany?: Array; -} diff --git a/server/src/core/@generated/pipeline/pipeline-update-one-required-without-pipeline-progresses-nested.input.ts b/server/src/core/@generated/pipeline/pipeline-update-one-required-without-pipeline-progresses-nested.input.ts deleted file mode 100644 index 505fa8ad0..000000000 --- a/server/src/core/@generated/pipeline/pipeline-update-one-required-without-pipeline-progresses-nested.input.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineCreateWithoutPipelineProgressesInput } from './pipeline-create-without-pipeline-progresses.input'; -import { HideField } from '@nestjs/graphql'; -import { PipelineCreateOrConnectWithoutPipelineProgressesInput } from './pipeline-create-or-connect-without-pipeline-progresses.input'; -import { PipelineUpsertWithoutPipelineProgressesInput } from './pipeline-upsert-without-pipeline-progresses.input'; -import { PipelineWhereUniqueInput } from './pipeline-where-unique.input'; -import { Type } from 'class-transformer'; -import { PipelineUpdateWithoutPipelineProgressesInput } from './pipeline-update-without-pipeline-progresses.input'; - -@InputType() -export class PipelineUpdateOneRequiredWithoutPipelineProgressesNestedInput { - - @HideField() - create?: PipelineCreateWithoutPipelineProgressesInput; - - @HideField() - connectOrCreate?: PipelineCreateOrConnectWithoutPipelineProgressesInput; - - @HideField() - upsert?: PipelineUpsertWithoutPipelineProgressesInput; - - @Field(() => PipelineWhereUniqueInput, {nullable:true}) - @Type(() => PipelineWhereUniqueInput) - connect?: PipelineWhereUniqueInput; - - @HideField() - update?: PipelineUpdateWithoutPipelineProgressesInput; -} diff --git a/server/src/core/@generated/pipeline/pipeline-update-one-required-without-pipeline-stages-nested.input.ts b/server/src/core/@generated/pipeline/pipeline-update-one-required-without-pipeline-stages-nested.input.ts deleted file mode 100644 index e5b675cfe..000000000 --- a/server/src/core/@generated/pipeline/pipeline-update-one-required-without-pipeline-stages-nested.input.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineCreateWithoutPipelineStagesInput } from './pipeline-create-without-pipeline-stages.input'; -import { Type } from 'class-transformer'; -import { PipelineCreateOrConnectWithoutPipelineStagesInput } from './pipeline-create-or-connect-without-pipeline-stages.input'; -import { PipelineUpsertWithoutPipelineStagesInput } from './pipeline-upsert-without-pipeline-stages.input'; -import { PipelineWhereUniqueInput } from './pipeline-where-unique.input'; -import { PipelineUpdateWithoutPipelineStagesInput } from './pipeline-update-without-pipeline-stages.input'; - -@InputType() -export class PipelineUpdateOneRequiredWithoutPipelineStagesNestedInput { - - @Field(() => PipelineCreateWithoutPipelineStagesInput, {nullable:true}) - @Type(() => PipelineCreateWithoutPipelineStagesInput) - create?: PipelineCreateWithoutPipelineStagesInput; - - @Field(() => PipelineCreateOrConnectWithoutPipelineStagesInput, {nullable:true}) - @Type(() => PipelineCreateOrConnectWithoutPipelineStagesInput) - connectOrCreate?: PipelineCreateOrConnectWithoutPipelineStagesInput; - - @Field(() => PipelineUpsertWithoutPipelineStagesInput, {nullable:true}) - @Type(() => PipelineUpsertWithoutPipelineStagesInput) - upsert?: PipelineUpsertWithoutPipelineStagesInput; - - @Field(() => PipelineWhereUniqueInput, {nullable:true}) - @Type(() => PipelineWhereUniqueInput) - connect?: PipelineWhereUniqueInput; - - @Field(() => PipelineUpdateWithoutPipelineStagesInput, {nullable:true}) - @Type(() => PipelineUpdateWithoutPipelineStagesInput) - update?: PipelineUpdateWithoutPipelineStagesInput; -} diff --git a/server/src/core/@generated/pipeline/pipeline-update-with-where-unique-without-workspace.input.ts b/server/src/core/@generated/pipeline/pipeline-update-with-where-unique-without-workspace.input.ts deleted file mode 100644 index b82d56386..000000000 --- a/server/src/core/@generated/pipeline/pipeline-update-with-where-unique-without-workspace.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineWhereUniqueInput } from './pipeline-where-unique.input'; -import { Type } from 'class-transformer'; -import { PipelineUpdateWithoutWorkspaceInput } from './pipeline-update-without-workspace.input'; - -@InputType() -export class PipelineUpdateWithWhereUniqueWithoutWorkspaceInput { - - @Field(() => PipelineWhereUniqueInput, {nullable:false}) - @Type(() => PipelineWhereUniqueInput) - where!: PipelineWhereUniqueInput; - - @Field(() => PipelineUpdateWithoutWorkspaceInput, {nullable:false}) - @Type(() => PipelineUpdateWithoutWorkspaceInput) - data!: PipelineUpdateWithoutWorkspaceInput; -} diff --git a/server/src/core/@generated/pipeline/pipeline-update-without-pipeline-progresses.input.ts b/server/src/core/@generated/pipeline/pipeline-update-without-pipeline-progresses.input.ts deleted file mode 100644 index 5f7bbc7f9..000000000 --- a/server/src/core/@generated/pipeline/pipeline-update-without-pipeline-progresses.input.ts +++ /dev/null @@ -1,40 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -import { PipelineStageUpdateManyWithoutPipelineNestedInput } from '../pipeline-stage/pipeline-stage-update-many-without-pipeline-nested.input'; -import { WorkspaceUpdateOneRequiredWithoutPipelinesNestedInput } from '../workspace/workspace-update-one-required-without-pipelines-nested.input'; - -@InputType() -export class PipelineUpdateWithoutPipelineProgressesInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - name?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - icon?: StringFieldUpdateOperationsInput; - - @Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, {nullable:true}) - pipelineProgressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => PipelineStageUpdateManyWithoutPipelineNestedInput, {nullable:true}) - pipelineStages?: PipelineStageUpdateManyWithoutPipelineNestedInput; - - @HideField() - workspace?: WorkspaceUpdateOneRequiredWithoutPipelinesNestedInput; -} diff --git a/server/src/core/@generated/pipeline/pipeline-update-without-pipeline-stages.input.ts b/server/src/core/@generated/pipeline/pipeline-update-without-pipeline-stages.input.ts deleted file mode 100644 index 82f8b7bcf..000000000 --- a/server/src/core/@generated/pipeline/pipeline-update-without-pipeline-stages.input.ts +++ /dev/null @@ -1,40 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -import { PipelineProgressUpdateManyWithoutPipelineNestedInput } from '../pipeline-progress/pipeline-progress-update-many-without-pipeline-nested.input'; -import { WorkspaceUpdateOneRequiredWithoutPipelinesNestedInput } from '../workspace/workspace-update-one-required-without-pipelines-nested.input'; - -@InputType() -export class PipelineUpdateWithoutPipelineStagesInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - name?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - icon?: StringFieldUpdateOperationsInput; - - @Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, {nullable:true}) - pipelineProgressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => PipelineProgressUpdateManyWithoutPipelineNestedInput, {nullable:true}) - pipelineProgresses?: PipelineProgressUpdateManyWithoutPipelineNestedInput; - - @HideField() - workspace?: WorkspaceUpdateOneRequiredWithoutPipelinesNestedInput; -} diff --git a/server/src/core/@generated/pipeline/pipeline-update-without-workspace.input.ts b/server/src/core/@generated/pipeline/pipeline-update-without-workspace.input.ts deleted file mode 100644 index da8c67edb..000000000 --- a/server/src/core/@generated/pipeline/pipeline-update-without-workspace.input.ts +++ /dev/null @@ -1,40 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -import { PipelineStageUpdateManyWithoutPipelineNestedInput } from '../pipeline-stage/pipeline-stage-update-many-without-pipeline-nested.input'; -import { PipelineProgressUpdateManyWithoutPipelineNestedInput } from '../pipeline-progress/pipeline-progress-update-many-without-pipeline-nested.input'; - -@InputType() -export class PipelineUpdateWithoutWorkspaceInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - name?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - icon?: StringFieldUpdateOperationsInput; - - @Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, {nullable:true}) - pipelineProgressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => PipelineStageUpdateManyWithoutPipelineNestedInput, {nullable:true}) - pipelineStages?: PipelineStageUpdateManyWithoutPipelineNestedInput; - - @Field(() => PipelineProgressUpdateManyWithoutPipelineNestedInput, {nullable:true}) - pipelineProgresses?: PipelineProgressUpdateManyWithoutPipelineNestedInput; -} diff --git a/server/src/core/@generated/pipeline/pipeline-update.input.ts b/server/src/core/@generated/pipeline/pipeline-update.input.ts deleted file mode 100644 index efaf18cca..000000000 --- a/server/src/core/@generated/pipeline/pipeline-update.input.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -import { PipelineStageUpdateManyWithoutPipelineNestedInput } from '../pipeline-stage/pipeline-stage-update-many-without-pipeline-nested.input'; -import { PipelineProgressUpdateManyWithoutPipelineNestedInput } from '../pipeline-progress/pipeline-progress-update-many-without-pipeline-nested.input'; -import { WorkspaceUpdateOneRequiredWithoutPipelinesNestedInput } from '../workspace/workspace-update-one-required-without-pipelines-nested.input'; - -@InputType() -export class PipelineUpdateInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - name?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - icon?: StringFieldUpdateOperationsInput; - - @Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, {nullable:true}) - pipelineProgressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => PipelineStageUpdateManyWithoutPipelineNestedInput, {nullable:true}) - pipelineStages?: PipelineStageUpdateManyWithoutPipelineNestedInput; - - @Field(() => PipelineProgressUpdateManyWithoutPipelineNestedInput, {nullable:true}) - pipelineProgresses?: PipelineProgressUpdateManyWithoutPipelineNestedInput; - - @HideField() - workspace?: WorkspaceUpdateOneRequiredWithoutPipelinesNestedInput; -} diff --git a/server/src/core/@generated/pipeline/pipeline-upsert-with-where-unique-without-workspace.input.ts b/server/src/core/@generated/pipeline/pipeline-upsert-with-where-unique-without-workspace.input.ts deleted file mode 100644 index f2be12a03..000000000 --- a/server/src/core/@generated/pipeline/pipeline-upsert-with-where-unique-without-workspace.input.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineWhereUniqueInput } from './pipeline-where-unique.input'; -import { Type } from 'class-transformer'; -import { PipelineUpdateWithoutWorkspaceInput } from './pipeline-update-without-workspace.input'; -import { PipelineCreateWithoutWorkspaceInput } from './pipeline-create-without-workspace.input'; - -@InputType() -export class PipelineUpsertWithWhereUniqueWithoutWorkspaceInput { - - @Field(() => PipelineWhereUniqueInput, {nullable:false}) - @Type(() => PipelineWhereUniqueInput) - where!: PipelineWhereUniqueInput; - - @Field(() => PipelineUpdateWithoutWorkspaceInput, {nullable:false}) - @Type(() => PipelineUpdateWithoutWorkspaceInput) - update!: PipelineUpdateWithoutWorkspaceInput; - - @Field(() => PipelineCreateWithoutWorkspaceInput, {nullable:false}) - @Type(() => PipelineCreateWithoutWorkspaceInput) - create!: PipelineCreateWithoutWorkspaceInput; -} diff --git a/server/src/core/@generated/pipeline/pipeline-upsert-without-pipeline-progresses.input.ts b/server/src/core/@generated/pipeline/pipeline-upsert-without-pipeline-progresses.input.ts deleted file mode 100644 index 28b698eb4..000000000 --- a/server/src/core/@generated/pipeline/pipeline-upsert-without-pipeline-progresses.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineUpdateWithoutPipelineProgressesInput } from './pipeline-update-without-pipeline-progresses.input'; -import { Type } from 'class-transformer'; -import { PipelineCreateWithoutPipelineProgressesInput } from './pipeline-create-without-pipeline-progresses.input'; - -@InputType() -export class PipelineUpsertWithoutPipelineProgressesInput { - - @Field(() => PipelineUpdateWithoutPipelineProgressesInput, {nullable:false}) - @Type(() => PipelineUpdateWithoutPipelineProgressesInput) - update!: PipelineUpdateWithoutPipelineProgressesInput; - - @Field(() => PipelineCreateWithoutPipelineProgressesInput, {nullable:false}) - @Type(() => PipelineCreateWithoutPipelineProgressesInput) - create!: PipelineCreateWithoutPipelineProgressesInput; -} diff --git a/server/src/core/@generated/pipeline/pipeline-upsert-without-pipeline-stages.input.ts b/server/src/core/@generated/pipeline/pipeline-upsert-without-pipeline-stages.input.ts deleted file mode 100644 index 1ae6cf7b9..000000000 --- a/server/src/core/@generated/pipeline/pipeline-upsert-without-pipeline-stages.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineUpdateWithoutPipelineStagesInput } from './pipeline-update-without-pipeline-stages.input'; -import { Type } from 'class-transformer'; -import { PipelineCreateWithoutPipelineStagesInput } from './pipeline-create-without-pipeline-stages.input'; - -@InputType() -export class PipelineUpsertWithoutPipelineStagesInput { - - @Field(() => PipelineUpdateWithoutPipelineStagesInput, {nullable:false}) - @Type(() => PipelineUpdateWithoutPipelineStagesInput) - update!: PipelineUpdateWithoutPipelineStagesInput; - - @Field(() => PipelineCreateWithoutPipelineStagesInput, {nullable:false}) - @Type(() => PipelineCreateWithoutPipelineStagesInput) - create!: PipelineCreateWithoutPipelineStagesInput; -} diff --git a/server/src/core/@generated/pipeline/pipeline-where-unique.input.ts b/server/src/core/@generated/pipeline/pipeline-where-unique.input.ts deleted file mode 100644 index 03ccad00b..000000000 --- a/server/src/core/@generated/pipeline/pipeline-where-unique.input.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; - -@InputType() -export class PipelineWhereUniqueInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; -} diff --git a/server/src/core/@generated/pipeline/pipeline-where.input.ts b/server/src/core/@generated/pipeline/pipeline-where.input.ts deleted file mode 100644 index 42fb3f43a..000000000 --- a/server/src/core/@generated/pipeline/pipeline-where.input.ts +++ /dev/null @@ -1,56 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFilter } from '../prisma/string-filter.input'; -import { EnumPipelineProgressableTypeFilter } from '../prisma/enum-pipeline-progressable-type-filter.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input'; -import { DateTimeFilter } from '../prisma/date-time-filter.input'; -import { PipelineStageListRelationFilter } from '../pipeline-stage/pipeline-stage-list-relation-filter.input'; -import { PipelineProgressListRelationFilter } from '../pipeline-progress/pipeline-progress-list-relation-filter.input'; -import { WorkspaceRelationFilter } from '../workspace/workspace-relation-filter.input'; - -@InputType() -export class PipelineWhereInput { - - @Field(() => [PipelineWhereInput], {nullable:true}) - AND?: Array; - - @Field(() => [PipelineWhereInput], {nullable:true}) - OR?: Array; - - @Field(() => [PipelineWhereInput], {nullable:true}) - NOT?: Array; - - @Field(() => StringFilter, {nullable:true}) - id?: StringFilter; - - @Field(() => StringFilter, {nullable:true}) - name?: StringFilter; - - @Field(() => StringFilter, {nullable:true}) - icon?: StringFilter; - - @Field(() => EnumPipelineProgressableTypeFilter, {nullable:true}) - pipelineProgressableType?: EnumPipelineProgressableTypeFilter; - - @HideField() - workspaceId?: StringFilter; - - @HideField() - deletedAt?: DateTimeNullableFilter; - - @Field(() => DateTimeFilter, {nullable:true}) - createdAt?: DateTimeFilter; - - @Field(() => DateTimeFilter, {nullable:true}) - updatedAt?: DateTimeFilter; - - @Field(() => PipelineStageListRelationFilter, {nullable:true}) - pipelineStages?: PipelineStageListRelationFilter; - - @Field(() => PipelineProgressListRelationFilter, {nullable:true}) - pipelineProgresses?: PipelineProgressListRelationFilter; - - @HideField() - workspace?: WorkspaceRelationFilter; -} diff --git a/server/src/core/@generated/pipeline/pipeline.model.ts b/server/src/core/@generated/pipeline/pipeline.model.ts deleted file mode 100644 index f8a744159..000000000 --- a/server/src/core/@generated/pipeline/pipeline.model.ts +++ /dev/null @@ -1,49 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import { ID } from '@nestjs/graphql'; -import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum'; -import { HideField } from '@nestjs/graphql'; -import { PipelineStage } from '../pipeline-stage/pipeline-stage.model'; -import { PipelineProgress } from '../pipeline-progress/pipeline-progress.model'; -import { Workspace } from '../workspace/workspace.model'; -import { PipelineCount } from './pipeline-count.output'; - -@ObjectType() -export class Pipeline { - - @Field(() => ID, {nullable:false}) - id!: string; - - @Field(() => String, {nullable:false}) - name!: string; - - @Field(() => String, {nullable:false}) - icon!: string; - - @Field(() => PipelineProgressableType, {nullable:false,defaultValue:'Company'}) - pipelineProgressableType!: keyof typeof PipelineProgressableType; - - @HideField() - workspaceId!: string; - - @HideField() - deletedAt!: Date | null; - - @Field(() => Date, {nullable:false}) - createdAt!: Date; - - @Field(() => Date, {nullable:false}) - updatedAt!: Date; - - @Field(() => [PipelineStage], {nullable:true}) - pipelineStages?: Array; - - @Field(() => [PipelineProgress], {nullable:true}) - pipelineProgresses?: Array; - - @HideField() - workspace?: Workspace; - - @HideField() - _count?: PipelineCount; -} diff --git a/server/src/core/@generated/pipeline/update-many-pipeline.args.ts b/server/src/core/@generated/pipeline/update-many-pipeline.args.ts deleted file mode 100644 index 33a24fce2..000000000 --- a/server/src/core/@generated/pipeline/update-many-pipeline.args.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PipelineUpdateManyMutationInput } from './pipeline-update-many-mutation.input'; -import { Type } from 'class-transformer'; -import { ValidateNested } from 'class-validator'; -import { PipelineWhereInput } from './pipeline-where.input'; - -@ArgsType() -export class UpdateManyPipelineArgs { - - @Field(() => PipelineUpdateManyMutationInput, {nullable:false}) - @Type(() => PipelineUpdateManyMutationInput) - @ValidateNested({each: true}) - @Type(() => PipelineUpdateManyMutationInput) - data!: PipelineUpdateManyMutationInput; - - @Field(() => PipelineWhereInput, {nullable:true}) - @Type(() => PipelineWhereInput) - where?: PipelineWhereInput; -} diff --git a/server/src/core/@generated/pipeline/update-one-pipeline.args.ts b/server/src/core/@generated/pipeline/update-one-pipeline.args.ts deleted file mode 100644 index fea3d76f5..000000000 --- a/server/src/core/@generated/pipeline/update-one-pipeline.args.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PipelineUpdateInput } from './pipeline-update.input'; -import { Type } from 'class-transformer'; -import { ValidateNested } from 'class-validator'; -import { PipelineWhereUniqueInput } from './pipeline-where-unique.input'; - -@ArgsType() -export class UpdateOnePipelineArgs { - - @Field(() => PipelineUpdateInput, {nullable:false}) - @Type(() => PipelineUpdateInput) - @ValidateNested({each: true}) - @Type(() => PipelineUpdateInput) - data!: PipelineUpdateInput; - - @Field(() => PipelineWhereUniqueInput, {nullable:false}) - @Type(() => PipelineWhereUniqueInput) - where!: PipelineWhereUniqueInput; -} diff --git a/server/src/core/@generated/pipeline/upsert-one-pipeline.args.ts b/server/src/core/@generated/pipeline/upsert-one-pipeline.args.ts deleted file mode 100644 index eb147458d..000000000 --- a/server/src/core/@generated/pipeline/upsert-one-pipeline.args.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { PipelineWhereUniqueInput } from './pipeline-where-unique.input'; -import { Type } from 'class-transformer'; -import { PipelineCreateInput } from './pipeline-create.input'; -import { PipelineUpdateInput } from './pipeline-update.input'; - -@ArgsType() -export class UpsertOnePipelineArgs { - - @Field(() => PipelineWhereUniqueInput, {nullable:false}) - @Type(() => PipelineWhereUniqueInput) - where!: PipelineWhereUniqueInput; - - @Field(() => PipelineCreateInput, {nullable:false}) - @Type(() => PipelineCreateInput) - create!: PipelineCreateInput; - - @Field(() => PipelineUpdateInput, {nullable:false}) - @Type(() => PipelineUpdateInput) - update!: PipelineUpdateInput; -} diff --git a/server/src/core/@generated/prisma/activity-type.enum.ts b/server/src/core/@generated/prisma/activity-type.enum.ts deleted file mode 100644 index b64f2286d..000000000 --- a/server/src/core/@generated/prisma/activity-type.enum.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { registerEnumType } from '@nestjs/graphql'; - -export enum ActivityType { - Note = "Note", - Task = "Task" -} - - -registerEnumType(ActivityType, { name: 'ActivityType', description: undefined }) diff --git a/server/src/core/@generated/prisma/affected-rows.output.ts b/server/src/core/@generated/prisma/affected-rows.output.ts deleted file mode 100644 index 05e4950d7..000000000 --- a/server/src/core/@generated/prisma/affected-rows.output.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import { Int } from '@nestjs/graphql'; - -@ObjectType() -export class AffectedRows { - - @Field(() => Int, {nullable:false}) - count!: number; -} diff --git a/server/src/core/@generated/prisma/bool-field-update-operations.input.ts b/server/src/core/@generated/prisma/bool-field-update-operations.input.ts deleted file mode 100644 index 0cdb8cf38..000000000 --- a/server/src/core/@generated/prisma/bool-field-update-operations.input.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; - -@InputType() -export class BoolFieldUpdateOperationsInput { - - @Field(() => Boolean, {nullable:true}) - set?: boolean; -} diff --git a/server/src/core/@generated/prisma/bool-filter.input.ts b/server/src/core/@generated/prisma/bool-filter.input.ts deleted file mode 100644 index 61293cba8..000000000 --- a/server/src/core/@generated/prisma/bool-filter.input.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { NestedBoolFilter } from './nested-bool-filter.input'; - -@InputType() -export class BoolFilter { - - @Field(() => Boolean, {nullable:true}) - equals?: boolean; - - @Field(() => NestedBoolFilter, {nullable:true}) - not?: NestedBoolFilter; -} diff --git a/server/src/core/@generated/prisma/bool-with-aggregates-filter.input.ts b/server/src/core/@generated/prisma/bool-with-aggregates-filter.input.ts deleted file mode 100644 index 4779fc1b1..000000000 --- a/server/src/core/@generated/prisma/bool-with-aggregates-filter.input.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { NestedBoolWithAggregatesFilter } from './nested-bool-with-aggregates-filter.input'; -import { NestedIntFilter } from './nested-int-filter.input'; -import { NestedBoolFilter } from './nested-bool-filter.input'; - -@InputType() -export class BoolWithAggregatesFilter { - - @Field(() => Boolean, {nullable:true}) - equals?: boolean; - - @Field(() => NestedBoolWithAggregatesFilter, {nullable:true}) - not?: NestedBoolWithAggregatesFilter; - - @Field(() => NestedIntFilter, {nullable:true}) - _count?: NestedIntFilter; - - @Field(() => NestedBoolFilter, {nullable:true}) - _min?: NestedBoolFilter; - - @Field(() => NestedBoolFilter, {nullable:true}) - _max?: NestedBoolFilter; -} diff --git a/server/src/core/@generated/prisma/color-scheme.enum.ts b/server/src/core/@generated/prisma/color-scheme.enum.ts deleted file mode 100644 index 32683f8b9..000000000 --- a/server/src/core/@generated/prisma/color-scheme.enum.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { registerEnumType } from '@nestjs/graphql'; - -export enum ColorScheme { - Light = "Light", - Dark = "Dark", - System = "System" -} - - -registerEnumType(ColorScheme, { name: 'ColorScheme', description: undefined }) diff --git a/server/src/core/@generated/prisma/commentable-type.enum.ts b/server/src/core/@generated/prisma/commentable-type.enum.ts deleted file mode 100644 index c8f53ed1a..000000000 --- a/server/src/core/@generated/prisma/commentable-type.enum.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { registerEnumType } from '@nestjs/graphql'; - -export enum CommentableType { - Person = "Person", - Company = "Company" -} - - -registerEnumType(CommentableType, { name: 'CommentableType', description: undefined }) diff --git a/server/src/core/@generated/prisma/date-time-field-update-operations.input.ts b/server/src/core/@generated/prisma/date-time-field-update-operations.input.ts deleted file mode 100644 index d53a5ddf7..000000000 --- a/server/src/core/@generated/prisma/date-time-field-update-operations.input.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; - -@InputType() -export class DateTimeFieldUpdateOperationsInput { - - @Field(() => Date, {nullable:true}) - set?: Date | string; -} diff --git a/server/src/core/@generated/prisma/date-time-filter.input.ts b/server/src/core/@generated/prisma/date-time-filter.input.ts deleted file mode 100644 index 6bccf55db..000000000 --- a/server/src/core/@generated/prisma/date-time-filter.input.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { NestedDateTimeFilter } from './nested-date-time-filter.input'; - -@InputType() -export class DateTimeFilter { - - @Field(() => Date, {nullable:true}) - equals?: Date | string; - - @Field(() => [Date], {nullable:true}) - in?: Array | Array; - - @Field(() => [Date], {nullable:true}) - notIn?: Array | Array; - - @Field(() => Date, {nullable:true}) - lt?: Date | string; - - @Field(() => Date, {nullable:true}) - lte?: Date | string; - - @Field(() => Date, {nullable:true}) - gt?: Date | string; - - @Field(() => Date, {nullable:true}) - gte?: Date | string; - - @Field(() => NestedDateTimeFilter, {nullable:true}) - not?: NestedDateTimeFilter; -} diff --git a/server/src/core/@generated/prisma/date-time-nullable-filter.input.ts b/server/src/core/@generated/prisma/date-time-nullable-filter.input.ts deleted file mode 100644 index 0a1349091..000000000 --- a/server/src/core/@generated/prisma/date-time-nullable-filter.input.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { NestedDateTimeNullableFilter } from './nested-date-time-nullable-filter.input'; - -@InputType() -export class DateTimeNullableFilter { - - @Field(() => Date, {nullable:true}) - equals?: Date | string; - - @Field(() => [Date], {nullable:true}) - in?: Array | Array; - - @Field(() => [Date], {nullable:true}) - notIn?: Array | Array; - - @Field(() => Date, {nullable:true}) - lt?: Date | string; - - @Field(() => Date, {nullable:true}) - lte?: Date | string; - - @Field(() => Date, {nullable:true}) - gt?: Date | string; - - @Field(() => Date, {nullable:true}) - gte?: Date | string; - - @Field(() => NestedDateTimeNullableFilter, {nullable:true}) - not?: NestedDateTimeNullableFilter; -} diff --git a/server/src/core/@generated/prisma/date-time-nullable-with-aggregates-filter.input.ts b/server/src/core/@generated/prisma/date-time-nullable-with-aggregates-filter.input.ts deleted file mode 100644 index 8af95d8e8..000000000 --- a/server/src/core/@generated/prisma/date-time-nullable-with-aggregates-filter.input.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { NestedDateTimeNullableWithAggregatesFilter } from './nested-date-time-nullable-with-aggregates-filter.input'; -import { NestedIntNullableFilter } from './nested-int-nullable-filter.input'; -import { NestedDateTimeNullableFilter } from './nested-date-time-nullable-filter.input'; - -@InputType() -export class DateTimeNullableWithAggregatesFilter { - - @Field(() => Date, {nullable:true}) - equals?: Date | string; - - @Field(() => [Date], {nullable:true}) - in?: Array | Array; - - @Field(() => [Date], {nullable:true}) - notIn?: Array | Array; - - @Field(() => Date, {nullable:true}) - lt?: Date | string; - - @Field(() => Date, {nullable:true}) - lte?: Date | string; - - @Field(() => Date, {nullable:true}) - gt?: Date | string; - - @Field(() => Date, {nullable:true}) - gte?: Date | string; - - @Field(() => NestedDateTimeNullableWithAggregatesFilter, {nullable:true}) - not?: NestedDateTimeNullableWithAggregatesFilter; - - @Field(() => NestedIntNullableFilter, {nullable:true}) - _count?: NestedIntNullableFilter; - - @Field(() => NestedDateTimeNullableFilter, {nullable:true}) - _min?: NestedDateTimeNullableFilter; - - @Field(() => NestedDateTimeNullableFilter, {nullable:true}) - _max?: NestedDateTimeNullableFilter; -} diff --git a/server/src/core/@generated/prisma/date-time-with-aggregates-filter.input.ts b/server/src/core/@generated/prisma/date-time-with-aggregates-filter.input.ts deleted file mode 100644 index ab663c4f1..000000000 --- a/server/src/core/@generated/prisma/date-time-with-aggregates-filter.input.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { NestedDateTimeWithAggregatesFilter } from './nested-date-time-with-aggregates-filter.input'; -import { NestedIntFilter } from './nested-int-filter.input'; -import { NestedDateTimeFilter } from './nested-date-time-filter.input'; - -@InputType() -export class DateTimeWithAggregatesFilter { - - @Field(() => Date, {nullable:true}) - equals?: Date | string; - - @Field(() => [Date], {nullable:true}) - in?: Array | Array; - - @Field(() => [Date], {nullable:true}) - notIn?: Array | Array; - - @Field(() => Date, {nullable:true}) - lt?: Date | string; - - @Field(() => Date, {nullable:true}) - lte?: Date | string; - - @Field(() => Date, {nullable:true}) - gt?: Date | string; - - @Field(() => Date, {nullable:true}) - gte?: Date | string; - - @Field(() => NestedDateTimeWithAggregatesFilter, {nullable:true}) - not?: NestedDateTimeWithAggregatesFilter; - - @Field(() => NestedIntFilter, {nullable:true}) - _count?: NestedIntFilter; - - @Field(() => NestedDateTimeFilter, {nullable:true}) - _min?: NestedDateTimeFilter; - - @Field(() => NestedDateTimeFilter, {nullable:true}) - _max?: NestedDateTimeFilter; -} diff --git a/server/src/core/@generated/prisma/enum-activity-type-field-update-operations.input.ts b/server/src/core/@generated/prisma/enum-activity-type-field-update-operations.input.ts deleted file mode 100644 index dcdb989b6..000000000 --- a/server/src/core/@generated/prisma/enum-activity-type-field-update-operations.input.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { ActivityType } from './activity-type.enum'; - -@InputType() -export class EnumActivityTypeFieldUpdateOperationsInput { - - @Field(() => ActivityType, {nullable:true}) - set?: keyof typeof ActivityType; -} diff --git a/server/src/core/@generated/prisma/enum-activity-type-filter.input.ts b/server/src/core/@generated/prisma/enum-activity-type-filter.input.ts deleted file mode 100644 index 57461c875..000000000 --- a/server/src/core/@generated/prisma/enum-activity-type-filter.input.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { ActivityType } from './activity-type.enum'; -import { NestedEnumActivityTypeFilter } from './nested-enum-activity-type-filter.input'; - -@InputType() -export class EnumActivityTypeFilter { - - @Field(() => ActivityType, {nullable:true}) - equals?: keyof typeof ActivityType; - - @Field(() => [ActivityType], {nullable:true}) - in?: Array; - - @Field(() => [ActivityType], {nullable:true}) - notIn?: Array; - - @Field(() => NestedEnumActivityTypeFilter, {nullable:true}) - not?: NestedEnumActivityTypeFilter; -} diff --git a/server/src/core/@generated/prisma/enum-activity-type-with-aggregates-filter.input.ts b/server/src/core/@generated/prisma/enum-activity-type-with-aggregates-filter.input.ts deleted file mode 100644 index 7e4bee65c..000000000 --- a/server/src/core/@generated/prisma/enum-activity-type-with-aggregates-filter.input.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { ActivityType } from './activity-type.enum'; -import { NestedEnumActivityTypeWithAggregatesFilter } from './nested-enum-activity-type-with-aggregates-filter.input'; -import { NestedIntFilter } from './nested-int-filter.input'; -import { NestedEnumActivityTypeFilter } from './nested-enum-activity-type-filter.input'; - -@InputType() -export class EnumActivityTypeWithAggregatesFilter { - - @Field(() => ActivityType, {nullable:true}) - equals?: keyof typeof ActivityType; - - @Field(() => [ActivityType], {nullable:true}) - in?: Array; - - @Field(() => [ActivityType], {nullable:true}) - notIn?: Array; - - @Field(() => NestedEnumActivityTypeWithAggregatesFilter, {nullable:true}) - not?: NestedEnumActivityTypeWithAggregatesFilter; - - @Field(() => NestedIntFilter, {nullable:true}) - _count?: NestedIntFilter; - - @Field(() => NestedEnumActivityTypeFilter, {nullable:true}) - _min?: NestedEnumActivityTypeFilter; - - @Field(() => NestedEnumActivityTypeFilter, {nullable:true}) - _max?: NestedEnumActivityTypeFilter; -} diff --git a/server/src/core/@generated/prisma/enum-color-scheme-field-update-operations.input.ts b/server/src/core/@generated/prisma/enum-color-scheme-field-update-operations.input.ts deleted file mode 100644 index 3cdcc6f19..000000000 --- a/server/src/core/@generated/prisma/enum-color-scheme-field-update-operations.input.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { ColorScheme } from './color-scheme.enum'; - -@InputType() -export class EnumColorSchemeFieldUpdateOperationsInput { - - @Field(() => ColorScheme, {nullable:true}) - set?: keyof typeof ColorScheme; -} diff --git a/server/src/core/@generated/prisma/enum-color-scheme-filter.input.ts b/server/src/core/@generated/prisma/enum-color-scheme-filter.input.ts deleted file mode 100644 index a15900076..000000000 --- a/server/src/core/@generated/prisma/enum-color-scheme-filter.input.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { ColorScheme } from './color-scheme.enum'; -import { NestedEnumColorSchemeFilter } from './nested-enum-color-scheme-filter.input'; - -@InputType() -export class EnumColorSchemeFilter { - - @Field(() => ColorScheme, {nullable:true}) - equals?: keyof typeof ColorScheme; - - @Field(() => [ColorScheme], {nullable:true}) - in?: Array; - - @Field(() => [ColorScheme], {nullable:true}) - notIn?: Array; - - @Field(() => NestedEnumColorSchemeFilter, {nullable:true}) - not?: NestedEnumColorSchemeFilter; -} diff --git a/server/src/core/@generated/prisma/enum-color-scheme-with-aggregates-filter.input.ts b/server/src/core/@generated/prisma/enum-color-scheme-with-aggregates-filter.input.ts deleted file mode 100644 index 96220c082..000000000 --- a/server/src/core/@generated/prisma/enum-color-scheme-with-aggregates-filter.input.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { ColorScheme } from './color-scheme.enum'; -import { NestedEnumColorSchemeWithAggregatesFilter } from './nested-enum-color-scheme-with-aggregates-filter.input'; -import { NestedIntFilter } from './nested-int-filter.input'; -import { NestedEnumColorSchemeFilter } from './nested-enum-color-scheme-filter.input'; - -@InputType() -export class EnumColorSchemeWithAggregatesFilter { - - @Field(() => ColorScheme, {nullable:true}) - equals?: keyof typeof ColorScheme; - - @Field(() => [ColorScheme], {nullable:true}) - in?: Array; - - @Field(() => [ColorScheme], {nullable:true}) - notIn?: Array; - - @Field(() => NestedEnumColorSchemeWithAggregatesFilter, {nullable:true}) - not?: NestedEnumColorSchemeWithAggregatesFilter; - - @Field(() => NestedIntFilter, {nullable:true}) - _count?: NestedIntFilter; - - @Field(() => NestedEnumColorSchemeFilter, {nullable:true}) - _min?: NestedEnumColorSchemeFilter; - - @Field(() => NestedEnumColorSchemeFilter, {nullable:true}) - _max?: NestedEnumColorSchemeFilter; -} diff --git a/server/src/core/@generated/prisma/enum-commentable-type-field-update-operations.input.ts b/server/src/core/@generated/prisma/enum-commentable-type-field-update-operations.input.ts deleted file mode 100644 index d1d2058d0..000000000 --- a/server/src/core/@generated/prisma/enum-commentable-type-field-update-operations.input.ts +++ /dev/null @@ -1,10 +0,0 @@ -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/core/@generated/prisma/enum-commentable-type-filter.input.ts b/server/src/core/@generated/prisma/enum-commentable-type-filter.input.ts deleted file mode 100644 index 0bcd9391d..000000000 --- a/server/src/core/@generated/prisma/enum-commentable-type-filter.input.ts +++ /dev/null @@ -1,20 +0,0 @@ -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; - - @Field(() => [CommentableType], {nullable:true}) - notIn?: Array; - - @Field(() => NestedEnumCommentableTypeFilter, {nullable:true}) - not?: NestedEnumCommentableTypeFilter; -} diff --git a/server/src/core/@generated/prisma/enum-commentable-type-with-aggregates-filter.input.ts b/server/src/core/@generated/prisma/enum-commentable-type-with-aggregates-filter.input.ts deleted file mode 100644 index 8226fc9a9..000000000 --- a/server/src/core/@generated/prisma/enum-commentable-type-with-aggregates-filter.input.ts +++ /dev/null @@ -1,31 +0,0 @@ -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; - - @Field(() => [CommentableType], {nullable:true}) - notIn?: Array; - - @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/core/@generated/prisma/enum-pipeline-progressable-type-field-update-operations.input.ts b/server/src/core/@generated/prisma/enum-pipeline-progressable-type-field-update-operations.input.ts deleted file mode 100644 index 7f089c9f0..000000000 --- a/server/src/core/@generated/prisma/enum-pipeline-progressable-type-field-update-operations.input.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineProgressableType } from './pipeline-progressable-type.enum'; - -@InputType() -export class EnumPipelineProgressableTypeFieldUpdateOperationsInput { - - @Field(() => PipelineProgressableType, {nullable:true}) - set?: keyof typeof PipelineProgressableType; -} diff --git a/server/src/core/@generated/prisma/enum-pipeline-progressable-type-filter.input.ts b/server/src/core/@generated/prisma/enum-pipeline-progressable-type-filter.input.ts deleted file mode 100644 index 6d7d1b4f3..000000000 --- a/server/src/core/@generated/prisma/enum-pipeline-progressable-type-filter.input.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineProgressableType } from './pipeline-progressable-type.enum'; -import { NestedEnumPipelineProgressableTypeFilter } from './nested-enum-pipeline-progressable-type-filter.input'; - -@InputType() -export class EnumPipelineProgressableTypeFilter { - - @Field(() => PipelineProgressableType, {nullable:true}) - equals?: keyof typeof PipelineProgressableType; - - @Field(() => [PipelineProgressableType], {nullable:true}) - in?: Array; - - @Field(() => [PipelineProgressableType], {nullable:true}) - notIn?: Array; - - @Field(() => NestedEnumPipelineProgressableTypeFilter, {nullable:true}) - not?: NestedEnumPipelineProgressableTypeFilter; -} diff --git a/server/src/core/@generated/prisma/enum-pipeline-progressable-type-with-aggregates-filter.input.ts b/server/src/core/@generated/prisma/enum-pipeline-progressable-type-with-aggregates-filter.input.ts deleted file mode 100644 index d80c12337..000000000 --- a/server/src/core/@generated/prisma/enum-pipeline-progressable-type-with-aggregates-filter.input.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineProgressableType } from './pipeline-progressable-type.enum'; -import { NestedEnumPipelineProgressableTypeWithAggregatesFilter } from './nested-enum-pipeline-progressable-type-with-aggregates-filter.input'; -import { NestedIntFilter } from './nested-int-filter.input'; -import { NestedEnumPipelineProgressableTypeFilter } from './nested-enum-pipeline-progressable-type-filter.input'; - -@InputType() -export class EnumPipelineProgressableTypeWithAggregatesFilter { - - @Field(() => PipelineProgressableType, {nullable:true}) - equals?: keyof typeof PipelineProgressableType; - - @Field(() => [PipelineProgressableType], {nullable:true}) - in?: Array; - - @Field(() => [PipelineProgressableType], {nullable:true}) - notIn?: Array; - - @Field(() => NestedEnumPipelineProgressableTypeWithAggregatesFilter, {nullable:true}) - not?: NestedEnumPipelineProgressableTypeWithAggregatesFilter; - - @Field(() => NestedIntFilter, {nullable:true}) - _count?: NestedIntFilter; - - @Field(() => NestedEnumPipelineProgressableTypeFilter, {nullable:true}) - _min?: NestedEnumPipelineProgressableTypeFilter; - - @Field(() => NestedEnumPipelineProgressableTypeFilter, {nullable:true}) - _max?: NestedEnumPipelineProgressableTypeFilter; -} diff --git a/server/src/core/@generated/prisma/int-nullable-filter.input.ts b/server/src/core/@generated/prisma/int-nullable-filter.input.ts deleted file mode 100644 index cd2e7ab70..000000000 --- a/server/src/core/@generated/prisma/int-nullable-filter.input.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { Int } from '@nestjs/graphql'; -import { NestedIntNullableFilter } from './nested-int-nullable-filter.input'; - -@InputType() -export class IntNullableFilter { - - @Field(() => Int, {nullable:true}) - equals?: number; - - @Field(() => [Int], {nullable:true}) - in?: Array; - - @Field(() => [Int], {nullable:true}) - notIn?: Array; - - @Field(() => Int, {nullable:true}) - lt?: number; - - @Field(() => Int, {nullable:true}) - lte?: number; - - @Field(() => Int, {nullable:true}) - gt?: number; - - @Field(() => Int, {nullable:true}) - gte?: number; - - @Field(() => NestedIntNullableFilter, {nullable:true}) - not?: NestedIntNullableFilter; -} diff --git a/server/src/core/@generated/prisma/int-nullable-with-aggregates-filter.input.ts b/server/src/core/@generated/prisma/int-nullable-with-aggregates-filter.input.ts deleted file mode 100644 index 8eb3fa985..000000000 --- a/server/src/core/@generated/prisma/int-nullable-with-aggregates-filter.input.ts +++ /dev/null @@ -1,49 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { Int } from '@nestjs/graphql'; -import { NestedIntNullableWithAggregatesFilter } from './nested-int-nullable-with-aggregates-filter.input'; -import { NestedIntNullableFilter } from './nested-int-nullable-filter.input'; -import { NestedFloatNullableFilter } from './nested-float-nullable-filter.input'; - -@InputType() -export class IntNullableWithAggregatesFilter { - - @Field(() => Int, {nullable:true}) - equals?: number; - - @Field(() => [Int], {nullable:true}) - in?: Array; - - @Field(() => [Int], {nullable:true}) - notIn?: Array; - - @Field(() => Int, {nullable:true}) - lt?: number; - - @Field(() => Int, {nullable:true}) - lte?: number; - - @Field(() => Int, {nullable:true}) - gt?: number; - - @Field(() => Int, {nullable:true}) - gte?: number; - - @Field(() => NestedIntNullableWithAggregatesFilter, {nullable:true}) - not?: NestedIntNullableWithAggregatesFilter; - - @Field(() => NestedIntNullableFilter, {nullable:true}) - _count?: NestedIntNullableFilter; - - @Field(() => NestedFloatNullableFilter, {nullable:true}) - _avg?: NestedFloatNullableFilter; - - @Field(() => NestedIntNullableFilter, {nullable:true}) - _sum?: NestedIntNullableFilter; - - @Field(() => NestedIntNullableFilter, {nullable:true}) - _min?: NestedIntNullableFilter; - - @Field(() => NestedIntNullableFilter, {nullable:true}) - _max?: NestedIntNullableFilter; -} diff --git a/server/src/core/@generated/prisma/json-null-value-filter.enum.ts b/server/src/core/@generated/prisma/json-null-value-filter.enum.ts deleted file mode 100644 index 8c3b4f96e..000000000 --- a/server/src/core/@generated/prisma/json-null-value-filter.enum.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { registerEnumType } from '@nestjs/graphql'; - -export enum JsonNullValueFilter { - DbNull = "DbNull", - JsonNull = "JsonNull", - AnyNull = "AnyNull" -} - - -registerEnumType(JsonNullValueFilter, { name: 'JsonNullValueFilter', description: undefined }) diff --git a/server/src/core/@generated/prisma/json-nullable-filter.input.ts b/server/src/core/@generated/prisma/json-nullable-filter.input.ts deleted file mode 100644 index b92952866..000000000 --- a/server/src/core/@generated/prisma/json-nullable-filter.input.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { GraphQLJSON } from 'graphql-type-json'; - -@InputType() -export class JsonNullableFilter { - - @Field(() => GraphQLJSON, {nullable:true}) - equals?: any; - - @Field(() => [String], {nullable:true}) - path?: Array; - - @Field(() => String, {nullable:true}) - string_contains?: string; - - @Field(() => String, {nullable:true}) - string_starts_with?: string; - - @Field(() => String, {nullable:true}) - string_ends_with?: string; - - @Field(() => GraphQLJSON, {nullable:true}) - array_contains?: any; - - @Field(() => GraphQLJSON, {nullable:true}) - array_starts_with?: any; - - @Field(() => GraphQLJSON, {nullable:true}) - array_ends_with?: any; - - @Field(() => GraphQLJSON, {nullable:true}) - lt?: any; - - @Field(() => GraphQLJSON, {nullable:true}) - lte?: any; - - @Field(() => GraphQLJSON, {nullable:true}) - gt?: any; - - @Field(() => GraphQLJSON, {nullable:true}) - gte?: any; - - @Field(() => GraphQLJSON, {nullable:true}) - not?: any; -} diff --git a/server/src/core/@generated/prisma/json-nullable-with-aggregates-filter.input.ts b/server/src/core/@generated/prisma/json-nullable-with-aggregates-filter.input.ts deleted file mode 100644 index e4378bc4e..000000000 --- a/server/src/core/@generated/prisma/json-nullable-with-aggregates-filter.input.ts +++ /dev/null @@ -1,57 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { GraphQLJSON } from 'graphql-type-json'; -import { NestedIntNullableFilter } from './nested-int-nullable-filter.input'; -import { NestedJsonNullableFilter } from './nested-json-nullable-filter.input'; - -@InputType() -export class JsonNullableWithAggregatesFilter { - - @Field(() => GraphQLJSON, {nullable:true}) - equals?: any; - - @Field(() => [String], {nullable:true}) - path?: Array; - - @Field(() => String, {nullable:true}) - string_contains?: string; - - @Field(() => String, {nullable:true}) - string_starts_with?: string; - - @Field(() => String, {nullable:true}) - string_ends_with?: string; - - @Field(() => GraphQLJSON, {nullable:true}) - array_contains?: any; - - @Field(() => GraphQLJSON, {nullable:true}) - array_starts_with?: any; - - @Field(() => GraphQLJSON, {nullable:true}) - array_ends_with?: any; - - @Field(() => GraphQLJSON, {nullable:true}) - lt?: any; - - @Field(() => GraphQLJSON, {nullable:true}) - lte?: any; - - @Field(() => GraphQLJSON, {nullable:true}) - gt?: any; - - @Field(() => GraphQLJSON, {nullable:true}) - gte?: any; - - @Field(() => GraphQLJSON, {nullable:true}) - not?: any; - - @Field(() => NestedIntNullableFilter, {nullable:true}) - _count?: NestedIntNullableFilter; - - @Field(() => NestedJsonNullableFilter, {nullable:true}) - _min?: NestedJsonNullableFilter; - - @Field(() => NestedJsonNullableFilter, {nullable:true}) - _max?: NestedJsonNullableFilter; -} diff --git a/server/src/core/@generated/prisma/nested-bool-filter.input.ts b/server/src/core/@generated/prisma/nested-bool-filter.input.ts deleted file mode 100644 index 7bbf1beb2..000000000 --- a/server/src/core/@generated/prisma/nested-bool-filter.input.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; - -@InputType() -export class NestedBoolFilter { - - @Field(() => Boolean, {nullable:true}) - equals?: boolean; - - @Field(() => NestedBoolFilter, {nullable:true}) - not?: NestedBoolFilter; -} diff --git a/server/src/core/@generated/prisma/nested-bool-with-aggregates-filter.input.ts b/server/src/core/@generated/prisma/nested-bool-with-aggregates-filter.input.ts deleted file mode 100644 index 30aa484d3..000000000 --- a/server/src/core/@generated/prisma/nested-bool-with-aggregates-filter.input.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { NestedIntFilter } from './nested-int-filter.input'; -import { NestedBoolFilter } from './nested-bool-filter.input'; - -@InputType() -export class NestedBoolWithAggregatesFilter { - - @Field(() => Boolean, {nullable:true}) - equals?: boolean; - - @Field(() => NestedBoolWithAggregatesFilter, {nullable:true}) - not?: NestedBoolWithAggregatesFilter; - - @Field(() => NestedIntFilter, {nullable:true}) - _count?: NestedIntFilter; - - @Field(() => NestedBoolFilter, {nullable:true}) - _min?: NestedBoolFilter; - - @Field(() => NestedBoolFilter, {nullable:true}) - _max?: NestedBoolFilter; -} diff --git a/server/src/core/@generated/prisma/nested-date-time-filter.input.ts b/server/src/core/@generated/prisma/nested-date-time-filter.input.ts deleted file mode 100644 index 36c9137f1..000000000 --- a/server/src/core/@generated/prisma/nested-date-time-filter.input.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; - -@InputType() -export class NestedDateTimeFilter { - - @Field(() => Date, {nullable:true}) - equals?: Date | string; - - @Field(() => [Date], {nullable:true}) - in?: Array | Array; - - @Field(() => [Date], {nullable:true}) - notIn?: Array | Array; - - @Field(() => Date, {nullable:true}) - lt?: Date | string; - - @Field(() => Date, {nullable:true}) - lte?: Date | string; - - @Field(() => Date, {nullable:true}) - gt?: Date | string; - - @Field(() => Date, {nullable:true}) - gte?: Date | string; - - @Field(() => NestedDateTimeFilter, {nullable:true}) - not?: NestedDateTimeFilter; -} diff --git a/server/src/core/@generated/prisma/nested-date-time-nullable-filter.input.ts b/server/src/core/@generated/prisma/nested-date-time-nullable-filter.input.ts deleted file mode 100644 index 22c3c8ef5..000000000 --- a/server/src/core/@generated/prisma/nested-date-time-nullable-filter.input.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; - -@InputType() -export class NestedDateTimeNullableFilter { - - @Field(() => Date, {nullable:true}) - equals?: Date | string; - - @Field(() => [Date], {nullable:true}) - in?: Array | Array; - - @Field(() => [Date], {nullable:true}) - notIn?: Array | Array; - - @Field(() => Date, {nullable:true}) - lt?: Date | string; - - @Field(() => Date, {nullable:true}) - lte?: Date | string; - - @Field(() => Date, {nullable:true}) - gt?: Date | string; - - @Field(() => Date, {nullable:true}) - gte?: Date | string; - - @Field(() => NestedDateTimeNullableFilter, {nullable:true}) - not?: NestedDateTimeNullableFilter; -} diff --git a/server/src/core/@generated/prisma/nested-date-time-nullable-with-aggregates-filter.input.ts b/server/src/core/@generated/prisma/nested-date-time-nullable-with-aggregates-filter.input.ts deleted file mode 100644 index 1d3223f57..000000000 --- a/server/src/core/@generated/prisma/nested-date-time-nullable-with-aggregates-filter.input.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { NestedIntNullableFilter } from './nested-int-nullable-filter.input'; -import { NestedDateTimeNullableFilter } from './nested-date-time-nullable-filter.input'; - -@InputType() -export class NestedDateTimeNullableWithAggregatesFilter { - - @Field(() => Date, {nullable:true}) - equals?: Date | string; - - @Field(() => [Date], {nullable:true}) - in?: Array | Array; - - @Field(() => [Date], {nullable:true}) - notIn?: Array | Array; - - @Field(() => Date, {nullable:true}) - lt?: Date | string; - - @Field(() => Date, {nullable:true}) - lte?: Date | string; - - @Field(() => Date, {nullable:true}) - gt?: Date | string; - - @Field(() => Date, {nullable:true}) - gte?: Date | string; - - @Field(() => NestedDateTimeNullableWithAggregatesFilter, {nullable:true}) - not?: NestedDateTimeNullableWithAggregatesFilter; - - @Field(() => NestedIntNullableFilter, {nullable:true}) - _count?: NestedIntNullableFilter; - - @Field(() => NestedDateTimeNullableFilter, {nullable:true}) - _min?: NestedDateTimeNullableFilter; - - @Field(() => NestedDateTimeNullableFilter, {nullable:true}) - _max?: NestedDateTimeNullableFilter; -} diff --git a/server/src/core/@generated/prisma/nested-date-time-with-aggregates-filter.input.ts b/server/src/core/@generated/prisma/nested-date-time-with-aggregates-filter.input.ts deleted file mode 100644 index 69263fc39..000000000 --- a/server/src/core/@generated/prisma/nested-date-time-with-aggregates-filter.input.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { NestedIntFilter } from './nested-int-filter.input'; -import { NestedDateTimeFilter } from './nested-date-time-filter.input'; - -@InputType() -export class NestedDateTimeWithAggregatesFilter { - - @Field(() => Date, {nullable:true}) - equals?: Date | string; - - @Field(() => [Date], {nullable:true}) - in?: Array | Array; - - @Field(() => [Date], {nullable:true}) - notIn?: Array | Array; - - @Field(() => Date, {nullable:true}) - lt?: Date | string; - - @Field(() => Date, {nullable:true}) - lte?: Date | string; - - @Field(() => Date, {nullable:true}) - gt?: Date | string; - - @Field(() => Date, {nullable:true}) - gte?: Date | string; - - @Field(() => NestedDateTimeWithAggregatesFilter, {nullable:true}) - not?: NestedDateTimeWithAggregatesFilter; - - @Field(() => NestedIntFilter, {nullable:true}) - _count?: NestedIntFilter; - - @Field(() => NestedDateTimeFilter, {nullable:true}) - _min?: NestedDateTimeFilter; - - @Field(() => NestedDateTimeFilter, {nullable:true}) - _max?: NestedDateTimeFilter; -} diff --git a/server/src/core/@generated/prisma/nested-enum-activity-type-filter.input.ts b/server/src/core/@generated/prisma/nested-enum-activity-type-filter.input.ts deleted file mode 100644 index 33b3b38f1..000000000 --- a/server/src/core/@generated/prisma/nested-enum-activity-type-filter.input.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { ActivityType } from './activity-type.enum'; - -@InputType() -export class NestedEnumActivityTypeFilter { - - @Field(() => ActivityType, {nullable:true}) - equals?: keyof typeof ActivityType; - - @Field(() => [ActivityType], {nullable:true}) - in?: Array; - - @Field(() => [ActivityType], {nullable:true}) - notIn?: Array; - - @Field(() => NestedEnumActivityTypeFilter, {nullable:true}) - not?: NestedEnumActivityTypeFilter; -} diff --git a/server/src/core/@generated/prisma/nested-enum-activity-type-with-aggregates-filter.input.ts b/server/src/core/@generated/prisma/nested-enum-activity-type-with-aggregates-filter.input.ts deleted file mode 100644 index 3d8e3a613..000000000 --- a/server/src/core/@generated/prisma/nested-enum-activity-type-with-aggregates-filter.input.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { ActivityType } from './activity-type.enum'; -import { NestedIntFilter } from './nested-int-filter.input'; -import { NestedEnumActivityTypeFilter } from './nested-enum-activity-type-filter.input'; - -@InputType() -export class NestedEnumActivityTypeWithAggregatesFilter { - - @Field(() => ActivityType, {nullable:true}) - equals?: keyof typeof ActivityType; - - @Field(() => [ActivityType], {nullable:true}) - in?: Array; - - @Field(() => [ActivityType], {nullable:true}) - notIn?: Array; - - @Field(() => NestedEnumActivityTypeWithAggregatesFilter, {nullable:true}) - not?: NestedEnumActivityTypeWithAggregatesFilter; - - @Field(() => NestedIntFilter, {nullable:true}) - _count?: NestedIntFilter; - - @Field(() => NestedEnumActivityTypeFilter, {nullable:true}) - _min?: NestedEnumActivityTypeFilter; - - @Field(() => NestedEnumActivityTypeFilter, {nullable:true}) - _max?: NestedEnumActivityTypeFilter; -} diff --git a/server/src/core/@generated/prisma/nested-enum-color-scheme-filter.input.ts b/server/src/core/@generated/prisma/nested-enum-color-scheme-filter.input.ts deleted file mode 100644 index 3eef0c3e1..000000000 --- a/server/src/core/@generated/prisma/nested-enum-color-scheme-filter.input.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { ColorScheme } from './color-scheme.enum'; - -@InputType() -export class NestedEnumColorSchemeFilter { - - @Field(() => ColorScheme, {nullable:true}) - equals?: keyof typeof ColorScheme; - - @Field(() => [ColorScheme], {nullable:true}) - in?: Array; - - @Field(() => [ColorScheme], {nullable:true}) - notIn?: Array; - - @Field(() => NestedEnumColorSchemeFilter, {nullable:true}) - not?: NestedEnumColorSchemeFilter; -} diff --git a/server/src/core/@generated/prisma/nested-enum-color-scheme-with-aggregates-filter.input.ts b/server/src/core/@generated/prisma/nested-enum-color-scheme-with-aggregates-filter.input.ts deleted file mode 100644 index d96a9ea47..000000000 --- a/server/src/core/@generated/prisma/nested-enum-color-scheme-with-aggregates-filter.input.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { ColorScheme } from './color-scheme.enum'; -import { NestedIntFilter } from './nested-int-filter.input'; -import { NestedEnumColorSchemeFilter } from './nested-enum-color-scheme-filter.input'; - -@InputType() -export class NestedEnumColorSchemeWithAggregatesFilter { - - @Field(() => ColorScheme, {nullable:true}) - equals?: keyof typeof ColorScheme; - - @Field(() => [ColorScheme], {nullable:true}) - in?: Array; - - @Field(() => [ColorScheme], {nullable:true}) - notIn?: Array; - - @Field(() => NestedEnumColorSchemeWithAggregatesFilter, {nullable:true}) - not?: NestedEnumColorSchemeWithAggregatesFilter; - - @Field(() => NestedIntFilter, {nullable:true}) - _count?: NestedIntFilter; - - @Field(() => NestedEnumColorSchemeFilter, {nullable:true}) - _min?: NestedEnumColorSchemeFilter; - - @Field(() => NestedEnumColorSchemeFilter, {nullable:true}) - _max?: NestedEnumColorSchemeFilter; -} diff --git a/server/src/core/@generated/prisma/nested-enum-commentable-type-filter.input.ts b/server/src/core/@generated/prisma/nested-enum-commentable-type-filter.input.ts deleted file mode 100644 index 129e39f60..000000000 --- a/server/src/core/@generated/prisma/nested-enum-commentable-type-filter.input.ts +++ /dev/null @@ -1,19 +0,0 @@ -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; - - @Field(() => [CommentableType], {nullable:true}) - notIn?: Array; - - @Field(() => NestedEnumCommentableTypeFilter, {nullable:true}) - not?: NestedEnumCommentableTypeFilter; -} diff --git a/server/src/core/@generated/prisma/nested-enum-commentable-type-with-aggregates-filter.input.ts b/server/src/core/@generated/prisma/nested-enum-commentable-type-with-aggregates-filter.input.ts deleted file mode 100644 index ff1a8eb63..000000000 --- a/server/src/core/@generated/prisma/nested-enum-commentable-type-with-aggregates-filter.input.ts +++ /dev/null @@ -1,30 +0,0 @@ -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; - - @Field(() => [CommentableType], {nullable:true}) - notIn?: Array; - - @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/core/@generated/prisma/nested-enum-pipeline-progressable-type-filter.input.ts b/server/src/core/@generated/prisma/nested-enum-pipeline-progressable-type-filter.input.ts deleted file mode 100644 index 3f4c15bc2..000000000 --- a/server/src/core/@generated/prisma/nested-enum-pipeline-progressable-type-filter.input.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineProgressableType } from './pipeline-progressable-type.enum'; - -@InputType() -export class NestedEnumPipelineProgressableTypeFilter { - - @Field(() => PipelineProgressableType, {nullable:true}) - equals?: keyof typeof PipelineProgressableType; - - @Field(() => [PipelineProgressableType], {nullable:true}) - in?: Array; - - @Field(() => [PipelineProgressableType], {nullable:true}) - notIn?: Array; - - @Field(() => NestedEnumPipelineProgressableTypeFilter, {nullable:true}) - not?: NestedEnumPipelineProgressableTypeFilter; -} diff --git a/server/src/core/@generated/prisma/nested-enum-pipeline-progressable-type-with-aggregates-filter.input.ts b/server/src/core/@generated/prisma/nested-enum-pipeline-progressable-type-with-aggregates-filter.input.ts deleted file mode 100644 index 775356312..000000000 --- a/server/src/core/@generated/prisma/nested-enum-pipeline-progressable-type-with-aggregates-filter.input.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { PipelineProgressableType } from './pipeline-progressable-type.enum'; -import { NestedIntFilter } from './nested-int-filter.input'; -import { NestedEnumPipelineProgressableTypeFilter } from './nested-enum-pipeline-progressable-type-filter.input'; - -@InputType() -export class NestedEnumPipelineProgressableTypeWithAggregatesFilter { - - @Field(() => PipelineProgressableType, {nullable:true}) - equals?: keyof typeof PipelineProgressableType; - - @Field(() => [PipelineProgressableType], {nullable:true}) - in?: Array; - - @Field(() => [PipelineProgressableType], {nullable:true}) - notIn?: Array; - - @Field(() => NestedEnumPipelineProgressableTypeWithAggregatesFilter, {nullable:true}) - not?: NestedEnumPipelineProgressableTypeWithAggregatesFilter; - - @Field(() => NestedIntFilter, {nullable:true}) - _count?: NestedIntFilter; - - @Field(() => NestedEnumPipelineProgressableTypeFilter, {nullable:true}) - _min?: NestedEnumPipelineProgressableTypeFilter; - - @Field(() => NestedEnumPipelineProgressableTypeFilter, {nullable:true}) - _max?: NestedEnumPipelineProgressableTypeFilter; -} diff --git a/server/src/core/@generated/prisma/nested-float-nullable-filter.input.ts b/server/src/core/@generated/prisma/nested-float-nullable-filter.input.ts deleted file mode 100644 index 0faf1abd9..000000000 --- a/server/src/core/@generated/prisma/nested-float-nullable-filter.input.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { Float } from '@nestjs/graphql'; - -@InputType() -export class NestedFloatNullableFilter { - - @Field(() => Float, {nullable:true}) - equals?: number; - - @Field(() => [Float], {nullable:true}) - in?: Array; - - @Field(() => [Float], {nullable:true}) - notIn?: Array; - - @Field(() => Float, {nullable:true}) - lt?: number; - - @Field(() => Float, {nullable:true}) - lte?: number; - - @Field(() => Float, {nullable:true}) - gt?: number; - - @Field(() => Float, {nullable:true}) - gte?: number; - - @Field(() => NestedFloatNullableFilter, {nullable:true}) - not?: NestedFloatNullableFilter; -} diff --git a/server/src/core/@generated/prisma/nested-int-filter.input.ts b/server/src/core/@generated/prisma/nested-int-filter.input.ts deleted file mode 100644 index 57aafddf0..000000000 --- a/server/src/core/@generated/prisma/nested-int-filter.input.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { Int } from '@nestjs/graphql'; - -@InputType() -export class NestedIntFilter { - - @Field(() => Int, {nullable:true}) - equals?: number; - - @Field(() => [Int], {nullable:true}) - in?: Array; - - @Field(() => [Int], {nullable:true}) - notIn?: Array; - - @Field(() => Int, {nullable:true}) - lt?: number; - - @Field(() => Int, {nullable:true}) - lte?: number; - - @Field(() => Int, {nullable:true}) - gt?: number; - - @Field(() => Int, {nullable:true}) - gte?: number; - - @Field(() => NestedIntFilter, {nullable:true}) - not?: NestedIntFilter; -} diff --git a/server/src/core/@generated/prisma/nested-int-nullable-filter.input.ts b/server/src/core/@generated/prisma/nested-int-nullable-filter.input.ts deleted file mode 100644 index a16c881dd..000000000 --- a/server/src/core/@generated/prisma/nested-int-nullable-filter.input.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { Int } from '@nestjs/graphql'; - -@InputType() -export class NestedIntNullableFilter { - - @Field(() => Int, {nullable:true}) - equals?: number; - - @Field(() => [Int], {nullable:true}) - in?: Array; - - @Field(() => [Int], {nullable:true}) - notIn?: Array; - - @Field(() => Int, {nullable:true}) - lt?: number; - - @Field(() => Int, {nullable:true}) - lte?: number; - - @Field(() => Int, {nullable:true}) - gt?: number; - - @Field(() => Int, {nullable:true}) - gte?: number; - - @Field(() => NestedIntNullableFilter, {nullable:true}) - not?: NestedIntNullableFilter; -} diff --git a/server/src/core/@generated/prisma/nested-int-nullable-with-aggregates-filter.input.ts b/server/src/core/@generated/prisma/nested-int-nullable-with-aggregates-filter.input.ts deleted file mode 100644 index fc21aeac0..000000000 --- a/server/src/core/@generated/prisma/nested-int-nullable-with-aggregates-filter.input.ts +++ /dev/null @@ -1,48 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { Int } from '@nestjs/graphql'; -import { NestedIntNullableFilter } from './nested-int-nullable-filter.input'; -import { NestedFloatNullableFilter } from './nested-float-nullable-filter.input'; - -@InputType() -export class NestedIntNullableWithAggregatesFilter { - - @Field(() => Int, {nullable:true}) - equals?: number; - - @Field(() => [Int], {nullable:true}) - in?: Array; - - @Field(() => [Int], {nullable:true}) - notIn?: Array; - - @Field(() => Int, {nullable:true}) - lt?: number; - - @Field(() => Int, {nullable:true}) - lte?: number; - - @Field(() => Int, {nullable:true}) - gt?: number; - - @Field(() => Int, {nullable:true}) - gte?: number; - - @Field(() => NestedIntNullableWithAggregatesFilter, {nullable:true}) - not?: NestedIntNullableWithAggregatesFilter; - - @Field(() => NestedIntNullableFilter, {nullable:true}) - _count?: NestedIntNullableFilter; - - @Field(() => NestedFloatNullableFilter, {nullable:true}) - _avg?: NestedFloatNullableFilter; - - @Field(() => NestedIntNullableFilter, {nullable:true}) - _sum?: NestedIntNullableFilter; - - @Field(() => NestedIntNullableFilter, {nullable:true}) - _min?: NestedIntNullableFilter; - - @Field(() => NestedIntNullableFilter, {nullable:true}) - _max?: NestedIntNullableFilter; -} diff --git a/server/src/core/@generated/prisma/nested-json-nullable-filter.input.ts b/server/src/core/@generated/prisma/nested-json-nullable-filter.input.ts deleted file mode 100644 index f03cc42ba..000000000 --- a/server/src/core/@generated/prisma/nested-json-nullable-filter.input.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { GraphQLJSON } from 'graphql-type-json'; - -@InputType() -export class NestedJsonNullableFilter { - - @Field(() => GraphQLJSON, {nullable:true}) - equals?: any; - - @Field(() => [String], {nullable:true}) - path?: Array; - - @Field(() => String, {nullable:true}) - string_contains?: string; - - @Field(() => String, {nullable:true}) - string_starts_with?: string; - - @Field(() => String, {nullable:true}) - string_ends_with?: string; - - @Field(() => GraphQLJSON, {nullable:true}) - array_contains?: any; - - @Field(() => GraphQLJSON, {nullable:true}) - array_starts_with?: any; - - @Field(() => GraphQLJSON, {nullable:true}) - array_ends_with?: any; - - @Field(() => GraphQLJSON, {nullable:true}) - lt?: any; - - @Field(() => GraphQLJSON, {nullable:true}) - lte?: any; - - @Field(() => GraphQLJSON, {nullable:true}) - gt?: any; - - @Field(() => GraphQLJSON, {nullable:true}) - gte?: any; - - @Field(() => GraphQLJSON, {nullable:true}) - not?: any; -} diff --git a/server/src/core/@generated/prisma/nested-string-filter.input.ts b/server/src/core/@generated/prisma/nested-string-filter.input.ts deleted file mode 100644 index 123325f3e..000000000 --- a/server/src/core/@generated/prisma/nested-string-filter.input.ts +++ /dev/null @@ -1,39 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; - -@InputType() -export class NestedStringFilter { - - @Field(() => String, {nullable:true}) - equals?: string; - - @Field(() => [String], {nullable:true}) - in?: Array; - - @Field(() => [String], {nullable:true}) - notIn?: Array; - - @Field(() => String, {nullable:true}) - lt?: string; - - @Field(() => String, {nullable:true}) - lte?: string; - - @Field(() => String, {nullable:true}) - gt?: string; - - @Field(() => String, {nullable:true}) - gte?: string; - - @Field(() => String, {nullable:true}) - contains?: string; - - @Field(() => String, {nullable:true}) - startsWith?: string; - - @Field(() => String, {nullable:true}) - endsWith?: string; - - @Field(() => NestedStringFilter, {nullable:true}) - not?: NestedStringFilter; -} diff --git a/server/src/core/@generated/prisma/nested-string-nullable-filter.input.ts b/server/src/core/@generated/prisma/nested-string-nullable-filter.input.ts deleted file mode 100644 index 6924a935c..000000000 --- a/server/src/core/@generated/prisma/nested-string-nullable-filter.input.ts +++ /dev/null @@ -1,39 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; - -@InputType() -export class NestedStringNullableFilter { - - @Field(() => String, {nullable:true}) - equals?: string; - - @Field(() => [String], {nullable:true}) - in?: Array; - - @Field(() => [String], {nullable:true}) - notIn?: Array; - - @Field(() => String, {nullable:true}) - lt?: string; - - @Field(() => String, {nullable:true}) - lte?: string; - - @Field(() => String, {nullable:true}) - gt?: string; - - @Field(() => String, {nullable:true}) - gte?: string; - - @Field(() => String, {nullable:true}) - contains?: string; - - @Field(() => String, {nullable:true}) - startsWith?: string; - - @Field(() => String, {nullable:true}) - endsWith?: string; - - @Field(() => NestedStringNullableFilter, {nullable:true}) - not?: NestedStringNullableFilter; -} diff --git a/server/src/core/@generated/prisma/nested-string-nullable-with-aggregates-filter.input.ts b/server/src/core/@generated/prisma/nested-string-nullable-with-aggregates-filter.input.ts deleted file mode 100644 index c147b2df6..000000000 --- a/server/src/core/@generated/prisma/nested-string-nullable-with-aggregates-filter.input.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { NestedIntNullableFilter } from './nested-int-nullable-filter.input'; -import { NestedStringNullableFilter } from './nested-string-nullable-filter.input'; - -@InputType() -export class NestedStringNullableWithAggregatesFilter { - - @Field(() => String, {nullable:true}) - equals?: string; - - @Field(() => [String], {nullable:true}) - in?: Array; - - @Field(() => [String], {nullable:true}) - notIn?: Array; - - @Field(() => String, {nullable:true}) - lt?: string; - - @Field(() => String, {nullable:true}) - lte?: string; - - @Field(() => String, {nullable:true}) - gt?: string; - - @Field(() => String, {nullable:true}) - gte?: string; - - @Field(() => String, {nullable:true}) - contains?: string; - - @Field(() => String, {nullable:true}) - startsWith?: string; - - @Field(() => String, {nullable:true}) - endsWith?: string; - - @Field(() => NestedStringNullableWithAggregatesFilter, {nullable:true}) - not?: NestedStringNullableWithAggregatesFilter; - - @Field(() => NestedIntNullableFilter, {nullable:true}) - _count?: NestedIntNullableFilter; - - @Field(() => NestedStringNullableFilter, {nullable:true}) - _min?: NestedStringNullableFilter; - - @Field(() => NestedStringNullableFilter, {nullable:true}) - _max?: NestedStringNullableFilter; -} diff --git a/server/src/core/@generated/prisma/nested-string-with-aggregates-filter.input.ts b/server/src/core/@generated/prisma/nested-string-with-aggregates-filter.input.ts deleted file mode 100644 index 027db0fb3..000000000 --- a/server/src/core/@generated/prisma/nested-string-with-aggregates-filter.input.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { NestedIntFilter } from './nested-int-filter.input'; -import { NestedStringFilter } from './nested-string-filter.input'; - -@InputType() -export class NestedStringWithAggregatesFilter { - - @Field(() => String, {nullable:true}) - equals?: string; - - @Field(() => [String], {nullable:true}) - in?: Array; - - @Field(() => [String], {nullable:true}) - notIn?: Array; - - @Field(() => String, {nullable:true}) - lt?: string; - - @Field(() => String, {nullable:true}) - lte?: string; - - @Field(() => String, {nullable:true}) - gt?: string; - - @Field(() => String, {nullable:true}) - gte?: string; - - @Field(() => String, {nullable:true}) - contains?: string; - - @Field(() => String, {nullable:true}) - startsWith?: string; - - @Field(() => String, {nullable:true}) - endsWith?: string; - - @Field(() => NestedStringWithAggregatesFilter, {nullable:true}) - not?: NestedStringWithAggregatesFilter; - - @Field(() => NestedIntFilter, {nullable:true}) - _count?: NestedIntFilter; - - @Field(() => NestedStringFilter, {nullable:true}) - _min?: NestedStringFilter; - - @Field(() => NestedStringFilter, {nullable:true}) - _max?: NestedStringFilter; -} diff --git a/server/src/core/@generated/prisma/nullable-date-time-field-update-operations.input.ts b/server/src/core/@generated/prisma/nullable-date-time-field-update-operations.input.ts deleted file mode 100644 index a3c47a9f7..000000000 --- a/server/src/core/@generated/prisma/nullable-date-time-field-update-operations.input.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; - -@InputType() -export class NullableDateTimeFieldUpdateOperationsInput { - - @Field(() => Date, {nullable:true}) - set?: Date | string; -} diff --git a/server/src/core/@generated/prisma/nullable-int-field-update-operations.input.ts b/server/src/core/@generated/prisma/nullable-int-field-update-operations.input.ts deleted file mode 100644 index 6f8f3939b..000000000 --- a/server/src/core/@generated/prisma/nullable-int-field-update-operations.input.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { Int } from '@nestjs/graphql'; - -@InputType() -export class NullableIntFieldUpdateOperationsInput { - - @Field(() => Int, {nullable:true}) - set?: number; - - @Field(() => Int, {nullable:true}) - increment?: number; - - @Field(() => Int, {nullable:true}) - decrement?: number; - - @Field(() => Int, {nullable:true}) - multiply?: number; - - @Field(() => Int, {nullable:true}) - divide?: number; -} diff --git a/server/src/core/@generated/prisma/nullable-json-null-value-input.enum.ts b/server/src/core/@generated/prisma/nullable-json-null-value-input.enum.ts deleted file mode 100644 index a4144ec5e..000000000 --- a/server/src/core/@generated/prisma/nullable-json-null-value-input.enum.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { registerEnumType } from '@nestjs/graphql'; - -export enum NullableJsonNullValueInput { - DbNull = "DbNull", - JsonNull = "JsonNull" -} - - -registerEnumType(NullableJsonNullValueInput, { name: 'NullableJsonNullValueInput', description: undefined }) diff --git a/server/src/core/@generated/prisma/nullable-string-field-update-operations.input.ts b/server/src/core/@generated/prisma/nullable-string-field-update-operations.input.ts deleted file mode 100644 index c956508b5..000000000 --- a/server/src/core/@generated/prisma/nullable-string-field-update-operations.input.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; - -@InputType() -export class NullableStringFieldUpdateOperationsInput { - - @Field(() => String, {nullable:true}) - set?: string; -} diff --git a/server/src/core/@generated/prisma/nulls-order.enum.ts b/server/src/core/@generated/prisma/nulls-order.enum.ts deleted file mode 100644 index ca5e591b4..000000000 --- a/server/src/core/@generated/prisma/nulls-order.enum.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { registerEnumType } from '@nestjs/graphql'; - -export enum NullsOrder { - first = "first", - last = "last" -} - - -registerEnumType(NullsOrder, { name: 'NullsOrder', description: undefined }) diff --git a/server/src/core/@generated/prisma/pipeline-progressable-type.enum.ts b/server/src/core/@generated/prisma/pipeline-progressable-type.enum.ts deleted file mode 100644 index 815781c14..000000000 --- a/server/src/core/@generated/prisma/pipeline-progressable-type.enum.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { registerEnumType } from '@nestjs/graphql'; - -export enum PipelineProgressableType { - Person = "Person", - Company = "Company" -} - - -registerEnumType(PipelineProgressableType, { name: 'PipelineProgressableType', description: undefined }) diff --git a/server/src/core/@generated/prisma/query-mode.enum.ts b/server/src/core/@generated/prisma/query-mode.enum.ts deleted file mode 100644 index bf260c806..000000000 --- a/server/src/core/@generated/prisma/query-mode.enum.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { registerEnumType } from '@nestjs/graphql'; - -export enum QueryMode { - 'default' = "default", - insensitive = "insensitive" -} - - -registerEnumType(QueryMode, { name: 'QueryMode', description: undefined }) diff --git a/server/src/core/@generated/prisma/sort-order.enum.ts b/server/src/core/@generated/prisma/sort-order.enum.ts deleted file mode 100644 index caeff7d9f..000000000 --- a/server/src/core/@generated/prisma/sort-order.enum.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { registerEnumType } from '@nestjs/graphql'; - -export enum SortOrder { - asc = "asc", - desc = "desc" -} - - -registerEnumType(SortOrder, { name: 'SortOrder', description: undefined }) diff --git a/server/src/core/@generated/prisma/sort-order.input.ts b/server/src/core/@generated/prisma/sort-order.input.ts deleted file mode 100644 index b38671cab..000000000 --- a/server/src/core/@generated/prisma/sort-order.input.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { SortOrder } from './sort-order.enum'; -import { NullsOrder } from './nulls-order.enum'; - -@InputType() -export class SortOrderInput { - - @Field(() => SortOrder, {nullable:false}) - sort!: keyof typeof SortOrder; - - @Field(() => NullsOrder, {nullable:true}) - nulls?: keyof typeof NullsOrder; -} diff --git a/server/src/core/@generated/prisma/string-field-update-operations.input.ts b/server/src/core/@generated/prisma/string-field-update-operations.input.ts deleted file mode 100644 index 002169f7b..000000000 --- a/server/src/core/@generated/prisma/string-field-update-operations.input.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; - -@InputType() -export class StringFieldUpdateOperationsInput { - - @Field(() => String, {nullable:true}) - set?: string; -} diff --git a/server/src/core/@generated/prisma/string-filter.input.ts b/server/src/core/@generated/prisma/string-filter.input.ts deleted file mode 100644 index 4df55ae7f..000000000 --- a/server/src/core/@generated/prisma/string-filter.input.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { QueryMode } from './query-mode.enum'; -import { NestedStringFilter } from './nested-string-filter.input'; - -@InputType() -export class StringFilter { - - @Field(() => String, {nullable:true}) - equals?: string; - - @Field(() => [String], {nullable:true}) - in?: Array; - - @Field(() => [String], {nullable:true}) - notIn?: Array; - - @Field(() => String, {nullable:true}) - lt?: string; - - @Field(() => String, {nullable:true}) - lte?: string; - - @Field(() => String, {nullable:true}) - gt?: string; - - @Field(() => String, {nullable:true}) - gte?: string; - - @Field(() => String, {nullable:true}) - contains?: string; - - @Field(() => String, {nullable:true}) - startsWith?: string; - - @Field(() => String, {nullable:true}) - endsWith?: string; - - @Field(() => QueryMode, {nullable:true}) - mode?: keyof typeof QueryMode; - - @Field(() => NestedStringFilter, {nullable:true}) - not?: NestedStringFilter; -} diff --git a/server/src/core/@generated/prisma/string-nullable-filter.input.ts b/server/src/core/@generated/prisma/string-nullable-filter.input.ts deleted file mode 100644 index a20709fda..000000000 --- a/server/src/core/@generated/prisma/string-nullable-filter.input.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { QueryMode } from './query-mode.enum'; -import { NestedStringNullableFilter } from './nested-string-nullable-filter.input'; - -@InputType() -export class StringNullableFilter { - - @Field(() => String, {nullable:true}) - equals?: string; - - @Field(() => [String], {nullable:true}) - in?: Array; - - @Field(() => [String], {nullable:true}) - notIn?: Array; - - @Field(() => String, {nullable:true}) - lt?: string; - - @Field(() => String, {nullable:true}) - lte?: string; - - @Field(() => String, {nullable:true}) - gt?: string; - - @Field(() => String, {nullable:true}) - gte?: string; - - @Field(() => String, {nullable:true}) - contains?: string; - - @Field(() => String, {nullable:true}) - startsWith?: string; - - @Field(() => String, {nullable:true}) - endsWith?: string; - - @Field(() => QueryMode, {nullable:true}) - mode?: keyof typeof QueryMode; - - @Field(() => NestedStringNullableFilter, {nullable:true}) - not?: NestedStringNullableFilter; -} diff --git a/server/src/core/@generated/prisma/string-nullable-with-aggregates-filter.input.ts b/server/src/core/@generated/prisma/string-nullable-with-aggregates-filter.input.ts deleted file mode 100644 index 3a40b4481..000000000 --- a/server/src/core/@generated/prisma/string-nullable-with-aggregates-filter.input.ts +++ /dev/null @@ -1,55 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { QueryMode } from './query-mode.enum'; -import { NestedStringNullableWithAggregatesFilter } from './nested-string-nullable-with-aggregates-filter.input'; -import { NestedIntNullableFilter } from './nested-int-nullable-filter.input'; -import { NestedStringNullableFilter } from './nested-string-nullable-filter.input'; - -@InputType() -export class StringNullableWithAggregatesFilter { - - @Field(() => String, {nullable:true}) - equals?: string; - - @Field(() => [String], {nullable:true}) - in?: Array; - - @Field(() => [String], {nullable:true}) - notIn?: Array; - - @Field(() => String, {nullable:true}) - lt?: string; - - @Field(() => String, {nullable:true}) - lte?: string; - - @Field(() => String, {nullable:true}) - gt?: string; - - @Field(() => String, {nullable:true}) - gte?: string; - - @Field(() => String, {nullable:true}) - contains?: string; - - @Field(() => String, {nullable:true}) - startsWith?: string; - - @Field(() => String, {nullable:true}) - endsWith?: string; - - @Field(() => QueryMode, {nullable:true}) - mode?: keyof typeof QueryMode; - - @Field(() => NestedStringNullableWithAggregatesFilter, {nullable:true}) - not?: NestedStringNullableWithAggregatesFilter; - - @Field(() => NestedIntNullableFilter, {nullable:true}) - _count?: NestedIntNullableFilter; - - @Field(() => NestedStringNullableFilter, {nullable:true}) - _min?: NestedStringNullableFilter; - - @Field(() => NestedStringNullableFilter, {nullable:true}) - _max?: NestedStringNullableFilter; -} diff --git a/server/src/core/@generated/prisma/string-with-aggregates-filter.input.ts b/server/src/core/@generated/prisma/string-with-aggregates-filter.input.ts deleted file mode 100644 index 54a660b13..000000000 --- a/server/src/core/@generated/prisma/string-with-aggregates-filter.input.ts +++ /dev/null @@ -1,55 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { QueryMode } from './query-mode.enum'; -import { NestedStringWithAggregatesFilter } from './nested-string-with-aggregates-filter.input'; -import { NestedIntFilter } from './nested-int-filter.input'; -import { NestedStringFilter } from './nested-string-filter.input'; - -@InputType() -export class StringWithAggregatesFilter { - - @Field(() => String, {nullable:true}) - equals?: string; - - @Field(() => [String], {nullable:true}) - in?: Array; - - @Field(() => [String], {nullable:true}) - notIn?: Array; - - @Field(() => String, {nullable:true}) - lt?: string; - - @Field(() => String, {nullable:true}) - lte?: string; - - @Field(() => String, {nullable:true}) - gt?: string; - - @Field(() => String, {nullable:true}) - gte?: string; - - @Field(() => String, {nullable:true}) - contains?: string; - - @Field(() => String, {nullable:true}) - startsWith?: string; - - @Field(() => String, {nullable:true}) - endsWith?: string; - - @Field(() => QueryMode, {nullable:true}) - mode?: keyof typeof QueryMode; - - @Field(() => NestedStringWithAggregatesFilter, {nullable:true}) - not?: NestedStringWithAggregatesFilter; - - @Field(() => NestedIntFilter, {nullable:true}) - _count?: NestedIntFilter; - - @Field(() => NestedStringFilter, {nullable:true}) - _min?: NestedStringFilter; - - @Field(() => NestedStringFilter, {nullable:true}) - _max?: NestedStringFilter; -} diff --git a/server/src/core/@generated/prisma/transaction-isolation-level.enum.ts b/server/src/core/@generated/prisma/transaction-isolation-level.enum.ts deleted file mode 100644 index f9e39c220..000000000 --- a/server/src/core/@generated/prisma/transaction-isolation-level.enum.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { registerEnumType } from '@nestjs/graphql'; - -export enum TransactionIsolationLevel { - ReadUncommitted = "ReadUncommitted", - ReadCommitted = "ReadCommitted", - RepeatableRead = "RepeatableRead", - Serializable = "Serializable" -} - - -registerEnumType(TransactionIsolationLevel, { name: 'TransactionIsolationLevel', description: undefined }) diff --git a/server/src/core/@generated/refresh-token/aggregate-refresh-token.output.ts b/server/src/core/@generated/refresh-token/aggregate-refresh-token.output.ts deleted file mode 100644 index c79f10044..000000000 --- a/server/src/core/@generated/refresh-token/aggregate-refresh-token.output.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import { RefreshTokenCountAggregate } from './refresh-token-count-aggregate.output'; -import { RefreshTokenMinAggregate } from './refresh-token-min-aggregate.output'; -import { RefreshTokenMaxAggregate } from './refresh-token-max-aggregate.output'; - -@ObjectType() -export class AggregateRefreshToken { - - @Field(() => RefreshTokenCountAggregate, {nullable:true}) - _count?: RefreshTokenCountAggregate; - - @Field(() => RefreshTokenMinAggregate, {nullable:true}) - _min?: RefreshTokenMinAggregate; - - @Field(() => RefreshTokenMaxAggregate, {nullable:true}) - _max?: RefreshTokenMaxAggregate; -} diff --git a/server/src/core/@generated/refresh-token/create-many-refresh-token.args.ts b/server/src/core/@generated/refresh-token/create-many-refresh-token.args.ts deleted file mode 100644 index abd1265fb..000000000 --- a/server/src/core/@generated/refresh-token/create-many-refresh-token.args.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { RefreshTokenCreateManyInput } from './refresh-token-create-many.input'; -import { Type } from 'class-transformer'; -import { ValidateNested } from 'class-validator'; - -@ArgsType() -export class CreateManyRefreshTokenArgs { - - @Field(() => [RefreshTokenCreateManyInput], {nullable:false}) - @Type(() => RefreshTokenCreateManyInput) - @ValidateNested({each: true}) - @Type(() => RefreshTokenCreateManyInput) - data!: Array; - - @Field(() => Boolean, {nullable:true}) - skipDuplicates?: boolean; -} diff --git a/server/src/core/@generated/refresh-token/create-one-refresh-token.args.ts b/server/src/core/@generated/refresh-token/create-one-refresh-token.args.ts deleted file mode 100644 index cd6d099e4..000000000 --- a/server/src/core/@generated/refresh-token/create-one-refresh-token.args.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { RefreshTokenCreateInput } from './refresh-token-create.input'; -import { Type } from 'class-transformer'; -import { ValidateNested } from 'class-validator'; - -@ArgsType() -export class CreateOneRefreshTokenArgs { - - @Field(() => RefreshTokenCreateInput, {nullable:false}) - @Type(() => RefreshTokenCreateInput) - @ValidateNested({each: true}) - @Type(() => RefreshTokenCreateInput) - data!: RefreshTokenCreateInput; -} diff --git a/server/src/core/@generated/refresh-token/delete-many-refresh-token.args.ts b/server/src/core/@generated/refresh-token/delete-many-refresh-token.args.ts deleted file mode 100644 index 66f83a05d..000000000 --- a/server/src/core/@generated/refresh-token/delete-many-refresh-token.args.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { RefreshTokenWhereInput } from './refresh-token-where.input'; -import { Type } from 'class-transformer'; - -@ArgsType() -export class DeleteManyRefreshTokenArgs { - - @Field(() => RefreshTokenWhereInput, {nullable:true}) - @Type(() => RefreshTokenWhereInput) - where?: RefreshTokenWhereInput; -} diff --git a/server/src/core/@generated/refresh-token/delete-one-refresh-token.args.ts b/server/src/core/@generated/refresh-token/delete-one-refresh-token.args.ts deleted file mode 100644 index d7d34a353..000000000 --- a/server/src/core/@generated/refresh-token/delete-one-refresh-token.args.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { RefreshTokenWhereUniqueInput } from './refresh-token-where-unique.input'; -import { Type } from 'class-transformer'; - -@ArgsType() -export class DeleteOneRefreshTokenArgs { - - @Field(() => RefreshTokenWhereUniqueInput, {nullable:false}) - @Type(() => RefreshTokenWhereUniqueInput) - where!: RefreshTokenWhereUniqueInput; -} diff --git a/server/src/core/@generated/refresh-token/find-first-refresh-token-or-throw.args.ts b/server/src/core/@generated/refresh-token/find-first-refresh-token-or-throw.args.ts deleted file mode 100644 index 3f1472b6f..000000000 --- a/server/src/core/@generated/refresh-token/find-first-refresh-token-or-throw.args.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { RefreshTokenWhereInput } from './refresh-token-where.input'; -import { Type } from 'class-transformer'; -import { RefreshTokenOrderByWithRelationInput } from './refresh-token-order-by-with-relation.input'; -import { RefreshTokenWhereUniqueInput } from './refresh-token-where-unique.input'; -import { Int } from '@nestjs/graphql'; -import { RefreshTokenScalarFieldEnum } from './refresh-token-scalar-field.enum'; - -@ArgsType() -export class FindFirstRefreshTokenOrThrowArgs { - - @Field(() => RefreshTokenWhereInput, {nullable:true}) - @Type(() => RefreshTokenWhereInput) - where?: RefreshTokenWhereInput; - - @Field(() => [RefreshTokenOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; - - @Field(() => RefreshTokenWhereUniqueInput, {nullable:true}) - cursor?: RefreshTokenWhereUniqueInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [RefreshTokenScalarFieldEnum], {nullable:true}) - distinct?: Array; -} diff --git a/server/src/core/@generated/refresh-token/find-first-refresh-token.args.ts b/server/src/core/@generated/refresh-token/find-first-refresh-token.args.ts deleted file mode 100644 index 3fc192381..000000000 --- a/server/src/core/@generated/refresh-token/find-first-refresh-token.args.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { RefreshTokenWhereInput } from './refresh-token-where.input'; -import { Type } from 'class-transformer'; -import { RefreshTokenOrderByWithRelationInput } from './refresh-token-order-by-with-relation.input'; -import { RefreshTokenWhereUniqueInput } from './refresh-token-where-unique.input'; -import { Int } from '@nestjs/graphql'; -import { RefreshTokenScalarFieldEnum } from './refresh-token-scalar-field.enum'; - -@ArgsType() -export class FindFirstRefreshTokenArgs { - - @Field(() => RefreshTokenWhereInput, {nullable:true}) - @Type(() => RefreshTokenWhereInput) - where?: RefreshTokenWhereInput; - - @Field(() => [RefreshTokenOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; - - @Field(() => RefreshTokenWhereUniqueInput, {nullable:true}) - cursor?: RefreshTokenWhereUniqueInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [RefreshTokenScalarFieldEnum], {nullable:true}) - distinct?: Array; -} diff --git a/server/src/core/@generated/refresh-token/find-many-refresh-token.args.ts b/server/src/core/@generated/refresh-token/find-many-refresh-token.args.ts deleted file mode 100644 index 6a4d9b501..000000000 --- a/server/src/core/@generated/refresh-token/find-many-refresh-token.args.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { RefreshTokenWhereInput } from './refresh-token-where.input'; -import { Type } from 'class-transformer'; -import { RefreshTokenOrderByWithRelationInput } from './refresh-token-order-by-with-relation.input'; -import { RefreshTokenWhereUniqueInput } from './refresh-token-where-unique.input'; -import { Int } from '@nestjs/graphql'; -import { RefreshTokenScalarFieldEnum } from './refresh-token-scalar-field.enum'; - -@ArgsType() -export class FindManyRefreshTokenArgs { - - @Field(() => RefreshTokenWhereInput, {nullable:true}) - @Type(() => RefreshTokenWhereInput) - where?: RefreshTokenWhereInput; - - @Field(() => [RefreshTokenOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; - - @Field(() => RefreshTokenWhereUniqueInput, {nullable:true}) - cursor?: RefreshTokenWhereUniqueInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [RefreshTokenScalarFieldEnum], {nullable:true}) - distinct?: Array; -} diff --git a/server/src/core/@generated/refresh-token/find-unique-refresh-token-or-throw.args.ts b/server/src/core/@generated/refresh-token/find-unique-refresh-token-or-throw.args.ts deleted file mode 100644 index fcaddc653..000000000 --- a/server/src/core/@generated/refresh-token/find-unique-refresh-token-or-throw.args.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { RefreshTokenWhereUniqueInput } from './refresh-token-where-unique.input'; -import { Type } from 'class-transformer'; - -@ArgsType() -export class FindUniqueRefreshTokenOrThrowArgs { - - @Field(() => RefreshTokenWhereUniqueInput, {nullable:false}) - @Type(() => RefreshTokenWhereUniqueInput) - where!: RefreshTokenWhereUniqueInput; -} diff --git a/server/src/core/@generated/refresh-token/find-unique-refresh-token.args.ts b/server/src/core/@generated/refresh-token/find-unique-refresh-token.args.ts deleted file mode 100644 index f2895bdc6..000000000 --- a/server/src/core/@generated/refresh-token/find-unique-refresh-token.args.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { RefreshTokenWhereUniqueInput } from './refresh-token-where-unique.input'; -import { Type } from 'class-transformer'; - -@ArgsType() -export class FindUniqueRefreshTokenArgs { - - @Field(() => RefreshTokenWhereUniqueInput, {nullable:false}) - @Type(() => RefreshTokenWhereUniqueInput) - where!: RefreshTokenWhereUniqueInput; -} diff --git a/server/src/core/@generated/refresh-token/refresh-token-aggregate.args.ts b/server/src/core/@generated/refresh-token/refresh-token-aggregate.args.ts deleted file mode 100644 index 1d00bdf05..000000000 --- a/server/src/core/@generated/refresh-token/refresh-token-aggregate.args.ts +++ /dev/null @@ -1,39 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { RefreshTokenWhereInput } from './refresh-token-where.input'; -import { Type } from 'class-transformer'; -import { RefreshTokenOrderByWithRelationInput } from './refresh-token-order-by-with-relation.input'; -import { RefreshTokenWhereUniqueInput } from './refresh-token-where-unique.input'; -import { Int } from '@nestjs/graphql'; -import { RefreshTokenCountAggregateInput } from './refresh-token-count-aggregate.input'; -import { RefreshTokenMinAggregateInput } from './refresh-token-min-aggregate.input'; -import { RefreshTokenMaxAggregateInput } from './refresh-token-max-aggregate.input'; - -@ArgsType() -export class RefreshTokenAggregateArgs { - - @Field(() => RefreshTokenWhereInput, {nullable:true}) - @Type(() => RefreshTokenWhereInput) - where?: RefreshTokenWhereInput; - - @Field(() => [RefreshTokenOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; - - @Field(() => RefreshTokenWhereUniqueInput, {nullable:true}) - cursor?: RefreshTokenWhereUniqueInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => RefreshTokenCountAggregateInput, {nullable:true}) - _count?: RefreshTokenCountAggregateInput; - - @Field(() => RefreshTokenMinAggregateInput, {nullable:true}) - _min?: RefreshTokenMinAggregateInput; - - @Field(() => RefreshTokenMaxAggregateInput, {nullable:true}) - _max?: RefreshTokenMaxAggregateInput; -} diff --git a/server/src/core/@generated/refresh-token/refresh-token-count-aggregate.input.ts b/server/src/core/@generated/refresh-token/refresh-token-count-aggregate.input.ts deleted file mode 100644 index 3208d8265..000000000 --- a/server/src/core/@generated/refresh-token/refresh-token-count-aggregate.input.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class RefreshTokenCountAggregateInput { - - @Field(() => Boolean, {nullable:true}) - id?: true; - - @Field(() => Boolean, {nullable:true}) - isRevoked?: true; - - @HideField() - userId?: true; - - @Field(() => Boolean, {nullable:true}) - expiresAt?: true; - - @HideField() - deletedAt?: true; - - @Field(() => Boolean, {nullable:true}) - createdAt?: true; - - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; - - @Field(() => Boolean, {nullable:true}) - _all?: true; -} diff --git a/server/src/core/@generated/refresh-token/refresh-token-count-aggregate.output.ts b/server/src/core/@generated/refresh-token/refresh-token-count-aggregate.output.ts deleted file mode 100644 index b67ba1ae3..000000000 --- a/server/src/core/@generated/refresh-token/refresh-token-count-aggregate.output.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import { Int } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; - -@ObjectType() -export class RefreshTokenCountAggregate { - - @Field(() => Int, {nullable:false}) - id!: number; - - @Field(() => Int, {nullable:false}) - isRevoked!: number; - - @HideField() - userId!: number; - - @Field(() => Int, {nullable:false}) - expiresAt!: number; - - @HideField() - deletedAt!: number; - - @Field(() => Int, {nullable:false}) - createdAt!: number; - - @Field(() => Int, {nullable:false}) - updatedAt!: number; - - @Field(() => Int, {nullable:false}) - _all!: number; -} diff --git a/server/src/core/@generated/refresh-token/refresh-token-count-order-by-aggregate.input.ts b/server/src/core/@generated/refresh-token/refresh-token-count-order-by-aggregate.input.ts deleted file mode 100644 index 78811afb1..000000000 --- a/server/src/core/@generated/refresh-token/refresh-token-count-order-by-aggregate.input.ts +++ /dev/null @@ -1,29 +0,0 @@ -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 RefreshTokenCountOrderByAggregateInput { - - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - isRevoked?: keyof typeof SortOrder; - - @HideField() - userId?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - expiresAt?: keyof typeof SortOrder; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; -} diff --git a/server/src/core/@generated/refresh-token/refresh-token-create-many-user-input-envelope.input.ts b/server/src/core/@generated/refresh-token/refresh-token-create-many-user-input-envelope.input.ts deleted file mode 100644 index fff61cd4f..000000000 --- a/server/src/core/@generated/refresh-token/refresh-token-create-many-user-input-envelope.input.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { RefreshTokenCreateManyUserInput } from './refresh-token-create-many-user.input'; -import { Type } from 'class-transformer'; - -@InputType() -export class RefreshTokenCreateManyUserInputEnvelope { - - @Field(() => [RefreshTokenCreateManyUserInput], {nullable:false}) - @Type(() => RefreshTokenCreateManyUserInput) - data!: Array; - - @Field(() => Boolean, {nullable:true}) - skipDuplicates?: boolean; -} diff --git a/server/src/core/@generated/refresh-token/refresh-token-create-many-user.input.ts b/server/src/core/@generated/refresh-token/refresh-token-create-many-user.input.ts deleted file mode 100644 index b35e71c0b..000000000 --- a/server/src/core/@generated/refresh-token/refresh-token-create-many-user.input.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class RefreshTokenCreateManyUserInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => Boolean, {nullable:true}) - @Validator.IsBoolean() - @Validator.IsOptional() - isRevoked?: boolean; - - @Field(() => Date, {nullable:false}) - expiresAt!: Date | string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/refresh-token/refresh-token-create-many.input.ts b/server/src/core/@generated/refresh-token/refresh-token-create-many.input.ts deleted file mode 100644 index 0434ee36a..000000000 --- a/server/src/core/@generated/refresh-token/refresh-token-create-many.input.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class RefreshTokenCreateManyInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => Boolean, {nullable:true}) - @Validator.IsBoolean() - @Validator.IsOptional() - isRevoked?: boolean; - - @HideField() - userId!: string; - - @Field(() => Date, {nullable:false}) - expiresAt!: Date | string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/refresh-token/refresh-token-create-nested-many-without-user.input.ts b/server/src/core/@generated/refresh-token/refresh-token-create-nested-many-without-user.input.ts deleted file mode 100644 index 163593a22..000000000 --- a/server/src/core/@generated/refresh-token/refresh-token-create-nested-many-without-user.input.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { RefreshTokenCreateWithoutUserInput } from './refresh-token-create-without-user.input'; -import { Type } from 'class-transformer'; -import { RefreshTokenCreateOrConnectWithoutUserInput } from './refresh-token-create-or-connect-without-user.input'; -import { RefreshTokenCreateManyUserInputEnvelope } from './refresh-token-create-many-user-input-envelope.input'; -import { RefreshTokenWhereUniqueInput } from './refresh-token-where-unique.input'; - -@InputType() -export class RefreshTokenCreateNestedManyWithoutUserInput { - - @Field(() => [RefreshTokenCreateWithoutUserInput], {nullable:true}) - @Type(() => RefreshTokenCreateWithoutUserInput) - create?: Array; - - @Field(() => [RefreshTokenCreateOrConnectWithoutUserInput], {nullable:true}) - @Type(() => RefreshTokenCreateOrConnectWithoutUserInput) - connectOrCreate?: Array; - - @Field(() => RefreshTokenCreateManyUserInputEnvelope, {nullable:true}) - @Type(() => RefreshTokenCreateManyUserInputEnvelope) - createMany?: RefreshTokenCreateManyUserInputEnvelope; - - @Field(() => [RefreshTokenWhereUniqueInput], {nullable:true}) - @Type(() => RefreshTokenWhereUniqueInput) - connect?: Array; -} diff --git a/server/src/core/@generated/refresh-token/refresh-token-create-or-connect-without-user.input.ts b/server/src/core/@generated/refresh-token/refresh-token-create-or-connect-without-user.input.ts deleted file mode 100644 index bf102b01b..000000000 --- a/server/src/core/@generated/refresh-token/refresh-token-create-or-connect-without-user.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { RefreshTokenWhereUniqueInput } from './refresh-token-where-unique.input'; -import { Type } from 'class-transformer'; -import { RefreshTokenCreateWithoutUserInput } from './refresh-token-create-without-user.input'; - -@InputType() -export class RefreshTokenCreateOrConnectWithoutUserInput { - - @Field(() => RefreshTokenWhereUniqueInput, {nullable:false}) - @Type(() => RefreshTokenWhereUniqueInput) - where!: RefreshTokenWhereUniqueInput; - - @Field(() => RefreshTokenCreateWithoutUserInput, {nullable:false}) - @Type(() => RefreshTokenCreateWithoutUserInput) - create!: RefreshTokenCreateWithoutUserInput; -} diff --git a/server/src/core/@generated/refresh-token/refresh-token-create-without-user.input.ts b/server/src/core/@generated/refresh-token/refresh-token-create-without-user.input.ts deleted file mode 100644 index 3ef7c24e9..000000000 --- a/server/src/core/@generated/refresh-token/refresh-token-create-without-user.input.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class RefreshTokenCreateWithoutUserInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => Boolean, {nullable:true}) - @Validator.IsBoolean() - @Validator.IsOptional() - isRevoked?: boolean; - - @Field(() => Date, {nullable:false}) - expiresAt!: Date | string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/refresh-token/refresh-token-create.input.ts b/server/src/core/@generated/refresh-token/refresh-token-create.input.ts deleted file mode 100644 index 23de4057d..000000000 --- a/server/src/core/@generated/refresh-token/refresh-token-create.input.ts +++ /dev/null @@ -1,34 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; -import { UserCreateNestedOneWithoutRefreshTokensInput } from '../user/user-create-nested-one-without-refresh-tokens.input'; - -@InputType() -export class RefreshTokenCreateInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => Boolean, {nullable:true}) - @Validator.IsBoolean() - @Validator.IsOptional() - isRevoked?: boolean; - - @Field(() => Date, {nullable:false}) - expiresAt!: Date | string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @HideField() - user!: UserCreateNestedOneWithoutRefreshTokensInput; -} diff --git a/server/src/core/@generated/refresh-token/refresh-token-group-by.args.ts b/server/src/core/@generated/refresh-token/refresh-token-group-by.args.ts deleted file mode 100644 index d3dae813e..000000000 --- a/server/src/core/@generated/refresh-token/refresh-token-group-by.args.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { RefreshTokenWhereInput } from './refresh-token-where.input'; -import { Type } from 'class-transformer'; -import { RefreshTokenOrderByWithAggregationInput } from './refresh-token-order-by-with-aggregation.input'; -import { RefreshTokenScalarFieldEnum } from './refresh-token-scalar-field.enum'; -import { RefreshTokenScalarWhereWithAggregatesInput } from './refresh-token-scalar-where-with-aggregates.input'; -import { Int } from '@nestjs/graphql'; -import { RefreshTokenCountAggregateInput } from './refresh-token-count-aggregate.input'; -import { RefreshTokenMinAggregateInput } from './refresh-token-min-aggregate.input'; -import { RefreshTokenMaxAggregateInput } from './refresh-token-max-aggregate.input'; - -@ArgsType() -export class RefreshTokenGroupByArgs { - - @Field(() => RefreshTokenWhereInput, {nullable:true}) - @Type(() => RefreshTokenWhereInput) - where?: RefreshTokenWhereInput; - - @Field(() => [RefreshTokenOrderByWithAggregationInput], {nullable:true}) - orderBy?: Array; - - @Field(() => [RefreshTokenScalarFieldEnum], {nullable:false}) - by!: Array; - - @Field(() => RefreshTokenScalarWhereWithAggregatesInput, {nullable:true}) - having?: RefreshTokenScalarWhereWithAggregatesInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => RefreshTokenCountAggregateInput, {nullable:true}) - _count?: RefreshTokenCountAggregateInput; - - @Field(() => RefreshTokenMinAggregateInput, {nullable:true}) - _min?: RefreshTokenMinAggregateInput; - - @Field(() => RefreshTokenMaxAggregateInput, {nullable:true}) - _max?: RefreshTokenMaxAggregateInput; -} diff --git a/server/src/core/@generated/refresh-token/refresh-token-group-by.output.ts b/server/src/core/@generated/refresh-token/refresh-token-group-by.output.ts deleted file mode 100644 index c63bbc5c1..000000000 --- a/server/src/core/@generated/refresh-token/refresh-token-group-by.output.ts +++ /dev/null @@ -1,45 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; -import { RefreshTokenCountAggregate } from './refresh-token-count-aggregate.output'; -import { RefreshTokenMinAggregate } from './refresh-token-min-aggregate.output'; -import { RefreshTokenMaxAggregate } from './refresh-token-max-aggregate.output'; - -@ObjectType() -export class RefreshTokenGroupBy { - - @Field(() => String, {nullable:false}) - @Validator.IsString() - @Validator.IsOptional() - id!: string; - - @Field(() => Boolean, {nullable:false}) - @Validator.IsBoolean() - @Validator.IsOptional() - isRevoked!: boolean; - - @HideField() - userId!: string; - - @Field(() => Date, {nullable:false}) - expiresAt!: Date | string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:false}) - createdAt!: Date | string; - - @Field(() => Date, {nullable:false}) - updatedAt!: Date | string; - - @Field(() => RefreshTokenCountAggregate, {nullable:true}) - _count?: RefreshTokenCountAggregate; - - @Field(() => RefreshTokenMinAggregate, {nullable:true}) - _min?: RefreshTokenMinAggregate; - - @Field(() => RefreshTokenMaxAggregate, {nullable:true}) - _max?: RefreshTokenMaxAggregate; -} diff --git a/server/src/core/@generated/refresh-token/refresh-token-list-relation-filter.input.ts b/server/src/core/@generated/refresh-token/refresh-token-list-relation-filter.input.ts deleted file mode 100644 index c6d205eeb..000000000 --- a/server/src/core/@generated/refresh-token/refresh-token-list-relation-filter.input.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { RefreshTokenWhereInput } from './refresh-token-where.input'; - -@InputType() -export class RefreshTokenListRelationFilter { - - @Field(() => RefreshTokenWhereInput, {nullable:true}) - every?: RefreshTokenWhereInput; - - @Field(() => RefreshTokenWhereInput, {nullable:true}) - some?: RefreshTokenWhereInput; - - @Field(() => RefreshTokenWhereInput, {nullable:true}) - none?: RefreshTokenWhereInput; -} diff --git a/server/src/core/@generated/refresh-token/refresh-token-max-aggregate.input.ts b/server/src/core/@generated/refresh-token/refresh-token-max-aggregate.input.ts deleted file mode 100644 index a89c0fea4..000000000 --- a/server/src/core/@generated/refresh-token/refresh-token-max-aggregate.input.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class RefreshTokenMaxAggregateInput { - - @Field(() => Boolean, {nullable:true}) - id?: true; - - @Field(() => Boolean, {nullable:true}) - isRevoked?: true; - - @HideField() - userId?: true; - - @Field(() => Boolean, {nullable:true}) - expiresAt?: true; - - @HideField() - deletedAt?: true; - - @Field(() => Boolean, {nullable:true}) - createdAt?: true; - - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; -} diff --git a/server/src/core/@generated/refresh-token/refresh-token-max-aggregate.output.ts b/server/src/core/@generated/refresh-token/refresh-token-max-aggregate.output.ts deleted file mode 100644 index 3a452a2d0..000000000 --- a/server/src/core/@generated/refresh-token/refresh-token-max-aggregate.output.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; - -@ObjectType() -export class RefreshTokenMaxAggregate { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => Boolean, {nullable:true}) - @Validator.IsBoolean() - @Validator.IsOptional() - isRevoked?: boolean; - - @HideField() - userId?: string; - - @Field(() => Date, {nullable:true}) - expiresAt?: Date | string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/refresh-token/refresh-token-max-order-by-aggregate.input.ts b/server/src/core/@generated/refresh-token/refresh-token-max-order-by-aggregate.input.ts deleted file mode 100644 index e09584133..000000000 --- a/server/src/core/@generated/refresh-token/refresh-token-max-order-by-aggregate.input.ts +++ /dev/null @@ -1,29 +0,0 @@ -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 RefreshTokenMaxOrderByAggregateInput { - - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - isRevoked?: keyof typeof SortOrder; - - @HideField() - userId?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - expiresAt?: keyof typeof SortOrder; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; -} diff --git a/server/src/core/@generated/refresh-token/refresh-token-min-aggregate.input.ts b/server/src/core/@generated/refresh-token/refresh-token-min-aggregate.input.ts deleted file mode 100644 index c91e87efd..000000000 --- a/server/src/core/@generated/refresh-token/refresh-token-min-aggregate.input.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class RefreshTokenMinAggregateInput { - - @Field(() => Boolean, {nullable:true}) - id?: true; - - @Field(() => Boolean, {nullable:true}) - isRevoked?: true; - - @HideField() - userId?: true; - - @Field(() => Boolean, {nullable:true}) - expiresAt?: true; - - @HideField() - deletedAt?: true; - - @Field(() => Boolean, {nullable:true}) - createdAt?: true; - - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; -} diff --git a/server/src/core/@generated/refresh-token/refresh-token-min-aggregate.output.ts b/server/src/core/@generated/refresh-token/refresh-token-min-aggregate.output.ts deleted file mode 100644 index d3e78a5c7..000000000 --- a/server/src/core/@generated/refresh-token/refresh-token-min-aggregate.output.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; - -@ObjectType() -export class RefreshTokenMinAggregate { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => Boolean, {nullable:true}) - @Validator.IsBoolean() - @Validator.IsOptional() - isRevoked?: boolean; - - @HideField() - userId?: string; - - @Field(() => Date, {nullable:true}) - expiresAt?: Date | string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/refresh-token/refresh-token-min-order-by-aggregate.input.ts b/server/src/core/@generated/refresh-token/refresh-token-min-order-by-aggregate.input.ts deleted file mode 100644 index 1495d70e8..000000000 --- a/server/src/core/@generated/refresh-token/refresh-token-min-order-by-aggregate.input.ts +++ /dev/null @@ -1,29 +0,0 @@ -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 RefreshTokenMinOrderByAggregateInput { - - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - isRevoked?: keyof typeof SortOrder; - - @HideField() - userId?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - expiresAt?: keyof typeof SortOrder; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; -} diff --git a/server/src/core/@generated/refresh-token/refresh-token-order-by-relation-aggregate.input.ts b/server/src/core/@generated/refresh-token/refresh-token-order-by-relation-aggregate.input.ts deleted file mode 100644 index 51c89d5d9..000000000 --- a/server/src/core/@generated/refresh-token/refresh-token-order-by-relation-aggregate.input.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { SortOrder } from '../prisma/sort-order.enum'; - -@InputType() -export class RefreshTokenOrderByRelationAggregateInput { - - @Field(() => SortOrder, {nullable:true}) - _count?: keyof typeof SortOrder; -} diff --git a/server/src/core/@generated/refresh-token/refresh-token-order-by-with-aggregation.input.ts b/server/src/core/@generated/refresh-token/refresh-token-order-by-with-aggregation.input.ts deleted file mode 100644 index bc55bc5bd..000000000 --- a/server/src/core/@generated/refresh-token/refresh-token-order-by-with-aggregation.input.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { SortOrder } from '../prisma/sort-order.enum'; -import { HideField } from '@nestjs/graphql'; -import { RefreshTokenCountOrderByAggregateInput } from './refresh-token-count-order-by-aggregate.input'; -import { RefreshTokenMaxOrderByAggregateInput } from './refresh-token-max-order-by-aggregate.input'; -import { RefreshTokenMinOrderByAggregateInput } from './refresh-token-min-order-by-aggregate.input'; - -@InputType() -export class RefreshTokenOrderByWithAggregationInput { - - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - isRevoked?: keyof typeof SortOrder; - - @HideField() - userId?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - expiresAt?: keyof typeof SortOrder; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; - - @Field(() => RefreshTokenCountOrderByAggregateInput, {nullable:true}) - _count?: RefreshTokenCountOrderByAggregateInput; - - @Field(() => RefreshTokenMaxOrderByAggregateInput, {nullable:true}) - _max?: RefreshTokenMaxOrderByAggregateInput; - - @Field(() => RefreshTokenMinOrderByAggregateInput, {nullable:true}) - _min?: RefreshTokenMinOrderByAggregateInput; -} diff --git a/server/src/core/@generated/refresh-token/refresh-token-order-by-with-relation.input.ts b/server/src/core/@generated/refresh-token/refresh-token-order-by-with-relation.input.ts deleted file mode 100644 index 52ddbe0f7..000000000 --- a/server/src/core/@generated/refresh-token/refresh-token-order-by-with-relation.input.ts +++ /dev/null @@ -1,33 +0,0 @@ -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'; - -@InputType() -export class RefreshTokenOrderByWithRelationInput { - - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - isRevoked?: keyof typeof SortOrder; - - @HideField() - userId?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - expiresAt?: keyof typeof SortOrder; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; - - @HideField() - user?: UserOrderByWithRelationInput; -} diff --git a/server/src/core/@generated/refresh-token/refresh-token-scalar-field.enum.ts b/server/src/core/@generated/refresh-token/refresh-token-scalar-field.enum.ts deleted file mode 100644 index ecb668a5d..000000000 --- a/server/src/core/@generated/refresh-token/refresh-token-scalar-field.enum.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { registerEnumType } from '@nestjs/graphql'; - -export enum RefreshTokenScalarFieldEnum { - id = "id", - isRevoked = "isRevoked", - userId = "userId", - expiresAt = "expiresAt", - deletedAt = "deletedAt", - createdAt = "createdAt", - updatedAt = "updatedAt" -} - - -registerEnumType(RefreshTokenScalarFieldEnum, { name: 'RefreshTokenScalarFieldEnum', description: undefined }) diff --git a/server/src/core/@generated/refresh-token/refresh-token-scalar-where-with-aggregates.input.ts b/server/src/core/@generated/refresh-token/refresh-token-scalar-where-with-aggregates.input.ts deleted file mode 100644 index 51a1b4e68..000000000 --- a/server/src/core/@generated/refresh-token/refresh-token-scalar-where-with-aggregates.input.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringWithAggregatesFilter } from '../prisma/string-with-aggregates-filter.input'; -import { BoolWithAggregatesFilter } from '../prisma/bool-with-aggregates-filter.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeWithAggregatesFilter } from '../prisma/date-time-with-aggregates-filter.input'; -import { DateTimeNullableWithAggregatesFilter } from '../prisma/date-time-nullable-with-aggregates-filter.input'; - -@InputType() -export class RefreshTokenScalarWhereWithAggregatesInput { - - @Field(() => [RefreshTokenScalarWhereWithAggregatesInput], {nullable:true}) - AND?: Array; - - @Field(() => [RefreshTokenScalarWhereWithAggregatesInput], {nullable:true}) - OR?: Array; - - @Field(() => [RefreshTokenScalarWhereWithAggregatesInput], {nullable:true}) - NOT?: Array; - - @Field(() => StringWithAggregatesFilter, {nullable:true}) - id?: StringWithAggregatesFilter; - - @Field(() => BoolWithAggregatesFilter, {nullable:true}) - isRevoked?: BoolWithAggregatesFilter; - - @HideField() - userId?: StringWithAggregatesFilter; - - @Field(() => DateTimeWithAggregatesFilter, {nullable:true}) - expiresAt?: DateTimeWithAggregatesFilter; - - @HideField() - deletedAt?: DateTimeNullableWithAggregatesFilter; - - @Field(() => DateTimeWithAggregatesFilter, {nullable:true}) - createdAt?: DateTimeWithAggregatesFilter; - - @Field(() => DateTimeWithAggregatesFilter, {nullable:true}) - updatedAt?: DateTimeWithAggregatesFilter; -} diff --git a/server/src/core/@generated/refresh-token/refresh-token-scalar-where.input.ts b/server/src/core/@generated/refresh-token/refresh-token-scalar-where.input.ts deleted file mode 100644 index bf052aa44..000000000 --- a/server/src/core/@generated/refresh-token/refresh-token-scalar-where.input.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFilter } from '../prisma/string-filter.input'; -import { BoolFilter } from '../prisma/bool-filter.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFilter } from '../prisma/date-time-filter.input'; -import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input'; - -@InputType() -export class RefreshTokenScalarWhereInput { - - @Field(() => [RefreshTokenScalarWhereInput], {nullable:true}) - AND?: Array; - - @Field(() => [RefreshTokenScalarWhereInput], {nullable:true}) - OR?: Array; - - @Field(() => [RefreshTokenScalarWhereInput], {nullable:true}) - NOT?: Array; - - @Field(() => StringFilter, {nullable:true}) - id?: StringFilter; - - @Field(() => BoolFilter, {nullable:true}) - isRevoked?: BoolFilter; - - @HideField() - userId?: StringFilter; - - @Field(() => DateTimeFilter, {nullable:true}) - expiresAt?: DateTimeFilter; - - @HideField() - deletedAt?: DateTimeNullableFilter; - - @Field(() => DateTimeFilter, {nullable:true}) - createdAt?: DateTimeFilter; - - @Field(() => DateTimeFilter, {nullable:true}) - updatedAt?: DateTimeFilter; -} diff --git a/server/src/core/@generated/refresh-token/refresh-token-unchecked-create-nested-many-without-user.input.ts b/server/src/core/@generated/refresh-token/refresh-token-unchecked-create-nested-many-without-user.input.ts deleted file mode 100644 index 02f22ecae..000000000 --- a/server/src/core/@generated/refresh-token/refresh-token-unchecked-create-nested-many-without-user.input.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { RefreshTokenCreateWithoutUserInput } from './refresh-token-create-without-user.input'; -import { Type } from 'class-transformer'; -import { RefreshTokenCreateOrConnectWithoutUserInput } from './refresh-token-create-or-connect-without-user.input'; -import { RefreshTokenCreateManyUserInputEnvelope } from './refresh-token-create-many-user-input-envelope.input'; -import { RefreshTokenWhereUniqueInput } from './refresh-token-where-unique.input'; - -@InputType() -export class RefreshTokenUncheckedCreateNestedManyWithoutUserInput { - - @Field(() => [RefreshTokenCreateWithoutUserInput], {nullable:true}) - @Type(() => RefreshTokenCreateWithoutUserInput) - create?: Array; - - @Field(() => [RefreshTokenCreateOrConnectWithoutUserInput], {nullable:true}) - @Type(() => RefreshTokenCreateOrConnectWithoutUserInput) - connectOrCreate?: Array; - - @Field(() => RefreshTokenCreateManyUserInputEnvelope, {nullable:true}) - @Type(() => RefreshTokenCreateManyUserInputEnvelope) - createMany?: RefreshTokenCreateManyUserInputEnvelope; - - @Field(() => [RefreshTokenWhereUniqueInput], {nullable:true}) - @Type(() => RefreshTokenWhereUniqueInput) - connect?: Array; -} diff --git a/server/src/core/@generated/refresh-token/refresh-token-unchecked-create-without-user.input.ts b/server/src/core/@generated/refresh-token/refresh-token-unchecked-create-without-user.input.ts deleted file mode 100644 index b1bf7daa0..000000000 --- a/server/src/core/@generated/refresh-token/refresh-token-unchecked-create-without-user.input.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class RefreshTokenUncheckedCreateWithoutUserInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => Boolean, {nullable:true}) - @Validator.IsBoolean() - @Validator.IsOptional() - isRevoked?: boolean; - - @Field(() => Date, {nullable:false}) - expiresAt!: Date | string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/refresh-token/refresh-token-unchecked-create.input.ts b/server/src/core/@generated/refresh-token/refresh-token-unchecked-create.input.ts deleted file mode 100644 index 18beccde8..000000000 --- a/server/src/core/@generated/refresh-token/refresh-token-unchecked-create.input.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class RefreshTokenUncheckedCreateInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => Boolean, {nullable:true}) - @Validator.IsBoolean() - @Validator.IsOptional() - isRevoked?: boolean; - - @HideField() - userId!: string; - - @Field(() => Date, {nullable:false}) - expiresAt!: Date | string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/refresh-token/refresh-token-unchecked-update-many-without-refresh-tokens.input.ts b/server/src/core/@generated/refresh-token/refresh-token-unchecked-update-many-without-refresh-tokens.input.ts deleted file mode 100644 index ea05d8a6e..000000000 --- a/server/src/core/@generated/refresh-token/refresh-token-unchecked-update-many-without-refresh-tokens.input.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { BoolFieldUpdateOperationsInput } from '../prisma/bool-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 RefreshTokenUncheckedUpdateManyWithoutRefreshTokensInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - isRevoked?: BoolFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - expiresAt?: DateTimeFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/refresh-token/refresh-token-unchecked-update-many-without-user-nested.input.ts b/server/src/core/@generated/refresh-token/refresh-token-unchecked-update-many-without-user-nested.input.ts deleted file mode 100644 index 2eda733df..000000000 --- a/server/src/core/@generated/refresh-token/refresh-token-unchecked-update-many-without-user-nested.input.ts +++ /dev/null @@ -1,59 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { RefreshTokenCreateWithoutUserInput } from './refresh-token-create-without-user.input'; -import { Type } from 'class-transformer'; -import { RefreshTokenCreateOrConnectWithoutUserInput } from './refresh-token-create-or-connect-without-user.input'; -import { RefreshTokenUpsertWithWhereUniqueWithoutUserInput } from './refresh-token-upsert-with-where-unique-without-user.input'; -import { RefreshTokenCreateManyUserInputEnvelope } from './refresh-token-create-many-user-input-envelope.input'; -import { RefreshTokenWhereUniqueInput } from './refresh-token-where-unique.input'; -import { RefreshTokenUpdateWithWhereUniqueWithoutUserInput } from './refresh-token-update-with-where-unique-without-user.input'; -import { RefreshTokenUpdateManyWithWhereWithoutUserInput } from './refresh-token-update-many-with-where-without-user.input'; -import { RefreshTokenScalarWhereInput } from './refresh-token-scalar-where.input'; - -@InputType() -export class RefreshTokenUncheckedUpdateManyWithoutUserNestedInput { - - @Field(() => [RefreshTokenCreateWithoutUserInput], {nullable:true}) - @Type(() => RefreshTokenCreateWithoutUserInput) - create?: Array; - - @Field(() => [RefreshTokenCreateOrConnectWithoutUserInput], {nullable:true}) - @Type(() => RefreshTokenCreateOrConnectWithoutUserInput) - connectOrCreate?: Array; - - @Field(() => [RefreshTokenUpsertWithWhereUniqueWithoutUserInput], {nullable:true}) - @Type(() => RefreshTokenUpsertWithWhereUniqueWithoutUserInput) - upsert?: Array; - - @Field(() => RefreshTokenCreateManyUserInputEnvelope, {nullable:true}) - @Type(() => RefreshTokenCreateManyUserInputEnvelope) - createMany?: RefreshTokenCreateManyUserInputEnvelope; - - @Field(() => [RefreshTokenWhereUniqueInput], {nullable:true}) - @Type(() => RefreshTokenWhereUniqueInput) - set?: Array; - - @Field(() => [RefreshTokenWhereUniqueInput], {nullable:true}) - @Type(() => RefreshTokenWhereUniqueInput) - disconnect?: Array; - - @Field(() => [RefreshTokenWhereUniqueInput], {nullable:true}) - @Type(() => RefreshTokenWhereUniqueInput) - delete?: Array; - - @Field(() => [RefreshTokenWhereUniqueInput], {nullable:true}) - @Type(() => RefreshTokenWhereUniqueInput) - connect?: Array; - - @Field(() => [RefreshTokenUpdateWithWhereUniqueWithoutUserInput], {nullable:true}) - @Type(() => RefreshTokenUpdateWithWhereUniqueWithoutUserInput) - update?: Array; - - @Field(() => [RefreshTokenUpdateManyWithWhereWithoutUserInput], {nullable:true}) - @Type(() => RefreshTokenUpdateManyWithWhereWithoutUserInput) - updateMany?: Array; - - @Field(() => [RefreshTokenScalarWhereInput], {nullable:true}) - @Type(() => RefreshTokenScalarWhereInput) - deleteMany?: Array; -} diff --git a/server/src/core/@generated/refresh-token/refresh-token-unchecked-update-many.input.ts b/server/src/core/@generated/refresh-token/refresh-token-unchecked-update-many.input.ts deleted file mode 100644 index 3cbc2aea8..000000000 --- a/server/src/core/@generated/refresh-token/refresh-token-unchecked-update-many.input.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { BoolFieldUpdateOperationsInput } from '../prisma/bool-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; - -@InputType() -export class RefreshTokenUncheckedUpdateManyInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - isRevoked?: BoolFieldUpdateOperationsInput; - - @HideField() - userId?: StringFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - expiresAt?: DateTimeFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/refresh-token/refresh-token-unchecked-update-without-user.input.ts b/server/src/core/@generated/refresh-token/refresh-token-unchecked-update-without-user.input.ts deleted file mode 100644 index 305497b1c..000000000 --- a/server/src/core/@generated/refresh-token/refresh-token-unchecked-update-without-user.input.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { BoolFieldUpdateOperationsInput } from '../prisma/bool-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 RefreshTokenUncheckedUpdateWithoutUserInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - isRevoked?: BoolFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - expiresAt?: DateTimeFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/refresh-token/refresh-token-unchecked-update.input.ts b/server/src/core/@generated/refresh-token/refresh-token-unchecked-update.input.ts deleted file mode 100644 index ca8371dba..000000000 --- a/server/src/core/@generated/refresh-token/refresh-token-unchecked-update.input.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { BoolFieldUpdateOperationsInput } from '../prisma/bool-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; - -@InputType() -export class RefreshTokenUncheckedUpdateInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - isRevoked?: BoolFieldUpdateOperationsInput; - - @HideField() - userId?: StringFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - expiresAt?: DateTimeFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/refresh-token/refresh-token-update-many-mutation.input.ts b/server/src/core/@generated/refresh-token/refresh-token-update-many-mutation.input.ts deleted file mode 100644 index 44983e62e..000000000 --- a/server/src/core/@generated/refresh-token/refresh-token-update-many-mutation.input.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { BoolFieldUpdateOperationsInput } from '../prisma/bool-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 RefreshTokenUpdateManyMutationInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - isRevoked?: BoolFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - expiresAt?: DateTimeFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/refresh-token/refresh-token-update-many-with-where-without-user.input.ts b/server/src/core/@generated/refresh-token/refresh-token-update-many-with-where-without-user.input.ts deleted file mode 100644 index 7cf8d9999..000000000 --- a/server/src/core/@generated/refresh-token/refresh-token-update-many-with-where-without-user.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { RefreshTokenScalarWhereInput } from './refresh-token-scalar-where.input'; -import { Type } from 'class-transformer'; -import { RefreshTokenUpdateManyMutationInput } from './refresh-token-update-many-mutation.input'; - -@InputType() -export class RefreshTokenUpdateManyWithWhereWithoutUserInput { - - @Field(() => RefreshTokenScalarWhereInput, {nullable:false}) - @Type(() => RefreshTokenScalarWhereInput) - where!: RefreshTokenScalarWhereInput; - - @Field(() => RefreshTokenUpdateManyMutationInput, {nullable:false}) - @Type(() => RefreshTokenUpdateManyMutationInput) - data!: RefreshTokenUpdateManyMutationInput; -} diff --git a/server/src/core/@generated/refresh-token/refresh-token-update-many-without-user-nested.input.ts b/server/src/core/@generated/refresh-token/refresh-token-update-many-without-user-nested.input.ts deleted file mode 100644 index 5098f834f..000000000 --- a/server/src/core/@generated/refresh-token/refresh-token-update-many-without-user-nested.input.ts +++ /dev/null @@ -1,59 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { RefreshTokenCreateWithoutUserInput } from './refresh-token-create-without-user.input'; -import { Type } from 'class-transformer'; -import { RefreshTokenCreateOrConnectWithoutUserInput } from './refresh-token-create-or-connect-without-user.input'; -import { RefreshTokenUpsertWithWhereUniqueWithoutUserInput } from './refresh-token-upsert-with-where-unique-without-user.input'; -import { RefreshTokenCreateManyUserInputEnvelope } from './refresh-token-create-many-user-input-envelope.input'; -import { RefreshTokenWhereUniqueInput } from './refresh-token-where-unique.input'; -import { RefreshTokenUpdateWithWhereUniqueWithoutUserInput } from './refresh-token-update-with-where-unique-without-user.input'; -import { RefreshTokenUpdateManyWithWhereWithoutUserInput } from './refresh-token-update-many-with-where-without-user.input'; -import { RefreshTokenScalarWhereInput } from './refresh-token-scalar-where.input'; - -@InputType() -export class RefreshTokenUpdateManyWithoutUserNestedInput { - - @Field(() => [RefreshTokenCreateWithoutUserInput], {nullable:true}) - @Type(() => RefreshTokenCreateWithoutUserInput) - create?: Array; - - @Field(() => [RefreshTokenCreateOrConnectWithoutUserInput], {nullable:true}) - @Type(() => RefreshTokenCreateOrConnectWithoutUserInput) - connectOrCreate?: Array; - - @Field(() => [RefreshTokenUpsertWithWhereUniqueWithoutUserInput], {nullable:true}) - @Type(() => RefreshTokenUpsertWithWhereUniqueWithoutUserInput) - upsert?: Array; - - @Field(() => RefreshTokenCreateManyUserInputEnvelope, {nullable:true}) - @Type(() => RefreshTokenCreateManyUserInputEnvelope) - createMany?: RefreshTokenCreateManyUserInputEnvelope; - - @Field(() => [RefreshTokenWhereUniqueInput], {nullable:true}) - @Type(() => RefreshTokenWhereUniqueInput) - set?: Array; - - @Field(() => [RefreshTokenWhereUniqueInput], {nullable:true}) - @Type(() => RefreshTokenWhereUniqueInput) - disconnect?: Array; - - @Field(() => [RefreshTokenWhereUniqueInput], {nullable:true}) - @Type(() => RefreshTokenWhereUniqueInput) - delete?: Array; - - @Field(() => [RefreshTokenWhereUniqueInput], {nullable:true}) - @Type(() => RefreshTokenWhereUniqueInput) - connect?: Array; - - @Field(() => [RefreshTokenUpdateWithWhereUniqueWithoutUserInput], {nullable:true}) - @Type(() => RefreshTokenUpdateWithWhereUniqueWithoutUserInput) - update?: Array; - - @Field(() => [RefreshTokenUpdateManyWithWhereWithoutUserInput], {nullable:true}) - @Type(() => RefreshTokenUpdateManyWithWhereWithoutUserInput) - updateMany?: Array; - - @Field(() => [RefreshTokenScalarWhereInput], {nullable:true}) - @Type(() => RefreshTokenScalarWhereInput) - deleteMany?: Array; -} diff --git a/server/src/core/@generated/refresh-token/refresh-token-update-with-where-unique-without-user.input.ts b/server/src/core/@generated/refresh-token/refresh-token-update-with-where-unique-without-user.input.ts deleted file mode 100644 index 38a21a952..000000000 --- a/server/src/core/@generated/refresh-token/refresh-token-update-with-where-unique-without-user.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { RefreshTokenWhereUniqueInput } from './refresh-token-where-unique.input'; -import { Type } from 'class-transformer'; -import { RefreshTokenUpdateWithoutUserInput } from './refresh-token-update-without-user.input'; - -@InputType() -export class RefreshTokenUpdateWithWhereUniqueWithoutUserInput { - - @Field(() => RefreshTokenWhereUniqueInput, {nullable:false}) - @Type(() => RefreshTokenWhereUniqueInput) - where!: RefreshTokenWhereUniqueInput; - - @Field(() => RefreshTokenUpdateWithoutUserInput, {nullable:false}) - @Type(() => RefreshTokenUpdateWithoutUserInput) - data!: RefreshTokenUpdateWithoutUserInput; -} diff --git a/server/src/core/@generated/refresh-token/refresh-token-update-without-user.input.ts b/server/src/core/@generated/refresh-token/refresh-token-update-without-user.input.ts deleted file mode 100644 index 625a3ecf8..000000000 --- a/server/src/core/@generated/refresh-token/refresh-token-update-without-user.input.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { BoolFieldUpdateOperationsInput } from '../prisma/bool-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 RefreshTokenUpdateWithoutUserInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - isRevoked?: BoolFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - expiresAt?: DateTimeFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/refresh-token/refresh-token-update.input.ts b/server/src/core/@generated/refresh-token/refresh-token-update.input.ts deleted file mode 100644 index d1e2ad32c..000000000 --- a/server/src/core/@generated/refresh-token/refresh-token-update.input.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { BoolFieldUpdateOperationsInput } from '../prisma/bool-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 { UserUpdateOneRequiredWithoutRefreshTokensNestedInput } from '../user/user-update-one-required-without-refresh-tokens-nested.input'; - -@InputType() -export class RefreshTokenUpdateInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - isRevoked?: BoolFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - expiresAt?: DateTimeFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @HideField() - user?: UserUpdateOneRequiredWithoutRefreshTokensNestedInput; -} diff --git a/server/src/core/@generated/refresh-token/refresh-token-upsert-with-where-unique-without-user.input.ts b/server/src/core/@generated/refresh-token/refresh-token-upsert-with-where-unique-without-user.input.ts deleted file mode 100644 index 1b1011189..000000000 --- a/server/src/core/@generated/refresh-token/refresh-token-upsert-with-where-unique-without-user.input.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { RefreshTokenWhereUniqueInput } from './refresh-token-where-unique.input'; -import { Type } from 'class-transformer'; -import { RefreshTokenUpdateWithoutUserInput } from './refresh-token-update-without-user.input'; -import { RefreshTokenCreateWithoutUserInput } from './refresh-token-create-without-user.input'; - -@InputType() -export class RefreshTokenUpsertWithWhereUniqueWithoutUserInput { - - @Field(() => RefreshTokenWhereUniqueInput, {nullable:false}) - @Type(() => RefreshTokenWhereUniqueInput) - where!: RefreshTokenWhereUniqueInput; - - @Field(() => RefreshTokenUpdateWithoutUserInput, {nullable:false}) - @Type(() => RefreshTokenUpdateWithoutUserInput) - update!: RefreshTokenUpdateWithoutUserInput; - - @Field(() => RefreshTokenCreateWithoutUserInput, {nullable:false}) - @Type(() => RefreshTokenCreateWithoutUserInput) - create!: RefreshTokenCreateWithoutUserInput; -} diff --git a/server/src/core/@generated/refresh-token/refresh-token-where-unique.input.ts b/server/src/core/@generated/refresh-token/refresh-token-where-unique.input.ts deleted file mode 100644 index 85e3a6832..000000000 --- a/server/src/core/@generated/refresh-token/refresh-token-where-unique.input.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; - -@InputType() -export class RefreshTokenWhereUniqueInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; -} diff --git a/server/src/core/@generated/refresh-token/refresh-token-where.input.ts b/server/src/core/@generated/refresh-token/refresh-token-where.input.ts deleted file mode 100644 index 607f39dd9..000000000 --- a/server/src/core/@generated/refresh-token/refresh-token-where.input.ts +++ /dev/null @@ -1,45 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFilter } from '../prisma/string-filter.input'; -import { BoolFilter } from '../prisma/bool-filter.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFilter } from '../prisma/date-time-filter.input'; -import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input'; -import { UserRelationFilter } from '../user/user-relation-filter.input'; - -@InputType() -export class RefreshTokenWhereInput { - - @Field(() => [RefreshTokenWhereInput], {nullable:true}) - AND?: Array; - - @Field(() => [RefreshTokenWhereInput], {nullable:true}) - OR?: Array; - - @Field(() => [RefreshTokenWhereInput], {nullable:true}) - NOT?: Array; - - @Field(() => StringFilter, {nullable:true}) - id?: StringFilter; - - @Field(() => BoolFilter, {nullable:true}) - isRevoked?: BoolFilter; - - @HideField() - userId?: StringFilter; - - @Field(() => DateTimeFilter, {nullable:true}) - expiresAt?: DateTimeFilter; - - @HideField() - deletedAt?: DateTimeNullableFilter; - - @Field(() => DateTimeFilter, {nullable:true}) - createdAt?: DateTimeFilter; - - @Field(() => DateTimeFilter, {nullable:true}) - updatedAt?: DateTimeFilter; - - @HideField() - user?: UserRelationFilter; -} diff --git a/server/src/core/@generated/refresh-token/refresh-token.model.ts b/server/src/core/@generated/refresh-token/refresh-token.model.ts deleted file mode 100644 index 9aac4e65a..000000000 --- a/server/src/core/@generated/refresh-token/refresh-token.model.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import { ID } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; -import { User } from '../user/user.model'; - -@ObjectType() -export class RefreshToken { - - @Field(() => ID, {nullable:false}) - id!: string; - - @Field(() => Boolean, {nullable:false,defaultValue:false}) - isRevoked!: boolean; - - @HideField() - userId!: string; - - @Field(() => Date, {nullable:false}) - expiresAt!: Date; - - @HideField() - deletedAt!: Date | null; - - @Field(() => Date, {nullable:false}) - createdAt!: Date; - - @Field(() => Date, {nullable:false}) - updatedAt!: Date; - - @HideField() - user?: User; -} diff --git a/server/src/core/@generated/refresh-token/update-many-refresh-token.args.ts b/server/src/core/@generated/refresh-token/update-many-refresh-token.args.ts deleted file mode 100644 index 51c0f7807..000000000 --- a/server/src/core/@generated/refresh-token/update-many-refresh-token.args.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { RefreshTokenUpdateManyMutationInput } from './refresh-token-update-many-mutation.input'; -import { Type } from 'class-transformer'; -import { ValidateNested } from 'class-validator'; -import { RefreshTokenWhereInput } from './refresh-token-where.input'; - -@ArgsType() -export class UpdateManyRefreshTokenArgs { - - @Field(() => RefreshTokenUpdateManyMutationInput, {nullable:false}) - @Type(() => RefreshTokenUpdateManyMutationInput) - @ValidateNested({each: true}) - @Type(() => RefreshTokenUpdateManyMutationInput) - data!: RefreshTokenUpdateManyMutationInput; - - @Field(() => RefreshTokenWhereInput, {nullable:true}) - @Type(() => RefreshTokenWhereInput) - where?: RefreshTokenWhereInput; -} diff --git a/server/src/core/@generated/refresh-token/update-one-refresh-token.args.ts b/server/src/core/@generated/refresh-token/update-one-refresh-token.args.ts deleted file mode 100644 index c878ef06b..000000000 --- a/server/src/core/@generated/refresh-token/update-one-refresh-token.args.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { RefreshTokenUpdateInput } from './refresh-token-update.input'; -import { Type } from 'class-transformer'; -import { ValidateNested } from 'class-validator'; -import { RefreshTokenWhereUniqueInput } from './refresh-token-where-unique.input'; - -@ArgsType() -export class UpdateOneRefreshTokenArgs { - - @Field(() => RefreshTokenUpdateInput, {nullable:false}) - @Type(() => RefreshTokenUpdateInput) - @ValidateNested({each: true}) - @Type(() => RefreshTokenUpdateInput) - data!: RefreshTokenUpdateInput; - - @Field(() => RefreshTokenWhereUniqueInput, {nullable:false}) - @Type(() => RefreshTokenWhereUniqueInput) - where!: RefreshTokenWhereUniqueInput; -} diff --git a/server/src/core/@generated/refresh-token/upsert-one-refresh-token.args.ts b/server/src/core/@generated/refresh-token/upsert-one-refresh-token.args.ts deleted file mode 100644 index c9b81850c..000000000 --- a/server/src/core/@generated/refresh-token/upsert-one-refresh-token.args.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { RefreshTokenWhereUniqueInput } from './refresh-token-where-unique.input'; -import { Type } from 'class-transformer'; -import { RefreshTokenCreateInput } from './refresh-token-create.input'; -import { RefreshTokenUpdateInput } from './refresh-token-update.input'; - -@ArgsType() -export class UpsertOneRefreshTokenArgs { - - @Field(() => RefreshTokenWhereUniqueInput, {nullable:false}) - @Type(() => RefreshTokenWhereUniqueInput) - where!: RefreshTokenWhereUniqueInput; - - @Field(() => RefreshTokenCreateInput, {nullable:false}) - @Type(() => RefreshTokenCreateInput) - create!: RefreshTokenCreateInput; - - @Field(() => RefreshTokenUpdateInput, {nullable:false}) - @Type(() => RefreshTokenUpdateInput) - update!: RefreshTokenUpdateInput; -} diff --git a/server/src/core/@generated/user-settings/aggregate-user-settings.output.ts b/server/src/core/@generated/user-settings/aggregate-user-settings.output.ts deleted file mode 100644 index be6cbf81f..000000000 --- a/server/src/core/@generated/user-settings/aggregate-user-settings.output.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import { UserSettingsCountAggregate } from './user-settings-count-aggregate.output'; -import { UserSettingsMinAggregate } from './user-settings-min-aggregate.output'; -import { UserSettingsMaxAggregate } from './user-settings-max-aggregate.output'; - -@ObjectType() -export class AggregateUserSettings { - - @Field(() => UserSettingsCountAggregate, {nullable:true}) - _count?: UserSettingsCountAggregate; - - @Field(() => UserSettingsMinAggregate, {nullable:true}) - _min?: UserSettingsMinAggregate; - - @Field(() => UserSettingsMaxAggregate, {nullable:true}) - _max?: UserSettingsMaxAggregate; -} diff --git a/server/src/core/@generated/user-settings/create-many-user-settings.args.ts b/server/src/core/@generated/user-settings/create-many-user-settings.args.ts deleted file mode 100644 index 2abf1a0d7..000000000 --- a/server/src/core/@generated/user-settings/create-many-user-settings.args.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { UserSettingsCreateManyInput } from './user-settings-create-many.input'; -import { Type } from 'class-transformer'; -import { ValidateNested } from 'class-validator'; - -@ArgsType() -export class CreateManyUserSettingsArgs { - - @Field(() => [UserSettingsCreateManyInput], {nullable:false}) - @Type(() => UserSettingsCreateManyInput) - @ValidateNested({each: true}) - @Type(() => UserSettingsCreateManyInput) - data!: Array; - - @Field(() => Boolean, {nullable:true}) - skipDuplicates?: boolean; -} diff --git a/server/src/core/@generated/user-settings/create-one-user-settings.args.ts b/server/src/core/@generated/user-settings/create-one-user-settings.args.ts deleted file mode 100644 index bd9abc82a..000000000 --- a/server/src/core/@generated/user-settings/create-one-user-settings.args.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { UserSettingsCreateInput } from './user-settings-create.input'; -import { Type } from 'class-transformer'; -import { ValidateNested } from 'class-validator'; - -@ArgsType() -export class CreateOneUserSettingsArgs { - - @Field(() => UserSettingsCreateInput, {nullable:false}) - @Type(() => UserSettingsCreateInput) - @ValidateNested({each: true}) - @Type(() => UserSettingsCreateInput) - data!: UserSettingsCreateInput; -} diff --git a/server/src/core/@generated/user-settings/delete-many-user-settings.args.ts b/server/src/core/@generated/user-settings/delete-many-user-settings.args.ts deleted file mode 100644 index 3185862ce..000000000 --- a/server/src/core/@generated/user-settings/delete-many-user-settings.args.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { UserSettingsWhereInput } from './user-settings-where.input'; -import { Type } from 'class-transformer'; - -@ArgsType() -export class DeleteManyUserSettingsArgs { - - @Field(() => UserSettingsWhereInput, {nullable:true}) - @Type(() => UserSettingsWhereInput) - where?: UserSettingsWhereInput; -} diff --git a/server/src/core/@generated/user-settings/delete-one-user-settings.args.ts b/server/src/core/@generated/user-settings/delete-one-user-settings.args.ts deleted file mode 100644 index 0143d0d1a..000000000 --- a/server/src/core/@generated/user-settings/delete-one-user-settings.args.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { UserSettingsWhereUniqueInput } from './user-settings-where-unique.input'; -import { Type } from 'class-transformer'; - -@ArgsType() -export class DeleteOneUserSettingsArgs { - - @Field(() => UserSettingsWhereUniqueInput, {nullable:false}) - @Type(() => UserSettingsWhereUniqueInput) - where!: UserSettingsWhereUniqueInput; -} diff --git a/server/src/core/@generated/user-settings/find-first-user-settings-or-throw.args.ts b/server/src/core/@generated/user-settings/find-first-user-settings-or-throw.args.ts deleted file mode 100644 index ac8153fd4..000000000 --- a/server/src/core/@generated/user-settings/find-first-user-settings-or-throw.args.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { UserSettingsWhereInput } from './user-settings-where.input'; -import { Type } from 'class-transformer'; -import { UserSettingsOrderByWithRelationInput } from './user-settings-order-by-with-relation.input'; -import { UserSettingsWhereUniqueInput } from './user-settings-where-unique.input'; -import { Int } from '@nestjs/graphql'; -import { UserSettingsScalarFieldEnum } from './user-settings-scalar-field.enum'; - -@ArgsType() -export class FindFirstUserSettingsOrThrowArgs { - - @Field(() => UserSettingsWhereInput, {nullable:true}) - @Type(() => UserSettingsWhereInput) - where?: UserSettingsWhereInput; - - @Field(() => [UserSettingsOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; - - @Field(() => UserSettingsWhereUniqueInput, {nullable:true}) - cursor?: UserSettingsWhereUniqueInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [UserSettingsScalarFieldEnum], {nullable:true}) - distinct?: Array; -} diff --git a/server/src/core/@generated/user-settings/find-first-user-settings.args.ts b/server/src/core/@generated/user-settings/find-first-user-settings.args.ts deleted file mode 100644 index 7e837adab..000000000 --- a/server/src/core/@generated/user-settings/find-first-user-settings.args.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { UserSettingsWhereInput } from './user-settings-where.input'; -import { Type } from 'class-transformer'; -import { UserSettingsOrderByWithRelationInput } from './user-settings-order-by-with-relation.input'; -import { UserSettingsWhereUniqueInput } from './user-settings-where-unique.input'; -import { Int } from '@nestjs/graphql'; -import { UserSettingsScalarFieldEnum } from './user-settings-scalar-field.enum'; - -@ArgsType() -export class FindFirstUserSettingsArgs { - - @Field(() => UserSettingsWhereInput, {nullable:true}) - @Type(() => UserSettingsWhereInput) - where?: UserSettingsWhereInput; - - @Field(() => [UserSettingsOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; - - @Field(() => UserSettingsWhereUniqueInput, {nullable:true}) - cursor?: UserSettingsWhereUniqueInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [UserSettingsScalarFieldEnum], {nullable:true}) - distinct?: Array; -} diff --git a/server/src/core/@generated/user-settings/find-many-user-settings.args.ts b/server/src/core/@generated/user-settings/find-many-user-settings.args.ts deleted file mode 100644 index 6bfcae91b..000000000 --- a/server/src/core/@generated/user-settings/find-many-user-settings.args.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { UserSettingsWhereInput } from './user-settings-where.input'; -import { Type } from 'class-transformer'; -import { UserSettingsOrderByWithRelationInput } from './user-settings-order-by-with-relation.input'; -import { UserSettingsWhereUniqueInput } from './user-settings-where-unique.input'; -import { Int } from '@nestjs/graphql'; -import { UserSettingsScalarFieldEnum } from './user-settings-scalar-field.enum'; - -@ArgsType() -export class FindManyUserSettingsArgs { - - @Field(() => UserSettingsWhereInput, {nullable:true}) - @Type(() => UserSettingsWhereInput) - where?: UserSettingsWhereInput; - - @Field(() => [UserSettingsOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; - - @Field(() => UserSettingsWhereUniqueInput, {nullable:true}) - cursor?: UserSettingsWhereUniqueInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [UserSettingsScalarFieldEnum], {nullable:true}) - distinct?: Array; -} diff --git a/server/src/core/@generated/user-settings/find-unique-user-settings-or-throw.args.ts b/server/src/core/@generated/user-settings/find-unique-user-settings-or-throw.args.ts deleted file mode 100644 index ca3ef5302..000000000 --- a/server/src/core/@generated/user-settings/find-unique-user-settings-or-throw.args.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { UserSettingsWhereUniqueInput } from './user-settings-where-unique.input'; -import { Type } from 'class-transformer'; - -@ArgsType() -export class FindUniqueUserSettingsOrThrowArgs { - - @Field(() => UserSettingsWhereUniqueInput, {nullable:false}) - @Type(() => UserSettingsWhereUniqueInput) - where!: UserSettingsWhereUniqueInput; -} diff --git a/server/src/core/@generated/user-settings/find-unique-user-settings.args.ts b/server/src/core/@generated/user-settings/find-unique-user-settings.args.ts deleted file mode 100644 index db55f08e5..000000000 --- a/server/src/core/@generated/user-settings/find-unique-user-settings.args.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { UserSettingsWhereUniqueInput } from './user-settings-where-unique.input'; -import { Type } from 'class-transformer'; - -@ArgsType() -export class FindUniqueUserSettingsArgs { - - @Field(() => UserSettingsWhereUniqueInput, {nullable:false}) - @Type(() => UserSettingsWhereUniqueInput) - where!: UserSettingsWhereUniqueInput; -} diff --git a/server/src/core/@generated/user-settings/update-many-user-settings.args.ts b/server/src/core/@generated/user-settings/update-many-user-settings.args.ts deleted file mode 100644 index 8c0c48a0d..000000000 --- a/server/src/core/@generated/user-settings/update-many-user-settings.args.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { UserSettingsUpdateManyMutationInput } from './user-settings-update-many-mutation.input'; -import { Type } from 'class-transformer'; -import { ValidateNested } from 'class-validator'; -import { UserSettingsWhereInput } from './user-settings-where.input'; - -@ArgsType() -export class UpdateManyUserSettingsArgs { - - @Field(() => UserSettingsUpdateManyMutationInput, {nullable:false}) - @Type(() => UserSettingsUpdateManyMutationInput) - @ValidateNested({each: true}) - @Type(() => UserSettingsUpdateManyMutationInput) - data!: UserSettingsUpdateManyMutationInput; - - @Field(() => UserSettingsWhereInput, {nullable:true}) - @Type(() => UserSettingsWhereInput) - where?: UserSettingsWhereInput; -} diff --git a/server/src/core/@generated/user-settings/update-one-user-settings.args.ts b/server/src/core/@generated/user-settings/update-one-user-settings.args.ts deleted file mode 100644 index fbb285665..000000000 --- a/server/src/core/@generated/user-settings/update-one-user-settings.args.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { UserSettingsUpdateInput } from './user-settings-update.input'; -import { Type } from 'class-transformer'; -import { ValidateNested } from 'class-validator'; -import { UserSettingsWhereUniqueInput } from './user-settings-where-unique.input'; - -@ArgsType() -export class UpdateOneUserSettingsArgs { - - @Field(() => UserSettingsUpdateInput, {nullable:false}) - @Type(() => UserSettingsUpdateInput) - @ValidateNested({each: true}) - @Type(() => UserSettingsUpdateInput) - data!: UserSettingsUpdateInput; - - @Field(() => UserSettingsWhereUniqueInput, {nullable:false}) - @Type(() => UserSettingsWhereUniqueInput) - where!: UserSettingsWhereUniqueInput; -} diff --git a/server/src/core/@generated/user-settings/upsert-one-user-settings.args.ts b/server/src/core/@generated/user-settings/upsert-one-user-settings.args.ts deleted file mode 100644 index 3a8d2506f..000000000 --- a/server/src/core/@generated/user-settings/upsert-one-user-settings.args.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { UserSettingsWhereUniqueInput } from './user-settings-where-unique.input'; -import { Type } from 'class-transformer'; -import { UserSettingsCreateInput } from './user-settings-create.input'; -import { UserSettingsUpdateInput } from './user-settings-update.input'; - -@ArgsType() -export class UpsertOneUserSettingsArgs { - - @Field(() => UserSettingsWhereUniqueInput, {nullable:false}) - @Type(() => UserSettingsWhereUniqueInput) - where!: UserSettingsWhereUniqueInput; - - @Field(() => UserSettingsCreateInput, {nullable:false}) - @Type(() => UserSettingsCreateInput) - create!: UserSettingsCreateInput; - - @Field(() => UserSettingsUpdateInput, {nullable:false}) - @Type(() => UserSettingsUpdateInput) - update!: UserSettingsUpdateInput; -} diff --git a/server/src/core/@generated/user-settings/user-settings-count-aggregate.input.ts b/server/src/core/@generated/user-settings/user-settings-count-aggregate.input.ts deleted file mode 100644 index 538be1456..000000000 --- a/server/src/core/@generated/user-settings/user-settings-count-aggregate.input.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; - -@InputType() -export class UserSettingsCountAggregateInput { - - @Field(() => Boolean, {nullable:true}) - id?: true; - - @Field(() => Boolean, {nullable:true}) - colorScheme?: true; - - @Field(() => Boolean, {nullable:true}) - locale?: true; - - @Field(() => Boolean, {nullable:true}) - createdAt?: true; - - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; - - @Field(() => Boolean, {nullable:true}) - _all?: true; -} diff --git a/server/src/core/@generated/user-settings/user-settings-count-aggregate.output.ts b/server/src/core/@generated/user-settings/user-settings-count-aggregate.output.ts deleted file mode 100644 index b73119433..000000000 --- a/server/src/core/@generated/user-settings/user-settings-count-aggregate.output.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import { Int } from '@nestjs/graphql'; - -@ObjectType() -export class UserSettingsCountAggregate { - - @Field(() => Int, {nullable:false}) - id!: number; - - @Field(() => Int, {nullable:false}) - colorScheme!: number; - - @Field(() => Int, {nullable:false}) - locale!: number; - - @Field(() => Int, {nullable:false}) - createdAt!: number; - - @Field(() => Int, {nullable:false}) - updatedAt!: number; - - @Field(() => Int, {nullable:false}) - _all!: number; -} diff --git a/server/src/core/@generated/user-settings/user-settings-count-order-by-aggregate.input.ts b/server/src/core/@generated/user-settings/user-settings-count-order-by-aggregate.input.ts deleted file mode 100644 index 1de1b4032..000000000 --- a/server/src/core/@generated/user-settings/user-settings-count-order-by-aggregate.input.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { SortOrder } from '../prisma/sort-order.enum'; - -@InputType() -export class UserSettingsCountOrderByAggregateInput { - - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - colorScheme?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - locale?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; -} diff --git a/server/src/core/@generated/user-settings/user-settings-create-many.input.ts b/server/src/core/@generated/user-settings/user-settings-create-many.input.ts deleted file mode 100644 index 8f8cadbca..000000000 --- a/server/src/core/@generated/user-settings/user-settings-create-many.input.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { ColorScheme } from '../prisma/color-scheme.enum'; -import * as Validator from 'class-validator'; - -@InputType() -export class UserSettingsCreateManyInput { - - @Field(() => String, {nullable:true}) - id?: string; - - @Field(() => ColorScheme, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - colorScheme?: keyof typeof ColorScheme; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - locale!: string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/user-settings/user-settings-create-nested-one-without-user.input.ts b/server/src/core/@generated/user-settings/user-settings-create-nested-one-without-user.input.ts deleted file mode 100644 index 45a93829a..000000000 --- a/server/src/core/@generated/user-settings/user-settings-create-nested-one-without-user.input.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { UserSettingsCreateWithoutUserInput } from './user-settings-create-without-user.input'; -import { Type } from 'class-transformer'; -import { UserSettingsCreateOrConnectWithoutUserInput } from './user-settings-create-or-connect-without-user.input'; -import { UserSettingsWhereUniqueInput } from './user-settings-where-unique.input'; - -@InputType() -export class UserSettingsCreateNestedOneWithoutUserInput { - - @Field(() => UserSettingsCreateWithoutUserInput, {nullable:true}) - @Type(() => UserSettingsCreateWithoutUserInput) - create?: UserSettingsCreateWithoutUserInput; - - @Field(() => UserSettingsCreateOrConnectWithoutUserInput, {nullable:true}) - @Type(() => UserSettingsCreateOrConnectWithoutUserInput) - connectOrCreate?: UserSettingsCreateOrConnectWithoutUserInput; - - @Field(() => UserSettingsWhereUniqueInput, {nullable:true}) - @Type(() => UserSettingsWhereUniqueInput) - connect?: UserSettingsWhereUniqueInput; -} diff --git a/server/src/core/@generated/user-settings/user-settings-create-or-connect-without-user.input.ts b/server/src/core/@generated/user-settings/user-settings-create-or-connect-without-user.input.ts deleted file mode 100644 index 2e00203ba..000000000 --- a/server/src/core/@generated/user-settings/user-settings-create-or-connect-without-user.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { UserSettingsWhereUniqueInput } from './user-settings-where-unique.input'; -import { Type } from 'class-transformer'; -import { UserSettingsCreateWithoutUserInput } from './user-settings-create-without-user.input'; - -@InputType() -export class UserSettingsCreateOrConnectWithoutUserInput { - - @Field(() => UserSettingsWhereUniqueInput, {nullable:false}) - @Type(() => UserSettingsWhereUniqueInput) - where!: UserSettingsWhereUniqueInput; - - @Field(() => UserSettingsCreateWithoutUserInput, {nullable:false}) - @Type(() => UserSettingsCreateWithoutUserInput) - create!: UserSettingsCreateWithoutUserInput; -} diff --git a/server/src/core/@generated/user-settings/user-settings-create-without-user.input.ts b/server/src/core/@generated/user-settings/user-settings-create-without-user.input.ts deleted file mode 100644 index 8fdc3054c..000000000 --- a/server/src/core/@generated/user-settings/user-settings-create-without-user.input.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { ColorScheme } from '../prisma/color-scheme.enum'; -import * as Validator from 'class-validator'; - -@InputType() -export class UserSettingsCreateWithoutUserInput { - - @Field(() => String, {nullable:true}) - id?: string; - - @Field(() => ColorScheme, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - colorScheme?: keyof typeof ColorScheme; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - locale!: string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/user-settings/user-settings-create.input.ts b/server/src/core/@generated/user-settings/user-settings-create.input.ts deleted file mode 100644 index 11e5e2644..000000000 --- a/server/src/core/@generated/user-settings/user-settings-create.input.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { ColorScheme } from '../prisma/color-scheme.enum'; -import * as Validator from 'class-validator'; -import { UserCreateNestedOneWithoutSettingsInput } from '../user/user-create-nested-one-without-settings.input'; - -@InputType() -export class UserSettingsCreateInput { - - @Field(() => String, {nullable:true}) - id?: string; - - @Field(() => ColorScheme, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - colorScheme?: keyof typeof ColorScheme; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - locale!: string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => UserCreateNestedOneWithoutSettingsInput, {nullable:true}) - user?: UserCreateNestedOneWithoutSettingsInput; -} diff --git a/server/src/core/@generated/user-settings/user-settings-group-by.args.ts b/server/src/core/@generated/user-settings/user-settings-group-by.args.ts deleted file mode 100644 index e77a86f33..000000000 --- a/server/src/core/@generated/user-settings/user-settings-group-by.args.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { UserSettingsWhereInput } from './user-settings-where.input'; -import { Type } from 'class-transformer'; -import { UserSettingsOrderByWithAggregationInput } from './user-settings-order-by-with-aggregation.input'; -import { UserSettingsScalarFieldEnum } from './user-settings-scalar-field.enum'; -import { UserSettingsScalarWhereWithAggregatesInput } from './user-settings-scalar-where-with-aggregates.input'; -import { Int } from '@nestjs/graphql'; -import { UserSettingsCountAggregateInput } from './user-settings-count-aggregate.input'; -import { UserSettingsMinAggregateInput } from './user-settings-min-aggregate.input'; -import { UserSettingsMaxAggregateInput } from './user-settings-max-aggregate.input'; - -@ArgsType() -export class UserSettingsGroupByArgs { - - @Field(() => UserSettingsWhereInput, {nullable:true}) - @Type(() => UserSettingsWhereInput) - where?: UserSettingsWhereInput; - - @Field(() => [UserSettingsOrderByWithAggregationInput], {nullable:true}) - orderBy?: Array; - - @Field(() => [UserSettingsScalarFieldEnum], {nullable:false}) - by!: Array; - - @Field(() => UserSettingsScalarWhereWithAggregatesInput, {nullable:true}) - having?: UserSettingsScalarWhereWithAggregatesInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => UserSettingsCountAggregateInput, {nullable:true}) - _count?: UserSettingsCountAggregateInput; - - @Field(() => UserSettingsMinAggregateInput, {nullable:true}) - _min?: UserSettingsMinAggregateInput; - - @Field(() => UserSettingsMaxAggregateInput, {nullable:true}) - _max?: UserSettingsMaxAggregateInput; -} diff --git a/server/src/core/@generated/user-settings/user-settings-group-by.output.ts b/server/src/core/@generated/user-settings/user-settings-group-by.output.ts deleted file mode 100644 index 117a04c13..000000000 --- a/server/src/core/@generated/user-settings/user-settings-group-by.output.ts +++ /dev/null @@ -1,38 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import { ColorScheme } from '../prisma/color-scheme.enum'; -import * as Validator from 'class-validator'; -import { UserSettingsCountAggregate } from './user-settings-count-aggregate.output'; -import { UserSettingsMinAggregate } from './user-settings-min-aggregate.output'; -import { UserSettingsMaxAggregate } from './user-settings-max-aggregate.output'; - -@ObjectType() -export class UserSettingsGroupBy { - - @Field(() => String, {nullable:false}) - id!: string; - - @Field(() => ColorScheme, {nullable:false}) - @Validator.IsString() - @Validator.IsOptional() - colorScheme!: keyof typeof ColorScheme; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - locale!: string; - - @Field(() => Date, {nullable:false}) - createdAt!: Date | string; - - @Field(() => Date, {nullable:false}) - updatedAt!: Date | string; - - @Field(() => UserSettingsCountAggregate, {nullable:true}) - _count?: UserSettingsCountAggregate; - - @Field(() => UserSettingsMinAggregate, {nullable:true}) - _min?: UserSettingsMinAggregate; - - @Field(() => UserSettingsMaxAggregate, {nullable:true}) - _max?: UserSettingsMaxAggregate; -} diff --git a/server/src/core/@generated/user-settings/user-settings-max-aggregate.input.ts b/server/src/core/@generated/user-settings/user-settings-max-aggregate.input.ts deleted file mode 100644 index 1ffdd94fb..000000000 --- a/server/src/core/@generated/user-settings/user-settings-max-aggregate.input.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; - -@InputType() -export class UserSettingsMaxAggregateInput { - - @Field(() => Boolean, {nullable:true}) - id?: true; - - @Field(() => Boolean, {nullable:true}) - colorScheme?: true; - - @Field(() => Boolean, {nullable:true}) - locale?: true; - - @Field(() => Boolean, {nullable:true}) - createdAt?: true; - - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; -} diff --git a/server/src/core/@generated/user-settings/user-settings-max-aggregate.output.ts b/server/src/core/@generated/user-settings/user-settings-max-aggregate.output.ts deleted file mode 100644 index fde7417ef..000000000 --- a/server/src/core/@generated/user-settings/user-settings-max-aggregate.output.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import { ColorScheme } from '../prisma/color-scheme.enum'; -import * as Validator from 'class-validator'; - -@ObjectType() -export class UserSettingsMaxAggregate { - - @Field(() => String, {nullable:true}) - id?: string; - - @Field(() => ColorScheme, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - colorScheme?: keyof typeof ColorScheme; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - locale?: string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/user-settings/user-settings-max-order-by-aggregate.input.ts b/server/src/core/@generated/user-settings/user-settings-max-order-by-aggregate.input.ts deleted file mode 100644 index a1daaa75a..000000000 --- a/server/src/core/@generated/user-settings/user-settings-max-order-by-aggregate.input.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { SortOrder } from '../prisma/sort-order.enum'; - -@InputType() -export class UserSettingsMaxOrderByAggregateInput { - - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - colorScheme?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - locale?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; -} diff --git a/server/src/core/@generated/user-settings/user-settings-min-aggregate.input.ts b/server/src/core/@generated/user-settings/user-settings-min-aggregate.input.ts deleted file mode 100644 index eb11c22c8..000000000 --- a/server/src/core/@generated/user-settings/user-settings-min-aggregate.input.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; - -@InputType() -export class UserSettingsMinAggregateInput { - - @Field(() => Boolean, {nullable:true}) - id?: true; - - @Field(() => Boolean, {nullable:true}) - colorScheme?: true; - - @Field(() => Boolean, {nullable:true}) - locale?: true; - - @Field(() => Boolean, {nullable:true}) - createdAt?: true; - - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; -} diff --git a/server/src/core/@generated/user-settings/user-settings-min-aggregate.output.ts b/server/src/core/@generated/user-settings/user-settings-min-aggregate.output.ts deleted file mode 100644 index 92f768e7e..000000000 --- a/server/src/core/@generated/user-settings/user-settings-min-aggregate.output.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import { ColorScheme } from '../prisma/color-scheme.enum'; -import * as Validator from 'class-validator'; - -@ObjectType() -export class UserSettingsMinAggregate { - - @Field(() => String, {nullable:true}) - id?: string; - - @Field(() => ColorScheme, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - colorScheme?: keyof typeof ColorScheme; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - locale?: string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/user-settings/user-settings-min-order-by-aggregate.input.ts b/server/src/core/@generated/user-settings/user-settings-min-order-by-aggregate.input.ts deleted file mode 100644 index e1bb19891..000000000 --- a/server/src/core/@generated/user-settings/user-settings-min-order-by-aggregate.input.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { SortOrder } from '../prisma/sort-order.enum'; - -@InputType() -export class UserSettingsMinOrderByAggregateInput { - - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - colorScheme?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - locale?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; -} diff --git a/server/src/core/@generated/user-settings/user-settings-order-by-with-aggregation.input.ts b/server/src/core/@generated/user-settings/user-settings-order-by-with-aggregation.input.ts deleted file mode 100644 index d48fd0326..000000000 --- a/server/src/core/@generated/user-settings/user-settings-order-by-with-aggregation.input.ts +++ /dev/null @@ -1,34 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { SortOrder } from '../prisma/sort-order.enum'; -import { UserSettingsCountOrderByAggregateInput } from './user-settings-count-order-by-aggregate.input'; -import { UserSettingsMaxOrderByAggregateInput } from './user-settings-max-order-by-aggregate.input'; -import { UserSettingsMinOrderByAggregateInput } from './user-settings-min-order-by-aggregate.input'; - -@InputType() -export class UserSettingsOrderByWithAggregationInput { - - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - colorScheme?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - locale?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; - - @Field(() => UserSettingsCountOrderByAggregateInput, {nullable:true}) - _count?: UserSettingsCountOrderByAggregateInput; - - @Field(() => UserSettingsMaxOrderByAggregateInput, {nullable:true}) - _max?: UserSettingsMaxOrderByAggregateInput; - - @Field(() => UserSettingsMinOrderByAggregateInput, {nullable:true}) - _min?: UserSettingsMinOrderByAggregateInput; -} diff --git a/server/src/core/@generated/user-settings/user-settings-order-by-with-relation.input.ts b/server/src/core/@generated/user-settings/user-settings-order-by-with-relation.input.ts deleted file mode 100644 index fce8d4e32..000000000 --- a/server/src/core/@generated/user-settings/user-settings-order-by-with-relation.input.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { SortOrder } from '../prisma/sort-order.enum'; -import { UserOrderByWithRelationInput } from '../user/user-order-by-with-relation.input'; - -@InputType() -export class UserSettingsOrderByWithRelationInput { - - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - colorScheme?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - locale?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; - - @Field(() => UserOrderByWithRelationInput, {nullable:true}) - user?: UserOrderByWithRelationInput; -} diff --git a/server/src/core/@generated/user-settings/user-settings-relation-filter.input.ts b/server/src/core/@generated/user-settings/user-settings-relation-filter.input.ts deleted file mode 100644 index b7f499055..000000000 --- a/server/src/core/@generated/user-settings/user-settings-relation-filter.input.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { UserSettingsWhereInput } from './user-settings-where.input'; - -@InputType() -export class UserSettingsRelationFilter { - - @Field(() => UserSettingsWhereInput, {nullable:true}) - is?: UserSettingsWhereInput; - - @Field(() => UserSettingsWhereInput, {nullable:true}) - isNot?: UserSettingsWhereInput; -} diff --git a/server/src/core/@generated/user-settings/user-settings-scalar-field.enum.ts b/server/src/core/@generated/user-settings/user-settings-scalar-field.enum.ts deleted file mode 100644 index 36517b6c9..000000000 --- a/server/src/core/@generated/user-settings/user-settings-scalar-field.enum.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { registerEnumType } from '@nestjs/graphql'; - -export enum UserSettingsScalarFieldEnum { - id = "id", - colorScheme = "colorScheme", - locale = "locale", - createdAt = "createdAt", - updatedAt = "updatedAt" -} - - -registerEnumType(UserSettingsScalarFieldEnum, { name: 'UserSettingsScalarFieldEnum', description: undefined }) diff --git a/server/src/core/@generated/user-settings/user-settings-scalar-where-with-aggregates.input.ts b/server/src/core/@generated/user-settings/user-settings-scalar-where-with-aggregates.input.ts deleted file mode 100644 index 4bd46d95b..000000000 --- a/server/src/core/@generated/user-settings/user-settings-scalar-where-with-aggregates.input.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringWithAggregatesFilter } from '../prisma/string-with-aggregates-filter.input'; -import { EnumColorSchemeWithAggregatesFilter } from '../prisma/enum-color-scheme-with-aggregates-filter.input'; -import { DateTimeWithAggregatesFilter } from '../prisma/date-time-with-aggregates-filter.input'; - -@InputType() -export class UserSettingsScalarWhereWithAggregatesInput { - - @Field(() => [UserSettingsScalarWhereWithAggregatesInput], {nullable:true}) - AND?: Array; - - @Field(() => [UserSettingsScalarWhereWithAggregatesInput], {nullable:true}) - OR?: Array; - - @Field(() => [UserSettingsScalarWhereWithAggregatesInput], {nullable:true}) - NOT?: Array; - - @Field(() => StringWithAggregatesFilter, {nullable:true}) - id?: StringWithAggregatesFilter; - - @Field(() => EnumColorSchemeWithAggregatesFilter, {nullable:true}) - colorScheme?: EnumColorSchemeWithAggregatesFilter; - - @Field(() => StringWithAggregatesFilter, {nullable:true}) - locale?: StringWithAggregatesFilter; - - @Field(() => DateTimeWithAggregatesFilter, {nullable:true}) - createdAt?: DateTimeWithAggregatesFilter; - - @Field(() => DateTimeWithAggregatesFilter, {nullable:true}) - updatedAt?: DateTimeWithAggregatesFilter; -} diff --git a/server/src/core/@generated/user-settings/user-settings-unchecked-create-without-user.input.ts b/server/src/core/@generated/user-settings/user-settings-unchecked-create-without-user.input.ts deleted file mode 100644 index 4192ee950..000000000 --- a/server/src/core/@generated/user-settings/user-settings-unchecked-create-without-user.input.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { ColorScheme } from '../prisma/color-scheme.enum'; -import * as Validator from 'class-validator'; - -@InputType() -export class UserSettingsUncheckedCreateWithoutUserInput { - - @Field(() => String, {nullable:true}) - id?: string; - - @Field(() => ColorScheme, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - colorScheme?: keyof typeof ColorScheme; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - locale!: string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/user-settings/user-settings-unchecked-create.input.ts b/server/src/core/@generated/user-settings/user-settings-unchecked-create.input.ts deleted file mode 100644 index 04cddbb8b..000000000 --- a/server/src/core/@generated/user-settings/user-settings-unchecked-create.input.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { ColorScheme } from '../prisma/color-scheme.enum'; -import * as Validator from 'class-validator'; -import { UserUncheckedCreateNestedOneWithoutSettingsInput } from '../user/user-unchecked-create-nested-one-without-settings.input'; - -@InputType() -export class UserSettingsUncheckedCreateInput { - - @Field(() => String, {nullable:true}) - id?: string; - - @Field(() => ColorScheme, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - colorScheme?: keyof typeof ColorScheme; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - locale!: string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => UserUncheckedCreateNestedOneWithoutSettingsInput, {nullable:true}) - user?: UserUncheckedCreateNestedOneWithoutSettingsInput; -} diff --git a/server/src/core/@generated/user-settings/user-settings-unchecked-update-many.input.ts b/server/src/core/@generated/user-settings/user-settings-unchecked-update-many.input.ts deleted file mode 100644 index 3caab9985..000000000 --- a/server/src/core/@generated/user-settings/user-settings-unchecked-update-many.input.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { EnumColorSchemeFieldUpdateOperationsInput } from '../prisma/enum-color-scheme-field-update-operations.input'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class UserSettingsUncheckedUpdateManyInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => EnumColorSchemeFieldUpdateOperationsInput, {nullable:true}) - colorScheme?: EnumColorSchemeFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - locale?: StringFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/user-settings/user-settings-unchecked-update-without-user.input.ts b/server/src/core/@generated/user-settings/user-settings-unchecked-update-without-user.input.ts deleted file mode 100644 index c96201c31..000000000 --- a/server/src/core/@generated/user-settings/user-settings-unchecked-update-without-user.input.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { EnumColorSchemeFieldUpdateOperationsInput } from '../prisma/enum-color-scheme-field-update-operations.input'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class UserSettingsUncheckedUpdateWithoutUserInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => EnumColorSchemeFieldUpdateOperationsInput, {nullable:true}) - colorScheme?: EnumColorSchemeFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - locale?: StringFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/user-settings/user-settings-unchecked-update.input.ts b/server/src/core/@generated/user-settings/user-settings-unchecked-update.input.ts deleted file mode 100644 index d4111c935..000000000 --- a/server/src/core/@generated/user-settings/user-settings-unchecked-update.input.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { EnumColorSchemeFieldUpdateOperationsInput } from '../prisma/enum-color-scheme-field-update-operations.input'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -import { UserUncheckedUpdateOneWithoutSettingsNestedInput } from '../user/user-unchecked-update-one-without-settings-nested.input'; - -@InputType() -export class UserSettingsUncheckedUpdateInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => EnumColorSchemeFieldUpdateOperationsInput, {nullable:true}) - colorScheme?: EnumColorSchemeFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - locale?: StringFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => UserUncheckedUpdateOneWithoutSettingsNestedInput, {nullable:true}) - user?: UserUncheckedUpdateOneWithoutSettingsNestedInput; -} diff --git a/server/src/core/@generated/user-settings/user-settings-update-many-mutation.input.ts b/server/src/core/@generated/user-settings/user-settings-update-many-mutation.input.ts deleted file mode 100644 index deae92929..000000000 --- a/server/src/core/@generated/user-settings/user-settings-update-many-mutation.input.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { EnumColorSchemeFieldUpdateOperationsInput } from '../prisma/enum-color-scheme-field-update-operations.input'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class UserSettingsUpdateManyMutationInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => EnumColorSchemeFieldUpdateOperationsInput, {nullable:true}) - colorScheme?: EnumColorSchemeFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - locale?: StringFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/user-settings/user-settings-update-one-required-without-user-nested.input.ts b/server/src/core/@generated/user-settings/user-settings-update-one-required-without-user-nested.input.ts deleted file mode 100644 index 756619345..000000000 --- a/server/src/core/@generated/user-settings/user-settings-update-one-required-without-user-nested.input.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { UserSettingsCreateWithoutUserInput } from './user-settings-create-without-user.input'; -import { Type } from 'class-transformer'; -import { UserSettingsCreateOrConnectWithoutUserInput } from './user-settings-create-or-connect-without-user.input'; -import { UserSettingsUpsertWithoutUserInput } from './user-settings-upsert-without-user.input'; -import { UserSettingsWhereUniqueInput } from './user-settings-where-unique.input'; -import { UserSettingsUpdateWithoutUserInput } from './user-settings-update-without-user.input'; - -@InputType() -export class UserSettingsUpdateOneRequiredWithoutUserNestedInput { - - @Field(() => UserSettingsCreateWithoutUserInput, {nullable:true}) - @Type(() => UserSettingsCreateWithoutUserInput) - create?: UserSettingsCreateWithoutUserInput; - - @Field(() => UserSettingsCreateOrConnectWithoutUserInput, {nullable:true}) - @Type(() => UserSettingsCreateOrConnectWithoutUserInput) - connectOrCreate?: UserSettingsCreateOrConnectWithoutUserInput; - - @Field(() => UserSettingsUpsertWithoutUserInput, {nullable:true}) - @Type(() => UserSettingsUpsertWithoutUserInput) - upsert?: UserSettingsUpsertWithoutUserInput; - - @Field(() => UserSettingsWhereUniqueInput, {nullable:true}) - @Type(() => UserSettingsWhereUniqueInput) - connect?: UserSettingsWhereUniqueInput; - - @Field(() => UserSettingsUpdateWithoutUserInput, {nullable:true}) - @Type(() => UserSettingsUpdateWithoutUserInput) - update?: UserSettingsUpdateWithoutUserInput; -} diff --git a/server/src/core/@generated/user-settings/user-settings-update-without-user.input.ts b/server/src/core/@generated/user-settings/user-settings-update-without-user.input.ts deleted file mode 100644 index 9a2a2cbf3..000000000 --- a/server/src/core/@generated/user-settings/user-settings-update-without-user.input.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { EnumColorSchemeFieldUpdateOperationsInput } from '../prisma/enum-color-scheme-field-update-operations.input'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class UserSettingsUpdateWithoutUserInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => EnumColorSchemeFieldUpdateOperationsInput, {nullable:true}) - colorScheme?: EnumColorSchemeFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - locale?: StringFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/user-settings/user-settings-update.input.ts b/server/src/core/@generated/user-settings/user-settings-update.input.ts deleted file mode 100644 index 400f945eb..000000000 --- a/server/src/core/@generated/user-settings/user-settings-update.input.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { EnumColorSchemeFieldUpdateOperationsInput } from '../prisma/enum-color-scheme-field-update-operations.input'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -import { UserUpdateOneWithoutSettingsNestedInput } from '../user/user-update-one-without-settings-nested.input'; - -@InputType() -export class UserSettingsUpdateInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => EnumColorSchemeFieldUpdateOperationsInput, {nullable:true}) - colorScheme?: EnumColorSchemeFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - locale?: StringFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => UserUpdateOneWithoutSettingsNestedInput, {nullable:true}) - user?: UserUpdateOneWithoutSettingsNestedInput; -} diff --git a/server/src/core/@generated/user-settings/user-settings-upsert-without-user.input.ts b/server/src/core/@generated/user-settings/user-settings-upsert-without-user.input.ts deleted file mode 100644 index 0ab846dc8..000000000 --- a/server/src/core/@generated/user-settings/user-settings-upsert-without-user.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { UserSettingsUpdateWithoutUserInput } from './user-settings-update-without-user.input'; -import { Type } from 'class-transformer'; -import { UserSettingsCreateWithoutUserInput } from './user-settings-create-without-user.input'; - -@InputType() -export class UserSettingsUpsertWithoutUserInput { - - @Field(() => UserSettingsUpdateWithoutUserInput, {nullable:false}) - @Type(() => UserSettingsUpdateWithoutUserInput) - update!: UserSettingsUpdateWithoutUserInput; - - @Field(() => UserSettingsCreateWithoutUserInput, {nullable:false}) - @Type(() => UserSettingsCreateWithoutUserInput) - create!: UserSettingsCreateWithoutUserInput; -} diff --git a/server/src/core/@generated/user-settings/user-settings-where-unique.input.ts b/server/src/core/@generated/user-settings/user-settings-where-unique.input.ts deleted file mode 100644 index aec2ddb53..000000000 --- a/server/src/core/@generated/user-settings/user-settings-where-unique.input.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; - -@InputType() -export class UserSettingsWhereUniqueInput { - - @Field(() => String, {nullable:true}) - id?: string; -} diff --git a/server/src/core/@generated/user-settings/user-settings-where.input.ts b/server/src/core/@generated/user-settings/user-settings-where.input.ts deleted file mode 100644 index 502e8df64..000000000 --- a/server/src/core/@generated/user-settings/user-settings-where.input.ts +++ /dev/null @@ -1,37 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFilter } from '../prisma/string-filter.input'; -import { EnumColorSchemeFilter } from '../prisma/enum-color-scheme-filter.input'; -import { DateTimeFilter } from '../prisma/date-time-filter.input'; -import { UserRelationFilter } from '../user/user-relation-filter.input'; - -@InputType() -export class UserSettingsWhereInput { - - @Field(() => [UserSettingsWhereInput], {nullable:true}) - AND?: Array; - - @Field(() => [UserSettingsWhereInput], {nullable:true}) - OR?: Array; - - @Field(() => [UserSettingsWhereInput], {nullable:true}) - NOT?: Array; - - @Field(() => StringFilter, {nullable:true}) - id?: StringFilter; - - @Field(() => EnumColorSchemeFilter, {nullable:true}) - colorScheme?: EnumColorSchemeFilter; - - @Field(() => StringFilter, {nullable:true}) - locale?: StringFilter; - - @Field(() => DateTimeFilter, {nullable:true}) - createdAt?: DateTimeFilter; - - @Field(() => DateTimeFilter, {nullable:true}) - updatedAt?: DateTimeFilter; - - @Field(() => UserRelationFilter, {nullable:true}) - user?: UserRelationFilter; -} diff --git a/server/src/core/@generated/user-settings/user-settings.model.ts b/server/src/core/@generated/user-settings/user-settings.model.ts deleted file mode 100644 index 11e739c32..000000000 --- a/server/src/core/@generated/user-settings/user-settings.model.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import { ID } from '@nestjs/graphql'; -import { ColorScheme } from '../prisma/color-scheme.enum'; -import { User } from '../user/user.model'; - -@ObjectType() -export class UserSettings { - - @Field(() => ID, {nullable:false}) - id!: string; - - @Field(() => ColorScheme, {nullable:false,defaultValue:'System'}) - colorScheme!: keyof typeof ColorScheme; - - @Field(() => String, {nullable:false}) - locale!: string; - - @Field(() => Date, {nullable:false}) - createdAt!: Date; - - @Field(() => Date, {nullable:false}) - updatedAt!: Date; - - @Field(() => User, {nullable:true}) - user?: User | null; -} diff --git a/server/src/core/@generated/user/aggregate-user.output.ts b/server/src/core/@generated/user/aggregate-user.output.ts deleted file mode 100644 index 063dd542c..000000000 --- a/server/src/core/@generated/user/aggregate-user.output.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import { UserCountAggregate } from './user-count-aggregate.output'; -import { UserMinAggregate } from './user-min-aggregate.output'; -import { UserMaxAggregate } from './user-max-aggregate.output'; - -@ObjectType() -export class AggregateUser { - - @Field(() => UserCountAggregate, {nullable:true}) - _count?: UserCountAggregate; - - @Field(() => UserMinAggregate, {nullable:true}) - _min?: UserMinAggregate; - - @Field(() => UserMaxAggregate, {nullable:true}) - _max?: UserMaxAggregate; -} diff --git a/server/src/core/@generated/user/create-many-user.args.ts b/server/src/core/@generated/user/create-many-user.args.ts deleted file mode 100644 index e57cc3d60..000000000 --- a/server/src/core/@generated/user/create-many-user.args.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { UserCreateManyInput } from './user-create-many.input'; -import { Type } from 'class-transformer'; -import { ValidateNested } from 'class-validator'; - -@ArgsType() -export class CreateManyUserArgs { - - @Field(() => [UserCreateManyInput], {nullable:false}) - @Type(() => UserCreateManyInput) - @ValidateNested({each: true}) - @Type(() => UserCreateManyInput) - data!: Array; - - @Field(() => Boolean, {nullable:true}) - skipDuplicates?: boolean; -} diff --git a/server/src/core/@generated/user/create-one-user.args.ts b/server/src/core/@generated/user/create-one-user.args.ts deleted file mode 100644 index 017efd836..000000000 --- a/server/src/core/@generated/user/create-one-user.args.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { UserCreateInput } from './user-create.input'; -import { Type } from 'class-transformer'; -import { ValidateNested } from 'class-validator'; - -@ArgsType() -export class CreateOneUserArgs { - - @Field(() => UserCreateInput, {nullable:false}) - @Type(() => UserCreateInput) - @ValidateNested({each: true}) - @Type(() => UserCreateInput) - data!: UserCreateInput; -} diff --git a/server/src/core/@generated/user/delete-many-user.args.ts b/server/src/core/@generated/user/delete-many-user.args.ts deleted file mode 100644 index ea7bbd01c..000000000 --- a/server/src/core/@generated/user/delete-many-user.args.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { UserWhereInput } from './user-where.input'; -import { Type } from 'class-transformer'; - -@ArgsType() -export class DeleteManyUserArgs { - - @Field(() => UserWhereInput, {nullable:true}) - @Type(() => UserWhereInput) - where?: UserWhereInput; -} diff --git a/server/src/core/@generated/user/delete-one-user.args.ts b/server/src/core/@generated/user/delete-one-user.args.ts deleted file mode 100644 index d88877959..000000000 --- a/server/src/core/@generated/user/delete-one-user.args.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { UserWhereUniqueInput } from './user-where-unique.input'; -import { Type } from 'class-transformer'; - -@ArgsType() -export class DeleteOneUserArgs { - - @Field(() => UserWhereUniqueInput, {nullable:false}) - @Type(() => UserWhereUniqueInput) - where!: UserWhereUniqueInput; -} diff --git a/server/src/core/@generated/user/find-first-user-or-throw.args.ts b/server/src/core/@generated/user/find-first-user-or-throw.args.ts deleted file mode 100644 index 257d5d6c5..000000000 --- a/server/src/core/@generated/user/find-first-user-or-throw.args.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { UserWhereInput } from './user-where.input'; -import { Type } from 'class-transformer'; -import { UserOrderByWithRelationInput } from './user-order-by-with-relation.input'; -import { UserWhereUniqueInput } from './user-where-unique.input'; -import { Int } from '@nestjs/graphql'; -import { UserScalarFieldEnum } from './user-scalar-field.enum'; - -@ArgsType() -export class FindFirstUserOrThrowArgs { - - @Field(() => UserWhereInput, {nullable:true}) - @Type(() => UserWhereInput) - where?: UserWhereInput; - - @Field(() => [UserOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; - - @Field(() => UserWhereUniqueInput, {nullable:true}) - cursor?: UserWhereUniqueInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [UserScalarFieldEnum], {nullable:true}) - distinct?: Array; -} diff --git a/server/src/core/@generated/user/find-first-user.args.ts b/server/src/core/@generated/user/find-first-user.args.ts deleted file mode 100644 index f154db124..000000000 --- a/server/src/core/@generated/user/find-first-user.args.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { UserWhereInput } from './user-where.input'; -import { Type } from 'class-transformer'; -import { UserOrderByWithRelationInput } from './user-order-by-with-relation.input'; -import { UserWhereUniqueInput } from './user-where-unique.input'; -import { Int } from '@nestjs/graphql'; -import { UserScalarFieldEnum } from './user-scalar-field.enum'; - -@ArgsType() -export class FindFirstUserArgs { - - @Field(() => UserWhereInput, {nullable:true}) - @Type(() => UserWhereInput) - where?: UserWhereInput; - - @Field(() => [UserOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; - - @Field(() => UserWhereUniqueInput, {nullable:true}) - cursor?: UserWhereUniqueInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [UserScalarFieldEnum], {nullable:true}) - distinct?: Array; -} diff --git a/server/src/core/@generated/user/find-many-user.args.ts b/server/src/core/@generated/user/find-many-user.args.ts deleted file mode 100644 index 4be3dc361..000000000 --- a/server/src/core/@generated/user/find-many-user.args.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { UserWhereInput } from './user-where.input'; -import { Type } from 'class-transformer'; -import { UserOrderByWithRelationInput } from './user-order-by-with-relation.input'; -import { UserWhereUniqueInput } from './user-where-unique.input'; -import { Int } from '@nestjs/graphql'; -import { UserScalarFieldEnum } from './user-scalar-field.enum'; - -@ArgsType() -export class FindManyUserArgs { - - @Field(() => UserWhereInput, {nullable:true}) - @Type(() => UserWhereInput) - where?: UserWhereInput; - - @Field(() => [UserOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; - - @Field(() => UserWhereUniqueInput, {nullable:true}) - cursor?: UserWhereUniqueInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [UserScalarFieldEnum], {nullable:true}) - distinct?: Array; -} diff --git a/server/src/core/@generated/user/find-unique-user-or-throw.args.ts b/server/src/core/@generated/user/find-unique-user-or-throw.args.ts deleted file mode 100644 index 0117e49ac..000000000 --- a/server/src/core/@generated/user/find-unique-user-or-throw.args.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { UserWhereUniqueInput } from './user-where-unique.input'; -import { Type } from 'class-transformer'; - -@ArgsType() -export class FindUniqueUserOrThrowArgs { - - @Field(() => UserWhereUniqueInput, {nullable:false}) - @Type(() => UserWhereUniqueInput) - where!: UserWhereUniqueInput; -} diff --git a/server/src/core/@generated/user/find-unique-user.args.ts b/server/src/core/@generated/user/find-unique-user.args.ts deleted file mode 100644 index e079ac012..000000000 --- a/server/src/core/@generated/user/find-unique-user.args.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { UserWhereUniqueInput } from './user-where-unique.input'; -import { Type } from 'class-transformer'; - -@ArgsType() -export class FindUniqueUserArgs { - - @Field(() => UserWhereUniqueInput, {nullable:false}) - @Type(() => UserWhereUniqueInput) - where!: UserWhereUniqueInput; -} diff --git a/server/src/core/@generated/user/update-many-user.args.ts b/server/src/core/@generated/user/update-many-user.args.ts deleted file mode 100644 index 7b964a700..000000000 --- a/server/src/core/@generated/user/update-many-user.args.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { UserUpdateManyMutationInput } from './user-update-many-mutation.input'; -import { Type } from 'class-transformer'; -import { ValidateNested } from 'class-validator'; -import { UserWhereInput } from './user-where.input'; - -@ArgsType() -export class UpdateManyUserArgs { - - @Field(() => UserUpdateManyMutationInput, {nullable:false}) - @Type(() => UserUpdateManyMutationInput) - @ValidateNested({each: true}) - @Type(() => UserUpdateManyMutationInput) - data!: UserUpdateManyMutationInput; - - @Field(() => UserWhereInput, {nullable:true}) - @Type(() => UserWhereInput) - where?: UserWhereInput; -} diff --git a/server/src/core/@generated/user/update-one-user.args.ts b/server/src/core/@generated/user/update-one-user.args.ts deleted file mode 100644 index 819930ca9..000000000 --- a/server/src/core/@generated/user/update-one-user.args.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { UserUpdateInput } from './user-update.input'; -import { Type } from 'class-transformer'; -import { ValidateNested } from 'class-validator'; -import { UserWhereUniqueInput } from './user-where-unique.input'; - -@ArgsType() -export class UpdateOneUserArgs { - - @Field(() => UserUpdateInput, {nullable:false}) - @Type(() => UserUpdateInput) - @ValidateNested({each: true}) - @Type(() => UserUpdateInput) - data!: UserUpdateInput; - - @Field(() => UserWhereUniqueInput, {nullable:false}) - @Type(() => UserWhereUniqueInput) - where!: UserWhereUniqueInput; -} diff --git a/server/src/core/@generated/user/upsert-one-user.args.ts b/server/src/core/@generated/user/upsert-one-user.args.ts deleted file mode 100644 index 865b56c03..000000000 --- a/server/src/core/@generated/user/upsert-one-user.args.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { UserWhereUniqueInput } from './user-where-unique.input'; -import { Type } from 'class-transformer'; -import { UserCreateInput } from './user-create.input'; -import { UserUpdateInput } from './user-update.input'; - -@ArgsType() -export class UpsertOneUserArgs { - - @Field(() => UserWhereUniqueInput, {nullable:false}) - @Type(() => UserWhereUniqueInput) - where!: UserWhereUniqueInput; - - @Field(() => UserCreateInput, {nullable:false}) - @Type(() => UserCreateInput) - create!: UserCreateInput; - - @Field(() => UserUpdateInput, {nullable:false}) - @Type(() => UserUpdateInput) - update!: UserUpdateInput; -} diff --git a/server/src/core/@generated/user/user-aggregate.args.ts b/server/src/core/@generated/user/user-aggregate.args.ts deleted file mode 100644 index 21afb72e8..000000000 --- a/server/src/core/@generated/user/user-aggregate.args.ts +++ /dev/null @@ -1,39 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { UserWhereInput } from './user-where.input'; -import { Type } from 'class-transformer'; -import { UserOrderByWithRelationInput } from './user-order-by-with-relation.input'; -import { UserWhereUniqueInput } from './user-where-unique.input'; -import { Int } from '@nestjs/graphql'; -import { UserCountAggregateInput } from './user-count-aggregate.input'; -import { UserMinAggregateInput } from './user-min-aggregate.input'; -import { UserMaxAggregateInput } from './user-max-aggregate.input'; - -@ArgsType() -export class UserAggregateArgs { - - @Field(() => UserWhereInput, {nullable:true}) - @Type(() => UserWhereInput) - where?: UserWhereInput; - - @Field(() => [UserOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; - - @Field(() => UserWhereUniqueInput, {nullable:true}) - cursor?: UserWhereUniqueInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => UserCountAggregateInput, {nullable:true}) - _count?: UserCountAggregateInput; - - @Field(() => UserMinAggregateInput, {nullable:true}) - _min?: UserMinAggregateInput; - - @Field(() => UserMaxAggregateInput, {nullable:true}) - _max?: UserMaxAggregateInput; -} diff --git a/server/src/core/@generated/user/user-count-aggregate.input.ts b/server/src/core/@generated/user/user-count-aggregate.input.ts deleted file mode 100644 index 6184d2045..000000000 --- a/server/src/core/@generated/user/user-count-aggregate.input.ts +++ /dev/null @@ -1,58 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class UserCountAggregateInput { - - @Field(() => Boolean, {nullable:true}) - id?: true; - - @Field(() => Boolean, {nullable:true}) - firstName?: true; - - @Field(() => Boolean, {nullable:true}) - lastName?: true; - - @Field(() => Boolean, {nullable:true}) - email?: true; - - @Field(() => Boolean, {nullable:true}) - emailVerified?: true; - - @Field(() => Boolean, {nullable:true}) - avatarUrl?: true; - - @Field(() => Boolean, {nullable:true}) - locale?: true; - - @Field(() => Boolean, {nullable:true}) - phoneNumber?: true; - - @Field(() => Boolean, {nullable:true}) - lastSeen?: true; - - @Field(() => Boolean, {nullable:true}) - disabled?: true; - - @HideField() - passwordHash?: true; - - @Field(() => Boolean, {nullable:true}) - metadata?: true; - - @Field(() => Boolean, {nullable:true}) - settingsId?: true; - - @HideField() - deletedAt?: true; - - @Field(() => Boolean, {nullable:true}) - createdAt?: true; - - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; - - @Field(() => Boolean, {nullable:true}) - _all?: true; -} diff --git a/server/src/core/@generated/user/user-count-aggregate.output.ts b/server/src/core/@generated/user/user-count-aggregate.output.ts deleted file mode 100644 index 4d6830ec4..000000000 --- a/server/src/core/@generated/user/user-count-aggregate.output.ts +++ /dev/null @@ -1,59 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import { Int } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; - -@ObjectType() -export class UserCountAggregate { - - @Field(() => Int, {nullable:false}) - id!: number; - - @Field(() => Int, {nullable:false}) - firstName!: number; - - @Field(() => Int, {nullable:false}) - lastName!: number; - - @Field(() => Int, {nullable:false}) - email!: number; - - @Field(() => Int, {nullable:false}) - emailVerified!: number; - - @Field(() => Int, {nullable:false}) - avatarUrl!: number; - - @Field(() => Int, {nullable:false}) - locale!: number; - - @Field(() => Int, {nullable:false}) - phoneNumber!: number; - - @Field(() => Int, {nullable:false}) - lastSeen!: number; - - @Field(() => Int, {nullable:false}) - disabled!: number; - - @HideField() - passwordHash!: number; - - @Field(() => Int, {nullable:false}) - metadata!: number; - - @Field(() => Int, {nullable:false}) - settingsId!: number; - - @HideField() - deletedAt!: number; - - @Field(() => Int, {nullable:false}) - createdAt!: number; - - @Field(() => Int, {nullable:false}) - updatedAt!: number; - - @Field(() => Int, {nullable:false}) - _all!: number; -} diff --git a/server/src/core/@generated/user/user-count-order-by-aggregate.input.ts b/server/src/core/@generated/user/user-count-order-by-aggregate.input.ts deleted file mode 100644 index 3d5615fbb..000000000 --- a/server/src/core/@generated/user/user-count-order-by-aggregate.input.ts +++ /dev/null @@ -1,56 +0,0 @@ -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 UserCountOrderByAggregateInput { - - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - firstName?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - lastName?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - email?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - emailVerified?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - avatarUrl?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - locale?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - phoneNumber?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - lastSeen?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - disabled?: keyof typeof SortOrder; - - @HideField() - passwordHash?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - metadata?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - settingsId?: keyof typeof SortOrder; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; -} diff --git a/server/src/core/@generated/user/user-count.output.ts b/server/src/core/@generated/user/user-count.output.ts deleted file mode 100644 index 81a634bf5..000000000 --- a/server/src/core/@generated/user/user-count.output.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import { Int } from '@nestjs/graphql'; - -@ObjectType() -export class UserCount { - - @Field(() => Int, {nullable:false}) - companies?: number; - - @Field(() => Int, {nullable:false}) - refreshTokens?: number; - - @Field(() => Int, {nullable:false}) - comments?: number; - - @Field(() => Int, {nullable:false}) - authoredCommentThreads?: number; - - @Field(() => Int, {nullable:false}) - assignedCommentThreads?: number; -} diff --git a/server/src/core/@generated/user/user-create-many.input.ts b/server/src/core/@generated/user/user-create-many.input.ts deleted file mode 100644 index f08e25666..000000000 --- a/server/src/core/@generated/user/user-create-many.input.ts +++ /dev/null @@ -1,77 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; -import { GraphQLJSON } from 'graphql-type-json'; - -@InputType() -export class UserCreateManyInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - firstName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - lastName?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsEmail() - email!: string; - - @Field(() => Boolean, {nullable:true}) - @Validator.IsBoolean() - @Validator.IsOptional() - emailVerified?: boolean; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - avatarUrl?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - locale!: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - phoneNumber?: string; - - @Field(() => Date, {nullable:true}) - @Validator.IsDate() - @Validator.IsOptional() - lastSeen?: Date | string; - - @Field(() => Boolean, {nullable:true}) - @Validator.IsBoolean() - @Validator.IsOptional() - disabled?: boolean; - - @HideField() - passwordHash?: string; - - @Field(() => GraphQLJSON, {nullable:true}) - @Validator.IsJSON() - @Validator.IsOptional() - metadata?: any; - - @Field(() => String, {nullable:false}) - settingsId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/user/user-create-nested-one-without-assigned-comment-threads.input.ts b/server/src/core/@generated/user/user-create-nested-one-without-assigned-comment-threads.input.ts deleted file mode 100644 index 92a6fb8ba..000000000 --- a/server/src/core/@generated/user/user-create-nested-one-without-assigned-comment-threads.input.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { UserCreateWithoutAssignedCommentThreadsInput } from './user-create-without-assigned-comment-threads.input'; -import { Type } from 'class-transformer'; -import { UserCreateOrConnectWithoutAssignedCommentThreadsInput } from './user-create-or-connect-without-assigned-comment-threads.input'; -import { UserWhereUniqueInput } from './user-where-unique.input'; - -@InputType() -export class UserCreateNestedOneWithoutAssignedCommentThreadsInput { - - @Field(() => UserCreateWithoutAssignedCommentThreadsInput, {nullable:true}) - @Type(() => UserCreateWithoutAssignedCommentThreadsInput) - create?: UserCreateWithoutAssignedCommentThreadsInput; - - @Field(() => UserCreateOrConnectWithoutAssignedCommentThreadsInput, {nullable:true}) - @Type(() => UserCreateOrConnectWithoutAssignedCommentThreadsInput) - connectOrCreate?: UserCreateOrConnectWithoutAssignedCommentThreadsInput; - - @Field(() => UserWhereUniqueInput, {nullable:true}) - @Type(() => UserWhereUniqueInput) - connect?: UserWhereUniqueInput; -} diff --git a/server/src/core/@generated/user/user-create-nested-one-without-authored-comment-threads.input.ts b/server/src/core/@generated/user/user-create-nested-one-without-authored-comment-threads.input.ts deleted file mode 100644 index 82dd25ee7..000000000 --- a/server/src/core/@generated/user/user-create-nested-one-without-authored-comment-threads.input.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { UserCreateWithoutAuthoredCommentThreadsInput } from './user-create-without-authored-comment-threads.input'; -import { Type } from 'class-transformer'; -import { UserCreateOrConnectWithoutAuthoredCommentThreadsInput } from './user-create-or-connect-without-authored-comment-threads.input'; -import { UserWhereUniqueInput } from './user-where-unique.input'; - -@InputType() -export class UserCreateNestedOneWithoutAuthoredCommentThreadsInput { - - @Field(() => UserCreateWithoutAuthoredCommentThreadsInput, {nullable:true}) - @Type(() => UserCreateWithoutAuthoredCommentThreadsInput) - create?: UserCreateWithoutAuthoredCommentThreadsInput; - - @Field(() => UserCreateOrConnectWithoutAuthoredCommentThreadsInput, {nullable:true}) - @Type(() => UserCreateOrConnectWithoutAuthoredCommentThreadsInput) - connectOrCreate?: UserCreateOrConnectWithoutAuthoredCommentThreadsInput; - - @Field(() => UserWhereUniqueInput, {nullable:true}) - @Type(() => UserWhereUniqueInput) - connect?: UserWhereUniqueInput; -} diff --git a/server/src/core/@generated/user/user-create-nested-one-without-comment-thread.input.ts b/server/src/core/@generated/user/user-create-nested-one-without-comment-thread.input.ts deleted file mode 100644 index 3ecbc6a70..000000000 --- a/server/src/core/@generated/user/user-create-nested-one-without-comment-thread.input.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { UserCreateWithoutCommentThreadInput } from './user-create-without-comment-thread.input'; -import { Type } from 'class-transformer'; -import { UserCreateOrConnectWithoutCommentThreadInput } from './user-create-or-connect-without-comment-thread.input'; -import { UserWhereUniqueInput } from './user-where-unique.input'; - -@InputType() -export class UserCreateNestedOneWithoutCommentThreadInput { - - @Field(() => UserCreateWithoutCommentThreadInput, {nullable:true}) - @Type(() => UserCreateWithoutCommentThreadInput) - create?: UserCreateWithoutCommentThreadInput; - - @Field(() => UserCreateOrConnectWithoutCommentThreadInput, {nullable:true}) - @Type(() => UserCreateOrConnectWithoutCommentThreadInput) - connectOrCreate?: UserCreateOrConnectWithoutCommentThreadInput; - - @Field(() => UserWhereUniqueInput, {nullable:true}) - @Type(() => UserWhereUniqueInput) - connect?: UserWhereUniqueInput; -} diff --git a/server/src/core/@generated/user/user-create-nested-one-without-comments.input.ts b/server/src/core/@generated/user/user-create-nested-one-without-comments.input.ts deleted file mode 100644 index 0dbfb5d28..000000000 --- a/server/src/core/@generated/user/user-create-nested-one-without-comments.input.ts +++ /dev/null @@ -1,21 +0,0 @@ -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/core/@generated/user/user-create-nested-one-without-companies.input.ts b/server/src/core/@generated/user/user-create-nested-one-without-companies.input.ts deleted file mode 100644 index 2c7380fc4..000000000 --- a/server/src/core/@generated/user/user-create-nested-one-without-companies.input.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { UserCreateWithoutCompaniesInput } from './user-create-without-companies.input'; -import { HideField } from '@nestjs/graphql'; -import { UserCreateOrConnectWithoutCompaniesInput } from './user-create-or-connect-without-companies.input'; -import { UserWhereUniqueInput } from './user-where-unique.input'; -import { Type } from 'class-transformer'; - -@InputType() -export class UserCreateNestedOneWithoutCompaniesInput { - - @HideField() - create?: UserCreateWithoutCompaniesInput; - - @HideField() - connectOrCreate?: UserCreateOrConnectWithoutCompaniesInput; - - @Field(() => UserWhereUniqueInput, {nullable:true}) - @Type(() => UserWhereUniqueInput) - connect?: UserWhereUniqueInput; -} diff --git a/server/src/core/@generated/user/user-create-nested-one-without-refresh-tokens.input.ts b/server/src/core/@generated/user/user-create-nested-one-without-refresh-tokens.input.ts deleted file mode 100644 index 0b3846095..000000000 --- a/server/src/core/@generated/user/user-create-nested-one-without-refresh-tokens.input.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { UserCreateWithoutRefreshTokensInput } from './user-create-without-refresh-tokens.input'; -import { Type } from 'class-transformer'; -import { UserCreateOrConnectWithoutRefreshTokensInput } from './user-create-or-connect-without-refresh-tokens.input'; -import { UserWhereUniqueInput } from './user-where-unique.input'; - -@InputType() -export class UserCreateNestedOneWithoutRefreshTokensInput { - - @Field(() => UserCreateWithoutRefreshTokensInput, {nullable:true}) - @Type(() => UserCreateWithoutRefreshTokensInput) - create?: UserCreateWithoutRefreshTokensInput; - - @Field(() => UserCreateOrConnectWithoutRefreshTokensInput, {nullable:true}) - @Type(() => UserCreateOrConnectWithoutRefreshTokensInput) - connectOrCreate?: UserCreateOrConnectWithoutRefreshTokensInput; - - @Field(() => UserWhereUniqueInput, {nullable:true}) - @Type(() => UserWhereUniqueInput) - connect?: UserWhereUniqueInput; -} diff --git a/server/src/core/@generated/user/user-create-nested-one-without-settings.input.ts b/server/src/core/@generated/user/user-create-nested-one-without-settings.input.ts deleted file mode 100644 index 2cf5aaf66..000000000 --- a/server/src/core/@generated/user/user-create-nested-one-without-settings.input.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { UserCreateWithoutSettingsInput } from './user-create-without-settings.input'; -import { Type } from 'class-transformer'; -import { UserCreateOrConnectWithoutSettingsInput } from './user-create-or-connect-without-settings.input'; -import { UserWhereUniqueInput } from './user-where-unique.input'; - -@InputType() -export class UserCreateNestedOneWithoutSettingsInput { - - @Field(() => UserCreateWithoutSettingsInput, {nullable:true}) - @Type(() => UserCreateWithoutSettingsInput) - create?: UserCreateWithoutSettingsInput; - - @Field(() => UserCreateOrConnectWithoutSettingsInput, {nullable:true}) - @Type(() => UserCreateOrConnectWithoutSettingsInput) - connectOrCreate?: UserCreateOrConnectWithoutSettingsInput; - - @Field(() => UserWhereUniqueInput, {nullable:true}) - @Type(() => UserWhereUniqueInput) - connect?: UserWhereUniqueInput; -} diff --git a/server/src/core/@generated/user/user-create-nested-one-without-workspace-member.input.ts b/server/src/core/@generated/user/user-create-nested-one-without-workspace-member.input.ts deleted file mode 100644 index bda1fe469..000000000 --- a/server/src/core/@generated/user/user-create-nested-one-without-workspace-member.input.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { UserCreateWithoutWorkspaceMemberInput } from './user-create-without-workspace-member.input'; -import { Type } from 'class-transformer'; -import { UserCreateOrConnectWithoutWorkspaceMemberInput } from './user-create-or-connect-without-workspace-member.input'; -import { UserWhereUniqueInput } from './user-where-unique.input'; - -@InputType() -export class UserCreateNestedOneWithoutWorkspaceMemberInput { - - @Field(() => UserCreateWithoutWorkspaceMemberInput, {nullable:true}) - @Type(() => UserCreateWithoutWorkspaceMemberInput) - create?: UserCreateWithoutWorkspaceMemberInput; - - @Field(() => UserCreateOrConnectWithoutWorkspaceMemberInput, {nullable:true}) - @Type(() => UserCreateOrConnectWithoutWorkspaceMemberInput) - connectOrCreate?: UserCreateOrConnectWithoutWorkspaceMemberInput; - - @Field(() => UserWhereUniqueInput, {nullable:true}) - @Type(() => UserWhereUniqueInput) - connect?: UserWhereUniqueInput; -} diff --git a/server/src/core/@generated/user/user-create-or-connect-without-assigned-comment-threads.input.ts b/server/src/core/@generated/user/user-create-or-connect-without-assigned-comment-threads.input.ts deleted file mode 100644 index a822dc9f3..000000000 --- a/server/src/core/@generated/user/user-create-or-connect-without-assigned-comment-threads.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { UserWhereUniqueInput } from './user-where-unique.input'; -import { Type } from 'class-transformer'; -import { UserCreateWithoutAssignedCommentThreadsInput } from './user-create-without-assigned-comment-threads.input'; - -@InputType() -export class UserCreateOrConnectWithoutAssignedCommentThreadsInput { - - @Field(() => UserWhereUniqueInput, {nullable:false}) - @Type(() => UserWhereUniqueInput) - where!: UserWhereUniqueInput; - - @Field(() => UserCreateWithoutAssignedCommentThreadsInput, {nullable:false}) - @Type(() => UserCreateWithoutAssignedCommentThreadsInput) - create!: UserCreateWithoutAssignedCommentThreadsInput; -} diff --git a/server/src/core/@generated/user/user-create-or-connect-without-authored-comment-threads.input.ts b/server/src/core/@generated/user/user-create-or-connect-without-authored-comment-threads.input.ts deleted file mode 100644 index 41b17bc78..000000000 --- a/server/src/core/@generated/user/user-create-or-connect-without-authored-comment-threads.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { UserWhereUniqueInput } from './user-where-unique.input'; -import { Type } from 'class-transformer'; -import { UserCreateWithoutAuthoredCommentThreadsInput } from './user-create-without-authored-comment-threads.input'; - -@InputType() -export class UserCreateOrConnectWithoutAuthoredCommentThreadsInput { - - @Field(() => UserWhereUniqueInput, {nullable:false}) - @Type(() => UserWhereUniqueInput) - where!: UserWhereUniqueInput; - - @Field(() => UserCreateWithoutAuthoredCommentThreadsInput, {nullable:false}) - @Type(() => UserCreateWithoutAuthoredCommentThreadsInput) - create!: UserCreateWithoutAuthoredCommentThreadsInput; -} diff --git a/server/src/core/@generated/user/user-create-or-connect-without-comment-thread.input.ts b/server/src/core/@generated/user/user-create-or-connect-without-comment-thread.input.ts deleted file mode 100644 index 8643ebc84..000000000 --- a/server/src/core/@generated/user/user-create-or-connect-without-comment-thread.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { UserWhereUniqueInput } from './user-where-unique.input'; -import { Type } from 'class-transformer'; -import { UserCreateWithoutCommentThreadInput } from './user-create-without-comment-thread.input'; - -@InputType() -export class UserCreateOrConnectWithoutCommentThreadInput { - - @Field(() => UserWhereUniqueInput, {nullable:false}) - @Type(() => UserWhereUniqueInput) - where!: UserWhereUniqueInput; - - @Field(() => UserCreateWithoutCommentThreadInput, {nullable:false}) - @Type(() => UserCreateWithoutCommentThreadInput) - create!: UserCreateWithoutCommentThreadInput; -} diff --git a/server/src/core/@generated/user/user-create-or-connect-without-comments.input.ts b/server/src/core/@generated/user/user-create-or-connect-without-comments.input.ts deleted file mode 100644 index 480c592ad..000000000 --- a/server/src/core/@generated/user/user-create-or-connect-without-comments.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -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/core/@generated/user/user-create-or-connect-without-companies.input.ts b/server/src/core/@generated/user/user-create-or-connect-without-companies.input.ts deleted file mode 100644 index 6161318ef..000000000 --- a/server/src/core/@generated/user/user-create-or-connect-without-companies.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { UserWhereUniqueInput } from './user-where-unique.input'; -import { Type } from 'class-transformer'; -import { UserCreateWithoutCompaniesInput } from './user-create-without-companies.input'; - -@InputType() -export class UserCreateOrConnectWithoutCompaniesInput { - - @Field(() => UserWhereUniqueInput, {nullable:false}) - @Type(() => UserWhereUniqueInput) - where!: UserWhereUniqueInput; - - @Field(() => UserCreateWithoutCompaniesInput, {nullable:false}) - @Type(() => UserCreateWithoutCompaniesInput) - create!: UserCreateWithoutCompaniesInput; -} diff --git a/server/src/core/@generated/user/user-create-or-connect-without-refresh-tokens.input.ts b/server/src/core/@generated/user/user-create-or-connect-without-refresh-tokens.input.ts deleted file mode 100644 index 8fea4aeed..000000000 --- a/server/src/core/@generated/user/user-create-or-connect-without-refresh-tokens.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { UserWhereUniqueInput } from './user-where-unique.input'; -import { Type } from 'class-transformer'; -import { UserCreateWithoutRefreshTokensInput } from './user-create-without-refresh-tokens.input'; - -@InputType() -export class UserCreateOrConnectWithoutRefreshTokensInput { - - @Field(() => UserWhereUniqueInput, {nullable:false}) - @Type(() => UserWhereUniqueInput) - where!: UserWhereUniqueInput; - - @Field(() => UserCreateWithoutRefreshTokensInput, {nullable:false}) - @Type(() => UserCreateWithoutRefreshTokensInput) - create!: UserCreateWithoutRefreshTokensInput; -} diff --git a/server/src/core/@generated/user/user-create-or-connect-without-settings.input.ts b/server/src/core/@generated/user/user-create-or-connect-without-settings.input.ts deleted file mode 100644 index 22db14e72..000000000 --- a/server/src/core/@generated/user/user-create-or-connect-without-settings.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { UserWhereUniqueInput } from './user-where-unique.input'; -import { Type } from 'class-transformer'; -import { UserCreateWithoutSettingsInput } from './user-create-without-settings.input'; - -@InputType() -export class UserCreateOrConnectWithoutSettingsInput { - - @Field(() => UserWhereUniqueInput, {nullable:false}) - @Type(() => UserWhereUniqueInput) - where!: UserWhereUniqueInput; - - @Field(() => UserCreateWithoutSettingsInput, {nullable:false}) - @Type(() => UserCreateWithoutSettingsInput) - create!: UserCreateWithoutSettingsInput; -} diff --git a/server/src/core/@generated/user/user-create-or-connect-without-workspace-member.input.ts b/server/src/core/@generated/user/user-create-or-connect-without-workspace-member.input.ts deleted file mode 100644 index 0d0ed6930..000000000 --- a/server/src/core/@generated/user/user-create-or-connect-without-workspace-member.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { UserWhereUniqueInput } from './user-where-unique.input'; -import { Type } from 'class-transformer'; -import { UserCreateWithoutWorkspaceMemberInput } from './user-create-without-workspace-member.input'; - -@InputType() -export class UserCreateOrConnectWithoutWorkspaceMemberInput { - - @Field(() => UserWhereUniqueInput, {nullable:false}) - @Type(() => UserWhereUniqueInput) - where!: UserWhereUniqueInput; - - @Field(() => UserCreateWithoutWorkspaceMemberInput, {nullable:false}) - @Type(() => UserCreateWithoutWorkspaceMemberInput) - create!: UserCreateWithoutWorkspaceMemberInput; -} diff --git a/server/src/core/@generated/user/user-create-without-assigned-comment-threads.input.ts b/server/src/core/@generated/user/user-create-without-assigned-comment-threads.input.ts deleted file mode 100644 index 9c0be0d3e..000000000 --- a/server/src/core/@generated/user/user-create-without-assigned-comment-threads.input.ts +++ /dev/null @@ -1,98 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } 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'; -import { CommentCreateNestedManyWithoutAuthorInput } from '../comment/comment-create-nested-many-without-author.input'; -import { CommentThreadCreateNestedManyWithoutAuthorInput } from '../comment-thread/comment-thread-create-nested-many-without-author.input'; -import { UserSettingsCreateNestedOneWithoutUserInput } from '../user-settings/user-settings-create-nested-one-without-user.input'; - -@InputType() -export class UserCreateWithoutAssignedCommentThreadsInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - firstName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - lastName?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsEmail() - email!: string; - - @Field(() => Boolean, {nullable:true}) - @Validator.IsBoolean() - @Validator.IsOptional() - emailVerified?: boolean; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - avatarUrl?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - locale!: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - phoneNumber?: string; - - @Field(() => Date, {nullable:true}) - @Validator.IsDate() - @Validator.IsOptional() - lastSeen?: Date | string; - - @Field(() => Boolean, {nullable:true}) - @Validator.IsBoolean() - @Validator.IsOptional() - disabled?: boolean; - - @HideField() - passwordHash?: string; - - @Field(() => GraphQLJSON, {nullable:true}) - @Validator.IsJSON() - @Validator.IsOptional() - metadata?: any; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @HideField() - workspaceMember?: WorkspaceMemberCreateNestedOneWithoutUserInput; - - @Field(() => CompanyCreateNestedManyWithoutAccountOwnerInput, {nullable:true}) - companies?: CompanyCreateNestedManyWithoutAccountOwnerInput; - - @HideField() - refreshTokens?: RefreshTokenCreateNestedManyWithoutUserInput; - - @Field(() => CommentCreateNestedManyWithoutAuthorInput, {nullable:true}) - comments?: CommentCreateNestedManyWithoutAuthorInput; - - @Field(() => CommentThreadCreateNestedManyWithoutAuthorInput, {nullable:true}) - authoredCommentThreads?: CommentThreadCreateNestedManyWithoutAuthorInput; - - @Field(() => UserSettingsCreateNestedOneWithoutUserInput, {nullable:false}) - settings!: UserSettingsCreateNestedOneWithoutUserInput; -} diff --git a/server/src/core/@generated/user/user-create-without-authored-comment-threads.input.ts b/server/src/core/@generated/user/user-create-without-authored-comment-threads.input.ts deleted file mode 100644 index a16344cbd..000000000 --- a/server/src/core/@generated/user/user-create-without-authored-comment-threads.input.ts +++ /dev/null @@ -1,98 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } 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'; -import { CommentCreateNestedManyWithoutAuthorInput } from '../comment/comment-create-nested-many-without-author.input'; -import { CommentThreadCreateNestedManyWithoutAssigneeInput } from '../comment-thread/comment-thread-create-nested-many-without-assignee.input'; -import { UserSettingsCreateNestedOneWithoutUserInput } from '../user-settings/user-settings-create-nested-one-without-user.input'; - -@InputType() -export class UserCreateWithoutAuthoredCommentThreadsInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - firstName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - lastName?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsEmail() - email!: string; - - @Field(() => Boolean, {nullable:true}) - @Validator.IsBoolean() - @Validator.IsOptional() - emailVerified?: boolean; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - avatarUrl?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - locale!: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - phoneNumber?: string; - - @Field(() => Date, {nullable:true}) - @Validator.IsDate() - @Validator.IsOptional() - lastSeen?: Date | string; - - @Field(() => Boolean, {nullable:true}) - @Validator.IsBoolean() - @Validator.IsOptional() - disabled?: boolean; - - @HideField() - passwordHash?: string; - - @Field(() => GraphQLJSON, {nullable:true}) - @Validator.IsJSON() - @Validator.IsOptional() - metadata?: any; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @HideField() - workspaceMember?: WorkspaceMemberCreateNestedOneWithoutUserInput; - - @Field(() => CompanyCreateNestedManyWithoutAccountOwnerInput, {nullable:true}) - companies?: CompanyCreateNestedManyWithoutAccountOwnerInput; - - @HideField() - refreshTokens?: RefreshTokenCreateNestedManyWithoutUserInput; - - @Field(() => CommentCreateNestedManyWithoutAuthorInput, {nullable:true}) - comments?: CommentCreateNestedManyWithoutAuthorInput; - - @Field(() => CommentThreadCreateNestedManyWithoutAssigneeInput, {nullable:true}) - assignedCommentThreads?: CommentThreadCreateNestedManyWithoutAssigneeInput; - - @Field(() => UserSettingsCreateNestedOneWithoutUserInput, {nullable:false}) - settings!: UserSettingsCreateNestedOneWithoutUserInput; -} diff --git a/server/src/core/@generated/user/user-create-without-comment-thread.input.ts b/server/src/core/@generated/user/user-create-without-comment-thread.input.ts deleted file mode 100644 index 6301fb2ee..000000000 --- a/server/src/core/@generated/user/user-create-without-comment-thread.input.ts +++ /dev/null @@ -1,90 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } 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'; -import { CommentCreateNestedManyWithoutAuthorInput } from '../comment/comment-create-nested-many-without-author.input'; - -@InputType() -export class UserCreateWithoutCommentThreadInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - firstName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - lastName?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsEmail() - email!: string; - - @Field(() => Boolean, {nullable:true}) - @Validator.IsBoolean() - @Validator.IsOptional() - emailVerified?: boolean; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - avatarUrl?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - locale!: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - phoneNumber?: string; - - @Field(() => Date, {nullable:true}) - @Validator.IsDate() - @Validator.IsOptional() - lastSeen?: Date | string; - - @Field(() => Boolean, {nullable:true}) - @Validator.IsBoolean() - @Validator.IsOptional() - disabled?: boolean; - - @HideField() - passwordHash?: string; - - @Field(() => GraphQLJSON, {nullable:true}) - @Validator.IsJSON() - @Validator.IsOptional() - metadata?: any; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @HideField() - workspaceMember?: WorkspaceMemberCreateNestedOneWithoutUserInput; - - @Field(() => CompanyCreateNestedManyWithoutAccountOwnerInput, {nullable:true}) - companies?: CompanyCreateNestedManyWithoutAccountOwnerInput; - - @HideField() - refreshTokens?: RefreshTokenCreateNestedManyWithoutUserInput; - - @Field(() => CommentCreateNestedManyWithoutAuthorInput, {nullable:true}) - comments?: CommentCreateNestedManyWithoutAuthorInput; -} diff --git a/server/src/core/@generated/user/user-create-without-comments.input.ts b/server/src/core/@generated/user/user-create-without-comments.input.ts deleted file mode 100644 index 90800bc55..000000000 --- a/server/src/core/@generated/user/user-create-without-comments.input.ts +++ /dev/null @@ -1,98 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } 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'; -import { CommentThreadCreateNestedManyWithoutAuthorInput } from '../comment-thread/comment-thread-create-nested-many-without-author.input'; -import { CommentThreadCreateNestedManyWithoutAssigneeInput } from '../comment-thread/comment-thread-create-nested-many-without-assignee.input'; -import { UserSettingsCreateNestedOneWithoutUserInput } from '../user-settings/user-settings-create-nested-one-without-user.input'; - -@InputType() -export class UserCreateWithoutCommentsInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - firstName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - lastName?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsEmail() - email!: string; - - @Field(() => Boolean, {nullable:true}) - @Validator.IsBoolean() - @Validator.IsOptional() - emailVerified?: boolean; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - avatarUrl?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - locale!: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - phoneNumber?: string; - - @Field(() => Date, {nullable:true}) - @Validator.IsDate() - @Validator.IsOptional() - lastSeen?: Date | string; - - @Field(() => Boolean, {nullable:true}) - @Validator.IsBoolean() - @Validator.IsOptional() - disabled?: boolean; - - @HideField() - passwordHash?: string; - - @Field(() => GraphQLJSON, {nullable:true}) - @Validator.IsJSON() - @Validator.IsOptional() - metadata?: any; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @HideField() - workspaceMember?: WorkspaceMemberCreateNestedOneWithoutUserInput; - - @Field(() => CompanyCreateNestedManyWithoutAccountOwnerInput, {nullable:true}) - companies?: CompanyCreateNestedManyWithoutAccountOwnerInput; - - @HideField() - refreshTokens?: RefreshTokenCreateNestedManyWithoutUserInput; - - @Field(() => CommentThreadCreateNestedManyWithoutAuthorInput, {nullable:true}) - authoredCommentThreads?: CommentThreadCreateNestedManyWithoutAuthorInput; - - @Field(() => CommentThreadCreateNestedManyWithoutAssigneeInput, {nullable:true}) - assignedCommentThreads?: CommentThreadCreateNestedManyWithoutAssigneeInput; - - @Field(() => UserSettingsCreateNestedOneWithoutUserInput, {nullable:false}) - settings!: UserSettingsCreateNestedOneWithoutUserInput; -} diff --git a/server/src/core/@generated/user/user-create-without-companies.input.ts b/server/src/core/@generated/user/user-create-without-companies.input.ts deleted file mode 100644 index 900e1e7b4..000000000 --- a/server/src/core/@generated/user/user-create-without-companies.input.ts +++ /dev/null @@ -1,98 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } 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'; -import { CommentThreadCreateNestedManyWithoutAuthorInput } from '../comment-thread/comment-thread-create-nested-many-without-author.input'; -import { CommentThreadCreateNestedManyWithoutAssigneeInput } from '../comment-thread/comment-thread-create-nested-many-without-assignee.input'; -import { UserSettingsCreateNestedOneWithoutUserInput } from '../user-settings/user-settings-create-nested-one-without-user.input'; - -@InputType() -export class UserCreateWithoutCompaniesInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - firstName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - lastName?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsEmail() - email!: string; - - @Field(() => Boolean, {nullable:true}) - @Validator.IsBoolean() - @Validator.IsOptional() - emailVerified?: boolean; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - avatarUrl?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - locale!: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - phoneNumber?: string; - - @Field(() => Date, {nullable:true}) - @Validator.IsDate() - @Validator.IsOptional() - lastSeen?: Date | string; - - @Field(() => Boolean, {nullable:true}) - @Validator.IsBoolean() - @Validator.IsOptional() - disabled?: boolean; - - @HideField() - passwordHash?: string; - - @Field(() => GraphQLJSON, {nullable:true}) - @Validator.IsJSON() - @Validator.IsOptional() - metadata?: any; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @HideField() - workspaceMember?: WorkspaceMemberCreateNestedOneWithoutUserInput; - - @HideField() - refreshTokens?: RefreshTokenCreateNestedManyWithoutUserInput; - - @Field(() => CommentCreateNestedManyWithoutAuthorInput, {nullable:true}) - comments?: CommentCreateNestedManyWithoutAuthorInput; - - @Field(() => CommentThreadCreateNestedManyWithoutAuthorInput, {nullable:true}) - authoredCommentThreads?: CommentThreadCreateNestedManyWithoutAuthorInput; - - @Field(() => CommentThreadCreateNestedManyWithoutAssigneeInput, {nullable:true}) - assignedCommentThreads?: CommentThreadCreateNestedManyWithoutAssigneeInput; - - @Field(() => UserSettingsCreateNestedOneWithoutUserInput, {nullable:false}) - settings!: UserSettingsCreateNestedOneWithoutUserInput; -} diff --git a/server/src/core/@generated/user/user-create-without-refresh-tokens.input.ts b/server/src/core/@generated/user/user-create-without-refresh-tokens.input.ts deleted file mode 100644 index a84ddbeac..000000000 --- a/server/src/core/@generated/user/user-create-without-refresh-tokens.input.ts +++ /dev/null @@ -1,98 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } 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'; -import { CommentThreadCreateNestedManyWithoutAuthorInput } from '../comment-thread/comment-thread-create-nested-many-without-author.input'; -import { CommentThreadCreateNestedManyWithoutAssigneeInput } from '../comment-thread/comment-thread-create-nested-many-without-assignee.input'; -import { UserSettingsCreateNestedOneWithoutUserInput } from '../user-settings/user-settings-create-nested-one-without-user.input'; - -@InputType() -export class UserCreateWithoutRefreshTokensInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - firstName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - lastName?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsEmail() - email!: string; - - @Field(() => Boolean, {nullable:true}) - @Validator.IsBoolean() - @Validator.IsOptional() - emailVerified?: boolean; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - avatarUrl?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - locale!: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - phoneNumber?: string; - - @Field(() => Date, {nullable:true}) - @Validator.IsDate() - @Validator.IsOptional() - lastSeen?: Date | string; - - @Field(() => Boolean, {nullable:true}) - @Validator.IsBoolean() - @Validator.IsOptional() - disabled?: boolean; - - @HideField() - passwordHash?: string; - - @Field(() => GraphQLJSON, {nullable:true}) - @Validator.IsJSON() - @Validator.IsOptional() - metadata?: any; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @HideField() - workspaceMember?: WorkspaceMemberCreateNestedOneWithoutUserInput; - - @Field(() => CompanyCreateNestedManyWithoutAccountOwnerInput, {nullable:true}) - companies?: CompanyCreateNestedManyWithoutAccountOwnerInput; - - @Field(() => CommentCreateNestedManyWithoutAuthorInput, {nullable:true}) - comments?: CommentCreateNestedManyWithoutAuthorInput; - - @Field(() => CommentThreadCreateNestedManyWithoutAuthorInput, {nullable:true}) - authoredCommentThreads?: CommentThreadCreateNestedManyWithoutAuthorInput; - - @Field(() => CommentThreadCreateNestedManyWithoutAssigneeInput, {nullable:true}) - assignedCommentThreads?: CommentThreadCreateNestedManyWithoutAssigneeInput; - - @Field(() => UserSettingsCreateNestedOneWithoutUserInput, {nullable:false}) - settings!: UserSettingsCreateNestedOneWithoutUserInput; -} diff --git a/server/src/core/@generated/user/user-create-without-settings.input.ts b/server/src/core/@generated/user/user-create-without-settings.input.ts deleted file mode 100644 index b6968e538..000000000 --- a/server/src/core/@generated/user/user-create-without-settings.input.ts +++ /dev/null @@ -1,98 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } 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'; -import { CommentCreateNestedManyWithoutAuthorInput } from '../comment/comment-create-nested-many-without-author.input'; -import { CommentThreadCreateNestedManyWithoutAuthorInput } from '../comment-thread/comment-thread-create-nested-many-without-author.input'; -import { CommentThreadCreateNestedManyWithoutAssigneeInput } from '../comment-thread/comment-thread-create-nested-many-without-assignee.input'; - -@InputType() -export class UserCreateWithoutSettingsInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - firstName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - lastName?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsEmail() - email!: string; - - @Field(() => Boolean, {nullable:true}) - @Validator.IsBoolean() - @Validator.IsOptional() - emailVerified?: boolean; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - avatarUrl?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - locale!: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - phoneNumber?: string; - - @Field(() => Date, {nullable:true}) - @Validator.IsDate() - @Validator.IsOptional() - lastSeen?: Date | string; - - @Field(() => Boolean, {nullable:true}) - @Validator.IsBoolean() - @Validator.IsOptional() - disabled?: boolean; - - @HideField() - passwordHash?: string; - - @Field(() => GraphQLJSON, {nullable:true}) - @Validator.IsJSON() - @Validator.IsOptional() - metadata?: any; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @HideField() - workspaceMember?: WorkspaceMemberCreateNestedOneWithoutUserInput; - - @Field(() => CompanyCreateNestedManyWithoutAccountOwnerInput, {nullable:true}) - companies?: CompanyCreateNestedManyWithoutAccountOwnerInput; - - @HideField() - refreshTokens?: RefreshTokenCreateNestedManyWithoutUserInput; - - @Field(() => CommentCreateNestedManyWithoutAuthorInput, {nullable:true}) - comments?: CommentCreateNestedManyWithoutAuthorInput; - - @Field(() => CommentThreadCreateNestedManyWithoutAuthorInput, {nullable:true}) - authoredCommentThreads?: CommentThreadCreateNestedManyWithoutAuthorInput; - - @Field(() => CommentThreadCreateNestedManyWithoutAssigneeInput, {nullable:true}) - assignedCommentThreads?: CommentThreadCreateNestedManyWithoutAssigneeInput; -} diff --git a/server/src/core/@generated/user/user-create-without-workspace-member.input.ts b/server/src/core/@generated/user/user-create-without-workspace-member.input.ts deleted file mode 100644 index 5ee9bf4ea..000000000 --- a/server/src/core/@generated/user/user-create-without-workspace-member.input.ts +++ /dev/null @@ -1,98 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } 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'; -import { CommentThreadCreateNestedManyWithoutAuthorInput } from '../comment-thread/comment-thread-create-nested-many-without-author.input'; -import { CommentThreadCreateNestedManyWithoutAssigneeInput } from '../comment-thread/comment-thread-create-nested-many-without-assignee.input'; -import { UserSettingsCreateNestedOneWithoutUserInput } from '../user-settings/user-settings-create-nested-one-without-user.input'; - -@InputType() -export class UserCreateWithoutWorkspaceMemberInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - firstName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - lastName?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsEmail() - email!: string; - - @Field(() => Boolean, {nullable:true}) - @Validator.IsBoolean() - @Validator.IsOptional() - emailVerified?: boolean; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - avatarUrl?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - locale!: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - phoneNumber?: string; - - @Field(() => Date, {nullable:true}) - @Validator.IsDate() - @Validator.IsOptional() - lastSeen?: Date | string; - - @Field(() => Boolean, {nullable:true}) - @Validator.IsBoolean() - @Validator.IsOptional() - disabled?: boolean; - - @HideField() - passwordHash?: string; - - @Field(() => GraphQLJSON, {nullable:true}) - @Validator.IsJSON() - @Validator.IsOptional() - metadata?: any; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => CompanyCreateNestedManyWithoutAccountOwnerInput, {nullable:true}) - companies?: CompanyCreateNestedManyWithoutAccountOwnerInput; - - @HideField() - refreshTokens?: RefreshTokenCreateNestedManyWithoutUserInput; - - @Field(() => CommentCreateNestedManyWithoutAuthorInput, {nullable:true}) - comments?: CommentCreateNestedManyWithoutAuthorInput; - - @Field(() => CommentThreadCreateNestedManyWithoutAuthorInput, {nullable:true}) - authoredCommentThreads?: CommentThreadCreateNestedManyWithoutAuthorInput; - - @Field(() => CommentThreadCreateNestedManyWithoutAssigneeInput, {nullable:true}) - assignedCommentThreads?: CommentThreadCreateNestedManyWithoutAssigneeInput; - - @Field(() => UserSettingsCreateNestedOneWithoutUserInput, {nullable:false}) - settings!: UserSettingsCreateNestedOneWithoutUserInput; -} diff --git a/server/src/core/@generated/user/user-create.input.ts b/server/src/core/@generated/user/user-create.input.ts deleted file mode 100644 index 5e137b9ee..000000000 --- a/server/src/core/@generated/user/user-create.input.ts +++ /dev/null @@ -1,102 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } 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'; -import { CommentCreateNestedManyWithoutAuthorInput } from '../comment/comment-create-nested-many-without-author.input'; -import { CommentThreadCreateNestedManyWithoutAuthorInput } from '../comment-thread/comment-thread-create-nested-many-without-author.input'; -import { CommentThreadCreateNestedManyWithoutAssigneeInput } from '../comment-thread/comment-thread-create-nested-many-without-assignee.input'; -import { UserSettingsCreateNestedOneWithoutUserInput } from '../user-settings/user-settings-create-nested-one-without-user.input'; - -@InputType() -export class UserCreateInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - firstName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - lastName?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsEmail() - email!: string; - - @Field(() => Boolean, {nullable:true}) - @Validator.IsBoolean() - @Validator.IsOptional() - emailVerified?: boolean; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - avatarUrl?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - locale!: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - phoneNumber?: string; - - @Field(() => Date, {nullable:true}) - @Validator.IsDate() - @Validator.IsOptional() - lastSeen?: Date | string; - - @Field(() => Boolean, {nullable:true}) - @Validator.IsBoolean() - @Validator.IsOptional() - disabled?: boolean; - - @HideField() - passwordHash?: string; - - @Field(() => GraphQLJSON, {nullable:true}) - @Validator.IsJSON() - @Validator.IsOptional() - metadata?: any; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @HideField() - workspaceMember?: WorkspaceMemberCreateNestedOneWithoutUserInput; - - @Field(() => CompanyCreateNestedManyWithoutAccountOwnerInput, {nullable:true}) - companies?: CompanyCreateNestedManyWithoutAccountOwnerInput; - - @HideField() - refreshTokens?: RefreshTokenCreateNestedManyWithoutUserInput; - - @Field(() => CommentCreateNestedManyWithoutAuthorInput, {nullable:true}) - comments?: CommentCreateNestedManyWithoutAuthorInput; - - @Field(() => CommentThreadCreateNestedManyWithoutAuthorInput, {nullable:true}) - authoredCommentThreads?: CommentThreadCreateNestedManyWithoutAuthorInput; - - @Field(() => CommentThreadCreateNestedManyWithoutAssigneeInput, {nullable:true}) - assignedCommentThreads?: CommentThreadCreateNestedManyWithoutAssigneeInput; - - @Field(() => UserSettingsCreateNestedOneWithoutUserInput, {nullable:false}) - settings!: UserSettingsCreateNestedOneWithoutUserInput; -} diff --git a/server/src/core/@generated/user/user-group-by.args.ts b/server/src/core/@generated/user/user-group-by.args.ts deleted file mode 100644 index 170492908..000000000 --- a/server/src/core/@generated/user/user-group-by.args.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { UserWhereInput } from './user-where.input'; -import { Type } from 'class-transformer'; -import { UserOrderByWithAggregationInput } from './user-order-by-with-aggregation.input'; -import { UserScalarFieldEnum } from './user-scalar-field.enum'; -import { UserScalarWhereWithAggregatesInput } from './user-scalar-where-with-aggregates.input'; -import { Int } from '@nestjs/graphql'; -import { UserCountAggregateInput } from './user-count-aggregate.input'; -import { UserMinAggregateInput } from './user-min-aggregate.input'; -import { UserMaxAggregateInput } from './user-max-aggregate.input'; - -@ArgsType() -export class UserGroupByArgs { - - @Field(() => UserWhereInput, {nullable:true}) - @Type(() => UserWhereInput) - where?: UserWhereInput; - - @Field(() => [UserOrderByWithAggregationInput], {nullable:true}) - orderBy?: Array; - - @Field(() => [UserScalarFieldEnum], {nullable:false}) - by!: Array; - - @Field(() => UserScalarWhereWithAggregatesInput, {nullable:true}) - having?: UserScalarWhereWithAggregatesInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => UserCountAggregateInput, {nullable:true}) - _count?: UserCountAggregateInput; - - @Field(() => UserMinAggregateInput, {nullable:true}) - _min?: UserMinAggregateInput; - - @Field(() => UserMaxAggregateInput, {nullable:true}) - _max?: UserMaxAggregateInput; -} diff --git a/server/src/core/@generated/user/user-group-by.output.ts b/server/src/core/@generated/user/user-group-by.output.ts deleted file mode 100644 index fbaf4e894..000000000 --- a/server/src/core/@generated/user/user-group-by.output.ts +++ /dev/null @@ -1,89 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; -import { GraphQLJSON } from 'graphql-type-json'; -import { UserCountAggregate } from './user-count-aggregate.output'; -import { UserMinAggregate } from './user-min-aggregate.output'; -import { UserMaxAggregate } from './user-max-aggregate.output'; - -@ObjectType() -export class UserGroupBy { - - @Field(() => String, {nullable:false}) - @Validator.IsString() - @Validator.IsOptional() - id!: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - firstName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - lastName?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsEmail() - email!: string; - - @Field(() => Boolean, {nullable:false}) - @Validator.IsBoolean() - @Validator.IsOptional() - emailVerified!: boolean; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - avatarUrl?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - locale!: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - phoneNumber?: string; - - @Field(() => Date, {nullable:true}) - @Validator.IsDate() - @Validator.IsOptional() - lastSeen?: Date | string; - - @Field(() => Boolean, {nullable:false}) - @Validator.IsBoolean() - @Validator.IsOptional() - disabled!: boolean; - - @HideField() - passwordHash?: string; - - @Field(() => GraphQLJSON, {nullable:true}) - @Validator.IsJSON() - @Validator.IsOptional() - metadata?: any; - - @Field(() => String, {nullable:false}) - settingsId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:false}) - createdAt!: Date | string; - - @Field(() => Date, {nullable:false}) - updatedAt!: Date | string; - - @Field(() => UserCountAggregate, {nullable:true}) - _count?: UserCountAggregate; - - @Field(() => UserMinAggregate, {nullable:true}) - _min?: UserMinAggregate; - - @Field(() => UserMaxAggregate, {nullable:true}) - _max?: UserMaxAggregate; -} diff --git a/server/src/core/@generated/user/user-max-aggregate.input.ts b/server/src/core/@generated/user/user-max-aggregate.input.ts deleted file mode 100644 index 3d4aacc08..000000000 --- a/server/src/core/@generated/user/user-max-aggregate.input.ts +++ /dev/null @@ -1,52 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class UserMaxAggregateInput { - - @Field(() => Boolean, {nullable:true}) - id?: true; - - @Field(() => Boolean, {nullable:true}) - firstName?: true; - - @Field(() => Boolean, {nullable:true}) - lastName?: true; - - @Field(() => Boolean, {nullable:true}) - email?: true; - - @Field(() => Boolean, {nullable:true}) - emailVerified?: true; - - @Field(() => Boolean, {nullable:true}) - avatarUrl?: true; - - @Field(() => Boolean, {nullable:true}) - locale?: true; - - @Field(() => Boolean, {nullable:true}) - phoneNumber?: true; - - @Field(() => Boolean, {nullable:true}) - lastSeen?: true; - - @Field(() => Boolean, {nullable:true}) - disabled?: true; - - @HideField() - passwordHash?: true; - - @Field(() => Boolean, {nullable:true}) - settingsId?: true; - - @HideField() - deletedAt?: true; - - @Field(() => Boolean, {nullable:true}) - createdAt?: true; - - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; -} diff --git a/server/src/core/@generated/user/user-max-aggregate.output.ts b/server/src/core/@generated/user/user-max-aggregate.output.ts deleted file mode 100644 index c3488ce38..000000000 --- a/server/src/core/@generated/user/user-max-aggregate.output.ts +++ /dev/null @@ -1,71 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; - -@ObjectType() -export class UserMaxAggregate { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - firstName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - lastName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsEmail() - email?: string; - - @Field(() => Boolean, {nullable:true}) - @Validator.IsBoolean() - @Validator.IsOptional() - emailVerified?: boolean; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - avatarUrl?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - locale?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - phoneNumber?: string; - - @Field(() => Date, {nullable:true}) - @Validator.IsDate() - @Validator.IsOptional() - lastSeen?: Date | string; - - @Field(() => Boolean, {nullable:true}) - @Validator.IsBoolean() - @Validator.IsOptional() - disabled?: boolean; - - @HideField() - passwordHash?: string; - - @Field(() => String, {nullable:true}) - settingsId?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/user/user-max-order-by-aggregate.input.ts b/server/src/core/@generated/user/user-max-order-by-aggregate.input.ts deleted file mode 100644 index 8e67f8f0f..000000000 --- a/server/src/core/@generated/user/user-max-order-by-aggregate.input.ts +++ /dev/null @@ -1,53 +0,0 @@ -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 UserMaxOrderByAggregateInput { - - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - firstName?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - lastName?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - email?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - emailVerified?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - avatarUrl?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - locale?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - phoneNumber?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - lastSeen?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - disabled?: keyof typeof SortOrder; - - @HideField() - passwordHash?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - settingsId?: keyof typeof SortOrder; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; -} diff --git a/server/src/core/@generated/user/user-min-aggregate.input.ts b/server/src/core/@generated/user/user-min-aggregate.input.ts deleted file mode 100644 index 5553e9f01..000000000 --- a/server/src/core/@generated/user/user-min-aggregate.input.ts +++ /dev/null @@ -1,52 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class UserMinAggregateInput { - - @Field(() => Boolean, {nullable:true}) - id?: true; - - @Field(() => Boolean, {nullable:true}) - firstName?: true; - - @Field(() => Boolean, {nullable:true}) - lastName?: true; - - @Field(() => Boolean, {nullable:true}) - email?: true; - - @Field(() => Boolean, {nullable:true}) - emailVerified?: true; - - @Field(() => Boolean, {nullable:true}) - avatarUrl?: true; - - @Field(() => Boolean, {nullable:true}) - locale?: true; - - @Field(() => Boolean, {nullable:true}) - phoneNumber?: true; - - @Field(() => Boolean, {nullable:true}) - lastSeen?: true; - - @Field(() => Boolean, {nullable:true}) - disabled?: true; - - @HideField() - passwordHash?: true; - - @Field(() => Boolean, {nullable:true}) - settingsId?: true; - - @HideField() - deletedAt?: true; - - @Field(() => Boolean, {nullable:true}) - createdAt?: true; - - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; -} diff --git a/server/src/core/@generated/user/user-min-aggregate.output.ts b/server/src/core/@generated/user/user-min-aggregate.output.ts deleted file mode 100644 index f30ac8cfd..000000000 --- a/server/src/core/@generated/user/user-min-aggregate.output.ts +++ /dev/null @@ -1,71 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; - -@ObjectType() -export class UserMinAggregate { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - firstName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - lastName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsEmail() - email?: string; - - @Field(() => Boolean, {nullable:true}) - @Validator.IsBoolean() - @Validator.IsOptional() - emailVerified?: boolean; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - avatarUrl?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - locale?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - phoneNumber?: string; - - @Field(() => Date, {nullable:true}) - @Validator.IsDate() - @Validator.IsOptional() - lastSeen?: Date | string; - - @Field(() => Boolean, {nullable:true}) - @Validator.IsBoolean() - @Validator.IsOptional() - disabled?: boolean; - - @HideField() - passwordHash?: string; - - @Field(() => String, {nullable:true}) - settingsId?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/user/user-min-order-by-aggregate.input.ts b/server/src/core/@generated/user/user-min-order-by-aggregate.input.ts deleted file mode 100644 index ca6444bd7..000000000 --- a/server/src/core/@generated/user/user-min-order-by-aggregate.input.ts +++ /dev/null @@ -1,53 +0,0 @@ -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 UserMinOrderByAggregateInput { - - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - firstName?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - lastName?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - email?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - emailVerified?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - avatarUrl?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - locale?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - phoneNumber?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - lastSeen?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - disabled?: keyof typeof SortOrder; - - @HideField() - passwordHash?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - settingsId?: keyof typeof SortOrder; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; -} diff --git a/server/src/core/@generated/user/user-order-by-with-aggregation.input.ts b/server/src/core/@generated/user/user-order-by-with-aggregation.input.ts deleted file mode 100644 index f492546af..000000000 --- a/server/src/core/@generated/user/user-order-by-with-aggregation.input.ts +++ /dev/null @@ -1,68 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { SortOrder } from '../prisma/sort-order.enum'; -import { HideField } from '@nestjs/graphql'; -import { UserCountOrderByAggregateInput } from './user-count-order-by-aggregate.input'; -import { UserMaxOrderByAggregateInput } from './user-max-order-by-aggregate.input'; -import { UserMinOrderByAggregateInput } from './user-min-order-by-aggregate.input'; - -@InputType() -export class UserOrderByWithAggregationInput { - - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - firstName?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - lastName?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - email?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - emailVerified?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - avatarUrl?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - locale?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - phoneNumber?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - lastSeen?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - disabled?: keyof typeof SortOrder; - - @HideField() - passwordHash?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - metadata?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - settingsId?: keyof typeof SortOrder; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; - - @Field(() => UserCountOrderByAggregateInput, {nullable:true}) - _count?: UserCountOrderByAggregateInput; - - @Field(() => UserMaxOrderByAggregateInput, {nullable:true}) - _max?: UserMaxOrderByAggregateInput; - - @Field(() => UserMinOrderByAggregateInput, {nullable:true}) - _min?: UserMinOrderByAggregateInput; -} diff --git a/server/src/core/@generated/user/user-order-by-with-relation.input.ts b/server/src/core/@generated/user/user-order-by-with-relation.input.ts deleted file mode 100644 index 5b4f0292e..000000000 --- a/server/src/core/@generated/user/user-order-by-with-relation.input.ts +++ /dev/null @@ -1,83 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { SortOrder } from '../prisma/sort-order.enum'; -import { HideField } from '@nestjs/graphql'; -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'; -import { CommentThreadOrderByRelationAggregateInput } from '../comment-thread/comment-thread-order-by-relation-aggregate.input'; -import { UserSettingsOrderByWithRelationInput } from '../user-settings/user-settings-order-by-with-relation.input'; - -@InputType() -export class UserOrderByWithRelationInput { - - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - firstName?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - lastName?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - email?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - emailVerified?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - avatarUrl?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - locale?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - phoneNumber?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - lastSeen?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - disabled?: keyof typeof SortOrder; - - @HideField() - passwordHash?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - metadata?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - settingsId?: keyof typeof SortOrder; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; - - @HideField() - workspaceMember?: WorkspaceMemberOrderByWithRelationInput; - - @Field(() => CompanyOrderByRelationAggregateInput, {nullable:true}) - companies?: CompanyOrderByRelationAggregateInput; - - @HideField() - refreshTokens?: RefreshTokenOrderByRelationAggregateInput; - - @Field(() => CommentOrderByRelationAggregateInput, {nullable:true}) - comments?: CommentOrderByRelationAggregateInput; - - @Field(() => CommentThreadOrderByRelationAggregateInput, {nullable:true}) - authoredCommentThreads?: CommentThreadOrderByRelationAggregateInput; - - @Field(() => CommentThreadOrderByRelationAggregateInput, {nullable:true}) - assignedCommentThreads?: CommentThreadOrderByRelationAggregateInput; - - @Field(() => UserSettingsOrderByWithRelationInput, {nullable:true}) - settings?: UserSettingsOrderByWithRelationInput; -} diff --git a/server/src/core/@generated/user/user-relation-filter.input.ts b/server/src/core/@generated/user/user-relation-filter.input.ts deleted file mode 100644 index c205f0fb9..000000000 --- a/server/src/core/@generated/user/user-relation-filter.input.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { UserWhereInput } from './user-where.input'; - -@InputType() -export class UserRelationFilter { - - @Field(() => UserWhereInput, {nullable:true}) - is?: UserWhereInput; - - @Field(() => UserWhereInput, {nullable:true}) - isNot?: UserWhereInput; -} diff --git a/server/src/core/@generated/user/user-scalar-field.enum.ts b/server/src/core/@generated/user/user-scalar-field.enum.ts deleted file mode 100644 index c23e5efe6..000000000 --- a/server/src/core/@generated/user/user-scalar-field.enum.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { registerEnumType } from '@nestjs/graphql'; - -export enum UserScalarFieldEnum { - id = "id", - firstName = "firstName", - lastName = "lastName", - email = "email", - emailVerified = "emailVerified", - avatarUrl = "avatarUrl", - locale = "locale", - phoneNumber = "phoneNumber", - lastSeen = "lastSeen", - disabled = "disabled", - passwordHash = "passwordHash", - metadata = "metadata", - settingsId = "settingsId", - deletedAt = "deletedAt", - createdAt = "createdAt", - updatedAt = "updatedAt" -} - - -registerEnumType(UserScalarFieldEnum, { name: 'UserScalarFieldEnum', description: undefined }) diff --git a/server/src/core/@generated/user/user-scalar-where-with-aggregates.input.ts b/server/src/core/@generated/user/user-scalar-where-with-aggregates.input.ts deleted file mode 100644 index 8cf672235..000000000 --- a/server/src/core/@generated/user/user-scalar-where-with-aggregates.input.ts +++ /dev/null @@ -1,70 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringWithAggregatesFilter } from '../prisma/string-with-aggregates-filter.input'; -import { StringNullableWithAggregatesFilter } from '../prisma/string-nullable-with-aggregates-filter.input'; -import { BoolWithAggregatesFilter } from '../prisma/bool-with-aggregates-filter.input'; -import { DateTimeNullableWithAggregatesFilter } from '../prisma/date-time-nullable-with-aggregates-filter.input'; -import { HideField } from '@nestjs/graphql'; -import { JsonNullableWithAggregatesFilter } from '../prisma/json-nullable-with-aggregates-filter.input'; -import { DateTimeWithAggregatesFilter } from '../prisma/date-time-with-aggregates-filter.input'; - -@InputType() -export class UserScalarWhereWithAggregatesInput { - - @Field(() => [UserScalarWhereWithAggregatesInput], {nullable:true}) - AND?: Array; - - @Field(() => [UserScalarWhereWithAggregatesInput], {nullable:true}) - OR?: Array; - - @Field(() => [UserScalarWhereWithAggregatesInput], {nullable:true}) - NOT?: Array; - - @Field(() => StringWithAggregatesFilter, {nullable:true}) - id?: StringWithAggregatesFilter; - - @Field(() => StringNullableWithAggregatesFilter, {nullable:true}) - firstName?: StringNullableWithAggregatesFilter; - - @Field(() => StringNullableWithAggregatesFilter, {nullable:true}) - lastName?: StringNullableWithAggregatesFilter; - - @Field(() => StringWithAggregatesFilter, {nullable:true}) - email?: StringWithAggregatesFilter; - - @Field(() => BoolWithAggregatesFilter, {nullable:true}) - emailVerified?: BoolWithAggregatesFilter; - - @Field(() => StringNullableWithAggregatesFilter, {nullable:true}) - avatarUrl?: StringNullableWithAggregatesFilter; - - @Field(() => StringWithAggregatesFilter, {nullable:true}) - locale?: StringWithAggregatesFilter; - - @Field(() => StringNullableWithAggregatesFilter, {nullable:true}) - phoneNumber?: StringNullableWithAggregatesFilter; - - @Field(() => DateTimeNullableWithAggregatesFilter, {nullable:true}) - lastSeen?: DateTimeNullableWithAggregatesFilter; - - @Field(() => BoolWithAggregatesFilter, {nullable:true}) - disabled?: BoolWithAggregatesFilter; - - @HideField() - passwordHash?: StringNullableWithAggregatesFilter; - - @Field(() => JsonNullableWithAggregatesFilter, {nullable:true}) - metadata?: JsonNullableWithAggregatesFilter; - - @Field(() => StringWithAggregatesFilter, {nullable:true}) - settingsId?: StringWithAggregatesFilter; - - @HideField() - deletedAt?: DateTimeNullableWithAggregatesFilter; - - @Field(() => DateTimeWithAggregatesFilter, {nullable:true}) - createdAt?: DateTimeWithAggregatesFilter; - - @Field(() => DateTimeWithAggregatesFilter, {nullable:true}) - updatedAt?: DateTimeWithAggregatesFilter; -} diff --git a/server/src/core/@generated/user/user-settings-aggregate.args.ts b/server/src/core/@generated/user/user-settings-aggregate.args.ts deleted file mode 100644 index 7fd06fc71..000000000 --- a/server/src/core/@generated/user/user-settings-aggregate.args.ts +++ /dev/null @@ -1,39 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { UserSettingsWhereInput } from '../user-settings/user-settings-where.input'; -import { Type } from 'class-transformer'; -import { UserSettingsOrderByWithRelationInput } from '../user-settings/user-settings-order-by-with-relation.input'; -import { UserSettingsWhereUniqueInput } from '../user-settings/user-settings-where-unique.input'; -import { Int } from '@nestjs/graphql'; -import { UserSettingsCountAggregateInput } from '../user-settings/user-settings-count-aggregate.input'; -import { UserSettingsMinAggregateInput } from '../user-settings/user-settings-min-aggregate.input'; -import { UserSettingsMaxAggregateInput } from '../user-settings/user-settings-max-aggregate.input'; - -@ArgsType() -export class UserSettingsAggregateArgs { - - @Field(() => UserSettingsWhereInput, {nullable:true}) - @Type(() => UserSettingsWhereInput) - where?: UserSettingsWhereInput; - - @Field(() => [UserSettingsOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; - - @Field(() => UserSettingsWhereUniqueInput, {nullable:true}) - cursor?: UserSettingsWhereUniqueInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => UserSettingsCountAggregateInput, {nullable:true}) - _count?: UserSettingsCountAggregateInput; - - @Field(() => UserSettingsMinAggregateInput, {nullable:true}) - _min?: UserSettingsMinAggregateInput; - - @Field(() => UserSettingsMaxAggregateInput, {nullable:true}) - _max?: UserSettingsMaxAggregateInput; -} diff --git a/server/src/core/@generated/user/user-unchecked-create-nested-one-without-settings.input.ts b/server/src/core/@generated/user/user-unchecked-create-nested-one-without-settings.input.ts deleted file mode 100644 index 38702d077..000000000 --- a/server/src/core/@generated/user/user-unchecked-create-nested-one-without-settings.input.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { UserCreateWithoutSettingsInput } from './user-create-without-settings.input'; -import { Type } from 'class-transformer'; -import { UserCreateOrConnectWithoutSettingsInput } from './user-create-or-connect-without-settings.input'; -import { UserWhereUniqueInput } from './user-where-unique.input'; - -@InputType() -export class UserUncheckedCreateNestedOneWithoutSettingsInput { - - @Field(() => UserCreateWithoutSettingsInput, {nullable:true}) - @Type(() => UserCreateWithoutSettingsInput) - create?: UserCreateWithoutSettingsInput; - - @Field(() => UserCreateOrConnectWithoutSettingsInput, {nullable:true}) - @Type(() => UserCreateOrConnectWithoutSettingsInput) - connectOrCreate?: UserCreateOrConnectWithoutSettingsInput; - - @Field(() => UserWhereUniqueInput, {nullable:true}) - @Type(() => UserWhereUniqueInput) - connect?: UserWhereUniqueInput; -} diff --git a/server/src/core/@generated/user/user-unchecked-create-without-assigned-comment-threads.input.ts b/server/src/core/@generated/user/user-unchecked-create-without-assigned-comment-threads.input.ts deleted file mode 100644 index 474b51a37..000000000 --- a/server/src/core/@generated/user/user-unchecked-create-without-assigned-comment-threads.input.ts +++ /dev/null @@ -1,97 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } 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'; -import { CommentUncheckedCreateNestedManyWithoutAuthorInput } from '../comment/comment-unchecked-create-nested-many-without-author.input'; -import { CommentThreadUncheckedCreateNestedManyWithoutAuthorInput } from '../comment-thread/comment-thread-unchecked-create-nested-many-without-author.input'; - -@InputType() -export class UserUncheckedCreateWithoutAssignedCommentThreadsInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - firstName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - lastName?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsEmail() - email!: string; - - @Field(() => Boolean, {nullable:true}) - @Validator.IsBoolean() - @Validator.IsOptional() - emailVerified?: boolean; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - avatarUrl?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - locale!: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - phoneNumber?: string; - - @Field(() => Date, {nullable:true}) - @Validator.IsDate() - @Validator.IsOptional() - lastSeen?: Date | string; - - @Field(() => Boolean, {nullable:true}) - @Validator.IsBoolean() - @Validator.IsOptional() - disabled?: boolean; - - @HideField() - passwordHash?: string; - - @Field(() => GraphQLJSON, {nullable:true}) - @Validator.IsJSON() - @Validator.IsOptional() - metadata?: any; - - @Field(() => String, {nullable:false}) - settingsId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @HideField() - workspaceMember?: WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput; - - @Field(() => CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput, {nullable:true}) - companies?: CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput; - - @HideField() - refreshTokens?: RefreshTokenUncheckedCreateNestedManyWithoutUserInput; - - @Field(() => CommentUncheckedCreateNestedManyWithoutAuthorInput, {nullable:true}) - comments?: CommentUncheckedCreateNestedManyWithoutAuthorInput; - - @Field(() => CommentThreadUncheckedCreateNestedManyWithoutAuthorInput, {nullable:true}) - authoredCommentThreads?: CommentThreadUncheckedCreateNestedManyWithoutAuthorInput; -} diff --git a/server/src/core/@generated/user/user-unchecked-create-without-authored-comment-threads.input.ts b/server/src/core/@generated/user/user-unchecked-create-without-authored-comment-threads.input.ts deleted file mode 100644 index 6f7089d24..000000000 --- a/server/src/core/@generated/user/user-unchecked-create-without-authored-comment-threads.input.ts +++ /dev/null @@ -1,97 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } 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'; -import { CommentUncheckedCreateNestedManyWithoutAuthorInput } from '../comment/comment-unchecked-create-nested-many-without-author.input'; -import { CommentThreadUncheckedCreateNestedManyWithoutAssigneeInput } from '../comment-thread/comment-thread-unchecked-create-nested-many-without-assignee.input'; - -@InputType() -export class UserUncheckedCreateWithoutAuthoredCommentThreadsInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - firstName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - lastName?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsEmail() - email!: string; - - @Field(() => Boolean, {nullable:true}) - @Validator.IsBoolean() - @Validator.IsOptional() - emailVerified?: boolean; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - avatarUrl?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - locale!: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - phoneNumber?: string; - - @Field(() => Date, {nullable:true}) - @Validator.IsDate() - @Validator.IsOptional() - lastSeen?: Date | string; - - @Field(() => Boolean, {nullable:true}) - @Validator.IsBoolean() - @Validator.IsOptional() - disabled?: boolean; - - @HideField() - passwordHash?: string; - - @Field(() => GraphQLJSON, {nullable:true}) - @Validator.IsJSON() - @Validator.IsOptional() - metadata?: any; - - @Field(() => String, {nullable:false}) - settingsId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @HideField() - workspaceMember?: WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput; - - @Field(() => CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput, {nullable:true}) - companies?: CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput; - - @HideField() - refreshTokens?: RefreshTokenUncheckedCreateNestedManyWithoutUserInput; - - @Field(() => CommentUncheckedCreateNestedManyWithoutAuthorInput, {nullable:true}) - comments?: CommentUncheckedCreateNestedManyWithoutAuthorInput; - - @Field(() => CommentThreadUncheckedCreateNestedManyWithoutAssigneeInput, {nullable:true}) - assignedCommentThreads?: CommentThreadUncheckedCreateNestedManyWithoutAssigneeInput; -} diff --git a/server/src/core/@generated/user/user-unchecked-create-without-comment-thread.input.ts b/server/src/core/@generated/user/user-unchecked-create-without-comment-thread.input.ts deleted file mode 100644 index 1a2c94599..000000000 --- a/server/src/core/@generated/user/user-unchecked-create-without-comment-thread.input.ts +++ /dev/null @@ -1,90 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } 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'; -import { CommentUncheckedCreateNestedManyWithoutAuthorInput } from '../comment/comment-unchecked-create-nested-many-without-author.input'; - -@InputType() -export class UserUncheckedCreateWithoutCommentThreadInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - firstName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - lastName?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsEmail() - email!: string; - - @Field(() => Boolean, {nullable:true}) - @Validator.IsBoolean() - @Validator.IsOptional() - emailVerified?: boolean; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - avatarUrl?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - locale!: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - phoneNumber?: string; - - @Field(() => Date, {nullable:true}) - @Validator.IsDate() - @Validator.IsOptional() - lastSeen?: Date | string; - - @Field(() => Boolean, {nullable:true}) - @Validator.IsBoolean() - @Validator.IsOptional() - disabled?: boolean; - - @HideField() - passwordHash?: string; - - @Field(() => GraphQLJSON, {nullable:true}) - @Validator.IsJSON() - @Validator.IsOptional() - metadata?: any; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @HideField() - workspaceMember?: WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput; - - @Field(() => CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput, {nullable:true}) - companies?: CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput; - - @HideField() - refreshTokens?: RefreshTokenUncheckedCreateNestedManyWithoutUserInput; - - @Field(() => CommentUncheckedCreateNestedManyWithoutAuthorInput, {nullable:true}) - comments?: CommentUncheckedCreateNestedManyWithoutAuthorInput; -} diff --git a/server/src/core/@generated/user/user-unchecked-create-without-comments.input.ts b/server/src/core/@generated/user/user-unchecked-create-without-comments.input.ts deleted file mode 100644 index 06f1abf56..000000000 --- a/server/src/core/@generated/user/user-unchecked-create-without-comments.input.ts +++ /dev/null @@ -1,97 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } 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'; -import { CommentThreadUncheckedCreateNestedManyWithoutAuthorInput } from '../comment-thread/comment-thread-unchecked-create-nested-many-without-author.input'; -import { CommentThreadUncheckedCreateNestedManyWithoutAssigneeInput } from '../comment-thread/comment-thread-unchecked-create-nested-many-without-assignee.input'; - -@InputType() -export class UserUncheckedCreateWithoutCommentsInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - firstName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - lastName?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsEmail() - email!: string; - - @Field(() => Boolean, {nullable:true}) - @Validator.IsBoolean() - @Validator.IsOptional() - emailVerified?: boolean; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - avatarUrl?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - locale!: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - phoneNumber?: string; - - @Field(() => Date, {nullable:true}) - @Validator.IsDate() - @Validator.IsOptional() - lastSeen?: Date | string; - - @Field(() => Boolean, {nullable:true}) - @Validator.IsBoolean() - @Validator.IsOptional() - disabled?: boolean; - - @HideField() - passwordHash?: string; - - @Field(() => GraphQLJSON, {nullable:true}) - @Validator.IsJSON() - @Validator.IsOptional() - metadata?: any; - - @Field(() => String, {nullable:false}) - settingsId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @HideField() - workspaceMember?: WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput; - - @Field(() => CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput, {nullable:true}) - companies?: CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput; - - @HideField() - refreshTokens?: RefreshTokenUncheckedCreateNestedManyWithoutUserInput; - - @Field(() => CommentThreadUncheckedCreateNestedManyWithoutAuthorInput, {nullable:true}) - authoredCommentThreads?: CommentThreadUncheckedCreateNestedManyWithoutAuthorInput; - - @Field(() => CommentThreadUncheckedCreateNestedManyWithoutAssigneeInput, {nullable:true}) - assignedCommentThreads?: CommentThreadUncheckedCreateNestedManyWithoutAssigneeInput; -} diff --git a/server/src/core/@generated/user/user-unchecked-create-without-companies.input.ts b/server/src/core/@generated/user/user-unchecked-create-without-companies.input.ts deleted file mode 100644 index c6211b7f7..000000000 --- a/server/src/core/@generated/user/user-unchecked-create-without-companies.input.ts +++ /dev/null @@ -1,97 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } 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'; -import { CommentThreadUncheckedCreateNestedManyWithoutAuthorInput } from '../comment-thread/comment-thread-unchecked-create-nested-many-without-author.input'; -import { CommentThreadUncheckedCreateNestedManyWithoutAssigneeInput } from '../comment-thread/comment-thread-unchecked-create-nested-many-without-assignee.input'; - -@InputType() -export class UserUncheckedCreateWithoutCompaniesInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - firstName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - lastName?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsEmail() - email!: string; - - @Field(() => Boolean, {nullable:true}) - @Validator.IsBoolean() - @Validator.IsOptional() - emailVerified?: boolean; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - avatarUrl?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - locale!: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - phoneNumber?: string; - - @Field(() => Date, {nullable:true}) - @Validator.IsDate() - @Validator.IsOptional() - lastSeen?: Date | string; - - @Field(() => Boolean, {nullable:true}) - @Validator.IsBoolean() - @Validator.IsOptional() - disabled?: boolean; - - @HideField() - passwordHash?: string; - - @Field(() => GraphQLJSON, {nullable:true}) - @Validator.IsJSON() - @Validator.IsOptional() - metadata?: any; - - @Field(() => String, {nullable:false}) - settingsId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @HideField() - workspaceMember?: WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput; - - @HideField() - refreshTokens?: RefreshTokenUncheckedCreateNestedManyWithoutUserInput; - - @Field(() => CommentUncheckedCreateNestedManyWithoutAuthorInput, {nullable:true}) - comments?: CommentUncheckedCreateNestedManyWithoutAuthorInput; - - @Field(() => CommentThreadUncheckedCreateNestedManyWithoutAuthorInput, {nullable:true}) - authoredCommentThreads?: CommentThreadUncheckedCreateNestedManyWithoutAuthorInput; - - @Field(() => CommentThreadUncheckedCreateNestedManyWithoutAssigneeInput, {nullable:true}) - assignedCommentThreads?: CommentThreadUncheckedCreateNestedManyWithoutAssigneeInput; -} diff --git a/server/src/core/@generated/user/user-unchecked-create-without-refresh-tokens.input.ts b/server/src/core/@generated/user/user-unchecked-create-without-refresh-tokens.input.ts deleted file mode 100644 index f95682dfe..000000000 --- a/server/src/core/@generated/user/user-unchecked-create-without-refresh-tokens.input.ts +++ /dev/null @@ -1,97 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } 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'; -import { CommentThreadUncheckedCreateNestedManyWithoutAuthorInput } from '../comment-thread/comment-thread-unchecked-create-nested-many-without-author.input'; -import { CommentThreadUncheckedCreateNestedManyWithoutAssigneeInput } from '../comment-thread/comment-thread-unchecked-create-nested-many-without-assignee.input'; - -@InputType() -export class UserUncheckedCreateWithoutRefreshTokensInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - firstName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - lastName?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsEmail() - email!: string; - - @Field(() => Boolean, {nullable:true}) - @Validator.IsBoolean() - @Validator.IsOptional() - emailVerified?: boolean; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - avatarUrl?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - locale!: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - phoneNumber?: string; - - @Field(() => Date, {nullable:true}) - @Validator.IsDate() - @Validator.IsOptional() - lastSeen?: Date | string; - - @Field(() => Boolean, {nullable:true}) - @Validator.IsBoolean() - @Validator.IsOptional() - disabled?: boolean; - - @HideField() - passwordHash?: string; - - @Field(() => GraphQLJSON, {nullable:true}) - @Validator.IsJSON() - @Validator.IsOptional() - metadata?: any; - - @Field(() => String, {nullable:false}) - settingsId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @HideField() - workspaceMember?: WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput; - - @Field(() => CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput, {nullable:true}) - companies?: CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput; - - @Field(() => CommentUncheckedCreateNestedManyWithoutAuthorInput, {nullable:true}) - comments?: CommentUncheckedCreateNestedManyWithoutAuthorInput; - - @Field(() => CommentThreadUncheckedCreateNestedManyWithoutAuthorInput, {nullable:true}) - authoredCommentThreads?: CommentThreadUncheckedCreateNestedManyWithoutAuthorInput; - - @Field(() => CommentThreadUncheckedCreateNestedManyWithoutAssigneeInput, {nullable:true}) - assignedCommentThreads?: CommentThreadUncheckedCreateNestedManyWithoutAssigneeInput; -} diff --git a/server/src/core/@generated/user/user-unchecked-create-without-settings.input.ts b/server/src/core/@generated/user/user-unchecked-create-without-settings.input.ts deleted file mode 100644 index c44f7c8e7..000000000 --- a/server/src/core/@generated/user/user-unchecked-create-without-settings.input.ts +++ /dev/null @@ -1,98 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } 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'; -import { CommentUncheckedCreateNestedManyWithoutAuthorInput } from '../comment/comment-unchecked-create-nested-many-without-author.input'; -import { CommentThreadUncheckedCreateNestedManyWithoutAuthorInput } from '../comment-thread/comment-thread-unchecked-create-nested-many-without-author.input'; -import { CommentThreadUncheckedCreateNestedManyWithoutAssigneeInput } from '../comment-thread/comment-thread-unchecked-create-nested-many-without-assignee.input'; - -@InputType() -export class UserUncheckedCreateWithoutSettingsInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - firstName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - lastName?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsEmail() - email!: string; - - @Field(() => Boolean, {nullable:true}) - @Validator.IsBoolean() - @Validator.IsOptional() - emailVerified?: boolean; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - avatarUrl?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - locale!: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - phoneNumber?: string; - - @Field(() => Date, {nullable:true}) - @Validator.IsDate() - @Validator.IsOptional() - lastSeen?: Date | string; - - @Field(() => Boolean, {nullable:true}) - @Validator.IsBoolean() - @Validator.IsOptional() - disabled?: boolean; - - @HideField() - passwordHash?: string; - - @Field(() => GraphQLJSON, {nullable:true}) - @Validator.IsJSON() - @Validator.IsOptional() - metadata?: any; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @HideField() - workspaceMember?: WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput; - - @Field(() => CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput, {nullable:true}) - companies?: CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput; - - @HideField() - refreshTokens?: RefreshTokenUncheckedCreateNestedManyWithoutUserInput; - - @Field(() => CommentUncheckedCreateNestedManyWithoutAuthorInput, {nullable:true}) - comments?: CommentUncheckedCreateNestedManyWithoutAuthorInput; - - @Field(() => CommentThreadUncheckedCreateNestedManyWithoutAuthorInput, {nullable:true}) - authoredCommentThreads?: CommentThreadUncheckedCreateNestedManyWithoutAuthorInput; - - @Field(() => CommentThreadUncheckedCreateNestedManyWithoutAssigneeInput, {nullable:true}) - assignedCommentThreads?: CommentThreadUncheckedCreateNestedManyWithoutAssigneeInput; -} diff --git a/server/src/core/@generated/user/user-unchecked-create-without-workspace-member.input.ts b/server/src/core/@generated/user/user-unchecked-create-without-workspace-member.input.ts deleted file mode 100644 index 055f2acb4..000000000 --- a/server/src/core/@generated/user/user-unchecked-create-without-workspace-member.input.ts +++ /dev/null @@ -1,97 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } 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'; -import { CommentThreadUncheckedCreateNestedManyWithoutAuthorInput } from '../comment-thread/comment-thread-unchecked-create-nested-many-without-author.input'; -import { CommentThreadUncheckedCreateNestedManyWithoutAssigneeInput } from '../comment-thread/comment-thread-unchecked-create-nested-many-without-assignee.input'; - -@InputType() -export class UserUncheckedCreateWithoutWorkspaceMemberInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - firstName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - lastName?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsEmail() - email!: string; - - @Field(() => Boolean, {nullable:true}) - @Validator.IsBoolean() - @Validator.IsOptional() - emailVerified?: boolean; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - avatarUrl?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - locale!: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - phoneNumber?: string; - - @Field(() => Date, {nullable:true}) - @Validator.IsDate() - @Validator.IsOptional() - lastSeen?: Date | string; - - @Field(() => Boolean, {nullable:true}) - @Validator.IsBoolean() - @Validator.IsOptional() - disabled?: boolean; - - @HideField() - passwordHash?: string; - - @Field(() => GraphQLJSON, {nullable:true}) - @Validator.IsJSON() - @Validator.IsOptional() - metadata?: any; - - @Field(() => String, {nullable:false}) - settingsId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput, {nullable:true}) - companies?: CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput; - - @HideField() - refreshTokens?: RefreshTokenUncheckedCreateNestedManyWithoutUserInput; - - @Field(() => CommentUncheckedCreateNestedManyWithoutAuthorInput, {nullable:true}) - comments?: CommentUncheckedCreateNestedManyWithoutAuthorInput; - - @Field(() => CommentThreadUncheckedCreateNestedManyWithoutAuthorInput, {nullable:true}) - authoredCommentThreads?: CommentThreadUncheckedCreateNestedManyWithoutAuthorInput; - - @Field(() => CommentThreadUncheckedCreateNestedManyWithoutAssigneeInput, {nullable:true}) - assignedCommentThreads?: CommentThreadUncheckedCreateNestedManyWithoutAssigneeInput; -} diff --git a/server/src/core/@generated/user/user-unchecked-create.input.ts b/server/src/core/@generated/user/user-unchecked-create.input.ts deleted file mode 100644 index 1bab850c3..000000000 --- a/server/src/core/@generated/user/user-unchecked-create.input.ts +++ /dev/null @@ -1,101 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } 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'; -import { CommentUncheckedCreateNestedManyWithoutAuthorInput } from '../comment/comment-unchecked-create-nested-many-without-author.input'; -import { CommentThreadUncheckedCreateNestedManyWithoutAuthorInput } from '../comment-thread/comment-thread-unchecked-create-nested-many-without-author.input'; -import { CommentThreadUncheckedCreateNestedManyWithoutAssigneeInput } from '../comment-thread/comment-thread-unchecked-create-nested-many-without-assignee.input'; - -@InputType() -export class UserUncheckedCreateInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - firstName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - lastName?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsEmail() - email!: string; - - @Field(() => Boolean, {nullable:true}) - @Validator.IsBoolean() - @Validator.IsOptional() - emailVerified?: boolean; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - avatarUrl?: string; - - @Field(() => String, {nullable:false}) - @Validator.IsString() - locale!: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - phoneNumber?: string; - - @Field(() => Date, {nullable:true}) - @Validator.IsDate() - @Validator.IsOptional() - lastSeen?: Date | string; - - @Field(() => Boolean, {nullable:true}) - @Validator.IsBoolean() - @Validator.IsOptional() - disabled?: boolean; - - @HideField() - passwordHash?: string; - - @Field(() => GraphQLJSON, {nullable:true}) - @Validator.IsJSON() - @Validator.IsOptional() - metadata?: any; - - @Field(() => String, {nullable:false}) - settingsId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @HideField() - workspaceMember?: WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput; - - @Field(() => CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput, {nullable:true}) - companies?: CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput; - - @HideField() - refreshTokens?: RefreshTokenUncheckedCreateNestedManyWithoutUserInput; - - @Field(() => CommentUncheckedCreateNestedManyWithoutAuthorInput, {nullable:true}) - comments?: CommentUncheckedCreateNestedManyWithoutAuthorInput; - - @Field(() => CommentThreadUncheckedCreateNestedManyWithoutAuthorInput, {nullable:true}) - authoredCommentThreads?: CommentThreadUncheckedCreateNestedManyWithoutAuthorInput; - - @Field(() => CommentThreadUncheckedCreateNestedManyWithoutAssigneeInput, {nullable:true}) - assignedCommentThreads?: CommentThreadUncheckedCreateNestedManyWithoutAssigneeInput; -} diff --git a/server/src/core/@generated/user/user-unchecked-update-many.input.ts b/server/src/core/@generated/user/user-unchecked-update-many.input.ts deleted file mode 100644 index de3881519..000000000 --- a/server/src/core/@generated/user/user-unchecked-update-many.input.ts +++ /dev/null @@ -1,64 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { BoolFieldUpdateOperationsInput } from '../prisma/bool-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { GraphQLJSON } from 'graphql-type-json'; -import * as Validator from 'class-validator'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class UserUncheckedUpdateManyInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - firstName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - lastName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - email?: StringFieldUpdateOperationsInput; - - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - emailVerified?: BoolFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - avatarUrl?: NullableStringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - locale?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - phoneNumber?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - lastSeen?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - disabled?: BoolFieldUpdateOperationsInput; - - @HideField() - passwordHash?: NullableStringFieldUpdateOperationsInput; - - @Field(() => GraphQLJSON, {nullable:true}) - @Validator.IsJSON() - @Validator.IsOptional() - metadata?: any; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - settingsId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/user/user-unchecked-update-one-without-settings-nested.input.ts b/server/src/core/@generated/user/user-unchecked-update-one-without-settings-nested.input.ts deleted file mode 100644 index 9d70125cd..000000000 --- a/server/src/core/@generated/user/user-unchecked-update-one-without-settings-nested.input.ts +++ /dev/null @@ -1,38 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { UserCreateWithoutSettingsInput } from './user-create-without-settings.input'; -import { Type } from 'class-transformer'; -import { UserCreateOrConnectWithoutSettingsInput } from './user-create-or-connect-without-settings.input'; -import { UserUpsertWithoutSettingsInput } from './user-upsert-without-settings.input'; -import { UserWhereUniqueInput } from './user-where-unique.input'; -import { UserUpdateWithoutSettingsInput } from './user-update-without-settings.input'; - -@InputType() -export class UserUncheckedUpdateOneWithoutSettingsNestedInput { - - @Field(() => UserCreateWithoutSettingsInput, {nullable:true}) - @Type(() => UserCreateWithoutSettingsInput) - create?: UserCreateWithoutSettingsInput; - - @Field(() => UserCreateOrConnectWithoutSettingsInput, {nullable:true}) - @Type(() => UserCreateOrConnectWithoutSettingsInput) - connectOrCreate?: UserCreateOrConnectWithoutSettingsInput; - - @Field(() => UserUpsertWithoutSettingsInput, {nullable:true}) - @Type(() => UserUpsertWithoutSettingsInput) - upsert?: UserUpsertWithoutSettingsInput; - - @Field(() => Boolean, {nullable:true}) - disconnect?: boolean; - - @Field(() => Boolean, {nullable:true}) - delete?: boolean; - - @Field(() => UserWhereUniqueInput, {nullable:true}) - @Type(() => UserWhereUniqueInput) - connect?: UserWhereUniqueInput; - - @Field(() => UserUpdateWithoutSettingsInput, {nullable:true}) - @Type(() => UserUpdateWithoutSettingsInput) - update?: UserUpdateWithoutSettingsInput; -} diff --git a/server/src/core/@generated/user/user-unchecked-update-without-assigned-comment-threads.input.ts b/server/src/core/@generated/user/user-unchecked-update-without-assigned-comment-threads.input.ts deleted file mode 100644 index e29e770fe..000000000 --- a/server/src/core/@generated/user/user-unchecked-update-without-assigned-comment-threads.input.ts +++ /dev/null @@ -1,84 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { BoolFieldUpdateOperationsInput } from '../prisma/bool-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { GraphQLJSON } from 'graphql-type-json'; -import * as Validator from 'class-validator'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -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'; -import { CommentThreadUncheckedUpdateManyWithoutAuthorNestedInput } from '../comment-thread/comment-thread-unchecked-update-many-without-author-nested.input'; - -@InputType() -export class UserUncheckedUpdateWithoutAssignedCommentThreadsInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - firstName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - lastName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - email?: StringFieldUpdateOperationsInput; - - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - emailVerified?: BoolFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - avatarUrl?: NullableStringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - locale?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - phoneNumber?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - lastSeen?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - disabled?: BoolFieldUpdateOperationsInput; - - @HideField() - passwordHash?: NullableStringFieldUpdateOperationsInput; - - @Field(() => GraphQLJSON, {nullable:true}) - @Validator.IsJSON() - @Validator.IsOptional() - metadata?: any; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - settingsId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @HideField() - workspaceMember?: WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput; - - @Field(() => CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput, {nullable:true}) - companies?: CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput; - - @HideField() - refreshTokens?: RefreshTokenUncheckedUpdateManyWithoutUserNestedInput; - - @Field(() => CommentUncheckedUpdateManyWithoutAuthorNestedInput, {nullable:true}) - comments?: CommentUncheckedUpdateManyWithoutAuthorNestedInput; - - @Field(() => CommentThreadUncheckedUpdateManyWithoutAuthorNestedInput, {nullable:true}) - authoredCommentThreads?: CommentThreadUncheckedUpdateManyWithoutAuthorNestedInput; -} diff --git a/server/src/core/@generated/user/user-unchecked-update-without-authored-comment-threads.input.ts b/server/src/core/@generated/user/user-unchecked-update-without-authored-comment-threads.input.ts deleted file mode 100644 index 1d6c64a6e..000000000 --- a/server/src/core/@generated/user/user-unchecked-update-without-authored-comment-threads.input.ts +++ /dev/null @@ -1,84 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { BoolFieldUpdateOperationsInput } from '../prisma/bool-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { GraphQLJSON } from 'graphql-type-json'; -import * as Validator from 'class-validator'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -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'; -import { CommentThreadUncheckedUpdateManyWithoutAssigneeNestedInput } from '../comment-thread/comment-thread-unchecked-update-many-without-assignee-nested.input'; - -@InputType() -export class UserUncheckedUpdateWithoutAuthoredCommentThreadsInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - firstName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - lastName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - email?: StringFieldUpdateOperationsInput; - - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - emailVerified?: BoolFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - avatarUrl?: NullableStringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - locale?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - phoneNumber?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - lastSeen?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - disabled?: BoolFieldUpdateOperationsInput; - - @HideField() - passwordHash?: NullableStringFieldUpdateOperationsInput; - - @Field(() => GraphQLJSON, {nullable:true}) - @Validator.IsJSON() - @Validator.IsOptional() - metadata?: any; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - settingsId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @HideField() - workspaceMember?: WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput; - - @Field(() => CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput, {nullable:true}) - companies?: CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput; - - @HideField() - refreshTokens?: RefreshTokenUncheckedUpdateManyWithoutUserNestedInput; - - @Field(() => CommentUncheckedUpdateManyWithoutAuthorNestedInput, {nullable:true}) - comments?: CommentUncheckedUpdateManyWithoutAuthorNestedInput; - - @Field(() => CommentThreadUncheckedUpdateManyWithoutAssigneeNestedInput, {nullable:true}) - assignedCommentThreads?: CommentThreadUncheckedUpdateManyWithoutAssigneeNestedInput; -} diff --git a/server/src/core/@generated/user/user-unchecked-update-without-comment-thread.input.ts b/server/src/core/@generated/user/user-unchecked-update-without-comment-thread.input.ts deleted file mode 100644 index 2e41256ad..000000000 --- a/server/src/core/@generated/user/user-unchecked-update-without-comment-thread.input.ts +++ /dev/null @@ -1,77 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { BoolFieldUpdateOperationsInput } from '../prisma/bool-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { GraphQLJSON } from 'graphql-type-json'; -import * as Validator from 'class-validator'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -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 UserUncheckedUpdateWithoutCommentThreadInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - firstName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - lastName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - email?: StringFieldUpdateOperationsInput; - - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - emailVerified?: BoolFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - avatarUrl?: NullableStringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - locale?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - phoneNumber?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - lastSeen?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - disabled?: BoolFieldUpdateOperationsInput; - - @HideField() - passwordHash?: NullableStringFieldUpdateOperationsInput; - - @Field(() => GraphQLJSON, {nullable:true}) - @Validator.IsJSON() - @Validator.IsOptional() - metadata?: any; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @HideField() - workspaceMember?: WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput; - - @Field(() => CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput, {nullable:true}) - companies?: CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput; - - @HideField() - refreshTokens?: RefreshTokenUncheckedUpdateManyWithoutUserNestedInput; - - @Field(() => CommentUncheckedUpdateManyWithoutAuthorNestedInput, {nullable:true}) - comments?: CommentUncheckedUpdateManyWithoutAuthorNestedInput; -} diff --git a/server/src/core/@generated/user/user-unchecked-update-without-comments.input.ts b/server/src/core/@generated/user/user-unchecked-update-without-comments.input.ts deleted file mode 100644 index b1fb09dcd..000000000 --- a/server/src/core/@generated/user/user-unchecked-update-without-comments.input.ts +++ /dev/null @@ -1,84 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { BoolFieldUpdateOperationsInput } from '../prisma/bool-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { GraphQLJSON } from 'graphql-type-json'; -import * as Validator from 'class-validator'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -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 { CommentThreadUncheckedUpdateManyWithoutAuthorNestedInput } from '../comment-thread/comment-thread-unchecked-update-many-without-author-nested.input'; -import { CommentThreadUncheckedUpdateManyWithoutAssigneeNestedInput } from '../comment-thread/comment-thread-unchecked-update-many-without-assignee-nested.input'; - -@InputType() -export class UserUncheckedUpdateWithoutCommentsInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - firstName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - lastName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - email?: StringFieldUpdateOperationsInput; - - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - emailVerified?: BoolFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - avatarUrl?: NullableStringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - locale?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - phoneNumber?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - lastSeen?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - disabled?: BoolFieldUpdateOperationsInput; - - @HideField() - passwordHash?: NullableStringFieldUpdateOperationsInput; - - @Field(() => GraphQLJSON, {nullable:true}) - @Validator.IsJSON() - @Validator.IsOptional() - metadata?: any; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - settingsId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @HideField() - workspaceMember?: WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput; - - @Field(() => CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput, {nullable:true}) - companies?: CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput; - - @HideField() - refreshTokens?: RefreshTokenUncheckedUpdateManyWithoutUserNestedInput; - - @Field(() => CommentThreadUncheckedUpdateManyWithoutAuthorNestedInput, {nullable:true}) - authoredCommentThreads?: CommentThreadUncheckedUpdateManyWithoutAuthorNestedInput; - - @Field(() => CommentThreadUncheckedUpdateManyWithoutAssigneeNestedInput, {nullable:true}) - assignedCommentThreads?: CommentThreadUncheckedUpdateManyWithoutAssigneeNestedInput; -} diff --git a/server/src/core/@generated/user/user-unchecked-update-without-companies.input.ts b/server/src/core/@generated/user/user-unchecked-update-without-companies.input.ts deleted file mode 100644 index 4134a0722..000000000 --- a/server/src/core/@generated/user/user-unchecked-update-without-companies.input.ts +++ /dev/null @@ -1,84 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { BoolFieldUpdateOperationsInput } from '../prisma/bool-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { GraphQLJSON } from 'graphql-type-json'; -import * as Validator from 'class-validator'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -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'; -import { CommentThreadUncheckedUpdateManyWithoutAuthorNestedInput } from '../comment-thread/comment-thread-unchecked-update-many-without-author-nested.input'; -import { CommentThreadUncheckedUpdateManyWithoutAssigneeNestedInput } from '../comment-thread/comment-thread-unchecked-update-many-without-assignee-nested.input'; - -@InputType() -export class UserUncheckedUpdateWithoutCompaniesInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - firstName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - lastName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - email?: StringFieldUpdateOperationsInput; - - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - emailVerified?: BoolFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - avatarUrl?: NullableStringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - locale?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - phoneNumber?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - lastSeen?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - disabled?: BoolFieldUpdateOperationsInput; - - @HideField() - passwordHash?: NullableStringFieldUpdateOperationsInput; - - @Field(() => GraphQLJSON, {nullable:true}) - @Validator.IsJSON() - @Validator.IsOptional() - metadata?: any; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - settingsId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @HideField() - workspaceMember?: WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput; - - @HideField() - refreshTokens?: RefreshTokenUncheckedUpdateManyWithoutUserNestedInput; - - @Field(() => CommentUncheckedUpdateManyWithoutAuthorNestedInput, {nullable:true}) - comments?: CommentUncheckedUpdateManyWithoutAuthorNestedInput; - - @Field(() => CommentThreadUncheckedUpdateManyWithoutAuthorNestedInput, {nullable:true}) - authoredCommentThreads?: CommentThreadUncheckedUpdateManyWithoutAuthorNestedInput; - - @Field(() => CommentThreadUncheckedUpdateManyWithoutAssigneeNestedInput, {nullable:true}) - assignedCommentThreads?: CommentThreadUncheckedUpdateManyWithoutAssigneeNestedInput; -} diff --git a/server/src/core/@generated/user/user-unchecked-update-without-refresh-tokens.input.ts b/server/src/core/@generated/user/user-unchecked-update-without-refresh-tokens.input.ts deleted file mode 100644 index c792bd3aa..000000000 --- a/server/src/core/@generated/user/user-unchecked-update-without-refresh-tokens.input.ts +++ /dev/null @@ -1,84 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { BoolFieldUpdateOperationsInput } from '../prisma/bool-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { GraphQLJSON } from 'graphql-type-json'; -import * as Validator from 'class-validator'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -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'; -import { CommentThreadUncheckedUpdateManyWithoutAuthorNestedInput } from '../comment-thread/comment-thread-unchecked-update-many-without-author-nested.input'; -import { CommentThreadUncheckedUpdateManyWithoutAssigneeNestedInput } from '../comment-thread/comment-thread-unchecked-update-many-without-assignee-nested.input'; - -@InputType() -export class UserUncheckedUpdateWithoutRefreshTokensInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - firstName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - lastName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - email?: StringFieldUpdateOperationsInput; - - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - emailVerified?: BoolFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - avatarUrl?: NullableStringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - locale?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - phoneNumber?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - lastSeen?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - disabled?: BoolFieldUpdateOperationsInput; - - @HideField() - passwordHash?: NullableStringFieldUpdateOperationsInput; - - @Field(() => GraphQLJSON, {nullable:true}) - @Validator.IsJSON() - @Validator.IsOptional() - metadata?: any; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - settingsId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @HideField() - workspaceMember?: WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput; - - @Field(() => CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput, {nullable:true}) - companies?: CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput; - - @Field(() => CommentUncheckedUpdateManyWithoutAuthorNestedInput, {nullable:true}) - comments?: CommentUncheckedUpdateManyWithoutAuthorNestedInput; - - @Field(() => CommentThreadUncheckedUpdateManyWithoutAuthorNestedInput, {nullable:true}) - authoredCommentThreads?: CommentThreadUncheckedUpdateManyWithoutAuthorNestedInput; - - @Field(() => CommentThreadUncheckedUpdateManyWithoutAssigneeNestedInput, {nullable:true}) - assignedCommentThreads?: CommentThreadUncheckedUpdateManyWithoutAssigneeNestedInput; -} diff --git a/server/src/core/@generated/user/user-unchecked-update-without-settings.input.ts b/server/src/core/@generated/user/user-unchecked-update-without-settings.input.ts deleted file mode 100644 index 15491459d..000000000 --- a/server/src/core/@generated/user/user-unchecked-update-without-settings.input.ts +++ /dev/null @@ -1,85 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { BoolFieldUpdateOperationsInput } from '../prisma/bool-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { GraphQLJSON } from 'graphql-type-json'; -import * as Validator from 'class-validator'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -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'; -import { CommentThreadUncheckedUpdateManyWithoutAuthorNestedInput } from '../comment-thread/comment-thread-unchecked-update-many-without-author-nested.input'; -import { CommentThreadUncheckedUpdateManyWithoutAssigneeNestedInput } from '../comment-thread/comment-thread-unchecked-update-many-without-assignee-nested.input'; - -@InputType() -export class UserUncheckedUpdateWithoutSettingsInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - firstName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - lastName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - email?: StringFieldUpdateOperationsInput; - - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - emailVerified?: BoolFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - avatarUrl?: NullableStringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - locale?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - phoneNumber?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - lastSeen?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - disabled?: BoolFieldUpdateOperationsInput; - - @HideField() - passwordHash?: NullableStringFieldUpdateOperationsInput; - - @Field(() => GraphQLJSON, {nullable:true}) - @Validator.IsJSON() - @Validator.IsOptional() - metadata?: any; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @HideField() - workspaceMember?: WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput; - - @Field(() => CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput, {nullable:true}) - companies?: CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput; - - @HideField() - refreshTokens?: RefreshTokenUncheckedUpdateManyWithoutUserNestedInput; - - @Field(() => CommentUncheckedUpdateManyWithoutAuthorNestedInput, {nullable:true}) - comments?: CommentUncheckedUpdateManyWithoutAuthorNestedInput; - - @Field(() => CommentThreadUncheckedUpdateManyWithoutAuthorNestedInput, {nullable:true}) - authoredCommentThreads?: CommentThreadUncheckedUpdateManyWithoutAuthorNestedInput; - - @Field(() => CommentThreadUncheckedUpdateManyWithoutAssigneeNestedInput, {nullable:true}) - assignedCommentThreads?: CommentThreadUncheckedUpdateManyWithoutAssigneeNestedInput; -} diff --git a/server/src/core/@generated/user/user-unchecked-update-without-workspace-member.input.ts b/server/src/core/@generated/user/user-unchecked-update-without-workspace-member.input.ts deleted file mode 100644 index 5d462d7c1..000000000 --- a/server/src/core/@generated/user/user-unchecked-update-without-workspace-member.input.ts +++ /dev/null @@ -1,84 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { BoolFieldUpdateOperationsInput } from '../prisma/bool-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { GraphQLJSON } from 'graphql-type-json'; -import * as Validator from 'class-validator'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.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'; -import { CommentThreadUncheckedUpdateManyWithoutAuthorNestedInput } from '../comment-thread/comment-thread-unchecked-update-many-without-author-nested.input'; -import { CommentThreadUncheckedUpdateManyWithoutAssigneeNestedInput } from '../comment-thread/comment-thread-unchecked-update-many-without-assignee-nested.input'; - -@InputType() -export class UserUncheckedUpdateWithoutWorkspaceMemberInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - firstName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - lastName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - email?: StringFieldUpdateOperationsInput; - - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - emailVerified?: BoolFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - avatarUrl?: NullableStringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - locale?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - phoneNumber?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - lastSeen?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - disabled?: BoolFieldUpdateOperationsInput; - - @HideField() - passwordHash?: NullableStringFieldUpdateOperationsInput; - - @Field(() => GraphQLJSON, {nullable:true}) - @Validator.IsJSON() - @Validator.IsOptional() - metadata?: any; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - settingsId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput, {nullable:true}) - companies?: CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput; - - @HideField() - refreshTokens?: RefreshTokenUncheckedUpdateManyWithoutUserNestedInput; - - @Field(() => CommentUncheckedUpdateManyWithoutAuthorNestedInput, {nullable:true}) - comments?: CommentUncheckedUpdateManyWithoutAuthorNestedInput; - - @Field(() => CommentThreadUncheckedUpdateManyWithoutAuthorNestedInput, {nullable:true}) - authoredCommentThreads?: CommentThreadUncheckedUpdateManyWithoutAuthorNestedInput; - - @Field(() => CommentThreadUncheckedUpdateManyWithoutAssigneeNestedInput, {nullable:true}) - assignedCommentThreads?: CommentThreadUncheckedUpdateManyWithoutAssigneeNestedInput; -} diff --git a/server/src/core/@generated/user/user-unchecked-update.input.ts b/server/src/core/@generated/user/user-unchecked-update.input.ts deleted file mode 100644 index 828179bbd..000000000 --- a/server/src/core/@generated/user/user-unchecked-update.input.ts +++ /dev/null @@ -1,88 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { BoolFieldUpdateOperationsInput } from '../prisma/bool-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { GraphQLJSON } from 'graphql-type-json'; -import * as Validator from 'class-validator'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -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'; -import { CommentThreadUncheckedUpdateManyWithoutAuthorNestedInput } from '../comment-thread/comment-thread-unchecked-update-many-without-author-nested.input'; -import { CommentThreadUncheckedUpdateManyWithoutAssigneeNestedInput } from '../comment-thread/comment-thread-unchecked-update-many-without-assignee-nested.input'; - -@InputType() -export class UserUncheckedUpdateInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - firstName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - lastName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - email?: StringFieldUpdateOperationsInput; - - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - emailVerified?: BoolFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - avatarUrl?: NullableStringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - locale?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - phoneNumber?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - lastSeen?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - disabled?: BoolFieldUpdateOperationsInput; - - @HideField() - passwordHash?: NullableStringFieldUpdateOperationsInput; - - @Field(() => GraphQLJSON, {nullable:true}) - @Validator.IsJSON() - @Validator.IsOptional() - metadata?: any; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - settingsId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @HideField() - workspaceMember?: WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput; - - @Field(() => CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput, {nullable:true}) - companies?: CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput; - - @HideField() - refreshTokens?: RefreshTokenUncheckedUpdateManyWithoutUserNestedInput; - - @Field(() => CommentUncheckedUpdateManyWithoutAuthorNestedInput, {nullable:true}) - comments?: CommentUncheckedUpdateManyWithoutAuthorNestedInput; - - @Field(() => CommentThreadUncheckedUpdateManyWithoutAuthorNestedInput, {nullable:true}) - authoredCommentThreads?: CommentThreadUncheckedUpdateManyWithoutAuthorNestedInput; - - @Field(() => CommentThreadUncheckedUpdateManyWithoutAssigneeNestedInput, {nullable:true}) - assignedCommentThreads?: CommentThreadUncheckedUpdateManyWithoutAssigneeNestedInput; -} diff --git a/server/src/core/@generated/user/user-update-many-mutation.input.ts b/server/src/core/@generated/user/user-update-many-mutation.input.ts deleted file mode 100644 index 160080960..000000000 --- a/server/src/core/@generated/user/user-update-many-mutation.input.ts +++ /dev/null @@ -1,61 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { BoolFieldUpdateOperationsInput } from '../prisma/bool-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { GraphQLJSON } from 'graphql-type-json'; -import * as Validator from 'class-validator'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class UserUpdateManyMutationInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - firstName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - lastName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - email?: StringFieldUpdateOperationsInput; - - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - emailVerified?: BoolFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - avatarUrl?: NullableStringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - locale?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - phoneNumber?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - lastSeen?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - disabled?: BoolFieldUpdateOperationsInput; - - @HideField() - passwordHash?: NullableStringFieldUpdateOperationsInput; - - @Field(() => GraphQLJSON, {nullable:true}) - @Validator.IsJSON() - @Validator.IsOptional() - metadata?: any; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/user/user-update-one-required-without-authored-comment-threads-nested.input.ts b/server/src/core/@generated/user/user-update-one-required-without-authored-comment-threads-nested.input.ts deleted file mode 100644 index 5141307a3..000000000 --- a/server/src/core/@generated/user/user-update-one-required-without-authored-comment-threads-nested.input.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { UserCreateWithoutAuthoredCommentThreadsInput } from './user-create-without-authored-comment-threads.input'; -import { Type } from 'class-transformer'; -import { UserCreateOrConnectWithoutAuthoredCommentThreadsInput } from './user-create-or-connect-without-authored-comment-threads.input'; -import { UserUpsertWithoutAuthoredCommentThreadsInput } from './user-upsert-without-authored-comment-threads.input'; -import { UserWhereUniqueInput } from './user-where-unique.input'; -import { UserUpdateWithoutAuthoredCommentThreadsInput } from './user-update-without-authored-comment-threads.input'; - -@InputType() -export class UserUpdateOneRequiredWithoutAuthoredCommentThreadsNestedInput { - - @Field(() => UserCreateWithoutAuthoredCommentThreadsInput, {nullable:true}) - @Type(() => UserCreateWithoutAuthoredCommentThreadsInput) - create?: UserCreateWithoutAuthoredCommentThreadsInput; - - @Field(() => UserCreateOrConnectWithoutAuthoredCommentThreadsInput, {nullable:true}) - @Type(() => UserCreateOrConnectWithoutAuthoredCommentThreadsInput) - connectOrCreate?: UserCreateOrConnectWithoutAuthoredCommentThreadsInput; - - @Field(() => UserUpsertWithoutAuthoredCommentThreadsInput, {nullable:true}) - @Type(() => UserUpsertWithoutAuthoredCommentThreadsInput) - upsert?: UserUpsertWithoutAuthoredCommentThreadsInput; - - @Field(() => UserWhereUniqueInput, {nullable:true}) - @Type(() => UserWhereUniqueInput) - connect?: UserWhereUniqueInput; - - @Field(() => UserUpdateWithoutAuthoredCommentThreadsInput, {nullable:true}) - @Type(() => UserUpdateWithoutAuthoredCommentThreadsInput) - update?: UserUpdateWithoutAuthoredCommentThreadsInput; -} diff --git a/server/src/core/@generated/user/user-update-one-required-without-comment-thread-nested.input.ts b/server/src/core/@generated/user/user-update-one-required-without-comment-thread-nested.input.ts deleted file mode 100644 index d57bab765..000000000 --- a/server/src/core/@generated/user/user-update-one-required-without-comment-thread-nested.input.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { UserCreateWithoutCommentThreadInput } from './user-create-without-comment-thread.input'; -import { Type } from 'class-transformer'; -import { UserCreateOrConnectWithoutCommentThreadInput } from './user-create-or-connect-without-comment-thread.input'; -import { UserUpsertWithoutCommentThreadInput } from './user-upsert-without-comment-thread.input'; -import { UserWhereUniqueInput } from './user-where-unique.input'; -import { UserUpdateWithoutCommentThreadInput } from './user-update-without-comment-thread.input'; - -@InputType() -export class UserUpdateOneRequiredWithoutCommentThreadNestedInput { - - @Field(() => UserCreateWithoutCommentThreadInput, {nullable:true}) - @Type(() => UserCreateWithoutCommentThreadInput) - create?: UserCreateWithoutCommentThreadInput; - - @Field(() => UserCreateOrConnectWithoutCommentThreadInput, {nullable:true}) - @Type(() => UserCreateOrConnectWithoutCommentThreadInput) - connectOrCreate?: UserCreateOrConnectWithoutCommentThreadInput; - - @Field(() => UserUpsertWithoutCommentThreadInput, {nullable:true}) - @Type(() => UserUpsertWithoutCommentThreadInput) - upsert?: UserUpsertWithoutCommentThreadInput; - - @Field(() => UserWhereUniqueInput, {nullable:true}) - @Type(() => UserWhereUniqueInput) - connect?: UserWhereUniqueInput; - - @Field(() => UserUpdateWithoutCommentThreadInput, {nullable:true}) - @Type(() => UserUpdateWithoutCommentThreadInput) - update?: UserUpdateWithoutCommentThreadInput; -} diff --git a/server/src/core/@generated/user/user-update-one-required-without-comments-nested.input.ts b/server/src/core/@generated/user/user-update-one-required-without-comments-nested.input.ts deleted file mode 100644 index 06ea6c039..000000000 --- a/server/src/core/@generated/user/user-update-one-required-without-comments-nested.input.ts +++ /dev/null @@ -1,32 +0,0 @@ -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/core/@generated/user/user-update-one-required-without-refresh-tokens-nested.input.ts b/server/src/core/@generated/user/user-update-one-required-without-refresh-tokens-nested.input.ts deleted file mode 100644 index 88fc63cbe..000000000 --- a/server/src/core/@generated/user/user-update-one-required-without-refresh-tokens-nested.input.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { UserCreateWithoutRefreshTokensInput } from './user-create-without-refresh-tokens.input'; -import { Type } from 'class-transformer'; -import { UserCreateOrConnectWithoutRefreshTokensInput } from './user-create-or-connect-without-refresh-tokens.input'; -import { UserUpsertWithoutRefreshTokensInput } from './user-upsert-without-refresh-tokens.input'; -import { UserWhereUniqueInput } from './user-where-unique.input'; -import { UserUpdateWithoutRefreshTokensInput } from './user-update-without-refresh-tokens.input'; - -@InputType() -export class UserUpdateOneRequiredWithoutRefreshTokensNestedInput { - - @Field(() => UserCreateWithoutRefreshTokensInput, {nullable:true}) - @Type(() => UserCreateWithoutRefreshTokensInput) - create?: UserCreateWithoutRefreshTokensInput; - - @Field(() => UserCreateOrConnectWithoutRefreshTokensInput, {nullable:true}) - @Type(() => UserCreateOrConnectWithoutRefreshTokensInput) - connectOrCreate?: UserCreateOrConnectWithoutRefreshTokensInput; - - @Field(() => UserUpsertWithoutRefreshTokensInput, {nullable:true}) - @Type(() => UserUpsertWithoutRefreshTokensInput) - upsert?: UserUpsertWithoutRefreshTokensInput; - - @Field(() => UserWhereUniqueInput, {nullable:true}) - @Type(() => UserWhereUniqueInput) - connect?: UserWhereUniqueInput; - - @Field(() => UserUpdateWithoutRefreshTokensInput, {nullable:true}) - @Type(() => UserUpdateWithoutRefreshTokensInput) - update?: UserUpdateWithoutRefreshTokensInput; -} diff --git a/server/src/core/@generated/user/user-update-one-required-without-workspace-member-nested.input.ts b/server/src/core/@generated/user/user-update-one-required-without-workspace-member-nested.input.ts deleted file mode 100644 index 84989a6a7..000000000 --- a/server/src/core/@generated/user/user-update-one-required-without-workspace-member-nested.input.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { UserCreateWithoutWorkspaceMemberInput } from './user-create-without-workspace-member.input'; -import { Type } from 'class-transformer'; -import { UserCreateOrConnectWithoutWorkspaceMemberInput } from './user-create-or-connect-without-workspace-member.input'; -import { UserUpsertWithoutWorkspaceMemberInput } from './user-upsert-without-workspace-member.input'; -import { UserWhereUniqueInput } from './user-where-unique.input'; -import { UserUpdateWithoutWorkspaceMemberInput } from './user-update-without-workspace-member.input'; - -@InputType() -export class UserUpdateOneRequiredWithoutWorkspaceMemberNestedInput { - - @Field(() => UserCreateWithoutWorkspaceMemberInput, {nullable:true}) - @Type(() => UserCreateWithoutWorkspaceMemberInput) - create?: UserCreateWithoutWorkspaceMemberInput; - - @Field(() => UserCreateOrConnectWithoutWorkspaceMemberInput, {nullable:true}) - @Type(() => UserCreateOrConnectWithoutWorkspaceMemberInput) - connectOrCreate?: UserCreateOrConnectWithoutWorkspaceMemberInput; - - @Field(() => UserUpsertWithoutWorkspaceMemberInput, {nullable:true}) - @Type(() => UserUpsertWithoutWorkspaceMemberInput) - upsert?: UserUpsertWithoutWorkspaceMemberInput; - - @Field(() => UserWhereUniqueInput, {nullable:true}) - @Type(() => UserWhereUniqueInput) - connect?: UserWhereUniqueInput; - - @Field(() => UserUpdateWithoutWorkspaceMemberInput, {nullable:true}) - @Type(() => UserUpdateWithoutWorkspaceMemberInput) - update?: UserUpdateWithoutWorkspaceMemberInput; -} diff --git a/server/src/core/@generated/user/user-update-one-without-assigned-comment-threads-nested.input.ts b/server/src/core/@generated/user/user-update-one-without-assigned-comment-threads-nested.input.ts deleted file mode 100644 index 0fa333334..000000000 --- a/server/src/core/@generated/user/user-update-one-without-assigned-comment-threads-nested.input.ts +++ /dev/null @@ -1,38 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { UserCreateWithoutAssignedCommentThreadsInput } from './user-create-without-assigned-comment-threads.input'; -import { Type } from 'class-transformer'; -import { UserCreateOrConnectWithoutAssignedCommentThreadsInput } from './user-create-or-connect-without-assigned-comment-threads.input'; -import { UserUpsertWithoutAssignedCommentThreadsInput } from './user-upsert-without-assigned-comment-threads.input'; -import { UserWhereUniqueInput } from './user-where-unique.input'; -import { UserUpdateWithoutAssignedCommentThreadsInput } from './user-update-without-assigned-comment-threads.input'; - -@InputType() -export class UserUpdateOneWithoutAssignedCommentThreadsNestedInput { - - @Field(() => UserCreateWithoutAssignedCommentThreadsInput, {nullable:true}) - @Type(() => UserCreateWithoutAssignedCommentThreadsInput) - create?: UserCreateWithoutAssignedCommentThreadsInput; - - @Field(() => UserCreateOrConnectWithoutAssignedCommentThreadsInput, {nullable:true}) - @Type(() => UserCreateOrConnectWithoutAssignedCommentThreadsInput) - connectOrCreate?: UserCreateOrConnectWithoutAssignedCommentThreadsInput; - - @Field(() => UserUpsertWithoutAssignedCommentThreadsInput, {nullable:true}) - @Type(() => UserUpsertWithoutAssignedCommentThreadsInput) - upsert?: UserUpsertWithoutAssignedCommentThreadsInput; - - @Field(() => Boolean, {nullable:true}) - disconnect?: boolean; - - @Field(() => Boolean, {nullable:true}) - delete?: boolean; - - @Field(() => UserWhereUniqueInput, {nullable:true}) - @Type(() => UserWhereUniqueInput) - connect?: UserWhereUniqueInput; - - @Field(() => UserUpdateWithoutAssignedCommentThreadsInput, {nullable:true}) - @Type(() => UserUpdateWithoutAssignedCommentThreadsInput) - update?: UserUpdateWithoutAssignedCommentThreadsInput; -} diff --git a/server/src/core/@generated/user/user-update-one-without-companies-nested.input.ts b/server/src/core/@generated/user/user-update-one-without-companies-nested.input.ts deleted file mode 100644 index 2b2dd97fa..000000000 --- a/server/src/core/@generated/user/user-update-one-without-companies-nested.input.ts +++ /dev/null @@ -1,35 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { UserCreateWithoutCompaniesInput } from './user-create-without-companies.input'; -import { HideField } from '@nestjs/graphql'; -import { UserCreateOrConnectWithoutCompaniesInput } from './user-create-or-connect-without-companies.input'; -import { UserUpsertWithoutCompaniesInput } from './user-upsert-without-companies.input'; -import { UserWhereUniqueInput } from './user-where-unique.input'; -import { Type } from 'class-transformer'; -import { UserUpdateWithoutCompaniesInput } from './user-update-without-companies.input'; - -@InputType() -export class UserUpdateOneWithoutCompaniesNestedInput { - - @HideField() - create?: UserCreateWithoutCompaniesInput; - - @HideField() - connectOrCreate?: UserCreateOrConnectWithoutCompaniesInput; - - @HideField() - upsert?: UserUpsertWithoutCompaniesInput; - - @HideField() - disconnect?: boolean; - - @HideField() - delete?: boolean; - - @Field(() => UserWhereUniqueInput, {nullable:true}) - @Type(() => UserWhereUniqueInput) - connect?: UserWhereUniqueInput; - - @HideField() - update?: UserUpdateWithoutCompaniesInput; -} diff --git a/server/src/core/@generated/user/user-update-one-without-settings-nested.input.ts b/server/src/core/@generated/user/user-update-one-without-settings-nested.input.ts deleted file mode 100644 index 21298c5bb..000000000 --- a/server/src/core/@generated/user/user-update-one-without-settings-nested.input.ts +++ /dev/null @@ -1,38 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { UserCreateWithoutSettingsInput } from './user-create-without-settings.input'; -import { Type } from 'class-transformer'; -import { UserCreateOrConnectWithoutSettingsInput } from './user-create-or-connect-without-settings.input'; -import { UserUpsertWithoutSettingsInput } from './user-upsert-without-settings.input'; -import { UserWhereUniqueInput } from './user-where-unique.input'; -import { UserUpdateWithoutSettingsInput } from './user-update-without-settings.input'; - -@InputType() -export class UserUpdateOneWithoutSettingsNestedInput { - - @Field(() => UserCreateWithoutSettingsInput, {nullable:true}) - @Type(() => UserCreateWithoutSettingsInput) - create?: UserCreateWithoutSettingsInput; - - @Field(() => UserCreateOrConnectWithoutSettingsInput, {nullable:true}) - @Type(() => UserCreateOrConnectWithoutSettingsInput) - connectOrCreate?: UserCreateOrConnectWithoutSettingsInput; - - @Field(() => UserUpsertWithoutSettingsInput, {nullable:true}) - @Type(() => UserUpsertWithoutSettingsInput) - upsert?: UserUpsertWithoutSettingsInput; - - @Field(() => Boolean, {nullable:true}) - disconnect?: boolean; - - @Field(() => Boolean, {nullable:true}) - delete?: boolean; - - @Field(() => UserWhereUniqueInput, {nullable:true}) - @Type(() => UserWhereUniqueInput) - connect?: UserWhereUniqueInput; - - @Field(() => UserUpdateWithoutSettingsInput, {nullable:true}) - @Type(() => UserUpdateWithoutSettingsInput) - update?: UserUpdateWithoutSettingsInput; -} diff --git a/server/src/core/@generated/user/user-update-without-assigned-comment-threads.input.ts b/server/src/core/@generated/user/user-update-without-assigned-comment-threads.input.ts deleted file mode 100644 index 1db786dd4..000000000 --- a/server/src/core/@generated/user/user-update-without-assigned-comment-threads.input.ts +++ /dev/null @@ -1,85 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { BoolFieldUpdateOperationsInput } from '../prisma/bool-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { GraphQLJSON } from 'graphql-type-json'; -import * as Validator from 'class-validator'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -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'; -import { CommentThreadUpdateManyWithoutAuthorNestedInput } from '../comment-thread/comment-thread-update-many-without-author-nested.input'; -import { UserSettingsUpdateOneRequiredWithoutUserNestedInput } from '../user-settings/user-settings-update-one-required-without-user-nested.input'; - -@InputType() -export class UserUpdateWithoutAssignedCommentThreadsInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - firstName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - lastName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - email?: StringFieldUpdateOperationsInput; - - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - emailVerified?: BoolFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - avatarUrl?: NullableStringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - locale?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - phoneNumber?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - lastSeen?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - disabled?: BoolFieldUpdateOperationsInput; - - @HideField() - passwordHash?: NullableStringFieldUpdateOperationsInput; - - @Field(() => GraphQLJSON, {nullable:true}) - @Validator.IsJSON() - @Validator.IsOptional() - metadata?: any; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @HideField() - workspaceMember?: WorkspaceMemberUpdateOneWithoutUserNestedInput; - - @Field(() => CompanyUpdateManyWithoutAccountOwnerNestedInput, {nullable:true}) - companies?: CompanyUpdateManyWithoutAccountOwnerNestedInput; - - @HideField() - refreshTokens?: RefreshTokenUpdateManyWithoutUserNestedInput; - - @Field(() => CommentUpdateManyWithoutAuthorNestedInput, {nullable:true}) - comments?: CommentUpdateManyWithoutAuthorNestedInput; - - @Field(() => CommentThreadUpdateManyWithoutAuthorNestedInput, {nullable:true}) - authoredCommentThreads?: CommentThreadUpdateManyWithoutAuthorNestedInput; - - @Field(() => UserSettingsUpdateOneRequiredWithoutUserNestedInput, {nullable:true}) - settings?: UserSettingsUpdateOneRequiredWithoutUserNestedInput; -} diff --git a/server/src/core/@generated/user/user-update-without-authored-comment-threads.input.ts b/server/src/core/@generated/user/user-update-without-authored-comment-threads.input.ts deleted file mode 100644 index ac65e28c5..000000000 --- a/server/src/core/@generated/user/user-update-without-authored-comment-threads.input.ts +++ /dev/null @@ -1,85 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { BoolFieldUpdateOperationsInput } from '../prisma/bool-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { GraphQLJSON } from 'graphql-type-json'; -import * as Validator from 'class-validator'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -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'; -import { CommentThreadUpdateManyWithoutAssigneeNestedInput } from '../comment-thread/comment-thread-update-many-without-assignee-nested.input'; -import { UserSettingsUpdateOneRequiredWithoutUserNestedInput } from '../user-settings/user-settings-update-one-required-without-user-nested.input'; - -@InputType() -export class UserUpdateWithoutAuthoredCommentThreadsInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - firstName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - lastName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - email?: StringFieldUpdateOperationsInput; - - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - emailVerified?: BoolFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - avatarUrl?: NullableStringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - locale?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - phoneNumber?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - lastSeen?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - disabled?: BoolFieldUpdateOperationsInput; - - @HideField() - passwordHash?: NullableStringFieldUpdateOperationsInput; - - @Field(() => GraphQLJSON, {nullable:true}) - @Validator.IsJSON() - @Validator.IsOptional() - metadata?: any; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @HideField() - workspaceMember?: WorkspaceMemberUpdateOneWithoutUserNestedInput; - - @Field(() => CompanyUpdateManyWithoutAccountOwnerNestedInput, {nullable:true}) - companies?: CompanyUpdateManyWithoutAccountOwnerNestedInput; - - @HideField() - refreshTokens?: RefreshTokenUpdateManyWithoutUserNestedInput; - - @Field(() => CommentUpdateManyWithoutAuthorNestedInput, {nullable:true}) - comments?: CommentUpdateManyWithoutAuthorNestedInput; - - @Field(() => CommentThreadUpdateManyWithoutAssigneeNestedInput, {nullable:true}) - assignedCommentThreads?: CommentThreadUpdateManyWithoutAssigneeNestedInput; - - @Field(() => UserSettingsUpdateOneRequiredWithoutUserNestedInput, {nullable:true}) - settings?: UserSettingsUpdateOneRequiredWithoutUserNestedInput; -} diff --git a/server/src/core/@generated/user/user-update-without-comment-thread.input.ts b/server/src/core/@generated/user/user-update-without-comment-thread.input.ts deleted file mode 100644 index 955038510..000000000 --- a/server/src/core/@generated/user/user-update-without-comment-thread.input.ts +++ /dev/null @@ -1,77 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { BoolFieldUpdateOperationsInput } from '../prisma/bool-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { GraphQLJSON } from 'graphql-type-json'; -import * as Validator from 'class-validator'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -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 UserUpdateWithoutCommentThreadInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - firstName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - lastName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - email?: StringFieldUpdateOperationsInput; - - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - emailVerified?: BoolFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - avatarUrl?: NullableStringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - locale?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - phoneNumber?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - lastSeen?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - disabled?: BoolFieldUpdateOperationsInput; - - @HideField() - passwordHash?: NullableStringFieldUpdateOperationsInput; - - @Field(() => GraphQLJSON, {nullable:true}) - @Validator.IsJSON() - @Validator.IsOptional() - metadata?: any; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @HideField() - workspaceMember?: WorkspaceMemberUpdateOneWithoutUserNestedInput; - - @Field(() => CompanyUpdateManyWithoutAccountOwnerNestedInput, {nullable:true}) - companies?: CompanyUpdateManyWithoutAccountOwnerNestedInput; - - @HideField() - refreshTokens?: RefreshTokenUpdateManyWithoutUserNestedInput; - - @Field(() => CommentUpdateManyWithoutAuthorNestedInput, {nullable:true}) - comments?: CommentUpdateManyWithoutAuthorNestedInput; -} diff --git a/server/src/core/@generated/user/user-update-without-comments.input.ts b/server/src/core/@generated/user/user-update-without-comments.input.ts deleted file mode 100644 index bb716c4ec..000000000 --- a/server/src/core/@generated/user/user-update-without-comments.input.ts +++ /dev/null @@ -1,85 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { BoolFieldUpdateOperationsInput } from '../prisma/bool-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { GraphQLJSON } from 'graphql-type-json'; -import * as Validator from 'class-validator'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -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 { CommentThreadUpdateManyWithoutAuthorNestedInput } from '../comment-thread/comment-thread-update-many-without-author-nested.input'; -import { CommentThreadUpdateManyWithoutAssigneeNestedInput } from '../comment-thread/comment-thread-update-many-without-assignee-nested.input'; -import { UserSettingsUpdateOneRequiredWithoutUserNestedInput } from '../user-settings/user-settings-update-one-required-without-user-nested.input'; - -@InputType() -export class UserUpdateWithoutCommentsInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - firstName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - lastName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - email?: StringFieldUpdateOperationsInput; - - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - emailVerified?: BoolFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - avatarUrl?: NullableStringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - locale?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - phoneNumber?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - lastSeen?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - disabled?: BoolFieldUpdateOperationsInput; - - @HideField() - passwordHash?: NullableStringFieldUpdateOperationsInput; - - @Field(() => GraphQLJSON, {nullable:true}) - @Validator.IsJSON() - @Validator.IsOptional() - metadata?: any; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @HideField() - workspaceMember?: WorkspaceMemberUpdateOneWithoutUserNestedInput; - - @Field(() => CompanyUpdateManyWithoutAccountOwnerNestedInput, {nullable:true}) - companies?: CompanyUpdateManyWithoutAccountOwnerNestedInput; - - @HideField() - refreshTokens?: RefreshTokenUpdateManyWithoutUserNestedInput; - - @Field(() => CommentThreadUpdateManyWithoutAuthorNestedInput, {nullable:true}) - authoredCommentThreads?: CommentThreadUpdateManyWithoutAuthorNestedInput; - - @Field(() => CommentThreadUpdateManyWithoutAssigneeNestedInput, {nullable:true}) - assignedCommentThreads?: CommentThreadUpdateManyWithoutAssigneeNestedInput; - - @Field(() => UserSettingsUpdateOneRequiredWithoutUserNestedInput, {nullable:true}) - settings?: UserSettingsUpdateOneRequiredWithoutUserNestedInput; -} diff --git a/server/src/core/@generated/user/user-update-without-companies.input.ts b/server/src/core/@generated/user/user-update-without-companies.input.ts deleted file mode 100644 index c85f487e5..000000000 --- a/server/src/core/@generated/user/user-update-without-companies.input.ts +++ /dev/null @@ -1,85 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { BoolFieldUpdateOperationsInput } from '../prisma/bool-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { GraphQLJSON } from 'graphql-type-json'; -import * as Validator from 'class-validator'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -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'; -import { CommentThreadUpdateManyWithoutAuthorNestedInput } from '../comment-thread/comment-thread-update-many-without-author-nested.input'; -import { CommentThreadUpdateManyWithoutAssigneeNestedInput } from '../comment-thread/comment-thread-update-many-without-assignee-nested.input'; -import { UserSettingsUpdateOneRequiredWithoutUserNestedInput } from '../user-settings/user-settings-update-one-required-without-user-nested.input'; - -@InputType() -export class UserUpdateWithoutCompaniesInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - firstName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - lastName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - email?: StringFieldUpdateOperationsInput; - - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - emailVerified?: BoolFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - avatarUrl?: NullableStringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - locale?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - phoneNumber?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - lastSeen?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - disabled?: BoolFieldUpdateOperationsInput; - - @HideField() - passwordHash?: NullableStringFieldUpdateOperationsInput; - - @Field(() => GraphQLJSON, {nullable:true}) - @Validator.IsJSON() - @Validator.IsOptional() - metadata?: any; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @HideField() - workspaceMember?: WorkspaceMemberUpdateOneWithoutUserNestedInput; - - @HideField() - refreshTokens?: RefreshTokenUpdateManyWithoutUserNestedInput; - - @Field(() => CommentUpdateManyWithoutAuthorNestedInput, {nullable:true}) - comments?: CommentUpdateManyWithoutAuthorNestedInput; - - @Field(() => CommentThreadUpdateManyWithoutAuthorNestedInput, {nullable:true}) - authoredCommentThreads?: CommentThreadUpdateManyWithoutAuthorNestedInput; - - @Field(() => CommentThreadUpdateManyWithoutAssigneeNestedInput, {nullable:true}) - assignedCommentThreads?: CommentThreadUpdateManyWithoutAssigneeNestedInput; - - @Field(() => UserSettingsUpdateOneRequiredWithoutUserNestedInput, {nullable:true}) - settings?: UserSettingsUpdateOneRequiredWithoutUserNestedInput; -} diff --git a/server/src/core/@generated/user/user-update-without-refresh-tokens.input.ts b/server/src/core/@generated/user/user-update-without-refresh-tokens.input.ts deleted file mode 100644 index 976fcc263..000000000 --- a/server/src/core/@generated/user/user-update-without-refresh-tokens.input.ts +++ /dev/null @@ -1,85 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { BoolFieldUpdateOperationsInput } from '../prisma/bool-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { GraphQLJSON } from 'graphql-type-json'; -import * as Validator from 'class-validator'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -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'; -import { CommentThreadUpdateManyWithoutAuthorNestedInput } from '../comment-thread/comment-thread-update-many-without-author-nested.input'; -import { CommentThreadUpdateManyWithoutAssigneeNestedInput } from '../comment-thread/comment-thread-update-many-without-assignee-nested.input'; -import { UserSettingsUpdateOneRequiredWithoutUserNestedInput } from '../user-settings/user-settings-update-one-required-without-user-nested.input'; - -@InputType() -export class UserUpdateWithoutRefreshTokensInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - firstName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - lastName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - email?: StringFieldUpdateOperationsInput; - - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - emailVerified?: BoolFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - avatarUrl?: NullableStringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - locale?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - phoneNumber?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - lastSeen?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - disabled?: BoolFieldUpdateOperationsInput; - - @HideField() - passwordHash?: NullableStringFieldUpdateOperationsInput; - - @Field(() => GraphQLJSON, {nullable:true}) - @Validator.IsJSON() - @Validator.IsOptional() - metadata?: any; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @HideField() - workspaceMember?: WorkspaceMemberUpdateOneWithoutUserNestedInput; - - @Field(() => CompanyUpdateManyWithoutAccountOwnerNestedInput, {nullable:true}) - companies?: CompanyUpdateManyWithoutAccountOwnerNestedInput; - - @Field(() => CommentUpdateManyWithoutAuthorNestedInput, {nullable:true}) - comments?: CommentUpdateManyWithoutAuthorNestedInput; - - @Field(() => CommentThreadUpdateManyWithoutAuthorNestedInput, {nullable:true}) - authoredCommentThreads?: CommentThreadUpdateManyWithoutAuthorNestedInput; - - @Field(() => CommentThreadUpdateManyWithoutAssigneeNestedInput, {nullable:true}) - assignedCommentThreads?: CommentThreadUpdateManyWithoutAssigneeNestedInput; - - @Field(() => UserSettingsUpdateOneRequiredWithoutUserNestedInput, {nullable:true}) - settings?: UserSettingsUpdateOneRequiredWithoutUserNestedInput; -} diff --git a/server/src/core/@generated/user/user-update-without-settings.input.ts b/server/src/core/@generated/user/user-update-without-settings.input.ts deleted file mode 100644 index 1f3dd4a85..000000000 --- a/server/src/core/@generated/user/user-update-without-settings.input.ts +++ /dev/null @@ -1,85 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { BoolFieldUpdateOperationsInput } from '../prisma/bool-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { GraphQLJSON } from 'graphql-type-json'; -import * as Validator from 'class-validator'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -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'; -import { CommentThreadUpdateManyWithoutAuthorNestedInput } from '../comment-thread/comment-thread-update-many-without-author-nested.input'; -import { CommentThreadUpdateManyWithoutAssigneeNestedInput } from '../comment-thread/comment-thread-update-many-without-assignee-nested.input'; - -@InputType() -export class UserUpdateWithoutSettingsInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - firstName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - lastName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - email?: StringFieldUpdateOperationsInput; - - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - emailVerified?: BoolFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - avatarUrl?: NullableStringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - locale?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - phoneNumber?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - lastSeen?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - disabled?: BoolFieldUpdateOperationsInput; - - @HideField() - passwordHash?: NullableStringFieldUpdateOperationsInput; - - @Field(() => GraphQLJSON, {nullable:true}) - @Validator.IsJSON() - @Validator.IsOptional() - metadata?: any; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @HideField() - workspaceMember?: WorkspaceMemberUpdateOneWithoutUserNestedInput; - - @Field(() => CompanyUpdateManyWithoutAccountOwnerNestedInput, {nullable:true}) - companies?: CompanyUpdateManyWithoutAccountOwnerNestedInput; - - @HideField() - refreshTokens?: RefreshTokenUpdateManyWithoutUserNestedInput; - - @Field(() => CommentUpdateManyWithoutAuthorNestedInput, {nullable:true}) - comments?: CommentUpdateManyWithoutAuthorNestedInput; - - @Field(() => CommentThreadUpdateManyWithoutAuthorNestedInput, {nullable:true}) - authoredCommentThreads?: CommentThreadUpdateManyWithoutAuthorNestedInput; - - @Field(() => CommentThreadUpdateManyWithoutAssigneeNestedInput, {nullable:true}) - assignedCommentThreads?: CommentThreadUpdateManyWithoutAssigneeNestedInput; -} diff --git a/server/src/core/@generated/user/user-update-without-workspace-member.input.ts b/server/src/core/@generated/user/user-update-without-workspace-member.input.ts deleted file mode 100644 index 37aae6af9..000000000 --- a/server/src/core/@generated/user/user-update-without-workspace-member.input.ts +++ /dev/null @@ -1,85 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { BoolFieldUpdateOperationsInput } from '../prisma/bool-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { GraphQLJSON } from 'graphql-type-json'; -import * as Validator from 'class-validator'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.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'; -import { CommentThreadUpdateManyWithoutAuthorNestedInput } from '../comment-thread/comment-thread-update-many-without-author-nested.input'; -import { CommentThreadUpdateManyWithoutAssigneeNestedInput } from '../comment-thread/comment-thread-update-many-without-assignee-nested.input'; -import { UserSettingsUpdateOneRequiredWithoutUserNestedInput } from '../user-settings/user-settings-update-one-required-without-user-nested.input'; - -@InputType() -export class UserUpdateWithoutWorkspaceMemberInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - firstName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - lastName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - email?: StringFieldUpdateOperationsInput; - - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - emailVerified?: BoolFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - avatarUrl?: NullableStringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - locale?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - phoneNumber?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - lastSeen?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - disabled?: BoolFieldUpdateOperationsInput; - - @HideField() - passwordHash?: NullableStringFieldUpdateOperationsInput; - - @Field(() => GraphQLJSON, {nullable:true}) - @Validator.IsJSON() - @Validator.IsOptional() - metadata?: any; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => CompanyUpdateManyWithoutAccountOwnerNestedInput, {nullable:true}) - companies?: CompanyUpdateManyWithoutAccountOwnerNestedInput; - - @HideField() - refreshTokens?: RefreshTokenUpdateManyWithoutUserNestedInput; - - @Field(() => CommentUpdateManyWithoutAuthorNestedInput, {nullable:true}) - comments?: CommentUpdateManyWithoutAuthorNestedInput; - - @Field(() => CommentThreadUpdateManyWithoutAuthorNestedInput, {nullable:true}) - authoredCommentThreads?: CommentThreadUpdateManyWithoutAuthorNestedInput; - - @Field(() => CommentThreadUpdateManyWithoutAssigneeNestedInput, {nullable:true}) - assignedCommentThreads?: CommentThreadUpdateManyWithoutAssigneeNestedInput; - - @Field(() => UserSettingsUpdateOneRequiredWithoutUserNestedInput, {nullable:true}) - settings?: UserSettingsUpdateOneRequiredWithoutUserNestedInput; -} diff --git a/server/src/core/@generated/user/user-update.input.ts b/server/src/core/@generated/user/user-update.input.ts deleted file mode 100644 index 76849e826..000000000 --- a/server/src/core/@generated/user/user-update.input.ts +++ /dev/null @@ -1,89 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { BoolFieldUpdateOperationsInput } from '../prisma/bool-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { GraphQLJSON } from 'graphql-type-json'; -import * as Validator from 'class-validator'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -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'; -import { CommentThreadUpdateManyWithoutAuthorNestedInput } from '../comment-thread/comment-thread-update-many-without-author-nested.input'; -import { CommentThreadUpdateManyWithoutAssigneeNestedInput } from '../comment-thread/comment-thread-update-many-without-assignee-nested.input'; -import { UserSettingsUpdateOneRequiredWithoutUserNestedInput } from '../user-settings/user-settings-update-one-required-without-user-nested.input'; - -@InputType() -export class UserUpdateInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - firstName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - lastName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - email?: StringFieldUpdateOperationsInput; - - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - emailVerified?: BoolFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - avatarUrl?: NullableStringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - locale?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - phoneNumber?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - lastSeen?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - disabled?: BoolFieldUpdateOperationsInput; - - @HideField() - passwordHash?: NullableStringFieldUpdateOperationsInput; - - @Field(() => GraphQLJSON, {nullable:true}) - @Validator.IsJSON() - @Validator.IsOptional() - metadata?: any; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @HideField() - workspaceMember?: WorkspaceMemberUpdateOneWithoutUserNestedInput; - - @Field(() => CompanyUpdateManyWithoutAccountOwnerNestedInput, {nullable:true}) - companies?: CompanyUpdateManyWithoutAccountOwnerNestedInput; - - @HideField() - refreshTokens?: RefreshTokenUpdateManyWithoutUserNestedInput; - - @Field(() => CommentUpdateManyWithoutAuthorNestedInput, {nullable:true}) - comments?: CommentUpdateManyWithoutAuthorNestedInput; - - @Field(() => CommentThreadUpdateManyWithoutAuthorNestedInput, {nullable:true}) - authoredCommentThreads?: CommentThreadUpdateManyWithoutAuthorNestedInput; - - @Field(() => CommentThreadUpdateManyWithoutAssigneeNestedInput, {nullable:true}) - assignedCommentThreads?: CommentThreadUpdateManyWithoutAssigneeNestedInput; - - @Field(() => UserSettingsUpdateOneRequiredWithoutUserNestedInput, {nullable:true}) - settings?: UserSettingsUpdateOneRequiredWithoutUserNestedInput; -} diff --git a/server/src/core/@generated/user/user-upsert-without-assigned-comment-threads.input.ts b/server/src/core/@generated/user/user-upsert-without-assigned-comment-threads.input.ts deleted file mode 100644 index 8fdff786e..000000000 --- a/server/src/core/@generated/user/user-upsert-without-assigned-comment-threads.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { UserUpdateWithoutAssignedCommentThreadsInput } from './user-update-without-assigned-comment-threads.input'; -import { Type } from 'class-transformer'; -import { UserCreateWithoutAssignedCommentThreadsInput } from './user-create-without-assigned-comment-threads.input'; - -@InputType() -export class UserUpsertWithoutAssignedCommentThreadsInput { - - @Field(() => UserUpdateWithoutAssignedCommentThreadsInput, {nullable:false}) - @Type(() => UserUpdateWithoutAssignedCommentThreadsInput) - update!: UserUpdateWithoutAssignedCommentThreadsInput; - - @Field(() => UserCreateWithoutAssignedCommentThreadsInput, {nullable:false}) - @Type(() => UserCreateWithoutAssignedCommentThreadsInput) - create!: UserCreateWithoutAssignedCommentThreadsInput; -} diff --git a/server/src/core/@generated/user/user-upsert-without-authored-comment-threads.input.ts b/server/src/core/@generated/user/user-upsert-without-authored-comment-threads.input.ts deleted file mode 100644 index dde5c1662..000000000 --- a/server/src/core/@generated/user/user-upsert-without-authored-comment-threads.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { UserUpdateWithoutAuthoredCommentThreadsInput } from './user-update-without-authored-comment-threads.input'; -import { Type } from 'class-transformer'; -import { UserCreateWithoutAuthoredCommentThreadsInput } from './user-create-without-authored-comment-threads.input'; - -@InputType() -export class UserUpsertWithoutAuthoredCommentThreadsInput { - - @Field(() => UserUpdateWithoutAuthoredCommentThreadsInput, {nullable:false}) - @Type(() => UserUpdateWithoutAuthoredCommentThreadsInput) - update!: UserUpdateWithoutAuthoredCommentThreadsInput; - - @Field(() => UserCreateWithoutAuthoredCommentThreadsInput, {nullable:false}) - @Type(() => UserCreateWithoutAuthoredCommentThreadsInput) - create!: UserCreateWithoutAuthoredCommentThreadsInput; -} diff --git a/server/src/core/@generated/user/user-upsert-without-comment-thread.input.ts b/server/src/core/@generated/user/user-upsert-without-comment-thread.input.ts deleted file mode 100644 index 5845fa912..000000000 --- a/server/src/core/@generated/user/user-upsert-without-comment-thread.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { UserUpdateWithoutCommentThreadInput } from './user-update-without-comment-thread.input'; -import { Type } from 'class-transformer'; -import { UserCreateWithoutCommentThreadInput } from './user-create-without-comment-thread.input'; - -@InputType() -export class UserUpsertWithoutCommentThreadInput { - - @Field(() => UserUpdateWithoutCommentThreadInput, {nullable:false}) - @Type(() => UserUpdateWithoutCommentThreadInput) - update!: UserUpdateWithoutCommentThreadInput; - - @Field(() => UserCreateWithoutCommentThreadInput, {nullable:false}) - @Type(() => UserCreateWithoutCommentThreadInput) - create!: UserCreateWithoutCommentThreadInput; -} diff --git a/server/src/core/@generated/user/user-upsert-without-comments.input.ts b/server/src/core/@generated/user/user-upsert-without-comments.input.ts deleted file mode 100644 index d3e83f9b9..000000000 --- a/server/src/core/@generated/user/user-upsert-without-comments.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -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/core/@generated/user/user-upsert-without-companies.input.ts b/server/src/core/@generated/user/user-upsert-without-companies.input.ts deleted file mode 100644 index f79153438..000000000 --- a/server/src/core/@generated/user/user-upsert-without-companies.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { UserUpdateWithoutCompaniesInput } from './user-update-without-companies.input'; -import { Type } from 'class-transformer'; -import { UserCreateWithoutCompaniesInput } from './user-create-without-companies.input'; - -@InputType() -export class UserUpsertWithoutCompaniesInput { - - @Field(() => UserUpdateWithoutCompaniesInput, {nullable:false}) - @Type(() => UserUpdateWithoutCompaniesInput) - update!: UserUpdateWithoutCompaniesInput; - - @Field(() => UserCreateWithoutCompaniesInput, {nullable:false}) - @Type(() => UserCreateWithoutCompaniesInput) - create!: UserCreateWithoutCompaniesInput; -} diff --git a/server/src/core/@generated/user/user-upsert-without-refresh-tokens.input.ts b/server/src/core/@generated/user/user-upsert-without-refresh-tokens.input.ts deleted file mode 100644 index afa83fc15..000000000 --- a/server/src/core/@generated/user/user-upsert-without-refresh-tokens.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { UserUpdateWithoutRefreshTokensInput } from './user-update-without-refresh-tokens.input'; -import { Type } from 'class-transformer'; -import { UserCreateWithoutRefreshTokensInput } from './user-create-without-refresh-tokens.input'; - -@InputType() -export class UserUpsertWithoutRefreshTokensInput { - - @Field(() => UserUpdateWithoutRefreshTokensInput, {nullable:false}) - @Type(() => UserUpdateWithoutRefreshTokensInput) - update!: UserUpdateWithoutRefreshTokensInput; - - @Field(() => UserCreateWithoutRefreshTokensInput, {nullable:false}) - @Type(() => UserCreateWithoutRefreshTokensInput) - create!: UserCreateWithoutRefreshTokensInput; -} diff --git a/server/src/core/@generated/user/user-upsert-without-settings.input.ts b/server/src/core/@generated/user/user-upsert-without-settings.input.ts deleted file mode 100644 index 383691c85..000000000 --- a/server/src/core/@generated/user/user-upsert-without-settings.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { UserUpdateWithoutSettingsInput } from './user-update-without-settings.input'; -import { Type } from 'class-transformer'; -import { UserCreateWithoutSettingsInput } from './user-create-without-settings.input'; - -@InputType() -export class UserUpsertWithoutSettingsInput { - - @Field(() => UserUpdateWithoutSettingsInput, {nullable:false}) - @Type(() => UserUpdateWithoutSettingsInput) - update!: UserUpdateWithoutSettingsInput; - - @Field(() => UserCreateWithoutSettingsInput, {nullable:false}) - @Type(() => UserCreateWithoutSettingsInput) - create!: UserCreateWithoutSettingsInput; -} diff --git a/server/src/core/@generated/user/user-upsert-without-workspace-member.input.ts b/server/src/core/@generated/user/user-upsert-without-workspace-member.input.ts deleted file mode 100644 index 331061475..000000000 --- a/server/src/core/@generated/user/user-upsert-without-workspace-member.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { UserUpdateWithoutWorkspaceMemberInput } from './user-update-without-workspace-member.input'; -import { Type } from 'class-transformer'; -import { UserCreateWithoutWorkspaceMemberInput } from './user-create-without-workspace-member.input'; - -@InputType() -export class UserUpsertWithoutWorkspaceMemberInput { - - @Field(() => UserUpdateWithoutWorkspaceMemberInput, {nullable:false}) - @Type(() => UserUpdateWithoutWorkspaceMemberInput) - update!: UserUpdateWithoutWorkspaceMemberInput; - - @Field(() => UserCreateWithoutWorkspaceMemberInput, {nullable:false}) - @Type(() => UserCreateWithoutWorkspaceMemberInput) - create!: UserCreateWithoutWorkspaceMemberInput; -} diff --git a/server/src/core/@generated/user/user-where-unique.input.ts b/server/src/core/@generated/user/user-where-unique.input.ts deleted file mode 100644 index f82b3a2e5..000000000 --- a/server/src/core/@generated/user/user-where-unique.input.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; - -@InputType() -export class UserWhereUniqueInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsEmail() - email?: string; - - @Field(() => String, {nullable:true}) - settingsId?: string; -} diff --git a/server/src/core/@generated/user/user-where.input.ts b/server/src/core/@generated/user/user-where.input.ts deleted file mode 100644 index 63ef5daac..000000000 --- a/server/src/core/@generated/user/user-where.input.ts +++ /dev/null @@ -1,97 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFilter } from '../prisma/string-filter.input'; -import { StringNullableFilter } from '../prisma/string-nullable-filter.input'; -import { BoolFilter } from '../prisma/bool-filter.input'; -import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input'; -import { HideField } from '@nestjs/graphql'; -import { JsonNullableFilter } from '../prisma/json-nullable-filter.input'; -import { DateTimeFilter } from '../prisma/date-time-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'; -import { CommentThreadListRelationFilter } from '../comment-thread/comment-thread-list-relation-filter.input'; -import { UserSettingsRelationFilter } from '../user-settings/user-settings-relation-filter.input'; - -@InputType() -export class UserWhereInput { - - @Field(() => [UserWhereInput], {nullable:true}) - AND?: Array; - - @Field(() => [UserWhereInput], {nullable:true}) - OR?: Array; - - @Field(() => [UserWhereInput], {nullable:true}) - NOT?: Array; - - @Field(() => StringFilter, {nullable:true}) - id?: StringFilter; - - @Field(() => StringNullableFilter, {nullable:true}) - firstName?: StringNullableFilter; - - @Field(() => StringNullableFilter, {nullable:true}) - lastName?: StringNullableFilter; - - @Field(() => StringFilter, {nullable:true}) - email?: StringFilter; - - @Field(() => BoolFilter, {nullable:true}) - emailVerified?: BoolFilter; - - @Field(() => StringNullableFilter, {nullable:true}) - avatarUrl?: StringNullableFilter; - - @Field(() => StringFilter, {nullable:true}) - locale?: StringFilter; - - @Field(() => StringNullableFilter, {nullable:true}) - phoneNumber?: StringNullableFilter; - - @Field(() => DateTimeNullableFilter, {nullable:true}) - lastSeen?: DateTimeNullableFilter; - - @Field(() => BoolFilter, {nullable:true}) - disabled?: BoolFilter; - - @HideField() - passwordHash?: StringNullableFilter; - - @Field(() => JsonNullableFilter, {nullable:true}) - metadata?: JsonNullableFilter; - - @Field(() => StringFilter, {nullable:true}) - settingsId?: StringFilter; - - @HideField() - deletedAt?: DateTimeNullableFilter; - - @Field(() => DateTimeFilter, {nullable:true}) - createdAt?: DateTimeFilter; - - @Field(() => DateTimeFilter, {nullable:true}) - updatedAt?: DateTimeFilter; - - @HideField() - workspaceMember?: WorkspaceMemberRelationFilter; - - @Field(() => CompanyListRelationFilter, {nullable:true}) - companies?: CompanyListRelationFilter; - - @HideField() - refreshTokens?: RefreshTokenListRelationFilter; - - @Field(() => CommentListRelationFilter, {nullable:true}) - comments?: CommentListRelationFilter; - - @Field(() => CommentThreadListRelationFilter, {nullable:true}) - authoredCommentThreads?: CommentThreadListRelationFilter; - - @Field(() => CommentThreadListRelationFilter, {nullable:true}) - assignedCommentThreads?: CommentThreadListRelationFilter; - - @Field(() => UserSettingsRelationFilter, {nullable:true}) - settings?: UserSettingsRelationFilter; -} diff --git a/server/src/core/@generated/user/user.model.ts b/server/src/core/@generated/user/user.model.ts deleted file mode 100644 index 452b37a8a..000000000 --- a/server/src/core/@generated/user/user.model.ts +++ /dev/null @@ -1,88 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import { ID } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; -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 { CommentThread } from '../comment-thread/comment-thread.model'; -import { UserSettings } from '../user-settings/user-settings.model'; -import { UserCount } from './user-count.output'; - -@ObjectType() -export class User { - - @Field(() => ID, {nullable:false}) - id!: string; - - @Field(() => String, {nullable:true}) - firstName!: string | null; - - @Field(() => String, {nullable:true}) - lastName!: string | null; - - @Field(() => String, {nullable:false}) - email!: string; - - @Field(() => Boolean, {nullable:false,defaultValue:false}) - emailVerified!: boolean; - - @Field(() => String, {nullable:true}) - avatarUrl!: string | null; - - @Field(() => String, {nullable:false}) - locale!: string; - - @Field(() => String, {nullable:true}) - phoneNumber!: string | null; - - @Field(() => Date, {nullable:true}) - lastSeen!: Date | null; - - @Field(() => Boolean, {nullable:false,defaultValue:false}) - disabled!: boolean; - - @HideField() - passwordHash!: string | null; - - @Field(() => GraphQLJSON, {nullable:true}) - metadata!: any | null; - - @Field(() => String, {nullable:false}) - settingsId!: string; - - @HideField() - deletedAt!: Date | null; - - @Field(() => Date, {nullable:false}) - createdAt!: Date; - - @Field(() => Date, {nullable:false}) - updatedAt!: Date; - - @Field(() => WorkspaceMember, {nullable:true}) - workspaceMember?: WorkspaceMember | null; - - @Field(() => [Company], {nullable:true}) - companies?: Array; - - @HideField() - refreshTokens?: Array; - - @Field(() => [Comment], {nullable:true}) - comments?: Array; - - @Field(() => [CommentThread], {nullable:true}) - authoredCommentThreads?: Array; - - @Field(() => [CommentThread], {nullable:true}) - assignedCommentThreads?: Array; - - @Field(() => UserSettings, {nullable:false}) - settings?: UserSettings; - - @HideField() - _count?: UserCount; -} diff --git a/server/src/core/@generated/workspace-member/aggregate-workspace-member.output.ts b/server/src/core/@generated/workspace-member/aggregate-workspace-member.output.ts deleted file mode 100644 index 9df6c7013..000000000 --- a/server/src/core/@generated/workspace-member/aggregate-workspace-member.output.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import { WorkspaceMemberCountAggregate } from './workspace-member-count-aggregate.output'; -import { WorkspaceMemberMinAggregate } from './workspace-member-min-aggregate.output'; -import { WorkspaceMemberMaxAggregate } from './workspace-member-max-aggregate.output'; - -@ObjectType() -export class AggregateWorkspaceMember { - - @Field(() => WorkspaceMemberCountAggregate, {nullable:true}) - _count?: WorkspaceMemberCountAggregate; - - @Field(() => WorkspaceMemberMinAggregate, {nullable:true}) - _min?: WorkspaceMemberMinAggregate; - - @Field(() => WorkspaceMemberMaxAggregate, {nullable:true}) - _max?: WorkspaceMemberMaxAggregate; -} diff --git a/server/src/core/@generated/workspace-member/create-many-workspace-member.args.ts b/server/src/core/@generated/workspace-member/create-many-workspace-member.args.ts deleted file mode 100644 index 6200d2a3c..000000000 --- a/server/src/core/@generated/workspace-member/create-many-workspace-member.args.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { WorkspaceMemberCreateManyInput } from './workspace-member-create-many.input'; -import { Type } from 'class-transformer'; -import { ValidateNested } from 'class-validator'; - -@ArgsType() -export class CreateManyWorkspaceMemberArgs { - - @Field(() => [WorkspaceMemberCreateManyInput], {nullable:false}) - @Type(() => WorkspaceMemberCreateManyInput) - @ValidateNested({each: true}) - @Type(() => WorkspaceMemberCreateManyInput) - data!: Array; - - @Field(() => Boolean, {nullable:true}) - skipDuplicates?: boolean; -} diff --git a/server/src/core/@generated/workspace-member/create-one-workspace-member.args.ts b/server/src/core/@generated/workspace-member/create-one-workspace-member.args.ts deleted file mode 100644 index 81c65ffab..000000000 --- a/server/src/core/@generated/workspace-member/create-one-workspace-member.args.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { WorkspaceMemberCreateInput } from './workspace-member-create.input'; -import { Type } from 'class-transformer'; -import { ValidateNested } from 'class-validator'; - -@ArgsType() -export class CreateOneWorkspaceMemberArgs { - - @Field(() => WorkspaceMemberCreateInput, {nullable:false}) - @Type(() => WorkspaceMemberCreateInput) - @ValidateNested({each: true}) - @Type(() => WorkspaceMemberCreateInput) - data!: WorkspaceMemberCreateInput; -} diff --git a/server/src/core/@generated/workspace-member/delete-many-workspace-member.args.ts b/server/src/core/@generated/workspace-member/delete-many-workspace-member.args.ts deleted file mode 100644 index 7b1795a88..000000000 --- a/server/src/core/@generated/workspace-member/delete-many-workspace-member.args.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { WorkspaceMemberWhereInput } from './workspace-member-where.input'; -import { Type } from 'class-transformer'; - -@ArgsType() -export class DeleteManyWorkspaceMemberArgs { - - @Field(() => WorkspaceMemberWhereInput, {nullable:true}) - @Type(() => WorkspaceMemberWhereInput) - where?: WorkspaceMemberWhereInput; -} diff --git a/server/src/core/@generated/workspace-member/delete-one-workspace-member.args.ts b/server/src/core/@generated/workspace-member/delete-one-workspace-member.args.ts deleted file mode 100644 index 5f60e7bc2..000000000 --- a/server/src/core/@generated/workspace-member/delete-one-workspace-member.args.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { WorkspaceMemberWhereUniqueInput } from './workspace-member-where-unique.input'; -import { Type } from 'class-transformer'; - -@ArgsType() -export class DeleteOneWorkspaceMemberArgs { - - @Field(() => WorkspaceMemberWhereUniqueInput, {nullable:false}) - @Type(() => WorkspaceMemberWhereUniqueInput) - where!: WorkspaceMemberWhereUniqueInput; -} diff --git a/server/src/core/@generated/workspace-member/find-first-workspace-member-or-throw.args.ts b/server/src/core/@generated/workspace-member/find-first-workspace-member-or-throw.args.ts deleted file mode 100644 index 988acd0a6..000000000 --- a/server/src/core/@generated/workspace-member/find-first-workspace-member-or-throw.args.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { WorkspaceMemberWhereInput } from './workspace-member-where.input'; -import { Type } from 'class-transformer'; -import { WorkspaceMemberOrderByWithRelationInput } from './workspace-member-order-by-with-relation.input'; -import { WorkspaceMemberWhereUniqueInput } from './workspace-member-where-unique.input'; -import { Int } from '@nestjs/graphql'; -import { WorkspaceMemberScalarFieldEnum } from './workspace-member-scalar-field.enum'; - -@ArgsType() -export class FindFirstWorkspaceMemberOrThrowArgs { - - @Field(() => WorkspaceMemberWhereInput, {nullable:true}) - @Type(() => WorkspaceMemberWhereInput) - where?: WorkspaceMemberWhereInput; - - @Field(() => [WorkspaceMemberOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; - - @Field(() => WorkspaceMemberWhereUniqueInput, {nullable:true}) - cursor?: WorkspaceMemberWhereUniqueInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [WorkspaceMemberScalarFieldEnum], {nullable:true}) - distinct?: Array; -} diff --git a/server/src/core/@generated/workspace-member/find-first-workspace-member.args.ts b/server/src/core/@generated/workspace-member/find-first-workspace-member.args.ts deleted file mode 100644 index 553340db2..000000000 --- a/server/src/core/@generated/workspace-member/find-first-workspace-member.args.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { WorkspaceMemberWhereInput } from './workspace-member-where.input'; -import { Type } from 'class-transformer'; -import { WorkspaceMemberOrderByWithRelationInput } from './workspace-member-order-by-with-relation.input'; -import { WorkspaceMemberWhereUniqueInput } from './workspace-member-where-unique.input'; -import { Int } from '@nestjs/graphql'; -import { WorkspaceMemberScalarFieldEnum } from './workspace-member-scalar-field.enum'; - -@ArgsType() -export class FindFirstWorkspaceMemberArgs { - - @Field(() => WorkspaceMemberWhereInput, {nullable:true}) - @Type(() => WorkspaceMemberWhereInput) - where?: WorkspaceMemberWhereInput; - - @Field(() => [WorkspaceMemberOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; - - @Field(() => WorkspaceMemberWhereUniqueInput, {nullable:true}) - cursor?: WorkspaceMemberWhereUniqueInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [WorkspaceMemberScalarFieldEnum], {nullable:true}) - distinct?: Array; -} diff --git a/server/src/core/@generated/workspace-member/find-many-workspace-member.args.ts b/server/src/core/@generated/workspace-member/find-many-workspace-member.args.ts deleted file mode 100644 index 62d519247..000000000 --- a/server/src/core/@generated/workspace-member/find-many-workspace-member.args.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { WorkspaceMemberWhereInput } from './workspace-member-where.input'; -import { Type } from 'class-transformer'; -import { WorkspaceMemberOrderByWithRelationInput } from './workspace-member-order-by-with-relation.input'; -import { WorkspaceMemberWhereUniqueInput } from './workspace-member-where-unique.input'; -import { Int } from '@nestjs/graphql'; -import { WorkspaceMemberScalarFieldEnum } from './workspace-member-scalar-field.enum'; - -@ArgsType() -export class FindManyWorkspaceMemberArgs { - - @Field(() => WorkspaceMemberWhereInput, {nullable:true}) - @Type(() => WorkspaceMemberWhereInput) - where?: WorkspaceMemberWhereInput; - - @Field(() => [WorkspaceMemberOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; - - @Field(() => WorkspaceMemberWhereUniqueInput, {nullable:true}) - cursor?: WorkspaceMemberWhereUniqueInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [WorkspaceMemberScalarFieldEnum], {nullable:true}) - distinct?: Array; -} diff --git a/server/src/core/@generated/workspace-member/find-unique-workspace-member-or-throw.args.ts b/server/src/core/@generated/workspace-member/find-unique-workspace-member-or-throw.args.ts deleted file mode 100644 index d4b45877f..000000000 --- a/server/src/core/@generated/workspace-member/find-unique-workspace-member-or-throw.args.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { WorkspaceMemberWhereUniqueInput } from './workspace-member-where-unique.input'; -import { Type } from 'class-transformer'; - -@ArgsType() -export class FindUniqueWorkspaceMemberOrThrowArgs { - - @Field(() => WorkspaceMemberWhereUniqueInput, {nullable:false}) - @Type(() => WorkspaceMemberWhereUniqueInput) - where!: WorkspaceMemberWhereUniqueInput; -} diff --git a/server/src/core/@generated/workspace-member/find-unique-workspace-member.args.ts b/server/src/core/@generated/workspace-member/find-unique-workspace-member.args.ts deleted file mode 100644 index 0deebe7dc..000000000 --- a/server/src/core/@generated/workspace-member/find-unique-workspace-member.args.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { WorkspaceMemberWhereUniqueInput } from './workspace-member-where-unique.input'; -import { Type } from 'class-transformer'; - -@ArgsType() -export class FindUniqueWorkspaceMemberArgs { - - @Field(() => WorkspaceMemberWhereUniqueInput, {nullable:false}) - @Type(() => WorkspaceMemberWhereUniqueInput) - where!: WorkspaceMemberWhereUniqueInput; -} diff --git a/server/src/core/@generated/workspace-member/update-many-workspace-member.args.ts b/server/src/core/@generated/workspace-member/update-many-workspace-member.args.ts deleted file mode 100644 index 3b90fb76a..000000000 --- a/server/src/core/@generated/workspace-member/update-many-workspace-member.args.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { WorkspaceMemberUpdateManyMutationInput } from './workspace-member-update-many-mutation.input'; -import { Type } from 'class-transformer'; -import { ValidateNested } from 'class-validator'; -import { WorkspaceMemberWhereInput } from './workspace-member-where.input'; - -@ArgsType() -export class UpdateManyWorkspaceMemberArgs { - - @Field(() => WorkspaceMemberUpdateManyMutationInput, {nullable:false}) - @Type(() => WorkspaceMemberUpdateManyMutationInput) - @ValidateNested({each: true}) - @Type(() => WorkspaceMemberUpdateManyMutationInput) - data!: WorkspaceMemberUpdateManyMutationInput; - - @Field(() => WorkspaceMemberWhereInput, {nullable:true}) - @Type(() => WorkspaceMemberWhereInput) - where?: WorkspaceMemberWhereInput; -} diff --git a/server/src/core/@generated/workspace-member/update-one-workspace-member.args.ts b/server/src/core/@generated/workspace-member/update-one-workspace-member.args.ts deleted file mode 100644 index 06e17b917..000000000 --- a/server/src/core/@generated/workspace-member/update-one-workspace-member.args.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { WorkspaceMemberUpdateInput } from './workspace-member-update.input'; -import { Type } from 'class-transformer'; -import { ValidateNested } from 'class-validator'; -import { WorkspaceMemberWhereUniqueInput } from './workspace-member-where-unique.input'; - -@ArgsType() -export class UpdateOneWorkspaceMemberArgs { - - @Field(() => WorkspaceMemberUpdateInput, {nullable:false}) - @Type(() => WorkspaceMemberUpdateInput) - @ValidateNested({each: true}) - @Type(() => WorkspaceMemberUpdateInput) - data!: WorkspaceMemberUpdateInput; - - @Field(() => WorkspaceMemberWhereUniqueInput, {nullable:false}) - @Type(() => WorkspaceMemberWhereUniqueInput) - where!: WorkspaceMemberWhereUniqueInput; -} diff --git a/server/src/core/@generated/workspace-member/upsert-one-workspace-member.args.ts b/server/src/core/@generated/workspace-member/upsert-one-workspace-member.args.ts deleted file mode 100644 index 9ce5dceeb..000000000 --- a/server/src/core/@generated/workspace-member/upsert-one-workspace-member.args.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { WorkspaceMemberWhereUniqueInput } from './workspace-member-where-unique.input'; -import { Type } from 'class-transformer'; -import { WorkspaceMemberCreateInput } from './workspace-member-create.input'; -import { WorkspaceMemberUpdateInput } from './workspace-member-update.input'; - -@ArgsType() -export class UpsertOneWorkspaceMemberArgs { - - @Field(() => WorkspaceMemberWhereUniqueInput, {nullable:false}) - @Type(() => WorkspaceMemberWhereUniqueInput) - where!: WorkspaceMemberWhereUniqueInput; - - @Field(() => WorkspaceMemberCreateInput, {nullable:false}) - @Type(() => WorkspaceMemberCreateInput) - create!: WorkspaceMemberCreateInput; - - @Field(() => WorkspaceMemberUpdateInput, {nullable:false}) - @Type(() => WorkspaceMemberUpdateInput) - update!: WorkspaceMemberUpdateInput; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-aggregate.args.ts b/server/src/core/@generated/workspace-member/workspace-member-aggregate.args.ts deleted file mode 100644 index f3e863e21..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-aggregate.args.ts +++ /dev/null @@ -1,39 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { WorkspaceMemberWhereInput } from './workspace-member-where.input'; -import { Type } from 'class-transformer'; -import { WorkspaceMemberOrderByWithRelationInput } from './workspace-member-order-by-with-relation.input'; -import { WorkspaceMemberWhereUniqueInput } from './workspace-member-where-unique.input'; -import { Int } from '@nestjs/graphql'; -import { WorkspaceMemberCountAggregateInput } from './workspace-member-count-aggregate.input'; -import { WorkspaceMemberMinAggregateInput } from './workspace-member-min-aggregate.input'; -import { WorkspaceMemberMaxAggregateInput } from './workspace-member-max-aggregate.input'; - -@ArgsType() -export class WorkspaceMemberAggregateArgs { - - @Field(() => WorkspaceMemberWhereInput, {nullable:true}) - @Type(() => WorkspaceMemberWhereInput) - where?: WorkspaceMemberWhereInput; - - @Field(() => [WorkspaceMemberOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; - - @Field(() => WorkspaceMemberWhereUniqueInput, {nullable:true}) - cursor?: WorkspaceMemberWhereUniqueInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => WorkspaceMemberCountAggregateInput, {nullable:true}) - _count?: WorkspaceMemberCountAggregateInput; - - @Field(() => WorkspaceMemberMinAggregateInput, {nullable:true}) - _min?: WorkspaceMemberMinAggregateInput; - - @Field(() => WorkspaceMemberMaxAggregateInput, {nullable:true}) - _max?: WorkspaceMemberMaxAggregateInput; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-count-aggregate.input.ts b/server/src/core/@generated/workspace-member/workspace-member-count-aggregate.input.ts deleted file mode 100644 index 6a766d12a..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-count-aggregate.input.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class WorkspaceMemberCountAggregateInput { - - @Field(() => Boolean, {nullable:true}) - id?: true; - - @Field(() => Boolean, {nullable:true}) - userId?: true; - - @HideField() - workspaceId?: true; - - @HideField() - deletedAt?: true; - - @Field(() => Boolean, {nullable:true}) - createdAt?: true; - - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; - - @Field(() => Boolean, {nullable:true}) - _all?: true; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-count-aggregate.output.ts b/server/src/core/@generated/workspace-member/workspace-member-count-aggregate.output.ts deleted file mode 100644 index 2408dbd50..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-count-aggregate.output.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import { Int } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; - -@ObjectType() -export class WorkspaceMemberCountAggregate { - - @Field(() => Int, {nullable:false}) - id!: number; - - @Field(() => Int, {nullable:false}) - userId!: number; - - @HideField() - workspaceId!: number; - - @HideField() - deletedAt!: number; - - @Field(() => Int, {nullable:false}) - createdAt!: number; - - @Field(() => Int, {nullable:false}) - updatedAt!: number; - - @Field(() => Int, {nullable:false}) - _all!: number; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-count-order-by-aggregate.input.ts b/server/src/core/@generated/workspace-member/workspace-member-count-order-by-aggregate.input.ts deleted file mode 100644 index da4d87bc2..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-count-order-by-aggregate.input.ts +++ /dev/null @@ -1,26 +0,0 @@ -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 WorkspaceMemberCountOrderByAggregateInput { - - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - userId?: keyof typeof SortOrder; - - @HideField() - workspaceId?: keyof typeof SortOrder; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-create-many-workspace-input-envelope.input.ts b/server/src/core/@generated/workspace-member/workspace-member-create-many-workspace-input-envelope.input.ts deleted file mode 100644 index 84a41912d..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-create-many-workspace-input-envelope.input.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { WorkspaceMemberCreateManyWorkspaceInput } from './workspace-member-create-many-workspace.input'; -import { Type } from 'class-transformer'; - -@InputType() -export class WorkspaceMemberCreateManyWorkspaceInputEnvelope { - - @Field(() => [WorkspaceMemberCreateManyWorkspaceInput], {nullable:false}) - @Type(() => WorkspaceMemberCreateManyWorkspaceInput) - data!: Array; - - @Field(() => Boolean, {nullable:true}) - skipDuplicates?: boolean; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-create-many-workspace.input.ts b/server/src/core/@generated/workspace-member/workspace-member-create-many-workspace.input.ts deleted file mode 100644 index 99f963f40..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-create-many-workspace.input.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class WorkspaceMemberCreateManyWorkspaceInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - userId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-create-many.input.ts b/server/src/core/@generated/workspace-member/workspace-member-create-many.input.ts deleted file mode 100644 index 04172012b..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-create-many.input.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class WorkspaceMemberCreateManyInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - userId!: string; - - @HideField() - workspaceId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-create-nested-many-without-workspace.input.ts b/server/src/core/@generated/workspace-member/workspace-member-create-nested-many-without-workspace.input.ts deleted file mode 100644 index eb1d5e725..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-create-nested-many-without-workspace.input.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { WorkspaceMemberCreateWithoutWorkspaceInput } from './workspace-member-create-without-workspace.input'; -import { Type } from 'class-transformer'; -import { WorkspaceMemberCreateOrConnectWithoutWorkspaceInput } from './workspace-member-create-or-connect-without-workspace.input'; -import { WorkspaceMemberCreateManyWorkspaceInputEnvelope } from './workspace-member-create-many-workspace-input-envelope.input'; -import { WorkspaceMemberWhereUniqueInput } from './workspace-member-where-unique.input'; - -@InputType() -export class WorkspaceMemberCreateNestedManyWithoutWorkspaceInput { - - @Field(() => [WorkspaceMemberCreateWithoutWorkspaceInput], {nullable:true}) - @Type(() => WorkspaceMemberCreateWithoutWorkspaceInput) - create?: Array; - - @Field(() => [WorkspaceMemberCreateOrConnectWithoutWorkspaceInput], {nullable:true}) - @Type(() => WorkspaceMemberCreateOrConnectWithoutWorkspaceInput) - connectOrCreate?: Array; - - @Field(() => WorkspaceMemberCreateManyWorkspaceInputEnvelope, {nullable:true}) - @Type(() => WorkspaceMemberCreateManyWorkspaceInputEnvelope) - createMany?: WorkspaceMemberCreateManyWorkspaceInputEnvelope; - - @Field(() => [WorkspaceMemberWhereUniqueInput], {nullable:true}) - @Type(() => WorkspaceMemberWhereUniqueInput) - connect?: Array; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-create-nested-one-without-user.input.ts b/server/src/core/@generated/workspace-member/workspace-member-create-nested-one-without-user.input.ts deleted file mode 100644 index bcd732d95..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-create-nested-one-without-user.input.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { WorkspaceMemberCreateWithoutUserInput } from './workspace-member-create-without-user.input'; -import { Type } from 'class-transformer'; -import { WorkspaceMemberCreateOrConnectWithoutUserInput } from './workspace-member-create-or-connect-without-user.input'; -import { WorkspaceMemberWhereUniqueInput } from './workspace-member-where-unique.input'; - -@InputType() -export class WorkspaceMemberCreateNestedOneWithoutUserInput { - - @Field(() => WorkspaceMemberCreateWithoutUserInput, {nullable:true}) - @Type(() => WorkspaceMemberCreateWithoutUserInput) - create?: WorkspaceMemberCreateWithoutUserInput; - - @Field(() => WorkspaceMemberCreateOrConnectWithoutUserInput, {nullable:true}) - @Type(() => WorkspaceMemberCreateOrConnectWithoutUserInput) - connectOrCreate?: WorkspaceMemberCreateOrConnectWithoutUserInput; - - @Field(() => WorkspaceMemberWhereUniqueInput, {nullable:true}) - @Type(() => WorkspaceMemberWhereUniqueInput) - connect?: WorkspaceMemberWhereUniqueInput; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-create-or-connect-without-user.input.ts b/server/src/core/@generated/workspace-member/workspace-member-create-or-connect-without-user.input.ts deleted file mode 100644 index 719e57530..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-create-or-connect-without-user.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { WorkspaceMemberWhereUniqueInput } from './workspace-member-where-unique.input'; -import { Type } from 'class-transformer'; -import { WorkspaceMemberCreateWithoutUserInput } from './workspace-member-create-without-user.input'; - -@InputType() -export class WorkspaceMemberCreateOrConnectWithoutUserInput { - - @Field(() => WorkspaceMemberWhereUniqueInput, {nullable:false}) - @Type(() => WorkspaceMemberWhereUniqueInput) - where!: WorkspaceMemberWhereUniqueInput; - - @Field(() => WorkspaceMemberCreateWithoutUserInput, {nullable:false}) - @Type(() => WorkspaceMemberCreateWithoutUserInput) - create!: WorkspaceMemberCreateWithoutUserInput; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-create-or-connect-without-workspace.input.ts b/server/src/core/@generated/workspace-member/workspace-member-create-or-connect-without-workspace.input.ts deleted file mode 100644 index 0c0739b4c..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-create-or-connect-without-workspace.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { WorkspaceMemberWhereUniqueInput } from './workspace-member-where-unique.input'; -import { Type } from 'class-transformer'; -import { WorkspaceMemberCreateWithoutWorkspaceInput } from './workspace-member-create-without-workspace.input'; - -@InputType() -export class WorkspaceMemberCreateOrConnectWithoutWorkspaceInput { - - @Field(() => WorkspaceMemberWhereUniqueInput, {nullable:false}) - @Type(() => WorkspaceMemberWhereUniqueInput) - where!: WorkspaceMemberWhereUniqueInput; - - @Field(() => WorkspaceMemberCreateWithoutWorkspaceInput, {nullable:false}) - @Type(() => WorkspaceMemberCreateWithoutWorkspaceInput) - create!: WorkspaceMemberCreateWithoutWorkspaceInput; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-create-without-user.input.ts b/server/src/core/@generated/workspace-member/workspace-member-create-without-user.input.ts deleted file mode 100644 index 0f6143ade..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-create-without-user.input.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; -import { WorkspaceCreateNestedOneWithoutWorkspaceMemberInput } from '../workspace/workspace-create-nested-one-without-workspace-member.input'; - -@InputType() -export class WorkspaceMemberCreateWithoutUserInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @HideField() - workspace!: WorkspaceCreateNestedOneWithoutWorkspaceMemberInput; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-create-without-workspace.input.ts b/server/src/core/@generated/workspace-member/workspace-member-create-without-workspace.input.ts deleted file mode 100644 index db865d5bf..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-create-without-workspace.input.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; -import { UserCreateNestedOneWithoutWorkspaceMemberInput } from '../user/user-create-nested-one-without-workspace-member.input'; - -@InputType() -export class WorkspaceMemberCreateWithoutWorkspaceInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => UserCreateNestedOneWithoutWorkspaceMemberInput, {nullable:false}) - user!: UserCreateNestedOneWithoutWorkspaceMemberInput; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-create.input.ts b/server/src/core/@generated/workspace-member/workspace-member-create.input.ts deleted file mode 100644 index 0f73b983e..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-create.input.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; -import { UserCreateNestedOneWithoutWorkspaceMemberInput } from '../user/user-create-nested-one-without-workspace-member.input'; -import { WorkspaceCreateNestedOneWithoutWorkspaceMemberInput } from '../workspace/workspace-create-nested-one-without-workspace-member.input'; - -@InputType() -export class WorkspaceMemberCreateInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => UserCreateNestedOneWithoutWorkspaceMemberInput, {nullable:false}) - user!: UserCreateNestedOneWithoutWorkspaceMemberInput; - - @HideField() - workspace!: WorkspaceCreateNestedOneWithoutWorkspaceMemberInput; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-group-by.args.ts b/server/src/core/@generated/workspace-member/workspace-member-group-by.args.ts deleted file mode 100644 index bd3c9a451..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-group-by.args.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { WorkspaceMemberWhereInput } from './workspace-member-where.input'; -import { Type } from 'class-transformer'; -import { WorkspaceMemberOrderByWithAggregationInput } from './workspace-member-order-by-with-aggregation.input'; -import { WorkspaceMemberScalarFieldEnum } from './workspace-member-scalar-field.enum'; -import { WorkspaceMemberScalarWhereWithAggregatesInput } from './workspace-member-scalar-where-with-aggregates.input'; -import { Int } from '@nestjs/graphql'; -import { WorkspaceMemberCountAggregateInput } from './workspace-member-count-aggregate.input'; -import { WorkspaceMemberMinAggregateInput } from './workspace-member-min-aggregate.input'; -import { WorkspaceMemberMaxAggregateInput } from './workspace-member-max-aggregate.input'; - -@ArgsType() -export class WorkspaceMemberGroupByArgs { - - @Field(() => WorkspaceMemberWhereInput, {nullable:true}) - @Type(() => WorkspaceMemberWhereInput) - where?: WorkspaceMemberWhereInput; - - @Field(() => [WorkspaceMemberOrderByWithAggregationInput], {nullable:true}) - orderBy?: Array; - - @Field(() => [WorkspaceMemberScalarFieldEnum], {nullable:false}) - by!: Array; - - @Field(() => WorkspaceMemberScalarWhereWithAggregatesInput, {nullable:true}) - having?: WorkspaceMemberScalarWhereWithAggregatesInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => WorkspaceMemberCountAggregateInput, {nullable:true}) - _count?: WorkspaceMemberCountAggregateInput; - - @Field(() => WorkspaceMemberMinAggregateInput, {nullable:true}) - _min?: WorkspaceMemberMinAggregateInput; - - @Field(() => WorkspaceMemberMaxAggregateInput, {nullable:true}) - _max?: WorkspaceMemberMaxAggregateInput; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-group-by.output.ts b/server/src/core/@generated/workspace-member/workspace-member-group-by.output.ts deleted file mode 100644 index d4c0b6bde..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-group-by.output.ts +++ /dev/null @@ -1,40 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; -import { WorkspaceMemberCountAggregate } from './workspace-member-count-aggregate.output'; -import { WorkspaceMemberMinAggregate } from './workspace-member-min-aggregate.output'; -import { WorkspaceMemberMaxAggregate } from './workspace-member-max-aggregate.output'; - -@ObjectType() -export class WorkspaceMemberGroupBy { - - @Field(() => String, {nullable:false}) - @Validator.IsString() - @Validator.IsOptional() - id!: string; - - @Field(() => String, {nullable:false}) - userId!: string; - - @HideField() - workspaceId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:false}) - createdAt!: Date | string; - - @Field(() => Date, {nullable:false}) - updatedAt!: Date | string; - - @Field(() => WorkspaceMemberCountAggregate, {nullable:true}) - _count?: WorkspaceMemberCountAggregate; - - @Field(() => WorkspaceMemberMinAggregate, {nullable:true}) - _min?: WorkspaceMemberMinAggregate; - - @Field(() => WorkspaceMemberMaxAggregate, {nullable:true}) - _max?: WorkspaceMemberMaxAggregate; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-list-relation-filter.input.ts b/server/src/core/@generated/workspace-member/workspace-member-list-relation-filter.input.ts deleted file mode 100644 index a7a210dcf..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-list-relation-filter.input.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { WorkspaceMemberWhereInput } from './workspace-member-where.input'; - -@InputType() -export class WorkspaceMemberListRelationFilter { - - @Field(() => WorkspaceMemberWhereInput, {nullable:true}) - every?: WorkspaceMemberWhereInput; - - @Field(() => WorkspaceMemberWhereInput, {nullable:true}) - some?: WorkspaceMemberWhereInput; - - @Field(() => WorkspaceMemberWhereInput, {nullable:true}) - none?: WorkspaceMemberWhereInput; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-max-aggregate.input.ts b/server/src/core/@generated/workspace-member/workspace-member-max-aggregate.input.ts deleted file mode 100644 index 15f6ad56a..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-max-aggregate.input.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class WorkspaceMemberMaxAggregateInput { - - @Field(() => Boolean, {nullable:true}) - id?: true; - - @Field(() => Boolean, {nullable:true}) - userId?: true; - - @HideField() - workspaceId?: true; - - @HideField() - deletedAt?: true; - - @Field(() => Boolean, {nullable:true}) - createdAt?: true; - - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-max-aggregate.output.ts b/server/src/core/@generated/workspace-member/workspace-member-max-aggregate.output.ts deleted file mode 100644 index 02821577b..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-max-aggregate.output.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; - -@ObjectType() -export class WorkspaceMemberMaxAggregate { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - userId?: string; - - @HideField() - workspaceId?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-max-order-by-aggregate.input.ts b/server/src/core/@generated/workspace-member/workspace-member-max-order-by-aggregate.input.ts deleted file mode 100644 index 50fccb6fe..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-max-order-by-aggregate.input.ts +++ /dev/null @@ -1,26 +0,0 @@ -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 WorkspaceMemberMaxOrderByAggregateInput { - - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - userId?: keyof typeof SortOrder; - - @HideField() - workspaceId?: keyof typeof SortOrder; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-min-aggregate.input.ts b/server/src/core/@generated/workspace-member/workspace-member-min-aggregate.input.ts deleted file mode 100644 index 2fef19d2e..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-min-aggregate.input.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class WorkspaceMemberMinAggregateInput { - - @Field(() => Boolean, {nullable:true}) - id?: true; - - @Field(() => Boolean, {nullable:true}) - userId?: true; - - @HideField() - workspaceId?: true; - - @HideField() - deletedAt?: true; - - @Field(() => Boolean, {nullable:true}) - createdAt?: true; - - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-min-aggregate.output.ts b/server/src/core/@generated/workspace-member/workspace-member-min-aggregate.output.ts deleted file mode 100644 index 3885190b4..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-min-aggregate.output.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; - -@ObjectType() -export class WorkspaceMemberMinAggregate { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - userId?: string; - - @HideField() - workspaceId?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-min-order-by-aggregate.input.ts b/server/src/core/@generated/workspace-member/workspace-member-min-order-by-aggregate.input.ts deleted file mode 100644 index c15f9c5e5..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-min-order-by-aggregate.input.ts +++ /dev/null @@ -1,26 +0,0 @@ -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 WorkspaceMemberMinOrderByAggregateInput { - - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - userId?: keyof typeof SortOrder; - - @HideField() - workspaceId?: keyof typeof SortOrder; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-order-by-relation-aggregate.input.ts b/server/src/core/@generated/workspace-member/workspace-member-order-by-relation-aggregate.input.ts deleted file mode 100644 index 9754224e6..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-order-by-relation-aggregate.input.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { SortOrder } from '../prisma/sort-order.enum'; - -@InputType() -export class WorkspaceMemberOrderByRelationAggregateInput { - - @Field(() => SortOrder, {nullable:true}) - _count?: keyof typeof SortOrder; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-order-by-with-aggregation.input.ts b/server/src/core/@generated/workspace-member/workspace-member-order-by-with-aggregation.input.ts deleted file mode 100644 index f789f946a..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-order-by-with-aggregation.input.ts +++ /dev/null @@ -1,38 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { SortOrder } from '../prisma/sort-order.enum'; -import { HideField } from '@nestjs/graphql'; -import { WorkspaceMemberCountOrderByAggregateInput } from './workspace-member-count-order-by-aggregate.input'; -import { WorkspaceMemberMaxOrderByAggregateInput } from './workspace-member-max-order-by-aggregate.input'; -import { WorkspaceMemberMinOrderByAggregateInput } from './workspace-member-min-order-by-aggregate.input'; - -@InputType() -export class WorkspaceMemberOrderByWithAggregationInput { - - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - userId?: keyof typeof SortOrder; - - @HideField() - workspaceId?: keyof typeof SortOrder; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; - - @Field(() => WorkspaceMemberCountOrderByAggregateInput, {nullable:true}) - _count?: WorkspaceMemberCountOrderByAggregateInput; - - @Field(() => WorkspaceMemberMaxOrderByAggregateInput, {nullable:true}) - _max?: WorkspaceMemberMaxOrderByAggregateInput; - - @Field(() => WorkspaceMemberMinOrderByAggregateInput, {nullable:true}) - _min?: WorkspaceMemberMinOrderByAggregateInput; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-order-by-with-relation.input.ts b/server/src/core/@generated/workspace-member/workspace-member-order-by-with-relation.input.ts deleted file mode 100644 index db0e3bcda..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-order-by-with-relation.input.ts +++ /dev/null @@ -1,34 +0,0 @@ -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 { WorkspaceOrderByWithRelationInput } from '../workspace/workspace-order-by-with-relation.input'; - -@InputType() -export class WorkspaceMemberOrderByWithRelationInput { - - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - userId?: keyof typeof SortOrder; - - @HideField() - workspaceId?: keyof typeof SortOrder; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; - - @Field(() => UserOrderByWithRelationInput, {nullable:true}) - user?: UserOrderByWithRelationInput; - - @HideField() - workspace?: WorkspaceOrderByWithRelationInput; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-relation-filter.input.ts b/server/src/core/@generated/workspace-member/workspace-member-relation-filter.input.ts deleted file mode 100644 index 228be3a47..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-relation-filter.input.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { WorkspaceMemberWhereInput } from './workspace-member-where.input'; - -@InputType() -export class WorkspaceMemberRelationFilter { - - @Field(() => WorkspaceMemberWhereInput, {nullable:true}) - is?: WorkspaceMemberWhereInput; - - @Field(() => WorkspaceMemberWhereInput, {nullable:true}) - isNot?: WorkspaceMemberWhereInput; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-scalar-field.enum.ts b/server/src/core/@generated/workspace-member/workspace-member-scalar-field.enum.ts deleted file mode 100644 index ac16b7678..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-scalar-field.enum.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { registerEnumType } from '@nestjs/graphql'; - -export enum WorkspaceMemberScalarFieldEnum { - id = "id", - userId = "userId", - workspaceId = "workspaceId", - deletedAt = "deletedAt", - createdAt = "createdAt", - updatedAt = "updatedAt" -} - - -registerEnumType(WorkspaceMemberScalarFieldEnum, { name: 'WorkspaceMemberScalarFieldEnum', description: undefined }) diff --git a/server/src/core/@generated/workspace-member/workspace-member-scalar-where-with-aggregates.input.ts b/server/src/core/@generated/workspace-member/workspace-member-scalar-where-with-aggregates.input.ts deleted file mode 100644 index 4aa743e2a..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-scalar-where-with-aggregates.input.ts +++ /dev/null @@ -1,37 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringWithAggregatesFilter } from '../prisma/string-with-aggregates-filter.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeNullableWithAggregatesFilter } from '../prisma/date-time-nullable-with-aggregates-filter.input'; -import { DateTimeWithAggregatesFilter } from '../prisma/date-time-with-aggregates-filter.input'; - -@InputType() -export class WorkspaceMemberScalarWhereWithAggregatesInput { - - @Field(() => [WorkspaceMemberScalarWhereWithAggregatesInput], {nullable:true}) - AND?: Array; - - @Field(() => [WorkspaceMemberScalarWhereWithAggregatesInput], {nullable:true}) - OR?: Array; - - @Field(() => [WorkspaceMemberScalarWhereWithAggregatesInput], {nullable:true}) - NOT?: Array; - - @Field(() => StringWithAggregatesFilter, {nullable:true}) - id?: StringWithAggregatesFilter; - - @Field(() => StringWithAggregatesFilter, {nullable:true}) - userId?: StringWithAggregatesFilter; - - @HideField() - workspaceId?: StringWithAggregatesFilter; - - @HideField() - deletedAt?: DateTimeNullableWithAggregatesFilter; - - @Field(() => DateTimeWithAggregatesFilter, {nullable:true}) - createdAt?: DateTimeWithAggregatesFilter; - - @Field(() => DateTimeWithAggregatesFilter, {nullable:true}) - updatedAt?: DateTimeWithAggregatesFilter; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-scalar-where.input.ts b/server/src/core/@generated/workspace-member/workspace-member-scalar-where.input.ts deleted file mode 100644 index bfdf54c87..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-scalar-where.input.ts +++ /dev/null @@ -1,37 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFilter } from '../prisma/string-filter.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input'; -import { DateTimeFilter } from '../prisma/date-time-filter.input'; - -@InputType() -export class WorkspaceMemberScalarWhereInput { - - @Field(() => [WorkspaceMemberScalarWhereInput], {nullable:true}) - AND?: Array; - - @Field(() => [WorkspaceMemberScalarWhereInput], {nullable:true}) - OR?: Array; - - @Field(() => [WorkspaceMemberScalarWhereInput], {nullable:true}) - NOT?: Array; - - @Field(() => StringFilter, {nullable:true}) - id?: StringFilter; - - @Field(() => StringFilter, {nullable:true}) - userId?: StringFilter; - - @HideField() - workspaceId?: StringFilter; - - @HideField() - deletedAt?: DateTimeNullableFilter; - - @Field(() => DateTimeFilter, {nullable:true}) - createdAt?: DateTimeFilter; - - @Field(() => DateTimeFilter, {nullable:true}) - updatedAt?: DateTimeFilter; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-unchecked-create-nested-many-without-workspace.input.ts b/server/src/core/@generated/workspace-member/workspace-member-unchecked-create-nested-many-without-workspace.input.ts deleted file mode 100644 index bde03ba15..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-unchecked-create-nested-many-without-workspace.input.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { WorkspaceMemberCreateWithoutWorkspaceInput } from './workspace-member-create-without-workspace.input'; -import { Type } from 'class-transformer'; -import { WorkspaceMemberCreateOrConnectWithoutWorkspaceInput } from './workspace-member-create-or-connect-without-workspace.input'; -import { WorkspaceMemberCreateManyWorkspaceInputEnvelope } from './workspace-member-create-many-workspace-input-envelope.input'; -import { WorkspaceMemberWhereUniqueInput } from './workspace-member-where-unique.input'; - -@InputType() -export class WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput { - - @Field(() => [WorkspaceMemberCreateWithoutWorkspaceInput], {nullable:true}) - @Type(() => WorkspaceMemberCreateWithoutWorkspaceInput) - create?: Array; - - @Field(() => [WorkspaceMemberCreateOrConnectWithoutWorkspaceInput], {nullable:true}) - @Type(() => WorkspaceMemberCreateOrConnectWithoutWorkspaceInput) - connectOrCreate?: Array; - - @Field(() => WorkspaceMemberCreateManyWorkspaceInputEnvelope, {nullable:true}) - @Type(() => WorkspaceMemberCreateManyWorkspaceInputEnvelope) - createMany?: WorkspaceMemberCreateManyWorkspaceInputEnvelope; - - @Field(() => [WorkspaceMemberWhereUniqueInput], {nullable:true}) - @Type(() => WorkspaceMemberWhereUniqueInput) - connect?: Array; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-unchecked-create-nested-one-without-user.input.ts b/server/src/core/@generated/workspace-member/workspace-member-unchecked-create-nested-one-without-user.input.ts deleted file mode 100644 index 7e8c351b6..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-unchecked-create-nested-one-without-user.input.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { WorkspaceMemberCreateWithoutUserInput } from './workspace-member-create-without-user.input'; -import { Type } from 'class-transformer'; -import { WorkspaceMemberCreateOrConnectWithoutUserInput } from './workspace-member-create-or-connect-without-user.input'; -import { WorkspaceMemberWhereUniqueInput } from './workspace-member-where-unique.input'; - -@InputType() -export class WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput { - - @Field(() => WorkspaceMemberCreateWithoutUserInput, {nullable:true}) - @Type(() => WorkspaceMemberCreateWithoutUserInput) - create?: WorkspaceMemberCreateWithoutUserInput; - - @Field(() => WorkspaceMemberCreateOrConnectWithoutUserInput, {nullable:true}) - @Type(() => WorkspaceMemberCreateOrConnectWithoutUserInput) - connectOrCreate?: WorkspaceMemberCreateOrConnectWithoutUserInput; - - @Field(() => WorkspaceMemberWhereUniqueInput, {nullable:true}) - @Type(() => WorkspaceMemberWhereUniqueInput) - connect?: WorkspaceMemberWhereUniqueInput; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-unchecked-create-without-user.input.ts b/server/src/core/@generated/workspace-member/workspace-member-unchecked-create-without-user.input.ts deleted file mode 100644 index 81c6c4899..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-unchecked-create-without-user.input.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class WorkspaceMemberUncheckedCreateWithoutUserInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @HideField() - workspaceId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-unchecked-create-without-workspace.input.ts b/server/src/core/@generated/workspace-member/workspace-member-unchecked-create-without-workspace.input.ts deleted file mode 100644 index 49879e471..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-unchecked-create-without-workspace.input.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class WorkspaceMemberUncheckedCreateWithoutWorkspaceInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - userId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-unchecked-create.input.ts b/server/src/core/@generated/workspace-member/workspace-member-unchecked-create.input.ts deleted file mode 100644 index bd310356e..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-unchecked-create.input.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class WorkspaceMemberUncheckedCreateInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:false}) - userId!: string; - - @HideField() - workspaceId!: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-unchecked-update-many-without-workspace-member.input.ts b/server/src/core/@generated/workspace-member/workspace-member-unchecked-update-many-without-workspace-member.input.ts deleted file mode 100644 index 6655f7c14..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-unchecked-update-many-without-workspace-member.input.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceMemberInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - userId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-unchecked-update-many-without-workspace-nested.input.ts b/server/src/core/@generated/workspace-member/workspace-member-unchecked-update-many-without-workspace-nested.input.ts deleted file mode 100644 index 0274c0245..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-unchecked-update-many-without-workspace-nested.input.ts +++ /dev/null @@ -1,59 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { WorkspaceMemberCreateWithoutWorkspaceInput } from './workspace-member-create-without-workspace.input'; -import { Type } from 'class-transformer'; -import { WorkspaceMemberCreateOrConnectWithoutWorkspaceInput } from './workspace-member-create-or-connect-without-workspace.input'; -import { WorkspaceMemberUpsertWithWhereUniqueWithoutWorkspaceInput } from './workspace-member-upsert-with-where-unique-without-workspace.input'; -import { WorkspaceMemberCreateManyWorkspaceInputEnvelope } from './workspace-member-create-many-workspace-input-envelope.input'; -import { WorkspaceMemberWhereUniqueInput } from './workspace-member-where-unique.input'; -import { WorkspaceMemberUpdateWithWhereUniqueWithoutWorkspaceInput } from './workspace-member-update-with-where-unique-without-workspace.input'; -import { WorkspaceMemberUpdateManyWithWhereWithoutWorkspaceInput } from './workspace-member-update-many-with-where-without-workspace.input'; -import { WorkspaceMemberScalarWhereInput } from './workspace-member-scalar-where.input'; - -@InputType() -export class WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput { - - @Field(() => [WorkspaceMemberCreateWithoutWorkspaceInput], {nullable:true}) - @Type(() => WorkspaceMemberCreateWithoutWorkspaceInput) - create?: Array; - - @Field(() => [WorkspaceMemberCreateOrConnectWithoutWorkspaceInput], {nullable:true}) - @Type(() => WorkspaceMemberCreateOrConnectWithoutWorkspaceInput) - connectOrCreate?: Array; - - @Field(() => [WorkspaceMemberUpsertWithWhereUniqueWithoutWorkspaceInput], {nullable:true}) - @Type(() => WorkspaceMemberUpsertWithWhereUniqueWithoutWorkspaceInput) - upsert?: Array; - - @Field(() => WorkspaceMemberCreateManyWorkspaceInputEnvelope, {nullable:true}) - @Type(() => WorkspaceMemberCreateManyWorkspaceInputEnvelope) - createMany?: WorkspaceMemberCreateManyWorkspaceInputEnvelope; - - @Field(() => [WorkspaceMemberWhereUniqueInput], {nullable:true}) - @Type(() => WorkspaceMemberWhereUniqueInput) - set?: Array; - - @Field(() => [WorkspaceMemberWhereUniqueInput], {nullable:true}) - @Type(() => WorkspaceMemberWhereUniqueInput) - disconnect?: Array; - - @Field(() => [WorkspaceMemberWhereUniqueInput], {nullable:true}) - @Type(() => WorkspaceMemberWhereUniqueInput) - delete?: Array; - - @Field(() => [WorkspaceMemberWhereUniqueInput], {nullable:true}) - @Type(() => WorkspaceMemberWhereUniqueInput) - connect?: Array; - - @Field(() => [WorkspaceMemberUpdateWithWhereUniqueWithoutWorkspaceInput], {nullable:true}) - @Type(() => WorkspaceMemberUpdateWithWhereUniqueWithoutWorkspaceInput) - update?: Array; - - @Field(() => [WorkspaceMemberUpdateManyWithWhereWithoutWorkspaceInput], {nullable:true}) - @Type(() => WorkspaceMemberUpdateManyWithWhereWithoutWorkspaceInput) - updateMany?: Array; - - @Field(() => [WorkspaceMemberScalarWhereInput], {nullable:true}) - @Type(() => WorkspaceMemberScalarWhereInput) - deleteMany?: Array; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-unchecked-update-many.input.ts b/server/src/core/@generated/workspace-member/workspace-member-unchecked-update-many.input.ts deleted file mode 100644 index 68c83f07c..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-unchecked-update-many.input.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class WorkspaceMemberUncheckedUpdateManyInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - userId?: StringFieldUpdateOperationsInput; - - @HideField() - workspaceId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-unchecked-update-one-without-user-nested.input.ts b/server/src/core/@generated/workspace-member/workspace-member-unchecked-update-one-without-user-nested.input.ts deleted file mode 100644 index 046dc5a24..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-unchecked-update-one-without-user-nested.input.ts +++ /dev/null @@ -1,38 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { WorkspaceMemberCreateWithoutUserInput } from './workspace-member-create-without-user.input'; -import { Type } from 'class-transformer'; -import { WorkspaceMemberCreateOrConnectWithoutUserInput } from './workspace-member-create-or-connect-without-user.input'; -import { WorkspaceMemberUpsertWithoutUserInput } from './workspace-member-upsert-without-user.input'; -import { WorkspaceMemberWhereUniqueInput } from './workspace-member-where-unique.input'; -import { WorkspaceMemberUpdateWithoutUserInput } from './workspace-member-update-without-user.input'; - -@InputType() -export class WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput { - - @Field(() => WorkspaceMemberCreateWithoutUserInput, {nullable:true}) - @Type(() => WorkspaceMemberCreateWithoutUserInput) - create?: WorkspaceMemberCreateWithoutUserInput; - - @Field(() => WorkspaceMemberCreateOrConnectWithoutUserInput, {nullable:true}) - @Type(() => WorkspaceMemberCreateOrConnectWithoutUserInput) - connectOrCreate?: WorkspaceMemberCreateOrConnectWithoutUserInput; - - @Field(() => WorkspaceMemberUpsertWithoutUserInput, {nullable:true}) - @Type(() => WorkspaceMemberUpsertWithoutUserInput) - upsert?: WorkspaceMemberUpsertWithoutUserInput; - - @Field(() => Boolean, {nullable:true}) - disconnect?: boolean; - - @Field(() => Boolean, {nullable:true}) - delete?: boolean; - - @Field(() => WorkspaceMemberWhereUniqueInput, {nullable:true}) - @Type(() => WorkspaceMemberWhereUniqueInput) - connect?: WorkspaceMemberWhereUniqueInput; - - @Field(() => WorkspaceMemberUpdateWithoutUserInput, {nullable:true}) - @Type(() => WorkspaceMemberUpdateWithoutUserInput) - update?: WorkspaceMemberUpdateWithoutUserInput; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-unchecked-update-without-user.input.ts b/server/src/core/@generated/workspace-member/workspace-member-unchecked-update-without-user.input.ts deleted file mode 100644 index 30781df6f..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-unchecked-update-without-user.input.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class WorkspaceMemberUncheckedUpdateWithoutUserInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @HideField() - workspaceId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-unchecked-update-without-workspace.input.ts b/server/src/core/@generated/workspace-member/workspace-member-unchecked-update-without-workspace.input.ts deleted file mode 100644 index f6e8a7c52..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-unchecked-update-without-workspace.input.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class WorkspaceMemberUncheckedUpdateWithoutWorkspaceInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - userId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-unchecked-update.input.ts b/server/src/core/@generated/workspace-member/workspace-member-unchecked-update.input.ts deleted file mode 100644 index 5a40c8e08..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-unchecked-update.input.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class WorkspaceMemberUncheckedUpdateInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - userId?: StringFieldUpdateOperationsInput; - - @HideField() - workspaceId?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-update-many-mutation.input.ts b/server/src/core/@generated/workspace-member/workspace-member-update-many-mutation.input.ts deleted file mode 100644 index 1175f6606..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-update-many-mutation.input.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class WorkspaceMemberUpdateManyMutationInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-update-many-with-where-without-workspace.input.ts b/server/src/core/@generated/workspace-member/workspace-member-update-many-with-where-without-workspace.input.ts deleted file mode 100644 index 4335be295..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-update-many-with-where-without-workspace.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { WorkspaceMemberScalarWhereInput } from './workspace-member-scalar-where.input'; -import { Type } from 'class-transformer'; -import { WorkspaceMemberUpdateManyMutationInput } from './workspace-member-update-many-mutation.input'; - -@InputType() -export class WorkspaceMemberUpdateManyWithWhereWithoutWorkspaceInput { - - @Field(() => WorkspaceMemberScalarWhereInput, {nullable:false}) - @Type(() => WorkspaceMemberScalarWhereInput) - where!: WorkspaceMemberScalarWhereInput; - - @Field(() => WorkspaceMemberUpdateManyMutationInput, {nullable:false}) - @Type(() => WorkspaceMemberUpdateManyMutationInput) - data!: WorkspaceMemberUpdateManyMutationInput; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-update-many-without-workspace-nested.input.ts b/server/src/core/@generated/workspace-member/workspace-member-update-many-without-workspace-nested.input.ts deleted file mode 100644 index 15a201bbf..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-update-many-without-workspace-nested.input.ts +++ /dev/null @@ -1,59 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { WorkspaceMemberCreateWithoutWorkspaceInput } from './workspace-member-create-without-workspace.input'; -import { Type } from 'class-transformer'; -import { WorkspaceMemberCreateOrConnectWithoutWorkspaceInput } from './workspace-member-create-or-connect-without-workspace.input'; -import { WorkspaceMemberUpsertWithWhereUniqueWithoutWorkspaceInput } from './workspace-member-upsert-with-where-unique-without-workspace.input'; -import { WorkspaceMemberCreateManyWorkspaceInputEnvelope } from './workspace-member-create-many-workspace-input-envelope.input'; -import { WorkspaceMemberWhereUniqueInput } from './workspace-member-where-unique.input'; -import { WorkspaceMemberUpdateWithWhereUniqueWithoutWorkspaceInput } from './workspace-member-update-with-where-unique-without-workspace.input'; -import { WorkspaceMemberUpdateManyWithWhereWithoutWorkspaceInput } from './workspace-member-update-many-with-where-without-workspace.input'; -import { WorkspaceMemberScalarWhereInput } from './workspace-member-scalar-where.input'; - -@InputType() -export class WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput { - - @Field(() => [WorkspaceMemberCreateWithoutWorkspaceInput], {nullable:true}) - @Type(() => WorkspaceMemberCreateWithoutWorkspaceInput) - create?: Array; - - @Field(() => [WorkspaceMemberCreateOrConnectWithoutWorkspaceInput], {nullable:true}) - @Type(() => WorkspaceMemberCreateOrConnectWithoutWorkspaceInput) - connectOrCreate?: Array; - - @Field(() => [WorkspaceMemberUpsertWithWhereUniqueWithoutWorkspaceInput], {nullable:true}) - @Type(() => WorkspaceMemberUpsertWithWhereUniqueWithoutWorkspaceInput) - upsert?: Array; - - @Field(() => WorkspaceMemberCreateManyWorkspaceInputEnvelope, {nullable:true}) - @Type(() => WorkspaceMemberCreateManyWorkspaceInputEnvelope) - createMany?: WorkspaceMemberCreateManyWorkspaceInputEnvelope; - - @Field(() => [WorkspaceMemberWhereUniqueInput], {nullable:true}) - @Type(() => WorkspaceMemberWhereUniqueInput) - set?: Array; - - @Field(() => [WorkspaceMemberWhereUniqueInput], {nullable:true}) - @Type(() => WorkspaceMemberWhereUniqueInput) - disconnect?: Array; - - @Field(() => [WorkspaceMemberWhereUniqueInput], {nullable:true}) - @Type(() => WorkspaceMemberWhereUniqueInput) - delete?: Array; - - @Field(() => [WorkspaceMemberWhereUniqueInput], {nullable:true}) - @Type(() => WorkspaceMemberWhereUniqueInput) - connect?: Array; - - @Field(() => [WorkspaceMemberUpdateWithWhereUniqueWithoutWorkspaceInput], {nullable:true}) - @Type(() => WorkspaceMemberUpdateWithWhereUniqueWithoutWorkspaceInput) - update?: Array; - - @Field(() => [WorkspaceMemberUpdateManyWithWhereWithoutWorkspaceInput], {nullable:true}) - @Type(() => WorkspaceMemberUpdateManyWithWhereWithoutWorkspaceInput) - updateMany?: Array; - - @Field(() => [WorkspaceMemberScalarWhereInput], {nullable:true}) - @Type(() => WorkspaceMemberScalarWhereInput) - deleteMany?: Array; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-update-one-without-user-nested.input.ts b/server/src/core/@generated/workspace-member/workspace-member-update-one-without-user-nested.input.ts deleted file mode 100644 index 0b2ff52fc..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-update-one-without-user-nested.input.ts +++ /dev/null @@ -1,38 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { WorkspaceMemberCreateWithoutUserInput } from './workspace-member-create-without-user.input'; -import { Type } from 'class-transformer'; -import { WorkspaceMemberCreateOrConnectWithoutUserInput } from './workspace-member-create-or-connect-without-user.input'; -import { WorkspaceMemberUpsertWithoutUserInput } from './workspace-member-upsert-without-user.input'; -import { WorkspaceMemberWhereUniqueInput } from './workspace-member-where-unique.input'; -import { WorkspaceMemberUpdateWithoutUserInput } from './workspace-member-update-without-user.input'; - -@InputType() -export class WorkspaceMemberUpdateOneWithoutUserNestedInput { - - @Field(() => WorkspaceMemberCreateWithoutUserInput, {nullable:true}) - @Type(() => WorkspaceMemberCreateWithoutUserInput) - create?: WorkspaceMemberCreateWithoutUserInput; - - @Field(() => WorkspaceMemberCreateOrConnectWithoutUserInput, {nullable:true}) - @Type(() => WorkspaceMemberCreateOrConnectWithoutUserInput) - connectOrCreate?: WorkspaceMemberCreateOrConnectWithoutUserInput; - - @Field(() => WorkspaceMemberUpsertWithoutUserInput, {nullable:true}) - @Type(() => WorkspaceMemberUpsertWithoutUserInput) - upsert?: WorkspaceMemberUpsertWithoutUserInput; - - @Field(() => Boolean, {nullable:true}) - disconnect?: boolean; - - @Field(() => Boolean, {nullable:true}) - delete?: boolean; - - @Field(() => WorkspaceMemberWhereUniqueInput, {nullable:true}) - @Type(() => WorkspaceMemberWhereUniqueInput) - connect?: WorkspaceMemberWhereUniqueInput; - - @Field(() => WorkspaceMemberUpdateWithoutUserInput, {nullable:true}) - @Type(() => WorkspaceMemberUpdateWithoutUserInput) - update?: WorkspaceMemberUpdateWithoutUserInput; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-update-with-where-unique-without-workspace.input.ts b/server/src/core/@generated/workspace-member/workspace-member-update-with-where-unique-without-workspace.input.ts deleted file mode 100644 index 1ff4f3e4b..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-update-with-where-unique-without-workspace.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { WorkspaceMemberWhereUniqueInput } from './workspace-member-where-unique.input'; -import { Type } from 'class-transformer'; -import { WorkspaceMemberUpdateWithoutWorkspaceInput } from './workspace-member-update-without-workspace.input'; - -@InputType() -export class WorkspaceMemberUpdateWithWhereUniqueWithoutWorkspaceInput { - - @Field(() => WorkspaceMemberWhereUniqueInput, {nullable:false}) - @Type(() => WorkspaceMemberWhereUniqueInput) - where!: WorkspaceMemberWhereUniqueInput; - - @Field(() => WorkspaceMemberUpdateWithoutWorkspaceInput, {nullable:false}) - @Type(() => WorkspaceMemberUpdateWithoutWorkspaceInput) - data!: WorkspaceMemberUpdateWithoutWorkspaceInput; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-update-without-user.input.ts b/server/src/core/@generated/workspace-member/workspace-member-update-without-user.input.ts deleted file mode 100644 index 8c8cdeae4..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-update-without-user.input.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -import { WorkspaceUpdateOneRequiredWithoutWorkspaceMemberNestedInput } from '../workspace/workspace-update-one-required-without-workspace-member-nested.input'; - -@InputType() -export class WorkspaceMemberUpdateWithoutUserInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @HideField() - workspace?: WorkspaceUpdateOneRequiredWithoutWorkspaceMemberNestedInput; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-update-without-workspace.input.ts b/server/src/core/@generated/workspace-member/workspace-member-update-without-workspace.input.ts deleted file mode 100644 index d763f9a5b..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-update-without-workspace.input.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -import { UserUpdateOneRequiredWithoutWorkspaceMemberNestedInput } from '../user/user-update-one-required-without-workspace-member-nested.input'; - -@InputType() -export class WorkspaceMemberUpdateWithoutWorkspaceInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => UserUpdateOneRequiredWithoutWorkspaceMemberNestedInput, {nullable:true}) - user?: UserUpdateOneRequiredWithoutWorkspaceMemberNestedInput; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-update.input.ts b/server/src/core/@generated/workspace-member/workspace-member-update.input.ts deleted file mode 100644 index 343ecf858..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-update.input.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; -import { UserUpdateOneRequiredWithoutWorkspaceMemberNestedInput } from '../user/user-update-one-required-without-workspace-member-nested.input'; -import { WorkspaceUpdateOneRequiredWithoutWorkspaceMemberNestedInput } from '../workspace/workspace-update-one-required-without-workspace-member-nested.input'; - -@InputType() -export class WorkspaceMemberUpdateInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => UserUpdateOneRequiredWithoutWorkspaceMemberNestedInput, {nullable:true}) - user?: UserUpdateOneRequiredWithoutWorkspaceMemberNestedInput; - - @HideField() - workspace?: WorkspaceUpdateOneRequiredWithoutWorkspaceMemberNestedInput; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-upsert-with-where-unique-without-workspace.input.ts b/server/src/core/@generated/workspace-member/workspace-member-upsert-with-where-unique-without-workspace.input.ts deleted file mode 100644 index b4a1241fa..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-upsert-with-where-unique-without-workspace.input.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { WorkspaceMemberWhereUniqueInput } from './workspace-member-where-unique.input'; -import { Type } from 'class-transformer'; -import { WorkspaceMemberUpdateWithoutWorkspaceInput } from './workspace-member-update-without-workspace.input'; -import { WorkspaceMemberCreateWithoutWorkspaceInput } from './workspace-member-create-without-workspace.input'; - -@InputType() -export class WorkspaceMemberUpsertWithWhereUniqueWithoutWorkspaceInput { - - @Field(() => WorkspaceMemberWhereUniqueInput, {nullable:false}) - @Type(() => WorkspaceMemberWhereUniqueInput) - where!: WorkspaceMemberWhereUniqueInput; - - @Field(() => WorkspaceMemberUpdateWithoutWorkspaceInput, {nullable:false}) - @Type(() => WorkspaceMemberUpdateWithoutWorkspaceInput) - update!: WorkspaceMemberUpdateWithoutWorkspaceInput; - - @Field(() => WorkspaceMemberCreateWithoutWorkspaceInput, {nullable:false}) - @Type(() => WorkspaceMemberCreateWithoutWorkspaceInput) - create!: WorkspaceMemberCreateWithoutWorkspaceInput; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-upsert-without-user.input.ts b/server/src/core/@generated/workspace-member/workspace-member-upsert-without-user.input.ts deleted file mode 100644 index 0c1d6b322..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-upsert-without-user.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { WorkspaceMemberUpdateWithoutUserInput } from './workspace-member-update-without-user.input'; -import { Type } from 'class-transformer'; -import { WorkspaceMemberCreateWithoutUserInput } from './workspace-member-create-without-user.input'; - -@InputType() -export class WorkspaceMemberUpsertWithoutUserInput { - - @Field(() => WorkspaceMemberUpdateWithoutUserInput, {nullable:false}) - @Type(() => WorkspaceMemberUpdateWithoutUserInput) - update!: WorkspaceMemberUpdateWithoutUserInput; - - @Field(() => WorkspaceMemberCreateWithoutUserInput, {nullable:false}) - @Type(() => WorkspaceMemberCreateWithoutUserInput) - create!: WorkspaceMemberCreateWithoutUserInput; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-where-unique.input.ts b/server/src/core/@generated/workspace-member/workspace-member-where-unique.input.ts deleted file mode 100644 index 52ce8efd6..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-where-unique.input.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; - -@InputType() -export class WorkspaceMemberWhereUniqueInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - userId?: string; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member-where.input.ts b/server/src/core/@generated/workspace-member/workspace-member-where.input.ts deleted file mode 100644 index 1eda2d1ae..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member-where.input.ts +++ /dev/null @@ -1,45 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFilter } from '../prisma/string-filter.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input'; -import { DateTimeFilter } from '../prisma/date-time-filter.input'; -import { UserRelationFilter } from '../user/user-relation-filter.input'; -import { WorkspaceRelationFilter } from '../workspace/workspace-relation-filter.input'; - -@InputType() -export class WorkspaceMemberWhereInput { - - @Field(() => [WorkspaceMemberWhereInput], {nullable:true}) - AND?: Array; - - @Field(() => [WorkspaceMemberWhereInput], {nullable:true}) - OR?: Array; - - @Field(() => [WorkspaceMemberWhereInput], {nullable:true}) - NOT?: Array; - - @Field(() => StringFilter, {nullable:true}) - id?: StringFilter; - - @Field(() => StringFilter, {nullable:true}) - userId?: StringFilter; - - @HideField() - workspaceId?: StringFilter; - - @HideField() - deletedAt?: DateTimeNullableFilter; - - @Field(() => DateTimeFilter, {nullable:true}) - createdAt?: DateTimeFilter; - - @Field(() => DateTimeFilter, {nullable:true}) - updatedAt?: DateTimeFilter; - - @Field(() => UserRelationFilter, {nullable:true}) - user?: UserRelationFilter; - - @HideField() - workspace?: WorkspaceRelationFilter; -} diff --git a/server/src/core/@generated/workspace-member/workspace-member.model.ts b/server/src/core/@generated/workspace-member/workspace-member.model.ts deleted file mode 100644 index 225e41e9c..000000000 --- a/server/src/core/@generated/workspace-member/workspace-member.model.ts +++ /dev/null @@ -1,34 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import { ID } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; -import { User } from '../user/user.model'; -import { Workspace } from '../workspace/workspace.model'; - -@ObjectType() -export class WorkspaceMember { - - @Field(() => ID, {nullable:false}) - id!: string; - - @Field(() => String, {nullable:false}) - userId!: string; - - @HideField() - workspaceId!: string; - - @HideField() - deletedAt!: Date | null; - - @Field(() => Date, {nullable:false}) - createdAt!: Date; - - @Field(() => Date, {nullable:false}) - updatedAt!: Date; - - @Field(() => User, {nullable:false}) - user?: User; - - @Field(() => Workspace, {nullable:false}) - workspace?: Workspace; -} diff --git a/server/src/core/@generated/workspace/aggregate-workspace.output.ts b/server/src/core/@generated/workspace/aggregate-workspace.output.ts deleted file mode 100644 index 52f73f4f0..000000000 --- a/server/src/core/@generated/workspace/aggregate-workspace.output.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import { WorkspaceCountAggregate } from './workspace-count-aggregate.output'; -import { WorkspaceMinAggregate } from './workspace-min-aggregate.output'; -import { WorkspaceMaxAggregate } from './workspace-max-aggregate.output'; - -@ObjectType() -export class AggregateWorkspace { - - @Field(() => WorkspaceCountAggregate, {nullable:true}) - _count?: WorkspaceCountAggregate; - - @Field(() => WorkspaceMinAggregate, {nullable:true}) - _min?: WorkspaceMinAggregate; - - @Field(() => WorkspaceMaxAggregate, {nullable:true}) - _max?: WorkspaceMaxAggregate; -} diff --git a/server/src/core/@generated/workspace/create-many-workspace.args.ts b/server/src/core/@generated/workspace/create-many-workspace.args.ts deleted file mode 100644 index 9dc7e7e9e..000000000 --- a/server/src/core/@generated/workspace/create-many-workspace.args.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { WorkspaceCreateManyInput } from './workspace-create-many.input'; -import { Type } from 'class-transformer'; -import { ValidateNested } from 'class-validator'; - -@ArgsType() -export class CreateManyWorkspaceArgs { - - @Field(() => [WorkspaceCreateManyInput], {nullable:false}) - @Type(() => WorkspaceCreateManyInput) - @ValidateNested({each: true}) - @Type(() => WorkspaceCreateManyInput) - data!: Array; - - @Field(() => Boolean, {nullable:true}) - skipDuplicates?: boolean; -} diff --git a/server/src/core/@generated/workspace/create-one-workspace.args.ts b/server/src/core/@generated/workspace/create-one-workspace.args.ts deleted file mode 100644 index ce2dec159..000000000 --- a/server/src/core/@generated/workspace/create-one-workspace.args.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { WorkspaceCreateInput } from './workspace-create.input'; -import { Type } from 'class-transformer'; -import { ValidateNested } from 'class-validator'; - -@ArgsType() -export class CreateOneWorkspaceArgs { - - @Field(() => WorkspaceCreateInput, {nullable:false}) - @Type(() => WorkspaceCreateInput) - @ValidateNested({each: true}) - @Type(() => WorkspaceCreateInput) - data!: WorkspaceCreateInput; -} diff --git a/server/src/core/@generated/workspace/delete-many-workspace.args.ts b/server/src/core/@generated/workspace/delete-many-workspace.args.ts deleted file mode 100644 index 0f7301ba2..000000000 --- a/server/src/core/@generated/workspace/delete-many-workspace.args.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { WorkspaceWhereInput } from './workspace-where.input'; -import { Type } from 'class-transformer'; - -@ArgsType() -export class DeleteManyWorkspaceArgs { - - @Field(() => WorkspaceWhereInput, {nullable:true}) - @Type(() => WorkspaceWhereInput) - where?: WorkspaceWhereInput; -} diff --git a/server/src/core/@generated/workspace/delete-one-workspace.args.ts b/server/src/core/@generated/workspace/delete-one-workspace.args.ts deleted file mode 100644 index c7c282122..000000000 --- a/server/src/core/@generated/workspace/delete-one-workspace.args.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input'; -import { Type } from 'class-transformer'; - -@ArgsType() -export class DeleteOneWorkspaceArgs { - - @Field(() => WorkspaceWhereUniqueInput, {nullable:false}) - @Type(() => WorkspaceWhereUniqueInput) - where!: WorkspaceWhereUniqueInput; -} diff --git a/server/src/core/@generated/workspace/find-first-workspace-or-throw.args.ts b/server/src/core/@generated/workspace/find-first-workspace-or-throw.args.ts deleted file mode 100644 index e028eacc7..000000000 --- a/server/src/core/@generated/workspace/find-first-workspace-or-throw.args.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { WorkspaceWhereInput } from './workspace-where.input'; -import { Type } from 'class-transformer'; -import { WorkspaceOrderByWithRelationInput } from './workspace-order-by-with-relation.input'; -import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input'; -import { Int } from '@nestjs/graphql'; -import { WorkspaceScalarFieldEnum } from './workspace-scalar-field.enum'; - -@ArgsType() -export class FindFirstWorkspaceOrThrowArgs { - - @Field(() => WorkspaceWhereInput, {nullable:true}) - @Type(() => WorkspaceWhereInput) - where?: WorkspaceWhereInput; - - @Field(() => [WorkspaceOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; - - @Field(() => WorkspaceWhereUniqueInput, {nullable:true}) - cursor?: WorkspaceWhereUniqueInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [WorkspaceScalarFieldEnum], {nullable:true}) - distinct?: Array; -} diff --git a/server/src/core/@generated/workspace/find-first-workspace.args.ts b/server/src/core/@generated/workspace/find-first-workspace.args.ts deleted file mode 100644 index 152415aea..000000000 --- a/server/src/core/@generated/workspace/find-first-workspace.args.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { WorkspaceWhereInput } from './workspace-where.input'; -import { Type } from 'class-transformer'; -import { WorkspaceOrderByWithRelationInput } from './workspace-order-by-with-relation.input'; -import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input'; -import { Int } from '@nestjs/graphql'; -import { WorkspaceScalarFieldEnum } from './workspace-scalar-field.enum'; - -@ArgsType() -export class FindFirstWorkspaceArgs { - - @Field(() => WorkspaceWhereInput, {nullable:true}) - @Type(() => WorkspaceWhereInput) - where?: WorkspaceWhereInput; - - @Field(() => [WorkspaceOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; - - @Field(() => WorkspaceWhereUniqueInput, {nullable:true}) - cursor?: WorkspaceWhereUniqueInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [WorkspaceScalarFieldEnum], {nullable:true}) - distinct?: Array; -} diff --git a/server/src/core/@generated/workspace/find-many-workspace.args.ts b/server/src/core/@generated/workspace/find-many-workspace.args.ts deleted file mode 100644 index d72770549..000000000 --- a/server/src/core/@generated/workspace/find-many-workspace.args.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { WorkspaceWhereInput } from './workspace-where.input'; -import { Type } from 'class-transformer'; -import { WorkspaceOrderByWithRelationInput } from './workspace-order-by-with-relation.input'; -import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input'; -import { Int } from '@nestjs/graphql'; -import { WorkspaceScalarFieldEnum } from './workspace-scalar-field.enum'; - -@ArgsType() -export class FindManyWorkspaceArgs { - - @Field(() => WorkspaceWhereInput, {nullable:true}) - @Type(() => WorkspaceWhereInput) - where?: WorkspaceWhereInput; - - @Field(() => [WorkspaceOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; - - @Field(() => WorkspaceWhereUniqueInput, {nullable:true}) - cursor?: WorkspaceWhereUniqueInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [WorkspaceScalarFieldEnum], {nullable:true}) - distinct?: Array; -} diff --git a/server/src/core/@generated/workspace/find-unique-workspace-or-throw.args.ts b/server/src/core/@generated/workspace/find-unique-workspace-or-throw.args.ts deleted file mode 100644 index 375936279..000000000 --- a/server/src/core/@generated/workspace/find-unique-workspace-or-throw.args.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input'; -import { Type } from 'class-transformer'; - -@ArgsType() -export class FindUniqueWorkspaceOrThrowArgs { - - @Field(() => WorkspaceWhereUniqueInput, {nullable:false}) - @Type(() => WorkspaceWhereUniqueInput) - where!: WorkspaceWhereUniqueInput; -} diff --git a/server/src/core/@generated/workspace/find-unique-workspace.args.ts b/server/src/core/@generated/workspace/find-unique-workspace.args.ts deleted file mode 100644 index bfd72938a..000000000 --- a/server/src/core/@generated/workspace/find-unique-workspace.args.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input'; -import { Type } from 'class-transformer'; - -@ArgsType() -export class FindUniqueWorkspaceArgs { - - @Field(() => WorkspaceWhereUniqueInput, {nullable:false}) - @Type(() => WorkspaceWhereUniqueInput) - where!: WorkspaceWhereUniqueInput; -} diff --git a/server/src/core/@generated/workspace/update-many-workspace.args.ts b/server/src/core/@generated/workspace/update-many-workspace.args.ts deleted file mode 100644 index 7772c4a69..000000000 --- a/server/src/core/@generated/workspace/update-many-workspace.args.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { WorkspaceUpdateManyMutationInput } from './workspace-update-many-mutation.input'; -import { Type } from 'class-transformer'; -import { ValidateNested } from 'class-validator'; -import { WorkspaceWhereInput } from './workspace-where.input'; - -@ArgsType() -export class UpdateManyWorkspaceArgs { - - @Field(() => WorkspaceUpdateManyMutationInput, {nullable:false}) - @Type(() => WorkspaceUpdateManyMutationInput) - @ValidateNested({each: true}) - @Type(() => WorkspaceUpdateManyMutationInput) - data!: WorkspaceUpdateManyMutationInput; - - @Field(() => WorkspaceWhereInput, {nullable:true}) - @Type(() => WorkspaceWhereInput) - where?: WorkspaceWhereInput; -} diff --git a/server/src/core/@generated/workspace/update-one-workspace.args.ts b/server/src/core/@generated/workspace/update-one-workspace.args.ts deleted file mode 100644 index d28d7161b..000000000 --- a/server/src/core/@generated/workspace/update-one-workspace.args.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { WorkspaceUpdateInput } from './workspace-update.input'; -import { Type } from 'class-transformer'; -import { ValidateNested } from 'class-validator'; -import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input'; - -@ArgsType() -export class UpdateOneWorkspaceArgs { - - @Field(() => WorkspaceUpdateInput, {nullable:false}) - @Type(() => WorkspaceUpdateInput) - @ValidateNested({each: true}) - @Type(() => WorkspaceUpdateInput) - data!: WorkspaceUpdateInput; - - @Field(() => WorkspaceWhereUniqueInput, {nullable:false}) - @Type(() => WorkspaceWhereUniqueInput) - where!: WorkspaceWhereUniqueInput; -} diff --git a/server/src/core/@generated/workspace/upsert-one-workspace.args.ts b/server/src/core/@generated/workspace/upsert-one-workspace.args.ts deleted file mode 100644 index 3160cb392..000000000 --- a/server/src/core/@generated/workspace/upsert-one-workspace.args.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input'; -import { Type } from 'class-transformer'; -import { WorkspaceCreateInput } from './workspace-create.input'; -import { WorkspaceUpdateInput } from './workspace-update.input'; - -@ArgsType() -export class UpsertOneWorkspaceArgs { - - @Field(() => WorkspaceWhereUniqueInput, {nullable:false}) - @Type(() => WorkspaceWhereUniqueInput) - where!: WorkspaceWhereUniqueInput; - - @Field(() => WorkspaceCreateInput, {nullable:false}) - @Type(() => WorkspaceCreateInput) - create!: WorkspaceCreateInput; - - @Field(() => WorkspaceUpdateInput, {nullable:false}) - @Type(() => WorkspaceUpdateInput) - update!: WorkspaceUpdateInput; -} diff --git a/server/src/core/@generated/workspace/workspace-aggregate.args.ts b/server/src/core/@generated/workspace/workspace-aggregate.args.ts deleted file mode 100644 index 59f6296a9..000000000 --- a/server/src/core/@generated/workspace/workspace-aggregate.args.ts +++ /dev/null @@ -1,39 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { WorkspaceWhereInput } from './workspace-where.input'; -import { Type } from 'class-transformer'; -import { WorkspaceOrderByWithRelationInput } from './workspace-order-by-with-relation.input'; -import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input'; -import { Int } from '@nestjs/graphql'; -import { WorkspaceCountAggregateInput } from './workspace-count-aggregate.input'; -import { WorkspaceMinAggregateInput } from './workspace-min-aggregate.input'; -import { WorkspaceMaxAggregateInput } from './workspace-max-aggregate.input'; - -@ArgsType() -export class WorkspaceAggregateArgs { - - @Field(() => WorkspaceWhereInput, {nullable:true}) - @Type(() => WorkspaceWhereInput) - where?: WorkspaceWhereInput; - - @Field(() => [WorkspaceOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; - - @Field(() => WorkspaceWhereUniqueInput, {nullable:true}) - cursor?: WorkspaceWhereUniqueInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => WorkspaceCountAggregateInput, {nullable:true}) - _count?: WorkspaceCountAggregateInput; - - @Field(() => WorkspaceMinAggregateInput, {nullable:true}) - _min?: WorkspaceMinAggregateInput; - - @Field(() => WorkspaceMaxAggregateInput, {nullable:true}) - _max?: WorkspaceMaxAggregateInput; -} diff --git a/server/src/core/@generated/workspace/workspace-count-aggregate.input.ts b/server/src/core/@generated/workspace/workspace-count-aggregate.input.ts deleted file mode 100644 index 3037aa5b2..000000000 --- a/server/src/core/@generated/workspace/workspace-count-aggregate.input.ts +++ /dev/null @@ -1,34 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class WorkspaceCountAggregateInput { - - @Field(() => Boolean, {nullable:true}) - id?: true; - - @Field(() => Boolean, {nullable:true}) - domainName?: true; - - @Field(() => Boolean, {nullable:true}) - displayName?: true; - - @Field(() => Boolean, {nullable:true}) - logo?: true; - - @Field(() => Boolean, {nullable:true}) - inviteHash?: true; - - @HideField() - deletedAt?: true; - - @Field(() => Boolean, {nullable:true}) - createdAt?: true; - - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; - - @Field(() => Boolean, {nullable:true}) - _all?: true; -} diff --git a/server/src/core/@generated/workspace/workspace-count-aggregate.output.ts b/server/src/core/@generated/workspace/workspace-count-aggregate.output.ts deleted file mode 100644 index 8cdb999f4..000000000 --- a/server/src/core/@generated/workspace/workspace-count-aggregate.output.ts +++ /dev/null @@ -1,35 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import { Int } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; - -@ObjectType() -export class WorkspaceCountAggregate { - - @Field(() => Int, {nullable:false}) - id!: number; - - @Field(() => Int, {nullable:false}) - domainName!: number; - - @Field(() => Int, {nullable:false}) - displayName!: number; - - @Field(() => Int, {nullable:false}) - logo!: number; - - @Field(() => Int, {nullable:false}) - inviteHash!: number; - - @HideField() - deletedAt!: number; - - @Field(() => Int, {nullable:false}) - createdAt!: number; - - @Field(() => Int, {nullable:false}) - updatedAt!: number; - - @Field(() => Int, {nullable:false}) - _all!: number; -} diff --git a/server/src/core/@generated/workspace/workspace-count-order-by-aggregate.input.ts b/server/src/core/@generated/workspace/workspace-count-order-by-aggregate.input.ts deleted file mode 100644 index 5e64ba8f3..000000000 --- a/server/src/core/@generated/workspace/workspace-count-order-by-aggregate.input.ts +++ /dev/null @@ -1,32 +0,0 @@ -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 WorkspaceCountOrderByAggregateInput { - - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - domainName?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - displayName?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - logo?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - inviteHash?: keyof typeof SortOrder; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; -} diff --git a/server/src/core/@generated/workspace/workspace-count.output.ts b/server/src/core/@generated/workspace/workspace-count.output.ts deleted file mode 100644 index 6e7a9643f..000000000 --- a/server/src/core/@generated/workspace/workspace-count.output.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import { Int } from '@nestjs/graphql'; - -@ObjectType() -export class WorkspaceCount { - - @Field(() => Int, {nullable:false}) - 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; - - @Field(() => Int, {nullable:false}) - pipelines?: number; - - @Field(() => Int, {nullable:false}) - pipelineStages?: number; - - @Field(() => Int, {nullable:false}) - pipelineProgresses?: number; -} diff --git a/server/src/core/@generated/workspace/workspace-create-many.input.ts b/server/src/core/@generated/workspace/workspace-create-many.input.ts deleted file mode 100644 index ea966b3c9..000000000 --- a/server/src/core/@generated/workspace/workspace-create-many.input.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class WorkspaceCreateManyInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - domainName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - displayName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - logo?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - inviteHash?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/workspace/workspace-create-nested-one-without-comment-threads.input.ts b/server/src/core/@generated/workspace/workspace-create-nested-one-without-comment-threads.input.ts deleted file mode 100644 index fe379f659..000000000 --- a/server/src/core/@generated/workspace/workspace-create-nested-one-without-comment-threads.input.ts +++ /dev/null @@ -1,22 +0,0 @@ -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/core/@generated/workspace/workspace-create-nested-one-without-comments.input.ts b/server/src/core/@generated/workspace/workspace-create-nested-one-without-comments.input.ts deleted file mode 100644 index 2a1398f5d..000000000 --- a/server/src/core/@generated/workspace/workspace-create-nested-one-without-comments.input.ts +++ /dev/null @@ -1,22 +0,0 @@ -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/core/@generated/workspace/workspace-create-nested-one-without-companies.input.ts b/server/src/core/@generated/workspace/workspace-create-nested-one-without-companies.input.ts deleted file mode 100644 index 53728b01d..000000000 --- a/server/src/core/@generated/workspace/workspace-create-nested-one-without-companies.input.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { WorkspaceCreateWithoutCompaniesInput } from './workspace-create-without-companies.input'; -import { Type } from 'class-transformer'; -import { WorkspaceCreateOrConnectWithoutCompaniesInput } from './workspace-create-or-connect-without-companies.input'; -import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input'; - -@InputType() -export class WorkspaceCreateNestedOneWithoutCompaniesInput { - - @Field(() => WorkspaceCreateWithoutCompaniesInput, {nullable:true}) - @Type(() => WorkspaceCreateWithoutCompaniesInput) - create?: WorkspaceCreateWithoutCompaniesInput; - - @Field(() => WorkspaceCreateOrConnectWithoutCompaniesInput, {nullable:true}) - @Type(() => WorkspaceCreateOrConnectWithoutCompaniesInput) - connectOrCreate?: WorkspaceCreateOrConnectWithoutCompaniesInput; - - @Field(() => WorkspaceWhereUniqueInput, {nullable:true}) - @Type(() => WorkspaceWhereUniqueInput) - connect?: WorkspaceWhereUniqueInput; -} diff --git a/server/src/core/@generated/workspace/workspace-create-nested-one-without-people.input.ts b/server/src/core/@generated/workspace/workspace-create-nested-one-without-people.input.ts deleted file mode 100644 index f788d2d00..000000000 --- a/server/src/core/@generated/workspace/workspace-create-nested-one-without-people.input.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { WorkspaceCreateWithoutPeopleInput } from './workspace-create-without-people.input'; -import { Type } from 'class-transformer'; -import { WorkspaceCreateOrConnectWithoutPeopleInput } from './workspace-create-or-connect-without-people.input'; -import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input'; - -@InputType() -export class WorkspaceCreateNestedOneWithoutPeopleInput { - - @Field(() => WorkspaceCreateWithoutPeopleInput, {nullable:true}) - @Type(() => WorkspaceCreateWithoutPeopleInput) - create?: WorkspaceCreateWithoutPeopleInput; - - @Field(() => WorkspaceCreateOrConnectWithoutPeopleInput, {nullable:true}) - @Type(() => WorkspaceCreateOrConnectWithoutPeopleInput) - connectOrCreate?: WorkspaceCreateOrConnectWithoutPeopleInput; - - @Field(() => WorkspaceWhereUniqueInput, {nullable:true}) - @Type(() => WorkspaceWhereUniqueInput) - connect?: WorkspaceWhereUniqueInput; -} diff --git a/server/src/core/@generated/workspace/workspace-create-nested-one-without-pipeline-progresses.input.ts b/server/src/core/@generated/workspace/workspace-create-nested-one-without-pipeline-progresses.input.ts deleted file mode 100644 index b46ef31a5..000000000 --- a/server/src/core/@generated/workspace/workspace-create-nested-one-without-pipeline-progresses.input.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { WorkspaceCreateWithoutPipelineProgressesInput } from './workspace-create-without-pipeline-progresses.input'; -import { Type } from 'class-transformer'; -import { WorkspaceCreateOrConnectWithoutPipelineProgressesInput } from './workspace-create-or-connect-without-pipeline-progresses.input'; -import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input'; - -@InputType() -export class WorkspaceCreateNestedOneWithoutPipelineProgressesInput { - - @Field(() => WorkspaceCreateWithoutPipelineProgressesInput, {nullable:true}) - @Type(() => WorkspaceCreateWithoutPipelineProgressesInput) - create?: WorkspaceCreateWithoutPipelineProgressesInput; - - @Field(() => WorkspaceCreateOrConnectWithoutPipelineProgressesInput, {nullable:true}) - @Type(() => WorkspaceCreateOrConnectWithoutPipelineProgressesInput) - connectOrCreate?: WorkspaceCreateOrConnectWithoutPipelineProgressesInput; - - @Field(() => WorkspaceWhereUniqueInput, {nullable:true}) - @Type(() => WorkspaceWhereUniqueInput) - connect?: WorkspaceWhereUniqueInput; -} diff --git a/server/src/core/@generated/workspace/workspace-create-nested-one-without-pipeline-stages.input.ts b/server/src/core/@generated/workspace/workspace-create-nested-one-without-pipeline-stages.input.ts deleted file mode 100644 index f05f4e133..000000000 --- a/server/src/core/@generated/workspace/workspace-create-nested-one-without-pipeline-stages.input.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { WorkspaceCreateWithoutPipelineStagesInput } from './workspace-create-without-pipeline-stages.input'; -import { Type } from 'class-transformer'; -import { WorkspaceCreateOrConnectWithoutPipelineStagesInput } from './workspace-create-or-connect-without-pipeline-stages.input'; -import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input'; - -@InputType() -export class WorkspaceCreateNestedOneWithoutPipelineStagesInput { - - @Field(() => WorkspaceCreateWithoutPipelineStagesInput, {nullable:true}) - @Type(() => WorkspaceCreateWithoutPipelineStagesInput) - create?: WorkspaceCreateWithoutPipelineStagesInput; - - @Field(() => WorkspaceCreateOrConnectWithoutPipelineStagesInput, {nullable:true}) - @Type(() => WorkspaceCreateOrConnectWithoutPipelineStagesInput) - connectOrCreate?: WorkspaceCreateOrConnectWithoutPipelineStagesInput; - - @Field(() => WorkspaceWhereUniqueInput, {nullable:true}) - @Type(() => WorkspaceWhereUniqueInput) - connect?: WorkspaceWhereUniqueInput; -} diff --git a/server/src/core/@generated/workspace/workspace-create-nested-one-without-pipelines.input.ts b/server/src/core/@generated/workspace/workspace-create-nested-one-without-pipelines.input.ts deleted file mode 100644 index 5af08ccdc..000000000 --- a/server/src/core/@generated/workspace/workspace-create-nested-one-without-pipelines.input.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { WorkspaceCreateWithoutPipelinesInput } from './workspace-create-without-pipelines.input'; -import { Type } from 'class-transformer'; -import { WorkspaceCreateOrConnectWithoutPipelinesInput } from './workspace-create-or-connect-without-pipelines.input'; -import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input'; - -@InputType() -export class WorkspaceCreateNestedOneWithoutPipelinesInput { - - @Field(() => WorkspaceCreateWithoutPipelinesInput, {nullable:true}) - @Type(() => WorkspaceCreateWithoutPipelinesInput) - create?: WorkspaceCreateWithoutPipelinesInput; - - @Field(() => WorkspaceCreateOrConnectWithoutPipelinesInput, {nullable:true}) - @Type(() => WorkspaceCreateOrConnectWithoutPipelinesInput) - connectOrCreate?: WorkspaceCreateOrConnectWithoutPipelinesInput; - - @Field(() => WorkspaceWhereUniqueInput, {nullable:true}) - @Type(() => WorkspaceWhereUniqueInput) - connect?: WorkspaceWhereUniqueInput; -} diff --git a/server/src/core/@generated/workspace/workspace-create-nested-one-without-workspace-member.input.ts b/server/src/core/@generated/workspace/workspace-create-nested-one-without-workspace-member.input.ts deleted file mode 100644 index 7a15dffa3..000000000 --- a/server/src/core/@generated/workspace/workspace-create-nested-one-without-workspace-member.input.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { WorkspaceCreateWithoutWorkspaceMemberInput } from './workspace-create-without-workspace-member.input'; -import { Type } from 'class-transformer'; -import { WorkspaceCreateOrConnectWithoutWorkspaceMemberInput } from './workspace-create-or-connect-without-workspace-member.input'; -import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input'; - -@InputType() -export class WorkspaceCreateNestedOneWithoutWorkspaceMemberInput { - - @Field(() => WorkspaceCreateWithoutWorkspaceMemberInput, {nullable:true}) - @Type(() => WorkspaceCreateWithoutWorkspaceMemberInput) - create?: WorkspaceCreateWithoutWorkspaceMemberInput; - - @Field(() => WorkspaceCreateOrConnectWithoutWorkspaceMemberInput, {nullable:true}) - @Type(() => WorkspaceCreateOrConnectWithoutWorkspaceMemberInput) - connectOrCreate?: WorkspaceCreateOrConnectWithoutWorkspaceMemberInput; - - @Field(() => WorkspaceWhereUniqueInput, {nullable:true}) - @Type(() => WorkspaceWhereUniqueInput) - connect?: WorkspaceWhereUniqueInput; -} diff --git a/server/src/core/@generated/workspace/workspace-create-or-connect-without-comment-threads.input.ts b/server/src/core/@generated/workspace/workspace-create-or-connect-without-comment-threads.input.ts deleted file mode 100644 index 184bac6c8..000000000 --- a/server/src/core/@generated/workspace/workspace-create-or-connect-without-comment-threads.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -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/core/@generated/workspace/workspace-create-or-connect-without-comments.input.ts b/server/src/core/@generated/workspace/workspace-create-or-connect-without-comments.input.ts deleted file mode 100644 index 54dc40859..000000000 --- a/server/src/core/@generated/workspace/workspace-create-or-connect-without-comments.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -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/core/@generated/workspace/workspace-create-or-connect-without-companies.input.ts b/server/src/core/@generated/workspace/workspace-create-or-connect-without-companies.input.ts deleted file mode 100644 index f3a02a38c..000000000 --- a/server/src/core/@generated/workspace/workspace-create-or-connect-without-companies.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input'; -import { Type } from 'class-transformer'; -import { WorkspaceCreateWithoutCompaniesInput } from './workspace-create-without-companies.input'; - -@InputType() -export class WorkspaceCreateOrConnectWithoutCompaniesInput { - - @Field(() => WorkspaceWhereUniqueInput, {nullable:false}) - @Type(() => WorkspaceWhereUniqueInput) - where!: WorkspaceWhereUniqueInput; - - @Field(() => WorkspaceCreateWithoutCompaniesInput, {nullable:false}) - @Type(() => WorkspaceCreateWithoutCompaniesInput) - create!: WorkspaceCreateWithoutCompaniesInput; -} diff --git a/server/src/core/@generated/workspace/workspace-create-or-connect-without-people.input.ts b/server/src/core/@generated/workspace/workspace-create-or-connect-without-people.input.ts deleted file mode 100644 index acc47e438..000000000 --- a/server/src/core/@generated/workspace/workspace-create-or-connect-without-people.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input'; -import { Type } from 'class-transformer'; -import { WorkspaceCreateWithoutPeopleInput } from './workspace-create-without-people.input'; - -@InputType() -export class WorkspaceCreateOrConnectWithoutPeopleInput { - - @Field(() => WorkspaceWhereUniqueInput, {nullable:false}) - @Type(() => WorkspaceWhereUniqueInput) - where!: WorkspaceWhereUniqueInput; - - @Field(() => WorkspaceCreateWithoutPeopleInput, {nullable:false}) - @Type(() => WorkspaceCreateWithoutPeopleInput) - create!: WorkspaceCreateWithoutPeopleInput; -} diff --git a/server/src/core/@generated/workspace/workspace-create-or-connect-without-pipeline-progresses.input.ts b/server/src/core/@generated/workspace/workspace-create-or-connect-without-pipeline-progresses.input.ts deleted file mode 100644 index 71e5b95df..000000000 --- a/server/src/core/@generated/workspace/workspace-create-or-connect-without-pipeline-progresses.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input'; -import { Type } from 'class-transformer'; -import { WorkspaceCreateWithoutPipelineProgressesInput } from './workspace-create-without-pipeline-progresses.input'; - -@InputType() -export class WorkspaceCreateOrConnectWithoutPipelineProgressesInput { - - @Field(() => WorkspaceWhereUniqueInput, {nullable:false}) - @Type(() => WorkspaceWhereUniqueInput) - where!: WorkspaceWhereUniqueInput; - - @Field(() => WorkspaceCreateWithoutPipelineProgressesInput, {nullable:false}) - @Type(() => WorkspaceCreateWithoutPipelineProgressesInput) - create!: WorkspaceCreateWithoutPipelineProgressesInput; -} diff --git a/server/src/core/@generated/workspace/workspace-create-or-connect-without-pipeline-stages.input.ts b/server/src/core/@generated/workspace/workspace-create-or-connect-without-pipeline-stages.input.ts deleted file mode 100644 index 1d2bc52e0..000000000 --- a/server/src/core/@generated/workspace/workspace-create-or-connect-without-pipeline-stages.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input'; -import { Type } from 'class-transformer'; -import { WorkspaceCreateWithoutPipelineStagesInput } from './workspace-create-without-pipeline-stages.input'; - -@InputType() -export class WorkspaceCreateOrConnectWithoutPipelineStagesInput { - - @Field(() => WorkspaceWhereUniqueInput, {nullable:false}) - @Type(() => WorkspaceWhereUniqueInput) - where!: WorkspaceWhereUniqueInput; - - @Field(() => WorkspaceCreateWithoutPipelineStagesInput, {nullable:false}) - @Type(() => WorkspaceCreateWithoutPipelineStagesInput) - create!: WorkspaceCreateWithoutPipelineStagesInput; -} diff --git a/server/src/core/@generated/workspace/workspace-create-or-connect-without-pipelines.input.ts b/server/src/core/@generated/workspace/workspace-create-or-connect-without-pipelines.input.ts deleted file mode 100644 index c541c52a6..000000000 --- a/server/src/core/@generated/workspace/workspace-create-or-connect-without-pipelines.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input'; -import { Type } from 'class-transformer'; -import { WorkspaceCreateWithoutPipelinesInput } from './workspace-create-without-pipelines.input'; - -@InputType() -export class WorkspaceCreateOrConnectWithoutPipelinesInput { - - @Field(() => WorkspaceWhereUniqueInput, {nullable:false}) - @Type(() => WorkspaceWhereUniqueInput) - where!: WorkspaceWhereUniqueInput; - - @Field(() => WorkspaceCreateWithoutPipelinesInput, {nullable:false}) - @Type(() => WorkspaceCreateWithoutPipelinesInput) - create!: WorkspaceCreateWithoutPipelinesInput; -} diff --git a/server/src/core/@generated/workspace/workspace-create-or-connect-without-workspace-member.input.ts b/server/src/core/@generated/workspace/workspace-create-or-connect-without-workspace-member.input.ts deleted file mode 100644 index 08d5f5cc6..000000000 --- a/server/src/core/@generated/workspace/workspace-create-or-connect-without-workspace-member.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input'; -import { Type } from 'class-transformer'; -import { WorkspaceCreateWithoutWorkspaceMemberInput } from './workspace-create-without-workspace-member.input'; - -@InputType() -export class WorkspaceCreateOrConnectWithoutWorkspaceMemberInput { - - @Field(() => WorkspaceWhereUniqueInput, {nullable:false}) - @Type(() => WorkspaceWhereUniqueInput) - where!: WorkspaceWhereUniqueInput; - - @Field(() => WorkspaceCreateWithoutWorkspaceMemberInput, {nullable:false}) - @Type(() => WorkspaceCreateWithoutWorkspaceMemberInput) - create!: WorkspaceCreateWithoutWorkspaceMemberInput; -} diff --git a/server/src/core/@generated/workspace/workspace-create-without-comment-threads.input.ts b/server/src/core/@generated/workspace/workspace-create-without-comment-threads.input.ts deleted file mode 100644 index a4f5b8811..000000000 --- a/server/src/core/@generated/workspace/workspace-create-without-comment-threads.input.ts +++ /dev/null @@ -1,70 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } 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'; -import { PipelineCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-create-nested-many-without-workspace.input'; -import { PipelineStageCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-create-nested-many-without-workspace.input'; -import { PipelineProgressCreateNestedManyWithoutWorkspaceInput } from '../pipeline-progress/pipeline-progress-create-nested-many-without-workspace.input'; - -@InputType() -export class WorkspaceCreateWithoutCommentThreadsInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - domainName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - displayName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - logo?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - inviteHash?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | 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; - - @Field(() => PipelineCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - pipelines?: PipelineCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PipelineStageCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - pipelineStages?: PipelineStageCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PipelineProgressCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - pipelineProgresses?: PipelineProgressCreateNestedManyWithoutWorkspaceInput; -} diff --git a/server/src/core/@generated/workspace/workspace-create-without-comments.input.ts b/server/src/core/@generated/workspace/workspace-create-without-comments.input.ts deleted file mode 100644 index 1c5bf3177..000000000 --- a/server/src/core/@generated/workspace/workspace-create-without-comments.input.ts +++ /dev/null @@ -1,70 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } 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 { PipelineCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-create-nested-many-without-workspace.input'; -import { PipelineStageCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-create-nested-many-without-workspace.input'; -import { PipelineProgressCreateNestedManyWithoutWorkspaceInput } from '../pipeline-progress/pipeline-progress-create-nested-many-without-workspace.input'; - -@InputType() -export class WorkspaceCreateWithoutCommentsInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - domainName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - displayName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - logo?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - inviteHash?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | 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; - - @Field(() => PipelineCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - pipelines?: PipelineCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PipelineStageCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - pipelineStages?: PipelineStageCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PipelineProgressCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - pipelineProgresses?: PipelineProgressCreateNestedManyWithoutWorkspaceInput; -} diff --git a/server/src/core/@generated/workspace/workspace-create-without-companies.input.ts b/server/src/core/@generated/workspace/workspace-create-without-companies.input.ts deleted file mode 100644 index 82e08c92b..000000000 --- a/server/src/core/@generated/workspace/workspace-create-without-companies.input.ts +++ /dev/null @@ -1,70 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } 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'; -import { PipelineCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-create-nested-many-without-workspace.input'; -import { PipelineStageCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-create-nested-many-without-workspace.input'; -import { PipelineProgressCreateNestedManyWithoutWorkspaceInput } from '../pipeline-progress/pipeline-progress-create-nested-many-without-workspace.input'; - -@InputType() -export class WorkspaceCreateWithoutCompaniesInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - domainName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - displayName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - logo?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - inviteHash?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => WorkspaceMemberCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - workspaceMember?: WorkspaceMemberCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PersonCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - people?: PersonCreateNestedManyWithoutWorkspaceInput; - - @Field(() => CommentThreadCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - commentThreads?: CommentThreadCreateNestedManyWithoutWorkspaceInput; - - @Field(() => CommentCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - comments?: CommentCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PipelineCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - pipelines?: PipelineCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PipelineStageCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - pipelineStages?: PipelineStageCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PipelineProgressCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - pipelineProgresses?: PipelineProgressCreateNestedManyWithoutWorkspaceInput; -} diff --git a/server/src/core/@generated/workspace/workspace-create-without-people.input.ts b/server/src/core/@generated/workspace/workspace-create-without-people.input.ts deleted file mode 100644 index a8e6a9e7e..000000000 --- a/server/src/core/@generated/workspace/workspace-create-without-people.input.ts +++ /dev/null @@ -1,70 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } 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'; -import { PipelineCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-create-nested-many-without-workspace.input'; -import { PipelineStageCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-create-nested-many-without-workspace.input'; -import { PipelineProgressCreateNestedManyWithoutWorkspaceInput } from '../pipeline-progress/pipeline-progress-create-nested-many-without-workspace.input'; - -@InputType() -export class WorkspaceCreateWithoutPeopleInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - domainName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - displayName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - logo?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - inviteHash?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => WorkspaceMemberCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - workspaceMember?: WorkspaceMemberCreateNestedManyWithoutWorkspaceInput; - - @Field(() => CompanyCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - companies?: CompanyCreateNestedManyWithoutWorkspaceInput; - - @Field(() => CommentThreadCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - commentThreads?: CommentThreadCreateNestedManyWithoutWorkspaceInput; - - @Field(() => CommentCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - comments?: CommentCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PipelineCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - pipelines?: PipelineCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PipelineStageCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - pipelineStages?: PipelineStageCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PipelineProgressCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - pipelineProgresses?: PipelineProgressCreateNestedManyWithoutWorkspaceInput; -} diff --git a/server/src/core/@generated/workspace/workspace-create-without-pipeline-progresses.input.ts b/server/src/core/@generated/workspace/workspace-create-without-pipeline-progresses.input.ts deleted file mode 100644 index acb95644e..000000000 --- a/server/src/core/@generated/workspace/workspace-create-without-pipeline-progresses.input.ts +++ /dev/null @@ -1,70 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } 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'; -import { PipelineCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-create-nested-many-without-workspace.input'; -import { PipelineStageCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-create-nested-many-without-workspace.input'; - -@InputType() -export class WorkspaceCreateWithoutPipelineProgressesInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - domainName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - displayName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - logo?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - inviteHash?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | 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; - - @Field(() => CommentCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - comments?: CommentCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PipelineCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - pipelines?: PipelineCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PipelineStageCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - pipelineStages?: PipelineStageCreateNestedManyWithoutWorkspaceInput; -} diff --git a/server/src/core/@generated/workspace/workspace-create-without-pipeline-stages.input.ts b/server/src/core/@generated/workspace/workspace-create-without-pipeline-stages.input.ts deleted file mode 100644 index ba4be9ed7..000000000 --- a/server/src/core/@generated/workspace/workspace-create-without-pipeline-stages.input.ts +++ /dev/null @@ -1,70 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } 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'; -import { PipelineCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-create-nested-many-without-workspace.input'; -import { PipelineProgressCreateNestedManyWithoutWorkspaceInput } from '../pipeline-progress/pipeline-progress-create-nested-many-without-workspace.input'; - -@InputType() -export class WorkspaceCreateWithoutPipelineStagesInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - domainName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - displayName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - logo?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - inviteHash?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | 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; - - @Field(() => CommentCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - comments?: CommentCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PipelineCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - pipelines?: PipelineCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PipelineProgressCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - pipelineProgresses?: PipelineProgressCreateNestedManyWithoutWorkspaceInput; -} diff --git a/server/src/core/@generated/workspace/workspace-create-without-pipelines.input.ts b/server/src/core/@generated/workspace/workspace-create-without-pipelines.input.ts deleted file mode 100644 index e3f462522..000000000 --- a/server/src/core/@generated/workspace/workspace-create-without-pipelines.input.ts +++ /dev/null @@ -1,70 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } 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'; -import { PipelineStageCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-create-nested-many-without-workspace.input'; -import { PipelineProgressCreateNestedManyWithoutWorkspaceInput } from '../pipeline-progress/pipeline-progress-create-nested-many-without-workspace.input'; - -@InputType() -export class WorkspaceCreateWithoutPipelinesInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - domainName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - displayName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - logo?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - inviteHash?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | 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; - - @Field(() => CommentCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - comments?: CommentCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PipelineStageCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - pipelineStages?: PipelineStageCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PipelineProgressCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - pipelineProgresses?: PipelineProgressCreateNestedManyWithoutWorkspaceInput; -} diff --git a/server/src/core/@generated/workspace/workspace-create-without-workspace-member.input.ts b/server/src/core/@generated/workspace/workspace-create-without-workspace-member.input.ts deleted file mode 100644 index 0a872a25b..000000000 --- a/server/src/core/@generated/workspace/workspace-create-without-workspace-member.input.ts +++ /dev/null @@ -1,70 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } 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'; -import { PipelineCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-create-nested-many-without-workspace.input'; -import { PipelineStageCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-create-nested-many-without-workspace.input'; -import { PipelineProgressCreateNestedManyWithoutWorkspaceInput } from '../pipeline-progress/pipeline-progress-create-nested-many-without-workspace.input'; - -@InputType() -export class WorkspaceCreateWithoutWorkspaceMemberInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - domainName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - displayName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - logo?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - inviteHash?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => CompanyCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - companies?: CompanyCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PersonCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - people?: PersonCreateNestedManyWithoutWorkspaceInput; - - @Field(() => CommentThreadCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - commentThreads?: CommentThreadCreateNestedManyWithoutWorkspaceInput; - - @Field(() => CommentCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - comments?: CommentCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PipelineCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - pipelines?: PipelineCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PipelineStageCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - pipelineStages?: PipelineStageCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PipelineProgressCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - pipelineProgresses?: PipelineProgressCreateNestedManyWithoutWorkspaceInput; -} diff --git a/server/src/core/@generated/workspace/workspace-create.input.ts b/server/src/core/@generated/workspace/workspace-create.input.ts deleted file mode 100644 index db54d1f4d..000000000 --- a/server/src/core/@generated/workspace/workspace-create.input.ts +++ /dev/null @@ -1,74 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } 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'; -import { PipelineCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-create-nested-many-without-workspace.input'; -import { PipelineStageCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-create-nested-many-without-workspace.input'; -import { PipelineProgressCreateNestedManyWithoutWorkspaceInput } from '../pipeline-progress/pipeline-progress-create-nested-many-without-workspace.input'; - -@InputType() -export class WorkspaceCreateInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - domainName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - displayName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - logo?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - inviteHash?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | 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; - - @Field(() => CommentCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - comments?: CommentCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PipelineCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - pipelines?: PipelineCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PipelineStageCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - pipelineStages?: PipelineStageCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PipelineProgressCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - pipelineProgresses?: PipelineProgressCreateNestedManyWithoutWorkspaceInput; -} diff --git a/server/src/core/@generated/workspace/workspace-group-by.args.ts b/server/src/core/@generated/workspace/workspace-group-by.args.ts deleted file mode 100644 index a84f06980..000000000 --- a/server/src/core/@generated/workspace/workspace-group-by.args.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ArgsType } from '@nestjs/graphql'; -import { WorkspaceWhereInput } from './workspace-where.input'; -import { Type } from 'class-transformer'; -import { WorkspaceOrderByWithAggregationInput } from './workspace-order-by-with-aggregation.input'; -import { WorkspaceScalarFieldEnum } from './workspace-scalar-field.enum'; -import { WorkspaceScalarWhereWithAggregatesInput } from './workspace-scalar-where-with-aggregates.input'; -import { Int } from '@nestjs/graphql'; -import { WorkspaceCountAggregateInput } from './workspace-count-aggregate.input'; -import { WorkspaceMinAggregateInput } from './workspace-min-aggregate.input'; -import { WorkspaceMaxAggregateInput } from './workspace-max-aggregate.input'; - -@ArgsType() -export class WorkspaceGroupByArgs { - - @Field(() => WorkspaceWhereInput, {nullable:true}) - @Type(() => WorkspaceWhereInput) - where?: WorkspaceWhereInput; - - @Field(() => [WorkspaceOrderByWithAggregationInput], {nullable:true}) - orderBy?: Array; - - @Field(() => [WorkspaceScalarFieldEnum], {nullable:false}) - by!: Array; - - @Field(() => WorkspaceScalarWhereWithAggregatesInput, {nullable:true}) - having?: WorkspaceScalarWhereWithAggregatesInput; - - @Field(() => Int, {nullable:true}) - take?: number; - - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => WorkspaceCountAggregateInput, {nullable:true}) - _count?: WorkspaceCountAggregateInput; - - @Field(() => WorkspaceMinAggregateInput, {nullable:true}) - _min?: WorkspaceMinAggregateInput; - - @Field(() => WorkspaceMaxAggregateInput, {nullable:true}) - _max?: WorkspaceMaxAggregateInput; -} diff --git a/server/src/core/@generated/workspace/workspace-group-by.output.ts b/server/src/core/@generated/workspace/workspace-group-by.output.ts deleted file mode 100644 index 5b635fe67..000000000 --- a/server/src/core/@generated/workspace/workspace-group-by.output.ts +++ /dev/null @@ -1,54 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; -import { WorkspaceCountAggregate } from './workspace-count-aggregate.output'; -import { WorkspaceMinAggregate } from './workspace-min-aggregate.output'; -import { WorkspaceMaxAggregate } from './workspace-max-aggregate.output'; - -@ObjectType() -export class WorkspaceGroupBy { - - @Field(() => String, {nullable:false}) - @Validator.IsString() - @Validator.IsOptional() - id!: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - domainName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - displayName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - logo?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - inviteHash?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:false}) - createdAt!: Date | string; - - @Field(() => Date, {nullable:false}) - updatedAt!: Date | string; - - @Field(() => WorkspaceCountAggregate, {nullable:true}) - _count?: WorkspaceCountAggregate; - - @Field(() => WorkspaceMinAggregate, {nullable:true}) - _min?: WorkspaceMinAggregate; - - @Field(() => WorkspaceMaxAggregate, {nullable:true}) - _max?: WorkspaceMaxAggregate; -} diff --git a/server/src/core/@generated/workspace/workspace-max-aggregate.input.ts b/server/src/core/@generated/workspace/workspace-max-aggregate.input.ts deleted file mode 100644 index 6e417e976..000000000 --- a/server/src/core/@generated/workspace/workspace-max-aggregate.input.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class WorkspaceMaxAggregateInput { - - @Field(() => Boolean, {nullable:true}) - id?: true; - - @Field(() => Boolean, {nullable:true}) - domainName?: true; - - @Field(() => Boolean, {nullable:true}) - displayName?: true; - - @Field(() => Boolean, {nullable:true}) - logo?: true; - - @Field(() => Boolean, {nullable:true}) - inviteHash?: true; - - @HideField() - deletedAt?: true; - - @Field(() => Boolean, {nullable:true}) - createdAt?: true; - - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; -} diff --git a/server/src/core/@generated/workspace/workspace-max-aggregate.output.ts b/server/src/core/@generated/workspace/workspace-max-aggregate.output.ts deleted file mode 100644 index b553530e3..000000000 --- a/server/src/core/@generated/workspace/workspace-max-aggregate.output.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; - -@ObjectType() -export class WorkspaceMaxAggregate { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - domainName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - displayName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - logo?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - inviteHash?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/workspace/workspace-max-order-by-aggregate.input.ts b/server/src/core/@generated/workspace/workspace-max-order-by-aggregate.input.ts deleted file mode 100644 index 267d586a4..000000000 --- a/server/src/core/@generated/workspace/workspace-max-order-by-aggregate.input.ts +++ /dev/null @@ -1,32 +0,0 @@ -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 WorkspaceMaxOrderByAggregateInput { - - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - domainName?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - displayName?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - logo?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - inviteHash?: keyof typeof SortOrder; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; -} diff --git a/server/src/core/@generated/workspace/workspace-min-aggregate.input.ts b/server/src/core/@generated/workspace/workspace-min-aggregate.input.ts deleted file mode 100644 index 62f0b0409..000000000 --- a/server/src/core/@generated/workspace/workspace-min-aggregate.input.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { HideField } from '@nestjs/graphql'; - -@InputType() -export class WorkspaceMinAggregateInput { - - @Field(() => Boolean, {nullable:true}) - id?: true; - - @Field(() => Boolean, {nullable:true}) - domainName?: true; - - @Field(() => Boolean, {nullable:true}) - displayName?: true; - - @Field(() => Boolean, {nullable:true}) - logo?: true; - - @Field(() => Boolean, {nullable:true}) - inviteHash?: true; - - @HideField() - deletedAt?: true; - - @Field(() => Boolean, {nullable:true}) - createdAt?: true; - - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; -} diff --git a/server/src/core/@generated/workspace/workspace-min-aggregate.output.ts b/server/src/core/@generated/workspace/workspace-min-aggregate.output.ts deleted file mode 100644 index 78ec25d71..000000000 --- a/server/src/core/@generated/workspace/workspace-min-aggregate.output.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } from '@nestjs/graphql'; - -@ObjectType() -export class WorkspaceMinAggregate { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - domainName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - displayName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - logo?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - inviteHash?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; -} diff --git a/server/src/core/@generated/workspace/workspace-min-order-by-aggregate.input.ts b/server/src/core/@generated/workspace/workspace-min-order-by-aggregate.input.ts deleted file mode 100644 index e98cfa129..000000000 --- a/server/src/core/@generated/workspace/workspace-min-order-by-aggregate.input.ts +++ /dev/null @@ -1,32 +0,0 @@ -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 WorkspaceMinOrderByAggregateInput { - - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - domainName?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - displayName?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - logo?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - inviteHash?: keyof typeof SortOrder; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; -} diff --git a/server/src/core/@generated/workspace/workspace-order-by-with-aggregation.input.ts b/server/src/core/@generated/workspace/workspace-order-by-with-aggregation.input.ts deleted file mode 100644 index 3e27b600a..000000000 --- a/server/src/core/@generated/workspace/workspace-order-by-with-aggregation.input.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { SortOrder } from '../prisma/sort-order.enum'; -import { HideField } from '@nestjs/graphql'; -import { WorkspaceCountOrderByAggregateInput } from './workspace-count-order-by-aggregate.input'; -import { WorkspaceMaxOrderByAggregateInput } from './workspace-max-order-by-aggregate.input'; -import { WorkspaceMinOrderByAggregateInput } from './workspace-min-order-by-aggregate.input'; - -@InputType() -export class WorkspaceOrderByWithAggregationInput { - - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - domainName?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - displayName?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - logo?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - inviteHash?: keyof typeof SortOrder; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; - - @Field(() => WorkspaceCountOrderByAggregateInput, {nullable:true}) - _count?: WorkspaceCountOrderByAggregateInput; - - @Field(() => WorkspaceMaxOrderByAggregateInput, {nullable:true}) - _max?: WorkspaceMaxOrderByAggregateInput; - - @Field(() => WorkspaceMinOrderByAggregateInput, {nullable:true}) - _min?: WorkspaceMinOrderByAggregateInput; -} diff --git a/server/src/core/@generated/workspace/workspace-order-by-with-relation.input.ts b/server/src/core/@generated/workspace/workspace-order-by-with-relation.input.ts deleted file mode 100644 index 3c6176ca6..000000000 --- a/server/src/core/@generated/workspace/workspace-order-by-with-relation.input.ts +++ /dev/null @@ -1,64 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { SortOrder } from '../prisma/sort-order.enum'; -import { HideField } from '@nestjs/graphql'; -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'; -import { PipelineOrderByRelationAggregateInput } from '../pipeline/pipeline-order-by-relation-aggregate.input'; -import { PipelineStageOrderByRelationAggregateInput } from '../pipeline-stage/pipeline-stage-order-by-relation-aggregate.input'; -import { PipelineProgressOrderByRelationAggregateInput } from '../pipeline-progress/pipeline-progress-order-by-relation-aggregate.input'; - -@InputType() -export class WorkspaceOrderByWithRelationInput { - - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - domainName?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - displayName?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - logo?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - inviteHash?: keyof typeof SortOrder; - - @HideField() - deletedAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; - - @Field(() => WorkspaceMemberOrderByRelationAggregateInput, {nullable:true}) - 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; - - @Field(() => PipelineOrderByRelationAggregateInput, {nullable:true}) - pipelines?: PipelineOrderByRelationAggregateInput; - - @Field(() => PipelineStageOrderByRelationAggregateInput, {nullable:true}) - pipelineStages?: PipelineStageOrderByRelationAggregateInput; - - @Field(() => PipelineProgressOrderByRelationAggregateInput, {nullable:true}) - pipelineProgresses?: PipelineProgressOrderByRelationAggregateInput; -} diff --git a/server/src/core/@generated/workspace/workspace-relation-filter.input.ts b/server/src/core/@generated/workspace/workspace-relation-filter.input.ts deleted file mode 100644 index 2a0703e05..000000000 --- a/server/src/core/@generated/workspace/workspace-relation-filter.input.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { WorkspaceWhereInput } from './workspace-where.input'; - -@InputType() -export class WorkspaceRelationFilter { - - @Field(() => WorkspaceWhereInput, {nullable:true}) - is?: WorkspaceWhereInput; - - @Field(() => WorkspaceWhereInput, {nullable:true}) - isNot?: WorkspaceWhereInput; -} diff --git a/server/src/core/@generated/workspace/workspace-scalar-field.enum.ts b/server/src/core/@generated/workspace/workspace-scalar-field.enum.ts deleted file mode 100644 index c4cde6d11..000000000 --- a/server/src/core/@generated/workspace/workspace-scalar-field.enum.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { registerEnumType } from '@nestjs/graphql'; - -export enum WorkspaceScalarFieldEnum { - id = "id", - domainName = "domainName", - displayName = "displayName", - logo = "logo", - inviteHash = "inviteHash", - deletedAt = "deletedAt", - createdAt = "createdAt", - updatedAt = "updatedAt" -} - - -registerEnumType(WorkspaceScalarFieldEnum, { name: 'WorkspaceScalarFieldEnum', description: undefined }) diff --git a/server/src/core/@generated/workspace/workspace-scalar-where-with-aggregates.input.ts b/server/src/core/@generated/workspace/workspace-scalar-where-with-aggregates.input.ts deleted file mode 100644 index b5b44e90f..000000000 --- a/server/src/core/@generated/workspace/workspace-scalar-where-with-aggregates.input.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringWithAggregatesFilter } from '../prisma/string-with-aggregates-filter.input'; -import { StringNullableWithAggregatesFilter } from '../prisma/string-nullable-with-aggregates-filter.input'; -import { DateTimeNullableWithAggregatesFilter } from '../prisma/date-time-nullable-with-aggregates-filter.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeWithAggregatesFilter } from '../prisma/date-time-with-aggregates-filter.input'; - -@InputType() -export class WorkspaceScalarWhereWithAggregatesInput { - - @Field(() => [WorkspaceScalarWhereWithAggregatesInput], {nullable:true}) - AND?: Array; - - @Field(() => [WorkspaceScalarWhereWithAggregatesInput], {nullable:true}) - OR?: Array; - - @Field(() => [WorkspaceScalarWhereWithAggregatesInput], {nullable:true}) - NOT?: Array; - - @Field(() => StringWithAggregatesFilter, {nullable:true}) - id?: StringWithAggregatesFilter; - - @Field(() => StringNullableWithAggregatesFilter, {nullable:true}) - domainName?: StringNullableWithAggregatesFilter; - - @Field(() => StringNullableWithAggregatesFilter, {nullable:true}) - displayName?: StringNullableWithAggregatesFilter; - - @Field(() => StringNullableWithAggregatesFilter, {nullable:true}) - logo?: StringNullableWithAggregatesFilter; - - @Field(() => StringNullableWithAggregatesFilter, {nullable:true}) - inviteHash?: StringNullableWithAggregatesFilter; - - @HideField() - deletedAt?: DateTimeNullableWithAggregatesFilter; - - @Field(() => DateTimeWithAggregatesFilter, {nullable:true}) - createdAt?: DateTimeWithAggregatesFilter; - - @Field(() => DateTimeWithAggregatesFilter, {nullable:true}) - updatedAt?: DateTimeWithAggregatesFilter; -} diff --git a/server/src/core/@generated/workspace/workspace-unchecked-create-without-comment-threads.input.ts b/server/src/core/@generated/workspace/workspace-unchecked-create-without-comment-threads.input.ts deleted file mode 100644 index 19d067d7b..000000000 --- a/server/src/core/@generated/workspace/workspace-unchecked-create-without-comment-threads.input.ts +++ /dev/null @@ -1,70 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } 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'; -import { PipelineUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-unchecked-create-nested-many-without-workspace.input'; -import { PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-workspace.input'; -import { PipelineProgressUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline-progress/pipeline-progress-unchecked-create-nested-many-without-workspace.input'; - -@InputType() -export class WorkspaceUncheckedCreateWithoutCommentThreadsInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - domainName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - displayName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - logo?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - inviteHash?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | 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; - - @Field(() => PipelineUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - pipelines?: PipelineUncheckedCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - pipelineStages?: PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PipelineProgressUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - pipelineProgresses?: PipelineProgressUncheckedCreateNestedManyWithoutWorkspaceInput; -} diff --git a/server/src/core/@generated/workspace/workspace-unchecked-create-without-comments.input.ts b/server/src/core/@generated/workspace/workspace-unchecked-create-without-comments.input.ts deleted file mode 100644 index f7d33b930..000000000 --- a/server/src/core/@generated/workspace/workspace-unchecked-create-without-comments.input.ts +++ /dev/null @@ -1,70 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } 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 { PipelineUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-unchecked-create-nested-many-without-workspace.input'; -import { PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-workspace.input'; -import { PipelineProgressUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline-progress/pipeline-progress-unchecked-create-nested-many-without-workspace.input'; - -@InputType() -export class WorkspaceUncheckedCreateWithoutCommentsInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - domainName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - displayName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - logo?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - inviteHash?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | 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; - - @Field(() => PipelineUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - pipelines?: PipelineUncheckedCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - pipelineStages?: PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PipelineProgressUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - pipelineProgresses?: PipelineProgressUncheckedCreateNestedManyWithoutWorkspaceInput; -} diff --git a/server/src/core/@generated/workspace/workspace-unchecked-create-without-companies.input.ts b/server/src/core/@generated/workspace/workspace-unchecked-create-without-companies.input.ts deleted file mode 100644 index 1fd58c868..000000000 --- a/server/src/core/@generated/workspace/workspace-unchecked-create-without-companies.input.ts +++ /dev/null @@ -1,70 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } 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'; -import { PipelineUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-unchecked-create-nested-many-without-workspace.input'; -import { PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-workspace.input'; -import { PipelineProgressUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline-progress/pipeline-progress-unchecked-create-nested-many-without-workspace.input'; - -@InputType() -export class WorkspaceUncheckedCreateWithoutCompaniesInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - domainName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - displayName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - logo?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - inviteHash?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - workspaceMember?: WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PersonUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - people?: PersonUncheckedCreateNestedManyWithoutWorkspaceInput; - - @Field(() => CommentThreadUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - commentThreads?: CommentThreadUncheckedCreateNestedManyWithoutWorkspaceInput; - - @Field(() => CommentUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - comments?: CommentUncheckedCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PipelineUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - pipelines?: PipelineUncheckedCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - pipelineStages?: PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PipelineProgressUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - pipelineProgresses?: PipelineProgressUncheckedCreateNestedManyWithoutWorkspaceInput; -} diff --git a/server/src/core/@generated/workspace/workspace-unchecked-create-without-people.input.ts b/server/src/core/@generated/workspace/workspace-unchecked-create-without-people.input.ts deleted file mode 100644 index 8e8705569..000000000 --- a/server/src/core/@generated/workspace/workspace-unchecked-create-without-people.input.ts +++ /dev/null @@ -1,70 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } 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'; -import { PipelineUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-unchecked-create-nested-many-without-workspace.input'; -import { PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-workspace.input'; -import { PipelineProgressUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline-progress/pipeline-progress-unchecked-create-nested-many-without-workspace.input'; - -@InputType() -export class WorkspaceUncheckedCreateWithoutPeopleInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - domainName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - displayName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - logo?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - inviteHash?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - workspaceMember?: WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput; - - @Field(() => CompanyUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - companies?: CompanyUncheckedCreateNestedManyWithoutWorkspaceInput; - - @Field(() => CommentThreadUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - commentThreads?: CommentThreadUncheckedCreateNestedManyWithoutWorkspaceInput; - - @Field(() => CommentUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - comments?: CommentUncheckedCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PipelineUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - pipelines?: PipelineUncheckedCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - pipelineStages?: PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PipelineProgressUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - pipelineProgresses?: PipelineProgressUncheckedCreateNestedManyWithoutWorkspaceInput; -} diff --git a/server/src/core/@generated/workspace/workspace-unchecked-create-without-pipeline-progresses.input.ts b/server/src/core/@generated/workspace/workspace-unchecked-create-without-pipeline-progresses.input.ts deleted file mode 100644 index 398670e2e..000000000 --- a/server/src/core/@generated/workspace/workspace-unchecked-create-without-pipeline-progresses.input.ts +++ /dev/null @@ -1,70 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } 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'; -import { PipelineUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-unchecked-create-nested-many-without-workspace.input'; -import { PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-workspace.input'; - -@InputType() -export class WorkspaceUncheckedCreateWithoutPipelineProgressesInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - domainName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - displayName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - logo?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - inviteHash?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | 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; - - @Field(() => CommentUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - comments?: CommentUncheckedCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PipelineUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - pipelines?: PipelineUncheckedCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - pipelineStages?: PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput; -} diff --git a/server/src/core/@generated/workspace/workspace-unchecked-create-without-pipeline-stages.input.ts b/server/src/core/@generated/workspace/workspace-unchecked-create-without-pipeline-stages.input.ts deleted file mode 100644 index ae0ec021d..000000000 --- a/server/src/core/@generated/workspace/workspace-unchecked-create-without-pipeline-stages.input.ts +++ /dev/null @@ -1,70 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } 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'; -import { PipelineUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-unchecked-create-nested-many-without-workspace.input'; -import { PipelineProgressUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline-progress/pipeline-progress-unchecked-create-nested-many-without-workspace.input'; - -@InputType() -export class WorkspaceUncheckedCreateWithoutPipelineStagesInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - domainName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - displayName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - logo?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - inviteHash?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | 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; - - @Field(() => CommentUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - comments?: CommentUncheckedCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PipelineUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - pipelines?: PipelineUncheckedCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PipelineProgressUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - pipelineProgresses?: PipelineProgressUncheckedCreateNestedManyWithoutWorkspaceInput; -} diff --git a/server/src/core/@generated/workspace/workspace-unchecked-create-without-pipelines.input.ts b/server/src/core/@generated/workspace/workspace-unchecked-create-without-pipelines.input.ts deleted file mode 100644 index a58e27443..000000000 --- a/server/src/core/@generated/workspace/workspace-unchecked-create-without-pipelines.input.ts +++ /dev/null @@ -1,70 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } 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'; -import { PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-workspace.input'; -import { PipelineProgressUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline-progress/pipeline-progress-unchecked-create-nested-many-without-workspace.input'; - -@InputType() -export class WorkspaceUncheckedCreateWithoutPipelinesInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - domainName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - displayName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - logo?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - inviteHash?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | 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; - - @Field(() => CommentUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - comments?: CommentUncheckedCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - pipelineStages?: PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PipelineProgressUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - pipelineProgresses?: PipelineProgressUncheckedCreateNestedManyWithoutWorkspaceInput; -} diff --git a/server/src/core/@generated/workspace/workspace-unchecked-create-without-workspace-member.input.ts b/server/src/core/@generated/workspace/workspace-unchecked-create-without-workspace-member.input.ts deleted file mode 100644 index e5b0244e0..000000000 --- a/server/src/core/@generated/workspace/workspace-unchecked-create-without-workspace-member.input.ts +++ /dev/null @@ -1,70 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } 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'; -import { PipelineUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-unchecked-create-nested-many-without-workspace.input'; -import { PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-workspace.input'; -import { PipelineProgressUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline-progress/pipeline-progress-unchecked-create-nested-many-without-workspace.input'; - -@InputType() -export class WorkspaceUncheckedCreateWithoutWorkspaceMemberInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - domainName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - displayName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - logo?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - inviteHash?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; - - @Field(() => CompanyUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - companies?: CompanyUncheckedCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PersonUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - people?: PersonUncheckedCreateNestedManyWithoutWorkspaceInput; - - @Field(() => CommentThreadUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - commentThreads?: CommentThreadUncheckedCreateNestedManyWithoutWorkspaceInput; - - @Field(() => CommentUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - comments?: CommentUncheckedCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PipelineUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - pipelines?: PipelineUncheckedCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - pipelineStages?: PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PipelineProgressUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - pipelineProgresses?: PipelineProgressUncheckedCreateNestedManyWithoutWorkspaceInput; -} diff --git a/server/src/core/@generated/workspace/workspace-unchecked-create.input.ts b/server/src/core/@generated/workspace/workspace-unchecked-create.input.ts deleted file mode 100644 index dc6e31b2a..000000000 --- a/server/src/core/@generated/workspace/workspace-unchecked-create.input.ts +++ /dev/null @@ -1,74 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; -import { HideField } 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'; -import { PipelineUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-unchecked-create-nested-many-without-workspace.input'; -import { PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-workspace.input'; -import { PipelineProgressUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline-progress/pipeline-progress-unchecked-create-nested-many-without-workspace.input'; - -@InputType() -export class WorkspaceUncheckedCreateInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - domainName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - displayName?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - logo?: string; - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - inviteHash?: string; - - @HideField() - deletedAt?: Date | string; - - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; - - @Field(() => Date, {nullable:true}) - updatedAt?: Date | 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; - - @Field(() => CommentUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - comments?: CommentUncheckedCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PipelineUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - pipelines?: PipelineUncheckedCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - pipelineStages?: PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PipelineProgressUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - pipelineProgresses?: PipelineProgressUncheckedCreateNestedManyWithoutWorkspaceInput; -} diff --git a/server/src/core/@generated/workspace/workspace-unchecked-update-many.input.ts b/server/src/core/@generated/workspace/workspace-unchecked-update-many.input.ts deleted file mode 100644 index 126c92f66..000000000 --- a/server/src/core/@generated/workspace/workspace-unchecked-update-many.input.ts +++ /dev/null @@ -1,35 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class WorkspaceUncheckedUpdateManyInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - domainName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - displayName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - logo?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - inviteHash?: NullableStringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/workspace/workspace-unchecked-update-without-comment-threads.input.ts b/server/src/core/@generated/workspace/workspace-unchecked-update-without-comment-threads.input.ts deleted file mode 100644 index bef0926e0..000000000 --- a/server/src/core/@generated/workspace/workspace-unchecked-update-without-comment-threads.input.ts +++ /dev/null @@ -1,63 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-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'; -import { PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-unchecked-update-many-without-workspace-nested.input'; -import { PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-unchecked-update-many-without-workspace-nested.input'; -import { PipelineProgressUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-progress/pipeline-progress-unchecked-update-many-without-workspace-nested.input'; - -@InputType() -export class WorkspaceUncheckedUpdateWithoutCommentThreadsInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - domainName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - displayName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - logo?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - inviteHash?: NullableStringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - workspaceMember?: WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - companies?: CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PersonUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - people?: PersonUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => CommentUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - comments?: CommentUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - pipelines?: PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - pipelineStages?: PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PipelineProgressUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - pipelineProgresses?: PipelineProgressUncheckedUpdateManyWithoutWorkspaceNestedInput; -} diff --git a/server/src/core/@generated/workspace/workspace-unchecked-update-without-comments.input.ts b/server/src/core/@generated/workspace/workspace-unchecked-update-without-comments.input.ts deleted file mode 100644 index 94e7575ef..000000000 --- a/server/src/core/@generated/workspace/workspace-unchecked-update-without-comments.input.ts +++ /dev/null @@ -1,63 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-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'; -import { PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-unchecked-update-many-without-workspace-nested.input'; -import { PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-unchecked-update-many-without-workspace-nested.input'; -import { PipelineProgressUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-progress/pipeline-progress-unchecked-update-many-without-workspace-nested.input'; - -@InputType() -export class WorkspaceUncheckedUpdateWithoutCommentsInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - domainName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - displayName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - logo?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - inviteHash?: NullableStringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - workspaceMember?: WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - companies?: CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PersonUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - people?: PersonUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - commentThreads?: CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - pipelines?: PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - pipelineStages?: PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PipelineProgressUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - pipelineProgresses?: PipelineProgressUncheckedUpdateManyWithoutWorkspaceNestedInput; -} diff --git a/server/src/core/@generated/workspace/workspace-unchecked-update-without-companies.input.ts b/server/src/core/@generated/workspace/workspace-unchecked-update-without-companies.input.ts deleted file mode 100644 index 73ba530d3..000000000 --- a/server/src/core/@generated/workspace/workspace-unchecked-update-without-companies.input.ts +++ /dev/null @@ -1,63 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-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'; -import { PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-unchecked-update-many-without-workspace-nested.input'; -import { PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-unchecked-update-many-without-workspace-nested.input'; -import { PipelineProgressUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-progress/pipeline-progress-unchecked-update-many-without-workspace-nested.input'; - -@InputType() -export class WorkspaceUncheckedUpdateWithoutCompaniesInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - domainName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - displayName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - logo?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - inviteHash?: NullableStringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - workspaceMember?: WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PersonUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - people?: PersonUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - commentThreads?: CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => CommentUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - comments?: CommentUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - pipelines?: PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - pipelineStages?: PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PipelineProgressUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - pipelineProgresses?: PipelineProgressUncheckedUpdateManyWithoutWorkspaceNestedInput; -} diff --git a/server/src/core/@generated/workspace/workspace-unchecked-update-without-people.input.ts b/server/src/core/@generated/workspace/workspace-unchecked-update-without-people.input.ts deleted file mode 100644 index 9b2bcdf87..000000000 --- a/server/src/core/@generated/workspace/workspace-unchecked-update-without-people.input.ts +++ /dev/null @@ -1,63 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-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'; -import { PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-unchecked-update-many-without-workspace-nested.input'; -import { PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-unchecked-update-many-without-workspace-nested.input'; -import { PipelineProgressUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-progress/pipeline-progress-unchecked-update-many-without-workspace-nested.input'; - -@InputType() -export class WorkspaceUncheckedUpdateWithoutPeopleInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - domainName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - displayName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - logo?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - inviteHash?: NullableStringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - workspaceMember?: WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - companies?: CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - commentThreads?: CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => CommentUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - comments?: CommentUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - pipelines?: PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - pipelineStages?: PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PipelineProgressUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - pipelineProgresses?: PipelineProgressUncheckedUpdateManyWithoutWorkspaceNestedInput; -} diff --git a/server/src/core/@generated/workspace/workspace-unchecked-update-without-pipeline-progresses.input.ts b/server/src/core/@generated/workspace/workspace-unchecked-update-without-pipeline-progresses.input.ts deleted file mode 100644 index 4c230a043..000000000 --- a/server/src/core/@generated/workspace/workspace-unchecked-update-without-pipeline-progresses.input.ts +++ /dev/null @@ -1,63 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-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'; -import { CommentUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-unchecked-update-many-without-workspace-nested.input'; -import { PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-unchecked-update-many-without-workspace-nested.input'; -import { PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-unchecked-update-many-without-workspace-nested.input'; - -@InputType() -export class WorkspaceUncheckedUpdateWithoutPipelineProgressesInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - domainName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - displayName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - logo?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - inviteHash?: NullableStringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - workspaceMember?: WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - companies?: CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PersonUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - people?: PersonUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - commentThreads?: CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => CommentUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - comments?: CommentUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - pipelines?: PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - pipelineStages?: PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput; -} diff --git a/server/src/core/@generated/workspace/workspace-unchecked-update-without-pipeline-stages.input.ts b/server/src/core/@generated/workspace/workspace-unchecked-update-without-pipeline-stages.input.ts deleted file mode 100644 index 80c1a4aa6..000000000 --- a/server/src/core/@generated/workspace/workspace-unchecked-update-without-pipeline-stages.input.ts +++ /dev/null @@ -1,63 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-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'; -import { CommentUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-unchecked-update-many-without-workspace-nested.input'; -import { PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-unchecked-update-many-without-workspace-nested.input'; -import { PipelineProgressUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-progress/pipeline-progress-unchecked-update-many-without-workspace-nested.input'; - -@InputType() -export class WorkspaceUncheckedUpdateWithoutPipelineStagesInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - domainName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - displayName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - logo?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - inviteHash?: NullableStringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - workspaceMember?: WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - companies?: CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PersonUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - people?: PersonUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - commentThreads?: CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => CommentUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - comments?: CommentUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - pipelines?: PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PipelineProgressUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - pipelineProgresses?: PipelineProgressUncheckedUpdateManyWithoutWorkspaceNestedInput; -} diff --git a/server/src/core/@generated/workspace/workspace-unchecked-update-without-pipelines.input.ts b/server/src/core/@generated/workspace/workspace-unchecked-update-without-pipelines.input.ts deleted file mode 100644 index 23ff8f266..000000000 --- a/server/src/core/@generated/workspace/workspace-unchecked-update-without-pipelines.input.ts +++ /dev/null @@ -1,63 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-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'; -import { CommentUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-unchecked-update-many-without-workspace-nested.input'; -import { PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-unchecked-update-many-without-workspace-nested.input'; -import { PipelineProgressUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-progress/pipeline-progress-unchecked-update-many-without-workspace-nested.input'; - -@InputType() -export class WorkspaceUncheckedUpdateWithoutPipelinesInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - domainName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - displayName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - logo?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - inviteHash?: NullableStringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - workspaceMember?: WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - companies?: CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PersonUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - people?: PersonUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - commentThreads?: CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => CommentUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - comments?: CommentUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - pipelineStages?: PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PipelineProgressUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - pipelineProgresses?: PipelineProgressUncheckedUpdateManyWithoutWorkspaceNestedInput; -} diff --git a/server/src/core/@generated/workspace/workspace-unchecked-update-without-workspace-member.input.ts b/server/src/core/@generated/workspace/workspace-unchecked-update-without-workspace-member.input.ts deleted file mode 100644 index 3007224c8..000000000 --- a/server/src/core/@generated/workspace/workspace-unchecked-update-without-workspace-member.input.ts +++ /dev/null @@ -1,63 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-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'; -import { PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-unchecked-update-many-without-workspace-nested.input'; -import { PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-unchecked-update-many-without-workspace-nested.input'; -import { PipelineProgressUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-progress/pipeline-progress-unchecked-update-many-without-workspace-nested.input'; - -@InputType() -export class WorkspaceUncheckedUpdateWithoutWorkspaceMemberInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - domainName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - displayName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - logo?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - inviteHash?: NullableStringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - companies?: CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PersonUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - people?: PersonUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - commentThreads?: CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => CommentUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - comments?: CommentUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - pipelines?: PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - pipelineStages?: PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PipelineProgressUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - pipelineProgresses?: PipelineProgressUncheckedUpdateManyWithoutWorkspaceNestedInput; -} diff --git a/server/src/core/@generated/workspace/workspace-unchecked-update.input.ts b/server/src/core/@generated/workspace/workspace-unchecked-update.input.ts deleted file mode 100644 index e063135bb..000000000 --- a/server/src/core/@generated/workspace/workspace-unchecked-update.input.ts +++ /dev/null @@ -1,67 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-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'; -import { CommentUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-unchecked-update-many-without-workspace-nested.input'; -import { PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-unchecked-update-many-without-workspace-nested.input'; -import { PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-unchecked-update-many-without-workspace-nested.input'; -import { PipelineProgressUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-progress/pipeline-progress-unchecked-update-many-without-workspace-nested.input'; - -@InputType() -export class WorkspaceUncheckedUpdateInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - domainName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - displayName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - logo?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - inviteHash?: NullableStringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - workspaceMember?: WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - companies?: CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PersonUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - people?: PersonUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - commentThreads?: CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => CommentUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - comments?: CommentUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - pipelines?: PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - pipelineStages?: PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PipelineProgressUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - pipelineProgresses?: PipelineProgressUncheckedUpdateManyWithoutWorkspaceNestedInput; -} diff --git a/server/src/core/@generated/workspace/workspace-update-many-mutation.input.ts b/server/src/core/@generated/workspace/workspace-update-many-mutation.input.ts deleted file mode 100644 index da2cc5e99..000000000 --- a/server/src/core/@generated/workspace/workspace-update-many-mutation.input.ts +++ /dev/null @@ -1,35 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; - -@InputType() -export class WorkspaceUpdateManyMutationInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - domainName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - displayName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - logo?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - inviteHash?: NullableStringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; -} diff --git a/server/src/core/@generated/workspace/workspace-update-one-required-without-comment-threads-nested.input.ts b/server/src/core/@generated/workspace/workspace-update-one-required-without-comment-threads-nested.input.ts deleted file mode 100644 index 4aa3970e8..000000000 --- a/server/src/core/@generated/workspace/workspace-update-one-required-without-comment-threads-nested.input.ts +++ /dev/null @@ -1,32 +0,0 @@ -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/core/@generated/workspace/workspace-update-one-required-without-comments-nested.input.ts b/server/src/core/@generated/workspace/workspace-update-one-required-without-comments-nested.input.ts deleted file mode 100644 index af6fc5796..000000000 --- a/server/src/core/@generated/workspace/workspace-update-one-required-without-comments-nested.input.ts +++ /dev/null @@ -1,32 +0,0 @@ -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/core/@generated/workspace/workspace-update-one-required-without-companies-nested.input.ts b/server/src/core/@generated/workspace/workspace-update-one-required-without-companies-nested.input.ts deleted file mode 100644 index 67b93993c..000000000 --- a/server/src/core/@generated/workspace/workspace-update-one-required-without-companies-nested.input.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { WorkspaceCreateWithoutCompaniesInput } from './workspace-create-without-companies.input'; -import { Type } from 'class-transformer'; -import { WorkspaceCreateOrConnectWithoutCompaniesInput } from './workspace-create-or-connect-without-companies.input'; -import { WorkspaceUpsertWithoutCompaniesInput } from './workspace-upsert-without-companies.input'; -import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input'; -import { WorkspaceUpdateWithoutCompaniesInput } from './workspace-update-without-companies.input'; - -@InputType() -export class WorkspaceUpdateOneRequiredWithoutCompaniesNestedInput { - - @Field(() => WorkspaceCreateWithoutCompaniesInput, {nullable:true}) - @Type(() => WorkspaceCreateWithoutCompaniesInput) - create?: WorkspaceCreateWithoutCompaniesInput; - - @Field(() => WorkspaceCreateOrConnectWithoutCompaniesInput, {nullable:true}) - @Type(() => WorkspaceCreateOrConnectWithoutCompaniesInput) - connectOrCreate?: WorkspaceCreateOrConnectWithoutCompaniesInput; - - @Field(() => WorkspaceUpsertWithoutCompaniesInput, {nullable:true}) - @Type(() => WorkspaceUpsertWithoutCompaniesInput) - upsert?: WorkspaceUpsertWithoutCompaniesInput; - - @Field(() => WorkspaceWhereUniqueInput, {nullable:true}) - @Type(() => WorkspaceWhereUniqueInput) - connect?: WorkspaceWhereUniqueInput; - - @Field(() => WorkspaceUpdateWithoutCompaniesInput, {nullable:true}) - @Type(() => WorkspaceUpdateWithoutCompaniesInput) - update?: WorkspaceUpdateWithoutCompaniesInput; -} diff --git a/server/src/core/@generated/workspace/workspace-update-one-required-without-people-nested.input.ts b/server/src/core/@generated/workspace/workspace-update-one-required-without-people-nested.input.ts deleted file mode 100644 index 6181bbee8..000000000 --- a/server/src/core/@generated/workspace/workspace-update-one-required-without-people-nested.input.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { WorkspaceCreateWithoutPeopleInput } from './workspace-create-without-people.input'; -import { Type } from 'class-transformer'; -import { WorkspaceCreateOrConnectWithoutPeopleInput } from './workspace-create-or-connect-without-people.input'; -import { WorkspaceUpsertWithoutPeopleInput } from './workspace-upsert-without-people.input'; -import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input'; -import { WorkspaceUpdateWithoutPeopleInput } from './workspace-update-without-people.input'; - -@InputType() -export class WorkspaceUpdateOneRequiredWithoutPeopleNestedInput { - - @Field(() => WorkspaceCreateWithoutPeopleInput, {nullable:true}) - @Type(() => WorkspaceCreateWithoutPeopleInput) - create?: WorkspaceCreateWithoutPeopleInput; - - @Field(() => WorkspaceCreateOrConnectWithoutPeopleInput, {nullable:true}) - @Type(() => WorkspaceCreateOrConnectWithoutPeopleInput) - connectOrCreate?: WorkspaceCreateOrConnectWithoutPeopleInput; - - @Field(() => WorkspaceUpsertWithoutPeopleInput, {nullable:true}) - @Type(() => WorkspaceUpsertWithoutPeopleInput) - upsert?: WorkspaceUpsertWithoutPeopleInput; - - @Field(() => WorkspaceWhereUniqueInput, {nullable:true}) - @Type(() => WorkspaceWhereUniqueInput) - connect?: WorkspaceWhereUniqueInput; - - @Field(() => WorkspaceUpdateWithoutPeopleInput, {nullable:true}) - @Type(() => WorkspaceUpdateWithoutPeopleInput) - update?: WorkspaceUpdateWithoutPeopleInput; -} diff --git a/server/src/core/@generated/workspace/workspace-update-one-required-without-pipeline-progresses-nested.input.ts b/server/src/core/@generated/workspace/workspace-update-one-required-without-pipeline-progresses-nested.input.ts deleted file mode 100644 index 02791f36d..000000000 --- a/server/src/core/@generated/workspace/workspace-update-one-required-without-pipeline-progresses-nested.input.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { WorkspaceCreateWithoutPipelineProgressesInput } from './workspace-create-without-pipeline-progresses.input'; -import { Type } from 'class-transformer'; -import { WorkspaceCreateOrConnectWithoutPipelineProgressesInput } from './workspace-create-or-connect-without-pipeline-progresses.input'; -import { WorkspaceUpsertWithoutPipelineProgressesInput } from './workspace-upsert-without-pipeline-progresses.input'; -import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input'; -import { WorkspaceUpdateWithoutPipelineProgressesInput } from './workspace-update-without-pipeline-progresses.input'; - -@InputType() -export class WorkspaceUpdateOneRequiredWithoutPipelineProgressesNestedInput { - - @Field(() => WorkspaceCreateWithoutPipelineProgressesInput, {nullable:true}) - @Type(() => WorkspaceCreateWithoutPipelineProgressesInput) - create?: WorkspaceCreateWithoutPipelineProgressesInput; - - @Field(() => WorkspaceCreateOrConnectWithoutPipelineProgressesInput, {nullable:true}) - @Type(() => WorkspaceCreateOrConnectWithoutPipelineProgressesInput) - connectOrCreate?: WorkspaceCreateOrConnectWithoutPipelineProgressesInput; - - @Field(() => WorkspaceUpsertWithoutPipelineProgressesInput, {nullable:true}) - @Type(() => WorkspaceUpsertWithoutPipelineProgressesInput) - upsert?: WorkspaceUpsertWithoutPipelineProgressesInput; - - @Field(() => WorkspaceWhereUniqueInput, {nullable:true}) - @Type(() => WorkspaceWhereUniqueInput) - connect?: WorkspaceWhereUniqueInput; - - @Field(() => WorkspaceUpdateWithoutPipelineProgressesInput, {nullable:true}) - @Type(() => WorkspaceUpdateWithoutPipelineProgressesInput) - update?: WorkspaceUpdateWithoutPipelineProgressesInput; -} diff --git a/server/src/core/@generated/workspace/workspace-update-one-required-without-pipeline-stages-nested.input.ts b/server/src/core/@generated/workspace/workspace-update-one-required-without-pipeline-stages-nested.input.ts deleted file mode 100644 index 0be135b1f..000000000 --- a/server/src/core/@generated/workspace/workspace-update-one-required-without-pipeline-stages-nested.input.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { WorkspaceCreateWithoutPipelineStagesInput } from './workspace-create-without-pipeline-stages.input'; -import { Type } from 'class-transformer'; -import { WorkspaceCreateOrConnectWithoutPipelineStagesInput } from './workspace-create-or-connect-without-pipeline-stages.input'; -import { WorkspaceUpsertWithoutPipelineStagesInput } from './workspace-upsert-without-pipeline-stages.input'; -import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input'; -import { WorkspaceUpdateWithoutPipelineStagesInput } from './workspace-update-without-pipeline-stages.input'; - -@InputType() -export class WorkspaceUpdateOneRequiredWithoutPipelineStagesNestedInput { - - @Field(() => WorkspaceCreateWithoutPipelineStagesInput, {nullable:true}) - @Type(() => WorkspaceCreateWithoutPipelineStagesInput) - create?: WorkspaceCreateWithoutPipelineStagesInput; - - @Field(() => WorkspaceCreateOrConnectWithoutPipelineStagesInput, {nullable:true}) - @Type(() => WorkspaceCreateOrConnectWithoutPipelineStagesInput) - connectOrCreate?: WorkspaceCreateOrConnectWithoutPipelineStagesInput; - - @Field(() => WorkspaceUpsertWithoutPipelineStagesInput, {nullable:true}) - @Type(() => WorkspaceUpsertWithoutPipelineStagesInput) - upsert?: WorkspaceUpsertWithoutPipelineStagesInput; - - @Field(() => WorkspaceWhereUniqueInput, {nullable:true}) - @Type(() => WorkspaceWhereUniqueInput) - connect?: WorkspaceWhereUniqueInput; - - @Field(() => WorkspaceUpdateWithoutPipelineStagesInput, {nullable:true}) - @Type(() => WorkspaceUpdateWithoutPipelineStagesInput) - update?: WorkspaceUpdateWithoutPipelineStagesInput; -} diff --git a/server/src/core/@generated/workspace/workspace-update-one-required-without-pipelines-nested.input.ts b/server/src/core/@generated/workspace/workspace-update-one-required-without-pipelines-nested.input.ts deleted file mode 100644 index 5322835ff..000000000 --- a/server/src/core/@generated/workspace/workspace-update-one-required-without-pipelines-nested.input.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { WorkspaceCreateWithoutPipelinesInput } from './workspace-create-without-pipelines.input'; -import { Type } from 'class-transformer'; -import { WorkspaceCreateOrConnectWithoutPipelinesInput } from './workspace-create-or-connect-without-pipelines.input'; -import { WorkspaceUpsertWithoutPipelinesInput } from './workspace-upsert-without-pipelines.input'; -import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input'; -import { WorkspaceUpdateWithoutPipelinesInput } from './workspace-update-without-pipelines.input'; - -@InputType() -export class WorkspaceUpdateOneRequiredWithoutPipelinesNestedInput { - - @Field(() => WorkspaceCreateWithoutPipelinesInput, {nullable:true}) - @Type(() => WorkspaceCreateWithoutPipelinesInput) - create?: WorkspaceCreateWithoutPipelinesInput; - - @Field(() => WorkspaceCreateOrConnectWithoutPipelinesInput, {nullable:true}) - @Type(() => WorkspaceCreateOrConnectWithoutPipelinesInput) - connectOrCreate?: WorkspaceCreateOrConnectWithoutPipelinesInput; - - @Field(() => WorkspaceUpsertWithoutPipelinesInput, {nullable:true}) - @Type(() => WorkspaceUpsertWithoutPipelinesInput) - upsert?: WorkspaceUpsertWithoutPipelinesInput; - - @Field(() => WorkspaceWhereUniqueInput, {nullable:true}) - @Type(() => WorkspaceWhereUniqueInput) - connect?: WorkspaceWhereUniqueInput; - - @Field(() => WorkspaceUpdateWithoutPipelinesInput, {nullable:true}) - @Type(() => WorkspaceUpdateWithoutPipelinesInput) - update?: WorkspaceUpdateWithoutPipelinesInput; -} diff --git a/server/src/core/@generated/workspace/workspace-update-one-required-without-workspace-member-nested.input.ts b/server/src/core/@generated/workspace/workspace-update-one-required-without-workspace-member-nested.input.ts deleted file mode 100644 index 7afb186fe..000000000 --- a/server/src/core/@generated/workspace/workspace-update-one-required-without-workspace-member-nested.input.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { WorkspaceCreateWithoutWorkspaceMemberInput } from './workspace-create-without-workspace-member.input'; -import { Type } from 'class-transformer'; -import { WorkspaceCreateOrConnectWithoutWorkspaceMemberInput } from './workspace-create-or-connect-without-workspace-member.input'; -import { WorkspaceUpsertWithoutWorkspaceMemberInput } from './workspace-upsert-without-workspace-member.input'; -import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input'; -import { WorkspaceUpdateWithoutWorkspaceMemberInput } from './workspace-update-without-workspace-member.input'; - -@InputType() -export class WorkspaceUpdateOneRequiredWithoutWorkspaceMemberNestedInput { - - @Field(() => WorkspaceCreateWithoutWorkspaceMemberInput, {nullable:true}) - @Type(() => WorkspaceCreateWithoutWorkspaceMemberInput) - create?: WorkspaceCreateWithoutWorkspaceMemberInput; - - @Field(() => WorkspaceCreateOrConnectWithoutWorkspaceMemberInput, {nullable:true}) - @Type(() => WorkspaceCreateOrConnectWithoutWorkspaceMemberInput) - connectOrCreate?: WorkspaceCreateOrConnectWithoutWorkspaceMemberInput; - - @Field(() => WorkspaceUpsertWithoutWorkspaceMemberInput, {nullable:true}) - @Type(() => WorkspaceUpsertWithoutWorkspaceMemberInput) - upsert?: WorkspaceUpsertWithoutWorkspaceMemberInput; - - @Field(() => WorkspaceWhereUniqueInput, {nullable:true}) - @Type(() => WorkspaceWhereUniqueInput) - connect?: WorkspaceWhereUniqueInput; - - @Field(() => WorkspaceUpdateWithoutWorkspaceMemberInput, {nullable:true}) - @Type(() => WorkspaceUpdateWithoutWorkspaceMemberInput) - update?: WorkspaceUpdateWithoutWorkspaceMemberInput; -} diff --git a/server/src/core/@generated/workspace/workspace-update-without-comment-threads.input.ts b/server/src/core/@generated/workspace/workspace-update-without-comment-threads.input.ts deleted file mode 100644 index 46d3b7a91..000000000 --- a/server/src/core/@generated/workspace/workspace-update-without-comment-threads.input.ts +++ /dev/null @@ -1,63 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-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'; -import { PipelineUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-update-many-without-workspace-nested.input'; -import { PipelineStageUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-update-many-without-workspace-nested.input'; -import { PipelineProgressUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-progress/pipeline-progress-update-many-without-workspace-nested.input'; - -@InputType() -export class WorkspaceUpdateWithoutCommentThreadsInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - domainName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - displayName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - logo?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - inviteHash?: NullableStringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - workspaceMember?: WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => CompanyUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - companies?: CompanyUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PersonUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - people?: PersonUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => CommentUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - comments?: CommentUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PipelineUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - pipelines?: PipelineUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PipelineStageUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - pipelineStages?: PipelineStageUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PipelineProgressUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - pipelineProgresses?: PipelineProgressUpdateManyWithoutWorkspaceNestedInput; -} diff --git a/server/src/core/@generated/workspace/workspace-update-without-comments.input.ts b/server/src/core/@generated/workspace/workspace-update-without-comments.input.ts deleted file mode 100644 index f7e052cb3..000000000 --- a/server/src/core/@generated/workspace/workspace-update-without-comments.input.ts +++ /dev/null @@ -1,63 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-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'; -import { PipelineUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-update-many-without-workspace-nested.input'; -import { PipelineStageUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-update-many-without-workspace-nested.input'; -import { PipelineProgressUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-progress/pipeline-progress-update-many-without-workspace-nested.input'; - -@InputType() -export class WorkspaceUpdateWithoutCommentsInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - domainName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - displayName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - logo?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - inviteHash?: NullableStringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - workspaceMember?: WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => CompanyUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - companies?: CompanyUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PersonUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - people?: PersonUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => CommentThreadUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - commentThreads?: CommentThreadUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PipelineUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - pipelines?: PipelineUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PipelineStageUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - pipelineStages?: PipelineStageUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PipelineProgressUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - pipelineProgresses?: PipelineProgressUpdateManyWithoutWorkspaceNestedInput; -} diff --git a/server/src/core/@generated/workspace/workspace-update-without-companies.input.ts b/server/src/core/@generated/workspace/workspace-update-without-companies.input.ts deleted file mode 100644 index 594005d65..000000000 --- a/server/src/core/@generated/workspace/workspace-update-without-companies.input.ts +++ /dev/null @@ -1,63 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-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'; -import { PipelineUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-update-many-without-workspace-nested.input'; -import { PipelineStageUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-update-many-without-workspace-nested.input'; -import { PipelineProgressUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-progress/pipeline-progress-update-many-without-workspace-nested.input'; - -@InputType() -export class WorkspaceUpdateWithoutCompaniesInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - domainName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - displayName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - logo?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - inviteHash?: NullableStringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - workspaceMember?: WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PersonUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - people?: PersonUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => CommentThreadUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - commentThreads?: CommentThreadUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => CommentUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - comments?: CommentUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PipelineUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - pipelines?: PipelineUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PipelineStageUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - pipelineStages?: PipelineStageUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PipelineProgressUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - pipelineProgresses?: PipelineProgressUpdateManyWithoutWorkspaceNestedInput; -} diff --git a/server/src/core/@generated/workspace/workspace-update-without-people.input.ts b/server/src/core/@generated/workspace/workspace-update-without-people.input.ts deleted file mode 100644 index 728003e06..000000000 --- a/server/src/core/@generated/workspace/workspace-update-without-people.input.ts +++ /dev/null @@ -1,63 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-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'; -import { PipelineUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-update-many-without-workspace-nested.input'; -import { PipelineStageUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-update-many-without-workspace-nested.input'; -import { PipelineProgressUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-progress/pipeline-progress-update-many-without-workspace-nested.input'; - -@InputType() -export class WorkspaceUpdateWithoutPeopleInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - domainName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - displayName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - logo?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - inviteHash?: NullableStringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - workspaceMember?: WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => CompanyUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - companies?: CompanyUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => CommentThreadUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - commentThreads?: CommentThreadUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => CommentUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - comments?: CommentUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PipelineUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - pipelines?: PipelineUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PipelineStageUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - pipelineStages?: PipelineStageUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PipelineProgressUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - pipelineProgresses?: PipelineProgressUpdateManyWithoutWorkspaceNestedInput; -} diff --git a/server/src/core/@generated/workspace/workspace-update-without-pipeline-progresses.input.ts b/server/src/core/@generated/workspace/workspace-update-without-pipeline-progresses.input.ts deleted file mode 100644 index ad4fc98d0..000000000 --- a/server/src/core/@generated/workspace/workspace-update-without-pipeline-progresses.input.ts +++ /dev/null @@ -1,63 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-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'; -import { CommentUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-update-many-without-workspace-nested.input'; -import { PipelineUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-update-many-without-workspace-nested.input'; -import { PipelineStageUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-update-many-without-workspace-nested.input'; - -@InputType() -export class WorkspaceUpdateWithoutPipelineProgressesInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - domainName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - displayName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - logo?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - inviteHash?: NullableStringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - 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; - - @Field(() => PipelineUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - pipelines?: PipelineUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PipelineStageUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - pipelineStages?: PipelineStageUpdateManyWithoutWorkspaceNestedInput; -} diff --git a/server/src/core/@generated/workspace/workspace-update-without-pipeline-stages.input.ts b/server/src/core/@generated/workspace/workspace-update-without-pipeline-stages.input.ts deleted file mode 100644 index 4a5d7c718..000000000 --- a/server/src/core/@generated/workspace/workspace-update-without-pipeline-stages.input.ts +++ /dev/null @@ -1,63 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-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'; -import { CommentUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-update-many-without-workspace-nested.input'; -import { PipelineUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-update-many-without-workspace-nested.input'; -import { PipelineProgressUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-progress/pipeline-progress-update-many-without-workspace-nested.input'; - -@InputType() -export class WorkspaceUpdateWithoutPipelineStagesInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - domainName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - displayName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - logo?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - inviteHash?: NullableStringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - 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; - - @Field(() => PipelineUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - pipelines?: PipelineUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PipelineProgressUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - pipelineProgresses?: PipelineProgressUpdateManyWithoutWorkspaceNestedInput; -} diff --git a/server/src/core/@generated/workspace/workspace-update-without-pipelines.input.ts b/server/src/core/@generated/workspace/workspace-update-without-pipelines.input.ts deleted file mode 100644 index f0153992f..000000000 --- a/server/src/core/@generated/workspace/workspace-update-without-pipelines.input.ts +++ /dev/null @@ -1,63 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-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'; -import { CommentUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-update-many-without-workspace-nested.input'; -import { PipelineStageUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-update-many-without-workspace-nested.input'; -import { PipelineProgressUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-progress/pipeline-progress-update-many-without-workspace-nested.input'; - -@InputType() -export class WorkspaceUpdateWithoutPipelinesInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - domainName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - displayName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - logo?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - inviteHash?: NullableStringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - 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; - - @Field(() => PipelineStageUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - pipelineStages?: PipelineStageUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PipelineProgressUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - pipelineProgresses?: PipelineProgressUpdateManyWithoutWorkspaceNestedInput; -} diff --git a/server/src/core/@generated/workspace/workspace-update-without-workspace-member.input.ts b/server/src/core/@generated/workspace/workspace-update-without-workspace-member.input.ts deleted file mode 100644 index 29088634f..000000000 --- a/server/src/core/@generated/workspace/workspace-update-without-workspace-member.input.ts +++ /dev/null @@ -1,63 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-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'; -import { PipelineUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-update-many-without-workspace-nested.input'; -import { PipelineStageUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-update-many-without-workspace-nested.input'; -import { PipelineProgressUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-progress/pipeline-progress-update-many-without-workspace-nested.input'; - -@InputType() -export class WorkspaceUpdateWithoutWorkspaceMemberInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - domainName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - displayName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - logo?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - inviteHash?: NullableStringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => CompanyUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - companies?: CompanyUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PersonUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - people?: PersonUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => CommentThreadUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - commentThreads?: CommentThreadUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => CommentUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - comments?: CommentUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PipelineUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - pipelines?: PipelineUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PipelineStageUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - pipelineStages?: PipelineStageUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PipelineProgressUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - pipelineProgresses?: PipelineProgressUpdateManyWithoutWorkspaceNestedInput; -} diff --git a/server/src/core/@generated/workspace/workspace-update.input.ts b/server/src/core/@generated/workspace/workspace-update.input.ts deleted file mode 100644 index ea5fbdb0c..000000000 --- a/server/src/core/@generated/workspace/workspace-update.input.ts +++ /dev/null @@ -1,67 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; -import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; -import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-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'; -import { CommentUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-update-many-without-workspace-nested.input'; -import { PipelineUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-update-many-without-workspace-nested.input'; -import { PipelineStageUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-update-many-without-workspace-nested.input'; -import { PipelineProgressUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-progress/pipeline-progress-update-many-without-workspace-nested.input'; - -@InputType() -export class WorkspaceUpdateInput { - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - domainName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - displayName?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - logo?: NullableStringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - inviteHash?: NullableStringFieldUpdateOperationsInput; - - @HideField() - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - 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; - - @Field(() => PipelineUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - pipelines?: PipelineUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PipelineStageUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - pipelineStages?: PipelineStageUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PipelineProgressUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - pipelineProgresses?: PipelineProgressUpdateManyWithoutWorkspaceNestedInput; -} diff --git a/server/src/core/@generated/workspace/workspace-upsert-without-comment-threads.input.ts b/server/src/core/@generated/workspace/workspace-upsert-without-comment-threads.input.ts deleted file mode 100644 index c6c82dfd4..000000000 --- a/server/src/core/@generated/workspace/workspace-upsert-without-comment-threads.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -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/core/@generated/workspace/workspace-upsert-without-comments.input.ts b/server/src/core/@generated/workspace/workspace-upsert-without-comments.input.ts deleted file mode 100644 index 45569bff9..000000000 --- a/server/src/core/@generated/workspace/workspace-upsert-without-comments.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -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/core/@generated/workspace/workspace-upsert-without-companies.input.ts b/server/src/core/@generated/workspace/workspace-upsert-without-companies.input.ts deleted file mode 100644 index f4886aabc..000000000 --- a/server/src/core/@generated/workspace/workspace-upsert-without-companies.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { WorkspaceUpdateWithoutCompaniesInput } from './workspace-update-without-companies.input'; -import { Type } from 'class-transformer'; -import { WorkspaceCreateWithoutCompaniesInput } from './workspace-create-without-companies.input'; - -@InputType() -export class WorkspaceUpsertWithoutCompaniesInput { - - @Field(() => WorkspaceUpdateWithoutCompaniesInput, {nullable:false}) - @Type(() => WorkspaceUpdateWithoutCompaniesInput) - update!: WorkspaceUpdateWithoutCompaniesInput; - - @Field(() => WorkspaceCreateWithoutCompaniesInput, {nullable:false}) - @Type(() => WorkspaceCreateWithoutCompaniesInput) - create!: WorkspaceCreateWithoutCompaniesInput; -} diff --git a/server/src/core/@generated/workspace/workspace-upsert-without-people.input.ts b/server/src/core/@generated/workspace/workspace-upsert-without-people.input.ts deleted file mode 100644 index 10da43e79..000000000 --- a/server/src/core/@generated/workspace/workspace-upsert-without-people.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { WorkspaceUpdateWithoutPeopleInput } from './workspace-update-without-people.input'; -import { Type } from 'class-transformer'; -import { WorkspaceCreateWithoutPeopleInput } from './workspace-create-without-people.input'; - -@InputType() -export class WorkspaceUpsertWithoutPeopleInput { - - @Field(() => WorkspaceUpdateWithoutPeopleInput, {nullable:false}) - @Type(() => WorkspaceUpdateWithoutPeopleInput) - update!: WorkspaceUpdateWithoutPeopleInput; - - @Field(() => WorkspaceCreateWithoutPeopleInput, {nullable:false}) - @Type(() => WorkspaceCreateWithoutPeopleInput) - create!: WorkspaceCreateWithoutPeopleInput; -} diff --git a/server/src/core/@generated/workspace/workspace-upsert-without-pipeline-progresses.input.ts b/server/src/core/@generated/workspace/workspace-upsert-without-pipeline-progresses.input.ts deleted file mode 100644 index c17448607..000000000 --- a/server/src/core/@generated/workspace/workspace-upsert-without-pipeline-progresses.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { WorkspaceUpdateWithoutPipelineProgressesInput } from './workspace-update-without-pipeline-progresses.input'; -import { Type } from 'class-transformer'; -import { WorkspaceCreateWithoutPipelineProgressesInput } from './workspace-create-without-pipeline-progresses.input'; - -@InputType() -export class WorkspaceUpsertWithoutPipelineProgressesInput { - - @Field(() => WorkspaceUpdateWithoutPipelineProgressesInput, {nullable:false}) - @Type(() => WorkspaceUpdateWithoutPipelineProgressesInput) - update!: WorkspaceUpdateWithoutPipelineProgressesInput; - - @Field(() => WorkspaceCreateWithoutPipelineProgressesInput, {nullable:false}) - @Type(() => WorkspaceCreateWithoutPipelineProgressesInput) - create!: WorkspaceCreateWithoutPipelineProgressesInput; -} diff --git a/server/src/core/@generated/workspace/workspace-upsert-without-pipeline-stages.input.ts b/server/src/core/@generated/workspace/workspace-upsert-without-pipeline-stages.input.ts deleted file mode 100644 index aa3b4a859..000000000 --- a/server/src/core/@generated/workspace/workspace-upsert-without-pipeline-stages.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { WorkspaceUpdateWithoutPipelineStagesInput } from './workspace-update-without-pipeline-stages.input'; -import { Type } from 'class-transformer'; -import { WorkspaceCreateWithoutPipelineStagesInput } from './workspace-create-without-pipeline-stages.input'; - -@InputType() -export class WorkspaceUpsertWithoutPipelineStagesInput { - - @Field(() => WorkspaceUpdateWithoutPipelineStagesInput, {nullable:false}) - @Type(() => WorkspaceUpdateWithoutPipelineStagesInput) - update!: WorkspaceUpdateWithoutPipelineStagesInput; - - @Field(() => WorkspaceCreateWithoutPipelineStagesInput, {nullable:false}) - @Type(() => WorkspaceCreateWithoutPipelineStagesInput) - create!: WorkspaceCreateWithoutPipelineStagesInput; -} diff --git a/server/src/core/@generated/workspace/workspace-upsert-without-pipelines.input.ts b/server/src/core/@generated/workspace/workspace-upsert-without-pipelines.input.ts deleted file mode 100644 index 853a2e92d..000000000 --- a/server/src/core/@generated/workspace/workspace-upsert-without-pipelines.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { WorkspaceUpdateWithoutPipelinesInput } from './workspace-update-without-pipelines.input'; -import { Type } from 'class-transformer'; -import { WorkspaceCreateWithoutPipelinesInput } from './workspace-create-without-pipelines.input'; - -@InputType() -export class WorkspaceUpsertWithoutPipelinesInput { - - @Field(() => WorkspaceUpdateWithoutPipelinesInput, {nullable:false}) - @Type(() => WorkspaceUpdateWithoutPipelinesInput) - update!: WorkspaceUpdateWithoutPipelinesInput; - - @Field(() => WorkspaceCreateWithoutPipelinesInput, {nullable:false}) - @Type(() => WorkspaceCreateWithoutPipelinesInput) - create!: WorkspaceCreateWithoutPipelinesInput; -} diff --git a/server/src/core/@generated/workspace/workspace-upsert-without-workspace-member.input.ts b/server/src/core/@generated/workspace/workspace-upsert-without-workspace-member.input.ts deleted file mode 100644 index 98385c3a4..000000000 --- a/server/src/core/@generated/workspace/workspace-upsert-without-workspace-member.input.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { WorkspaceUpdateWithoutWorkspaceMemberInput } from './workspace-update-without-workspace-member.input'; -import { Type } from 'class-transformer'; -import { WorkspaceCreateWithoutWorkspaceMemberInput } from './workspace-create-without-workspace-member.input'; - -@InputType() -export class WorkspaceUpsertWithoutWorkspaceMemberInput { - - @Field(() => WorkspaceUpdateWithoutWorkspaceMemberInput, {nullable:false}) - @Type(() => WorkspaceUpdateWithoutWorkspaceMemberInput) - update!: WorkspaceUpdateWithoutWorkspaceMemberInput; - - @Field(() => WorkspaceCreateWithoutWorkspaceMemberInput, {nullable:false}) - @Type(() => WorkspaceCreateWithoutWorkspaceMemberInput) - create!: WorkspaceCreateWithoutWorkspaceMemberInput; -} diff --git a/server/src/core/@generated/workspace/workspace-where-unique.input.ts b/server/src/core/@generated/workspace/workspace-where-unique.input.ts deleted file mode 100644 index 77b6c95b9..000000000 --- a/server/src/core/@generated/workspace/workspace-where-unique.input.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import * as Validator from 'class-validator'; - -@InputType() -export class WorkspaceWhereUniqueInput { - - @Field(() => String, {nullable:true}) - @Validator.IsString() - @Validator.IsOptional() - id?: string; -} diff --git a/server/src/core/@generated/workspace/workspace-where.input.ts b/server/src/core/@generated/workspace/workspace-where.input.ts deleted file mode 100644 index fb8022421..000000000 --- a/server/src/core/@generated/workspace/workspace-where.input.ts +++ /dev/null @@ -1,76 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { InputType } from '@nestjs/graphql'; -import { StringFilter } from '../prisma/string-filter.input'; -import { StringNullableFilter } from '../prisma/string-nullable-filter.input'; -import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input'; -import { HideField } from '@nestjs/graphql'; -import { DateTimeFilter } from '../prisma/date-time-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'; -import { PipelineListRelationFilter } from '../pipeline/pipeline-list-relation-filter.input'; -import { PipelineStageListRelationFilter } from '../pipeline-stage/pipeline-stage-list-relation-filter.input'; -import { PipelineProgressListRelationFilter } from '../pipeline-progress/pipeline-progress-list-relation-filter.input'; - -@InputType() -export class WorkspaceWhereInput { - - @Field(() => [WorkspaceWhereInput], {nullable:true}) - AND?: Array; - - @Field(() => [WorkspaceWhereInput], {nullable:true}) - OR?: Array; - - @Field(() => [WorkspaceWhereInput], {nullable:true}) - NOT?: Array; - - @Field(() => StringFilter, {nullable:true}) - id?: StringFilter; - - @Field(() => StringNullableFilter, {nullable:true}) - domainName?: StringNullableFilter; - - @Field(() => StringNullableFilter, {nullable:true}) - displayName?: StringNullableFilter; - - @Field(() => StringNullableFilter, {nullable:true}) - logo?: StringNullableFilter; - - @Field(() => StringNullableFilter, {nullable:true}) - inviteHash?: StringNullableFilter; - - @HideField() - deletedAt?: DateTimeNullableFilter; - - @Field(() => DateTimeFilter, {nullable:true}) - createdAt?: DateTimeFilter; - - @Field(() => DateTimeFilter, {nullable:true}) - updatedAt?: DateTimeFilter; - - @Field(() => WorkspaceMemberListRelationFilter, {nullable:true}) - 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; - - @Field(() => PipelineListRelationFilter, {nullable:true}) - pipelines?: PipelineListRelationFilter; - - @Field(() => PipelineStageListRelationFilter, {nullable:true}) - pipelineStages?: PipelineStageListRelationFilter; - - @Field(() => PipelineProgressListRelationFilter, {nullable:true}) - pipelineProgresses?: PipelineProgressListRelationFilter; -} diff --git a/server/src/core/@generated/workspace/workspace.model.ts b/server/src/core/@generated/workspace/workspace.model.ts deleted file mode 100644 index 09f99b92e..000000000 --- a/server/src/core/@generated/workspace/workspace.model.ts +++ /dev/null @@ -1,68 +0,0 @@ -import { Field } from '@nestjs/graphql'; -import { ObjectType } from '@nestjs/graphql'; -import { ID } from '@nestjs/graphql'; -import { HideField } 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 { Pipeline } from '../pipeline/pipeline.model'; -import { PipelineStage } from '../pipeline-stage/pipeline-stage.model'; -import { PipelineProgress } from '../pipeline-progress/pipeline-progress.model'; -import { WorkspaceCount } from './workspace-count.output'; - -@ObjectType({}) -export class Workspace { - - @Field(() => ID, {nullable:false}) - id!: string; - - @Field(() => String, {nullable:true}) - domainName!: string | null; - - @Field(() => String, {nullable:true}) - displayName!: string | null; - - @Field(() => String, {nullable:true}) - logo!: string | null; - - @Field(() => String, {nullable:true}) - inviteHash!: string | null; - - @HideField() - deletedAt!: Date | null; - - @Field(() => Date, {nullable:false}) - createdAt!: Date; - - @Field(() => Date, {nullable:false}) - updatedAt!: Date; - - @Field(() => [WorkspaceMember], {nullable:true}) - workspaceMember?: Array; - - @Field(() => [Company], {nullable:true}) - companies?: Array; - - @Field(() => [Person], {nullable:true}) - people?: Array; - - @Field(() => [CommentThread], {nullable:true}) - commentThreads?: Array; - - @Field(() => [Comment], {nullable:true}) - comments?: Array; - - @Field(() => [Pipeline], {nullable:true}) - pipelines?: Array; - - @Field(() => [PipelineStage], {nullable:true}) - pipelineStages?: Array; - - @Field(() => [PipelineProgress], {nullable:true}) - pipelineProgresses?: Array; - - @HideField() - _count?: WorkspaceCount; -} diff --git a/server/src/core/attachment/attachment.module.ts b/server/src/core/attachment/attachment.module.ts new file mode 100644 index 000000000..ffa08530e --- /dev/null +++ b/server/src/core/attachment/attachment.module.ts @@ -0,0 +1,10 @@ +import { Module } from '@nestjs/common'; +import { AttachmentResolver } from './resolvers/attachment.resolver'; +import { FileUploadService } from '../file/services/file-upload.service'; +import { AttachmentService } from './services/attachment.service'; + +@Module({ + providers: [AttachmentService, AttachmentResolver, FileUploadService], + exports: [AttachmentService], +}) +export class AttachmentModule {} diff --git a/server/src/core/attachment/resolvers/attachment.resolver.spec.ts b/server/src/core/attachment/resolvers/attachment.resolver.spec.ts new file mode 100644 index 000000000..141609527 --- /dev/null +++ b/server/src/core/attachment/resolvers/attachment.resolver.spec.ts @@ -0,0 +1,35 @@ +import { Test, TestingModule } from '@nestjs/testing'; +import { AttachmentResolver } from './attachment.resolver'; +import { FileUploadService } from 'src/core/file/services/file-upload.service'; +import { AttachmentService } from '../services/attachment.service'; +import { AbilityFactory } from 'src/ability/ability.factory'; + +describe('AttachmentResolver', () => { + let resolver: AttachmentResolver; + + beforeEach(async () => { + const module: TestingModule = await Test.createTestingModule({ + providers: [ + AttachmentResolver, + { + provide: FileUploadService, + useValue: {}, + }, + { + provide: AttachmentService, + useValue: {}, + }, + { + provide: AbilityFactory, + useValue: {}, + }, + ], + }).compile(); + + resolver = module.get(AttachmentResolver); + }); + + it('should be defined', () => { + expect(resolver).toBeDefined(); + }); +}); diff --git a/server/src/core/attachment/resolvers/attachment.resolver.ts b/server/src/core/attachment/resolvers/attachment.resolver.ts new file mode 100644 index 000000000..0b49bdfa7 --- /dev/null +++ b/server/src/core/attachment/resolvers/attachment.resolver.ts @@ -0,0 +1,65 @@ +import { Resolver, Args, Mutation } from '@nestjs/graphql'; +import { User, Workspace } from '@prisma/client'; +import { GraphQLUpload, FileUpload } from 'graphql-upload'; +import { AuthUser } from 'src/decorators/auth-user.decorator'; +import { AuthWorkspace } from 'src/decorators/auth-workspace.decorator'; +import { streamToBuffer } from 'src/utils/stream-to-buffer'; +import { v4 as uuidV4 } from 'uuid'; +import { AttachmentService } from '../services/attachment.service'; +import { FileUploadService } from 'src/core/file/services/file-upload.service'; +import { FileFolder } from 'src/core/file/interfaces/file-folder.interface'; +import { UseGuards } from '@nestjs/common'; +import { JwtAuthGuard } from 'src/guards/jwt.auth.guard'; +import { Attachment } from 'src/core/@generated/attachment/attachment.model'; +import { AbilityGuard } from 'src/guards/ability.guard'; +import { CreateAttachmentAbilityHandler } from 'src/ability/handlers/attachment.ability-handler'; +import { CheckAbilities } from 'src/decorators/check-abilities.decorator'; + +@UseGuards(JwtAuthGuard) +@Resolver(() => Attachment) +@Resolver() +export class AttachmentResolver { + constructor( + private readonly fileUploadService: FileUploadService, + private readonly attachmentService: AttachmentService, + ) {} + + @UseGuards(AbilityGuard) + @CheckAbilities(CreateAttachmentAbilityHandler) + @Mutation(() => String) + async uploadAttachment( + @AuthUser() user: User, + @AuthWorkspace() workspace: Workspace, + @Args('activityId') activityId: string, + @Args({ name: 'file', type: () => GraphQLUpload }) + { createReadStream, filename, mimetype }: FileUpload, + ): Promise { + const stream = createReadStream(); + const buffer = await streamToBuffer(stream); + + const { path } = await this.fileUploadService.uploadFile({ + file: buffer, + filename, + mimeType: mimetype, + fileFolder: FileFolder.Attachment, + }); + + await this.attachmentService.create({ + data: { + id: uuidV4(), + fullPath: path, + type: this.attachmentService.getFileTypeFromFileName(filename), + name: filename, + activityId: activityId, + authorId: user.id, + workspaceId: workspace.id, + }, + select: { + id: true, + fullPath: true, + }, + }); + + return path; + } +} diff --git a/server/src/core/attachment/services/attachment.service.spec.ts b/server/src/core/attachment/services/attachment.service.spec.ts new file mode 100644 index 000000000..b2fa152da --- /dev/null +++ b/server/src/core/attachment/services/attachment.service.spec.ts @@ -0,0 +1,26 @@ +import { Test, TestingModule } from '@nestjs/testing'; +import { PrismaService } from 'src/database/prisma.service'; +import { prismaMock } from 'src/database/client-mock/jest-prisma-singleton'; +import { AttachmentService } from './attachment.service'; + +describe('AttachmentService', () => { + let service: AttachmentService; + + beforeEach(async () => { + const module: TestingModule = await Test.createTestingModule({ + providers: [ + AttachmentService, + { + provide: PrismaService, + useValue: prismaMock, + }, + ], + }).compile(); + + service = module.get(AttachmentService); + }); + + it('should be defined', () => { + expect(service).toBeDefined(); + }); +}); diff --git a/server/src/core/attachment/services/attachment.service.ts b/server/src/core/attachment/services/attachment.service.ts new file mode 100644 index 000000000..6f7e4656a --- /dev/null +++ b/server/src/core/attachment/services/attachment.service.ts @@ -0,0 +1,81 @@ +import { Injectable } from '@nestjs/common'; +import { AttachmentType } from '@prisma/client'; +import { PrismaService } from 'src/database/prisma.service'; + +@Injectable() +export class AttachmentService { + constructor(private readonly prismaService: PrismaService) {} + + // Find + findFirst = this.prismaService.attachment.findFirst; + findFirstOrThrow = this.prismaService.attachment.findFirstOrThrow; + + findUnique = this.prismaService.attachment.findUnique; + findUniqueOrThrow = this.prismaService.attachment.findUniqueOrThrow; + + findMany = this.prismaService.attachment.findMany; + + // Create + create = this.prismaService.attachment.create; + createMany = this.prismaService.attachment.createMany; + + // Update + update = this.prismaService.attachment.update; + upsert = this.prismaService.attachment.upsert; + updateMany = this.prismaService.attachment.updateMany; + + // Delete + delete = this.prismaService.attachment.delete; + deleteMany = this.prismaService.attachment.deleteMany; + + // Aggregate + aggregate = this.prismaService.attachment.aggregate; + + // Count + count = this.prismaService.attachment.count; + + // GroupBy + groupBy = this.prismaService.attachment.groupBy; + + getFileTypeFromFileName(fileName: string): AttachmentType { + const extension = fileName.split('.').pop()?.toLowerCase(); + + switch (extension) { + case 'mp4': + case 'avi': + case 'mov': + return AttachmentType.Video; + + case 'mp3': + case 'wav': + case 'ogg': + return AttachmentType.Audio; + + case 'jpg': + case 'jpeg': + case 'png': + case 'gif': + return AttachmentType.Image; + + case 'txt': + case 'doc': + case 'docx': + case 'pdf': + return AttachmentType.TextDocument; + + case 'xls': + case 'xlsx': + case 'csv': + return AttachmentType.Spreadsheet; + + case 'zip': + case 'rar': + case 'tar': + case '7z': + return AttachmentType.Archive; + + default: + return AttachmentType.Other; + } + } +} diff --git a/server/src/core/company/company.module.ts b/server/src/core/company/company.module.ts index a80dc9fd9..e0bfcb9fc 100644 --- a/server/src/core/company/company.module.ts +++ b/server/src/core/company/company.module.ts @@ -5,7 +5,7 @@ import { CompanyRelationsResolver } from './company-relations.resolver'; import { CommentModule } from '../comment/comment.module'; @Module({ - imports: [CommentModule, CommentModule], + imports: [CommentModule], providers: [CompanyService, CompanyResolver, CompanyRelationsResolver], exports: [CompanyService], }) diff --git a/server/src/core/core.module.ts b/server/src/core/core.module.ts index cccfed5d0..4bc6afdbe 100644 --- a/server/src/core/core.module.ts +++ b/server/src/core/core.module.ts @@ -9,6 +9,7 @@ import { WorkspaceModule } from './workspace/workspace.module'; import { AnalyticsModule } from './analytics/analytics.module'; import { FileModule } from './file/file.module'; import { ClientConfigModule } from './client-config/client-config.module'; +import { AttachmentModule } from './attachment/attachment.module'; @Module({ imports: [ @@ -22,6 +23,7 @@ import { ClientConfigModule } from './client-config/client-config.module'; AnalyticsModule, FileModule, ClientConfigModule, + AttachmentModule, ], exports: [ AuthModule, @@ -32,6 +34,7 @@ import { ClientConfigModule } from './client-config/client-config.module'; PipelineModule, WorkspaceModule, AnalyticsModule, + AttachmentModule, ], }) export class CoreModule {} diff --git a/server/src/core/file/interfaces/file-folder.interface.ts b/server/src/core/file/interfaces/file-folder.interface.ts index e59ee9230..613c7980b 100644 --- a/server/src/core/file/interfaces/file-folder.interface.ts +++ b/server/src/core/file/interfaces/file-folder.interface.ts @@ -3,6 +3,7 @@ import { registerEnumType } from '@nestjs/graphql'; export enum FileFolder { ProfilePicture = 'profile-picture', WorkspaceLogo = 'workspace-logo', + Attachment = 'attachment', } registerEnumType(FileFolder, { diff --git a/server/src/core/file/services/file-upload.service.ts b/server/src/core/file/services/file-upload.service.ts index 8128e3d17..5d46c28a8 100644 --- a/server/src/core/file/services/file-upload.service.ts +++ b/server/src/core/file/services/file-upload.service.ts @@ -46,12 +46,14 @@ export class FileUploadService { await this._uploadFile({ file, - filename, + filename: name, mimeType, fileFolder, }); return { + id, + mimeType, path: `${fileFolder}/${name}`, }; } @@ -71,11 +73,12 @@ export class FileUploadService { const id = uuidV4(); const name = `${id}${ext ? `.${ext}` : ''}`; - // Get all cropSizes for this fileFolder const cropSizes = settings.storage.imageCropSizes[fileFolder]; - // Extract the values from ShortCropSize + if (!cropSizes) { + throw new Error(`No crop sizes found for ${fileFolder}`); + } + const sizes = cropSizes.map((shortSize) => getCropSize(shortSize)); - // Crop images based on sizes const images = await Promise.all( sizes.map((size) => sharp(file).resize({ @@ -86,7 +89,6 @@ export class FileUploadService { const paths: Array = []; - // Upload all images to corresponding folders await Promise.all( images.map(async (image, index) => { const buffer = await image.toBuffer(); @@ -103,6 +105,8 @@ export class FileUploadService { ); return { + id, + mimeType, paths, }; } diff --git a/server/src/database/migrations/20230718142504_add_attachments/migration.sql b/server/src/database/migrations/20230718142504_add_attachments/migration.sql new file mode 100644 index 000000000..1f3c7361d --- /dev/null +++ b/server/src/database/migrations/20230718142504_add_attachments/migration.sql @@ -0,0 +1,24 @@ +-- CreateEnum +CREATE TYPE "AttachmentType" AS ENUM ('Image', 'Audio', 'Video', 'TextDocument', 'Spreadsheet', 'Archive', 'Other'); + +-- CreateTable +CREATE TABLE "attachments" ( + "id" TEXT NOT NULL, + "fullPath" TEXT NOT NULL, + "type" "AttachmentType" NOT NULL, + "name" TEXT NOT NULL, + "authorId" TEXT NOT NULL, + "activityId" TEXT NOT NULL, + "workspaceId" TEXT NOT NULL, + "deletedAt" TIMESTAMP(3), + "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP, + "updatedAt" TIMESTAMP(3) NOT NULL, + + CONSTRAINT "attachments_pkey" PRIMARY KEY ("id") +); + +-- AddForeignKey +ALTER TABLE "attachments" ADD CONSTRAINT "attachments_authorId_fkey" FOREIGN KEY ("authorId") REFERENCES "users"("id") ON DELETE RESTRICT ON UPDATE CASCADE; + +-- AddForeignKey +ALTER TABLE "attachments" ADD CONSTRAINT "attachments_activityId_fkey" FOREIGN KEY ("activityId") REFERENCES "comment_threads"("id") ON DELETE RESTRICT ON UPDATE CASCADE; diff --git a/server/src/database/schema.prisma b/server/src/database/schema.prisma index 1668d04e7..9349764e1 100644 --- a/server/src/database/schema.prisma +++ b/server/src/database/schema.prisma @@ -18,97 +18,26 @@ generator nestgraphql { fields_Validator_model = true fields_Validator_from = "class-validator" - // CommentThread create: Only Allow targets createMany and comments createMany - decorate_createCommentThreadTargets_type = "*CommentThreadTargetCreateNestedManyWithoutCommentThreadInput" - decorate_createCommentThreadTargets_field = "!(createMany)" - decorate_createCommentThreadTargets_name = "HideField" - decorate_createCommentThreadTargets_from = "@nestjs/graphql" - decorate_createCommentThreadTargets_arguments = "[]" + // All relations, only allow connect + decorate_all_type = "!(CommentThreadTarget*Input|UserSettingsUpdateOneRequiredWithoutUserNestedInput)" + decorate_all_field = "*(create|connectOrCreate|update|upsert|delete|createMany|updateMany|deleteMany)" + decorate_all_name = "HideField" + decorate_all_from = "@nestjs/graphql" + decorate_all_arguments = "[]" - decorate_createCommentThreadComments_type = "*CommentCreateNestedManyWithoutCommentThreadInput" - decorate_createCommentThreadComments_field = "!(createMany)" - decorate_createCommentThreadComments_name = "HideField" - decorate_createCommentThreadComments_from = "@nestjs/graphql" - decorate_createCommentThreadComments_arguments = "[]" + // CommentThread: Only Allow targets createOrConnect / createMany + decorate_commentThreadTargets_type = "*CommentThreadTarget*Input" + decorate_commentThreadTargets_field = "*(update|upsert|updateMany|deleteMany)" + decorate_commentThreadTargets_name = "HideField" + decorate_commentThreadTargets_from = "@nestjs/graphql" + decorate_commentThreadTargets_arguments = "[]" - // Comment create: Only Allow author connect and commentThread connect - decorate_createCommentUser_type = "*UserCreateNestedOneWithoutCommentsInput" - decorate_createCommentUser_field = "!(connect)" - decorate_createCommentUser_name = "HideField" - decorate_createCommentUser_from = "@nestjs/graphql" - decorate_createCommentUser_arguments = "[]" - - decorate_createCommentCommentThread_type = "*CommentThreadCreateNestedOneWithoutCommentsInput" - decorate_createCommentCommentThread_field = "!(connect)" - decorate_createCommentCommentThread_name = "HideField" - decorate_createCommentCommentThread_from = "@nestjs/graphql" - decorate_createCommentCommentThread_arguments = "[]" - - // Person create: Only Allow company connect - decorate_createPersonCompany_type = "*CompanyCreateNestedOneWithoutPeopleInput" - decorate_createPersonCompany_field = "!(connect)" - decorate_createPersonCompany_name = "HideField" - decorate_createPersonCompany_from = "@nestjs/graphql" - decorate_createPersonCompany_arguments = "[]" - - // Person update: Only Allow company connect - decorate_updatePersonCompany_type = "*CompanyUpdateOneWithoutPeopleNestedInput" - decorate_updatePersonCompany_field = "!(connect)" - decorate_updatePersonCompany_name = "HideField" - decorate_updatePersonCompany_from = "@nestjs/graphql" - decorate_updatePersonCompany_arguments = "[]" - - // Company create: Only Allow people and accountOwner connect - decorate_createCompanyUser_type = "*UserCreateNestedOneWithoutCompaniesInput" - decorate_createCompanyUser_field = "!(connect)" - decorate_createCompanyUser_name = "HideField" - decorate_createCompanyUser_from = "@nestjs/graphql" - decorate_createCompanyUser_arguments = "[]" - - decorate_createCompanyPerson_type = "*PersonCreateNestedManyWithoutCompanyInput" - decorate_createCompanyPerson_field = "!(connect)" - decorate_createCompanyPerson_name = "HideField" - decorate_createCompanyPerson_from = "@nestjs/graphql" - decorate_createCompanyPerson_arguments = "[]" - - // Company update: Only Allow action on people and accountOwner - decorate_updateCompanyUser_type = "*UserUpdateOneWithoutCompaniesNestedInput" - decorate_updateCompanyUser_field = "!(connect)" - decorate_updateCompanyUser_name = "HideField" - decorate_updateCompanyUser_from = "@nestjs/graphql" - decorate_updateCompanyUser_arguments = "[]" - - decorate_updateCompanyPerson_type = "*PersonUpdateManyWithoutCompanyNestedInput" - decorate_updateCompanyPerson_field = "!(connect)" - decorate_updateCompanyPerson_name = "HideField" - decorate_updateCompanyPerson_from = "@nestjs/graphql" - decorate_updateCompanyPerson_arguments = "[]" - - // PipelineProgress create: Only Allow pipelineStage and pipeline connect - decorate_createPipelineProgressPipeline_type = "*PipelineCreateNestedOneWithoutPipelineProgressesInput" - decorate_createPipelineProgressPipeline_field = "!(connect)" - decorate_createPipelineProgressPipeline_name = "HideField" - decorate_createPipelineProgressPipeline_from = "@nestjs/graphql" - decorate_createPipelineProgressPipeline_arguments = "[]" - - decorate_createPipelineProgressPipelineStage_type = "*PipelineStageCreateNestedOneWithoutPipelineProgressesInput" - decorate_createPipelineProgressPipelineStage_field = "!(connect)" - decorate_createPipelineProgressPipelineStage_name = "HideField" - decorate_createPipelineProgressPipelineStage_from = "@nestjs/graphql" - decorate_createPipelineProgressPipelineStage_arguments = "[]" - - // PipelineProgress update: Only Allow pipelineStage and pipeline connect - decorate_updatePipelineProgressPipeline_type = "*PipelineUpdateOneRequiredWithoutPipelineProgressesNestedInput" - decorate_updatePipelineProgressPipeline_field = "!(connect)" - decorate_updatePipelineProgressPipeline_name = "HideField" - decorate_updatePipelineProgressPipeline_from = "@nestjs/graphql" - decorate_updatePipelineProgressPipeline_arguments = "[]" - - decorate_updatePipelineProgressPipelineStage_type = "*PipelineStageUpdateOneRequiredWithoutPipelineProgressesNestedInput" - decorate_updatePipelineProgressPipelineStage_field = "!(connect)" - decorate_updatePipelineProgressPipelineStage_name = "HideField" - decorate_updatePipelineProgressPipelineStage_from = "@nestjs/graphql" - decorate_updatePipelineProgressPipelineStage_arguments = "[]" + // CommentThread: Only Allow targets createOrConnect / createMany + decorate_userSettings_type = "*UserSettingsUpdateOneRequiredWithoutUserNestedInput" + decorate_userSettings_field = "!(update)" + decorate_userSettings_name = "HideField" + decorate_userSettings_from = "@nestjs/graphql" + decorate_userSettings_arguments = "[]" // Disable _count on all models except Aggregation use case decorate_count_type = "!(*Aggregate*|*GroupBy*|*OrderBy*)" @@ -180,8 +109,9 @@ model User { /// @TypeGraphQL.omit(input: true, output: true) deletedAt DateTime? - createdAt DateTime @default(now()) - updatedAt DateTime @updatedAt + createdAt DateTime @default(now()) + updatedAt DateTime @updatedAt + authoredAttachments Attachment[] @relation(name: "authoredAttachments") @@map("users") } @@ -386,6 +316,8 @@ model CommentThread { createdAt DateTime @default(now()) updatedAt DateTime @updatedAt + attachments Attachment[] + @@map("comment_threads") } @@ -527,3 +459,39 @@ model PipelineProgress { @@map("pipeline_progresses") } + +enum AttachmentType { + Image + Audio + Video + TextDocument + Spreadsheet + Archive + Other +} + +model Attachment { + /// @Validator.IsString() + /// @Validator.IsOptional() + id String @id @default(uuid()) + + fullPath String + type AttachmentType + name String + + authorId String + author User @relation(fields: [authorId], references: [id], name: "authoredAttachments") + + activityId String + activity CommentThread @relation(fields: [activityId], references: [id]) + + /// @TypeGraphQL.omit(input: true, output: true) + workspaceId String + + /// @TypeGraphQL.omit(input: true, output: true) + deletedAt DateTime? + createdAt DateTime @default(now()) + updatedAt DateTime @updatedAt + + @@map("attachments") +} diff --git a/server/src/utils/prisma-select/model-select-map.ts b/server/src/utils/prisma-select/model-select-map.ts index 46541d929..e8779a3a3 100644 --- a/server/src/utils/prisma-select/model-select-map.ts +++ b/server/src/utils/prisma-select/model-select-map.ts @@ -15,4 +15,5 @@ export type ModelSelectMap = { Pipeline: Prisma.PipelineSelect; PipelineStage: Prisma.PipelineStageSelect; PipelineProgress: Prisma.PipelineProgressSelect; + Attachment: Prisma.AttachmentSelect; };