Implement scoping on be (#144)

This commit is contained in:
Charles Bochet
2023-05-26 14:00:32 +02:00
committed by GitHub
parent f79a45e7e6
commit 26d3716ae7
981 changed files with 14545 additions and 24213 deletions

View File

@ -0,0 +1,36 @@
import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql';
import { StringWithAggregatesFilter } from '../prisma/string-with-aggregates-filter.input';
import { DateTimeWithAggregatesFilter } from '../prisma/date-time-with-aggregates-filter.input';
import { DateTimeNullableWithAggregatesFilter } from '../prisma/date-time-nullable-with-aggregates-filter.input';
@InputType()
export class WorkspaceScalarWhereWithAggregatesInput {
@Field(() => [WorkspaceScalarWhereWithAggregatesInput], {nullable:true})
AND?: Array<WorkspaceScalarWhereWithAggregatesInput>;
@Field(() => [WorkspaceScalarWhereWithAggregatesInput], {nullable:true})
OR?: Array<WorkspaceScalarWhereWithAggregatesInput>;
@Field(() => [WorkspaceScalarWhereWithAggregatesInput], {nullable:true})
NOT?: Array<WorkspaceScalarWhereWithAggregatesInput>;
@Field(() => StringWithAggregatesFilter, {nullable:true})
id?: StringWithAggregatesFilter;
@Field(() => DateTimeWithAggregatesFilter, {nullable:true})
createdAt?: DateTimeWithAggregatesFilter;
@Field(() => DateTimeWithAggregatesFilter, {nullable:true})
updatedAt?: DateTimeWithAggregatesFilter;
@Field(() => DateTimeNullableWithAggregatesFilter, {nullable:true})
deletedAt?: DateTimeNullableWithAggregatesFilter;
@Field(() => StringWithAggregatesFilter, {nullable:true})
domainName?: StringWithAggregatesFilter;
@Field(() => StringWithAggregatesFilter, {nullable:true})
displayName?: StringWithAggregatesFilter;
}