@jpmorganchase/mosaic-types 0.1.0-beta.51 → 0.1.0-beta.52
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/SourceWorkflow.d.ts +8 -1
- package/dist/index.d.ts +1 -0
- package/package.json +2 -2
package/dist/SourceWorkflow.d.ts
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
export declare type SourceWorkflowAction<TSourceOptions, TOptions> = (sourceOptions: TSourceOptions, workflowOptions: TOptions, ...args: any[]) => Promise<unknown>;
|
|
1
|
+
export declare type SourceWorkflowAction<TSourceOptions, TOptions> = (sendWorkflowProgressMessage: SendSourceWorkflowMessage, sourceOptions: TSourceOptions, workflowOptions: TOptions, ...args: any[]) => Promise<unknown>;
|
|
2
2
|
export declare type SourceWorkflow<TSourceOptions = unknown, TOptions = unknown> = {
|
|
3
3
|
name: string;
|
|
4
4
|
options?: TOptions;
|
|
5
5
|
action: SourceWorkflowAction<TSourceOptions, TOptions>;
|
|
6
6
|
};
|
|
7
|
+
export declare type SourceWorkflowMessageStatus = 'SUCCESS' | 'ERROR' | 'IN_PROGRESS' | 'COMPLETE';
|
|
8
|
+
export declare type SendSourceWorkflowMessage = (message: any, status: SourceWorkflowMessageStatus) => void;
|
|
9
|
+
export declare type SourceWorkflowMessageEvent = {
|
|
10
|
+
status: SourceWorkflowMessageStatus;
|
|
11
|
+
message: any;
|
|
12
|
+
channel?: string;
|
|
13
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -11,4 +11,5 @@ export * from './Volume.js';
|
|
|
11
11
|
export * from './WorkerData.js';
|
|
12
12
|
export * from './Mode.js';
|
|
13
13
|
export * from './Session.js';
|
|
14
|
+
export * from './SourceWorkflow.js';
|
|
14
15
|
export { SerialiserModuleDefinition, MosaicConfig, PluginModuleDefinition, SourceModuleDefinition, SourceWorkflow, SourceSchedule };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jpmorganchase/mosaic-types",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.52",
|
|
4
4
|
"description": "Mosaic BitBucket source for core file system",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"lint": "eslint --ignore-pattern \"**/__tests__/**\""
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@jpmorganchase/mosaic-schemas": "^0.1.0-beta.
|
|
31
|
+
"@jpmorganchase/mosaic-schemas": "^0.1.0-beta.52",
|
|
32
32
|
"memfs": "^3.4.12",
|
|
33
33
|
"rxjs": "^7.5.5",
|
|
34
34
|
"zod": "^3.22.3"
|