@salesforce/lds-adapters-analytics-wave 1.451.0-dev11 → 1.451.0-dev13

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.
@@ -21032,7 +21032,7 @@ function equals$F(existing, incoming) {
21032
21032
  }
21033
21033
 
21034
21034
  const TTL$e = 300;
21035
- const VERSION$E = "48f06a8dcd1c9b00fde7be3cf3e5350e";
21035
+ const VERSION$E = "ea40f89e3f4fe99d17f11ecf63261212";
21036
21036
  function validate$Y(obj, path = 'DependencyRepresentation') {
21037
21037
  const v_error = (() => {
21038
21038
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -21088,10 +21088,12 @@ function validate$Y(obj, path = 'DependencyRepresentation') {
21088
21088
  if (typeof obj_id !== 'string') {
21089
21089
  return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
21090
21090
  }
21091
- const obj_lastAccessedDate = obj.lastAccessedDate;
21092
- const path_lastAccessedDate = path + '.lastAccessedDate';
21093
- if (typeof obj_lastAccessedDate !== 'string') {
21094
- return new TypeError('Expected "string" but received "' + typeof obj_lastAccessedDate + '" (at "' + path_lastAccessedDate + '")');
21091
+ if (obj.lastAccessedDate !== undefined) {
21092
+ const obj_lastAccessedDate = obj.lastAccessedDate;
21093
+ const path_lastAccessedDate = path + '.lastAccessedDate';
21094
+ if (typeof obj_lastAccessedDate !== 'string') {
21095
+ return new TypeError('Expected "string" but received "' + typeof obj_lastAccessedDate + '" (at "' + path_lastAccessedDate + '")');
21096
+ }
21095
21097
  }
21096
21098
  const obj_lastModifiedBy = obj.lastModifiedBy;
21097
21099
  const path_lastModifiedBy = path + '.lastModifiedBy';
@@ -21201,7 +21203,8 @@ const select$13 = function DependencyRepresentationSelect() {
21201
21203
  },
21202
21204
  {
21203
21205
  name: 'lastAccessedDate',
21204
- kind: 'Scalar'
21206
+ kind: 'Scalar',
21207
+ required: false
21205
21208
  },
21206
21209
  {
21207
21210
  name: 'lastModifiedBy',
@@ -21266,8 +21269,16 @@ function equals$E(existing, incoming) {
21266
21269
  }
21267
21270
  const existing_lastAccessedDate = existing.lastAccessedDate;
21268
21271
  const incoming_lastAccessedDate = incoming.lastAccessedDate;
21269
- if (!(existing_lastAccessedDate === incoming_lastAccessedDate)) {
21270
- return false;
21272
+ // if at least one of these optionals is defined
21273
+ if (existing_lastAccessedDate !== undefined || incoming_lastAccessedDate !== undefined) {
21274
+ // if one of these is not defined we know the other is defined and therefore
21275
+ // not equal
21276
+ if (existing_lastAccessedDate === undefined || incoming_lastAccessedDate === undefined) {
21277
+ return false;
21278
+ }
21279
+ if (!(existing_lastAccessedDate === incoming_lastAccessedDate)) {
21280
+ return false;
21281
+ }
21271
21282
  }
21272
21283
  const existing_lastModifiedDate = existing.lastModifiedDate;
21273
21284
  const incoming_lastModifiedDate = incoming.lastModifiedDate;
@@ -3,7 +3,7 @@ import { AssetReferenceRepresentation as AssetReferenceRepresentation_AssetRefer
3
3
  import { WaveUserRepresentation as WaveUserRepresentation_WaveUserRepresentation } from './WaveUserRepresentation';
4
4
  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';
5
5
  export declare const TTL = 300;
6
- export declare const VERSION = "48f06a8dcd1c9b00fde7be3cf3e5350e";
6
+ export declare const VERSION = "ea40f89e3f4fe99d17f11ecf63261212";
7
7
  export declare function validate(obj: any, path?: string): TypeError | null;
8
8
  export declare const RepresentationType: string;
9
9
  export declare function normalize(input: DependencyRepresentation, existing: DependencyRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): DependencyRepresentationNormalized;
@@ -31,7 +31,7 @@ export interface DependencyRepresentationNormalized {
31
31
  /** The 18 character asset ID. */
32
32
  id: string;
33
33
  /** The time at which the asset was last accessed. */
34
- lastAccessedDate: string;
34
+ lastAccessedDate?: string;
35
35
  lastModifiedBy: WaveUserRepresentation_WaveUserRepresentation;
36
36
  /** The time at which the asset was last modified. */
37
37
  lastModifiedDate: string;
@@ -61,7 +61,7 @@ export interface DependencyRepresentation {
61
61
  datasets?: DependencyCollectionRepresentation_DependencyCollectionRepresentation;
62
62
  folder: AssetReferenceRepresentation_AssetReferenceRepresentation;
63
63
  id: string;
64
- lastAccessedDate: string;
64
+ lastAccessedDate?: string;
65
65
  lastModifiedBy: WaveUserRepresentation_WaveUserRepresentation;
66
66
  lastModifiedDate: string;
67
67
  lenses?: DependencyCollectionRepresentation_DependencyCollectionRepresentation;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-analytics-wave",
3
- "version": "1.451.0-dev11",
3
+ "version": "1.451.0-dev13",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "The Einstein Analytics family of APIs",
6
6
  "main": "dist/es/es2018/analytics-wave.js",
@@ -58,10 +58,10 @@
58
58
  }
59
59
  },
60
60
  "dependencies": {
61
- "@salesforce/lds-bindings": "^1.451.0-dev11"
61
+ "@salesforce/lds-bindings": "^1.451.0-dev13"
62
62
  },
63
63
  "devDependencies": {
64
- "@salesforce/lds-compiler-plugins": "^1.451.0-dev11"
64
+ "@salesforce/lds-compiler-plugins": "^1.451.0-dev13"
65
65
  },
66
66
  "volta": {
67
67
  "extends": "../../package.json"
package/sfdc/index.js CHANGED
@@ -23065,7 +23065,7 @@ function equals$y(existing, incoming) {
23065
23065
  }
23066
23066
 
23067
23067
  const TTL$d = 300;
23068
- const VERSION$x = "48f06a8dcd1c9b00fde7be3cf3e5350e";
23068
+ const VERSION$x = "ea40f89e3f4fe99d17f11ecf63261212";
23069
23069
  function validate$P(obj, path = 'DependencyRepresentation') {
23070
23070
  const v_error = (() => {
23071
23071
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -23121,10 +23121,12 @@ function validate$P(obj, path = 'DependencyRepresentation') {
23121
23121
  if (typeof obj_id !== 'string') {
23122
23122
  return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
23123
23123
  }
23124
- const obj_lastAccessedDate = obj.lastAccessedDate;
23125
- const path_lastAccessedDate = path + '.lastAccessedDate';
23126
- if (typeof obj_lastAccessedDate !== 'string') {
23127
- return new TypeError('Expected "string" but received "' + typeof obj_lastAccessedDate + '" (at "' + path_lastAccessedDate + '")');
23124
+ if (obj.lastAccessedDate !== undefined) {
23125
+ const obj_lastAccessedDate = obj.lastAccessedDate;
23126
+ const path_lastAccessedDate = path + '.lastAccessedDate';
23127
+ if (typeof obj_lastAccessedDate !== 'string') {
23128
+ return new TypeError('Expected "string" but received "' + typeof obj_lastAccessedDate + '" (at "' + path_lastAccessedDate + '")');
23129
+ }
23128
23130
  }
23129
23131
  const obj_lastModifiedBy = obj.lastModifiedBy;
23130
23132
  const path_lastModifiedBy = path + '.lastModifiedBy';
@@ -23234,7 +23236,8 @@ const select$11 = function DependencyRepresentationSelect() {
23234
23236
  },
23235
23237
  {
23236
23238
  name: 'lastAccessedDate',
23237
- kind: 'Scalar'
23239
+ kind: 'Scalar',
23240
+ required: false
23238
23241
  },
23239
23242
  {
23240
23243
  name: 'lastModifiedBy',
@@ -23299,8 +23302,16 @@ function equals$x(existing, incoming) {
23299
23302
  }
23300
23303
  const existing_lastAccessedDate = existing.lastAccessedDate;
23301
23304
  const incoming_lastAccessedDate = incoming.lastAccessedDate;
23302
- if (!(existing_lastAccessedDate === incoming_lastAccessedDate)) {
23303
- return false;
23305
+ // if at least one of these optionals is defined
23306
+ if (existing_lastAccessedDate !== undefined || incoming_lastAccessedDate !== undefined) {
23307
+ // if one of these is not defined we know the other is defined and therefore
23308
+ // not equal
23309
+ if (existing_lastAccessedDate === undefined || incoming_lastAccessedDate === undefined) {
23310
+ return false;
23311
+ }
23312
+ if (!(existing_lastAccessedDate === incoming_lastAccessedDate)) {
23313
+ return false;
23314
+ }
23304
23315
  }
23305
23316
  const existing_lastModifiedDate = existing.lastModifiedDate;
23306
23317
  const incoming_lastModifiedDate = incoming.lastModifiedDate;
@@ -33563,4 +33574,4 @@ withDefaultLuvio((luvio) => {
33563
33574
  });
33564
33575
 
33565
33576
  export { createDataConnector, createDataflowJob, createDataset, createDatasetVersion, createReplicatedDataset, createWaveFolder, deleteDataConnector, deleteDataset, deleteRecipe, deleteReplicatedDataset, deleteWaveFolder, executeQuery, executeQuery_imperative, getActions, getActions_imperative, getAnalyticsLimits, getAnalyticsLimits_imperative, getDataConnector, getDataConnectorNotifyChange, getDataConnectorSourceFields, getDataConnectorSourceFieldsNotifyChange, getDataConnectorSourceFieldsWithAdvProps, getDataConnectorSourceFieldsWithAdvPropsNotifyChange, getDataConnectorSourceFieldsWithAdvProps_imperative, getDataConnectorSourceFields_imperative, getDataConnectorSourceObject, getDataConnectorSourceObjectDataPreviewWithFields, getDataConnectorSourceObjectDataPreviewWithFields_imperative, getDataConnectorSourceObjectNotifyChange, getDataConnectorSourceObject_imperative, getDataConnectorSourceObjects, getDataConnectorSourceObjects_imperative, getDataConnectorStatus, getDataConnectorStatus_imperative, getDataConnectorTypes, getDataConnectorTypes_imperative, getDataConnector_imperative, getDataConnectors, getDataConnectors_imperative, getDataflowJob, getDataflowJobNode, getDataflowJobNodeNotifyChange, getDataflowJobNodeStage, getDataflowJobNodeStageNotifyChange, getDataflowJobNodeStageParents, getDataflowJobNodeStageParentsNotifyChange, getDataflowJobNodeStageParents_imperative, getDataflowJobNodeStage_imperative, getDataflowJobNodeStages, getDataflowJobNodeStages_imperative, getDataflowJobNode_imperative, getDataflowJobNodes, getDataflowJobNodes_imperative, getDataflowJobNotifyChange, getDataflowJob_imperative, getDataflowJobs, getDataflowJobs_imperative, getDataflows, getDataflows_imperative, getDataset, getDatasetNotifyChange, getDatasetVersion, getDatasetVersionNotifyChange, getDatasetVersion_imperative, getDatasetVersions, getDatasetVersions_imperative, getDataset_imperative, getDatasets, getDatasets_imperative, getDependencies, getDependencies_imperative, getRecipe, getRecipeNotification, getRecipeNotificationNotifyChange, getRecipeNotification_imperative, getRecipeNotifyChange, getRecipe_imperative, getRecipes, getRecipes_imperative, getReplicatedDataset, getReplicatedDatasetNotifyChange, getReplicatedDataset_imperative, getReplicatedDatasets, getReplicatedDatasets_imperative, getReplicatedFields, getReplicatedFieldsNotifyChange, getReplicatedFieldsWithAdvancedProps, getReplicatedFieldsWithAdvancedPropsNotifyChange, getReplicatedFieldsWithAdvancedProps_imperative, getReplicatedFields_imperative, getSchedule, getScheduleNotifyChange, getSchedule_imperative, getSecurityCoverageDatasetVersion, getSecurityCoverageDatasetVersion_imperative, getWaveFolder, getWaveFolderNotifyChange, getWaveFolder_imperative, getWaveFolders, getWaveFolders_imperative, getWaveTemplate, getWaveTemplateConfig, getWaveTemplateConfigNotifyChange, getWaveTemplateConfig_imperative, getWaveTemplateNotifyChange, getWaveTemplateReleaseNotes, getWaveTemplateReleaseNotesNotifyChange, getWaveTemplateReleaseNotes_imperative, getWaveTemplate_imperative, getWaveTemplates, getWaveTemplates_imperative, getWaveUnsupportedFeatures, getWaveUnsupportedFeatures_imperative, getXmd, getXmd_imperative, ingestDataConnector, updateDataConnector, updateDataflowJob, updateDataset, updateDatasetVersion, updatePartialWaveFolder, updateRecipe, updateRecipeNotification, updateReplicatedDataset, updateReplicatedFields, updateSchedule, updateWaveFolder, updateXmd, validateWaveTemplate };
33566
- // version: 1.451.0-dev11-1934f1a3ff
33577
+ // version: 1.451.0-dev13-175bc5540e
package/src/raml/api.raml CHANGED
@@ -1946,6 +1946,7 @@ types:
1946
1946
  lastAccessedDate:
1947
1947
  description: The time at which the asset was last accessed.
1948
1948
  type: string
1949
+ required: false # TODO Hand-rolled W-24324703
1949
1950
  lastModifiedBy:
1950
1951
  description: The user who last modified the asset.
1951
1952
  type: WaveUserRepresentation