refactor: move ipc method and types to data-center folder

This commit is contained in:
Lin Onetwo
2023-01-05 14:53:02 +08:00
parent c732520182
commit 20002785e9
10 changed files with 94 additions and 15 deletions

View File

@@ -14,12 +14,12 @@ export type IBlobParameters =
};
export interface PutBlob {
[k: string]: unknown;
blob: number[];
workspace_id: number;
[k: string]: unknown;
}
export interface GetBlob {
[k: string]: unknown;
id: string;
workspace_id: number;
[k: string]: unknown;
}

View File

@@ -6,7 +6,7 @@
*/
export interface YDocumentUpdate {
[k: string]: unknown;
room: string;
update: number[];
[k: string]: unknown;
}

View File

@@ -6,8 +6,8 @@
*/
export interface CreateWorkspace {
[k: string]: unknown;
avatar: string;
id: number;
name: string;
[k: string]: unknown;
}