verdnatura-chat/app/definitions/rest/v1/subscriptions.ts

9 lines
229 B
TypeScript

export type SubscriptionsEndpoints = {
'subscriptions.unread': {
POST: (params: { firstUnreadMessage: { _id: string } } | { roomId: string }) => {};
};
'subscriptions.read': {
POST: (params: { rid: string }) => {};
};
};