@salesforce/lds-adapters-cdp-byoc 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/cdp-byoc.js +2145 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/adapters/createCustomCodeDeployment.d.ts +26 -0
- package/dist/es/es2018/types/src/generated/adapters/deleteCustomCodeDeployment.d.ts +14 -0
- package/dist/es/es2018/types/src/generated/adapters/getCustomCodeDeployment.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getCustomCodeDeployments.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/adapters/getCustomCodeExecution.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getCustomCodeExecutionLogs.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getCustomCodeExecutions.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/updateCustomCodeDeployment.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +8 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/deleteSsotDataCustomCodeByCustomCodeNameOrId.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/resources/getSsotDataCustomCode.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/resources/getSsotDataCustomCodeByCustomCodeNameOrId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/getSsotDataCustomCodeExecutionsByCustomCodeExecutionIdAndCustomCodeNameOrId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/getSsotDataCustomCodeExecutionsByCustomCodeNameOrId.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/resources/getSsotDataCustomCodeExecutionsLogsByCustomCodeExecutionIdAndCustomCodeNameOrId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/patchSsotDataCustomCodeByCustomCodeNameOrId.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotDataCustomCode.d.ts +23 -0
- package/dist/es/es2018/types/src/generated/types/CdpUserRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/CustomCodeDeploymentCollectionRepresentation.d.ts +47 -0
- package/dist/es/es2018/types/src/generated/types/CustomCodeDeploymentInputRepresentation.d.ts +68 -0
- package/dist/es/es2018/types/src/generated/types/CustomCodeDeploymentRepresentation.d.ts +99 -0
- package/dist/es/es2018/types/src/generated/types/CustomCodeExecutionBaseRepresentation.d.ts +55 -0
- package/dist/es/es2018/types/src/generated/types/CustomCodeExecutionCollectionRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/CustomCodeExecutionLogRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/CustomCodePatchInputRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
- package/package.json +66 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +2265 -0
- package/src/raml/api.raml +493 -0
- package/src/raml/luvio.raml +54 -0
|
@@ -0,0 +1,68 @@
|
|
|
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 VERSION = "18750a4e7f924c9f124da725a36ce360";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
6
|
+
name: string;
|
|
7
|
+
}
|
|
8
|
+
export type CustomCodeDeploymentInputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
9
|
+
export type PartialCustomCodeDeploymentInputRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
10
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
|
|
11
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): CustomCodeDeploymentInputRepresentationNormalizedKeyMetadata;
|
|
12
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: CustomCodeDeploymentInputRepresentation): string;
|
|
13
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: CustomCodeDeploymentInputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
14
|
+
export declare function normalize(input: CustomCodeDeploymentInputRepresentation, existing: CustomCodeDeploymentInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CustomCodeDeploymentInputRepresentationNormalized;
|
|
15
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
16
|
+
export declare function equals(existing: CustomCodeDeploymentInputRepresentationNormalized, incoming: CustomCodeDeploymentInputRepresentationNormalized): boolean;
|
|
17
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
18
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: CustomCodeDeploymentInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
19
|
+
/**
|
|
20
|
+
* Input representation for creating a Custom Code Deployment
|
|
21
|
+
*
|
|
22
|
+
* Keys:
|
|
23
|
+
* name (string): name
|
|
24
|
+
*/
|
|
25
|
+
export interface CustomCodeDeploymentInputRepresentationNormalized {
|
|
26
|
+
/** Custom code type */
|
|
27
|
+
codeType?: string;
|
|
28
|
+
/** Compute type for executions of the custom code */
|
|
29
|
+
computeType: string;
|
|
30
|
+
/** Description of the custom code deployment */
|
|
31
|
+
description?: string;
|
|
32
|
+
/** List of function invoke options */
|
|
33
|
+
functionInvokeOptions?: Array<string>;
|
|
34
|
+
/** Id */
|
|
35
|
+
id?: string;
|
|
36
|
+
/** Label of the custom code deployment */
|
|
37
|
+
label: string;
|
|
38
|
+
/** Name */
|
|
39
|
+
name: string;
|
|
40
|
+
/** Namespace */
|
|
41
|
+
namespace?: string;
|
|
42
|
+
/** Parameters of the custom code deployment */
|
|
43
|
+
parameters?: {
|
|
44
|
+
[key: string]: string;
|
|
45
|
+
};
|
|
46
|
+
/** Version of the custom code */
|
|
47
|
+
version: string;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Input representation for creating a Custom Code Deployment
|
|
51
|
+
*
|
|
52
|
+
* Keys:
|
|
53
|
+
* name (string): name
|
|
54
|
+
*/
|
|
55
|
+
export interface CustomCodeDeploymentInputRepresentation {
|
|
56
|
+
codeType?: string;
|
|
57
|
+
computeType: string;
|
|
58
|
+
description?: string;
|
|
59
|
+
functionInvokeOptions?: Array<string>;
|
|
60
|
+
id?: string;
|
|
61
|
+
label: string;
|
|
62
|
+
name: string;
|
|
63
|
+
namespace?: string;
|
|
64
|
+
parameters?: {
|
|
65
|
+
[key: string]: string;
|
|
66
|
+
};
|
|
67
|
+
version: string;
|
|
68
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { CdpUserRepresentation as CdpUserRepresentation_CdpUserRepresentation } from './CdpUserRepresentation';
|
|
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 VERSION = "3a8185ac626c1463f8bf0540517ef2e2";
|
|
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;
|
|
8
|
+
}
|
|
9
|
+
export type CustomCodeDeploymentRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
10
|
+
export type PartialCustomCodeDeploymentRepresentationNormalizedKeyMetadata = 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): CustomCodeDeploymentRepresentationNormalizedKeyMetadata;
|
|
13
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: CustomCodeDeploymentRepresentation): string;
|
|
14
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: CustomCodeDeploymentRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
|
+
export declare function normalize(input: CustomCodeDeploymentRepresentation, existing: CustomCodeDeploymentRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CustomCodeDeploymentRepresentationNormalized;
|
|
16
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
17
|
+
export declare function equals(existing: CustomCodeDeploymentRepresentationNormalized, incoming: CustomCodeDeploymentRepresentationNormalized): 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: CustomCodeDeploymentRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
20
|
+
/**
|
|
21
|
+
* A custom code deployment.
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* id (string): id
|
|
25
|
+
*/
|
|
26
|
+
export interface CustomCodeDeploymentRepresentationNormalized {
|
|
27
|
+
/** Custom code type */
|
|
28
|
+
codeType: string;
|
|
29
|
+
/** Compute type for executions of the custom code */
|
|
30
|
+
computeType: string;
|
|
31
|
+
/** Created by */
|
|
32
|
+
createdBy: CdpUserRepresentation_CdpUserRepresentation;
|
|
33
|
+
/** Created date */
|
|
34
|
+
createdDate: string;
|
|
35
|
+
/** Failure code for the custom code deployment */
|
|
36
|
+
deploymentFailureCode?: number;
|
|
37
|
+
/** Failure reason for the custom code deployment */
|
|
38
|
+
deploymentFailureReason?: string;
|
|
39
|
+
/** Deployment status of the custom code */
|
|
40
|
+
deploymentStatus: string;
|
|
41
|
+
/** Description of the custom code deployment */
|
|
42
|
+
description?: string;
|
|
43
|
+
/** URL to use for custom code file upload */
|
|
44
|
+
fileUploadUrl: string;
|
|
45
|
+
/** List of function invoke options */
|
|
46
|
+
functionInvokeOptions?: Array<string>;
|
|
47
|
+
/** The 18 character ID of the asset */
|
|
48
|
+
id: string;
|
|
49
|
+
/** Label of the asset */
|
|
50
|
+
label: string;
|
|
51
|
+
/** Last modified by */
|
|
52
|
+
lastModifiedBy: CdpUserRepresentation_CdpUserRepresentation;
|
|
53
|
+
/** Last modified date */
|
|
54
|
+
lastModifiedDate: string;
|
|
55
|
+
/** Name of the asset */
|
|
56
|
+
name: string;
|
|
57
|
+
/** Namespace of the asset */
|
|
58
|
+
namespace?: string;
|
|
59
|
+
/** Parameters of custom code deployment */
|
|
60
|
+
parameters: {
|
|
61
|
+
[key: string]: unknown;
|
|
62
|
+
};
|
|
63
|
+
/** Sync status of the custom code deployment */
|
|
64
|
+
status: string;
|
|
65
|
+
/** Url */
|
|
66
|
+
url: string;
|
|
67
|
+
/** Version of the custom code */
|
|
68
|
+
version: string;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* A custom code deployment.
|
|
72
|
+
*
|
|
73
|
+
* Keys:
|
|
74
|
+
* id (string): id
|
|
75
|
+
*/
|
|
76
|
+
export interface CustomCodeDeploymentRepresentation {
|
|
77
|
+
codeType: string;
|
|
78
|
+
computeType: string;
|
|
79
|
+
createdBy: CdpUserRepresentation_CdpUserRepresentation;
|
|
80
|
+
createdDate: string;
|
|
81
|
+
deploymentFailureCode?: number;
|
|
82
|
+
deploymentFailureReason?: string;
|
|
83
|
+
deploymentStatus: string;
|
|
84
|
+
description?: string;
|
|
85
|
+
fileUploadUrl: string;
|
|
86
|
+
functionInvokeOptions?: Array<string>;
|
|
87
|
+
id: string;
|
|
88
|
+
label: string;
|
|
89
|
+
lastModifiedBy: CdpUserRepresentation_CdpUserRepresentation;
|
|
90
|
+
lastModifiedDate: string;
|
|
91
|
+
name: string;
|
|
92
|
+
namespace?: string;
|
|
93
|
+
parameters: {
|
|
94
|
+
[key: string]: unknown;
|
|
95
|
+
};
|
|
96
|
+
status: string;
|
|
97
|
+
url: string;
|
|
98
|
+
version: string;
|
|
99
|
+
}
|
|
@@ -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 = "16ba4e83f3e94d331bcbdba6f3d301b9";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: CustomCodeExecutionBaseRepresentation, existing: CustomCodeExecutionBaseRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CustomCodeExecutionBaseRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: CustomCodeExecutionBaseRepresentationNormalized, incoming: CustomCodeExecutionBaseRepresentationNormalized): 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: CustomCodeExecutionBaseRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* BYOC Custom Code Executions
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface CustomCodeExecutionBaseRepresentationNormalized {
|
|
17
|
+
/** duration of code execution in seconds */
|
|
18
|
+
durationInSeconds: number;
|
|
19
|
+
/** end time of code execution */
|
|
20
|
+
endTime: string;
|
|
21
|
+
/** error code */
|
|
22
|
+
errorCode?: number;
|
|
23
|
+
/** detailed error message */
|
|
24
|
+
errorMessage?: string;
|
|
25
|
+
/** BYOC Custom Code Execution Id */
|
|
26
|
+
id: string;
|
|
27
|
+
/** number of objects read */
|
|
28
|
+
rowsRead: number;
|
|
29
|
+
/** number of objects written */
|
|
30
|
+
rowsWritten: number;
|
|
31
|
+
/** start time of code execution */
|
|
32
|
+
startTime: string;
|
|
33
|
+
/** BYOC Custom Code Execution Status */
|
|
34
|
+
status: string;
|
|
35
|
+
/** time when execution was submitted */
|
|
36
|
+
submittedTime: string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* BYOC Custom Code Executions
|
|
40
|
+
*
|
|
41
|
+
* Keys:
|
|
42
|
+
* (none)
|
|
43
|
+
*/
|
|
44
|
+
export interface CustomCodeExecutionBaseRepresentation {
|
|
45
|
+
durationInSeconds: number;
|
|
46
|
+
endTime: string;
|
|
47
|
+
errorCode?: number;
|
|
48
|
+
errorMessage?: string;
|
|
49
|
+
id: string;
|
|
50
|
+
rowsRead: number;
|
|
51
|
+
rowsWritten: number;
|
|
52
|
+
startTime: string;
|
|
53
|
+
status: string;
|
|
54
|
+
submittedTime: string;
|
|
55
|
+
}
|
package/dist/es/es2018/types/src/generated/types/CustomCodeExecutionCollectionRepresentation.d.ts
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { CustomCodeExecutionBaseRepresentation as CustomCodeExecutionBaseRepresentation_CustomCodeExecutionBaseRepresentation } from './CustomCodeExecutionBaseRepresentation';
|
|
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 = "eff3ca61ebb18d80a094043be3f81c07";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: CustomCodeExecutionCollectionRepresentation, existing: CustomCodeExecutionCollectionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CustomCodeExecutionCollectionRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: CustomCodeExecutionCollectionRepresentationNormalized, incoming: CustomCodeExecutionCollectionRepresentationNormalized): 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: CustomCodeExecutionCollectionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* BYOC Custom Code Execution Collection
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface CustomCodeExecutionCollectionRepresentationNormalized {
|
|
18
|
+
/** Current page url */
|
|
19
|
+
currentPageUrl?: string;
|
|
20
|
+
/** BYOC Custom Code Collection of Executions */
|
|
21
|
+
executions: Array<CustomCodeExecutionBaseRepresentation_CustomCodeExecutionBaseRepresentation>;
|
|
22
|
+
/** Next page url if it exists */
|
|
23
|
+
nextPageUrl?: string;
|
|
24
|
+
/** Total size of collection */
|
|
25
|
+
totalSize?: number;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* BYOC Custom Code Execution Collection
|
|
29
|
+
*
|
|
30
|
+
* Keys:
|
|
31
|
+
* (none)
|
|
32
|
+
*/
|
|
33
|
+
export interface CustomCodeExecutionCollectionRepresentation {
|
|
34
|
+
currentPageUrl?: string;
|
|
35
|
+
executions: Array<CustomCodeExecutionBaseRepresentation_CustomCodeExecutionBaseRepresentation>;
|
|
36
|
+
nextPageUrl?: string;
|
|
37
|
+
totalSize?: number;
|
|
38
|
+
}
|
|
@@ -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 = "67e4b6c0a2163a4de44249f2a2dc7bd0";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: CustomCodeExecutionLogRepresentation, existing: CustomCodeExecutionLogRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CustomCodeExecutionLogRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: CustomCodeExecutionLogRepresentationNormalized, incoming: CustomCodeExecutionLogRepresentationNormalized): 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: CustomCodeExecutionLogRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* BYOC Custom Code Execution Log
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface CustomCodeExecutionLogRepresentationNormalized {
|
|
17
|
+
/** BYOC Custom Code Execution Log */
|
|
18
|
+
downloadUrl: string;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* BYOC Custom Code Execution Log
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* (none)
|
|
25
|
+
*/
|
|
26
|
+
export interface CustomCodeExecutionLogRepresentation {
|
|
27
|
+
downloadUrl: string;
|
|
28
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 = "5de9566d92287d155e08f578b4a835d7";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: CustomCodePatchInputRepresentation, existing: CustomCodePatchInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CustomCodePatchInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: CustomCodePatchInputRepresentationNormalized, incoming: CustomCodePatchInputRepresentationNormalized): 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: CustomCodePatchInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Input representation for updating a Custom Code Deployment
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface CustomCodePatchInputRepresentationNormalized {
|
|
17
|
+
/** Compute type for executions of the custom code */
|
|
18
|
+
computeType?: string;
|
|
19
|
+
/** Description of the custom code deployment */
|
|
20
|
+
description?: string;
|
|
21
|
+
/** List of function invoke options */
|
|
22
|
+
functionInvokeOptions?: Array<string>;
|
|
23
|
+
/** Label of the custom code deployment */
|
|
24
|
+
label?: string;
|
|
25
|
+
/** Version of the custom code */
|
|
26
|
+
version?: string;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Input representation for updating a Custom Code Deployment
|
|
30
|
+
*
|
|
31
|
+
* Keys:
|
|
32
|
+
* (none)
|
|
33
|
+
*/
|
|
34
|
+
export interface CustomCodePatchInputRepresentation {
|
|
35
|
+
computeType?: string;
|
|
36
|
+
description?: string;
|
|
37
|
+
functionInvokeOptions?: Array<string>;
|
|
38
|
+
label?: string;
|
|
39
|
+
version?: string;
|
|
40
|
+
}
|
|
@@ -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 {};
|
package/package.json
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@salesforce/lds-adapters-cdp-byoc",
|
|
3
|
+
"version": "0.1.0-dev1",
|
|
4
|
+
"description": "Used to connect to the CDP BYOC service in core and off-core",
|
|
5
|
+
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
|
+
"main": "dist/es/es2018/cdp-byoc.js",
|
|
7
|
+
"module": "dist/es/es2018/cdp-byoc.js",
|
|
8
|
+
"types": "dist/es/es2018/types/src/generated/artifacts/main.d.ts",
|
|
9
|
+
"files": [
|
|
10
|
+
"dist",
|
|
11
|
+
"sfdc",
|
|
12
|
+
"src/raml/*"
|
|
13
|
+
],
|
|
14
|
+
"exports": {
|
|
15
|
+
".": {
|
|
16
|
+
"types": "./dist/es/es2018/types/src/generated/artifacts/main.d.ts",
|
|
17
|
+
"import": "./dist/es/es2018/cdp-byoc.js",
|
|
18
|
+
"require": "./dist/es/es2018/cdp-byoc.js"
|
|
19
|
+
},
|
|
20
|
+
"./sfdc": {
|
|
21
|
+
"types": "./sfdc/index.d.ts",
|
|
22
|
+
"import": "./sfdc/index.js",
|
|
23
|
+
"default": "./sfdc/index.js"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"sfdc": {
|
|
27
|
+
"namespace": "lightning",
|
|
28
|
+
"module": "cdpByocApi"
|
|
29
|
+
},
|
|
30
|
+
"contributors": [
|
|
31
|
+
"cdp-byoc@salesforce.com"
|
|
32
|
+
],
|
|
33
|
+
"scripts": {
|
|
34
|
+
"build": "yarn build:services",
|
|
35
|
+
"build:raml": "luvio generate src/raml/luvio.raml src/generated -p '../lds-compiler-plugins'",
|
|
36
|
+
"build:services": "rollup --bundleConfigAsCjs --config rollup.config.js",
|
|
37
|
+
"clean": "rm -rf dist sfdc src/generated",
|
|
38
|
+
"release:core": "../../scripts/release/core.js --adapter=lds-adapters-cdp-byoc",
|
|
39
|
+
"release:corejar": "yarn build && ../core-build/scripts/core.js --adapter=lds-adapters-cdp-byoc",
|
|
40
|
+
"test:unit": "jest"
|
|
41
|
+
},
|
|
42
|
+
"dependencies": {
|
|
43
|
+
"@salesforce/lds-bindings": "^0.1.0-dev1"
|
|
44
|
+
},
|
|
45
|
+
"devDependencies": {
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^0.1.0-dev1"
|
|
47
|
+
},
|
|
48
|
+
"nx": {
|
|
49
|
+
"targets": {
|
|
50
|
+
"build": {
|
|
51
|
+
"outputs": [
|
|
52
|
+
"{projectRoot}/dist",
|
|
53
|
+
"{projectRoot}/sfdc"
|
|
54
|
+
]
|
|
55
|
+
},
|
|
56
|
+
"build:raml": {
|
|
57
|
+
"outputs": [
|
|
58
|
+
"{projectRoot}/src/generated"
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"volta": {
|
|
64
|
+
"extends": "../../package.json"
|
|
65
|
+
}
|
|
66
|
+
}
|
package/sfdc/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/es/es2018/types/src/generated/artifacts/sfdc';
|