fix: enum type fixes in SDL (HBE-183) (#55)
* fix: added reqType typed in sdl * fix: updateUserSession type
This commit is contained in:
@@ -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',
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user