@pattern-stack/codegen 0.17.0 → 0.17.1
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/CHANGELOG.md +68 -0
- package/consumer-skills/integration/audit-and-detection.md +29 -4
- package/dist/{chunk-UTNWFHJF.js → chunk-4PFF3ED4.js} +4 -4
- package/dist/{chunk-CO6LUM72.js → chunk-7P5ODGLA.js} +34 -2
- package/dist/chunk-7P5ODGLA.js.map +1 -0
- package/dist/{chunk-CDLWYZVQ.js → chunk-BHZP6LOV.js} +7 -7
- package/dist/{chunk-4MVGAMUA.js → chunk-BK5ICA2F.js} +4 -4
- package/dist/{chunk-BULPAAD3.js → chunk-DUMI2J5M.js} +42 -11
- package/dist/chunk-DUMI2J5M.js.map +1 -0
- package/dist/{chunk-RHYNACZS.js → chunk-EJBK7I4F.js} +3 -3
- package/dist/{chunk-OTR44OH6.js → chunk-FVNAU7VO.js} +30 -9
- package/dist/chunk-FVNAU7VO.js.map +1 -0
- package/dist/{chunk-OITTYGJS.js → chunk-FWRL7BZ5.js} +4 -4
- package/dist/{chunk-3MAZ4TQH.js → chunk-HOIRY5XP.js} +13 -13
- package/dist/{chunk-GJDEPTPY.js → chunk-HPS554L4.js} +10 -10
- package/dist/{chunk-P3AYBRP6.js → chunk-JA7GJDNI.js} +16 -10
- package/dist/chunk-JA7GJDNI.js.map +1 -0
- package/dist/{chunk-36U5UGIO.js → chunk-JEINYUJH.js} +8 -5
- package/dist/chunk-JEINYUJH.js.map +1 -0
- package/dist/{chunk-K2I6XIK5.js → chunk-KSTZIULO.js} +4 -4
- package/dist/{chunk-Z7PQCAVK.js → chunk-LQ6PYFU6.js} +4 -4
- package/dist/{chunk-L3VJ47BU.js → chunk-PSDVGPQR.js} +5 -5
- package/dist/{chunk-DTXH24LR.js → chunk-SFQRETXJ.js} +2 -2
- package/dist/{chunk-NXNVTXKG.js → chunk-SGSWVNNB.js} +5 -5
- package/dist/{chunk-7LKAMLV4.js → chunk-T6SCOJF4.js} +4 -4
- package/dist/{chunk-OGIZXGPY.js → chunk-TDEHU73T.js} +4 -4
- package/dist/{chunk-3VEVGL74.js → chunk-VNBC3VXM.js} +4 -4
- package/dist/{chunk-DCCZB4UC.js → chunk-XWBK3XJK.js} +4 -4
- package/dist/{chunk-4GLNY5V6.js → chunk-Y7GDG744.js} +5 -5
- package/dist/{chunk-SR7F3TJY.js → chunk-YK5JEVLX.js} +4 -4
- package/dist/{job-orchestrator.protocol-DubMVbm9.d.ts → job-orchestrator.protocol-ZuJ3ow-O.d.ts} +77 -3
- package/dist/runtime/base-classes/index.js +19 -19
- package/dist/runtime/shared/openapi/index.js +7 -7
- package/dist/runtime/shared/openapi/registry.js +2 -2
- package/dist/runtime/subsystems/auth/auth.module.js +2 -2
- package/dist/runtime/subsystems/auth/index.js +5 -5
- package/dist/runtime/subsystems/bridge/bridge-delivery-handler.d.ts +1 -1
- package/dist/runtime/subsystems/bridge/bridge-delivery-handler.js +2 -2
- package/dist/runtime/subsystems/bridge/bridge-delivery.drizzle-backend.js +2 -2
- package/dist/runtime/subsystems/bridge/bridge-outbox-drain-hook.js +4 -4
- package/dist/runtime/subsystems/bridge/bridge.module.d.ts +1 -1
- package/dist/runtime/subsystems/bridge/bridge.module.js +15 -15
- package/dist/runtime/subsystems/bridge/event-flow.service.d.ts +1 -1
- package/dist/runtime/subsystems/bridge/index.d.ts +1 -1
- package/dist/runtime/subsystems/bridge/index.js +17 -17
- package/dist/runtime/subsystems/events/event-bus.drizzle-backend.js +2 -2
- package/dist/runtime/subsystems/events/event-bus.memory-backend.js +2 -2
- package/dist/runtime/subsystems/events/events.module.js +4 -4
- package/dist/runtime/subsystems/events/index.js +4 -4
- package/dist/runtime/subsystems/index.d.ts +1 -1
- package/dist/runtime/subsystems/index.js +90 -90
- package/dist/runtime/subsystems/integration/deep-equal.differ.d.ts +19 -0
- package/dist/runtime/subsystems/integration/deep-equal.differ.js +1 -1
- package/dist/runtime/subsystems/integration/execute-integration.use-case.js +2 -2
- package/dist/runtime/subsystems/integration/index.js +24 -24
- package/dist/runtime/subsystems/integration/integration-cursor-store.drizzle-backend.js +2 -2
- package/dist/runtime/subsystems/integration/integration-run-recorder.drizzle-backend.js +2 -2
- package/dist/runtime/subsystems/integration/integration.module.d.ts +20 -0
- package/dist/runtime/subsystems/integration/integration.module.js +6 -6
- package/dist/runtime/subsystems/jobs/index.d.ts +1 -1
- package/dist/runtime/subsystems/jobs/index.js +32 -32
- package/dist/runtime/subsystems/jobs/job-handler.base.d.ts +1 -1
- package/dist/runtime/subsystems/jobs/job-handler.base.js +11 -3
- package/dist/runtime/subsystems/jobs/job-orchestrator.bullmq-backend.d.ts +1 -1
- package/dist/runtime/subsystems/jobs/job-orchestrator.bullmq-backend.js +5 -4
- package/dist/runtime/subsystems/jobs/job-orchestrator.bullmq-backend.js.map +1 -1
- package/dist/runtime/subsystems/jobs/job-orchestrator.drizzle-backend.d.ts +1 -1
- package/dist/runtime/subsystems/jobs/job-orchestrator.drizzle-backend.js +2 -1
- package/dist/runtime/subsystems/jobs/job-orchestrator.memory-backend.d.ts +11 -1
- package/dist/runtime/subsystems/jobs/job-orchestrator.memory-backend.js +2 -2
- package/dist/runtime/subsystems/jobs/job-orchestrator.protocol.d.ts +1 -1
- package/dist/runtime/subsystems/jobs/job-run-keyset-cursor.d.ts +1 -1
- package/dist/runtime/subsystems/jobs/job-run-service.drizzle-backend.d.ts +1 -1
- package/dist/runtime/subsystems/jobs/job-run-service.drizzle-backend.js +2 -2
- package/dist/runtime/subsystems/jobs/job-run-service.memory-backend.d.ts +1 -1
- package/dist/runtime/subsystems/jobs/job-run-service.memory-backend.js +2 -2
- package/dist/runtime/subsystems/jobs/job-run-service.protocol.d.ts +1 -1
- package/dist/runtime/subsystems/jobs/job-worker.bullmq-backend.d.ts +1 -1
- package/dist/runtime/subsystems/jobs/job-worker.bullmq-backend.js +1 -1
- package/dist/runtime/subsystems/jobs/job-worker.d.ts +1 -1
- package/dist/runtime/subsystems/jobs/job-worker.js +2 -2
- package/dist/runtime/subsystems/jobs/job-worker.module.d.ts +1 -1
- package/dist/runtime/subsystems/jobs/job-worker.module.js +10 -10
- package/dist/runtime/subsystems/jobs/jobs-domain.module.js +8 -8
- package/dist/runtime/subsystems/jobs/jobs-errors.d.ts +1 -1
- package/dist/runtime/subsystems/observability/index.d.ts +1 -1
- package/dist/runtime/subsystems/observability/observability.protocol.d.ts +1 -1
- package/dist/runtime/subsystems/observability/observability.service.d.ts +1 -1
- package/dist/runtime/subsystems/observability/reporters/bridge-metrics.reporter.d.ts +1 -1
- package/dist/runtime/subsystems/observability/reporters/index.d.ts +1 -1
- package/dist/runtime/subsystems/storage/index.js +4 -4
- package/dist/runtime/subsystems/storage/storage.module.js +2 -2
- package/dist/src/cli/index.js +34 -12
- package/dist/src/cli/index.js.map +1 -1
- package/dist/src/index.js +9 -9
- package/package.json +1 -1
- package/runtime/subsystems/integration/deep-equal.differ.ts +34 -5
- package/runtime/subsystems/integration/integration.module.ts +26 -2
- package/runtime/subsystems/jobs/job-handler.base.ts +115 -2
- package/runtime/subsystems/jobs/job-orchestrator.drizzle-backend.ts +43 -16
- package/runtime/subsystems/jobs/job-orchestrator.memory-backend.ts +58 -18
- package/templates/subsystem/integration-config/codegen-config-integration-block.ejs.t +17 -0
- package/dist/chunk-36U5UGIO.js.map +0 -1
- package/dist/chunk-BULPAAD3.js.map +0 -1
- package/dist/chunk-CO6LUM72.js.map +0 -1
- package/dist/chunk-OTR44OH6.js.map +0 -1
- package/dist/chunk-P3AYBRP6.js.map +0 -1
- /package/dist/{chunk-UTNWFHJF.js.map → chunk-4PFF3ED4.js.map} +0 -0
- /package/dist/{chunk-CDLWYZVQ.js.map → chunk-BHZP6LOV.js.map} +0 -0
- /package/dist/{chunk-4MVGAMUA.js.map → chunk-BK5ICA2F.js.map} +0 -0
- /package/dist/{chunk-RHYNACZS.js.map → chunk-EJBK7I4F.js.map} +0 -0
- /package/dist/{chunk-OITTYGJS.js.map → chunk-FWRL7BZ5.js.map} +0 -0
- /package/dist/{chunk-3MAZ4TQH.js.map → chunk-HOIRY5XP.js.map} +0 -0
- /package/dist/{chunk-GJDEPTPY.js.map → chunk-HPS554L4.js.map} +0 -0
- /package/dist/{chunk-K2I6XIK5.js.map → chunk-KSTZIULO.js.map} +0 -0
- /package/dist/{chunk-Z7PQCAVK.js.map → chunk-LQ6PYFU6.js.map} +0 -0
- /package/dist/{chunk-L3VJ47BU.js.map → chunk-PSDVGPQR.js.map} +0 -0
- /package/dist/{chunk-DTXH24LR.js.map → chunk-SFQRETXJ.js.map} +0 -0
- /package/dist/{chunk-NXNVTXKG.js.map → chunk-SGSWVNNB.js.map} +0 -0
- /package/dist/{chunk-7LKAMLV4.js.map → chunk-T6SCOJF4.js.map} +0 -0
- /package/dist/{chunk-OGIZXGPY.js.map → chunk-TDEHU73T.js.map} +0 -0
- /package/dist/{chunk-3VEVGL74.js.map → chunk-VNBC3VXM.js.map} +0 -0
- /package/dist/{chunk-DCCZB4UC.js.map → chunk-XWBK3XJK.js.map} +0 -0
- /package/dist/{chunk-4GLNY5V6.js.map → chunk-Y7GDG744.js.map} +0 -0
- /package/dist/{chunk-SR7F3TJY.js.map → chunk-YK5JEVLX.js.map} +0 -0
package/dist/{job-orchestrator.protocol-DubMVbm9.d.ts → job-orchestrator.protocol-ZuJ3ow-O.d.ts}
RENAMED
|
@@ -36,12 +36,31 @@ interface RetryPolicy {
|
|
|
36
36
|
baseMs: number;
|
|
37
37
|
nonRetryableErrors?: string[];
|
|
38
38
|
}
|
|
39
|
+
/**
|
|
40
|
+
* Concurrency lane key (JOB-FN-KEY, 0.16.2).
|
|
41
|
+
*
|
|
42
|
+
* Two authoring forms, both honored end-to-end (the typed function form was
|
|
43
|
+
* previously dropped to `null` at registration — see `upsertJobRows` — so
|
|
44
|
+
* `collisionMode` silently never engaged):
|
|
45
|
+
*
|
|
46
|
+
* - **`string`** — a `{{field}}` template evaluated against the start
|
|
47
|
+
* payload by `evaluateKeyTemplate` (single-key substitution, no dotted
|
|
48
|
+
* paths). Persisted verbatim to `job.concurrency_key_template`.
|
|
49
|
+
* - **`(input) => string`** — an arbitrary function of the input. Persisted
|
|
50
|
+
* as the `FN_KEY_SENTINEL` marker so the definition-hash gate stays stable
|
|
51
|
+
* and the collision path engages; `start()` re-resolves the live function
|
|
52
|
+
* from `JOB_HANDLER_REGISTRY` and evaluates it against the payload.
|
|
53
|
+
*
|
|
54
|
+
* Both forms produce a per-lane key; same key + in-flight incumbent ⇒
|
|
55
|
+
* `collisionMode` ('queue' | 'reject' | 'replace') decides.
|
|
56
|
+
*/
|
|
57
|
+
type JobKeySelector<TInput> = string | ((input: TInput) => string);
|
|
39
58
|
interface ConcurrencyPolicy<TInput> {
|
|
40
|
-
key:
|
|
59
|
+
key: JobKeySelector<TInput>;
|
|
41
60
|
collisionMode: 'queue' | 'reject' | 'replace';
|
|
42
61
|
}
|
|
43
62
|
interface DedupePolicy<TInput> {
|
|
44
|
-
key:
|
|
63
|
+
key: JobKeySelector<TInput>;
|
|
45
64
|
windowMs: number;
|
|
46
65
|
}
|
|
47
66
|
/**
|
|
@@ -165,6 +184,61 @@ declare namespace HandlerRegistry {
|
|
|
165
184
|
/** Lookup by job type, or `undefined` if no `@JobHandler` is registered. */
|
|
166
185
|
function get(type: string): HandlerRegistryEntry | undefined;
|
|
167
186
|
}
|
|
187
|
+
/**
|
|
188
|
+
* Sentinel persisted to `job.concurrency_key_template` / `dedupe_key_template`
|
|
189
|
+
* when the authored `key` is a function rather than a `{{field}}` template.
|
|
190
|
+
*
|
|
191
|
+
* Why a sentinel (not `null`): the collision/dedupe paths in both backends gate
|
|
192
|
+
* on `definition.concurrencyKeyTemplate != null`. A function key persisted as
|
|
193
|
+
* `null` (the pre-0.16.2 bug) left those columns empty, so `collisionMode` /
|
|
194
|
+
* the dedupe window never engaged — the job ran with NO key. A stable sentinel
|
|
195
|
+
* keeps the column non-null (path engages) AND keeps the definition-hash gate
|
|
196
|
+
* (`upsertJobRows`' `IS DISTINCT FROM` clause) stable across boots, since the
|
|
197
|
+
* function identity itself can't be hashed. `start()` detects the sentinel and
|
|
198
|
+
* re-resolves the live function from `JOB_HANDLER_REGISTRY`.
|
|
199
|
+
*
|
|
200
|
+
* Chosen as an angle-bracketed token so it can never collide with a real
|
|
201
|
+
* `{{field}}` template (which never contains a literal `<`).
|
|
202
|
+
*/
|
|
203
|
+
declare const FN_KEY_SENTINEL = "<fn>";
|
|
204
|
+
/**
|
|
205
|
+
* Registration-time projection: collapse an authored `JobKeySelector` to the
|
|
206
|
+
* string stored in the `job` definition row. A string template is stored
|
|
207
|
+
* verbatim; a function is stored as `FN_KEY_SENTINEL`; absence stays `null`.
|
|
208
|
+
*/
|
|
209
|
+
declare function keySelectorToTemplate(key: JobKeySelector<unknown> | undefined): string | null;
|
|
210
|
+
/** Which meta policy a key belongs to — selects the live fn at `start()`. */
|
|
211
|
+
type KeyKind = 'concurrency' | 'dedupe';
|
|
212
|
+
/**
|
|
213
|
+
* `start()`-time resolution shared by every backend. Turns the persisted
|
|
214
|
+
* template column into the concrete per-run key for the given payload.
|
|
215
|
+
*
|
|
216
|
+
* - `template == null` → `null` (no key; caller skips the collision/dedupe path).
|
|
217
|
+
* - `template === FN_KEY_SENTINEL` → look the live `@JobHandler` meta up in
|
|
218
|
+
* `JOB_HANDLER_REGISTRY`, pull `meta[kind].key`, and invoke it against the
|
|
219
|
+
* payload. The registry is the runtime source of truth (the worker already
|
|
220
|
+
* resolves handler classes the same way), so the function survives the DB
|
|
221
|
+
* round-trip even though it can't be persisted.
|
|
222
|
+
* - otherwise → a `{{field}}` template, evaluated via the injected
|
|
223
|
+
* `evaluateTemplate` (each backend passes its own copy to avoid a runtime
|
|
224
|
+
* import cycle).
|
|
225
|
+
*
|
|
226
|
+
* Throws `JobKeyFunctionUnavailableError` if the sentinel is present but no
|
|
227
|
+
* live function can be found (e.g. the registry was reset, or a function key
|
|
228
|
+
* was persisted by a newer build and read by an older one). Failing loud beats
|
|
229
|
+
* silently degrading to no-key — the exact regression this fix exists to kill.
|
|
230
|
+
*/
|
|
231
|
+
declare function resolveJobKey(kind: KeyKind, type: string, template: string | null, payload: Record<string, unknown>, evaluateTemplate: (template: string, payload: Record<string, unknown>) => string): string | null;
|
|
232
|
+
/**
|
|
233
|
+
* Raised when a `${FN_KEY_SENTINEL}` template is read but the live function
|
|
234
|
+
* key is missing from `JOB_HANDLER_REGISTRY`. Kept here (not in `jobs-errors`)
|
|
235
|
+
* so `job-handler.base` stays import-cycle-free.
|
|
236
|
+
*/
|
|
237
|
+
declare class JobKeyFunctionUnavailableError extends Error {
|
|
238
|
+
readonly jobType: string;
|
|
239
|
+
readonly kind: KeyKind;
|
|
240
|
+
constructor(jobType: string, kind: KeyKind);
|
|
241
|
+
}
|
|
168
242
|
|
|
169
243
|
/**
|
|
170
244
|
* Public return type for orchestrator reads. Re-exported as `JobRun` so
|
|
@@ -310,4 +384,4 @@ interface IJobOrchestrator {
|
|
|
310
384
|
}>;
|
|
311
385
|
}
|
|
312
386
|
|
|
313
|
-
export { type CancelOptions as C, type DedupePolicy as D, HandlerRegistry as H, type IJobOrchestrator as I, JOB_HANDLER_METADATA_KEY as J, ParentClosePolicy as P, type RetryPolicy as R, type ScopeRef as S, type ConcurrencyPolicy as a, type HandlerRegistryEntry as b, JOB_HANDLER_REGISTRY as c, type JobContext as d, JobHandler as e, JobHandlerBase as f, type JobHandlerMeta as g, type JobPoolDef as h, type JobRun as i, type JobUpsertEntry as j, type SpawnChildOptions as k, type StartOptions as l, type StepOptions as m, type JobTrigger as
|
|
387
|
+
export { type CancelOptions as C, type DedupePolicy as D, FN_KEY_SENTINEL as F, HandlerRegistry as H, type IJobOrchestrator as I, JOB_HANDLER_METADATA_KEY as J, type KeyKind as K, ParentClosePolicy as P, type RetryPolicy as R, type ScopeRef as S, type ConcurrencyPolicy as a, type HandlerRegistryEntry as b, JOB_HANDLER_REGISTRY as c, type JobContext as d, JobHandler as e, JobHandlerBase as f, type JobHandlerMeta as g, type JobPoolDef as h, type JobRun as i, type JobUpsertEntry as j, type SpawnChildOptions as k, type StartOptions as l, type StepOptions as m, JobKeyFunctionUnavailableError as n, type JobKeySelector as o, type JobTrigger as p, keySelectorToTemplate as q, resolveJobKey as r };
|
|
@@ -1,18 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
MetadataEntityRepository
|
|
3
|
-
} from "../../chunk-7KOW6PU6.js";
|
|
4
|
-
import {
|
|
5
|
-
MetadataEntityService
|
|
6
|
-
} from "../../chunk-RFH7N6EP.js";
|
|
7
|
-
import {
|
|
8
|
-
WithAnalytics
|
|
9
|
-
} from "../../chunk-IBGER4YK.js";
|
|
10
|
-
import {
|
|
11
|
-
IntegratedEntityRepository
|
|
12
|
-
} from "../../chunk-OTDN3OUQ.js";
|
|
13
|
-
import {
|
|
14
|
-
IntegratedEntityService
|
|
15
|
-
} from "../../chunk-2VHZ7EKC.js";
|
|
16
1
|
import {
|
|
17
2
|
JunctionIntegrationRepository,
|
|
18
3
|
buildCompositeExternalId,
|
|
@@ -25,8 +10,14 @@ import {
|
|
|
25
10
|
KnowledgeEntityService
|
|
26
11
|
} from "../../chunk-AS3NAZB6.js";
|
|
27
12
|
import {
|
|
28
|
-
|
|
29
|
-
} from "../../chunk-
|
|
13
|
+
MetadataEntityRepository
|
|
14
|
+
} from "../../chunk-7KOW6PU6.js";
|
|
15
|
+
import {
|
|
16
|
+
MetadataEntityService
|
|
17
|
+
} from "../../chunk-RFH7N6EP.js";
|
|
18
|
+
import {
|
|
19
|
+
WithAnalytics
|
|
20
|
+
} from "../../chunk-IBGER4YK.js";
|
|
30
21
|
import {
|
|
31
22
|
ActivityEntityService
|
|
32
23
|
} from "../../chunk-JYBFPNBJ.js";
|
|
@@ -35,8 +26,11 @@ import {
|
|
|
35
26
|
BaseListUseCase
|
|
36
27
|
} from "../../chunk-EXVDJMIY.js";
|
|
37
28
|
import {
|
|
38
|
-
|
|
39
|
-
} from "../../chunk-
|
|
29
|
+
IntegratedEntityRepository
|
|
30
|
+
} from "../../chunk-OTDN3OUQ.js";
|
|
31
|
+
import {
|
|
32
|
+
IntegratedEntityService
|
|
33
|
+
} from "../../chunk-2VHZ7EKC.js";
|
|
40
34
|
import {
|
|
41
35
|
BaseService
|
|
42
36
|
} from "../../chunk-W72PRNJY.js";
|
|
@@ -47,6 +41,12 @@ import {
|
|
|
47
41
|
emitSafely,
|
|
48
42
|
entitySnapshot
|
|
49
43
|
} from "../../chunk-KYR3B3OW.js";
|
|
44
|
+
import {
|
|
45
|
+
ActivityEntityRepository
|
|
46
|
+
} from "../../chunk-MKWQKKK7.js";
|
|
47
|
+
import {
|
|
48
|
+
BaseRepository
|
|
49
|
+
} from "../../chunk-J6KZS54B.js";
|
|
50
50
|
import {
|
|
51
51
|
requireRequester,
|
|
52
52
|
requireRequesterScope,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
OPENAPI_REGISTRY
|
|
3
|
-
} from "../../../chunk-PSXUNOVU.js";
|
|
4
1
|
import {
|
|
5
2
|
OpenApiRegistry
|
|
6
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-Y7GDG744.js";
|
|
4
|
+
import {
|
|
5
|
+
ERROR_RESPONSE_SCHEMA_NAME,
|
|
6
|
+
errorResponseSchema
|
|
7
|
+
} from "../../../chunk-SOVM2VEK.js";
|
|
7
8
|
import {
|
|
8
9
|
DuplicateSchemaError,
|
|
9
10
|
OpenApiPeerDepMissingError
|
|
10
11
|
} from "../../../chunk-YSLTTQLC.js";
|
|
11
12
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "../../../chunk-SOVM2VEK.js";
|
|
13
|
+
OPENAPI_REGISTRY
|
|
14
|
+
} from "../../../chunk-PSXUNOVU.js";
|
|
15
15
|
import "../../../chunk-2E224ZSN.js";
|
|
16
16
|
export {
|
|
17
17
|
DuplicateSchemaError,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OpenApiRegistry
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import "../../../chunk-YSLTTQLC.js";
|
|
3
|
+
} from "../../../chunk-Y7GDG744.js";
|
|
5
4
|
import "../../../chunk-SOVM2VEK.js";
|
|
5
|
+
import "../../../chunk-YSLTTQLC.js";
|
|
6
6
|
import "../../../chunk-2E224ZSN.js";
|
|
7
7
|
export {
|
|
8
8
|
OpenApiRegistry
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AuthModule
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-T6SCOJF4.js";
|
|
4
4
|
import "../../../chunk-IP4OO26U.js";
|
|
5
|
+
import "../../../chunk-SZVPIHWE.js";
|
|
5
6
|
import "../../../chunk-N5OTOWTP.js";
|
|
6
7
|
import "../../../chunk-QLTJSCE6.js";
|
|
7
8
|
import "../../../chunk-BPARRK6F.js";
|
|
8
|
-
import "../../../chunk-SZVPIHWE.js";
|
|
9
9
|
import "../../../chunk-6XY6ZMMD.js";
|
|
10
10
|
import "../../../chunk-NPFPZ2HO.js";
|
|
11
11
|
import "../../../chunk-GYGNEQSC.js";
|
|
@@ -19,10 +19,13 @@ import {
|
|
|
19
19
|
} from "../../../chunk-OSQRXVG2.js";
|
|
20
20
|
import {
|
|
21
21
|
AuthModule
|
|
22
|
-
} from "../../../chunk-
|
|
22
|
+
} from "../../../chunk-T6SCOJF4.js";
|
|
23
23
|
import {
|
|
24
24
|
EnvEncryptionKey
|
|
25
25
|
} from "../../../chunk-IP4OO26U.js";
|
|
26
|
+
import {
|
|
27
|
+
AuthController
|
|
28
|
+
} from "../../../chunk-SZVPIHWE.js";
|
|
26
29
|
import {
|
|
27
30
|
DrizzleOAuthStateStore
|
|
28
31
|
} from "../../../chunk-N5OTOWTP.js";
|
|
@@ -32,9 +35,6 @@ import {
|
|
|
32
35
|
import {
|
|
33
36
|
OAuthStateError
|
|
34
37
|
} from "../../../chunk-BPARRK6F.js";
|
|
35
|
-
import {
|
|
36
|
-
AuthController
|
|
37
|
-
} from "../../../chunk-SZVPIHWE.js";
|
|
38
38
|
import {
|
|
39
39
|
AUTH_CONNECTION_GRANT_SINK,
|
|
40
40
|
AUTH_CONNECTION_READER,
|
|
@@ -49,8 +49,8 @@ import {
|
|
|
49
49
|
authOAuthState
|
|
50
50
|
} from "../../../chunk-NPFPZ2HO.js";
|
|
51
51
|
import "../../../chunk-GYGNEQSC.js";
|
|
52
|
-
import "../../../chunk-ZUKFQL6E.js";
|
|
53
52
|
import "../../../chunk-U64T4YZE.js";
|
|
53
|
+
import "../../../chunk-ZUKFQL6E.js";
|
|
54
54
|
import "../../../chunk-2E224ZSN.js";
|
|
55
55
|
export {
|
|
56
56
|
AUTH_CONNECTION_GRANT_SINK,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as JobHandlerBase, I as IJobOrchestrator, d as JobContext } from '../../../job-orchestrator.protocol-
|
|
1
|
+
import { f as JobHandlerBase, I as IJobOrchestrator, d as JobContext } from '../../../job-orchestrator.protocol-ZuJ3ow-O.js';
|
|
2
2
|
import { IEventBus } from '../events/event-bus.protocol.js';
|
|
3
3
|
import { IJobBridge, BridgeRegistry } from './bridge.protocol.js';
|
|
4
4
|
import '../jobs/job-orchestration.schema.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BRIDGE_DELIVERY_JOB_TYPE,
|
|
3
3
|
BridgeDeliveryHandler
|
|
4
|
-
} from "../../../chunk-
|
|
4
|
+
} from "../../../chunk-SGSWVNNB.js";
|
|
5
5
|
import "../../../chunk-6DWFJNIK.js";
|
|
6
6
|
import "../../../chunk-NXXDZ6ZF.js";
|
|
7
|
-
import "../../../chunk-CO6LUM72.js";
|
|
8
7
|
import "../../../chunk-ZPL74UQN.js";
|
|
8
|
+
import "../../../chunk-7P5ODGLA.js";
|
|
9
9
|
import "../../../chunk-4LH67P4U.js";
|
|
10
10
|
import "../../../chunk-H5NH7KPE.js";
|
|
11
11
|
import "../../../chunk-GYGNEQSC.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DrizzleBridgeDeliveryRepo
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import "../../../chunk-6DWFJNIK.js";
|
|
3
|
+
} from "../../../chunk-KSTZIULO.js";
|
|
5
4
|
import "../../../chunk-2TVVBC53.js";
|
|
5
|
+
import "../../../chunk-6DWFJNIK.js";
|
|
6
6
|
import "../../../chunk-NXXDZ6ZF.js";
|
|
7
7
|
import "../../../chunk-OKXZ63IA.js";
|
|
8
8
|
import "../../../chunk-4LH67P4U.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BridgeOutboxDrainHook
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import "../../../chunk-
|
|
5
|
-
import "../../../chunk-6DWFJNIK.js";
|
|
3
|
+
} from "../../../chunk-SFQRETXJ.js";
|
|
4
|
+
import "../../../chunk-SGSWVNNB.js";
|
|
6
5
|
import "../../../chunk-2TVVBC53.js";
|
|
6
|
+
import "../../../chunk-6DWFJNIK.js";
|
|
7
7
|
import "../../../chunk-NXXDZ6ZF.js";
|
|
8
|
-
import "../../../chunk-CO6LUM72.js";
|
|
9
8
|
import "../../../chunk-ZPL74UQN.js";
|
|
9
|
+
import "../../../chunk-7P5ODGLA.js";
|
|
10
10
|
import "../../../chunk-OKXZ63IA.js";
|
|
11
11
|
import "../../../chunk-MYQIQ27N.js";
|
|
12
12
|
import "../../../chunk-4LH67P4U.js";
|
|
@@ -7,7 +7,7 @@ import 'drizzle-orm/node-postgres';
|
|
|
7
7
|
import '../jobs/jobs-domain.module.js';
|
|
8
8
|
import '../jobs/bullmq.config.js';
|
|
9
9
|
import '../jobs/pool-config.loader.js';
|
|
10
|
-
import '../../../job-orchestrator.protocol-
|
|
10
|
+
import '../../../job-orchestrator.protocol-ZuJ3ow-O.js';
|
|
11
11
|
import '../events/event-bus.protocol.js';
|
|
12
12
|
import '../jobs/job-orchestration.schema.js';
|
|
13
13
|
import 'drizzle-orm/pg-core';
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BridgeModule
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-PSDVGPQR.js";
|
|
4
4
|
import "../../../chunk-5A432NZJ.js";
|
|
5
5
|
import "../../../chunk-5RT7JGKT.js";
|
|
6
6
|
import "../../../chunk-EDKJU5BO.js";
|
|
7
|
-
import "../../../chunk-
|
|
7
|
+
import "../../../chunk-KSTZIULO.js";
|
|
8
8
|
import "../../../chunk-4DOJBQTP.js";
|
|
9
|
-
import "../../../chunk-
|
|
10
|
-
import "../../../chunk-
|
|
11
|
-
import "../../../chunk-6DWFJNIK.js";
|
|
9
|
+
import "../../../chunk-SFQRETXJ.js";
|
|
10
|
+
import "../../../chunk-SGSWVNNB.js";
|
|
12
11
|
import "../../../chunk-2TVVBC53.js";
|
|
12
|
+
import "../../../chunk-6DWFJNIK.js";
|
|
13
13
|
import "../../../chunk-NXXDZ6ZF.js";
|
|
14
|
-
import "../../../chunk-
|
|
15
|
-
import "../../../chunk-
|
|
16
|
-
import "../../../chunk-
|
|
17
|
-
import "../../../chunk-BULPAAD3.js";
|
|
18
|
-
import "../../../chunk-3VEVGL74.js";
|
|
19
|
-
import "../../../chunk-CDLWYZVQ.js";
|
|
20
|
-
import "../../../chunk-L3LZWWSX.js";
|
|
14
|
+
import "../../../chunk-HPS554L4.js";
|
|
15
|
+
import "../../../chunk-FWRL7BZ5.js";
|
|
16
|
+
import "../../../chunk-HOIRY5XP.js";
|
|
21
17
|
import "../../../chunk-DV4RV2DC.js";
|
|
18
|
+
import "../../../chunk-FVNAU7VO.js";
|
|
19
|
+
import "../../../chunk-DUMI2J5M.js";
|
|
22
20
|
import "../../../chunk-PNZSGAB2.js";
|
|
21
|
+
import "../../../chunk-VNBC3VXM.js";
|
|
22
|
+
import "../../../chunk-BHZP6LOV.js";
|
|
23
23
|
import "../../../chunk-SNQ3TOWP.js";
|
|
24
|
+
import "../../../chunk-T4BIIU5E.js";
|
|
25
|
+
import "../../../chunk-L3LZWWSX.js";
|
|
24
26
|
import "../../../chunk-I6MVCB5A.js";
|
|
25
27
|
import "../../../chunk-RHVN6NA7.js";
|
|
26
|
-
import "../../../chunk-OTR44OH6.js";
|
|
27
|
-
import "../../../chunk-T4BIIU5E.js";
|
|
28
|
-
import "../../../chunk-CO6LUM72.js";
|
|
29
28
|
import "../../../chunk-ZPL74UQN.js";
|
|
29
|
+
import "../../../chunk-7P5ODGLA.js";
|
|
30
30
|
import "../../../chunk-OKXZ63IA.js";
|
|
31
31
|
import "../../../chunk-MYQIQ27N.js";
|
|
32
32
|
import "../../../chunk-4LH67P4U.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DrizzleClient } from '../../types/drizzle.js';
|
|
2
2
|
import { IEventBus, DrizzleTransaction } from '../events/event-bus.protocol.js';
|
|
3
3
|
import { EventTypeName, EventOfType } from '../events/event-registry.js';
|
|
4
|
-
import { I as IJobOrchestrator } from '../../../job-orchestrator.protocol-
|
|
4
|
+
import { I as IJobOrchestrator } from '../../../job-orchestrator.protocol-ZuJ3ow-O.js';
|
|
5
5
|
import { IEventFlow, IJobBridge, BridgeRegistry, PublishAndStartOptions, PublishAndStartResult } from './bridge.protocol.js';
|
|
6
6
|
import 'drizzle-orm/node-postgres';
|
|
7
7
|
import '../jobs/job-orchestration.schema.js';
|
|
@@ -16,7 +16,7 @@ import '../events/event-bus.protocol.js';
|
|
|
16
16
|
import '../../types/drizzle.js';
|
|
17
17
|
import 'drizzle-orm/node-postgres';
|
|
18
18
|
import '../events/event-registry.js';
|
|
19
|
-
import '../../../job-orchestrator.protocol-
|
|
19
|
+
import '../../../job-orchestrator.protocol-ZuJ3ow-O.js';
|
|
20
20
|
import '../jobs/job-orchestration.schema.js';
|
|
21
21
|
import '@nestjs/common';
|
|
22
22
|
import '../jobs/job-worker.module.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BridgeModule
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-PSDVGPQR.js";
|
|
4
4
|
import "../../../chunk-5A432NZJ.js";
|
|
5
5
|
import {
|
|
6
6
|
EventFlowService
|
|
@@ -10,45 +10,45 @@ import {
|
|
|
10
10
|
} from "../../../chunk-EDKJU5BO.js";
|
|
11
11
|
import {
|
|
12
12
|
DrizzleBridgeDeliveryRepo
|
|
13
|
-
} from "../../../chunk-
|
|
13
|
+
} from "../../../chunk-KSTZIULO.js";
|
|
14
14
|
import {
|
|
15
15
|
MemoryBridgeDeliveryRepo
|
|
16
16
|
} from "../../../chunk-4DOJBQTP.js";
|
|
17
17
|
import {
|
|
18
18
|
BridgeOutboxDrainHook
|
|
19
|
-
} from "../../../chunk-
|
|
19
|
+
} from "../../../chunk-SFQRETXJ.js";
|
|
20
20
|
import {
|
|
21
21
|
BRIDGE_DELIVERY_JOB_TYPE,
|
|
22
22
|
BridgeDeliveryHandler
|
|
23
|
-
} from "../../../chunk-
|
|
24
|
-
import {
|
|
25
|
-
assertTenantId
|
|
26
|
-
} from "../../../chunk-6DWFJNIK.js";
|
|
23
|
+
} from "../../../chunk-SGSWVNNB.js";
|
|
27
24
|
import {
|
|
28
25
|
bridgeDelivery,
|
|
29
26
|
bridgeDeliveryStatusEnum
|
|
30
27
|
} from "../../../chunk-2TVVBC53.js";
|
|
28
|
+
import {
|
|
29
|
+
assertTenantId
|
|
30
|
+
} from "../../../chunk-6DWFJNIK.js";
|
|
31
31
|
import {
|
|
32
32
|
BridgeReservedPoolsNotPolledError,
|
|
33
33
|
MissingTenantIdError,
|
|
34
34
|
UniqueConstraintError
|
|
35
35
|
} from "../../../chunk-NXXDZ6ZF.js";
|
|
36
|
-
import "../../../chunk-
|
|
37
|
-
import "../../../chunk-
|
|
38
|
-
import "../../../chunk-
|
|
39
|
-
import "../../../chunk-BULPAAD3.js";
|
|
40
|
-
import "../../../chunk-3VEVGL74.js";
|
|
41
|
-
import "../../../chunk-CDLWYZVQ.js";
|
|
42
|
-
import "../../../chunk-L3LZWWSX.js";
|
|
36
|
+
import "../../../chunk-HPS554L4.js";
|
|
37
|
+
import "../../../chunk-FWRL7BZ5.js";
|
|
38
|
+
import "../../../chunk-HOIRY5XP.js";
|
|
43
39
|
import "../../../chunk-DV4RV2DC.js";
|
|
40
|
+
import "../../../chunk-FVNAU7VO.js";
|
|
41
|
+
import "../../../chunk-DUMI2J5M.js";
|
|
44
42
|
import "../../../chunk-PNZSGAB2.js";
|
|
43
|
+
import "../../../chunk-VNBC3VXM.js";
|
|
44
|
+
import "../../../chunk-BHZP6LOV.js";
|
|
45
45
|
import "../../../chunk-SNQ3TOWP.js";
|
|
46
|
+
import "../../../chunk-T4BIIU5E.js";
|
|
47
|
+
import "../../../chunk-L3LZWWSX.js";
|
|
46
48
|
import "../../../chunk-I6MVCB5A.js";
|
|
47
49
|
import "../../../chunk-RHVN6NA7.js";
|
|
48
|
-
import "../../../chunk-OTR44OH6.js";
|
|
49
|
-
import "../../../chunk-T4BIIU5E.js";
|
|
50
|
-
import "../../../chunk-CO6LUM72.js";
|
|
51
50
|
import "../../../chunk-ZPL74UQN.js";
|
|
51
|
+
import "../../../chunk-7P5ODGLA.js";
|
|
52
52
|
import "../../../chunk-OKXZ63IA.js";
|
|
53
53
|
import "../../../chunk-MYQIQ27N.js";
|
|
54
54
|
import {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DrizzleEventBus
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-4PFF3ED4.js";
|
|
4
4
|
import "../../../chunk-MYQIQ27N.js";
|
|
5
5
|
import "../../../chunk-4LH67P4U.js";
|
|
6
6
|
import "../../../chunk-OFRRBC7M.js";
|
|
7
|
-
import "../../../chunk-UQ5EHOH2.js";
|
|
8
7
|
import "../../../chunk-H5NH7KPE.js";
|
|
8
|
+
import "../../../chunk-UQ5EHOH2.js";
|
|
9
9
|
import "../../../chunk-GYGNEQSC.js";
|
|
10
10
|
import "../../../chunk-U64T4YZE.js";
|
|
11
11
|
import "../../../chunk-2E224ZSN.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MemoryEventBus
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import "../../../chunk-UQ5EHOH2.js";
|
|
3
|
+
} from "../../../chunk-LQ6PYFU6.js";
|
|
5
4
|
import "../../../chunk-H5NH7KPE.js";
|
|
5
|
+
import "../../../chunk-UQ5EHOH2.js";
|
|
6
6
|
import "../../../chunk-GYGNEQSC.js";
|
|
7
7
|
import "../../../chunk-2E224ZSN.js";
|
|
8
8
|
export {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
EventsModule
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-EJBK7I4F.js";
|
|
4
4
|
import "../../../chunk-GM3RMJIJ.js";
|
|
5
5
|
import "../../../chunk-BGULBWKJ.js";
|
|
6
6
|
import "../../../chunk-JRQO2IOF.js";
|
|
7
7
|
import "../../../chunk-V4AF6DI4.js";
|
|
8
|
-
import "../../../chunk-
|
|
8
|
+
import "../../../chunk-4PFF3ED4.js";
|
|
9
9
|
import "../../../chunk-MYQIQ27N.js";
|
|
10
10
|
import "../../../chunk-4LH67P4U.js";
|
|
11
11
|
import "../../../chunk-OFRRBC7M.js";
|
|
12
|
-
import "../../../chunk-
|
|
13
|
-
import "../../../chunk-UQ5EHOH2.js";
|
|
12
|
+
import "../../../chunk-LQ6PYFU6.js";
|
|
14
13
|
import "../../../chunk-H5NH7KPE.js";
|
|
14
|
+
import "../../../chunk-UQ5EHOH2.js";
|
|
15
15
|
import "../../../chunk-GYGNEQSC.js";
|
|
16
16
|
import "../../../chunk-U64T4YZE.js";
|
|
17
17
|
import "../../../chunk-2E224ZSN.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../../chunk-FN2PYDPP.js";
|
|
2
2
|
import {
|
|
3
3
|
EventsModule
|
|
4
|
-
} from "../../../chunk-
|
|
4
|
+
} from "../../../chunk-EJBK7I4F.js";
|
|
5
5
|
import {
|
|
6
6
|
TypedEventBus
|
|
7
7
|
} from "../../../chunk-GM3RMJIJ.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "../../../chunk-V4AF6DI4.js";
|
|
13
13
|
import {
|
|
14
14
|
DrizzleEventBus
|
|
15
|
-
} from "../../../chunk-
|
|
15
|
+
} from "../../../chunk-4PFF3ED4.js";
|
|
16
16
|
import "../../../chunk-MYQIQ27N.js";
|
|
17
17
|
import "../../../chunk-4LH67P4U.js";
|
|
18
18
|
import {
|
|
@@ -20,8 +20,7 @@ import {
|
|
|
20
20
|
} from "../../../chunk-OFRRBC7M.js";
|
|
21
21
|
import {
|
|
22
22
|
MemoryEventBus
|
|
23
|
-
} from "../../../chunk-
|
|
24
|
-
import "../../../chunk-UQ5EHOH2.js";
|
|
23
|
+
} from "../../../chunk-LQ6PYFU6.js";
|
|
25
24
|
import {
|
|
26
25
|
EVENTS_MODULE_OPTIONS,
|
|
27
26
|
EVENTS_MULTI_TENANT,
|
|
@@ -29,6 +28,7 @@ import {
|
|
|
29
28
|
EVENT_READ_PORT,
|
|
30
29
|
TYPED_EVENT_BUS
|
|
31
30
|
} from "../../../chunk-H5NH7KPE.js";
|
|
31
|
+
import "../../../chunk-UQ5EHOH2.js";
|
|
32
32
|
import "../../../chunk-GYGNEQSC.js";
|
|
33
33
|
import "../../../chunk-U64T4YZE.js";
|
|
34
34
|
import "../../../chunk-2E224ZSN.js";
|
|
@@ -56,7 +56,7 @@ import '@nestjs/common';
|
|
|
56
56
|
import './events/event-read.protocol.js';
|
|
57
57
|
import 'drizzle-orm/pg-core';
|
|
58
58
|
import 'drizzle-orm';
|
|
59
|
-
import '../../job-orchestrator.protocol-
|
|
59
|
+
import '../../job-orchestrator.protocol-ZuJ3ow-O.js';
|
|
60
60
|
import './events/event-registry.js';
|
|
61
61
|
import './integration/integration-field-diff.protocol.js';
|
|
62
62
|
import 'zod';
|