@powerhousedao/reactor-workflow 6.2.3-dev.53 → 6.2.3-dev.55
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/index.d.ts +8 -24
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9 -40
- package/dist/index.js.map +1 -1
- package/dist/{piece-registry-BsLIZ-83.js → piece-registry-CsBrnpGl.js} +2 -3
- package/dist/{piece-registry-BsLIZ-83.js.map → piece-registry-CsBrnpGl.js.map} +1 -1
- package/dist/{piece-registry-BdkdVugw.d.ts → piece-registry-iFVZUR7s.d.ts} +1 -2
- package/dist/piece-registry-iFVZUR7s.d.ts.map +1 -0
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +1 -1
- package/dist/worker-entry.js +11 -4
- package/dist/worker-entry.js.map +1 -1
- package/package.json +7 -6
- package/dist/piece-registry-BdkdVugw.d.ts.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { C as StepExecutionRecord, F as BlockResolution, I as PieceOrigin, O as PieceResolver, P as BlockMatch, S as PropertySettingDef, T as ReactorTap, _ as PieceWorkerResult, b as WorkflowTelemetryOptions, f as SecretStore, g as PieceWorker, h as ModelManifestSource, i as ReplayedStep, j as EgressPolicy, l as ConnectionRequest, n as packagePieces, r as CORE_PIECE_NAME, s as AttachmentPort, t as PieceRegistry, v as TELEMETRY_SCOPE, w as WorkflowRunResult, y as WorkflowTelemetry } from "./piece-registry-
|
|
1
|
+
import { C as StepExecutionRecord, F as BlockResolution, I as PieceOrigin, O as PieceResolver, P as BlockMatch, S as PropertySettingDef, T as ReactorTap, _ as PieceWorkerResult, b as WorkflowTelemetryOptions, f as SecretStore, g as PieceWorker, h as ModelManifestSource, i as ReplayedStep, j as EgressPolicy, l as ConnectionRequest, n as packagePieces, r as CORE_PIECE_NAME, s as AttachmentPort, t as PieceRegistry, v as TELEMETRY_SCOPE, w as WorkflowRunResult, y as WorkflowTelemetry } from "./piece-registry-iFVZUR7s.js";
|
|
2
2
|
import { ActionBase, TriggerBase } from "@powerhousedao/pieces-framework";
|
|
3
3
|
import { ILogger, OperationWithContext } from "document-model";
|
|
4
4
|
import "@powerhousedao/pieces-framework/workflow";
|
|
5
5
|
import { BlockIdentity, BlockRef } from "@powerhousedao/pieces-framework/block-type";
|
|
6
6
|
import "@powerhousedao/workflow/document-models/workflow";
|
|
7
|
-
import { BaseReadModel, DocumentViewDatabase, IConsistencyTracker, IOperationIndex, IReactorClient, IWriteCache, ModelManifestEntry, ReadModelRegistrationStage } from "@powerhousedao/reactor";
|
|
7
|
+
import { AttachmentRef, BaseReadModel, DocumentViewDatabase, IConsistencyTracker, IOperationIndex, IReactorClient, IWriteCache, ModelManifestEntry, ReadModelRegistrationStage } from "@powerhousedao/reactor";
|
|
8
8
|
import { AuthSubject, Principal } from "@powerhousedao/shared/document-model";
|
|
9
9
|
import { IRelationalDb, IWebhookScope, WebhookField, WebhookHashAlgorithm, WebhookPolicy, WebhookReply, WebhookRequest, WebhookSignatureEncoding } from "@powerhousedao/shared/processors";
|
|
10
10
|
//#region src/pieces/core/version.d.ts
|
|
@@ -16,39 +16,23 @@ interface AttachmentClientLike {
|
|
|
16
16
|
file: Blob;
|
|
17
17
|
fileName?: string;
|
|
18
18
|
mimeType?: string;
|
|
19
|
-
} | {
|
|
20
|
-
preprocessed: PreprocessedUpload;
|
|
21
19
|
signal?: AbortSignal;
|
|
22
20
|
}): Promise<{
|
|
23
|
-
ref
|
|
24
|
-
}
|
|
21
|
+
ref: string;
|
|
22
|
+
}>;
|
|
25
23
|
download(input: {
|
|
26
24
|
documentId: string;
|
|
27
|
-
ref:
|
|
25
|
+
ref: AttachmentRef;
|
|
28
26
|
signal?: AbortSignal;
|
|
29
27
|
}): Promise<{
|
|
30
28
|
header: {
|
|
31
|
-
sizeBytes
|
|
32
|
-
mimeType
|
|
33
|
-
fileName
|
|
29
|
+
sizeBytes: number;
|
|
30
|
+
mimeType: string;
|
|
31
|
+
fileName: string;
|
|
34
32
|
};
|
|
35
33
|
body: ReadableStream<Uint8Array>;
|
|
36
34
|
}>;
|
|
37
35
|
}
|
|
38
|
-
interface PreprocessedUpload {
|
|
39
|
-
ref: string;
|
|
40
|
-
hash: string;
|
|
41
|
-
sizeBytes: number;
|
|
42
|
-
options: {
|
|
43
|
-
mimeType: string;
|
|
44
|
-
fileName: string;
|
|
45
|
-
extension?: string | null;
|
|
46
|
-
clientHash: string;
|
|
47
|
-
sizeBytes: number;
|
|
48
|
-
};
|
|
49
|
-
data: ReadableStream<Uint8Array>;
|
|
50
|
-
stream: () => ReadableStream<Uint8Array>;
|
|
51
|
-
}
|
|
52
36
|
interface AttachmentPortAccess {
|
|
53
37
|
documentIdFor: () => string | undefined;
|
|
54
38
|
canReadRef: (ref: string) => Promise<boolean>;
|