* feat: wip * fix: issues * feat: clean controllers and services * fix: test * Fix auth --------- Co-authored-by: Charles Bochet <charles@twenty.com>
24 lines
560 B
TypeScript
24 lines
560 B
TypeScript
import { Field } from '@nestjs/graphql';
|
|
import { InputType } from '@nestjs/graphql';
|
|
|
|
@InputType()
|
|
export class RefreshTokenCreateManyUserInput {
|
|
@Field(() => String, { nullable: true })
|
|
id?: string;
|
|
|
|
@Field(() => Date, { nullable: true })
|
|
createdAt?: Date | string;
|
|
|
|
@Field(() => Date, { nullable: true })
|
|
updatedAt?: Date | string;
|
|
|
|
@Field(() => Boolean, { nullable: true })
|
|
isRevoked?: boolean;
|
|
|
|
@Field(() => Date, { nullable: false })
|
|
expiresAt!: Date | string;
|
|
|
|
@Field(() => Date, { nullable: true })
|
|
deletedAt?: Date | string;
|
|
}
|