@salesforce/lds-adapters-analytics-wave-private 0.1.0-dev1
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/LICENSE.txt +82 -0
- package/dist/es/es2018/analytics-wave-private.js +1364 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/adapters/createDashboard.d.ts +22 -0
- package/dist/es/es2018/types/src/generated/adapters/executeSoqlQueryPost.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/adapters/executeTemplateSetupPlan.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/adapters/getTemplateSetupPlan.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +4 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +8 -0
- package/dist/es/es2018/types/src/generated/resources/getWaveTemplatesPlansByPlanNameAndTemplateIdOrApiName.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/postWaveDashboards.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/resources/postWaveSoql.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/postWaveTemplatesPlansByPlanNameAndTemplateIdOrApiName.d.ts +13 -0
- package/dist/es/es2018/types/src/generated/types/BaseDashboardInputRepresentation.d.ts +47 -0
- package/dist/es/es2018/types/src/generated/types/DashboardRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/SoqlQueryInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/SoqlQueryResultRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/TemplateSetupJobRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/TemplateSetupPlanRepresentation.d.ts +60 -0
- package/dist/es/es2018/types/src/generated/types/TemplateSetupTaskRepresentation.d.ts +55 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
- package/package.json +75 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +1460 -0
- package/src/raml/api.raml +278 -0
- package/src/raml/luvio.raml +43 -0
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { Adapter as $64$luvio_engine_Adapter, Snapshot as $64$luvio_engine_Snapshot, UnfulfilledSnapshot as $64$luvio_engine_UnfulfilledSnapshot, AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const ObjectPrototypeHasOwnProperty: (v: PropertyKey) => boolean;
|
|
3
|
+
declare const ObjectKeys: {
|
|
4
|
+
(o: object): string[];
|
|
5
|
+
(o: {}): string[];
|
|
6
|
+
}, ObjectCreate: {
|
|
7
|
+
(o: object | null): any;
|
|
8
|
+
(o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
|
|
9
|
+
};
|
|
10
|
+
export { ObjectCreate, ObjectKeys };
|
|
11
|
+
export declare const ArrayIsArray: (arg: any) => arg is any[];
|
|
12
|
+
export declare const ArrayPrototypePush: (...items: any[]) => number;
|
|
13
|
+
export interface AdapterValidationConfig {
|
|
14
|
+
displayName: string;
|
|
15
|
+
parameters: {
|
|
16
|
+
required: string[];
|
|
17
|
+
optional: string[];
|
|
18
|
+
unsupported?: string[];
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Validates an adapter config is well-formed.
|
|
23
|
+
* @param config The config to validate.
|
|
24
|
+
* @param adapter The adapter validation configuration.
|
|
25
|
+
* @param oneOf The keys the config must contain at least one of.
|
|
26
|
+
* @throws A TypeError if config doesn't satisfy the adapter's config validation.
|
|
27
|
+
*/
|
|
28
|
+
export declare function validateConfig<T>(config: Untrusted<T>, adapter: AdapterValidationConfig, oneOf?: string[]): void;
|
|
29
|
+
export declare function untrustedIsObject<Base>(untrusted: unknown): untrusted is Untrusted<Base>;
|
|
30
|
+
export type UncoercedConfiguration<Base, Options extends {
|
|
31
|
+
[key in keyof Base]?: any;
|
|
32
|
+
}> = {
|
|
33
|
+
[Key in keyof Base]?: Base[Key] | Options[Key];
|
|
34
|
+
};
|
|
35
|
+
export type Untrusted<Base> = Partial<Base>;
|
|
36
|
+
export declare function areRequiredParametersPresent<T>(config: any, configPropertyNames: AdapterValidationConfig): config is T;
|
|
37
|
+
export declare function refreshable<C, D, R>(adapter: $64$luvio_engine_Adapter<C, D>, resolve: (config: unknown) => Promise<$64$luvio_engine_Snapshot<R>>): $64$luvio_engine_Adapter<C, D>;
|
|
38
|
+
export declare const SNAPSHOT_STATE_FULFILLED = "Fulfilled";
|
|
39
|
+
export declare const SNAPSHOT_STATE_UNFULFILLED = "Unfulfilled";
|
|
40
|
+
export declare const snapshotRefreshOptions: {
|
|
41
|
+
overrides: {
|
|
42
|
+
headers: {
|
|
43
|
+
'Cache-Control': string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* A deterministic JSON stringify implementation. Heavily adapted from https://github.com/epoberezkin/fast-json-stable-stringify.
|
|
49
|
+
* This is needed because insertion order for JSON.stringify(object) affects output:
|
|
50
|
+
* JSON.stringify({a: 1, b: 2})
|
|
51
|
+
* "{"a":1,"b":2}"
|
|
52
|
+
* JSON.stringify({b: 2, a: 1})
|
|
53
|
+
* "{"b":2,"a":1}"
|
|
54
|
+
* @param data Data to be JSON-stringified.
|
|
55
|
+
* @returns JSON.stringified value with consistent ordering of keys.
|
|
56
|
+
*/
|
|
57
|
+
export declare function stableJSONStringify(node: any): string | undefined;
|
|
58
|
+
export declare function getFetchResponseStatusText(status: number): string;
|
|
59
|
+
export declare function isUnfulfilledSnapshot<T, U>(snapshot: $64$luvio_engine_Snapshot<T, U>): snapshot is $64$luvio_engine_UnfulfilledSnapshot<T, U>;
|
|
60
|
+
export declare function generateParamConfigMetadata(name: string, required: boolean, resourceType: $64$luvio_engine_AdapterConfigMetadata['resourceType'], typeCheckShape: $64$luvio_engine_AdapterConfigMetadata['typeCheckShape'], isArrayShape?: boolean, coerceFn?: (v: unknown) => unknown): $64$luvio_engine_AdapterConfigMetadata;
|
|
61
|
+
export declare function buildAdapterValidationConfig(displayName: string, paramsMeta: $64$luvio_engine_AdapterConfigMetadata[]): AdapterValidationConfig;
|
|
62
|
+
export declare const keyPrefix = "WAVE";
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
+
import { ResourceRequestConfig as resources_postWaveDashboards_ResourceRequestConfig } from '../resources/postWaveDashboards';
|
|
4
|
+
import { DashboardRepresentation as types_DashboardRepresentation_DashboardRepresentation } from '../types/DashboardRepresentation';
|
|
5
|
+
export declare const adapterName = "createDashboard";
|
|
6
|
+
export declare const createDashboard_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const createDashboard_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface CreateDashboardConfig {
|
|
9
|
+
folder: unknown;
|
|
10
|
+
label: string;
|
|
11
|
+
name: string;
|
|
12
|
+
description: string;
|
|
13
|
+
templateSourceId: string;
|
|
14
|
+
templateValues: {
|
|
15
|
+
[key: string]: unknown;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
export declare const createResourceParams: (config: CreateDashboardConfig) => resources_postWaveDashboards_ResourceRequestConfig;
|
|
19
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateDashboardConfig>): adapter$45$utils_Untrusted<CreateDashboardConfig>;
|
|
20
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): CreateDashboardConfig | null;
|
|
21
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: CreateDashboardConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_DashboardRepresentation_DashboardRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_DashboardRepresentation_DashboardRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_DashboardRepresentation_DashboardRepresentation, any>>;
|
|
22
|
+
export declare const createDashboardAdapterFactory: $64$luvio_engine_AdapterFactory<CreateDashboardConfig, types_DashboardRepresentation_DashboardRepresentation>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
|
+
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
+
import { ResourceRequestConfig as resources_postWaveSoql_ResourceRequestConfig } from '../resources/postWaveSoql';
|
|
4
|
+
import { SoqlQueryResultRepresentation as types_SoqlQueryResultRepresentation_SoqlQueryResultRepresentation } from '../types/SoqlQueryResultRepresentation';
|
|
5
|
+
export declare const adapterName = "executeSoqlQueryPost";
|
|
6
|
+
export declare const executeSoqlQueryPost_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const executeSoqlQueryPost_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface ExecuteSoqlQueryPostConfig {
|
|
9
|
+
query: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const createResourceParams: (config: ExecuteSoqlQueryPostConfig) => resources_postWaveSoql_ResourceRequestConfig;
|
|
12
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: ExecuteSoqlQueryPostConfig): string;
|
|
13
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: ExecuteSoqlQueryPostConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
14
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<ExecuteSoqlQueryPostConfig>): adapter$45$utils_Untrusted<ExecuteSoqlQueryPostConfig>;
|
|
15
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): ExecuteSoqlQueryPostConfig | null;
|
|
16
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: ExecuteSoqlQueryPostConfig): $64$luvio_engine_Fragment;
|
|
17
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: ExecuteSoqlQueryPostConfig): $64$luvio_engine_Snapshot<types_SoqlQueryResultRepresentation_SoqlQueryResultRepresentation, any>;
|
|
18
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: ExecuteSoqlQueryPostConfig, resourceParams: resources_postWaveSoql_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_SoqlQueryResultRepresentation_SoqlQueryResultRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_SoqlQueryResultRepresentation_SoqlQueryResultRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_SoqlQueryResultRepresentation_SoqlQueryResultRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_SoqlQueryResultRepresentation_SoqlQueryResultRepresentation, any>>;
|
|
19
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: ExecuteSoqlQueryPostConfig, resourceParams: resources_postWaveSoql_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
20
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: ExecuteSoqlQueryPostConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_SoqlQueryResultRepresentation_SoqlQueryResultRepresentation, any>>;
|
|
21
|
+
export type BuildSnapshotContext = {
|
|
22
|
+
luvio: $64$luvio_engine_Luvio;
|
|
23
|
+
config: ExecuteSoqlQueryPostConfig;
|
|
24
|
+
};
|
|
25
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_SoqlQueryResultRepresentation_SoqlQueryResultRepresentation, any>>;
|
|
26
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_SoqlQueryResultRepresentation_SoqlQueryResultRepresentation>): $64$luvio_engine_Snapshot<types_SoqlQueryResultRepresentation_SoqlQueryResultRepresentation, any>;
|
|
27
|
+
export declare const executeSoqlQueryPostAdapterFactory: $64$luvio_engine_AdapterFactory<ExecuteSoqlQueryPostConfig, types_SoqlQueryResultRepresentation_SoqlQueryResultRepresentation>;
|
|
@@ -0,0 +1,16 @@
|
|
|
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
|
+
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
+
import { ResourceRequestConfig as resources_postWaveTemplatesPlansByPlanNameAndTemplateIdOrApiName_ResourceRequestConfig } from '../resources/postWaveTemplatesPlansByPlanNameAndTemplateIdOrApiName';
|
|
4
|
+
import { TemplateSetupPlanRepresentation as types_TemplateSetupPlanRepresentation_TemplateSetupPlanRepresentation } from '../types/TemplateSetupPlanRepresentation';
|
|
5
|
+
export declare const adapterName = "executeTemplateSetupPlan";
|
|
6
|
+
export declare const executeTemplateSetupPlan_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const executeTemplateSetupPlan_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface ExecuteTemplateSetupPlanConfig {
|
|
9
|
+
planName: string;
|
|
10
|
+
templateIdOrApiName: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const createResourceParams: (config: ExecuteTemplateSetupPlanConfig) => resources_postWaveTemplatesPlansByPlanNameAndTemplateIdOrApiName_ResourceRequestConfig;
|
|
13
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<ExecuteTemplateSetupPlanConfig>): adapter$45$utils_Untrusted<ExecuteTemplateSetupPlanConfig>;
|
|
14
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): ExecuteTemplateSetupPlanConfig | null;
|
|
15
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: ExecuteTemplateSetupPlanConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_TemplateSetupPlanRepresentation_TemplateSetupPlanRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_TemplateSetupPlanRepresentation_TemplateSetupPlanRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_TemplateSetupPlanRepresentation_TemplateSetupPlanRepresentation, any>>;
|
|
16
|
+
export declare const executeTemplateSetupPlanAdapterFactory: $64$luvio_engine_AdapterFactory<ExecuteTemplateSetupPlanConfig, types_TemplateSetupPlanRepresentation_TemplateSetupPlanRepresentation>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
|
+
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, UncoercedConfiguration as adapter$45$utils_UncoercedConfiguration } from './adapter-utils';
|
|
3
|
+
import { ResourceRequestConfig as resources_getWaveTemplatesPlansByPlanNameAndTemplateIdOrApiName_ResourceRequestConfig } from '../resources/getWaveTemplatesPlansByPlanNameAndTemplateIdOrApiName';
|
|
4
|
+
import { TemplateSetupPlanRepresentation as types_TemplateSetupPlanRepresentation_TemplateSetupPlanRepresentation, KeyParams as types_TemplateSetupPlanRepresentation_KeyParams } from '../types/TemplateSetupPlanRepresentation';
|
|
5
|
+
export declare const adapterName = "getTemplateSetupPlan";
|
|
6
|
+
export declare const getTemplateSetupPlan_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const getTemplateSetupPlan_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface GetTemplateSetupPlanConfig {
|
|
9
|
+
planName: string;
|
|
10
|
+
templateIdOrApiName: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const createResourceParams: (config: GetTemplateSetupPlanConfig) => resources_getWaveTemplatesPlansByPlanNameAndTemplateIdOrApiName_ResourceRequestConfig;
|
|
13
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetTemplateSetupPlanConfig): string;
|
|
14
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetTemplateSetupPlanConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetTemplateSetupPlanConfig>): adapter$45$utils_Untrusted<GetTemplateSetupPlanConfig>;
|
|
16
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetTemplateSetupPlanConfig | null;
|
|
17
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetTemplateSetupPlanConfig): $64$luvio_engine_Fragment;
|
|
18
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetTemplateSetupPlanConfig): $64$luvio_engine_Snapshot<types_TemplateSetupPlanRepresentation_TemplateSetupPlanRepresentation, any>;
|
|
19
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetTemplateSetupPlanConfig, resourceParams: resources_getWaveTemplatesPlansByPlanNameAndTemplateIdOrApiName_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_TemplateSetupPlanRepresentation_TemplateSetupPlanRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_TemplateSetupPlanRepresentation_TemplateSetupPlanRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_TemplateSetupPlanRepresentation_TemplateSetupPlanRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_TemplateSetupPlanRepresentation_TemplateSetupPlanRepresentation, any>>;
|
|
20
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetTemplateSetupPlanConfig, resourceParams: resources_getWaveTemplatesPlansByPlanNameAndTemplateIdOrApiName_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
21
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetTemplateSetupPlanConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_TemplateSetupPlanRepresentation_TemplateSetupPlanRepresentation, any>>;
|
|
22
|
+
export type BuildSnapshotContext = {
|
|
23
|
+
luvio: $64$luvio_engine_Luvio;
|
|
24
|
+
config: GetTemplateSetupPlanConfig;
|
|
25
|
+
};
|
|
26
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_TemplateSetupPlanRepresentation_TemplateSetupPlanRepresentation, any>>;
|
|
27
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_TemplateSetupPlanRepresentation_TemplateSetupPlanRepresentation>): $64$luvio_engine_Snapshot<types_TemplateSetupPlanRepresentation_TemplateSetupPlanRepresentation, any>;
|
|
28
|
+
export declare const getTemplateSetupPlanAdapterFactory: $64$luvio_engine_AdapterFactory<GetTemplateSetupPlanConfig, types_TemplateSetupPlanRepresentation_TemplateSetupPlanRepresentation>;
|
|
29
|
+
export declare const notifyChangeFactory: (luvio: $64$luvio_engine_Luvio, options?: $64$luvio_engine_DispatchResourceRequestContext) => (configs: adapter$45$utils_UncoercedConfiguration<types_TemplateSetupPlanRepresentation_KeyParams, any>[]) => void;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { executeSoqlQueryPostAdapterFactory } from '../adapters/executeSoqlQueryPost';
|
|
2
|
+
export { getTemplateSetupPlanAdapterFactory } from '../adapters/getTemplateSetupPlan';
|
|
3
|
+
export { executeTemplateSetupPlanAdapterFactory } from '../adapters/executeTemplateSetupPlan';
|
|
4
|
+
export { createDashboardAdapterFactory } from '../adapters/createDashboard';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare let createDashboard: any;
|
|
2
|
+
declare let executeSoqlQueryPost: any;
|
|
3
|
+
declare let executeTemplateSetupPlan: any;
|
|
4
|
+
declare let getTemplateSetupPlan: any;
|
|
5
|
+
declare let getTemplateSetupPlanNotifyChange: any;
|
|
6
|
+
declare let executeSoqlQueryPost_imperative: any;
|
|
7
|
+
declare let getTemplateSetupPlan_imperative: any;
|
|
8
|
+
export { createDashboard, executeSoqlQueryPost, executeTemplateSetupPlan, getTemplateSetupPlan, getTemplateSetupPlanNotifyChange, executeSoqlQueryPost_imperative, getTemplateSetupPlan_imperative, };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { TemplateSetupPlanRepresentation as types_TemplateSetupPlanRepresentation_TemplateSetupPlanRepresentation } from '../types/TemplateSetupPlanRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
planName: string;
|
|
6
|
+
templateIdOrApiName: string;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
10
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
11
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
12
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_TemplateSetupPlanRepresentation_TemplateSetupPlanRepresentation): void;
|
|
13
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_TemplateSetupPlanRepresentation_TemplateSetupPlanRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_TemplateSetupPlanRepresentation_TemplateSetupPlanRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_TemplateSetupPlanRepresentation_TemplateSetupPlanRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_TemplateSetupPlanRepresentation_TemplateSetupPlanRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_TemplateSetupPlanRepresentation_TemplateSetupPlanRepresentation, any>;
|
|
14
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_TemplateSetupPlanRepresentation_TemplateSetupPlanRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
15
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
16
|
+
export default createResourceRequest;
|
|
17
|
+
export declare function createResourceRequestFromRepresentation(representation: types_TemplateSetupPlanRepresentation_TemplateSetupPlanRepresentation): $64$luvio_engine_ResourceRequest;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
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
|
+
import { DashboardRepresentation as types_DashboardRepresentation_DashboardRepresentation } from '../types/DashboardRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
body: {
|
|
5
|
+
folder: unknown;
|
|
6
|
+
label: string;
|
|
7
|
+
name: string;
|
|
8
|
+
description: string;
|
|
9
|
+
templateSourceId: string;
|
|
10
|
+
templateValues: {
|
|
11
|
+
[key: string]: unknown;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
16
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_DashboardRepresentation_DashboardRepresentation): void;
|
|
17
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_DashboardRepresentation_DashboardRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_DashboardRepresentation_DashboardRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_DashboardRepresentation_DashboardRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_DashboardRepresentation_DashboardRepresentation, any>;
|
|
18
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
19
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { SoqlQueryResultRepresentation as types_SoqlQueryResultRepresentation_SoqlQueryResultRepresentation } from '../types/SoqlQueryResultRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
body: {
|
|
5
|
+
query: string;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
9
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
10
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_SoqlQueryResultRepresentation_SoqlQueryResultRepresentation): void;
|
|
12
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_SoqlQueryResultRepresentation_SoqlQueryResultRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_SoqlQueryResultRepresentation_SoqlQueryResultRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_SoqlQueryResultRepresentation_SoqlQueryResultRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_SoqlQueryResultRepresentation_SoqlQueryResultRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_SoqlQueryResultRepresentation_SoqlQueryResultRepresentation, any>;
|
|
13
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_SoqlQueryResultRepresentation_SoqlQueryResultRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
14
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
15
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
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
|
+
import { TemplateSetupPlanRepresentation as types_TemplateSetupPlanRepresentation_TemplateSetupPlanRepresentation } from '../types/TemplateSetupPlanRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
planName: string;
|
|
6
|
+
templateIdOrApiName: string;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
10
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_TemplateSetupPlanRepresentation_TemplateSetupPlanRepresentation): void;
|
|
11
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_TemplateSetupPlanRepresentation_TemplateSetupPlanRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_TemplateSetupPlanRepresentation_TemplateSetupPlanRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_TemplateSetupPlanRepresentation_TemplateSetupPlanRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_TemplateSetupPlanRepresentation_TemplateSetupPlanRepresentation, any>;
|
|
12
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
13
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,47 @@
|
|
|
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 = "f6d38e12bc8e31837184e318cffb7b95";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: BaseDashboardInputRepresentation, existing: BaseDashboardInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): BaseDashboardInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: BaseDashboardInputRepresentationNormalized, incoming: BaseDashboardInputRepresentationNormalized): 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: BaseDashboardInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Wave Dashboard Asset Representation
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface BaseDashboardInputRepresentationNormalized {
|
|
17
|
+
/** Short Description of the asset. */
|
|
18
|
+
description: string;
|
|
19
|
+
/** Folder in which this dashboard is stored. */
|
|
20
|
+
folder: unknown;
|
|
21
|
+
/** The label of the asset. */
|
|
22
|
+
label: string;
|
|
23
|
+
/** The name of the asset. */
|
|
24
|
+
name: string;
|
|
25
|
+
/** The source template ID or api name used to create the dashboard. */
|
|
26
|
+
templateSourceId: string;
|
|
27
|
+
/** The runtime template values to use during dashboard creation, as specified by the individual dashboard template. */
|
|
28
|
+
templateValues: {
|
|
29
|
+
[key: string]: unknown;
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Wave Dashboard Asset Representation
|
|
34
|
+
*
|
|
35
|
+
* Keys:
|
|
36
|
+
* (none)
|
|
37
|
+
*/
|
|
38
|
+
export interface BaseDashboardInputRepresentation {
|
|
39
|
+
description: string;
|
|
40
|
+
folder: unknown;
|
|
41
|
+
label: string;
|
|
42
|
+
name: string;
|
|
43
|
+
templateSourceId: string;
|
|
44
|
+
templateValues: {
|
|
45
|
+
[key: string]: unknown;
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
export declare const TTL = 5000;
|
|
3
|
+
export declare const VERSION = "699a5919410241df24d74fe9ab64fdd8";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
7
|
+
id: string | null;
|
|
8
|
+
}
|
|
9
|
+
export type DashboardRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
10
|
+
export type PartialDashboardRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
|
|
12
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): DashboardRepresentationNormalizedKeyMetadata;
|
|
13
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: DashboardRepresentation): string;
|
|
14
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: DashboardRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
|
+
export declare function normalize(input: DashboardRepresentation, existing: DashboardRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): DashboardRepresentationNormalized;
|
|
16
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
17
|
+
export declare function equals(existing: DashboardRepresentationNormalized, incoming: DashboardRepresentationNormalized): boolean;
|
|
18
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
19
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: DashboardRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
20
|
+
/**
|
|
21
|
+
* Wave dashboard asset representation.
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* id (string | null): id
|
|
25
|
+
*/
|
|
26
|
+
export interface DashboardRepresentationNormalized {
|
|
27
|
+
[key: string]: unknown;
|
|
28
|
+
/** The 18 character asset ID. */
|
|
29
|
+
id: string | null;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Wave dashboard asset representation.
|
|
33
|
+
*
|
|
34
|
+
* Keys:
|
|
35
|
+
* id (string | null): id
|
|
36
|
+
*/
|
|
37
|
+
export interface DashboardRepresentation {
|
|
38
|
+
[key: string]: unknown;
|
|
39
|
+
id: string | null;
|
|
40
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
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 = "da872cf6fcc857e13da8093d087bc121";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: SoqlQueryInputRepresentation, existing: SoqlQueryInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SoqlQueryInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: SoqlQueryInputRepresentationNormalized, incoming: SoqlQueryInputRepresentationNormalized): 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: SoqlQueryInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* A query input representation SOQL
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface SoqlQueryInputRepresentationNormalized {
|
|
17
|
+
/** The query */
|
|
18
|
+
query: string;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* A query input representation SOQL
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* (none)
|
|
25
|
+
*/
|
|
26
|
+
export interface SoqlQueryInputRepresentation {
|
|
27
|
+
query: string;
|
|
28
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, 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 TTL = 5000;
|
|
3
|
+
export declare const VERSION = "f4d046d44230e53375ee20bbd2483a1f";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: SoqlQueryResultRepresentation, existing: SoqlQueryResultRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SoqlQueryResultRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
8
|
+
export declare function equals(existing: SoqlQueryResultRepresentationNormalized, incoming: SoqlQueryResultRepresentationNormalized): boolean;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SoqlQueryResultRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Represents a string of JSON content that will be serialized as-is.
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface SoqlQueryResultRepresentationNormalized {
|
|
18
|
+
[key: string]: unknown;
|
|
19
|
+
done?: boolean;
|
|
20
|
+
/** The result records */
|
|
21
|
+
records: Array<unknown>;
|
|
22
|
+
totalSize?: number;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Represents a string of JSON content that will be serialized as-is.
|
|
26
|
+
*
|
|
27
|
+
* Keys:
|
|
28
|
+
* (none)
|
|
29
|
+
*/
|
|
30
|
+
export interface SoqlQueryResultRepresentation {
|
|
31
|
+
[key: string]: unknown;
|
|
32
|
+
done?: boolean;
|
|
33
|
+
records: Array<unknown>;
|
|
34
|
+
totalSize?: number;
|
|
35
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { TemplateSetupTaskRepresentation as TemplateSetupTaskRepresentation_TemplateSetupTaskRepresentation } from './TemplateSetupTaskRepresentation';
|
|
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';
|
|
3
|
+
export declare const VERSION = "902a8640d811c60e0dd88853dfbfe319";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: TemplateSetupJobRepresentation, existing: TemplateSetupJobRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): TemplateSetupJobRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: TemplateSetupJobRepresentationNormalized, incoming: TemplateSetupJobRepresentationNormalized): boolean;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: TemplateSetupJobRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* The configuration and status of a template setup job.
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface TemplateSetupJobRepresentationNormalized {
|
|
18
|
+
/** The job description. */
|
|
19
|
+
description?: string;
|
|
20
|
+
/** The job's last execution time duration. */
|
|
21
|
+
duration?: number;
|
|
22
|
+
/** The job name. */
|
|
23
|
+
name: string;
|
|
24
|
+
/** The job's last execution status */
|
|
25
|
+
status: string;
|
|
26
|
+
/** The tasks in this job. */
|
|
27
|
+
tasks: Array<TemplateSetupTaskRepresentation_TemplateSetupTaskRepresentation>;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* The configuration and status of a template setup job.
|
|
31
|
+
*
|
|
32
|
+
* Keys:
|
|
33
|
+
* (none)
|
|
34
|
+
*/
|
|
35
|
+
export interface TemplateSetupJobRepresentation {
|
|
36
|
+
description?: string;
|
|
37
|
+
duration?: number;
|
|
38
|
+
name: string;
|
|
39
|
+
status: string;
|
|
40
|
+
tasks: Array<TemplateSetupTaskRepresentation_TemplateSetupTaskRepresentation>;
|
|
41
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { TemplateSetupJobRepresentation as TemplateSetupJobRepresentation_TemplateSetupJobRepresentation } from './TemplateSetupJobRepresentation';
|
|
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, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
export declare const TTL = 1000;
|
|
4
|
+
export declare const VERSION = "21fb8a334009879b4efd92014fb2c9b6";
|
|
5
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
|
+
export declare const RepresentationType: string;
|
|
7
|
+
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
8
|
+
templateId: string;
|
|
9
|
+
planName: string;
|
|
10
|
+
}
|
|
11
|
+
export type TemplateSetupPlanRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
12
|
+
export type PartialTemplateSetupPlanRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
13
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
|
|
14
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): TemplateSetupPlanRepresentationNormalizedKeyMetadata;
|
|
15
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: TemplateSetupPlanRepresentation): string;
|
|
16
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: TemplateSetupPlanRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
17
|
+
export declare function normalize(input: TemplateSetupPlanRepresentation, existing: TemplateSetupPlanRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): TemplateSetupPlanRepresentationNormalized;
|
|
18
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
19
|
+
export declare function equals(existing: TemplateSetupPlanRepresentationNormalized, incoming: TemplateSetupPlanRepresentationNormalized): boolean;
|
|
20
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
21
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: TemplateSetupPlanRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
22
|
+
/**
|
|
23
|
+
* The configuration and current status of a template setup plan.
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* templateId (string): templateId
|
|
27
|
+
* planName (string): name
|
|
28
|
+
*/
|
|
29
|
+
export interface TemplateSetupPlanRepresentationNormalized {
|
|
30
|
+
/** The setup plan description. */
|
|
31
|
+
description?: string;
|
|
32
|
+
/** The task detailed description. */
|
|
33
|
+
details?: string;
|
|
34
|
+
/** The setup plan's last execution duration. */
|
|
35
|
+
duration?: number;
|
|
36
|
+
/** The jobs in this plan. */
|
|
37
|
+
jobs: Array<TemplateSetupJobRepresentation_TemplateSetupJobRepresentation>;
|
|
38
|
+
/** The setup plan name. */
|
|
39
|
+
name: string;
|
|
40
|
+
/** The setup plan's last execution status. */
|
|
41
|
+
status: string;
|
|
42
|
+
/** The template id for this setup plan. */
|
|
43
|
+
templateId: string;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* The configuration and current status of a template setup plan.
|
|
47
|
+
*
|
|
48
|
+
* Keys:
|
|
49
|
+
* templateId (string): templateId
|
|
50
|
+
* planName (string): name
|
|
51
|
+
*/
|
|
52
|
+
export interface TemplateSetupPlanRepresentation {
|
|
53
|
+
description?: string;
|
|
54
|
+
details?: string;
|
|
55
|
+
duration?: number;
|
|
56
|
+
jobs: Array<TemplateSetupJobRepresentation_TemplateSetupJobRepresentation>;
|
|
57
|
+
name: string;
|
|
58
|
+
status: string;
|
|
59
|
+
templateId: string;
|
|
60
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
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 = "8414479b5bce7ab7da1015deb3422035";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: TemplateSetupTaskRepresentation, existing: TemplateSetupTaskRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): TemplateSetupTaskRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: TemplateSetupTaskRepresentationNormalized, incoming: TemplateSetupTaskRepresentationNormalized): 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: TemplateSetupTaskRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* The configuration and status of a template setup task.
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface TemplateSetupTaskRepresentationNormalized {
|
|
17
|
+
/** The task description. */
|
|
18
|
+
description?: string;
|
|
19
|
+
/** The task detailed description. */
|
|
20
|
+
details?: string;
|
|
21
|
+
/** The task's last execution time duration. */
|
|
22
|
+
duration?: number;
|
|
23
|
+
/** Is the resulting setup for this task enabled. */
|
|
24
|
+
enabled?: boolean;
|
|
25
|
+
/** The End Date timestamp of the task. */
|
|
26
|
+
endDate?: string;
|
|
27
|
+
/** Any error message if the task's last execution failed. */
|
|
28
|
+
error?: string;
|
|
29
|
+
/** The task name. */
|
|
30
|
+
name: string;
|
|
31
|
+
/** The url or url path to perform the task configuration manually. Typically only shown on error. */
|
|
32
|
+
setupUrl?: string;
|
|
33
|
+
/** The Start Date timestamp of the task. */
|
|
34
|
+
startDate?: string;
|
|
35
|
+
/** The task's last execution status. */
|
|
36
|
+
status: string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* The configuration and status of a template setup task.
|
|
40
|
+
*
|
|
41
|
+
* Keys:
|
|
42
|
+
* (none)
|
|
43
|
+
*/
|
|
44
|
+
export interface TemplateSetupTaskRepresentation {
|
|
45
|
+
description?: string;
|
|
46
|
+
details?: string;
|
|
47
|
+
duration?: number;
|
|
48
|
+
enabled?: boolean;
|
|
49
|
+
endDate?: string;
|
|
50
|
+
error?: string;
|
|
51
|
+
name: string;
|
|
52
|
+
setupUrl?: string;
|
|
53
|
+
startDate?: string;
|
|
54
|
+
status: string;
|
|
55
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const ObjectKeys: {
|
|
3
|
+
(o: object): string[];
|
|
4
|
+
(o: {}): string[];
|
|
5
|
+
}, ObjectCreate: {
|
|
6
|
+
(o: object | null): any;
|
|
7
|
+
(o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
|
|
8
|
+
}, ObjectAssign: {
|
|
9
|
+
<T extends {}, U>(target: T, source: U): T & U;
|
|
10
|
+
<T_1 extends {}, U_1, V>(target: T_1, source1: U_1, source2: V): T_1 & U_1 & V;
|
|
11
|
+
<T_2 extends {}, U_2, V_1, W>(target: T_2, source1: U_2, source2: V_1, source3: W): T_2 & U_2 & V_1 & W;
|
|
12
|
+
(target: object, ...sources: any[]): any;
|
|
13
|
+
};
|
|
14
|
+
export declare const ArrayIsArray: (arg: any) => arg is any[];
|
|
15
|
+
export declare const JSONStringify: {
|
|
16
|
+
(value: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | number | undefined): string;
|
|
17
|
+
(value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string;
|
|
18
|
+
};
|
|
19
|
+
type AllowedPrimitives = boolean | string | number | Date | null;
|
|
20
|
+
type Value<T> = T extends AllowedPrimitives ? T : RecursivePartial<T>;
|
|
21
|
+
export type RecursivePartial<T> = null | {
|
|
22
|
+
[P in keyof T]?: T[P] extends Array<infer U> ? Array<Value<U>> | null : Value<T[P]> | null;
|
|
23
|
+
};
|
|
24
|
+
export declare function equalsArray<U, V extends U[]>(a: V, b: V, equalsItem: (itemA: U, itemB: U) => boolean | void): boolean;
|
|
25
|
+
export declare function equalsObject<U, V extends {
|
|
26
|
+
[key: string]: U;
|
|
27
|
+
}>(a: V, b: V, equalsProp: (propA: U, propB: U) => boolean | void): boolean;
|
|
28
|
+
export declare function createLink(ref: string | $64$luvio_engine_NormalizedKeyMetadata): {
|
|
29
|
+
__ref: string;
|
|
30
|
+
};
|
|
31
|
+
export declare function assignMetadataLink(entry: any, metadataKey: string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
32
|
+
export {};
|