@salesforce/lds-adapters-industries-explainability 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.
- package/dist/es/es2018/industries-explainability.js +43 -68
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +3 -1
- package/dist/es/es2018/types/src/generated/adapters/getExplainabilityActionLogs.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/storeExplainabilityActionLog.d.ts +3 -2
- package/package.json +1 -1
- package/sfdc/index.js +44 -69
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* For full license text, see the LICENSE.txt file
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import { serializeStructuredKey, deepFreeze, typeCheckScalars, StoreKeyMap } from '@luvio/engine';
|
|
7
|
+
import { serializeStructuredKey, ingestShape, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$1, typeCheckScalars, StoreKeyMap } 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 = 'explainability';
|
|
52
70
|
|
|
53
71
|
const { isArray: ArrayIsArray } = Array;
|
|
@@ -186,26 +204,8 @@ const ingest$1 = function ExplainabilityActionLogsRepresentationIngest(input, pa
|
|
|
186
204
|
}
|
|
187
205
|
}
|
|
188
206
|
const key = path.fullPath;
|
|
189
|
-
const existingRecord = store.readEntry(key);
|
|
190
207
|
const ttlToUse = TTL$1;
|
|
191
|
-
|
|
192
|
-
fullPath: key,
|
|
193
|
-
parent: path.parent,
|
|
194
|
-
propertyName: path.propertyName,
|
|
195
|
-
ttl: ttlToUse
|
|
196
|
-
});
|
|
197
|
-
if (existingRecord === undefined || equals$1(existingRecord, incomingRecord) === false) {
|
|
198
|
-
luvio.storePublish(key, incomingRecord);
|
|
199
|
-
}
|
|
200
|
-
{
|
|
201
|
-
const storeMetadataParams = {
|
|
202
|
-
ttl: ttlToUse,
|
|
203
|
-
namespace: "explainability",
|
|
204
|
-
version: VERSION$1,
|
|
205
|
-
representationName: RepresentationType$1,
|
|
206
|
-
};
|
|
207
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
208
|
-
}
|
|
208
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$1, "explainability", VERSION$1, RepresentationType$1, equals$1);
|
|
209
209
|
return createLink(key);
|
|
210
210
|
};
|
|
211
211
|
function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -270,13 +270,22 @@ function createResourceRequest$1(config) {
|
|
|
270
270
|
};
|
|
271
271
|
}
|
|
272
272
|
|
|
273
|
-
const
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
273
|
+
const adapterName$1 = 'getExplainabilityActionLogs';
|
|
274
|
+
const getExplainabilityActionLogs_ConfigPropertyMetadata = [
|
|
275
|
+
generateParamConfigMetadata('actionContextCode', false),
|
|
276
|
+
generateParamConfigMetadata('applicationSubType', false),
|
|
277
|
+
generateParamConfigMetadata('applicationType', false),
|
|
278
|
+
generateParamConfigMetadata('createdAfter', false),
|
|
279
|
+
generateParamConfigMetadata('createdBefore', false),
|
|
280
|
+
generateParamConfigMetadata('pageSize', false),
|
|
281
|
+
generateParamConfigMetadata('processType', false),
|
|
282
|
+
generateParamConfigMetadata('queryMore', false),
|
|
283
|
+
generateParamConfigMetadata('primaryFilter', false),
|
|
284
|
+
generateParamConfigMetadata('secondaryFilter', false),
|
|
285
|
+
generateParamConfigMetadata('additionalFilter', false),
|
|
286
|
+
generateParamConfigMetadata('sortDirection', false),
|
|
287
|
+
];
|
|
288
|
+
const getExplainabilityActionLogs_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, getExplainabilityActionLogs_ConfigPropertyMetadata);
|
|
280
289
|
function createResourceParams$1(config) {
|
|
281
290
|
const resourceParams = {
|
|
282
291
|
queryParams: {
|
|
@@ -353,21 +362,7 @@ function buildNetworkSnapshot$1(luvio, config, options) {
|
|
|
353
362
|
});
|
|
354
363
|
}
|
|
355
364
|
function buildNetworkSnapshotCachePolicy(context, coercedAdapterRequestContext) {
|
|
356
|
-
|
|
357
|
-
const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
|
|
358
|
-
const dispatchOptions = {
|
|
359
|
-
resourceRequestContext: {
|
|
360
|
-
requestCorrelator,
|
|
361
|
-
luvioRequestMethod: undefined,
|
|
362
|
-
},
|
|
363
|
-
eventObservers
|
|
364
|
-
};
|
|
365
|
-
if (networkPriority !== 'normal') {
|
|
366
|
-
dispatchOptions.overrides = {
|
|
367
|
-
priority: networkPriority
|
|
368
|
-
};
|
|
369
|
-
}
|
|
370
|
-
return buildNetworkSnapshot$1(luvio, config, dispatchOptions);
|
|
365
|
+
return buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, undefined, false);
|
|
371
366
|
}
|
|
372
367
|
function buildCachedSnapshotCachePolicy(context, storeLookup) {
|
|
373
368
|
const { luvio, config } = context;
|
|
@@ -513,26 +508,8 @@ const ingest = function ExplainabilityActionLogCreateRepresentationIngest(input,
|
|
|
513
508
|
}
|
|
514
509
|
}
|
|
515
510
|
const key = keyBuilderFromType(luvio, input);
|
|
516
|
-
const existingRecord = store.readEntry(key);
|
|
517
511
|
const ttlToUse = TTL;
|
|
518
|
-
|
|
519
|
-
fullPath: key,
|
|
520
|
-
parent: path.parent,
|
|
521
|
-
propertyName: path.propertyName,
|
|
522
|
-
ttl: ttlToUse
|
|
523
|
-
});
|
|
524
|
-
if (existingRecord === undefined || equals(existingRecord, incomingRecord) === false) {
|
|
525
|
-
luvio.storePublish(key, incomingRecord);
|
|
526
|
-
}
|
|
527
|
-
{
|
|
528
|
-
const storeMetadataParams = {
|
|
529
|
-
ttl: ttlToUse,
|
|
530
|
-
namespace: "explainability",
|
|
531
|
-
version: VERSION,
|
|
532
|
-
representationName: RepresentationType,
|
|
533
|
-
};
|
|
534
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
535
|
-
}
|
|
512
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize, "explainability", VERSION, RepresentationType, equals);
|
|
536
513
|
return createLink(key);
|
|
537
514
|
};
|
|
538
515
|
function getTypeCacheKeys(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -582,13 +559,11 @@ function createResourceRequest(config) {
|
|
|
582
559
|
};
|
|
583
560
|
}
|
|
584
561
|
|
|
585
|
-
const
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
}
|
|
591
|
-
};
|
|
562
|
+
const adapterName = 'storeExplainabilityActionLog';
|
|
563
|
+
const storeExplainabilityActionLog_ConfigPropertyMetadata = [
|
|
564
|
+
generateParamConfigMetadata('explainabilityActionLogDefinition', true),
|
|
565
|
+
];
|
|
566
|
+
const storeExplainabilityActionLog_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, storeExplainabilityActionLog_ConfigPropertyMetadata);
|
|
592
567
|
function createResourceParams(config) {
|
|
593
568
|
const resourceParams = {
|
|
594
569
|
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 = "explainability";
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import {
|
|
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_getConnectDecisionExplainerActionLogs_ResourceRequestConfig } from '../resources/getConnectDecisionExplainerActionLogs';
|
|
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 { ExplainabilityActionLogsRepresentation as types_ExplainabilityActionLogsRepresentation_ExplainabilityActionLogsRepresentation } from '../types/ExplainabilityActionLogsRepresentation';
|
|
5
5
|
export declare const adapterName = "getExplainabilityActionLogs";
|
|
6
|
+
export declare const getExplainabilityActionLogs_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
6
7
|
export declare const getExplainabilityActionLogs_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
7
8
|
export interface GetExplainabilityActionLogsConfig {
|
|
8
9
|
actionContextCode?: string;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import {
|
|
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 { ExplainabilityActionLogInputRepresentation as types_ExplainabilityActionLogInputRepresentation_ExplainabilityActionLogInputRepresentation } from '../types/ExplainabilityActionLogInputRepresentation';
|
|
3
4
|
import { ResourceRequestConfig as resources_postConnectDecisionExplainerActionLogs_ResourceRequestConfig } from '../resources/postConnectDecisionExplainerActionLogs';
|
|
4
|
-
import { Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
5
5
|
import { ExplainabilityActionLogCreateRepresentation as types_ExplainabilityActionLogCreateRepresentation_ExplainabilityActionLogCreateRepresentation } from '../types/ExplainabilityActionLogCreateRepresentation';
|
|
6
6
|
export declare const adapterName = "storeExplainabilityActionLog";
|
|
7
|
+
export declare const storeExplainabilityActionLog_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
8
|
export declare const storeExplainabilityActionLog_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
9
|
export interface StoreExplainabilityActionLogConfig {
|
|
9
10
|
explainabilityActionLogDefinition: types_ExplainabilityActionLogInputRepresentation_ExplainabilityActionLogInputRepresentation;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-industries-explainability",
|
|
3
|
-
"version": "1.213.
|
|
3
|
+
"version": "1.213.1",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "API to fetch and post centralised explainability related meta data and transactional data",
|
|
6
6
|
"main": "dist/es/es2018/industries-explainability.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, typeCheckScalars, StoreKeyMap } from 'force/luvioEngine';
|
|
17
|
+
import { serializeStructuredKey, ingestShape, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$1, typeCheckScalars, StoreKeyMap } 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 = 'explainability';
|
|
62
80
|
|
|
63
81
|
const { isArray: ArrayIsArray } = Array;
|
|
@@ -196,26 +214,8 @@ const ingest$1 = function ExplainabilityActionLogsRepresentationIngest(input, pa
|
|
|
196
214
|
}
|
|
197
215
|
}
|
|
198
216
|
const key = path.fullPath;
|
|
199
|
-
const existingRecord = store.readEntry(key);
|
|
200
217
|
const ttlToUse = TTL$1;
|
|
201
|
-
|
|
202
|
-
fullPath: key,
|
|
203
|
-
parent: path.parent,
|
|
204
|
-
propertyName: path.propertyName,
|
|
205
|
-
ttl: ttlToUse
|
|
206
|
-
});
|
|
207
|
-
if (existingRecord === undefined || equals$1(existingRecord, incomingRecord) === false) {
|
|
208
|
-
luvio.storePublish(key, incomingRecord);
|
|
209
|
-
}
|
|
210
|
-
{
|
|
211
|
-
const storeMetadataParams = {
|
|
212
|
-
ttl: ttlToUse,
|
|
213
|
-
namespace: "explainability",
|
|
214
|
-
version: VERSION$1,
|
|
215
|
-
representationName: RepresentationType$1,
|
|
216
|
-
};
|
|
217
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
218
|
-
}
|
|
218
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$1, "explainability", VERSION$1, RepresentationType$1, equals$1);
|
|
219
219
|
return createLink(key);
|
|
220
220
|
};
|
|
221
221
|
function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -280,13 +280,22 @@ function createResourceRequest$1(config) {
|
|
|
280
280
|
};
|
|
281
281
|
}
|
|
282
282
|
|
|
283
|
-
const
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
283
|
+
const adapterName$1 = 'getExplainabilityActionLogs';
|
|
284
|
+
const getExplainabilityActionLogs_ConfigPropertyMetadata = [
|
|
285
|
+
generateParamConfigMetadata('actionContextCode', false),
|
|
286
|
+
generateParamConfigMetadata('applicationSubType', false),
|
|
287
|
+
generateParamConfigMetadata('applicationType', false),
|
|
288
|
+
generateParamConfigMetadata('createdAfter', false),
|
|
289
|
+
generateParamConfigMetadata('createdBefore', false),
|
|
290
|
+
generateParamConfigMetadata('pageSize', false),
|
|
291
|
+
generateParamConfigMetadata('processType', false),
|
|
292
|
+
generateParamConfigMetadata('queryMore', false),
|
|
293
|
+
generateParamConfigMetadata('primaryFilter', false),
|
|
294
|
+
generateParamConfigMetadata('secondaryFilter', false),
|
|
295
|
+
generateParamConfigMetadata('additionalFilter', false),
|
|
296
|
+
generateParamConfigMetadata('sortDirection', false),
|
|
297
|
+
];
|
|
298
|
+
const getExplainabilityActionLogs_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, getExplainabilityActionLogs_ConfigPropertyMetadata);
|
|
290
299
|
function createResourceParams$1(config) {
|
|
291
300
|
const resourceParams = {
|
|
292
301
|
queryParams: {
|
|
@@ -363,21 +372,7 @@ function buildNetworkSnapshot$1(luvio, config, options) {
|
|
|
363
372
|
});
|
|
364
373
|
}
|
|
365
374
|
function buildNetworkSnapshotCachePolicy(context, coercedAdapterRequestContext) {
|
|
366
|
-
|
|
367
|
-
const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
|
|
368
|
-
const dispatchOptions = {
|
|
369
|
-
resourceRequestContext: {
|
|
370
|
-
requestCorrelator,
|
|
371
|
-
luvioRequestMethod: undefined,
|
|
372
|
-
},
|
|
373
|
-
eventObservers
|
|
374
|
-
};
|
|
375
|
-
if (networkPriority !== 'normal') {
|
|
376
|
-
dispatchOptions.overrides = {
|
|
377
|
-
priority: networkPriority
|
|
378
|
-
};
|
|
379
|
-
}
|
|
380
|
-
return buildNetworkSnapshot$1(luvio, config, dispatchOptions);
|
|
375
|
+
return buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, undefined, false);
|
|
381
376
|
}
|
|
382
377
|
function buildCachedSnapshotCachePolicy(context, storeLookup) {
|
|
383
378
|
const { luvio, config } = context;
|
|
@@ -523,26 +518,8 @@ const ingest = function ExplainabilityActionLogCreateRepresentationIngest(input,
|
|
|
523
518
|
}
|
|
524
519
|
}
|
|
525
520
|
const key = keyBuilderFromType(luvio, input);
|
|
526
|
-
const existingRecord = store.readEntry(key);
|
|
527
521
|
const ttlToUse = TTL;
|
|
528
|
-
|
|
529
|
-
fullPath: key,
|
|
530
|
-
parent: path.parent,
|
|
531
|
-
propertyName: path.propertyName,
|
|
532
|
-
ttl: ttlToUse
|
|
533
|
-
});
|
|
534
|
-
if (existingRecord === undefined || equals(existingRecord, incomingRecord) === false) {
|
|
535
|
-
luvio.storePublish(key, incomingRecord);
|
|
536
|
-
}
|
|
537
|
-
{
|
|
538
|
-
const storeMetadataParams = {
|
|
539
|
-
ttl: ttlToUse,
|
|
540
|
-
namespace: "explainability",
|
|
541
|
-
version: VERSION,
|
|
542
|
-
representationName: RepresentationType,
|
|
543
|
-
};
|
|
544
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
545
|
-
}
|
|
522
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize, "explainability", VERSION, RepresentationType, equals);
|
|
546
523
|
return createLink(key);
|
|
547
524
|
};
|
|
548
525
|
function getTypeCacheKeys(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -592,13 +569,11 @@ function createResourceRequest(config) {
|
|
|
592
569
|
};
|
|
593
570
|
}
|
|
594
571
|
|
|
595
|
-
const
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
}
|
|
601
|
-
};
|
|
572
|
+
const adapterName = 'storeExplainabilityActionLog';
|
|
573
|
+
const storeExplainabilityActionLog_ConfigPropertyMetadata = [
|
|
574
|
+
generateParamConfigMetadata('explainabilityActionLogDefinition', true),
|
|
575
|
+
];
|
|
576
|
+
const storeExplainabilityActionLog_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, storeExplainabilityActionLog_ConfigPropertyMetadata);
|
|
602
577
|
function createResourceParams(config) {
|
|
603
578
|
const resourceParams = {
|
|
604
579
|
body: {
|
|
@@ -687,4 +662,4 @@ withDefaultLuvio((luvio) => {
|
|
|
687
662
|
});
|
|
688
663
|
|
|
689
664
|
export { getExplainabilityActionLogs, getExplainabilityActionLogs_imperative, storeExplainabilityActionLog };
|
|
690
|
-
// version: 1.213.
|
|
665
|
+
// version: 1.213.1-79de10fe1
|