@salesforce/lds-adapters-analytics-app-framework 1.308.0 → 1.309.0-dev10
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-app-framework.js +954 -315
- package/dist/es/es2018/types/src/generated/adapters/createApp.d.ts +3 -0
- package/dist/es/es2018/types/src/generated/adapters/getAppActivities.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getAppActivity.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/getApps.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/resources/getAppFrameworkApps.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/getAppFrameworkAppsActivitiesByAppIdOrApiName.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/getAppFrameworkAppsActivitiesByAppIdOrApiNameAndId.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/postAppFrameworkApps.d.ts +3 -0
- package/dist/es/es2018/types/src/generated/types/AppActivityCollectionRepresentation.d.ts +51 -0
- package/dist/es/es2018/types/src/generated/types/AppActivityItemInputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/AppActivityItemRepresentation.d.ts +57 -0
- package/dist/es/es2018/types/src/generated/types/AppInputRepresentation.d.ts +10 -1
- package/dist/es/es2018/types/src/generated/types/AppRepresentation.d.ts +10 -1
- package/dist/es/es2018/types/src/generated/types/AppResultRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/AssetCollectionRepresentation.d.ts +4 -4
- package/dist/es/es2018/types/src/generated/types/AssetRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/TemplateInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/TemplateRepresentation.d.ts +3 -3
- package/package.json +3 -3
- package/sfdc/index.js +1036 -292
- package/src/raml/api.raml +149 -1
- package/src/raml/luvio.raml +24 -2
|
@@ -9,8 +9,11 @@ export interface CreateAppConfig {
|
|
|
9
9
|
assetIcon?: string;
|
|
10
10
|
description?: string;
|
|
11
11
|
label: string;
|
|
12
|
+
logLevel?: string;
|
|
12
13
|
name: string;
|
|
14
|
+
runtimeMethod?: string;
|
|
13
15
|
templateSourceId: string;
|
|
16
|
+
templateType?: string;
|
|
14
17
|
templateValues?: {
|
|
15
18
|
[key: string]: unknown;
|
|
16
19
|
};
|
|
@@ -0,0 +1,28 @@
|
|
|
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_getAppFrameworkAppsActivitiesByAppIdOrApiName_ResourceRequestConfig } from '../resources/getAppFrameworkAppsActivitiesByAppIdOrApiName';
|
|
4
|
+
import { AppActivityCollectionRepresentation as types_AppActivityCollectionRepresentation_AppActivityCollectionRepresentation, KeyParams as types_AppActivityCollectionRepresentation_KeyParams } from '../types/AppActivityCollectionRepresentation';
|
|
5
|
+
export declare const adapterName = "getAppActivities";
|
|
6
|
+
export declare const getAppActivities_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const getAppActivities_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface GetAppActivitiesConfig {
|
|
9
|
+
appIdOrApiName: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const createResourceParams: (config: GetAppActivitiesConfig) => resources_getAppFrameworkAppsActivitiesByAppIdOrApiName_ResourceRequestConfig;
|
|
12
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetAppActivitiesConfig): string;
|
|
13
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetAppActivitiesConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
14
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetAppActivitiesConfig>): adapter$45$utils_Untrusted<GetAppActivitiesConfig>;
|
|
15
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetAppActivitiesConfig | null;
|
|
16
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetAppActivitiesConfig): $64$luvio_engine_Fragment;
|
|
17
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetAppActivitiesConfig): $64$luvio_engine_Snapshot<types_AppActivityCollectionRepresentation_AppActivityCollectionRepresentation, any>;
|
|
18
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetAppActivitiesConfig, resourceParams: resources_getAppFrameworkAppsActivitiesByAppIdOrApiName_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_AppActivityCollectionRepresentation_AppActivityCollectionRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_AppActivityCollectionRepresentation_AppActivityCollectionRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_AppActivityCollectionRepresentation_AppActivityCollectionRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_AppActivityCollectionRepresentation_AppActivityCollectionRepresentation, any>>;
|
|
19
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetAppActivitiesConfig, resourceParams: resources_getAppFrameworkAppsActivitiesByAppIdOrApiName_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
20
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetAppActivitiesConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_AppActivityCollectionRepresentation_AppActivityCollectionRepresentation, any>>;
|
|
21
|
+
export type BuildSnapshotContext = {
|
|
22
|
+
luvio: $64$luvio_engine_Luvio;
|
|
23
|
+
config: GetAppActivitiesConfig;
|
|
24
|
+
};
|
|
25
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_AppActivityCollectionRepresentation_AppActivityCollectionRepresentation, any>>;
|
|
26
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_AppActivityCollectionRepresentation_AppActivityCollectionRepresentation>): $64$luvio_engine_Snapshot<types_AppActivityCollectionRepresentation_AppActivityCollectionRepresentation, any>;
|
|
27
|
+
export declare const getAppActivitiesAdapterFactory: $64$luvio_engine_AdapterFactory<GetAppActivitiesConfig, types_AppActivityCollectionRepresentation_AppActivityCollectionRepresentation>;
|
|
28
|
+
export declare const notifyChangeFactory: (luvio: $64$luvio_engine_Luvio, options?: $64$luvio_engine_DispatchResourceRequestContext) => (configs: adapter$45$utils_UncoercedConfiguration<types_AppActivityCollectionRepresentation_KeyParams, any>[]) => void;
|
|
@@ -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_getAppFrameworkAppsActivitiesByAppIdOrApiNameAndId_ResourceRequestConfig } from '../resources/getAppFrameworkAppsActivitiesByAppIdOrApiNameAndId';
|
|
4
|
+
import { AppActivityItemRepresentation as types_AppActivityItemRepresentation_AppActivityItemRepresentation, KeyParams as types_AppActivityItemRepresentation_KeyParams } from '../types/AppActivityItemRepresentation';
|
|
5
|
+
export declare const adapterName = "getAppActivity";
|
|
6
|
+
export declare const getAppActivity_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const getAppActivity_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface GetAppActivityConfig {
|
|
9
|
+
appIdOrApiName: string;
|
|
10
|
+
id: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const createResourceParams: (config: GetAppActivityConfig) => resources_getAppFrameworkAppsActivitiesByAppIdOrApiNameAndId_ResourceRequestConfig;
|
|
13
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetAppActivityConfig): string;
|
|
14
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetAppActivityConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetAppActivityConfig>): adapter$45$utils_Untrusted<GetAppActivityConfig>;
|
|
16
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetAppActivityConfig | null;
|
|
17
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetAppActivityConfig): $64$luvio_engine_Fragment;
|
|
18
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetAppActivityConfig): $64$luvio_engine_Snapshot<types_AppActivityItemRepresentation_AppActivityItemRepresentation, any>;
|
|
19
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetAppActivityConfig, resourceParams: resources_getAppFrameworkAppsActivitiesByAppIdOrApiNameAndId_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_AppActivityItemRepresentation_AppActivityItemRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_AppActivityItemRepresentation_AppActivityItemRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_AppActivityItemRepresentation_AppActivityItemRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_AppActivityItemRepresentation_AppActivityItemRepresentation, any>>;
|
|
20
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetAppActivityConfig, resourceParams: resources_getAppFrameworkAppsActivitiesByAppIdOrApiNameAndId_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
21
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetAppActivityConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_AppActivityItemRepresentation_AppActivityItemRepresentation, any>>;
|
|
22
|
+
export type BuildSnapshotContext = {
|
|
23
|
+
luvio: $64$luvio_engine_Luvio;
|
|
24
|
+
config: GetAppActivityConfig;
|
|
25
|
+
};
|
|
26
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_AppActivityItemRepresentation_AppActivityItemRepresentation, any>>;
|
|
27
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_AppActivityItemRepresentation_AppActivityItemRepresentation>): $64$luvio_engine_Snapshot<types_AppActivityItemRepresentation_AppActivityItemRepresentation, any>;
|
|
28
|
+
export declare const getAppActivityAdapterFactory: $64$luvio_engine_AdapterFactory<GetAppActivityConfig, types_AppActivityItemRepresentation_AppActivityItemRepresentation>;
|
|
29
|
+
export declare const notifyChangeFactory: (luvio: $64$luvio_engine_Luvio, options?: $64$luvio_engine_DispatchResourceRequestContext) => (configs: adapter$45$utils_UncoercedConfiguration<types_AppActivityItemRepresentation_KeyParams, any>[]) => void;
|
|
@@ -7,6 +7,7 @@ export declare const getApps_ConfigPropertyMetadata: $64$luvio_engine_AdapterCon
|
|
|
7
7
|
export declare const getApps_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
8
|
export interface GetAppsConfig {
|
|
9
9
|
templateSourceId?: string;
|
|
10
|
+
type?: string;
|
|
10
11
|
}
|
|
11
12
|
export declare const createResourceParams: (config: GetAppsConfig) => resources_getAppFrameworkApps_ResourceRequestConfig;
|
|
12
13
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetAppsConfig): string;
|
|
@@ -2,6 +2,8 @@ export { getAppsAdapterFactory } from '../adapters/getApps';
|
|
|
2
2
|
export { createAppAdapterFactory } from '../adapters/createApp';
|
|
3
3
|
export { deleteAppAdapterFactory } from '../adapters/deleteApp';
|
|
4
4
|
export { getAppAdapterFactory } from '../adapters/getApp';
|
|
5
|
+
export { getAppActivitiesAdapterFactory } from '../adapters/getAppActivities';
|
|
6
|
+
export { getAppActivityAdapterFactory } from '../adapters/getAppActivity';
|
|
5
7
|
export { getAppAssetsAdapterFactory } from '../adapters/getAppAssets';
|
|
6
8
|
export { getTemplatesAdapterFactory } from '../adapters/getTemplates';
|
|
7
9
|
export { getTemplateAdapterFactory } from '../adapters/getTemplate';
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
declare let createApp: any;
|
|
2
2
|
declare let deleteApp: any;
|
|
3
3
|
declare let getApp: any;
|
|
4
|
+
declare let getAppActivities: any;
|
|
5
|
+
declare let getAppActivitiesNotifyChange: any;
|
|
6
|
+
declare let getAppActivity: any;
|
|
7
|
+
declare let getAppActivityNotifyChange: any;
|
|
4
8
|
declare let getAppAssets: any;
|
|
5
9
|
declare let getAppAssetsNotifyChange: any;
|
|
6
10
|
declare let getAppNotifyChange: any;
|
|
@@ -11,9 +15,11 @@ declare let getTemplateConfigNotifyChange: any;
|
|
|
11
15
|
declare let getTemplateNotifyChange: any;
|
|
12
16
|
declare let getTemplates: any;
|
|
13
17
|
declare let getApp_imperative: any;
|
|
18
|
+
declare let getAppActivities_imperative: any;
|
|
19
|
+
declare let getAppActivity_imperative: any;
|
|
14
20
|
declare let getAppAssets_imperative: any;
|
|
15
21
|
declare let getApps_imperative: any;
|
|
16
22
|
declare let getTemplate_imperative: any;
|
|
17
23
|
declare let getTemplateConfig_imperative: any;
|
|
18
24
|
declare let getTemplates_imperative: any;
|
|
19
|
-
export { createApp, deleteApp, getApp, getAppAssets, getAppAssetsNotifyChange, getAppNotifyChange, getApps, getTemplate, getTemplateConfig, getTemplateConfigNotifyChange, getTemplateNotifyChange, getTemplates, getApp_imperative, getAppAssets_imperative, getApps_imperative, getTemplate_imperative, getTemplateConfig_imperative, getTemplates_imperative, };
|
|
25
|
+
export { createApp, deleteApp, getApp, getAppActivities, getAppActivitiesNotifyChange, getAppActivity, getAppActivityNotifyChange, getAppAssets, getAppAssetsNotifyChange, getAppNotifyChange, getApps, getTemplate, getTemplateConfig, getTemplateConfigNotifyChange, getTemplateNotifyChange, getTemplates, getApp_imperative, getAppActivities_imperative, getAppActivity_imperative, getAppAssets_imperative, getApps_imperative, getTemplate_imperative, getTemplateConfig_imperative, getTemplates_imperative, };
|
|
@@ -3,6 +3,7 @@ import { AppCollectionRepresentation as types_AppCollectionRepresentation_AppCol
|
|
|
3
3
|
export interface ResourceRequestConfig {
|
|
4
4
|
queryParams: {
|
|
5
5
|
templateSourceId?: string;
|
|
6
|
+
type?: string;
|
|
6
7
|
};
|
|
7
8
|
}
|
|
8
9
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
@@ -0,0 +1,16 @@
|
|
|
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 { AppActivityCollectionRepresentation as types_AppActivityCollectionRepresentation_AppActivityCollectionRepresentation } from '../types/AppActivityCollectionRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
appIdOrApiName: 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_AppActivityCollectionRepresentation_AppActivityCollectionRepresentation): void;
|
|
12
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_AppActivityCollectionRepresentation_AppActivityCollectionRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_AppActivityCollectionRepresentation_AppActivityCollectionRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_AppActivityCollectionRepresentation_AppActivityCollectionRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_AppActivityCollectionRepresentation_AppActivityCollectionRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_AppActivityCollectionRepresentation_AppActivityCollectionRepresentation, any>;
|
|
13
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_AppActivityCollectionRepresentation_AppActivityCollectionRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
14
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
15
|
+
export default createResourceRequest;
|
|
16
|
+
export declare function createResourceRequestFromRepresentation(representation: types_AppActivityCollectionRepresentation_AppActivityCollectionRepresentation): $64$luvio_engine_ResourceRequest;
|
|
@@ -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 { AppActivityItemRepresentation as types_AppActivityItemRepresentation_AppActivityItemRepresentation } from '../types/AppActivityItemRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
appIdOrApiName: string;
|
|
6
|
+
id: 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_AppActivityItemRepresentation_AppActivityItemRepresentation): void;
|
|
13
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_AppActivityItemRepresentation_AppActivityItemRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_AppActivityItemRepresentation_AppActivityItemRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_AppActivityItemRepresentation_AppActivityItemRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_AppActivityItemRepresentation_AppActivityItemRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_AppActivityItemRepresentation_AppActivityItemRepresentation, any>;
|
|
14
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_AppActivityItemRepresentation_AppActivityItemRepresentation>): $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_AppActivityItemRepresentation_AppActivityItemRepresentation): $64$luvio_engine_ResourceRequest;
|
|
@@ -5,8 +5,11 @@ export interface ResourceRequestConfig {
|
|
|
5
5
|
assetIcon?: string;
|
|
6
6
|
description?: string;
|
|
7
7
|
label: string;
|
|
8
|
+
logLevel?: string;
|
|
8
9
|
name: string;
|
|
10
|
+
runtimeMethod?: string;
|
|
9
11
|
templateSourceId: string;
|
|
12
|
+
templateType?: string;
|
|
10
13
|
templateValues?: {
|
|
11
14
|
[key: string]: unknown;
|
|
12
15
|
};
|
|
@@ -0,0 +1,51 @@
|
|
|
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, 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';
|
|
2
|
+
import { AppActivityItemRepresentation as AppActivityItemRepresentation_AppActivityItemRepresentation } from './AppActivityItemRepresentation';
|
|
3
|
+
export declare const TTL = 5000;
|
|
4
|
+
export declare const VERSION = "e0f049ec23678e696fb7c592c9641c65";
|
|
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
|
+
appId: string;
|
|
9
|
+
}
|
|
10
|
+
export type AppActivityCollectionRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export type PartialAppActivityCollectionRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
12
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
|
|
13
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): AppActivityCollectionRepresentationNormalizedKeyMetadata;
|
|
14
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: AppActivityCollectionRepresentation): string;
|
|
15
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: AppActivityCollectionRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
16
|
+
export declare function normalize(input: AppActivityCollectionRepresentation, existing: AppActivityCollectionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): AppActivityCollectionRepresentationNormalized;
|
|
17
|
+
export interface DynamicIngestParams {
|
|
18
|
+
items: $64$luvio_engine_ResourceIngest;
|
|
19
|
+
}
|
|
20
|
+
export declare function dynamicNormalize(ingestParams: DynamicIngestParams): (input: AppActivityCollectionRepresentation, existing: AppActivityCollectionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number) => AppActivityCollectionRepresentationNormalized;
|
|
21
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
22
|
+
export interface DynamicSelectParams {
|
|
23
|
+
items?: $64$luvio_engine_LinkSelection;
|
|
24
|
+
}
|
|
25
|
+
export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
|
|
26
|
+
export declare function equals(existing: AppActivityCollectionRepresentationNormalized, incoming: AppActivityCollectionRepresentationNormalized): boolean;
|
|
27
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
28
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: AppActivityCollectionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
29
|
+
export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
|
|
30
|
+
/**
|
|
31
|
+
* Representation for an app's activity or history records.
|
|
32
|
+
*
|
|
33
|
+
* Keys:
|
|
34
|
+
* appId (string): appId
|
|
35
|
+
*/
|
|
36
|
+
export interface AppActivityCollectionRepresentationNormalized {
|
|
37
|
+
/** The ID or fully qualified API name of the app to which these activities belong. */
|
|
38
|
+
appId: string;
|
|
39
|
+
/** The collection of app activity records. */
|
|
40
|
+
items: Array<$64$luvio_engine_StoreLink>;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Representation for an app's activity or history records.
|
|
44
|
+
*
|
|
45
|
+
* Keys:
|
|
46
|
+
* appId (string): appId
|
|
47
|
+
*/
|
|
48
|
+
export interface AppActivityCollectionRepresentation {
|
|
49
|
+
appId: string;
|
|
50
|
+
items: Array<AppActivityItemRepresentation_AppActivityItemRepresentation>;
|
|
51
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
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 = "cbf2012245894c6661adce6764e21db8";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: AppActivityItemInputRepresentation, existing: AppActivityItemInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): AppActivityItemInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: AppActivityItemInputRepresentationNormalized, incoming: AppActivityItemInputRepresentationNormalized): 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: AppActivityItemInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Input representation for creating an app activity record.
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface AppActivityItemInputRepresentationNormalized {
|
|
17
|
+
/** The type of application activity. */
|
|
18
|
+
activityType: string;
|
|
19
|
+
/** The application id. */
|
|
20
|
+
appId: string;
|
|
21
|
+
/** The associated domino runtime request id. */
|
|
22
|
+
dominoRuntimeRequestId: string;
|
|
23
|
+
/** Id of the application activity. */
|
|
24
|
+
id: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Input representation for creating an app activity record.
|
|
28
|
+
*
|
|
29
|
+
* Keys:
|
|
30
|
+
* (none)
|
|
31
|
+
*/
|
|
32
|
+
export interface AppActivityItemInputRepresentation {
|
|
33
|
+
activityType: string;
|
|
34
|
+
appId: string;
|
|
35
|
+
dominoRuntimeRequestId: string;
|
|
36
|
+
id: string;
|
|
37
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
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 = "b8e879a936b5069ec247355c66198ca7";
|
|
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
|
+
appId: string;
|
|
8
|
+
id: string;
|
|
9
|
+
}
|
|
10
|
+
export type AppActivityItemRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export type PartialAppActivityItemRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
12
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
|
|
13
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): AppActivityItemRepresentationNormalizedKeyMetadata;
|
|
14
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: AppActivityItemRepresentation): string;
|
|
15
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: AppActivityItemRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
16
|
+
export declare function normalize(input: AppActivityItemRepresentation, existing: AppActivityItemRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): AppActivityItemRepresentationNormalized;
|
|
17
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
18
|
+
export declare function equals(existing: AppActivityItemRepresentationNormalized, incoming: AppActivityItemRepresentationNormalized): boolean;
|
|
19
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
20
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: AppActivityItemRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
21
|
+
/**
|
|
22
|
+
* Representation for a single app activity record.
|
|
23
|
+
*
|
|
24
|
+
* Keys:
|
|
25
|
+
* appId (string): appId
|
|
26
|
+
* id (string): id
|
|
27
|
+
*/
|
|
28
|
+
export interface AppActivityItemRepresentationNormalized {
|
|
29
|
+
/** The type of the app activity item. */
|
|
30
|
+
activityType: string;
|
|
31
|
+
/** The application id of the activity record. */
|
|
32
|
+
appId: string;
|
|
33
|
+
/** The ID of the app activity item record. */
|
|
34
|
+
id: string;
|
|
35
|
+
/** The associated domino runtime request associated with the app activity item record. */
|
|
36
|
+
runtimeRequest: {
|
|
37
|
+
[key: string]: unknown;
|
|
38
|
+
};
|
|
39
|
+
/** The url for the app activity item. */
|
|
40
|
+
url: string;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Representation for a single app activity record.
|
|
44
|
+
*
|
|
45
|
+
* Keys:
|
|
46
|
+
* appId (string): appId
|
|
47
|
+
* id (string): id
|
|
48
|
+
*/
|
|
49
|
+
export interface AppActivityItemRepresentation {
|
|
50
|
+
activityType: string;
|
|
51
|
+
appId: string;
|
|
52
|
+
id: string;
|
|
53
|
+
runtimeRequest: {
|
|
54
|
+
[key: string]: unknown;
|
|
55
|
+
};
|
|
56
|
+
url: string;
|
|
57
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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 = "
|
|
2
|
+
export declare const VERSION = "5f13c540a92e97c1d750520d3d08c407";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
5
5
|
export declare function normalize(input: AppInputRepresentation, existing: AppInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): AppInputRepresentationNormalized;
|
|
@@ -20,10 +20,16 @@ export interface AppInputRepresentationNormalized {
|
|
|
20
20
|
description?: string;
|
|
21
21
|
/** The user-facing name of the new folder or application. */
|
|
22
22
|
label: string;
|
|
23
|
+
/** Specifies the runtime logging level for debug. */
|
|
24
|
+
logLevel?: string;
|
|
23
25
|
/** The internal api name of the new application. */
|
|
24
26
|
name: string;
|
|
27
|
+
/** The runtime method async or sync */
|
|
28
|
+
runtimeMethod?: string;
|
|
25
29
|
/** Template Id from which to create the app. */
|
|
26
30
|
templateSourceId: string;
|
|
31
|
+
/** The type of the template this app was created from */
|
|
32
|
+
templateType?: string;
|
|
27
33
|
/** The runtime template values to use during application creation, as specified by the individual template. */
|
|
28
34
|
templateValues?: {
|
|
29
35
|
[key: string]: unknown;
|
|
@@ -41,8 +47,11 @@ export interface AppInputRepresentation {
|
|
|
41
47
|
assetIcon?: string;
|
|
42
48
|
description?: string;
|
|
43
49
|
label: string;
|
|
50
|
+
logLevel?: string;
|
|
44
51
|
name: string;
|
|
52
|
+
runtimeMethod?: string;
|
|
45
53
|
templateSourceId: string;
|
|
54
|
+
templateType?: string;
|
|
46
55
|
templateValues?: {
|
|
47
56
|
[key: string]: unknown;
|
|
48
57
|
};
|
|
@@ -2,7 +2,7 @@ import { UserRepresentation as UserRepresentation_UserRepresentation } from './U
|
|
|
2
2
|
import { AppScheduleRepresentation as AppScheduleRepresentation_AppScheduleRepresentation } from './AppScheduleRepresentation';
|
|
3
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, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
4
4
|
export declare const TTL = 5000;
|
|
5
|
-
export declare const VERSION = "
|
|
5
|
+
export declare const VERSION = "be6294bb853a9581fb3b06a2d8caa5d5";
|
|
6
6
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
7
7
|
export declare const RepresentationType: string;
|
|
8
8
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -26,6 +26,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
26
26
|
* id (string): id
|
|
27
27
|
*/
|
|
28
28
|
export interface AppRepresentationNormalized {
|
|
29
|
+
/** Url to get collection of most recent installation activities */
|
|
30
|
+
activitiesUrl: string;
|
|
29
31
|
/** The status of this app. */
|
|
30
32
|
applicationStatus: string;
|
|
31
33
|
/** A link to the App Assets. */
|
|
@@ -44,12 +46,16 @@ export interface AppRepresentationNormalized {
|
|
|
44
46
|
lastModifiedBy: UserRepresentation_UserRepresentation;
|
|
45
47
|
/** When this app was last modified. */
|
|
46
48
|
lastModifiedDate: string;
|
|
49
|
+
/** Url to get the most recent activity. */
|
|
50
|
+
latestActivityUrl: string;
|
|
47
51
|
/** The dev name of this app. */
|
|
48
52
|
name: string;
|
|
49
53
|
/** The refresh scedhule for this app. */
|
|
50
54
|
schedule: AppScheduleRepresentation_AppScheduleRepresentation | null;
|
|
51
55
|
/** The ID od the template used to create this app. */
|
|
52
56
|
templateSourceId: string;
|
|
57
|
+
/** The type of the template used to create the app. */
|
|
58
|
+
templateType: string;
|
|
53
59
|
/** The Variable Values (Answers to Questions) used to customize the app install. */
|
|
54
60
|
templateValues: {
|
|
55
61
|
[key: string]: unknown;
|
|
@@ -66,6 +72,7 @@ export interface AppRepresentationNormalized {
|
|
|
66
72
|
* id (string): id
|
|
67
73
|
*/
|
|
68
74
|
export interface AppRepresentation {
|
|
75
|
+
activitiesUrl: string;
|
|
69
76
|
applicationStatus: string;
|
|
70
77
|
assetUrl: string;
|
|
71
78
|
createdBy: UserRepresentation_UserRepresentation;
|
|
@@ -76,9 +83,11 @@ export interface AppRepresentation {
|
|
|
76
83
|
label: string;
|
|
77
84
|
lastModifiedBy: UserRepresentation_UserRepresentation;
|
|
78
85
|
lastModifiedDate: string;
|
|
86
|
+
latestActivityUrl: string;
|
|
79
87
|
name: string;
|
|
80
88
|
schedule: AppScheduleRepresentation_AppScheduleRepresentation | null;
|
|
81
89
|
templateSourceId: string;
|
|
90
|
+
templateType: string;
|
|
82
91
|
templateValues: {
|
|
83
92
|
[key: string]: unknown;
|
|
84
93
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, 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';
|
|
2
2
|
import { AppRepresentation as AppRepresentation_AppRepresentation } from './AppRepresentation';
|
|
3
3
|
export declare const TTL = 5000;
|
|
4
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "1e01d8ae397bfbae02ba4cfae1dac4fc";
|
|
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 {
|
|
@@ -36,6 +36,8 @@ export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$lu
|
|
|
36
36
|
export interface AppResultRepresentationNormalized {
|
|
37
37
|
/** The App. */
|
|
38
38
|
app: $64$luvio_engine_StoreLink;
|
|
39
|
+
/** The Failure message if the app has failed. If this app was created Async it may not have completed yet. */
|
|
40
|
+
failureMessage: string | null;
|
|
39
41
|
/** The Domino Runtime Request. */
|
|
40
42
|
runtimeRequestId: string;
|
|
41
43
|
/** The State. */
|
|
@@ -51,6 +53,7 @@ export interface AppResultRepresentationNormalized {
|
|
|
51
53
|
*/
|
|
52
54
|
export interface AppResultRepresentation {
|
|
53
55
|
app: AppRepresentation_AppRepresentation;
|
|
56
|
+
failureMessage: string | null;
|
|
54
57
|
runtimeRequestId: string;
|
|
55
58
|
state: {
|
|
56
59
|
[key: string]: unknown;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, 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';
|
|
2
2
|
import { AssetRepresentation as AssetRepresentation_AssetRepresentation } from './AssetRepresentation';
|
|
3
3
|
export declare const TTL = 5000;
|
|
4
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "1a10175fcc2ad43823e47bfbbdf917f6";
|
|
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 {
|
|
8
|
-
|
|
8
|
+
appId: string;
|
|
9
9
|
}
|
|
10
10
|
export type AssetCollectionRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
11
|
export type PartialAssetCollectionRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
@@ -31,7 +31,7 @@ export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$lu
|
|
|
31
31
|
* Representation list of assets created from a template.
|
|
32
32
|
*
|
|
33
33
|
* Keys:
|
|
34
|
-
*
|
|
34
|
+
* appId (string): appId
|
|
35
35
|
*/
|
|
36
36
|
export interface AssetCollectionRepresentationNormalized {
|
|
37
37
|
/** The ID or fully qualified API name of the app to which these assets belong. */
|
|
@@ -43,7 +43,7 @@ export interface AssetCollectionRepresentationNormalized {
|
|
|
43
43
|
* Representation list of assets created from a template.
|
|
44
44
|
*
|
|
45
45
|
* Keys:
|
|
46
|
-
*
|
|
46
|
+
* appId (string): appId
|
|
47
47
|
*/
|
|
48
48
|
export interface AssetCollectionRepresentation {
|
|
49
49
|
appId: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
2
|
export declare const TTL = 5000;
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "34bc50b3e68f546eb8e99af16e45d84b";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -24,6 +24,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
24
24
|
* id (string): id
|
|
25
25
|
*/
|
|
26
26
|
export interface AssetRepresentationNormalized {
|
|
27
|
+
/** The App ID associated with this */
|
|
28
|
+
appId: string;
|
|
27
29
|
/** The primary ID or Name of the asset */
|
|
28
30
|
assetIdOrName: string;
|
|
29
31
|
/** The secondary ID or Name of the asset */
|
|
@@ -44,6 +46,7 @@ export interface AssetRepresentationNormalized {
|
|
|
44
46
|
* id (string): id
|
|
45
47
|
*/
|
|
46
48
|
export interface AssetRepresentation {
|
|
49
|
+
appId: string;
|
|
47
50
|
assetIdOrName: string;
|
|
48
51
|
assetIdOrName2: string | null;
|
|
49
52
|
assetIdOrName3: string | null;
|
|
@@ -3,7 +3,7 @@ import { TemplateIconsInputRepresentation as TemplateIconsInputRepresentation_Te
|
|
|
3
3
|
import { ReleaseInfoInputRepresentation as ReleaseInfoInputRepresentation_ReleaseInfoInputRepresentation } from './ReleaseInfoInputRepresentation';
|
|
4
4
|
import { RuleInfoInputRepresentation as RuleInfoInputRepresentation_RuleInfoInputRepresentation } from './RuleInfoInputRepresentation';
|
|
5
5
|
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';
|
|
6
|
-
export declare const VERSION = "
|
|
6
|
+
export declare const VERSION = "9fa2237e96c7796d8f32dc23ad0718f2";
|
|
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: TemplateInputRepresentation, existing: TemplateInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): TemplateInputRepresentationNormalized;
|
|
@@ -32,6 +32,8 @@ export interface TemplateInputRepresentationNormalized {
|
|
|
32
32
|
label: string;
|
|
33
33
|
/** The Template layout definition file. */
|
|
34
34
|
layoutDefinition?: string;
|
|
35
|
+
/** The maximum number of apps that can be creatd from this template. */
|
|
36
|
+
maxAppCount?: number;
|
|
35
37
|
/** The Template name. */
|
|
36
38
|
name: string;
|
|
37
39
|
/** The Template developer namespace. */
|
|
@@ -61,6 +63,7 @@ export interface TemplateInputRepresentation {
|
|
|
61
63
|
id: string;
|
|
62
64
|
label: string;
|
|
63
65
|
layoutDefinition?: string;
|
|
66
|
+
maxAppCount?: number;
|
|
64
67
|
name: string;
|
|
65
68
|
namespace?: string;
|
|
66
69
|
releaseInfo: ReleaseInfoInputRepresentation_ReleaseInfoInputRepresentation;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
2
|
export declare const TTL = 5000;
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "a234a33bacb2228183eba50f4f96aef4";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -35,7 +35,7 @@ export interface TemplateRepresentationNormalized {
|
|
|
35
35
|
/** The local API name of the application template. */
|
|
36
36
|
name: string;
|
|
37
37
|
/** The template type. */
|
|
38
|
-
|
|
38
|
+
templateType: string;
|
|
39
39
|
/** The this url. */
|
|
40
40
|
url: string;
|
|
41
41
|
}
|
|
@@ -51,6 +51,6 @@ export interface TemplateRepresentation {
|
|
|
51
51
|
id: string;
|
|
52
52
|
label: string;
|
|
53
53
|
name: string;
|
|
54
|
-
|
|
54
|
+
templateType: string;
|
|
55
55
|
url: string;
|
|
56
56
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-analytics-app-framework",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.309.0-dev10",
|
|
4
4
|
"description": "APIs for the app-framework",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "dist/es/es2018/analytics-app-framework.js",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"test:unit": "jest"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@salesforce/lds-bindings": "^1.
|
|
43
|
+
"@salesforce/lds-bindings": "^1.309.0-dev10"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.309.0-dev10"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|