mirror of
https://gitee.com/sli97/behavior-eden-coco-plugin.git
synced 2024-12-25 11:19:06 +00:00
38 lines
1.3 KiB
TypeScript
38 lines
1.3 KiB
TypeScript
|
|
import * as AssetDb from './packages/asset-db/@types/message';
|
|
import * as Builder from './packages/builder/@types/message';
|
|
import * as Engine from './packages/engine/@types/message';
|
|
import * as Information from './packages/information/@types/message';
|
|
import * as Preferences from './packages/preferences/@types/message';
|
|
import * as Program from './packages/program/@types/message';
|
|
import * as Programming from './packages/programming/@types/message';
|
|
import * as Project from './packages/project/@types/message';
|
|
import * as Scene from './packages/scene/@types/message';
|
|
import * as Server from './packages/server/@types/message';
|
|
|
|
declare global {
|
|
interface EditorMessageContent {
|
|
params: any[],
|
|
result: any;
|
|
}
|
|
|
|
interface EditorMessageMap {
|
|
[x: string]: EditorMessageContent;
|
|
}
|
|
|
|
interface EditorMessageMaps {
|
|
[x: string]: EditorMessageMap;
|
|
'asset-db': AssetDb.message;
|
|
'builder': Builder.message;
|
|
'engine': Engine.message;
|
|
'information': Information.message;
|
|
'preferences': Preferences.message;
|
|
'program': Program.message;
|
|
'programming': Programming.message;
|
|
'project': Project.message;
|
|
'scene': Scene.message;
|
|
'server': Server.message;
|
|
|
|
}
|
|
}
|