jinaga
Version:
Data management for web and mobile applications.
18 lines (15 loc) • 395 B
text/typescript
export type ControlKeyword = "BOOK" | "ERR" | "SUB" | "UNSUB" | "ACK";
export interface ControlFrame {
keyword: ControlKeyword;
payload: string[];
}
export interface ProtocolMessageRouterCallbacks {
onGraphLine: (line: string) => void;
}
export interface AuthorizationContext {
userIdentity?: {
provider: string;
id: string;
} | null;
metadata?: Record<string, unknown>;
}