@voyantjs/core 0.9.0 → 0.10.0
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/events.d.ts
CHANGED
|
@@ -57,8 +57,8 @@ export interface Subscription {
|
|
|
57
57
|
*
|
|
58
58
|
* Adapter examples:
|
|
59
59
|
* - In-process (default, ships with core)
|
|
60
|
-
* - Hatchet — emit enqueues a durable task
|
|
61
60
|
* - Cloudflare Queues — edge-native
|
|
61
|
+
* - Postgres-backed durable queue — for refund-saga-grade durability
|
|
62
62
|
*
|
|
63
63
|
* Event naming convention: `<resource>.<pastTenseAction>` in dot-case.
|
|
64
64
|
* Examples: `booking.created`, `quote.accepted`, `payment.received`.
|
package/dist/orchestration.d.ts
CHANGED
|
@@ -15,14 +15,10 @@ export interface JobOptions {
|
|
|
15
15
|
* Abstract durable job runner interface. Implementations live in templates
|
|
16
16
|
* or adapter packages; core never reaches for a specific runtime.
|
|
17
17
|
*
|
|
18
|
-
* Voyant
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
* Templates wire their chosen adapter into the shared app/runtime container as
|
|
24
|
-
* `"jobs"`. Framework code that needs to kick off async work does so via
|
|
25
|
-
* explicit runtime resolution such as
|
|
18
|
+
* Voyant Cloud chooses an edge or node runner per workflow step at deploy
|
|
19
|
+
* time. Templates wire their chosen adapter into the shared app/runtime
|
|
20
|
+
* container as `"jobs"`. Framework code that needs to kick off async work
|
|
21
|
+
* does so via explicit runtime resolution such as
|
|
26
22
|
* `container.resolve<JobRunner>("jobs").enqueue(...)`.
|
|
27
23
|
*/
|
|
28
24
|
export interface JobRunner {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orchestration.d.ts","sourceRoot":"","sources":["../src/orchestration.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,4DAA4D;IAC5D,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,2CAA2C;IAC3C,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,2CAA2C;IAC3C,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,uDAAuD;IACvD,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACxC;AAED
|
|
1
|
+
{"version":3,"file":"orchestration.d.ts","sourceRoot":"","sources":["../src/orchestration.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,4DAA4D;IAC5D,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,2CAA2C;IAC3C,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,2CAA2C;IAC3C,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,uDAAuD;IACvD,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACxC;AAED;;;;;;;;;GASG;AACH,MAAM,WAAW,SAAS;IACxB,6EAA6E;IAC7E,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAEjF,mDAAmD;IACnD,QAAQ,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;CACzE"}
|