opticedge-cloud-utils 1.0.10 → 1.0.11

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.
@@ -113,3 +113,21 @@ export type PokemonTCGCard = {
113
113
  prices: CardMarketPrices;
114
114
  };
115
115
  };
116
+ export type PokemonPriceHistory = {
117
+ _id: string;
118
+ card_id: string;
119
+ card_num: string;
120
+ pricehistory: [
121
+ {
122
+ date: string;
123
+ tcgplayer: {
124
+ normal: TCGPlayerPrices | null;
125
+ holofoil: TCGPlayerPrices | null;
126
+ reverseHolofoil: TCGPlayerPrices | null;
127
+ firstEditionHolofoil: TCGPlayerPrices | null;
128
+ firstEditionNormal: TCGPlayerPrices | null;
129
+ };
130
+ cardmarket: CardMarketPrices;
131
+ }
132
+ ];
133
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opticedge-cloud-utils",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "description": "Common utilities for cloud functions",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -115,3 +115,22 @@ export type PokemonTCGCard = {
115
115
  prices: CardMarketPrices
116
116
  }
117
117
  }
118
+
119
+ export type PokemonPriceHistory = {
120
+ _id: string
121
+ card_id: string
122
+ card_num: string
123
+ pricehistory: [
124
+ {
125
+ date: string
126
+ tcgplayer: {
127
+ normal: TCGPlayerPrices | null
128
+ holofoil: TCGPlayerPrices | null
129
+ reverseHolofoil: TCGPlayerPrices | null
130
+ firstEditionHolofoil: TCGPlayerPrices | null
131
+ firstEditionNormal: TCGPlayerPrices | null
132
+ }
133
+ cardmarket: CardMarketPrices
134
+ },
135
+ ]
136
+ }