@salesforce/lds-adapters-platform-applications 1.350.0 → 1.351.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/platform-applications.js +275 -41
- package/dist/es/es2018/types/src/generated/adapters/getSalesforceApp.d.ts +26 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +3 -1
- package/dist/es/es2018/types/src/generated/resources/getConnectSalesforceApps.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/types/SalesforceAppItemDetailsRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/SalesforceAppsRepresentation.d.ts +30 -0
- package/package.json +3 -3
- package/sfdc/index.js +353 -107
- package/src/raml/api.raml +38 -0
- package/src/raml/luvio.raml +7 -0
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, ingestShape, deepFreeze, StoreKeyMap, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$
|
|
17
|
+
import { serializeStructuredKey, ingestShape, deepFreeze, StoreKeyMap, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$3, typeCheckConfig as typeCheckConfig$3, createResourceParams as createResourceParams$3 } from 'force/luvioEngine';
|
|
18
18
|
|
|
19
19
|
const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
|
|
20
20
|
const { keys: ObjectKeys, create: ObjectCreate } = Object;
|
|
@@ -89,7 +89,7 @@ function createLink(ref) {
|
|
|
89
89
|
};
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
function validate$
|
|
92
|
+
function validate$5(obj, path = 'ExplorerViewItem') {
|
|
93
93
|
const v_error = (() => {
|
|
94
94
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
95
95
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -112,7 +112,7 @@ function validate$3(obj, path = 'ExplorerViewItem') {
|
|
|
112
112
|
for (let i = 0; i < obj_items.length; i++) {
|
|
113
113
|
const obj_items_item = obj_items[i];
|
|
114
114
|
const path_items_item = path_items + '[' + i + ']';
|
|
115
|
-
const referencepath_items_itemValidationError = validate$
|
|
115
|
+
const referencepath_items_itemValidationError = validate$5(obj_items_item, path_items_item);
|
|
116
116
|
if (referencepath_items_itemValidationError !== null) {
|
|
117
117
|
let message = 'Object doesn\'t match ExplorerViewItem (at "' + path_items_item + '")\n';
|
|
118
118
|
message += referencepath_items_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -133,9 +133,9 @@ function validate$3(obj, path = 'ExplorerViewItem') {
|
|
|
133
133
|
return v_error === undefined ? null : v_error;
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
-
const TTL$
|
|
137
|
-
const VERSION$
|
|
138
|
-
function validate$
|
|
136
|
+
const TTL$2 = 100000;
|
|
137
|
+
const VERSION$2 = "f7fb4db32a91c595a968707c48621271";
|
|
138
|
+
function validate$4(obj, path = 'ExplorerViewRepresentation') {
|
|
139
139
|
const v_error = (() => {
|
|
140
140
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
141
141
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -147,7 +147,7 @@ function validate$2(obj, path = 'ExplorerViewRepresentation') {
|
|
|
147
147
|
}
|
|
148
148
|
const obj_rootItem = obj.rootItem;
|
|
149
149
|
const path_rootItem = path + '.rootItem';
|
|
150
|
-
const referencepath_rootItemValidationError = validate$
|
|
150
|
+
const referencepath_rootItemValidationError = validate$5(obj_rootItem, path_rootItem);
|
|
151
151
|
if (referencepath_rootItemValidationError !== null) {
|
|
152
152
|
let message = 'Object doesn\'t match ExplorerViewItem (at "' + path_rootItem + '")\n';
|
|
153
153
|
message += referencepath_rootItemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -156,73 +156,73 @@ function validate$2(obj, path = 'ExplorerViewRepresentation') {
|
|
|
156
156
|
})();
|
|
157
157
|
return v_error === undefined ? null : v_error;
|
|
158
158
|
}
|
|
159
|
-
const RepresentationType$
|
|
160
|
-
function keyBuilder$
|
|
161
|
-
return keyPrefix + '::' + RepresentationType$
|
|
159
|
+
const RepresentationType$2 = 'ExplorerViewRepresentation';
|
|
160
|
+
function keyBuilder$6(luvio, config) {
|
|
161
|
+
return keyPrefix + '::' + RepresentationType$2 + ':' + config.metadataId;
|
|
162
162
|
}
|
|
163
163
|
function keyBuilderFromType(luvio, object) {
|
|
164
164
|
const keyParams = {
|
|
165
165
|
metadataId: object.metadataId
|
|
166
166
|
};
|
|
167
|
-
return keyBuilder$
|
|
167
|
+
return keyBuilder$6(luvio, keyParams);
|
|
168
168
|
}
|
|
169
|
-
function normalize$
|
|
169
|
+
function normalize$2(input, existing, path, luvio, store, timestamp) {
|
|
170
170
|
return input;
|
|
171
171
|
}
|
|
172
|
-
const select$
|
|
172
|
+
const select$5 = function ExplorerViewRepresentationSelect() {
|
|
173
173
|
return {
|
|
174
174
|
kind: 'Fragment',
|
|
175
|
-
version: VERSION$
|
|
175
|
+
version: VERSION$2,
|
|
176
176
|
private: [],
|
|
177
177
|
opaque: true
|
|
178
178
|
};
|
|
179
179
|
};
|
|
180
|
-
function equals$
|
|
180
|
+
function equals$2(existing, incoming) {
|
|
181
181
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
182
182
|
return false;
|
|
183
183
|
}
|
|
184
184
|
return true;
|
|
185
185
|
}
|
|
186
|
-
const ingest$
|
|
186
|
+
const ingest$2 = function ExplorerViewRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
187
187
|
if (process.env.NODE_ENV !== 'production') {
|
|
188
|
-
const validateError = validate$
|
|
188
|
+
const validateError = validate$4(input);
|
|
189
189
|
if (validateError !== null) {
|
|
190
190
|
throw validateError;
|
|
191
191
|
}
|
|
192
192
|
}
|
|
193
193
|
const key = keyBuilderFromType(luvio, input);
|
|
194
|
-
const ttlToUse = TTL$
|
|
195
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$
|
|
194
|
+
const ttlToUse = TTL$2;
|
|
195
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "applications", VERSION$2, RepresentationType$2, equals$2);
|
|
196
196
|
return createLink(key);
|
|
197
197
|
};
|
|
198
|
-
function getTypeCacheKeys$
|
|
198
|
+
function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
199
199
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
200
200
|
const rootKey = keyBuilderFromType(luvio, input);
|
|
201
201
|
rootKeySet.set(rootKey, {
|
|
202
202
|
namespace: keyPrefix,
|
|
203
|
-
representationName: RepresentationType$
|
|
203
|
+
representationName: RepresentationType$2,
|
|
204
204
|
mergeable: false
|
|
205
205
|
});
|
|
206
206
|
}
|
|
207
207
|
|
|
208
|
-
function select$
|
|
209
|
-
return select$
|
|
208
|
+
function select$4(luvio, params) {
|
|
209
|
+
return select$5();
|
|
210
210
|
}
|
|
211
|
-
function keyBuilder$
|
|
212
|
-
return keyBuilder$
|
|
211
|
+
function keyBuilder$5(luvio, params) {
|
|
212
|
+
return keyBuilder$6(luvio, {
|
|
213
213
|
metadataId: params.urlParams.metadataId
|
|
214
214
|
});
|
|
215
215
|
}
|
|
216
|
-
function getResponseCacheKeys$
|
|
217
|
-
getTypeCacheKeys$
|
|
216
|
+
function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
|
|
217
|
+
getTypeCacheKeys$2(storeKeyMap, luvio, response);
|
|
218
218
|
}
|
|
219
|
-
function ingestSuccess$
|
|
219
|
+
function ingestSuccess$2(luvio, resourceParams, response, snapshotRefresh) {
|
|
220
220
|
const { body } = response;
|
|
221
|
-
const key = keyBuilder$
|
|
222
|
-
luvio.storeIngest(key, ingest$
|
|
221
|
+
const key = keyBuilder$5(luvio, resourceParams);
|
|
222
|
+
luvio.storeIngest(key, ingest$2, body);
|
|
223
223
|
const snapshot = luvio.storeLookup({
|
|
224
224
|
recordId: key,
|
|
225
|
-
node: select$
|
|
225
|
+
node: select$4(),
|
|
226
226
|
variables: {},
|
|
227
227
|
}, snapshotRefresh);
|
|
228
228
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -233,19 +233,19 @@ function ingestSuccess$1(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
233
233
|
deepFreeze(snapshot.data);
|
|
234
234
|
return snapshot;
|
|
235
235
|
}
|
|
236
|
-
function ingestError$
|
|
237
|
-
const key = keyBuilder$
|
|
236
|
+
function ingestError$2(luvio, params, error, snapshotRefresh) {
|
|
237
|
+
const key = keyBuilder$5(luvio, params);
|
|
238
238
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
239
239
|
const storeMetadataParams = {
|
|
240
|
-
ttl: TTL$
|
|
240
|
+
ttl: TTL$2,
|
|
241
241
|
namespace: keyPrefix,
|
|
242
|
-
version: VERSION$
|
|
243
|
-
representationName: RepresentationType$
|
|
242
|
+
version: VERSION$2,
|
|
243
|
+
representationName: RepresentationType$2
|
|
244
244
|
};
|
|
245
245
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
246
246
|
return errorSnapshot;
|
|
247
247
|
}
|
|
248
|
-
function createResourceRequest$
|
|
248
|
+
function createResourceRequest$2(config) {
|
|
249
249
|
const headers = {};
|
|
250
250
|
return {
|
|
251
251
|
baseUri: '/services/data/v64.0',
|
|
@@ -263,97 +263,97 @@ function createResourceRequestFromRepresentation(representation) {
|
|
|
263
263
|
urlParams: {},
|
|
264
264
|
};
|
|
265
265
|
config.urlParams.metadataId = representation.metadataId;
|
|
266
|
-
return createResourceRequest$
|
|
266
|
+
return createResourceRequest$2(config);
|
|
267
267
|
}
|
|
268
268
|
|
|
269
|
-
const adapterName$
|
|
269
|
+
const adapterName$2 = 'getExplorerView';
|
|
270
270
|
const getExplorerView_ConfigPropertyMetadata = [
|
|
271
271
|
generateParamConfigMetadata('metadataId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
272
272
|
];
|
|
273
|
-
const getExplorerView_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
274
|
-
const createResourceParams$
|
|
275
|
-
function keyBuilder$
|
|
276
|
-
const resourceParams = createResourceParams$
|
|
277
|
-
return keyBuilder$
|
|
273
|
+
const getExplorerView_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getExplorerView_ConfigPropertyMetadata);
|
|
274
|
+
const createResourceParams$2 = /*#__PURE__*/ createResourceParams$3(getExplorerView_ConfigPropertyMetadata);
|
|
275
|
+
function keyBuilder$4(luvio, config) {
|
|
276
|
+
const resourceParams = createResourceParams$2(config);
|
|
277
|
+
return keyBuilder$5(luvio, resourceParams);
|
|
278
278
|
}
|
|
279
|
-
function typeCheckConfig$
|
|
279
|
+
function typeCheckConfig$2(untrustedConfig) {
|
|
280
280
|
const config = {};
|
|
281
|
-
typeCheckConfig$
|
|
281
|
+
typeCheckConfig$3(untrustedConfig, config, getExplorerView_ConfigPropertyMetadata);
|
|
282
282
|
return config;
|
|
283
283
|
}
|
|
284
|
-
function validateAdapterConfig$
|
|
284
|
+
function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
|
|
285
285
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
286
286
|
return null;
|
|
287
287
|
}
|
|
288
288
|
if (process.env.NODE_ENV !== 'production') {
|
|
289
289
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
290
290
|
}
|
|
291
|
-
const config = typeCheckConfig$
|
|
291
|
+
const config = typeCheckConfig$2(untrustedConfig);
|
|
292
292
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
293
293
|
return null;
|
|
294
294
|
}
|
|
295
295
|
return config;
|
|
296
296
|
}
|
|
297
|
-
function adapterFragment$
|
|
298
|
-
createResourceParams$
|
|
299
|
-
return select$
|
|
297
|
+
function adapterFragment$2(luvio, config) {
|
|
298
|
+
createResourceParams$2(config);
|
|
299
|
+
return select$4();
|
|
300
300
|
}
|
|
301
|
-
function onFetchResponseSuccess$
|
|
302
|
-
const snapshot = ingestSuccess$
|
|
301
|
+
function onFetchResponseSuccess$2(luvio, config, resourceParams, response) {
|
|
302
|
+
const snapshot = ingestSuccess$2(luvio, resourceParams, response, {
|
|
303
303
|
config,
|
|
304
|
-
resolve: () => buildNetworkSnapshot$
|
|
304
|
+
resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
|
|
305
305
|
});
|
|
306
306
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
307
307
|
}
|
|
308
|
-
function onFetchResponseError$
|
|
309
|
-
const snapshot = ingestError$
|
|
308
|
+
function onFetchResponseError$2(luvio, config, resourceParams, response) {
|
|
309
|
+
const snapshot = ingestError$2(luvio, resourceParams, response, {
|
|
310
310
|
config,
|
|
311
|
-
resolve: () => buildNetworkSnapshot$
|
|
311
|
+
resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
|
|
312
312
|
});
|
|
313
313
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
314
314
|
}
|
|
315
|
-
function buildNetworkSnapshot$
|
|
316
|
-
const resourceParams = createResourceParams$
|
|
317
|
-
const request = createResourceRequest$
|
|
315
|
+
function buildNetworkSnapshot$2(luvio, config, options) {
|
|
316
|
+
const resourceParams = createResourceParams$2(config);
|
|
317
|
+
const request = createResourceRequest$2(resourceParams);
|
|
318
318
|
return luvio.dispatchResourceRequest(request, options)
|
|
319
319
|
.then((response) => {
|
|
320
|
-
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$
|
|
320
|
+
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$2(luvio, config, resourceParams, response), () => {
|
|
321
321
|
const cache = new StoreKeyMap();
|
|
322
|
-
getResponseCacheKeys$
|
|
322
|
+
getResponseCacheKeys$2(cache, luvio, resourceParams, response.body);
|
|
323
323
|
return cache;
|
|
324
324
|
});
|
|
325
325
|
}, (response) => {
|
|
326
|
-
return luvio.handleErrorResponse(() => onFetchResponseError$
|
|
326
|
+
return luvio.handleErrorResponse(() => onFetchResponseError$2(luvio, config, resourceParams, response));
|
|
327
327
|
});
|
|
328
328
|
}
|
|
329
|
-
function buildNetworkSnapshotCachePolicy$
|
|
330
|
-
return buildNetworkSnapshotCachePolicy$
|
|
329
|
+
function buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext) {
|
|
330
|
+
return buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
|
|
331
331
|
}
|
|
332
|
-
function buildCachedSnapshotCachePolicy$
|
|
332
|
+
function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
|
|
333
333
|
const { luvio, config } = context;
|
|
334
334
|
const selector = {
|
|
335
|
-
recordId: keyBuilder$
|
|
336
|
-
node: adapterFragment$
|
|
335
|
+
recordId: keyBuilder$4(luvio, config),
|
|
336
|
+
node: adapterFragment$2(luvio, config),
|
|
337
337
|
variables: {},
|
|
338
338
|
};
|
|
339
339
|
const cacheSnapshot = storeLookup(selector, {
|
|
340
340
|
config,
|
|
341
|
-
resolve: () => buildNetworkSnapshot$
|
|
341
|
+
resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
|
|
342
342
|
});
|
|
343
343
|
return cacheSnapshot;
|
|
344
344
|
}
|
|
345
345
|
const getExplorerViewAdapterFactory = (luvio) => function applications__getExplorerView(untrustedConfig, requestContext) {
|
|
346
|
-
const config = validateAdapterConfig$
|
|
346
|
+
const config = validateAdapterConfig$2(untrustedConfig, getExplorerView_ConfigPropertyNames);
|
|
347
347
|
// Invalid or incomplete config
|
|
348
348
|
if (config === null) {
|
|
349
349
|
return null;
|
|
350
350
|
}
|
|
351
351
|
return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
|
|
352
|
-
buildCachedSnapshotCachePolicy$
|
|
352
|
+
buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
|
|
353
353
|
};
|
|
354
354
|
const notifyChangeFactory = (luvio, options) => {
|
|
355
355
|
return function getConnectExplorerViewByMetadataIdNotifyChange(configs) {
|
|
356
|
-
const keys = configs.map(c => keyBuilder$
|
|
356
|
+
const keys = configs.map(c => keyBuilder$6(luvio, c));
|
|
357
357
|
luvio.getNotifyChangeStoreEntries(keys).then(entries => {
|
|
358
358
|
for (let i = 0, len = entries.length; i < len; i++) {
|
|
359
359
|
const { key, record: val } = entries[i];
|
|
@@ -362,21 +362,21 @@ const notifyChangeFactory = (luvio, options) => {
|
|
|
362
362
|
.then((response) => {
|
|
363
363
|
return luvio.handleSuccessResponse(() => {
|
|
364
364
|
const { body } = response;
|
|
365
|
-
luvio.storeIngest(key, ingest$
|
|
365
|
+
luvio.storeIngest(key, ingest$2, body);
|
|
366
366
|
return luvio.storeBroadcast();
|
|
367
367
|
}, () => {
|
|
368
368
|
const cache = new StoreKeyMap();
|
|
369
|
-
getTypeCacheKeys$
|
|
369
|
+
getTypeCacheKeys$2(cache, luvio, response.body);
|
|
370
370
|
return cache;
|
|
371
371
|
});
|
|
372
372
|
}, (error) => {
|
|
373
373
|
return luvio.handleErrorResponse(() => {
|
|
374
374
|
const errorSnapshot = luvio.errorSnapshot(error);
|
|
375
375
|
luvio.storeIngestError(key, errorSnapshot, {
|
|
376
|
-
ttl: TTL$
|
|
376
|
+
ttl: TTL$2,
|
|
377
377
|
namespace: keyPrefix,
|
|
378
|
-
version: VERSION$
|
|
379
|
-
representationName: RepresentationType$
|
|
378
|
+
version: VERSION$2,
|
|
379
|
+
representationName: RepresentationType$2
|
|
380
380
|
});
|
|
381
381
|
return luvio.storeBroadcast().then(() => errorSnapshot);
|
|
382
382
|
});
|
|
@@ -386,7 +386,7 @@ const notifyChangeFactory = (luvio, options) => {
|
|
|
386
386
|
};
|
|
387
387
|
};
|
|
388
388
|
|
|
389
|
-
function validate$
|
|
389
|
+
function validate$3(obj, path = 'MetadataGroupDomainSetItemRepresentation') {
|
|
390
390
|
const v_error = (() => {
|
|
391
391
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
392
392
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -405,9 +405,9 @@ function validate$1(obj, path = 'MetadataGroupDomainSetItemRepresentation') {
|
|
|
405
405
|
return v_error === undefined ? null : v_error;
|
|
406
406
|
}
|
|
407
407
|
|
|
408
|
-
const TTL = 500000;
|
|
409
|
-
const VERSION = "007a449fdb5318904cabb4949cc2fc8a";
|
|
410
|
-
function validate(obj, path = 'MetadataGroupDomainSetOutputRepresentation') {
|
|
408
|
+
const TTL$1 = 500000;
|
|
409
|
+
const VERSION$1 = "007a449fdb5318904cabb4949cc2fc8a";
|
|
410
|
+
function validate$2(obj, path = 'MetadataGroupDomainSetOutputRepresentation') {
|
|
411
411
|
const v_error = (() => {
|
|
412
412
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
413
413
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -420,7 +420,7 @@ function validate(obj, path = 'MetadataGroupDomainSetOutputRepresentation') {
|
|
|
420
420
|
for (let i = 0; i < obj_metadataGroupDomainSet.length; i++) {
|
|
421
421
|
const obj_metadataGroupDomainSet_item = obj_metadataGroupDomainSet[i];
|
|
422
422
|
const path_metadataGroupDomainSet_item = path_metadataGroupDomainSet + '[' + i + ']';
|
|
423
|
-
const referencepath_metadataGroupDomainSet_itemValidationError = validate$
|
|
423
|
+
const referencepath_metadataGroupDomainSet_itemValidationError = validate$3(obj_metadataGroupDomainSet_item, path_metadataGroupDomainSet_item);
|
|
424
424
|
if (referencepath_metadataGroupDomainSet_itemValidationError !== null) {
|
|
425
425
|
let message = 'Object doesn\'t match MetadataGroupDomainSetItemRepresentation (at "' + path_metadataGroupDomainSet_item + '")\n';
|
|
426
426
|
message += referencepath_metadataGroupDomainSet_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -430,11 +430,248 @@ function validate(obj, path = 'MetadataGroupDomainSetOutputRepresentation') {
|
|
|
430
430
|
})();
|
|
431
431
|
return v_error === undefined ? null : v_error;
|
|
432
432
|
}
|
|
433
|
-
const RepresentationType = 'MetadataGroupDomainSetOutputRepresentation';
|
|
433
|
+
const RepresentationType$1 = 'MetadataGroupDomainSetOutputRepresentation';
|
|
434
|
+
function normalize$1(input, existing, path, luvio, store, timestamp) {
|
|
435
|
+
return input;
|
|
436
|
+
}
|
|
437
|
+
const select$3 = function MetadataGroupDomainSetOutputRepresentationSelect() {
|
|
438
|
+
return {
|
|
439
|
+
kind: 'Fragment',
|
|
440
|
+
version: VERSION$1,
|
|
441
|
+
private: [],
|
|
442
|
+
opaque: true
|
|
443
|
+
};
|
|
444
|
+
};
|
|
445
|
+
function equals$1(existing, incoming) {
|
|
446
|
+
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
447
|
+
return false;
|
|
448
|
+
}
|
|
449
|
+
return true;
|
|
450
|
+
}
|
|
451
|
+
const ingest$1 = function MetadataGroupDomainSetOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
452
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
453
|
+
const validateError = validate$2(input);
|
|
454
|
+
if (validateError !== null) {
|
|
455
|
+
throw validateError;
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
const key = path.fullPath;
|
|
459
|
+
const ttlToUse = TTL$1;
|
|
460
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$1, "applications", VERSION$1, RepresentationType$1, equals$1);
|
|
461
|
+
return createLink(key);
|
|
462
|
+
};
|
|
463
|
+
function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
464
|
+
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
465
|
+
const rootKey = fullPathFactory();
|
|
466
|
+
rootKeySet.set(rootKey, {
|
|
467
|
+
namespace: keyPrefix,
|
|
468
|
+
representationName: RepresentationType$1,
|
|
469
|
+
mergeable: false
|
|
470
|
+
});
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
function select$2(luvio, params) {
|
|
474
|
+
return select$3();
|
|
475
|
+
}
|
|
476
|
+
function keyBuilder$3(luvio, params) {
|
|
477
|
+
return keyPrefix + '::MetadataGroupDomainSetOutputRepresentation:(' + 'metadataName:' + params.queryParams.metadataName + ')';
|
|
478
|
+
}
|
|
479
|
+
function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
|
|
480
|
+
getTypeCacheKeys$1(storeKeyMap, luvio, response, () => keyBuilder$3(luvio, resourceParams));
|
|
481
|
+
}
|
|
482
|
+
function ingestSuccess$1(luvio, resourceParams, response, snapshotRefresh) {
|
|
483
|
+
const { body } = response;
|
|
484
|
+
const key = keyBuilder$3(luvio, resourceParams);
|
|
485
|
+
luvio.storeIngest(key, ingest$1, body);
|
|
486
|
+
const snapshot = luvio.storeLookup({
|
|
487
|
+
recordId: key,
|
|
488
|
+
node: select$2(),
|
|
489
|
+
variables: {},
|
|
490
|
+
}, snapshotRefresh);
|
|
491
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
492
|
+
if (snapshot.state !== 'Fulfilled') {
|
|
493
|
+
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
deepFreeze(snapshot.data);
|
|
497
|
+
return snapshot;
|
|
498
|
+
}
|
|
499
|
+
function ingestError$1(luvio, params, error, snapshotRefresh) {
|
|
500
|
+
const key = keyBuilder$3(luvio, params);
|
|
501
|
+
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
502
|
+
const storeMetadataParams = {
|
|
503
|
+
ttl: TTL$1,
|
|
504
|
+
namespace: keyPrefix,
|
|
505
|
+
version: VERSION$1,
|
|
506
|
+
representationName: RepresentationType$1
|
|
507
|
+
};
|
|
508
|
+
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
509
|
+
return errorSnapshot;
|
|
510
|
+
}
|
|
511
|
+
function createResourceRequest$1(config) {
|
|
512
|
+
const headers = {};
|
|
513
|
+
return {
|
|
514
|
+
baseUri: '/services/data/v64.0',
|
|
515
|
+
basePath: '/connect/salesforce-apps/domain-set',
|
|
516
|
+
method: 'get',
|
|
517
|
+
body: null,
|
|
518
|
+
urlParams: {},
|
|
519
|
+
queryParams: config.queryParams,
|
|
520
|
+
headers,
|
|
521
|
+
priority: 'normal',
|
|
522
|
+
};
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
const adapterName$1 = 'getMetadataGroupDomainSet';
|
|
526
|
+
const getMetadataGroupDomainSet_ConfigPropertyMetadata = [
|
|
527
|
+
generateParamConfigMetadata('metadataName', false, 1 /* QueryParameter */, 0 /* String */),
|
|
528
|
+
];
|
|
529
|
+
const getMetadataGroupDomainSet_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, getMetadataGroupDomainSet_ConfigPropertyMetadata);
|
|
530
|
+
const createResourceParams$1 = /*#__PURE__*/ createResourceParams$3(getMetadataGroupDomainSet_ConfigPropertyMetadata);
|
|
531
|
+
function keyBuilder$2(luvio, config) {
|
|
532
|
+
const resourceParams = createResourceParams$1(config);
|
|
533
|
+
return keyBuilder$3(luvio, resourceParams);
|
|
534
|
+
}
|
|
535
|
+
function typeCheckConfig$1(untrustedConfig) {
|
|
536
|
+
const config = {};
|
|
537
|
+
typeCheckConfig$3(untrustedConfig, config, getMetadataGroupDomainSet_ConfigPropertyMetadata);
|
|
538
|
+
return config;
|
|
539
|
+
}
|
|
540
|
+
function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
|
|
541
|
+
if (!untrustedIsObject(untrustedConfig)) {
|
|
542
|
+
return null;
|
|
543
|
+
}
|
|
544
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
545
|
+
validateConfig(untrustedConfig, configPropertyNames);
|
|
546
|
+
}
|
|
547
|
+
const config = typeCheckConfig$1(untrustedConfig);
|
|
548
|
+
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
549
|
+
return null;
|
|
550
|
+
}
|
|
551
|
+
return config;
|
|
552
|
+
}
|
|
553
|
+
function adapterFragment$1(luvio, config) {
|
|
554
|
+
createResourceParams$1(config);
|
|
555
|
+
return select$2();
|
|
556
|
+
}
|
|
557
|
+
function onFetchResponseSuccess$1(luvio, config, resourceParams, response) {
|
|
558
|
+
const snapshot = ingestSuccess$1(luvio, resourceParams, response, {
|
|
559
|
+
config,
|
|
560
|
+
resolve: () => buildNetworkSnapshot$1(luvio, config, snapshotRefreshOptions)
|
|
561
|
+
});
|
|
562
|
+
return luvio.storeBroadcast().then(() => snapshot);
|
|
563
|
+
}
|
|
564
|
+
function onFetchResponseError$1(luvio, config, resourceParams, response) {
|
|
565
|
+
const snapshot = ingestError$1(luvio, resourceParams, response, {
|
|
566
|
+
config,
|
|
567
|
+
resolve: () => buildNetworkSnapshot$1(luvio, config, snapshotRefreshOptions)
|
|
568
|
+
});
|
|
569
|
+
return luvio.storeBroadcast().then(() => snapshot);
|
|
570
|
+
}
|
|
571
|
+
function buildNetworkSnapshot$1(luvio, config, options) {
|
|
572
|
+
const resourceParams = createResourceParams$1(config);
|
|
573
|
+
const request = createResourceRequest$1(resourceParams);
|
|
574
|
+
return luvio.dispatchResourceRequest(request, options)
|
|
575
|
+
.then((response) => {
|
|
576
|
+
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$1(luvio, config, resourceParams, response), () => {
|
|
577
|
+
const cache = new StoreKeyMap();
|
|
578
|
+
getResponseCacheKeys$1(cache, luvio, resourceParams, response.body);
|
|
579
|
+
return cache;
|
|
580
|
+
});
|
|
581
|
+
}, (response) => {
|
|
582
|
+
return luvio.handleErrorResponse(() => onFetchResponseError$1(luvio, config, resourceParams, response));
|
|
583
|
+
});
|
|
584
|
+
}
|
|
585
|
+
function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
|
|
586
|
+
return buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, undefined, false);
|
|
587
|
+
}
|
|
588
|
+
function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
|
|
589
|
+
const { luvio, config } = context;
|
|
590
|
+
const selector = {
|
|
591
|
+
recordId: keyBuilder$2(luvio, config),
|
|
592
|
+
node: adapterFragment$1(luvio, config),
|
|
593
|
+
variables: {},
|
|
594
|
+
};
|
|
595
|
+
const cacheSnapshot = storeLookup(selector, {
|
|
596
|
+
config,
|
|
597
|
+
resolve: () => buildNetworkSnapshot$1(luvio, config, snapshotRefreshOptions)
|
|
598
|
+
});
|
|
599
|
+
return cacheSnapshot;
|
|
600
|
+
}
|
|
601
|
+
const getMetadataGroupDomainSetAdapterFactory = (luvio) => function applications__getMetadataGroupDomainSet(untrustedConfig, requestContext) {
|
|
602
|
+
const config = validateAdapterConfig$1(untrustedConfig, getMetadataGroupDomainSet_ConfigPropertyNames);
|
|
603
|
+
// Invalid or incomplete config
|
|
604
|
+
if (config === null) {
|
|
605
|
+
return null;
|
|
606
|
+
}
|
|
607
|
+
return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
|
|
608
|
+
buildCachedSnapshotCachePolicy$1, buildNetworkSnapshotCachePolicy$1);
|
|
609
|
+
};
|
|
610
|
+
|
|
611
|
+
function validate$1(obj, path = 'SalesforceAppItemDetailsRepresentation') {
|
|
612
|
+
const v_error = (() => {
|
|
613
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
614
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
615
|
+
}
|
|
616
|
+
const obj_description = obj.description;
|
|
617
|
+
const path_description = path + '.description';
|
|
618
|
+
if (typeof obj_description !== 'string') {
|
|
619
|
+
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
620
|
+
}
|
|
621
|
+
const obj_developerName = obj.developerName;
|
|
622
|
+
const path_developerName = path + '.developerName';
|
|
623
|
+
if (typeof obj_developerName !== 'string') {
|
|
624
|
+
return new TypeError('Expected "string" but received "' + typeof obj_developerName + '" (at "' + path_developerName + '")');
|
|
625
|
+
}
|
|
626
|
+
const obj_lastModifiedDate = obj.lastModifiedDate;
|
|
627
|
+
const path_lastModifiedDate = path + '.lastModifiedDate';
|
|
628
|
+
if (typeof obj_lastModifiedDate !== 'string') {
|
|
629
|
+
return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
|
|
630
|
+
}
|
|
631
|
+
const obj_masterLabel = obj.masterLabel;
|
|
632
|
+
const path_masterLabel = path + '.masterLabel';
|
|
633
|
+
if (typeof obj_masterLabel !== 'string') {
|
|
634
|
+
return new TypeError('Expected "string" but received "' + typeof obj_masterLabel + '" (at "' + path_masterLabel + '")');
|
|
635
|
+
}
|
|
636
|
+
const obj_salesforceAppId = obj.salesforceAppId;
|
|
637
|
+
const path_salesforceAppId = path + '.salesforceAppId';
|
|
638
|
+
if (typeof obj_salesforceAppId !== 'string') {
|
|
639
|
+
return new TypeError('Expected "string" but received "' + typeof obj_salesforceAppId + '" (at "' + path_salesforceAppId + '")');
|
|
640
|
+
}
|
|
641
|
+
})();
|
|
642
|
+
return v_error === undefined ? null : v_error;
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
const TTL = 100000;
|
|
646
|
+
const VERSION = "fd96561b9186438b07fe0b9d011009a5";
|
|
647
|
+
function validate(obj, path = 'SalesforceAppsRepresentation') {
|
|
648
|
+
const v_error = (() => {
|
|
649
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
650
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
651
|
+
}
|
|
652
|
+
const obj_salesforceApps = obj.salesforceApps;
|
|
653
|
+
const path_salesforceApps = path + '.salesforceApps';
|
|
654
|
+
if (!ArrayIsArray(obj_salesforceApps)) {
|
|
655
|
+
return new TypeError('Expected "array" but received "' + typeof obj_salesforceApps + '" (at "' + path_salesforceApps + '")');
|
|
656
|
+
}
|
|
657
|
+
for (let i = 0; i < obj_salesforceApps.length; i++) {
|
|
658
|
+
const obj_salesforceApps_item = obj_salesforceApps[i];
|
|
659
|
+
const path_salesforceApps_item = path_salesforceApps + '[' + i + ']';
|
|
660
|
+
const referencepath_salesforceApps_itemValidationError = validate$1(obj_salesforceApps_item, path_salesforceApps_item);
|
|
661
|
+
if (referencepath_salesforceApps_itemValidationError !== null) {
|
|
662
|
+
let message = 'Object doesn\'t match SalesforceAppItemDetailsRepresentation (at "' + path_salesforceApps_item + '")\n';
|
|
663
|
+
message += referencepath_salesforceApps_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
664
|
+
return new TypeError(message);
|
|
665
|
+
}
|
|
666
|
+
}
|
|
667
|
+
})();
|
|
668
|
+
return v_error === undefined ? null : v_error;
|
|
669
|
+
}
|
|
670
|
+
const RepresentationType = 'SalesforceAppsRepresentation';
|
|
434
671
|
function normalize(input, existing, path, luvio, store, timestamp) {
|
|
435
672
|
return input;
|
|
436
673
|
}
|
|
437
|
-
const select$1 = function
|
|
674
|
+
const select$1 = function SalesforceAppsRepresentationSelect() {
|
|
438
675
|
return {
|
|
439
676
|
kind: 'Fragment',
|
|
440
677
|
version: VERSION,
|
|
@@ -448,7 +685,7 @@ function equals(existing, incoming) {
|
|
|
448
685
|
}
|
|
449
686
|
return true;
|
|
450
687
|
}
|
|
451
|
-
const ingest = function
|
|
688
|
+
const ingest = function SalesforceAppsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
452
689
|
if (process.env.NODE_ENV !== 'production') {
|
|
453
690
|
const validateError = validate(input);
|
|
454
691
|
if (validateError !== null) {
|
|
@@ -474,14 +711,14 @@ function select(luvio, params) {
|
|
|
474
711
|
return select$1();
|
|
475
712
|
}
|
|
476
713
|
function keyBuilder$1(luvio, params) {
|
|
477
|
-
return keyPrefix + '::
|
|
714
|
+
return keyPrefix + '::SalesforceAppsRepresentation:(' + ')';
|
|
478
715
|
}
|
|
479
716
|
function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
|
|
480
|
-
getTypeCacheKeys(storeKeyMap, luvio, response, () => keyBuilder$1(
|
|
717
|
+
getTypeCacheKeys(storeKeyMap, luvio, response, () => keyBuilder$1());
|
|
481
718
|
}
|
|
482
719
|
function ingestSuccess(luvio, resourceParams, response, snapshotRefresh) {
|
|
483
720
|
const { body } = response;
|
|
484
|
-
const key = keyBuilder$1(
|
|
721
|
+
const key = keyBuilder$1();
|
|
485
722
|
luvio.storeIngest(key, ingest, body);
|
|
486
723
|
const snapshot = luvio.storeLookup({
|
|
487
724
|
recordId: key,
|
|
@@ -497,7 +734,7 @@ function ingestSuccess(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
497
734
|
return snapshot;
|
|
498
735
|
}
|
|
499
736
|
function ingestError(luvio, params, error, snapshotRefresh) {
|
|
500
|
-
const key = keyBuilder$1(
|
|
737
|
+
const key = keyBuilder$1();
|
|
501
738
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
502
739
|
const storeMetadataParams = {
|
|
503
740
|
ttl: TTL,
|
|
@@ -512,29 +749,26 @@ function createResourceRequest(config) {
|
|
|
512
749
|
const headers = {};
|
|
513
750
|
return {
|
|
514
751
|
baseUri: '/services/data/v64.0',
|
|
515
|
-
basePath: '/connect/salesforce-apps
|
|
752
|
+
basePath: '/connect/salesforce-apps',
|
|
516
753
|
method: 'get',
|
|
517
754
|
body: null,
|
|
518
755
|
urlParams: {},
|
|
519
|
-
queryParams:
|
|
756
|
+
queryParams: {},
|
|
520
757
|
headers,
|
|
521
758
|
priority: 'normal',
|
|
522
759
|
};
|
|
523
760
|
}
|
|
524
761
|
|
|
525
|
-
const adapterName = '
|
|
526
|
-
const
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
const getMetadataGroupDomainSet_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, getMetadataGroupDomainSet_ConfigPropertyMetadata);
|
|
530
|
-
const createResourceParams = /*#__PURE__*/ createResourceParams$2(getMetadataGroupDomainSet_ConfigPropertyMetadata);
|
|
762
|
+
const adapterName = 'getSalesforceApp';
|
|
763
|
+
const getSalesforceApp_ConfigPropertyMetadata = [];
|
|
764
|
+
const getSalesforceApp_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, getSalesforceApp_ConfigPropertyMetadata);
|
|
765
|
+
const createResourceParams = /*#__PURE__*/ createResourceParams$3(getSalesforceApp_ConfigPropertyMetadata);
|
|
531
766
|
function keyBuilder(luvio, config) {
|
|
532
|
-
|
|
533
|
-
return keyBuilder$1(
|
|
767
|
+
createResourceParams(config);
|
|
768
|
+
return keyBuilder$1();
|
|
534
769
|
}
|
|
535
770
|
function typeCheckConfig(untrustedConfig) {
|
|
536
771
|
const config = {};
|
|
537
|
-
typeCheckConfig$2(untrustedConfig, config, getMetadataGroupDomainSet_ConfigPropertyMetadata);
|
|
538
772
|
return config;
|
|
539
773
|
}
|
|
540
774
|
function validateAdapterConfig(untrustedConfig, configPropertyNames) {
|
|
@@ -544,7 +778,7 @@ function validateAdapterConfig(untrustedConfig, configPropertyNames) {
|
|
|
544
778
|
if (process.env.NODE_ENV !== 'production') {
|
|
545
779
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
546
780
|
}
|
|
547
|
-
const config = typeCheckConfig(
|
|
781
|
+
const config = typeCheckConfig();
|
|
548
782
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
549
783
|
return null;
|
|
550
784
|
}
|
|
@@ -570,7 +804,7 @@ function onFetchResponseError(luvio, config, resourceParams, response) {
|
|
|
570
804
|
}
|
|
571
805
|
function buildNetworkSnapshot(luvio, config, options) {
|
|
572
806
|
const resourceParams = createResourceParams(config);
|
|
573
|
-
const request = createResourceRequest(
|
|
807
|
+
const request = createResourceRequest();
|
|
574
808
|
return luvio.dispatchResourceRequest(request, options)
|
|
575
809
|
.then((response) => {
|
|
576
810
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess(luvio, config, resourceParams, response), () => {
|
|
@@ -583,7 +817,7 @@ function buildNetworkSnapshot(luvio, config, options) {
|
|
|
583
817
|
});
|
|
584
818
|
}
|
|
585
819
|
function buildNetworkSnapshotCachePolicy(context, coercedAdapterRequestContext) {
|
|
586
|
-
return buildNetworkSnapshotCachePolicy$
|
|
820
|
+
return buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext, buildNetworkSnapshot, undefined, false);
|
|
587
821
|
}
|
|
588
822
|
function buildCachedSnapshotCachePolicy(context, storeLookup) {
|
|
589
823
|
const { luvio, config } = context;
|
|
@@ -598,8 +832,8 @@ function buildCachedSnapshotCachePolicy(context, storeLookup) {
|
|
|
598
832
|
});
|
|
599
833
|
return cacheSnapshot;
|
|
600
834
|
}
|
|
601
|
-
const
|
|
602
|
-
const config = validateAdapterConfig(untrustedConfig,
|
|
835
|
+
const getSalesforceAppAdapterFactory = (luvio) => function applications__getSalesforceApp(untrustedConfig, requestContext) {
|
|
836
|
+
const config = validateAdapterConfig(untrustedConfig, getSalesforceApp_ConfigPropertyNames);
|
|
603
837
|
// Invalid or incomplete config
|
|
604
838
|
if (config === null) {
|
|
605
839
|
return null;
|
|
@@ -611,9 +845,11 @@ const getMetadataGroupDomainSetAdapterFactory = (luvio) => function applications
|
|
|
611
845
|
let getExplorerView;
|
|
612
846
|
let getExplorerViewNotifyChange;
|
|
613
847
|
let getMetadataGroupDomainSet;
|
|
848
|
+
let getSalesforceApp;
|
|
614
849
|
// Imperative GET Adapters
|
|
615
850
|
let getExplorerView_imperative;
|
|
616
851
|
let getMetadataGroupDomainSet_imperative;
|
|
852
|
+
let getSalesforceApp_imperative;
|
|
617
853
|
// Adapter Metadata
|
|
618
854
|
const getExplorerViewMetadata = { apiFamily: 'applications', name: 'getExplorerView', ttl: 100000 };
|
|
619
855
|
const getMetadataGroupDomainSetMetadata = {
|
|
@@ -621,18 +857,26 @@ const getMetadataGroupDomainSetMetadata = {
|
|
|
621
857
|
name: 'getMetadataGroupDomainSet',
|
|
622
858
|
ttl: 500000,
|
|
623
859
|
};
|
|
860
|
+
const getSalesforceAppMetadata = {
|
|
861
|
+
apiFamily: 'applications',
|
|
862
|
+
name: 'getSalesforceApp',
|
|
863
|
+
ttl: 100000,
|
|
864
|
+
};
|
|
624
865
|
// Notify Update Available
|
|
625
866
|
function bindExportsTo(luvio) {
|
|
626
867
|
// LDS Adapters
|
|
627
868
|
const getExplorerView_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getExplorerView', getExplorerViewAdapterFactory), getExplorerViewMetadata);
|
|
628
869
|
const getMetadataGroupDomainSet_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getMetadataGroupDomainSet', getMetadataGroupDomainSetAdapterFactory), getMetadataGroupDomainSetMetadata);
|
|
870
|
+
const getSalesforceApp_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getSalesforceApp', getSalesforceAppAdapterFactory), getSalesforceAppMetadata);
|
|
629
871
|
return {
|
|
630
872
|
getExplorerView: createWireAdapterConstructor(luvio, getExplorerView_ldsAdapter, getExplorerViewMetadata),
|
|
631
873
|
getExplorerViewNotifyChange: createLDSAdapter(luvio, 'getExplorerViewNotifyChange', notifyChangeFactory),
|
|
632
874
|
getMetadataGroupDomainSet: createWireAdapterConstructor(luvio, getMetadataGroupDomainSet_ldsAdapter, getMetadataGroupDomainSetMetadata),
|
|
875
|
+
getSalesforceApp: createWireAdapterConstructor(luvio, getSalesforceApp_ldsAdapter, getSalesforceAppMetadata),
|
|
633
876
|
// Imperative GET Adapters
|
|
634
877
|
getExplorerView_imperative: createImperativeAdapter(luvio, getExplorerView_ldsAdapter, getExplorerViewMetadata),
|
|
635
878
|
getMetadataGroupDomainSet_imperative: createImperativeAdapter(luvio, getMetadataGroupDomainSet_ldsAdapter, getMetadataGroupDomainSetMetadata),
|
|
879
|
+
getSalesforceApp_imperative: createImperativeAdapter(luvio, getSalesforceApp_ldsAdapter, getSalesforceAppMetadata),
|
|
636
880
|
// Notify Update Availables
|
|
637
881
|
};
|
|
638
882
|
}
|
|
@@ -641,10 +885,12 @@ withDefaultLuvio((luvio) => {
|
|
|
641
885
|
getExplorerView,
|
|
642
886
|
getExplorerViewNotifyChange,
|
|
643
887
|
getMetadataGroupDomainSet,
|
|
888
|
+
getSalesforceApp,
|
|
644
889
|
getExplorerView_imperative,
|
|
645
890
|
getMetadataGroupDomainSet_imperative,
|
|
891
|
+
getSalesforceApp_imperative,
|
|
646
892
|
} = bindExportsTo(luvio));
|
|
647
893
|
});
|
|
648
894
|
|
|
649
|
-
export { getExplorerView, getExplorerViewNotifyChange, getExplorerView_imperative, getMetadataGroupDomainSet, getMetadataGroupDomainSet_imperative };
|
|
650
|
-
// version: 1.
|
|
895
|
+
export { getExplorerView, getExplorerViewNotifyChange, getExplorerView_imperative, getMetadataGroupDomainSet, getMetadataGroupDomainSet_imperative, getSalesforceApp, getSalesforceApp_imperative };
|
|
896
|
+
// version: 1.351.1-3c191568b9
|