mirror of
https://github.com/twentyhq/twenty.git
synced 2024-11-30 03:43:02 +03:00
Add Pipelines models in server (#182)
* Hide workspace and refresh token from schema * Add pipe models and migrations * Add seeds * Update FE graphql schema
This commit is contained in:
parent
bf3097500a
commit
2395f791c8
@ -42,8 +42,6 @@ export type Comment = {
|
||||
deletedAt?: Maybe<Scalars['DateTime']>;
|
||||
id: Scalars['ID'];
|
||||
updatedAt: Scalars['DateTime'];
|
||||
workspace: Workspace;
|
||||
workspaceId: Scalars['String'];
|
||||
};
|
||||
|
||||
export type CommentCreateInput = {
|
||||
@ -141,8 +139,6 @@ export type CommentThread = {
|
||||
deletedAt?: Maybe<Scalars['DateTime']>;
|
||||
id: Scalars['ID'];
|
||||
updatedAt: Scalars['DateTime'];
|
||||
workspace: Workspace;
|
||||
workspaceId: Scalars['String'];
|
||||
};
|
||||
|
||||
export type CommentThreadCount = {
|
||||
@ -434,8 +430,6 @@ export type Company = {
|
||||
name: Scalars['String'];
|
||||
people?: Maybe<Array<Person>>;
|
||||
updatedAt: Scalars['DateTime'];
|
||||
workspace: Workspace;
|
||||
workspaceId: Scalars['String'];
|
||||
};
|
||||
|
||||
export type CompanyCount = {
|
||||
@ -803,8 +797,6 @@ export type Person = {
|
||||
lastname: Scalars['String'];
|
||||
phone: Scalars['String'];
|
||||
updatedAt: Scalars['DateTime'];
|
||||
workspace: Workspace;
|
||||
workspaceId: Scalars['String'];
|
||||
};
|
||||
|
||||
export type PersonCreateInput = {
|
||||
@ -1003,6 +995,64 @@ export type PersonWhereUniqueInput = {
|
||||
id?: InputMaybe<Scalars['String']>;
|
||||
};
|
||||
|
||||
export type Pipeline = {
|
||||
__typename?: 'Pipeline';
|
||||
_count: PipelineCount;
|
||||
createdAt: Scalars['DateTime'];
|
||||
deletedAt?: Maybe<Scalars['DateTime']>;
|
||||
icon: Scalars['String'];
|
||||
id: Scalars['ID'];
|
||||
name: Scalars['String'];
|
||||
pipelineAssociations?: Maybe<Array<PipelineAssociation>>;
|
||||
pipelineStages?: Maybe<Array<PipelineStage>>;
|
||||
updatedAt: Scalars['DateTime'];
|
||||
};
|
||||
|
||||
export enum PipelineAssociableType {
|
||||
Company = 'Company',
|
||||
Person = 'Person'
|
||||
}
|
||||
|
||||
export type PipelineAssociation = {
|
||||
__typename?: 'PipelineAssociation';
|
||||
associableId: Scalars['String'];
|
||||
associableType: PipelineAssociableType;
|
||||
createdAt: Scalars['DateTime'];
|
||||
deletedAt?: Maybe<Scalars['DateTime']>;
|
||||
id: Scalars['ID'];
|
||||
pipeline: Pipeline;
|
||||
pipelineId: Scalars['String'];
|
||||
pipelineStage: PipelineStage;
|
||||
pipelineStageId: Scalars['String'];
|
||||
updatedAt: Scalars['DateTime'];
|
||||
};
|
||||
|
||||
export type PipelineCount = {
|
||||
__typename?: 'PipelineCount';
|
||||
pipelineAssociations: Scalars['Int'];
|
||||
pipelineStages: Scalars['Int'];
|
||||
};
|
||||
|
||||
export type PipelineStage = {
|
||||
__typename?: 'PipelineStage';
|
||||
_count: PipelineStageCount;
|
||||
color: Scalars['String'];
|
||||
createdAt: Scalars['DateTime'];
|
||||
deletedAt?: Maybe<Scalars['DateTime']>;
|
||||
id: Scalars['ID'];
|
||||
name: Scalars['String'];
|
||||
pipeline: Pipeline;
|
||||
pipelineAssociations?: Maybe<Array<PipelineAssociation>>;
|
||||
pipelineId: Scalars['String'];
|
||||
type: Scalars['String'];
|
||||
updatedAt: Scalars['DateTime'];
|
||||
};
|
||||
|
||||
export type PipelineStageCount = {
|
||||
__typename?: 'PipelineStageCount';
|
||||
pipelineAssociations: Scalars['Int'];
|
||||
};
|
||||
|
||||
export type Query = {
|
||||
__typename?: 'Query';
|
||||
findManyCompany: Array<Company>;
|
||||
@ -1045,154 +1095,6 @@ export enum QueryMode {
|
||||
Insensitive = 'insensitive'
|
||||
}
|
||||
|
||||
export type RefreshToken = {
|
||||
__typename?: 'RefreshToken';
|
||||
createdAt: Scalars['DateTime'];
|
||||
deletedAt?: Maybe<Scalars['DateTime']>;
|
||||
id: Scalars['ID'];
|
||||
refreshToken: Scalars['String'];
|
||||
updatedAt: Scalars['DateTime'];
|
||||
user: User;
|
||||
userId: Scalars['String'];
|
||||
};
|
||||
|
||||
export type RefreshTokenCreateManyUserInput = {
|
||||
createdAt?: InputMaybe<Scalars['DateTime']>;
|
||||
deletedAt?: InputMaybe<Scalars['DateTime']>;
|
||||
id: Scalars['String'];
|
||||
refreshToken: Scalars['String'];
|
||||
updatedAt?: InputMaybe<Scalars['DateTime']>;
|
||||
};
|
||||
|
||||
export type RefreshTokenCreateManyUserInputEnvelope = {
|
||||
data: Array<RefreshTokenCreateManyUserInput>;
|
||||
skipDuplicates?: InputMaybe<Scalars['Boolean']>;
|
||||
};
|
||||
|
||||
export type RefreshTokenCreateNestedManyWithoutUserInput = {
|
||||
connect?: InputMaybe<Array<RefreshTokenWhereUniqueInput>>;
|
||||
connectOrCreate?: InputMaybe<Array<RefreshTokenCreateOrConnectWithoutUserInput>>;
|
||||
create?: InputMaybe<Array<RefreshTokenCreateWithoutUserInput>>;
|
||||
createMany?: InputMaybe<RefreshTokenCreateManyUserInputEnvelope>;
|
||||
};
|
||||
|
||||
export type RefreshTokenCreateOrConnectWithoutUserInput = {
|
||||
create: RefreshTokenCreateWithoutUserInput;
|
||||
where: RefreshTokenWhereUniqueInput;
|
||||
};
|
||||
|
||||
export type RefreshTokenCreateWithoutUserInput = {
|
||||
createdAt?: InputMaybe<Scalars['DateTime']>;
|
||||
deletedAt?: InputMaybe<Scalars['DateTime']>;
|
||||
id: Scalars['String'];
|
||||
refreshToken: Scalars['String'];
|
||||
updatedAt?: InputMaybe<Scalars['DateTime']>;
|
||||
};
|
||||
|
||||
export type RefreshTokenListRelationFilter = {
|
||||
every?: InputMaybe<RefreshTokenWhereInput>;
|
||||
none?: InputMaybe<RefreshTokenWhereInput>;
|
||||
some?: InputMaybe<RefreshTokenWhereInput>;
|
||||
};
|
||||
|
||||
export type RefreshTokenOrderByRelationAggregateInput = {
|
||||
_count?: InputMaybe<SortOrder>;
|
||||
};
|
||||
|
||||
export type RefreshTokenOrderByWithRelationInput = {
|
||||
createdAt?: InputMaybe<SortOrder>;
|
||||
deletedAt?: InputMaybe<SortOrder>;
|
||||
id?: InputMaybe<SortOrder>;
|
||||
refreshToken?: InputMaybe<SortOrder>;
|
||||
updatedAt?: InputMaybe<SortOrder>;
|
||||
user?: InputMaybe<UserOrderByWithRelationInput>;
|
||||
userId?: InputMaybe<SortOrder>;
|
||||
};
|
||||
|
||||
export enum RefreshTokenScalarFieldEnum {
|
||||
CreatedAt = 'createdAt',
|
||||
DeletedAt = 'deletedAt',
|
||||
Id = 'id',
|
||||
RefreshToken = 'refreshToken',
|
||||
UpdatedAt = 'updatedAt',
|
||||
UserId = 'userId'
|
||||
}
|
||||
|
||||
export type RefreshTokenScalarWhereInput = {
|
||||
AND?: InputMaybe<Array<RefreshTokenScalarWhereInput>>;
|
||||
NOT?: InputMaybe<Array<RefreshTokenScalarWhereInput>>;
|
||||
OR?: InputMaybe<Array<RefreshTokenScalarWhereInput>>;
|
||||
createdAt?: InputMaybe<DateTimeFilter>;
|
||||
deletedAt?: InputMaybe<DateTimeNullableFilter>;
|
||||
id?: InputMaybe<StringFilter>;
|
||||
refreshToken?: InputMaybe<StringFilter>;
|
||||
updatedAt?: InputMaybe<DateTimeFilter>;
|
||||
userId?: InputMaybe<StringFilter>;
|
||||
};
|
||||
|
||||
export type RefreshTokenUpdateManyMutationInput = {
|
||||
createdAt?: InputMaybe<DateTimeFieldUpdateOperationsInput>;
|
||||
deletedAt?: InputMaybe<NullableDateTimeFieldUpdateOperationsInput>;
|
||||
id?: InputMaybe<StringFieldUpdateOperationsInput>;
|
||||
refreshToken?: InputMaybe<StringFieldUpdateOperationsInput>;
|
||||
updatedAt?: InputMaybe<DateTimeFieldUpdateOperationsInput>;
|
||||
};
|
||||
|
||||
export type RefreshTokenUpdateManyWithWhereWithoutUserInput = {
|
||||
data: RefreshTokenUpdateManyMutationInput;
|
||||
where: RefreshTokenScalarWhereInput;
|
||||
};
|
||||
|
||||
export type RefreshTokenUpdateManyWithoutUserNestedInput = {
|
||||
connect?: InputMaybe<Array<RefreshTokenWhereUniqueInput>>;
|
||||
connectOrCreate?: InputMaybe<Array<RefreshTokenCreateOrConnectWithoutUserInput>>;
|
||||
create?: InputMaybe<Array<RefreshTokenCreateWithoutUserInput>>;
|
||||
createMany?: InputMaybe<RefreshTokenCreateManyUserInputEnvelope>;
|
||||
delete?: InputMaybe<Array<RefreshTokenWhereUniqueInput>>;
|
||||
deleteMany?: InputMaybe<Array<RefreshTokenScalarWhereInput>>;
|
||||
disconnect?: InputMaybe<Array<RefreshTokenWhereUniqueInput>>;
|
||||
set?: InputMaybe<Array<RefreshTokenWhereUniqueInput>>;
|
||||
update?: InputMaybe<Array<RefreshTokenUpdateWithWhereUniqueWithoutUserInput>>;
|
||||
updateMany?: InputMaybe<Array<RefreshTokenUpdateManyWithWhereWithoutUserInput>>;
|
||||
upsert?: InputMaybe<Array<RefreshTokenUpsertWithWhereUniqueWithoutUserInput>>;
|
||||
};
|
||||
|
||||
export type RefreshTokenUpdateWithWhereUniqueWithoutUserInput = {
|
||||
data: RefreshTokenUpdateWithoutUserInput;
|
||||
where: RefreshTokenWhereUniqueInput;
|
||||
};
|
||||
|
||||
export type RefreshTokenUpdateWithoutUserInput = {
|
||||
createdAt?: InputMaybe<DateTimeFieldUpdateOperationsInput>;
|
||||
deletedAt?: InputMaybe<NullableDateTimeFieldUpdateOperationsInput>;
|
||||
id?: InputMaybe<StringFieldUpdateOperationsInput>;
|
||||
refreshToken?: InputMaybe<StringFieldUpdateOperationsInput>;
|
||||
updatedAt?: InputMaybe<DateTimeFieldUpdateOperationsInput>;
|
||||
};
|
||||
|
||||
export type RefreshTokenUpsertWithWhereUniqueWithoutUserInput = {
|
||||
create: RefreshTokenCreateWithoutUserInput;
|
||||
update: RefreshTokenUpdateWithoutUserInput;
|
||||
where: RefreshTokenWhereUniqueInput;
|
||||
};
|
||||
|
||||
export type RefreshTokenWhereInput = {
|
||||
AND?: InputMaybe<Array<RefreshTokenWhereInput>>;
|
||||
NOT?: InputMaybe<Array<RefreshTokenWhereInput>>;
|
||||
OR?: InputMaybe<Array<RefreshTokenWhereInput>>;
|
||||
createdAt?: InputMaybe<DateTimeFilter>;
|
||||
deletedAt?: InputMaybe<DateTimeNullableFilter>;
|
||||
id?: InputMaybe<StringFilter>;
|
||||
refreshToken?: InputMaybe<StringFilter>;
|
||||
updatedAt?: InputMaybe<DateTimeFilter>;
|
||||
user?: InputMaybe<UserRelationFilter>;
|
||||
userId?: InputMaybe<StringFilter>;
|
||||
};
|
||||
|
||||
export type RefreshTokenWhereUniqueInput = {
|
||||
id?: InputMaybe<Scalars['String']>;
|
||||
};
|
||||
|
||||
export enum SortOrder {
|
||||
Asc = 'asc',
|
||||
Desc = 'desc'
|
||||
@ -1250,7 +1152,6 @@ export type User = {
|
||||
metadata?: Maybe<Scalars['JSON']>;
|
||||
passwordHash?: Maybe<Scalars['String']>;
|
||||
phoneNumber?: Maybe<Scalars['String']>;
|
||||
refreshTokens?: Maybe<Array<RefreshToken>>;
|
||||
updatedAt: Scalars['DateTime'];
|
||||
workspaceMember?: Maybe<WorkspaceMember>;
|
||||
};
|
||||
@ -1265,16 +1166,6 @@ export type UserCompaniesArgs = {
|
||||
where?: InputMaybe<CompanyWhereInput>;
|
||||
};
|
||||
|
||||
|
||||
export type UserRefreshTokensArgs = {
|
||||
cursor?: InputMaybe<RefreshTokenWhereUniqueInput>;
|
||||
distinct?: InputMaybe<Array<RefreshTokenScalarFieldEnum>>;
|
||||
orderBy?: InputMaybe<Array<RefreshTokenOrderByWithRelationInput>>;
|
||||
skip?: InputMaybe<Scalars['Int']>;
|
||||
take?: InputMaybe<Scalars['Int']>;
|
||||
where?: InputMaybe<RefreshTokenWhereInput>;
|
||||
};
|
||||
|
||||
export type UserCount = {
|
||||
__typename?: 'UserCount';
|
||||
comments: Scalars['Int'];
|
||||
@ -1312,9 +1203,7 @@ export type UserCreateWithoutCompaniesInput = {
|
||||
metadata?: InputMaybe<Scalars['JSON']>;
|
||||
passwordHash?: InputMaybe<Scalars['String']>;
|
||||
phoneNumber?: InputMaybe<Scalars['String']>;
|
||||
refreshTokens?: InputMaybe<RefreshTokenCreateNestedManyWithoutUserInput>;
|
||||
updatedAt?: InputMaybe<Scalars['DateTime']>;
|
||||
workspaceMember?: InputMaybe<WorkspaceMemberCreateNestedOneWithoutUserInput>;
|
||||
};
|
||||
|
||||
export type UserOrderByWithRelationInput = {
|
||||
@ -1333,9 +1222,7 @@ export type UserOrderByWithRelationInput = {
|
||||
metadata?: InputMaybe<SortOrder>;
|
||||
passwordHash?: InputMaybe<SortOrder>;
|
||||
phoneNumber?: InputMaybe<SortOrder>;
|
||||
refreshTokens?: InputMaybe<RefreshTokenOrderByRelationAggregateInput>;
|
||||
updatedAt?: InputMaybe<SortOrder>;
|
||||
workspaceMember?: InputMaybe<WorkspaceMemberOrderByWithRelationInput>;
|
||||
};
|
||||
|
||||
export type UserRelationFilter = {
|
||||
@ -1385,9 +1272,7 @@ export type UserUpdateWithoutCompaniesInput = {
|
||||
metadata?: InputMaybe<Scalars['JSON']>;
|
||||
passwordHash?: InputMaybe<NullableStringFieldUpdateOperationsInput>;
|
||||
phoneNumber?: InputMaybe<NullableStringFieldUpdateOperationsInput>;
|
||||
refreshTokens?: InputMaybe<RefreshTokenUpdateManyWithoutUserNestedInput>;
|
||||
updatedAt?: InputMaybe<DateTimeFieldUpdateOperationsInput>;
|
||||
workspaceMember?: InputMaybe<WorkspaceMemberUpdateOneWithoutUserNestedInput>;
|
||||
};
|
||||
|
||||
export type UserUpsertWithoutCompaniesInput = {
|
||||
@ -1414,9 +1299,7 @@ export type UserWhereInput = {
|
||||
metadata?: InputMaybe<JsonNullableFilter>;
|
||||
passwordHash?: InputMaybe<StringNullableFilter>;
|
||||
phoneNumber?: InputMaybe<StringNullableFilter>;
|
||||
refreshTokens?: InputMaybe<RefreshTokenListRelationFilter>;
|
||||
updatedAt?: InputMaybe<DateTimeFilter>;
|
||||
workspaceMember?: InputMaybe<WorkspaceMemberRelationFilter>;
|
||||
};
|
||||
|
||||
export type UserWhereUniqueInput = {
|
||||
@ -1437,6 +1320,8 @@ export type Workspace = {
|
||||
id: Scalars['ID'];
|
||||
logo?: Maybe<Scalars['String']>;
|
||||
people?: Maybe<Array<Person>>;
|
||||
pipelineStages?: Maybe<Array<PipelineStage>>;
|
||||
pipelines?: Maybe<Array<Pipeline>>;
|
||||
updatedAt: Scalars['DateTime'];
|
||||
workspaceMember?: Maybe<Array<WorkspaceMember>>;
|
||||
};
|
||||
@ -1447,6 +1332,8 @@ export type WorkspaceCount = {
|
||||
comments: Scalars['Int'];
|
||||
companies: Scalars['Int'];
|
||||
people: Scalars['Int'];
|
||||
pipelineStages: Scalars['Int'];
|
||||
pipelines: Scalars['Int'];
|
||||
workspaceMember: Scalars['Int'];
|
||||
};
|
||||
|
||||
@ -1459,78 +1346,6 @@ export type WorkspaceMember = {
|
||||
user: User;
|
||||
userId: Scalars['String'];
|
||||
workspace: Workspace;
|
||||
workspaceId: Scalars['String'];
|
||||
};
|
||||
|
||||
export type WorkspaceMemberCreateNestedOneWithoutUserInput = {
|
||||
connect?: InputMaybe<WorkspaceMemberWhereUniqueInput>;
|
||||
connectOrCreate?: InputMaybe<WorkspaceMemberCreateOrConnectWithoutUserInput>;
|
||||
create?: InputMaybe<WorkspaceMemberCreateWithoutUserInput>;
|
||||
};
|
||||
|
||||
export type WorkspaceMemberCreateOrConnectWithoutUserInput = {
|
||||
create: WorkspaceMemberCreateWithoutUserInput;
|
||||
where: WorkspaceMemberWhereUniqueInput;
|
||||
};
|
||||
|
||||
export type WorkspaceMemberCreateWithoutUserInput = {
|
||||
createdAt?: InputMaybe<Scalars['DateTime']>;
|
||||
deletedAt?: InputMaybe<Scalars['DateTime']>;
|
||||
id: Scalars['String'];
|
||||
updatedAt?: InputMaybe<Scalars['DateTime']>;
|
||||
};
|
||||
|
||||
export type WorkspaceMemberOrderByWithRelationInput = {
|
||||
createdAt?: InputMaybe<SortOrder>;
|
||||
deletedAt?: InputMaybe<SortOrder>;
|
||||
id?: InputMaybe<SortOrder>;
|
||||
updatedAt?: InputMaybe<SortOrder>;
|
||||
user?: InputMaybe<UserOrderByWithRelationInput>;
|
||||
userId?: InputMaybe<SortOrder>;
|
||||
};
|
||||
|
||||
export type WorkspaceMemberRelationFilter = {
|
||||
is?: InputMaybe<WorkspaceMemberWhereInput>;
|
||||
isNot?: InputMaybe<WorkspaceMemberWhereInput>;
|
||||
};
|
||||
|
||||
export type WorkspaceMemberUpdateOneWithoutUserNestedInput = {
|
||||
connect?: InputMaybe<WorkspaceMemberWhereUniqueInput>;
|
||||
connectOrCreate?: InputMaybe<WorkspaceMemberCreateOrConnectWithoutUserInput>;
|
||||
create?: InputMaybe<WorkspaceMemberCreateWithoutUserInput>;
|
||||
delete?: InputMaybe<Scalars['Boolean']>;
|
||||
disconnect?: InputMaybe<Scalars['Boolean']>;
|
||||
update?: InputMaybe<WorkspaceMemberUpdateWithoutUserInput>;
|
||||
upsert?: InputMaybe<WorkspaceMemberUpsertWithoutUserInput>;
|
||||
};
|
||||
|
||||
export type WorkspaceMemberUpdateWithoutUserInput = {
|
||||
createdAt?: InputMaybe<DateTimeFieldUpdateOperationsInput>;
|
||||
deletedAt?: InputMaybe<NullableDateTimeFieldUpdateOperationsInput>;
|
||||
id?: InputMaybe<StringFieldUpdateOperationsInput>;
|
||||
updatedAt?: InputMaybe<DateTimeFieldUpdateOperationsInput>;
|
||||
};
|
||||
|
||||
export type WorkspaceMemberUpsertWithoutUserInput = {
|
||||
create: WorkspaceMemberCreateWithoutUserInput;
|
||||
update: WorkspaceMemberUpdateWithoutUserInput;
|
||||
};
|
||||
|
||||
export type WorkspaceMemberWhereInput = {
|
||||
AND?: InputMaybe<Array<WorkspaceMemberWhereInput>>;
|
||||
NOT?: InputMaybe<Array<WorkspaceMemberWhereInput>>;
|
||||
OR?: InputMaybe<Array<WorkspaceMemberWhereInput>>;
|
||||
createdAt?: InputMaybe<DateTimeFilter>;
|
||||
deletedAt?: InputMaybe<DateTimeNullableFilter>;
|
||||
id?: InputMaybe<StringFilter>;
|
||||
updatedAt?: InputMaybe<DateTimeFilter>;
|
||||
user?: InputMaybe<UserRelationFilter>;
|
||||
userId?: InputMaybe<StringFilter>;
|
||||
};
|
||||
|
||||
export type WorkspaceMemberWhereUniqueInput = {
|
||||
id?: InputMaybe<Scalars['String']>;
|
||||
userId?: InputMaybe<Scalars['String']>;
|
||||
};
|
||||
|
||||
export type GetCompaniesQueryVariables = Exact<{
|
||||
@ -2174,7 +1989,7 @@ export type SearchCompanyQueryQueryHookResult = ReturnType<typeof useSearchCompa
|
||||
export type SearchCompanyQueryLazyQueryHookResult = ReturnType<typeof useSearchCompanyQueryLazyQuery>;
|
||||
export type SearchCompanyQueryQueryResult = Apollo.QueryResult<SearchCompanyQueryQuery, SearchCompanyQueryQueryVariables>;
|
||||
export const GetCurrentUserDocument = gql`
|
||||
query getCurrentUser($uuid: String) {
|
||||
query GetCurrentUser($uuid: String) {
|
||||
users: findManyUser(where: {id: {equals: $uuid}}) {
|
||||
id
|
||||
email
|
||||
|
@ -31,8 +31,6 @@ server-start:
|
||||
|
||||
server-prisma-generate:
|
||||
@docker-compose exec twenty-dev sh -c "cd /app/server && npm run prisma:generate"
|
||||
@echo "Linting generated files..."
|
||||
@docker-compose exec twenty-dev sh -c "cd /app/server && npm run prisma:lint"
|
||||
|
||||
server-prisma-migrate:
|
||||
@docker-compose exec twenty-dev sh -c "cd /app/server && npm run prisma:migrate"
|
||||
|
@ -19,10 +19,9 @@
|
||||
"test:cov": "jest --coverage",
|
||||
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
|
||||
"test:e2e": "jest --config ./test/jest-e2e.json",
|
||||
"prisma:generate": "npx prisma generate",
|
||||
"prisma:generate": "npx prisma generate && eslint \"src/api/@generated/**\" --fix",
|
||||
"prisma:migrate": "npx prisma migrate deploy",
|
||||
"prisma:seed": "npx prisma db seed",
|
||||
"prisma:lint": "eslint \"src/api/@generated/**\" --fix"
|
||||
"prisma:seed": "npx prisma db seed"
|
||||
},
|
||||
"dependencies": {
|
||||
"@nestjs/apollo": "^11.0.5",
|
||||
|
@ -1,6 +1,7 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@ObjectType()
|
||||
export class CommentThreadCountAggregate {
|
||||
@ -16,7 +17,7 @@ export class CommentThreadCountAggregate {
|
||||
@Field(() => Int, { nullable: false })
|
||||
deletedAt!: number;
|
||||
|
||||
@Field(() => Int, { nullable: false })
|
||||
@HideField()
|
||||
workspaceId!: number;
|
||||
|
||||
@Field(() => Int, { nullable: false })
|
||||
|
@ -1,5 +1,6 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { HideField } 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';
|
||||
@ -18,7 +19,7 @@ export class CommentThreadGroupBy {
|
||||
@Field(() => Date, { nullable: true })
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
@HideField()
|
||||
workspaceId!: string;
|
||||
|
||||
@Field(() => CommentThreadCountAggregate, { nullable: true })
|
||||
|
@ -1,5 +1,6 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@ObjectType()
|
||||
export class CommentThreadMaxAggregate {
|
||||
@ -15,6 +16,6 @@ export class CommentThreadMaxAggregate {
|
||||
@Field(() => Date, { nullable: true })
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => String, { nullable: true })
|
||||
@HideField()
|
||||
workspaceId?: string;
|
||||
}
|
||||
|
@ -1,5 +1,6 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@ObjectType()
|
||||
export class CommentThreadMinAggregate {
|
||||
@ -15,6 +16,6 @@ export class CommentThreadMinAggregate {
|
||||
@Field(() => Date, { nullable: true })
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => String, { nullable: true })
|
||||
@HideField()
|
||||
workspaceId?: string;
|
||||
}
|
||||
|
@ -1,6 +1,7 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { ID } from '@nestjs/graphql';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { CommentThreadTarget } from '../comment-thread-target/comment-thread-target.model';
|
||||
import { Comment } from '../comment/comment.model';
|
||||
import { Workspace } from '../workspace/workspace.model';
|
||||
@ -20,7 +21,7 @@ export class CommentThread {
|
||||
@Field(() => Date, { nullable: true })
|
||||
deletedAt!: Date | null;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
@HideField()
|
||||
workspaceId!: string;
|
||||
|
||||
@Field(() => [CommentThreadTarget], { nullable: true })
|
||||
@ -29,7 +30,7 @@ export class CommentThread {
|
||||
@Field(() => [Comment], { nullable: true })
|
||||
comments?: Array<Comment>;
|
||||
|
||||
@Field(() => Workspace, { nullable: false })
|
||||
@HideField()
|
||||
workspace?: Workspace;
|
||||
|
||||
@Field(() => CommentThreadCount, { nullable: false })
|
||||
|
@ -1,6 +1,7 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@ObjectType()
|
||||
export class CommentCountAggregate {
|
||||
@ -25,7 +26,7 @@ export class CommentCountAggregate {
|
||||
@Field(() => Int, { nullable: false })
|
||||
commentThreadId!: number;
|
||||
|
||||
@Field(() => Int, { nullable: false })
|
||||
@HideField()
|
||||
workspaceId!: number;
|
||||
|
||||
@Field(() => Int, { nullable: false })
|
||||
|
@ -1,5 +1,6 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
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';
|
||||
@ -27,7 +28,7 @@ export class CommentGroupBy {
|
||||
@Field(() => String, { nullable: false })
|
||||
commentThreadId!: string;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
@HideField()
|
||||
workspaceId!: string;
|
||||
|
||||
@Field(() => CommentCountAggregate, { nullable: true })
|
||||
|
@ -1,5 +1,6 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@ObjectType()
|
||||
export class CommentMaxAggregate {
|
||||
@ -24,6 +25,6 @@ export class CommentMaxAggregate {
|
||||
@Field(() => String, { nullable: true })
|
||||
commentThreadId?: string;
|
||||
|
||||
@Field(() => String, { nullable: true })
|
||||
@HideField()
|
||||
workspaceId?: string;
|
||||
}
|
||||
|
@ -1,5 +1,6 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@ObjectType()
|
||||
export class CommentMinAggregate {
|
||||
@ -24,6 +25,6 @@ export class CommentMinAggregate {
|
||||
@Field(() => String, { nullable: true })
|
||||
commentThreadId?: string;
|
||||
|
||||
@Field(() => String, { nullable: true })
|
||||
@HideField()
|
||||
workspaceId?: string;
|
||||
}
|
||||
|
@ -1,6 +1,7 @@
|
||||
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';
|
||||
@ -28,7 +29,7 @@ export class Comment {
|
||||
@Field(() => String, { nullable: false })
|
||||
commentThreadId!: string;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
@HideField()
|
||||
workspaceId!: string;
|
||||
|
||||
@Field(() => User, { nullable: false })
|
||||
@ -37,6 +38,6 @@ export class Comment {
|
||||
@Field(() => CommentThread, { nullable: false })
|
||||
commentThread?: CommentThread;
|
||||
|
||||
@Field(() => Workspace, { nullable: false })
|
||||
@HideField()
|
||||
workspace?: Workspace;
|
||||
}
|
||||
|
@ -1,6 +1,7 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@ObjectType()
|
||||
export class CompanyCountAggregate {
|
||||
@ -31,7 +32,7 @@ export class CompanyCountAggregate {
|
||||
@Field(() => Int, { nullable: false })
|
||||
accountOwnerId!: number;
|
||||
|
||||
@Field(() => Int, { nullable: false })
|
||||
@HideField()
|
||||
workspaceId!: number;
|
||||
|
||||
@Field(() => Int, { nullable: false })
|
||||
|
@ -1,6 +1,7 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
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';
|
||||
@ -36,7 +37,7 @@ export class CompanyGroupBy {
|
||||
@Field(() => String, { nullable: true })
|
||||
accountOwnerId?: string;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
@HideField()
|
||||
workspaceId!: string;
|
||||
|
||||
@Field(() => CompanyCountAggregate, { nullable: true })
|
||||
|
@ -1,6 +1,7 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@ObjectType()
|
||||
export class CompanyMaxAggregate {
|
||||
@ -31,6 +32,6 @@ export class CompanyMaxAggregate {
|
||||
@Field(() => String, { nullable: true })
|
||||
accountOwnerId?: string;
|
||||
|
||||
@Field(() => String, { nullable: true })
|
||||
@HideField()
|
||||
workspaceId?: string;
|
||||
}
|
||||
|
@ -1,6 +1,7 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@ObjectType()
|
||||
export class CompanyMinAggregate {
|
||||
@ -31,6 +32,6 @@ export class CompanyMinAggregate {
|
||||
@Field(() => String, { nullable: true })
|
||||
accountOwnerId?: string;
|
||||
|
||||
@Field(() => String, { nullable: true })
|
||||
@HideField()
|
||||
workspaceId?: string;
|
||||
}
|
||||
|
@ -2,6 +2,7 @@ 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 { User } from '../user/user.model';
|
||||
import { Person } from '../person/person.model';
|
||||
import { Workspace } from '../workspace/workspace.model';
|
||||
@ -36,7 +37,7 @@ export class Company {
|
||||
@Field(() => String, { nullable: true })
|
||||
accountOwnerId!: string | null;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
@HideField()
|
||||
workspaceId!: string;
|
||||
|
||||
@Field(() => User, { nullable: true })
|
||||
@ -45,7 +46,7 @@ export class Company {
|
||||
@Field(() => [Person], { nullable: true })
|
||||
people?: Array<Person>;
|
||||
|
||||
@Field(() => Workspace, { nullable: false })
|
||||
@HideField()
|
||||
workspace?: Workspace;
|
||||
|
||||
@Field(() => CompanyCount, { nullable: false })
|
||||
|
@ -1,6 +1,7 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@ObjectType()
|
||||
export class PersonCountAggregate {
|
||||
@ -34,7 +35,7 @@ export class PersonCountAggregate {
|
||||
@Field(() => Int, { nullable: false })
|
||||
companyId!: number;
|
||||
|
||||
@Field(() => Int, { nullable: false })
|
||||
@HideField()
|
||||
workspaceId!: number;
|
||||
|
||||
@Field(() => Int, { nullable: false })
|
||||
|
@ -1,5 +1,6 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
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';
|
||||
@ -36,7 +37,7 @@ export class PersonGroupBy {
|
||||
@Field(() => String, { nullable: true })
|
||||
companyId?: string;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
@HideField()
|
||||
workspaceId!: string;
|
||||
|
||||
@Field(() => PersonCountAggregate, { nullable: true })
|
||||
|
@ -1,5 +1,6 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@ObjectType()
|
||||
export class PersonMaxAggregate {
|
||||
@ -33,6 +34,6 @@ export class PersonMaxAggregate {
|
||||
@Field(() => String, { nullable: true })
|
||||
companyId?: string;
|
||||
|
||||
@Field(() => String, { nullable: true })
|
||||
@HideField()
|
||||
workspaceId?: string;
|
||||
}
|
||||
|
@ -1,5 +1,6 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@ObjectType()
|
||||
export class PersonMinAggregate {
|
||||
@ -33,6 +34,6 @@ export class PersonMinAggregate {
|
||||
@Field(() => String, { nullable: true })
|
||||
companyId?: string;
|
||||
|
||||
@Field(() => String, { nullable: true })
|
||||
@HideField()
|
||||
workspaceId?: string;
|
||||
}
|
||||
|
@ -1,6 +1,7 @@
|
||||
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';
|
||||
|
||||
@ -36,12 +37,12 @@ export class Person {
|
||||
@Field(() => String, { nullable: true })
|
||||
companyId!: string | null;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
@HideField()
|
||||
workspaceId!: string;
|
||||
|
||||
@Field(() => Company, { nullable: true })
|
||||
company?: Company | null;
|
||||
|
||||
@Field(() => Workspace, { nullable: false })
|
||||
@HideField()
|
||||
workspace?: Workspace;
|
||||
}
|
||||
|
@ -0,0 +1,17 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationCountAggregate } from './pipeline-association-count-aggregate.output';
|
||||
import { PipelineAssociationMinAggregate } from './pipeline-association-min-aggregate.output';
|
||||
import { PipelineAssociationMaxAggregate } from './pipeline-association-max-aggregate.output';
|
||||
|
||||
@ObjectType()
|
||||
export class AggregatePipelineAssociation {
|
||||
@Field(() => PipelineAssociationCountAggregate, { nullable: true })
|
||||
_count?: PipelineAssociationCountAggregate;
|
||||
|
||||
@Field(() => PipelineAssociationMinAggregate, { nullable: true })
|
||||
_min?: PipelineAssociationMinAggregate;
|
||||
|
||||
@Field(() => PipelineAssociationMaxAggregate, { nullable: true })
|
||||
_max?: PipelineAssociationMaxAggregate;
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationCreateManyInput } from './pipeline-association-create-many.input';
|
||||
import { Type } from 'class-transformer';
|
||||
|
||||
@ArgsType()
|
||||
export class CreateManyPipelineAssociationArgs {
|
||||
@Field(() => [PipelineAssociationCreateManyInput], { nullable: false })
|
||||
@Type(() => PipelineAssociationCreateManyInput)
|
||||
data!: Array<PipelineAssociationCreateManyInput>;
|
||||
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
skipDuplicates?: boolean;
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationCreateInput } from './pipeline-association-create.input';
|
||||
import { Type } from 'class-transformer';
|
||||
|
||||
@ArgsType()
|
||||
export class CreateOnePipelineAssociationArgs {
|
||||
@Field(() => PipelineAssociationCreateInput, { nullable: false })
|
||||
@Type(() => PipelineAssociationCreateInput)
|
||||
data!: PipelineAssociationCreateInput;
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationWhereInput } from './pipeline-association-where.input';
|
||||
import { Type } from 'class-transformer';
|
||||
|
||||
@ArgsType()
|
||||
export class DeleteManyPipelineAssociationArgs {
|
||||
@Field(() => PipelineAssociationWhereInput, { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereInput)
|
||||
where?: PipelineAssociationWhereInput;
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
|
||||
@ArgsType()
|
||||
export class DeleteOnePipelineAssociationArgs {
|
||||
@Field(() => PipelineAssociationWhereUniqueInput, { nullable: false })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
where!: PipelineAssociationWhereUniqueInput;
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationWhereInput } from './pipeline-association-where.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PipelineAssociationOrderByWithRelationInput } from './pipeline-association-order-by-with-relation.input';
|
||||
import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { PipelineAssociationScalarFieldEnum } from './pipeline-association-scalar-field.enum';
|
||||
|
||||
@ArgsType()
|
||||
export class FindFirstPipelineAssociationOrThrowArgs {
|
||||
@Field(() => PipelineAssociationWhereInput, { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereInput)
|
||||
where?: PipelineAssociationWhereInput;
|
||||
|
||||
@Field(() => [PipelineAssociationOrderByWithRelationInput], {
|
||||
nullable: true,
|
||||
})
|
||||
orderBy?: Array<PipelineAssociationOrderByWithRelationInput>;
|
||||
|
||||
@Field(() => PipelineAssociationWhereUniqueInput, { nullable: true })
|
||||
cursor?: PipelineAssociationWhereUniqueInput;
|
||||
|
||||
@Field(() => Int, { nullable: true })
|
||||
take?: number;
|
||||
|
||||
@Field(() => Int, { nullable: true })
|
||||
skip?: number;
|
||||
|
||||
@Field(() => [PipelineAssociationScalarFieldEnum], { nullable: true })
|
||||
distinct?: Array<keyof typeof PipelineAssociationScalarFieldEnum>;
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationWhereInput } from './pipeline-association-where.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PipelineAssociationOrderByWithRelationInput } from './pipeline-association-order-by-with-relation.input';
|
||||
import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { PipelineAssociationScalarFieldEnum } from './pipeline-association-scalar-field.enum';
|
||||
|
||||
@ArgsType()
|
||||
export class FindFirstPipelineAssociationArgs {
|
||||
@Field(() => PipelineAssociationWhereInput, { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereInput)
|
||||
where?: PipelineAssociationWhereInput;
|
||||
|
||||
@Field(() => [PipelineAssociationOrderByWithRelationInput], {
|
||||
nullable: true,
|
||||
})
|
||||
orderBy?: Array<PipelineAssociationOrderByWithRelationInput>;
|
||||
|
||||
@Field(() => PipelineAssociationWhereUniqueInput, { nullable: true })
|
||||
cursor?: PipelineAssociationWhereUniqueInput;
|
||||
|
||||
@Field(() => Int, { nullable: true })
|
||||
take?: number;
|
||||
|
||||
@Field(() => Int, { nullable: true })
|
||||
skip?: number;
|
||||
|
||||
@Field(() => [PipelineAssociationScalarFieldEnum], { nullable: true })
|
||||
distinct?: Array<keyof typeof PipelineAssociationScalarFieldEnum>;
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationWhereInput } from './pipeline-association-where.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PipelineAssociationOrderByWithRelationInput } from './pipeline-association-order-by-with-relation.input';
|
||||
import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { PipelineAssociationScalarFieldEnum } from './pipeline-association-scalar-field.enum';
|
||||
|
||||
@ArgsType()
|
||||
export class FindManyPipelineAssociationArgs {
|
||||
@Field(() => PipelineAssociationWhereInput, { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereInput)
|
||||
where?: PipelineAssociationWhereInput;
|
||||
|
||||
@Field(() => [PipelineAssociationOrderByWithRelationInput], {
|
||||
nullable: true,
|
||||
})
|
||||
orderBy?: Array<PipelineAssociationOrderByWithRelationInput>;
|
||||
|
||||
@Field(() => PipelineAssociationWhereUniqueInput, { nullable: true })
|
||||
cursor?: PipelineAssociationWhereUniqueInput;
|
||||
|
||||
@Field(() => Int, { nullable: true })
|
||||
take?: number;
|
||||
|
||||
@Field(() => Int, { nullable: true })
|
||||
skip?: number;
|
||||
|
||||
@Field(() => [PipelineAssociationScalarFieldEnum], { nullable: true })
|
||||
distinct?: Array<keyof typeof PipelineAssociationScalarFieldEnum>;
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
|
||||
@ArgsType()
|
||||
export class FindUniquePipelineAssociationOrThrowArgs {
|
||||
@Field(() => PipelineAssociationWhereUniqueInput, { nullable: false })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
where!: PipelineAssociationWhereUniqueInput;
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
|
||||
@ArgsType()
|
||||
export class FindUniquePipelineAssociationArgs {
|
||||
@Field(() => PipelineAssociationWhereUniqueInput, { nullable: false })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
where!: PipelineAssociationWhereUniqueInput;
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationWhereInput } from './pipeline-association-where.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PipelineAssociationOrderByWithRelationInput } from './pipeline-association-order-by-with-relation.input';
|
||||
import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { PipelineAssociationCountAggregateInput } from './pipeline-association-count-aggregate.input';
|
||||
import { PipelineAssociationMinAggregateInput } from './pipeline-association-min-aggregate.input';
|
||||
import { PipelineAssociationMaxAggregateInput } from './pipeline-association-max-aggregate.input';
|
||||
|
||||
@ArgsType()
|
||||
export class PipelineAssociationAggregateArgs {
|
||||
@Field(() => PipelineAssociationWhereInput, { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereInput)
|
||||
where?: PipelineAssociationWhereInput;
|
||||
|
||||
@Field(() => [PipelineAssociationOrderByWithRelationInput], {
|
||||
nullable: true,
|
||||
})
|
||||
orderBy?: Array<PipelineAssociationOrderByWithRelationInput>;
|
||||
|
||||
@Field(() => PipelineAssociationWhereUniqueInput, { nullable: true })
|
||||
cursor?: PipelineAssociationWhereUniqueInput;
|
||||
|
||||
@Field(() => Int, { nullable: true })
|
||||
take?: number;
|
||||
|
||||
@Field(() => Int, { nullable: true })
|
||||
skip?: number;
|
||||
|
||||
@Field(() => PipelineAssociationCountAggregateInput, { nullable: true })
|
||||
_count?: PipelineAssociationCountAggregateInput;
|
||||
|
||||
@Field(() => PipelineAssociationMinAggregateInput, { nullable: true })
|
||||
_min?: PipelineAssociationMinAggregateInput;
|
||||
|
||||
@Field(() => PipelineAssociationMaxAggregateInput, { nullable: true })
|
||||
_max?: PipelineAssociationMaxAggregateInput;
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationCountAggregateInput {
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
id?: true;
|
||||
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
createdAt?: true;
|
||||
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
updatedAt?: true;
|
||||
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
deletedAt?: true;
|
||||
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
pipelineId?: true;
|
||||
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
pipelineStageId?: true;
|
||||
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
associableType?: true;
|
||||
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
associableId?: true;
|
||||
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
_all?: true;
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
|
||||
@ObjectType()
|
||||
export class PipelineAssociationCountAggregate {
|
||||
@Field(() => Int, { nullable: false })
|
||||
id!: number;
|
||||
|
||||
@Field(() => Int, { nullable: false })
|
||||
createdAt!: number;
|
||||
|
||||
@Field(() => Int, { nullable: false })
|
||||
updatedAt!: number;
|
||||
|
||||
@Field(() => Int, { nullable: false })
|
||||
deletedAt!: number;
|
||||
|
||||
@Field(() => Int, { nullable: false })
|
||||
pipelineId!: number;
|
||||
|
||||
@Field(() => Int, { nullable: false })
|
||||
pipelineStageId!: number;
|
||||
|
||||
@Field(() => Int, { nullable: false })
|
||||
associableType!: number;
|
||||
|
||||
@Field(() => Int, { nullable: false })
|
||||
associableId!: number;
|
||||
|
||||
@Field(() => Int, { nullable: false })
|
||||
_all!: number;
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { SortOrder } from '../prisma/sort-order.enum';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationCountOrderByAggregateInput {
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
id?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
createdAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
updatedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
deletedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
pipelineId?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
pipelineStageId?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
associableType?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
associableId?: keyof typeof SortOrder;
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationCreateManyPipelineInput } from './pipeline-association-create-many-pipeline.input';
|
||||
import { Type } from 'class-transformer';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationCreateManyPipelineInputEnvelope {
|
||||
@Field(() => [PipelineAssociationCreateManyPipelineInput], {
|
||||
nullable: false,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateManyPipelineInput)
|
||||
data!: Array<PipelineAssociationCreateManyPipelineInput>;
|
||||
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
skipDuplicates?: boolean;
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationCreateManyPipelineStageInput } from './pipeline-association-create-many-pipeline-stage.input';
|
||||
import { Type } from 'class-transformer';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationCreateManyPipelineStageInputEnvelope {
|
||||
@Field(() => [PipelineAssociationCreateManyPipelineStageInput], {
|
||||
nullable: false,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateManyPipelineStageInput)
|
||||
data!: Array<PipelineAssociationCreateManyPipelineStageInput>;
|
||||
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
skipDuplicates?: boolean;
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociableType } from '../pipeline/pipeline-associable-type.enum';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationCreateManyPipelineStageInput {
|
||||
@Field(() => String, { nullable: false })
|
||||
id!: string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
pipelineId!: string;
|
||||
|
||||
@Field(() => PipelineAssociableType, { nullable: false })
|
||||
associableType!: keyof typeof PipelineAssociableType;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
associableId!: string;
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociableType } from '../pipeline/pipeline-associable-type.enum';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationCreateManyPipelineInput {
|
||||
@Field(() => String, { nullable: false })
|
||||
id!: string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
pipelineStageId!: string;
|
||||
|
||||
@Field(() => PipelineAssociableType, { nullable: false })
|
||||
associableType!: keyof typeof PipelineAssociableType;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
associableId!: string;
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociableType } from '../pipeline/pipeline-associable-type.enum';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationCreateManyInput {
|
||||
@Field(() => String, { nullable: false })
|
||||
id!: string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
pipelineId!: string;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
pipelineStageId!: string;
|
||||
|
||||
@Field(() => PipelineAssociableType, { nullable: false })
|
||||
associableType!: keyof typeof PipelineAssociableType;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
associableId!: string;
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationCreateWithoutPipelineStageInput } from './pipeline-association-create-without-pipeline-stage.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PipelineAssociationCreateOrConnectWithoutPipelineStageInput } from './pipeline-association-create-or-connect-without-pipeline-stage.input';
|
||||
import { PipelineAssociationCreateManyPipelineStageInputEnvelope } from './pipeline-association-create-many-pipeline-stage-input-envelope.input';
|
||||
import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationCreateNestedManyWithoutPipelineStageInput {
|
||||
@Field(() => [PipelineAssociationCreateWithoutPipelineStageInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateWithoutPipelineStageInput)
|
||||
create?: Array<PipelineAssociationCreateWithoutPipelineStageInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationCreateOrConnectWithoutPipelineStageInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateOrConnectWithoutPipelineStageInput)
|
||||
connectOrCreate?: Array<PipelineAssociationCreateOrConnectWithoutPipelineStageInput>;
|
||||
|
||||
@Field(() => PipelineAssociationCreateManyPipelineStageInputEnvelope, {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateManyPipelineStageInputEnvelope)
|
||||
createMany?: PipelineAssociationCreateManyPipelineStageInputEnvelope;
|
||||
|
||||
@Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
connect?: Array<PipelineAssociationWhereUniqueInput>;
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationCreateWithoutPipelineInput } from './pipeline-association-create-without-pipeline.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PipelineAssociationCreateOrConnectWithoutPipelineInput } from './pipeline-association-create-or-connect-without-pipeline.input';
|
||||
import { PipelineAssociationCreateManyPipelineInputEnvelope } from './pipeline-association-create-many-pipeline-input-envelope.input';
|
||||
import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationCreateNestedManyWithoutPipelineInput {
|
||||
@Field(() => [PipelineAssociationCreateWithoutPipelineInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateWithoutPipelineInput)
|
||||
create?: Array<PipelineAssociationCreateWithoutPipelineInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationCreateOrConnectWithoutPipelineInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateOrConnectWithoutPipelineInput)
|
||||
connectOrCreate?: Array<PipelineAssociationCreateOrConnectWithoutPipelineInput>;
|
||||
|
||||
@Field(() => PipelineAssociationCreateManyPipelineInputEnvelope, {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateManyPipelineInputEnvelope)
|
||||
createMany?: PipelineAssociationCreateManyPipelineInputEnvelope;
|
||||
|
||||
@Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
connect?: Array<PipelineAssociationWhereUniqueInput>;
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PipelineAssociationCreateWithoutPipelineStageInput } from './pipeline-association-create-without-pipeline-stage.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationCreateOrConnectWithoutPipelineStageInput {
|
||||
@Field(() => PipelineAssociationWhereUniqueInput, { nullable: false })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
where!: PipelineAssociationWhereUniqueInput;
|
||||
|
||||
@Field(() => PipelineAssociationCreateWithoutPipelineStageInput, {
|
||||
nullable: false,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateWithoutPipelineStageInput)
|
||||
create!: PipelineAssociationCreateWithoutPipelineStageInput;
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PipelineAssociationCreateWithoutPipelineInput } from './pipeline-association-create-without-pipeline.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationCreateOrConnectWithoutPipelineInput {
|
||||
@Field(() => PipelineAssociationWhereUniqueInput, { nullable: false })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
where!: PipelineAssociationWhereUniqueInput;
|
||||
|
||||
@Field(() => PipelineAssociationCreateWithoutPipelineInput, {
|
||||
nullable: false,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateWithoutPipelineInput)
|
||||
create!: PipelineAssociationCreateWithoutPipelineInput;
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociableType } from '../pipeline/pipeline-associable-type.enum';
|
||||
import { PipelineCreateNestedOneWithoutPipelineAssociationsInput } from '../pipeline/pipeline-create-nested-one-without-pipeline-associations.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationCreateWithoutPipelineStageInput {
|
||||
@Field(() => String, { nullable: false })
|
||||
id!: string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => PipelineAssociableType, { nullable: false })
|
||||
associableType!: keyof typeof PipelineAssociableType;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
associableId!: string;
|
||||
|
||||
@Field(() => PipelineCreateNestedOneWithoutPipelineAssociationsInput, {
|
||||
nullable: false,
|
||||
})
|
||||
pipeline!: PipelineCreateNestedOneWithoutPipelineAssociationsInput;
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociableType } from '../pipeline/pipeline-associable-type.enum';
|
||||
import { PipelineStageCreateNestedOneWithoutPipelineAssociationsInput } from '../pipeline-stage/pipeline-stage-create-nested-one-without-pipeline-associations.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationCreateWithoutPipelineInput {
|
||||
@Field(() => String, { nullable: false })
|
||||
id!: string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => PipelineAssociableType, { nullable: false })
|
||||
associableType!: keyof typeof PipelineAssociableType;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
associableId!: string;
|
||||
|
||||
@Field(() => PipelineStageCreateNestedOneWithoutPipelineAssociationsInput, {
|
||||
nullable: false,
|
||||
})
|
||||
pipelineStage!: PipelineStageCreateNestedOneWithoutPipelineAssociationsInput;
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociableType } from '../pipeline/pipeline-associable-type.enum';
|
||||
import { PipelineCreateNestedOneWithoutPipelineAssociationsInput } from '../pipeline/pipeline-create-nested-one-without-pipeline-associations.input';
|
||||
import { PipelineStageCreateNestedOneWithoutPipelineAssociationsInput } from '../pipeline-stage/pipeline-stage-create-nested-one-without-pipeline-associations.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationCreateInput {
|
||||
@Field(() => String, { nullable: false })
|
||||
id!: string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => PipelineAssociableType, { nullable: false })
|
||||
associableType!: keyof typeof PipelineAssociableType;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
associableId!: string;
|
||||
|
||||
@Field(() => PipelineCreateNestedOneWithoutPipelineAssociationsInput, {
|
||||
nullable: false,
|
||||
})
|
||||
pipeline!: PipelineCreateNestedOneWithoutPipelineAssociationsInput;
|
||||
|
||||
@Field(() => PipelineStageCreateNestedOneWithoutPipelineAssociationsInput, {
|
||||
nullable: false,
|
||||
})
|
||||
pipelineStage!: PipelineStageCreateNestedOneWithoutPipelineAssociationsInput;
|
||||
}
|
@ -0,0 +1,46 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationWhereInput } from './pipeline-association-where.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PipelineAssociationOrderByWithAggregationInput } from './pipeline-association-order-by-with-aggregation.input';
|
||||
import { PipelineAssociationScalarFieldEnum } from './pipeline-association-scalar-field.enum';
|
||||
import { PipelineAssociationScalarWhereWithAggregatesInput } from './pipeline-association-scalar-where-with-aggregates.input';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { PipelineAssociationCountAggregateInput } from './pipeline-association-count-aggregate.input';
|
||||
import { PipelineAssociationMinAggregateInput } from './pipeline-association-min-aggregate.input';
|
||||
import { PipelineAssociationMaxAggregateInput } from './pipeline-association-max-aggregate.input';
|
||||
|
||||
@ArgsType()
|
||||
export class PipelineAssociationGroupByArgs {
|
||||
@Field(() => PipelineAssociationWhereInput, { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereInput)
|
||||
where?: PipelineAssociationWhereInput;
|
||||
|
||||
@Field(() => [PipelineAssociationOrderByWithAggregationInput], {
|
||||
nullable: true,
|
||||
})
|
||||
orderBy?: Array<PipelineAssociationOrderByWithAggregationInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationScalarFieldEnum], { nullable: false })
|
||||
by!: Array<keyof typeof PipelineAssociationScalarFieldEnum>;
|
||||
|
||||
@Field(() => PipelineAssociationScalarWhereWithAggregatesInput, {
|
||||
nullable: true,
|
||||
})
|
||||
having?: PipelineAssociationScalarWhereWithAggregatesInput;
|
||||
|
||||
@Field(() => Int, { nullable: true })
|
||||
take?: number;
|
||||
|
||||
@Field(() => Int, { nullable: true })
|
||||
skip?: number;
|
||||
|
||||
@Field(() => PipelineAssociationCountAggregateInput, { nullable: true })
|
||||
_count?: PipelineAssociationCountAggregateInput;
|
||||
|
||||
@Field(() => PipelineAssociationMinAggregateInput, { nullable: true })
|
||||
_min?: PipelineAssociationMinAggregateInput;
|
||||
|
||||
@Field(() => PipelineAssociationMaxAggregateInput, { nullable: true })
|
||||
_max?: PipelineAssociationMaxAggregateInput;
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { PipelineAssociableType } from '../pipeline/pipeline-associable-type.enum';
|
||||
import { PipelineAssociationCountAggregate } from './pipeline-association-count-aggregate.output';
|
||||
import { PipelineAssociationMinAggregate } from './pipeline-association-min-aggregate.output';
|
||||
import { PipelineAssociationMaxAggregate } from './pipeline-association-max-aggregate.output';
|
||||
|
||||
@ObjectType()
|
||||
export class PipelineAssociationGroupBy {
|
||||
@Field(() => String, { nullable: false })
|
||||
id!: string;
|
||||
|
||||
@Field(() => Date, { nullable: false })
|
||||
createdAt!: Date | string;
|
||||
|
||||
@Field(() => Date, { nullable: false })
|
||||
updatedAt!: Date | string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
pipelineId!: string;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
pipelineStageId!: string;
|
||||
|
||||
@Field(() => PipelineAssociableType, { nullable: false })
|
||||
associableType!: keyof typeof PipelineAssociableType;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
associableId!: string;
|
||||
|
||||
@Field(() => PipelineAssociationCountAggregate, { nullable: true })
|
||||
_count?: PipelineAssociationCountAggregate;
|
||||
|
||||
@Field(() => PipelineAssociationMinAggregate, { nullable: true })
|
||||
_min?: PipelineAssociationMinAggregate;
|
||||
|
||||
@Field(() => PipelineAssociationMaxAggregate, { nullable: true })
|
||||
_max?: PipelineAssociationMaxAggregate;
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationWhereInput } from './pipeline-association-where.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationListRelationFilter {
|
||||
@Field(() => PipelineAssociationWhereInput, { nullable: true })
|
||||
every?: PipelineAssociationWhereInput;
|
||||
|
||||
@Field(() => PipelineAssociationWhereInput, { nullable: true })
|
||||
some?: PipelineAssociationWhereInput;
|
||||
|
||||
@Field(() => PipelineAssociationWhereInput, { nullable: true })
|
||||
none?: PipelineAssociationWhereInput;
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationMaxAggregateInput {
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
id?: true;
|
||||
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
createdAt?: true;
|
||||
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
updatedAt?: true;
|
||||
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
deletedAt?: true;
|
||||
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
pipelineId?: true;
|
||||
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
pipelineStageId?: true;
|
||||
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
associableType?: true;
|
||||
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
associableId?: true;
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { PipelineAssociableType } from '../pipeline/pipeline-associable-type.enum';
|
||||
|
||||
@ObjectType()
|
||||
export class PipelineAssociationMaxAggregate {
|
||||
@Field(() => String, { nullable: true })
|
||||
id?: string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => String, { nullable: true })
|
||||
pipelineId?: string;
|
||||
|
||||
@Field(() => String, { nullable: true })
|
||||
pipelineStageId?: string;
|
||||
|
||||
@Field(() => PipelineAssociableType, { nullable: true })
|
||||
associableType?: keyof typeof PipelineAssociableType;
|
||||
|
||||
@Field(() => String, { nullable: true })
|
||||
associableId?: string;
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { SortOrder } from '../prisma/sort-order.enum';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationMaxOrderByAggregateInput {
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
id?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
createdAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
updatedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
deletedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
pipelineId?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
pipelineStageId?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
associableType?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
associableId?: keyof typeof SortOrder;
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationMinAggregateInput {
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
id?: true;
|
||||
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
createdAt?: true;
|
||||
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
updatedAt?: true;
|
||||
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
deletedAt?: true;
|
||||
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
pipelineId?: true;
|
||||
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
pipelineStageId?: true;
|
||||
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
associableType?: true;
|
||||
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
associableId?: true;
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { PipelineAssociableType } from '../pipeline/pipeline-associable-type.enum';
|
||||
|
||||
@ObjectType()
|
||||
export class PipelineAssociationMinAggregate {
|
||||
@Field(() => String, { nullable: true })
|
||||
id?: string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => String, { nullable: true })
|
||||
pipelineId?: string;
|
||||
|
||||
@Field(() => String, { nullable: true })
|
||||
pipelineStageId?: string;
|
||||
|
||||
@Field(() => PipelineAssociableType, { nullable: true })
|
||||
associableType?: keyof typeof PipelineAssociableType;
|
||||
|
||||
@Field(() => String, { nullable: true })
|
||||
associableId?: string;
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { SortOrder } from '../prisma/sort-order.enum';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationMinOrderByAggregateInput {
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
id?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
createdAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
updatedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
deletedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
pipelineId?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
pipelineStageId?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
associableType?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
associableId?: keyof typeof SortOrder;
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { SortOrder } from '../prisma/sort-order.enum';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationOrderByRelationAggregateInput {
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
_count?: keyof typeof SortOrder;
|
||||
}
|
@ -0,0 +1,44 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { SortOrder } from '../prisma/sort-order.enum';
|
||||
import { PipelineAssociationCountOrderByAggregateInput } from './pipeline-association-count-order-by-aggregate.input';
|
||||
import { PipelineAssociationMaxOrderByAggregateInput } from './pipeline-association-max-order-by-aggregate.input';
|
||||
import { PipelineAssociationMinOrderByAggregateInput } from './pipeline-association-min-order-by-aggregate.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationOrderByWithAggregationInput {
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
id?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
createdAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
updatedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
deletedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
pipelineId?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
pipelineStageId?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
associableType?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
associableId?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => PipelineAssociationCountOrderByAggregateInput, {
|
||||
nullable: true,
|
||||
})
|
||||
_count?: PipelineAssociationCountOrderByAggregateInput;
|
||||
|
||||
@Field(() => PipelineAssociationMaxOrderByAggregateInput, { nullable: true })
|
||||
_max?: PipelineAssociationMaxOrderByAggregateInput;
|
||||
|
||||
@Field(() => PipelineAssociationMinOrderByAggregateInput, { nullable: true })
|
||||
_min?: PipelineAssociationMinOrderByAggregateInput;
|
||||
}
|
@ -0,0 +1,38 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { SortOrder } from '../prisma/sort-order.enum';
|
||||
import { PipelineOrderByWithRelationInput } from '../pipeline/pipeline-order-by-with-relation.input';
|
||||
import { PipelineStageOrderByWithRelationInput } from '../pipeline-stage/pipeline-stage-order-by-with-relation.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationOrderByWithRelationInput {
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
id?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
createdAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
updatedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
deletedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
pipelineId?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
pipelineStageId?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
associableType?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
associableId?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => PipelineOrderByWithRelationInput, { nullable: true })
|
||||
pipeline?: PipelineOrderByWithRelationInput;
|
||||
|
||||
@Field(() => PipelineStageOrderByWithRelationInput, { nullable: true })
|
||||
pipelineStage?: PipelineStageOrderByWithRelationInput;
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
import { registerEnumType } from '@nestjs/graphql';
|
||||
|
||||
export enum PipelineAssociationScalarFieldEnum {
|
||||
id = 'id',
|
||||
createdAt = 'createdAt',
|
||||
updatedAt = 'updatedAt',
|
||||
deletedAt = 'deletedAt',
|
||||
pipelineId = 'pipelineId',
|
||||
pipelineStageId = 'pipelineStageId',
|
||||
associableType = 'associableType',
|
||||
associableId = 'associableId',
|
||||
}
|
||||
|
||||
registerEnumType(PipelineAssociationScalarFieldEnum, {
|
||||
name: 'PipelineAssociationScalarFieldEnum',
|
||||
description: undefined,
|
||||
});
|
@ -0,0 +1,50 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringWithAggregatesFilter } from '../prisma/string-with-aggregates-filter.input';
|
||||
import { DateTimeWithAggregatesFilter } from '../prisma/date-time-with-aggregates-filter.input';
|
||||
import { DateTimeNullableWithAggregatesFilter } from '../prisma/date-time-nullable-with-aggregates-filter.input';
|
||||
import { EnumPipelineAssociableTypeWithAggregatesFilter } from '../prisma/enum-pipeline-associable-type-with-aggregates-filter.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationScalarWhereWithAggregatesInput {
|
||||
@Field(() => [PipelineAssociationScalarWhereWithAggregatesInput], {
|
||||
nullable: true,
|
||||
})
|
||||
AND?: Array<PipelineAssociationScalarWhereWithAggregatesInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationScalarWhereWithAggregatesInput], {
|
||||
nullable: true,
|
||||
})
|
||||
OR?: Array<PipelineAssociationScalarWhereWithAggregatesInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationScalarWhereWithAggregatesInput], {
|
||||
nullable: true,
|
||||
})
|
||||
NOT?: Array<PipelineAssociationScalarWhereWithAggregatesInput>;
|
||||
|
||||
@Field(() => StringWithAggregatesFilter, { nullable: true })
|
||||
id?: StringWithAggregatesFilter;
|
||||
|
||||
@Field(() => DateTimeWithAggregatesFilter, { nullable: true })
|
||||
createdAt?: DateTimeWithAggregatesFilter;
|
||||
|
||||
@Field(() => DateTimeWithAggregatesFilter, { nullable: true })
|
||||
updatedAt?: DateTimeWithAggregatesFilter;
|
||||
|
||||
@Field(() => DateTimeNullableWithAggregatesFilter, { nullable: true })
|
||||
deletedAt?: DateTimeNullableWithAggregatesFilter;
|
||||
|
||||
@Field(() => StringWithAggregatesFilter, { nullable: true })
|
||||
pipelineId?: StringWithAggregatesFilter;
|
||||
|
||||
@Field(() => StringWithAggregatesFilter, { nullable: true })
|
||||
pipelineStageId?: StringWithAggregatesFilter;
|
||||
|
||||
@Field(() => EnumPipelineAssociableTypeWithAggregatesFilter, {
|
||||
nullable: true,
|
||||
})
|
||||
associableType?: EnumPipelineAssociableTypeWithAggregatesFilter;
|
||||
|
||||
@Field(() => StringWithAggregatesFilter, { nullable: true })
|
||||
associableId?: StringWithAggregatesFilter;
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFilter } from '../prisma/string-filter.input';
|
||||
import { DateTimeFilter } from '../prisma/date-time-filter.input';
|
||||
import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input';
|
||||
import { EnumPipelineAssociableTypeFilter } from '../prisma/enum-pipeline-associable-type-filter.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationScalarWhereInput {
|
||||
@Field(() => [PipelineAssociationScalarWhereInput], { nullable: true })
|
||||
AND?: Array<PipelineAssociationScalarWhereInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationScalarWhereInput], { nullable: true })
|
||||
OR?: Array<PipelineAssociationScalarWhereInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationScalarWhereInput], { nullable: true })
|
||||
NOT?: Array<PipelineAssociationScalarWhereInput>;
|
||||
|
||||
@Field(() => StringFilter, { nullable: true })
|
||||
id?: StringFilter;
|
||||
|
||||
@Field(() => DateTimeFilter, { nullable: true })
|
||||
createdAt?: DateTimeFilter;
|
||||
|
||||
@Field(() => DateTimeFilter, { nullable: true })
|
||||
updatedAt?: DateTimeFilter;
|
||||
|
||||
@Field(() => DateTimeNullableFilter, { nullable: true })
|
||||
deletedAt?: DateTimeNullableFilter;
|
||||
|
||||
@Field(() => StringFilter, { nullable: true })
|
||||
pipelineId?: StringFilter;
|
||||
|
||||
@Field(() => StringFilter, { nullable: true })
|
||||
pipelineStageId?: StringFilter;
|
||||
|
||||
@Field(() => EnumPipelineAssociableTypeFilter, { nullable: true })
|
||||
associableType?: EnumPipelineAssociableTypeFilter;
|
||||
|
||||
@Field(() => StringFilter, { nullable: true })
|
||||
associableId?: StringFilter;
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationCreateWithoutPipelineStageInput } from './pipeline-association-create-without-pipeline-stage.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PipelineAssociationCreateOrConnectWithoutPipelineStageInput } from './pipeline-association-create-or-connect-without-pipeline-stage.input';
|
||||
import { PipelineAssociationCreateManyPipelineStageInputEnvelope } from './pipeline-association-create-many-pipeline-stage-input-envelope.input';
|
||||
import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationUncheckedCreateNestedManyWithoutPipelineStageInput {
|
||||
@Field(() => [PipelineAssociationCreateWithoutPipelineStageInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateWithoutPipelineStageInput)
|
||||
create?: Array<PipelineAssociationCreateWithoutPipelineStageInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationCreateOrConnectWithoutPipelineStageInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateOrConnectWithoutPipelineStageInput)
|
||||
connectOrCreate?: Array<PipelineAssociationCreateOrConnectWithoutPipelineStageInput>;
|
||||
|
||||
@Field(() => PipelineAssociationCreateManyPipelineStageInputEnvelope, {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateManyPipelineStageInputEnvelope)
|
||||
createMany?: PipelineAssociationCreateManyPipelineStageInputEnvelope;
|
||||
|
||||
@Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
connect?: Array<PipelineAssociationWhereUniqueInput>;
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationCreateWithoutPipelineInput } from './pipeline-association-create-without-pipeline.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PipelineAssociationCreateOrConnectWithoutPipelineInput } from './pipeline-association-create-or-connect-without-pipeline.input';
|
||||
import { PipelineAssociationCreateManyPipelineInputEnvelope } from './pipeline-association-create-many-pipeline-input-envelope.input';
|
||||
import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationUncheckedCreateNestedManyWithoutPipelineInput {
|
||||
@Field(() => [PipelineAssociationCreateWithoutPipelineInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateWithoutPipelineInput)
|
||||
create?: Array<PipelineAssociationCreateWithoutPipelineInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationCreateOrConnectWithoutPipelineInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateOrConnectWithoutPipelineInput)
|
||||
connectOrCreate?: Array<PipelineAssociationCreateOrConnectWithoutPipelineInput>;
|
||||
|
||||
@Field(() => PipelineAssociationCreateManyPipelineInputEnvelope, {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateManyPipelineInputEnvelope)
|
||||
createMany?: PipelineAssociationCreateManyPipelineInputEnvelope;
|
||||
|
||||
@Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
connect?: Array<PipelineAssociationWhereUniqueInput>;
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociableType } from '../pipeline/pipeline-associable-type.enum';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationUncheckedCreateWithoutPipelineStageInput {
|
||||
@Field(() => String, { nullable: false })
|
||||
id!: string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
pipelineId!: string;
|
||||
|
||||
@Field(() => PipelineAssociableType, { nullable: false })
|
||||
associableType!: keyof typeof PipelineAssociableType;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
associableId!: string;
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociableType } from '../pipeline/pipeline-associable-type.enum';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationUncheckedCreateWithoutPipelineInput {
|
||||
@Field(() => String, { nullable: false })
|
||||
id!: string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
pipelineStageId!: string;
|
||||
|
||||
@Field(() => PipelineAssociableType, { nullable: false })
|
||||
associableType!: keyof typeof PipelineAssociableType;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
associableId!: string;
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociableType } from '../pipeline/pipeline-associable-type.enum';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationUncheckedCreateInput {
|
||||
@Field(() => String, { nullable: false })
|
||||
id!: string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
pipelineId!: string;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
pipelineStageId!: string;
|
||||
|
||||
@Field(() => PipelineAssociableType, { nullable: false })
|
||||
associableType!: keyof typeof PipelineAssociableType;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
associableId!: string;
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { EnumPipelineAssociableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-associable-type-field-update-operations.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationUncheckedUpdateManyWithoutPipelineAssociationsInput {
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
pipelineStageId?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => EnumPipelineAssociableTypeFieldUpdateOperationsInput, {
|
||||
nullable: true,
|
||||
})
|
||||
associableType?: EnumPipelineAssociableTypeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
associableId?: StringFieldUpdateOperationsInput;
|
||||
}
|
@ -0,0 +1,70 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationCreateWithoutPipelineInput } from './pipeline-association-create-without-pipeline.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PipelineAssociationCreateOrConnectWithoutPipelineInput } from './pipeline-association-create-or-connect-without-pipeline.input';
|
||||
import { PipelineAssociationUpsertWithWhereUniqueWithoutPipelineInput } from './pipeline-association-upsert-with-where-unique-without-pipeline.input';
|
||||
import { PipelineAssociationCreateManyPipelineInputEnvelope } from './pipeline-association-create-many-pipeline-input-envelope.input';
|
||||
import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input';
|
||||
import { PipelineAssociationUpdateWithWhereUniqueWithoutPipelineInput } from './pipeline-association-update-with-where-unique-without-pipeline.input';
|
||||
import { PipelineAssociationUpdateManyWithWhereWithoutPipelineInput } from './pipeline-association-update-many-with-where-without-pipeline.input';
|
||||
import { PipelineAssociationScalarWhereInput } from './pipeline-association-scalar-where.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationUncheckedUpdateManyWithoutPipelineNestedInput {
|
||||
@Field(() => [PipelineAssociationCreateWithoutPipelineInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateWithoutPipelineInput)
|
||||
create?: Array<PipelineAssociationCreateWithoutPipelineInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationCreateOrConnectWithoutPipelineInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateOrConnectWithoutPipelineInput)
|
||||
connectOrCreate?: Array<PipelineAssociationCreateOrConnectWithoutPipelineInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationUpsertWithWhereUniqueWithoutPipelineInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationUpsertWithWhereUniqueWithoutPipelineInput)
|
||||
upsert?: Array<PipelineAssociationUpsertWithWhereUniqueWithoutPipelineInput>;
|
||||
|
||||
@Field(() => PipelineAssociationCreateManyPipelineInputEnvelope, {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateManyPipelineInputEnvelope)
|
||||
createMany?: PipelineAssociationCreateManyPipelineInputEnvelope;
|
||||
|
||||
@Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
set?: Array<PipelineAssociationWhereUniqueInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
disconnect?: Array<PipelineAssociationWhereUniqueInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
delete?: Array<PipelineAssociationWhereUniqueInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
connect?: Array<PipelineAssociationWhereUniqueInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationUpdateWithWhereUniqueWithoutPipelineInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationUpdateWithWhereUniqueWithoutPipelineInput)
|
||||
update?: Array<PipelineAssociationUpdateWithWhereUniqueWithoutPipelineInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationUpdateManyWithWhereWithoutPipelineInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationUpdateManyWithWhereWithoutPipelineInput)
|
||||
updateMany?: Array<PipelineAssociationUpdateManyWithWhereWithoutPipelineInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationScalarWhereInput], { nullable: true })
|
||||
@Type(() => PipelineAssociationScalarWhereInput)
|
||||
deleteMany?: Array<PipelineAssociationScalarWhereInput>;
|
||||
}
|
@ -0,0 +1,73 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationCreateWithoutPipelineStageInput } from './pipeline-association-create-without-pipeline-stage.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PipelineAssociationCreateOrConnectWithoutPipelineStageInput } from './pipeline-association-create-or-connect-without-pipeline-stage.input';
|
||||
import { PipelineAssociationUpsertWithWhereUniqueWithoutPipelineStageInput } from './pipeline-association-upsert-with-where-unique-without-pipeline-stage.input';
|
||||
import { PipelineAssociationCreateManyPipelineStageInputEnvelope } from './pipeline-association-create-many-pipeline-stage-input-envelope.input';
|
||||
import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input';
|
||||
import { PipelineAssociationUpdateWithWhereUniqueWithoutPipelineStageInput } from './pipeline-association-update-with-where-unique-without-pipeline-stage.input';
|
||||
import { PipelineAssociationUpdateManyWithWhereWithoutPipelineStageInput } from './pipeline-association-update-many-with-where-without-pipeline-stage.input';
|
||||
import { PipelineAssociationScalarWhereInput } from './pipeline-association-scalar-where.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationUncheckedUpdateManyWithoutPipelineStageNestedInput {
|
||||
@Field(() => [PipelineAssociationCreateWithoutPipelineStageInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateWithoutPipelineStageInput)
|
||||
create?: Array<PipelineAssociationCreateWithoutPipelineStageInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationCreateOrConnectWithoutPipelineStageInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateOrConnectWithoutPipelineStageInput)
|
||||
connectOrCreate?: Array<PipelineAssociationCreateOrConnectWithoutPipelineStageInput>;
|
||||
|
||||
@Field(
|
||||
() => [PipelineAssociationUpsertWithWhereUniqueWithoutPipelineStageInput],
|
||||
{ nullable: true },
|
||||
)
|
||||
@Type(() => PipelineAssociationUpsertWithWhereUniqueWithoutPipelineStageInput)
|
||||
upsert?: Array<PipelineAssociationUpsertWithWhereUniqueWithoutPipelineStageInput>;
|
||||
|
||||
@Field(() => PipelineAssociationCreateManyPipelineStageInputEnvelope, {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateManyPipelineStageInputEnvelope)
|
||||
createMany?: PipelineAssociationCreateManyPipelineStageInputEnvelope;
|
||||
|
||||
@Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
set?: Array<PipelineAssociationWhereUniqueInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
disconnect?: Array<PipelineAssociationWhereUniqueInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
delete?: Array<PipelineAssociationWhereUniqueInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
connect?: Array<PipelineAssociationWhereUniqueInput>;
|
||||
|
||||
@Field(
|
||||
() => [PipelineAssociationUpdateWithWhereUniqueWithoutPipelineStageInput],
|
||||
{ nullable: true },
|
||||
)
|
||||
@Type(() => PipelineAssociationUpdateWithWhereUniqueWithoutPipelineStageInput)
|
||||
update?: Array<PipelineAssociationUpdateWithWhereUniqueWithoutPipelineStageInput>;
|
||||
|
||||
@Field(
|
||||
() => [PipelineAssociationUpdateManyWithWhereWithoutPipelineStageInput],
|
||||
{ nullable: true },
|
||||
)
|
||||
@Type(() => PipelineAssociationUpdateManyWithWhereWithoutPipelineStageInput)
|
||||
updateMany?: Array<PipelineAssociationUpdateManyWithWhereWithoutPipelineStageInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationScalarWhereInput], { nullable: true })
|
||||
@Type(() => PipelineAssociationScalarWhereInput)
|
||||
deleteMany?: Array<PipelineAssociationScalarWhereInput>;
|
||||
}
|
@ -0,0 +1,35 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { EnumPipelineAssociableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-associable-type-field-update-operations.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationUncheckedUpdateManyInput {
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
pipelineId?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
pipelineStageId?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => EnumPipelineAssociableTypeFieldUpdateOperationsInput, {
|
||||
nullable: true,
|
||||
})
|
||||
associableType?: EnumPipelineAssociableTypeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
associableId?: StringFieldUpdateOperationsInput;
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { EnumPipelineAssociableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-associable-type-field-update-operations.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationUncheckedUpdateWithoutPipelineStageInput {
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
pipelineId?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => EnumPipelineAssociableTypeFieldUpdateOperationsInput, {
|
||||
nullable: true,
|
||||
})
|
||||
associableType?: EnumPipelineAssociableTypeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
associableId?: StringFieldUpdateOperationsInput;
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { EnumPipelineAssociableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-associable-type-field-update-operations.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationUncheckedUpdateWithoutPipelineInput {
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
pipelineStageId?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => EnumPipelineAssociableTypeFieldUpdateOperationsInput, {
|
||||
nullable: true,
|
||||
})
|
||||
associableType?: EnumPipelineAssociableTypeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
associableId?: StringFieldUpdateOperationsInput;
|
||||
}
|
@ -0,0 +1,35 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { EnumPipelineAssociableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-associable-type-field-update-operations.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationUncheckedUpdateInput {
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
pipelineId?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
pipelineStageId?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => EnumPipelineAssociableTypeFieldUpdateOperationsInput, {
|
||||
nullable: true,
|
||||
})
|
||||
associableType?: EnumPipelineAssociableTypeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
associableId?: StringFieldUpdateOperationsInput;
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { EnumPipelineAssociableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-associable-type-field-update-operations.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationUpdateManyMutationInput {
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => EnumPipelineAssociableTypeFieldUpdateOperationsInput, {
|
||||
nullable: true,
|
||||
})
|
||||
associableType?: EnumPipelineAssociableTypeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
associableId?: StringFieldUpdateOperationsInput;
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationScalarWhereInput } from './pipeline-association-scalar-where.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PipelineAssociationUpdateManyMutationInput } from './pipeline-association-update-many-mutation.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationUpdateManyWithWhereWithoutPipelineStageInput {
|
||||
@Field(() => PipelineAssociationScalarWhereInput, { nullable: false })
|
||||
@Type(() => PipelineAssociationScalarWhereInput)
|
||||
where!: PipelineAssociationScalarWhereInput;
|
||||
|
||||
@Field(() => PipelineAssociationUpdateManyMutationInput, { nullable: false })
|
||||
@Type(() => PipelineAssociationUpdateManyMutationInput)
|
||||
data!: PipelineAssociationUpdateManyMutationInput;
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationScalarWhereInput } from './pipeline-association-scalar-where.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PipelineAssociationUpdateManyMutationInput } from './pipeline-association-update-many-mutation.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationUpdateManyWithWhereWithoutPipelineInput {
|
||||
@Field(() => PipelineAssociationScalarWhereInput, { nullable: false })
|
||||
@Type(() => PipelineAssociationScalarWhereInput)
|
||||
where!: PipelineAssociationScalarWhereInput;
|
||||
|
||||
@Field(() => PipelineAssociationUpdateManyMutationInput, { nullable: false })
|
||||
@Type(() => PipelineAssociationUpdateManyMutationInput)
|
||||
data!: PipelineAssociationUpdateManyMutationInput;
|
||||
}
|
@ -0,0 +1,70 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationCreateWithoutPipelineInput } from './pipeline-association-create-without-pipeline.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PipelineAssociationCreateOrConnectWithoutPipelineInput } from './pipeline-association-create-or-connect-without-pipeline.input';
|
||||
import { PipelineAssociationUpsertWithWhereUniqueWithoutPipelineInput } from './pipeline-association-upsert-with-where-unique-without-pipeline.input';
|
||||
import { PipelineAssociationCreateManyPipelineInputEnvelope } from './pipeline-association-create-many-pipeline-input-envelope.input';
|
||||
import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input';
|
||||
import { PipelineAssociationUpdateWithWhereUniqueWithoutPipelineInput } from './pipeline-association-update-with-where-unique-without-pipeline.input';
|
||||
import { PipelineAssociationUpdateManyWithWhereWithoutPipelineInput } from './pipeline-association-update-many-with-where-without-pipeline.input';
|
||||
import { PipelineAssociationScalarWhereInput } from './pipeline-association-scalar-where.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationUpdateManyWithoutPipelineNestedInput {
|
||||
@Field(() => [PipelineAssociationCreateWithoutPipelineInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateWithoutPipelineInput)
|
||||
create?: Array<PipelineAssociationCreateWithoutPipelineInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationCreateOrConnectWithoutPipelineInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateOrConnectWithoutPipelineInput)
|
||||
connectOrCreate?: Array<PipelineAssociationCreateOrConnectWithoutPipelineInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationUpsertWithWhereUniqueWithoutPipelineInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationUpsertWithWhereUniqueWithoutPipelineInput)
|
||||
upsert?: Array<PipelineAssociationUpsertWithWhereUniqueWithoutPipelineInput>;
|
||||
|
||||
@Field(() => PipelineAssociationCreateManyPipelineInputEnvelope, {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateManyPipelineInputEnvelope)
|
||||
createMany?: PipelineAssociationCreateManyPipelineInputEnvelope;
|
||||
|
||||
@Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
set?: Array<PipelineAssociationWhereUniqueInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
disconnect?: Array<PipelineAssociationWhereUniqueInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
delete?: Array<PipelineAssociationWhereUniqueInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
connect?: Array<PipelineAssociationWhereUniqueInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationUpdateWithWhereUniqueWithoutPipelineInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationUpdateWithWhereUniqueWithoutPipelineInput)
|
||||
update?: Array<PipelineAssociationUpdateWithWhereUniqueWithoutPipelineInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationUpdateManyWithWhereWithoutPipelineInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationUpdateManyWithWhereWithoutPipelineInput)
|
||||
updateMany?: Array<PipelineAssociationUpdateManyWithWhereWithoutPipelineInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationScalarWhereInput], { nullable: true })
|
||||
@Type(() => PipelineAssociationScalarWhereInput)
|
||||
deleteMany?: Array<PipelineAssociationScalarWhereInput>;
|
||||
}
|
@ -0,0 +1,73 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationCreateWithoutPipelineStageInput } from './pipeline-association-create-without-pipeline-stage.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PipelineAssociationCreateOrConnectWithoutPipelineStageInput } from './pipeline-association-create-or-connect-without-pipeline-stage.input';
|
||||
import { PipelineAssociationUpsertWithWhereUniqueWithoutPipelineStageInput } from './pipeline-association-upsert-with-where-unique-without-pipeline-stage.input';
|
||||
import { PipelineAssociationCreateManyPipelineStageInputEnvelope } from './pipeline-association-create-many-pipeline-stage-input-envelope.input';
|
||||
import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input';
|
||||
import { PipelineAssociationUpdateWithWhereUniqueWithoutPipelineStageInput } from './pipeline-association-update-with-where-unique-without-pipeline-stage.input';
|
||||
import { PipelineAssociationUpdateManyWithWhereWithoutPipelineStageInput } from './pipeline-association-update-many-with-where-without-pipeline-stage.input';
|
||||
import { PipelineAssociationScalarWhereInput } from './pipeline-association-scalar-where.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationUpdateManyWithoutPipelineStageNestedInput {
|
||||
@Field(() => [PipelineAssociationCreateWithoutPipelineStageInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateWithoutPipelineStageInput)
|
||||
create?: Array<PipelineAssociationCreateWithoutPipelineStageInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationCreateOrConnectWithoutPipelineStageInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateOrConnectWithoutPipelineStageInput)
|
||||
connectOrCreate?: Array<PipelineAssociationCreateOrConnectWithoutPipelineStageInput>;
|
||||
|
||||
@Field(
|
||||
() => [PipelineAssociationUpsertWithWhereUniqueWithoutPipelineStageInput],
|
||||
{ nullable: true },
|
||||
)
|
||||
@Type(() => PipelineAssociationUpsertWithWhereUniqueWithoutPipelineStageInput)
|
||||
upsert?: Array<PipelineAssociationUpsertWithWhereUniqueWithoutPipelineStageInput>;
|
||||
|
||||
@Field(() => PipelineAssociationCreateManyPipelineStageInputEnvelope, {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateManyPipelineStageInputEnvelope)
|
||||
createMany?: PipelineAssociationCreateManyPipelineStageInputEnvelope;
|
||||
|
||||
@Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
set?: Array<PipelineAssociationWhereUniqueInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
disconnect?: Array<PipelineAssociationWhereUniqueInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
delete?: Array<PipelineAssociationWhereUniqueInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
connect?: Array<PipelineAssociationWhereUniqueInput>;
|
||||
|
||||
@Field(
|
||||
() => [PipelineAssociationUpdateWithWhereUniqueWithoutPipelineStageInput],
|
||||
{ nullable: true },
|
||||
)
|
||||
@Type(() => PipelineAssociationUpdateWithWhereUniqueWithoutPipelineStageInput)
|
||||
update?: Array<PipelineAssociationUpdateWithWhereUniqueWithoutPipelineStageInput>;
|
||||
|
||||
@Field(
|
||||
() => [PipelineAssociationUpdateManyWithWhereWithoutPipelineStageInput],
|
||||
{ nullable: true },
|
||||
)
|
||||
@Type(() => PipelineAssociationUpdateManyWithWhereWithoutPipelineStageInput)
|
||||
updateMany?: Array<PipelineAssociationUpdateManyWithWhereWithoutPipelineStageInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationScalarWhereInput], { nullable: true })
|
||||
@Type(() => PipelineAssociationScalarWhereInput)
|
||||
deleteMany?: Array<PipelineAssociationScalarWhereInput>;
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PipelineAssociationUpdateWithoutPipelineStageInput } from './pipeline-association-update-without-pipeline-stage.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationUpdateWithWhereUniqueWithoutPipelineStageInput {
|
||||
@Field(() => PipelineAssociationWhereUniqueInput, { nullable: false })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
where!: PipelineAssociationWhereUniqueInput;
|
||||
|
||||
@Field(() => PipelineAssociationUpdateWithoutPipelineStageInput, {
|
||||
nullable: false,
|
||||
})
|
||||
@Type(() => PipelineAssociationUpdateWithoutPipelineStageInput)
|
||||
data!: PipelineAssociationUpdateWithoutPipelineStageInput;
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PipelineAssociationUpdateWithoutPipelineInput } from './pipeline-association-update-without-pipeline.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationUpdateWithWhereUniqueWithoutPipelineInput {
|
||||
@Field(() => PipelineAssociationWhereUniqueInput, { nullable: false })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
where!: PipelineAssociationWhereUniqueInput;
|
||||
|
||||
@Field(() => PipelineAssociationUpdateWithoutPipelineInput, {
|
||||
nullable: false,
|
||||
})
|
||||
@Type(() => PipelineAssociationUpdateWithoutPipelineInput)
|
||||
data!: PipelineAssociationUpdateWithoutPipelineInput;
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { EnumPipelineAssociableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-associable-type-field-update-operations.input';
|
||||
import { PipelineUpdateOneRequiredWithoutPipelineAssociationsNestedInput } from '../pipeline/pipeline-update-one-required-without-pipeline-associations-nested.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationUpdateWithoutPipelineStageInput {
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => EnumPipelineAssociableTypeFieldUpdateOperationsInput, {
|
||||
nullable: true,
|
||||
})
|
||||
associableType?: EnumPipelineAssociableTypeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
associableId?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(
|
||||
() => PipelineUpdateOneRequiredWithoutPipelineAssociationsNestedInput,
|
||||
{ nullable: true },
|
||||
)
|
||||
pipeline?: PipelineUpdateOneRequiredWithoutPipelineAssociationsNestedInput;
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { EnumPipelineAssociableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-associable-type-field-update-operations.input';
|
||||
import { PipelineStageUpdateOneRequiredWithoutPipelineAssociationsNestedInput } from '../pipeline-stage/pipeline-stage-update-one-required-without-pipeline-associations-nested.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationUpdateWithoutPipelineInput {
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => EnumPipelineAssociableTypeFieldUpdateOperationsInput, {
|
||||
nullable: true,
|
||||
})
|
||||
associableType?: EnumPipelineAssociableTypeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
associableId?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(
|
||||
() => PipelineStageUpdateOneRequiredWithoutPipelineAssociationsNestedInput,
|
||||
{ nullable: true },
|
||||
)
|
||||
pipelineStage?: PipelineStageUpdateOneRequiredWithoutPipelineAssociationsNestedInput;
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { EnumPipelineAssociableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-associable-type-field-update-operations.input';
|
||||
import { PipelineUpdateOneRequiredWithoutPipelineAssociationsNestedInput } from '../pipeline/pipeline-update-one-required-without-pipeline-associations-nested.input';
|
||||
import { PipelineStageUpdateOneRequiredWithoutPipelineAssociationsNestedInput } from '../pipeline-stage/pipeline-stage-update-one-required-without-pipeline-associations-nested.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationUpdateInput {
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => EnumPipelineAssociableTypeFieldUpdateOperationsInput, {
|
||||
nullable: true,
|
||||
})
|
||||
associableType?: EnumPipelineAssociableTypeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
associableId?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(
|
||||
() => PipelineUpdateOneRequiredWithoutPipelineAssociationsNestedInput,
|
||||
{ nullable: true },
|
||||
)
|
||||
pipeline?: PipelineUpdateOneRequiredWithoutPipelineAssociationsNestedInput;
|
||||
|
||||
@Field(
|
||||
() => PipelineStageUpdateOneRequiredWithoutPipelineAssociationsNestedInput,
|
||||
{ nullable: true },
|
||||
)
|
||||
pipelineStage?: PipelineStageUpdateOneRequiredWithoutPipelineAssociationsNestedInput;
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PipelineAssociationUpdateWithoutPipelineStageInput } from './pipeline-association-update-without-pipeline-stage.input';
|
||||
import { PipelineAssociationCreateWithoutPipelineStageInput } from './pipeline-association-create-without-pipeline-stage.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationUpsertWithWhereUniqueWithoutPipelineStageInput {
|
||||
@Field(() => PipelineAssociationWhereUniqueInput, { nullable: false })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
where!: PipelineAssociationWhereUniqueInput;
|
||||
|
||||
@Field(() => PipelineAssociationUpdateWithoutPipelineStageInput, {
|
||||
nullable: false,
|
||||
})
|
||||
@Type(() => PipelineAssociationUpdateWithoutPipelineStageInput)
|
||||
update!: PipelineAssociationUpdateWithoutPipelineStageInput;
|
||||
|
||||
@Field(() => PipelineAssociationCreateWithoutPipelineStageInput, {
|
||||
nullable: false,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateWithoutPipelineStageInput)
|
||||
create!: PipelineAssociationCreateWithoutPipelineStageInput;
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PipelineAssociationUpdateWithoutPipelineInput } from './pipeline-association-update-without-pipeline.input';
|
||||
import { PipelineAssociationCreateWithoutPipelineInput } from './pipeline-association-create-without-pipeline.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationUpsertWithWhereUniqueWithoutPipelineInput {
|
||||
@Field(() => PipelineAssociationWhereUniqueInput, { nullable: false })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
where!: PipelineAssociationWhereUniqueInput;
|
||||
|
||||
@Field(() => PipelineAssociationUpdateWithoutPipelineInput, {
|
||||
nullable: false,
|
||||
})
|
||||
@Type(() => PipelineAssociationUpdateWithoutPipelineInput)
|
||||
update!: PipelineAssociationUpdateWithoutPipelineInput;
|
||||
|
||||
@Field(() => PipelineAssociationCreateWithoutPipelineInput, {
|
||||
nullable: false,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateWithoutPipelineInput)
|
||||
create!: PipelineAssociationCreateWithoutPipelineInput;
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationWhereUniqueInput {
|
||||
@Field(() => String, { nullable: true })
|
||||
id?: string;
|
||||
}
|
@ -0,0 +1,50 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFilter } from '../prisma/string-filter.input';
|
||||
import { DateTimeFilter } from '../prisma/date-time-filter.input';
|
||||
import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input';
|
||||
import { EnumPipelineAssociableTypeFilter } from '../prisma/enum-pipeline-associable-type-filter.input';
|
||||
import { PipelineRelationFilter } from '../pipeline/pipeline-relation-filter.input';
|
||||
import { PipelineStageRelationFilter } from '../pipeline-stage/pipeline-stage-relation-filter.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationWhereInput {
|
||||
@Field(() => [PipelineAssociationWhereInput], { nullable: true })
|
||||
AND?: Array<PipelineAssociationWhereInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationWhereInput], { nullable: true })
|
||||
OR?: Array<PipelineAssociationWhereInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationWhereInput], { nullable: true })
|
||||
NOT?: Array<PipelineAssociationWhereInput>;
|
||||
|
||||
@Field(() => StringFilter, { nullable: true })
|
||||
id?: StringFilter;
|
||||
|
||||
@Field(() => DateTimeFilter, { nullable: true })
|
||||
createdAt?: DateTimeFilter;
|
||||
|
||||
@Field(() => DateTimeFilter, { nullable: true })
|
||||
updatedAt?: DateTimeFilter;
|
||||
|
||||
@Field(() => DateTimeNullableFilter, { nullable: true })
|
||||
deletedAt?: DateTimeNullableFilter;
|
||||
|
||||
@Field(() => StringFilter, { nullable: true })
|
||||
pipelineId?: StringFilter;
|
||||
|
||||
@Field(() => StringFilter, { nullable: true })
|
||||
pipelineStageId?: StringFilter;
|
||||
|
||||
@Field(() => EnumPipelineAssociableTypeFilter, { nullable: true })
|
||||
associableType?: EnumPipelineAssociableTypeFilter;
|
||||
|
||||
@Field(() => StringFilter, { nullable: true })
|
||||
associableId?: StringFilter;
|
||||
|
||||
@Field(() => PipelineRelationFilter, { nullable: true })
|
||||
pipeline?: PipelineRelationFilter;
|
||||
|
||||
@Field(() => PipelineStageRelationFilter, { nullable: true })
|
||||
pipelineStage?: PipelineStageRelationFilter;
|
||||
}
|
@ -0,0 +1,39 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { ID } from '@nestjs/graphql';
|
||||
import { PipelineAssociableType } from '../pipeline/pipeline-associable-type.enum';
|
||||
import { Pipeline } from '../pipeline/pipeline.model';
|
||||
import { PipelineStage } from '../pipeline-stage/pipeline-stage.model';
|
||||
|
||||
@ObjectType()
|
||||
export class PipelineAssociation {
|
||||
@Field(() => ID, { nullable: false })
|
||||
id!: string;
|
||||
|
||||
@Field(() => Date, { nullable: false })
|
||||
createdAt!: Date;
|
||||
|
||||
@Field(() => Date, { nullable: false })
|
||||
updatedAt!: Date;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
deletedAt!: Date | null;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
pipelineId!: string;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
pipelineStageId!: string;
|
||||
|
||||
@Field(() => PipelineAssociableType, { nullable: false })
|
||||
associableType!: keyof typeof PipelineAssociableType;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
associableId!: string;
|
||||
|
||||
@Field(() => Pipeline, { nullable: false })
|
||||
pipeline?: Pipeline;
|
||||
|
||||
@Field(() => PipelineStage, { nullable: false })
|
||||
pipelineStage?: PipelineStage;
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationUpdateManyMutationInput } from './pipeline-association-update-many-mutation.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PipelineAssociationWhereInput } from './pipeline-association-where.input';
|
||||
|
||||
@ArgsType()
|
||||
export class UpdateManyPipelineAssociationArgs {
|
||||
@Field(() => PipelineAssociationUpdateManyMutationInput, { nullable: false })
|
||||
@Type(() => PipelineAssociationUpdateManyMutationInput)
|
||||
data!: PipelineAssociationUpdateManyMutationInput;
|
||||
|
||||
@Field(() => PipelineAssociationWhereInput, { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereInput)
|
||||
where?: PipelineAssociationWhereInput;
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationUpdateInput } from './pipeline-association-update.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input';
|
||||
|
||||
@ArgsType()
|
||||
export class UpdateOnePipelineAssociationArgs {
|
||||
@Field(() => PipelineAssociationUpdateInput, { nullable: false })
|
||||
@Type(() => PipelineAssociationUpdateInput)
|
||||
data!: PipelineAssociationUpdateInput;
|
||||
|
||||
@Field(() => PipelineAssociationWhereUniqueInput, { nullable: false })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
where!: PipelineAssociationWhereUniqueInput;
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PipelineAssociationCreateInput } from './pipeline-association-create.input';
|
||||
import { PipelineAssociationUpdateInput } from './pipeline-association-update.input';
|
||||
|
||||
@ArgsType()
|
||||
export class UpsertOnePipelineAssociationArgs {
|
||||
@Field(() => PipelineAssociationWhereUniqueInput, { nullable: false })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
where!: PipelineAssociationWhereUniqueInput;
|
||||
|
||||
@Field(() => PipelineAssociationCreateInput, { nullable: false })
|
||||
@Type(() => PipelineAssociationCreateInput)
|
||||
create!: PipelineAssociationCreateInput;
|
||||
|
||||
@Field(() => PipelineAssociationUpdateInput, { nullable: false })
|
||||
@Type(() => PipelineAssociationUpdateInput)
|
||||
update!: PipelineAssociationUpdateInput;
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { PipelineStageCountAggregate } from './pipeline-stage-count-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(() => PipelineStageMinAggregate, { nullable: true })
|
||||
_min?: PipelineStageMinAggregate;
|
||||
|
||||
@Field(() => PipelineStageMaxAggregate, { nullable: true })
|
||||
_max?: PipelineStageMaxAggregate;
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PipelineStageCreateManyInput } from './pipeline-stage-create-many.input';
|
||||
import { Type } from 'class-transformer';
|
||||
|
||||
@ArgsType()
|
||||
export class CreateManyPipelineStageArgs {
|
||||
@Field(() => [PipelineStageCreateManyInput], { nullable: false })
|
||||
@Type(() => PipelineStageCreateManyInput)
|
||||
data!: Array<PipelineStageCreateManyInput>;
|
||||
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
skipDuplicates?: boolean;
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PipelineStageCreateInput } from './pipeline-stage-create.input';
|
||||
import { Type } from 'class-transformer';
|
||||
|
||||
@ArgsType()
|
||||
export class CreateOnePipelineStageArgs {
|
||||
@Field(() => PipelineStageCreateInput, { nullable: false })
|
||||
@Type(() => PipelineStageCreateInput)
|
||||
data!: PipelineStageCreateInput;
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
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;
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
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;
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
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<PipelineStageOrderByWithRelationInput>;
|
||||
|
||||
@Field(() => PipelineStageWhereUniqueInput, { nullable: true })
|
||||
cursor?: PipelineStageWhereUniqueInput;
|
||||
|
||||
@Field(() => Int, { nullable: true })
|
||||
take?: number;
|
||||
|
||||
@Field(() => Int, { nullable: true })
|
||||
skip?: number;
|
||||
|
||||
@Field(() => [PipelineStageScalarFieldEnum], { nullable: true })
|
||||
distinct?: Array<keyof typeof PipelineStageScalarFieldEnum>;
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user