@guardian/content-api-models 31.0.0-PREVIEW.jshadd-doc-count.2025-09-15T1943.0d66bbcd → 31.1.0
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 +2 -2
- package/v1/crosswordType.d.ts +2 -1
- package/v1/crosswordType.js +1 -0
- package/v1/tag.d.ts +0 -1
- package/v1/tag.js +0 -15
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
{
|
|
3
3
|
"name": "@guardian/content-api-models",
|
|
4
|
-
"version": "31.
|
|
4
|
+
"version": "31.1.0",
|
|
5
5
|
"description": "Typescript library built from the content api thrift definitions",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"@guardian/content-entity-model": "^3.0.3",
|
|
18
18
|
"@types/thrift": "^0.10.11",
|
|
19
19
|
"thrift": "^0.15.0",
|
|
20
|
-
"@guardian/content-atom-model": "^
|
|
20
|
+
"@guardian/content-atom-model": "^6.1.0",
|
|
21
21
|
"@types/node-int64": "^0.4.29",
|
|
22
22
|
"node-int64": "^0.4.0"
|
|
23
23
|
}
|
package/v1/crosswordType.d.ts
CHANGED
package/v1/crosswordType.js
CHANGED
|
@@ -19,4 +19,5 @@ var CrosswordType;
|
|
|
19
19
|
CrosswordType[CrosswordType["QUICK_CRYPTIC"] = 8] = "QUICK_CRYPTIC";
|
|
20
20
|
CrosswordType[CrosswordType["SPECIAL"] = 9] = "SPECIAL";
|
|
21
21
|
CrosswordType[CrosswordType["SUNDAY_QUICK"] = 10] = "SUNDAY_QUICK";
|
|
22
|
+
CrosswordType[CrosswordType["MINI"] = 11] = "MINI";
|
|
22
23
|
})(CrosswordType || (exports.CrosswordType = CrosswordType = {}));
|
package/v1/tag.d.ts
CHANGED
package/v1/tag.js
CHANGED
|
@@ -295,15 +295,6 @@ 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;
|
|
307
298
|
default:
|
|
308
299
|
protocol.skip(ftype);
|
|
309
300
|
}
|
|
@@ -487,12 +478,6 @@ var TagSerde = /** @class */ (function () {
|
|
|
487
478
|
protocol.writeString(value1);
|
|
488
479
|
protocol.writeFieldEnd();
|
|
489
480
|
}
|
|
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
|
-
}
|
|
496
481
|
protocol.writeFieldStop();
|
|
497
482
|
protocol.writeStructEnd();
|
|
498
483
|
};
|