@guardian/content-api-models 30.0.0 → 31.0.0-PREVIEW.jshadd-doc-count.2025-09-15T1943.0d66bbcd
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/package.json +1 -1
- package/v1/tag.d.ts +1 -0
- package/v1/tag.js +15 -0
package/package.json
CHANGED
package/v1/tag.d.ts
CHANGED
package/v1/tag.js
CHANGED
|
@@ -295,6 +295,15 @@ var TagSerde = /** @class */ (function () {
|
|
|
295
295
|
protocol.skip(ftype);
|
|
296
296
|
}
|
|
297
297
|
break;
|
|
298
|
+
case 27:
|
|
299
|
+
if (ftype === thrift_1.Thrift.Type.I32) {
|
|
300
|
+
var value1 = protocol.readI32();
|
|
301
|
+
result.docCount = value1;
|
|
302
|
+
}
|
|
303
|
+
else {
|
|
304
|
+
protocol.skip(ftype);
|
|
305
|
+
}
|
|
306
|
+
break;
|
|
298
307
|
default:
|
|
299
308
|
protocol.skip(ftype);
|
|
300
309
|
}
|
|
@@ -478,6 +487,12 @@ var TagSerde = /** @class */ (function () {
|
|
|
478
487
|
protocol.writeString(value1);
|
|
479
488
|
protocol.writeFieldEnd();
|
|
480
489
|
}
|
|
490
|
+
if (value0.docCount !== null && value0.docCount !== undefined) {
|
|
491
|
+
var value1 = value0.docCount;
|
|
492
|
+
protocol.writeFieldBegin('docCount', thrift_1.Thrift.Type.I32, 27);
|
|
493
|
+
protocol.writeI32(value1);
|
|
494
|
+
protocol.writeFieldEnd();
|
|
495
|
+
}
|
|
481
496
|
protocol.writeFieldStop();
|
|
482
497
|
protocol.writeStructEnd();
|
|
483
498
|
};
|