@salesforce/lds-adapters-analytics-wave 1.446.0 → 1.447.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.
|
@@ -8928,7 +8928,7 @@ function getTypeCacheKeys$B(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
8928
8928
|
}
|
|
8929
8929
|
|
|
8930
8930
|
const TTL$w = 5000;
|
|
8931
|
-
const VERSION$18 = "
|
|
8931
|
+
const VERSION$18 = "92df3ba02586d46168c01020932ca1f8";
|
|
8932
8932
|
function validate$1Y(obj, path = 'DataflowJobRepresentation') {
|
|
8933
8933
|
const validateBaseWaveAssetRepresentation_validateError = validate$1U(obj, path);
|
|
8934
8934
|
if (validateBaseWaveAssetRepresentation_validateError !== null) {
|
|
@@ -8938,6 +8938,13 @@ function validate$1Y(obj, path = 'DataflowJobRepresentation') {
|
|
|
8938
8938
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8939
8939
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
8940
8940
|
}
|
|
8941
|
+
if (obj.dataflowVersionId !== undefined) {
|
|
8942
|
+
const obj_dataflowVersionId = obj.dataflowVersionId;
|
|
8943
|
+
const path_dataflowVersionId = path + '.dataflowVersionId';
|
|
8944
|
+
if (typeof obj_dataflowVersionId !== 'string') {
|
|
8945
|
+
return new TypeError('Expected "string" but received "' + typeof obj_dataflowVersionId + '" (at "' + path_dataflowVersionId + '")');
|
|
8946
|
+
}
|
|
8947
|
+
}
|
|
8941
8948
|
if (obj.duration !== undefined) {
|
|
8942
8949
|
const obj_duration = obj.duration;
|
|
8943
8950
|
const path_duration = path + '.duration';
|
|
@@ -9196,6 +9203,11 @@ const select$23 = function DataflowJobRepresentationSelect() {
|
|
|
9196
9203
|
private: [],
|
|
9197
9204
|
selections: [
|
|
9198
9205
|
...BaseWaveAssetRepresentationSelections,
|
|
9206
|
+
{
|
|
9207
|
+
name: 'dataflowVersionId',
|
|
9208
|
+
kind: 'Scalar',
|
|
9209
|
+
required: false
|
|
9210
|
+
},
|
|
9199
9211
|
{
|
|
9200
9212
|
name: 'duration',
|
|
9201
9213
|
kind: 'Scalar',
|
|
@@ -9300,6 +9312,19 @@ function equals$18(existing, incoming) {
|
|
|
9300
9312
|
return false;
|
|
9301
9313
|
}
|
|
9302
9314
|
}
|
|
9315
|
+
const existing_dataflowVersionId = existing.dataflowVersionId;
|
|
9316
|
+
const incoming_dataflowVersionId = incoming.dataflowVersionId;
|
|
9317
|
+
// if at least one of these optionals is defined
|
|
9318
|
+
if (existing_dataflowVersionId !== undefined || incoming_dataflowVersionId !== undefined) {
|
|
9319
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
9320
|
+
// not equal
|
|
9321
|
+
if (existing_dataflowVersionId === undefined || incoming_dataflowVersionId === undefined) {
|
|
9322
|
+
return false;
|
|
9323
|
+
}
|
|
9324
|
+
if (!(existing_dataflowVersionId === incoming_dataflowVersionId)) {
|
|
9325
|
+
return false;
|
|
9326
|
+
}
|
|
9327
|
+
}
|
|
9303
9328
|
const existing_jobType = existing.jobType;
|
|
9304
9329
|
const incoming_jobType = incoming.jobType;
|
|
9305
9330
|
if (!(existing_jobType === incoming_jobType)) {
|
|
@@ -6,7 +6,7 @@ import { AssetReferenceRepresentation as AssetReferenceRepresentation_AssetRefer
|
|
|
6
6
|
import { Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, 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';
|
|
7
7
|
import { DataflowCollectionRepresentation as DataflowCollectionRepresentation_DataflowCollectionRepresentation } from './DataflowCollectionRepresentation';
|
|
8
8
|
export declare const TTL = 5000;
|
|
9
|
-
export declare const VERSION = "
|
|
9
|
+
export declare const VERSION = "92df3ba02586d46168c01020932ca1f8";
|
|
10
10
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
11
11
|
export declare const RepresentationType: string;
|
|
12
12
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: Parameters<typeof BaseWaveAssetRepresentation_keyBuilder>[1]): string;
|
|
@@ -34,6 +34,8 @@ export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$lu
|
|
|
34
34
|
* id (string): id
|
|
35
35
|
*/
|
|
36
36
|
export interface DataflowJobRepresentationNormalized extends BaseWaveAssetRepresentation_BaseWaveAssetRepresentation {
|
|
37
|
+
/** The id of the recipe/dataflow version this job ran against */
|
|
38
|
+
dataflowVersionId?: string;
|
|
37
39
|
/** The runtime in seconds of a dataflow job */
|
|
38
40
|
duration?: number;
|
|
39
41
|
events?: JobEventCollectionRepresentation_JobEventCollectionRepresentation;
|
|
@@ -70,6 +72,7 @@ export interface DataflowJobRepresentationNormalized extends BaseWaveAssetRepres
|
|
|
70
72
|
* id (string): id
|
|
71
73
|
*/
|
|
72
74
|
export interface DataflowJobRepresentation extends BaseWaveAssetRepresentation_BaseWaveAssetRepresentation {
|
|
75
|
+
dataflowVersionId?: string;
|
|
73
76
|
duration?: number;
|
|
74
77
|
events?: JobEventCollectionRepresentation_JobEventCollectionRepresentation;
|
|
75
78
|
executedDate?: string | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-analytics-wave",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.447.0",
|
|
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",
|
|
@@ -66,11 +66,11 @@
|
|
|
66
66
|
}
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
|
-
"@salesforce/lds-bindings": "^1.
|
|
69
|
+
"@salesforce/lds-bindings": "^1.447.0"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
73
|
-
"@salesforce/lds-karma": "^1.
|
|
72
|
+
"@salesforce/lds-compiler-plugins": "^1.447.0",
|
|
73
|
+
"@salesforce/lds-karma": "^1.447.0"
|
|
74
74
|
},
|
|
75
75
|
"volta": {
|
|
76
76
|
"extends": "../../package.json"
|
package/sfdc/index.js
CHANGED
|
@@ -8383,7 +8383,7 @@ function getTypeCacheKeys$C(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
8383
8383
|
}
|
|
8384
8384
|
|
|
8385
8385
|
const TTL$x = 5000;
|
|
8386
|
-
const VERSION$1b = "
|
|
8386
|
+
const VERSION$1b = "92df3ba02586d46168c01020932ca1f8";
|
|
8387
8387
|
function validate$1_(obj, path = 'DataflowJobRepresentation') {
|
|
8388
8388
|
const validateBaseWaveAssetRepresentation_validateError = validate$1W(obj, path);
|
|
8389
8389
|
if (validateBaseWaveAssetRepresentation_validateError !== null) {
|
|
@@ -8393,6 +8393,13 @@ function validate$1_(obj, path = 'DataflowJobRepresentation') {
|
|
|
8393
8393
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8394
8394
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
8395
8395
|
}
|
|
8396
|
+
if (obj.dataflowVersionId !== undefined) {
|
|
8397
|
+
const obj_dataflowVersionId = obj.dataflowVersionId;
|
|
8398
|
+
const path_dataflowVersionId = path + '.dataflowVersionId';
|
|
8399
|
+
if (typeof obj_dataflowVersionId !== 'string') {
|
|
8400
|
+
return new TypeError('Expected "string" but received "' + typeof obj_dataflowVersionId + '" (at "' + path_dataflowVersionId + '")');
|
|
8401
|
+
}
|
|
8402
|
+
}
|
|
8396
8403
|
if (obj.duration !== undefined) {
|
|
8397
8404
|
const obj_duration = obj.duration;
|
|
8398
8405
|
const path_duration = path + '.duration';
|
|
@@ -8651,6 +8658,11 @@ const select$29 = function DataflowJobRepresentationSelect() {
|
|
|
8651
8658
|
private: [],
|
|
8652
8659
|
selections: [
|
|
8653
8660
|
...BaseWaveAssetRepresentationSelections,
|
|
8661
|
+
{
|
|
8662
|
+
name: 'dataflowVersionId',
|
|
8663
|
+
kind: 'Scalar',
|
|
8664
|
+
required: false
|
|
8665
|
+
},
|
|
8654
8666
|
{
|
|
8655
8667
|
name: 'duration',
|
|
8656
8668
|
kind: 'Scalar',
|
|
@@ -8755,6 +8767,19 @@ function equals$1b(existing, incoming) {
|
|
|
8755
8767
|
return false;
|
|
8756
8768
|
}
|
|
8757
8769
|
}
|
|
8770
|
+
const existing_dataflowVersionId = existing.dataflowVersionId;
|
|
8771
|
+
const incoming_dataflowVersionId = incoming.dataflowVersionId;
|
|
8772
|
+
// if at least one of these optionals is defined
|
|
8773
|
+
if (existing_dataflowVersionId !== undefined || incoming_dataflowVersionId !== undefined) {
|
|
8774
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
8775
|
+
// not equal
|
|
8776
|
+
if (existing_dataflowVersionId === undefined || incoming_dataflowVersionId === undefined) {
|
|
8777
|
+
return false;
|
|
8778
|
+
}
|
|
8779
|
+
if (!(existing_dataflowVersionId === incoming_dataflowVersionId)) {
|
|
8780
|
+
return false;
|
|
8781
|
+
}
|
|
8782
|
+
}
|
|
8758
8783
|
const existing_jobType = existing.jobType;
|
|
8759
8784
|
const incoming_jobType = incoming.jobType;
|
|
8760
8785
|
if (!(existing_jobType === incoming_jobType)) {
|
|
@@ -33538,4 +33563,4 @@ withDefaultLuvio((luvio) => {
|
|
|
33538
33563
|
});
|
|
33539
33564
|
|
|
33540
33565
|
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 };
|
|
33541
|
-
// version: 1.
|
|
33566
|
+
// version: 1.447.0-b75721e8dd
|
package/src/raml/api.raml
CHANGED
|
@@ -1288,6 +1288,10 @@ types:
|
|
|
1288
1288
|
discriminatorValue: DataflowJob
|
|
1289
1289
|
type: BaseWaveAssetRepresentation
|
|
1290
1290
|
properties:
|
|
1291
|
+
dataflowVersionId:
|
|
1292
|
+
description: The id of the recipe/dataflow version this job ran against
|
|
1293
|
+
type: string
|
|
1294
|
+
required: false # TODO Hand-rolled W-8253396
|
|
1291
1295
|
duration:
|
|
1292
1296
|
description: The runtime in seconds of a dataflow job
|
|
1293
1297
|
type: integer
|