@nmxjs/types 1.0.0 → 1.0.1
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/dist/dto/ProxyDto.d.ts +8 -0
- package/dist/dto/ProxyDto.js +51 -0
- package/dist/dto/ProxyDto.js.map +1 -0
- package/dist/dto/index.d.ts +1 -0
- package/dist/dto/index.js +1 -0
- package/dist/dto/index.js.map +1 -1
- package/dist/interfaces/ProxyTypeEnum.d.ts +6 -0
- package/dist/interfaces/ProxyTypeEnum.js +11 -0
- package/dist/interfaces/ProxyTypeEnum.js.map +1 -0
- package/dist/interfaces/index.d.ts +1 -0
- package/dist/interfaces/index.js +1 -0
- package/dist/interfaces/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.ProxyDto = void 0;
|
|
13
|
+
const validation_1 = require("@nmxjs/validation");
|
|
14
|
+
const interfaces_1 = require("../interfaces");
|
|
15
|
+
class ProxyDto {
|
|
16
|
+
}
|
|
17
|
+
exports.ProxyDto = ProxyDto;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, validation_1.Field)({
|
|
20
|
+
type: String,
|
|
21
|
+
}),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], ProxyDto.prototype, "ip", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, validation_1.Field)({
|
|
26
|
+
type: Number,
|
|
27
|
+
}),
|
|
28
|
+
__metadata("design:type", Number)
|
|
29
|
+
], ProxyDto.prototype, "port", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, validation_1.Field)({
|
|
32
|
+
type: { ProxyTypeEnum: interfaces_1.ProxyTypeEnum },
|
|
33
|
+
enum: true,
|
|
34
|
+
}),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], ProxyDto.prototype, "type", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, validation_1.Field)({
|
|
39
|
+
type: String,
|
|
40
|
+
nullable: true,
|
|
41
|
+
}),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], ProxyDto.prototype, "username", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, validation_1.Field)({
|
|
46
|
+
type: String,
|
|
47
|
+
nullable: true,
|
|
48
|
+
}),
|
|
49
|
+
__metadata("design:type", String)
|
|
50
|
+
], ProxyDto.prototype, "password", void 0);
|
|
51
|
+
//# sourceMappingURL=ProxyDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProxyDto.js","sourceRoot":"","sources":["../../src/dto/ProxyDto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA0C;AAC1C,8CAA8C;AAE9C,MAAa,QAAQ;CA4BpB;AA5BD,4BA4BC;AAxBC;IAHC,IAAA,kBAAK,EAAC;QACL,IAAI,EAAE,MAAM;KACb,CAAC;;oCACS;AAKX;IAHC,IAAA,kBAAK,EAAC;QACL,IAAI,EAAE,MAAM;KACb,CAAC;;sCACW;AAMb;IAJC,IAAA,kBAAK,EAAC;QACL,IAAI,EAAE,EAAE,aAAa,EAAb,0BAAa,EAAE;QACvB,IAAI,EAAE,IAAI;KACX,CAAC;;sCACkB;AAMpB;IAJC,IAAA,kBAAK,EAAC;QACL,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,IAAI;KACf,CAAC;;0CACgB;AAMlB;IAJC,IAAA,kBAAK,EAAC;QACL,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,IAAI;KACf,CAAC;;0CACgB"}
|
package/dist/dto/index.d.ts
CHANGED
package/dist/dto/index.js
CHANGED
|
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./ProxyDto"), exports);
|
|
17
18
|
__exportStar(require("./EntityDto"), exports);
|
|
18
19
|
__exportStar(require("./UpdateRequestDto"), exports);
|
|
19
20
|
__exportStar(require("./ListRequestDto"), exports);
|
package/dist/dto/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,qDAAmC;AACnC,mDAAiC;AACjC,oDAAkC;AAClC,6DAA2C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,8CAA4B;AAC5B,qDAAmC;AACnC,mDAAiC;AACjC,oDAAkC;AAClC,6DAA2C"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ProxyTypeEnum = void 0;
|
|
4
|
+
var ProxyTypeEnum;
|
|
5
|
+
(function (ProxyTypeEnum) {
|
|
6
|
+
ProxyTypeEnum["HTTP"] = "HTTP";
|
|
7
|
+
ProxyTypeEnum["HTTPS"] = "HTTPS";
|
|
8
|
+
ProxyTypeEnum["SOCKS4"] = "SOCKS4";
|
|
9
|
+
ProxyTypeEnum["SOCKS5"] = "SOCKS5";
|
|
10
|
+
})(ProxyTypeEnum || (exports.ProxyTypeEnum = ProxyTypeEnum = {}));
|
|
11
|
+
//# sourceMappingURL=ProxyTypeEnum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProxyTypeEnum.js","sourceRoot":"","sources":["../../src/interfaces/ProxyTypeEnum.ts"],"names":[],"mappings":";;;AAAA,IAAY,aAKX;AALD,WAAY,aAAa;IACvB,8BAAa,CAAA;IACb,gCAAe,CAAA;IACf,kCAAiB,CAAA;IACjB,kCAAiB,CAAA;AACnB,CAAC,EALW,aAAa,6BAAb,aAAa,QAKxB"}
|
package/dist/interfaces/index.js
CHANGED
|
@@ -24,4 +24,5 @@ __exportStar(require("./ICallback"), exports);
|
|
|
24
24
|
__exportStar(require("./IBootModeParam"), exports);
|
|
25
25
|
__exportStar(require("./FilterOperatorEnum"), exports);
|
|
26
26
|
__exportStar(require("./SortOrderByEnum"), exports);
|
|
27
|
+
__exportStar(require("./ProxyTypeEnum"), exports);
|
|
27
28
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,oDAAkC;AAClC,qDAAmC;AACnC,kDAAgC;AAChC,iDAA+B;AAC/B,6CAA2B;AAC3B,8CAA4B;AAC5B,mDAAiC;AACjC,uDAAqC;AACrC,oDAAkC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,oDAAkC;AAClC,qDAAmC;AACnC,kDAAgC;AAChC,iDAA+B;AAC/B,6CAA2B;AAC3B,8CAA4B;AAC5B,mDAAiC;AACjC,uDAAqC;AACrC,oDAAkC;AAClC,kDAAgC"}
|