15 lines
376 B
TypeScript
15 lines
376 B
TypeScript
import type { Channel } from '../../../prisma/generated-client/browser.ts'
|
|
import type { ChannelManager } from './ChannelManager.ts'
|
|
import type { Client } from './Client.ts'
|
|
|
|
export class MessagingService {
|
|
private channels: ChannelManager
|
|
|
|
constructor(channels: ChannelManager) {
|
|
this.channels = channels
|
|
}
|
|
|
|
joinChannel(client: Client, channel: Channel) {
|
|
}
|
|
}
|