Enable pipeline stage ordering (#577)
* Enable pipeline stage ordering * Removing migration * Remove Save button
This commit is contained in:
@ -2085,6 +2085,7 @@ export type PipelineStage = {
|
|||||||
color: Scalars['String'];
|
color: Scalars['String'];
|
||||||
createdAt: Scalars['DateTime'];
|
createdAt: Scalars['DateTime'];
|
||||||
id: Scalars['ID'];
|
id: Scalars['ID'];
|
||||||
|
index?: Maybe<Scalars['Int']>;
|
||||||
name: Scalars['String'];
|
name: Scalars['String'];
|
||||||
pipeline: Pipeline;
|
pipeline: Pipeline;
|
||||||
pipelineId: Scalars['String'];
|
pipelineId: Scalars['String'];
|
||||||
@ -2097,6 +2098,7 @@ export type PipelineStageCreateManyPipelineInput = {
|
|||||||
color: Scalars['String'];
|
color: Scalars['String'];
|
||||||
createdAt?: InputMaybe<Scalars['DateTime']>;
|
createdAt?: InputMaybe<Scalars['DateTime']>;
|
||||||
id?: InputMaybe<Scalars['String']>;
|
id?: InputMaybe<Scalars['String']>;
|
||||||
|
index?: InputMaybe<Scalars['Int']>;
|
||||||
name: Scalars['String'];
|
name: Scalars['String'];
|
||||||
type: Scalars['String'];
|
type: Scalars['String'];
|
||||||
updatedAt?: InputMaybe<Scalars['DateTime']>;
|
updatedAt?: InputMaybe<Scalars['DateTime']>;
|
||||||
@ -2111,6 +2113,7 @@ export type PipelineStageCreateManyWorkspaceInput = {
|
|||||||
color: Scalars['String'];
|
color: Scalars['String'];
|
||||||
createdAt?: InputMaybe<Scalars['DateTime']>;
|
createdAt?: InputMaybe<Scalars['DateTime']>;
|
||||||
id?: InputMaybe<Scalars['String']>;
|
id?: InputMaybe<Scalars['String']>;
|
||||||
|
index?: InputMaybe<Scalars['Int']>;
|
||||||
name: Scalars['String'];
|
name: Scalars['String'];
|
||||||
pipelineId: Scalars['String'];
|
pipelineId: Scalars['String'];
|
||||||
type: Scalars['String'];
|
type: Scalars['String'];
|
||||||
@ -2147,6 +2150,7 @@ export type PipelineStageCreateWithoutPipelineInput = {
|
|||||||
color: Scalars['String'];
|
color: Scalars['String'];
|
||||||
createdAt?: InputMaybe<Scalars['DateTime']>;
|
createdAt?: InputMaybe<Scalars['DateTime']>;
|
||||||
id?: InputMaybe<Scalars['String']>;
|
id?: InputMaybe<Scalars['String']>;
|
||||||
|
index?: InputMaybe<Scalars['Int']>;
|
||||||
name: Scalars['String'];
|
name: Scalars['String'];
|
||||||
pipelineProgresses?: InputMaybe<PipelineProgressCreateNestedManyWithoutPipelineStageInput>;
|
pipelineProgresses?: InputMaybe<PipelineProgressCreateNestedManyWithoutPipelineStageInput>;
|
||||||
type: Scalars['String'];
|
type: Scalars['String'];
|
||||||
@ -2157,6 +2161,7 @@ export type PipelineStageCreateWithoutWorkspaceInput = {
|
|||||||
color: Scalars['String'];
|
color: Scalars['String'];
|
||||||
createdAt?: InputMaybe<Scalars['DateTime']>;
|
createdAt?: InputMaybe<Scalars['DateTime']>;
|
||||||
id?: InputMaybe<Scalars['String']>;
|
id?: InputMaybe<Scalars['String']>;
|
||||||
|
index?: InputMaybe<Scalars['Int']>;
|
||||||
name: Scalars['String'];
|
name: Scalars['String'];
|
||||||
pipeline: PipelineCreateNestedOneWithoutPipelineStagesInput;
|
pipeline: PipelineCreateNestedOneWithoutPipelineStagesInput;
|
||||||
pipelineProgresses?: InputMaybe<PipelineProgressCreateNestedManyWithoutPipelineStageInput>;
|
pipelineProgresses?: InputMaybe<PipelineProgressCreateNestedManyWithoutPipelineStageInput>;
|
||||||
@ -2178,6 +2183,7 @@ export type PipelineStageOrderByWithRelationInput = {
|
|||||||
color?: InputMaybe<SortOrder>;
|
color?: InputMaybe<SortOrder>;
|
||||||
createdAt?: InputMaybe<SortOrder>;
|
createdAt?: InputMaybe<SortOrder>;
|
||||||
id?: InputMaybe<SortOrder>;
|
id?: InputMaybe<SortOrder>;
|
||||||
|
index?: InputMaybe<SortOrder>;
|
||||||
name?: InputMaybe<SortOrder>;
|
name?: InputMaybe<SortOrder>;
|
||||||
pipeline?: InputMaybe<PipelineOrderByWithRelationInput>;
|
pipeline?: InputMaybe<PipelineOrderByWithRelationInput>;
|
||||||
pipelineId?: InputMaybe<SortOrder>;
|
pipelineId?: InputMaybe<SortOrder>;
|
||||||
@ -2196,6 +2202,7 @@ export enum PipelineStageScalarFieldEnum {
|
|||||||
CreatedAt = 'createdAt',
|
CreatedAt = 'createdAt',
|
||||||
DeletedAt = 'deletedAt',
|
DeletedAt = 'deletedAt',
|
||||||
Id = 'id',
|
Id = 'id',
|
||||||
|
Index = 'index',
|
||||||
Name = 'name',
|
Name = 'name',
|
||||||
PipelineId = 'pipelineId',
|
PipelineId = 'pipelineId',
|
||||||
Type = 'type',
|
Type = 'type',
|
||||||
@ -2210,6 +2217,7 @@ export type PipelineStageScalarWhereInput = {
|
|||||||
color?: InputMaybe<StringFilter>;
|
color?: InputMaybe<StringFilter>;
|
||||||
createdAt?: InputMaybe<DateTimeFilter>;
|
createdAt?: InputMaybe<DateTimeFilter>;
|
||||||
id?: InputMaybe<StringFilter>;
|
id?: InputMaybe<StringFilter>;
|
||||||
|
index?: InputMaybe<IntNullableFilter>;
|
||||||
name?: InputMaybe<StringFilter>;
|
name?: InputMaybe<StringFilter>;
|
||||||
pipelineId?: InputMaybe<StringFilter>;
|
pipelineId?: InputMaybe<StringFilter>;
|
||||||
type?: InputMaybe<StringFilter>;
|
type?: InputMaybe<StringFilter>;
|
||||||
@ -2220,6 +2228,7 @@ export type PipelineStageUpdateManyMutationInput = {
|
|||||||
color?: InputMaybe<StringFieldUpdateOperationsInput>;
|
color?: InputMaybe<StringFieldUpdateOperationsInput>;
|
||||||
createdAt?: InputMaybe<DateTimeFieldUpdateOperationsInput>;
|
createdAt?: InputMaybe<DateTimeFieldUpdateOperationsInput>;
|
||||||
id?: InputMaybe<StringFieldUpdateOperationsInput>;
|
id?: InputMaybe<StringFieldUpdateOperationsInput>;
|
||||||
|
index?: InputMaybe<NullableIntFieldUpdateOperationsInput>;
|
||||||
name?: InputMaybe<StringFieldUpdateOperationsInput>;
|
name?: InputMaybe<StringFieldUpdateOperationsInput>;
|
||||||
type?: InputMaybe<StringFieldUpdateOperationsInput>;
|
type?: InputMaybe<StringFieldUpdateOperationsInput>;
|
||||||
updatedAt?: InputMaybe<DateTimeFieldUpdateOperationsInput>;
|
updatedAt?: InputMaybe<DateTimeFieldUpdateOperationsInput>;
|
||||||
@ -2281,6 +2290,7 @@ export type PipelineStageUpdateWithoutPipelineInput = {
|
|||||||
color?: InputMaybe<StringFieldUpdateOperationsInput>;
|
color?: InputMaybe<StringFieldUpdateOperationsInput>;
|
||||||
createdAt?: InputMaybe<DateTimeFieldUpdateOperationsInput>;
|
createdAt?: InputMaybe<DateTimeFieldUpdateOperationsInput>;
|
||||||
id?: InputMaybe<StringFieldUpdateOperationsInput>;
|
id?: InputMaybe<StringFieldUpdateOperationsInput>;
|
||||||
|
index?: InputMaybe<NullableIntFieldUpdateOperationsInput>;
|
||||||
name?: InputMaybe<StringFieldUpdateOperationsInput>;
|
name?: InputMaybe<StringFieldUpdateOperationsInput>;
|
||||||
pipelineProgresses?: InputMaybe<PipelineProgressUpdateManyWithoutPipelineStageNestedInput>;
|
pipelineProgresses?: InputMaybe<PipelineProgressUpdateManyWithoutPipelineStageNestedInput>;
|
||||||
type?: InputMaybe<StringFieldUpdateOperationsInput>;
|
type?: InputMaybe<StringFieldUpdateOperationsInput>;
|
||||||
@ -2291,6 +2301,7 @@ export type PipelineStageUpdateWithoutWorkspaceInput = {
|
|||||||
color?: InputMaybe<StringFieldUpdateOperationsInput>;
|
color?: InputMaybe<StringFieldUpdateOperationsInput>;
|
||||||
createdAt?: InputMaybe<DateTimeFieldUpdateOperationsInput>;
|
createdAt?: InputMaybe<DateTimeFieldUpdateOperationsInput>;
|
||||||
id?: InputMaybe<StringFieldUpdateOperationsInput>;
|
id?: InputMaybe<StringFieldUpdateOperationsInput>;
|
||||||
|
index?: InputMaybe<NullableIntFieldUpdateOperationsInput>;
|
||||||
name?: InputMaybe<StringFieldUpdateOperationsInput>;
|
name?: InputMaybe<StringFieldUpdateOperationsInput>;
|
||||||
pipeline?: InputMaybe<PipelineUpdateOneRequiredWithoutPipelineStagesNestedInput>;
|
pipeline?: InputMaybe<PipelineUpdateOneRequiredWithoutPipelineStagesNestedInput>;
|
||||||
pipelineProgresses?: InputMaybe<PipelineProgressUpdateManyWithoutPipelineStageNestedInput>;
|
pipelineProgresses?: InputMaybe<PipelineProgressUpdateManyWithoutPipelineStageNestedInput>;
|
||||||
@ -2317,6 +2328,7 @@ export type PipelineStageWhereInput = {
|
|||||||
color?: InputMaybe<StringFilter>;
|
color?: InputMaybe<StringFilter>;
|
||||||
createdAt?: InputMaybe<DateTimeFilter>;
|
createdAt?: InputMaybe<DateTimeFilter>;
|
||||||
id?: InputMaybe<StringFilter>;
|
id?: InputMaybe<StringFilter>;
|
||||||
|
index?: InputMaybe<IntNullableFilter>;
|
||||||
name?: InputMaybe<StringFilter>;
|
name?: InputMaybe<StringFilter>;
|
||||||
pipeline?: InputMaybe<PipelineRelationFilter>;
|
pipeline?: InputMaybe<PipelineRelationFilter>;
|
||||||
pipelineId?: InputMaybe<StringFilter>;
|
pipelineId?: InputMaybe<StringFilter>;
|
||||||
@ -3275,7 +3287,7 @@ export type GetPipelinesQueryVariables = Exact<{
|
|||||||
}>;
|
}>;
|
||||||
|
|
||||||
|
|
||||||
export type GetPipelinesQuery = { __typename?: 'Query', findManyPipeline: Array<{ __typename?: 'Pipeline', id: string, name: string, pipelineProgressableType: PipelineProgressableType, pipelineStages?: Array<{ __typename?: 'PipelineStage', id: string, name: string, color: string, pipelineProgresses?: Array<{ __typename?: 'PipelineProgress', id: string, progressableType: PipelineProgressableType, progressableId: string, amount?: number | null, closeDate?: string | null }> | null }> | null }> };
|
export type GetPipelinesQuery = { __typename?: 'Query', findManyPipeline: Array<{ __typename?: 'Pipeline', id: string, name: string, pipelineProgressableType: PipelineProgressableType, pipelineStages?: Array<{ __typename?: 'PipelineStage', id: string, name: string, color: string, index?: number | null, pipelineProgresses?: Array<{ __typename?: 'PipelineProgress', id: string, progressableType: PipelineProgressableType, progressableId: string, amount?: number | null, closeDate?: string | null }> | null }> | null }> };
|
||||||
|
|
||||||
export type UpdateOnePipelineProgressMutationVariables = Exact<{
|
export type UpdateOnePipelineProgressMutationVariables = Exact<{
|
||||||
id?: InputMaybe<Scalars['String']>;
|
id?: InputMaybe<Scalars['String']>;
|
||||||
@ -4560,6 +4572,7 @@ export const GetPipelinesDocument = gql`
|
|||||||
id
|
id
|
||||||
name
|
name
|
||||||
color
|
color
|
||||||
|
index
|
||||||
pipelineProgresses {
|
pipelineProgresses {
|
||||||
id
|
id
|
||||||
progressableType
|
progressableType
|
||||||
|
|||||||
@ -19,12 +19,7 @@ export function RightDrawerCreateCommentThread() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<RightDrawerPage>
|
<RightDrawerPage>
|
||||||
<RightDrawerTopBar
|
<RightDrawerTopBar title="New note" />
|
||||||
title="New note"
|
|
||||||
onSave={() => {
|
|
||||||
return;
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
<RightDrawerBody>
|
<RightDrawerBody>
|
||||||
{commentThreadId && (
|
{commentThreadId && (
|
||||||
<CommentThread
|
<CommentThread
|
||||||
|
|||||||
@ -23,9 +23,15 @@ export function useBoard(pipelineId: string) {
|
|||||||
variables: { where: { id: { equals: pipelineId } } },
|
variables: { where: { id: { equals: pipelineId } } },
|
||||||
});
|
});
|
||||||
const pipelineStages = pipelines.data?.findManyPipeline[0]?.pipelineStages;
|
const pipelineStages = pipelines.data?.findManyPipeline[0]?.pipelineStages;
|
||||||
|
const orderedPipelineStages = pipelineStages
|
||||||
|
? [...pipelineStages].sort((a, b) => {
|
||||||
|
if (!a.index || !b.index) return 0;
|
||||||
|
return a.index - b.index;
|
||||||
|
})
|
||||||
|
: [];
|
||||||
|
|
||||||
const initialBoard: Column[] =
|
const initialBoard: Column[] =
|
||||||
pipelineStages?.map((pipelineStage) => ({
|
orderedPipelineStages?.map((pipelineStage) => ({
|
||||||
id: pipelineStage.id,
|
id: pipelineStage.id,
|
||||||
title: pipelineStage.name,
|
title: pipelineStage.name,
|
||||||
colorCode: pipelineStage.color,
|
colorCode: pipelineStage.color,
|
||||||
@ -34,7 +40,7 @@ export function useBoard(pipelineId: string) {
|
|||||||
[],
|
[],
|
||||||
})) || [];
|
})) || [];
|
||||||
|
|
||||||
const pipelineProgresses = pipelineStages?.reduce(
|
const pipelineProgresses = orderedPipelineStages?.reduce(
|
||||||
(acc, pipelineStage) => [
|
(acc, pipelineStage) => [
|
||||||
...acc,
|
...acc,
|
||||||
...(pipelineStage.pipelineProgresses || []),
|
...(pipelineStage.pipelineProgresses || []),
|
||||||
|
|||||||
@ -10,6 +10,7 @@ export const GET_PIPELINES = gql`
|
|||||||
id
|
id
|
||||||
name
|
name
|
||||||
color
|
color
|
||||||
|
index
|
||||||
pipelineProgresses {
|
pipelineProgresses {
|
||||||
id
|
id
|
||||||
progressableType
|
progressableType
|
||||||
|
|||||||
@ -10,7 +10,7 @@ type MockedPipeline = Pick<
|
|||||||
'id' | 'name' | 'pipelineProgressableType' | '__typename'
|
'id' | 'name' | 'pipelineProgressableType' | '__typename'
|
||||||
> & {
|
> & {
|
||||||
pipelineStages: Array<
|
pipelineStages: Array<
|
||||||
Pick<PipelineStage, 'id' | 'name' | 'color' | '__typename'> & {
|
Pick<PipelineStage, 'id' | 'name' | 'color' | 'index' | '__typename'> & {
|
||||||
pipelineProgresses: Array<
|
pipelineProgresses: Array<
|
||||||
Pick<
|
Pick<
|
||||||
PipelineProgress,
|
PipelineProgress,
|
||||||
@ -36,6 +36,7 @@ export const mockedPipelinesData: Array<MockedPipeline> = [
|
|||||||
id: 'fe256b39-3ec3-4fe3-8998-b76aa0bfb600',
|
id: 'fe256b39-3ec3-4fe3-8998-b76aa0bfb600',
|
||||||
name: 'New',
|
name: 'New',
|
||||||
color: '#B76796',
|
color: '#B76796',
|
||||||
|
index: 0,
|
||||||
pipelineProgresses: [
|
pipelineProgresses: [
|
||||||
{
|
{
|
||||||
id: 'fe256b39-3ec3-4fe7-8998-b76aa0bfb600',
|
id: 'fe256b39-3ec3-4fe7-8998-b76aa0bfb600',
|
||||||
@ -60,6 +61,7 @@ export const mockedPipelinesData: Array<MockedPipeline> = [
|
|||||||
id: 'fe256b39-3ec3-4fe4-8998-b76aa0bfb600',
|
id: 'fe256b39-3ec3-4fe4-8998-b76aa0bfb600',
|
||||||
name: 'Screening',
|
name: 'Screening',
|
||||||
color: '#CB912F',
|
color: '#CB912F',
|
||||||
|
index: 1,
|
||||||
pipelineProgresses: [],
|
pipelineProgresses: [],
|
||||||
__typename: 'PipelineStage',
|
__typename: 'PipelineStage',
|
||||||
},
|
},
|
||||||
@ -67,6 +69,7 @@ export const mockedPipelinesData: Array<MockedPipeline> = [
|
|||||||
id: 'fe256b39-3ec3-4fe5-8998-b76aa0bfb600',
|
id: 'fe256b39-3ec3-4fe5-8998-b76aa0bfb600',
|
||||||
name: 'Meeting',
|
name: 'Meeting',
|
||||||
color: '#9065B0',
|
color: '#9065B0',
|
||||||
|
index: 2,
|
||||||
pipelineProgresses: [],
|
pipelineProgresses: [],
|
||||||
__typename: 'PipelineStage',
|
__typename: 'PipelineStage',
|
||||||
},
|
},
|
||||||
@ -74,6 +77,7 @@ export const mockedPipelinesData: Array<MockedPipeline> = [
|
|||||||
id: 'fe256b39-3ec3-4fe6-8998-b76aa0bfb600',
|
id: 'fe256b39-3ec3-4fe6-8998-b76aa0bfb600',
|
||||||
name: 'Proposal',
|
name: 'Proposal',
|
||||||
color: '#337EA9',
|
color: '#337EA9',
|
||||||
|
index: 3,
|
||||||
pipelineProgresses: [],
|
pipelineProgresses: [],
|
||||||
__typename: 'PipelineStage',
|
__typename: 'PipelineStage',
|
||||||
},
|
},
|
||||||
@ -81,6 +85,7 @@ export const mockedPipelinesData: Array<MockedPipeline> = [
|
|||||||
id: 'fe256b39-3ec3-4fe7-8998-b76aa0bfb600',
|
id: 'fe256b39-3ec3-4fe7-8998-b76aa0bfb600',
|
||||||
name: 'Customer',
|
name: 'Customer',
|
||||||
color: '#079039',
|
color: '#079039',
|
||||||
|
index: 4,
|
||||||
pipelineProgresses: [],
|
pipelineProgresses: [],
|
||||||
__typename: 'PipelineStage',
|
__typename: 'PipelineStage',
|
||||||
},
|
},
|
||||||
|
|||||||
@ -1,6 +1,8 @@
|
|||||||
import { Field } from '@nestjs/graphql';
|
import { Field } from '@nestjs/graphql';
|
||||||
import { ObjectType } from '@nestjs/graphql';
|
import { ObjectType } from '@nestjs/graphql';
|
||||||
import { PipelineStageCountAggregate } from './pipeline-stage-count-aggregate.output';
|
import { PipelineStageCountAggregate } from './pipeline-stage-count-aggregate.output';
|
||||||
|
import { PipelineStageAvgAggregate } from './pipeline-stage-avg-aggregate.output';
|
||||||
|
import { PipelineStageSumAggregate } from './pipeline-stage-sum-aggregate.output';
|
||||||
import { PipelineStageMinAggregate } from './pipeline-stage-min-aggregate.output';
|
import { PipelineStageMinAggregate } from './pipeline-stage-min-aggregate.output';
|
||||||
import { PipelineStageMaxAggregate } from './pipeline-stage-max-aggregate.output';
|
import { PipelineStageMaxAggregate } from './pipeline-stage-max-aggregate.output';
|
||||||
|
|
||||||
@ -10,6 +12,12 @@ export class AggregatePipelineStage {
|
|||||||
@Field(() => PipelineStageCountAggregate, {nullable:true})
|
@Field(() => PipelineStageCountAggregate, {nullable:true})
|
||||||
_count?: PipelineStageCountAggregate;
|
_count?: PipelineStageCountAggregate;
|
||||||
|
|
||||||
|
@Field(() => PipelineStageAvgAggregate, {nullable:true})
|
||||||
|
_avg?: PipelineStageAvgAggregate;
|
||||||
|
|
||||||
|
@Field(() => PipelineStageSumAggregate, {nullable:true})
|
||||||
|
_sum?: PipelineStageSumAggregate;
|
||||||
|
|
||||||
@Field(() => PipelineStageMinAggregate, {nullable:true})
|
@Field(() => PipelineStageMinAggregate, {nullable:true})
|
||||||
_min?: PipelineStageMinAggregate;
|
_min?: PipelineStageMinAggregate;
|
||||||
|
|
||||||
|
|||||||
@ -6,6 +6,8 @@ import { PipelineStageOrderByWithRelationInput } from './pipeline-stage-order-by
|
|||||||
import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input';
|
import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input';
|
||||||
import { Int } from '@nestjs/graphql';
|
import { Int } from '@nestjs/graphql';
|
||||||
import { PipelineStageCountAggregateInput } from './pipeline-stage-count-aggregate.input';
|
import { PipelineStageCountAggregateInput } from './pipeline-stage-count-aggregate.input';
|
||||||
|
import { PipelineStageAvgAggregateInput } from './pipeline-stage-avg-aggregate.input';
|
||||||
|
import { PipelineStageSumAggregateInput } from './pipeline-stage-sum-aggregate.input';
|
||||||
import { PipelineStageMinAggregateInput } from './pipeline-stage-min-aggregate.input';
|
import { PipelineStageMinAggregateInput } from './pipeline-stage-min-aggregate.input';
|
||||||
import { PipelineStageMaxAggregateInput } from './pipeline-stage-max-aggregate.input';
|
import { PipelineStageMaxAggregateInput } from './pipeline-stage-max-aggregate.input';
|
||||||
|
|
||||||
@ -31,6 +33,12 @@ export class PipelineStageAggregateArgs {
|
|||||||
@Field(() => PipelineStageCountAggregateInput, {nullable:true})
|
@Field(() => PipelineStageCountAggregateInput, {nullable:true})
|
||||||
_count?: PipelineStageCountAggregateInput;
|
_count?: PipelineStageCountAggregateInput;
|
||||||
|
|
||||||
|
@Field(() => PipelineStageAvgAggregateInput, {nullable:true})
|
||||||
|
_avg?: PipelineStageAvgAggregateInput;
|
||||||
|
|
||||||
|
@Field(() => PipelineStageSumAggregateInput, {nullable:true})
|
||||||
|
_sum?: PipelineStageSumAggregateInput;
|
||||||
|
|
||||||
@Field(() => PipelineStageMinAggregateInput, {nullable:true})
|
@Field(() => PipelineStageMinAggregateInput, {nullable:true})
|
||||||
_min?: PipelineStageMinAggregateInput;
|
_min?: PipelineStageMinAggregateInput;
|
||||||
|
|
||||||
|
|||||||
@ -0,0 +1,9 @@
|
|||||||
|
import { Field } from '@nestjs/graphql';
|
||||||
|
import { InputType } from '@nestjs/graphql';
|
||||||
|
|
||||||
|
@InputType()
|
||||||
|
export class PipelineStageAvgAggregateInput {
|
||||||
|
|
||||||
|
@Field(() => Boolean, {nullable:true})
|
||||||
|
index?: true;
|
||||||
|
}
|
||||||
@ -0,0 +1,10 @@
|
|||||||
|
import { Field } from '@nestjs/graphql';
|
||||||
|
import { ObjectType } from '@nestjs/graphql';
|
||||||
|
import { Float } from '@nestjs/graphql';
|
||||||
|
|
||||||
|
@ObjectType()
|
||||||
|
export class PipelineStageAvgAggregate {
|
||||||
|
|
||||||
|
@Field(() => Float, {nullable:true})
|
||||||
|
index?: number;
|
||||||
|
}
|
||||||
@ -0,0 +1,10 @@
|
|||||||
|
import { Field } from '@nestjs/graphql';
|
||||||
|
import { InputType } from '@nestjs/graphql';
|
||||||
|
import { SortOrder } from '../prisma/sort-order.enum';
|
||||||
|
|
||||||
|
@InputType()
|
||||||
|
export class PipelineStageAvgOrderByAggregateInput {
|
||||||
|
|
||||||
|
@Field(() => SortOrder, {nullable:true})
|
||||||
|
index?: keyof typeof SortOrder;
|
||||||
|
}
|
||||||
@ -17,6 +17,9 @@ export class PipelineStageCountAggregateInput {
|
|||||||
@Field(() => Boolean, {nullable:true})
|
@Field(() => Boolean, {nullable:true})
|
||||||
color?: true;
|
color?: true;
|
||||||
|
|
||||||
|
@Field(() => Boolean, {nullable:true})
|
||||||
|
index?: true;
|
||||||
|
|
||||||
@Field(() => Boolean, {nullable:true})
|
@Field(() => Boolean, {nullable:true})
|
||||||
pipelineId?: true;
|
pipelineId?: true;
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
import { Field } from '@nestjs/graphql';
|
import { Field } from '@nestjs/graphql';
|
||||||
import { ObjectType } from '@nestjs/graphql';
|
import { ObjectType } from '@nestjs/graphql';
|
||||||
import { Int } from '@nestjs/graphql';
|
import { Int } from '@nestjs/graphql';
|
||||||
|
import * as Validator from 'class-validator';
|
||||||
import { HideField } from '@nestjs/graphql';
|
import { HideField } from '@nestjs/graphql';
|
||||||
|
|
||||||
@ObjectType()
|
@ObjectType()
|
||||||
@ -18,6 +19,11 @@ export class PipelineStageCountAggregate {
|
|||||||
@Field(() => Int, {nullable:false})
|
@Field(() => Int, {nullable:false})
|
||||||
color!: number;
|
color!: number;
|
||||||
|
|
||||||
|
@Field(() => Int, {nullable:false})
|
||||||
|
@Validator.IsNumber()
|
||||||
|
@Validator.IsOptional()
|
||||||
|
index!: number;
|
||||||
|
|
||||||
@Field(() => Int, {nullable:false})
|
@Field(() => Int, {nullable:false})
|
||||||
pipelineId!: number;
|
pipelineId!: number;
|
||||||
|
|
||||||
|
|||||||
@ -18,6 +18,9 @@ export class PipelineStageCountOrderByAggregateInput {
|
|||||||
@Field(() => SortOrder, {nullable:true})
|
@Field(() => SortOrder, {nullable:true})
|
||||||
color?: keyof typeof SortOrder;
|
color?: keyof typeof SortOrder;
|
||||||
|
|
||||||
|
@Field(() => SortOrder, {nullable:true})
|
||||||
|
index?: keyof typeof SortOrder;
|
||||||
|
|
||||||
@Field(() => SortOrder, {nullable:true})
|
@Field(() => SortOrder, {nullable:true})
|
||||||
pipelineId?: keyof typeof SortOrder;
|
pipelineId?: keyof typeof SortOrder;
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
import { Field } from '@nestjs/graphql';
|
import { Field } from '@nestjs/graphql';
|
||||||
import { InputType } from '@nestjs/graphql';
|
import { InputType } from '@nestjs/graphql';
|
||||||
import * as Validator from 'class-validator';
|
import * as Validator from 'class-validator';
|
||||||
|
import { Int } from '@nestjs/graphql';
|
||||||
import { HideField } from '@nestjs/graphql';
|
import { HideField } from '@nestjs/graphql';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
@ -23,6 +24,11 @@ export class PipelineStageCreateManyPipelineInput {
|
|||||||
@Validator.IsString()
|
@Validator.IsString()
|
||||||
color!: string;
|
color!: string;
|
||||||
|
|
||||||
|
@Field(() => Int, {nullable:true})
|
||||||
|
@Validator.IsNumber()
|
||||||
|
@Validator.IsOptional()
|
||||||
|
index?: number;
|
||||||
|
|
||||||
@HideField()
|
@HideField()
|
||||||
workspaceId!: string;
|
workspaceId!: string;
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
import { Field } from '@nestjs/graphql';
|
import { Field } from '@nestjs/graphql';
|
||||||
import { InputType } from '@nestjs/graphql';
|
import { InputType } from '@nestjs/graphql';
|
||||||
import * as Validator from 'class-validator';
|
import * as Validator from 'class-validator';
|
||||||
|
import { Int } from '@nestjs/graphql';
|
||||||
import { HideField } from '@nestjs/graphql';
|
import { HideField } from '@nestjs/graphql';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
@ -23,6 +24,11 @@ export class PipelineStageCreateManyWorkspaceInput {
|
|||||||
@Validator.IsString()
|
@Validator.IsString()
|
||||||
color!: string;
|
color!: string;
|
||||||
|
|
||||||
|
@Field(() => Int, {nullable:true})
|
||||||
|
@Validator.IsNumber()
|
||||||
|
@Validator.IsOptional()
|
||||||
|
index?: number;
|
||||||
|
|
||||||
@Field(() => String, {nullable:false})
|
@Field(() => String, {nullable:false})
|
||||||
pipelineId!: string;
|
pipelineId!: string;
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
import { Field } from '@nestjs/graphql';
|
import { Field } from '@nestjs/graphql';
|
||||||
import { InputType } from '@nestjs/graphql';
|
import { InputType } from '@nestjs/graphql';
|
||||||
import * as Validator from 'class-validator';
|
import * as Validator from 'class-validator';
|
||||||
|
import { Int } from '@nestjs/graphql';
|
||||||
import { HideField } from '@nestjs/graphql';
|
import { HideField } from '@nestjs/graphql';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
@ -23,6 +24,11 @@ export class PipelineStageCreateManyInput {
|
|||||||
@Validator.IsString()
|
@Validator.IsString()
|
||||||
color!: string;
|
color!: string;
|
||||||
|
|
||||||
|
@Field(() => Int, {nullable:true})
|
||||||
|
@Validator.IsNumber()
|
||||||
|
@Validator.IsOptional()
|
||||||
|
index?: number;
|
||||||
|
|
||||||
@Field(() => String, {nullable:false})
|
@Field(() => String, {nullable:false})
|
||||||
pipelineId!: string;
|
pipelineId!: string;
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
import { Field } from '@nestjs/graphql';
|
import { Field } from '@nestjs/graphql';
|
||||||
import { InputType } from '@nestjs/graphql';
|
import { InputType } from '@nestjs/graphql';
|
||||||
import * as Validator from 'class-validator';
|
import * as Validator from 'class-validator';
|
||||||
|
import { Int } from '@nestjs/graphql';
|
||||||
import { HideField } from '@nestjs/graphql';
|
import { HideField } from '@nestjs/graphql';
|
||||||
import { PipelineCreateNestedOneWithoutPipelineStagesInput } from '../pipeline/pipeline-create-nested-one-without-pipeline-stages.input';
|
import { PipelineCreateNestedOneWithoutPipelineStagesInput } from '../pipeline/pipeline-create-nested-one-without-pipeline-stages.input';
|
||||||
import { WorkspaceCreateNestedOneWithoutPipelineStagesInput } from '../workspace/workspace-create-nested-one-without-pipeline-stages.input';
|
import { WorkspaceCreateNestedOneWithoutPipelineStagesInput } from '../workspace/workspace-create-nested-one-without-pipeline-stages.input';
|
||||||
@ -25,6 +26,11 @@ export class PipelineStageCreateWithoutPipelineProgressesInput {
|
|||||||
@Validator.IsString()
|
@Validator.IsString()
|
||||||
color!: string;
|
color!: string;
|
||||||
|
|
||||||
|
@Field(() => Int, {nullable:true})
|
||||||
|
@Validator.IsNumber()
|
||||||
|
@Validator.IsOptional()
|
||||||
|
index?: number;
|
||||||
|
|
||||||
@HideField()
|
@HideField()
|
||||||
deletedAt?: Date | string;
|
deletedAt?: Date | string;
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
import { Field } from '@nestjs/graphql';
|
import { Field } from '@nestjs/graphql';
|
||||||
import { InputType } from '@nestjs/graphql';
|
import { InputType } from '@nestjs/graphql';
|
||||||
import * as Validator from 'class-validator';
|
import * as Validator from 'class-validator';
|
||||||
|
import { Int } from '@nestjs/graphql';
|
||||||
import { HideField } from '@nestjs/graphql';
|
import { HideField } from '@nestjs/graphql';
|
||||||
import { PipelineProgressCreateNestedManyWithoutPipelineStageInput } from '../pipeline-progress/pipeline-progress-create-nested-many-without-pipeline-stage.input';
|
import { PipelineProgressCreateNestedManyWithoutPipelineStageInput } from '../pipeline-progress/pipeline-progress-create-nested-many-without-pipeline-stage.input';
|
||||||
import { WorkspaceCreateNestedOneWithoutPipelineStagesInput } from '../workspace/workspace-create-nested-one-without-pipeline-stages.input';
|
import { WorkspaceCreateNestedOneWithoutPipelineStagesInput } from '../workspace/workspace-create-nested-one-without-pipeline-stages.input';
|
||||||
@ -25,6 +26,11 @@ export class PipelineStageCreateWithoutPipelineInput {
|
|||||||
@Validator.IsString()
|
@Validator.IsString()
|
||||||
color!: string;
|
color!: string;
|
||||||
|
|
||||||
|
@Field(() => Int, {nullable:true})
|
||||||
|
@Validator.IsNumber()
|
||||||
|
@Validator.IsOptional()
|
||||||
|
index?: number;
|
||||||
|
|
||||||
@HideField()
|
@HideField()
|
||||||
deletedAt?: Date | string;
|
deletedAt?: Date | string;
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
import { Field } from '@nestjs/graphql';
|
import { Field } from '@nestjs/graphql';
|
||||||
import { InputType } from '@nestjs/graphql';
|
import { InputType } from '@nestjs/graphql';
|
||||||
import * as Validator from 'class-validator';
|
import * as Validator from 'class-validator';
|
||||||
|
import { Int } from '@nestjs/graphql';
|
||||||
import { HideField } from '@nestjs/graphql';
|
import { HideField } from '@nestjs/graphql';
|
||||||
import { PipelineProgressCreateNestedManyWithoutPipelineStageInput } from '../pipeline-progress/pipeline-progress-create-nested-many-without-pipeline-stage.input';
|
import { PipelineProgressCreateNestedManyWithoutPipelineStageInput } from '../pipeline-progress/pipeline-progress-create-nested-many-without-pipeline-stage.input';
|
||||||
import { PipelineCreateNestedOneWithoutPipelineStagesInput } from '../pipeline/pipeline-create-nested-one-without-pipeline-stages.input';
|
import { PipelineCreateNestedOneWithoutPipelineStagesInput } from '../pipeline/pipeline-create-nested-one-without-pipeline-stages.input';
|
||||||
@ -25,6 +26,11 @@ export class PipelineStageCreateWithoutWorkspaceInput {
|
|||||||
@Validator.IsString()
|
@Validator.IsString()
|
||||||
color!: string;
|
color!: string;
|
||||||
|
|
||||||
|
@Field(() => Int, {nullable:true})
|
||||||
|
@Validator.IsNumber()
|
||||||
|
@Validator.IsOptional()
|
||||||
|
index?: number;
|
||||||
|
|
||||||
@HideField()
|
@HideField()
|
||||||
deletedAt?: Date | string;
|
deletedAt?: Date | string;
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
import { Field } from '@nestjs/graphql';
|
import { Field } from '@nestjs/graphql';
|
||||||
import { InputType } from '@nestjs/graphql';
|
import { InputType } from '@nestjs/graphql';
|
||||||
import * as Validator from 'class-validator';
|
import * as Validator from 'class-validator';
|
||||||
|
import { Int } from '@nestjs/graphql';
|
||||||
import { HideField } from '@nestjs/graphql';
|
import { HideField } from '@nestjs/graphql';
|
||||||
import { PipelineProgressCreateNestedManyWithoutPipelineStageInput } from '../pipeline-progress/pipeline-progress-create-nested-many-without-pipeline-stage.input';
|
import { PipelineProgressCreateNestedManyWithoutPipelineStageInput } from '../pipeline-progress/pipeline-progress-create-nested-many-without-pipeline-stage.input';
|
||||||
import { PipelineCreateNestedOneWithoutPipelineStagesInput } from '../pipeline/pipeline-create-nested-one-without-pipeline-stages.input';
|
import { PipelineCreateNestedOneWithoutPipelineStagesInput } from '../pipeline/pipeline-create-nested-one-without-pipeline-stages.input';
|
||||||
@ -26,6 +27,11 @@ export class PipelineStageCreateInput {
|
|||||||
@Validator.IsString()
|
@Validator.IsString()
|
||||||
color!: string;
|
color!: string;
|
||||||
|
|
||||||
|
@Field(() => Int, {nullable:true})
|
||||||
|
@Validator.IsNumber()
|
||||||
|
@Validator.IsOptional()
|
||||||
|
index?: number;
|
||||||
|
|
||||||
@HideField()
|
@HideField()
|
||||||
deletedAt?: Date | string;
|
deletedAt?: Date | string;
|
||||||
|
|
||||||
|
|||||||
@ -7,6 +7,8 @@ import { PipelineStageScalarFieldEnum } from './pipeline-stage-scalar-field.enum
|
|||||||
import { PipelineStageScalarWhereWithAggregatesInput } from './pipeline-stage-scalar-where-with-aggregates.input';
|
import { PipelineStageScalarWhereWithAggregatesInput } from './pipeline-stage-scalar-where-with-aggregates.input';
|
||||||
import { Int } from '@nestjs/graphql';
|
import { Int } from '@nestjs/graphql';
|
||||||
import { PipelineStageCountAggregateInput } from './pipeline-stage-count-aggregate.input';
|
import { PipelineStageCountAggregateInput } from './pipeline-stage-count-aggregate.input';
|
||||||
|
import { PipelineStageAvgAggregateInput } from './pipeline-stage-avg-aggregate.input';
|
||||||
|
import { PipelineStageSumAggregateInput } from './pipeline-stage-sum-aggregate.input';
|
||||||
import { PipelineStageMinAggregateInput } from './pipeline-stage-min-aggregate.input';
|
import { PipelineStageMinAggregateInput } from './pipeline-stage-min-aggregate.input';
|
||||||
import { PipelineStageMaxAggregateInput } from './pipeline-stage-max-aggregate.input';
|
import { PipelineStageMaxAggregateInput } from './pipeline-stage-max-aggregate.input';
|
||||||
|
|
||||||
@ -35,6 +37,12 @@ export class PipelineStageGroupByArgs {
|
|||||||
@Field(() => PipelineStageCountAggregateInput, {nullable:true})
|
@Field(() => PipelineStageCountAggregateInput, {nullable:true})
|
||||||
_count?: PipelineStageCountAggregateInput;
|
_count?: PipelineStageCountAggregateInput;
|
||||||
|
|
||||||
|
@Field(() => PipelineStageAvgAggregateInput, {nullable:true})
|
||||||
|
_avg?: PipelineStageAvgAggregateInput;
|
||||||
|
|
||||||
|
@Field(() => PipelineStageSumAggregateInput, {nullable:true})
|
||||||
|
_sum?: PipelineStageSumAggregateInput;
|
||||||
|
|
||||||
@Field(() => PipelineStageMinAggregateInput, {nullable:true})
|
@Field(() => PipelineStageMinAggregateInput, {nullable:true})
|
||||||
_min?: PipelineStageMinAggregateInput;
|
_min?: PipelineStageMinAggregateInput;
|
||||||
|
|
||||||
|
|||||||
@ -1,8 +1,11 @@
|
|||||||
import { Field } from '@nestjs/graphql';
|
import { Field } from '@nestjs/graphql';
|
||||||
import { ObjectType } from '@nestjs/graphql';
|
import { ObjectType } from '@nestjs/graphql';
|
||||||
import * as Validator from 'class-validator';
|
import * as Validator from 'class-validator';
|
||||||
|
import { Int } from '@nestjs/graphql';
|
||||||
import { HideField } from '@nestjs/graphql';
|
import { HideField } from '@nestjs/graphql';
|
||||||
import { PipelineStageCountAggregate } from './pipeline-stage-count-aggregate.output';
|
import { PipelineStageCountAggregate } from './pipeline-stage-count-aggregate.output';
|
||||||
|
import { PipelineStageAvgAggregate } from './pipeline-stage-avg-aggregate.output';
|
||||||
|
import { PipelineStageSumAggregate } from './pipeline-stage-sum-aggregate.output';
|
||||||
import { PipelineStageMinAggregate } from './pipeline-stage-min-aggregate.output';
|
import { PipelineStageMinAggregate } from './pipeline-stage-min-aggregate.output';
|
||||||
import { PipelineStageMaxAggregate } from './pipeline-stage-max-aggregate.output';
|
import { PipelineStageMaxAggregate } from './pipeline-stage-max-aggregate.output';
|
||||||
|
|
||||||
@ -26,6 +29,11 @@ export class PipelineStageGroupBy {
|
|||||||
@Validator.IsString()
|
@Validator.IsString()
|
||||||
color!: string;
|
color!: string;
|
||||||
|
|
||||||
|
@Field(() => Int, {nullable:true})
|
||||||
|
@Validator.IsNumber()
|
||||||
|
@Validator.IsOptional()
|
||||||
|
index?: number;
|
||||||
|
|
||||||
@Field(() => String, {nullable:false})
|
@Field(() => String, {nullable:false})
|
||||||
pipelineId!: string;
|
pipelineId!: string;
|
||||||
|
|
||||||
@ -44,6 +52,12 @@ export class PipelineStageGroupBy {
|
|||||||
@Field(() => PipelineStageCountAggregate, {nullable:true})
|
@Field(() => PipelineStageCountAggregate, {nullable:true})
|
||||||
_count?: PipelineStageCountAggregate;
|
_count?: PipelineStageCountAggregate;
|
||||||
|
|
||||||
|
@Field(() => PipelineStageAvgAggregate, {nullable:true})
|
||||||
|
_avg?: PipelineStageAvgAggregate;
|
||||||
|
|
||||||
|
@Field(() => PipelineStageSumAggregate, {nullable:true})
|
||||||
|
_sum?: PipelineStageSumAggregate;
|
||||||
|
|
||||||
@Field(() => PipelineStageMinAggregate, {nullable:true})
|
@Field(() => PipelineStageMinAggregate, {nullable:true})
|
||||||
_min?: PipelineStageMinAggregate;
|
_min?: PipelineStageMinAggregate;
|
||||||
|
|
||||||
|
|||||||
@ -17,6 +17,9 @@ export class PipelineStageMaxAggregateInput {
|
|||||||
@Field(() => Boolean, {nullable:true})
|
@Field(() => Boolean, {nullable:true})
|
||||||
color?: true;
|
color?: true;
|
||||||
|
|
||||||
|
@Field(() => Boolean, {nullable:true})
|
||||||
|
index?: true;
|
||||||
|
|
||||||
@Field(() => Boolean, {nullable:true})
|
@Field(() => Boolean, {nullable:true})
|
||||||
pipelineId?: true;
|
pipelineId?: true;
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
import { Field } from '@nestjs/graphql';
|
import { Field } from '@nestjs/graphql';
|
||||||
import { ObjectType } from '@nestjs/graphql';
|
import { ObjectType } from '@nestjs/graphql';
|
||||||
import * as Validator from 'class-validator';
|
import * as Validator from 'class-validator';
|
||||||
|
import { Int } from '@nestjs/graphql';
|
||||||
import { HideField } from '@nestjs/graphql';
|
import { HideField } from '@nestjs/graphql';
|
||||||
|
|
||||||
@ObjectType()
|
@ObjectType()
|
||||||
@ -23,6 +24,11 @@ export class PipelineStageMaxAggregate {
|
|||||||
@Validator.IsString()
|
@Validator.IsString()
|
||||||
color?: string;
|
color?: string;
|
||||||
|
|
||||||
|
@Field(() => Int, {nullable:true})
|
||||||
|
@Validator.IsNumber()
|
||||||
|
@Validator.IsOptional()
|
||||||
|
index?: number;
|
||||||
|
|
||||||
@Field(() => String, {nullable:true})
|
@Field(() => String, {nullable:true})
|
||||||
pipelineId?: string;
|
pipelineId?: string;
|
||||||
|
|
||||||
|
|||||||
@ -18,6 +18,9 @@ export class PipelineStageMaxOrderByAggregateInput {
|
|||||||
@Field(() => SortOrder, {nullable:true})
|
@Field(() => SortOrder, {nullable:true})
|
||||||
color?: keyof typeof SortOrder;
|
color?: keyof typeof SortOrder;
|
||||||
|
|
||||||
|
@Field(() => SortOrder, {nullable:true})
|
||||||
|
index?: keyof typeof SortOrder;
|
||||||
|
|
||||||
@Field(() => SortOrder, {nullable:true})
|
@Field(() => SortOrder, {nullable:true})
|
||||||
pipelineId?: keyof typeof SortOrder;
|
pipelineId?: keyof typeof SortOrder;
|
||||||
|
|
||||||
|
|||||||
@ -17,6 +17,9 @@ export class PipelineStageMinAggregateInput {
|
|||||||
@Field(() => Boolean, {nullable:true})
|
@Field(() => Boolean, {nullable:true})
|
||||||
color?: true;
|
color?: true;
|
||||||
|
|
||||||
|
@Field(() => Boolean, {nullable:true})
|
||||||
|
index?: true;
|
||||||
|
|
||||||
@Field(() => Boolean, {nullable:true})
|
@Field(() => Boolean, {nullable:true})
|
||||||
pipelineId?: true;
|
pipelineId?: true;
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
import { Field } from '@nestjs/graphql';
|
import { Field } from '@nestjs/graphql';
|
||||||
import { ObjectType } from '@nestjs/graphql';
|
import { ObjectType } from '@nestjs/graphql';
|
||||||
import * as Validator from 'class-validator';
|
import * as Validator from 'class-validator';
|
||||||
|
import { Int } from '@nestjs/graphql';
|
||||||
import { HideField } from '@nestjs/graphql';
|
import { HideField } from '@nestjs/graphql';
|
||||||
|
|
||||||
@ObjectType()
|
@ObjectType()
|
||||||
@ -23,6 +24,11 @@ export class PipelineStageMinAggregate {
|
|||||||
@Validator.IsString()
|
@Validator.IsString()
|
||||||
color?: string;
|
color?: string;
|
||||||
|
|
||||||
|
@Field(() => Int, {nullable:true})
|
||||||
|
@Validator.IsNumber()
|
||||||
|
@Validator.IsOptional()
|
||||||
|
index?: number;
|
||||||
|
|
||||||
@Field(() => String, {nullable:true})
|
@Field(() => String, {nullable:true})
|
||||||
pipelineId?: string;
|
pipelineId?: string;
|
||||||
|
|
||||||
|
|||||||
@ -18,6 +18,9 @@ export class PipelineStageMinOrderByAggregateInput {
|
|||||||
@Field(() => SortOrder, {nullable:true})
|
@Field(() => SortOrder, {nullable:true})
|
||||||
color?: keyof typeof SortOrder;
|
color?: keyof typeof SortOrder;
|
||||||
|
|
||||||
|
@Field(() => SortOrder, {nullable:true})
|
||||||
|
index?: keyof typeof SortOrder;
|
||||||
|
|
||||||
@Field(() => SortOrder, {nullable:true})
|
@Field(() => SortOrder, {nullable:true})
|
||||||
pipelineId?: keyof typeof SortOrder;
|
pipelineId?: keyof typeof SortOrder;
|
||||||
|
|
||||||
|
|||||||
@ -3,8 +3,10 @@ import { InputType } from '@nestjs/graphql';
|
|||||||
import { SortOrder } from '../prisma/sort-order.enum';
|
import { SortOrder } from '../prisma/sort-order.enum';
|
||||||
import { HideField } from '@nestjs/graphql';
|
import { HideField } from '@nestjs/graphql';
|
||||||
import { PipelineStageCountOrderByAggregateInput } from './pipeline-stage-count-order-by-aggregate.input';
|
import { PipelineStageCountOrderByAggregateInput } from './pipeline-stage-count-order-by-aggregate.input';
|
||||||
|
import { PipelineStageAvgOrderByAggregateInput } from './pipeline-stage-avg-order-by-aggregate.input';
|
||||||
import { PipelineStageMaxOrderByAggregateInput } from './pipeline-stage-max-order-by-aggregate.input';
|
import { PipelineStageMaxOrderByAggregateInput } from './pipeline-stage-max-order-by-aggregate.input';
|
||||||
import { PipelineStageMinOrderByAggregateInput } from './pipeline-stage-min-order-by-aggregate.input';
|
import { PipelineStageMinOrderByAggregateInput } from './pipeline-stage-min-order-by-aggregate.input';
|
||||||
|
import { PipelineStageSumOrderByAggregateInput } from './pipeline-stage-sum-order-by-aggregate.input';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class PipelineStageOrderByWithAggregationInput {
|
export class PipelineStageOrderByWithAggregationInput {
|
||||||
@ -21,6 +23,9 @@ export class PipelineStageOrderByWithAggregationInput {
|
|||||||
@Field(() => SortOrder, {nullable:true})
|
@Field(() => SortOrder, {nullable:true})
|
||||||
color?: keyof typeof SortOrder;
|
color?: keyof typeof SortOrder;
|
||||||
|
|
||||||
|
@Field(() => SortOrder, {nullable:true})
|
||||||
|
index?: keyof typeof SortOrder;
|
||||||
|
|
||||||
@Field(() => SortOrder, {nullable:true})
|
@Field(() => SortOrder, {nullable:true})
|
||||||
pipelineId?: keyof typeof SortOrder;
|
pipelineId?: keyof typeof SortOrder;
|
||||||
|
|
||||||
@ -39,9 +44,15 @@ export class PipelineStageOrderByWithAggregationInput {
|
|||||||
@Field(() => PipelineStageCountOrderByAggregateInput, {nullable:true})
|
@Field(() => PipelineStageCountOrderByAggregateInput, {nullable:true})
|
||||||
_count?: PipelineStageCountOrderByAggregateInput;
|
_count?: PipelineStageCountOrderByAggregateInput;
|
||||||
|
|
||||||
|
@Field(() => PipelineStageAvgOrderByAggregateInput, {nullable:true})
|
||||||
|
_avg?: PipelineStageAvgOrderByAggregateInput;
|
||||||
|
|
||||||
@Field(() => PipelineStageMaxOrderByAggregateInput, {nullable:true})
|
@Field(() => PipelineStageMaxOrderByAggregateInput, {nullable:true})
|
||||||
_max?: PipelineStageMaxOrderByAggregateInput;
|
_max?: PipelineStageMaxOrderByAggregateInput;
|
||||||
|
|
||||||
@Field(() => PipelineStageMinOrderByAggregateInput, {nullable:true})
|
@Field(() => PipelineStageMinOrderByAggregateInput, {nullable:true})
|
||||||
_min?: PipelineStageMinOrderByAggregateInput;
|
_min?: PipelineStageMinOrderByAggregateInput;
|
||||||
|
|
||||||
|
@Field(() => PipelineStageSumOrderByAggregateInput, {nullable:true})
|
||||||
|
_sum?: PipelineStageSumOrderByAggregateInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -21,6 +21,9 @@ export class PipelineStageOrderByWithRelationInput {
|
|||||||
@Field(() => SortOrder, {nullable:true})
|
@Field(() => SortOrder, {nullable:true})
|
||||||
color?: keyof typeof SortOrder;
|
color?: keyof typeof SortOrder;
|
||||||
|
|
||||||
|
@Field(() => SortOrder, {nullable:true})
|
||||||
|
index?: keyof typeof SortOrder;
|
||||||
|
|
||||||
@Field(() => SortOrder, {nullable:true})
|
@Field(() => SortOrder, {nullable:true})
|
||||||
pipelineId?: keyof typeof SortOrder;
|
pipelineId?: keyof typeof SortOrder;
|
||||||
|
|
||||||
|
|||||||
@ -5,6 +5,7 @@ export enum PipelineStageScalarFieldEnum {
|
|||||||
name = "name",
|
name = "name",
|
||||||
type = "type",
|
type = "type",
|
||||||
color = "color",
|
color = "color",
|
||||||
|
index = "index",
|
||||||
pipelineId = "pipelineId",
|
pipelineId = "pipelineId",
|
||||||
workspaceId = "workspaceId",
|
workspaceId = "workspaceId",
|
||||||
deletedAt = "deletedAt",
|
deletedAt = "deletedAt",
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
import { Field } from '@nestjs/graphql';
|
import { Field } from '@nestjs/graphql';
|
||||||
import { InputType } from '@nestjs/graphql';
|
import { InputType } from '@nestjs/graphql';
|
||||||
import { StringWithAggregatesFilter } from '../prisma/string-with-aggregates-filter.input';
|
import { StringWithAggregatesFilter } from '../prisma/string-with-aggregates-filter.input';
|
||||||
|
import { IntNullableWithAggregatesFilter } from '../prisma/int-nullable-with-aggregates-filter.input';
|
||||||
import { HideField } from '@nestjs/graphql';
|
import { HideField } from '@nestjs/graphql';
|
||||||
import { DateTimeNullableWithAggregatesFilter } from '../prisma/date-time-nullable-with-aggregates-filter.input';
|
import { DateTimeNullableWithAggregatesFilter } from '../prisma/date-time-nullable-with-aggregates-filter.input';
|
||||||
import { DateTimeWithAggregatesFilter } from '../prisma/date-time-with-aggregates-filter.input';
|
import { DateTimeWithAggregatesFilter } from '../prisma/date-time-with-aggregates-filter.input';
|
||||||
@ -29,6 +30,9 @@ export class PipelineStageScalarWhereWithAggregatesInput {
|
|||||||
@Field(() => StringWithAggregatesFilter, {nullable:true})
|
@Field(() => StringWithAggregatesFilter, {nullable:true})
|
||||||
color?: StringWithAggregatesFilter;
|
color?: StringWithAggregatesFilter;
|
||||||
|
|
||||||
|
@Field(() => IntNullableWithAggregatesFilter, {nullable:true})
|
||||||
|
index?: IntNullableWithAggregatesFilter;
|
||||||
|
|
||||||
@Field(() => StringWithAggregatesFilter, {nullable:true})
|
@Field(() => StringWithAggregatesFilter, {nullable:true})
|
||||||
pipelineId?: StringWithAggregatesFilter;
|
pipelineId?: StringWithAggregatesFilter;
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
import { Field } from '@nestjs/graphql';
|
import { Field } from '@nestjs/graphql';
|
||||||
import { InputType } from '@nestjs/graphql';
|
import { InputType } from '@nestjs/graphql';
|
||||||
import { StringFilter } from '../prisma/string-filter.input';
|
import { StringFilter } from '../prisma/string-filter.input';
|
||||||
|
import { IntNullableFilter } from '../prisma/int-nullable-filter.input';
|
||||||
import { HideField } from '@nestjs/graphql';
|
import { HideField } from '@nestjs/graphql';
|
||||||
import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input';
|
import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input';
|
||||||
import { DateTimeFilter } from '../prisma/date-time-filter.input';
|
import { DateTimeFilter } from '../prisma/date-time-filter.input';
|
||||||
@ -29,6 +30,9 @@ export class PipelineStageScalarWhereInput {
|
|||||||
@Field(() => StringFilter, {nullable:true})
|
@Field(() => StringFilter, {nullable:true})
|
||||||
color?: StringFilter;
|
color?: StringFilter;
|
||||||
|
|
||||||
|
@Field(() => IntNullableFilter, {nullable:true})
|
||||||
|
index?: IntNullableFilter;
|
||||||
|
|
||||||
@Field(() => StringFilter, {nullable:true})
|
@Field(() => StringFilter, {nullable:true})
|
||||||
pipelineId?: StringFilter;
|
pipelineId?: StringFilter;
|
||||||
|
|
||||||
|
|||||||
@ -0,0 +1,9 @@
|
|||||||
|
import { Field } from '@nestjs/graphql';
|
||||||
|
import { InputType } from '@nestjs/graphql';
|
||||||
|
|
||||||
|
@InputType()
|
||||||
|
export class PipelineStageSumAggregateInput {
|
||||||
|
|
||||||
|
@Field(() => Boolean, {nullable:true})
|
||||||
|
index?: true;
|
||||||
|
}
|
||||||
@ -0,0 +1,13 @@
|
|||||||
|
import { Field } from '@nestjs/graphql';
|
||||||
|
import { ObjectType } from '@nestjs/graphql';
|
||||||
|
import { Int } from '@nestjs/graphql';
|
||||||
|
import * as Validator from 'class-validator';
|
||||||
|
|
||||||
|
@ObjectType()
|
||||||
|
export class PipelineStageSumAggregate {
|
||||||
|
|
||||||
|
@Field(() => Int, {nullable:true})
|
||||||
|
@Validator.IsNumber()
|
||||||
|
@Validator.IsOptional()
|
||||||
|
index?: number;
|
||||||
|
}
|
||||||
@ -0,0 +1,10 @@
|
|||||||
|
import { Field } from '@nestjs/graphql';
|
||||||
|
import { InputType } from '@nestjs/graphql';
|
||||||
|
import { SortOrder } from '../prisma/sort-order.enum';
|
||||||
|
|
||||||
|
@InputType()
|
||||||
|
export class PipelineStageSumOrderByAggregateInput {
|
||||||
|
|
||||||
|
@Field(() => SortOrder, {nullable:true})
|
||||||
|
index?: keyof typeof SortOrder;
|
||||||
|
}
|
||||||
@ -1,6 +1,7 @@
|
|||||||
import { Field } from '@nestjs/graphql';
|
import { Field } from '@nestjs/graphql';
|
||||||
import { InputType } from '@nestjs/graphql';
|
import { InputType } from '@nestjs/graphql';
|
||||||
import * as Validator from 'class-validator';
|
import * as Validator from 'class-validator';
|
||||||
|
import { Int } from '@nestjs/graphql';
|
||||||
import { HideField } from '@nestjs/graphql';
|
import { HideField } from '@nestjs/graphql';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
@ -23,6 +24,11 @@ export class PipelineStageUncheckedCreateWithoutPipelineProgressesInput {
|
|||||||
@Validator.IsString()
|
@Validator.IsString()
|
||||||
color!: string;
|
color!: string;
|
||||||
|
|
||||||
|
@Field(() => Int, {nullable:true})
|
||||||
|
@Validator.IsNumber()
|
||||||
|
@Validator.IsOptional()
|
||||||
|
index?: number;
|
||||||
|
|
||||||
@Field(() => String, {nullable:false})
|
@Field(() => String, {nullable:false})
|
||||||
pipelineId!: string;
|
pipelineId!: string;
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
import { Field } from '@nestjs/graphql';
|
import { Field } from '@nestjs/graphql';
|
||||||
import { InputType } from '@nestjs/graphql';
|
import { InputType } from '@nestjs/graphql';
|
||||||
import * as Validator from 'class-validator';
|
import * as Validator from 'class-validator';
|
||||||
|
import { Int } from '@nestjs/graphql';
|
||||||
import { HideField } from '@nestjs/graphql';
|
import { HideField } from '@nestjs/graphql';
|
||||||
import { PipelineProgressUncheckedCreateNestedManyWithoutPipelineStageInput } from '../pipeline-progress/pipeline-progress-unchecked-create-nested-many-without-pipeline-stage.input';
|
import { PipelineProgressUncheckedCreateNestedManyWithoutPipelineStageInput } from '../pipeline-progress/pipeline-progress-unchecked-create-nested-many-without-pipeline-stage.input';
|
||||||
|
|
||||||
@ -24,6 +25,11 @@ export class PipelineStageUncheckedCreateWithoutPipelineInput {
|
|||||||
@Validator.IsString()
|
@Validator.IsString()
|
||||||
color!: string;
|
color!: string;
|
||||||
|
|
||||||
|
@Field(() => Int, {nullable:true})
|
||||||
|
@Validator.IsNumber()
|
||||||
|
@Validator.IsOptional()
|
||||||
|
index?: number;
|
||||||
|
|
||||||
@HideField()
|
@HideField()
|
||||||
workspaceId!: string;
|
workspaceId!: string;
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
import { Field } from '@nestjs/graphql';
|
import { Field } from '@nestjs/graphql';
|
||||||
import { InputType } from '@nestjs/graphql';
|
import { InputType } from '@nestjs/graphql';
|
||||||
import * as Validator from 'class-validator';
|
import * as Validator from 'class-validator';
|
||||||
|
import { Int } from '@nestjs/graphql';
|
||||||
import { HideField } from '@nestjs/graphql';
|
import { HideField } from '@nestjs/graphql';
|
||||||
import { PipelineProgressUncheckedCreateNestedManyWithoutPipelineStageInput } from '../pipeline-progress/pipeline-progress-unchecked-create-nested-many-without-pipeline-stage.input';
|
import { PipelineProgressUncheckedCreateNestedManyWithoutPipelineStageInput } from '../pipeline-progress/pipeline-progress-unchecked-create-nested-many-without-pipeline-stage.input';
|
||||||
|
|
||||||
@ -24,6 +25,11 @@ export class PipelineStageUncheckedCreateWithoutWorkspaceInput {
|
|||||||
@Validator.IsString()
|
@Validator.IsString()
|
||||||
color!: string;
|
color!: string;
|
||||||
|
|
||||||
|
@Field(() => Int, {nullable:true})
|
||||||
|
@Validator.IsNumber()
|
||||||
|
@Validator.IsOptional()
|
||||||
|
index?: number;
|
||||||
|
|
||||||
@Field(() => String, {nullable:false})
|
@Field(() => String, {nullable:false})
|
||||||
pipelineId!: string;
|
pipelineId!: string;
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
import { Field } from '@nestjs/graphql';
|
import { Field } from '@nestjs/graphql';
|
||||||
import { InputType } from '@nestjs/graphql';
|
import { InputType } from '@nestjs/graphql';
|
||||||
import * as Validator from 'class-validator';
|
import * as Validator from 'class-validator';
|
||||||
|
import { Int } from '@nestjs/graphql';
|
||||||
import { HideField } from '@nestjs/graphql';
|
import { HideField } from '@nestjs/graphql';
|
||||||
import { PipelineProgressUncheckedCreateNestedManyWithoutPipelineStageInput } from '../pipeline-progress/pipeline-progress-unchecked-create-nested-many-without-pipeline-stage.input';
|
import { PipelineProgressUncheckedCreateNestedManyWithoutPipelineStageInput } from '../pipeline-progress/pipeline-progress-unchecked-create-nested-many-without-pipeline-stage.input';
|
||||||
|
|
||||||
@ -24,6 +25,11 @@ export class PipelineStageUncheckedCreateInput {
|
|||||||
@Validator.IsString()
|
@Validator.IsString()
|
||||||
color!: string;
|
color!: string;
|
||||||
|
|
||||||
|
@Field(() => Int, {nullable:true})
|
||||||
|
@Validator.IsNumber()
|
||||||
|
@Validator.IsOptional()
|
||||||
|
index?: number;
|
||||||
|
|
||||||
@Field(() => String, {nullable:false})
|
@Field(() => String, {nullable:false})
|
||||||
pipelineId!: string;
|
pipelineId!: string;
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
import { Field } from '@nestjs/graphql';
|
import { Field } from '@nestjs/graphql';
|
||||||
import { InputType } from '@nestjs/graphql';
|
import { InputType } from '@nestjs/graphql';
|
||||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
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 { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||||
import { HideField } from '@nestjs/graphql';
|
import { HideField } from '@nestjs/graphql';
|
||||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||||
@ -20,6 +21,9 @@ export class PipelineStageUncheckedUpdateManyWithoutPipelineStagesInput {
|
|||||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||||
color?: StringFieldUpdateOperationsInput;
|
color?: StringFieldUpdateOperationsInput;
|
||||||
|
|
||||||
|
@Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true})
|
||||||
|
index?: NullableIntFieldUpdateOperationsInput;
|
||||||
|
|
||||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||||
pipelineId?: StringFieldUpdateOperationsInput;
|
pipelineId?: StringFieldUpdateOperationsInput;
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
import { Field } from '@nestjs/graphql';
|
import { Field } from '@nestjs/graphql';
|
||||||
import { InputType } from '@nestjs/graphql';
|
import { InputType } from '@nestjs/graphql';
|
||||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||||
|
import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input';
|
||||||
import { HideField } from '@nestjs/graphql';
|
import { HideField } from '@nestjs/graphql';
|
||||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||||
@ -20,6 +21,9 @@ export class PipelineStageUncheckedUpdateManyInput {
|
|||||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||||
color?: StringFieldUpdateOperationsInput;
|
color?: StringFieldUpdateOperationsInput;
|
||||||
|
|
||||||
|
@Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true})
|
||||||
|
index?: NullableIntFieldUpdateOperationsInput;
|
||||||
|
|
||||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||||
pipelineId?: StringFieldUpdateOperationsInput;
|
pipelineId?: StringFieldUpdateOperationsInput;
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
import { Field } from '@nestjs/graphql';
|
import { Field } from '@nestjs/graphql';
|
||||||
import { InputType } from '@nestjs/graphql';
|
import { InputType } from '@nestjs/graphql';
|
||||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||||
|
import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input';
|
||||||
import { HideField } from '@nestjs/graphql';
|
import { HideField } from '@nestjs/graphql';
|
||||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||||
@ -20,6 +21,9 @@ export class PipelineStageUncheckedUpdateWithoutPipelineProgressesInput {
|
|||||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||||
color?: StringFieldUpdateOperationsInput;
|
color?: StringFieldUpdateOperationsInput;
|
||||||
|
|
||||||
|
@Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true})
|
||||||
|
index?: NullableIntFieldUpdateOperationsInput;
|
||||||
|
|
||||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||||
pipelineId?: StringFieldUpdateOperationsInput;
|
pipelineId?: StringFieldUpdateOperationsInput;
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
import { Field } from '@nestjs/graphql';
|
import { Field } from '@nestjs/graphql';
|
||||||
import { InputType } from '@nestjs/graphql';
|
import { InputType } from '@nestjs/graphql';
|
||||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||||
|
import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input';
|
||||||
import { HideField } from '@nestjs/graphql';
|
import { HideField } from '@nestjs/graphql';
|
||||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||||
@ -21,6 +22,9 @@ export class PipelineStageUncheckedUpdateWithoutPipelineInput {
|
|||||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||||
color?: StringFieldUpdateOperationsInput;
|
color?: StringFieldUpdateOperationsInput;
|
||||||
|
|
||||||
|
@Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true})
|
||||||
|
index?: NullableIntFieldUpdateOperationsInput;
|
||||||
|
|
||||||
@HideField()
|
@HideField()
|
||||||
workspaceId?: StringFieldUpdateOperationsInput;
|
workspaceId?: StringFieldUpdateOperationsInput;
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
import { Field } from '@nestjs/graphql';
|
import { Field } from '@nestjs/graphql';
|
||||||
import { InputType } from '@nestjs/graphql';
|
import { InputType } from '@nestjs/graphql';
|
||||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
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 { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||||
import { HideField } from '@nestjs/graphql';
|
import { HideField } from '@nestjs/graphql';
|
||||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||||
@ -21,6 +22,9 @@ export class PipelineStageUncheckedUpdateWithoutWorkspaceInput {
|
|||||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||||
color?: StringFieldUpdateOperationsInput;
|
color?: StringFieldUpdateOperationsInput;
|
||||||
|
|
||||||
|
@Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true})
|
||||||
|
index?: NullableIntFieldUpdateOperationsInput;
|
||||||
|
|
||||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||||
pipelineId?: StringFieldUpdateOperationsInput;
|
pipelineId?: StringFieldUpdateOperationsInput;
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
import { Field } from '@nestjs/graphql';
|
import { Field } from '@nestjs/graphql';
|
||||||
import { InputType } from '@nestjs/graphql';
|
import { InputType } from '@nestjs/graphql';
|
||||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||||
|
import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input';
|
||||||
import { HideField } from '@nestjs/graphql';
|
import { HideField } from '@nestjs/graphql';
|
||||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||||
@ -21,6 +22,9 @@ export class PipelineStageUncheckedUpdateInput {
|
|||||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||||
color?: StringFieldUpdateOperationsInput;
|
color?: StringFieldUpdateOperationsInput;
|
||||||
|
|
||||||
|
@Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true})
|
||||||
|
index?: NullableIntFieldUpdateOperationsInput;
|
||||||
|
|
||||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||||
pipelineId?: StringFieldUpdateOperationsInput;
|
pipelineId?: StringFieldUpdateOperationsInput;
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
import { Field } from '@nestjs/graphql';
|
import { Field } from '@nestjs/graphql';
|
||||||
import { InputType } from '@nestjs/graphql';
|
import { InputType } from '@nestjs/graphql';
|
||||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
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 { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||||
import { HideField } from '@nestjs/graphql';
|
import { HideField } from '@nestjs/graphql';
|
||||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||||
@ -20,6 +21,9 @@ export class PipelineStageUpdateManyMutationInput {
|
|||||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||||
color?: StringFieldUpdateOperationsInput;
|
color?: StringFieldUpdateOperationsInput;
|
||||||
|
|
||||||
|
@Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true})
|
||||||
|
index?: NullableIntFieldUpdateOperationsInput;
|
||||||
|
|
||||||
@HideField()
|
@HideField()
|
||||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
import { Field } from '@nestjs/graphql';
|
import { Field } from '@nestjs/graphql';
|
||||||
import { InputType } from '@nestjs/graphql';
|
import { InputType } from '@nestjs/graphql';
|
||||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
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 { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||||
import { HideField } from '@nestjs/graphql';
|
import { HideField } from '@nestjs/graphql';
|
||||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||||
@ -22,6 +23,9 @@ export class PipelineStageUpdateWithoutPipelineProgressesInput {
|
|||||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||||
color?: StringFieldUpdateOperationsInput;
|
color?: StringFieldUpdateOperationsInput;
|
||||||
|
|
||||||
|
@Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true})
|
||||||
|
index?: NullableIntFieldUpdateOperationsInput;
|
||||||
|
|
||||||
@HideField()
|
@HideField()
|
||||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
import { Field } from '@nestjs/graphql';
|
import { Field } from '@nestjs/graphql';
|
||||||
import { InputType } from '@nestjs/graphql';
|
import { InputType } from '@nestjs/graphql';
|
||||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
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 { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||||
import { HideField } from '@nestjs/graphql';
|
import { HideField } from '@nestjs/graphql';
|
||||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||||
@ -22,6 +23,9 @@ export class PipelineStageUpdateWithoutPipelineInput {
|
|||||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||||
color?: StringFieldUpdateOperationsInput;
|
color?: StringFieldUpdateOperationsInput;
|
||||||
|
|
||||||
|
@Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true})
|
||||||
|
index?: NullableIntFieldUpdateOperationsInput;
|
||||||
|
|
||||||
@HideField()
|
@HideField()
|
||||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
import { Field } from '@nestjs/graphql';
|
import { Field } from '@nestjs/graphql';
|
||||||
import { InputType } from '@nestjs/graphql';
|
import { InputType } from '@nestjs/graphql';
|
||||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
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 { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||||
import { HideField } from '@nestjs/graphql';
|
import { HideField } from '@nestjs/graphql';
|
||||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||||
@ -22,6 +23,9 @@ export class PipelineStageUpdateWithoutWorkspaceInput {
|
|||||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||||
color?: StringFieldUpdateOperationsInput;
|
color?: StringFieldUpdateOperationsInput;
|
||||||
|
|
||||||
|
@Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true})
|
||||||
|
index?: NullableIntFieldUpdateOperationsInput;
|
||||||
|
|
||||||
@HideField()
|
@HideField()
|
||||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
import { Field } from '@nestjs/graphql';
|
import { Field } from '@nestjs/graphql';
|
||||||
import { InputType } from '@nestjs/graphql';
|
import { InputType } from '@nestjs/graphql';
|
||||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
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 { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||||
import { HideField } from '@nestjs/graphql';
|
import { HideField } from '@nestjs/graphql';
|
||||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||||
@ -23,6 +24,9 @@ export class PipelineStageUpdateInput {
|
|||||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||||
color?: StringFieldUpdateOperationsInput;
|
color?: StringFieldUpdateOperationsInput;
|
||||||
|
|
||||||
|
@Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true})
|
||||||
|
index?: NullableIntFieldUpdateOperationsInput;
|
||||||
|
|
||||||
@HideField()
|
@HideField()
|
||||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
import { Field } from '@nestjs/graphql';
|
import { Field } from '@nestjs/graphql';
|
||||||
import { InputType } from '@nestjs/graphql';
|
import { InputType } from '@nestjs/graphql';
|
||||||
import { StringFilter } from '../prisma/string-filter.input';
|
import { StringFilter } from '../prisma/string-filter.input';
|
||||||
|
import { IntNullableFilter } from '../prisma/int-nullable-filter.input';
|
||||||
import { HideField } from '@nestjs/graphql';
|
import { HideField } from '@nestjs/graphql';
|
||||||
import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input';
|
import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input';
|
||||||
import { DateTimeFilter } from '../prisma/date-time-filter.input';
|
import { DateTimeFilter } from '../prisma/date-time-filter.input';
|
||||||
@ -32,6 +33,9 @@ export class PipelineStageWhereInput {
|
|||||||
@Field(() => StringFilter, {nullable:true})
|
@Field(() => StringFilter, {nullable:true})
|
||||||
color?: StringFilter;
|
color?: StringFilter;
|
||||||
|
|
||||||
|
@Field(() => IntNullableFilter, {nullable:true})
|
||||||
|
index?: IntNullableFilter;
|
||||||
|
|
||||||
@Field(() => StringFilter, {nullable:true})
|
@Field(() => StringFilter, {nullable:true})
|
||||||
pipelineId?: StringFilter;
|
pipelineId?: StringFilter;
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
import { Field } from '@nestjs/graphql';
|
import { Field } from '@nestjs/graphql';
|
||||||
import { ObjectType } from '@nestjs/graphql';
|
import { ObjectType } from '@nestjs/graphql';
|
||||||
import { ID } from '@nestjs/graphql';
|
import { ID } from '@nestjs/graphql';
|
||||||
|
import { Int } from '@nestjs/graphql';
|
||||||
import { HideField } from '@nestjs/graphql';
|
import { HideField } from '@nestjs/graphql';
|
||||||
import { PipelineProgress } from '../pipeline-progress/pipeline-progress.model';
|
import { PipelineProgress } from '../pipeline-progress/pipeline-progress.model';
|
||||||
import { Pipeline } from '../pipeline/pipeline.model';
|
import { Pipeline } from '../pipeline/pipeline.model';
|
||||||
@ -22,6 +23,9 @@ export class PipelineStage {
|
|||||||
@Field(() => String, {nullable:false})
|
@Field(() => String, {nullable:false})
|
||||||
color!: string;
|
color!: string;
|
||||||
|
|
||||||
|
@Field(() => Int, {nullable:true})
|
||||||
|
index!: number | null;
|
||||||
|
|
||||||
@Field(() => String, {nullable:false})
|
@Field(() => String, {nullable:false})
|
||||||
pipelineId!: string;
|
pipelineId!: string;
|
||||||
|
|
||||||
|
|||||||
@ -0,0 +1,2 @@
|
|||||||
|
-- AlterTable
|
||||||
|
ALTER TABLE "pipeline_stages" ADD COLUMN "index" INTEGER;
|
||||||
@ -434,6 +434,9 @@ model PipelineStage {
|
|||||||
type String
|
type String
|
||||||
/// @Validator.IsString()
|
/// @Validator.IsString()
|
||||||
color String
|
color String
|
||||||
|
/// @Validator.IsNumber()
|
||||||
|
/// @Validator.IsOptional()
|
||||||
|
index Int?
|
||||||
|
|
||||||
pipelineProgresses PipelineProgress[]
|
pipelineProgresses PipelineProgress[]
|
||||||
pipeline Pipeline @relation(fields: [pipelineId], references: [id])
|
pipeline Pipeline @relation(fields: [pipelineId], references: [id])
|
||||||
|
|||||||
@ -19,6 +19,7 @@ export const seedPipelines = async (prisma: PrismaClient) => {
|
|||||||
id: 'twenty-fe256b39-3ec3-4fe3-8998-b76aa0bfb600',
|
id: 'twenty-fe256b39-3ec3-4fe3-8998-b76aa0bfb600',
|
||||||
name: 'New',
|
name: 'New',
|
||||||
color: '#B76796',
|
color: '#B76796',
|
||||||
|
index: 0,
|
||||||
type: 'open',
|
type: 'open',
|
||||||
pipelineId: 'twenty-fe256b39-3ec3-4fe3-8997-b75aa0bfb400',
|
pipelineId: 'twenty-fe256b39-3ec3-4fe3-8997-b75aa0bfb400',
|
||||||
workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419',
|
workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419',
|
||||||
@ -32,6 +33,7 @@ export const seedPipelines = async (prisma: PrismaClient) => {
|
|||||||
id: 'twenty-fe256b39-3ec3-4fe4-8998-b76aa0bfb600',
|
id: 'twenty-fe256b39-3ec3-4fe4-8998-b76aa0bfb600',
|
||||||
name: 'Screening',
|
name: 'Screening',
|
||||||
color: '#CB912F',
|
color: '#CB912F',
|
||||||
|
index: 1,
|
||||||
type: 'ongoing',
|
type: 'ongoing',
|
||||||
pipelineId: 'twenty-fe256b39-3ec3-4fe3-8997-b75aa0bfb400',
|
pipelineId: 'twenty-fe256b39-3ec3-4fe3-8997-b75aa0bfb400',
|
||||||
workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419',
|
workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419',
|
||||||
@ -45,6 +47,7 @@ export const seedPipelines = async (prisma: PrismaClient) => {
|
|||||||
id: 'twenty-fe256b39-3ec3-4fe5-8998-b76aa0bfb600',
|
id: 'twenty-fe256b39-3ec3-4fe5-8998-b76aa0bfb600',
|
||||||
name: 'Meeting',
|
name: 'Meeting',
|
||||||
color: '#9065B0',
|
color: '#9065B0',
|
||||||
|
index: 2,
|
||||||
type: 'ongoing',
|
type: 'ongoing',
|
||||||
pipelineId: 'twenty-fe256b39-3ec3-4fe3-8997-b75aa0bfb400',
|
pipelineId: 'twenty-fe256b39-3ec3-4fe3-8997-b75aa0bfb400',
|
||||||
workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419',
|
workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419',
|
||||||
@ -58,6 +61,7 @@ export const seedPipelines = async (prisma: PrismaClient) => {
|
|||||||
id: 'twenty-fe256b39-3ec3-4fe6-8998-b76aa0bfb600',
|
id: 'twenty-fe256b39-3ec3-4fe6-8998-b76aa0bfb600',
|
||||||
name: 'Proposal',
|
name: 'Proposal',
|
||||||
color: '#337EA9',
|
color: '#337EA9',
|
||||||
|
index: 3,
|
||||||
type: 'ongoing',
|
type: 'ongoing',
|
||||||
pipelineId: 'twenty-fe256b39-3ec3-4fe3-8997-b75aa0bfb400',
|
pipelineId: 'twenty-fe256b39-3ec3-4fe3-8997-b75aa0bfb400',
|
||||||
workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419',
|
workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419',
|
||||||
@ -71,6 +75,7 @@ export const seedPipelines = async (prisma: PrismaClient) => {
|
|||||||
id: 'twenty-fe256b39-3ec3-4fe7-8998-b76aa0bfb600',
|
id: 'twenty-fe256b39-3ec3-4fe7-8998-b76aa0bfb600',
|
||||||
name: 'Customer',
|
name: 'Customer',
|
||||||
color: '#079039',
|
color: '#079039',
|
||||||
|
index: 4,
|
||||||
type: 'won',
|
type: 'won',
|
||||||
pipelineId: 'twenty-fe256b39-3ec3-4fe3-8997-b75aa0bfb400',
|
pipelineId: 'twenty-fe256b39-3ec3-4fe3-8997-b75aa0bfb400',
|
||||||
workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419',
|
workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419',
|
||||||
@ -148,6 +153,7 @@ export const seedPipelines = async (prisma: PrismaClient) => {
|
|||||||
id: 'twenty-fe256b39-3ec3-4fe3-8998-a76aa0bfb600',
|
id: 'twenty-fe256b39-3ec3-4fe3-8998-a76aa0bfb600',
|
||||||
name: 'New',
|
name: 'New',
|
||||||
color: '#B76796',
|
color: '#B76796',
|
||||||
|
index: 1,
|
||||||
type: 'open',
|
type: 'open',
|
||||||
pipelineId: 'twenty-fe256b39-3ec3-4fe3-8997-b74aa0bfb400',
|
pipelineId: 'twenty-fe256b39-3ec3-4fe3-8997-b74aa0bfb400',
|
||||||
workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419',
|
workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419',
|
||||||
@ -186,6 +192,7 @@ export const seedPipelines = async (prisma: PrismaClient) => {
|
|||||||
id: 'twenty-dev-fe256b39-3ec3-4fe3-8998-b76aa0bfb600',
|
id: 'twenty-dev-fe256b39-3ec3-4fe3-8998-b76aa0bfb600',
|
||||||
name: 'New',
|
name: 'New',
|
||||||
color: '#B76796',
|
color: '#B76796',
|
||||||
|
index: 0,
|
||||||
type: 'open',
|
type: 'open',
|
||||||
pipelineId: 'twenty-dev-fe256b39-3ec3-4fe3-8997-b75aa0bfb400',
|
pipelineId: 'twenty-dev-fe256b39-3ec3-4fe3-8997-b75aa0bfb400',
|
||||||
workspaceId: 'twenty-dev-7ed9d212-1c25-4d02-bf25-6aeccf7ea420',
|
workspaceId: 'twenty-dev-7ed9d212-1c25-4d02-bf25-6aeccf7ea420',
|
||||||
@ -199,6 +206,7 @@ export const seedPipelines = async (prisma: PrismaClient) => {
|
|||||||
id: 'twenty-dev-fe256b39-3ec3-4fe4-8998-b76aa0bfb600',
|
id: 'twenty-dev-fe256b39-3ec3-4fe4-8998-b76aa0bfb600',
|
||||||
name: 'Screening',
|
name: 'Screening',
|
||||||
color: '#CB912F',
|
color: '#CB912F',
|
||||||
|
index: 1,
|
||||||
type: 'ongoing',
|
type: 'ongoing',
|
||||||
pipelineId: 'twenty-dev-fe256b39-3ec3-4fe3-8997-b75aa0bfb400',
|
pipelineId: 'twenty-dev-fe256b39-3ec3-4fe3-8997-b75aa0bfb400',
|
||||||
workspaceId: 'twenty-dev-7ed9d212-1c25-4d02-bf25-6aeccf7ea420',
|
workspaceId: 'twenty-dev-7ed9d212-1c25-4d02-bf25-6aeccf7ea420',
|
||||||
@ -212,6 +220,7 @@ export const seedPipelines = async (prisma: PrismaClient) => {
|
|||||||
id: 'twenty-dev-fe256b39-3ec3-4fe5-8998-b76aa0bfb600',
|
id: 'twenty-dev-fe256b39-3ec3-4fe5-8998-b76aa0bfb600',
|
||||||
name: 'Meeting',
|
name: 'Meeting',
|
||||||
color: '#9065B0',
|
color: '#9065B0',
|
||||||
|
index: 2,
|
||||||
type: 'ongoing',
|
type: 'ongoing',
|
||||||
pipelineId: 'twenty-dev-fe256b39-3ec3-4fe3-8997-b75aa0bfb400',
|
pipelineId: 'twenty-dev-fe256b39-3ec3-4fe3-8997-b75aa0bfb400',
|
||||||
workspaceId: 'twenty-dev-7ed9d212-1c25-4d02-bf25-6aeccf7ea420',
|
workspaceId: 'twenty-dev-7ed9d212-1c25-4d02-bf25-6aeccf7ea420',
|
||||||
@ -225,6 +234,7 @@ export const seedPipelines = async (prisma: PrismaClient) => {
|
|||||||
id: 'twenty-dev-fe256b39-3ec3-4fe6-8998-b76aa0bfb600',
|
id: 'twenty-dev-fe256b39-3ec3-4fe6-8998-b76aa0bfb600',
|
||||||
name: 'Proposal',
|
name: 'Proposal',
|
||||||
color: '#337EA9',
|
color: '#337EA9',
|
||||||
|
index: 3,
|
||||||
type: 'ongoing',
|
type: 'ongoing',
|
||||||
pipelineId: 'twenty-dev-fe256b39-3ec3-4fe3-8997-b75aa0bfb400',
|
pipelineId: 'twenty-dev-fe256b39-3ec3-4fe3-8997-b75aa0bfb400',
|
||||||
workspaceId: 'twenty-dev-7ed9d212-1c25-4d02-bf25-6aeccf7ea420',
|
workspaceId: 'twenty-dev-7ed9d212-1c25-4d02-bf25-6aeccf7ea420',
|
||||||
@ -238,6 +248,7 @@ export const seedPipelines = async (prisma: PrismaClient) => {
|
|||||||
id: 'twenty-dev-fe256b39-3ec3-4fe7-8998-b76aa0bfb600',
|
id: 'twenty-dev-fe256b39-3ec3-4fe7-8998-b76aa0bfb600',
|
||||||
name: 'Customer',
|
name: 'Customer',
|
||||||
color: '#079039',
|
color: '#079039',
|
||||||
|
index: 4,
|
||||||
type: 'won',
|
type: 'won',
|
||||||
pipelineId: 'twenty-dev-fe256b39-3ec3-4fe3-8997-b75aa0bfb400',
|
pipelineId: 'twenty-dev-fe256b39-3ec3-4fe3-8997-b75aa0bfb400',
|
||||||
workspaceId: 'twenty-dev-7ed9d212-1c25-4d02-bf25-6aeccf7ea420',
|
workspaceId: 'twenty-dev-7ed9d212-1c25-4d02-bf25-6aeccf7ea420',
|
||||||
|
|||||||
Reference in New Issue
Block a user