feat: Add reordering to starred documents (#2953)
* draft * reordering * JIT Index stars on first load * test * Remove unused code on client * small unrefactor
This commit is contained in:
@@ -241,15 +241,27 @@ export type PinEvent = {
|
||||
name: "pins.create" | "pins.update" | "pins.delete";
|
||||
teamId: string;
|
||||
modelId: string;
|
||||
documentId: string;
|
||||
collectionId?: string;
|
||||
actorId: string;
|
||||
ip: string;
|
||||
};
|
||||
|
||||
export type StarEvent = {
|
||||
name: "stars.create" | "stars.update" | "stars.delete";
|
||||
teamId: string;
|
||||
modelId: string;
|
||||
documentId: string;
|
||||
userId: string;
|
||||
actorId: string;
|
||||
ip: string;
|
||||
};
|
||||
|
||||
export type Event =
|
||||
| UserEvent
|
||||
| DocumentEvent
|
||||
| PinEvent
|
||||
| StarEvent
|
||||
| CollectionEvent
|
||||
| CollectionImportEvent
|
||||
| CollectionExportAllEvent
|
||||
|
||||
Reference in New Issue
Block a user