behavior-eden-coco-plugin/@types/message.d.ts

38 lines
1.3 KiB
TypeScript
Raw Normal View History

2023-09-20 17:32:11 +00:00
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;
}
}