@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.
Files changed (2) hide show
  1. package/model.ts +4 -4
  2. 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 = 'section', // It's a full 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 ReferenceNote {
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: ReferenceNote;
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: ReferenceNote) {
510
+ constructor(referenceBlock: ReferenceBlock) {
511
511
  super();
512
512
 
513
513
  this.referenceBlock = referenceBlock;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Bigfoot",
3
3
  "name": "@bigfootai/bigfoot-types",
4
- "version": "2.10.0",
4
+ "version": "2.10.2",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",