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

9 lines
229 B
TypeScript
Raw Permalink Normal View History

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