opticedge-types 1.0.78 → 1.0.80

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.
@@ -23,6 +23,10 @@ export declare enum SportsCardType {
23
23
  TENNIS = "tennis"
24
24
  }
25
25
  export type CardType = TradingCardType | SportsCardType;
26
+ export declare enum CardCategory {
27
+ TRADING = "trading",
28
+ SPORTS = "sports"
29
+ }
26
30
  export declare enum CardApprovalStatus {
27
31
  Rescan = -2,
28
32
  Pending = -1,
@@ -1,6 +1,6 @@
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.SportsCardType = exports.TradingCardType = void 0;
3
+ exports.CardVersions = exports.CardInstantGradeType = exports.CardGradingType = exports.CardRescanType = exports.CardRejectType = exports.CardApprovalStatus = exports.CardCategory = exports.SportsCardType = exports.TradingCardType = void 0;
4
4
  var TradingCardType;
5
5
  (function (TradingCardType) {
6
6
  TradingCardType["POKEMON"] = "pokemon";
@@ -27,6 +27,11 @@ var SportsCardType;
27
27
  SportsCardType["GOLF"] = "golf";
28
28
  SportsCardType["TENNIS"] = "tennis";
29
29
  })(SportsCardType || (exports.SportsCardType = SportsCardType = {}));
30
+ var CardCategory;
31
+ (function (CardCategory) {
32
+ CardCategory["TRADING"] = "trading";
33
+ CardCategory["SPORTS"] = "sports";
34
+ })(CardCategory || (exports.CardCategory = CardCategory = {}));
30
35
  var CardApprovalStatus;
31
36
  (function (CardApprovalStatus) {
32
37
  CardApprovalStatus[CardApprovalStatus["Rescan"] = -2] = "Rescan";
package/dist/index.d.ts CHANGED
@@ -5,6 +5,7 @@ export * from './enums/rc';
5
5
  export * from './enums/user';
6
6
  export * from './types/blockchain';
7
7
  export * from './types/card';
8
+ export * from './types/embedding';
8
9
  export * from './types/env';
9
10
  export * from './types/instant';
10
11
  export * from './types/notification';
package/dist/index.js CHANGED
@@ -21,6 +21,7 @@ __exportStar(require("./enums/rc"), exports);
21
21
  __exportStar(require("./enums/user"), exports);
22
22
  __exportStar(require("./types/blockchain"), exports);
23
23
  __exportStar(require("./types/card"), exports);
24
+ __exportStar(require("./types/embedding"), exports);
24
25
  __exportStar(require("./types/env"), exports);
25
26
  __exportStar(require("./types/instant"), exports);
26
27
  __exportStar(require("./types/notification"), exports);
@@ -0,0 +1,6 @@
1
+ export type EmbeddingDoc = {
2
+ _id: number;
3
+ embedding: number[];
4
+ createdAt: Date;
5
+ updatedAt: Date;
6
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opticedge-types",
3
- "version": "1.0.78",
3
+ "version": "1.0.80",
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
@@ -26,6 +26,11 @@ export enum SportsCardType {
26
26
 
27
27
  export type CardType = TradingCardType | SportsCardType
28
28
 
29
+ export enum CardCategory {
30
+ TRADING = "trading",
31
+ SPORTS = "sports"
32
+ }
33
+
29
34
  export enum CardApprovalStatus {
30
35
  Rescan = -2,
31
36
  Pending,
package/src/index.ts CHANGED
@@ -5,6 +5,7 @@ export * from './enums/rc'
5
5
  export * from './enums/user'
6
6
  export * from './types/blockchain'
7
7
  export * from './types/card'
8
+ export * from './types/embedding'
8
9
  export * from './types/env'
9
10
  export * from './types/instant'
10
11
  export * from './types/notification'
@@ -0,0 +1,6 @@
1
+ export type EmbeddingDoc = {
2
+ _id: number
3
+ embedding: number[]
4
+ createdAt: Date
5
+ updatedAt: Date
6
+ }