MCPcopy Create free account
hub / github.com/adcontextprotocol/adcp / getWebsiteChannels

Function getWebsiteChannels

server/src/db/notification-channels-db.ts:208–215  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

206 * Get website-enabled channels for public display
207 */
208export async function getWebsiteChannels(): Promise<NotificationChannel[]> {
209 const result = await query<NotificationChannel>(
210 `SELECT * FROM notification_channels
211 WHERE website_enabled = true AND is_active = true
212 ORDER BY display_order, name`
213 );
214 return result.rows;
215}
216
217/**
218 * Get a channel by its website slug

Callers 1

createLatestRouterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected