synunu-libs 1.0.39 → 1.0.40
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/enum/account-status.enum.d.ts +3 -3
- package/dist/enum/account-status.enum.js +3 -3
- package/dist/enum/collection-type.enum.d.ts +2 -2
- package/dist/enum/collection-type.enum.js +3 -3
- package/dist/enum/collection-type.enum.js.map +1 -1
- package/dist/enum/relation-type.enum.d.ts +7 -7
- package/dist/enum/relation-type.enum.d.ts.map +1 -1
- package/dist/enum/relation-type.enum.js +7 -7
- package/dist/enum/relation-type.enum.js.map +1 -1
- package/dist/enum/sort-order.enum.d.ts +7 -7
- package/dist/enum/sort-order.enum.d.ts.map +1 -1
- package/dist/enum/sort-order.enum.js +7 -7
- package/dist/enum/sort-order.enum.js.map +1 -1
- package/dist/enum/use.enum.d.ts +3 -3
- package/dist/enum/use.enum.js +4 -4
- package/package.json +1 -1
|
@@ -4,9 +4,9 @@ exports.EAccountStatus = void 0;
|
|
|
4
4
|
const graphql_1 = require("@nestjs/graphql");
|
|
5
5
|
var EAccountStatus;
|
|
6
6
|
(function (EAccountStatus) {
|
|
7
|
-
EAccountStatus["
|
|
8
|
-
EAccountStatus["
|
|
9
|
-
EAccountStatus["
|
|
7
|
+
EAccountStatus["Active"] = "ACTIVE";
|
|
8
|
+
EAccountStatus["Inactive"] = "INACTIVE";
|
|
9
|
+
EAccountStatus["Banned"] = "BANNED";
|
|
10
10
|
})(EAccountStatus || (exports.EAccountStatus = EAccountStatus = {}));
|
|
11
11
|
(0, graphql_1.registerEnumType)(EAccountStatus, {
|
|
12
12
|
name: "EAccountStatus",
|
|
@@ -4,11 +4,11 @@ exports.ECollectionType = void 0;
|
|
|
4
4
|
const graphql_1 = require("@nestjs/graphql");
|
|
5
5
|
var ECollectionType;
|
|
6
6
|
(function (ECollectionType) {
|
|
7
|
-
ECollectionType["
|
|
8
|
-
ECollectionType["
|
|
7
|
+
ECollectionType["Custom"] = "CUSTOM";
|
|
8
|
+
ECollectionType["Smart"] = "SMART";
|
|
9
9
|
})(ECollectionType || (exports.ECollectionType = ECollectionType = {}));
|
|
10
10
|
(0, graphql_1.registerEnumType)(ECollectionType, {
|
|
11
|
-
name: "
|
|
11
|
+
name: "ECollectionType",
|
|
12
12
|
description: "Type of the collection: custom or smart",
|
|
13
13
|
});
|
|
14
14
|
//# sourceMappingURL=collection-type.enum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collection-type.enum.js","sourceRoot":"","sources":["../../src/enum/collection-type.enum.ts"],"names":[],"mappings":";;;AAAA,6CAAmD;AAEnD,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,oCAAiB,CAAA;IACjB,kCAAe,CAAA;AACjB,CAAC,EAHW,eAAe,+BAAf,eAAe,QAG1B;AAED,IAAA,0BAAgB,EAAC,eAAe,EAAE;IAChC,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"collection-type.enum.js","sourceRoot":"","sources":["../../src/enum/collection-type.enum.ts"],"names":[],"mappings":";;;AAAA,6CAAmD;AAEnD,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,oCAAiB,CAAA;IACjB,kCAAe,CAAA;AACjB,CAAC,EAHW,eAAe,+BAAf,eAAe,QAG1B;AAED,IAAA,0BAAgB,EAAC,eAAe,EAAE;IAChC,IAAI,EAAE,iBAAiB;IACvB,WAAW,EAAE,yCAAyC;CACvD,CAAC,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare enum ERelationType {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
Equals = "EQUALS",
|
|
3
|
+
StartsWith = "STARTS_WITH",
|
|
4
|
+
EndsWith = "ENDS_WITH",
|
|
5
|
+
Contains = "CONTAINS",
|
|
6
|
+
NotContains = "NOT_CONTAINS",
|
|
7
|
+
GreaterThan = "GREATER_THAN",
|
|
8
|
+
LessThan = "LESS_THAN"
|
|
9
9
|
}
|
|
10
10
|
//# sourceMappingURL=relation-type.enum.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"relation-type.enum.d.ts","sourceRoot":"","sources":["../../src/enum/relation-type.enum.ts"],"names":[],"mappings":"AAEA,oBAAY,aAAa;IACvB,MAAM,WAAW;IACjB,
|
|
1
|
+
{"version":3,"file":"relation-type.enum.d.ts","sourceRoot":"","sources":["../../src/enum/relation-type.enum.ts"],"names":[],"mappings":"AAEA,oBAAY,aAAa;IACvB,MAAM,WAAW;IACjB,UAAU,gBAAgB;IAC1B,QAAQ,cAAc;IACtB,QAAQ,aAAa;IACrB,WAAW,iBAAiB;IAC5B,WAAW,iBAAiB;IAC5B,QAAQ,cAAc;CACvB"}
|
|
@@ -4,13 +4,13 @@ exports.ERelationType = void 0;
|
|
|
4
4
|
const graphql_1 = require("@nestjs/graphql");
|
|
5
5
|
var ERelationType;
|
|
6
6
|
(function (ERelationType) {
|
|
7
|
-
ERelationType["
|
|
8
|
-
ERelationType["
|
|
9
|
-
ERelationType["
|
|
10
|
-
ERelationType["
|
|
11
|
-
ERelationType["
|
|
12
|
-
ERelationType["
|
|
13
|
-
ERelationType["
|
|
7
|
+
ERelationType["Equals"] = "EQUALS";
|
|
8
|
+
ERelationType["StartsWith"] = "STARTS_WITH";
|
|
9
|
+
ERelationType["EndsWith"] = "ENDS_WITH";
|
|
10
|
+
ERelationType["Contains"] = "CONTAINS";
|
|
11
|
+
ERelationType["NotContains"] = "NOT_CONTAINS";
|
|
12
|
+
ERelationType["GreaterThan"] = "GREATER_THAN";
|
|
13
|
+
ERelationType["LessThan"] = "LESS_THAN";
|
|
14
14
|
})(ERelationType || (exports.ERelationType = ERelationType = {}));
|
|
15
15
|
(0, graphql_1.registerEnumType)(ERelationType, {
|
|
16
16
|
name: "ERelationType",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"relation-type.enum.js","sourceRoot":"","sources":["../../src/enum/relation-type.enum.ts"],"names":[],"mappings":";;;AAAA,6CAAmD;AAEnD,IAAY,aAQX;AARD,WAAY,aAAa;IACvB,kCAAiB,CAAA;IACjB,
|
|
1
|
+
{"version":3,"file":"relation-type.enum.js","sourceRoot":"","sources":["../../src/enum/relation-type.enum.ts"],"names":[],"mappings":";;;AAAA,6CAAmD;AAEnD,IAAY,aAQX;AARD,WAAY,aAAa;IACvB,kCAAiB,CAAA;IACjB,2CAA0B,CAAA;IAC1B,uCAAsB,CAAA;IACtB,sCAAqB,CAAA;IACrB,6CAA4B,CAAA;IAC5B,6CAA4B,CAAA;IAC5B,uCAAsB,CAAA;AACxB,CAAC,EARW,aAAa,6BAAb,aAAa,QAQxB;AAED,IAAA,0BAAgB,EAAC,aAAa,EAAE;IAC9B,IAAI,EAAE,eAAe;IACrB,WAAW,EACT,yGAAyG;CAC5G,CAAC,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare enum ESortOrder {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
AlphaAsc = "ALPHA_ASC",
|
|
3
|
+
Manual = "MANUAL",
|
|
4
|
+
AlphaDesc = "ALPHA_DESC",
|
|
5
|
+
PriceDesc = "PRICE_DESC",
|
|
6
|
+
PriceAsc = "PRICE_ASC",
|
|
7
|
+
CreatedDesc = "CREATED_DESC",
|
|
8
|
+
CreatedAsc = "CREATED_ASC"
|
|
9
9
|
}
|
|
10
10
|
//# sourceMappingURL=sort-order.enum.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sort-order.enum.d.ts","sourceRoot":"","sources":["../../src/enum/sort-order.enum.ts"],"names":[],"mappings":"AAGA,oBAAY,UAAU;IACpB,
|
|
1
|
+
{"version":3,"file":"sort-order.enum.d.ts","sourceRoot":"","sources":["../../src/enum/sort-order.enum.ts"],"names":[],"mappings":"AAGA,oBAAY,UAAU;IACpB,QAAQ,cAAc;IACtB,MAAM,WAAW;IACjB,SAAS,eAAe;IACxB,SAAS,eAAe;IACxB,QAAQ,cAAc;IACtB,WAAW,iBAAiB;IAC5B,UAAU,gBAAgB;CAC3B"}
|
|
@@ -5,13 +5,13 @@ const graphql_1 = require("@nestjs/graphql");
|
|
|
5
5
|
// Enum định nghĩa các giá trị hợp lệ cho sortOrder
|
|
6
6
|
var ESortOrder;
|
|
7
7
|
(function (ESortOrder) {
|
|
8
|
-
ESortOrder["
|
|
9
|
-
ESortOrder["
|
|
10
|
-
ESortOrder["
|
|
11
|
-
ESortOrder["
|
|
12
|
-
ESortOrder["
|
|
13
|
-
ESortOrder["
|
|
14
|
-
ESortOrder["
|
|
8
|
+
ESortOrder["AlphaAsc"] = "ALPHA_ASC";
|
|
9
|
+
ESortOrder["Manual"] = "MANUAL";
|
|
10
|
+
ESortOrder["AlphaDesc"] = "ALPHA_DESC";
|
|
11
|
+
ESortOrder["PriceDesc"] = "PRICE_DESC";
|
|
12
|
+
ESortOrder["PriceAsc"] = "PRICE_ASC";
|
|
13
|
+
ESortOrder["CreatedDesc"] = "CREATED_DESC";
|
|
14
|
+
ESortOrder["CreatedAsc"] = "CREATED_ASC";
|
|
15
15
|
})(ESortOrder || (exports.ESortOrder = ESortOrder = {}));
|
|
16
16
|
// Nếu dùng GraphQL
|
|
17
17
|
(0, graphql_1.registerEnumType)(ESortOrder, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sort-order.enum.js","sourceRoot":"","sources":["../../src/enum/sort-order.enum.ts"],"names":[],"mappings":";;;AAAA,6CAAmD;AAEnD,mDAAmD;AACnD,IAAY,UAQX;AARD,WAAY,UAAU;IACpB,
|
|
1
|
+
{"version":3,"file":"sort-order.enum.js","sourceRoot":"","sources":["../../src/enum/sort-order.enum.ts"],"names":[],"mappings":";;;AAAA,6CAAmD;AAEnD,mDAAmD;AACnD,IAAY,UAQX;AARD,WAAY,UAAU;IACpB,oCAAsB,CAAA;IACtB,+BAAiB,CAAA;IACjB,sCAAwB,CAAA;IACxB,sCAAwB,CAAA;IACxB,oCAAsB,CAAA;IACtB,0CAA4B,CAAA;IAC5B,wCAA0B,CAAA;AAC5B,CAAC,EARW,UAAU,0BAAV,UAAU,QAQrB;AAED,mBAAmB;AACnB,IAAA,0BAAgB,EAAC,UAAU,EAAE;IAC3B,IAAI,EAAE,YAAY;IAClB,WAAW,EAAE,+CAA+C;CAC7D,CAAC,CAAC"}
|
package/dist/enum/use.enum.d.ts
CHANGED
package/dist/enum/use.enum.js
CHANGED
|
@@ -4,9 +4,9 @@ exports.UserType = void 0;
|
|
|
4
4
|
const graphql_1 = require("@nestjs/graphql");
|
|
5
5
|
var UserType;
|
|
6
6
|
(function (UserType) {
|
|
7
|
-
UserType["
|
|
8
|
-
UserType["
|
|
9
|
-
UserType["
|
|
7
|
+
UserType["Admin"] = "admin";
|
|
8
|
+
UserType["Shop"] = "shop";
|
|
9
|
+
UserType["Buyer"] = "buyer";
|
|
10
10
|
})(UserType || (exports.UserType = UserType = {}));
|
|
11
|
-
(0, graphql_1.registerEnumType)(UserType, { name:
|
|
11
|
+
(0, graphql_1.registerEnumType)(UserType, { name: "UserType" });
|
|
12
12
|
//# sourceMappingURL=use.enum.js.map
|