@swirls/looms 0.15.0 → 0.17.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/CHANGELOG.md +16 -0
- package/dist/actor/cell.d.ts +3 -1
- package/dist/actor/cell.js +1 -0
- package/dist/actor/host.d.ts +3 -1
- package/dist/actor/host.js +1 -0
- package/dist/cloudflare/durable-object.d.ts +3 -1
- package/dist/cloudflare/durable-object.js +1 -0
- package/dist/debugger/app/assets/{index-CZwbkhFX.js → index-Br9tGbPI.js} +2 -2
- package/dist/debugger/app/assets/{routes-CSuFE23L.js → routes-CZ0buqO7.js} +12 -12
- package/dist/debugger/app/index.html +1 -1
- package/dist/react/cache.d.ts +30 -0
- package/dist/react/cache.js +146 -0
- package/dist/react/index.d.ts +3 -1
- package/dist/react/index.js +2 -1
- package/dist/react/observer.d.ts +44 -0
- package/dist/react/observer.js +1 -0
- package/dist/react/react.d.ts +42 -1
- package/dist/react/react.js +57 -2
- package/dist/react/store.d.ts +9 -0
- package/dist/react/store.js +117 -7
- package/dist/workflow/module.d.ts +32 -32
- package/package.json +1 -1
|
@@ -143,6 +143,14 @@ export declare function workflow(options?: WorkflowModuleOptions): import("@swir
|
|
|
143
143
|
} | undefined;
|
|
144
144
|
readonly input?: import("effect/Schema").Json | undefined;
|
|
145
145
|
}, import("./definitions-store").WorkflowDefinitionsTag, (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
146
|
+
readonly type: "runtime.effect.retry.scheduled";
|
|
147
|
+
readonly payload: {
|
|
148
|
+
readonly effectId: string;
|
|
149
|
+
readonly attempt: number;
|
|
150
|
+
readonly nextAttemptAt: number;
|
|
151
|
+
readonly error: string;
|
|
152
|
+
};
|
|
153
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
146
154
|
readonly type: "runtime.child.close.requested";
|
|
147
155
|
readonly payload: {
|
|
148
156
|
readonly policy: "terminate" | "wait";
|
|
@@ -227,14 +235,6 @@ export declare function workflow(options?: WorkflowModuleOptions): import("@swir
|
|
|
227
235
|
readonly attempt: number;
|
|
228
236
|
readonly deadlineAt: number | null;
|
|
229
237
|
};
|
|
230
|
-
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
231
|
-
readonly type: "runtime.effect.retry.scheduled";
|
|
232
|
-
readonly payload: {
|
|
233
|
-
readonly effectId: string;
|
|
234
|
-
readonly attempt: number;
|
|
235
|
-
readonly nextAttemptAt: number;
|
|
236
|
-
readonly error: string;
|
|
237
|
-
};
|
|
238
238
|
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
239
239
|
readonly type: "runtime.effect.timed_out";
|
|
240
240
|
readonly payload: {
|
|
@@ -548,6 +548,14 @@ export declare function workflow(options?: WorkflowModuleOptions): import("@swir
|
|
|
548
548
|
};
|
|
549
549
|
} | undefined;
|
|
550
550
|
}, import("./definitions-store").WorkflowDefinitionsTag, (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
551
|
+
readonly type: "runtime.effect.retry.scheduled";
|
|
552
|
+
readonly payload: {
|
|
553
|
+
readonly effectId: string;
|
|
554
|
+
readonly attempt: number;
|
|
555
|
+
readonly nextAttemptAt: number;
|
|
556
|
+
readonly error: string;
|
|
557
|
+
};
|
|
558
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
551
559
|
readonly type: "runtime.child.close.requested";
|
|
552
560
|
readonly payload: {
|
|
553
561
|
readonly policy: "terminate" | "wait";
|
|
@@ -632,14 +640,6 @@ export declare function workflow(options?: WorkflowModuleOptions): import("@swir
|
|
|
632
640
|
readonly attempt: number;
|
|
633
641
|
readonly deadlineAt: number | null;
|
|
634
642
|
};
|
|
635
|
-
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
636
|
-
readonly type: "runtime.effect.retry.scheduled";
|
|
637
|
-
readonly payload: {
|
|
638
|
-
readonly effectId: string;
|
|
639
|
-
readonly attempt: number;
|
|
640
|
-
readonly nextAttemptAt: number;
|
|
641
|
-
readonly error: string;
|
|
642
|
-
};
|
|
643
643
|
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
644
644
|
readonly type: "runtime.effect.timed_out";
|
|
645
645
|
readonly payload: {
|
|
@@ -1131,6 +1131,14 @@ export declare function workflow(options?: WorkflowModuleOptions): import("@swir
|
|
|
1131
1131
|
} | undefined;
|
|
1132
1132
|
readonly input?: import("effect/Schema").Json | undefined;
|
|
1133
1133
|
}, import("./definitions-store").WorkflowDefinitionsTag, (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
1134
|
+
readonly type: "runtime.effect.retry.scheduled";
|
|
1135
|
+
readonly payload: {
|
|
1136
|
+
readonly effectId: string;
|
|
1137
|
+
readonly attempt: number;
|
|
1138
|
+
readonly nextAttemptAt: number;
|
|
1139
|
+
readonly error: string;
|
|
1140
|
+
};
|
|
1141
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
1134
1142
|
readonly type: "runtime.child.close.requested";
|
|
1135
1143
|
readonly payload: {
|
|
1136
1144
|
readonly policy: "terminate" | "wait";
|
|
@@ -1215,14 +1223,6 @@ export declare function workflow(options?: WorkflowModuleOptions): import("@swir
|
|
|
1215
1223
|
readonly attempt: number;
|
|
1216
1224
|
readonly deadlineAt: number | null;
|
|
1217
1225
|
};
|
|
1218
|
-
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
1219
|
-
readonly type: "runtime.effect.retry.scheduled";
|
|
1220
|
-
readonly payload: {
|
|
1221
|
-
readonly effectId: string;
|
|
1222
|
-
readonly attempt: number;
|
|
1223
|
-
readonly nextAttemptAt: number;
|
|
1224
|
-
readonly error: string;
|
|
1225
|
-
};
|
|
1226
1226
|
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
1227
1227
|
readonly type: "runtime.effect.timed_out";
|
|
1228
1228
|
readonly payload: {
|
|
@@ -1536,6 +1536,14 @@ export declare function workflow(options?: WorkflowModuleOptions): import("@swir
|
|
|
1536
1536
|
};
|
|
1537
1537
|
} | undefined;
|
|
1538
1538
|
}, import("./definitions-store").WorkflowDefinitionsTag, (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
1539
|
+
readonly type: "runtime.effect.retry.scheduled";
|
|
1540
|
+
readonly payload: {
|
|
1541
|
+
readonly effectId: string;
|
|
1542
|
+
readonly attempt: number;
|
|
1543
|
+
readonly nextAttemptAt: number;
|
|
1544
|
+
readonly error: string;
|
|
1545
|
+
};
|
|
1546
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
1539
1547
|
readonly type: "runtime.child.close.requested";
|
|
1540
1548
|
readonly payload: {
|
|
1541
1549
|
readonly policy: "terminate" | "wait";
|
|
@@ -1620,14 +1628,6 @@ export declare function workflow(options?: WorkflowModuleOptions): import("@swir
|
|
|
1620
1628
|
readonly attempt: number;
|
|
1621
1629
|
readonly deadlineAt: number | null;
|
|
1622
1630
|
};
|
|
1623
|
-
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
1624
|
-
readonly type: "runtime.effect.retry.scheduled";
|
|
1625
|
-
readonly payload: {
|
|
1626
|
-
readonly effectId: string;
|
|
1627
|
-
readonly attempt: number;
|
|
1628
|
-
readonly nextAttemptAt: number;
|
|
1629
|
-
readonly error: string;
|
|
1630
|
-
};
|
|
1631
1631
|
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
1632
1632
|
readonly type: "runtime.effect.timed_out";
|
|
1633
1633
|
readonly payload: {
|