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

@@ -18,16 +18,12 @@ import { AuthUser } from 'src/types/AuthUser';
import * as E from 'fp-ts/Either';
import * as O from 'fp-ts/Option';
import { PubSubService } from 'src/pubsub/pubsub.service';
import {
Prisma,
User,
UserCollection,
ReqType as DBReqType,
} from '@prisma/client';
import { Prisma, UserCollection, ReqType as DBReqType } from '@prisma/client';
import { UserCollection as UserCollectionModel } from './user-collections.model';
import { ReqType } from 'src/types/RequestTypes';
import { isValidLength, stringToJson } from 'src/utils';
import { CollectionFolder } from 'src/types/CollectionFolder';
@Injectable()
export class UserCollectionService {
constructor(