opticedge-cloud-utils 1.0.19 → 1.0.21

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,7 +17,7 @@ type PriceChartingPrice = {
17
17
  retailNewBuy: number | null;
18
18
  retailNewSell: number | null;
19
19
  };
20
- type PriceChartingPriceEntry = {
20
+ export type PriceChartingPriceEntry = {
21
21
  date: string;
22
22
  price: PriceChartingPrice;
23
23
  };
@@ -32,9 +32,8 @@ export type PriceChartingCard = {
32
32
  epid: string;
33
33
  releaseDate: string;
34
34
  price: PriceChartingPrice;
35
- priceHistory: [PriceChartingPriceEntry];
35
+ priceHistory: PriceChartingPriceEntry[];
36
36
  salesVolume: number | null;
37
- salesVolumeHistory: [number | null];
37
+ salesVolumeHistory: (number | null)[];
38
38
  updatedAt: string;
39
39
  };
40
- export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opticedge-cloud-utils",
3
- "version": "1.0.19",
3
+ "version": "1.0.21",
4
4
  "description": "Common utilities for cloud functions",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -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,7 +18,7 @@ type PriceChartingPrice = {
18
18
  retailNewSell: number | null
19
19
  }
20
20
 
21
- type PriceChartingPriceEntry = {
21
+ export type PriceChartingPriceEntry = {
22
22
  date: string
23
23
  price: PriceChartingPrice
24
24
  }
@@ -34,8 +34,8 @@ export type PriceChartingCard = {
34
34
  epid: string
35
35
  releaseDate: string
36
36
  price: PriceChartingPrice
37
- priceHistory: [PriceChartingPriceEntry]
37
+ priceHistory: PriceChartingPriceEntry[]
38
38
  salesVolume: number | null
39
- salesVolumeHistory: [number | null]
39
+ salesVolumeHistory: (number | null)[]
40
40
  updatedAt: string
41
41
  }