@bigfootai/bigfoot-types 4.6.0 → 4.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 (3) hide show
  1. package/model.js +3 -0
  2. package/model.ts +5 -1
  3. package/package.json +1 -1
package/model.js CHANGED
@@ -566,6 +566,9 @@ class Tag extends Primitive {
566
566
  this.archived = false;
567
567
  this.favorite = false;
568
568
  this._createdByAI = false;
569
+ if (this.tagType == TagType.Person) {
570
+ this.inviteStatus = InviteStatus.NotInvited;
571
+ }
569
572
  }
570
573
  }
571
574
  exports.Tag = Tag;
package/model.ts CHANGED
@@ -851,6 +851,10 @@ export class Tag extends Primitive {
851
851
  this.archived = false;
852
852
  this.favorite = false;
853
853
  this._createdByAI = false;
854
+
855
+ if (this.tagType == TagType.Person) {
856
+ this.inviteStatus = InviteStatus.NotInvited;
857
+ }
854
858
  }
855
859
  }
856
860
 
@@ -1115,7 +1119,7 @@ export class History extends Primitive {
1115
1119
 
1116
1120
  export class Notification extends SharedPrimitive {
1117
1121
  notificationType: NotificationType;
1118
- referenceBlock: ReferenceBlock;
1122
+ referenceBlock?: ReferenceBlock;
1119
1123
 
1120
1124
  constructor(
1121
1125
  tenantIdCreated: string,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Bigfoot",
3
3
  "name": "@bigfootai/bigfoot-types",
4
- "version": "4.6.0",
4
+ "version": "4.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",