fix: enum type fixes in SDL (HBE-183) (#55)

* fix: added reqType typed in sdl

* fix: updateUserSession type
This commit is contained in:
Mir Arif Hasan
2023-03-28 17:46:41 +06:00
committed by GitHub
parent 9d6a7f709c
commit ccdce37f88
15 changed files with 23 additions and 26 deletions

View File

@@ -1,4 +1,5 @@
import { Field, ID, ObjectType, registerEnumType } from '@nestjs/graphql';
import { ReqType } from 'src/types/RequestTypes';
@ObjectType()
export class UserHistory {
@@ -39,11 +40,6 @@ export class UserHistory {
executedOn: Date;
}
export enum ReqType {
REST = 'REST',
GQL = 'GQL',
}
registerEnumType(ReqType, {
name: 'ReqType',
});