opticedge-cloud-utils 1.0.18 → 1.0.20
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
type PriceChartingPrice = {
|
|
1
|
+
export type PriceChartingPrice = {
|
|
2
2
|
loose: number | null;
|
|
3
3
|
cib: number | null;
|
|
4
4
|
new: number | null;
|
|
@@ -17,6 +17,10 @@ type PriceChartingPrice = {
|
|
|
17
17
|
retailNewBuy: number | null;
|
|
18
18
|
retailNewSell: number | null;
|
|
19
19
|
};
|
|
20
|
+
export type PriceChartingPriceEntry = {
|
|
21
|
+
date: string;
|
|
22
|
+
price: PriceChartingPrice;
|
|
23
|
+
};
|
|
20
24
|
export type PriceChartingCard = {
|
|
21
25
|
id: number;
|
|
22
26
|
consoleName: string;
|
|
@@ -28,9 +32,8 @@ export type PriceChartingCard = {
|
|
|
28
32
|
epid: string;
|
|
29
33
|
releaseDate: string;
|
|
30
34
|
price: PriceChartingPrice;
|
|
31
|
-
priceHistory: [
|
|
35
|
+
priceHistory: [PriceChartingPriceEntry];
|
|
32
36
|
salesVolume: number | null;
|
|
33
37
|
salesVolumeHistory: [number | null];
|
|
34
38
|
updatedAt: string;
|
|
35
39
|
};
|
|
36
|
-
export {};
|
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
type PriceChartingPrice = {
|
|
1
|
+
export type PriceChartingPrice = {
|
|
2
2
|
loose: number | null
|
|
3
3
|
cib: number | null
|
|
4
4
|
new: number | null
|
|
@@ -18,6 +18,11 @@ type PriceChartingPrice = {
|
|
|
18
18
|
retailNewSell: number | null
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
+
export type PriceChartingPriceEntry = {
|
|
22
|
+
date: string
|
|
23
|
+
price: PriceChartingPrice
|
|
24
|
+
}
|
|
25
|
+
|
|
21
26
|
export type PriceChartingCard = {
|
|
22
27
|
id: number
|
|
23
28
|
consoleName: string
|
|
@@ -29,7 +34,7 @@ export type PriceChartingCard = {
|
|
|
29
34
|
epid: string
|
|
30
35
|
releaseDate: string
|
|
31
36
|
price: PriceChartingPrice
|
|
32
|
-
priceHistory: [
|
|
37
|
+
priceHistory: [PriceChartingPriceEntry]
|
|
33
38
|
salesVolume: number | null
|
|
34
39
|
salesVolumeHistory: [number | null]
|
|
35
40
|
updatedAt: string
|