Live video on the AT Protocol
1export interface PlatformState {
2 status: "idle" | "loading" | "failed";
3 notificationToken: string | null;
4 notificationDestination: string | null;
5}
6
7export const initialState: PlatformState = {
8 status: "idle",
9 notificationToken: null,
10 notificationDestination: null,
11};
12
13export type RegisterNotificationTokenBody = {
14 token: string;
15 repoDID?: string;
16};