opticedge-cloud-utils 1.0.20 → 1.0.22

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/index.d.ts CHANGED
@@ -2,6 +2,7 @@ export * from './auth/verify';
2
2
  export * from './db/mongo';
3
3
  export * from './db/mongo2';
4
4
  export * from './db/mongo3';
5
+ export * from './types/notify';
5
6
  export * from './types/pokemontcg';
6
7
  export * from './types/pricecharting';
7
8
  export * from './utils/env';
package/dist/index.js CHANGED
@@ -18,6 +18,7 @@ __exportStar(require("./auth/verify"), exports);
18
18
  __exportStar(require("./db/mongo"), exports);
19
19
  __exportStar(require("./db/mongo2"), exports);
20
20
  __exportStar(require("./db/mongo3"), exports);
21
+ __exportStar(require("./types/notify"), exports);
21
22
  __exportStar(require("./types/pokemontcg"), exports);
22
23
  __exportStar(require("./types/pricecharting"), exports);
23
24
  __exportStar(require("./utils/env"), exports);
@@ -0,0 +1,4 @@
1
+ export type Message = {
2
+ title: string;
3
+ body: string;
4
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -32,8 +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
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opticedge-cloud-utils",
3
- "version": "1.0.20",
3
+ "version": "1.0.22",
4
4
  "description": "Common utilities for cloud functions",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/index.ts CHANGED
@@ -2,6 +2,7 @@ export * from './auth/verify'
2
2
  export * from './db/mongo'
3
3
  export * from './db/mongo2'
4
4
  export * from './db/mongo3'
5
+ export * from './types/notify'
5
6
  export * from './types/pokemontcg'
6
7
  export * from './types/pricecharting'
7
8
  export * from './utils/env'
@@ -0,0 +1,4 @@
1
+ export type Message = {
2
+ title: string
3
+ body: string
4
+ }
@@ -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
  }