* Some cleaning * Fix seeds * Fix all sign in, sign up flow and apiKey optimistic rendering * Fix
16 lines
289 B
TypeScript
16 lines
289 B
TypeScript
import { ArgsType, Field } from '@nestjs/graphql';
|
|
|
|
import { IsNotEmpty, IsString } from 'class-validator';
|
|
|
|
@ArgsType()
|
|
export class ApiKeyTokenInput {
|
|
@Field(() => String)
|
|
@IsNotEmpty()
|
|
@IsString()
|
|
apiKeyId: string;
|
|
|
|
@Field(() => String)
|
|
@IsNotEmpty()
|
|
expiresAt: string;
|
|
}
|