@bigfootai/bigfoot-types 4.4.26 → 4.4.28
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 +4 -1
- package/model.ts +7 -1
- 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) {
|
@@ -1195,6 +1197,7 @@ type ArchiveSearchOutput {
|
|
1195
1197
|
exports.SearchTagsInputQL = `
|
1196
1198
|
input SearchTagsInput {
|
1197
1199
|
tagType: String
|
1200
|
+
parentTagId: String
|
1198
1201
|
tagIds: [String]
|
1199
1202
|
search: String
|
1200
1203
|
email: String
|
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) {
|
@@ -2173,6 +2177,7 @@ export interface ArchiveSearchOutput {
|
|
2173
2177
|
export const SearchTagsInputQL = `
|
2174
2178
|
input SearchTagsInput {
|
2175
2179
|
tagType: String
|
2180
|
+
parentTagId: String
|
2176
2181
|
tagIds: [String]
|
2177
2182
|
search: String
|
2178
2183
|
email: String
|
@@ -2189,6 +2194,7 @@ input SearchTagsInput {
|
|
2189
2194
|
}`;
|
2190
2195
|
export interface SearchTagsInput {
|
2191
2196
|
tagType?: TagType;
|
2197
|
+
parentTagId?: string;
|
2192
2198
|
tagIds?: string[];
|
2193
2199
|
search?: string;
|
2194
2200
|
email?: string;
|