forked from LeenkxTeam/LNXSDK
Update
This commit is contained in:
@ -41,6 +41,7 @@ class ServerMethods {
|
||||
static inline var ModuleMemory = new HaxeRequestMethod<ModuleParams, Response<HaxeModuleMemoryResult>>("server/memory/module");
|
||||
static inline var Modules = new HaxeRequestMethod<ContextParams, Response<Array<String>>>("server/modules");
|
||||
static inline var Module = new HaxeRequestMethod<ModuleParams, Response<JsonModule>>("server/module");
|
||||
static inline var Type = new HaxeRequestMethod<TypeParams, Response<JsonModuleType<Any>>>("server/type");
|
||||
static inline var Files = new HaxeRequestMethod<ContextParams, Response<Array<JsonServerFile>>>("server/files");
|
||||
static inline var ModuleCreated = new HaxeRequestMethod<FileParams, Response<NoData>>("server/moduleCreated");
|
||||
}
|
||||
@ -97,7 +98,9 @@ typedef JsonModule = {
|
||||
final types:Array<JsonTypePath>;
|
||||
final file:String;
|
||||
final sign:String;
|
||||
final dirty:Null<String>;
|
||||
final dependencies:Array<ModuleId>;
|
||||
final dependents:Array<ModuleId>;
|
||||
}
|
||||
|
||||
typedef JsonServerFile = {
|
||||
@ -108,7 +111,6 @@ typedef JsonServerFile = {
|
||||
}
|
||||
|
||||
/* Memory */
|
||||
|
||||
typedef HaxeMemoryResult = {
|
||||
final contexts:Array<{
|
||||
final context:HaxeServerContext;
|
||||
@ -165,3 +167,8 @@ typedef ContextParams = {
|
||||
typedef ModuleParams = ContextParams & {
|
||||
final path:String;
|
||||
}
|
||||
|
||||
typedef TypeParams = ContextParams & {
|
||||
final modulePath:String;
|
||||
final typeName:String;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user