@salesforce/lds-adapters-uiapi 1.450.0 → 1.451.0-dev2
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
-
export declare const VERSION = "
|
|
2
|
+
export declare const VERSION = "3f49d751896cf66e6e29788d8880e2cc";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
5
5
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -47,8 +47,6 @@ export interface PlatformActionRepresentationNormalized {
|
|
|
47
47
|
label: string;
|
|
48
48
|
/** LWC Component associated with the action */
|
|
49
49
|
lwcComponent: string | null;
|
|
50
|
-
/** For Flexipage-backed Quick Actions, the FlexiPage's DeveloperName resolved server-side from QuickActionDefinition.ComponentId. */
|
|
51
|
-
pageDeveloperName: string | null;
|
|
52
50
|
/** Hex Color Code, such as 7F8DE1 */
|
|
53
51
|
primaryColor: string | null;
|
|
54
52
|
/** Represents the ID of a record in an object’s related list. */
|
|
@@ -63,10 +61,6 @@ export interface PlatformActionRepresentationNormalized {
|
|
|
63
61
|
subtype: string | null;
|
|
64
62
|
/** Target Object for the action */
|
|
65
63
|
targetObject: string | null;
|
|
66
|
-
/** The lookup field on the target object that points to the source (parent) record. For Quick Actions, resolved server-side from QuickActionDefinition.TargetField. */
|
|
67
|
-
targetParentField: string | null;
|
|
68
|
-
/** Target record type ID for the action. */
|
|
69
|
-
targetRecordTypeId: string | null;
|
|
70
64
|
/** Target URL for Custom Button Actions */
|
|
71
65
|
targetUrl: string | null;
|
|
72
66
|
/** The type of the action defined in PlatformActionTypeEnum */
|
|
@@ -91,7 +85,6 @@ export interface PlatformActionRepresentation {
|
|
|
91
85
|
isMassAction: string;
|
|
92
86
|
label: string;
|
|
93
87
|
lwcComponent: string | null;
|
|
94
|
-
pageDeveloperName: string | null;
|
|
95
88
|
primaryColor: string | null;
|
|
96
89
|
relatedListRecordId: string | null;
|
|
97
90
|
relatedSourceObject: string | null;
|
|
@@ -99,8 +92,6 @@ export interface PlatformActionRepresentation {
|
|
|
99
92
|
sourceObject: string;
|
|
100
93
|
subtype: string | null;
|
|
101
94
|
targetObject: string | null;
|
|
102
|
-
targetParentField: string | null;
|
|
103
|
-
targetRecordTypeId: string | null;
|
|
104
95
|
targetUrl: string | null;
|
|
105
96
|
type: string;
|
|
106
97
|
}
|
|
@@ -13087,7 +13087,7 @@ function coerceFormFactor(form) {
|
|
|
13087
13087
|
return undefined;
|
|
13088
13088
|
}
|
|
13089
13089
|
|
|
13090
|
-
const VERSION$2N = "
|
|
13090
|
+
const VERSION$2N = "3f49d751896cf66e6e29788d8880e2cc";
|
|
13091
13091
|
function validate$1A(obj, path = 'PlatformActionRepresentation') {
|
|
13092
13092
|
const v_error = (() => {
|
|
13093
13093
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -13227,32 +13227,6 @@ function validate$1A(obj, path = 'PlatformActionRepresentation') {
|
|
|
13227
13227
|
message += '\n' + obj_lwcComponent_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
13228
13228
|
return new TypeError(message);
|
|
13229
13229
|
}
|
|
13230
|
-
const obj_pageDeveloperName = obj.pageDeveloperName;
|
|
13231
|
-
const path_pageDeveloperName = path + '.pageDeveloperName';
|
|
13232
|
-
let obj_pageDeveloperName_union0 = null;
|
|
13233
|
-
const obj_pageDeveloperName_union0_error = (() => {
|
|
13234
|
-
if (typeof obj_pageDeveloperName !== 'string') {
|
|
13235
|
-
return new TypeError('Expected "string" but received "' + typeof obj_pageDeveloperName + '" (at "' + path_pageDeveloperName + '")');
|
|
13236
|
-
}
|
|
13237
|
-
})();
|
|
13238
|
-
if (obj_pageDeveloperName_union0_error != null) {
|
|
13239
|
-
obj_pageDeveloperName_union0 = obj_pageDeveloperName_union0_error.message;
|
|
13240
|
-
}
|
|
13241
|
-
let obj_pageDeveloperName_union1 = null;
|
|
13242
|
-
const obj_pageDeveloperName_union1_error = (() => {
|
|
13243
|
-
if (obj_pageDeveloperName !== null) {
|
|
13244
|
-
return new TypeError('Expected "null" but received "' + typeof obj_pageDeveloperName + '" (at "' + path_pageDeveloperName + '")');
|
|
13245
|
-
}
|
|
13246
|
-
})();
|
|
13247
|
-
if (obj_pageDeveloperName_union1_error != null) {
|
|
13248
|
-
obj_pageDeveloperName_union1 = obj_pageDeveloperName_union1_error.message;
|
|
13249
|
-
}
|
|
13250
|
-
if (obj_pageDeveloperName_union0 && obj_pageDeveloperName_union1) {
|
|
13251
|
-
let message = 'Object doesn\'t match union (at "' + path_pageDeveloperName + '")';
|
|
13252
|
-
message += '\n' + obj_pageDeveloperName_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
13253
|
-
message += '\n' + obj_pageDeveloperName_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
13254
|
-
return new TypeError(message);
|
|
13255
|
-
}
|
|
13256
13230
|
const obj_primaryColor = obj.primaryColor;
|
|
13257
13231
|
const path_primaryColor = path + '.primaryColor';
|
|
13258
13232
|
let obj_primaryColor_union0 = null;
|
|
@@ -13414,58 +13388,6 @@ function validate$1A(obj, path = 'PlatformActionRepresentation') {
|
|
|
13414
13388
|
message += '\n' + obj_targetObject_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
13415
13389
|
return new TypeError(message);
|
|
13416
13390
|
}
|
|
13417
|
-
const obj_targetParentField = obj.targetParentField;
|
|
13418
|
-
const path_targetParentField = path + '.targetParentField';
|
|
13419
|
-
let obj_targetParentField_union0 = null;
|
|
13420
|
-
const obj_targetParentField_union0_error = (() => {
|
|
13421
|
-
if (typeof obj_targetParentField !== 'string') {
|
|
13422
|
-
return new TypeError('Expected "string" but received "' + typeof obj_targetParentField + '" (at "' + path_targetParentField + '")');
|
|
13423
|
-
}
|
|
13424
|
-
})();
|
|
13425
|
-
if (obj_targetParentField_union0_error != null) {
|
|
13426
|
-
obj_targetParentField_union0 = obj_targetParentField_union0_error.message;
|
|
13427
|
-
}
|
|
13428
|
-
let obj_targetParentField_union1 = null;
|
|
13429
|
-
const obj_targetParentField_union1_error = (() => {
|
|
13430
|
-
if (obj_targetParentField !== null) {
|
|
13431
|
-
return new TypeError('Expected "null" but received "' + typeof obj_targetParentField + '" (at "' + path_targetParentField + '")');
|
|
13432
|
-
}
|
|
13433
|
-
})();
|
|
13434
|
-
if (obj_targetParentField_union1_error != null) {
|
|
13435
|
-
obj_targetParentField_union1 = obj_targetParentField_union1_error.message;
|
|
13436
|
-
}
|
|
13437
|
-
if (obj_targetParentField_union0 && obj_targetParentField_union1) {
|
|
13438
|
-
let message = 'Object doesn\'t match union (at "' + path_targetParentField + '")';
|
|
13439
|
-
message += '\n' + obj_targetParentField_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
13440
|
-
message += '\n' + obj_targetParentField_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
13441
|
-
return new TypeError(message);
|
|
13442
|
-
}
|
|
13443
|
-
const obj_targetRecordTypeId = obj.targetRecordTypeId;
|
|
13444
|
-
const path_targetRecordTypeId = path + '.targetRecordTypeId';
|
|
13445
|
-
let obj_targetRecordTypeId_union0 = null;
|
|
13446
|
-
const obj_targetRecordTypeId_union0_error = (() => {
|
|
13447
|
-
if (typeof obj_targetRecordTypeId !== 'string') {
|
|
13448
|
-
return new TypeError('Expected "string" but received "' + typeof obj_targetRecordTypeId + '" (at "' + path_targetRecordTypeId + '")');
|
|
13449
|
-
}
|
|
13450
|
-
})();
|
|
13451
|
-
if (obj_targetRecordTypeId_union0_error != null) {
|
|
13452
|
-
obj_targetRecordTypeId_union0 = obj_targetRecordTypeId_union0_error.message;
|
|
13453
|
-
}
|
|
13454
|
-
let obj_targetRecordTypeId_union1 = null;
|
|
13455
|
-
const obj_targetRecordTypeId_union1_error = (() => {
|
|
13456
|
-
if (obj_targetRecordTypeId !== null) {
|
|
13457
|
-
return new TypeError('Expected "null" but received "' + typeof obj_targetRecordTypeId + '" (at "' + path_targetRecordTypeId + '")');
|
|
13458
|
-
}
|
|
13459
|
-
})();
|
|
13460
|
-
if (obj_targetRecordTypeId_union1_error != null) {
|
|
13461
|
-
obj_targetRecordTypeId_union1 = obj_targetRecordTypeId_union1_error.message;
|
|
13462
|
-
}
|
|
13463
|
-
if (obj_targetRecordTypeId_union0 && obj_targetRecordTypeId_union1) {
|
|
13464
|
-
let message = 'Object doesn\'t match union (at "' + path_targetRecordTypeId + '")';
|
|
13465
|
-
message += '\n' + obj_targetRecordTypeId_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
13466
|
-
message += '\n' + obj_targetRecordTypeId_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
13467
|
-
return new TypeError(message);
|
|
13468
|
-
}
|
|
13469
13391
|
const obj_targetUrl = obj.targetUrl;
|
|
13470
13392
|
const path_targetUrl = path + '.targetUrl';
|
|
13471
13393
|
let obj_targetUrl_union0 = null;
|
|
@@ -13559,10 +13481,6 @@ const select$3q = function PlatformActionRepresentationSelect() {
|
|
|
13559
13481
|
name: 'lwcComponent',
|
|
13560
13482
|
kind: 'Scalar'
|
|
13561
13483
|
},
|
|
13562
|
-
{
|
|
13563
|
-
name: 'pageDeveloperName',
|
|
13564
|
-
kind: 'Scalar'
|
|
13565
|
-
},
|
|
13566
13484
|
{
|
|
13567
13485
|
name: 'primaryColor',
|
|
13568
13486
|
kind: 'Scalar'
|
|
@@ -13591,14 +13509,6 @@ const select$3q = function PlatformActionRepresentationSelect() {
|
|
|
13591
13509
|
name: 'targetObject',
|
|
13592
13510
|
kind: 'Scalar'
|
|
13593
13511
|
},
|
|
13594
|
-
{
|
|
13595
|
-
name: 'targetParentField',
|
|
13596
|
-
kind: 'Scalar'
|
|
13597
|
-
},
|
|
13598
|
-
{
|
|
13599
|
-
name: 'targetRecordTypeId',
|
|
13600
|
-
kind: 'Scalar'
|
|
13601
|
-
},
|
|
13602
13512
|
{
|
|
13603
13513
|
name: 'targetUrl',
|
|
13604
13514
|
kind: 'Scalar'
|
|
@@ -13671,11 +13581,6 @@ function equals$W(existing, incoming) {
|
|
|
13671
13581
|
if (!(existing_lwcComponent === incoming_lwcComponent)) {
|
|
13672
13582
|
return false;
|
|
13673
13583
|
}
|
|
13674
|
-
const existing_pageDeveloperName = existing.pageDeveloperName;
|
|
13675
|
-
const incoming_pageDeveloperName = incoming.pageDeveloperName;
|
|
13676
|
-
if (!(existing_pageDeveloperName === incoming_pageDeveloperName)) {
|
|
13677
|
-
return false;
|
|
13678
|
-
}
|
|
13679
13584
|
const existing_primaryColor = existing.primaryColor;
|
|
13680
13585
|
const incoming_primaryColor = incoming.primaryColor;
|
|
13681
13586
|
if (!(existing_primaryColor === incoming_primaryColor)) {
|
|
@@ -13706,16 +13611,6 @@ function equals$W(existing, incoming) {
|
|
|
13706
13611
|
if (!(existing_targetObject === incoming_targetObject)) {
|
|
13707
13612
|
return false;
|
|
13708
13613
|
}
|
|
13709
|
-
const existing_targetParentField = existing.targetParentField;
|
|
13710
|
-
const incoming_targetParentField = incoming.targetParentField;
|
|
13711
|
-
if (!(existing_targetParentField === incoming_targetParentField)) {
|
|
13712
|
-
return false;
|
|
13713
|
-
}
|
|
13714
|
-
const existing_targetRecordTypeId = existing.targetRecordTypeId;
|
|
13715
|
-
const incoming_targetRecordTypeId = incoming.targetRecordTypeId;
|
|
13716
|
-
if (!(existing_targetRecordTypeId === incoming_targetRecordTypeId)) {
|
|
13717
|
-
return false;
|
|
13718
|
-
}
|
|
13719
13614
|
const existing_targetUrl = existing.targetUrl;
|
|
13720
13615
|
const incoming_targetUrl = incoming.targetUrl;
|
|
13721
13616
|
if (!(existing_targetUrl === incoming_targetUrl)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-uiapi",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.451.0-dev2",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "Wire adapters for record related UI API endpoints",
|
|
6
6
|
"type": "module",
|
|
@@ -28,18 +28,13 @@
|
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
30
|
"scripts": {
|
|
31
|
-
"clean": "rm -rf dist sfdc src/generated
|
|
31
|
+
"clean": "rm -rf dist sfdc src/generated src/__performance__/data/*/",
|
|
32
32
|
"build": "yarn build:services",
|
|
33
|
-
"build:karma": "rollup --bundleConfigAsCjs --config rollup.config.karma.js",
|
|
34
33
|
"build:raml": "luvio generate src/raml/luvio.raml src/generated -p './scripts/lds-uiapi-plugin.cjs'",
|
|
35
34
|
"build:services": "rollup --bundleConfigAsCjs --config rollup.config.js --no-makeAbsoluteExternalsRelative",
|
|
36
35
|
"build:raml:debug": "node --inspect-brk ../../node_modules/.bin/luvio generate src/raml/luvio.raml src/generated -p './scripts/lds-uiapi-plugin.cjs'",
|
|
37
36
|
"build:supported-entities": "node ./scripts/generate-supported-entities.cjs",
|
|
38
|
-
"start": "nx build:karma && karma start",
|
|
39
|
-
"start:tracked-fields-config": "nx build:karma && karma start karma-tracked-fields.conf.cjs",
|
|
40
37
|
"test:perf": "best",
|
|
41
|
-
"test": "nx build:karma && karma start karma-tracked-fields.conf.cjs --single-run && karma start karma.conf.cjs --single-run",
|
|
42
|
-
"test:headless": "nx build:karma && karma start karma-tracked-fields.conf.js --single-run --browsers ChromeHeadless && karma start --single-run --browsers ChromeHeadless",
|
|
43
38
|
"test:unit": "jest --config=./jest.config.cjs",
|
|
44
39
|
"test:priming:perf": "jest --config=./priming.jest.config.cjs",
|
|
45
40
|
"test:unit:debug": "node --inspect-brk ../../node_modules/.bin/jest --runInBand",
|
|
@@ -68,14 +63,14 @@
|
|
|
68
63
|
},
|
|
69
64
|
"dependencies": {
|
|
70
65
|
"@luvio/graphql-parser": "0.161.0",
|
|
71
|
-
"@salesforce/lds-bindings": "^1.
|
|
72
|
-
"@salesforce/lds-default-luvio": "^1.
|
|
66
|
+
"@salesforce/lds-bindings": "^1.451.0-dev2",
|
|
67
|
+
"@salesforce/lds-default-luvio": "^1.451.0-dev2"
|
|
73
68
|
},
|
|
74
69
|
"devDependencies": {
|
|
75
|
-
"@salesforce/lds-adapters-onestore-graphql": "^1.
|
|
76
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
77
|
-
"@salesforce/lds-jest": "^1.
|
|
78
|
-
"@salesforce/lds-store-binary": "^1.
|
|
70
|
+
"@salesforce/lds-adapters-onestore-graphql": "^1.451.0-dev2",
|
|
71
|
+
"@salesforce/lds-compiler-plugins": "^1.451.0-dev2",
|
|
72
|
+
"@salesforce/lds-jest": "^1.451.0-dev2",
|
|
73
|
+
"@salesforce/lds-store-binary": "^1.451.0-dev2"
|
|
79
74
|
},
|
|
80
75
|
"luvioBundlesize": [
|
|
81
76
|
{
|
|
@@ -119,11 +114,6 @@
|
|
|
119
114
|
"outputs": [
|
|
120
115
|
"{projectRoot}/src/generated"
|
|
121
116
|
]
|
|
122
|
-
},
|
|
123
|
-
"build:karma": {
|
|
124
|
-
"outputs": [
|
|
125
|
-
"{projectRoot}/karma/dist"
|
|
126
|
-
]
|
|
127
117
|
}
|
|
128
118
|
}
|
|
129
119
|
},
|
package/sfdc/graphqlAdapters.js
CHANGED
|
@@ -28845,4 +28845,4 @@ register({
|
|
|
28845
28845
|
});
|
|
28846
28846
|
|
|
28847
28847
|
export { configurationForGraphQLAdapters as configuration, graphql, factory$1 as graphqlAdapterFactory, graphqlBatch, graphqlBatch_imperative, graphql_deprecated, graphql_imperative, graphql_imperative_deprecated, graphql_imperative_onestore, graphql_onestore, graphql_state_manager, refreshGraphQL, refreshGraphQL_deprecated };
|
|
28848
|
-
// version: 1.
|
|
28848
|
+
// version: 1.451.0-dev2-312b888699
|
package/sfdc/index.js
CHANGED
|
@@ -12722,7 +12722,7 @@ function coerceFormFactor(form) {
|
|
|
12722
12722
|
return undefined;
|
|
12723
12723
|
}
|
|
12724
12724
|
|
|
12725
|
-
const VERSION$10 = "
|
|
12725
|
+
const VERSION$10 = "3f49d751896cf66e6e29788d8880e2cc";
|
|
12726
12726
|
function validate$1w(obj, path = 'PlatformActionRepresentation') {
|
|
12727
12727
|
const v_error = (() => {
|
|
12728
12728
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -12862,32 +12862,6 @@ function validate$1w(obj, path = 'PlatformActionRepresentation') {
|
|
|
12862
12862
|
message += '\n' + obj_lwcComponent_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
12863
12863
|
return new TypeError(message);
|
|
12864
12864
|
}
|
|
12865
|
-
const obj_pageDeveloperName = obj.pageDeveloperName;
|
|
12866
|
-
const path_pageDeveloperName = path + '.pageDeveloperName';
|
|
12867
|
-
let obj_pageDeveloperName_union0 = null;
|
|
12868
|
-
const obj_pageDeveloperName_union0_error = (() => {
|
|
12869
|
-
if (typeof obj_pageDeveloperName !== 'string') {
|
|
12870
|
-
return new TypeError('Expected "string" but received "' + typeof obj_pageDeveloperName + '" (at "' + path_pageDeveloperName + '")');
|
|
12871
|
-
}
|
|
12872
|
-
})();
|
|
12873
|
-
if (obj_pageDeveloperName_union0_error != null) {
|
|
12874
|
-
obj_pageDeveloperName_union0 = obj_pageDeveloperName_union0_error.message;
|
|
12875
|
-
}
|
|
12876
|
-
let obj_pageDeveloperName_union1 = null;
|
|
12877
|
-
const obj_pageDeveloperName_union1_error = (() => {
|
|
12878
|
-
if (obj_pageDeveloperName !== null) {
|
|
12879
|
-
return new TypeError('Expected "null" but received "' + typeof obj_pageDeveloperName + '" (at "' + path_pageDeveloperName + '")');
|
|
12880
|
-
}
|
|
12881
|
-
})();
|
|
12882
|
-
if (obj_pageDeveloperName_union1_error != null) {
|
|
12883
|
-
obj_pageDeveloperName_union1 = obj_pageDeveloperName_union1_error.message;
|
|
12884
|
-
}
|
|
12885
|
-
if (obj_pageDeveloperName_union0 && obj_pageDeveloperName_union1) {
|
|
12886
|
-
let message = 'Object doesn\'t match union (at "' + path_pageDeveloperName + '")';
|
|
12887
|
-
message += '\n' + obj_pageDeveloperName_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
12888
|
-
message += '\n' + obj_pageDeveloperName_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
12889
|
-
return new TypeError(message);
|
|
12890
|
-
}
|
|
12891
12865
|
const obj_primaryColor = obj.primaryColor;
|
|
12892
12866
|
const path_primaryColor = path + '.primaryColor';
|
|
12893
12867
|
let obj_primaryColor_union0 = null;
|
|
@@ -13049,58 +13023,6 @@ function validate$1w(obj, path = 'PlatformActionRepresentation') {
|
|
|
13049
13023
|
message += '\n' + obj_targetObject_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
13050
13024
|
return new TypeError(message);
|
|
13051
13025
|
}
|
|
13052
|
-
const obj_targetParentField = obj.targetParentField;
|
|
13053
|
-
const path_targetParentField = path + '.targetParentField';
|
|
13054
|
-
let obj_targetParentField_union0 = null;
|
|
13055
|
-
const obj_targetParentField_union0_error = (() => {
|
|
13056
|
-
if (typeof obj_targetParentField !== 'string') {
|
|
13057
|
-
return new TypeError('Expected "string" but received "' + typeof obj_targetParentField + '" (at "' + path_targetParentField + '")');
|
|
13058
|
-
}
|
|
13059
|
-
})();
|
|
13060
|
-
if (obj_targetParentField_union0_error != null) {
|
|
13061
|
-
obj_targetParentField_union0 = obj_targetParentField_union0_error.message;
|
|
13062
|
-
}
|
|
13063
|
-
let obj_targetParentField_union1 = null;
|
|
13064
|
-
const obj_targetParentField_union1_error = (() => {
|
|
13065
|
-
if (obj_targetParentField !== null) {
|
|
13066
|
-
return new TypeError('Expected "null" but received "' + typeof obj_targetParentField + '" (at "' + path_targetParentField + '")');
|
|
13067
|
-
}
|
|
13068
|
-
})();
|
|
13069
|
-
if (obj_targetParentField_union1_error != null) {
|
|
13070
|
-
obj_targetParentField_union1 = obj_targetParentField_union1_error.message;
|
|
13071
|
-
}
|
|
13072
|
-
if (obj_targetParentField_union0 && obj_targetParentField_union1) {
|
|
13073
|
-
let message = 'Object doesn\'t match union (at "' + path_targetParentField + '")';
|
|
13074
|
-
message += '\n' + obj_targetParentField_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
13075
|
-
message += '\n' + obj_targetParentField_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
13076
|
-
return new TypeError(message);
|
|
13077
|
-
}
|
|
13078
|
-
const obj_targetRecordTypeId = obj.targetRecordTypeId;
|
|
13079
|
-
const path_targetRecordTypeId = path + '.targetRecordTypeId';
|
|
13080
|
-
let obj_targetRecordTypeId_union0 = null;
|
|
13081
|
-
const obj_targetRecordTypeId_union0_error = (() => {
|
|
13082
|
-
if (typeof obj_targetRecordTypeId !== 'string') {
|
|
13083
|
-
return new TypeError('Expected "string" but received "' + typeof obj_targetRecordTypeId + '" (at "' + path_targetRecordTypeId + '")');
|
|
13084
|
-
}
|
|
13085
|
-
})();
|
|
13086
|
-
if (obj_targetRecordTypeId_union0_error != null) {
|
|
13087
|
-
obj_targetRecordTypeId_union0 = obj_targetRecordTypeId_union0_error.message;
|
|
13088
|
-
}
|
|
13089
|
-
let obj_targetRecordTypeId_union1 = null;
|
|
13090
|
-
const obj_targetRecordTypeId_union1_error = (() => {
|
|
13091
|
-
if (obj_targetRecordTypeId !== null) {
|
|
13092
|
-
return new TypeError('Expected "null" but received "' + typeof obj_targetRecordTypeId + '" (at "' + path_targetRecordTypeId + '")');
|
|
13093
|
-
}
|
|
13094
|
-
})();
|
|
13095
|
-
if (obj_targetRecordTypeId_union1_error != null) {
|
|
13096
|
-
obj_targetRecordTypeId_union1 = obj_targetRecordTypeId_union1_error.message;
|
|
13097
|
-
}
|
|
13098
|
-
if (obj_targetRecordTypeId_union0 && obj_targetRecordTypeId_union1) {
|
|
13099
|
-
let message = 'Object doesn\'t match union (at "' + path_targetRecordTypeId + '")';
|
|
13100
|
-
message += '\n' + obj_targetRecordTypeId_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
13101
|
-
message += '\n' + obj_targetRecordTypeId_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
13102
|
-
return new TypeError(message);
|
|
13103
|
-
}
|
|
13104
13026
|
const obj_targetUrl = obj.targetUrl;
|
|
13105
13027
|
const path_targetUrl = path + '.targetUrl';
|
|
13106
13028
|
let obj_targetUrl_union0 = null;
|
|
@@ -13194,10 +13116,6 @@ const select$1G = function PlatformActionRepresentationSelect() {
|
|
|
13194
13116
|
name: 'lwcComponent',
|
|
13195
13117
|
kind: 'Scalar'
|
|
13196
13118
|
},
|
|
13197
|
-
{
|
|
13198
|
-
name: 'pageDeveloperName',
|
|
13199
|
-
kind: 'Scalar'
|
|
13200
|
-
},
|
|
13201
13119
|
{
|
|
13202
13120
|
name: 'primaryColor',
|
|
13203
13121
|
kind: 'Scalar'
|
|
@@ -13226,14 +13144,6 @@ const select$1G = function PlatformActionRepresentationSelect() {
|
|
|
13226
13144
|
name: 'targetObject',
|
|
13227
13145
|
kind: 'Scalar'
|
|
13228
13146
|
},
|
|
13229
|
-
{
|
|
13230
|
-
name: 'targetParentField',
|
|
13231
|
-
kind: 'Scalar'
|
|
13232
|
-
},
|
|
13233
|
-
{
|
|
13234
|
-
name: 'targetRecordTypeId',
|
|
13235
|
-
kind: 'Scalar'
|
|
13236
|
-
},
|
|
13237
13147
|
{
|
|
13238
13148
|
name: 'targetUrl',
|
|
13239
13149
|
kind: 'Scalar'
|
|
@@ -13306,11 +13216,6 @@ function equals$S(existing, incoming) {
|
|
|
13306
13216
|
if (!(existing_lwcComponent === incoming_lwcComponent)) {
|
|
13307
13217
|
return false;
|
|
13308
13218
|
}
|
|
13309
|
-
const existing_pageDeveloperName = existing.pageDeveloperName;
|
|
13310
|
-
const incoming_pageDeveloperName = incoming.pageDeveloperName;
|
|
13311
|
-
if (!(existing_pageDeveloperName === incoming_pageDeveloperName)) {
|
|
13312
|
-
return false;
|
|
13313
|
-
}
|
|
13314
13219
|
const existing_primaryColor = existing.primaryColor;
|
|
13315
13220
|
const incoming_primaryColor = incoming.primaryColor;
|
|
13316
13221
|
if (!(existing_primaryColor === incoming_primaryColor)) {
|
|
@@ -13341,16 +13246,6 @@ function equals$S(existing, incoming) {
|
|
|
13341
13246
|
if (!(existing_targetObject === incoming_targetObject)) {
|
|
13342
13247
|
return false;
|
|
13343
13248
|
}
|
|
13344
|
-
const existing_targetParentField = existing.targetParentField;
|
|
13345
|
-
const incoming_targetParentField = incoming.targetParentField;
|
|
13346
|
-
if (!(existing_targetParentField === incoming_targetParentField)) {
|
|
13347
|
-
return false;
|
|
13348
|
-
}
|
|
13349
|
-
const existing_targetRecordTypeId = existing.targetRecordTypeId;
|
|
13350
|
-
const incoming_targetRecordTypeId = incoming.targetRecordTypeId;
|
|
13351
|
-
if (!(existing_targetRecordTypeId === incoming_targetRecordTypeId)) {
|
|
13352
|
-
return false;
|
|
13353
|
-
}
|
|
13354
13249
|
const existing_targetUrl = existing.targetUrl;
|
|
13355
13250
|
const incoming_targetUrl = incoming.targetUrl;
|
|
13356
13251
|
if (!(existing_targetUrl === incoming_targetUrl)) {
|
|
@@ -37606,4 +37501,4 @@ withDefaultLuvio((luvio) => {
|
|
|
37606
37501
|
});
|
|
37607
37502
|
|
|
37608
37503
|
export { API_NAMESPACE, VERSION$1i as FieldValueRepresentationVersion, InMemoryRecordRepresentationQueryEvaluator, MRU, RepresentationType$J as ObjectInfoDirectoryEntryRepresentationType, RepresentationType$O as ObjectInfoRepresentationType, RECORD_FIELDS_KEY_JUNCTION, RECORD_ID_PREFIX, RECORD_REPRESENTATION_NAME, RECORD_VIEW_ENTITY_ID_PREFIX, RECORD_VIEW_ENTITY_REPRESENTATION_NAME, RepresentationType$V as RecordRepresentationRepresentationType, TTL$z as RecordRepresentationTTL, RepresentationType$V as RecordRepresentationType, VERSION$1g as RecordRepresentationVersion, keyPrefix as UiApiNamespace, buildRecordRepKeyFromId, getFieldApiNamesArray as coerceFieldIdArray, coerceLayoutModeArray, getLayoutTypeArray as coerceLayoutTypeArray, getObjectApiName$1 as coerceObjectId, getObjectApiNamesArray as coerceObjectIdArray, configurationForRestAdapters as configuration, createContentDocumentAndVersion, createContentVersion, createIngestRecordWithFields, createLDSAdapterWithPrediction, createListInfo, createRecord, deleteListInfo, deleteRecord, executeBatchRecordOperations, extractRecordIdFromStoreKey, getActionOverrides, getActionOverrides_imperative, getAllApps, getAllApps_imperative, getAppDetails, getAppDetails_imperative, getDuplicateConfiguration, getDuplicateConfiguration_imperative, getDuplicates, getDuplicates_imperative, getFlexipageFormulaOverrides, getFlexipageFormulaOverrides_imperative, getGlobalActions, getGlobalActions_imperative, getKeywordSearchResults, getKeywordSearchResults_imperative, getLayout, getLayoutUserState, getLayoutUserState_imperative, getLayout_imperative, getListInfoByName, getListInfoByNameAdapterFactory, getListInfoByName_imperative, getListInfosByName, getListInfosByName_imperative, getListInfosByObjectName, getListInfosByObjectNameAdapterFactory, getListInfosByObjectName_imperative, getListObjectInfo, getListObjectInfoAdapterFactory, getListObjectInfo_imperative, getListPreferences, getListPreferences_imperative, getListRecordsByName, factory$a as getListRecordsByNameAdapterFactory, getListRecordsByName_imperative, getListUi, getListUi_imperative, getLookupActions, getLookupActions_imperative, getLookupMetadata, getLookupMetadata_imperative, getLookupRecords, getLookupRecords_imperative, getNavItems, getNavItems_imperative, getObjectCreateActions, getObjectCreateActions_imperative, getObjectInfo, getObjectInfoAdapterFactory, getObjectInfoDirectoryAdapterFactory, getObjectInfo_imperative, getObjectInfos, getObjectInfosAdapterFactory, getObjectInfos_imperative, getPathLayout, getPathLayout_imperative, getPicklistValues, getPicklistValuesByRecordType, getPicklistValuesByRecordType_imperative, getPicklistValues_imperative, getQuickActionDefaults, getQuickActionDefaults_imperative, getQuickActionInfo, getQuickActionInfo_imperative, getQuickActionLayout, getQuickActionLayout_imperative, getRecord, getRecordActions, getRecordActionsAdapterFactory, getRecordActions_imperative, factory$f as getRecordAdapterFactory, getRecordAvatars, getRecordAvatarsAdapterFactory, getRecordAvatars_imperative, getRecordCreateDefaults, getRecordCreateDefaults_imperative, getRecordEditActions, getRecordEditActions_imperative, getRecordId18, getRecordId18Array, getRecordIngestionOverride, getRecordNotifyChange, getRecordTemplateClone, getRecordTemplateClone_imperative, getRecordTemplateCreate, getRecordTemplateCreate_imperative, getRecordUi, getRecordUi_imperative, getRecord_imperative, getRecords, getRecordsAdapterFactory, getRecords_imperative, getRelatedListActions, getRelatedListActionsAdapterFactory, getRelatedListActions_imperative, getRelatedListCount, getRelatedListCount_imperative, getRelatedListInfo, getRelatedListInfoAdapterFactory, getRelatedListInfoBatch, getRelatedListInfoBatchAdapterFactory, getRelatedListInfoBatch_imperative, getRelatedListInfo_imperative, getRelatedListPreferences, getRelatedListPreferencesBatch, getRelatedListPreferencesBatch_imperative, getRelatedListPreferences_imperative, getRelatedListRecordActions, getRelatedListRecordActions_imperative, getRelatedListRecords, getRelatedListRecordsAdapterFactory, getRelatedListRecordsBatch, getRelatedListRecordsBatchAdapterFactory, getRelatedListRecordsBatch_imperative, getRelatedListRecords_imperative, getRelatedListsActions, getRelatedListsActionsAdapterFactory, getRelatedListsActions_imperative, getRelatedListsCount, getRelatedListsCount_imperative, getRelatedListsInfo, getRelatedListsInfoAdapterFactory, getRelatedListsInfo_imperative, getResponseCacheKeys as getResponseCacheKeysContentDocumentCompositeRepresentation, getSearchFilterMetadata, getSearchFilterMetadata_imperative, getSearchFilterOptions, getSearchFilterOptions_imperative, getSearchResults, getSearchResults_imperative, getTypeCacheKeys$X as getTypeCacheKeysRecord, ingest as ingestContentDocumentCompositeRepresentation, ingest$H as ingestObjectInfo, ingest$B as ingestQuickActionExecutionRepresentation, ingest$O as ingestRecord, instrument, isStoreKeyRecordViewEntity, keyBuilder as keyBuilderContentDocumentCompositeRepresentation, keyBuilderFromType as keyBuilderFromTypeContentDocumentCompositeRepresentation, keyBuilderFromType$E as keyBuilderFromTypeRecordRepresentation, keyBuilder$1Y as keyBuilderObjectInfo, keyBuilder$1R as keyBuilderQuickActionExecutionRepresentation, keyBuilder$29 as keyBuilderRecord, notifyAllListInfoSummaryUpdateAvailable, notifyAllListRecordUpdateAvailable, notifyListInfoSummaryUpdateAvailable, notifyListInfoUpdateAvailable, notifyListRecordCollectionUpdateAvailable, notifyListViewSummaryUpdateAvailable, notifyQuickActionDefaultsUpdateAvailable, notifyRecordUpdateAvailable, performQuickAction, performUpdateRecordQuickAction, refresh, registerPrefetcher, updateLayoutUserState, updateListInfoByName, updateListPreferences, updateRecord, updateRecordAvatar, updateRelatedListInfo, updateRelatedListPreferences };
|
|
37609
|
-
// version: 1.
|
|
37504
|
+
// version: 1.451.0-dev2-312b888699
|
package/src/raml/api.raml
CHANGED
|
@@ -585,7 +585,7 @@ types:
|
|
|
585
585
|
label:
|
|
586
586
|
description: Label
|
|
587
587
|
type: string
|
|
588
|
-
# TODO: W-16501527 causes testing error
|
|
588
|
+
# TODO: W-16501527 causes a testing error, needs to be handled before un-commenting.
|
|
589
589
|
# DirectAnswerResultRepresentation:
|
|
590
590
|
# description: Direct Answer Result Response
|
|
591
591
|
# type: object
|
|
@@ -1344,7 +1344,7 @@ types:
|
|
|
1344
1344
|
description: Keyword Search Results Response
|
|
1345
1345
|
type: object
|
|
1346
1346
|
properties:
|
|
1347
|
-
# TODO: W-16501527 causes testing error
|
|
1347
|
+
# TODO: W-16501527 causes a testing error, needs to be handled before un-commenting.
|
|
1348
1348
|
# hasNoResult:
|
|
1349
1349
|
# description: Indicates that no results were found
|
|
1350
1350
|
# type: boolean | nil
|
|
@@ -3045,9 +3045,6 @@ types:
|
|
|
3045
3045
|
lwcComponent:
|
|
3046
3046
|
description: LWC Component associated with the action
|
|
3047
3047
|
type: string | nil
|
|
3048
|
-
pageDeveloperName:
|
|
3049
|
-
description: For Flexipage-backed Quick Actions, the FlexiPage's DeveloperName resolved server-side from QuickActionDefinition.ComponentId.
|
|
3050
|
-
type: string | nil
|
|
3051
3048
|
primaryColor:
|
|
3052
3049
|
description: Hex Color Code, such as 7F8DE1
|
|
3053
3050
|
type: string | nil
|
|
@@ -3076,12 +3073,6 @@ types:
|
|
|
3076
3073
|
targetObject:
|
|
3077
3074
|
description: Target Object for the action
|
|
3078
3075
|
type: string | nil
|
|
3079
|
-
targetParentField:
|
|
3080
|
-
description: The lookup field on the target object that points to the source (parent) record. For Quick Actions, resolved server-side from QuickActionDefinition.TargetField.
|
|
3081
|
-
type: string | nil
|
|
3082
|
-
targetRecordTypeId:
|
|
3083
|
-
description: Target record type ID for the action.
|
|
3084
|
-
type: string | nil
|
|
3085
3076
|
targetUrl:
|
|
3086
3077
|
description: Target URL for Custom Button Actions
|
|
3087
3078
|
type: string | nil
|
|
@@ -4542,7 +4533,7 @@ types:
|
|
|
4542
4533
|
type: array
|
|
4543
4534
|
items:
|
|
4544
4535
|
type: AppliedSearchFilterOutputRepresentation
|
|
4545
|
-
# TODO: W-16501527 causes testing error
|
|
4536
|
+
# TODO: W-16501527 causes a testing error, needs to be handled before un-commenting.
|
|
4546
4537
|
# hasNoResult:
|
|
4547
4538
|
# description: Indicates that no results were found
|
|
4548
4539
|
# type: boolean | nil
|
|
@@ -4895,7 +4886,7 @@ types:
|
|
|
4895
4886
|
items:
|
|
4896
4887
|
type: string
|
|
4897
4888
|
enum:
|
|
4898
|
-
# - DirectAnswerResult # TODO: W-16501527 causes testing error
|
|
4889
|
+
# - DirectAnswerResult # TODO: W-16501527 causes a testing error, needs to be handled before un-commenting.
|
|
4899
4890
|
- KeywordSearchResults
|
|
4900
4891
|
- NlsResults
|
|
4901
4892
|
- QnAResult
|
|
@@ -4979,7 +4970,7 @@ types:
|
|
|
4979
4970
|
configurationName:
|
|
4980
4971
|
description: Configuration Name to be applied
|
|
4981
4972
|
type: string | nil
|
|
4982
|
-
# TODO: W-16501527 causes testing error
|
|
4973
|
+
# TODO: W-16501527 causes a testing error, needs to be handled before un-commenting.
|
|
4983
4974
|
# directAnswerResult:
|
|
4984
4975
|
# description: Direct Answer Response
|
|
4985
4976
|
# type: DirectAnswerResultRepresentation | nil
|