@salesforce/lds-adapters-analytics-app-framework 1.398.0 → 1.399.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.
@@ -1298,7 +1298,7 @@ const getAppsAdapterFactory = (luvio) => function AppFramework__getApps(untruste
1298
1298
  };
1299
1299
 
1300
1300
  const TTL$c = 5000;
1301
- const VERSION$n = "3cd3a4ce44c5f52cad5f810dd8ef6467";
1301
+ const VERSION$n = "a85525e1766a7eebe825500005c5bdc6";
1302
1302
  function validate$t(obj, path = 'AppResultRepresentation') {
1303
1303
  const v_error = (() => {
1304
1304
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -1309,6 +1309,11 @@ function validate$t(obj, path = 'AppResultRepresentation') {
1309
1309
  if (typeof obj_app !== 'object' || Array.isArray(obj_app)) {
1310
1310
  return new TypeError('Expected "object" but received "' + typeof obj_app + '" (at "' + path_app + '")');
1311
1311
  }
1312
+ const obj_appHubUrl = obj.appHubUrl;
1313
+ const path_appHubUrl = path + '.appHubUrl';
1314
+ if (typeof obj_appHubUrl !== 'string') {
1315
+ return new TypeError('Expected "string" but received "' + typeof obj_appHubUrl + '" (at "' + path_appHubUrl + '")');
1316
+ }
1312
1317
  const obj_failureMessage = obj.failureMessage;
1313
1318
  const path_failureMessage = path + '.failureMessage';
1314
1319
  let obj_failureMessage_union0 = null;
@@ -1414,6 +1419,10 @@ const select$H = function AppResultRepresentationSelect() {
1414
1419
  kind: 'Link',
1415
1420
  fragment: select$K()
1416
1421
  },
1422
+ {
1423
+ name: 'appHubUrl',
1424
+ kind: 'Scalar'
1425
+ },
1417
1426
  {
1418
1427
  name: 'failureMessage',
1419
1428
  kind: 'Scalar'
@@ -1431,6 +1440,11 @@ const select$H = function AppResultRepresentationSelect() {
1431
1440
  };
1432
1441
  };
1433
1442
  function equals$n(existing, incoming) {
1443
+ const existing_appHubUrl = existing.appHubUrl;
1444
+ const incoming_appHubUrl = incoming.appHubUrl;
1445
+ if (!(existing_appHubUrl === incoming_appHubUrl)) {
1446
+ return false;
1447
+ }
1434
1448
  const existing_app = existing.app;
1435
1449
  const incoming_app = incoming.app;
1436
1450
  if (!(existing_app.__ref === incoming_app.__ref)) {
@@ -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 = "3cd3a4ce44c5f52cad5f810dd8ef6467";
4
+ export declare const VERSION = "a85525e1766a7eebe825500005c5bdc6";
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
+ /** A link to the App Hub Setup Page. */
40
+ appHubUrl: string;
39
41
  /** The Failure message if the app has failed. If this app was created Async it may not have completed yet. */
40
42
  failureMessage: string | null;
41
43
  /** The Domino Runtime Request. */
@@ -53,6 +55,7 @@ export interface AppResultRepresentationNormalized {
53
55
  */
54
56
  export interface AppResultRepresentation {
55
57
  app: AppRepresentation_AppRepresentation;
58
+ appHubUrl: string;
56
59
  failureMessage: string | null;
57
60
  runtimeRequestId: string | null;
58
61
  state: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-analytics-app-framework",
3
- "version": "1.398.0",
3
+ "version": "1.399.0",
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.398.0"
43
+ "@salesforce/lds-bindings": "^1.399.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.398.0"
46
+ "@salesforce/lds-compiler-plugins": "^1.399.0"
47
47
  },
48
48
  "nx": {
49
49
  "targets": {
package/sfdc/index.js CHANGED
@@ -1072,7 +1072,7 @@ function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
1072
1072
  }
1073
1073
 
1074
1074
  const TTL$d = 5000;
1075
- const VERSION$o = "3cd3a4ce44c5f52cad5f810dd8ef6467";
1075
+ const VERSION$o = "a85525e1766a7eebe825500005c5bdc6";
1076
1076
  function validate$u(obj, path = 'AppResultRepresentation') {
1077
1077
  const v_error = (() => {
1078
1078
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -1083,6 +1083,11 @@ function validate$u(obj, path = 'AppResultRepresentation') {
1083
1083
  if (typeof obj_app !== 'object' || Array.isArray(obj_app)) {
1084
1084
  return new TypeError('Expected "object" but received "' + typeof obj_app + '" (at "' + path_app + '")');
1085
1085
  }
1086
+ const obj_appHubUrl = obj.appHubUrl;
1087
+ const path_appHubUrl = path + '.appHubUrl';
1088
+ if (typeof obj_appHubUrl !== 'string') {
1089
+ return new TypeError('Expected "string" but received "' + typeof obj_appHubUrl + '" (at "' + path_appHubUrl + '")');
1090
+ }
1086
1091
  const obj_failureMessage = obj.failureMessage;
1087
1092
  const path_failureMessage = path + '.failureMessage';
1088
1093
  let obj_failureMessage_union0 = null;
@@ -1188,6 +1193,10 @@ const select$J = function AppResultRepresentationSelect() {
1188
1193
  kind: 'Link',
1189
1194
  fragment: select$K()
1190
1195
  },
1196
+ {
1197
+ name: 'appHubUrl',
1198
+ kind: 'Scalar'
1199
+ },
1191
1200
  {
1192
1201
  name: 'failureMessage',
1193
1202
  kind: 'Scalar'
@@ -1205,6 +1214,11 @@ const select$J = function AppResultRepresentationSelect() {
1205
1214
  };
1206
1215
  };
1207
1216
  function equals$o(existing, incoming) {
1217
+ const existing_appHubUrl = existing.appHubUrl;
1218
+ const incoming_appHubUrl = incoming.appHubUrl;
1219
+ if (!(existing_appHubUrl === incoming_appHubUrl)) {
1220
+ return false;
1221
+ }
1208
1222
  const existing_app = existing.app;
1209
1223
  const incoming_app = incoming.app;
1210
1224
  if (!(existing_app.__ref === incoming_app.__ref)) {
@@ -8389,4 +8403,4 @@ withDefaultLuvio((luvio) => {
8389
8403
  });
8390
8404
 
8391
8405
  export { createApp, createAppAsset, createTemplate, deleteApp, deleteAppAsset, deleteTemplate, getApp, getAppActivities, getAppActivitiesNotifyChange, getAppActivities_imperative, getAppActivity, getAppActivityNotifyChange, getAppActivity_imperative, getAppAsset, getAppAsset_imperative, getAppAssets, getAppAssetsNotifyChange, getAppAssets_imperative, getAppNotifyChange, getApp_imperative, getApps, getApps_imperative, getInstalledAssets, getInstalledAssets_imperative, getTags, getTagsNotifyChange, getTags_imperative, getTemplate, getTemplateAssets, getTemplateAssets_imperative, getTemplateConfig, getTemplateConfigNotifyChange, getTemplateConfig_imperative, getTemplateNotifyChange, getTemplate_imperative, getTemplates, getTemplates_imperative, readinessCheck, setTags, updateApp, updateAppAsset, updateBasicApp, updateTemplate };
8392
- // version: 1.398.0-ada864f72d
8406
+ // version: 1.399.0-5ea4ae8437
package/src/raml/api.raml CHANGED
@@ -274,6 +274,9 @@ types:
274
274
  properties:
275
275
  //:
276
276
  type: any # TODO Hand-rolled W-8863405
277
+ appHubUrl:
278
+ description: A link to the App Hub Setup Page.
279
+ type: string
277
280
  AppScheduleRepresentation:
278
281
  description: Representaiton for an App Data Refresh schedule
279
282
  type: object