@salesforce/lds-adapters-analytics-unifiedanalytics 1.309.0-dev12 → 1.309.0-dev14

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.
@@ -2723,17 +2723,12 @@ const queryAssetsAdapterFactory = (luvio) => {
2723
2723
  };
2724
2724
  };
2725
2725
 
2726
- const VERSION$l = "d4e4a9f9b260b72ce8e09fac1746cd21";
2726
+ const VERSION$l = "948ac50067b64bee8680b553b1e19a09";
2727
2727
  function validate$r(obj, path = 'DashboardRepresentation') {
2728
2728
  const v_error = (() => {
2729
2729
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2730
2730
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
2731
2731
  }
2732
- const obj_cacheableKey = obj.cacheableKey;
2733
- const path_cacheableKey = path + '.cacheableKey';
2734
- if (typeof obj_cacheableKey !== 'string') {
2735
- return new TypeError('Expected "string" but received "' + typeof obj_cacheableKey + '" (at "' + path_cacheableKey + '")');
2736
- }
2737
2732
  const obj_createdBy = obj.createdBy;
2738
2733
  const path_createdBy = path + '.createdBy';
2739
2734
  if (obj_createdBy === undefined) {
@@ -2843,7 +2838,7 @@ function keyBuilder$L(luvio, config) {
2843
2838
  }
2844
2839
  function keyBuilderFromType$b(luvio, object) {
2845
2840
  const keyParams = {
2846
- name: object.cacheableKey
2841
+ name: object.name
2847
2842
  };
2848
2843
  return keyBuilder$L(luvio, keyParams);
2849
2844
  }
@@ -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, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
2
- export declare const VERSION = "d4e4a9f9b260b72ce8e09fac1746cd21";
2
+ export declare const VERSION = "948ac50067b64bee8680b553b1e19a09";
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 {
@@ -20,11 +20,9 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
20
20
  * Unified analytics dashboard representation.
21
21
  *
22
22
  * Keys:
23
- * name (string): cacheableKey
23
+ * name (string): name
24
24
  */
25
25
  export interface DashboardRepresentationNormalized {
26
- /** Key to use for caching the dashboard output. */
27
- cacheableKey: string;
28
26
  /** Created by of the asset. */
29
27
  createdBy: unknown;
30
28
  /** Created date of the asset */
@@ -60,10 +58,9 @@ export interface DashboardRepresentationNormalized {
60
58
  * Unified analytics dashboard representation.
61
59
  *
62
60
  * Keys:
63
- * name (string): cacheableKey
61
+ * name (string): name
64
62
  */
65
63
  export interface DashboardRepresentation {
66
- cacheableKey: string;
67
64
  createdBy: unknown;
68
65
  createdDate: string;
69
66
  description?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-analytics-unifiedanalytics",
3
- "version": "1.309.0-dev12",
3
+ "version": "1.309.0-dev14",
4
4
  "description": "Tableau Unified Analytics Platform",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "dist/es/es2018/analytics-unifiedanalytics.js",
@@ -40,10 +40,10 @@
40
40
  "test:unit": "jest"
41
41
  },
42
42
  "dependencies": {
43
- "@salesforce/lds-bindings": "^1.309.0-dev12"
43
+ "@salesforce/lds-bindings": "^1.309.0-dev14"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.309.0-dev12"
46
+ "@salesforce/lds-compiler-plugins": "^1.309.0-dev14"
47
47
  },
48
48
  "nx": {
49
49
  "targets": {
package/sfdc/index.js CHANGED
@@ -1943,17 +1943,12 @@ const createAssetSlackChannelAdapterFactory = (luvio) => {
1943
1943
  };
1944
1944
  };
1945
1945
 
1946
- const VERSION$o = "d4e4a9f9b260b72ce8e09fac1746cd21";
1946
+ const VERSION$o = "948ac50067b64bee8680b553b1e19a09";
1947
1947
  function validate$x(obj, path = 'DashboardRepresentation') {
1948
1948
  const v_error = (() => {
1949
1949
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1950
1950
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1951
1951
  }
1952
- const obj_cacheableKey = obj.cacheableKey;
1953
- const path_cacheableKey = path + '.cacheableKey';
1954
- if (typeof obj_cacheableKey !== 'string') {
1955
- return new TypeError('Expected "string" but received "' + typeof obj_cacheableKey + '" (at "' + path_cacheableKey + '")');
1956
- }
1957
1952
  const obj_createdBy = obj.createdBy;
1958
1953
  const path_createdBy = path + '.createdBy';
1959
1954
  if (obj_createdBy === undefined) {
@@ -2063,7 +2058,7 @@ function keyBuilder$Q(luvio, config) {
2063
2058
  }
2064
2059
  function keyBuilderFromType$c(luvio, object) {
2065
2060
  const keyParams = {
2066
- name: object.cacheableKey
2061
+ name: object.name
2067
2062
  };
2068
2063
  return keyBuilder$Q(luvio, keyParams);
2069
2064
  }
@@ -4492,7 +4487,7 @@ function createResourceRequestFromRepresentation$4(representation) {
4492
4487
  const config = {
4493
4488
  urlParams: {},
4494
4489
  };
4495
- config.urlParams.dashboardIdOrApiName = representation.cacheableKey;
4490
+ config.urlParams.dashboardIdOrApiName = representation.name;
4496
4491
  return createResourceRequest$n(config);
4497
4492
  }
4498
4493
 
@@ -9655,4 +9650,4 @@ withDefaultLuvio((luvio) => {
9655
9650
  });
9656
9651
 
9657
9652
  export { createAnnotation, createAssetSlackChannel, createDashboard, createLoglines, createVisualization, createWorkspace, createWorkspaceAsset, deleteDashboard, deleteVisualization, deleteWorkspace, deleteWorkspaceAsset, follow, generateSFDriveCredentials, getAnnotations, getAnnotations_imperative, getAssetSlackChannels, getAssetSlackChannels_imperative, getDashboardByName, getDashboardByNameNotifyChange, getDashboardByName_imperative, getDashboards, getDashboards_imperative, getFlowByName, getFlowByName_imperative, getFlows, getFlows_imperative, getFollowedAssets, getFollowedAssets_imperative, getFollowers, getFollowers_imperative, getOrg, getOrg_imperative, getSlackAppInfo, getSlackAppInfo_imperative, getSubscriptionDigestConfig, getSubscriptionDigestConfigNotifyChange, getSubscriptionDigestConfig_imperative, getUnifiedAnalyticsLibraryAssets, getUniqueFollowerCount, getUniqueFollowerCount_imperative, getVisualization, getVisualizationBundle, getVisualizationBundleNotifyChange, getVisualizationBundle_imperative, getVisualizationNotifyChange, getVisualization_imperative, getVisualizations, getVisualizations_imperative, getWorkspaceByIdOrName, getWorkspaceByIdOrNameNotifyChange, getWorkspaceByIdOrName_imperative, getWorkspaces, getWorkspaces_imperative, publish, queryAssets, queryUsers, unfollow, updateDashboard, updateSubscriptionDigestConfig, updateVisualization, updateWorkspace };
9658
- // version: 1.309.0-dev12-9b91cf52fb
9653
+ // version: 1.309.0-dev14-d0a3778177
package/src/raml/api.raml CHANGED
@@ -870,9 +870,6 @@ types:
870
870
  url:
871
871
  description: URL to this dashboard.
872
872
  type: string
873
- cacheableKey:
874
- description: Key to use for caching the dashboard output.
875
- type: string
876
873
  widgets:
877
874
  description: Widgets in the dashboard.
878
875
  type: object
@@ -58,7 +58,7 @@ types:
58
58
  DashboardRepresentation:
59
59
  (luvio.opaque): true
60
60
  (luvio.key):
61
- name: cacheableKey
61
+ name: name
62
62
  WorkspaceAssetRepresentation:
63
63
  (luvio.opaque): true
64
64
  (luvio.key):