Who imports who · hover a nodeNo overview comment at the top of the file.
- Imports
- no other modules
- Used by
- 1 loader2 routes3 modules
Functions & values
export function isConfigured()
functionchatRoomIdFromRoomName
no JSDoc:28 export function chatRoomIdFromRoomName(name: string)
Unit tests (2)
functionroomUrl
no JSDoc:35 export function roomUrl(chatRoomId: number)
functionensureRoom
no JSDoc:39 export async function ensureRoom({
chatRoomId,
expiresAt,
}: {
chatRoomId: number;
expiresAt: number;
})functioncreateMeetingToken
no JSDoc:77 export async function createMeetingToken({
chatRoomId,
userId,
userName,
expiresAt,
}: {
chatRoomId: number;
userId: number;
userName: string;
expiresAt: number;
})functionejectUsers
no JSDoc:106 export async function ejectUsers({
chatRoomId,
userIds,
ban,
}: {
chatRoomId: number;
userIds: number[];
ban: boolean;
})functionfindPresentUserIds
no JSDoc:128 export async function findPresentUserIds(chatRoomId: number)
functionisValidWebhookSignature
no JSDoc:147 export function isValidWebhookSignature({
rawBody,
timestamp,
signature,
secret,
}: {
rawBody: string;
timestamp: string;
signature: string;
secret: string;
})Unit tests (1)
Not shown, only used by tests: roomName
No overview comment at the top of the file.
- Imports
- no other modules
- Used by
- 1 route
Functions & values
functionisVoiceRoomType
no JSDoc:10 export function isVoiceRoomType(type: ChatRoomType)
functioncanJoin
no JSDoc:14 export function canJoin(room: VoiceRoom, userId: number)
Unit tests (1)
functioncanKick
no JSDoc:22 export function canKick(room: VoiceRoom, userId: number)
Unit tests (1)
No overview comment at the top of the file.
- Imports
- Daily.serverVoiceCost
- Used by
- 1 loader1 action1 route
Functions & values
functionisAvailable
no JSDoc:11 export async function isAvailable()
functionclearCache
no JSDoc:27 export function clearCache()
functionmonthParticipantMinutes
no JSDoc:31 export function monthParticipantMinutes()
No overview comment at the top of the file.
- Imports
- no other modules
- Used by
- 1 loader1 module
Functions & values
functionmonthlyCostUsd
no JSDoc:7 export function monthlyCostUsd(participantMinutes: number)
Unit tests (1)
functionisOverBudget
no JSDoc:16 export function isOverBudget(participantMinutes: number)
Unit tests (1)
functionprojectedMonthlyCostUsd
no JSDoc:20 export function projectedMonthlyCostUsd({
participantMinutes,
monthProgress,
}: {
participantMinutes: number;
monthProgress: number;
})Unit tests (1)
No overview comment at the top of the file.
- Imports
- Daily.serverVoicePresence.server
- Used by
- 1 action
Functions & values
functionejectUsers
no JSDoc:6 export async function ejectUsers({
room,
userIds,
}: {
room: { roomId: number; participantUserIds: number[] };
userIds: number[];
})Unit tests (2)
No overview comment at the top of the file.
- Imports
- EventBus.serverDaily.server
- Used by
- 1 loader2 routes1 module
Functions & values
functionallOccupiedRooms
no JSDoc:23 export function allOccupiedRooms()
export function add(room: PresenceRoom, userId: number)
functionremove
no JSDoc:40 export function remove(room: PresenceRoom, userIds: number[])
functionreconciledUserIdsOf
no JSDoc:57 export async function reconciledUserIdsOf(room: PresenceRoom)
Unit tests (4)