@salesforce/lwc-adapters-uiapi 1.287.0-dev1 → 1.287.0-dev3
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/main.js +33 -18
- package/package.json +3 -3
package/dist/main.js
CHANGED
|
@@ -7359,6 +7359,10 @@ let oneStoreGetObjectInfoAdapter = undefined;
|
|
|
7359
7359
|
* One store enabled Get Object Infos adapter
|
|
7360
7360
|
*/
|
|
7361
7361
|
let oneStoreGetObjectInfosAdapter = undefined;
|
|
7362
|
+
/**
|
|
7363
|
+
* Determines when to include PDL strategies for Related Lists
|
|
7364
|
+
*/
|
|
7365
|
+
let relatedListsPredictionsEnabled = false;
|
|
7362
7366
|
/**
|
|
7363
7367
|
* Defines the configuration API and is exposed internally as well as externally.
|
|
7364
7368
|
* Configuration for one store enabled REST adapters only.
|
|
@@ -7434,6 +7438,12 @@ const configurationForRestAdapters = {
|
|
|
7434
7438
|
getDraftAwareCreateContentDocumentAndVersionAdapter: function () {
|
|
7435
7439
|
return draftAwareCreateContentDocumentAndVersionAdapter;
|
|
7436
7440
|
},
|
|
7441
|
+
setRelatedListsPredictionsEnabled: function (f) {
|
|
7442
|
+
relatedListsPredictionsEnabled = f;
|
|
7443
|
+
},
|
|
7444
|
+
areRelatedListsPredictionsEnabled: function () {
|
|
7445
|
+
return relatedListsPredictionsEnabled === true;
|
|
7446
|
+
},
|
|
7437
7447
|
// createContentVersion
|
|
7438
7448
|
setDraftAwareCreateContentVersionAdapter: function (adapter) {
|
|
7439
7449
|
draftAwareCreateContentVersionAdapter = adapter;
|
|
@@ -54478,6 +54488,29 @@ function getInContextFragmentType$d(fragment, fragmentMap) {
|
|
|
54478
54488
|
return sharedGetFragmentType(fragment, fragmentMap);
|
|
54479
54489
|
}
|
|
54480
54490
|
|
|
54491
|
+
function getFieldType$b(field) {
|
|
54492
|
+
const fieldName = field.name.value;
|
|
54493
|
+
switch (fieldName) {
|
|
54494
|
+
case '__typename': {
|
|
54495
|
+
return {
|
|
54496
|
+
isArray: false,
|
|
54497
|
+
typename: 'String',
|
|
54498
|
+
};
|
|
54499
|
+
}
|
|
54500
|
+
/*
|
|
54501
|
+
Probably should use metaschema like the RecordQuery graphql-artifact,
|
|
54502
|
+
but this type only has one generic type possible. Also, the most likely scenario for future schema additions,
|
|
54503
|
+
is UISDK adding the the parent of this type, Setup__Setup. Therefore, we will just default to SetupConnection so that
|
|
54504
|
+
query authors don't need to use metaschema when there's no real decision point in this type.
|
|
54505
|
+
*/
|
|
54506
|
+
default:
|
|
54507
|
+
return {
|
|
54508
|
+
isArray: false,
|
|
54509
|
+
typename: 'Setup__SetupConnection',
|
|
54510
|
+
};
|
|
54511
|
+
}
|
|
54512
|
+
}
|
|
54513
|
+
|
|
54481
54514
|
const name$2 = 'Setup__SetupQuery';
|
|
54482
54515
|
const VERSION$e = 'b89cccb5fa5e458d89dc1137af3e5469';
|
|
54483
54516
|
function keyBuilder$g(luvio, path, data) {
|
|
@@ -54595,24 +54628,6 @@ function getTypeCacheKeys$b(cacheKeySink, astNode, state) {
|
|
|
54595
54628
|
}
|
|
54596
54629
|
// Deal with mapped types' cache keys
|
|
54597
54630
|
}
|
|
54598
|
-
function getFieldType$b(field) {
|
|
54599
|
-
switch (field.name.value) {
|
|
54600
|
-
case '__typename': {
|
|
54601
|
-
return {
|
|
54602
|
-
isArray: false,
|
|
54603
|
-
typename: 'String'
|
|
54604
|
-
};
|
|
54605
|
-
}
|
|
54606
|
-
case 'recordQuery': {
|
|
54607
|
-
return {
|
|
54608
|
-
isArray: false,
|
|
54609
|
-
typename: 'Setup__SetupConnection'
|
|
54610
|
-
};
|
|
54611
|
-
}
|
|
54612
|
-
default:
|
|
54613
|
-
return undefined;
|
|
54614
|
-
}
|
|
54615
|
-
}
|
|
54616
54631
|
function ingestFieldByType$2(typename, parentKey, requestedField, sink, fieldKey, fieldData, state) {
|
|
54617
54632
|
// TODO: add validation logic to only allow nullable fields to be null in the future
|
|
54618
54633
|
if (fieldData === null) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lwc-adapters-uiapi",
|
|
3
|
-
"version": "1.287.0-
|
|
3
|
+
"version": "1.287.0-dev3",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "UIAPI adapters with LWC bindings",
|
|
6
6
|
"module": "dist/main.js",
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
"clean": "rm -rf dist src/generated"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@salesforce/lds-adapters-uiapi": "^1.287.0-
|
|
34
|
+
"@salesforce/lds-adapters-uiapi": "^1.287.0-dev3"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@luvio/lwc-luvio": "0.154.16",
|
|
38
|
-
"@salesforce/lds-default-luvio": "^1.287.0-
|
|
38
|
+
"@salesforce/lds-default-luvio": "^1.287.0-dev3"
|
|
39
39
|
}
|
|
40
40
|
}
|