Add SCENE_INIT broadcast type for new user (#1095)

This commit is contained in:
Sanghyeon Lee 2020-03-29 11:35:56 +09:00 committed by GitHub
parent 8e6d55cf75
commit 763735ac84
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 103 additions and 86 deletions

View file

@ -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: {