feat: clean prisma file, add validation, add prisma editor (#472)
This commit is contained in:
@ -2,12 +2,15 @@ import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { UserCreateManyInput } from './user-create-many.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { ValidateNested } from 'class-validator';
|
||||
|
||||
@ArgsType()
|
||||
export class CreateManyUserArgs {
|
||||
|
||||
@Field(() => [UserCreateManyInput], {nullable:false})
|
||||
@Type(() => UserCreateManyInput)
|
||||
@ValidateNested({each: true})
|
||||
@Type(() => UserCreateManyInput)
|
||||
data!: Array<UserCreateManyInput>;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
|
||||
@ -2,11 +2,14 @@ import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { UserCreateInput } from './user-create.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { ValidateNested } from 'class-validator';
|
||||
|
||||
@ArgsType()
|
||||
export class CreateOneUserArgs {
|
||||
|
||||
@Field(() => UserCreateInput, {nullable:false})
|
||||
@Type(() => UserCreateInput)
|
||||
@ValidateNested({each: true})
|
||||
@Type(() => UserCreateInput)
|
||||
data!: UserCreateInput;
|
||||
}
|
||||
|
||||
@ -2,6 +2,7 @@ import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { UserUpdateManyMutationInput } from './user-update-many-mutation.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { ValidateNested } from 'class-validator';
|
||||
import { UserWhereInput } from './user-where.input';
|
||||
|
||||
@ArgsType()
|
||||
@ -9,6 +10,8 @@ export class UpdateManyUserArgs {
|
||||
|
||||
@Field(() => UserUpdateManyMutationInput, {nullable:false})
|
||||
@Type(() => UserUpdateManyMutationInput)
|
||||
@ValidateNested({each: true})
|
||||
@Type(() => UserUpdateManyMutationInput)
|
||||
data!: UserUpdateManyMutationInput;
|
||||
|
||||
@Field(() => UserWhereInput, {nullable:true})
|
||||
|
||||
@ -2,6 +2,7 @@ import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { UserUpdateInput } from './user-update.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { ValidateNested } from 'class-validator';
|
||||
import { UserWhereUniqueInput } from './user-where-unique.input';
|
||||
|
||||
@ArgsType()
|
||||
@ -9,6 +10,8 @@ export class UpdateOneUserArgs {
|
||||
|
||||
@Field(() => UserUpdateInput, {nullable:false})
|
||||
@Type(() => UserUpdateInput)
|
||||
@ValidateNested({each: true})
|
||||
@Type(() => UserUpdateInput)
|
||||
data!: UserUpdateInput;
|
||||
|
||||
@Field(() => UserWhereUniqueInput, {nullable:false})
|
||||
|
||||
@ -8,27 +8,15 @@ export class UserCountAggregateInput {
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
id?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
createdAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
updatedAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
deletedAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
lastSeen?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
disabled?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
displayName?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
email?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
emailVerified?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
avatarUrl?: true;
|
||||
|
||||
@ -38,14 +26,26 @@ export class UserCountAggregateInput {
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
phoneNumber?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
lastSeen?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
disabled?: true;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
emailVerified?: true;
|
||||
metadata?: true;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
metadata?: true;
|
||||
createdAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
updatedAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
_all?: true;
|
||||
|
||||
@ -9,27 +9,15 @@ export class UserCountAggregate {
|
||||
@Field(() => Int, {nullable:false})
|
||||
id!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
createdAt!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
updatedAt!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
deletedAt!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
lastSeen!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
disabled!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
displayName!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
email!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
emailVerified!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
avatarUrl!: number;
|
||||
|
||||
@ -39,14 +27,26 @@ export class UserCountAggregate {
|
||||
@Field(() => Int, {nullable:false})
|
||||
phoneNumber!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
lastSeen!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
disabled!: number;
|
||||
|
||||
@HideField()
|
||||
passwordHash!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
emailVerified!: number;
|
||||
metadata!: number;
|
||||
|
||||
@HideField()
|
||||
deletedAt!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
metadata!: number;
|
||||
createdAt!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
updatedAt!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
_all!: number;
|
||||
|
||||
@ -9,27 +9,15 @@ export class UserCountOrderByAggregateInput {
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
id?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
createdAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
updatedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
deletedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
lastSeen?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
disabled?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
displayName?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
email?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
emailVerified?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
avatarUrl?: keyof typeof SortOrder;
|
||||
|
||||
@ -39,12 +27,24 @@ export class UserCountOrderByAggregateInput {
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
phoneNumber?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
lastSeen?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
disabled?: keyof typeof SortOrder;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
emailVerified?: keyof typeof SortOrder;
|
||||
metadata?: keyof typeof SortOrder;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
metadata?: keyof typeof SortOrder;
|
||||
createdAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
updatedAt?: keyof typeof SortOrder;
|
||||
}
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { GraphQLJSON } from 'graphql-type-json';
|
||||
|
||||
@ -7,44 +8,62 @@ import { GraphQLJSON } from 'graphql-type-json';
|
||||
export class UserCreateManyInput {
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
id?: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
displayName!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
@Validator.IsEmail()
|
||||
email!: string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
@Validator.IsBoolean()
|
||||
@Validator.IsOptional()
|
||||
emailVerified?: boolean;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
avatarUrl?: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
@Validator.IsString()
|
||||
locale!: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
phoneNumber?: string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
@Validator.IsDate()
|
||||
@Validator.IsOptional()
|
||||
lastSeen?: Date | string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
@Validator.IsBoolean()
|
||||
@Validator.IsOptional()
|
||||
disabled?: boolean;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: string;
|
||||
|
||||
@Field(() => GraphQLJSON, {nullable:true})
|
||||
@Validator.IsJSON()
|
||||
@Validator.IsOptional()
|
||||
metadata?: any;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
lastSeen?: Date | string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
disabled?: boolean;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
displayName!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
email!: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
avatarUrl?: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
locale!: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
phoneNumber?: string;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
emailVerified?: boolean;
|
||||
|
||||
@Field(() => GraphQLJSON, {nullable:true})
|
||||
metadata?: any;
|
||||
}
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { GraphQLJSON } from 'graphql-type-json';
|
||||
import { WorkspaceMemberCreateNestedOneWithoutUserInput } from '../workspace-member/workspace-member-create-nested-one-without-user.input';
|
||||
@ -10,47 +11,65 @@ import { RefreshTokenCreateNestedManyWithoutUserInput } from '../refresh-token/r
|
||||
export class UserCreateWithoutCommentsInput {
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
id?: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
displayName!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
@Validator.IsEmail()
|
||||
email!: string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
@Validator.IsBoolean()
|
||||
@Validator.IsOptional()
|
||||
emailVerified?: boolean;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
avatarUrl?: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
@Validator.IsString()
|
||||
locale!: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
phoneNumber?: string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
@Validator.IsDate()
|
||||
@Validator.IsOptional()
|
||||
lastSeen?: Date | string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
@Validator.IsBoolean()
|
||||
@Validator.IsOptional()
|
||||
disabled?: boolean;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: string;
|
||||
|
||||
@Field(() => GraphQLJSON, {nullable:true})
|
||||
@Validator.IsJSON()
|
||||
@Validator.IsOptional()
|
||||
metadata?: any;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
lastSeen?: Date | string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
disabled?: boolean;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
displayName!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
email!: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
avatarUrl?: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
locale!: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
phoneNumber?: string;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
emailVerified?: boolean;
|
||||
|
||||
@Field(() => GraphQLJSON, {nullable:true})
|
||||
metadata?: any;
|
||||
|
||||
@HideField()
|
||||
workspaceMember?: WorkspaceMemberCreateNestedOneWithoutUserInput;
|
||||
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { GraphQLJSON } from 'graphql-type-json';
|
||||
import { WorkspaceMemberCreateNestedOneWithoutUserInput } from '../workspace-member/workspace-member-create-nested-one-without-user.input';
|
||||
@ -10,47 +11,65 @@ import { CommentCreateNestedManyWithoutAuthorInput } from '../comment/comment-cr
|
||||
export class UserCreateWithoutCompaniesInput {
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
id?: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
displayName!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
@Validator.IsEmail()
|
||||
email!: string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
@Validator.IsBoolean()
|
||||
@Validator.IsOptional()
|
||||
emailVerified?: boolean;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
avatarUrl?: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
@Validator.IsString()
|
||||
locale!: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
phoneNumber?: string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
@Validator.IsDate()
|
||||
@Validator.IsOptional()
|
||||
lastSeen?: Date | string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
@Validator.IsBoolean()
|
||||
@Validator.IsOptional()
|
||||
disabled?: boolean;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: string;
|
||||
|
||||
@Field(() => GraphQLJSON, {nullable:true})
|
||||
@Validator.IsJSON()
|
||||
@Validator.IsOptional()
|
||||
metadata?: any;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
lastSeen?: Date | string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
disabled?: boolean;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
displayName!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
email!: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
avatarUrl?: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
locale!: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
phoneNumber?: string;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
emailVerified?: boolean;
|
||||
|
||||
@Field(() => GraphQLJSON, {nullable:true})
|
||||
metadata?: any;
|
||||
|
||||
@HideField()
|
||||
workspaceMember?: WorkspaceMemberCreateNestedOneWithoutUserInput;
|
||||
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { GraphQLJSON } from 'graphql-type-json';
|
||||
import { WorkspaceMemberCreateNestedOneWithoutUserInput } from '../workspace-member/workspace-member-create-nested-one-without-user.input';
|
||||
@ -10,47 +11,65 @@ import { CommentCreateNestedManyWithoutAuthorInput } from '../comment/comment-cr
|
||||
export class UserCreateWithoutRefreshTokensInput {
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
id?: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
displayName!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
@Validator.IsEmail()
|
||||
email!: string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
@Validator.IsBoolean()
|
||||
@Validator.IsOptional()
|
||||
emailVerified?: boolean;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
avatarUrl?: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
@Validator.IsString()
|
||||
locale!: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
phoneNumber?: string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
@Validator.IsDate()
|
||||
@Validator.IsOptional()
|
||||
lastSeen?: Date | string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
@Validator.IsBoolean()
|
||||
@Validator.IsOptional()
|
||||
disabled?: boolean;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: string;
|
||||
|
||||
@Field(() => GraphQLJSON, {nullable:true})
|
||||
@Validator.IsJSON()
|
||||
@Validator.IsOptional()
|
||||
metadata?: any;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
lastSeen?: Date | string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
disabled?: boolean;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
displayName!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
email!: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
avatarUrl?: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
locale!: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
phoneNumber?: string;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
emailVerified?: boolean;
|
||||
|
||||
@Field(() => GraphQLJSON, {nullable:true})
|
||||
metadata?: any;
|
||||
|
||||
@HideField()
|
||||
workspaceMember?: WorkspaceMemberCreateNestedOneWithoutUserInput;
|
||||
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { GraphQLJSON } from 'graphql-type-json';
|
||||
import { CompanyCreateNestedManyWithoutAccountOwnerInput } from '../company/company-create-nested-many-without-account-owner.input';
|
||||
@ -10,47 +11,65 @@ import { CommentCreateNestedManyWithoutAuthorInput } from '../comment/comment-cr
|
||||
export class UserCreateWithoutWorkspaceMemberInput {
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
id?: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
displayName!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
@Validator.IsEmail()
|
||||
email!: string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
@Validator.IsBoolean()
|
||||
@Validator.IsOptional()
|
||||
emailVerified?: boolean;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
avatarUrl?: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
@Validator.IsString()
|
||||
locale!: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
phoneNumber?: string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
@Validator.IsDate()
|
||||
@Validator.IsOptional()
|
||||
lastSeen?: Date | string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
@Validator.IsBoolean()
|
||||
@Validator.IsOptional()
|
||||
disabled?: boolean;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: string;
|
||||
|
||||
@Field(() => GraphQLJSON, {nullable:true})
|
||||
@Validator.IsJSON()
|
||||
@Validator.IsOptional()
|
||||
metadata?: any;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
lastSeen?: Date | string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
disabled?: boolean;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
displayName!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
email!: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
avatarUrl?: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
locale!: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
phoneNumber?: string;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
emailVerified?: boolean;
|
||||
|
||||
@Field(() => GraphQLJSON, {nullable:true})
|
||||
metadata?: any;
|
||||
|
||||
@Field(() => CompanyCreateNestedManyWithoutAccountOwnerInput, {nullable:true})
|
||||
companies?: CompanyCreateNestedManyWithoutAccountOwnerInput;
|
||||
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { GraphQLJSON } from 'graphql-type-json';
|
||||
import { WorkspaceMemberCreateNestedOneWithoutUserInput } from '../workspace-member/workspace-member-create-nested-one-without-user.input';
|
||||
@ -11,47 +12,65 @@ import { CommentCreateNestedManyWithoutAuthorInput } from '../comment/comment-cr
|
||||
export class UserCreateInput {
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
id?: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
displayName!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
@Validator.IsEmail()
|
||||
email!: string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
@Validator.IsBoolean()
|
||||
@Validator.IsOptional()
|
||||
emailVerified?: boolean;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
avatarUrl?: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
@Validator.IsString()
|
||||
locale!: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
phoneNumber?: string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
@Validator.IsDate()
|
||||
@Validator.IsOptional()
|
||||
lastSeen?: Date | string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
@Validator.IsBoolean()
|
||||
@Validator.IsOptional()
|
||||
disabled?: boolean;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: string;
|
||||
|
||||
@Field(() => GraphQLJSON, {nullable:true})
|
||||
@Validator.IsJSON()
|
||||
@Validator.IsOptional()
|
||||
metadata?: any;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
lastSeen?: Date | string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
disabled?: boolean;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
displayName!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
email!: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
avatarUrl?: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
locale!: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
phoneNumber?: string;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
emailVerified?: boolean;
|
||||
|
||||
@Field(() => GraphQLJSON, {nullable:true})
|
||||
metadata?: any;
|
||||
|
||||
@HideField()
|
||||
workspaceMember?: WorkspaceMemberCreateNestedOneWithoutUserInput;
|
||||
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { GraphQLJSON } from 'graphql-type-json';
|
||||
import { UserCountAggregate } from './user-count-aggregate.output';
|
||||
@ -10,47 +11,65 @@ import { UserMaxAggregate } from './user-max-aggregate.output';
|
||||
export class UserGroupBy {
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
id!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
displayName!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
@Validator.IsEmail()
|
||||
email!: string;
|
||||
|
||||
@Field(() => Boolean, {nullable:false})
|
||||
@Validator.IsBoolean()
|
||||
@Validator.IsOptional()
|
||||
emailVerified!: boolean;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
avatarUrl?: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
@Validator.IsString()
|
||||
locale!: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
phoneNumber?: string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
@Validator.IsDate()
|
||||
@Validator.IsOptional()
|
||||
lastSeen?: Date | string;
|
||||
|
||||
@Field(() => Boolean, {nullable:false})
|
||||
@Validator.IsBoolean()
|
||||
@Validator.IsOptional()
|
||||
disabled!: boolean;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: string;
|
||||
|
||||
@Field(() => GraphQLJSON, {nullable:true})
|
||||
@Validator.IsJSON()
|
||||
@Validator.IsOptional()
|
||||
metadata?: any;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:false})
|
||||
createdAt!: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:false})
|
||||
updatedAt!: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
lastSeen?: Date | string;
|
||||
|
||||
@Field(() => Boolean, {nullable:false})
|
||||
disabled!: boolean;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
displayName!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
email!: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
avatarUrl?: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
locale!: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
phoneNumber?: string;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: string;
|
||||
|
||||
@Field(() => Boolean, {nullable:false})
|
||||
emailVerified!: boolean;
|
||||
|
||||
@Field(() => GraphQLJSON, {nullable:true})
|
||||
metadata?: any;
|
||||
|
||||
@Field(() => UserCountAggregate, {nullable:true})
|
||||
_count?: UserCountAggregate;
|
||||
|
||||
|
||||
@ -8,27 +8,15 @@ export class UserMaxAggregateInput {
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
id?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
createdAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
updatedAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
deletedAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
lastSeen?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
disabled?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
displayName?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
email?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
emailVerified?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
avatarUrl?: true;
|
||||
|
||||
@ -38,9 +26,21 @@ export class UserMaxAggregateInput {
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
phoneNumber?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
lastSeen?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
disabled?: true;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: true;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
emailVerified?: true;
|
||||
createdAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
updatedAt?: true;
|
||||
}
|
||||
|
||||
@ -1,46 +1,63 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@ObjectType()
|
||||
export class UserMaxAggregate {
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
id?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
displayName?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsEmail()
|
||||
email?: string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
@Validator.IsBoolean()
|
||||
@Validator.IsOptional()
|
||||
emailVerified?: boolean;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
avatarUrl?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
locale?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
phoneNumber?: string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
@Validator.IsDate()
|
||||
@Validator.IsOptional()
|
||||
lastSeen?: Date | string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
@Validator.IsBoolean()
|
||||
@Validator.IsOptional()
|
||||
disabled?: boolean;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: string;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
lastSeen?: Date | string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
disabled?: boolean;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
displayName?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
email?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
avatarUrl?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
locale?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
phoneNumber?: string;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
emailVerified?: boolean;
|
||||
}
|
||||
|
||||
@ -9,27 +9,15 @@ export class UserMaxOrderByAggregateInput {
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
id?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
createdAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
updatedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
deletedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
lastSeen?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
disabled?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
displayName?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
email?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
emailVerified?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
avatarUrl?: keyof typeof SortOrder;
|
||||
|
||||
@ -39,9 +27,21 @@ export class UserMaxOrderByAggregateInput {
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
phoneNumber?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
lastSeen?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
disabled?: keyof typeof SortOrder;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: keyof typeof SortOrder;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
emailVerified?: keyof typeof SortOrder;
|
||||
createdAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
updatedAt?: keyof typeof SortOrder;
|
||||
}
|
||||
|
||||
@ -8,27 +8,15 @@ export class UserMinAggregateInput {
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
id?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
createdAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
updatedAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
deletedAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
lastSeen?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
disabled?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
displayName?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
email?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
emailVerified?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
avatarUrl?: true;
|
||||
|
||||
@ -38,9 +26,21 @@ export class UserMinAggregateInput {
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
phoneNumber?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
lastSeen?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
disabled?: true;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: true;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
emailVerified?: true;
|
||||
createdAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
updatedAt?: true;
|
||||
}
|
||||
|
||||
@ -1,46 +1,63 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@ObjectType()
|
||||
export class UserMinAggregate {
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
id?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
displayName?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsEmail()
|
||||
email?: string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
@Validator.IsBoolean()
|
||||
@Validator.IsOptional()
|
||||
emailVerified?: boolean;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
avatarUrl?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
locale?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
phoneNumber?: string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
@Validator.IsDate()
|
||||
@Validator.IsOptional()
|
||||
lastSeen?: Date | string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
@Validator.IsBoolean()
|
||||
@Validator.IsOptional()
|
||||
disabled?: boolean;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: string;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
lastSeen?: Date | string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
disabled?: boolean;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
displayName?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
email?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
avatarUrl?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
locale?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
phoneNumber?: string;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
emailVerified?: boolean;
|
||||
}
|
||||
|
||||
@ -9,27 +9,15 @@ export class UserMinOrderByAggregateInput {
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
id?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
createdAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
updatedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
deletedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
lastSeen?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
disabled?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
displayName?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
email?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
emailVerified?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
avatarUrl?: keyof typeof SortOrder;
|
||||
|
||||
@ -39,9 +27,21 @@ export class UserMinOrderByAggregateInput {
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
phoneNumber?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
lastSeen?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
disabled?: keyof typeof SortOrder;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: keyof typeof SortOrder;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
emailVerified?: keyof typeof SortOrder;
|
||||
createdAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
updatedAt?: keyof typeof SortOrder;
|
||||
}
|
||||
|
||||
@ -12,27 +12,15 @@ export class UserOrderByWithAggregationInput {
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
id?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
createdAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
updatedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
deletedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
lastSeen?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
disabled?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
displayName?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
email?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
emailVerified?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
avatarUrl?: keyof typeof SortOrder;
|
||||
|
||||
@ -42,14 +30,26 @@ export class UserOrderByWithAggregationInput {
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
phoneNumber?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
lastSeen?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
disabled?: keyof typeof SortOrder;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
emailVerified?: keyof typeof SortOrder;
|
||||
metadata?: keyof typeof SortOrder;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
metadata?: keyof typeof SortOrder;
|
||||
createdAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
updatedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => UserCountOrderByAggregateInput, {nullable:true})
|
||||
_count?: UserCountOrderByAggregateInput;
|
||||
|
||||
@ -13,27 +13,15 @@ export class UserOrderByWithRelationInput {
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
id?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
createdAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
updatedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
deletedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
lastSeen?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
disabled?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
displayName?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
email?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
emailVerified?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
avatarUrl?: keyof typeof SortOrder;
|
||||
|
||||
@ -43,14 +31,26 @@ export class UserOrderByWithRelationInput {
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
phoneNumber?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
lastSeen?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
disabled?: keyof typeof SortOrder;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
emailVerified?: keyof typeof SortOrder;
|
||||
metadata?: keyof typeof SortOrder;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
metadata?: keyof typeof SortOrder;
|
||||
createdAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
updatedAt?: keyof typeof SortOrder;
|
||||
|
||||
@HideField()
|
||||
workspaceMember?: WorkspaceMemberOrderByWithRelationInput;
|
||||
|
||||
@ -2,19 +2,19 @@ import { registerEnumType } from '@nestjs/graphql';
|
||||
|
||||
export enum UserScalarFieldEnum {
|
||||
id = "id",
|
||||
createdAt = "createdAt",
|
||||
updatedAt = "updatedAt",
|
||||
deletedAt = "deletedAt",
|
||||
lastSeen = "lastSeen",
|
||||
disabled = "disabled",
|
||||
displayName = "displayName",
|
||||
email = "email",
|
||||
emailVerified = "emailVerified",
|
||||
avatarUrl = "avatarUrl",
|
||||
locale = "locale",
|
||||
phoneNumber = "phoneNumber",
|
||||
lastSeen = "lastSeen",
|
||||
disabled = "disabled",
|
||||
passwordHash = "passwordHash",
|
||||
emailVerified = "emailVerified",
|
||||
metadata = "metadata"
|
||||
metadata = "metadata",
|
||||
deletedAt = "deletedAt",
|
||||
createdAt = "createdAt",
|
||||
updatedAt = "updatedAt"
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -1,12 +1,12 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringWithAggregatesFilter } from '../prisma/string-with-aggregates-filter.input';
|
||||
import { DateTimeWithAggregatesFilter } from '../prisma/date-time-with-aggregates-filter.input';
|
||||
import { DateTimeNullableWithAggregatesFilter } from '../prisma/date-time-nullable-with-aggregates-filter.input';
|
||||
import { BoolWithAggregatesFilter } from '../prisma/bool-with-aggregates-filter.input';
|
||||
import { StringNullableWithAggregatesFilter } from '../prisma/string-nullable-with-aggregates-filter.input';
|
||||
import { DateTimeNullableWithAggregatesFilter } from '../prisma/date-time-nullable-with-aggregates-filter.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { JsonNullableWithAggregatesFilter } from '../prisma/json-nullable-with-aggregates-filter.input';
|
||||
import { DateTimeWithAggregatesFilter } from '../prisma/date-time-with-aggregates-filter.input';
|
||||
|
||||
@InputType()
|
||||
export class UserScalarWhereWithAggregatesInput {
|
||||
@ -23,27 +23,15 @@ export class UserScalarWhereWithAggregatesInput {
|
||||
@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(() => DateTimeNullableWithAggregatesFilter, {nullable:true})
|
||||
lastSeen?: DateTimeNullableWithAggregatesFilter;
|
||||
|
||||
@Field(() => BoolWithAggregatesFilter, {nullable:true})
|
||||
disabled?: BoolWithAggregatesFilter;
|
||||
|
||||
@Field(() => StringWithAggregatesFilter, {nullable:true})
|
||||
displayName?: StringWithAggregatesFilter;
|
||||
|
||||
@Field(() => StringWithAggregatesFilter, {nullable:true})
|
||||
email?: StringWithAggregatesFilter;
|
||||
|
||||
@Field(() => BoolWithAggregatesFilter, {nullable:true})
|
||||
emailVerified?: BoolWithAggregatesFilter;
|
||||
|
||||
@Field(() => StringNullableWithAggregatesFilter, {nullable:true})
|
||||
avatarUrl?: StringNullableWithAggregatesFilter;
|
||||
|
||||
@ -53,12 +41,24 @@ export class UserScalarWhereWithAggregatesInput {
|
||||
@Field(() => StringNullableWithAggregatesFilter, {nullable:true})
|
||||
phoneNumber?: StringNullableWithAggregatesFilter;
|
||||
|
||||
@Field(() => DateTimeNullableWithAggregatesFilter, {nullable:true})
|
||||
lastSeen?: DateTimeNullableWithAggregatesFilter;
|
||||
|
||||
@Field(() => BoolWithAggregatesFilter, {nullable:true})
|
||||
disabled?: BoolWithAggregatesFilter;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: StringNullableWithAggregatesFilter;
|
||||
|
||||
@Field(() => BoolWithAggregatesFilter, {nullable:true})
|
||||
emailVerified?: BoolWithAggregatesFilter;
|
||||
|
||||
@Field(() => JsonNullableWithAggregatesFilter, {nullable:true})
|
||||
metadata?: JsonNullableWithAggregatesFilter;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: DateTimeNullableWithAggregatesFilter;
|
||||
|
||||
@Field(() => DateTimeWithAggregatesFilter, {nullable:true})
|
||||
createdAt?: DateTimeWithAggregatesFilter;
|
||||
|
||||
@Field(() => DateTimeWithAggregatesFilter, {nullable:true})
|
||||
updatedAt?: DateTimeWithAggregatesFilter;
|
||||
}
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { GraphQLJSON } from 'graphql-type-json';
|
||||
import { WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput } from '../workspace-member/workspace-member-unchecked-create-nested-one-without-user.input';
|
||||
@ -10,47 +11,65 @@ import { RefreshTokenUncheckedCreateNestedManyWithoutUserInput } from '../refres
|
||||
export class UserUncheckedCreateWithoutCommentsInput {
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
id?: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
displayName!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
@Validator.IsEmail()
|
||||
email!: string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
@Validator.IsBoolean()
|
||||
@Validator.IsOptional()
|
||||
emailVerified?: boolean;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
avatarUrl?: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
@Validator.IsString()
|
||||
locale!: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
phoneNumber?: string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
@Validator.IsDate()
|
||||
@Validator.IsOptional()
|
||||
lastSeen?: Date | string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
@Validator.IsBoolean()
|
||||
@Validator.IsOptional()
|
||||
disabled?: boolean;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: string;
|
||||
|
||||
@Field(() => GraphQLJSON, {nullable:true})
|
||||
@Validator.IsJSON()
|
||||
@Validator.IsOptional()
|
||||
metadata?: any;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
lastSeen?: Date | string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
disabled?: boolean;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
displayName!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
email!: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
avatarUrl?: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
locale!: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
phoneNumber?: string;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
emailVerified?: boolean;
|
||||
|
||||
@Field(() => GraphQLJSON, {nullable:true})
|
||||
metadata?: any;
|
||||
|
||||
@HideField()
|
||||
workspaceMember?: WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput;
|
||||
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { GraphQLJSON } from 'graphql-type-json';
|
||||
import { WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput } from '../workspace-member/workspace-member-unchecked-create-nested-one-without-user.input';
|
||||
@ -10,47 +11,65 @@ import { CommentUncheckedCreateNestedManyWithoutAuthorInput } from '../comment/c
|
||||
export class UserUncheckedCreateWithoutCompaniesInput {
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
id?: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
displayName!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
@Validator.IsEmail()
|
||||
email!: string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
@Validator.IsBoolean()
|
||||
@Validator.IsOptional()
|
||||
emailVerified?: boolean;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
avatarUrl?: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
@Validator.IsString()
|
||||
locale!: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
phoneNumber?: string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
@Validator.IsDate()
|
||||
@Validator.IsOptional()
|
||||
lastSeen?: Date | string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
@Validator.IsBoolean()
|
||||
@Validator.IsOptional()
|
||||
disabled?: boolean;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: string;
|
||||
|
||||
@Field(() => GraphQLJSON, {nullable:true})
|
||||
@Validator.IsJSON()
|
||||
@Validator.IsOptional()
|
||||
metadata?: any;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
lastSeen?: Date | string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
disabled?: boolean;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
displayName!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
email!: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
avatarUrl?: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
locale!: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
phoneNumber?: string;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
emailVerified?: boolean;
|
||||
|
||||
@Field(() => GraphQLJSON, {nullable:true})
|
||||
metadata?: any;
|
||||
|
||||
@HideField()
|
||||
workspaceMember?: WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput;
|
||||
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { GraphQLJSON } from 'graphql-type-json';
|
||||
import { WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput } from '../workspace-member/workspace-member-unchecked-create-nested-one-without-user.input';
|
||||
@ -10,47 +11,65 @@ import { CommentUncheckedCreateNestedManyWithoutAuthorInput } from '../comment/c
|
||||
export class UserUncheckedCreateWithoutRefreshTokensInput {
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
id?: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
displayName!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
@Validator.IsEmail()
|
||||
email!: string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
@Validator.IsBoolean()
|
||||
@Validator.IsOptional()
|
||||
emailVerified?: boolean;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
avatarUrl?: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
@Validator.IsString()
|
||||
locale!: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
phoneNumber?: string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
@Validator.IsDate()
|
||||
@Validator.IsOptional()
|
||||
lastSeen?: Date | string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
@Validator.IsBoolean()
|
||||
@Validator.IsOptional()
|
||||
disabled?: boolean;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: string;
|
||||
|
||||
@Field(() => GraphQLJSON, {nullable:true})
|
||||
@Validator.IsJSON()
|
||||
@Validator.IsOptional()
|
||||
metadata?: any;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
lastSeen?: Date | string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
disabled?: boolean;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
displayName!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
email!: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
avatarUrl?: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
locale!: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
phoneNumber?: string;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
emailVerified?: boolean;
|
||||
|
||||
@Field(() => GraphQLJSON, {nullable:true})
|
||||
metadata?: any;
|
||||
|
||||
@HideField()
|
||||
workspaceMember?: WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput;
|
||||
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { GraphQLJSON } from 'graphql-type-json';
|
||||
import { CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput } from '../company/company-unchecked-create-nested-many-without-account-owner.input';
|
||||
@ -10,47 +11,65 @@ import { CommentUncheckedCreateNestedManyWithoutAuthorInput } from '../comment/c
|
||||
export class UserUncheckedCreateWithoutWorkspaceMemberInput {
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
id?: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
displayName!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
@Validator.IsEmail()
|
||||
email!: string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
@Validator.IsBoolean()
|
||||
@Validator.IsOptional()
|
||||
emailVerified?: boolean;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
avatarUrl?: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
@Validator.IsString()
|
||||
locale!: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
phoneNumber?: string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
@Validator.IsDate()
|
||||
@Validator.IsOptional()
|
||||
lastSeen?: Date | string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
@Validator.IsBoolean()
|
||||
@Validator.IsOptional()
|
||||
disabled?: boolean;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: string;
|
||||
|
||||
@Field(() => GraphQLJSON, {nullable:true})
|
||||
@Validator.IsJSON()
|
||||
@Validator.IsOptional()
|
||||
metadata?: any;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
lastSeen?: Date | string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
disabled?: boolean;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
displayName!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
email!: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
avatarUrl?: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
locale!: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
phoneNumber?: string;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
emailVerified?: boolean;
|
||||
|
||||
@Field(() => GraphQLJSON, {nullable:true})
|
||||
metadata?: any;
|
||||
|
||||
@Field(() => CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput, {nullable:true})
|
||||
companies?: CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput;
|
||||
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { GraphQLJSON } from 'graphql-type-json';
|
||||
import { WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput } from '../workspace-member/workspace-member-unchecked-create-nested-one-without-user.input';
|
||||
@ -11,47 +12,65 @@ import { CommentUncheckedCreateNestedManyWithoutAuthorInput } from '../comment/c
|
||||
export class UserUncheckedCreateInput {
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
id?: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
displayName!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
@Validator.IsEmail()
|
||||
email!: string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
@Validator.IsBoolean()
|
||||
@Validator.IsOptional()
|
||||
emailVerified?: boolean;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
avatarUrl?: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
@Validator.IsString()
|
||||
locale!: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
phoneNumber?: string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
@Validator.IsDate()
|
||||
@Validator.IsOptional()
|
||||
lastSeen?: Date | string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
@Validator.IsBoolean()
|
||||
@Validator.IsOptional()
|
||||
disabled?: boolean;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: string;
|
||||
|
||||
@Field(() => GraphQLJSON, {nullable:true})
|
||||
@Validator.IsJSON()
|
||||
@Validator.IsOptional()
|
||||
metadata?: any;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
lastSeen?: Date | string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
disabled?: boolean;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
displayName!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
email!: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
avatarUrl?: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
locale!: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
phoneNumber?: string;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
emailVerified?: boolean;
|
||||
|
||||
@Field(() => GraphQLJSON, {nullable:true})
|
||||
metadata?: any;
|
||||
|
||||
@HideField()
|
||||
workspaceMember?: WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput;
|
||||
|
||||
|
||||
@ -1,12 +1,13 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { BoolFieldUpdateOperationsInput } from '../prisma/bool-field-update-operations.input';
|
||||
import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { GraphQLJSON } from 'graphql-type-json';
|
||||
import * as Validator from 'class-validator';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
|
||||
@InputType()
|
||||
export class UserUncheckedUpdateManyInput {
|
||||
@ -14,27 +15,15 @@ export class UserUncheckedUpdateManyInput {
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
lastSeen?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
disabled?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
displayName?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
email?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
emailVerified?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
avatarUrl?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@ -44,12 +33,26 @@ export class UserUncheckedUpdateManyInput {
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
phoneNumber?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
lastSeen?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
disabled?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
emailVerified?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => GraphQLJSON, {nullable:true})
|
||||
@Validator.IsJSON()
|
||||
@Validator.IsOptional()
|
||||
metadata?: any;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
}
|
||||
|
||||
@ -1,12 +1,13 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { BoolFieldUpdateOperationsInput } from '../prisma/bool-field-update-operations.input';
|
||||
import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { GraphQLJSON } from 'graphql-type-json';
|
||||
import * as Validator from 'class-validator';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput } from '../workspace-member/workspace-member-unchecked-update-one-without-user-nested.input';
|
||||
import { CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput } from '../company/company-unchecked-update-many-without-account-owner-nested.input';
|
||||
import { RefreshTokenUncheckedUpdateManyWithoutUserNestedInput } from '../refresh-token/refresh-token-unchecked-update-many-without-user-nested.input';
|
||||
@ -17,27 +18,15 @@ export class UserUncheckedUpdateWithoutCommentsInput {
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
lastSeen?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
disabled?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
displayName?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
email?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
emailVerified?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
avatarUrl?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@ -47,15 +36,29 @@ export class UserUncheckedUpdateWithoutCommentsInput {
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
phoneNumber?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
lastSeen?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
disabled?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
emailVerified?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => GraphQLJSON, {nullable:true})
|
||||
@Validator.IsJSON()
|
||||
@Validator.IsOptional()
|
||||
metadata?: any;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
workspaceMember?: WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput;
|
||||
|
||||
|
||||
@ -1,12 +1,13 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { BoolFieldUpdateOperationsInput } from '../prisma/bool-field-update-operations.input';
|
||||
import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { GraphQLJSON } from 'graphql-type-json';
|
||||
import * as Validator from 'class-validator';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput } from '../workspace-member/workspace-member-unchecked-update-one-without-user-nested.input';
|
||||
import { RefreshTokenUncheckedUpdateManyWithoutUserNestedInput } from '../refresh-token/refresh-token-unchecked-update-many-without-user-nested.input';
|
||||
import { CommentUncheckedUpdateManyWithoutAuthorNestedInput } from '../comment/comment-unchecked-update-many-without-author-nested.input';
|
||||
@ -17,27 +18,15 @@ export class UserUncheckedUpdateWithoutCompaniesInput {
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
lastSeen?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
disabled?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
displayName?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
email?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
emailVerified?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
avatarUrl?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@ -47,15 +36,29 @@ export class UserUncheckedUpdateWithoutCompaniesInput {
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
phoneNumber?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
lastSeen?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
disabled?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
emailVerified?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => GraphQLJSON, {nullable:true})
|
||||
@Validator.IsJSON()
|
||||
@Validator.IsOptional()
|
||||
metadata?: any;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
workspaceMember?: WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput;
|
||||
|
||||
|
||||
@ -1,12 +1,13 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { BoolFieldUpdateOperationsInput } from '../prisma/bool-field-update-operations.input';
|
||||
import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { GraphQLJSON } from 'graphql-type-json';
|
||||
import * as Validator from 'class-validator';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput } from '../workspace-member/workspace-member-unchecked-update-one-without-user-nested.input';
|
||||
import { CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput } from '../company/company-unchecked-update-many-without-account-owner-nested.input';
|
||||
import { CommentUncheckedUpdateManyWithoutAuthorNestedInput } from '../comment/comment-unchecked-update-many-without-author-nested.input';
|
||||
@ -17,27 +18,15 @@ export class UserUncheckedUpdateWithoutRefreshTokensInput {
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
lastSeen?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
disabled?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
displayName?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
email?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
emailVerified?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
avatarUrl?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@ -47,15 +36,29 @@ export class UserUncheckedUpdateWithoutRefreshTokensInput {
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
phoneNumber?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
lastSeen?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
disabled?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
emailVerified?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => GraphQLJSON, {nullable:true})
|
||||
@Validator.IsJSON()
|
||||
@Validator.IsOptional()
|
||||
metadata?: any;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
workspaceMember?: WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput;
|
||||
|
||||
|
||||
@ -1,12 +1,13 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { BoolFieldUpdateOperationsInput } from '../prisma/bool-field-update-operations.input';
|
||||
import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { GraphQLJSON } from 'graphql-type-json';
|
||||
import * as Validator from 'class-validator';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput } from '../company/company-unchecked-update-many-without-account-owner-nested.input';
|
||||
import { RefreshTokenUncheckedUpdateManyWithoutUserNestedInput } from '../refresh-token/refresh-token-unchecked-update-many-without-user-nested.input';
|
||||
import { CommentUncheckedUpdateManyWithoutAuthorNestedInput } from '../comment/comment-unchecked-update-many-without-author-nested.input';
|
||||
@ -17,27 +18,15 @@ export class UserUncheckedUpdateWithoutWorkspaceMemberInput {
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
lastSeen?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
disabled?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
displayName?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
email?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
emailVerified?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
avatarUrl?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@ -47,15 +36,29 @@ export class UserUncheckedUpdateWithoutWorkspaceMemberInput {
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
phoneNumber?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
lastSeen?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
disabled?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
emailVerified?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => GraphQLJSON, {nullable:true})
|
||||
@Validator.IsJSON()
|
||||
@Validator.IsOptional()
|
||||
metadata?: any;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput, {nullable:true})
|
||||
companies?: CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput;
|
||||
|
||||
|
||||
@ -1,12 +1,13 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { BoolFieldUpdateOperationsInput } from '../prisma/bool-field-update-operations.input';
|
||||
import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { GraphQLJSON } from 'graphql-type-json';
|
||||
import * as Validator from 'class-validator';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput } from '../workspace-member/workspace-member-unchecked-update-one-without-user-nested.input';
|
||||
import { CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput } from '../company/company-unchecked-update-many-without-account-owner-nested.input';
|
||||
import { RefreshTokenUncheckedUpdateManyWithoutUserNestedInput } from '../refresh-token/refresh-token-unchecked-update-many-without-user-nested.input';
|
||||
@ -18,27 +19,15 @@ export class UserUncheckedUpdateInput {
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
lastSeen?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
disabled?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
displayName?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
email?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
emailVerified?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
avatarUrl?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@ -48,15 +37,29 @@ export class UserUncheckedUpdateInput {
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
phoneNumber?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
lastSeen?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
disabled?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
emailVerified?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => GraphQLJSON, {nullable:true})
|
||||
@Validator.IsJSON()
|
||||
@Validator.IsOptional()
|
||||
metadata?: any;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
workspaceMember?: WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput;
|
||||
|
||||
|
||||
@ -1,12 +1,13 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { BoolFieldUpdateOperationsInput } from '../prisma/bool-field-update-operations.input';
|
||||
import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { GraphQLJSON } from 'graphql-type-json';
|
||||
import * as Validator from 'class-validator';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
|
||||
@InputType()
|
||||
export class UserUpdateManyMutationInput {
|
||||
@ -14,27 +15,15 @@ export class UserUpdateManyMutationInput {
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
lastSeen?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
disabled?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
displayName?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
email?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
emailVerified?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
avatarUrl?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@ -44,12 +33,26 @@ export class UserUpdateManyMutationInput {
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
phoneNumber?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
lastSeen?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
disabled?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
emailVerified?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => GraphQLJSON, {nullable:true})
|
||||
@Validator.IsJSON()
|
||||
@Validator.IsOptional()
|
||||
metadata?: any;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
}
|
||||
|
||||
@ -1,12 +1,13 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { BoolFieldUpdateOperationsInput } from '../prisma/bool-field-update-operations.input';
|
||||
import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { GraphQLJSON } from 'graphql-type-json';
|
||||
import * as Validator from 'class-validator';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { WorkspaceMemberUpdateOneWithoutUserNestedInput } from '../workspace-member/workspace-member-update-one-without-user-nested.input';
|
||||
import { CompanyUpdateManyWithoutAccountOwnerNestedInput } from '../company/company-update-many-without-account-owner-nested.input';
|
||||
import { RefreshTokenUpdateManyWithoutUserNestedInput } from '../refresh-token/refresh-token-update-many-without-user-nested.input';
|
||||
@ -17,27 +18,15 @@ export class UserUpdateWithoutCommentsInput {
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
lastSeen?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
disabled?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
displayName?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
email?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
emailVerified?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
avatarUrl?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@ -47,15 +36,29 @@ export class UserUpdateWithoutCommentsInput {
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
phoneNumber?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
lastSeen?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
disabled?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
emailVerified?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => GraphQLJSON, {nullable:true})
|
||||
@Validator.IsJSON()
|
||||
@Validator.IsOptional()
|
||||
metadata?: any;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
workspaceMember?: WorkspaceMemberUpdateOneWithoutUserNestedInput;
|
||||
|
||||
|
||||
@ -1,12 +1,13 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { BoolFieldUpdateOperationsInput } from '../prisma/bool-field-update-operations.input';
|
||||
import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { GraphQLJSON } from 'graphql-type-json';
|
||||
import * as Validator from 'class-validator';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { WorkspaceMemberUpdateOneWithoutUserNestedInput } from '../workspace-member/workspace-member-update-one-without-user-nested.input';
|
||||
import { RefreshTokenUpdateManyWithoutUserNestedInput } from '../refresh-token/refresh-token-update-many-without-user-nested.input';
|
||||
import { CommentUpdateManyWithoutAuthorNestedInput } from '../comment/comment-update-many-without-author-nested.input';
|
||||
@ -17,27 +18,15 @@ export class UserUpdateWithoutCompaniesInput {
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
lastSeen?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
disabled?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
displayName?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
email?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
emailVerified?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
avatarUrl?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@ -47,15 +36,29 @@ export class UserUpdateWithoutCompaniesInput {
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
phoneNumber?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
lastSeen?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
disabled?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
emailVerified?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => GraphQLJSON, {nullable:true})
|
||||
@Validator.IsJSON()
|
||||
@Validator.IsOptional()
|
||||
metadata?: any;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
workspaceMember?: WorkspaceMemberUpdateOneWithoutUserNestedInput;
|
||||
|
||||
|
||||
@ -1,12 +1,13 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { BoolFieldUpdateOperationsInput } from '../prisma/bool-field-update-operations.input';
|
||||
import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { GraphQLJSON } from 'graphql-type-json';
|
||||
import * as Validator from 'class-validator';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { WorkspaceMemberUpdateOneWithoutUserNestedInput } from '../workspace-member/workspace-member-update-one-without-user-nested.input';
|
||||
import { CompanyUpdateManyWithoutAccountOwnerNestedInput } from '../company/company-update-many-without-account-owner-nested.input';
|
||||
import { CommentUpdateManyWithoutAuthorNestedInput } from '../comment/comment-update-many-without-author-nested.input';
|
||||
@ -17,27 +18,15 @@ export class UserUpdateWithoutRefreshTokensInput {
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
lastSeen?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
disabled?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
displayName?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
email?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
emailVerified?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
avatarUrl?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@ -47,15 +36,29 @@ export class UserUpdateWithoutRefreshTokensInput {
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
phoneNumber?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
lastSeen?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
disabled?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
emailVerified?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => GraphQLJSON, {nullable:true})
|
||||
@Validator.IsJSON()
|
||||
@Validator.IsOptional()
|
||||
metadata?: any;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
workspaceMember?: WorkspaceMemberUpdateOneWithoutUserNestedInput;
|
||||
|
||||
|
||||
@ -1,12 +1,13 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { BoolFieldUpdateOperationsInput } from '../prisma/bool-field-update-operations.input';
|
||||
import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { GraphQLJSON } from 'graphql-type-json';
|
||||
import * as Validator from 'class-validator';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { CompanyUpdateManyWithoutAccountOwnerNestedInput } from '../company/company-update-many-without-account-owner-nested.input';
|
||||
import { RefreshTokenUpdateManyWithoutUserNestedInput } from '../refresh-token/refresh-token-update-many-without-user-nested.input';
|
||||
import { CommentUpdateManyWithoutAuthorNestedInput } from '../comment/comment-update-many-without-author-nested.input';
|
||||
@ -17,27 +18,15 @@ export class UserUpdateWithoutWorkspaceMemberInput {
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
lastSeen?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
disabled?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
displayName?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
email?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
emailVerified?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
avatarUrl?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@ -47,15 +36,29 @@ export class UserUpdateWithoutWorkspaceMemberInput {
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
phoneNumber?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
lastSeen?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
disabled?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
emailVerified?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => GraphQLJSON, {nullable:true})
|
||||
@Validator.IsJSON()
|
||||
@Validator.IsOptional()
|
||||
metadata?: any;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => CompanyUpdateManyWithoutAccountOwnerNestedInput, {nullable:true})
|
||||
companies?: CompanyUpdateManyWithoutAccountOwnerNestedInput;
|
||||
|
||||
|
||||
@ -1,12 +1,13 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { BoolFieldUpdateOperationsInput } from '../prisma/bool-field-update-operations.input';
|
||||
import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { GraphQLJSON } from 'graphql-type-json';
|
||||
import * as Validator from 'class-validator';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { WorkspaceMemberUpdateOneWithoutUserNestedInput } from '../workspace-member/workspace-member-update-one-without-user-nested.input';
|
||||
import { CompanyUpdateManyWithoutAccountOwnerNestedInput } from '../company/company-update-many-without-account-owner-nested.input';
|
||||
import { RefreshTokenUpdateManyWithoutUserNestedInput } from '../refresh-token/refresh-token-update-many-without-user-nested.input';
|
||||
@ -18,27 +19,15 @@ export class UserUpdateInput {
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
lastSeen?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
disabled?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
displayName?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
email?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
emailVerified?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
avatarUrl?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@ -48,15 +37,29 @@ export class UserUpdateInput {
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
phoneNumber?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
lastSeen?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
disabled?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
emailVerified?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => GraphQLJSON, {nullable:true})
|
||||
@Validator.IsJSON()
|
||||
@Validator.IsOptional()
|
||||
metadata?: any;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
workspaceMember?: WorkspaceMemberUpdateOneWithoutUserNestedInput;
|
||||
|
||||
|
||||
@ -1,12 +1,16 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
|
||||
@InputType()
|
||||
export class UserWhereUniqueInput {
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
id?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsEmail()
|
||||
email?: string;
|
||||
}
|
||||
|
||||
@ -1,12 +1,12 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFilter } from '../prisma/string-filter.input';
|
||||
import { DateTimeFilter } from '../prisma/date-time-filter.input';
|
||||
import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input';
|
||||
import { BoolFilter } from '../prisma/bool-filter.input';
|
||||
import { StringNullableFilter } from '../prisma/string-nullable-filter.input';
|
||||
import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { JsonNullableFilter } from '../prisma/json-nullable-filter.input';
|
||||
import { DateTimeFilter } from '../prisma/date-time-filter.input';
|
||||
import { WorkspaceMemberRelationFilter } from '../workspace-member/workspace-member-relation-filter.input';
|
||||
import { CompanyListRelationFilter } from '../company/company-list-relation-filter.input';
|
||||
import { RefreshTokenListRelationFilter } from '../refresh-token/refresh-token-list-relation-filter.input';
|
||||
@ -27,27 +27,15 @@ export class UserWhereInput {
|
||||
@Field(() => StringFilter, {nullable:true})
|
||||
id?: StringFilter;
|
||||
|
||||
@Field(() => DateTimeFilter, {nullable:true})
|
||||
createdAt?: DateTimeFilter;
|
||||
|
||||
@Field(() => DateTimeFilter, {nullable:true})
|
||||
updatedAt?: DateTimeFilter;
|
||||
|
||||
@Field(() => DateTimeNullableFilter, {nullable:true})
|
||||
deletedAt?: DateTimeNullableFilter;
|
||||
|
||||
@Field(() => DateTimeNullableFilter, {nullable:true})
|
||||
lastSeen?: DateTimeNullableFilter;
|
||||
|
||||
@Field(() => BoolFilter, {nullable:true})
|
||||
disabled?: BoolFilter;
|
||||
|
||||
@Field(() => StringFilter, {nullable:true})
|
||||
displayName?: StringFilter;
|
||||
|
||||
@Field(() => StringFilter, {nullable:true})
|
||||
email?: StringFilter;
|
||||
|
||||
@Field(() => BoolFilter, {nullable:true})
|
||||
emailVerified?: BoolFilter;
|
||||
|
||||
@Field(() => StringNullableFilter, {nullable:true})
|
||||
avatarUrl?: StringNullableFilter;
|
||||
|
||||
@ -57,15 +45,27 @@ export class UserWhereInput {
|
||||
@Field(() => StringNullableFilter, {nullable:true})
|
||||
phoneNumber?: StringNullableFilter;
|
||||
|
||||
@Field(() => DateTimeNullableFilter, {nullable:true})
|
||||
lastSeen?: DateTimeNullableFilter;
|
||||
|
||||
@Field(() => BoolFilter, {nullable:true})
|
||||
disabled?: BoolFilter;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: StringNullableFilter;
|
||||
|
||||
@Field(() => BoolFilter, {nullable:true})
|
||||
emailVerified?: BoolFilter;
|
||||
|
||||
@Field(() => JsonNullableFilter, {nullable:true})
|
||||
metadata?: JsonNullableFilter;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: DateTimeNullableFilter;
|
||||
|
||||
@Field(() => DateTimeFilter, {nullable:true})
|
||||
createdAt?: DateTimeFilter;
|
||||
|
||||
@Field(() => DateTimeFilter, {nullable:true})
|
||||
updatedAt?: DateTimeFilter;
|
||||
|
||||
@HideField()
|
||||
workspaceMember?: WorkspaceMemberRelationFilter;
|
||||
|
||||
|
||||
@ -15,27 +15,15 @@ export class User {
|
||||
@Field(() => ID, {nullable:false})
|
||||
id!: string;
|
||||
|
||||
@Field(() => Date, {nullable:false})
|
||||
createdAt!: Date;
|
||||
|
||||
@Field(() => Date, {nullable:false})
|
||||
updatedAt!: Date;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt!: Date | null;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
lastSeen!: Date | null;
|
||||
|
||||
@Field(() => Boolean, {nullable:false,defaultValue:false})
|
||||
disabled!: boolean;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
displayName!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
email!: string;
|
||||
|
||||
@Field(() => Boolean, {nullable:false,defaultValue:false})
|
||||
emailVerified!: boolean;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
avatarUrl!: string | null;
|
||||
|
||||
@ -45,15 +33,27 @@ export class User {
|
||||
@Field(() => String, {nullable:true})
|
||||
phoneNumber!: string | null;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
lastSeen!: Date | null;
|
||||
|
||||
@Field(() => Boolean, {nullable:false,defaultValue:false})
|
||||
disabled!: boolean;
|
||||
|
||||
@HideField()
|
||||
passwordHash!: string | null;
|
||||
|
||||
@Field(() => Boolean, {nullable:false,defaultValue:false})
|
||||
emailVerified!: boolean;
|
||||
|
||||
@Field(() => GraphQLJSON, {nullable:true})
|
||||
metadata!: any | null;
|
||||
|
||||
@HideField()
|
||||
deletedAt!: Date | null;
|
||||
|
||||
@Field(() => Date, {nullable:false})
|
||||
createdAt!: Date;
|
||||
|
||||
@Field(() => Date, {nullable:false})
|
||||
updatedAt!: Date;
|
||||
|
||||
@Field(() => WorkspaceMember, {nullable:true})
|
||||
workspaceMember?: WorkspaceMember | null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user