Skip to content

push.devices

The devices the daemon pushes to, the newest first (PRT-243).

/** No params, or the `{}` result. */
export type Empty = Record<string, never>;
/** `push.devices` result (PRT-243), the newest first. */
export type PushDevices = {
devices: PushDevice[];
};
/** A device the daemon pushes to (PRT-243). */
export type PushDevice = {
/** When it subscribed, in milliseconds since the epoch. */
createdAt: number;
endpoint: string;
label?: string | null;
};