mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
31 lines
1.0 KiB
Plaintext
31 lines
1.0 KiB
Plaintext
{
|
|
"MsgPackStatic": {
|
|
"pack": "fn(data: ?, toString?: bool) -> ?",
|
|
"unpack": "fn(data: ?) -> ?",
|
|
"worker": "string",
|
|
"upload": "fn(url: string, option: MsgPackUploadOption, callback: MsgPackUploadCallback)",
|
|
"download": "fn(url: string, option: MsgPackDownloadOption, callback: MsgPackDownloadCallback)"
|
|
},
|
|
"MsgPackUploadOption": {
|
|
"data": "?",
|
|
"worker": "bool",
|
|
"timeout": "number",
|
|
"before": "fn(xhr: XMLHttpRequest, option: MsgPackUploadOption)",
|
|
"after": "fn(xhr: XMLHttpRequest, option: MsgPackUploadOption, result: MsgPackCallbackResult)"
|
|
},
|
|
"MsgPackUploadCallback": {},
|
|
"MsgPackDownloadOption": {
|
|
"worker": "bool",
|
|
"timeout": "number",
|
|
"before": "fn(xhr: XMLHttpRequest, option: MsgPackDownloadOption)",
|
|
"after": "fn(xhr: XMLHttpRequest, option: MsgPackDownloadOption, result: MsgPackCallbackResult)"
|
|
},
|
|
"MsgPackDownloadCallback": {},
|
|
"MsgPackCallbackResult": {
|
|
"status": "number",
|
|
"ok": "bool"
|
|
},
|
|
"msgpack": "MsgPackStatic",
|
|
"!name": "msgpack.d.ts"
|
|
}
|