@guardian/content-api-models 31.0.0-PREVIEW.jshadd-doc-count.2025-09-15T1943.0d66bbcd → 31.0.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.
Files changed (3) hide show
  1. package/package.json +2 -2
  2. package/v1/tag.d.ts +0 -1
  3. 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.0.0-PREVIEW.jshadd-doc-count.2025-09-15T1943.0d66bbcd",
4
+ "version": "31.0.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": "^4.0.4",
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/tag.d.ts CHANGED
@@ -35,7 +35,6 @@ export interface Tag {
35
35
  entityIds?: string[];
36
36
  campaignInformationType?: string;
37
37
  internalName?: string;
38
- docCount?: number;
39
38
  }
40
39
  export declare class TagSerde {
41
40
  static read(protocol: TProtocol): Tag;
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
  };