@guardian/content-api-models 17.5.1 → 17.5.2-beta.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 CHANGED
@@ -1,7 +1,7 @@
1
1
 
2
2
  {
3
3
  "name": "@guardian/content-api-models",
4
- "version": "17.5.1",
4
+ "version": "17.5.2-beta.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": "^2.2.1",
18
18
  "@types/thrift": "^0.10.11",
19
19
  "thrift": "^0.15.0",
20
- "@guardian/content-atom-model": "^3.4.1",
20
+ "@guardian/content-atom-model": "^3.4.2",
21
21
  "@types/node-int64": "^0.4.29",
22
22
  "node-int64": "^0.4.0"
23
23
  }
package/v1/podcast.d.ts CHANGED
@@ -17,6 +17,7 @@ export interface Podcast {
17
17
  googlePodcastsUrl?: string;
18
18
  spotifyUrl?: string;
19
19
  acastId?: string;
20
+ pocketCastsUrl?: string;
20
21
  }
21
22
  export declare class PodcastSerde {
22
23
  static read(protocol: TProtocol): Podcast;
package/v1/podcast.js CHANGED
@@ -131,6 +131,15 @@ var PodcastSerde = /** @class */ (function () {
131
131
  protocol.skip(ftype);
132
132
  }
133
133
  break;
134
+ case 12:
135
+ if (ftype === thrift_1.Thrift.Type.STRING) {
136
+ var value1 = protocol.readString();
137
+ result.pocketCastsUrl = value1;
138
+ }
139
+ else {
140
+ protocol.skip(ftype);
141
+ }
142
+ break;
134
143
  default:
135
144
  protocol.skip(ftype);
136
145
  }
@@ -212,6 +221,12 @@ var PodcastSerde = /** @class */ (function () {
212
221
  protocol.writeString(value1);
213
222
  protocol.writeFieldEnd();
214
223
  }
224
+ if (value0.pocketCastsUrl !== null && value0.pocketCastsUrl !== undefined) {
225
+ var value1 = value0.pocketCastsUrl;
226
+ protocol.writeFieldBegin('pocketCastsUrl', thrift_1.Thrift.Type.STRING, 12);
227
+ protocol.writeString(value1);
228
+ protocol.writeFieldEnd();
229
+ }
215
230
  protocol.writeFieldStop();
216
231
  protocol.writeStructEnd();
217
232
  };