opticedge-types 1.0.74 → 1.0.76

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,14 +1,27 @@
1
- export declare enum CardType {
1
+ export declare enum TradingCardType {
2
2
  POKEMON = "pokemon",
3
3
  LORCANA = "lorcana",
4
4
  MAGIC = "magic",
5
5
  YUGIOH = "yugioh",
6
- VIDEO_GAMES = "video_games",
7
6
  DIGIMON = "digimon",
8
7
  DRAGON_BALL = "dragon_ball",
9
8
  ONE_PIECE = "one_piece",
10
9
  OTHER_TCG = "other_tcg"
11
10
  }
11
+ export declare enum SportsCardType {
12
+ BASEBALL = "baseball",
13
+ BASKETBALL = "basketball",
14
+ FOOTBALL = "football",
15
+ HOCKEY = "hockey",
16
+ SOCCER = "soccer",
17
+ RACING = "racing",
18
+ WRESTLING = "wrestling",
19
+ UFC = "ufc",
20
+ BOXING = "boxing",
21
+ GOLF = "golf",
22
+ TENNIS = "tennis"
23
+ }
24
+ export type CardType = TradingCardType | SportsCardType;
12
25
  export declare enum CardApprovalStatus {
13
26
  Rescan = -2,
14
27
  Pending = -1,
@@ -1,18 +1,31 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CardVersions = exports.CardInstantGradeType = exports.CardGradingType = exports.CardRescanType = exports.CardRejectType = exports.CardApprovalStatus = exports.CardType = void 0;
4
- var CardType;
5
- (function (CardType) {
6
- CardType["POKEMON"] = "pokemon";
7
- CardType["LORCANA"] = "lorcana";
8
- CardType["MAGIC"] = "magic";
9
- CardType["YUGIOH"] = "yugioh";
10
- CardType["VIDEO_GAMES"] = "video_games";
11
- CardType["DIGIMON"] = "digimon";
12
- CardType["DRAGON_BALL"] = "dragon_ball";
13
- CardType["ONE_PIECE"] = "one_piece";
14
- CardType["OTHER_TCG"] = "other_tcg";
15
- })(CardType || (exports.CardType = CardType = {}));
3
+ exports.CardVersions = exports.CardInstantGradeType = exports.CardGradingType = exports.CardRescanType = exports.CardRejectType = exports.CardApprovalStatus = exports.SportsCardType = exports.TradingCardType = void 0;
4
+ var TradingCardType;
5
+ (function (TradingCardType) {
6
+ TradingCardType["POKEMON"] = "pokemon";
7
+ TradingCardType["LORCANA"] = "lorcana";
8
+ TradingCardType["MAGIC"] = "magic";
9
+ TradingCardType["YUGIOH"] = "yugioh";
10
+ TradingCardType["DIGIMON"] = "digimon";
11
+ TradingCardType["DRAGON_BALL"] = "dragon_ball";
12
+ TradingCardType["ONE_PIECE"] = "one_piece";
13
+ TradingCardType["OTHER_TCG"] = "other_tcg";
14
+ })(TradingCardType || (exports.TradingCardType = TradingCardType = {}));
15
+ var SportsCardType;
16
+ (function (SportsCardType) {
17
+ SportsCardType["BASEBALL"] = "baseball";
18
+ SportsCardType["BASKETBALL"] = "basketball";
19
+ SportsCardType["FOOTBALL"] = "football";
20
+ SportsCardType["HOCKEY"] = "hockey";
21
+ SportsCardType["SOCCER"] = "soccer";
22
+ SportsCardType["RACING"] = "racing";
23
+ SportsCardType["WRESTLING"] = "wrestling";
24
+ SportsCardType["UFC"] = "ufc";
25
+ SportsCardType["BOXING"] = "boxing";
26
+ SportsCardType["GOLF"] = "golf";
27
+ SportsCardType["TENNIS"] = "tennis";
28
+ })(SportsCardType || (exports.SportsCardType = SportsCardType = {}));
16
29
  var CardApprovalStatus;
17
30
  (function (CardApprovalStatus) {
18
31
  CardApprovalStatus[CardApprovalStatus["Rescan"] = -2] = "Rescan";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opticedge-types",
3
- "version": "1.0.74",
3
+ "version": "1.0.76",
4
4
  "description": "Common type for opticedge",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/enums/card.ts CHANGED
@@ -1,15 +1,30 @@
1
- export enum CardType {
1
+ export enum TradingCardType {
2
2
  POKEMON = 'pokemon',
3
3
  LORCANA = 'lorcana',
4
4
  MAGIC = 'magic',
5
5
  YUGIOH = 'yugioh',
6
- VIDEO_GAMES = 'video_games',
7
6
  DIGIMON = 'digimon',
8
7
  DRAGON_BALL = 'dragon_ball',
9
8
  ONE_PIECE = 'one_piece',
10
9
  OTHER_TCG = 'other_tcg'
11
10
  }
12
11
 
12
+ export enum SportsCardType {
13
+ BASEBALL = "baseball",
14
+ BASKETBALL = "basketball",
15
+ FOOTBALL = "football",
16
+ HOCKEY = "hockey",
17
+ SOCCER = "soccer",
18
+ RACING = "racing",
19
+ WRESTLING = "wrestling",
20
+ UFC = "ufc",
21
+ BOXING = "boxing",
22
+ GOLF = "golf",
23
+ TENNIS = "tennis"
24
+ }
25
+
26
+ export type CardType = TradingCardType | SportsCardType
27
+
13
28
  export enum CardApprovalStatus {
14
29
  Rescan = -2,
15
30
  Pending,