mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-19 18:41:41 +00:00
10 lines
486 B
TypeScript
10 lines
486 B
TypeScript
// Gateway channel runtime snapshot types.
|
|
// Exposes read-only channel/account state to status and server-method surfaces.
|
|
import type { ChannelId, ChannelAccountSnapshot } from "../channels/plugins/types.public.js";
|
|
|
|
/** Snapshot of channel runtime state keyed by channel and account id. */
|
|
export type ChannelRuntimeSnapshot = {
|
|
channels: Partial<Record<ChannelId, ChannelAccountSnapshot>>;
|
|
channelAccounts: Partial<Record<ChannelId, Record<string, ChannelAccountSnapshot>>>;
|
|
};
|