@salesforce/lds-adapters-analytics-unifiedanalytics 1.332.0-dev16 → 1.332.0-dev17
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-unifiedanalytics.js +222 -81
- package/dist/es/es2018/types/src/generated/adapters/follow.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/resources/postTableauFollowFollowersFollowsByFollowerId.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/types/DataAssetRequestRepresentation.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/types/FollowInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/FollowedAssetRepresentation.d.ts +5 -1
- package/dist/es/es2018/types/src/generated/types/FollowedTimeRangeRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/FollowerAssetRepresentation.d.ts +5 -1
- package/package.json +3 -3
- package/sfdc/index.js +220 -79
- package/src/raml/api.raml +23 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
2
|
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
+
import { FollowedTimeRangeRepresentation as types_FollowedTimeRangeRepresentation_FollowedTimeRangeRepresentation } from '../types/FollowedTimeRangeRepresentation';
|
|
3
4
|
import { ResourceRequestConfig as resources_postTableauFollowFollowersFollowsByFollowerId_ResourceRequestConfig } from '../resources/postTableauFollowFollowersFollowsByFollowerId';
|
|
4
5
|
import { FollowerAssetRepresentation as types_FollowerAssetRepresentation_FollowerAssetRepresentation } from '../types/FollowerAssetRepresentation';
|
|
5
6
|
export declare const adapterName = "follow";
|
|
@@ -10,6 +11,7 @@ export interface FollowConfig {
|
|
|
10
11
|
assetId: string;
|
|
11
12
|
assetType: string;
|
|
12
13
|
followerType: string;
|
|
14
|
+
followedTimeRange?: types_FollowedTimeRangeRepresentation_FollowedTimeRangeRepresentation;
|
|
13
15
|
}
|
|
14
16
|
export declare const createResourceParams: (config: FollowConfig) => resources_postTableauFollowFollowersFollowsByFollowerId_ResourceRequestConfig;
|
|
15
17
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<FollowConfig>): adapter$45$utils_Untrusted<FollowConfig>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { FollowedTimeRangeRepresentation as types_FollowedTimeRangeRepresentation_FollowedTimeRangeRepresentation } from '../types/FollowedTimeRangeRepresentation';
|
|
1
2
|
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
3
|
import { FollowerAssetRepresentation as types_FollowerAssetRepresentation_FollowerAssetRepresentation } from '../types/FollowerAssetRepresentation';
|
|
3
4
|
export interface ResourceRequestConfig {
|
|
@@ -8,6 +9,7 @@ export interface ResourceRequestConfig {
|
|
|
8
9
|
assetId: string;
|
|
9
10
|
assetType: string;
|
|
10
11
|
followerType: string;
|
|
12
|
+
followedTimeRange?: types_FollowedTimeRangeRepresentation_FollowedTimeRangeRepresentation;
|
|
11
13
|
};
|
|
12
14
|
}
|
|
13
15
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AnalyticsUserRepresentation as AnalyticsUserRepresentation_AnalyticsUserRepresentation } from './AnalyticsUserRepresentation';
|
|
2
2
|
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';
|
|
3
3
|
export declare const TTL = 500;
|
|
4
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "6e1c96752ff32573835ff880edbeaac0";
|
|
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 {
|
|
@@ -82,7 +82,7 @@ export interface DataAssetRequestRepresentationNormalized {
|
|
|
82
82
|
/** Data Asset Request Target Id */
|
|
83
83
|
targetRequestId: string | null;
|
|
84
84
|
/** workspaceAssetId in the workspace */
|
|
85
|
-
workspaceAssetId: string;
|
|
85
|
+
workspaceAssetId: string | null;
|
|
86
86
|
}
|
|
87
87
|
/**
|
|
88
88
|
* Represents a data asset request
|
|
@@ -119,5 +119,5 @@ export interface DataAssetRequestRepresentation {
|
|
|
119
119
|
sourceRequestId: string | null;
|
|
120
120
|
status: string;
|
|
121
121
|
targetRequestId: string | null;
|
|
122
|
-
workspaceAssetId: string;
|
|
122
|
+
workspaceAssetId: string | null;
|
|
123
123
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { FollowedTimeRangeRepresentation as FollowedTimeRangeRepresentation_FollowedTimeRangeRepresentation } from './FollowedTimeRangeRepresentation';
|
|
1
2
|
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';
|
|
2
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "72ba19137e3c57dbef3fb646bf3cf92f";
|
|
3
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
5
|
export declare const RepresentationType: string;
|
|
5
6
|
export declare function normalize(input: FollowInputRepresentation, existing: FollowInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FollowInputRepresentationNormalized;
|
|
@@ -18,6 +19,7 @@ export interface FollowInputRepresentationNormalized {
|
|
|
18
19
|
assetId: string;
|
|
19
20
|
/** Followed asset type */
|
|
20
21
|
assetType: string;
|
|
22
|
+
followedTimeRange?: FollowedTimeRangeRepresentation_FollowedTimeRangeRepresentation;
|
|
21
23
|
/** Follower type */
|
|
22
24
|
followerType: string;
|
|
23
25
|
}
|
|
@@ -30,5 +32,6 @@ export interface FollowInputRepresentationNormalized {
|
|
|
30
32
|
export interface FollowInputRepresentation {
|
|
31
33
|
assetId: string;
|
|
32
34
|
assetType: string;
|
|
35
|
+
followedTimeRange?: FollowedTimeRangeRepresentation_FollowedTimeRangeRepresentation;
|
|
33
36
|
followerType: string;
|
|
34
37
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { FollowedTimeRangeRepresentation as FollowedTimeRangeRepresentation_FollowedTimeRangeRepresentation } from './FollowedTimeRangeRepresentation';
|
|
1
2
|
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
3
|
export declare const TTL = 500;
|
|
3
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "9cd6980f9593d6d32a175fd89cc6d611";
|
|
4
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
6
|
export declare const RepresentationType: string;
|
|
6
7
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -32,6 +33,8 @@ export interface FollowedAssetRepresentationNormalized {
|
|
|
32
33
|
createdDate: string;
|
|
33
34
|
/** Description of the asset. */
|
|
34
35
|
description?: string;
|
|
36
|
+
/** Time Range filter representation */
|
|
37
|
+
followedTimeRange?: FollowedTimeRangeRepresentation_FollowedTimeRangeRepresentation | null;
|
|
35
38
|
/** Database record id of the asset. */
|
|
36
39
|
id: string;
|
|
37
40
|
/** Label of the asset. */
|
|
@@ -54,6 +57,7 @@ export interface FollowedAssetRepresentation {
|
|
|
54
57
|
createdBy: unknown;
|
|
55
58
|
createdDate: string;
|
|
56
59
|
description?: string;
|
|
60
|
+
followedTimeRange?: FollowedTimeRangeRepresentation_FollowedTimeRangeRepresentation | null;
|
|
57
61
|
id: string;
|
|
58
62
|
label: string;
|
|
59
63
|
lastModifiedBy?: unknown;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
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';
|
|
2
|
+
export declare const VERSION = "485d6ce6d6797417575c91493e9d23fa";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: FollowedTimeRangeRepresentation, existing: FollowedTimeRangeRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FollowedTimeRangeRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: FollowedTimeRangeRepresentationNormalized, incoming: FollowedTimeRangeRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: FollowedTimeRangeRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Followed Time Range Representation
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface FollowedTimeRangeRepresentationNormalized {
|
|
17
|
+
fieldName: string;
|
|
18
|
+
operator: string;
|
|
19
|
+
values: Array<string | number>;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Followed Time Range Representation
|
|
23
|
+
*
|
|
24
|
+
* Keys:
|
|
25
|
+
* (none)
|
|
26
|
+
*/
|
|
27
|
+
export interface FollowedTimeRangeRepresentation {
|
|
28
|
+
fieldName: string;
|
|
29
|
+
operator: string;
|
|
30
|
+
values: Array<string | number>;
|
|
31
|
+
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { AnalyticsUserRepresentation as AnalyticsUserRepresentation_AnalyticsUserRepresentation } from './AnalyticsUserRepresentation';
|
|
2
|
+
import { FollowedTimeRangeRepresentation as FollowedTimeRangeRepresentation_FollowedTimeRangeRepresentation } from './FollowedTimeRangeRepresentation';
|
|
2
3
|
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';
|
|
3
4
|
export declare const TTL = 500;
|
|
4
|
-
export declare const VERSION = "
|
|
5
|
+
export declare const VERSION = "c3bc904365300b26d1f104c9bc055527";
|
|
5
6
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
7
|
export declare const RepresentationType: string;
|
|
7
8
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -33,6 +34,8 @@ export interface FollowerAssetRepresentationNormalized {
|
|
|
33
34
|
followedAssetId: string;
|
|
34
35
|
/** Followed asset type */
|
|
35
36
|
followedAssetType: string;
|
|
37
|
+
/** Time Range filter representation */
|
|
38
|
+
followedTimeRange?: FollowedTimeRangeRepresentation_FollowedTimeRangeRepresentation | null;
|
|
36
39
|
/** Follower ID */
|
|
37
40
|
followerId: string;
|
|
38
41
|
/** Follower type */
|
|
@@ -49,6 +52,7 @@ export interface FollowerAssetRepresentation {
|
|
|
49
52
|
createdDate: string;
|
|
50
53
|
followedAssetId: string;
|
|
51
54
|
followedAssetType: string;
|
|
55
|
+
followedTimeRange?: FollowedTimeRangeRepresentation_FollowedTimeRangeRepresentation | null;
|
|
52
56
|
followerId: string;
|
|
53
57
|
followerType: string;
|
|
54
58
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-analytics-unifiedanalytics",
|
|
3
|
-
"version": "1.332.0-
|
|
3
|
+
"version": "1.332.0-dev17",
|
|
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.332.0-
|
|
43
|
+
"@salesforce/lds-bindings": "^1.332.0-dev17"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.332.0-
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.332.0-dev17"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|