@salesforce/lds-adapters-analytics-app-framework 1.308.0-dev5 → 1.308.0-dev7
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/analytics-app-framework.js +60 -11
- package/dist/es/es2018/types/src/generated/types/AppResultRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/AssetRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/TemplateRepresentation.d.ts +3 -3
- package/package.json +3 -3
- package/sfdc/index.js +61 -12
- package/src/raml/api.raml +9 -1
|
@@ -1206,7 +1206,7 @@ const getAppsAdapterFactory = (luvio) => function AppFramework__getApps(untruste
|
|
|
1206
1206
|
};
|
|
1207
1207
|
|
|
1208
1208
|
const TTL$7 = 5000;
|
|
1209
|
-
const VERSION$7 = "
|
|
1209
|
+
const VERSION$7 = "1e01d8ae397bfbae02ba4cfae1dac4fc";
|
|
1210
1210
|
function validate$7(obj, path = 'AppResultRepresentation') {
|
|
1211
1211
|
const v_error = (() => {
|
|
1212
1212
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -1217,6 +1217,32 @@ function validate$7(obj, path = 'AppResultRepresentation') {
|
|
|
1217
1217
|
if (typeof obj_app !== 'object') {
|
|
1218
1218
|
return new TypeError('Expected "object" but received "' + typeof obj_app + '" (at "' + path_app + '")');
|
|
1219
1219
|
}
|
|
1220
|
+
const obj_failureMessage = obj.failureMessage;
|
|
1221
|
+
const path_failureMessage = path + '.failureMessage';
|
|
1222
|
+
let obj_failureMessage_union0 = null;
|
|
1223
|
+
const obj_failureMessage_union0_error = (() => {
|
|
1224
|
+
if (typeof obj_failureMessage !== 'string') {
|
|
1225
|
+
return new TypeError('Expected "string" but received "' + typeof obj_failureMessage + '" (at "' + path_failureMessage + '")');
|
|
1226
|
+
}
|
|
1227
|
+
})();
|
|
1228
|
+
if (obj_failureMessage_union0_error != null) {
|
|
1229
|
+
obj_failureMessage_union0 = obj_failureMessage_union0_error.message;
|
|
1230
|
+
}
|
|
1231
|
+
let obj_failureMessage_union1 = null;
|
|
1232
|
+
const obj_failureMessage_union1_error = (() => {
|
|
1233
|
+
if (obj_failureMessage !== null) {
|
|
1234
|
+
return new TypeError('Expected "null" but received "' + typeof obj_failureMessage + '" (at "' + path_failureMessage + '")');
|
|
1235
|
+
}
|
|
1236
|
+
})();
|
|
1237
|
+
if (obj_failureMessage_union1_error != null) {
|
|
1238
|
+
obj_failureMessage_union1 = obj_failureMessage_union1_error.message;
|
|
1239
|
+
}
|
|
1240
|
+
if (obj_failureMessage_union0 && obj_failureMessage_union1) {
|
|
1241
|
+
let message = 'Object doesn\'t match union (at "' + path_failureMessage + '")';
|
|
1242
|
+
message += '\n' + obj_failureMessage_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
1243
|
+
message += '\n' + obj_failureMessage_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
1244
|
+
return new TypeError(message);
|
|
1245
|
+
}
|
|
1220
1246
|
const obj_runtimeRequestId = obj.runtimeRequestId;
|
|
1221
1247
|
const path_runtimeRequestId = path + '.runtimeRequestId';
|
|
1222
1248
|
if (typeof obj_runtimeRequestId !== 'string') {
|
|
@@ -1275,6 +1301,10 @@ const select$f = function AppResultRepresentationSelect() {
|
|
|
1275
1301
|
kind: 'Link',
|
|
1276
1302
|
fragment: select$i()
|
|
1277
1303
|
},
|
|
1304
|
+
{
|
|
1305
|
+
name: 'failureMessage',
|
|
1306
|
+
kind: 'Scalar'
|
|
1307
|
+
},
|
|
1278
1308
|
{
|
|
1279
1309
|
name: 'runtimeRequestId',
|
|
1280
1310
|
kind: 'Scalar'
|
|
@@ -1298,6 +1328,11 @@ function equals$7(existing, incoming) {
|
|
|
1298
1328
|
if (!(existing_app.__ref === incoming_app.__ref)) {
|
|
1299
1329
|
return false;
|
|
1300
1330
|
}
|
|
1331
|
+
const existing_failureMessage = existing.failureMessage;
|
|
1332
|
+
const incoming_failureMessage = incoming.failureMessage;
|
|
1333
|
+
if (!(existing_failureMessage === incoming_failureMessage)) {
|
|
1334
|
+
return false;
|
|
1335
|
+
}
|
|
1301
1336
|
const existing_state = existing.state;
|
|
1302
1337
|
const incoming_state = incoming.state;
|
|
1303
1338
|
const equals_state_props = equalsObject(existing_state, incoming_state, (existing_state_prop, incoming_state_prop) => {
|
|
@@ -2216,12 +2251,17 @@ const getAppActivityAdapterFactory = (luvio) => function AppFramework__getAppAct
|
|
|
2216
2251
|
};
|
|
2217
2252
|
|
|
2218
2253
|
const TTL$4 = 5000;
|
|
2219
|
-
const VERSION$4 = "
|
|
2254
|
+
const VERSION$4 = "34bc50b3e68f546eb8e99af16e45d84b";
|
|
2220
2255
|
function validate$4(obj, path = 'AssetRepresentation') {
|
|
2221
2256
|
const v_error = (() => {
|
|
2222
2257
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2223
2258
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2224
2259
|
}
|
|
2260
|
+
const obj_appId = obj.appId;
|
|
2261
|
+
const path_appId = path + '.appId';
|
|
2262
|
+
if (typeof obj_appId !== 'string') {
|
|
2263
|
+
return new TypeError('Expected "string" but received "' + typeof obj_appId + '" (at "' + path_appId + '")');
|
|
2264
|
+
}
|
|
2225
2265
|
const obj_assetIdOrName = obj.assetIdOrName;
|
|
2226
2266
|
const path_assetIdOrName = path + '.assetIdOrName';
|
|
2227
2267
|
if (typeof obj_assetIdOrName !== 'string') {
|
|
@@ -2358,6 +2398,10 @@ const select$8 = function AssetRepresentationSelect() {
|
|
|
2358
2398
|
version: VERSION$4,
|
|
2359
2399
|
private: [],
|
|
2360
2400
|
selections: [
|
|
2401
|
+
{
|
|
2402
|
+
name: 'appId',
|
|
2403
|
+
kind: 'Scalar'
|
|
2404
|
+
},
|
|
2361
2405
|
{
|
|
2362
2406
|
name: 'assetIdOrName',
|
|
2363
2407
|
kind: 'Scalar'
|
|
@@ -2386,6 +2430,11 @@ const select$8 = function AssetRepresentationSelect() {
|
|
|
2386
2430
|
};
|
|
2387
2431
|
};
|
|
2388
2432
|
function equals$4(existing, incoming) {
|
|
2433
|
+
const existing_appId = existing.appId;
|
|
2434
|
+
const incoming_appId = incoming.appId;
|
|
2435
|
+
if (!(existing_appId === incoming_appId)) {
|
|
2436
|
+
return false;
|
|
2437
|
+
}
|
|
2389
2438
|
const existing_assetIdOrName = existing.assetIdOrName;
|
|
2390
2439
|
const incoming_assetIdOrName = incoming.assetIdOrName;
|
|
2391
2440
|
if (!(existing_assetIdOrName === incoming_assetIdOrName)) {
|
|
@@ -2702,7 +2751,7 @@ const getAppAssetsAdapterFactory = (luvio) => function AppFramework__getAppAsset
|
|
|
2702
2751
|
};
|
|
2703
2752
|
|
|
2704
2753
|
const TTL$2 = 5000;
|
|
2705
|
-
const VERSION$2 = "
|
|
2754
|
+
const VERSION$2 = "a234a33bacb2228183eba50f4f96aef4";
|
|
2706
2755
|
function validate$2(obj, path = 'TemplateRepresentation') {
|
|
2707
2756
|
const v_error = (() => {
|
|
2708
2757
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2754,10 +2803,10 @@ function validate$2(obj, path = 'TemplateRepresentation') {
|
|
|
2754
2803
|
if (typeof obj_name !== 'string') {
|
|
2755
2804
|
return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
2756
2805
|
}
|
|
2757
|
-
const
|
|
2758
|
-
const
|
|
2759
|
-
if (typeof
|
|
2760
|
-
return new TypeError('Expected "string" but received "' + typeof
|
|
2806
|
+
const obj_templateType = obj.templateType;
|
|
2807
|
+
const path_templateType = path + '.templateType';
|
|
2808
|
+
if (typeof obj_templateType !== 'string') {
|
|
2809
|
+
return new TypeError('Expected "string" but received "' + typeof obj_templateType + '" (at "' + path_templateType + '")');
|
|
2761
2810
|
}
|
|
2762
2811
|
const obj_url = obj.url;
|
|
2763
2812
|
const path_url = path + '.url';
|
|
@@ -2807,7 +2856,7 @@ const select$5 = function TemplateRepresentationSelect() {
|
|
|
2807
2856
|
kind: 'Scalar'
|
|
2808
2857
|
},
|
|
2809
2858
|
{
|
|
2810
|
-
name: '
|
|
2859
|
+
name: 'templateType',
|
|
2811
2860
|
kind: 'Scalar'
|
|
2812
2861
|
},
|
|
2813
2862
|
{
|
|
@@ -2838,9 +2887,9 @@ function equals$2(existing, incoming) {
|
|
|
2838
2887
|
if (!(existing_name === incoming_name)) {
|
|
2839
2888
|
return false;
|
|
2840
2889
|
}
|
|
2841
|
-
const
|
|
2842
|
-
const
|
|
2843
|
-
if (!(
|
|
2890
|
+
const existing_templateType = existing.templateType;
|
|
2891
|
+
const incoming_templateType = incoming.templateType;
|
|
2892
|
+
if (!(existing_templateType === incoming_templateType)) {
|
|
2844
2893
|
return false;
|
|
2845
2894
|
}
|
|
2846
2895
|
const existing_url = existing.url;
|
|
@@ -1,7 +1,7 @@
|
|
|
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, ResourceIngest as $64$luvio_engine_ResourceIngest, FragmentSelection as $64$luvio_engine_FragmentSelection, LinkSelection as $64$luvio_engine_LinkSelection, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
2
|
import { AppRepresentation as AppRepresentation_AppRepresentation } from './AppRepresentation';
|
|
3
3
|
export declare const TTL = 5000;
|
|
4
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "1e01d8ae397bfbae02ba4cfae1dac4fc";
|
|
5
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
6
|
export declare const RepresentationType: string;
|
|
7
7
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -36,6 +36,8 @@ export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$lu
|
|
|
36
36
|
export interface AppResultRepresentationNormalized {
|
|
37
37
|
/** The App. */
|
|
38
38
|
app: $64$luvio_engine_StoreLink;
|
|
39
|
+
/** The Failure message if the app has failed. If this app was created Async it may not have completed yet. */
|
|
40
|
+
failureMessage: string | null;
|
|
39
41
|
/** The Domino Runtime Request. */
|
|
40
42
|
runtimeRequestId: string;
|
|
41
43
|
/** The State. */
|
|
@@ -51,6 +53,7 @@ export interface AppResultRepresentationNormalized {
|
|
|
51
53
|
*/
|
|
52
54
|
export interface AppResultRepresentation {
|
|
53
55
|
app: AppRepresentation_AppRepresentation;
|
|
56
|
+
failureMessage: string | null;
|
|
54
57
|
runtimeRequestId: string;
|
|
55
58
|
state: {
|
|
56
59
|
[key: string]: unknown;
|
|
@@ -1,6 +1,6 @@
|
|
|
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
2
|
export declare const TTL = 5000;
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "34bc50b3e68f546eb8e99af16e45d84b";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -24,6 +24,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
24
24
|
* id (string): id
|
|
25
25
|
*/
|
|
26
26
|
export interface AssetRepresentationNormalized {
|
|
27
|
+
/** The App ID associated with this */
|
|
28
|
+
appId: string;
|
|
27
29
|
/** The primary ID or Name of the asset */
|
|
28
30
|
assetIdOrName: string;
|
|
29
31
|
/** The secondary ID or Name of the asset */
|
|
@@ -44,6 +46,7 @@ export interface AssetRepresentationNormalized {
|
|
|
44
46
|
* id (string): id
|
|
45
47
|
*/
|
|
46
48
|
export interface AssetRepresentation {
|
|
49
|
+
appId: string;
|
|
47
50
|
assetIdOrName: string;
|
|
48
51
|
assetIdOrName2: string | null;
|
|
49
52
|
assetIdOrName3: string | null;
|
|
@@ -1,6 +1,6 @@
|
|
|
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
2
|
export declare const TTL = 5000;
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "a234a33bacb2228183eba50f4f96aef4";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -35,7 +35,7 @@ export interface TemplateRepresentationNormalized {
|
|
|
35
35
|
/** The local API name of the application template. */
|
|
36
36
|
name: string;
|
|
37
37
|
/** The template type. */
|
|
38
|
-
|
|
38
|
+
templateType: string;
|
|
39
39
|
/** The this url. */
|
|
40
40
|
url: string;
|
|
41
41
|
}
|
|
@@ -51,6 +51,6 @@ export interface TemplateRepresentation {
|
|
|
51
51
|
id: string;
|
|
52
52
|
label: string;
|
|
53
53
|
name: string;
|
|
54
|
-
|
|
54
|
+
templateType: string;
|
|
55
55
|
url: string;
|
|
56
56
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-analytics-app-framework",
|
|
3
|
-
"version": "1.308.0-
|
|
3
|
+
"version": "1.308.0-dev7",
|
|
4
4
|
"description": "APIs for the app-framework",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "dist/es/es2018/analytics-app-framework.js",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"test:unit": "jest"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@salesforce/lds-bindings": "^1.308.0-
|
|
43
|
+
"@salesforce/lds-bindings": "^1.308.0-dev7"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.308.0-
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.308.0-dev7"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -981,7 +981,7 @@ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
981
981
|
}
|
|
982
982
|
|
|
983
983
|
const TTL$8 = 5000;
|
|
984
|
-
const VERSION$8 = "
|
|
984
|
+
const VERSION$8 = "1e01d8ae397bfbae02ba4cfae1dac4fc";
|
|
985
985
|
function validate$8(obj, path = 'AppResultRepresentation') {
|
|
986
986
|
const v_error = (() => {
|
|
987
987
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -992,6 +992,32 @@ function validate$8(obj, path = 'AppResultRepresentation') {
|
|
|
992
992
|
if (typeof obj_app !== 'object') {
|
|
993
993
|
return new TypeError('Expected "object" but received "' + typeof obj_app + '" (at "' + path_app + '")');
|
|
994
994
|
}
|
|
995
|
+
const obj_failureMessage = obj.failureMessage;
|
|
996
|
+
const path_failureMessage = path + '.failureMessage';
|
|
997
|
+
let obj_failureMessage_union0 = null;
|
|
998
|
+
const obj_failureMessage_union0_error = (() => {
|
|
999
|
+
if (typeof obj_failureMessage !== 'string') {
|
|
1000
|
+
return new TypeError('Expected "string" but received "' + typeof obj_failureMessage + '" (at "' + path_failureMessage + '")');
|
|
1001
|
+
}
|
|
1002
|
+
})();
|
|
1003
|
+
if (obj_failureMessage_union0_error != null) {
|
|
1004
|
+
obj_failureMessage_union0 = obj_failureMessage_union0_error.message;
|
|
1005
|
+
}
|
|
1006
|
+
let obj_failureMessage_union1 = null;
|
|
1007
|
+
const obj_failureMessage_union1_error = (() => {
|
|
1008
|
+
if (obj_failureMessage !== null) {
|
|
1009
|
+
return new TypeError('Expected "null" but received "' + typeof obj_failureMessage + '" (at "' + path_failureMessage + '")');
|
|
1010
|
+
}
|
|
1011
|
+
})();
|
|
1012
|
+
if (obj_failureMessage_union1_error != null) {
|
|
1013
|
+
obj_failureMessage_union1 = obj_failureMessage_union1_error.message;
|
|
1014
|
+
}
|
|
1015
|
+
if (obj_failureMessage_union0 && obj_failureMessage_union1) {
|
|
1016
|
+
let message = 'Object doesn\'t match union (at "' + path_failureMessage + '")';
|
|
1017
|
+
message += '\n' + obj_failureMessage_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
1018
|
+
message += '\n' + obj_failureMessage_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
1019
|
+
return new TypeError(message);
|
|
1020
|
+
}
|
|
995
1021
|
const obj_runtimeRequestId = obj.runtimeRequestId;
|
|
996
1022
|
const path_runtimeRequestId = path + '.runtimeRequestId';
|
|
997
1023
|
if (typeof obj_runtimeRequestId !== 'string') {
|
|
@@ -1050,6 +1076,10 @@ const select$h = function AppResultRepresentationSelect() {
|
|
|
1050
1076
|
kind: 'Link',
|
|
1051
1077
|
fragment: select$i()
|
|
1052
1078
|
},
|
|
1079
|
+
{
|
|
1080
|
+
name: 'failureMessage',
|
|
1081
|
+
kind: 'Scalar'
|
|
1082
|
+
},
|
|
1053
1083
|
{
|
|
1054
1084
|
name: 'runtimeRequestId',
|
|
1055
1085
|
kind: 'Scalar'
|
|
@@ -1073,6 +1103,11 @@ function equals$8(existing, incoming) {
|
|
|
1073
1103
|
if (!(existing_app.__ref === incoming_app.__ref)) {
|
|
1074
1104
|
return false;
|
|
1075
1105
|
}
|
|
1106
|
+
const existing_failureMessage = existing.failureMessage;
|
|
1107
|
+
const incoming_failureMessage = incoming.failureMessage;
|
|
1108
|
+
if (!(existing_failureMessage === incoming_failureMessage)) {
|
|
1109
|
+
return false;
|
|
1110
|
+
}
|
|
1076
1111
|
const existing_state = existing.state;
|
|
1077
1112
|
const incoming_state = incoming.state;
|
|
1078
1113
|
const equals_state_props = equalsObject(existing_state, incoming_state, (existing_state_prop, incoming_state_prop) => {
|
|
@@ -2115,12 +2150,17 @@ const notifyChangeFactory$3 = (luvio, options) => {
|
|
|
2115
2150
|
};
|
|
2116
2151
|
|
|
2117
2152
|
const TTL$5 = 5000;
|
|
2118
|
-
const VERSION$5 = "
|
|
2153
|
+
const VERSION$5 = "34bc50b3e68f546eb8e99af16e45d84b";
|
|
2119
2154
|
function validate$5(obj, path = 'AssetRepresentation') {
|
|
2120
2155
|
const v_error = (() => {
|
|
2121
2156
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2122
2157
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2123
2158
|
}
|
|
2159
|
+
const obj_appId = obj.appId;
|
|
2160
|
+
const path_appId = path + '.appId';
|
|
2161
|
+
if (typeof obj_appId !== 'string') {
|
|
2162
|
+
return new TypeError('Expected "string" but received "' + typeof obj_appId + '" (at "' + path_appId + '")');
|
|
2163
|
+
}
|
|
2124
2164
|
const obj_assetIdOrName = obj.assetIdOrName;
|
|
2125
2165
|
const path_assetIdOrName = path + '.assetIdOrName';
|
|
2126
2166
|
if (typeof obj_assetIdOrName !== 'string') {
|
|
@@ -2257,6 +2297,10 @@ const select$a = function AssetRepresentationSelect() {
|
|
|
2257
2297
|
version: VERSION$5,
|
|
2258
2298
|
private: [],
|
|
2259
2299
|
selections: [
|
|
2300
|
+
{
|
|
2301
|
+
name: 'appId',
|
|
2302
|
+
kind: 'Scalar'
|
|
2303
|
+
},
|
|
2260
2304
|
{
|
|
2261
2305
|
name: 'assetIdOrName',
|
|
2262
2306
|
kind: 'Scalar'
|
|
@@ -2285,6 +2329,11 @@ const select$a = function AssetRepresentationSelect() {
|
|
|
2285
2329
|
};
|
|
2286
2330
|
};
|
|
2287
2331
|
function equals$5(existing, incoming) {
|
|
2332
|
+
const existing_appId = existing.appId;
|
|
2333
|
+
const incoming_appId = incoming.appId;
|
|
2334
|
+
if (!(existing_appId === incoming_appId)) {
|
|
2335
|
+
return false;
|
|
2336
|
+
}
|
|
2288
2337
|
const existing_assetIdOrName = existing.assetIdOrName;
|
|
2289
2338
|
const incoming_assetIdOrName = incoming.assetIdOrName;
|
|
2290
2339
|
if (!(existing_assetIdOrName === incoming_assetIdOrName)) {
|
|
@@ -2878,7 +2927,7 @@ const getAppsAdapterFactory = (luvio) => function AppFramework__getApps(untruste
|
|
|
2878
2927
|
};
|
|
2879
2928
|
|
|
2880
2929
|
const TTL$2 = 5000;
|
|
2881
|
-
const VERSION$2 = "
|
|
2930
|
+
const VERSION$2 = "a234a33bacb2228183eba50f4f96aef4";
|
|
2882
2931
|
function validate$2(obj, path = 'TemplateRepresentation') {
|
|
2883
2932
|
const v_error = (() => {
|
|
2884
2933
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2930,10 +2979,10 @@ function validate$2(obj, path = 'TemplateRepresentation') {
|
|
|
2930
2979
|
if (typeof obj_name !== 'string') {
|
|
2931
2980
|
return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
2932
2981
|
}
|
|
2933
|
-
const
|
|
2934
|
-
const
|
|
2935
|
-
if (typeof
|
|
2936
|
-
return new TypeError('Expected "string" but received "' + typeof
|
|
2982
|
+
const obj_templateType = obj.templateType;
|
|
2983
|
+
const path_templateType = path + '.templateType';
|
|
2984
|
+
if (typeof obj_templateType !== 'string') {
|
|
2985
|
+
return new TypeError('Expected "string" but received "' + typeof obj_templateType + '" (at "' + path_templateType + '")');
|
|
2937
2986
|
}
|
|
2938
2987
|
const obj_url = obj.url;
|
|
2939
2988
|
const path_url = path + '.url';
|
|
@@ -2983,7 +3032,7 @@ const select$5 = function TemplateRepresentationSelect() {
|
|
|
2983
3032
|
kind: 'Scalar'
|
|
2984
3033
|
},
|
|
2985
3034
|
{
|
|
2986
|
-
name: '
|
|
3035
|
+
name: 'templateType',
|
|
2987
3036
|
kind: 'Scalar'
|
|
2988
3037
|
},
|
|
2989
3038
|
{
|
|
@@ -3014,9 +3063,9 @@ function equals$2(existing, incoming) {
|
|
|
3014
3063
|
if (!(existing_name === incoming_name)) {
|
|
3015
3064
|
return false;
|
|
3016
3065
|
}
|
|
3017
|
-
const
|
|
3018
|
-
const
|
|
3019
|
-
if (!(
|
|
3066
|
+
const existing_templateType = existing.templateType;
|
|
3067
|
+
const incoming_templateType = incoming.templateType;
|
|
3068
|
+
if (!(existing_templateType === incoming_templateType)) {
|
|
3020
3069
|
return false;
|
|
3021
3070
|
}
|
|
3022
3071
|
const existing_url = existing.url;
|
|
@@ -3842,4 +3891,4 @@ withDefaultLuvio((luvio) => {
|
|
|
3842
3891
|
});
|
|
3843
3892
|
|
|
3844
3893
|
export { createApp, deleteApp, getApp, getAppActivities, getAppActivitiesNotifyChange, getAppActivities_imperative, getAppActivity, getAppActivityNotifyChange, getAppActivity_imperative, getAppAssets, getAppAssetsNotifyChange, getAppAssets_imperative, getAppNotifyChange, getApp_imperative, getApps, getApps_imperative, getTemplate, getTemplateConfig, getTemplateConfigNotifyChange, getTemplateConfig_imperative, getTemplateNotifyChange, getTemplate_imperative, getTemplates, getTemplates_imperative };
|
|
3845
|
-
// version: 1.308.0-
|
|
3894
|
+
// version: 1.308.0-dev7-8ae69a25e5
|
package/src/raml/api.raml
CHANGED
|
@@ -228,6 +228,10 @@ types:
|
|
|
228
228
|
app:
|
|
229
229
|
description: The App.
|
|
230
230
|
type: AppRepresentation
|
|
231
|
+
failureMessage:
|
|
232
|
+
description: The Failure message if the app has failed. If this app was created
|
|
233
|
+
Async it may not have completed yet.
|
|
234
|
+
type: string | nil
|
|
231
235
|
runtimeRequestId:
|
|
232
236
|
description: The Domino Runtime Request.
|
|
233
237
|
type: string
|
|
@@ -264,6 +268,9 @@ types:
|
|
|
264
268
|
description: Representation for a single template.
|
|
265
269
|
type: object
|
|
266
270
|
properties:
|
|
271
|
+
appId:
|
|
272
|
+
description: The App ID associated with this
|
|
273
|
+
type: string
|
|
267
274
|
assetIdOrName:
|
|
268
275
|
description: The primary ID or Name of the asset
|
|
269
276
|
type: string
|
|
@@ -475,12 +482,13 @@ types:
|
|
|
475
482
|
name:
|
|
476
483
|
description: The local API name of the application template.
|
|
477
484
|
type: string
|
|
478
|
-
|
|
485
|
+
templateType:
|
|
479
486
|
description: The template type.
|
|
480
487
|
type: string
|
|
481
488
|
enum:
|
|
482
489
|
- App
|
|
483
490
|
- Library
|
|
491
|
+
- Unknown
|
|
484
492
|
url:
|
|
485
493
|
description: The this url.
|
|
486
494
|
type: string
|