@salesforce/lds-adapters-analytics-tableau-embedding 1.213.0 → 1.213.1

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.
@@ -4,7 +4,7 @@
4
4
  * For full license text, see the LICENSE.txt file
5
5
  */
6
6
 
7
- import { serializeStructuredKey, deepFreeze, StoreKeyMap, typeCheckScalars } from '@luvio/engine';
7
+ import { serializeStructuredKey, ingestShape, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$2, StoreKeyMap, typeCheckScalars } from '@luvio/engine';
8
8
 
9
9
  const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
10
10
  const { keys: ObjectKeys, create: ObjectCreate } = Object;
@@ -48,6 +48,24 @@ const snapshotRefreshOptions = {
48
48
  },
49
49
  }
50
50
  };
51
+ function generateParamConfigMetadata(name, required, coerceFn) {
52
+ return {
53
+ name,
54
+ required,
55
+ coerceFn,
56
+ };
57
+ }
58
+ function buildAdapterValidationConfig(displayName, paramsMeta) {
59
+ const required = paramsMeta.filter(p => p.required).map(p => p.name);
60
+ const optional = paramsMeta.filter(p => !p.required).map(p => p.name);
61
+ return {
62
+ displayName,
63
+ parameters: {
64
+ required,
65
+ optional,
66
+ }
67
+ };
68
+ }
51
69
  const keyPrefix = 'TableauEmbedding';
52
70
 
53
71
  const { isArray: ArrayIsArray } = Array;
@@ -104,26 +122,8 @@ const ingest$2 = function TableauEASRepresentationIngest(input, path, luvio, sto
104
122
  }
105
123
  }
106
124
  const key = path.fullPath;
107
- const existingRecord = store.readEntry(key);
108
125
  const ttlToUse = TTL$2;
109
- let incomingRecord = normalize$2(input, store.readEntry(key), {
110
- fullPath: key,
111
- parent: path.parent,
112
- propertyName: path.propertyName,
113
- ttl: ttlToUse
114
- });
115
- if (existingRecord === undefined || equals$2(existingRecord, incomingRecord) === false) {
116
- luvio.storePublish(key, incomingRecord);
117
- }
118
- {
119
- const storeMetadataParams = {
120
- ttl: ttlToUse,
121
- namespace: "TableauEmbedding",
122
- version: VERSION$2,
123
- representationName: RepresentationType$2,
124
- };
125
- luvio.publishStoreMetadata(key, storeMetadataParams);
126
- }
126
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "TableauEmbedding", VERSION$2, RepresentationType$2, equals$2);
127
127
  return createLink(key);
128
128
  };
129
129
  function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
@@ -188,13 +188,9 @@ function createResourceRequest$2(config) {
188
188
  };
189
189
  }
190
190
 
191
- const getEAS_ConfigPropertyNames = {
192
- displayName: 'getEAS',
193
- parameters: {
194
- required: [],
195
- optional: []
196
- }
197
- };
191
+ const adapterName$2 = 'getEAS';
192
+ const getEAS_ConfigPropertyMetadata = [];
193
+ const getEAS_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getEAS_ConfigPropertyMetadata);
198
194
  function createResourceParams$2(config) {
199
195
  const resourceParams = {};
200
196
  return resourceParams;
@@ -251,21 +247,7 @@ function buildNetworkSnapshot$2(luvio, config, options) {
251
247
  });
252
248
  }
253
249
  function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
254
- const { luvio, config } = context;
255
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
256
- const dispatchOptions = {
257
- resourceRequestContext: {
258
- requestCorrelator,
259
- luvioRequestMethod: undefined,
260
- },
261
- eventObservers
262
- };
263
- if (networkPriority !== 'normal') {
264
- dispatchOptions.overrides = {
265
- priority: networkPriority
266
- };
267
- }
268
- return buildNetworkSnapshot$2(luvio, config, dispatchOptions);
250
+ return buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
269
251
  }
270
252
  function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
271
253
  const { luvio, config } = context;
@@ -351,26 +333,8 @@ const ingest$1 = function TableauJWTRepresentationIngest(input, path, luvio, sto
351
333
  }
352
334
  }
353
335
  const key = path.fullPath;
354
- const existingRecord = store.readEntry(key);
355
336
  const ttlToUse = TTL$1;
356
- let incomingRecord = normalize$1(input, store.readEntry(key), {
357
- fullPath: key,
358
- parent: path.parent,
359
- propertyName: path.propertyName,
360
- ttl: ttlToUse
361
- });
362
- if (existingRecord === undefined || equals$1(existingRecord, incomingRecord) === false) {
363
- luvio.storePublish(key, incomingRecord);
364
- }
365
- {
366
- const storeMetadataParams = {
367
- ttl: ttlToUse,
368
- namespace: "TableauEmbedding",
369
- version: VERSION$1,
370
- representationName: RepresentationType$1,
371
- };
372
- luvio.publishStoreMetadata(key, storeMetadataParams);
373
- }
337
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$1, "TableauEmbedding", VERSION$1, RepresentationType$1, equals$1);
374
338
  return createLink(key);
375
339
  };
376
340
  function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
@@ -435,13 +399,13 @@ function createResourceRequest$1(config) {
435
399
  };
436
400
  }
437
401
 
438
- const getJWT_ConfigPropertyNames = {
439
- displayName: 'getJWT',
440
- parameters: {
441
- required: [],
442
- optional: ['cb', 'siteId', 'tabUrl']
443
- }
444
- };
402
+ const adapterName$1 = 'getJWT';
403
+ const getJWT_ConfigPropertyMetadata = [
404
+ generateParamConfigMetadata('cb', false),
405
+ generateParamConfigMetadata('siteId', false),
406
+ generateParamConfigMetadata('tabUrl', false),
407
+ ];
408
+ const getJWT_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, getJWT_ConfigPropertyMetadata);
445
409
  function createResourceParams$1(config) {
446
410
  const resourceParams = {
447
411
  queryParams: {
@@ -509,21 +473,7 @@ function buildNetworkSnapshot$1(luvio, config, options) {
509
473
  });
510
474
  }
511
475
  function buildNetworkSnapshotCachePolicy(context, coercedAdapterRequestContext) {
512
- const { luvio, config } = context;
513
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
514
- const dispatchOptions = {
515
- resourceRequestContext: {
516
- requestCorrelator,
517
- luvioRequestMethod: undefined,
518
- },
519
- eventObservers
520
- };
521
- if (networkPriority !== 'normal') {
522
- dispatchOptions.overrides = {
523
- priority: networkPriority
524
- };
525
- }
526
- return buildNetworkSnapshot$1(luvio, config, dispatchOptions);
476
+ return buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, undefined, false);
527
477
  }
528
478
  function buildCachedSnapshotCachePolicy(context, storeLookup) {
529
479
  const { luvio, config } = context;
@@ -630,26 +580,8 @@ const ingest = function TableauJWTRepresentation2Ingest(input, path, luvio, stor
630
580
  }
631
581
  }
632
582
  const key = keyBuilderFromType(luvio, input);
633
- const existingRecord = store.readEntry(key);
634
583
  const ttlToUse = TTL;
635
- let incomingRecord = normalize(input, store.readEntry(key), {
636
- fullPath: key,
637
- parent: path.parent,
638
- propertyName: path.propertyName,
639
- ttl: ttlToUse
640
- });
641
- if (existingRecord === undefined || equals(existingRecord, incomingRecord) === false) {
642
- luvio.storePublish(key, incomingRecord);
643
- }
644
- {
645
- const storeMetadataParams = {
646
- ttl: ttlToUse,
647
- namespace: "TableauEmbedding",
648
- version: VERSION,
649
- representationName: RepresentationType,
650
- };
651
- luvio.publishStoreMetadata(key, storeMetadataParams);
652
- }
584
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize, "TableauEmbedding", VERSION, RepresentationType, equals);
653
585
  return createLink(key);
654
586
  };
655
587
  function getTypeCacheKeys(rootKeySet, luvio, input, fullPathFactory) {
@@ -699,13 +631,13 @@ function createResourceRequest(config) {
699
631
  };
700
632
  }
701
633
 
702
- const postJWT_ConfigPropertyNames = {
703
- displayName: 'postJWT',
704
- parameters: {
705
- required: [],
706
- optional: ['cb', 'siteId', 'tabUrl']
707
- }
708
- };
634
+ const adapterName = 'postJWT';
635
+ const postJWT_ConfigPropertyMetadata = [
636
+ generateParamConfigMetadata('cb', false),
637
+ generateParamConfigMetadata('siteId', false),
638
+ generateParamConfigMetadata('tabUrl', false),
639
+ ];
640
+ const postJWT_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, postJWT_ConfigPropertyMetadata);
709
641
  function createResourceParams(config) {
710
642
  const resourceParams = {
711
643
  body: {}
@@ -1,4 +1,4 @@
1
- import { Adapter as $64$luvio_engine_Adapter, Snapshot as $64$luvio_engine_Snapshot, UnfulfilledSnapshot as $64$luvio_engine_UnfulfilledSnapshot } from '@luvio/engine';
1
+ import { Adapter as $64$luvio_engine_Adapter, Snapshot as $64$luvio_engine_Snapshot, UnfulfilledSnapshot as $64$luvio_engine_UnfulfilledSnapshot, AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata } from '@luvio/engine';
2
2
  export declare const ObjectPrototypeHasOwnProperty: (v: PropertyKey) => boolean;
3
3
  declare const ObjectKeys: {
4
4
  (o: object): string[];
@@ -57,4 +57,6 @@ export declare const snapshotRefreshOptions: {
57
57
  export declare function stableJSONStringify(node: any): string | undefined;
58
58
  export declare function getFetchResponseStatusText(status: number): string;
59
59
  export declare function isUnfulfilledSnapshot<T, U>(snapshot: $64$luvio_engine_Snapshot<T, U>): snapshot is $64$luvio_engine_UnfulfilledSnapshot<T, U>;
60
+ export declare function generateParamConfigMetadata(name: string, required: boolean, coerceFn?: (v: unknown) => unknown): $64$luvio_engine_AdapterConfigMetadata;
61
+ export declare function buildAdapterValidationConfig(displayName: string, paramsMeta: $64$luvio_engine_AdapterConfigMetadata[]): AdapterValidationConfig;
60
62
  export declare const keyPrefix = "TableauEmbedding";
@@ -1,8 +1,9 @@
1
- import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
1
+ import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
2
+ import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
2
3
  import { ResourceRequestConfig as resources_getTableauEas_ResourceRequestConfig } from '../resources/getTableauEas';
3
- import { Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
4
4
  import { TableauEASRepresentation as types_TableauEASRepresentation_TableauEASRepresentation } from '../types/TableauEASRepresentation';
5
5
  export declare const adapterName = "getEAS";
6
+ export declare const getEAS_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
6
7
  export declare const getEAS_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
7
8
  export interface GetEASConfig {
8
9
  }
@@ -1,8 +1,9 @@
1
- import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
1
+ import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
2
+ import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
2
3
  import { ResourceRequestConfig as resources_getTableauJwt_ResourceRequestConfig } from '../resources/getTableauJwt';
3
- import { Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
4
4
  import { TableauJWTRepresentation as types_TableauJWTRepresentation_TableauJWTRepresentation } from '../types/TableauJWTRepresentation';
5
5
  export declare const adapterName = "getJWT";
6
+ export declare const getJWT_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
6
7
  export declare const getJWT_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
7
8
  export interface GetJWTConfig {
8
9
  cb?: string;
@@ -1,8 +1,9 @@
1
- import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
1
+ import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
2
+ import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
2
3
  import { ResourceRequestConfig as resources_postTableauJwt_ResourceRequestConfig } from '../resources/postTableauJwt';
3
- import { Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
4
4
  import { TableauJWTRepresentation2 as types_TableauJWTRepresentation2_TableauJWTRepresentation2 } from '../types/TableauJWTRepresentation2';
5
5
  export declare const adapterName = "postJWT";
6
+ export declare const postJWT_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
6
7
  export declare const postJWT_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
7
8
  export interface PostJWTConfig {
8
9
  cb?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-analytics-tableau-embedding",
3
- "version": "1.213.0",
3
+ "version": "1.213.1",
4
4
  "description": "The APIs in this family are supporting embedding of Tableau vizualizations into Salesforce.",
5
5
  "license": "MIT",
6
6
  "main": "dist/es/es2018/analytics-tableau-embedding.js",
package/sfdc/index.js CHANGED
@@ -14,7 +14,7 @@
14
14
  /* proxy-compat-disable */
15
15
  import { createInstrumentedAdapter, createLDSAdapter, createWireAdapterConstructor, createImperativeAdapter } from 'force/ldsBindings';
16
16
  import { withDefaultLuvio } from 'force/ldsEngine';
17
- import { serializeStructuredKey, deepFreeze, StoreKeyMap, typeCheckScalars } from 'force/luvioEngine';
17
+ import { serializeStructuredKey, ingestShape, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$2, StoreKeyMap, typeCheckScalars } from 'force/luvioEngine';
18
18
 
19
19
  const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
20
20
  const { keys: ObjectKeys, create: ObjectCreate } = Object;
@@ -58,6 +58,24 @@ const snapshotRefreshOptions = {
58
58
  },
59
59
  }
60
60
  };
61
+ function generateParamConfigMetadata(name, required, coerceFn) {
62
+ return {
63
+ name,
64
+ required,
65
+ coerceFn,
66
+ };
67
+ }
68
+ function buildAdapterValidationConfig(displayName, paramsMeta) {
69
+ const required = paramsMeta.filter(p => p.required).map(p => p.name);
70
+ const optional = paramsMeta.filter(p => !p.required).map(p => p.name);
71
+ return {
72
+ displayName,
73
+ parameters: {
74
+ required,
75
+ optional,
76
+ }
77
+ };
78
+ }
61
79
  const keyPrefix = 'TableauEmbedding';
62
80
 
63
81
  const { isArray: ArrayIsArray } = Array;
@@ -114,26 +132,8 @@ const ingest$2 = function TableauEASRepresentationIngest(input, path, luvio, sto
114
132
  }
115
133
  }
116
134
  const key = path.fullPath;
117
- const existingRecord = store.readEntry(key);
118
135
  const ttlToUse = TTL$2;
119
- let incomingRecord = normalize$2(input, store.readEntry(key), {
120
- fullPath: key,
121
- parent: path.parent,
122
- propertyName: path.propertyName,
123
- ttl: ttlToUse
124
- });
125
- if (existingRecord === undefined || equals$2(existingRecord, incomingRecord) === false) {
126
- luvio.storePublish(key, incomingRecord);
127
- }
128
- {
129
- const storeMetadataParams = {
130
- ttl: ttlToUse,
131
- namespace: "TableauEmbedding",
132
- version: VERSION$2,
133
- representationName: RepresentationType$2,
134
- };
135
- luvio.publishStoreMetadata(key, storeMetadataParams);
136
- }
136
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "TableauEmbedding", VERSION$2, RepresentationType$2, equals$2);
137
137
  return createLink(key);
138
138
  };
139
139
  function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
@@ -198,13 +198,9 @@ function createResourceRequest$2(config) {
198
198
  };
199
199
  }
200
200
 
201
- const getEAS_ConfigPropertyNames = {
202
- displayName: 'getEAS',
203
- parameters: {
204
- required: [],
205
- optional: []
206
- }
207
- };
201
+ const adapterName$2 = 'getEAS';
202
+ const getEAS_ConfigPropertyMetadata = [];
203
+ const getEAS_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getEAS_ConfigPropertyMetadata);
208
204
  function createResourceParams$2(config) {
209
205
  const resourceParams = {};
210
206
  return resourceParams;
@@ -261,21 +257,7 @@ function buildNetworkSnapshot$2(luvio, config, options) {
261
257
  });
262
258
  }
263
259
  function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
264
- const { luvio, config } = context;
265
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
266
- const dispatchOptions = {
267
- resourceRequestContext: {
268
- requestCorrelator,
269
- luvioRequestMethod: undefined,
270
- },
271
- eventObservers
272
- };
273
- if (networkPriority !== 'normal') {
274
- dispatchOptions.overrides = {
275
- priority: networkPriority
276
- };
277
- }
278
- return buildNetworkSnapshot$2(luvio, config, dispatchOptions);
260
+ return buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
279
261
  }
280
262
  function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
281
263
  const { luvio, config } = context;
@@ -361,26 +343,8 @@ const ingest$1 = function TableauJWTRepresentationIngest(input, path, luvio, sto
361
343
  }
362
344
  }
363
345
  const key = path.fullPath;
364
- const existingRecord = store.readEntry(key);
365
346
  const ttlToUse = TTL$1;
366
- let incomingRecord = normalize$1(input, store.readEntry(key), {
367
- fullPath: key,
368
- parent: path.parent,
369
- propertyName: path.propertyName,
370
- ttl: ttlToUse
371
- });
372
- if (existingRecord === undefined || equals$1(existingRecord, incomingRecord) === false) {
373
- luvio.storePublish(key, incomingRecord);
374
- }
375
- {
376
- const storeMetadataParams = {
377
- ttl: ttlToUse,
378
- namespace: "TableauEmbedding",
379
- version: VERSION$1,
380
- representationName: RepresentationType$1,
381
- };
382
- luvio.publishStoreMetadata(key, storeMetadataParams);
383
- }
347
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$1, "TableauEmbedding", VERSION$1, RepresentationType$1, equals$1);
384
348
  return createLink(key);
385
349
  };
386
350
  function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
@@ -445,13 +409,13 @@ function createResourceRequest$1(config) {
445
409
  };
446
410
  }
447
411
 
448
- const getJWT_ConfigPropertyNames = {
449
- displayName: 'getJWT',
450
- parameters: {
451
- required: [],
452
- optional: ['cb', 'siteId', 'tabUrl']
453
- }
454
- };
412
+ const adapterName$1 = 'getJWT';
413
+ const getJWT_ConfigPropertyMetadata = [
414
+ generateParamConfigMetadata('cb', false),
415
+ generateParamConfigMetadata('siteId', false),
416
+ generateParamConfigMetadata('tabUrl', false),
417
+ ];
418
+ const getJWT_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, getJWT_ConfigPropertyMetadata);
455
419
  function createResourceParams$1(config) {
456
420
  const resourceParams = {
457
421
  queryParams: {
@@ -519,21 +483,7 @@ function buildNetworkSnapshot$1(luvio, config, options) {
519
483
  });
520
484
  }
521
485
  function buildNetworkSnapshotCachePolicy(context, coercedAdapterRequestContext) {
522
- const { luvio, config } = context;
523
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
524
- const dispatchOptions = {
525
- resourceRequestContext: {
526
- requestCorrelator,
527
- luvioRequestMethod: undefined,
528
- },
529
- eventObservers
530
- };
531
- if (networkPriority !== 'normal') {
532
- dispatchOptions.overrides = {
533
- priority: networkPriority
534
- };
535
- }
536
- return buildNetworkSnapshot$1(luvio, config, dispatchOptions);
486
+ return buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, undefined, false);
537
487
  }
538
488
  function buildCachedSnapshotCachePolicy(context, storeLookup) {
539
489
  const { luvio, config } = context;
@@ -628,26 +578,8 @@ const ingest = function TableauJWTRepresentation2Ingest(input, path, luvio, stor
628
578
  }
629
579
  }
630
580
  const key = keyBuilderFromType(luvio, input);
631
- const existingRecord = store.readEntry(key);
632
581
  const ttlToUse = TTL;
633
- let incomingRecord = normalize(input, store.readEntry(key), {
634
- fullPath: key,
635
- parent: path.parent,
636
- propertyName: path.propertyName,
637
- ttl: ttlToUse
638
- });
639
- if (existingRecord === undefined || equals(existingRecord, incomingRecord) === false) {
640
- luvio.storePublish(key, incomingRecord);
641
- }
642
- {
643
- const storeMetadataParams = {
644
- ttl: ttlToUse,
645
- namespace: "TableauEmbedding",
646
- version: VERSION,
647
- representationName: RepresentationType,
648
- };
649
- luvio.publishStoreMetadata(key, storeMetadataParams);
650
- }
582
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize, "TableauEmbedding", VERSION, RepresentationType, equals);
651
583
  return createLink(key);
652
584
  };
653
585
  function getTypeCacheKeys(rootKeySet, luvio, input, fullPathFactory) {
@@ -697,13 +629,13 @@ function createResourceRequest(config) {
697
629
  };
698
630
  }
699
631
 
700
- const postJWT_ConfigPropertyNames = {
701
- displayName: 'postJWT',
702
- parameters: {
703
- required: [],
704
- optional: ['cb', 'siteId', 'tabUrl']
705
- }
706
- };
632
+ const adapterName = 'postJWT';
633
+ const postJWT_ConfigPropertyMetadata = [
634
+ generateParamConfigMetadata('cb', false),
635
+ generateParamConfigMetadata('siteId', false),
636
+ generateParamConfigMetadata('tabUrl', false),
637
+ ];
638
+ const postJWT_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, postJWT_ConfigPropertyMetadata);
707
639
  function createResourceParams(config) {
708
640
  const resourceParams = {
709
641
  body: {}
@@ -802,4 +734,4 @@ withDefaultLuvio((luvio) => {
802
734
  });
803
735
 
804
736
  export { getEAS, getEAS_imperative, getJWT, getJWT_imperative, postJWT };
805
- // version: 1.213.0-951602080
737
+ // version: 1.213.1-79de10fe1