@bigfootai/bigfoot-types 2.10.0 → 2.10.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.
- package/model.ts +4 -4
- package/package.json +1 -1
package/model.ts
CHANGED
|
@@ -20,7 +20,7 @@ export enum BusinessObjectType {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
export enum BlockType {
|
|
23
|
-
Note = '
|
|
23
|
+
Note = 'note', // It's a full note
|
|
24
24
|
Section = 'section', // It's a fragment of content
|
|
25
25
|
Task = 'task', // It's a task
|
|
26
26
|
Data = 'data', // It's a record or set of records belonging to a specific metadata definition
|
|
@@ -319,7 +319,7 @@ export interface ConnectedProvider {
|
|
|
319
319
|
dateUpdated: number;
|
|
320
320
|
}
|
|
321
321
|
|
|
322
|
-
export interface
|
|
322
|
+
export interface ReferenceBlock {
|
|
323
323
|
id: string;
|
|
324
324
|
version: number;
|
|
325
325
|
type: BlockType;
|
|
@@ -493,7 +493,7 @@ export class Person extends Tag {
|
|
|
493
493
|
}
|
|
494
494
|
|
|
495
495
|
export class Article extends Primitive {
|
|
496
|
-
referenceBlock:
|
|
496
|
+
referenceBlock: ReferenceBlock;
|
|
497
497
|
text?: string;
|
|
498
498
|
sentiment?: DocumentSentiment;
|
|
499
499
|
dates?: EntityEntry[];
|
|
@@ -507,7 +507,7 @@ export class Article extends Primitive {
|
|
|
507
507
|
linkUrls?: string[];
|
|
508
508
|
tasks?: Task[];
|
|
509
509
|
|
|
510
|
-
constructor(referenceBlock:
|
|
510
|
+
constructor(referenceBlock: ReferenceBlock) {
|
|
511
511
|
super();
|
|
512
512
|
|
|
513
513
|
this.referenceBlock = referenceBlock;
|