@powerhousedao/reactor-workflow 6.2.3-dev.32 → 6.2.3-dev.34
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 +3 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +60 -37
- package/dist/index.js.map +1 -1
- package/dist/{piece-registry-BAm8pRDY.js → piece-registry-CAMLtGeP.js} +162 -143
- package/dist/piece-registry-CAMLtGeP.js.map +1 -0
- package/dist/{piece-registry-iXg2XQxp.d.ts → piece-registry-ohYcOXd-.d.ts} +3 -3
- package/dist/{piece-registry-iXg2XQxp.d.ts.map → piece-registry-ohYcOXd-.d.ts.map} +1 -1
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +1 -1
- package/package.json +6 -6
- package/dist/piece-registry-BAm8pRDY.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as BlockResolution, C as PieceResolver, E as EgressPolicy, b as PieceWorkerResult, f as SecretStore, g as WorkflowRunResult, h as StepExecutionRecord, j as PieceOrigin, k as BlockMatch, l as ConnectionRequest, m as PropertySettingDef, n as packagePieces, o as AttachmentPort, r as CORE_PIECE_NAME, t as PieceRegistry, y as PieceWorker } from "./piece-registry-
|
|
1
|
+
import { A as BlockResolution, C as PieceResolver, E as EgressPolicy, b as PieceWorkerResult, f as SecretStore, g as WorkflowRunResult, h as StepExecutionRecord, j as PieceOrigin, k as BlockMatch, l as ConnectionRequest, m as PropertySettingDef, n as packagePieces, o as AttachmentPort, r as CORE_PIECE_NAME, t as PieceRegistry, y as PieceWorker } from "./piece-registry-ohYcOXd-.js";
|
|
2
2
|
import { ActionBase, TriggerBase } from "@powerhousedao/pieces-framework";
|
|
3
3
|
import { ILogger, OperationWithContext } from "document-model";
|
|
4
4
|
import { BlockIdentity, BlockRef } from "@powerhousedao/pieces-framework/block-type";
|
|
@@ -53,6 +53,7 @@ interface WorkflowRuntimeHostDeps {
|
|
|
53
53
|
secretsKeyFile?: string | false;
|
|
54
54
|
logger?: ILogger;
|
|
55
55
|
syncWaitMs?: number;
|
|
56
|
+
pieceVersionLookupMs?: number;
|
|
56
57
|
}
|
|
57
58
|
//#endregion
|
|
58
59
|
//#region src/reactor/oauth.d.ts
|
|
@@ -578,6 +579,7 @@ export declare class WorkflowRuntimeService {
|
|
|
578
579
|
/** The per-document policy the service enforces before a delivery reaches this code;
|
|
579
580
|
* undefined means the workflow is not armed, answered exactly as an unknown token is. */
|
|
580
581
|
webhookPolicy(workflowId: string): Promise<WebhookPolicy | undefined>;
|
|
582
|
+
private liveWebhook;
|
|
581
583
|
private policyOf;
|
|
582
584
|
webhookEndpoint(workflowId: string, ctx?: WorkflowCaller, access?: WorkflowAccessOptions): Promise<WebhookEndpointRecord | null>;
|
|
583
585
|
private mintWebhookEndpoint;
|
|
@@ -19238,12 +19240,8 @@ export declare const WORKFLOW_TRIGGERS_READ_MODEL = "workflow-triggers";
|
|
|
19238
19240
|
export declare const WORKFLOW_TRIGGERS_READ_MODEL_STAGE: ReadModelRegistrationStage;
|
|
19239
19241
|
export declare class WorkflowTriggersReadModel extends BaseReadModel {
|
|
19240
19242
|
private readonly runtime;
|
|
19241
|
-
private freshRegistration;
|
|
19242
19243
|
constructor(db: Kysely<DocumentViewDatabase>, operationIndex: IOperationIndex, writeCache: IWriteCache, consistencyTracker: IConsistencyTracker, runtime: WorkflowRuntimeService);
|
|
19243
|
-
init(): Promise<void>;
|
|
19244
|
-
indexOperations(items: OperationWithContext[]): Promise<void>;
|
|
19245
19244
|
protected commitOperations(items: OperationWithContext[]): Promise<void>;
|
|
19246
|
-
protected saveState(trx: Transaction<DocumentViewDatabase>, items: OperationWithContext[]): Promise<void>;
|
|
19247
19245
|
}
|
|
19248
19246
|
//#endregion
|
|
19249
19247
|
//#region src/reactor/webhook.d.ts
|