@_unit/unit 1.0.9 → 1.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/web.js +8 -8
- package/lib/API.d.ts +2 -0
- package/lib/API.js +1 -0
- package/lib/API.js.map +1 -1
- package/lib/Class/Graph/index.d.ts +2 -3
- package/lib/Class/Graph/index.js +161 -95
- package/lib/Class/Graph/index.js.map +1 -1
- package/lib/Class/Graph/moveSubgraph.js +2 -4
- package/lib/Class/Graph/moveSubgraph.js.map +1 -1
- package/lib/boot/index.js +2 -2
- package/lib/boot/index.js.map +1 -1
- package/lib/buildIdSetFromBundle.js +4 -3
- package/lib/buildIdSetFromBundle.js.map +1 -1
- package/lib/bundle.js +19 -1
- package/lib/bundle.js.map +1 -1
- package/lib/client/cache.js.map +1 -1
- package/lib/client/component.js +9 -2
- package/lib/client/component.js.map +1 -1
- package/lib/client/event/wheel.js.map +1 -1
- package/lib/client/platform/node/boot.js +1 -1
- package/lib/client/platform/node/boot.js.map +1 -1
- package/lib/client/platform/web/api/document.js +3 -0
- package/lib/client/platform/web/api/document.js.map +1 -1
- package/lib/client/platform/web/api/file.js +92 -0
- package/lib/client/platform/web/api/file.js.map +1 -1
- package/lib/client/platform/web/boot.d.ts +2 -2
- package/lib/client/platform/web/boot.js +6 -6
- package/lib/client/platform/web/boot.js.map +1 -1
- package/lib/client/platform/web/render.d.ts +1 -0
- package/lib/client/platform/web/render.js +11 -1
- package/lib/client/platform/web/render.js.map +1 -1
- package/lib/client/render/renderBundle.d.ts +2 -1
- package/lib/client/render/renderBundle.js +3 -4
- package/lib/client/render/renderBundle.js.map +1 -1
- package/lib/host/none.d.ts +1 -1
- package/lib/host/none.js +4 -3
- package/lib/host/none.js.map +1 -1
- package/lib/spec/escape.js.map +1 -1
- package/lib/spec/type.js +4 -4
- package/lib/spec/type.js.map +1 -1
- package/lib/spec/util.d.ts +1 -1
- package/lib/spec/util.js +19 -5
- package/lib/spec/util.js.map +1 -1
- package/lib/spec/validate.js +1 -0
- package/lib/spec/validate.js.map +1 -1
- package/lib/start.d.ts +2 -2
- package/lib/start.js +2 -1
- package/lib/start.js.map +1 -1
- package/lib/system/_classes.d.ts +10 -2
- package/lib/system/_classes.js +10 -2
- package/lib/system/_classes.js.map +1 -1
- package/lib/system/_ids.d.ts +5 -0
- package/lib/system/_ids.js +15 -10
- package/lib/system/_ids.js.map +1 -1
- package/lib/system/_specs.js +1 -1
- package/lib/system/_specs.js.map +1 -1
- package/lib/system/f/unit/HasInput/index.d.ts +15 -0
- package/lib/system/f/unit/HasInput/index.js +24 -0
- package/lib/system/f/unit/HasInput/index.js.map +1 -0
- package/lib/system/globalComponent.d.ts +1 -0
- package/lib/system/globalComponent.js +16 -1
- package/lib/system/globalComponent.js.map +1 -1
- package/lib/system/platform/api/observer/IntersectionObserver/index.d.ts +19 -0
- package/lib/system/platform/api/observer/IntersectionObserver/index.js +60 -0
- package/lib/system/platform/api/observer/IntersectionObserver/index.js.map +1 -0
- package/lib/system/platform/api/observer/SizeObserver/index.js +1 -0
- package/lib/system/platform/api/observer/SizeObserver/index.js.map +1 -1
- package/lib/system/platform/component/app/Editor/Component.d.ts +3 -1
- package/lib/system/platform/component/app/Editor/Component.js +186 -93
- package/lib/system/platform/component/app/Editor/Component.js.map +1 -1
- package/lib/system/platform/component/app/GUI/Component.js +2 -2
- package/lib/system/platform/meta/{Child → component/Child}/index.d.ts +5 -5
- package/lib/system/platform/meta/{Child → component/Child}/index.js +2 -2
- package/lib/system/platform/meta/component/Child/index.js.map +1 -0
- package/lib/system/platform/meta/component/Children/index.d.ts +16 -0
- package/lib/system/platform/meta/component/Children/index.js +70 -0
- package/lib/system/platform/meta/component/Children/index.js.map +1 -0
- package/lib/system/platform/meta/{ParentChild → component/ParentChild}/index.d.ts +5 -5
- package/lib/system/platform/meta/{ParentChild → component/ParentChild}/index.js +2 -2
- package/lib/system/platform/meta/component/ParentChild/index.js.map +1 -0
- package/lib/system/platform/method/array/{Push → Length0}/index.d.ts +5 -4
- package/lib/system/platform/method/array/{Push → Length0}/index.js +16 -9
- package/lib/system/platform/method/array/Length0/index.js.map +1 -0
- package/lib/system/platform/method/process/NewGraph/index.js +1 -1
- package/lib/system/platform/method/process/NewGraph/index.js.map +1 -1
- package/lib/types/global/IIntersectionObserver.d.ts +7 -0
- package/lib/types/global/{IHTTPServer.js → IIntersectionObserver.js} +1 -1
- package/lib/types/global/IIntersectionObserver.js.map +1 -0
- package/lib/types/index.d.ts +4 -1
- package/package-lock.json +4 -4
- package/package.json +3 -2
- package/public/_worker.js +10 -86061
- package/public/build.json +1 -1
- package/public/index.js +1163 -88931
- package/lib/ObjectWaiter.d.ts +0 -7
- package/lib/ObjectWaiter.js +0 -43
- package/lib/ObjectWaiter.js.map +0 -1
- package/lib/system/platform/api/http/HTTPServer/index.d.ts +0 -31
- package/lib/system/platform/api/http/HTTPServer/index.js +0 -31
- package/lib/system/platform/api/http/HTTPServer/index.js.map +0 -1
- package/lib/system/platform/api/media/image/BlobToBitmap/index.d.ts +0 -18
- package/lib/system/platform/api/media/image/BlobToBitmap/index.js +0 -63
- package/lib/system/platform/api/media/image/BlobToBitmap/index.js.map +0 -1
- package/lib/system/platform/meta/Child/index.js.map +0 -1
- package/lib/system/platform/meta/ParentChild/index.js.map +0 -1
- package/lib/system/platform/method/array/Push/index.js.map +0 -1
- package/lib/types/global/IHTTPServer.d.ts +0 -9
- package/lib/types/global/IHTTPServer.js.map +0 -1
package/lib/ObjectWaiter.d.ts
DELETED
package/lib/ObjectWaiter.js
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.ObjectWaiter = void 0;
|
|
13
|
-
class ObjectWaiter {
|
|
14
|
-
constructor(data = null) {
|
|
15
|
-
this._data = null;
|
|
16
|
-
this._callback = [];
|
|
17
|
-
this._data = data;
|
|
18
|
-
}
|
|
19
|
-
set(data) {
|
|
20
|
-
this._data = data;
|
|
21
|
-
for (const callback of this._callback) {
|
|
22
|
-
callback(data);
|
|
23
|
-
}
|
|
24
|
-
this._callback = [];
|
|
25
|
-
}
|
|
26
|
-
once() {
|
|
27
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
28
|
-
if (this._data) {
|
|
29
|
-
return this._data;
|
|
30
|
-
}
|
|
31
|
-
else {
|
|
32
|
-
return new Promise((resolve, reject) => {
|
|
33
|
-
const callback = () => {
|
|
34
|
-
resolve(this._data);
|
|
35
|
-
};
|
|
36
|
-
this._callback.push(callback);
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
exports.ObjectWaiter = ObjectWaiter;
|
|
43
|
-
//# sourceMappingURL=ObjectWaiter.js.map
|
package/lib/ObjectWaiter.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ObjectWaiter.js","sourceRoot":"src/","sources":["ObjectWaiter.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,MAAa,YAAY;IAIvB,YAAY,OAAU,IAAI;QAHlB,UAAK,GAAM,IAAI,CAAA;QACf,cAAS,GAAkB,EAAE,CAAA;QAGnC,IAAI,CAAC,KAAK,GAAG,IAAI,CAAA;IACnB,CAAC;IAED,GAAG,CAAC,IAAO;QACT,IAAI,CAAC,KAAK,GAAG,IAAI,CAAA;QACjB,KAAK,MAAM,QAAQ,IAAI,IAAI,CAAC,SAAS,EAAE;YACrC,QAAQ,CAAC,IAAI,CAAC,CAAA;SACf;QACD,IAAI,CAAC,SAAS,GAAG,EAAE,CAAA;IACrB,CAAC;IAEK,IAAI;;YACR,IAAI,IAAI,CAAC,KAAK,EAAE;gBACd,OAAO,IAAI,CAAC,KAAK,CAAA;aAClB;iBAAM;gBACL,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;oBACrC,MAAM,QAAQ,GAAG,GAAG,EAAE;wBACpB,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;oBACrB,CAAC,CAAA;oBACD,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAA;gBAC/B,CAAC,CAAC,CAAA;aACH;QACH,CAAC;KAAA;CACF;AA5BD,oCA4BC"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { Done } from '../../../../../Class/Functional/Done';
|
|
2
|
-
import { Semifunctional } from '../../../../../Class/Semifunctional';
|
|
3
|
-
import { System } from '../../../../../system';
|
|
4
|
-
import { Dict } from '../../../../../types/Dict';
|
|
5
|
-
import { IHTTPServerOpt } from '../../../../../types/global/IHTTPServer';
|
|
6
|
-
export interface IHTTPServerResponse {
|
|
7
|
-
status: number;
|
|
8
|
-
body: string;
|
|
9
|
-
}
|
|
10
|
-
export interface IHTTPClientRequest {
|
|
11
|
-
method: 'GET' | 'POST';
|
|
12
|
-
path: string;
|
|
13
|
-
query: Dict<any>;
|
|
14
|
-
body: string;
|
|
15
|
-
}
|
|
16
|
-
export type I = {
|
|
17
|
-
opt: IHTTPServerOpt;
|
|
18
|
-
port: number;
|
|
19
|
-
res: IHTTPServerResponse;
|
|
20
|
-
done: any;
|
|
21
|
-
};
|
|
22
|
-
export type O = {
|
|
23
|
-
req: IHTTPServerResponse;
|
|
24
|
-
};
|
|
25
|
-
export default class _HTTPServer extends Semifunctional {
|
|
26
|
-
private _server;
|
|
27
|
-
constructor(system: System);
|
|
28
|
-
f({ opt }: I, done: Done<O>): void;
|
|
29
|
-
private _buffer;
|
|
30
|
-
onIterDataInputData(name: string, data: any): void;
|
|
31
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const Semifunctional_1 = require("../../../../../Class/Semifunctional");
|
|
4
|
-
const _ids_1 = require("../../../../_ids");
|
|
5
|
-
class _HTTPServer extends Semifunctional_1.Semifunctional {
|
|
6
|
-
constructor(system) {
|
|
7
|
-
super({ fi: ['opt'], fo: [], i: ['port', 'res', 'done'], o: ['req'] }, {}, system, _ids_1.ID_HTTP_SERVER);
|
|
8
|
-
this._buffer = [];
|
|
9
|
-
}
|
|
10
|
-
f({ opt }, done) {
|
|
11
|
-
const { timeout } = opt;
|
|
12
|
-
const { api: { http: { server: { local: HTTPServer }, }, }, } = this.__system;
|
|
13
|
-
if (!HTTPServer) {
|
|
14
|
-
done(undefined, 'HTTP Server API not supported');
|
|
15
|
-
}
|
|
16
|
-
const server = HTTPServer(opt);
|
|
17
|
-
this._server = server;
|
|
18
|
-
}
|
|
19
|
-
onIterDataInputData(name, data) {
|
|
20
|
-
if (name === 'port') {
|
|
21
|
-
if (this._server) {
|
|
22
|
-
const port = data;
|
|
23
|
-
this._server.listen(port, (req, done) => {
|
|
24
|
-
this._buffer.unshift([req, done]);
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
exports.default = _HTTPServer;
|
|
31
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"src/","sources":["system/platform/api/http/HTTPServer/index.ts"],"names":[],"mappings":";;AACA,wEAAoE;AAQpE,2CA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
2
|
-
import { Done } from '../../../../../../Class/Functional/Done';
|
|
3
|
-
import { Rect } from '../../../../../../client/util/geometry/types';
|
|
4
|
-
import { System } from '../../../../../../system';
|
|
5
|
-
import { B } from '../../../../../../types/interface/B';
|
|
6
|
-
import { IB } from '../../../../../../types/interface/IB';
|
|
7
|
-
export type I = {
|
|
8
|
-
blob: B;
|
|
9
|
-
opt: {};
|
|
10
|
-
rect: Rect | Omit<Rect, 'x' | 'y'> | Omit<Rect, 'x' | 'y' | 'width' | 'height'>;
|
|
11
|
-
};
|
|
12
|
-
export type O = {
|
|
13
|
-
bitmap: IB;
|
|
14
|
-
};
|
|
15
|
-
export default class BlobToBitmap extends Functional<I, O> {
|
|
16
|
-
constructor(system: System);
|
|
17
|
-
f({ opt, rect, blob }: I, done: Done<O>): Promise<void>;
|
|
18
|
-
}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
const _1 = require("../../../../../../Class/$");
|
|
13
|
-
const Functional_1 = require("../../../../../../Class/Functional");
|
|
14
|
-
const _ids_1 = require("../../../../../_ids");
|
|
15
|
-
class BlobToBitmap extends Functional_1.Functional {
|
|
16
|
-
constructor(system) {
|
|
17
|
-
super({
|
|
18
|
-
i: ['opt', 'blob', 'rect'],
|
|
19
|
-
o: ['bitmap'],
|
|
20
|
-
}, {
|
|
21
|
-
input: {
|
|
22
|
-
blob: {
|
|
23
|
-
ref: true,
|
|
24
|
-
},
|
|
25
|
-
},
|
|
26
|
-
output: {
|
|
27
|
-
bitmap: {
|
|
28
|
-
ref: true,
|
|
29
|
-
},
|
|
30
|
-
},
|
|
31
|
-
}, system, _ids_1.ID_BLOB_TO_BITMAP);
|
|
32
|
-
}
|
|
33
|
-
f({ opt, rect, blob }, done) {
|
|
34
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
35
|
-
const { api: { media: { image: { createImageBitmap }, }, }, } = this.__system;
|
|
36
|
-
const _blob = yield blob.blob();
|
|
37
|
-
let _bitmap;
|
|
38
|
-
try {
|
|
39
|
-
_bitmap = yield createImageBitmap(_blob, rect, opt);
|
|
40
|
-
}
|
|
41
|
-
catch (err) {
|
|
42
|
-
done(undefined, err.message);
|
|
43
|
-
return;
|
|
44
|
-
}
|
|
45
|
-
const bitmap = new (class Bitmap extends _1.$ {
|
|
46
|
-
constructor() {
|
|
47
|
-
super(...arguments);
|
|
48
|
-
this.__ = ['IB'];
|
|
49
|
-
}
|
|
50
|
-
imageBitmap() {
|
|
51
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
52
|
-
return _bitmap;
|
|
53
|
-
});
|
|
54
|
-
}
|
|
55
|
-
})(this.__system);
|
|
56
|
-
done({
|
|
57
|
-
bitmap,
|
|
58
|
-
});
|
|
59
|
-
});
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
exports.default = BlobToBitmap;
|
|
63
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"src/","sources":["system/platform/api/media/image/BlobToBitmap/index.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,gDAA6C;AAC7C,mEAA+D;AAM/D,8CAAuD;AAevD,MAAqB,YAAa,SAAQ,uBAAgB;IACxD,YAAY,MAAc;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AAC,CAAA;QAC1E,CAAC,CAAA;QAED,IAAI,CAAC;YACH,KAAK;SACN,CAAC,CAAA;IACJ,CAAC;IAED,CAAC;QACC,IAAI,CAAC,MAAM,EAAE,CAAA;IACf,CAAC;IAED,mBAAmB,CAAC,IAAY;QAC9B,yBAAyB;QACzB,IAAI,CAAC,MAAM,EAAE,CAAA;QAEb,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAA;QACtB,IAAI;IACN,CAAC;CACF;AA1ED,wBA0EC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"src/","sources":["system/platform/meta/ParentChild/index.ts"],"names":[],"mappings":";;AAEA,qEAAiE;AAIjE,wCAA+C;AAY/C,MAAqB,WAAY,SAAQ,+BAAoB;IAC3D,YAAY,MAAc;QACxB,KAAK,CACH;YACE,EAAE,EAAE,CAAC,QAAQ,EAAE,IAAI,CAAC;YACpB,EAAE,EAAE,CAAC,OAAO,CAAC;YACb,CAAC,EAAE,CAAC,MAAM,CAAC;SACZ,EACD;YACE,KAAK,EAAE;gBACL,MAAM,EAAE;oBACN,GAAG,EAAE,IAAI;iBACV;aACF;YACD,MAAM,EAAE;gBACN,KAAK,EAAE;oBACL,GAAG,EAAE,IAAI;iBACV;aACF;SACF,EACD,MAAM,EACN,sBAAe,CAChB,CAAA;QAKK,WAAM,GAAG,GAAG,EAAE;YACpB,IAAI,IAAI,CAAC,SAAS,EAAE;gBAClB,IAAI,CAAC,SAAS,EAAE,CAAA;gBAChB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAA;aAC3B;YAED,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CAAA;QAC9B,CAAC,CAAA;IAXD,CAAC;IAaD,CAAC,CAAC,EAAE,MAAM,EAAE,EAAE,EAAK,EAAE,IAAa;QAChC,MAAM,KAAK,GAAG,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAA;QAEjC,IAAI,CAAC,KAAK,EAAE;YACV,IAAI,CAAC,GAAG,CAAC,2BAA2B,CAAC,CAAA;YACrC,OAAM;SACP;QAED,MAAM,wBAAwB,GAAG,GAAG,EAAE;YACpC,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CAAA;YAE5B,IAAI,CAAC,GAAG,CAAC,2BAA2B,CAAC,CAAA;QACvC,CAAC,CAAA;QAED,MAAM,CAAC,WAAW,CAAC,mBAAmB,EAAE,EAAE,EAAE,wBAAwB,CAAC,CAAA;QAErE,IAAI,CAAC,SAAS,GAAG,GAAG,EAAE;YACpB,MAAM,CAAC,cAAc,CAAC,mBAAmB,EAAE,EAAE,EAAE,wBAAwB,CAAC,CAAA;QAC1E,CAAC,CAAA;QAED,IAAI,CAAC;YACH,KAAK;SACN,CAAC,CAAA;IACJ,CAAC;IAED,mBAAmB,CAAC,IAAY;QAC9B,yBAAyB;QACzB,IAAI,CAAC,MAAM,EAAE,CAAA;QAEb,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAA;QACtB,IAAI;IACN,CAAC;CACF;AApED,8BAoEC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"src/","sources":["system/platform/method/array/Push/index.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,gEAA4D;AAI5D,2CAA4C;AAS5C,MAAqB,IAAQ,SAAQ,uBAAsB;IACzD,YAAY,MAAc;QACxB,KAAK,CACH;YACE,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,CAAC;YACf,CAAC,EAAE,EAAE;SACN,EACD;YACE,KAAK,EAAE;gBACL,KAAK,EAAE;oBACL,GAAG,EAAE,IAAI;iBACV;aACF;SACF,EACD,MAAM,EACN,gBAAS,CACV,CAAA;IACH,CAAC;IAEK,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,EAAQ,EAAE,IAAgB;;YAC9C,MAAM,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,CAAA;YAElB,IAAI,EAAE,CAAA;QACR,CAAC;KAAA;CACF;AAxBD,uBAwBC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { IHTTPClientRequest, IHTTPServerResponse } from '../../system/platform/api/http/HTTPServer/index';
|
|
2
|
-
import { Callback } from '../Callback';
|
|
3
|
-
import { Unlisten } from '../Unlisten';
|
|
4
|
-
export interface IHTTPServer {
|
|
5
|
-
listen: (port: number, listener: (req: IHTTPClientRequest, done: Callback<IHTTPServerResponse>) => void) => Unlisten;
|
|
6
|
-
}
|
|
7
|
-
export interface IHTTPServerOpt {
|
|
8
|
-
timeout: number;
|
|
9
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IHTTPServer.js","sourceRoot":"src/","sources":["types/global/IHTTPServer.ts"],"names":[],"mappings":""}
|