@headspace/protos-events 1.287.0 → 1.289.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 +56 -8
- package/lib/index.js +360 -32
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -14282,11 +14282,23 @@ export interface IContentfulCollectionCreated {
|
|
|
14282
14282
|
/** ContentfulCollectionCreated collectionType */
|
|
14283
14283
|
collectionType?: (ContentCollectionType|null);
|
|
14284
14284
|
|
|
14285
|
-
/** ContentfulCollectionCreated
|
|
14286
|
-
|
|
14285
|
+
/** ContentfulCollectionCreated tileMedia */
|
|
14286
|
+
tileMedia?: ({ [k: string]: contentful.IIdReference }|null);
|
|
14287
14287
|
|
|
14288
14288
|
/** ContentfulCollectionCreated collectionContent */
|
|
14289
14289
|
collectionContent?: (contentful.ISlugReference[]|null);
|
|
14290
|
+
|
|
14291
|
+
/** ContentfulCollectionCreated enabled */
|
|
14292
|
+
enabled?: (boolean|null);
|
|
14293
|
+
|
|
14294
|
+
/** ContentfulCollectionCreated isInternationalOnly */
|
|
14295
|
+
isInternationalOnly?: (boolean|null);
|
|
14296
|
+
|
|
14297
|
+
/** ContentfulCollectionCreated accessGroups */
|
|
14298
|
+
accessGroups?: (contentful.ISlugReference[]|null);
|
|
14299
|
+
|
|
14300
|
+
/** ContentfulCollectionCreated tags */
|
|
14301
|
+
tags?: ({ [k: string]: contentful.ITags }|null);
|
|
14290
14302
|
}
|
|
14291
14303
|
|
|
14292
14304
|
/** Represents a ContentfulCollectionCreated. */
|
|
@@ -14316,12 +14328,24 @@ export class ContentfulCollectionCreated implements IContentfulCollectionCreated
|
|
|
14316
14328
|
/** ContentfulCollectionCreated collectionType. */
|
|
14317
14329
|
public collectionType: ContentCollectionType;
|
|
14318
14330
|
|
|
14319
|
-
/** ContentfulCollectionCreated
|
|
14320
|
-
public
|
|
14331
|
+
/** ContentfulCollectionCreated tileMedia. */
|
|
14332
|
+
public tileMedia: { [k: string]: contentful.IIdReference };
|
|
14321
14333
|
|
|
14322
14334
|
/** ContentfulCollectionCreated collectionContent. */
|
|
14323
14335
|
public collectionContent: contentful.ISlugReference[];
|
|
14324
14336
|
|
|
14337
|
+
/** ContentfulCollectionCreated enabled. */
|
|
14338
|
+
public enabled: boolean;
|
|
14339
|
+
|
|
14340
|
+
/** ContentfulCollectionCreated isInternationalOnly. */
|
|
14341
|
+
public isInternationalOnly: boolean;
|
|
14342
|
+
|
|
14343
|
+
/** ContentfulCollectionCreated accessGroups. */
|
|
14344
|
+
public accessGroups: contentful.ISlugReference[];
|
|
14345
|
+
|
|
14346
|
+
/** ContentfulCollectionCreated tags. */
|
|
14347
|
+
public tags: { [k: string]: contentful.ITags };
|
|
14348
|
+
|
|
14325
14349
|
/**
|
|
14326
14350
|
* Creates a new ContentfulCollectionCreated instance using the specified properties.
|
|
14327
14351
|
* @param [properties] Properties to set
|
|
@@ -14414,11 +14438,23 @@ export interface IContentfulCollectionUpdated {
|
|
|
14414
14438
|
/** ContentfulCollectionUpdated collectionType */
|
|
14415
14439
|
collectionType?: (ContentCollectionType|null);
|
|
14416
14440
|
|
|
14417
|
-
/** ContentfulCollectionUpdated
|
|
14418
|
-
|
|
14441
|
+
/** ContentfulCollectionUpdated tileMedia */
|
|
14442
|
+
tileMedia?: ({ [k: string]: contentful.IIdReference }|null);
|
|
14419
14443
|
|
|
14420
14444
|
/** ContentfulCollectionUpdated collectionContent */
|
|
14421
14445
|
collectionContent?: (contentful.ISlugReference[]|null);
|
|
14446
|
+
|
|
14447
|
+
/** ContentfulCollectionUpdated enabled */
|
|
14448
|
+
enabled?: (boolean|null);
|
|
14449
|
+
|
|
14450
|
+
/** ContentfulCollectionUpdated isInternationalOnly */
|
|
14451
|
+
isInternationalOnly?: (boolean|null);
|
|
14452
|
+
|
|
14453
|
+
/** ContentfulCollectionUpdated accessGroups */
|
|
14454
|
+
accessGroups?: (contentful.ISlugReference[]|null);
|
|
14455
|
+
|
|
14456
|
+
/** ContentfulCollectionUpdated tags */
|
|
14457
|
+
tags?: ({ [k: string]: contentful.ITags }|null);
|
|
14422
14458
|
}
|
|
14423
14459
|
|
|
14424
14460
|
/** Represents a ContentfulCollectionUpdated. */
|
|
@@ -14448,12 +14484,24 @@ export class ContentfulCollectionUpdated implements IContentfulCollectionUpdated
|
|
|
14448
14484
|
/** ContentfulCollectionUpdated collectionType. */
|
|
14449
14485
|
public collectionType: ContentCollectionType;
|
|
14450
14486
|
|
|
14451
|
-
/** ContentfulCollectionUpdated
|
|
14452
|
-
public
|
|
14487
|
+
/** ContentfulCollectionUpdated tileMedia. */
|
|
14488
|
+
public tileMedia: { [k: string]: contentful.IIdReference };
|
|
14453
14489
|
|
|
14454
14490
|
/** ContentfulCollectionUpdated collectionContent. */
|
|
14455
14491
|
public collectionContent: contentful.ISlugReference[];
|
|
14456
14492
|
|
|
14493
|
+
/** ContentfulCollectionUpdated enabled. */
|
|
14494
|
+
public enabled: boolean;
|
|
14495
|
+
|
|
14496
|
+
/** ContentfulCollectionUpdated isInternationalOnly. */
|
|
14497
|
+
public isInternationalOnly: boolean;
|
|
14498
|
+
|
|
14499
|
+
/** ContentfulCollectionUpdated accessGroups. */
|
|
14500
|
+
public accessGroups: contentful.ISlugReference[];
|
|
14501
|
+
|
|
14502
|
+
/** ContentfulCollectionUpdated tags. */
|
|
14503
|
+
public tags: { [k: string]: contentful.ITags };
|
|
14504
|
+
|
|
14457
14505
|
/**
|
|
14458
14506
|
* Creates a new ContentfulCollectionUpdated instance using the specified properties.
|
|
14459
14507
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -36353,8 +36353,12 @@ $root.ContentfulCollectionCreated = (function() {
|
|
|
36353
36353
|
* @property {Object.<string,string>|null} [description] ContentfulCollectionCreated description
|
|
36354
36354
|
* @property {number|Long|null} [createdAt] ContentfulCollectionCreated createdAt
|
|
36355
36355
|
* @property {ContentCollectionType|null} [collectionType] ContentfulCollectionCreated collectionType
|
|
36356
|
-
* @property {
|
|
36356
|
+
* @property {Object.<string,contentful.IIdReference>|null} [tileMedia] ContentfulCollectionCreated tileMedia
|
|
36357
36357
|
* @property {Array.<contentful.ISlugReference>|null} [collectionContent] ContentfulCollectionCreated collectionContent
|
|
36358
|
+
* @property {boolean|null} [enabled] ContentfulCollectionCreated enabled
|
|
36359
|
+
* @property {boolean|null} [isInternationalOnly] ContentfulCollectionCreated isInternationalOnly
|
|
36360
|
+
* @property {Array.<contentful.ISlugReference>|null} [accessGroups] ContentfulCollectionCreated accessGroups
|
|
36361
|
+
* @property {Object.<string,contentful.ITags>|null} [tags] ContentfulCollectionCreated tags
|
|
36358
36362
|
*/
|
|
36359
36363
|
|
|
36360
36364
|
/**
|
|
@@ -36369,7 +36373,10 @@ $root.ContentfulCollectionCreated = (function() {
|
|
|
36369
36373
|
this.name = {};
|
|
36370
36374
|
this.teaser = {};
|
|
36371
36375
|
this.description = {};
|
|
36376
|
+
this.tileMedia = {};
|
|
36372
36377
|
this.collectionContent = [];
|
|
36378
|
+
this.accessGroups = [];
|
|
36379
|
+
this.tags = {};
|
|
36373
36380
|
if (properties)
|
|
36374
36381
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
36375
36382
|
if (properties[keys[i]] != null)
|
|
@@ -36425,12 +36432,12 @@ $root.ContentfulCollectionCreated = (function() {
|
|
|
36425
36432
|
ContentfulCollectionCreated.prototype.collectionType = 0;
|
|
36426
36433
|
|
|
36427
36434
|
/**
|
|
36428
|
-
* ContentfulCollectionCreated
|
|
36429
|
-
* @member {
|
|
36435
|
+
* ContentfulCollectionCreated tileMedia.
|
|
36436
|
+
* @member {Object.<string,contentful.IIdReference>} tileMedia
|
|
36430
36437
|
* @memberof ContentfulCollectionCreated
|
|
36431
36438
|
* @instance
|
|
36432
36439
|
*/
|
|
36433
|
-
ContentfulCollectionCreated.prototype.
|
|
36440
|
+
ContentfulCollectionCreated.prototype.tileMedia = $util.emptyObject;
|
|
36434
36441
|
|
|
36435
36442
|
/**
|
|
36436
36443
|
* ContentfulCollectionCreated collectionContent.
|
|
@@ -36440,6 +36447,38 @@ $root.ContentfulCollectionCreated = (function() {
|
|
|
36440
36447
|
*/
|
|
36441
36448
|
ContentfulCollectionCreated.prototype.collectionContent = $util.emptyArray;
|
|
36442
36449
|
|
|
36450
|
+
/**
|
|
36451
|
+
* ContentfulCollectionCreated enabled.
|
|
36452
|
+
* @member {boolean} enabled
|
|
36453
|
+
* @memberof ContentfulCollectionCreated
|
|
36454
|
+
* @instance
|
|
36455
|
+
*/
|
|
36456
|
+
ContentfulCollectionCreated.prototype.enabled = false;
|
|
36457
|
+
|
|
36458
|
+
/**
|
|
36459
|
+
* ContentfulCollectionCreated isInternationalOnly.
|
|
36460
|
+
* @member {boolean} isInternationalOnly
|
|
36461
|
+
* @memberof ContentfulCollectionCreated
|
|
36462
|
+
* @instance
|
|
36463
|
+
*/
|
|
36464
|
+
ContentfulCollectionCreated.prototype.isInternationalOnly = false;
|
|
36465
|
+
|
|
36466
|
+
/**
|
|
36467
|
+
* ContentfulCollectionCreated accessGroups.
|
|
36468
|
+
* @member {Array.<contentful.ISlugReference>} accessGroups
|
|
36469
|
+
* @memberof ContentfulCollectionCreated
|
|
36470
|
+
* @instance
|
|
36471
|
+
*/
|
|
36472
|
+
ContentfulCollectionCreated.prototype.accessGroups = $util.emptyArray;
|
|
36473
|
+
|
|
36474
|
+
/**
|
|
36475
|
+
* ContentfulCollectionCreated tags.
|
|
36476
|
+
* @member {Object.<string,contentful.ITags>} tags
|
|
36477
|
+
* @memberof ContentfulCollectionCreated
|
|
36478
|
+
* @instance
|
|
36479
|
+
*/
|
|
36480
|
+
ContentfulCollectionCreated.prototype.tags = $util.emptyObject;
|
|
36481
|
+
|
|
36443
36482
|
/**
|
|
36444
36483
|
* Creates a new ContentfulCollectionCreated instance using the specified properties.
|
|
36445
36484
|
* @function create
|
|
@@ -36479,11 +36518,26 @@ $root.ContentfulCollectionCreated = (function() {
|
|
|
36479
36518
|
writer.uint32(/* id 5, wireType 0 =*/40).uint64(message.createdAt);
|
|
36480
36519
|
if (message.collectionType != null && message.hasOwnProperty("collectionType"))
|
|
36481
36520
|
writer.uint32(/* id 6, wireType 0 =*/48).int32(message.collectionType);
|
|
36482
|
-
if (message.
|
|
36483
|
-
|
|
36521
|
+
if (message.tileMedia != null && message.hasOwnProperty("tileMedia"))
|
|
36522
|
+
for (var keys = Object.keys(message.tileMedia), i = 0; i < keys.length; ++i) {
|
|
36523
|
+
writer.uint32(/* id 7, wireType 2 =*/58).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
36524
|
+
$root.contentful.IdReference.encode(message.tileMedia[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
36525
|
+
}
|
|
36484
36526
|
if (message.collectionContent != null && message.collectionContent.length)
|
|
36485
36527
|
for (var i = 0; i < message.collectionContent.length; ++i)
|
|
36486
36528
|
$root.contentful.SlugReference.encode(message.collectionContent[i], writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim();
|
|
36529
|
+
if (message.enabled != null && message.hasOwnProperty("enabled"))
|
|
36530
|
+
writer.uint32(/* id 9, wireType 0 =*/72).bool(message.enabled);
|
|
36531
|
+
if (message.isInternationalOnly != null && message.hasOwnProperty("isInternationalOnly"))
|
|
36532
|
+
writer.uint32(/* id 10, wireType 0 =*/80).bool(message.isInternationalOnly);
|
|
36533
|
+
if (message.accessGroups != null && message.accessGroups.length)
|
|
36534
|
+
for (var i = 0; i < message.accessGroups.length; ++i)
|
|
36535
|
+
$root.contentful.SlugReference.encode(message.accessGroups[i], writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim();
|
|
36536
|
+
if (message.tags != null && message.hasOwnProperty("tags"))
|
|
36537
|
+
for (var keys = Object.keys(message.tags), i = 0; i < keys.length; ++i) {
|
|
36538
|
+
writer.uint32(/* id 12, wireType 2 =*/98).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
36539
|
+
$root.contentful.Tags.encode(message.tags[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
36540
|
+
}
|
|
36487
36541
|
return writer;
|
|
36488
36542
|
};
|
|
36489
36543
|
|
|
@@ -36552,13 +36606,37 @@ $root.ContentfulCollectionCreated = (function() {
|
|
|
36552
36606
|
message.collectionType = reader.int32();
|
|
36553
36607
|
break;
|
|
36554
36608
|
case 7:
|
|
36555
|
-
|
|
36609
|
+
reader.skip().pos++;
|
|
36610
|
+
if (message.tileMedia === $util.emptyObject)
|
|
36611
|
+
message.tileMedia = {};
|
|
36612
|
+
key = reader.string();
|
|
36613
|
+
reader.pos++;
|
|
36614
|
+
message.tileMedia[key] = $root.contentful.IdReference.decode(reader, reader.uint32());
|
|
36556
36615
|
break;
|
|
36557
36616
|
case 8:
|
|
36558
36617
|
if (!(message.collectionContent && message.collectionContent.length))
|
|
36559
36618
|
message.collectionContent = [];
|
|
36560
36619
|
message.collectionContent.push($root.contentful.SlugReference.decode(reader, reader.uint32()));
|
|
36561
36620
|
break;
|
|
36621
|
+
case 9:
|
|
36622
|
+
message.enabled = reader.bool();
|
|
36623
|
+
break;
|
|
36624
|
+
case 10:
|
|
36625
|
+
message.isInternationalOnly = reader.bool();
|
|
36626
|
+
break;
|
|
36627
|
+
case 11:
|
|
36628
|
+
if (!(message.accessGroups && message.accessGroups.length))
|
|
36629
|
+
message.accessGroups = [];
|
|
36630
|
+
message.accessGroups.push($root.contentful.SlugReference.decode(reader, reader.uint32()));
|
|
36631
|
+
break;
|
|
36632
|
+
case 12:
|
|
36633
|
+
reader.skip().pos++;
|
|
36634
|
+
if (message.tags === $util.emptyObject)
|
|
36635
|
+
message.tags = {};
|
|
36636
|
+
key = reader.string();
|
|
36637
|
+
reader.pos++;
|
|
36638
|
+
message.tags[key] = $root.contentful.Tags.decode(reader, reader.uint32());
|
|
36639
|
+
break;
|
|
36562
36640
|
default:
|
|
36563
36641
|
reader.skipType(tag & 7);
|
|
36564
36642
|
break;
|
|
@@ -36632,9 +36710,16 @@ $root.ContentfulCollectionCreated = (function() {
|
|
|
36632
36710
|
case 1:
|
|
36633
36711
|
break;
|
|
36634
36712
|
}
|
|
36635
|
-
if (message.
|
|
36636
|
-
if (!$util.
|
|
36637
|
-
return "
|
|
36713
|
+
if (message.tileMedia != null && message.hasOwnProperty("tileMedia")) {
|
|
36714
|
+
if (!$util.isObject(message.tileMedia))
|
|
36715
|
+
return "tileMedia: object expected";
|
|
36716
|
+
var key = Object.keys(message.tileMedia);
|
|
36717
|
+
for (var i = 0; i < key.length; ++i) {
|
|
36718
|
+
var error = $root.contentful.IdReference.verify(message.tileMedia[key[i]]);
|
|
36719
|
+
if (error)
|
|
36720
|
+
return "tileMedia." + error;
|
|
36721
|
+
}
|
|
36722
|
+
}
|
|
36638
36723
|
if (message.collectionContent != null && message.hasOwnProperty("collectionContent")) {
|
|
36639
36724
|
if (!Array.isArray(message.collectionContent))
|
|
36640
36725
|
return "collectionContent: array expected";
|
|
@@ -36644,6 +36729,31 @@ $root.ContentfulCollectionCreated = (function() {
|
|
|
36644
36729
|
return "collectionContent." + error;
|
|
36645
36730
|
}
|
|
36646
36731
|
}
|
|
36732
|
+
if (message.enabled != null && message.hasOwnProperty("enabled"))
|
|
36733
|
+
if (typeof message.enabled !== "boolean")
|
|
36734
|
+
return "enabled: boolean expected";
|
|
36735
|
+
if (message.isInternationalOnly != null && message.hasOwnProperty("isInternationalOnly"))
|
|
36736
|
+
if (typeof message.isInternationalOnly !== "boolean")
|
|
36737
|
+
return "isInternationalOnly: boolean expected";
|
|
36738
|
+
if (message.accessGroups != null && message.hasOwnProperty("accessGroups")) {
|
|
36739
|
+
if (!Array.isArray(message.accessGroups))
|
|
36740
|
+
return "accessGroups: array expected";
|
|
36741
|
+
for (var i = 0; i < message.accessGroups.length; ++i) {
|
|
36742
|
+
var error = $root.contentful.SlugReference.verify(message.accessGroups[i]);
|
|
36743
|
+
if (error)
|
|
36744
|
+
return "accessGroups." + error;
|
|
36745
|
+
}
|
|
36746
|
+
}
|
|
36747
|
+
if (message.tags != null && message.hasOwnProperty("tags")) {
|
|
36748
|
+
if (!$util.isObject(message.tags))
|
|
36749
|
+
return "tags: object expected";
|
|
36750
|
+
var key = Object.keys(message.tags);
|
|
36751
|
+
for (var i = 0; i < key.length; ++i) {
|
|
36752
|
+
var error = $root.contentful.Tags.verify(message.tags[key[i]]);
|
|
36753
|
+
if (error)
|
|
36754
|
+
return "tags." + error;
|
|
36755
|
+
}
|
|
36756
|
+
}
|
|
36647
36757
|
return null;
|
|
36648
36758
|
};
|
|
36649
36759
|
|
|
@@ -36701,8 +36811,16 @@ $root.ContentfulCollectionCreated = (function() {
|
|
|
36701
36811
|
message.collectionType = 1;
|
|
36702
36812
|
break;
|
|
36703
36813
|
}
|
|
36704
|
-
if (object.
|
|
36705
|
-
|
|
36814
|
+
if (object.tileMedia) {
|
|
36815
|
+
if (typeof object.tileMedia !== "object")
|
|
36816
|
+
throw TypeError(".ContentfulCollectionCreated.tileMedia: object expected");
|
|
36817
|
+
message.tileMedia = {};
|
|
36818
|
+
for (var keys = Object.keys(object.tileMedia), i = 0; i < keys.length; ++i) {
|
|
36819
|
+
if (typeof object.tileMedia[keys[i]] !== "object")
|
|
36820
|
+
throw TypeError(".ContentfulCollectionCreated.tileMedia: object expected");
|
|
36821
|
+
message.tileMedia[keys[i]] = $root.contentful.IdReference.fromObject(object.tileMedia[keys[i]]);
|
|
36822
|
+
}
|
|
36823
|
+
}
|
|
36706
36824
|
if (object.collectionContent) {
|
|
36707
36825
|
if (!Array.isArray(object.collectionContent))
|
|
36708
36826
|
throw TypeError(".ContentfulCollectionCreated.collectionContent: array expected");
|
|
@@ -36713,6 +36831,30 @@ $root.ContentfulCollectionCreated = (function() {
|
|
|
36713
36831
|
message.collectionContent[i] = $root.contentful.SlugReference.fromObject(object.collectionContent[i]);
|
|
36714
36832
|
}
|
|
36715
36833
|
}
|
|
36834
|
+
if (object.enabled != null)
|
|
36835
|
+
message.enabled = Boolean(object.enabled);
|
|
36836
|
+
if (object.isInternationalOnly != null)
|
|
36837
|
+
message.isInternationalOnly = Boolean(object.isInternationalOnly);
|
|
36838
|
+
if (object.accessGroups) {
|
|
36839
|
+
if (!Array.isArray(object.accessGroups))
|
|
36840
|
+
throw TypeError(".ContentfulCollectionCreated.accessGroups: array expected");
|
|
36841
|
+
message.accessGroups = [];
|
|
36842
|
+
for (var i = 0; i < object.accessGroups.length; ++i) {
|
|
36843
|
+
if (typeof object.accessGroups[i] !== "object")
|
|
36844
|
+
throw TypeError(".ContentfulCollectionCreated.accessGroups: object expected");
|
|
36845
|
+
message.accessGroups[i] = $root.contentful.SlugReference.fromObject(object.accessGroups[i]);
|
|
36846
|
+
}
|
|
36847
|
+
}
|
|
36848
|
+
if (object.tags) {
|
|
36849
|
+
if (typeof object.tags !== "object")
|
|
36850
|
+
throw TypeError(".ContentfulCollectionCreated.tags: object expected");
|
|
36851
|
+
message.tags = {};
|
|
36852
|
+
for (var keys = Object.keys(object.tags), i = 0; i < keys.length; ++i) {
|
|
36853
|
+
if (typeof object.tags[keys[i]] !== "object")
|
|
36854
|
+
throw TypeError(".ContentfulCollectionCreated.tags: object expected");
|
|
36855
|
+
message.tags[keys[i]] = $root.contentful.Tags.fromObject(object.tags[keys[i]]);
|
|
36856
|
+
}
|
|
36857
|
+
}
|
|
36716
36858
|
return message;
|
|
36717
36859
|
};
|
|
36718
36860
|
|
|
@@ -36729,12 +36871,16 @@ $root.ContentfulCollectionCreated = (function() {
|
|
|
36729
36871
|
if (!options)
|
|
36730
36872
|
options = {};
|
|
36731
36873
|
var object = {};
|
|
36732
|
-
if (options.arrays || options.defaults)
|
|
36874
|
+
if (options.arrays || options.defaults) {
|
|
36733
36875
|
object.collectionContent = [];
|
|
36876
|
+
object.accessGroups = [];
|
|
36877
|
+
}
|
|
36734
36878
|
if (options.objects || options.defaults) {
|
|
36735
36879
|
object.name = {};
|
|
36736
36880
|
object.teaser = {};
|
|
36737
36881
|
object.description = {};
|
|
36882
|
+
object.tileMedia = {};
|
|
36883
|
+
object.tags = {};
|
|
36738
36884
|
}
|
|
36739
36885
|
if (options.defaults) {
|
|
36740
36886
|
object.slug = "";
|
|
@@ -36744,7 +36890,8 @@ $root.ContentfulCollectionCreated = (function() {
|
|
|
36744
36890
|
} else
|
|
36745
36891
|
object.createdAt = options.longs === String ? "0" : 0;
|
|
36746
36892
|
object.collectionType = options.enums === String ? "CONTENT_COLLECTION_TYPE_UNRECOGNIZED" : 0;
|
|
36747
|
-
object.
|
|
36893
|
+
object.enabled = false;
|
|
36894
|
+
object.isInternationalOnly = false;
|
|
36748
36895
|
}
|
|
36749
36896
|
var keys2;
|
|
36750
36897
|
if (message.name && (keys2 = Object.keys(message.name)).length) {
|
|
@@ -36771,13 +36918,30 @@ $root.ContentfulCollectionCreated = (function() {
|
|
|
36771
36918
|
object.createdAt = options.longs === String ? $util.Long.prototype.toString.call(message.createdAt) : options.longs === Number ? new $util.LongBits(message.createdAt.low >>> 0, message.createdAt.high >>> 0).toNumber(true) : message.createdAt;
|
|
36772
36919
|
if (message.collectionType != null && message.hasOwnProperty("collectionType"))
|
|
36773
36920
|
object.collectionType = options.enums === String ? $root.ContentCollectionType[message.collectionType] : message.collectionType;
|
|
36774
|
-
if (message.
|
|
36775
|
-
object.
|
|
36921
|
+
if (message.tileMedia && (keys2 = Object.keys(message.tileMedia)).length) {
|
|
36922
|
+
object.tileMedia = {};
|
|
36923
|
+
for (var j = 0; j < keys2.length; ++j)
|
|
36924
|
+
object.tileMedia[keys2[j]] = $root.contentful.IdReference.toObject(message.tileMedia[keys2[j]], options);
|
|
36925
|
+
}
|
|
36776
36926
|
if (message.collectionContent && message.collectionContent.length) {
|
|
36777
36927
|
object.collectionContent = [];
|
|
36778
36928
|
for (var j = 0; j < message.collectionContent.length; ++j)
|
|
36779
36929
|
object.collectionContent[j] = $root.contentful.SlugReference.toObject(message.collectionContent[j], options);
|
|
36780
36930
|
}
|
|
36931
|
+
if (message.enabled != null && message.hasOwnProperty("enabled"))
|
|
36932
|
+
object.enabled = message.enabled;
|
|
36933
|
+
if (message.isInternationalOnly != null && message.hasOwnProperty("isInternationalOnly"))
|
|
36934
|
+
object.isInternationalOnly = message.isInternationalOnly;
|
|
36935
|
+
if (message.accessGroups && message.accessGroups.length) {
|
|
36936
|
+
object.accessGroups = [];
|
|
36937
|
+
for (var j = 0; j < message.accessGroups.length; ++j)
|
|
36938
|
+
object.accessGroups[j] = $root.contentful.SlugReference.toObject(message.accessGroups[j], options);
|
|
36939
|
+
}
|
|
36940
|
+
if (message.tags && (keys2 = Object.keys(message.tags)).length) {
|
|
36941
|
+
object.tags = {};
|
|
36942
|
+
for (var j = 0; j < keys2.length; ++j)
|
|
36943
|
+
object.tags[keys2[j]] = $root.contentful.Tags.toObject(message.tags[keys2[j]], options);
|
|
36944
|
+
}
|
|
36781
36945
|
return object;
|
|
36782
36946
|
};
|
|
36783
36947
|
|
|
@@ -36807,8 +36971,12 @@ $root.ContentfulCollectionUpdated = (function() {
|
|
|
36807
36971
|
* @property {Object.<string,string>|null} [description] ContentfulCollectionUpdated description
|
|
36808
36972
|
* @property {number|Long|null} [updatedAt] ContentfulCollectionUpdated updatedAt
|
|
36809
36973
|
* @property {ContentCollectionType|null} [collectionType] ContentfulCollectionUpdated collectionType
|
|
36810
|
-
* @property {
|
|
36974
|
+
* @property {Object.<string,contentful.IIdReference>|null} [tileMedia] ContentfulCollectionUpdated tileMedia
|
|
36811
36975
|
* @property {Array.<contentful.ISlugReference>|null} [collectionContent] ContentfulCollectionUpdated collectionContent
|
|
36976
|
+
* @property {boolean|null} [enabled] ContentfulCollectionUpdated enabled
|
|
36977
|
+
* @property {boolean|null} [isInternationalOnly] ContentfulCollectionUpdated isInternationalOnly
|
|
36978
|
+
* @property {Array.<contentful.ISlugReference>|null} [accessGroups] ContentfulCollectionUpdated accessGroups
|
|
36979
|
+
* @property {Object.<string,contentful.ITags>|null} [tags] ContentfulCollectionUpdated tags
|
|
36812
36980
|
*/
|
|
36813
36981
|
|
|
36814
36982
|
/**
|
|
@@ -36823,7 +36991,10 @@ $root.ContentfulCollectionUpdated = (function() {
|
|
|
36823
36991
|
this.name = {};
|
|
36824
36992
|
this.teaser = {};
|
|
36825
36993
|
this.description = {};
|
|
36994
|
+
this.tileMedia = {};
|
|
36826
36995
|
this.collectionContent = [];
|
|
36996
|
+
this.accessGroups = [];
|
|
36997
|
+
this.tags = {};
|
|
36827
36998
|
if (properties)
|
|
36828
36999
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
36829
37000
|
if (properties[keys[i]] != null)
|
|
@@ -36879,12 +37050,12 @@ $root.ContentfulCollectionUpdated = (function() {
|
|
|
36879
37050
|
ContentfulCollectionUpdated.prototype.collectionType = 0;
|
|
36880
37051
|
|
|
36881
37052
|
/**
|
|
36882
|
-
* ContentfulCollectionUpdated
|
|
36883
|
-
* @member {
|
|
37053
|
+
* ContentfulCollectionUpdated tileMedia.
|
|
37054
|
+
* @member {Object.<string,contentful.IIdReference>} tileMedia
|
|
36884
37055
|
* @memberof ContentfulCollectionUpdated
|
|
36885
37056
|
* @instance
|
|
36886
37057
|
*/
|
|
36887
|
-
ContentfulCollectionUpdated.prototype.
|
|
37058
|
+
ContentfulCollectionUpdated.prototype.tileMedia = $util.emptyObject;
|
|
36888
37059
|
|
|
36889
37060
|
/**
|
|
36890
37061
|
* ContentfulCollectionUpdated collectionContent.
|
|
@@ -36894,6 +37065,38 @@ $root.ContentfulCollectionUpdated = (function() {
|
|
|
36894
37065
|
*/
|
|
36895
37066
|
ContentfulCollectionUpdated.prototype.collectionContent = $util.emptyArray;
|
|
36896
37067
|
|
|
37068
|
+
/**
|
|
37069
|
+
* ContentfulCollectionUpdated enabled.
|
|
37070
|
+
* @member {boolean} enabled
|
|
37071
|
+
* @memberof ContentfulCollectionUpdated
|
|
37072
|
+
* @instance
|
|
37073
|
+
*/
|
|
37074
|
+
ContentfulCollectionUpdated.prototype.enabled = false;
|
|
37075
|
+
|
|
37076
|
+
/**
|
|
37077
|
+
* ContentfulCollectionUpdated isInternationalOnly.
|
|
37078
|
+
* @member {boolean} isInternationalOnly
|
|
37079
|
+
* @memberof ContentfulCollectionUpdated
|
|
37080
|
+
* @instance
|
|
37081
|
+
*/
|
|
37082
|
+
ContentfulCollectionUpdated.prototype.isInternationalOnly = false;
|
|
37083
|
+
|
|
37084
|
+
/**
|
|
37085
|
+
* ContentfulCollectionUpdated accessGroups.
|
|
37086
|
+
* @member {Array.<contentful.ISlugReference>} accessGroups
|
|
37087
|
+
* @memberof ContentfulCollectionUpdated
|
|
37088
|
+
* @instance
|
|
37089
|
+
*/
|
|
37090
|
+
ContentfulCollectionUpdated.prototype.accessGroups = $util.emptyArray;
|
|
37091
|
+
|
|
37092
|
+
/**
|
|
37093
|
+
* ContentfulCollectionUpdated tags.
|
|
37094
|
+
* @member {Object.<string,contentful.ITags>} tags
|
|
37095
|
+
* @memberof ContentfulCollectionUpdated
|
|
37096
|
+
* @instance
|
|
37097
|
+
*/
|
|
37098
|
+
ContentfulCollectionUpdated.prototype.tags = $util.emptyObject;
|
|
37099
|
+
|
|
36897
37100
|
/**
|
|
36898
37101
|
* Creates a new ContentfulCollectionUpdated instance using the specified properties.
|
|
36899
37102
|
* @function create
|
|
@@ -36933,11 +37136,26 @@ $root.ContentfulCollectionUpdated = (function() {
|
|
|
36933
37136
|
writer.uint32(/* id 5, wireType 0 =*/40).uint64(message.updatedAt);
|
|
36934
37137
|
if (message.collectionType != null && message.hasOwnProperty("collectionType"))
|
|
36935
37138
|
writer.uint32(/* id 6, wireType 0 =*/48).int32(message.collectionType);
|
|
36936
|
-
if (message.
|
|
36937
|
-
|
|
37139
|
+
if (message.tileMedia != null && message.hasOwnProperty("tileMedia"))
|
|
37140
|
+
for (var keys = Object.keys(message.tileMedia), i = 0; i < keys.length; ++i) {
|
|
37141
|
+
writer.uint32(/* id 7, wireType 2 =*/58).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
37142
|
+
$root.contentful.IdReference.encode(message.tileMedia[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
37143
|
+
}
|
|
36938
37144
|
if (message.collectionContent != null && message.collectionContent.length)
|
|
36939
37145
|
for (var i = 0; i < message.collectionContent.length; ++i)
|
|
36940
37146
|
$root.contentful.SlugReference.encode(message.collectionContent[i], writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim();
|
|
37147
|
+
if (message.enabled != null && message.hasOwnProperty("enabled"))
|
|
37148
|
+
writer.uint32(/* id 9, wireType 0 =*/72).bool(message.enabled);
|
|
37149
|
+
if (message.isInternationalOnly != null && message.hasOwnProperty("isInternationalOnly"))
|
|
37150
|
+
writer.uint32(/* id 10, wireType 0 =*/80).bool(message.isInternationalOnly);
|
|
37151
|
+
if (message.accessGroups != null && message.accessGroups.length)
|
|
37152
|
+
for (var i = 0; i < message.accessGroups.length; ++i)
|
|
37153
|
+
$root.contentful.SlugReference.encode(message.accessGroups[i], writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim();
|
|
37154
|
+
if (message.tags != null && message.hasOwnProperty("tags"))
|
|
37155
|
+
for (var keys = Object.keys(message.tags), i = 0; i < keys.length; ++i) {
|
|
37156
|
+
writer.uint32(/* id 12, wireType 2 =*/98).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
37157
|
+
$root.contentful.Tags.encode(message.tags[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
37158
|
+
}
|
|
36941
37159
|
return writer;
|
|
36942
37160
|
};
|
|
36943
37161
|
|
|
@@ -37006,13 +37224,37 @@ $root.ContentfulCollectionUpdated = (function() {
|
|
|
37006
37224
|
message.collectionType = reader.int32();
|
|
37007
37225
|
break;
|
|
37008
37226
|
case 7:
|
|
37009
|
-
|
|
37227
|
+
reader.skip().pos++;
|
|
37228
|
+
if (message.tileMedia === $util.emptyObject)
|
|
37229
|
+
message.tileMedia = {};
|
|
37230
|
+
key = reader.string();
|
|
37231
|
+
reader.pos++;
|
|
37232
|
+
message.tileMedia[key] = $root.contentful.IdReference.decode(reader, reader.uint32());
|
|
37010
37233
|
break;
|
|
37011
37234
|
case 8:
|
|
37012
37235
|
if (!(message.collectionContent && message.collectionContent.length))
|
|
37013
37236
|
message.collectionContent = [];
|
|
37014
37237
|
message.collectionContent.push($root.contentful.SlugReference.decode(reader, reader.uint32()));
|
|
37015
37238
|
break;
|
|
37239
|
+
case 9:
|
|
37240
|
+
message.enabled = reader.bool();
|
|
37241
|
+
break;
|
|
37242
|
+
case 10:
|
|
37243
|
+
message.isInternationalOnly = reader.bool();
|
|
37244
|
+
break;
|
|
37245
|
+
case 11:
|
|
37246
|
+
if (!(message.accessGroups && message.accessGroups.length))
|
|
37247
|
+
message.accessGroups = [];
|
|
37248
|
+
message.accessGroups.push($root.contentful.SlugReference.decode(reader, reader.uint32()));
|
|
37249
|
+
break;
|
|
37250
|
+
case 12:
|
|
37251
|
+
reader.skip().pos++;
|
|
37252
|
+
if (message.tags === $util.emptyObject)
|
|
37253
|
+
message.tags = {};
|
|
37254
|
+
key = reader.string();
|
|
37255
|
+
reader.pos++;
|
|
37256
|
+
message.tags[key] = $root.contentful.Tags.decode(reader, reader.uint32());
|
|
37257
|
+
break;
|
|
37016
37258
|
default:
|
|
37017
37259
|
reader.skipType(tag & 7);
|
|
37018
37260
|
break;
|
|
@@ -37086,9 +37328,16 @@ $root.ContentfulCollectionUpdated = (function() {
|
|
|
37086
37328
|
case 1:
|
|
37087
37329
|
break;
|
|
37088
37330
|
}
|
|
37089
|
-
if (message.
|
|
37090
|
-
if (!$util.
|
|
37091
|
-
return "
|
|
37331
|
+
if (message.tileMedia != null && message.hasOwnProperty("tileMedia")) {
|
|
37332
|
+
if (!$util.isObject(message.tileMedia))
|
|
37333
|
+
return "tileMedia: object expected";
|
|
37334
|
+
var key = Object.keys(message.tileMedia);
|
|
37335
|
+
for (var i = 0; i < key.length; ++i) {
|
|
37336
|
+
var error = $root.contentful.IdReference.verify(message.tileMedia[key[i]]);
|
|
37337
|
+
if (error)
|
|
37338
|
+
return "tileMedia." + error;
|
|
37339
|
+
}
|
|
37340
|
+
}
|
|
37092
37341
|
if (message.collectionContent != null && message.hasOwnProperty("collectionContent")) {
|
|
37093
37342
|
if (!Array.isArray(message.collectionContent))
|
|
37094
37343
|
return "collectionContent: array expected";
|
|
@@ -37098,6 +37347,31 @@ $root.ContentfulCollectionUpdated = (function() {
|
|
|
37098
37347
|
return "collectionContent." + error;
|
|
37099
37348
|
}
|
|
37100
37349
|
}
|
|
37350
|
+
if (message.enabled != null && message.hasOwnProperty("enabled"))
|
|
37351
|
+
if (typeof message.enabled !== "boolean")
|
|
37352
|
+
return "enabled: boolean expected";
|
|
37353
|
+
if (message.isInternationalOnly != null && message.hasOwnProperty("isInternationalOnly"))
|
|
37354
|
+
if (typeof message.isInternationalOnly !== "boolean")
|
|
37355
|
+
return "isInternationalOnly: boolean expected";
|
|
37356
|
+
if (message.accessGroups != null && message.hasOwnProperty("accessGroups")) {
|
|
37357
|
+
if (!Array.isArray(message.accessGroups))
|
|
37358
|
+
return "accessGroups: array expected";
|
|
37359
|
+
for (var i = 0; i < message.accessGroups.length; ++i) {
|
|
37360
|
+
var error = $root.contentful.SlugReference.verify(message.accessGroups[i]);
|
|
37361
|
+
if (error)
|
|
37362
|
+
return "accessGroups." + error;
|
|
37363
|
+
}
|
|
37364
|
+
}
|
|
37365
|
+
if (message.tags != null && message.hasOwnProperty("tags")) {
|
|
37366
|
+
if (!$util.isObject(message.tags))
|
|
37367
|
+
return "tags: object expected";
|
|
37368
|
+
var key = Object.keys(message.tags);
|
|
37369
|
+
for (var i = 0; i < key.length; ++i) {
|
|
37370
|
+
var error = $root.contentful.Tags.verify(message.tags[key[i]]);
|
|
37371
|
+
if (error)
|
|
37372
|
+
return "tags." + error;
|
|
37373
|
+
}
|
|
37374
|
+
}
|
|
37101
37375
|
return null;
|
|
37102
37376
|
};
|
|
37103
37377
|
|
|
@@ -37155,8 +37429,16 @@ $root.ContentfulCollectionUpdated = (function() {
|
|
|
37155
37429
|
message.collectionType = 1;
|
|
37156
37430
|
break;
|
|
37157
37431
|
}
|
|
37158
|
-
if (object.
|
|
37159
|
-
|
|
37432
|
+
if (object.tileMedia) {
|
|
37433
|
+
if (typeof object.tileMedia !== "object")
|
|
37434
|
+
throw TypeError(".ContentfulCollectionUpdated.tileMedia: object expected");
|
|
37435
|
+
message.tileMedia = {};
|
|
37436
|
+
for (var keys = Object.keys(object.tileMedia), i = 0; i < keys.length; ++i) {
|
|
37437
|
+
if (typeof object.tileMedia[keys[i]] !== "object")
|
|
37438
|
+
throw TypeError(".ContentfulCollectionUpdated.tileMedia: object expected");
|
|
37439
|
+
message.tileMedia[keys[i]] = $root.contentful.IdReference.fromObject(object.tileMedia[keys[i]]);
|
|
37440
|
+
}
|
|
37441
|
+
}
|
|
37160
37442
|
if (object.collectionContent) {
|
|
37161
37443
|
if (!Array.isArray(object.collectionContent))
|
|
37162
37444
|
throw TypeError(".ContentfulCollectionUpdated.collectionContent: array expected");
|
|
@@ -37167,6 +37449,30 @@ $root.ContentfulCollectionUpdated = (function() {
|
|
|
37167
37449
|
message.collectionContent[i] = $root.contentful.SlugReference.fromObject(object.collectionContent[i]);
|
|
37168
37450
|
}
|
|
37169
37451
|
}
|
|
37452
|
+
if (object.enabled != null)
|
|
37453
|
+
message.enabled = Boolean(object.enabled);
|
|
37454
|
+
if (object.isInternationalOnly != null)
|
|
37455
|
+
message.isInternationalOnly = Boolean(object.isInternationalOnly);
|
|
37456
|
+
if (object.accessGroups) {
|
|
37457
|
+
if (!Array.isArray(object.accessGroups))
|
|
37458
|
+
throw TypeError(".ContentfulCollectionUpdated.accessGroups: array expected");
|
|
37459
|
+
message.accessGroups = [];
|
|
37460
|
+
for (var i = 0; i < object.accessGroups.length; ++i) {
|
|
37461
|
+
if (typeof object.accessGroups[i] !== "object")
|
|
37462
|
+
throw TypeError(".ContentfulCollectionUpdated.accessGroups: object expected");
|
|
37463
|
+
message.accessGroups[i] = $root.contentful.SlugReference.fromObject(object.accessGroups[i]);
|
|
37464
|
+
}
|
|
37465
|
+
}
|
|
37466
|
+
if (object.tags) {
|
|
37467
|
+
if (typeof object.tags !== "object")
|
|
37468
|
+
throw TypeError(".ContentfulCollectionUpdated.tags: object expected");
|
|
37469
|
+
message.tags = {};
|
|
37470
|
+
for (var keys = Object.keys(object.tags), i = 0; i < keys.length; ++i) {
|
|
37471
|
+
if (typeof object.tags[keys[i]] !== "object")
|
|
37472
|
+
throw TypeError(".ContentfulCollectionUpdated.tags: object expected");
|
|
37473
|
+
message.tags[keys[i]] = $root.contentful.Tags.fromObject(object.tags[keys[i]]);
|
|
37474
|
+
}
|
|
37475
|
+
}
|
|
37170
37476
|
return message;
|
|
37171
37477
|
};
|
|
37172
37478
|
|
|
@@ -37183,12 +37489,16 @@ $root.ContentfulCollectionUpdated = (function() {
|
|
|
37183
37489
|
if (!options)
|
|
37184
37490
|
options = {};
|
|
37185
37491
|
var object = {};
|
|
37186
|
-
if (options.arrays || options.defaults)
|
|
37492
|
+
if (options.arrays || options.defaults) {
|
|
37187
37493
|
object.collectionContent = [];
|
|
37494
|
+
object.accessGroups = [];
|
|
37495
|
+
}
|
|
37188
37496
|
if (options.objects || options.defaults) {
|
|
37189
37497
|
object.name = {};
|
|
37190
37498
|
object.teaser = {};
|
|
37191
37499
|
object.description = {};
|
|
37500
|
+
object.tileMedia = {};
|
|
37501
|
+
object.tags = {};
|
|
37192
37502
|
}
|
|
37193
37503
|
if (options.defaults) {
|
|
37194
37504
|
object.slug = "";
|
|
@@ -37198,7 +37508,8 @@ $root.ContentfulCollectionUpdated = (function() {
|
|
|
37198
37508
|
} else
|
|
37199
37509
|
object.updatedAt = options.longs === String ? "0" : 0;
|
|
37200
37510
|
object.collectionType = options.enums === String ? "CONTENT_COLLECTION_TYPE_UNRECOGNIZED" : 0;
|
|
37201
|
-
object.
|
|
37511
|
+
object.enabled = false;
|
|
37512
|
+
object.isInternationalOnly = false;
|
|
37202
37513
|
}
|
|
37203
37514
|
var keys2;
|
|
37204
37515
|
if (message.name && (keys2 = Object.keys(message.name)).length) {
|
|
@@ -37225,13 +37536,30 @@ $root.ContentfulCollectionUpdated = (function() {
|
|
|
37225
37536
|
object.updatedAt = options.longs === String ? $util.Long.prototype.toString.call(message.updatedAt) : options.longs === Number ? new $util.LongBits(message.updatedAt.low >>> 0, message.updatedAt.high >>> 0).toNumber(true) : message.updatedAt;
|
|
37226
37537
|
if (message.collectionType != null && message.hasOwnProperty("collectionType"))
|
|
37227
37538
|
object.collectionType = options.enums === String ? $root.ContentCollectionType[message.collectionType] : message.collectionType;
|
|
37228
|
-
if (message.
|
|
37229
|
-
object.
|
|
37539
|
+
if (message.tileMedia && (keys2 = Object.keys(message.tileMedia)).length) {
|
|
37540
|
+
object.tileMedia = {};
|
|
37541
|
+
for (var j = 0; j < keys2.length; ++j)
|
|
37542
|
+
object.tileMedia[keys2[j]] = $root.contentful.IdReference.toObject(message.tileMedia[keys2[j]], options);
|
|
37543
|
+
}
|
|
37230
37544
|
if (message.collectionContent && message.collectionContent.length) {
|
|
37231
37545
|
object.collectionContent = [];
|
|
37232
37546
|
for (var j = 0; j < message.collectionContent.length; ++j)
|
|
37233
37547
|
object.collectionContent[j] = $root.contentful.SlugReference.toObject(message.collectionContent[j], options);
|
|
37234
37548
|
}
|
|
37549
|
+
if (message.enabled != null && message.hasOwnProperty("enabled"))
|
|
37550
|
+
object.enabled = message.enabled;
|
|
37551
|
+
if (message.isInternationalOnly != null && message.hasOwnProperty("isInternationalOnly"))
|
|
37552
|
+
object.isInternationalOnly = message.isInternationalOnly;
|
|
37553
|
+
if (message.accessGroups && message.accessGroups.length) {
|
|
37554
|
+
object.accessGroups = [];
|
|
37555
|
+
for (var j = 0; j < message.accessGroups.length; ++j)
|
|
37556
|
+
object.accessGroups[j] = $root.contentful.SlugReference.toObject(message.accessGroups[j], options);
|
|
37557
|
+
}
|
|
37558
|
+
if (message.tags && (keys2 = Object.keys(message.tags)).length) {
|
|
37559
|
+
object.tags = {};
|
|
37560
|
+
for (var j = 0; j < keys2.length; ++j)
|
|
37561
|
+
object.tags[keys2[j]] = $root.contentful.Tags.toObject(message.tags[keys2[j]], options);
|
|
37562
|
+
}
|
|
37235
37563
|
return object;
|
|
37236
37564
|
};
|
|
37237
37565
|
|
package/package.json
CHANGED