opticedge-cloud-utils 1.0.40 → 1.0.41

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,3 +1,4 @@
1
+ import { PriceChartingPrice } from "./pricecharting";
1
2
  export type TCGPlayerPrices = {
2
3
  low: number;
3
4
  mid: number;
@@ -118,6 +119,12 @@ export type PokemonTCGCard = {
118
119
  updatedAt: string;
119
120
  prices: CardMarketPrices;
120
121
  };
122
+ pricecharting?: {
123
+ id: string;
124
+ price: PriceChartingPrice;
125
+ updatedAt: string;
126
+ deleted?: boolean;
127
+ };
121
128
  };
122
129
  export type PokemonCard = {
123
130
  _id: string;
@@ -36,4 +36,5 @@ export type PriceChartingCard = {
36
36
  salesVolume: number | null;
37
37
  salesVolumeHistory: (number | null)[];
38
38
  updatedAt: string;
39
+ deleted?: boolean;
39
40
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opticedge-cloud-utils",
3
- "version": "1.0.40",
3
+ "version": "1.0.41",
4
4
  "description": "Common utilities for cloud functions",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,3 +1,5 @@
1
+ import { PriceChartingPrice } from "./pricecharting"
2
+
1
3
  export type TCGPlayerPrices = {
2
4
  low: number
3
5
  mid: number
@@ -120,6 +122,12 @@ export type PokemonTCGCard = {
120
122
  updatedAt: string
121
123
  prices: CardMarketPrices
122
124
  }
125
+ pricecharting?: {
126
+ id: string
127
+ price: PriceChartingPrice
128
+ updatedAt: string
129
+ deleted?: boolean
130
+ }
123
131
  }
124
132
 
125
133
  export type PokemonCard = {
@@ -38,4 +38,5 @@ export type PriceChartingCard = {
38
38
  salesVolume: number | null
39
39
  salesVolumeHistory: (number | null)[]
40
40
  updatedAt: string
41
+ deleted?: boolean
41
42
  }