@salesforce/lds-adapters-uiapi 1.451.0-dev1 → 1.451.0-dev11
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/types/src/generated/types/PlatformActionRepresentation.d.ts +1 -10
- package/dist/es/es2018/types/src/generated/types/RecordLayoutSaveOptionRepresentation.d.ts +3 -3
- package/dist/es/es2018/uiapi-records-service.js +24 -108
- package/package.json +8 -8
- package/sfdc/graphqlAdapters.js +1 -1
- package/sfdc/index.js +25 -109
- package/sfdc/uiapi-static-functions.js +1 -1
- package/src/raml/api.raml +1 -10
|
@@ -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
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
-
export declare const VERSION = "
|
|
2
|
+
export declare const VERSION = "0cf134254ce2ee7273137106534e73a3";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
5
5
|
export declare function normalize(input: RecordLayoutSaveOptionRepresentation, existing: RecordLayoutSaveOptionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): RecordLayoutSaveOptionRepresentationNormalized;
|
|
@@ -23,7 +23,7 @@ export interface RecordLayoutSaveOptionRepresentationNormalized {
|
|
|
23
23
|
/** Name of the save option. */
|
|
24
24
|
name: string;
|
|
25
25
|
/** Rest Header Name of the save option. */
|
|
26
|
-
restHeaderName: string;
|
|
26
|
+
restHeaderName: string | null;
|
|
27
27
|
/** Soap Header Name of the save option. */
|
|
28
28
|
soapHeaderName: string;
|
|
29
29
|
}
|
|
@@ -38,6 +38,6 @@ export interface RecordLayoutSaveOptionRepresentation {
|
|
|
38
38
|
isDisplayed: boolean;
|
|
39
39
|
label: string;
|
|
40
40
|
name: string;
|
|
41
|
-
restHeaderName: string;
|
|
41
|
+
restHeaderName: string | null;
|
|
42
42
|
soapHeaderName: string;
|
|
43
43
|
}
|
|
@@ -10336,8 +10336,29 @@ function validate$1N(obj, path = 'RecordLayoutSaveOptionRepresentation') {
|
|
|
10336
10336
|
}
|
|
10337
10337
|
const obj_restHeaderName = obj.restHeaderName;
|
|
10338
10338
|
const path_restHeaderName = path + '.restHeaderName';
|
|
10339
|
-
|
|
10340
|
-
|
|
10339
|
+
let obj_restHeaderName_union0 = null;
|
|
10340
|
+
const obj_restHeaderName_union0_error = (() => {
|
|
10341
|
+
if (typeof obj_restHeaderName !== 'string') {
|
|
10342
|
+
return new TypeError('Expected "string" but received "' + typeof obj_restHeaderName + '" (at "' + path_restHeaderName + '")');
|
|
10343
|
+
}
|
|
10344
|
+
})();
|
|
10345
|
+
if (obj_restHeaderName_union0_error != null) {
|
|
10346
|
+
obj_restHeaderName_union0 = obj_restHeaderName_union0_error.message;
|
|
10347
|
+
}
|
|
10348
|
+
let obj_restHeaderName_union1 = null;
|
|
10349
|
+
const obj_restHeaderName_union1_error = (() => {
|
|
10350
|
+
if (obj_restHeaderName !== null) {
|
|
10351
|
+
return new TypeError('Expected "null" but received "' + typeof obj_restHeaderName + '" (at "' + path_restHeaderName + '")');
|
|
10352
|
+
}
|
|
10353
|
+
})();
|
|
10354
|
+
if (obj_restHeaderName_union1_error != null) {
|
|
10355
|
+
obj_restHeaderName_union1 = obj_restHeaderName_union1_error.message;
|
|
10356
|
+
}
|
|
10357
|
+
if (obj_restHeaderName_union0 && obj_restHeaderName_union1) {
|
|
10358
|
+
let message = 'Object doesn\'t match union (at "' + path_restHeaderName + '")';
|
|
10359
|
+
message += '\n' + obj_restHeaderName_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
10360
|
+
message += '\n' + obj_restHeaderName_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
10361
|
+
return new TypeError(message);
|
|
10341
10362
|
}
|
|
10342
10363
|
const obj_soapHeaderName = obj.soapHeaderName;
|
|
10343
10364
|
const path_soapHeaderName = path + '.soapHeaderName';
|
|
@@ -13087,7 +13108,7 @@ function coerceFormFactor(form) {
|
|
|
13087
13108
|
return undefined;
|
|
13088
13109
|
}
|
|
13089
13110
|
|
|
13090
|
-
const VERSION$2N = "
|
|
13111
|
+
const VERSION$2N = "3f49d751896cf66e6e29788d8880e2cc";
|
|
13091
13112
|
function validate$1A(obj, path = 'PlatformActionRepresentation') {
|
|
13092
13113
|
const v_error = (() => {
|
|
13093
13114
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -13227,32 +13248,6 @@ function validate$1A(obj, path = 'PlatformActionRepresentation') {
|
|
|
13227
13248
|
message += '\n' + obj_lwcComponent_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
13228
13249
|
return new TypeError(message);
|
|
13229
13250
|
}
|
|
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
13251
|
const obj_primaryColor = obj.primaryColor;
|
|
13257
13252
|
const path_primaryColor = path + '.primaryColor';
|
|
13258
13253
|
let obj_primaryColor_union0 = null;
|
|
@@ -13414,58 +13409,6 @@ function validate$1A(obj, path = 'PlatformActionRepresentation') {
|
|
|
13414
13409
|
message += '\n' + obj_targetObject_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
13415
13410
|
return new TypeError(message);
|
|
13416
13411
|
}
|
|
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
13412
|
const obj_targetUrl = obj.targetUrl;
|
|
13470
13413
|
const path_targetUrl = path + '.targetUrl';
|
|
13471
13414
|
let obj_targetUrl_union0 = null;
|
|
@@ -13559,10 +13502,6 @@ const select$3q = function PlatformActionRepresentationSelect() {
|
|
|
13559
13502
|
name: 'lwcComponent',
|
|
13560
13503
|
kind: 'Scalar'
|
|
13561
13504
|
},
|
|
13562
|
-
{
|
|
13563
|
-
name: 'pageDeveloperName',
|
|
13564
|
-
kind: 'Scalar'
|
|
13565
|
-
},
|
|
13566
13505
|
{
|
|
13567
13506
|
name: 'primaryColor',
|
|
13568
13507
|
kind: 'Scalar'
|
|
@@ -13591,14 +13530,6 @@ const select$3q = function PlatformActionRepresentationSelect() {
|
|
|
13591
13530
|
name: 'targetObject',
|
|
13592
13531
|
kind: 'Scalar'
|
|
13593
13532
|
},
|
|
13594
|
-
{
|
|
13595
|
-
name: 'targetParentField',
|
|
13596
|
-
kind: 'Scalar'
|
|
13597
|
-
},
|
|
13598
|
-
{
|
|
13599
|
-
name: 'targetRecordTypeId',
|
|
13600
|
-
kind: 'Scalar'
|
|
13601
|
-
},
|
|
13602
13533
|
{
|
|
13603
13534
|
name: 'targetUrl',
|
|
13604
13535
|
kind: 'Scalar'
|
|
@@ -13671,11 +13602,6 @@ function equals$W(existing, incoming) {
|
|
|
13671
13602
|
if (!(existing_lwcComponent === incoming_lwcComponent)) {
|
|
13672
13603
|
return false;
|
|
13673
13604
|
}
|
|
13674
|
-
const existing_pageDeveloperName = existing.pageDeveloperName;
|
|
13675
|
-
const incoming_pageDeveloperName = incoming.pageDeveloperName;
|
|
13676
|
-
if (!(existing_pageDeveloperName === incoming_pageDeveloperName)) {
|
|
13677
|
-
return false;
|
|
13678
|
-
}
|
|
13679
13605
|
const existing_primaryColor = existing.primaryColor;
|
|
13680
13606
|
const incoming_primaryColor = incoming.primaryColor;
|
|
13681
13607
|
if (!(existing_primaryColor === incoming_primaryColor)) {
|
|
@@ -13706,16 +13632,6 @@ function equals$W(existing, incoming) {
|
|
|
13706
13632
|
if (!(existing_targetObject === incoming_targetObject)) {
|
|
13707
13633
|
return false;
|
|
13708
13634
|
}
|
|
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
13635
|
const existing_targetUrl = existing.targetUrl;
|
|
13720
13636
|
const incoming_targetUrl = incoming.targetUrl;
|
|
13721
13637
|
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.451.0-
|
|
3
|
+
"version": "1.451.0-dev11",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "Wire adapters for record related UI API endpoints",
|
|
6
6
|
"type": "module",
|
|
@@ -62,15 +62,15 @@
|
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
|
-
"@luvio/graphql-parser": "0.161.
|
|
66
|
-
"@salesforce/lds-bindings": "^1.451.0-
|
|
67
|
-
"@salesforce/lds-default-luvio": "^1.451.0-
|
|
65
|
+
"@luvio/graphql-parser": "0.161.2",
|
|
66
|
+
"@salesforce/lds-bindings": "^1.451.0-dev11",
|
|
67
|
+
"@salesforce/lds-default-luvio": "^1.451.0-dev11"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
|
-
"@salesforce/lds-adapters-onestore-graphql": "^1.451.0-
|
|
71
|
-
"@salesforce/lds-compiler-plugins": "^1.451.0-
|
|
72
|
-
"@salesforce/lds-jest": "^1.451.0-
|
|
73
|
-
"@salesforce/lds-store-binary": "^1.451.0-
|
|
70
|
+
"@salesforce/lds-adapters-onestore-graphql": "^1.451.0-dev11",
|
|
71
|
+
"@salesforce/lds-compiler-plugins": "^1.451.0-dev11",
|
|
72
|
+
"@salesforce/lds-jest": "^1.451.0-dev11",
|
|
73
|
+
"@salesforce/lds-store-binary": "^1.451.0-dev11"
|
|
74
74
|
},
|
|
75
75
|
"luvioBundlesize": [
|
|
76
76
|
{
|
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.451.0-
|
|
28848
|
+
// version: 1.451.0-dev11-1934f1a3ff
|
package/sfdc/index.js
CHANGED
|
@@ -9971,8 +9971,29 @@ function validate$1J(obj, path = 'RecordLayoutSaveOptionRepresentation') {
|
|
|
9971
9971
|
}
|
|
9972
9972
|
const obj_restHeaderName = obj.restHeaderName;
|
|
9973
9973
|
const path_restHeaderName = path + '.restHeaderName';
|
|
9974
|
-
|
|
9975
|
-
|
|
9974
|
+
let obj_restHeaderName_union0 = null;
|
|
9975
|
+
const obj_restHeaderName_union0_error = (() => {
|
|
9976
|
+
if (typeof obj_restHeaderName !== 'string') {
|
|
9977
|
+
return new TypeError('Expected "string" but received "' + typeof obj_restHeaderName + '" (at "' + path_restHeaderName + '")');
|
|
9978
|
+
}
|
|
9979
|
+
})();
|
|
9980
|
+
if (obj_restHeaderName_union0_error != null) {
|
|
9981
|
+
obj_restHeaderName_union0 = obj_restHeaderName_union0_error.message;
|
|
9982
|
+
}
|
|
9983
|
+
let obj_restHeaderName_union1 = null;
|
|
9984
|
+
const obj_restHeaderName_union1_error = (() => {
|
|
9985
|
+
if (obj_restHeaderName !== null) {
|
|
9986
|
+
return new TypeError('Expected "null" but received "' + typeof obj_restHeaderName + '" (at "' + path_restHeaderName + '")');
|
|
9987
|
+
}
|
|
9988
|
+
})();
|
|
9989
|
+
if (obj_restHeaderName_union1_error != null) {
|
|
9990
|
+
obj_restHeaderName_union1 = obj_restHeaderName_union1_error.message;
|
|
9991
|
+
}
|
|
9992
|
+
if (obj_restHeaderName_union0 && obj_restHeaderName_union1) {
|
|
9993
|
+
let message = 'Object doesn\'t match union (at "' + path_restHeaderName + '")';
|
|
9994
|
+
message += '\n' + obj_restHeaderName_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
9995
|
+
message += '\n' + obj_restHeaderName_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
9996
|
+
return new TypeError(message);
|
|
9976
9997
|
}
|
|
9977
9998
|
const obj_soapHeaderName = obj.soapHeaderName;
|
|
9978
9999
|
const path_soapHeaderName = path + '.soapHeaderName';
|
|
@@ -12722,7 +12743,7 @@ function coerceFormFactor(form) {
|
|
|
12722
12743
|
return undefined;
|
|
12723
12744
|
}
|
|
12724
12745
|
|
|
12725
|
-
const VERSION$10 = "
|
|
12746
|
+
const VERSION$10 = "3f49d751896cf66e6e29788d8880e2cc";
|
|
12726
12747
|
function validate$1w(obj, path = 'PlatformActionRepresentation') {
|
|
12727
12748
|
const v_error = (() => {
|
|
12728
12749
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -12862,32 +12883,6 @@ function validate$1w(obj, path = 'PlatformActionRepresentation') {
|
|
|
12862
12883
|
message += '\n' + obj_lwcComponent_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
12863
12884
|
return new TypeError(message);
|
|
12864
12885
|
}
|
|
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
12886
|
const obj_primaryColor = obj.primaryColor;
|
|
12892
12887
|
const path_primaryColor = path + '.primaryColor';
|
|
12893
12888
|
let obj_primaryColor_union0 = null;
|
|
@@ -13049,58 +13044,6 @@ function validate$1w(obj, path = 'PlatformActionRepresentation') {
|
|
|
13049
13044
|
message += '\n' + obj_targetObject_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
13050
13045
|
return new TypeError(message);
|
|
13051
13046
|
}
|
|
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
13047
|
const obj_targetUrl = obj.targetUrl;
|
|
13105
13048
|
const path_targetUrl = path + '.targetUrl';
|
|
13106
13049
|
let obj_targetUrl_union0 = null;
|
|
@@ -13194,10 +13137,6 @@ const select$1G = function PlatformActionRepresentationSelect() {
|
|
|
13194
13137
|
name: 'lwcComponent',
|
|
13195
13138
|
kind: 'Scalar'
|
|
13196
13139
|
},
|
|
13197
|
-
{
|
|
13198
|
-
name: 'pageDeveloperName',
|
|
13199
|
-
kind: 'Scalar'
|
|
13200
|
-
},
|
|
13201
13140
|
{
|
|
13202
13141
|
name: 'primaryColor',
|
|
13203
13142
|
kind: 'Scalar'
|
|
@@ -13226,14 +13165,6 @@ const select$1G = function PlatformActionRepresentationSelect() {
|
|
|
13226
13165
|
name: 'targetObject',
|
|
13227
13166
|
kind: 'Scalar'
|
|
13228
13167
|
},
|
|
13229
|
-
{
|
|
13230
|
-
name: 'targetParentField',
|
|
13231
|
-
kind: 'Scalar'
|
|
13232
|
-
},
|
|
13233
|
-
{
|
|
13234
|
-
name: 'targetRecordTypeId',
|
|
13235
|
-
kind: 'Scalar'
|
|
13236
|
-
},
|
|
13237
13168
|
{
|
|
13238
13169
|
name: 'targetUrl',
|
|
13239
13170
|
kind: 'Scalar'
|
|
@@ -13306,11 +13237,6 @@ function equals$S(existing, incoming) {
|
|
|
13306
13237
|
if (!(existing_lwcComponent === incoming_lwcComponent)) {
|
|
13307
13238
|
return false;
|
|
13308
13239
|
}
|
|
13309
|
-
const existing_pageDeveloperName = existing.pageDeveloperName;
|
|
13310
|
-
const incoming_pageDeveloperName = incoming.pageDeveloperName;
|
|
13311
|
-
if (!(existing_pageDeveloperName === incoming_pageDeveloperName)) {
|
|
13312
|
-
return false;
|
|
13313
|
-
}
|
|
13314
13240
|
const existing_primaryColor = existing.primaryColor;
|
|
13315
13241
|
const incoming_primaryColor = incoming.primaryColor;
|
|
13316
13242
|
if (!(existing_primaryColor === incoming_primaryColor)) {
|
|
@@ -13341,16 +13267,6 @@ function equals$S(existing, incoming) {
|
|
|
13341
13267
|
if (!(existing_targetObject === incoming_targetObject)) {
|
|
13342
13268
|
return false;
|
|
13343
13269
|
}
|
|
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
13270
|
const existing_targetUrl = existing.targetUrl;
|
|
13355
13271
|
const incoming_targetUrl = incoming.targetUrl;
|
|
13356
13272
|
if (!(existing_targetUrl === incoming_targetUrl)) {
|
|
@@ -37606,4 +37522,4 @@ withDefaultLuvio((luvio) => {
|
|
|
37606
37522
|
});
|
|
37607
37523
|
|
|
37608
37524
|
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.451.0-
|
|
37525
|
+
// version: 1.451.0-dev11-1934f1a3ff
|
|
@@ -99,7 +99,7 @@ var TypeCheckShapes;
|
|
|
99
99
|
TypeCheckShapes[TypeCheckShapes["Integer"] = 3] = "Integer";
|
|
100
100
|
TypeCheckShapes[TypeCheckShapes["Unsupported"] = 4] = "Unsupported";
|
|
101
101
|
})(TypeCheckShapes || (TypeCheckShapes = {}));
|
|
102
|
-
// engine version: 0.161.
|
|
102
|
+
// engine version: 0.161.2-bd1bd38a
|
|
103
103
|
|
|
104
104
|
const { keys: ObjectKeys, create: ObjectCreate } = Object;
|
|
105
105
|
|
package/src/raml/api.raml
CHANGED
|
@@ -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
|
|
@@ -3661,7 +3652,7 @@ types:
|
|
|
3661
3652
|
type: string
|
|
3662
3653
|
restHeaderName:
|
|
3663
3654
|
description: Rest Header Name of the save option.
|
|
3664
|
-
type: string
|
|
3655
|
+
type: string | nil
|
|
3665
3656
|
soapHeaderName:
|
|
3666
3657
|
description: Soap Header Name of the save option.
|
|
3667
3658
|
type: string
|