opticedge-cloud-utils 1.0.27 → 1.0.29

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
@@ -6,6 +6,7 @@ export * from './types/card';
6
6
  export * from './types/notify';
7
7
  export * from './types/pokemontcg';
8
8
  export * from './types/pricecharting';
9
+ export * from './types/user';
9
10
  export * from './utils/env';
10
11
  export * from './utils/regex';
11
12
  export * from './utils/secrets';
package/dist/index.js CHANGED
@@ -22,6 +22,7 @@ __exportStar(require("./types/card"), exports);
22
22
  __exportStar(require("./types/notify"), exports);
23
23
  __exportStar(require("./types/pokemontcg"), exports);
24
24
  __exportStar(require("./types/pricecharting"), exports);
25
+ __exportStar(require("./types/user"), exports);
25
26
  __exportStar(require("./utils/env"), exports);
26
27
  __exportStar(require("./utils/regex"), exports);
27
28
  __exportStar(require("./utils/secrets"), exports);
@@ -35,6 +35,7 @@ export type Card = {
35
35
  edge_grading: number;
36
36
  frontImage: string;
37
37
  frontImageUncropped: string;
38
+ gifUrl?: string;
38
39
  gradeDate: number;
39
40
  grading: number;
40
41
  grading_confidence: number;
@@ -0,0 +1,6 @@
1
+ export declare enum UserCollectorType {
2
+ 'Non-member' = -1,
3
+ Elite = 0,
4
+ Rookie = 1,
5
+ Free = 2
6
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UserCollectorType = void 0;
4
+ var UserCollectorType;
5
+ (function (UserCollectorType) {
6
+ UserCollectorType[UserCollectorType["Non-member"] = -1] = "Non-member";
7
+ UserCollectorType[UserCollectorType["Elite"] = 0] = "Elite";
8
+ UserCollectorType[UserCollectorType["Rookie"] = 1] = "Rookie";
9
+ UserCollectorType[UserCollectorType["Free"] = 2] = "Free";
10
+ })(UserCollectorType || (exports.UserCollectorType = UserCollectorType = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opticedge-cloud-utils",
3
- "version": "1.0.27",
3
+ "version": "1.0.29",
4
4
  "description": "Common utilities for cloud functions",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -10,7 +10,8 @@
10
10
  "lint": "eslint . --ext .ts --fix",
11
11
  "format": "prettier --write .",
12
12
  "fix": "npm run lint && npm run format",
13
- "prepare": "npm run build"
13
+ "prepare": "npm run build",
14
+ "publish": "npm version patch && npm publish"
14
15
  },
15
16
  "author": "Evans Musonda",
16
17
  "license": "MIT",
package/src/index.ts CHANGED
@@ -6,6 +6,7 @@ export * from './types/card'
6
6
  export * from './types/notify'
7
7
  export * from './types/pokemontcg'
8
8
  export * from './types/pricecharting'
9
+ export * from './types/user'
9
10
  export * from './utils/env'
10
11
  export * from './utils/regex'
11
12
  export * from './utils/secrets'
package/src/types/card.ts CHANGED
@@ -37,6 +37,7 @@ export type Card = {
37
37
  edge_grading: number
38
38
  frontImage: string
39
39
  frontImageUncropped: string
40
+ gifUrl?: string
40
41
  gradeDate: number
41
42
  grading: number
42
43
  grading_confidence: number
@@ -0,0 +1,6 @@
1
+ export enum UserCollectorType {
2
+ 'Non-member' = -1,
3
+ Elite,
4
+ Rookie,
5
+ Free,
6
+ }