mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Add SCENE_INIT
broadcast type for new user (#1095)
This commit is contained in:
parent
8e6d55cf75
commit
763735ac84
2 changed files with 103 additions and 86 deletions
|
@ -32,6 +32,12 @@ export type EncryptedData = {
|
|||
};
|
||||
|
||||
export type SocketUpdateDataSource = {
|
||||
SCENE_INIT: {
|
||||
type: "SCENE_INIT";
|
||||
payload: {
|
||||
elements: readonly ExcalidrawElement[];
|
||||
};
|
||||
};
|
||||
SCENE_UPDATE: {
|
||||
type: "SCENE_UPDATE";
|
||||
payload: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue