Enable Task creation (#688)
This commit is contained in:
9
server/src/core/@generated/prisma/activity-type.enum.ts
Normal file
9
server/src/core/@generated/prisma/activity-type.enum.ts
Normal file
@ -0,0 +1,9 @@
|
||||
import { registerEnumType } from '@nestjs/graphql';
|
||||
|
||||
export enum ActivityType {
|
||||
Note = "Note",
|
||||
Task = "Task"
|
||||
}
|
||||
|
||||
|
||||
registerEnumType(ActivityType, { name: 'ActivityType', description: undefined })
|
||||
@ -0,0 +1,10 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { ActivityType } from './activity-type.enum';
|
||||
|
||||
@InputType()
|
||||
export class EnumActivityTypeFieldUpdateOperationsInput {
|
||||
|
||||
@Field(() => ActivityType, {nullable:true})
|
||||
set?: keyof typeof ActivityType;
|
||||
}
|
||||
@ -0,0 +1,20 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { ActivityType } from './activity-type.enum';
|
||||
import { NestedEnumActivityTypeFilter } from './nested-enum-activity-type-filter.input';
|
||||
|
||||
@InputType()
|
||||
export class EnumActivityTypeFilter {
|
||||
|
||||
@Field(() => ActivityType, {nullable:true})
|
||||
equals?: keyof typeof ActivityType;
|
||||
|
||||
@Field(() => [ActivityType], {nullable:true})
|
||||
in?: Array<keyof typeof ActivityType>;
|
||||
|
||||
@Field(() => [ActivityType], {nullable:true})
|
||||
notIn?: Array<keyof typeof ActivityType>;
|
||||
|
||||
@Field(() => NestedEnumActivityTypeFilter, {nullable:true})
|
||||
not?: NestedEnumActivityTypeFilter;
|
||||
}
|
||||
@ -0,0 +1,31 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { ActivityType } from './activity-type.enum';
|
||||
import { NestedEnumActivityTypeWithAggregatesFilter } from './nested-enum-activity-type-with-aggregates-filter.input';
|
||||
import { NestedIntFilter } from './nested-int-filter.input';
|
||||
import { NestedEnumActivityTypeFilter } from './nested-enum-activity-type-filter.input';
|
||||
|
||||
@InputType()
|
||||
export class EnumActivityTypeWithAggregatesFilter {
|
||||
|
||||
@Field(() => ActivityType, {nullable:true})
|
||||
equals?: keyof typeof ActivityType;
|
||||
|
||||
@Field(() => [ActivityType], {nullable:true})
|
||||
in?: Array<keyof typeof ActivityType>;
|
||||
|
||||
@Field(() => [ActivityType], {nullable:true})
|
||||
notIn?: Array<keyof typeof ActivityType>;
|
||||
|
||||
@Field(() => NestedEnumActivityTypeWithAggregatesFilter, {nullable:true})
|
||||
not?: NestedEnumActivityTypeWithAggregatesFilter;
|
||||
|
||||
@Field(() => NestedIntFilter, {nullable:true})
|
||||
_count?: NestedIntFilter;
|
||||
|
||||
@Field(() => NestedEnumActivityTypeFilter, {nullable:true})
|
||||
_min?: NestedEnumActivityTypeFilter;
|
||||
|
||||
@Field(() => NestedEnumActivityTypeFilter, {nullable:true})
|
||||
_max?: NestedEnumActivityTypeFilter;
|
||||
}
|
||||
@ -0,0 +1,19 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { ActivityType } from './activity-type.enum';
|
||||
|
||||
@InputType()
|
||||
export class NestedEnumActivityTypeFilter {
|
||||
|
||||
@Field(() => ActivityType, {nullable:true})
|
||||
equals?: keyof typeof ActivityType;
|
||||
|
||||
@Field(() => [ActivityType], {nullable:true})
|
||||
in?: Array<keyof typeof ActivityType>;
|
||||
|
||||
@Field(() => [ActivityType], {nullable:true})
|
||||
notIn?: Array<keyof typeof ActivityType>;
|
||||
|
||||
@Field(() => NestedEnumActivityTypeFilter, {nullable:true})
|
||||
not?: NestedEnumActivityTypeFilter;
|
||||
}
|
||||
@ -0,0 +1,30 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { ActivityType } from './activity-type.enum';
|
||||
import { NestedIntFilter } from './nested-int-filter.input';
|
||||
import { NestedEnumActivityTypeFilter } from './nested-enum-activity-type-filter.input';
|
||||
|
||||
@InputType()
|
||||
export class NestedEnumActivityTypeWithAggregatesFilter {
|
||||
|
||||
@Field(() => ActivityType, {nullable:true})
|
||||
equals?: keyof typeof ActivityType;
|
||||
|
||||
@Field(() => [ActivityType], {nullable:true})
|
||||
in?: Array<keyof typeof ActivityType>;
|
||||
|
||||
@Field(() => [ActivityType], {nullable:true})
|
||||
notIn?: Array<keyof typeof ActivityType>;
|
||||
|
||||
@Field(() => NestedEnumActivityTypeWithAggregatesFilter, {nullable:true})
|
||||
not?: NestedEnumActivityTypeWithAggregatesFilter;
|
||||
|
||||
@Field(() => NestedIntFilter, {nullable:true})
|
||||
_count?: NestedIntFilter;
|
||||
|
||||
@Field(() => NestedEnumActivityTypeFilter, {nullable:true})
|
||||
_min?: NestedEnumActivityTypeFilter;
|
||||
|
||||
@Field(() => NestedEnumActivityTypeFilter, {nullable:true})
|
||||
_max?: NestedEnumActivityTypeFilter;
|
||||
}
|
||||
Reference in New Issue
Block a user