feat: Document subscriptions (#3834)
Co-authored-by: Tom Moor <tom.moor@gmail.com>
This commit is contained in:
committed by
GitHub
parent
864f585e5b
commit
24c71c38a5
@@ -257,6 +257,13 @@ export type ShareEvent = BaseEvent & {
|
||||
};
|
||||
};
|
||||
|
||||
export type SubscriptionEvent = BaseEvent & {
|
||||
name: "subscriptions.create" | "subscriptions.delete";
|
||||
modelId: string;
|
||||
userId: string;
|
||||
documentId: string | null;
|
||||
};
|
||||
|
||||
export type ViewEvent = BaseEvent & {
|
||||
name: "views.create";
|
||||
documentId: string;
|
||||
@@ -293,6 +300,7 @@ export type Event =
|
||||
| GroupEvent
|
||||
| RevisionEvent
|
||||
| ShareEvent
|
||||
| SubscriptionEvent
|
||||
| TeamEvent
|
||||
| UserEvent
|
||||
| ViewEvent
|
||||
|
||||
Reference in New Issue
Block a user