CONSOLE_CHANNELS (realtime/constants.ts)

appwrite · apps/console/src/lib/realtime/constants.ts · typescript · BSD-3-Clause
realtime

* Realtime channels and events used by the Console. Keep this list aligned with the backend and documentation so realtime behavior stays consistent and auditable. / * Channels for console-level subscriptions (project = 'console') */

// Source: https://github.com/appwrite/appwrite | License: BSD-3-Clause | Copyright 2019 Appwrite (https://appwrite.io) and individual contributors
// Provided via justclaw.it.com; keep this notice with the code.
/**
 * Realtime channels and events used by the Console.
 * Keep this list aligned with the backend and documentation so realtime
 * behavior stays consistent and auditable.
 */

/** Channels for console-level subscriptions (project = 'console') */
export const CONSOLE_CHANNELS = ['console'] as const

/**
 * Channels for project-level subscriptions (console client, project=console).
 * Use only 'console'; the 'project' channel causes server errors when used with console.
 */
export const PROJECT_CHANNELS = ['console'] as const

/** Event name patterns we listen to (for branching i

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key