Files

17 lines
467 B
TypeScript
Raw Permalink Normal View History

2026-09-12 23:57:45 -04:00
export type ToDevicePayload = Record<string, any>;
export interface ToDeviceMessage {
userId: string;
deviceId: string;
payload: ToDevicePayload;
}
export interface ToDeviceBatch {
eventType: string;
batch: ToDeviceMessage[];
}
export interface ToDeviceBatchWithTxnId extends ToDeviceBatch {
txnId: string;
}
export interface IndexedToDeviceBatch extends ToDeviceBatchWithTxnId {
id: number;
}
//# sourceMappingURL=ToDeviceMessage.d.ts.map