import { IArchiveService , ISessionService , VideoChatInterface } from './types' ; import { BindingKey } from '@loopback/core' ; import { BINDING_PREFIX , IServiceConfig } from '@sourceloop/core' ; import { MeetingLinkIdGenerator } from './services' ; namespace const interface export namespace VideoChatBindings { export const VideoChatProvider = BindingKey . create < VideoChatInterface > ( 'sf.videochatprovider' ) ; export const Config = BindingKey . create < IServiceConfig | null > ( `${ BINDING_PREFIX }.videochat.config` ) ; } export namespace ServiceBindings { export const ArchiveChatService = BindingKey . create < IArchiveService > ( 'services.ChatArchiveService' ) ; export const SessionChatService = BindingKey . create < ISessionService > ( 'services.ChatSessionService' ) ; } export const MeetLinkGeneratorProvider = BindingKey . create < MeetingLinkIdGenerator > ( 'provider.MeetingLinkGeneratorProvider' ) ; export const VideoConfDatasource = 'videochatDb' ;