@bigfootai/bigfoot-types 4.4.27 → 4.4.29

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 -1
  2. package/model.ts +7 -1
  3. package/package.json +1 -1
package/model.js CHANGED
@@ -409,9 +409,11 @@ exports.SharedPrimitiveFields = `${exports.PrimitiveFields}
409
409
  class SharedPrimitive extends Primitive {
410
410
  constructor(sharingTags) {
411
411
  super();
412
- this._tagIds = [];
413
412
  this.sharingTags = sharingTags;
413
+ this._parentSharingTagIds = [];
414
+ this._parentTagIds = [];
414
415
  this._sharingTagIds = [];
416
+ this._tagIds = [];
415
417
  // Add sharing tags to the internal array
416
418
  if (sharingTags && sharingTags.length > 0) {
417
419
  for (const sharingTag of sharingTags) {
package/model.ts CHANGED
@@ -594,15 +594,19 @@ export const SharedPrimitiveFields = `${PrimitiveFields}
594
594
  sharingTags: [SharingTag]!`;
595
595
  export class SharedPrimitive extends Primitive {
596
596
  sharingTags: SharingTag[];
597
+ _parentSharingTagIds: string[];
598
+ _parentTagIds: string[];
597
599
  _sharingTagIds: string[];
598
600
  _tagIds: string[];
599
601
 
600
602
  constructor(sharingTags: SharingTag[]) {
601
603
  super();
602
604
 
603
- this._tagIds = [];
604
605
  this.sharingTags = sharingTags;
606
+ this._parentSharingTagIds = [];
607
+ this._parentTagIds = [];
605
608
  this._sharingTagIds = [];
609
+ this._tagIds = [];
606
610
 
607
611
  // Add sharing tags to the internal array
608
612
  if (sharingTags && sharingTags.length > 0) {
@@ -924,6 +928,8 @@ export class Article extends Primitive {
924
928
  _entitiesOrganization?: EntityEntry[];
925
929
  _entitiesTopic?: EntityEntry[];
926
930
  _emails?: EntityEntry[];
931
+ _parentSharingTagIds?: string[];
932
+ _parentTagIds?: string[];
927
933
  _sharingTagIds?: string[];
928
934
  _tagIds?: string[];
929
935
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Bigfoot",
3
3
  "name": "@bigfootai/bigfoot-types",
4
- "version": "4.4.27",
4
+ "version": "4.4.29",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",