Update company card (#512)
* Add card rows * WIP - add amount * Refactor board state to separate pipeline progress data and company data * Add migration and generated code * Pass pipeline progress properties to the comapny card * WIP-editable * Enable amount edition * Nits * Remove useless import * Fix empty board bug * Use cell for editable values on company card * Add fields * Enable edition for closeDate * Add dummy edits for recurring and probability * Nits * remove useless fields * Nits * Fix user provider * Add generated code * Fix nits, reorder migrations, fix login * Fix tests * Fix lint
This commit is contained in:
@ -1,6 +1,8 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { PipelineProgressCountAggregate } from './pipeline-progress-count-aggregate.output';
|
||||
import { PipelineProgressAvgAggregate } from './pipeline-progress-avg-aggregate.output';
|
||||
import { PipelineProgressSumAggregate } from './pipeline-progress-sum-aggregate.output';
|
||||
import { PipelineProgressMinAggregate } from './pipeline-progress-min-aggregate.output';
|
||||
import { PipelineProgressMaxAggregate } from './pipeline-progress-max-aggregate.output';
|
||||
|
||||
@ -10,6 +12,12 @@ export class AggregatePipelineProgress {
|
||||
@Field(() => PipelineProgressCountAggregate, {nullable:true})
|
||||
_count?: PipelineProgressCountAggregate;
|
||||
|
||||
@Field(() => PipelineProgressAvgAggregate, {nullable:true})
|
||||
_avg?: PipelineProgressAvgAggregate;
|
||||
|
||||
@Field(() => PipelineProgressSumAggregate, {nullable:true})
|
||||
_sum?: PipelineProgressSumAggregate;
|
||||
|
||||
@Field(() => PipelineProgressMinAggregate, {nullable:true})
|
||||
_min?: PipelineProgressMinAggregate;
|
||||
|
||||
|
||||
@ -0,0 +1,9 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PipelineProgressAvgAggregateInput {
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
amount?: true;
|
||||
}
|
||||
@ -0,0 +1,10 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { Float } from '@nestjs/graphql';
|
||||
|
||||
@ObjectType()
|
||||
export class PipelineProgressAvgAggregate {
|
||||
|
||||
@Field(() => Float, {nullable:true})
|
||||
amount?: number;
|
||||
}
|
||||
@ -0,0 +1,10 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { SortOrder } from '../prisma/sort-order.enum';
|
||||
|
||||
@InputType()
|
||||
export class PipelineProgressAvgOrderByAggregateInput {
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
amount?: keyof typeof SortOrder;
|
||||
}
|
||||
@ -8,6 +8,12 @@ export class PipelineProgressCountAggregateInput {
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
id?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
amount?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
closeDate?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
pipelineId?: true;
|
||||
|
||||
|
||||
@ -9,6 +9,12 @@ export class PipelineProgressCountAggregate {
|
||||
@Field(() => Int, {nullable:false})
|
||||
id!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
amount!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
closeDate!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
pipelineId!: number;
|
||||
|
||||
|
||||
@ -9,6 +9,12 @@ export class PipelineProgressCountOrderByAggregateInput {
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
id?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
amount?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
closeDate?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
pipelineId?: keyof typeof SortOrder;
|
||||
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@ -12,6 +13,12 @@ export class PipelineProgressCreateManyPipelineStageInput {
|
||||
@Validator.IsOptional()
|
||||
id?: string;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
amount?: number;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
closeDate?: Date | string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
pipelineId!: string;
|
||||
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@ -12,6 +13,12 @@ export class PipelineProgressCreateManyPipelineInput {
|
||||
@Validator.IsOptional()
|
||||
id?: string;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
amount?: number;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
closeDate?: Date | string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
pipelineStageId!: string;
|
||||
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@ -12,6 +13,12 @@ export class PipelineProgressCreateManyWorkspaceInput {
|
||||
@Validator.IsOptional()
|
||||
id?: string;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
amount?: number;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
closeDate?: Date | string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
pipelineId!: string;
|
||||
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@ -12,6 +13,12 @@ export class PipelineProgressCreateManyInput {
|
||||
@Validator.IsOptional()
|
||||
id?: string;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
amount?: number;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
closeDate?: Date | string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
pipelineId!: string;
|
||||
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { PipelineCreateNestedOneWithoutPipelineProgressesInput } from '../pipeline/pipeline-create-nested-one-without-pipeline-progresses.input';
|
||||
@ -14,6 +15,12 @@ export class PipelineProgressCreateWithoutPipelineStageInput {
|
||||
@Validator.IsOptional()
|
||||
id?: string;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
amount?: number;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
closeDate?: Date | string;
|
||||
|
||||
@Field(() => PipelineProgressableType, {nullable:false})
|
||||
progressableType!: keyof typeof PipelineProgressableType;
|
||||
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { PipelineStageCreateNestedOneWithoutPipelineProgressesInput } from '../pipeline-stage/pipeline-stage-create-nested-one-without-pipeline-progresses.input';
|
||||
@ -14,6 +15,12 @@ export class PipelineProgressCreateWithoutPipelineInput {
|
||||
@Validator.IsOptional()
|
||||
id?: string;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
amount?: number;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
closeDate?: Date | string;
|
||||
|
||||
@Field(() => PipelineProgressableType, {nullable:false})
|
||||
progressableType!: keyof typeof PipelineProgressableType;
|
||||
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { PipelineCreateNestedOneWithoutPipelineProgressesInput } from '../pipeline/pipeline-create-nested-one-without-pipeline-progresses.input';
|
||||
@ -14,6 +15,12 @@ export class PipelineProgressCreateWithoutWorkspaceInput {
|
||||
@Validator.IsOptional()
|
||||
id?: string;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
amount?: number;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
closeDate?: Date | string;
|
||||
|
||||
@Field(() => PipelineProgressableType, {nullable:false})
|
||||
progressableType!: keyof typeof PipelineProgressableType;
|
||||
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { PipelineCreateNestedOneWithoutPipelineProgressesInput } from '../pipeline/pipeline-create-nested-one-without-pipeline-progresses.input';
|
||||
@ -15,6 +16,12 @@ export class PipelineProgressCreateInput {
|
||||
@Validator.IsOptional()
|
||||
id?: string;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
amount?: number;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
closeDate?: Date | string;
|
||||
|
||||
@Field(() => PipelineProgressableType, {nullable:false})
|
||||
progressableType!: keyof typeof PipelineProgressableType;
|
||||
|
||||
|
||||
@ -7,6 +7,8 @@ import { PipelineProgressScalarFieldEnum } from './pipeline-progress-scalar-fiel
|
||||
import { PipelineProgressScalarWhereWithAggregatesInput } from './pipeline-progress-scalar-where-with-aggregates.input';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { PipelineProgressCountAggregateInput } from './pipeline-progress-count-aggregate.input';
|
||||
import { PipelineProgressAvgAggregateInput } from './pipeline-progress-avg-aggregate.input';
|
||||
import { PipelineProgressSumAggregateInput } from './pipeline-progress-sum-aggregate.input';
|
||||
import { PipelineProgressMinAggregateInput } from './pipeline-progress-min-aggregate.input';
|
||||
import { PipelineProgressMaxAggregateInput } from './pipeline-progress-max-aggregate.input';
|
||||
|
||||
@ -35,6 +37,12 @@ export class PipelineProgressGroupByArgs {
|
||||
@Field(() => PipelineProgressCountAggregateInput, {nullable:true})
|
||||
_count?: PipelineProgressCountAggregateInput;
|
||||
|
||||
@Field(() => PipelineProgressAvgAggregateInput, {nullable:true})
|
||||
_avg?: PipelineProgressAvgAggregateInput;
|
||||
|
||||
@Field(() => PipelineProgressSumAggregateInput, {nullable:true})
|
||||
_sum?: PipelineProgressSumAggregateInput;
|
||||
|
||||
@Field(() => PipelineProgressMinAggregateInput, {nullable:true})
|
||||
_min?: PipelineProgressMinAggregateInput;
|
||||
|
||||
|
||||
@ -1,9 +1,12 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { PipelineProgressCountAggregate } from './pipeline-progress-count-aggregate.output';
|
||||
import { PipelineProgressAvgAggregate } from './pipeline-progress-avg-aggregate.output';
|
||||
import { PipelineProgressSumAggregate } from './pipeline-progress-sum-aggregate.output';
|
||||
import { PipelineProgressMinAggregate } from './pipeline-progress-min-aggregate.output';
|
||||
import { PipelineProgressMaxAggregate } from './pipeline-progress-max-aggregate.output';
|
||||
|
||||
@ -15,6 +18,12 @@ export class PipelineProgressGroupBy {
|
||||
@Validator.IsOptional()
|
||||
id!: string;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
amount?: number;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
closeDate?: Date | string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
pipelineId!: string;
|
||||
|
||||
@ -42,6 +51,12 @@ export class PipelineProgressGroupBy {
|
||||
@Field(() => PipelineProgressCountAggregate, {nullable:true})
|
||||
_count?: PipelineProgressCountAggregate;
|
||||
|
||||
@Field(() => PipelineProgressAvgAggregate, {nullable:true})
|
||||
_avg?: PipelineProgressAvgAggregate;
|
||||
|
||||
@Field(() => PipelineProgressSumAggregate, {nullable:true})
|
||||
_sum?: PipelineProgressSumAggregate;
|
||||
|
||||
@Field(() => PipelineProgressMinAggregate, {nullable:true})
|
||||
_min?: PipelineProgressMinAggregate;
|
||||
|
||||
|
||||
@ -8,6 +8,12 @@ export class PipelineProgressMaxAggregateInput {
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
id?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
amount?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
closeDate?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
pipelineId?: true;
|
||||
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@ -12,6 +13,12 @@ export class PipelineProgressMaxAggregate {
|
||||
@Validator.IsOptional()
|
||||
id?: string;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
amount?: number;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
closeDate?: Date | string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
pipelineId?: string;
|
||||
|
||||
|
||||
@ -9,6 +9,12 @@ export class PipelineProgressMaxOrderByAggregateInput {
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
id?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
amount?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
closeDate?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
pipelineId?: keyof typeof SortOrder;
|
||||
|
||||
|
||||
@ -8,6 +8,12 @@ export class PipelineProgressMinAggregateInput {
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
id?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
amount?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
closeDate?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
pipelineId?: true;
|
||||
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@ -12,6 +13,12 @@ export class PipelineProgressMinAggregate {
|
||||
@Validator.IsOptional()
|
||||
id?: string;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
amount?: number;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
closeDate?: Date | string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
pipelineId?: string;
|
||||
|
||||
|
||||
@ -9,6 +9,12 @@ export class PipelineProgressMinOrderByAggregateInput {
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
id?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
amount?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
closeDate?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
pipelineId?: keyof typeof SortOrder;
|
||||
|
||||
|
||||
@ -3,8 +3,10 @@ import { InputType } from '@nestjs/graphql';
|
||||
import { SortOrder } from '../prisma/sort-order.enum';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { PipelineProgressCountOrderByAggregateInput } from './pipeline-progress-count-order-by-aggregate.input';
|
||||
import { PipelineProgressAvgOrderByAggregateInput } from './pipeline-progress-avg-order-by-aggregate.input';
|
||||
import { PipelineProgressMaxOrderByAggregateInput } from './pipeline-progress-max-order-by-aggregate.input';
|
||||
import { PipelineProgressMinOrderByAggregateInput } from './pipeline-progress-min-order-by-aggregate.input';
|
||||
import { PipelineProgressSumOrderByAggregateInput } from './pipeline-progress-sum-order-by-aggregate.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineProgressOrderByWithAggregationInput {
|
||||
@ -12,6 +14,12 @@ export class PipelineProgressOrderByWithAggregationInput {
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
id?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
amount?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
closeDate?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
pipelineId?: keyof typeof SortOrder;
|
||||
|
||||
@ -39,9 +47,15 @@ export class PipelineProgressOrderByWithAggregationInput {
|
||||
@Field(() => PipelineProgressCountOrderByAggregateInput, {nullable:true})
|
||||
_count?: PipelineProgressCountOrderByAggregateInput;
|
||||
|
||||
@Field(() => PipelineProgressAvgOrderByAggregateInput, {nullable:true})
|
||||
_avg?: PipelineProgressAvgOrderByAggregateInput;
|
||||
|
||||
@Field(() => PipelineProgressMaxOrderByAggregateInput, {nullable:true})
|
||||
_max?: PipelineProgressMaxOrderByAggregateInput;
|
||||
|
||||
@Field(() => PipelineProgressMinOrderByAggregateInput, {nullable:true})
|
||||
_min?: PipelineProgressMinOrderByAggregateInput;
|
||||
|
||||
@Field(() => PipelineProgressSumOrderByAggregateInput, {nullable:true})
|
||||
_sum?: PipelineProgressSumOrderByAggregateInput;
|
||||
}
|
||||
|
||||
@ -12,6 +12,12 @@ export class PipelineProgressOrderByWithRelationInput {
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
id?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
amount?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
closeDate?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
pipelineId?: keyof typeof SortOrder;
|
||||
|
||||
|
||||
@ -2,6 +2,8 @@ import { registerEnumType } from '@nestjs/graphql';
|
||||
|
||||
export enum PipelineProgressScalarFieldEnum {
|
||||
id = "id",
|
||||
amount = "amount",
|
||||
closeDate = "closeDate",
|
||||
pipelineId = "pipelineId",
|
||||
pipelineStageId = "pipelineStageId",
|
||||
progressableType = "progressableType",
|
||||
|
||||
@ -1,9 +1,10 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringWithAggregatesFilter } from '../prisma/string-with-aggregates-filter.input';
|
||||
import { IntNullableWithAggregatesFilter } from '../prisma/int-nullable-with-aggregates-filter.input';
|
||||
import { DateTimeNullableWithAggregatesFilter } from '../prisma/date-time-nullable-with-aggregates-filter.input';
|
||||
import { EnumPipelineProgressableTypeWithAggregatesFilter } from '../prisma/enum-pipeline-progressable-type-with-aggregates-filter.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { DateTimeNullableWithAggregatesFilter } from '../prisma/date-time-nullable-with-aggregates-filter.input';
|
||||
import { DateTimeWithAggregatesFilter } from '../prisma/date-time-with-aggregates-filter.input';
|
||||
|
||||
@InputType()
|
||||
@ -21,6 +22,12 @@ export class PipelineProgressScalarWhereWithAggregatesInput {
|
||||
@Field(() => StringWithAggregatesFilter, {nullable:true})
|
||||
id?: StringWithAggregatesFilter;
|
||||
|
||||
@Field(() => IntNullableWithAggregatesFilter, {nullable:true})
|
||||
amount?: IntNullableWithAggregatesFilter;
|
||||
|
||||
@Field(() => DateTimeNullableWithAggregatesFilter, {nullable:true})
|
||||
closeDate?: DateTimeNullableWithAggregatesFilter;
|
||||
|
||||
@Field(() => StringWithAggregatesFilter, {nullable:true})
|
||||
pipelineId?: StringWithAggregatesFilter;
|
||||
|
||||
|
||||
@ -1,9 +1,10 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFilter } from '../prisma/string-filter.input';
|
||||
import { IntNullableFilter } from '../prisma/int-nullable-filter.input';
|
||||
import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input';
|
||||
import { EnumPipelineProgressableTypeFilter } from '../prisma/enum-pipeline-progressable-type-filter.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input';
|
||||
import { DateTimeFilter } from '../prisma/date-time-filter.input';
|
||||
|
||||
@InputType()
|
||||
@ -21,6 +22,12 @@ export class PipelineProgressScalarWhereInput {
|
||||
@Field(() => StringFilter, {nullable:true})
|
||||
id?: StringFilter;
|
||||
|
||||
@Field(() => IntNullableFilter, {nullable:true})
|
||||
amount?: IntNullableFilter;
|
||||
|
||||
@Field(() => DateTimeNullableFilter, {nullable:true})
|
||||
closeDate?: DateTimeNullableFilter;
|
||||
|
||||
@Field(() => StringFilter, {nullable:true})
|
||||
pipelineId?: StringFilter;
|
||||
|
||||
|
||||
@ -0,0 +1,9 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PipelineProgressSumAggregateInput {
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
amount?: true;
|
||||
}
|
||||
@ -0,0 +1,10 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
|
||||
@ObjectType()
|
||||
export class PipelineProgressSumAggregate {
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
amount?: number;
|
||||
}
|
||||
@ -0,0 +1,10 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { SortOrder } from '../prisma/sort-order.enum';
|
||||
|
||||
@InputType()
|
||||
export class PipelineProgressSumOrderByAggregateInput {
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
amount?: keyof typeof SortOrder;
|
||||
}
|
||||
@ -1,6 +1,7 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@ -12,6 +13,12 @@ export class PipelineProgressUncheckedCreateWithoutPipelineStageInput {
|
||||
@Validator.IsOptional()
|
||||
id?: string;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
amount?: number;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
closeDate?: Date | string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
pipelineId!: string;
|
||||
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@ -12,6 +13,12 @@ export class PipelineProgressUncheckedCreateWithoutPipelineInput {
|
||||
@Validator.IsOptional()
|
||||
id?: string;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
amount?: number;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
closeDate?: Date | string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
pipelineStageId!: string;
|
||||
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@ -12,6 +13,12 @@ export class PipelineProgressUncheckedCreateWithoutWorkspaceInput {
|
||||
@Validator.IsOptional()
|
||||
id?: string;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
amount?: number;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
closeDate?: Date | string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
pipelineId!: string;
|
||||
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@ -12,6 +13,12 @@ export class PipelineProgressUncheckedCreateInput {
|
||||
@Validator.IsOptional()
|
||||
id?: string;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
amount?: number;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
closeDate?: Date | string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
pipelineId!: string;
|
||||
|
||||
|
||||
@ -1,8 +1,9 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input';
|
||||
import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
|
||||
@ -12,6 +13,12 @@ export class PipelineProgressUncheckedUpdateManyWithoutPipelineProgressesInput {
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true})
|
||||
amount?: NullableIntFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
closeDate?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
pipelineId?: StringFieldUpdateOperationsInput;
|
||||
|
||||
|
||||
@ -1,9 +1,10 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
|
||||
@InputType()
|
||||
@ -12,6 +13,12 @@ export class PipelineProgressUncheckedUpdateManyInput {
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true})
|
||||
amount?: NullableIntFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
closeDate?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
pipelineId?: StringFieldUpdateOperationsInput;
|
||||
|
||||
|
||||
@ -1,9 +1,10 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
|
||||
@InputType()
|
||||
@ -12,6 +13,12 @@ export class PipelineProgressUncheckedUpdateWithoutPipelineStageInput {
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true})
|
||||
amount?: NullableIntFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
closeDate?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
pipelineId?: StringFieldUpdateOperationsInput;
|
||||
|
||||
|
||||
@ -1,9 +1,10 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
|
||||
@InputType()
|
||||
@ -12,6 +13,12 @@ export class PipelineProgressUncheckedUpdateWithoutPipelineInput {
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true})
|
||||
amount?: NullableIntFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
closeDate?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
pipelineStageId?: StringFieldUpdateOperationsInput;
|
||||
|
||||
|
||||
@ -1,8 +1,9 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input';
|
||||
import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
|
||||
@ -12,6 +13,12 @@ export class PipelineProgressUncheckedUpdateWithoutWorkspaceInput {
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true})
|
||||
amount?: NullableIntFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
closeDate?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
pipelineId?: StringFieldUpdateOperationsInput;
|
||||
|
||||
|
||||
@ -1,9 +1,10 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
|
||||
@InputType()
|
||||
@ -12,6 +13,12 @@ export class PipelineProgressUncheckedUpdateInput {
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true})
|
||||
amount?: NullableIntFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
closeDate?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
pipelineId?: StringFieldUpdateOperationsInput;
|
||||
|
||||
|
||||
@ -1,8 +1,9 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input';
|
||||
import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
|
||||
@ -12,6 +13,12 @@ export class PipelineProgressUpdateManyMutationInput {
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true})
|
||||
amount?: NullableIntFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
closeDate?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, {nullable:true})
|
||||
progressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput;
|
||||
|
||||
|
||||
@ -1,8 +1,9 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input';
|
||||
import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { PipelineUpdateOneRequiredWithoutPipelineProgressesNestedInput } from '../pipeline/pipeline-update-one-required-without-pipeline-progresses-nested.input';
|
||||
@ -14,6 +15,12 @@ export class PipelineProgressUpdateWithoutPipelineStageInput {
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true})
|
||||
amount?: NullableIntFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
closeDate?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, {nullable:true})
|
||||
progressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput;
|
||||
|
||||
|
||||
@ -1,8 +1,9 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input';
|
||||
import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { PipelineStageUpdateOneRequiredWithoutPipelineProgressesNestedInput } from '../pipeline-stage/pipeline-stage-update-one-required-without-pipeline-progresses-nested.input';
|
||||
@ -14,6 +15,12 @@ export class PipelineProgressUpdateWithoutPipelineInput {
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true})
|
||||
amount?: NullableIntFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
closeDate?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, {nullable:true})
|
||||
progressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput;
|
||||
|
||||
|
||||
@ -1,8 +1,9 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input';
|
||||
import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { PipelineUpdateOneRequiredWithoutPipelineProgressesNestedInput } from '../pipeline/pipeline-update-one-required-without-pipeline-progresses-nested.input';
|
||||
@ -14,6 +15,12 @@ export class PipelineProgressUpdateWithoutWorkspaceInput {
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true})
|
||||
amount?: NullableIntFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
closeDate?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, {nullable:true})
|
||||
progressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput;
|
||||
|
||||
|
||||
@ -1,8 +1,9 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input';
|
||||
import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { PipelineUpdateOneRequiredWithoutPipelineProgressesNestedInput } from '../pipeline/pipeline-update-one-required-without-pipeline-progresses-nested.input';
|
||||
@ -15,6 +16,12 @@ export class PipelineProgressUpdateInput {
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true})
|
||||
amount?: NullableIntFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
closeDate?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, {nullable:true})
|
||||
progressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput;
|
||||
|
||||
|
||||
@ -1,9 +1,10 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFilter } from '../prisma/string-filter.input';
|
||||
import { IntNullableFilter } from '../prisma/int-nullable-filter.input';
|
||||
import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input';
|
||||
import { EnumPipelineProgressableTypeFilter } from '../prisma/enum-pipeline-progressable-type-filter.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input';
|
||||
import { DateTimeFilter } from '../prisma/date-time-filter.input';
|
||||
import { PipelineRelationFilter } from '../pipeline/pipeline-relation-filter.input';
|
||||
import { PipelineStageRelationFilter } from '../pipeline-stage/pipeline-stage-relation-filter.input';
|
||||
@ -24,6 +25,12 @@ export class PipelineProgressWhereInput {
|
||||
@Field(() => StringFilter, {nullable:true})
|
||||
id?: StringFilter;
|
||||
|
||||
@Field(() => IntNullableFilter, {nullable:true})
|
||||
amount?: IntNullableFilter;
|
||||
|
||||
@Field(() => DateTimeNullableFilter, {nullable:true})
|
||||
closeDate?: DateTimeNullableFilter;
|
||||
|
||||
@Field(() => StringFilter, {nullable:true})
|
||||
pipelineId?: StringFilter;
|
||||
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { ID } from '@nestjs/graphql';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { Pipeline } from '../pipeline/pipeline.model';
|
||||
@ -13,6 +14,12 @@ export class PipelineProgress {
|
||||
@Field(() => ID, {nullable:false})
|
||||
id!: string;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
amount!: number | null;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
closeDate!: Date | null;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
pipelineId!: string;
|
||||
|
||||
|
||||
@ -6,6 +6,8 @@ import { PipelineProgressOrderByWithRelationInput } from '../pipeline-progress/p
|
||||
import { PipelineProgressWhereUniqueInput } from '../pipeline-progress/pipeline-progress-where-unique.input';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { PipelineProgressCountAggregateInput } from '../pipeline-progress/pipeline-progress-count-aggregate.input';
|
||||
import { PipelineProgressAvgAggregateInput } from '../pipeline-progress/pipeline-progress-avg-aggregate.input';
|
||||
import { PipelineProgressSumAggregateInput } from '../pipeline-progress/pipeline-progress-sum-aggregate.input';
|
||||
import { PipelineProgressMinAggregateInput } from '../pipeline-progress/pipeline-progress-min-aggregate.input';
|
||||
import { PipelineProgressMaxAggregateInput } from '../pipeline-progress/pipeline-progress-max-aggregate.input';
|
||||
|
||||
@ -31,6 +33,12 @@ export class PipelineProgressAggregateArgs {
|
||||
@Field(() => PipelineProgressCountAggregateInput, {nullable:true})
|
||||
_count?: PipelineProgressCountAggregateInput;
|
||||
|
||||
@Field(() => PipelineProgressAvgAggregateInput, {nullable:true})
|
||||
_avg?: PipelineProgressAvgAggregateInput;
|
||||
|
||||
@Field(() => PipelineProgressSumAggregateInput, {nullable:true})
|
||||
_sum?: PipelineProgressSumAggregateInput;
|
||||
|
||||
@Field(() => PipelineProgressMinAggregateInput, {nullable:true})
|
||||
_min?: PipelineProgressMinAggregateInput;
|
||||
|
||||
|
||||
9
server/src/core/@generated/prisma/nulls-order.enum.ts
Normal file
9
server/src/core/@generated/prisma/nulls-order.enum.ts
Normal file
@ -0,0 +1,9 @@
|
||||
import { registerEnumType } from '@nestjs/graphql';
|
||||
|
||||
export enum NullsOrder {
|
||||
first = "first",
|
||||
last = "last"
|
||||
}
|
||||
|
||||
|
||||
registerEnumType(NullsOrder, { name: 'NullsOrder', description: undefined })
|
||||
14
server/src/core/@generated/prisma/sort-order.input.ts
Normal file
14
server/src/core/@generated/prisma/sort-order.input.ts
Normal file
@ -0,0 +1,14 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { SortOrder } from './sort-order.enum';
|
||||
import { NullsOrder } from './nulls-order.enum';
|
||||
|
||||
@InputType()
|
||||
export class SortOrderInput {
|
||||
|
||||
@Field(() => SortOrder, {nullable:false})
|
||||
sort!: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => NullsOrder, {nullable:true})
|
||||
nulls?: keyof typeof NullsOrder;
|
||||
}
|
||||
Reference in New Issue
Block a user