@salesforce/lwc-adapters-uiapi 1.287.0-dev2 → 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 +23 -18
- package/package.json +3 -3
package/dist/main.js
CHANGED
|
@@ -54488,6 +54488,29 @@ function getInContextFragmentType$d(fragment, fragmentMap) {
|
|
|
54488
54488
|
return sharedGetFragmentType(fragment, fragmentMap);
|
|
54489
54489
|
}
|
|
54490
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
|
+
|
|
54491
54514
|
const name$2 = 'Setup__SetupQuery';
|
|
54492
54515
|
const VERSION$e = 'b89cccb5fa5e458d89dc1137af3e5469';
|
|
54493
54516
|
function keyBuilder$g(luvio, path, data) {
|
|
@@ -54605,24 +54628,6 @@ function getTypeCacheKeys$b(cacheKeySink, astNode, state) {
|
|
|
54605
54628
|
}
|
|
54606
54629
|
// Deal with mapped types' cache keys
|
|
54607
54630
|
}
|
|
54608
|
-
function getFieldType$b(field) {
|
|
54609
|
-
switch (field.name.value) {
|
|
54610
|
-
case '__typename': {
|
|
54611
|
-
return {
|
|
54612
|
-
isArray: false,
|
|
54613
|
-
typename: 'String'
|
|
54614
|
-
};
|
|
54615
|
-
}
|
|
54616
|
-
case 'recordQuery': {
|
|
54617
|
-
return {
|
|
54618
|
-
isArray: false,
|
|
54619
|
-
typename: 'Setup__SetupConnection'
|
|
54620
|
-
};
|
|
54621
|
-
}
|
|
54622
|
-
default:
|
|
54623
|
-
return undefined;
|
|
54624
|
-
}
|
|
54625
|
-
}
|
|
54626
54631
|
function ingestFieldByType$2(typename, parentKey, requestedField, sink, fieldKey, fieldData, state) {
|
|
54627
54632
|
// TODO: add validation logic to only allow nullable fields to be null in the future
|
|
54628
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
|
}
|