opticedge-cloud-utils 1.0.43 → 1.0.45
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/types/card.d.ts +8 -1
- package/dist/types/card.js +9 -1
- package/package.json +1 -1
- package/src/types/card.ts +9 -1
package/dist/types/card.d.ts
CHANGED
|
@@ -5,6 +5,13 @@ export declare enum CardApprovalStatus {
|
|
|
5
5
|
Approved = 1,
|
|
6
6
|
Approving = 999
|
|
7
7
|
}
|
|
8
|
+
export declare enum CardGradingType {
|
|
9
|
+
UNKNOWN = 0,
|
|
10
|
+
COLLECTION = 1,
|
|
11
|
+
ADDED = 2,
|
|
12
|
+
SOLD = 3,
|
|
13
|
+
CARD_CENTERING = 6
|
|
14
|
+
}
|
|
8
15
|
export type MarketReport = {
|
|
9
16
|
data: string;
|
|
10
17
|
title: string;
|
|
@@ -67,6 +74,6 @@ export type Card = {
|
|
|
67
74
|
tcgLargeImageUrl: string;
|
|
68
75
|
tcgSmallImageUrl: string;
|
|
69
76
|
type: number;
|
|
70
|
-
typeOfGrading:
|
|
77
|
+
typeOfGrading: CardGradingType;
|
|
71
78
|
userId: string;
|
|
72
79
|
};
|
package/dist/types/card.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CardApprovalStatus = void 0;
|
|
3
|
+
exports.CardGradingType = exports.CardApprovalStatus = void 0;
|
|
4
4
|
var CardApprovalStatus;
|
|
5
5
|
(function (CardApprovalStatus) {
|
|
6
6
|
CardApprovalStatus[CardApprovalStatus["Rescan"] = -2] = "Rescan";
|
|
@@ -9,3 +9,11 @@ var CardApprovalStatus;
|
|
|
9
9
|
CardApprovalStatus[CardApprovalStatus["Approved"] = 1] = "Approved";
|
|
10
10
|
CardApprovalStatus[CardApprovalStatus["Approving"] = 999] = "Approving";
|
|
11
11
|
})(CardApprovalStatus || (exports.CardApprovalStatus = CardApprovalStatus = {}));
|
|
12
|
+
var CardGradingType;
|
|
13
|
+
(function (CardGradingType) {
|
|
14
|
+
CardGradingType[CardGradingType["UNKNOWN"] = 0] = "UNKNOWN";
|
|
15
|
+
CardGradingType[CardGradingType["COLLECTION"] = 1] = "COLLECTION";
|
|
16
|
+
CardGradingType[CardGradingType["ADDED"] = 2] = "ADDED";
|
|
17
|
+
CardGradingType[CardGradingType["SOLD"] = 3] = "SOLD";
|
|
18
|
+
CardGradingType[CardGradingType["CARD_CENTERING"] = 6] = "CARD_CENTERING";
|
|
19
|
+
})(CardGradingType || (exports.CardGradingType = CardGradingType = {}));
|
package/package.json
CHANGED
package/src/types/card.ts
CHANGED
|
@@ -6,6 +6,14 @@ export enum CardApprovalStatus {
|
|
|
6
6
|
Approving = 999
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
+
export enum CardGradingType {
|
|
10
|
+
UNKNOWN = 0,
|
|
11
|
+
COLLECTION = 1,
|
|
12
|
+
ADDED = 2,
|
|
13
|
+
SOLD = 3,
|
|
14
|
+
CARD_CENTERING = 6
|
|
15
|
+
}
|
|
16
|
+
|
|
9
17
|
export type MarketReport = {
|
|
10
18
|
data: string
|
|
11
19
|
title: string
|
|
@@ -69,6 +77,6 @@ export type Card = {
|
|
|
69
77
|
tcgLargeImageUrl: string
|
|
70
78
|
tcgSmallImageUrl: string
|
|
71
79
|
type: number
|
|
72
|
-
typeOfGrading:
|
|
80
|
+
typeOfGrading: CardGradingType
|
|
73
81
|
userId: string
|
|
74
82
|
}
|