@salesforce/lds-adapters-industries-actionablelist 1.160.1 → 1.162.0
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.
|
@@ -1273,10 +1273,33 @@ function validate$a(obj, path = 'ActionableListColumnUserInputRepresentation') {
|
|
|
1273
1273
|
if (typeof obj_actionableListDatasetColumnId !== 'string') {
|
|
1274
1274
|
return new TypeError('Expected "string" but received "' + typeof obj_actionableListDatasetColumnId + '" (at "' + path_actionableListDatasetColumnId + '")');
|
|
1275
1275
|
}
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1276
|
+
if (obj.displayOrder !== undefined) {
|
|
1277
|
+
const obj_displayOrder = obj.displayOrder;
|
|
1278
|
+
const path_displayOrder = path + '.displayOrder';
|
|
1279
|
+
let obj_displayOrder_union0 = null;
|
|
1280
|
+
const obj_displayOrder_union0_error = (() => {
|
|
1281
|
+
if (typeof obj_displayOrder !== 'number' || (typeof obj_displayOrder === 'number' && Math.floor(obj_displayOrder) !== obj_displayOrder)) {
|
|
1282
|
+
return new TypeError('Expected "integer" but received "' + typeof obj_displayOrder + '" (at "' + path_displayOrder + '")');
|
|
1283
|
+
}
|
|
1284
|
+
})();
|
|
1285
|
+
if (obj_displayOrder_union0_error != null) {
|
|
1286
|
+
obj_displayOrder_union0 = obj_displayOrder_union0_error.message;
|
|
1287
|
+
}
|
|
1288
|
+
let obj_displayOrder_union1 = null;
|
|
1289
|
+
const obj_displayOrder_union1_error = (() => {
|
|
1290
|
+
if (obj_displayOrder !== null) {
|
|
1291
|
+
return new TypeError('Expected "null" but received "' + typeof obj_displayOrder + '" (at "' + path_displayOrder + '")');
|
|
1292
|
+
}
|
|
1293
|
+
})();
|
|
1294
|
+
if (obj_displayOrder_union1_error != null) {
|
|
1295
|
+
obj_displayOrder_union1 = obj_displayOrder_union1_error.message;
|
|
1296
|
+
}
|
|
1297
|
+
if (obj_displayOrder_union0 && obj_displayOrder_union1) {
|
|
1298
|
+
let message = 'Object doesn\'t match union (at "' + path_displayOrder + '")';
|
|
1299
|
+
message += '\n' + obj_displayOrder_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
1300
|
+
message += '\n' + obj_displayOrder_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
1301
|
+
return new TypeError(message);
|
|
1302
|
+
}
|
|
1280
1303
|
}
|
|
1281
1304
|
const obj_isVisible = obj.isVisible;
|
|
1282
1305
|
const path_isVisible = path + '.isVisible';
|
package/dist/es/es2018/types/src/generated/types/ActionableListColumnUserInputRepresentation.d.ts
CHANGED
|
@@ -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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
-
export declare const VERSION = "
|
|
2
|
+
export declare const VERSION = "d369c3d7be9e805f5d5962e115f4fb12";
|
|
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: ActionableListColumnUserInputRepresentation, existing: ActionableListColumnUserInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ActionableListColumnUserInputRepresentationNormalized;
|
|
@@ -17,7 +17,7 @@ export interface ActionableListColumnUserInputRepresentationNormalized {
|
|
|
17
17
|
/** Id of the actionable list dataset column */
|
|
18
18
|
actionableListDatasetColumnId: string;
|
|
19
19
|
/** display order for dataset columns */
|
|
20
|
-
displayOrder
|
|
20
|
+
displayOrder?: number | null;
|
|
21
21
|
/** dataset column is visible on builder page or not */
|
|
22
22
|
isVisible: boolean;
|
|
23
23
|
}
|
|
@@ -29,6 +29,6 @@ export interface ActionableListColumnUserInputRepresentationNormalized {
|
|
|
29
29
|
*/
|
|
30
30
|
export interface ActionableListColumnUserInputRepresentation {
|
|
31
31
|
actionableListDatasetColumnId: string;
|
|
32
|
-
displayOrder
|
|
32
|
+
displayOrder?: number | null;
|
|
33
33
|
isVisible: boolean;
|
|
34
34
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-industries-actionablelist",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.162.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "Wire adapter for actionable list connect APIs",
|
|
6
6
|
"main": "dist/es/es2018/industries-actionablelist.js",
|
package/sfdc/index.js
CHANGED
|
@@ -3111,10 +3111,33 @@ function validate$2(obj, path = 'ActionableListColumnUserInputRepresentation') {
|
|
|
3111
3111
|
if (typeof obj_actionableListDatasetColumnId !== 'string') {
|
|
3112
3112
|
return new TypeError('Expected "string" but received "' + typeof obj_actionableListDatasetColumnId + '" (at "' + path_actionableListDatasetColumnId + '")');
|
|
3113
3113
|
}
|
|
3114
|
-
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
|
|
3114
|
+
if (obj.displayOrder !== undefined) {
|
|
3115
|
+
const obj_displayOrder = obj.displayOrder;
|
|
3116
|
+
const path_displayOrder = path + '.displayOrder';
|
|
3117
|
+
let obj_displayOrder_union0 = null;
|
|
3118
|
+
const obj_displayOrder_union0_error = (() => {
|
|
3119
|
+
if (typeof obj_displayOrder !== 'number' || (typeof obj_displayOrder === 'number' && Math.floor(obj_displayOrder) !== obj_displayOrder)) {
|
|
3120
|
+
return new TypeError('Expected "integer" but received "' + typeof obj_displayOrder + '" (at "' + path_displayOrder + '")');
|
|
3121
|
+
}
|
|
3122
|
+
})();
|
|
3123
|
+
if (obj_displayOrder_union0_error != null) {
|
|
3124
|
+
obj_displayOrder_union0 = obj_displayOrder_union0_error.message;
|
|
3125
|
+
}
|
|
3126
|
+
let obj_displayOrder_union1 = null;
|
|
3127
|
+
const obj_displayOrder_union1_error = (() => {
|
|
3128
|
+
if (obj_displayOrder !== null) {
|
|
3129
|
+
return new TypeError('Expected "null" but received "' + typeof obj_displayOrder + '" (at "' + path_displayOrder + '")');
|
|
3130
|
+
}
|
|
3131
|
+
})();
|
|
3132
|
+
if (obj_displayOrder_union1_error != null) {
|
|
3133
|
+
obj_displayOrder_union1 = obj_displayOrder_union1_error.message;
|
|
3134
|
+
}
|
|
3135
|
+
if (obj_displayOrder_union0 && obj_displayOrder_union1) {
|
|
3136
|
+
let message = 'Object doesn\'t match union (at "' + path_displayOrder + '")';
|
|
3137
|
+
message += '\n' + obj_displayOrder_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3138
|
+
message += '\n' + obj_displayOrder_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3139
|
+
return new TypeError(message);
|
|
3140
|
+
}
|
|
3118
3141
|
}
|
|
3119
3142
|
const obj_isVisible = obj.isVisible;
|
|
3120
3143
|
const path_isVisible = path + '.isVisible';
|
|
@@ -3480,4 +3503,4 @@ withDefaultLuvio((luvio) => {
|
|
|
3480
3503
|
});
|
|
3481
3504
|
|
|
3482
3505
|
export { createActionableListDefinition, getActionableListDatasetInfo, getActionableListDatasetInfo_imperative, getActionableListDefinitions, getActionableListDefinitions_imperative, getActionableListMembers, getActionableListMembers_imperative, upsertActionableList, upsertActionableListDatasetColumnUser };
|
|
3483
|
-
// version: 1.
|
|
3506
|
+
// version: 1.162.0-eaa8b36f5
|
package/src/raml/api.raml
CHANGED
|
@@ -177,7 +177,8 @@ types:
|
|
|
177
177
|
type: string
|
|
178
178
|
displayOrder:
|
|
179
179
|
description: display order for dataset columns
|
|
180
|
-
type: integer
|
|
180
|
+
type: integer | nil
|
|
181
|
+
required: false # TODO handrolled W-9314597
|
|
181
182
|
isVisible:
|
|
182
183
|
description: dataset column is visible on builder page or not
|
|
183
184
|
type: boolean
|