@sourceloop/video-conferencing-service / Exports / VideoChatSessionRepository
Class: VideoChatSessionRepository¶
Hierarchy¶
-
DefaultUserModifyCrudRepository
<VideoChatSession
,undefined
|number
,VideoChatSessionRelation
,this
> & {}↳
VideoChatSessionRepository
Table of contents¶
Constructors¶
Properties¶
Methods¶
Constructors¶
constructor¶
• new VideoChatSessionRepository(dataSource
, getCurrentUser
, getAuditLogRepository
)
Parameters¶
Name | Type |
---|---|
dataSource |
DataSource |
getCurrentUser |
Getter <IAuthUserWithPermissions <string , string , string >> |
getAuditLogRepository |
Getter <AuditLogRepository > |
Overrides¶
ConditionalAuditRepositoryMixin( DefaultUserModifyCrudRepository< VideoChatSession, typeof VideoChatSession.prototype.id, VideoChatSessionRelation \>, VideoChatSessionAuditOpts, ).constructor
Defined in¶
services/video-conferencing-service/src/repositories/video-chat-session.repository.ts:34
Properties¶
getAuditLogRepository¶
• getAuditLogRepository: Getter
<AuditLogRepository
>
Defined in¶
services/video-conferencing-service/src/repositories/video-chat-session.repository.ts:40
getCurrentUser¶
• getCurrentUser: Getter
<IAuthUserWithPermissions
<string
, string
, string
>>
Inherited from¶
ConditionalAuditRepositoryMixin( DefaultUserModifyCrudRepository< VideoChatSession, typeof VideoChatSession.prototype.id, VideoChatSessionRelation >, VideoChatSessionAuditOpts, ).getCurrentUser
Defined in¶
services/video-conferencing-service/src/repositories/video-chat-session.repository.ts:38
Methods¶
save¶
▸ save(entity
, options?
): Promise
<VideoChatSession
>
Parameters¶
Name | Type |
---|---|
entity |
VideoChatSession |
options? |
Options |
Returns¶
Promise
<VideoChatSession
>
Inherited from¶
ConditionalAuditRepositoryMixin( DefaultUserModifyCrudRepository< VideoChatSession, typeof VideoChatSession.prototype.id, VideoChatSessionRelation >, VideoChatSessionAuditOpts, ).save
Defined in¶
packages/core/dist/repositories/default-user-modify-crud.repository.base.d.ts:13