opticedge-types 1.0.79 → 1.0.81

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
@@ -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 });
@@ -54,7 +54,6 @@ export type PriceChartingDbCard = {
54
54
  cardNumber?: string | null;
55
55
  deleted?: boolean;
56
56
  type: CardType;
57
- ocrText?: string;
58
57
  createdAt?: Date;
59
58
  updatedAt: Date;
60
59
  priceAt?: Date;
@@ -73,7 +72,6 @@ export type PriceChartingApiCard = {
73
72
  images?: Image;
74
73
  type: CardType;
75
74
  version: string;
76
- text?: string;
77
75
  };
78
76
  export type PriceChartingDbSet = {
79
77
  type: CardType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opticedge-types",
3
- "version": "1.0.79",
3
+ "version": "1.0.81",
4
4
  "description": "Common type for opticedge",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
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
+ }
@@ -60,7 +60,6 @@ export type PriceChartingDbCard = {
60
60
  cardNumber?: string | null
61
61
  deleted?: boolean
62
62
  type: CardType
63
- ocrText?: string
64
63
  createdAt?: Date
65
64
  updatedAt: Date
66
65
  priceAt?: Date
@@ -81,7 +80,6 @@ export type PriceChartingApiCard = {
81
80
  images?: Image
82
81
  type: CardType
83
82
  version: string
84
- text?: string
85
83
  }
86
84
 
87
85
  export type PriceChartingDbSet = {