@salesforce/lds-adapters-service-basesetup 1.311.1 → 1.312.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.
@@ -91,8 +91,8 @@ function createLink(ref) {
91
91
  };
92
92
  }
93
93
 
94
- const VERSION$6 = "57736b1397735a74a85726a28b18413d";
95
- function validate$6(obj, path = 'FeatureSetErrorRepresentation') {
94
+ const VERSION$4 = "57736b1397735a74a85726a28b18413d";
95
+ function validate$4(obj, path = 'FeatureSetErrorRepresentation') {
96
96
  const v_error = (() => {
97
97
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
98
98
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -110,10 +110,10 @@ function validate$6(obj, path = 'FeatureSetErrorRepresentation') {
110
110
  })();
111
111
  return v_error === undefined ? null : v_error;
112
112
  }
113
- const select$8 = function FeatureSetErrorRepresentationSelect() {
113
+ const select$6 = function FeatureSetErrorRepresentationSelect() {
114
114
  return {
115
115
  kind: 'Fragment',
116
- version: VERSION$6,
116
+ version: VERSION$4,
117
117
  private: [],
118
118
  selections: [
119
119
  {
@@ -127,7 +127,7 @@ const select$8 = function FeatureSetErrorRepresentationSelect() {
127
127
  ]
128
128
  };
129
129
  };
130
- function equals$6(existing, incoming) {
130
+ function equals$4(existing, incoming) {
131
131
  const existing_errorCode = existing.errorCode;
132
132
  const incoming_errorCode = incoming.errorCode;
133
133
  if (!(existing_errorCode === incoming_errorCode)) {
@@ -141,8 +141,8 @@ function equals$6(existing, incoming) {
141
141
  return true;
142
142
  }
143
143
 
144
- const VERSION$5 = "fdf09db1e294f390c748746b14b00ea8";
145
- function validate$5(obj, path = 'FeatureStatusRepresentation') {
144
+ const VERSION$3 = "fdf09db1e294f390c748746b14b00ea8";
145
+ function validate$3(obj, path = 'FeatureStatusRepresentation') {
146
146
  const v_error = (() => {
147
147
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
148
148
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -155,7 +155,7 @@ function validate$5(obj, path = 'FeatureStatusRepresentation') {
155
155
  for (let i = 0; i < obj_errors.length; i++) {
156
156
  const obj_errors_item = obj_errors[i];
157
157
  const path_errors_item = path_errors + '[' + i + ']';
158
- const referencepath_errors_itemValidationError = validate$6(obj_errors_item, path_errors_item);
158
+ const referencepath_errors_itemValidationError = validate$4(obj_errors_item, path_errors_item);
159
159
  if (referencepath_errors_itemValidationError !== null) {
160
160
  let message = 'Object doesn\'t match FeatureSetErrorRepresentation (at "' + path_errors_item + '")\n';
161
161
  message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -175,11 +175,11 @@ function validate$5(obj, path = 'FeatureStatusRepresentation') {
175
175
  })();
176
176
  return v_error === undefined ? null : v_error;
177
177
  }
178
- const select$7 = function FeatureStatusRepresentationSelect() {
179
- const { selections: FeatureSetErrorRepresentation__selections, opaque: FeatureSetErrorRepresentation__opaque, } = select$8();
178
+ const select$5 = function FeatureStatusRepresentationSelect() {
179
+ const { selections: FeatureSetErrorRepresentation__selections, opaque: FeatureSetErrorRepresentation__opaque, } = select$6();
180
180
  return {
181
181
  kind: 'Fragment',
182
- version: VERSION$5,
182
+ version: VERSION$3,
183
183
  private: [],
184
184
  selections: [
185
185
  {
@@ -199,7 +199,7 @@ const select$7 = function FeatureStatusRepresentationSelect() {
199
199
  ]
200
200
  };
201
201
  };
202
- function equals$5(existing, incoming) {
202
+ function equals$3(existing, incoming) {
203
203
  const existing_featureApiName = existing.featureApiName;
204
204
  const incoming_featureApiName = incoming.featureApiName;
205
205
  if (!(existing_featureApiName === incoming_featureApiName)) {
@@ -213,7 +213,7 @@ function equals$5(existing, incoming) {
213
213
  const existing_errors = existing.errors;
214
214
  const incoming_errors = incoming.errors;
215
215
  const equals_errors_items = equalsArray(existing_errors, incoming_errors, (existing_errors_item, incoming_errors_item) => {
216
- if (!(equals$6(existing_errors_item, incoming_errors_item))) {
216
+ if (!(equals$4(existing_errors_item, incoming_errors_item))) {
217
217
  return false;
218
218
  }
219
219
  });
@@ -223,8 +223,8 @@ function equals$5(existing, incoming) {
223
223
  return true;
224
224
  }
225
225
 
226
- const VERSION$4 = "83652c37c36b03098220a8a09f67bef0";
227
- function validate$4(obj, path = 'EnableFeatureSetOutputRepresentation') {
226
+ const VERSION$2 = "83652c37c36b03098220a8a09f67bef0";
227
+ function validate$2(obj, path = 'EnableFeatureSetOutputRepresentation') {
228
228
  const v_error = (() => {
229
229
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
230
230
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -237,7 +237,7 @@ function validate$4(obj, path = 'EnableFeatureSetOutputRepresentation') {
237
237
  for (let i = 0; i < obj_errors.length; i++) {
238
238
  const obj_errors_item = obj_errors[i];
239
239
  const path_errors_item = path_errors + '[' + i + ']';
240
- const referencepath_errors_itemValidationError = validate$6(obj_errors_item, path_errors_item);
240
+ const referencepath_errors_itemValidationError = validate$4(obj_errors_item, path_errors_item);
241
241
  if (referencepath_errors_itemValidationError !== null) {
242
242
  let message = 'Object doesn\'t match FeatureSetErrorRepresentation (at "' + path_errors_item + '")\n';
243
243
  message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -262,7 +262,7 @@ function validate$4(obj, path = 'EnableFeatureSetOutputRepresentation') {
262
262
  for (let i = 0; i < obj_featureStatusList.length; i++) {
263
263
  const obj_featureStatusList_item = obj_featureStatusList[i];
264
264
  const path_featureStatusList_item = path_featureStatusList + '[' + i + ']';
265
- const referencepath_featureStatusList_itemValidationError = validate$5(obj_featureStatusList_item, path_featureStatusList_item);
265
+ const referencepath_featureStatusList_itemValidationError = validate$3(obj_featureStatusList_item, path_featureStatusList_item);
266
266
  if (referencepath_featureStatusList_itemValidationError !== null) {
267
267
  let message = 'Object doesn\'t match FeatureStatusRepresentation (at "' + path_featureStatusList_item + '")\n';
268
268
  message += referencepath_featureStatusList_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -285,12 +285,12 @@ function keyBuilderFromType$1(luvio, object) {
285
285
  function normalize$1(input, existing, path, luvio, store, timestamp) {
286
286
  return input;
287
287
  }
288
- const select$6 = function EnableFeatureSetOutputRepresentationSelect() {
289
- const { selections: FeatureSetErrorRepresentation__selections, opaque: FeatureSetErrorRepresentation__opaque, } = select$8();
290
- const { selections: FeatureStatusRepresentation__selections, opaque: FeatureStatusRepresentation__opaque, } = select$7();
288
+ const select$4 = function EnableFeatureSetOutputRepresentationSelect() {
289
+ const { selections: FeatureSetErrorRepresentation__selections, opaque: FeatureSetErrorRepresentation__opaque, } = select$6();
290
+ const { selections: FeatureStatusRepresentation__selections, opaque: FeatureStatusRepresentation__opaque, } = select$5();
291
291
  return {
292
292
  kind: 'Fragment',
293
- version: VERSION$4,
293
+ version: VERSION$2,
294
294
  private: [],
295
295
  selections: [
296
296
  {
@@ -316,7 +316,7 @@ const select$6 = function EnableFeatureSetOutputRepresentationSelect() {
316
316
  ]
317
317
  };
318
318
  };
319
- function equals$4(existing, incoming) {
319
+ function equals$2(existing, incoming) {
320
320
  const existing_featureSetApiName = existing.featureSetApiName;
321
321
  const incoming_featureSetApiName = incoming.featureSetApiName;
322
322
  if (!(existing_featureSetApiName === incoming_featureSetApiName)) {
@@ -330,7 +330,7 @@ function equals$4(existing, incoming) {
330
330
  const existing_errors = existing.errors;
331
331
  const incoming_errors = incoming.errors;
332
332
  const equals_errors_items = equalsArray(existing_errors, incoming_errors, (existing_errors_item, incoming_errors_item) => {
333
- if (!(equals$6(existing_errors_item, incoming_errors_item))) {
333
+ if (!(equals$4(existing_errors_item, incoming_errors_item))) {
334
334
  return false;
335
335
  }
336
336
  });
@@ -340,7 +340,7 @@ function equals$4(existing, incoming) {
340
340
  const existing_featureStatusList = existing.featureStatusList;
341
341
  const incoming_featureStatusList = incoming.featureStatusList;
342
342
  const equals_featureStatusList_items = equalsArray(existing_featureStatusList, incoming_featureStatusList, (existing_featureStatusList_item, incoming_featureStatusList_item) => {
343
- if (!(equals$5(existing_featureStatusList_item, incoming_featureStatusList_item))) {
343
+ if (!(equals$3(existing_featureStatusList_item, incoming_featureStatusList_item))) {
344
344
  return false;
345
345
  }
346
346
  });
@@ -351,14 +351,14 @@ function equals$4(existing, incoming) {
351
351
  }
352
352
  const ingest$1 = function EnableFeatureSetOutputRepresentationIngest(input, path, luvio, store, timestamp) {
353
353
  if (process.env.NODE_ENV !== 'production') {
354
- const validateError = validate$4(input);
354
+ const validateError = validate$2(input);
355
355
  if (validateError !== null) {
356
356
  throw validateError;
357
357
  }
358
358
  }
359
359
  const key = keyBuilderFromType$1(luvio, input);
360
360
  const ttlToUse = path.ttl !== undefined ? path.ttl : 100;
361
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$1, "basesetup", VERSION$4, RepresentationType$1, equals$4);
361
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$1, "basesetup", VERSION$2, RepresentationType$1, equals$2);
362
362
  return createLink(key);
363
363
  };
364
364
  function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
@@ -371,8 +371,8 @@ function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
371
371
  });
372
372
  }
373
373
 
374
- function select$5(luvio, params) {
375
- return select$6();
374
+ function select$3(luvio, params) {
375
+ return select$4();
376
376
  }
377
377
  function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
378
378
  getTypeCacheKeys$1(storeKeyMap, luvio, response);
@@ -383,7 +383,7 @@ function ingestSuccess$1(luvio, resourceParams, response) {
383
383
  luvio.storeIngest(key, ingest$1, body);
384
384
  const snapshot = luvio.storeLookup({
385
385
  recordId: key,
386
- node: select$5(),
386
+ node: select$3(),
387
387
  variables: {},
388
388
  });
389
389
  if (process.env.NODE_ENV !== 'production') {
@@ -483,126 +483,7 @@ const enableFeatureSetAdapterFactory = (luvio) => {
483
483
  };
484
484
  };
485
485
 
486
- const VERSION$3 = "2b4a6d9603edd46b3d88ae4b1f705ac3";
487
- function validate$3(obj, path = 'FeatureActionDetailRepresentation') {
488
- const v_error = (() => {
489
- if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
490
- return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
491
- }
492
- const obj_iconName = obj.iconName;
493
- const path_iconName = path + '.iconName';
494
- if (typeof obj_iconName !== 'string') {
495
- return new TypeError('Expected "string" but received "' + typeof obj_iconName + '" (at "' + path_iconName + '")');
496
- }
497
- const obj_label = obj.label;
498
- const path_label = path + '.label';
499
- if (typeof obj_label !== 'string') {
500
- return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
501
- }
502
- const obj_title = obj.title;
503
- const path_title = path + '.title';
504
- if (typeof obj_title !== 'string') {
505
- return new TypeError('Expected "string" but received "' + typeof obj_title + '" (at "' + path_title + '")');
506
- }
507
- })();
508
- return v_error === undefined ? null : v_error;
509
- }
510
- const select$4 = function FeatureActionDetailRepresentationSelect() {
511
- return {
512
- kind: 'Fragment',
513
- version: VERSION$3,
514
- private: [],
515
- selections: [
516
- {
517
- name: 'iconName',
518
- kind: 'Scalar'
519
- },
520
- {
521
- name: 'label',
522
- kind: 'Scalar'
523
- },
524
- {
525
- name: 'title',
526
- kind: 'Scalar'
527
- }
528
- ]
529
- };
530
- };
531
- function equals$3(existing, incoming) {
532
- const existing_iconName = existing.iconName;
533
- const incoming_iconName = incoming.iconName;
534
- if (!(existing_iconName === incoming_iconName)) {
535
- return false;
536
- }
537
- const existing_label = existing.label;
538
- const incoming_label = incoming.label;
539
- if (!(existing_label === incoming_label)) {
540
- return false;
541
- }
542
- const existing_title = existing.title;
543
- const incoming_title = incoming.title;
544
- if (!(existing_title === incoming_title)) {
545
- return false;
546
- }
547
- return true;
548
- }
549
-
550
- const VERSION$2 = "2d76d68380fd0893d61124289d9a4c4e";
551
- function validate$2(obj, path = 'FeatureActionRepresentation') {
552
- const v_error = (() => {
553
- if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
554
- return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
555
- }
556
- const obj_actionDetail = obj.actionDetail;
557
- const path_actionDetail = path + '.actionDetail';
558
- const referencepath_actionDetailValidationError = validate$3(obj_actionDetail, path_actionDetail);
559
- if (referencepath_actionDetailValidationError !== null) {
560
- let message = 'Object doesn\'t match FeatureActionDetailRepresentation (at "' + path_actionDetail + '")\n';
561
- message += referencepath_actionDetailValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
562
- return new TypeError(message);
563
- }
564
- const obj_actionType = obj.actionType;
565
- const path_actionType = path + '.actionType';
566
- if (typeof obj_actionType !== 'string') {
567
- return new TypeError('Expected "string" but received "' + typeof obj_actionType + '" (at "' + path_actionType + '")');
568
- }
569
- })();
570
- return v_error === undefined ? null : v_error;
571
- }
572
- const select$3 = function FeatureActionRepresentationSelect() {
573
- const { selections: FeatureActionDetailRepresentation__selections, opaque: FeatureActionDetailRepresentation__opaque, } = select$4();
574
- return {
575
- kind: 'Fragment',
576
- version: VERSION$2,
577
- private: [],
578
- selections: [
579
- {
580
- name: 'actionDetail',
581
- kind: 'Object',
582
- selections: FeatureActionDetailRepresentation__selections
583
- },
584
- {
585
- name: 'actionType',
586
- kind: 'Scalar'
587
- }
588
- ]
589
- };
590
- };
591
- function equals$2(existing, incoming) {
592
- const existing_actionType = existing.actionType;
593
- const incoming_actionType = incoming.actionType;
594
- if (!(existing_actionType === incoming_actionType)) {
595
- return false;
596
- }
597
- const existing_actionDetail = existing.actionDetail;
598
- const incoming_actionDetail = incoming.actionDetail;
599
- if (!(equals$3(existing_actionDetail, incoming_actionDetail))) {
600
- return false;
601
- }
602
- return true;
603
- }
604
-
605
- const VERSION$1 = "03f20b1447a754c85b7558c3b032fc55";
486
+ const VERSION$1 = "a145dd96e34e7ed3e65240f207631120";
606
487
  function validate$1(obj, path = 'FeatureRepresentation') {
607
488
  const v_error = (() => {
608
489
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -616,42 +497,13 @@ function validate$1(obj, path = 'FeatureRepresentation') {
616
497
  for (let i = 0; i < obj_errors.length; i++) {
617
498
  const obj_errors_item = obj_errors[i];
618
499
  const path_errors_item = path_errors + '[' + i + ']';
619
- const referencepath_errors_itemValidationError = validate$6(obj_errors_item, path_errors_item);
500
+ const referencepath_errors_itemValidationError = validate$4(obj_errors_item, path_errors_item);
620
501
  if (referencepath_errors_itemValidationError !== null) {
621
502
  let message = 'Object doesn\'t match FeatureSetErrorRepresentation (at "' + path_errors_item + '")\n';
622
503
  message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
623
504
  return new TypeError(message);
624
505
  }
625
506
  }
626
- const obj_featureAction = obj.featureAction;
627
- const path_featureAction = path + '.featureAction';
628
- let obj_featureAction_union0 = null;
629
- const obj_featureAction_union0_error = (() => {
630
- const referencepath_featureActionValidationError = validate$2(obj_featureAction, path_featureAction);
631
- if (referencepath_featureActionValidationError !== null) {
632
- let message = 'Object doesn\'t match FeatureActionRepresentation (at "' + path_featureAction + '")\n';
633
- message += referencepath_featureActionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
634
- return new TypeError(message);
635
- }
636
- })();
637
- if (obj_featureAction_union0_error != null) {
638
- obj_featureAction_union0 = obj_featureAction_union0_error.message;
639
- }
640
- let obj_featureAction_union1 = null;
641
- const obj_featureAction_union1_error = (() => {
642
- if (obj_featureAction !== null) {
643
- return new TypeError('Expected "null" but received "' + typeof obj_featureAction + '" (at "' + path_featureAction + '")');
644
- }
645
- })();
646
- if (obj_featureAction_union1_error != null) {
647
- obj_featureAction_union1 = obj_featureAction_union1_error.message;
648
- }
649
- if (obj_featureAction_union0 && obj_featureAction_union1) {
650
- let message = 'Object doesn\'t match union (at "' + path_featureAction + '")';
651
- message += '\n' + obj_featureAction_union0.split('\n').map((line) => '\t' + line).join('\n');
652
- message += '\n' + obj_featureAction_union1.split('\n').map((line) => '\t' + line).join('\n');
653
- return new TypeError(message);
654
- }
655
507
  const obj_featureApiName = obj.featureApiName;
656
508
  const path_featureApiName = path + '.featureApiName';
657
509
  if (typeof obj_featureApiName !== 'string') {
@@ -662,64 +514,11 @@ function validate$1(obj, path = 'FeatureRepresentation') {
662
514
  if (typeof obj_featureStatus !== 'string') {
663
515
  return new TypeError('Expected "string" but received "' + typeof obj_featureStatus + '" (at "' + path_featureStatus + '")');
664
516
  }
665
- const obj_resourceUrl = obj.resourceUrl;
666
- const path_resourceUrl = path + '.resourceUrl';
667
- let obj_resourceUrl_union0 = null;
668
- const obj_resourceUrl_union0_error = (() => {
669
- if (typeof obj_resourceUrl !== 'string') {
670
- return new TypeError('Expected "string" but received "' + typeof obj_resourceUrl + '" (at "' + path_resourceUrl + '")');
671
- }
672
- })();
673
- if (obj_resourceUrl_union0_error != null) {
674
- obj_resourceUrl_union0 = obj_resourceUrl_union0_error.message;
675
- }
676
- let obj_resourceUrl_union1 = null;
677
- const obj_resourceUrl_union1_error = (() => {
678
- if (obj_resourceUrl !== null) {
679
- return new TypeError('Expected "null" but received "' + typeof obj_resourceUrl + '" (at "' + path_resourceUrl + '")');
680
- }
681
- })();
682
- if (obj_resourceUrl_union1_error != null) {
683
- obj_resourceUrl_union1 = obj_resourceUrl_union1_error.message;
684
- }
685
- if (obj_resourceUrl_union0 && obj_resourceUrl_union1) {
686
- let message = 'Object doesn\'t match union (at "' + path_resourceUrl + '")';
687
- message += '\n' + obj_resourceUrl_union0.split('\n').map((line) => '\t' + line).join('\n');
688
- message += '\n' + obj_resourceUrl_union1.split('\n').map((line) => '\t' + line).join('\n');
689
- return new TypeError(message);
690
- }
691
- const obj_title = obj.title;
692
- const path_title = path + '.title';
693
- let obj_title_union0 = null;
694
- const obj_title_union0_error = (() => {
695
- if (typeof obj_title !== 'string') {
696
- return new TypeError('Expected "string" but received "' + typeof obj_title + '" (at "' + path_title + '")');
697
- }
698
- })();
699
- if (obj_title_union0_error != null) {
700
- obj_title_union0 = obj_title_union0_error.message;
701
- }
702
- let obj_title_union1 = null;
703
- const obj_title_union1_error = (() => {
704
- if (obj_title !== null) {
705
- return new TypeError('Expected "null" but received "' + typeof obj_title + '" (at "' + path_title + '")');
706
- }
707
- })();
708
- if (obj_title_union1_error != null) {
709
- obj_title_union1 = obj_title_union1_error.message;
710
- }
711
- if (obj_title_union0 && obj_title_union1) {
712
- let message = 'Object doesn\'t match union (at "' + path_title + '")';
713
- message += '\n' + obj_title_union0.split('\n').map((line) => '\t' + line).join('\n');
714
- message += '\n' + obj_title_union1.split('\n').map((line) => '\t' + line).join('\n');
715
- return new TypeError(message);
716
- }
717
517
  })();
718
518
  return v_error === undefined ? null : v_error;
719
519
  }
720
520
  const select$2 = function FeatureRepresentationSelect() {
721
- const { selections: FeatureSetErrorRepresentation__selections, opaque: FeatureSetErrorRepresentation__opaque, } = select$8();
722
- const { selections: FeatureActionRepresentation__selections, opaque: FeatureActionRepresentation__opaque, } = select$3();
521
+ const { selections: FeatureSetErrorRepresentation__selections, opaque: FeatureSetErrorRepresentation__opaque, } = select$6();
723
522
  return {
724
523
  kind: 'Fragment',
725
524
  version: VERSION$1,
@@ -731,12 +530,6 @@ const select$2 = function FeatureRepresentationSelect() {
731
530
  plural: true,
732
531
  selections: FeatureSetErrorRepresentation__selections
733
532
  },
734
- {
735
- name: 'featureAction',
736
- kind: 'Object',
737
- nullable: true,
738
- selections: FeatureActionRepresentation__selections
739
- },
740
533
  {
741
534
  name: 'featureApiName',
742
535
  kind: 'Scalar'
@@ -744,14 +537,6 @@ const select$2 = function FeatureRepresentationSelect() {
744
537
  {
745
538
  name: 'featureStatus',
746
539
  kind: 'Scalar'
747
- },
748
- {
749
- name: 'resourceUrl',
750
- kind: 'Scalar'
751
- },
752
- {
753
- name: 'title',
754
- kind: 'Scalar'
755
540
  }
756
541
  ]
757
542
  };
@@ -770,35 +555,17 @@ function equals$1(existing, incoming) {
770
555
  const existing_errors = existing.errors;
771
556
  const incoming_errors = incoming.errors;
772
557
  const equals_errors_items = equalsArray(existing_errors, incoming_errors, (existing_errors_item, incoming_errors_item) => {
773
- if (!(equals$6(existing_errors_item, incoming_errors_item))) {
558
+ if (!(equals$4(existing_errors_item, incoming_errors_item))) {
774
559
  return false;
775
560
  }
776
561
  });
777
562
  if (equals_errors_items === false) {
778
563
  return false;
779
564
  }
780
- const existing_featureAction = existing.featureAction;
781
- const incoming_featureAction = incoming.featureAction;
782
- if (!(existing_featureAction === incoming_featureAction
783
- || (existing_featureAction != null &&
784
- incoming_featureAction != null &&
785
- equals$2(existing_featureAction, incoming_featureAction)))) {
786
- return false;
787
- }
788
- const existing_resourceUrl = existing.resourceUrl;
789
- const incoming_resourceUrl = incoming.resourceUrl;
790
- if (!(existing_resourceUrl === incoming_resourceUrl)) {
791
- return false;
792
- }
793
- const existing_title = existing.title;
794
- const incoming_title = incoming.title;
795
- if (!(existing_title === incoming_title)) {
796
- return false;
797
- }
798
565
  return true;
799
566
  }
800
567
 
801
- const VERSION = "413ee7b03b09065d1418d14d559a99ec";
568
+ const VERSION = "0970fea00fb709ac6da6352a070b6436";
802
569
  function validate(obj, path = 'FeatureSetRepresentation') {
803
570
  const v_error = (() => {
804
571
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -817,39 +584,13 @@ function validate(obj, path = 'FeatureSetRepresentation') {
817
584
  for (let i = 0; i < obj_errors.length; i++) {
818
585
  const obj_errors_item = obj_errors[i];
819
586
  const path_errors_item = path_errors + '[' + i + ']';
820
- const referencepath_errors_itemValidationError = validate$6(obj_errors_item, path_errors_item);
587
+ const referencepath_errors_itemValidationError = validate$4(obj_errors_item, path_errors_item);
821
588
  if (referencepath_errors_itemValidationError !== null) {
822
589
  let message = 'Object doesn\'t match FeatureSetErrorRepresentation (at "' + path_errors_item + '")\n';
823
590
  message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
824
591
  return new TypeError(message);
825
592
  }
826
593
  }
827
- const obj_featureCategory = obj.featureCategory;
828
- const path_featureCategory = path + '.featureCategory';
829
- let obj_featureCategory_union0 = null;
830
- const obj_featureCategory_union0_error = (() => {
831
- if (typeof obj_featureCategory !== 'string') {
832
- return new TypeError('Expected "string" but received "' + typeof obj_featureCategory + '" (at "' + path_featureCategory + '")');
833
- }
834
- })();
835
- if (obj_featureCategory_union0_error != null) {
836
- obj_featureCategory_union0 = obj_featureCategory_union0_error.message;
837
- }
838
- let obj_featureCategory_union1 = null;
839
- const obj_featureCategory_union1_error = (() => {
840
- if (obj_featureCategory !== null) {
841
- return new TypeError('Expected "null" but received "' + typeof obj_featureCategory + '" (at "' + path_featureCategory + '")');
842
- }
843
- })();
844
- if (obj_featureCategory_union1_error != null) {
845
- obj_featureCategory_union1 = obj_featureCategory_union1_error.message;
846
- }
847
- if (obj_featureCategory_union0 && obj_featureCategory_union1) {
848
- let message = 'Object doesn\'t match union (at "' + path_featureCategory + '")';
849
- message += '\n' + obj_featureCategory_union0.split('\n').map((line) => '\t' + line).join('\n');
850
- message += '\n' + obj_featureCategory_union1.split('\n').map((line) => '\t' + line).join('\n');
851
- return new TypeError(message);
852
- }
853
594
  const obj_featureSetApiName = obj.featureSetApiName;
854
595
  const path_featureSetApiName = path + '.featureSetApiName';
855
596
  if (typeof obj_featureSetApiName !== 'string') {
@@ -875,84 +616,6 @@ function validate(obj, path = 'FeatureSetRepresentation') {
875
616
  return new TypeError(message);
876
617
  }
877
618
  }
878
- const obj_order = obj.order;
879
- const path_order = path + '.order';
880
- let obj_order_union0 = null;
881
- const obj_order_union0_error = (() => {
882
- if (typeof obj_order !== 'number' || (typeof obj_order === 'number' && Math.floor(obj_order) !== obj_order)) {
883
- return new TypeError('Expected "integer" but received "' + typeof obj_order + '" (at "' + path_order + '")');
884
- }
885
- })();
886
- if (obj_order_union0_error != null) {
887
- obj_order_union0 = obj_order_union0_error.message;
888
- }
889
- let obj_order_union1 = null;
890
- const obj_order_union1_error = (() => {
891
- if (obj_order !== null) {
892
- return new TypeError('Expected "null" but received "' + typeof obj_order + '" (at "' + path_order + '")');
893
- }
894
- })();
895
- if (obj_order_union1_error != null) {
896
- obj_order_union1 = obj_order_union1_error.message;
897
- }
898
- if (obj_order_union0 && obj_order_union1) {
899
- let message = 'Object doesn\'t match union (at "' + path_order + '")';
900
- message += '\n' + obj_order_union0.split('\n').map((line) => '\t' + line).join('\n');
901
- message += '\n' + obj_order_union1.split('\n').map((line) => '\t' + line).join('\n');
902
- return new TypeError(message);
903
- }
904
- const obj_previewImageUrl = obj.previewImageUrl;
905
- const path_previewImageUrl = path + '.previewImageUrl';
906
- let obj_previewImageUrl_union0 = null;
907
- const obj_previewImageUrl_union0_error = (() => {
908
- if (typeof obj_previewImageUrl !== 'string') {
909
- return new TypeError('Expected "string" but received "' + typeof obj_previewImageUrl + '" (at "' + path_previewImageUrl + '")');
910
- }
911
- })();
912
- if (obj_previewImageUrl_union0_error != null) {
913
- obj_previewImageUrl_union0 = obj_previewImageUrl_union0_error.message;
914
- }
915
- let obj_previewImageUrl_union1 = null;
916
- const obj_previewImageUrl_union1_error = (() => {
917
- if (obj_previewImageUrl !== null) {
918
- return new TypeError('Expected "null" but received "' + typeof obj_previewImageUrl + '" (at "' + path_previewImageUrl + '")');
919
- }
920
- })();
921
- if (obj_previewImageUrl_union1_error != null) {
922
- obj_previewImageUrl_union1 = obj_previewImageUrl_union1_error.message;
923
- }
924
- if (obj_previewImageUrl_union0 && obj_previewImageUrl_union1) {
925
- let message = 'Object doesn\'t match union (at "' + path_previewImageUrl + '")';
926
- message += '\n' + obj_previewImageUrl_union0.split('\n').map((line) => '\t' + line).join('\n');
927
- message += '\n' + obj_previewImageUrl_union1.split('\n').map((line) => '\t' + line).join('\n');
928
- return new TypeError(message);
929
- }
930
- const obj_title = obj.title;
931
- const path_title = path + '.title';
932
- let obj_title_union0 = null;
933
- const obj_title_union0_error = (() => {
934
- if (typeof obj_title !== 'string') {
935
- return new TypeError('Expected "string" but received "' + typeof obj_title + '" (at "' + path_title + '")');
936
- }
937
- })();
938
- if (obj_title_union0_error != null) {
939
- obj_title_union0 = obj_title_union0_error.message;
940
- }
941
- let obj_title_union1 = null;
942
- const obj_title_union1_error = (() => {
943
- if (obj_title !== null) {
944
- return new TypeError('Expected "null" but received "' + typeof obj_title + '" (at "' + path_title + '")');
945
- }
946
- })();
947
- if (obj_title_union1_error != null) {
948
- obj_title_union1 = obj_title_union1_error.message;
949
- }
950
- if (obj_title_union0 && obj_title_union1) {
951
- let message = 'Object doesn\'t match union (at "' + path_title + '")';
952
- message += '\n' + obj_title_union0.split('\n').map((line) => '\t' + line).join('\n');
953
- message += '\n' + obj_title_union1.split('\n').map((line) => '\t' + line).join('\n');
954
- return new TypeError(message);
955
- }
956
619
  })();
957
620
  return v_error === undefined ? null : v_error;
958
621
  }
@@ -970,7 +633,7 @@ function normalize(input, existing, path, luvio, store, timestamp) {
970
633
  return input;
971
634
  }
972
635
  const select$1 = function FeatureSetRepresentationSelect() {
973
- const { selections: FeatureSetErrorRepresentation__selections, opaque: FeatureSetErrorRepresentation__opaque, } = select$8();
636
+ const { selections: FeatureSetErrorRepresentation__selections, opaque: FeatureSetErrorRepresentation__opaque, } = select$6();
974
637
  const { selections: FeatureRepresentation__selections, opaque: FeatureRepresentation__opaque, } = select$2();
975
638
  return {
976
639
  kind: 'Fragment',
@@ -987,10 +650,6 @@ const select$1 = function FeatureSetRepresentationSelect() {
987
650
  plural: true,
988
651
  selections: FeatureSetErrorRepresentation__selections
989
652
  },
990
- {
991
- name: 'featureCategory',
992
- kind: 'Scalar'
993
- },
994
653
  {
995
654
  name: 'featureSetApiName',
996
655
  kind: 'Scalar'
@@ -1004,18 +663,6 @@ const select$1 = function FeatureSetRepresentationSelect() {
1004
663
  kind: 'Object',
1005
664
  plural: true,
1006
665
  selections: FeatureRepresentation__selections
1007
- },
1008
- {
1009
- name: 'order',
1010
- kind: 'Scalar'
1011
- },
1012
- {
1013
- name: 'previewImageUrl',
1014
- kind: 'Scalar'
1015
- },
1016
- {
1017
- name: 'title',
1018
- kind: 'Scalar'
1019
666
  }
1020
667
  ]
1021
668
  };
@@ -1039,18 +686,13 @@ function equals(existing, incoming) {
1039
686
  const existing_errors = existing.errors;
1040
687
  const incoming_errors = incoming.errors;
1041
688
  const equals_errors_items = equalsArray(existing_errors, incoming_errors, (existing_errors_item, incoming_errors_item) => {
1042
- if (!(equals$6(existing_errors_item, incoming_errors_item))) {
689
+ if (!(equals$4(existing_errors_item, incoming_errors_item))) {
1043
690
  return false;
1044
691
  }
1045
692
  });
1046
693
  if (equals_errors_items === false) {
1047
694
  return false;
1048
695
  }
1049
- const existing_featureCategory = existing.featureCategory;
1050
- const incoming_featureCategory = incoming.featureCategory;
1051
- if (!(existing_featureCategory === incoming_featureCategory)) {
1052
- return false;
1053
- }
1054
696
  const existing_features = existing.features;
1055
697
  const incoming_features = incoming.features;
1056
698
  const equals_features_items = equalsArray(existing_features, incoming_features, (existing_features_item, incoming_features_item) => {
@@ -1061,21 +703,6 @@ function equals(existing, incoming) {
1061
703
  if (equals_features_items === false) {
1062
704
  return false;
1063
705
  }
1064
- const existing_order = existing.order;
1065
- const incoming_order = incoming.order;
1066
- if (!(existing_order === incoming_order)) {
1067
- return false;
1068
- }
1069
- const existing_previewImageUrl = existing.previewImageUrl;
1070
- const incoming_previewImageUrl = incoming.previewImageUrl;
1071
- if (!(existing_previewImageUrl === incoming_previewImageUrl)) {
1072
- return false;
1073
- }
1074
- const existing_title = existing.title;
1075
- const incoming_title = incoming.title;
1076
- if (!(existing_title === incoming_title)) {
1077
- return false;
1078
- }
1079
706
  return true;
1080
707
  }
1081
708
  const ingest = function FeatureSetRepresentationIngest(input, path, luvio, store, timestamp) {