@bigfootai/bigfoot-types 2.9.5 → 2.9.7
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/model.js +1 -2
- package/model.ts +3 -8
- package/package.json +1 -1
package/model.js
CHANGED
|
@@ -187,9 +187,8 @@ class Primitive {
|
|
|
187
187
|
}
|
|
188
188
|
exports.Primitive = Primitive;
|
|
189
189
|
class Sync extends Primitive {
|
|
190
|
-
constructor(
|
|
190
|
+
constructor(tenantIdCreated, providerRequest) {
|
|
191
191
|
super();
|
|
192
|
-
this.connectionId = connectionId;
|
|
193
192
|
this.tenantIdCreated = tenantIdCreated;
|
|
194
193
|
this.providerRequest = providerRequest;
|
|
195
194
|
}
|
package/model.ts
CHANGED
|
@@ -321,7 +321,6 @@ export interface ConnectedProvider {
|
|
|
321
321
|
export interface ReferenceNote {
|
|
322
322
|
id: string;
|
|
323
323
|
version: number;
|
|
324
|
-
text: string;
|
|
325
324
|
}
|
|
326
325
|
|
|
327
326
|
export interface Changes {
|
|
@@ -349,17 +348,11 @@ export class Primitive {
|
|
|
349
348
|
}
|
|
350
349
|
|
|
351
350
|
export class Sync extends Primitive {
|
|
352
|
-
connectionId: string;
|
|
353
351
|
providerRequest: ProviderRequest;
|
|
354
352
|
|
|
355
|
-
constructor(
|
|
356
|
-
connectionId: string,
|
|
357
|
-
tenantIdCreated: string,
|
|
358
|
-
providerRequest: ProviderRequest
|
|
359
|
-
) {
|
|
353
|
+
constructor(tenantIdCreated: string, providerRequest: ProviderRequest) {
|
|
360
354
|
super();
|
|
361
355
|
|
|
362
|
-
this.connectionId = connectionId;
|
|
363
356
|
this.tenantIdCreated = tenantIdCreated;
|
|
364
357
|
this.providerRequest = providerRequest;
|
|
365
358
|
}
|
|
@@ -498,6 +491,7 @@ export class Person extends Tag {
|
|
|
498
491
|
}
|
|
499
492
|
|
|
500
493
|
export class Article extends Primitive {
|
|
494
|
+
text: string;
|
|
501
495
|
referenceNote: ReferenceNote;
|
|
502
496
|
sentiment?: DocumentSentiment;
|
|
503
497
|
dates?: EntityEntry[];
|
|
@@ -509,6 +503,7 @@ export class Article extends Primitive {
|
|
|
509
503
|
mentions?: EntityEntry[];
|
|
510
504
|
relations?: RelationEntry[];
|
|
511
505
|
linkUrls?: string[];
|
|
506
|
+
tasks?: Task[];
|
|
512
507
|
|
|
513
508
|
constructor(referenceNote: ReferenceNote) {
|
|
514
509
|
super();
|