@bigfootai/bigfoot-types 4.2.7 → 4.2.9
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 +10 -1
- package/model.ts +12 -1
- package/package.json +1 -1
package/model.js
CHANGED
@@ -381,6 +381,15 @@ class SharedPrimitive extends Primitive {
|
|
381
381
|
constructor(sharingTags) {
|
382
382
|
super();
|
383
383
|
this.sharingTags = sharingTags;
|
384
|
+
this._sharingTagIds = [];
|
385
|
+
// Add sharing tags to the internal array
|
386
|
+
if (sharingTags && sharingTags.length > 0) {
|
387
|
+
for (const sharingTag of sharingTags) {
|
388
|
+
if (sharingTag.shared == true) {
|
389
|
+
this._sharingTagIds.push(sharingTag.tagId);
|
390
|
+
}
|
391
|
+
}
|
392
|
+
}
|
384
393
|
}
|
385
394
|
}
|
386
395
|
exports.SharedPrimitive = SharedPrimitive;
|
@@ -1026,7 +1035,7 @@ input SearchTagsInput {
|
|
1026
1035
|
search: String
|
1027
1036
|
email: String
|
1028
1037
|
inviteStatus: Int
|
1029
|
-
archived Boolean
|
1038
|
+
archived: Boolean
|
1030
1039
|
orderByAlias: String
|
1031
1040
|
orderByFriendlyName: String
|
1032
1041
|
orderByDateUpdated: String
|
package/model.ts
CHANGED
@@ -557,11 +557,22 @@ export const SharedPrimitiveFields = `${PrimitiveFields}
|
|
557
557
|
sharingTags: [SharingTag]!`;
|
558
558
|
export class SharedPrimitive extends Primitive {
|
559
559
|
sharingTags: SharingTag[];
|
560
|
+
_sharingTagIds: string[];
|
560
561
|
|
561
562
|
constructor(sharingTags: SharingTag[]) {
|
562
563
|
super();
|
563
564
|
|
564
565
|
this.sharingTags = sharingTags;
|
566
|
+
this._sharingTagIds = [];
|
567
|
+
|
568
|
+
// Add sharing tags to the internal array
|
569
|
+
if (sharingTags && sharingTags.length > 0) {
|
570
|
+
for (const sharingTag of sharingTags) {
|
571
|
+
if (sharingTag.shared == true) {
|
572
|
+
this._sharingTagIds.push(sharingTag.tagId);
|
573
|
+
}
|
574
|
+
}
|
575
|
+
}
|
565
576
|
}
|
566
577
|
}
|
567
578
|
|
@@ -1905,7 +1916,7 @@ input SearchTagsInput {
|
|
1905
1916
|
search: String
|
1906
1917
|
email: String
|
1907
1918
|
inviteStatus: Int
|
1908
|
-
archived Boolean
|
1919
|
+
archived: Boolean
|
1909
1920
|
orderByAlias: String
|
1910
1921
|
orderByFriendlyName: String
|
1911
1922
|
orderByDateUpdated: String
|