@headspace/protos-events 1.198.0 → 1.199.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/lib/index.d.ts +0 -12
- package/lib/index.js +34 -78
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -10258,9 +10258,6 @@ export interface IContentfulSleepcastRecipeCreated {
|
|
|
10258
10258
|
/** ContentfulSleepcastRecipeCreated slug */
|
|
10259
10259
|
slug?: (string|null);
|
|
10260
10260
|
|
|
10261
|
-
/** ContentfulSleepcastRecipeCreated generator */
|
|
10262
|
-
generator?: (string|null);
|
|
10263
|
-
|
|
10264
10261
|
/** ContentfulSleepcastRecipeCreated ambientMedia */
|
|
10265
10262
|
ambientMedia?: ({ [k: string]: contentful.IIdReference }|null);
|
|
10266
10263
|
|
|
@@ -10301,9 +10298,6 @@ export class ContentfulSleepcastRecipeCreated implements IContentfulSleepcastRec
|
|
|
10301
10298
|
/** ContentfulSleepcastRecipeCreated slug. */
|
|
10302
10299
|
public slug: string;
|
|
10303
10300
|
|
|
10304
|
-
/** ContentfulSleepcastRecipeCreated generator. */
|
|
10305
|
-
public generator: string;
|
|
10306
|
-
|
|
10307
10301
|
/** ContentfulSleepcastRecipeCreated ambientMedia. */
|
|
10308
10302
|
public ambientMedia: { [k: string]: contentful.IIdReference };
|
|
10309
10303
|
|
|
@@ -10408,9 +10402,6 @@ export interface IContentfulSleepcastRecipeUpdated {
|
|
|
10408
10402
|
/** ContentfulSleepcastRecipeUpdated slug */
|
|
10409
10403
|
slug?: (string|null);
|
|
10410
10404
|
|
|
10411
|
-
/** ContentfulSleepcastRecipeUpdated generator */
|
|
10412
|
-
generator?: (string|null);
|
|
10413
|
-
|
|
10414
10405
|
/** ContentfulSleepcastRecipeUpdated ambientMedia */
|
|
10415
10406
|
ambientMedia?: ({ [k: string]: contentful.IIdReference }|null);
|
|
10416
10407
|
|
|
@@ -10451,9 +10442,6 @@ export class ContentfulSleepcastRecipeUpdated implements IContentfulSleepcastRec
|
|
|
10451
10442
|
/** ContentfulSleepcastRecipeUpdated slug. */
|
|
10452
10443
|
public slug: string;
|
|
10453
10444
|
|
|
10454
|
-
/** ContentfulSleepcastRecipeUpdated generator. */
|
|
10455
|
-
public generator: string;
|
|
10456
|
-
|
|
10457
10445
|
/** ContentfulSleepcastRecipeUpdated ambientMedia. */
|
|
10458
10446
|
public ambientMedia: { [k: string]: contentful.IIdReference };
|
|
10459
10447
|
|
package/lib/index.js
CHANGED
|
@@ -28296,7 +28296,6 @@ $root.ContentfulSleepcastRecipeCreated = (function() {
|
|
|
28296
28296
|
* @exports IContentfulSleepcastRecipeCreated
|
|
28297
28297
|
* @interface IContentfulSleepcastRecipeCreated
|
|
28298
28298
|
* @property {string|null} [slug] ContentfulSleepcastRecipeCreated slug
|
|
28299
|
-
* @property {string|null} [generator] ContentfulSleepcastRecipeCreated generator
|
|
28300
28299
|
* @property {Object.<string,contentful.IIdReference>|null} [ambientMedia] ContentfulSleepcastRecipeCreated ambientMedia
|
|
28301
28300
|
* @property {Object.<string,contentful.IIdReferences>|null} [beforeIntroMedia] ContentfulSleepcastRecipeCreated beforeIntroMedia
|
|
28302
28301
|
* @property {Object.<string,contentful.IIdReferences>|null} [introMedia] ContentfulSleepcastRecipeCreated introMedia
|
|
@@ -28339,14 +28338,6 @@ $root.ContentfulSleepcastRecipeCreated = (function() {
|
|
|
28339
28338
|
*/
|
|
28340
28339
|
ContentfulSleepcastRecipeCreated.prototype.slug = "";
|
|
28341
28340
|
|
|
28342
|
-
/**
|
|
28343
|
-
* ContentfulSleepcastRecipeCreated generator.
|
|
28344
|
-
* @member {string} generator
|
|
28345
|
-
* @memberof ContentfulSleepcastRecipeCreated
|
|
28346
|
-
* @instance
|
|
28347
|
-
*/
|
|
28348
|
-
ContentfulSleepcastRecipeCreated.prototype.generator = "";
|
|
28349
|
-
|
|
28350
28341
|
/**
|
|
28351
28342
|
* ContentfulSleepcastRecipeCreated ambientMedia.
|
|
28352
28343
|
* @member {Object.<string,contentful.IIdReference>} ambientMedia
|
|
@@ -28445,50 +28436,48 @@ $root.ContentfulSleepcastRecipeCreated = (function() {
|
|
|
28445
28436
|
writer = $Writer.create();
|
|
28446
28437
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
28447
28438
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.slug);
|
|
28448
|
-
if (message.generator != null && message.hasOwnProperty("generator"))
|
|
28449
|
-
writer.uint32(/* id 2, wireType 2 =*/18).string(message.generator);
|
|
28450
28439
|
if (message.ambientMedia != null && message.hasOwnProperty("ambientMedia"))
|
|
28451
28440
|
for (var keys = Object.keys(message.ambientMedia), i = 0; i < keys.length; ++i) {
|
|
28452
|
-
writer.uint32(/* id
|
|
28441
|
+
writer.uint32(/* id 2, wireType 2 =*/18).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
28453
28442
|
$root.contentful.IdReference.encode(message.ambientMedia[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
28454
28443
|
}
|
|
28455
28444
|
if (message.beforeIntroMedia != null && message.hasOwnProperty("beforeIntroMedia"))
|
|
28456
28445
|
for (var keys = Object.keys(message.beforeIntroMedia), i = 0; i < keys.length; ++i) {
|
|
28457
|
-
writer.uint32(/* id
|
|
28446
|
+
writer.uint32(/* id 3, wireType 2 =*/26).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
28458
28447
|
$root.contentful.IdReferences.encode(message.beforeIntroMedia[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
28459
28448
|
}
|
|
28460
28449
|
if (message.introMedia != null && message.hasOwnProperty("introMedia"))
|
|
28461
28450
|
for (var keys = Object.keys(message.introMedia), i = 0; i < keys.length; ++i) {
|
|
28462
|
-
writer.uint32(/* id
|
|
28451
|
+
writer.uint32(/* id 4, wireType 2 =*/34).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
28463
28452
|
$root.contentful.IdReferences.encode(message.introMedia[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
28464
28453
|
}
|
|
28465
28454
|
if (message.afterIntroMedia != null && message.hasOwnProperty("afterIntroMedia"))
|
|
28466
28455
|
for (var keys = Object.keys(message.afterIntroMedia), i = 0; i < keys.length; ++i) {
|
|
28467
|
-
writer.uint32(/* id
|
|
28456
|
+
writer.uint32(/* id 5, wireType 2 =*/42).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
28468
28457
|
$root.contentful.IdReferences.encode(message.afterIntroMedia[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
28469
28458
|
}
|
|
28470
28459
|
if (message.mainMedia != null && message.hasOwnProperty("mainMedia"))
|
|
28471
28460
|
for (var keys = Object.keys(message.mainMedia), i = 0; i < keys.length; ++i) {
|
|
28472
|
-
writer.uint32(/* id
|
|
28461
|
+
writer.uint32(/* id 6, wireType 2 =*/50).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
28473
28462
|
$root.contentful.IdReferences.encode(message.mainMedia[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
28474
28463
|
}
|
|
28475
28464
|
if (message.beforeOutroMedia != null && message.hasOwnProperty("beforeOutroMedia"))
|
|
28476
28465
|
for (var keys = Object.keys(message.beforeOutroMedia), i = 0; i < keys.length; ++i) {
|
|
28477
|
-
writer.uint32(/* id
|
|
28466
|
+
writer.uint32(/* id 7, wireType 2 =*/58).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
28478
28467
|
$root.contentful.IdReferences.encode(message.beforeOutroMedia[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
28479
28468
|
}
|
|
28480
28469
|
if (message.outroMedia != null && message.hasOwnProperty("outroMedia"))
|
|
28481
28470
|
for (var keys = Object.keys(message.outroMedia), i = 0; i < keys.length; ++i) {
|
|
28482
|
-
writer.uint32(/* id
|
|
28471
|
+
writer.uint32(/* id 8, wireType 2 =*/66).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
28483
28472
|
$root.contentful.IdReferences.encode(message.outroMedia[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
28484
28473
|
}
|
|
28485
28474
|
if (message.afterOutroMedia != null && message.hasOwnProperty("afterOutroMedia"))
|
|
28486
28475
|
for (var keys = Object.keys(message.afterOutroMedia), i = 0; i < keys.length; ++i) {
|
|
28487
|
-
writer.uint32(/* id
|
|
28476
|
+
writer.uint32(/* id 9, wireType 2 =*/74).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
28488
28477
|
$root.contentful.IdReferences.encode(message.afterOutroMedia[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
28489
28478
|
}
|
|
28490
28479
|
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
28491
|
-
writer.uint32(/* id
|
|
28480
|
+
writer.uint32(/* id 10, wireType 0 =*/80).uint64(message.createdAt);
|
|
28492
28481
|
return writer;
|
|
28493
28482
|
};
|
|
28494
28483
|
|
|
@@ -28527,9 +28516,6 @@ $root.ContentfulSleepcastRecipeCreated = (function() {
|
|
|
28527
28516
|
message.slug = reader.string();
|
|
28528
28517
|
break;
|
|
28529
28518
|
case 2:
|
|
28530
|
-
message.generator = reader.string();
|
|
28531
|
-
break;
|
|
28532
|
-
case 3:
|
|
28533
28519
|
reader.skip().pos++;
|
|
28534
28520
|
if (message.ambientMedia === $util.emptyObject)
|
|
28535
28521
|
message.ambientMedia = {};
|
|
@@ -28537,7 +28523,7 @@ $root.ContentfulSleepcastRecipeCreated = (function() {
|
|
|
28537
28523
|
reader.pos++;
|
|
28538
28524
|
message.ambientMedia[key] = $root.contentful.IdReference.decode(reader, reader.uint32());
|
|
28539
28525
|
break;
|
|
28540
|
-
case
|
|
28526
|
+
case 3:
|
|
28541
28527
|
reader.skip().pos++;
|
|
28542
28528
|
if (message.beforeIntroMedia === $util.emptyObject)
|
|
28543
28529
|
message.beforeIntroMedia = {};
|
|
@@ -28545,7 +28531,7 @@ $root.ContentfulSleepcastRecipeCreated = (function() {
|
|
|
28545
28531
|
reader.pos++;
|
|
28546
28532
|
message.beforeIntroMedia[key] = $root.contentful.IdReferences.decode(reader, reader.uint32());
|
|
28547
28533
|
break;
|
|
28548
|
-
case
|
|
28534
|
+
case 4:
|
|
28549
28535
|
reader.skip().pos++;
|
|
28550
28536
|
if (message.introMedia === $util.emptyObject)
|
|
28551
28537
|
message.introMedia = {};
|
|
@@ -28553,7 +28539,7 @@ $root.ContentfulSleepcastRecipeCreated = (function() {
|
|
|
28553
28539
|
reader.pos++;
|
|
28554
28540
|
message.introMedia[key] = $root.contentful.IdReferences.decode(reader, reader.uint32());
|
|
28555
28541
|
break;
|
|
28556
|
-
case
|
|
28542
|
+
case 5:
|
|
28557
28543
|
reader.skip().pos++;
|
|
28558
28544
|
if (message.afterIntroMedia === $util.emptyObject)
|
|
28559
28545
|
message.afterIntroMedia = {};
|
|
@@ -28561,7 +28547,7 @@ $root.ContentfulSleepcastRecipeCreated = (function() {
|
|
|
28561
28547
|
reader.pos++;
|
|
28562
28548
|
message.afterIntroMedia[key] = $root.contentful.IdReferences.decode(reader, reader.uint32());
|
|
28563
28549
|
break;
|
|
28564
|
-
case
|
|
28550
|
+
case 6:
|
|
28565
28551
|
reader.skip().pos++;
|
|
28566
28552
|
if (message.mainMedia === $util.emptyObject)
|
|
28567
28553
|
message.mainMedia = {};
|
|
@@ -28569,7 +28555,7 @@ $root.ContentfulSleepcastRecipeCreated = (function() {
|
|
|
28569
28555
|
reader.pos++;
|
|
28570
28556
|
message.mainMedia[key] = $root.contentful.IdReferences.decode(reader, reader.uint32());
|
|
28571
28557
|
break;
|
|
28572
|
-
case
|
|
28558
|
+
case 7:
|
|
28573
28559
|
reader.skip().pos++;
|
|
28574
28560
|
if (message.beforeOutroMedia === $util.emptyObject)
|
|
28575
28561
|
message.beforeOutroMedia = {};
|
|
@@ -28577,7 +28563,7 @@ $root.ContentfulSleepcastRecipeCreated = (function() {
|
|
|
28577
28563
|
reader.pos++;
|
|
28578
28564
|
message.beforeOutroMedia[key] = $root.contentful.IdReferences.decode(reader, reader.uint32());
|
|
28579
28565
|
break;
|
|
28580
|
-
case
|
|
28566
|
+
case 8:
|
|
28581
28567
|
reader.skip().pos++;
|
|
28582
28568
|
if (message.outroMedia === $util.emptyObject)
|
|
28583
28569
|
message.outroMedia = {};
|
|
@@ -28585,7 +28571,7 @@ $root.ContentfulSleepcastRecipeCreated = (function() {
|
|
|
28585
28571
|
reader.pos++;
|
|
28586
28572
|
message.outroMedia[key] = $root.contentful.IdReferences.decode(reader, reader.uint32());
|
|
28587
28573
|
break;
|
|
28588
|
-
case
|
|
28574
|
+
case 9:
|
|
28589
28575
|
reader.skip().pos++;
|
|
28590
28576
|
if (message.afterOutroMedia === $util.emptyObject)
|
|
28591
28577
|
message.afterOutroMedia = {};
|
|
@@ -28593,7 +28579,7 @@ $root.ContentfulSleepcastRecipeCreated = (function() {
|
|
|
28593
28579
|
reader.pos++;
|
|
28594
28580
|
message.afterOutroMedia[key] = $root.contentful.IdReferences.decode(reader, reader.uint32());
|
|
28595
28581
|
break;
|
|
28596
|
-
case
|
|
28582
|
+
case 10:
|
|
28597
28583
|
message.createdAt = reader.uint64();
|
|
28598
28584
|
break;
|
|
28599
28585
|
default:
|
|
@@ -28634,9 +28620,6 @@ $root.ContentfulSleepcastRecipeCreated = (function() {
|
|
|
28634
28620
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
28635
28621
|
if (!$util.isString(message.slug))
|
|
28636
28622
|
return "slug: string expected";
|
|
28637
|
-
if (message.generator != null && message.hasOwnProperty("generator"))
|
|
28638
|
-
if (!$util.isString(message.generator))
|
|
28639
|
-
return "generator: string expected";
|
|
28640
28623
|
if (message.ambientMedia != null && message.hasOwnProperty("ambientMedia")) {
|
|
28641
28624
|
if (!$util.isObject(message.ambientMedia))
|
|
28642
28625
|
return "ambientMedia: object expected";
|
|
@@ -28737,8 +28720,6 @@ $root.ContentfulSleepcastRecipeCreated = (function() {
|
|
|
28737
28720
|
var message = new $root.ContentfulSleepcastRecipeCreated();
|
|
28738
28721
|
if (object.slug != null)
|
|
28739
28722
|
message.slug = String(object.slug);
|
|
28740
|
-
if (object.generator != null)
|
|
28741
|
-
message.generator = String(object.generator);
|
|
28742
28723
|
if (object.ambientMedia) {
|
|
28743
28724
|
if (typeof object.ambientMedia !== "object")
|
|
28744
28725
|
throw TypeError(".ContentfulSleepcastRecipeCreated.ambientMedia: object expected");
|
|
@@ -28856,7 +28837,6 @@ $root.ContentfulSleepcastRecipeCreated = (function() {
|
|
|
28856
28837
|
}
|
|
28857
28838
|
if (options.defaults) {
|
|
28858
28839
|
object.slug = "";
|
|
28859
|
-
object.generator = "";
|
|
28860
28840
|
if ($util.Long) {
|
|
28861
28841
|
var long = new $util.Long(0, 0, true);
|
|
28862
28842
|
object.createdAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
@@ -28865,8 +28845,6 @@ $root.ContentfulSleepcastRecipeCreated = (function() {
|
|
|
28865
28845
|
}
|
|
28866
28846
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
28867
28847
|
object.slug = message.slug;
|
|
28868
|
-
if (message.generator != null && message.hasOwnProperty("generator"))
|
|
28869
|
-
object.generator = message.generator;
|
|
28870
28848
|
var keys2;
|
|
28871
28849
|
if (message.ambientMedia && (keys2 = Object.keys(message.ambientMedia)).length) {
|
|
28872
28850
|
object.ambientMedia = {};
|
|
@@ -28937,7 +28915,6 @@ $root.ContentfulSleepcastRecipeUpdated = (function() {
|
|
|
28937
28915
|
* @exports IContentfulSleepcastRecipeUpdated
|
|
28938
28916
|
* @interface IContentfulSleepcastRecipeUpdated
|
|
28939
28917
|
* @property {string|null} [slug] ContentfulSleepcastRecipeUpdated slug
|
|
28940
|
-
* @property {string|null} [generator] ContentfulSleepcastRecipeUpdated generator
|
|
28941
28918
|
* @property {Object.<string,contentful.IIdReference>|null} [ambientMedia] ContentfulSleepcastRecipeUpdated ambientMedia
|
|
28942
28919
|
* @property {Object.<string,contentful.IIdReferences>|null} [beforeIntroMedia] ContentfulSleepcastRecipeUpdated beforeIntroMedia
|
|
28943
28920
|
* @property {Object.<string,contentful.IIdReferences>|null} [introMedia] ContentfulSleepcastRecipeUpdated introMedia
|
|
@@ -28980,14 +28957,6 @@ $root.ContentfulSleepcastRecipeUpdated = (function() {
|
|
|
28980
28957
|
*/
|
|
28981
28958
|
ContentfulSleepcastRecipeUpdated.prototype.slug = "";
|
|
28982
28959
|
|
|
28983
|
-
/**
|
|
28984
|
-
* ContentfulSleepcastRecipeUpdated generator.
|
|
28985
|
-
* @member {string} generator
|
|
28986
|
-
* @memberof ContentfulSleepcastRecipeUpdated
|
|
28987
|
-
* @instance
|
|
28988
|
-
*/
|
|
28989
|
-
ContentfulSleepcastRecipeUpdated.prototype.generator = "";
|
|
28990
|
-
|
|
28991
28960
|
/**
|
|
28992
28961
|
* ContentfulSleepcastRecipeUpdated ambientMedia.
|
|
28993
28962
|
* @member {Object.<string,contentful.IIdReference>} ambientMedia
|
|
@@ -29086,50 +29055,48 @@ $root.ContentfulSleepcastRecipeUpdated = (function() {
|
|
|
29086
29055
|
writer = $Writer.create();
|
|
29087
29056
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
29088
29057
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.slug);
|
|
29089
|
-
if (message.generator != null && message.hasOwnProperty("generator"))
|
|
29090
|
-
writer.uint32(/* id 2, wireType 2 =*/18).string(message.generator);
|
|
29091
29058
|
if (message.ambientMedia != null && message.hasOwnProperty("ambientMedia"))
|
|
29092
29059
|
for (var keys = Object.keys(message.ambientMedia), i = 0; i < keys.length; ++i) {
|
|
29093
|
-
writer.uint32(/* id
|
|
29060
|
+
writer.uint32(/* id 2, wireType 2 =*/18).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
29094
29061
|
$root.contentful.IdReference.encode(message.ambientMedia[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
29095
29062
|
}
|
|
29096
29063
|
if (message.beforeIntroMedia != null && message.hasOwnProperty("beforeIntroMedia"))
|
|
29097
29064
|
for (var keys = Object.keys(message.beforeIntroMedia), i = 0; i < keys.length; ++i) {
|
|
29098
|
-
writer.uint32(/* id
|
|
29065
|
+
writer.uint32(/* id 3, wireType 2 =*/26).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
29099
29066
|
$root.contentful.IdReferences.encode(message.beforeIntroMedia[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
29100
29067
|
}
|
|
29101
29068
|
if (message.introMedia != null && message.hasOwnProperty("introMedia"))
|
|
29102
29069
|
for (var keys = Object.keys(message.introMedia), i = 0; i < keys.length; ++i) {
|
|
29103
|
-
writer.uint32(/* id
|
|
29070
|
+
writer.uint32(/* id 4, wireType 2 =*/34).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
29104
29071
|
$root.contentful.IdReferences.encode(message.introMedia[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
29105
29072
|
}
|
|
29106
29073
|
if (message.afterIntroMedia != null && message.hasOwnProperty("afterIntroMedia"))
|
|
29107
29074
|
for (var keys = Object.keys(message.afterIntroMedia), i = 0; i < keys.length; ++i) {
|
|
29108
|
-
writer.uint32(/* id
|
|
29075
|
+
writer.uint32(/* id 5, wireType 2 =*/42).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
29109
29076
|
$root.contentful.IdReferences.encode(message.afterIntroMedia[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
29110
29077
|
}
|
|
29111
29078
|
if (message.mainMedia != null && message.hasOwnProperty("mainMedia"))
|
|
29112
29079
|
for (var keys = Object.keys(message.mainMedia), i = 0; i < keys.length; ++i) {
|
|
29113
|
-
writer.uint32(/* id
|
|
29080
|
+
writer.uint32(/* id 6, wireType 2 =*/50).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
29114
29081
|
$root.contentful.IdReferences.encode(message.mainMedia[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
29115
29082
|
}
|
|
29116
29083
|
if (message.beforeOutroMedia != null && message.hasOwnProperty("beforeOutroMedia"))
|
|
29117
29084
|
for (var keys = Object.keys(message.beforeOutroMedia), i = 0; i < keys.length; ++i) {
|
|
29118
|
-
writer.uint32(/* id
|
|
29085
|
+
writer.uint32(/* id 7, wireType 2 =*/58).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
29119
29086
|
$root.contentful.IdReferences.encode(message.beforeOutroMedia[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
29120
29087
|
}
|
|
29121
29088
|
if (message.outroMedia != null && message.hasOwnProperty("outroMedia"))
|
|
29122
29089
|
for (var keys = Object.keys(message.outroMedia), i = 0; i < keys.length; ++i) {
|
|
29123
|
-
writer.uint32(/* id
|
|
29090
|
+
writer.uint32(/* id 8, wireType 2 =*/66).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
29124
29091
|
$root.contentful.IdReferences.encode(message.outroMedia[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
29125
29092
|
}
|
|
29126
29093
|
if (message.afterOutroMedia != null && message.hasOwnProperty("afterOutroMedia"))
|
|
29127
29094
|
for (var keys = Object.keys(message.afterOutroMedia), i = 0; i < keys.length; ++i) {
|
|
29128
|
-
writer.uint32(/* id
|
|
29095
|
+
writer.uint32(/* id 9, wireType 2 =*/74).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
29129
29096
|
$root.contentful.IdReferences.encode(message.afterOutroMedia[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
29130
29097
|
}
|
|
29131
29098
|
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
29132
|
-
writer.uint32(/* id
|
|
29099
|
+
writer.uint32(/* id 10, wireType 0 =*/80).uint64(message.updatedAt);
|
|
29133
29100
|
return writer;
|
|
29134
29101
|
};
|
|
29135
29102
|
|
|
@@ -29168,9 +29135,6 @@ $root.ContentfulSleepcastRecipeUpdated = (function() {
|
|
|
29168
29135
|
message.slug = reader.string();
|
|
29169
29136
|
break;
|
|
29170
29137
|
case 2:
|
|
29171
|
-
message.generator = reader.string();
|
|
29172
|
-
break;
|
|
29173
|
-
case 3:
|
|
29174
29138
|
reader.skip().pos++;
|
|
29175
29139
|
if (message.ambientMedia === $util.emptyObject)
|
|
29176
29140
|
message.ambientMedia = {};
|
|
@@ -29178,7 +29142,7 @@ $root.ContentfulSleepcastRecipeUpdated = (function() {
|
|
|
29178
29142
|
reader.pos++;
|
|
29179
29143
|
message.ambientMedia[key] = $root.contentful.IdReference.decode(reader, reader.uint32());
|
|
29180
29144
|
break;
|
|
29181
|
-
case
|
|
29145
|
+
case 3:
|
|
29182
29146
|
reader.skip().pos++;
|
|
29183
29147
|
if (message.beforeIntroMedia === $util.emptyObject)
|
|
29184
29148
|
message.beforeIntroMedia = {};
|
|
@@ -29186,7 +29150,7 @@ $root.ContentfulSleepcastRecipeUpdated = (function() {
|
|
|
29186
29150
|
reader.pos++;
|
|
29187
29151
|
message.beforeIntroMedia[key] = $root.contentful.IdReferences.decode(reader, reader.uint32());
|
|
29188
29152
|
break;
|
|
29189
|
-
case
|
|
29153
|
+
case 4:
|
|
29190
29154
|
reader.skip().pos++;
|
|
29191
29155
|
if (message.introMedia === $util.emptyObject)
|
|
29192
29156
|
message.introMedia = {};
|
|
@@ -29194,7 +29158,7 @@ $root.ContentfulSleepcastRecipeUpdated = (function() {
|
|
|
29194
29158
|
reader.pos++;
|
|
29195
29159
|
message.introMedia[key] = $root.contentful.IdReferences.decode(reader, reader.uint32());
|
|
29196
29160
|
break;
|
|
29197
|
-
case
|
|
29161
|
+
case 5:
|
|
29198
29162
|
reader.skip().pos++;
|
|
29199
29163
|
if (message.afterIntroMedia === $util.emptyObject)
|
|
29200
29164
|
message.afterIntroMedia = {};
|
|
@@ -29202,7 +29166,7 @@ $root.ContentfulSleepcastRecipeUpdated = (function() {
|
|
|
29202
29166
|
reader.pos++;
|
|
29203
29167
|
message.afterIntroMedia[key] = $root.contentful.IdReferences.decode(reader, reader.uint32());
|
|
29204
29168
|
break;
|
|
29205
|
-
case
|
|
29169
|
+
case 6:
|
|
29206
29170
|
reader.skip().pos++;
|
|
29207
29171
|
if (message.mainMedia === $util.emptyObject)
|
|
29208
29172
|
message.mainMedia = {};
|
|
@@ -29210,7 +29174,7 @@ $root.ContentfulSleepcastRecipeUpdated = (function() {
|
|
|
29210
29174
|
reader.pos++;
|
|
29211
29175
|
message.mainMedia[key] = $root.contentful.IdReferences.decode(reader, reader.uint32());
|
|
29212
29176
|
break;
|
|
29213
|
-
case
|
|
29177
|
+
case 7:
|
|
29214
29178
|
reader.skip().pos++;
|
|
29215
29179
|
if (message.beforeOutroMedia === $util.emptyObject)
|
|
29216
29180
|
message.beforeOutroMedia = {};
|
|
@@ -29218,7 +29182,7 @@ $root.ContentfulSleepcastRecipeUpdated = (function() {
|
|
|
29218
29182
|
reader.pos++;
|
|
29219
29183
|
message.beforeOutroMedia[key] = $root.contentful.IdReferences.decode(reader, reader.uint32());
|
|
29220
29184
|
break;
|
|
29221
|
-
case
|
|
29185
|
+
case 8:
|
|
29222
29186
|
reader.skip().pos++;
|
|
29223
29187
|
if (message.outroMedia === $util.emptyObject)
|
|
29224
29188
|
message.outroMedia = {};
|
|
@@ -29226,7 +29190,7 @@ $root.ContentfulSleepcastRecipeUpdated = (function() {
|
|
|
29226
29190
|
reader.pos++;
|
|
29227
29191
|
message.outroMedia[key] = $root.contentful.IdReferences.decode(reader, reader.uint32());
|
|
29228
29192
|
break;
|
|
29229
|
-
case
|
|
29193
|
+
case 9:
|
|
29230
29194
|
reader.skip().pos++;
|
|
29231
29195
|
if (message.afterOutroMedia === $util.emptyObject)
|
|
29232
29196
|
message.afterOutroMedia = {};
|
|
@@ -29234,7 +29198,7 @@ $root.ContentfulSleepcastRecipeUpdated = (function() {
|
|
|
29234
29198
|
reader.pos++;
|
|
29235
29199
|
message.afterOutroMedia[key] = $root.contentful.IdReferences.decode(reader, reader.uint32());
|
|
29236
29200
|
break;
|
|
29237
|
-
case
|
|
29201
|
+
case 10:
|
|
29238
29202
|
message.updatedAt = reader.uint64();
|
|
29239
29203
|
break;
|
|
29240
29204
|
default:
|
|
@@ -29275,9 +29239,6 @@ $root.ContentfulSleepcastRecipeUpdated = (function() {
|
|
|
29275
29239
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
29276
29240
|
if (!$util.isString(message.slug))
|
|
29277
29241
|
return "slug: string expected";
|
|
29278
|
-
if (message.generator != null && message.hasOwnProperty("generator"))
|
|
29279
|
-
if (!$util.isString(message.generator))
|
|
29280
|
-
return "generator: string expected";
|
|
29281
29242
|
if (message.ambientMedia != null && message.hasOwnProperty("ambientMedia")) {
|
|
29282
29243
|
if (!$util.isObject(message.ambientMedia))
|
|
29283
29244
|
return "ambientMedia: object expected";
|
|
@@ -29378,8 +29339,6 @@ $root.ContentfulSleepcastRecipeUpdated = (function() {
|
|
|
29378
29339
|
var message = new $root.ContentfulSleepcastRecipeUpdated();
|
|
29379
29340
|
if (object.slug != null)
|
|
29380
29341
|
message.slug = String(object.slug);
|
|
29381
|
-
if (object.generator != null)
|
|
29382
|
-
message.generator = String(object.generator);
|
|
29383
29342
|
if (object.ambientMedia) {
|
|
29384
29343
|
if (typeof object.ambientMedia !== "object")
|
|
29385
29344
|
throw TypeError(".ContentfulSleepcastRecipeUpdated.ambientMedia: object expected");
|
|
@@ -29497,7 +29456,6 @@ $root.ContentfulSleepcastRecipeUpdated = (function() {
|
|
|
29497
29456
|
}
|
|
29498
29457
|
if (options.defaults) {
|
|
29499
29458
|
object.slug = "";
|
|
29500
|
-
object.generator = "";
|
|
29501
29459
|
if ($util.Long) {
|
|
29502
29460
|
var long = new $util.Long(0, 0, true);
|
|
29503
29461
|
object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
@@ -29506,8 +29464,6 @@ $root.ContentfulSleepcastRecipeUpdated = (function() {
|
|
|
29506
29464
|
}
|
|
29507
29465
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
29508
29466
|
object.slug = message.slug;
|
|
29509
|
-
if (message.generator != null && message.hasOwnProperty("generator"))
|
|
29510
|
-
object.generator = message.generator;
|
|
29511
29467
|
var keys2;
|
|
29512
29468
|
if (message.ambientMedia && (keys2 = Object.keys(message.ambientMedia)).length) {
|
|
29513
29469
|
object.ambientMedia = {};
|
package/package.json
CHANGED