Class: CloneBayMockingService
Constructors
constructor
• new CloneBayMockingService(mockingService
): CloneBayMockingService
Parameters
Name | Type |
---|---|
mockingService | MockingService |
Returns
Defined in
lib/src/api/clone-bay-mocking.service.ts:8
Methods
createUser
▸ createUser(user
): Promise
<Document
<unknown
, {}, UserDocument
> & User
& Document
<any
, any
, any
> & SchemaTimestampsConfig
& { _id
: ObjectId
}>
Parameters
Name | Type |
---|---|
user | Omit <User , "id" > |
Returns
Promise
<Document
<unknown
, {}, UserDocument
> & User
& Document
<any
, any
, any
> & SchemaTimestampsConfig
& { _id
: ObjectId
}>
Defined in
lib/src/api/clone-bay-mocking.service.ts:10
loginWithEveId
▸ loginWithEveId(session
, eveId
): Promise
<UserDocument
>
Parameters
Name | Type |
---|---|
session | unknown |
eveId | number |
Returns
Promise
<UserDocument
>