fix: enum type fixes in SDL (HBE-183) (#55)
* fix: added reqType typed in sdl * fix: updateUserSession type
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { Field, ID, ArgsType } from '@nestjs/graphql';
|
||||
import { PaginationArgs } from 'src/types/input-types.args';
|
||||
import { ReqType } from 'src/user-history/user-history.model';
|
||||
import { ReqType } from 'src/types/RequestTypes';
|
||||
|
||||
@ArgsType()
|
||||
export class GetUserRequestArgs extends PaginationArgs {
|
||||
|
||||
@@ -24,7 +24,7 @@ import {
|
||||
} from '../input-type.args';
|
||||
import { AuthUser } from 'src/types/AuthUser';
|
||||
import { User } from 'src/user/user.model';
|
||||
import { ReqType } from 'src/user-history/user-history.model';
|
||||
import { ReqType } from 'src/types/RequestTypes';
|
||||
import { GqlThrottlerGuard } from 'src/guards/gql-throttler.guard';
|
||||
import { SkipThrottle } from '@nestjs/throttler';
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Field, ID, ObjectType } from '@nestjs/graphql';
|
||||
import { ReqType } from 'src/user-history/user-history.model';
|
||||
import { ReqType } from 'src/types/RequestTypes';
|
||||
|
||||
@ObjectType()
|
||||
export class UserRequest {
|
||||
|
||||
@@ -20,7 +20,7 @@ import {
|
||||
import { UserRequest } from './user-request.model';
|
||||
import { UserRequestService } from './user-request.service';
|
||||
import { AuthUser } from 'src/types/AuthUser';
|
||||
import { ReqType } from 'src/user-history/user-history.model';
|
||||
import { ReqType } from 'src/types/RequestTypes';
|
||||
import { UserCollectionService } from 'src/user-collection/user-collection.service';
|
||||
|
||||
const mockPrisma = mockDeep<PrismaService>();
|
||||
|
||||
@@ -13,7 +13,7 @@ import {
|
||||
} from 'src/errors';
|
||||
import { stringToJson } from 'src/utils';
|
||||
import { AuthUser } from 'src/types/AuthUser';
|
||||
import { ReqType } from 'src/user-history/user-history.model';
|
||||
import { ReqType } from 'src/types/RequestTypes';
|
||||
import { UserCollectionService } from 'src/user-collection/user-collection.service';
|
||||
|
||||
@Injectable()
|
||||
|
||||
Reference in New Issue
Block a user