@bigfootai/bigfoot-types 2.6.1 → 2.6.2

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.
Files changed (2) hide show
  1. package/model.ts +3 -7
  2. package/package.json +1 -1
package/model.ts CHANGED
@@ -164,13 +164,9 @@ export interface Step {
164
164
  status: StepStatus;
165
165
  }
166
166
 
167
- export interface DateEntry extends MachineLearningEntry {
168
- dateStart: number;
169
- dateEnd: number;
170
- }
171
-
172
167
  export interface EntityEntry extends MachineLearningEntry {
173
168
  name: string;
169
+ score: number;
174
170
  }
175
171
 
176
172
  export interface MachineLearningEntry {
@@ -243,7 +239,7 @@ export class ConnectedProvider {
243
239
  bigfootAccessToken: string;
244
240
  email?: string;
245
241
  instanceUrl?: string;
246
- profile: any;
242
+ profile?: any;
247
243
  accessToken?: string;
248
244
  dateCreated: number;
249
245
  dateUpdated: number;
@@ -280,7 +276,7 @@ export interface ReferenceNote {
280
276
 
281
277
  export class Article extends Primitive {
282
278
  referenceNote: ReferenceNote;
283
- dates?: DateEntry[];
279
+ dates?: EntityEntry[];
284
280
  locations?: EntityEntry[];
285
281
  organizations?: EntityEntry[];
286
282
  names?: EntityEntry[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Bigfoot",
3
3
  "name": "@bigfootai/bigfoot-types",
4
- "version": "2.6.1",
4
+ "version": "2.6.2",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",