@swirls/looms 0.26.0 → 0.27.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 +24 -0
- package/dist/agent/definitions.d.ts +14 -4
- package/dist/agent/effects.js +16 -7
- package/dist/agent/llm.d.ts +3 -1
- package/dist/agent/module.d.ts +727 -727
- package/dist/agent/threads.js +4 -1
- package/dist/ai-vercel/messages.d.ts +3 -3
- package/dist/ai-vercel/messages.js +23 -6
- package/dist/ai-vercel/vercel-llm.js +1 -1
- package/dist/evaluator/effects.d.ts +33 -33
- package/dist/evaluator/module.d.ts +66 -66
- package/dist/schedule/module.d.ts +36 -36
- package/dist/swarm/board.d.ts +51 -3
- package/dist/swarm/board.js +8 -0
- package/dist/swarm/conformance.js +54 -1
- package/dist/swarm/definitions.d.ts +15 -0
- package/dist/swarm/definitions.js +3 -0
- package/dist/swarm/effects.d.ts +1009 -31
- package/dist/swarm/effects.js +73 -18
- package/dist/swarm/ensure.d.ts +9 -2
- package/dist/swarm/ensure.js +2 -1
- package/dist/swarm/events.d.ts +51 -0
- package/dist/swarm/events.js +10 -0
- package/dist/swarm/index.d.ts +1 -0
- package/dist/swarm/index.js +1 -0
- package/dist/swarm/memory-board.js +18 -2
- package/dist/swarm/module.d.ts +2055 -115
- package/dist/swarm/module.js +3 -1
- package/dist/swarm/prompt.d.ts +5 -0
- package/dist/swarm/prompt.js +27 -2
- package/dist/swarm/scope.d.ts +80 -0
- package/dist/swarm/services.d.ts +2 -2
- package/dist/swarm/services.js +5 -2
- package/dist/swarm/threads.d.ts +4 -0
- package/dist/swarm/threads.js +24 -2
- package/dist/swarm/tools.js +12 -5
- package/package.json +1 -1
package/dist/swarm/module.d.ts
CHANGED
|
@@ -29,6 +29,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
29
29
|
readonly re: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
30
30
|
readonly mentions: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
31
31
|
readonly labels: import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>;
|
|
32
|
+
readonly attachments: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
33
|
+
readonly id: import("effect/Schema").String;
|
|
34
|
+
readonly mediaType: import("effect/Schema").String;
|
|
35
|
+
readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
36
|
+
readonly size: import("effect/Schema").optional<import("effect/Schema").Finite>;
|
|
37
|
+
readonly url: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
38
|
+
}>>;
|
|
32
39
|
readonly createdAt: import("effect/Schema").Finite;
|
|
33
40
|
}>>;
|
|
34
41
|
readonly task: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
@@ -71,6 +78,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
71
78
|
readonly re: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
72
79
|
readonly mentions: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
73
80
|
readonly labels: import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>;
|
|
81
|
+
readonly attachments: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
82
|
+
readonly id: import("effect/Schema").String;
|
|
83
|
+
readonly mediaType: import("effect/Schema").String;
|
|
84
|
+
readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
85
|
+
readonly size: import("effect/Schema").optional<import("effect/Schema").Finite>;
|
|
86
|
+
readonly url: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
87
|
+
}>>;
|
|
74
88
|
readonly createdAt: import("effect/Schema").Finite;
|
|
75
89
|
}>;
|
|
76
90
|
}>;
|
|
@@ -85,6 +99,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
85
99
|
readonly re: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
86
100
|
readonly mentions: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
87
101
|
readonly labels: import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>;
|
|
102
|
+
readonly attachments: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
103
|
+
readonly id: import("effect/Schema").String;
|
|
104
|
+
readonly mediaType: import("effect/Schema").String;
|
|
105
|
+
readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
106
|
+
readonly size: import("effect/Schema").optional<import("effect/Schema").Finite>;
|
|
107
|
+
readonly url: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
108
|
+
}>>;
|
|
88
109
|
readonly createdAt: import("effect/Schema").Finite;
|
|
89
110
|
}>;
|
|
90
111
|
}>;
|
|
@@ -99,9 +120,28 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
99
120
|
readonly re: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
100
121
|
readonly mentions: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
101
122
|
readonly labels: import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>;
|
|
123
|
+
readonly attachments: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
124
|
+
readonly id: import("effect/Schema").String;
|
|
125
|
+
readonly mediaType: import("effect/Schema").String;
|
|
126
|
+
readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
127
|
+
readonly size: import("effect/Schema").optional<import("effect/Schema").Finite>;
|
|
128
|
+
readonly url: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
129
|
+
}>>;
|
|
102
130
|
readonly createdAt: import("effect/Schema").Finite;
|
|
103
131
|
}>>;
|
|
104
132
|
}>;
|
|
133
|
+
'attachments.viewed': import("effect/Schema").Struct<{
|
|
134
|
+
readonly callId: import("effect/Schema").String;
|
|
135
|
+
readonly board: import("effect/Schema").String;
|
|
136
|
+
readonly message: import("effect/Schema").String;
|
|
137
|
+
readonly attachments: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
138
|
+
readonly id: import("effect/Schema").String;
|
|
139
|
+
readonly mediaType: import("effect/Schema").String;
|
|
140
|
+
readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
141
|
+
readonly size: import("effect/Schema").optional<import("effect/Schema").Finite>;
|
|
142
|
+
readonly url: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
143
|
+
}>>;
|
|
144
|
+
}>;
|
|
105
145
|
'task.created': import("effect/Schema").Struct<{
|
|
106
146
|
readonly callId: import("effect/Schema").String;
|
|
107
147
|
readonly board: import("effect/Schema").String;
|
|
@@ -441,6 +481,20 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
441
481
|
readonly payload: import("effect/Schema").Json;
|
|
442
482
|
};
|
|
443
483
|
};
|
|
484
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
485
|
+
readonly type: "swarm.attachments.viewed";
|
|
486
|
+
readonly payload: {
|
|
487
|
+
readonly callId: string;
|
|
488
|
+
readonly board: string;
|
|
489
|
+
readonly message: string;
|
|
490
|
+
readonly attachments: readonly {
|
|
491
|
+
readonly id: string;
|
|
492
|
+
readonly mediaType: string;
|
|
493
|
+
readonly name?: string | undefined;
|
|
494
|
+
readonly size?: number | undefined;
|
|
495
|
+
readonly url?: string | undefined;
|
|
496
|
+
}[];
|
|
497
|
+
};
|
|
444
498
|
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
445
499
|
readonly type: "swarm.board.pulled";
|
|
446
500
|
readonly payload: {
|
|
@@ -462,6 +516,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
462
516
|
readonly labels: {
|
|
463
517
|
readonly [x: string]: string;
|
|
464
518
|
};
|
|
519
|
+
readonly attachments: readonly {
|
|
520
|
+
readonly id: string;
|
|
521
|
+
readonly mediaType: string;
|
|
522
|
+
readonly name?: string | undefined;
|
|
523
|
+
readonly size?: number | undefined;
|
|
524
|
+
readonly url?: string | undefined;
|
|
525
|
+
}[];
|
|
465
526
|
readonly createdAt: number;
|
|
466
527
|
} | undefined;
|
|
467
528
|
readonly task?: {
|
|
@@ -516,6 +577,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
516
577
|
readonly labels: {
|
|
517
578
|
readonly [x: string]: string;
|
|
518
579
|
};
|
|
580
|
+
readonly attachments: readonly {
|
|
581
|
+
readonly id: string;
|
|
582
|
+
readonly mediaType: string;
|
|
583
|
+
readonly name?: string | undefined;
|
|
584
|
+
readonly size?: number | undefined;
|
|
585
|
+
readonly url?: string | undefined;
|
|
586
|
+
}[];
|
|
519
587
|
readonly createdAt: number;
|
|
520
588
|
};
|
|
521
589
|
};
|
|
@@ -534,6 +602,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
534
602
|
readonly labels: {
|
|
535
603
|
readonly [x: string]: string;
|
|
536
604
|
};
|
|
605
|
+
readonly attachments: readonly {
|
|
606
|
+
readonly id: string;
|
|
607
|
+
readonly mediaType: string;
|
|
608
|
+
readonly name?: string | undefined;
|
|
609
|
+
readonly size?: number | undefined;
|
|
610
|
+
readonly url?: string | undefined;
|
|
611
|
+
}[];
|
|
537
612
|
readonly createdAt: number;
|
|
538
613
|
};
|
|
539
614
|
};
|
|
@@ -552,6 +627,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
552
627
|
readonly labels: {
|
|
553
628
|
readonly [x: string]: string;
|
|
554
629
|
};
|
|
630
|
+
readonly attachments: readonly {
|
|
631
|
+
readonly id: string;
|
|
632
|
+
readonly mediaType: string;
|
|
633
|
+
readonly name?: string | undefined;
|
|
634
|
+
readonly size?: number | undefined;
|
|
635
|
+
readonly url?: string | undefined;
|
|
636
|
+
}[];
|
|
555
637
|
readonly createdAt: number;
|
|
556
638
|
}[];
|
|
557
639
|
};
|
|
@@ -671,6 +753,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
671
753
|
readonly labels: {
|
|
672
754
|
readonly [x: string]: string;
|
|
673
755
|
};
|
|
756
|
+
readonly attachments: readonly {
|
|
757
|
+
readonly id: string;
|
|
758
|
+
readonly mediaType: string;
|
|
759
|
+
readonly name?: string | undefined;
|
|
760
|
+
readonly size?: number | undefined;
|
|
761
|
+
readonly url?: string | undefined;
|
|
762
|
+
}[];
|
|
674
763
|
readonly createdAt: number;
|
|
675
764
|
} | undefined;
|
|
676
765
|
readonly task?: {
|
|
@@ -935,6 +1024,20 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
935
1024
|
readonly payload: import("effect/Schema").Json;
|
|
936
1025
|
};
|
|
937
1026
|
};
|
|
1027
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
1028
|
+
readonly type: "swarm.attachments.viewed";
|
|
1029
|
+
readonly payload: {
|
|
1030
|
+
readonly callId: string;
|
|
1031
|
+
readonly board: string;
|
|
1032
|
+
readonly message: string;
|
|
1033
|
+
readonly attachments: readonly {
|
|
1034
|
+
readonly id: string;
|
|
1035
|
+
readonly mediaType: string;
|
|
1036
|
+
readonly name?: string | undefined;
|
|
1037
|
+
readonly size?: number | undefined;
|
|
1038
|
+
readonly url?: string | undefined;
|
|
1039
|
+
}[];
|
|
1040
|
+
};
|
|
938
1041
|
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
939
1042
|
readonly type: "swarm.board.pulled";
|
|
940
1043
|
readonly payload: {
|
|
@@ -956,6 +1059,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
956
1059
|
readonly labels: {
|
|
957
1060
|
readonly [x: string]: string;
|
|
958
1061
|
};
|
|
1062
|
+
readonly attachments: readonly {
|
|
1063
|
+
readonly id: string;
|
|
1064
|
+
readonly mediaType: string;
|
|
1065
|
+
readonly name?: string | undefined;
|
|
1066
|
+
readonly size?: number | undefined;
|
|
1067
|
+
readonly url?: string | undefined;
|
|
1068
|
+
}[];
|
|
959
1069
|
readonly createdAt: number;
|
|
960
1070
|
} | undefined;
|
|
961
1071
|
readonly task?: {
|
|
@@ -1010,6 +1120,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
1010
1120
|
readonly labels: {
|
|
1011
1121
|
readonly [x: string]: string;
|
|
1012
1122
|
};
|
|
1123
|
+
readonly attachments: readonly {
|
|
1124
|
+
readonly id: string;
|
|
1125
|
+
readonly mediaType: string;
|
|
1126
|
+
readonly name?: string | undefined;
|
|
1127
|
+
readonly size?: number | undefined;
|
|
1128
|
+
readonly url?: string | undefined;
|
|
1129
|
+
}[];
|
|
1013
1130
|
readonly createdAt: number;
|
|
1014
1131
|
};
|
|
1015
1132
|
};
|
|
@@ -1028,6 +1145,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
1028
1145
|
readonly labels: {
|
|
1029
1146
|
readonly [x: string]: string;
|
|
1030
1147
|
};
|
|
1148
|
+
readonly attachments: readonly {
|
|
1149
|
+
readonly id: string;
|
|
1150
|
+
readonly mediaType: string;
|
|
1151
|
+
readonly name?: string | undefined;
|
|
1152
|
+
readonly size?: number | undefined;
|
|
1153
|
+
readonly url?: string | undefined;
|
|
1154
|
+
}[];
|
|
1031
1155
|
readonly createdAt: number;
|
|
1032
1156
|
};
|
|
1033
1157
|
};
|
|
@@ -1046,6 +1170,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
1046
1170
|
readonly labels: {
|
|
1047
1171
|
readonly [x: string]: string;
|
|
1048
1172
|
};
|
|
1173
|
+
readonly attachments: readonly {
|
|
1174
|
+
readonly id: string;
|
|
1175
|
+
readonly mediaType: string;
|
|
1176
|
+
readonly name?: string | undefined;
|
|
1177
|
+
readonly size?: number | undefined;
|
|
1178
|
+
readonly url?: string | undefined;
|
|
1179
|
+
}[];
|
|
1049
1180
|
readonly createdAt: number;
|
|
1050
1181
|
}[];
|
|
1051
1182
|
};
|
|
@@ -1153,6 +1284,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
1153
1284
|
readonly labels?: {
|
|
1154
1285
|
readonly [x: string]: string;
|
|
1155
1286
|
} | undefined;
|
|
1287
|
+
readonly attachments?: readonly {
|
|
1288
|
+
readonly id: string;
|
|
1289
|
+
readonly mediaType: string;
|
|
1290
|
+
readonly name?: string | undefined;
|
|
1291
|
+
readonly size?: number | undefined;
|
|
1292
|
+
readonly url?: string | undefined;
|
|
1293
|
+
}[] | undefined;
|
|
1156
1294
|
}, import("./services").BoardsTag, (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
1157
1295
|
readonly type: "runtime.child.close.requested";
|
|
1158
1296
|
readonly payload: {
|
|
@@ -1399,6 +1537,20 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
1399
1537
|
readonly payload: import("effect/Schema").Json;
|
|
1400
1538
|
};
|
|
1401
1539
|
};
|
|
1540
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
1541
|
+
readonly type: "swarm.attachments.viewed";
|
|
1542
|
+
readonly payload: {
|
|
1543
|
+
readonly callId: string;
|
|
1544
|
+
readonly board: string;
|
|
1545
|
+
readonly message: string;
|
|
1546
|
+
readonly attachments: readonly {
|
|
1547
|
+
readonly id: string;
|
|
1548
|
+
readonly mediaType: string;
|
|
1549
|
+
readonly name?: string | undefined;
|
|
1550
|
+
readonly size?: number | undefined;
|
|
1551
|
+
readonly url?: string | undefined;
|
|
1552
|
+
}[];
|
|
1553
|
+
};
|
|
1402
1554
|
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
1403
1555
|
readonly type: "swarm.board.pulled";
|
|
1404
1556
|
readonly payload: {
|
|
@@ -1420,6 +1572,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
1420
1572
|
readonly labels: {
|
|
1421
1573
|
readonly [x: string]: string;
|
|
1422
1574
|
};
|
|
1575
|
+
readonly attachments: readonly {
|
|
1576
|
+
readonly id: string;
|
|
1577
|
+
readonly mediaType: string;
|
|
1578
|
+
readonly name?: string | undefined;
|
|
1579
|
+
readonly size?: number | undefined;
|
|
1580
|
+
readonly url?: string | undefined;
|
|
1581
|
+
}[];
|
|
1423
1582
|
readonly createdAt: number;
|
|
1424
1583
|
} | undefined;
|
|
1425
1584
|
readonly task?: {
|
|
@@ -1474,6 +1633,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
1474
1633
|
readonly labels: {
|
|
1475
1634
|
readonly [x: string]: string;
|
|
1476
1635
|
};
|
|
1636
|
+
readonly attachments: readonly {
|
|
1637
|
+
readonly id: string;
|
|
1638
|
+
readonly mediaType: string;
|
|
1639
|
+
readonly name?: string | undefined;
|
|
1640
|
+
readonly size?: number | undefined;
|
|
1641
|
+
readonly url?: string | undefined;
|
|
1642
|
+
}[];
|
|
1477
1643
|
readonly createdAt: number;
|
|
1478
1644
|
};
|
|
1479
1645
|
};
|
|
@@ -1492,6 +1658,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
1492
1658
|
readonly labels: {
|
|
1493
1659
|
readonly [x: string]: string;
|
|
1494
1660
|
};
|
|
1661
|
+
readonly attachments: readonly {
|
|
1662
|
+
readonly id: string;
|
|
1663
|
+
readonly mediaType: string;
|
|
1664
|
+
readonly name?: string | undefined;
|
|
1665
|
+
readonly size?: number | undefined;
|
|
1666
|
+
readonly url?: string | undefined;
|
|
1667
|
+
}[];
|
|
1495
1668
|
readonly createdAt: number;
|
|
1496
1669
|
};
|
|
1497
1670
|
};
|
|
@@ -1510,6 +1683,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
1510
1683
|
readonly labels: {
|
|
1511
1684
|
readonly [x: string]: string;
|
|
1512
1685
|
};
|
|
1686
|
+
readonly attachments: readonly {
|
|
1687
|
+
readonly id: string;
|
|
1688
|
+
readonly mediaType: string;
|
|
1689
|
+
readonly name?: string | undefined;
|
|
1690
|
+
readonly size?: number | undefined;
|
|
1691
|
+
readonly url?: string | undefined;
|
|
1692
|
+
}[];
|
|
1513
1693
|
readonly createdAt: number;
|
|
1514
1694
|
}[];
|
|
1515
1695
|
};
|
|
@@ -1614,6 +1794,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
1614
1794
|
readonly as: string;
|
|
1615
1795
|
readonly to: string;
|
|
1616
1796
|
readonly text: string;
|
|
1797
|
+
readonly attachments?: readonly {
|
|
1798
|
+
readonly id: string;
|
|
1799
|
+
readonly mediaType: string;
|
|
1800
|
+
readonly name?: string | undefined;
|
|
1801
|
+
readonly size?: number | undefined;
|
|
1802
|
+
readonly url?: string | undefined;
|
|
1803
|
+
}[] | undefined;
|
|
1617
1804
|
}, import("./services").BoardsTag, (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
1618
1805
|
readonly type: "runtime.child.close.requested";
|
|
1619
1806
|
readonly payload: {
|
|
@@ -1860,6 +2047,20 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
1860
2047
|
readonly payload: import("effect/Schema").Json;
|
|
1861
2048
|
};
|
|
1862
2049
|
};
|
|
2050
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
2051
|
+
readonly type: "swarm.attachments.viewed";
|
|
2052
|
+
readonly payload: {
|
|
2053
|
+
readonly callId: string;
|
|
2054
|
+
readonly board: string;
|
|
2055
|
+
readonly message: string;
|
|
2056
|
+
readonly attachments: readonly {
|
|
2057
|
+
readonly id: string;
|
|
2058
|
+
readonly mediaType: string;
|
|
2059
|
+
readonly name?: string | undefined;
|
|
2060
|
+
readonly size?: number | undefined;
|
|
2061
|
+
readonly url?: string | undefined;
|
|
2062
|
+
}[];
|
|
2063
|
+
};
|
|
1863
2064
|
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
1864
2065
|
readonly type: "swarm.board.pulled";
|
|
1865
2066
|
readonly payload: {
|
|
@@ -1881,6 +2082,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
1881
2082
|
readonly labels: {
|
|
1882
2083
|
readonly [x: string]: string;
|
|
1883
2084
|
};
|
|
2085
|
+
readonly attachments: readonly {
|
|
2086
|
+
readonly id: string;
|
|
2087
|
+
readonly mediaType: string;
|
|
2088
|
+
readonly name?: string | undefined;
|
|
2089
|
+
readonly size?: number | undefined;
|
|
2090
|
+
readonly url?: string | undefined;
|
|
2091
|
+
}[];
|
|
1884
2092
|
readonly createdAt: number;
|
|
1885
2093
|
} | undefined;
|
|
1886
2094
|
readonly task?: {
|
|
@@ -1935,6 +2143,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
1935
2143
|
readonly labels: {
|
|
1936
2144
|
readonly [x: string]: string;
|
|
1937
2145
|
};
|
|
2146
|
+
readonly attachments: readonly {
|
|
2147
|
+
readonly id: string;
|
|
2148
|
+
readonly mediaType: string;
|
|
2149
|
+
readonly name?: string | undefined;
|
|
2150
|
+
readonly size?: number | undefined;
|
|
2151
|
+
readonly url?: string | undefined;
|
|
2152
|
+
}[];
|
|
1938
2153
|
readonly createdAt: number;
|
|
1939
2154
|
};
|
|
1940
2155
|
};
|
|
@@ -1953,6 +2168,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
1953
2168
|
readonly labels: {
|
|
1954
2169
|
readonly [x: string]: string;
|
|
1955
2170
|
};
|
|
2171
|
+
readonly attachments: readonly {
|
|
2172
|
+
readonly id: string;
|
|
2173
|
+
readonly mediaType: string;
|
|
2174
|
+
readonly name?: string | undefined;
|
|
2175
|
+
readonly size?: number | undefined;
|
|
2176
|
+
readonly url?: string | undefined;
|
|
2177
|
+
}[];
|
|
1956
2178
|
readonly createdAt: number;
|
|
1957
2179
|
};
|
|
1958
2180
|
};
|
|
@@ -1971,6 +2193,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
1971
2193
|
readonly labels: {
|
|
1972
2194
|
readonly [x: string]: string;
|
|
1973
2195
|
};
|
|
2196
|
+
readonly attachments: readonly {
|
|
2197
|
+
readonly id: string;
|
|
2198
|
+
readonly mediaType: string;
|
|
2199
|
+
readonly name?: string | undefined;
|
|
2200
|
+
readonly size?: number | undefined;
|
|
2201
|
+
readonly url?: string | undefined;
|
|
2202
|
+
}[];
|
|
1974
2203
|
readonly createdAt: number;
|
|
1975
2204
|
}[];
|
|
1976
2205
|
};
|
|
@@ -2325,6 +2554,20 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
2325
2554
|
readonly payload: import("effect/Schema").Json;
|
|
2326
2555
|
};
|
|
2327
2556
|
};
|
|
2557
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
2558
|
+
readonly type: "swarm.attachments.viewed";
|
|
2559
|
+
readonly payload: {
|
|
2560
|
+
readonly callId: string;
|
|
2561
|
+
readonly board: string;
|
|
2562
|
+
readonly message: string;
|
|
2563
|
+
readonly attachments: readonly {
|
|
2564
|
+
readonly id: string;
|
|
2565
|
+
readonly mediaType: string;
|
|
2566
|
+
readonly name?: string | undefined;
|
|
2567
|
+
readonly size?: number | undefined;
|
|
2568
|
+
readonly url?: string | undefined;
|
|
2569
|
+
}[];
|
|
2570
|
+
};
|
|
2328
2571
|
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
2329
2572
|
readonly type: "swarm.board.pulled";
|
|
2330
2573
|
readonly payload: {
|
|
@@ -2346,6 +2589,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
2346
2589
|
readonly labels: {
|
|
2347
2590
|
readonly [x: string]: string;
|
|
2348
2591
|
};
|
|
2592
|
+
readonly attachments: readonly {
|
|
2593
|
+
readonly id: string;
|
|
2594
|
+
readonly mediaType: string;
|
|
2595
|
+
readonly name?: string | undefined;
|
|
2596
|
+
readonly size?: number | undefined;
|
|
2597
|
+
readonly url?: string | undefined;
|
|
2598
|
+
}[];
|
|
2349
2599
|
readonly createdAt: number;
|
|
2350
2600
|
} | undefined;
|
|
2351
2601
|
readonly task?: {
|
|
@@ -2400,6 +2650,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
2400
2650
|
readonly labels: {
|
|
2401
2651
|
readonly [x: string]: string;
|
|
2402
2652
|
};
|
|
2653
|
+
readonly attachments: readonly {
|
|
2654
|
+
readonly id: string;
|
|
2655
|
+
readonly mediaType: string;
|
|
2656
|
+
readonly name?: string | undefined;
|
|
2657
|
+
readonly size?: number | undefined;
|
|
2658
|
+
readonly url?: string | undefined;
|
|
2659
|
+
}[];
|
|
2403
2660
|
readonly createdAt: number;
|
|
2404
2661
|
};
|
|
2405
2662
|
};
|
|
@@ -2418,6 +2675,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
2418
2675
|
readonly labels: {
|
|
2419
2676
|
readonly [x: string]: string;
|
|
2420
2677
|
};
|
|
2678
|
+
readonly attachments: readonly {
|
|
2679
|
+
readonly id: string;
|
|
2680
|
+
readonly mediaType: string;
|
|
2681
|
+
readonly name?: string | undefined;
|
|
2682
|
+
readonly size?: number | undefined;
|
|
2683
|
+
readonly url?: string | undefined;
|
|
2684
|
+
}[];
|
|
2421
2685
|
readonly createdAt: number;
|
|
2422
2686
|
};
|
|
2423
2687
|
};
|
|
@@ -2436,6 +2700,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
2436
2700
|
readonly labels: {
|
|
2437
2701
|
readonly [x: string]: string;
|
|
2438
2702
|
};
|
|
2703
|
+
readonly attachments: readonly {
|
|
2704
|
+
readonly id: string;
|
|
2705
|
+
readonly mediaType: string;
|
|
2706
|
+
readonly name?: string | undefined;
|
|
2707
|
+
readonly size?: number | undefined;
|
|
2708
|
+
readonly url?: string | undefined;
|
|
2709
|
+
}[];
|
|
2439
2710
|
readonly createdAt: number;
|
|
2440
2711
|
}[];
|
|
2441
2712
|
};
|
|
@@ -2534,18 +2805,11 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
2534
2805
|
}[];
|
|
2535
2806
|
};
|
|
2536
2807
|
})>;
|
|
2537
|
-
|
|
2808
|
+
view: import("@swirls/looms/core").LocalEffectDefinition<{
|
|
2538
2809
|
readonly callId: string;
|
|
2539
2810
|
readonly board: string;
|
|
2540
2811
|
readonly as: string;
|
|
2541
2812
|
readonly message: string;
|
|
2542
|
-
readonly set?: {
|
|
2543
|
-
readonly [x: string]: string;
|
|
2544
|
-
} | undefined;
|
|
2545
|
-
readonly unset?: readonly string[] | undefined;
|
|
2546
|
-
readonly if?: {
|
|
2547
|
-
readonly [x: string]: string | null;
|
|
2548
|
-
} | undefined;
|
|
2549
2813
|
}, import("./services").BoardsTag, (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
2550
2814
|
readonly type: "runtime.child.close.requested";
|
|
2551
2815
|
readonly payload: {
|
|
@@ -2792,6 +3056,20 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
2792
3056
|
readonly payload: import("effect/Schema").Json;
|
|
2793
3057
|
};
|
|
2794
3058
|
};
|
|
3059
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
3060
|
+
readonly type: "swarm.attachments.viewed";
|
|
3061
|
+
readonly payload: {
|
|
3062
|
+
readonly callId: string;
|
|
3063
|
+
readonly board: string;
|
|
3064
|
+
readonly message: string;
|
|
3065
|
+
readonly attachments: readonly {
|
|
3066
|
+
readonly id: string;
|
|
3067
|
+
readonly mediaType: string;
|
|
3068
|
+
readonly name?: string | undefined;
|
|
3069
|
+
readonly size?: number | undefined;
|
|
3070
|
+
readonly url?: string | undefined;
|
|
3071
|
+
}[];
|
|
3072
|
+
};
|
|
2795
3073
|
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
2796
3074
|
readonly type: "swarm.board.pulled";
|
|
2797
3075
|
readonly payload: {
|
|
@@ -2813,6 +3091,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
2813
3091
|
readonly labels: {
|
|
2814
3092
|
readonly [x: string]: string;
|
|
2815
3093
|
};
|
|
3094
|
+
readonly attachments: readonly {
|
|
3095
|
+
readonly id: string;
|
|
3096
|
+
readonly mediaType: string;
|
|
3097
|
+
readonly name?: string | undefined;
|
|
3098
|
+
readonly size?: number | undefined;
|
|
3099
|
+
readonly url?: string | undefined;
|
|
3100
|
+
}[];
|
|
2816
3101
|
readonly createdAt: number;
|
|
2817
3102
|
} | undefined;
|
|
2818
3103
|
readonly task?: {
|
|
@@ -2867,6 +3152,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
2867
3152
|
readonly labels: {
|
|
2868
3153
|
readonly [x: string]: string;
|
|
2869
3154
|
};
|
|
3155
|
+
readonly attachments: readonly {
|
|
3156
|
+
readonly id: string;
|
|
3157
|
+
readonly mediaType: string;
|
|
3158
|
+
readonly name?: string | undefined;
|
|
3159
|
+
readonly size?: number | undefined;
|
|
3160
|
+
readonly url?: string | undefined;
|
|
3161
|
+
}[];
|
|
2870
3162
|
readonly createdAt: number;
|
|
2871
3163
|
};
|
|
2872
3164
|
};
|
|
@@ -2885,6 +3177,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
2885
3177
|
readonly labels: {
|
|
2886
3178
|
readonly [x: string]: string;
|
|
2887
3179
|
};
|
|
3180
|
+
readonly attachments: readonly {
|
|
3181
|
+
readonly id: string;
|
|
3182
|
+
readonly mediaType: string;
|
|
3183
|
+
readonly name?: string | undefined;
|
|
3184
|
+
readonly size?: number | undefined;
|
|
3185
|
+
readonly url?: string | undefined;
|
|
3186
|
+
}[];
|
|
2888
3187
|
readonly createdAt: number;
|
|
2889
3188
|
};
|
|
2890
3189
|
};
|
|
@@ -2903,6 +3202,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
2903
3202
|
readonly labels: {
|
|
2904
3203
|
readonly [x: string]: string;
|
|
2905
3204
|
};
|
|
3205
|
+
readonly attachments: readonly {
|
|
3206
|
+
readonly id: string;
|
|
3207
|
+
readonly mediaType: string;
|
|
3208
|
+
readonly name?: string | undefined;
|
|
3209
|
+
readonly size?: number | undefined;
|
|
3210
|
+
readonly url?: string | undefined;
|
|
3211
|
+
}[];
|
|
2906
3212
|
readonly createdAt: number;
|
|
2907
3213
|
}[];
|
|
2908
3214
|
};
|
|
@@ -3001,14 +3307,18 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
3001
3307
|
}[];
|
|
3002
3308
|
};
|
|
3003
3309
|
})>;
|
|
3004
|
-
|
|
3310
|
+
label: import("@swirls/looms/core").LocalEffectDefinition<{
|
|
3005
3311
|
readonly callId: string;
|
|
3006
3312
|
readonly board: string;
|
|
3007
3313
|
readonly as: string;
|
|
3008
|
-
readonly
|
|
3009
|
-
readonly
|
|
3010
|
-
|
|
3011
|
-
|
|
3314
|
+
readonly message: string;
|
|
3315
|
+
readonly set?: {
|
|
3316
|
+
readonly [x: string]: string;
|
|
3317
|
+
} | undefined;
|
|
3318
|
+
readonly unset?: readonly string[] | undefined;
|
|
3319
|
+
readonly if?: {
|
|
3320
|
+
readonly [x: string]: string | null;
|
|
3321
|
+
} | undefined;
|
|
3012
3322
|
}, import("./services").BoardsTag, (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
3013
3323
|
readonly type: "runtime.child.close.requested";
|
|
3014
3324
|
readonly payload: {
|
|
@@ -3255,6 +3565,20 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
3255
3565
|
readonly payload: import("effect/Schema").Json;
|
|
3256
3566
|
};
|
|
3257
3567
|
};
|
|
3568
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
3569
|
+
readonly type: "swarm.attachments.viewed";
|
|
3570
|
+
readonly payload: {
|
|
3571
|
+
readonly callId: string;
|
|
3572
|
+
readonly board: string;
|
|
3573
|
+
readonly message: string;
|
|
3574
|
+
readonly attachments: readonly {
|
|
3575
|
+
readonly id: string;
|
|
3576
|
+
readonly mediaType: string;
|
|
3577
|
+
readonly name?: string | undefined;
|
|
3578
|
+
readonly size?: number | undefined;
|
|
3579
|
+
readonly url?: string | undefined;
|
|
3580
|
+
}[];
|
|
3581
|
+
};
|
|
3258
3582
|
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
3259
3583
|
readonly type: "swarm.board.pulled";
|
|
3260
3584
|
readonly payload: {
|
|
@@ -3276,6 +3600,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
3276
3600
|
readonly labels: {
|
|
3277
3601
|
readonly [x: string]: string;
|
|
3278
3602
|
};
|
|
3603
|
+
readonly attachments: readonly {
|
|
3604
|
+
readonly id: string;
|
|
3605
|
+
readonly mediaType: string;
|
|
3606
|
+
readonly name?: string | undefined;
|
|
3607
|
+
readonly size?: number | undefined;
|
|
3608
|
+
readonly url?: string | undefined;
|
|
3609
|
+
}[];
|
|
3279
3610
|
readonly createdAt: number;
|
|
3280
3611
|
} | undefined;
|
|
3281
3612
|
readonly task?: {
|
|
@@ -3330,6 +3661,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
3330
3661
|
readonly labels: {
|
|
3331
3662
|
readonly [x: string]: string;
|
|
3332
3663
|
};
|
|
3664
|
+
readonly attachments: readonly {
|
|
3665
|
+
readonly id: string;
|
|
3666
|
+
readonly mediaType: string;
|
|
3667
|
+
readonly name?: string | undefined;
|
|
3668
|
+
readonly size?: number | undefined;
|
|
3669
|
+
readonly url?: string | undefined;
|
|
3670
|
+
}[];
|
|
3333
3671
|
readonly createdAt: number;
|
|
3334
3672
|
};
|
|
3335
3673
|
};
|
|
@@ -3348,6 +3686,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
3348
3686
|
readonly labels: {
|
|
3349
3687
|
readonly [x: string]: string;
|
|
3350
3688
|
};
|
|
3689
|
+
readonly attachments: readonly {
|
|
3690
|
+
readonly id: string;
|
|
3691
|
+
readonly mediaType: string;
|
|
3692
|
+
readonly name?: string | undefined;
|
|
3693
|
+
readonly size?: number | undefined;
|
|
3694
|
+
readonly url?: string | undefined;
|
|
3695
|
+
}[];
|
|
3351
3696
|
readonly createdAt: number;
|
|
3352
3697
|
};
|
|
3353
3698
|
};
|
|
@@ -3366,6 +3711,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
3366
3711
|
readonly labels: {
|
|
3367
3712
|
readonly [x: string]: string;
|
|
3368
3713
|
};
|
|
3714
|
+
readonly attachments: readonly {
|
|
3715
|
+
readonly id: string;
|
|
3716
|
+
readonly mediaType: string;
|
|
3717
|
+
readonly name?: string | undefined;
|
|
3718
|
+
readonly size?: number | undefined;
|
|
3719
|
+
readonly url?: string | undefined;
|
|
3720
|
+
}[];
|
|
3369
3721
|
readonly createdAt: number;
|
|
3370
3722
|
}[];
|
|
3371
3723
|
};
|
|
@@ -3464,13 +3816,21 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
3464
3816
|
}[];
|
|
3465
3817
|
};
|
|
3466
3818
|
})>;
|
|
3467
|
-
|
|
3819
|
+
createTask: import("@swirls/looms/core").LocalEffectDefinition<{
|
|
3468
3820
|
readonly callId: string;
|
|
3469
3821
|
readonly board: string;
|
|
3470
3822
|
readonly as: string;
|
|
3471
|
-
readonly channel
|
|
3472
|
-
readonly
|
|
3823
|
+
readonly channel: string;
|
|
3824
|
+
readonly text: string;
|
|
3473
3825
|
readonly for?: string | undefined;
|
|
3826
|
+
readonly needs?: readonly string[] | undefined;
|
|
3827
|
+
readonly attachments?: readonly {
|
|
3828
|
+
readonly id: string;
|
|
3829
|
+
readonly mediaType: string;
|
|
3830
|
+
readonly name?: string | undefined;
|
|
3831
|
+
readonly size?: number | undefined;
|
|
3832
|
+
readonly url?: string | undefined;
|
|
3833
|
+
}[] | undefined;
|
|
3474
3834
|
}, import("./services").BoardsTag, (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
3475
3835
|
readonly type: "runtime.child.close.requested";
|
|
3476
3836
|
readonly payload: {
|
|
@@ -3717,6 +4077,20 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
3717
4077
|
readonly payload: import("effect/Schema").Json;
|
|
3718
4078
|
};
|
|
3719
4079
|
};
|
|
4080
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
4081
|
+
readonly type: "swarm.attachments.viewed";
|
|
4082
|
+
readonly payload: {
|
|
4083
|
+
readonly callId: string;
|
|
4084
|
+
readonly board: string;
|
|
4085
|
+
readonly message: string;
|
|
4086
|
+
readonly attachments: readonly {
|
|
4087
|
+
readonly id: string;
|
|
4088
|
+
readonly mediaType: string;
|
|
4089
|
+
readonly name?: string | undefined;
|
|
4090
|
+
readonly size?: number | undefined;
|
|
4091
|
+
readonly url?: string | undefined;
|
|
4092
|
+
}[];
|
|
4093
|
+
};
|
|
3720
4094
|
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
3721
4095
|
readonly type: "swarm.board.pulled";
|
|
3722
4096
|
readonly payload: {
|
|
@@ -3738,6 +4112,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
3738
4112
|
readonly labels: {
|
|
3739
4113
|
readonly [x: string]: string;
|
|
3740
4114
|
};
|
|
4115
|
+
readonly attachments: readonly {
|
|
4116
|
+
readonly id: string;
|
|
4117
|
+
readonly mediaType: string;
|
|
4118
|
+
readonly name?: string | undefined;
|
|
4119
|
+
readonly size?: number | undefined;
|
|
4120
|
+
readonly url?: string | undefined;
|
|
4121
|
+
}[];
|
|
3741
4122
|
readonly createdAt: number;
|
|
3742
4123
|
} | undefined;
|
|
3743
4124
|
readonly task?: {
|
|
@@ -3792,6 +4173,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
3792
4173
|
readonly labels: {
|
|
3793
4174
|
readonly [x: string]: string;
|
|
3794
4175
|
};
|
|
4176
|
+
readonly attachments: readonly {
|
|
4177
|
+
readonly id: string;
|
|
4178
|
+
readonly mediaType: string;
|
|
4179
|
+
readonly name?: string | undefined;
|
|
4180
|
+
readonly size?: number | undefined;
|
|
4181
|
+
readonly url?: string | undefined;
|
|
4182
|
+
}[];
|
|
3795
4183
|
readonly createdAt: number;
|
|
3796
4184
|
};
|
|
3797
4185
|
};
|
|
@@ -3810,6 +4198,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
3810
4198
|
readonly labels: {
|
|
3811
4199
|
readonly [x: string]: string;
|
|
3812
4200
|
};
|
|
4201
|
+
readonly attachments: readonly {
|
|
4202
|
+
readonly id: string;
|
|
4203
|
+
readonly mediaType: string;
|
|
4204
|
+
readonly name?: string | undefined;
|
|
4205
|
+
readonly size?: number | undefined;
|
|
4206
|
+
readonly url?: string | undefined;
|
|
4207
|
+
}[];
|
|
3813
4208
|
readonly createdAt: number;
|
|
3814
4209
|
};
|
|
3815
4210
|
};
|
|
@@ -3828,6 +4223,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
3828
4223
|
readonly labels: {
|
|
3829
4224
|
readonly [x: string]: string;
|
|
3830
4225
|
};
|
|
4226
|
+
readonly attachments: readonly {
|
|
4227
|
+
readonly id: string;
|
|
4228
|
+
readonly mediaType: string;
|
|
4229
|
+
readonly name?: string | undefined;
|
|
4230
|
+
readonly size?: number | undefined;
|
|
4231
|
+
readonly url?: string | undefined;
|
|
4232
|
+
}[];
|
|
3831
4233
|
readonly createdAt: number;
|
|
3832
4234
|
}[];
|
|
3833
4235
|
};
|
|
@@ -3926,13 +4328,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
3926
4328
|
}[];
|
|
3927
4329
|
};
|
|
3928
4330
|
})>;
|
|
3929
|
-
|
|
4331
|
+
listTasks: import("@swirls/looms/core").LocalEffectDefinition<{
|
|
3930
4332
|
readonly callId: string;
|
|
3931
4333
|
readonly board: string;
|
|
3932
4334
|
readonly as: string;
|
|
3933
|
-
readonly task?: string | undefined;
|
|
3934
4335
|
readonly channel?: string | undefined;
|
|
3935
|
-
readonly
|
|
4336
|
+
readonly state?: "blocked" | "canceled" | "claimed" | "completed" | "failed" | "ready" | "waiting" | undefined;
|
|
4337
|
+
readonly for?: string | undefined;
|
|
3936
4338
|
}, import("./services").BoardsTag, (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
3937
4339
|
readonly type: "runtime.child.close.requested";
|
|
3938
4340
|
readonly payload: {
|
|
@@ -4179,6 +4581,20 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
4179
4581
|
readonly payload: import("effect/Schema").Json;
|
|
4180
4582
|
};
|
|
4181
4583
|
};
|
|
4584
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
4585
|
+
readonly type: "swarm.attachments.viewed";
|
|
4586
|
+
readonly payload: {
|
|
4587
|
+
readonly callId: string;
|
|
4588
|
+
readonly board: string;
|
|
4589
|
+
readonly message: string;
|
|
4590
|
+
readonly attachments: readonly {
|
|
4591
|
+
readonly id: string;
|
|
4592
|
+
readonly mediaType: string;
|
|
4593
|
+
readonly name?: string | undefined;
|
|
4594
|
+
readonly size?: number | undefined;
|
|
4595
|
+
readonly url?: string | undefined;
|
|
4596
|
+
}[];
|
|
4597
|
+
};
|
|
4182
4598
|
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
4183
4599
|
readonly type: "swarm.board.pulled";
|
|
4184
4600
|
readonly payload: {
|
|
@@ -4200,6 +4616,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
4200
4616
|
readonly labels: {
|
|
4201
4617
|
readonly [x: string]: string;
|
|
4202
4618
|
};
|
|
4619
|
+
readonly attachments: readonly {
|
|
4620
|
+
readonly id: string;
|
|
4621
|
+
readonly mediaType: string;
|
|
4622
|
+
readonly name?: string | undefined;
|
|
4623
|
+
readonly size?: number | undefined;
|
|
4624
|
+
readonly url?: string | undefined;
|
|
4625
|
+
}[];
|
|
4203
4626
|
readonly createdAt: number;
|
|
4204
4627
|
} | undefined;
|
|
4205
4628
|
readonly task?: {
|
|
@@ -4254,6 +4677,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
4254
4677
|
readonly labels: {
|
|
4255
4678
|
readonly [x: string]: string;
|
|
4256
4679
|
};
|
|
4680
|
+
readonly attachments: readonly {
|
|
4681
|
+
readonly id: string;
|
|
4682
|
+
readonly mediaType: string;
|
|
4683
|
+
readonly name?: string | undefined;
|
|
4684
|
+
readonly size?: number | undefined;
|
|
4685
|
+
readonly url?: string | undefined;
|
|
4686
|
+
}[];
|
|
4257
4687
|
readonly createdAt: number;
|
|
4258
4688
|
};
|
|
4259
4689
|
};
|
|
@@ -4272,6 +4702,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
4272
4702
|
readonly labels: {
|
|
4273
4703
|
readonly [x: string]: string;
|
|
4274
4704
|
};
|
|
4705
|
+
readonly attachments: readonly {
|
|
4706
|
+
readonly id: string;
|
|
4707
|
+
readonly mediaType: string;
|
|
4708
|
+
readonly name?: string | undefined;
|
|
4709
|
+
readonly size?: number | undefined;
|
|
4710
|
+
readonly url?: string | undefined;
|
|
4711
|
+
}[];
|
|
4275
4712
|
readonly createdAt: number;
|
|
4276
4713
|
};
|
|
4277
4714
|
};
|
|
@@ -4290,6 +4727,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
4290
4727
|
readonly labels: {
|
|
4291
4728
|
readonly [x: string]: string;
|
|
4292
4729
|
};
|
|
4730
|
+
readonly attachments: readonly {
|
|
4731
|
+
readonly id: string;
|
|
4732
|
+
readonly mediaType: string;
|
|
4733
|
+
readonly name?: string | undefined;
|
|
4734
|
+
readonly size?: number | undefined;
|
|
4735
|
+
readonly url?: string | undefined;
|
|
4736
|
+
}[];
|
|
4293
4737
|
readonly createdAt: number;
|
|
4294
4738
|
}[];
|
|
4295
4739
|
};
|
|
@@ -4388,14 +4832,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
4388
4832
|
}[];
|
|
4389
4833
|
};
|
|
4390
4834
|
})>;
|
|
4391
|
-
|
|
4835
|
+
claimTask: import("@swirls/looms/core").LocalEffectDefinition<{
|
|
4392
4836
|
readonly callId: string;
|
|
4393
4837
|
readonly board: string;
|
|
4394
4838
|
readonly as: string;
|
|
4395
|
-
readonly task
|
|
4396
|
-
readonly
|
|
4397
|
-
readonly
|
|
4398
|
-
readonly note?: string | undefined;
|
|
4839
|
+
readonly task?: string | undefined;
|
|
4840
|
+
readonly channel?: string | undefined;
|
|
4841
|
+
readonly leaseMs?: number | undefined;
|
|
4399
4842
|
}, import("./services").BoardsTag, (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
4400
4843
|
readonly type: "runtime.child.close.requested";
|
|
4401
4844
|
readonly payload: {
|
|
@@ -4642,6 +5085,20 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
4642
5085
|
readonly payload: import("effect/Schema").Json;
|
|
4643
5086
|
};
|
|
4644
5087
|
};
|
|
5088
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5089
|
+
readonly type: "swarm.attachments.viewed";
|
|
5090
|
+
readonly payload: {
|
|
5091
|
+
readonly callId: string;
|
|
5092
|
+
readonly board: string;
|
|
5093
|
+
readonly message: string;
|
|
5094
|
+
readonly attachments: readonly {
|
|
5095
|
+
readonly id: string;
|
|
5096
|
+
readonly mediaType: string;
|
|
5097
|
+
readonly name?: string | undefined;
|
|
5098
|
+
readonly size?: number | undefined;
|
|
5099
|
+
readonly url?: string | undefined;
|
|
5100
|
+
}[];
|
|
5101
|
+
};
|
|
4645
5102
|
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
4646
5103
|
readonly type: "swarm.board.pulled";
|
|
4647
5104
|
readonly payload: {
|
|
@@ -4663,6 +5120,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
4663
5120
|
readonly labels: {
|
|
4664
5121
|
readonly [x: string]: string;
|
|
4665
5122
|
};
|
|
5123
|
+
readonly attachments: readonly {
|
|
5124
|
+
readonly id: string;
|
|
5125
|
+
readonly mediaType: string;
|
|
5126
|
+
readonly name?: string | undefined;
|
|
5127
|
+
readonly size?: number | undefined;
|
|
5128
|
+
readonly url?: string | undefined;
|
|
5129
|
+
}[];
|
|
4666
5130
|
readonly createdAt: number;
|
|
4667
5131
|
} | undefined;
|
|
4668
5132
|
readonly task?: {
|
|
@@ -4717,6 +5181,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
4717
5181
|
readonly labels: {
|
|
4718
5182
|
readonly [x: string]: string;
|
|
4719
5183
|
};
|
|
5184
|
+
readonly attachments: readonly {
|
|
5185
|
+
readonly id: string;
|
|
5186
|
+
readonly mediaType: string;
|
|
5187
|
+
readonly name?: string | undefined;
|
|
5188
|
+
readonly size?: number | undefined;
|
|
5189
|
+
readonly url?: string | undefined;
|
|
5190
|
+
}[];
|
|
4720
5191
|
readonly createdAt: number;
|
|
4721
5192
|
};
|
|
4722
5193
|
};
|
|
@@ -4735,6 +5206,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
4735
5206
|
readonly labels: {
|
|
4736
5207
|
readonly [x: string]: string;
|
|
4737
5208
|
};
|
|
5209
|
+
readonly attachments: readonly {
|
|
5210
|
+
readonly id: string;
|
|
5211
|
+
readonly mediaType: string;
|
|
5212
|
+
readonly name?: string | undefined;
|
|
5213
|
+
readonly size?: number | undefined;
|
|
5214
|
+
readonly url?: string | undefined;
|
|
5215
|
+
}[];
|
|
4738
5216
|
readonly createdAt: number;
|
|
4739
5217
|
};
|
|
4740
5218
|
};
|
|
@@ -4753,6 +5231,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
4753
5231
|
readonly labels: {
|
|
4754
5232
|
readonly [x: string]: string;
|
|
4755
5233
|
};
|
|
5234
|
+
readonly attachments: readonly {
|
|
5235
|
+
readonly id: string;
|
|
5236
|
+
readonly mediaType: string;
|
|
5237
|
+
readonly name?: string | undefined;
|
|
5238
|
+
readonly size?: number | undefined;
|
|
5239
|
+
readonly url?: string | undefined;
|
|
5240
|
+
}[];
|
|
4756
5241
|
readonly createdAt: number;
|
|
4757
5242
|
}[];
|
|
4758
5243
|
};
|
|
@@ -4851,50 +5336,1098 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
4851
5336
|
}[];
|
|
4852
5337
|
};
|
|
4853
5338
|
})>;
|
|
4854
|
-
|
|
4855
|
-
|
|
4856
|
-
|
|
4857
|
-
|
|
4858
|
-
readonly
|
|
4859
|
-
readonly
|
|
4860
|
-
readonly
|
|
4861
|
-
readonly
|
|
4862
|
-
|
|
4863
|
-
|
|
4864
|
-
|
|
4865
|
-
|
|
4866
|
-
readonly runId: string | null;
|
|
4867
|
-
readonly lastOutcome: "cancelled" | "completed" | "failed" | null;
|
|
4868
|
-
};
|
|
5339
|
+
settleTask: import("@swirls/looms/core").LocalEffectDefinition<{
|
|
5340
|
+
readonly callId: string;
|
|
5341
|
+
readonly board: string;
|
|
5342
|
+
readonly as: string;
|
|
5343
|
+
readonly task: string;
|
|
5344
|
+
readonly token: string;
|
|
5345
|
+
readonly outcome: "blocked" | "completed" | "failed" | "released";
|
|
5346
|
+
readonly note?: string | undefined;
|
|
5347
|
+
}, import("./services").BoardsTag, (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5348
|
+
readonly type: "runtime.child.close.requested";
|
|
5349
|
+
readonly payload: {
|
|
5350
|
+
readonly policy: "terminate" | "wait";
|
|
4869
5351
|
};
|
|
4870
|
-
|
|
4871
|
-
|
|
5352
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5353
|
+
readonly type: "runtime.child.settled";
|
|
5354
|
+
readonly payload: {
|
|
4872
5355
|
readonly runId: string;
|
|
4873
|
-
readonly
|
|
4874
|
-
readonly
|
|
4875
|
-
|
|
4876
|
-
|
|
4877
|
-
}
|
|
4878
|
-
|
|
4879
|
-
readonly
|
|
4880
|
-
|
|
4881
|
-
|
|
4882
|
-
|
|
4883
|
-
|
|
4884
|
-
|
|
4885
|
-
|
|
4886
|
-
|
|
4887
|
-
|
|
4888
|
-
|
|
4889
|
-
}
|
|
5356
|
+
readonly status: "cancelled" | "completed" | "failed";
|
|
5357
|
+
readonly output: import("effect/Schema").Json;
|
|
5358
|
+
readonly error: string | null;
|
|
5359
|
+
};
|
|
5360
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5361
|
+
readonly type: "runtime.effect.ambiguous";
|
|
5362
|
+
readonly payload: {
|
|
5363
|
+
readonly effectId: string;
|
|
5364
|
+
readonly attempt: number;
|
|
5365
|
+
readonly error: string;
|
|
5366
|
+
};
|
|
5367
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5368
|
+
readonly type: "runtime.effect.attempt.started";
|
|
5369
|
+
readonly payload: {
|
|
5370
|
+
readonly effectId: string;
|
|
5371
|
+
readonly attempt: number;
|
|
5372
|
+
};
|
|
5373
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5374
|
+
readonly type: "runtime.effect.cancel.requested";
|
|
5375
|
+
readonly payload: {
|
|
5376
|
+
readonly effectId: string;
|
|
5377
|
+
readonly attempt: number;
|
|
5378
|
+
readonly deadlineAt: number | null;
|
|
5379
|
+
};
|
|
5380
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5381
|
+
readonly type: "runtime.effect.cancelled";
|
|
5382
|
+
readonly payload: {
|
|
5383
|
+
readonly effectId: string;
|
|
5384
|
+
readonly attempt: number;
|
|
5385
|
+
};
|
|
5386
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5387
|
+
readonly type: "runtime.effect.completed";
|
|
5388
|
+
readonly payload: {
|
|
5389
|
+
readonly effectId: string;
|
|
5390
|
+
readonly attempt: number;
|
|
5391
|
+
};
|
|
5392
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5393
|
+
readonly type: "runtime.effect.dispatch.deferred";
|
|
5394
|
+
readonly payload: {
|
|
5395
|
+
readonly effectId: string;
|
|
5396
|
+
readonly attempt: number;
|
|
5397
|
+
readonly retryAt: number;
|
|
5398
|
+
readonly error: string;
|
|
5399
|
+
readonly try: number;
|
|
5400
|
+
};
|
|
5401
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5402
|
+
readonly type: "runtime.effect.dispatched";
|
|
5403
|
+
readonly payload: {
|
|
5404
|
+
readonly effectId: string;
|
|
5405
|
+
readonly attempt: number;
|
|
5406
|
+
readonly deadlineAt: number | null;
|
|
5407
|
+
};
|
|
5408
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5409
|
+
readonly type: "runtime.effect.failed";
|
|
5410
|
+
readonly payload: {
|
|
5411
|
+
readonly effectId: string;
|
|
5412
|
+
readonly error: string;
|
|
5413
|
+
readonly nonRetryable?: boolean | undefined;
|
|
5414
|
+
readonly retryAfterMs?: number | undefined;
|
|
5415
|
+
};
|
|
5416
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5417
|
+
readonly type: "runtime.effect.heartbeat";
|
|
5418
|
+
readonly payload: {
|
|
5419
|
+
readonly effectId: string;
|
|
5420
|
+
readonly attempt: number;
|
|
5421
|
+
readonly heartbeatAt: number;
|
|
5422
|
+
readonly deadlineAt: number | null;
|
|
5423
|
+
readonly details?: import("effect/Schema").Json | undefined;
|
|
5424
|
+
};
|
|
5425
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5426
|
+
readonly type: "runtime.effect.queued";
|
|
5427
|
+
readonly payload: {
|
|
5428
|
+
readonly effectId: string;
|
|
5429
|
+
readonly attempt: number;
|
|
5430
|
+
readonly deadlineAt: number | null;
|
|
5431
|
+
};
|
|
5432
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5433
|
+
readonly type: "runtime.effect.retry.scheduled";
|
|
5434
|
+
readonly payload: {
|
|
5435
|
+
readonly effectId: string;
|
|
5436
|
+
readonly attempt: number;
|
|
5437
|
+
readonly nextAttemptAt: number;
|
|
5438
|
+
readonly error: string;
|
|
5439
|
+
};
|
|
5440
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5441
|
+
readonly type: "runtime.effect.timed_out";
|
|
5442
|
+
readonly payload: {
|
|
5443
|
+
readonly effectId: string;
|
|
5444
|
+
readonly attempt: number;
|
|
5445
|
+
readonly timeout: string;
|
|
5446
|
+
};
|
|
5447
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5448
|
+
readonly type: "runtime.effect.worker.started";
|
|
5449
|
+
readonly payload: {
|
|
5450
|
+
readonly effectId: string;
|
|
5451
|
+
readonly attempt: number;
|
|
5452
|
+
readonly deadlineAt: number | null;
|
|
5453
|
+
};
|
|
5454
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5455
|
+
readonly type: "runtime.fork.elided";
|
|
5456
|
+
readonly payload: {
|
|
5457
|
+
readonly type: string;
|
|
5458
|
+
};
|
|
5459
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5460
|
+
readonly type: "runtime.run.cancelled";
|
|
5461
|
+
readonly payload: {
|
|
5462
|
+
readonly reason?: string | undefined;
|
|
5463
|
+
};
|
|
5464
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5465
|
+
readonly type: "runtime.run.completed";
|
|
5466
|
+
readonly payload: {
|
|
5467
|
+
readonly output: import("effect/Schema").Json;
|
|
5468
|
+
readonly error: string | null;
|
|
5469
|
+
};
|
|
5470
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5471
|
+
readonly type: "runtime.run.forked";
|
|
5472
|
+
readonly payload: {
|
|
5473
|
+
readonly sourceRunId: string;
|
|
5474
|
+
readonly sourceSeq: number;
|
|
5475
|
+
};
|
|
5476
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5477
|
+
readonly type: "runtime.run.launched";
|
|
5478
|
+
readonly payload: {
|
|
5479
|
+
readonly runId: string;
|
|
5480
|
+
readonly kind: string;
|
|
5481
|
+
readonly definitionName: string;
|
|
5482
|
+
readonly definitionVersion: string;
|
|
5483
|
+
readonly effectId: string;
|
|
5484
|
+
readonly close: "terminate" | "wait";
|
|
5485
|
+
};
|
|
5486
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5487
|
+
readonly type: "runtime.run.started";
|
|
5488
|
+
readonly payload: {
|
|
5489
|
+
readonly rootThreadId?: string | undefined;
|
|
5490
|
+
readonly kind: string;
|
|
5491
|
+
readonly definitionName: string;
|
|
5492
|
+
readonly definitionVersion: string;
|
|
5493
|
+
readonly input: import("effect/Schema").Json;
|
|
5494
|
+
readonly requestedThreadId?: string | null | undefined;
|
|
5495
|
+
readonly launchedBy?: {
|
|
5496
|
+
readonly runId: string;
|
|
5497
|
+
readonly threadId: string;
|
|
5498
|
+
readonly effectId: string;
|
|
5499
|
+
readonly causationId: string;
|
|
5500
|
+
readonly causationSeq: number;
|
|
5501
|
+
} | undefined;
|
|
5502
|
+
readonly attributes?: {
|
|
5503
|
+
readonly [x: string]: string;
|
|
5504
|
+
} | undefined;
|
|
5505
|
+
readonly trace?: {
|
|
5506
|
+
readonly traceparent: string;
|
|
5507
|
+
readonly tracestate?: string | undefined;
|
|
5508
|
+
} | undefined;
|
|
5509
|
+
};
|
|
5510
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5511
|
+
readonly type: "runtime.signal.received";
|
|
5512
|
+
readonly payload: {
|
|
5513
|
+
readonly signalType: string;
|
|
5514
|
+
};
|
|
5515
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5516
|
+
readonly type: "runtime.snapshot.taken";
|
|
5517
|
+
readonly payload: {
|
|
5518
|
+
readonly seq: number;
|
|
5519
|
+
readonly stateHash: string;
|
|
5520
|
+
readonly state?: import("effect/Schema").Json | undefined;
|
|
5521
|
+
};
|
|
5522
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5523
|
+
readonly type: "runtime.thread.cancel.requested";
|
|
5524
|
+
readonly payload: {
|
|
5525
|
+
readonly threadId: string;
|
|
5526
|
+
};
|
|
5527
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5528
|
+
readonly type: "runtime.thread.cancelled";
|
|
5529
|
+
readonly payload: {
|
|
5530
|
+
readonly threadId: string;
|
|
5531
|
+
readonly reason?: string | undefined;
|
|
5532
|
+
readonly resumeSeq?: number | undefined;
|
|
5533
|
+
};
|
|
5534
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5535
|
+
readonly type: "runtime.thread.completed";
|
|
5536
|
+
readonly payload: {
|
|
5537
|
+
readonly threadId: string;
|
|
5538
|
+
readonly output: import("effect/Schema").Json;
|
|
5539
|
+
};
|
|
5540
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5541
|
+
readonly type: "runtime.thread.failed";
|
|
5542
|
+
readonly payload: {
|
|
5543
|
+
readonly threadId: string;
|
|
5544
|
+
readonly error: string;
|
|
5545
|
+
};
|
|
5546
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5547
|
+
readonly type: "runtime.thread.started";
|
|
5548
|
+
readonly payload: {
|
|
5549
|
+
readonly threadId: string;
|
|
5550
|
+
readonly kind: string;
|
|
5551
|
+
readonly definitionName: string;
|
|
5552
|
+
readonly definitionVersion: string;
|
|
5553
|
+
readonly input: import("effect/Schema").Json;
|
|
5554
|
+
readonly parentThreadId: string | null;
|
|
5555
|
+
};
|
|
5556
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5557
|
+
readonly type: "runtime.timer.fired";
|
|
5558
|
+
readonly payload: {
|
|
5559
|
+
readonly timerId: string;
|
|
5560
|
+
readonly waitId: string;
|
|
5561
|
+
};
|
|
5562
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5563
|
+
readonly type: "runtime.timer.set";
|
|
5564
|
+
readonly payload: {
|
|
5565
|
+
readonly timerId: string;
|
|
5566
|
+
readonly waitId: string;
|
|
5567
|
+
readonly wakeAt: number;
|
|
5568
|
+
};
|
|
5569
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5570
|
+
readonly type: "runtime.wait.registered";
|
|
5571
|
+
readonly payload: {
|
|
5572
|
+
readonly waitId: string;
|
|
5573
|
+
readonly threadId?: string | undefined;
|
|
5574
|
+
readonly on: {
|
|
5575
|
+
readonly type: string | readonly string[];
|
|
5576
|
+
readonly match?: import("effect/Schema").Json | undefined;
|
|
5577
|
+
} | {
|
|
5578
|
+
readonly timerAt: number;
|
|
5579
|
+
};
|
|
5580
|
+
readonly tag?: import("effect/Schema").Json | undefined;
|
|
5581
|
+
};
|
|
5582
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5583
|
+
readonly type: "runtime.wait.satisfied";
|
|
5584
|
+
readonly payload: {
|
|
5585
|
+
readonly waitId: string;
|
|
5586
|
+
readonly tag?: import("effect/Schema").Json | undefined;
|
|
5587
|
+
readonly event: {
|
|
5588
|
+
readonly id: string;
|
|
5589
|
+
readonly type: string;
|
|
5590
|
+
readonly payload: import("effect/Schema").Json;
|
|
5591
|
+
};
|
|
5592
|
+
};
|
|
5593
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5594
|
+
readonly type: "swarm.attachments.viewed";
|
|
5595
|
+
readonly payload: {
|
|
5596
|
+
readonly callId: string;
|
|
5597
|
+
readonly board: string;
|
|
5598
|
+
readonly message: string;
|
|
5599
|
+
readonly attachments: readonly {
|
|
5600
|
+
readonly id: string;
|
|
5601
|
+
readonly mediaType: string;
|
|
5602
|
+
readonly name?: string | undefined;
|
|
5603
|
+
readonly size?: number | undefined;
|
|
5604
|
+
readonly url?: string | undefined;
|
|
5605
|
+
}[];
|
|
5606
|
+
};
|
|
5607
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5608
|
+
readonly type: "swarm.board.pulled";
|
|
5609
|
+
readonly payload: {
|
|
5610
|
+
readonly board: string;
|
|
5611
|
+
readonly pull: number;
|
|
5612
|
+
readonly cursor: string | null;
|
|
5613
|
+
readonly events: readonly {
|
|
5614
|
+
readonly cursor: string;
|
|
5615
|
+
readonly type: "message.labeled" | "message.posted" | "task.blocked" | "task.canceled" | "task.claimed" | "task.completed" | "task.created" | "task.failed" | "task.ready" | "task.reopened";
|
|
5616
|
+
readonly at: number;
|
|
5617
|
+
readonly by: string;
|
|
5618
|
+
readonly message?: {
|
|
5619
|
+
readonly id: string;
|
|
5620
|
+
readonly channel: string;
|
|
5621
|
+
readonly text: string;
|
|
5622
|
+
readonly by: string;
|
|
5623
|
+
readonly re: string | null;
|
|
5624
|
+
readonly mentions: readonly string[];
|
|
5625
|
+
readonly labels: {
|
|
5626
|
+
readonly [x: string]: string;
|
|
5627
|
+
};
|
|
5628
|
+
readonly attachments: readonly {
|
|
5629
|
+
readonly id: string;
|
|
5630
|
+
readonly mediaType: string;
|
|
5631
|
+
readonly name?: string | undefined;
|
|
5632
|
+
readonly size?: number | undefined;
|
|
5633
|
+
readonly url?: string | undefined;
|
|
5634
|
+
}[];
|
|
5635
|
+
readonly createdAt: number;
|
|
5636
|
+
} | undefined;
|
|
5637
|
+
readonly task?: {
|
|
5638
|
+
readonly id: string;
|
|
5639
|
+
readonly channel: string;
|
|
5640
|
+
readonly text: string;
|
|
5641
|
+
readonly by: string;
|
|
5642
|
+
readonly for: string | null;
|
|
5643
|
+
readonly needs: readonly string[];
|
|
5644
|
+
readonly state: "blocked" | "canceled" | "claimed" | "completed" | "failed" | "ready" | "waiting";
|
|
5645
|
+
readonly holder: string | null;
|
|
5646
|
+
readonly epoch: number;
|
|
5647
|
+
readonly leaseUntil: number | null;
|
|
5648
|
+
readonly note: string | null;
|
|
5649
|
+
readonly createdAt: number;
|
|
5650
|
+
readonly updatedAt: number;
|
|
5651
|
+
} | undefined;
|
|
5652
|
+
}[];
|
|
5653
|
+
readonly more: boolean;
|
|
5654
|
+
readonly nextPullAt: number | null;
|
|
5655
|
+
};
|
|
5656
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5657
|
+
readonly type: "swarm.call.rejected";
|
|
5658
|
+
readonly payload: {
|
|
5659
|
+
readonly callId: string;
|
|
5660
|
+
readonly board: string;
|
|
5661
|
+
readonly code: string;
|
|
5662
|
+
readonly error: string;
|
|
5663
|
+
};
|
|
5664
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5665
|
+
readonly type: "swarm.member.activated";
|
|
5666
|
+
readonly payload: {
|
|
5667
|
+
readonly board: string;
|
|
5668
|
+
readonly member: string;
|
|
5669
|
+
readonly activation: number;
|
|
5670
|
+
readonly runId: string;
|
|
5671
|
+
readonly events: number;
|
|
5672
|
+
readonly at: number;
|
|
5673
|
+
};
|
|
5674
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5675
|
+
readonly type: "swarm.message.labeled";
|
|
5676
|
+
readonly payload: {
|
|
5677
|
+
readonly callId: string;
|
|
5678
|
+
readonly board: string;
|
|
5679
|
+
readonly message: {
|
|
5680
|
+
readonly id: string;
|
|
5681
|
+
readonly channel: string;
|
|
5682
|
+
readonly text: string;
|
|
5683
|
+
readonly by: string;
|
|
5684
|
+
readonly re: string | null;
|
|
5685
|
+
readonly mentions: readonly string[];
|
|
5686
|
+
readonly labels: {
|
|
5687
|
+
readonly [x: string]: string;
|
|
5688
|
+
};
|
|
5689
|
+
readonly attachments: readonly {
|
|
5690
|
+
readonly id: string;
|
|
5691
|
+
readonly mediaType: string;
|
|
5692
|
+
readonly name?: string | undefined;
|
|
5693
|
+
readonly size?: number | undefined;
|
|
5694
|
+
readonly url?: string | undefined;
|
|
5695
|
+
}[];
|
|
5696
|
+
readonly createdAt: number;
|
|
5697
|
+
};
|
|
5698
|
+
};
|
|
5699
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5700
|
+
readonly type: "swarm.message.posted";
|
|
5701
|
+
readonly payload: {
|
|
5702
|
+
readonly callId: string;
|
|
5703
|
+
readonly board: string;
|
|
5704
|
+
readonly message: {
|
|
5705
|
+
readonly id: string;
|
|
5706
|
+
readonly channel: string;
|
|
5707
|
+
readonly text: string;
|
|
5708
|
+
readonly by: string;
|
|
5709
|
+
readonly re: string | null;
|
|
5710
|
+
readonly mentions: readonly string[];
|
|
5711
|
+
readonly labels: {
|
|
5712
|
+
readonly [x: string]: string;
|
|
5713
|
+
};
|
|
5714
|
+
readonly attachments: readonly {
|
|
5715
|
+
readonly id: string;
|
|
5716
|
+
readonly mediaType: string;
|
|
5717
|
+
readonly name?: string | undefined;
|
|
5718
|
+
readonly size?: number | undefined;
|
|
5719
|
+
readonly url?: string | undefined;
|
|
5720
|
+
}[];
|
|
5721
|
+
readonly createdAt: number;
|
|
5722
|
+
};
|
|
5723
|
+
};
|
|
5724
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5725
|
+
readonly type: "swarm.messages.read";
|
|
5726
|
+
readonly payload: {
|
|
5727
|
+
readonly callId: string;
|
|
5728
|
+
readonly board: string;
|
|
5729
|
+
readonly messages: readonly {
|
|
5730
|
+
readonly id: string;
|
|
5731
|
+
readonly channel: string;
|
|
5732
|
+
readonly text: string;
|
|
5733
|
+
readonly by: string;
|
|
5734
|
+
readonly re: string | null;
|
|
5735
|
+
readonly mentions: readonly string[];
|
|
5736
|
+
readonly labels: {
|
|
5737
|
+
readonly [x: string]: string;
|
|
5738
|
+
};
|
|
5739
|
+
readonly attachments: readonly {
|
|
5740
|
+
readonly id: string;
|
|
5741
|
+
readonly mediaType: string;
|
|
5742
|
+
readonly name?: string | undefined;
|
|
5743
|
+
readonly size?: number | undefined;
|
|
5744
|
+
readonly url?: string | undefined;
|
|
5745
|
+
}[];
|
|
5746
|
+
readonly createdAt: number;
|
|
5747
|
+
}[];
|
|
5748
|
+
};
|
|
5749
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5750
|
+
readonly type: "swarm.nudged";
|
|
5751
|
+
readonly payload: {};
|
|
5752
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5753
|
+
readonly type: "swarm.stopped";
|
|
5754
|
+
readonly payload: {};
|
|
5755
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5756
|
+
readonly type: "swarm.task.claimed";
|
|
5757
|
+
readonly payload: {
|
|
5758
|
+
readonly callId: string;
|
|
5759
|
+
readonly board: string;
|
|
5760
|
+
readonly claim: {
|
|
5761
|
+
readonly task: {
|
|
5762
|
+
readonly id: string;
|
|
5763
|
+
readonly channel: string;
|
|
5764
|
+
readonly text: string;
|
|
5765
|
+
readonly by: string;
|
|
5766
|
+
readonly for: string | null;
|
|
5767
|
+
readonly needs: readonly string[];
|
|
5768
|
+
readonly state: "blocked" | "canceled" | "claimed" | "completed" | "failed" | "ready" | "waiting";
|
|
5769
|
+
readonly holder: string | null;
|
|
5770
|
+
readonly epoch: number;
|
|
5771
|
+
readonly leaseUntil: number | null;
|
|
5772
|
+
readonly note: string | null;
|
|
5773
|
+
readonly createdAt: number;
|
|
5774
|
+
readonly updatedAt: number;
|
|
5775
|
+
};
|
|
5776
|
+
readonly token: string;
|
|
5777
|
+
readonly until: number;
|
|
5778
|
+
} | null;
|
|
5779
|
+
};
|
|
5780
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5781
|
+
readonly type: "swarm.task.created";
|
|
5782
|
+
readonly payload: {
|
|
5783
|
+
readonly callId: string;
|
|
5784
|
+
readonly board: string;
|
|
5785
|
+
readonly task: {
|
|
5786
|
+
readonly id: string;
|
|
5787
|
+
readonly channel: string;
|
|
5788
|
+
readonly text: string;
|
|
5789
|
+
readonly by: string;
|
|
5790
|
+
readonly for: string | null;
|
|
5791
|
+
readonly needs: readonly string[];
|
|
5792
|
+
readonly state: "blocked" | "canceled" | "claimed" | "completed" | "failed" | "ready" | "waiting";
|
|
5793
|
+
readonly holder: string | null;
|
|
5794
|
+
readonly epoch: number;
|
|
5795
|
+
readonly leaseUntil: number | null;
|
|
5796
|
+
readonly note: string | null;
|
|
5797
|
+
readonly createdAt: number;
|
|
5798
|
+
readonly updatedAt: number;
|
|
5799
|
+
};
|
|
5800
|
+
};
|
|
5801
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5802
|
+
readonly type: "swarm.task.settled";
|
|
5803
|
+
readonly payload: {
|
|
5804
|
+
readonly callId: string;
|
|
5805
|
+
readonly board: string;
|
|
5806
|
+
readonly task: {
|
|
5807
|
+
readonly id: string;
|
|
5808
|
+
readonly channel: string;
|
|
5809
|
+
readonly text: string;
|
|
5810
|
+
readonly by: string;
|
|
5811
|
+
readonly for: string | null;
|
|
5812
|
+
readonly needs: readonly string[];
|
|
5813
|
+
readonly state: "blocked" | "canceled" | "claimed" | "completed" | "failed" | "ready" | "waiting";
|
|
5814
|
+
readonly holder: string | null;
|
|
5815
|
+
readonly epoch: number;
|
|
5816
|
+
readonly leaseUntil: number | null;
|
|
5817
|
+
readonly note: string | null;
|
|
5818
|
+
readonly createdAt: number;
|
|
5819
|
+
readonly updatedAt: number;
|
|
5820
|
+
};
|
|
5821
|
+
};
|
|
5822
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5823
|
+
readonly type: "swarm.tasks.listed";
|
|
5824
|
+
readonly payload: {
|
|
5825
|
+
readonly callId: string;
|
|
5826
|
+
readonly board: string;
|
|
5827
|
+
readonly tasks: readonly {
|
|
5828
|
+
readonly id: string;
|
|
5829
|
+
readonly channel: string;
|
|
5830
|
+
readonly text: string;
|
|
5831
|
+
readonly by: string;
|
|
5832
|
+
readonly for: string | null;
|
|
5833
|
+
readonly needs: readonly string[];
|
|
5834
|
+
readonly state: "blocked" | "canceled" | "claimed" | "completed" | "failed" | "ready" | "waiting";
|
|
5835
|
+
readonly holder: string | null;
|
|
5836
|
+
readonly epoch: number;
|
|
5837
|
+
readonly leaseUntil: number | null;
|
|
5838
|
+
readonly note: string | null;
|
|
5839
|
+
readonly createdAt: number;
|
|
5840
|
+
readonly updatedAt: number;
|
|
5841
|
+
}[];
|
|
5842
|
+
};
|
|
5843
|
+
})>;
|
|
5844
|
+
}, {
|
|
5845
|
+
swarm: import("@swirls/looms/core").ThreadDefinition<import("./threads").SwarmState>;
|
|
5846
|
+
}, {
|
|
5847
|
+
swarmStatus: import("@swirls/looms/core").ProjectionDefinition<{
|
|
5848
|
+
readonly status: "cancelled" | "completed" | "failed" | "running" | "stopping";
|
|
5849
|
+
readonly board: string | null;
|
|
5850
|
+
readonly cursor: string | null;
|
|
5851
|
+
readonly eventsRead: number;
|
|
5852
|
+
readonly members: {
|
|
5853
|
+
readonly [x: string]: {
|
|
5854
|
+
readonly status: "active" | "idle";
|
|
5855
|
+
readonly activations: number;
|
|
5856
|
+
readonly runId: string | null;
|
|
5857
|
+
readonly lastOutcome: "cancelled" | "completed" | "failed" | null;
|
|
5858
|
+
};
|
|
5859
|
+
};
|
|
5860
|
+
readonly recent: readonly {
|
|
5861
|
+
readonly member: string;
|
|
5862
|
+
readonly runId: string;
|
|
5863
|
+
readonly events: number;
|
|
5864
|
+
readonly at: number;
|
|
5865
|
+
}[];
|
|
5866
|
+
}>;
|
|
5867
|
+
}, import("effect/Context").Service.Any, {
|
|
5868
|
+
nudge: import("@swirls/looms/core").SignalDefinition<undefined, Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5869
|
+
readonly type: "swarm.nudged";
|
|
5870
|
+
readonly payload: {};
|
|
5871
|
+
}>;
|
|
5872
|
+
stop: import("@swirls/looms/core").SignalDefinition<undefined, Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5873
|
+
readonly type: "swarm.stopped";
|
|
5874
|
+
readonly payload: {};
|
|
5875
|
+
}>;
|
|
5876
|
+
}, {
|
|
5877
|
+
post: typeof post;
|
|
5878
|
+
createTask: typeof createTask;
|
|
5879
|
+
}> & {
|
|
4890
5880
|
readonly effects: {
|
|
4891
5881
|
pull: import("@swirls/looms/core").LocalEffectDefinition<{
|
|
4892
5882
|
readonly definitionName: string;
|
|
4893
5883
|
readonly definitionVersion: string;
|
|
4894
5884
|
readonly board: string;
|
|
4895
|
-
readonly after: string | null;
|
|
4896
|
-
readonly pull: number;
|
|
4897
|
-
}, import("./services").BoardsTag | import("./services").SwarmDefinitionsTag, (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5885
|
+
readonly after: string | null;
|
|
5886
|
+
readonly pull: number;
|
|
5887
|
+
}, import("./services").BoardsTag | import("./services").SwarmDefinitionsTag, (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5888
|
+
readonly type: "runtime.child.close.requested";
|
|
5889
|
+
readonly payload: {
|
|
5890
|
+
readonly policy: "terminate" | "wait";
|
|
5891
|
+
};
|
|
5892
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5893
|
+
readonly type: "runtime.child.settled";
|
|
5894
|
+
readonly payload: {
|
|
5895
|
+
readonly runId: string;
|
|
5896
|
+
readonly status: "cancelled" | "completed" | "failed";
|
|
5897
|
+
readonly output: import("effect/Schema").Json;
|
|
5898
|
+
readonly error: string | null;
|
|
5899
|
+
};
|
|
5900
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5901
|
+
readonly type: "runtime.effect.ambiguous";
|
|
5902
|
+
readonly payload: {
|
|
5903
|
+
readonly effectId: string;
|
|
5904
|
+
readonly attempt: number;
|
|
5905
|
+
readonly error: string;
|
|
5906
|
+
};
|
|
5907
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5908
|
+
readonly type: "runtime.effect.attempt.started";
|
|
5909
|
+
readonly payload: {
|
|
5910
|
+
readonly effectId: string;
|
|
5911
|
+
readonly attempt: number;
|
|
5912
|
+
};
|
|
5913
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5914
|
+
readonly type: "runtime.effect.cancel.requested";
|
|
5915
|
+
readonly payload: {
|
|
5916
|
+
readonly effectId: string;
|
|
5917
|
+
readonly attempt: number;
|
|
5918
|
+
readonly deadlineAt: number | null;
|
|
5919
|
+
};
|
|
5920
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5921
|
+
readonly type: "runtime.effect.cancelled";
|
|
5922
|
+
readonly payload: {
|
|
5923
|
+
readonly effectId: string;
|
|
5924
|
+
readonly attempt: number;
|
|
5925
|
+
};
|
|
5926
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5927
|
+
readonly type: "runtime.effect.completed";
|
|
5928
|
+
readonly payload: {
|
|
5929
|
+
readonly effectId: string;
|
|
5930
|
+
readonly attempt: number;
|
|
5931
|
+
};
|
|
5932
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5933
|
+
readonly type: "runtime.effect.dispatch.deferred";
|
|
5934
|
+
readonly payload: {
|
|
5935
|
+
readonly effectId: string;
|
|
5936
|
+
readonly attempt: number;
|
|
5937
|
+
readonly retryAt: number;
|
|
5938
|
+
readonly error: string;
|
|
5939
|
+
readonly try: number;
|
|
5940
|
+
};
|
|
5941
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5942
|
+
readonly type: "runtime.effect.dispatched";
|
|
5943
|
+
readonly payload: {
|
|
5944
|
+
readonly effectId: string;
|
|
5945
|
+
readonly attempt: number;
|
|
5946
|
+
readonly deadlineAt: number | null;
|
|
5947
|
+
};
|
|
5948
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5949
|
+
readonly type: "runtime.effect.failed";
|
|
5950
|
+
readonly payload: {
|
|
5951
|
+
readonly effectId: string;
|
|
5952
|
+
readonly error: string;
|
|
5953
|
+
readonly nonRetryable?: boolean | undefined;
|
|
5954
|
+
readonly retryAfterMs?: number | undefined;
|
|
5955
|
+
};
|
|
5956
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5957
|
+
readonly type: "runtime.effect.heartbeat";
|
|
5958
|
+
readonly payload: {
|
|
5959
|
+
readonly effectId: string;
|
|
5960
|
+
readonly attempt: number;
|
|
5961
|
+
readonly heartbeatAt: number;
|
|
5962
|
+
readonly deadlineAt: number | null;
|
|
5963
|
+
readonly details?: import("effect/Schema").Json | undefined;
|
|
5964
|
+
};
|
|
5965
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5966
|
+
readonly type: "runtime.effect.queued";
|
|
5967
|
+
readonly payload: {
|
|
5968
|
+
readonly effectId: string;
|
|
5969
|
+
readonly attempt: number;
|
|
5970
|
+
readonly deadlineAt: number | null;
|
|
5971
|
+
};
|
|
5972
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5973
|
+
readonly type: "runtime.effect.retry.scheduled";
|
|
5974
|
+
readonly payload: {
|
|
5975
|
+
readonly effectId: string;
|
|
5976
|
+
readonly attempt: number;
|
|
5977
|
+
readonly nextAttemptAt: number;
|
|
5978
|
+
readonly error: string;
|
|
5979
|
+
};
|
|
5980
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5981
|
+
readonly type: "runtime.effect.timed_out";
|
|
5982
|
+
readonly payload: {
|
|
5983
|
+
readonly effectId: string;
|
|
5984
|
+
readonly attempt: number;
|
|
5985
|
+
readonly timeout: string;
|
|
5986
|
+
};
|
|
5987
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5988
|
+
readonly type: "runtime.effect.worker.started";
|
|
5989
|
+
readonly payload: {
|
|
5990
|
+
readonly effectId: string;
|
|
5991
|
+
readonly attempt: number;
|
|
5992
|
+
readonly deadlineAt: number | null;
|
|
5993
|
+
};
|
|
5994
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5995
|
+
readonly type: "runtime.fork.elided";
|
|
5996
|
+
readonly payload: {
|
|
5997
|
+
readonly type: string;
|
|
5998
|
+
};
|
|
5999
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
6000
|
+
readonly type: "runtime.run.cancelled";
|
|
6001
|
+
readonly payload: {
|
|
6002
|
+
readonly reason?: string | undefined;
|
|
6003
|
+
};
|
|
6004
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
6005
|
+
readonly type: "runtime.run.completed";
|
|
6006
|
+
readonly payload: {
|
|
6007
|
+
readonly output: import("effect/Schema").Json;
|
|
6008
|
+
readonly error: string | null;
|
|
6009
|
+
};
|
|
6010
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
6011
|
+
readonly type: "runtime.run.forked";
|
|
6012
|
+
readonly payload: {
|
|
6013
|
+
readonly sourceRunId: string;
|
|
6014
|
+
readonly sourceSeq: number;
|
|
6015
|
+
};
|
|
6016
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
6017
|
+
readonly type: "runtime.run.launched";
|
|
6018
|
+
readonly payload: {
|
|
6019
|
+
readonly runId: string;
|
|
6020
|
+
readonly kind: string;
|
|
6021
|
+
readonly definitionName: string;
|
|
6022
|
+
readonly definitionVersion: string;
|
|
6023
|
+
readonly effectId: string;
|
|
6024
|
+
readonly close: "terminate" | "wait";
|
|
6025
|
+
};
|
|
6026
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
6027
|
+
readonly type: "runtime.run.started";
|
|
6028
|
+
readonly payload: {
|
|
6029
|
+
readonly rootThreadId?: string | undefined;
|
|
6030
|
+
readonly kind: string;
|
|
6031
|
+
readonly definitionName: string;
|
|
6032
|
+
readonly definitionVersion: string;
|
|
6033
|
+
readonly input: import("effect/Schema").Json;
|
|
6034
|
+
readonly requestedThreadId?: string | null | undefined;
|
|
6035
|
+
readonly launchedBy?: {
|
|
6036
|
+
readonly runId: string;
|
|
6037
|
+
readonly threadId: string;
|
|
6038
|
+
readonly effectId: string;
|
|
6039
|
+
readonly causationId: string;
|
|
6040
|
+
readonly causationSeq: number;
|
|
6041
|
+
} | undefined;
|
|
6042
|
+
readonly attributes?: {
|
|
6043
|
+
readonly [x: string]: string;
|
|
6044
|
+
} | undefined;
|
|
6045
|
+
readonly trace?: {
|
|
6046
|
+
readonly traceparent: string;
|
|
6047
|
+
readonly tracestate?: string | undefined;
|
|
6048
|
+
} | undefined;
|
|
6049
|
+
};
|
|
6050
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
6051
|
+
readonly type: "runtime.signal.received";
|
|
6052
|
+
readonly payload: {
|
|
6053
|
+
readonly signalType: string;
|
|
6054
|
+
};
|
|
6055
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
6056
|
+
readonly type: "runtime.snapshot.taken";
|
|
6057
|
+
readonly payload: {
|
|
6058
|
+
readonly seq: number;
|
|
6059
|
+
readonly stateHash: string;
|
|
6060
|
+
readonly state?: import("effect/Schema").Json | undefined;
|
|
6061
|
+
};
|
|
6062
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
6063
|
+
readonly type: "runtime.thread.cancel.requested";
|
|
6064
|
+
readonly payload: {
|
|
6065
|
+
readonly threadId: string;
|
|
6066
|
+
};
|
|
6067
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
6068
|
+
readonly type: "runtime.thread.cancelled";
|
|
6069
|
+
readonly payload: {
|
|
6070
|
+
readonly threadId: string;
|
|
6071
|
+
readonly reason?: string | undefined;
|
|
6072
|
+
readonly resumeSeq?: number | undefined;
|
|
6073
|
+
};
|
|
6074
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
6075
|
+
readonly type: "runtime.thread.completed";
|
|
6076
|
+
readonly payload: {
|
|
6077
|
+
readonly threadId: string;
|
|
6078
|
+
readonly output: import("effect/Schema").Json;
|
|
6079
|
+
};
|
|
6080
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
6081
|
+
readonly type: "runtime.thread.failed";
|
|
6082
|
+
readonly payload: {
|
|
6083
|
+
readonly threadId: string;
|
|
6084
|
+
readonly error: string;
|
|
6085
|
+
};
|
|
6086
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
6087
|
+
readonly type: "runtime.thread.started";
|
|
6088
|
+
readonly payload: {
|
|
6089
|
+
readonly threadId: string;
|
|
6090
|
+
readonly kind: string;
|
|
6091
|
+
readonly definitionName: string;
|
|
6092
|
+
readonly definitionVersion: string;
|
|
6093
|
+
readonly input: import("effect/Schema").Json;
|
|
6094
|
+
readonly parentThreadId: string | null;
|
|
6095
|
+
};
|
|
6096
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
6097
|
+
readonly type: "runtime.timer.fired";
|
|
6098
|
+
readonly payload: {
|
|
6099
|
+
readonly timerId: string;
|
|
6100
|
+
readonly waitId: string;
|
|
6101
|
+
};
|
|
6102
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
6103
|
+
readonly type: "runtime.timer.set";
|
|
6104
|
+
readonly payload: {
|
|
6105
|
+
readonly timerId: string;
|
|
6106
|
+
readonly waitId: string;
|
|
6107
|
+
readonly wakeAt: number;
|
|
6108
|
+
};
|
|
6109
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
6110
|
+
readonly type: "runtime.wait.registered";
|
|
6111
|
+
readonly payload: {
|
|
6112
|
+
readonly waitId: string;
|
|
6113
|
+
readonly threadId?: string | undefined;
|
|
6114
|
+
readonly on: {
|
|
6115
|
+
readonly type: string | readonly string[];
|
|
6116
|
+
readonly match?: import("effect/Schema").Json | undefined;
|
|
6117
|
+
} | {
|
|
6118
|
+
readonly timerAt: number;
|
|
6119
|
+
};
|
|
6120
|
+
readonly tag?: import("effect/Schema").Json | undefined;
|
|
6121
|
+
};
|
|
6122
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
6123
|
+
readonly type: "runtime.wait.satisfied";
|
|
6124
|
+
readonly payload: {
|
|
6125
|
+
readonly waitId: string;
|
|
6126
|
+
readonly tag?: import("effect/Schema").Json | undefined;
|
|
6127
|
+
readonly event: {
|
|
6128
|
+
readonly id: string;
|
|
6129
|
+
readonly type: string;
|
|
6130
|
+
readonly payload: import("effect/Schema").Json;
|
|
6131
|
+
};
|
|
6132
|
+
};
|
|
6133
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
6134
|
+
readonly type: "swarm.attachments.viewed";
|
|
6135
|
+
readonly payload: {
|
|
6136
|
+
readonly callId: string;
|
|
6137
|
+
readonly board: string;
|
|
6138
|
+
readonly message: string;
|
|
6139
|
+
readonly attachments: readonly {
|
|
6140
|
+
readonly id: string;
|
|
6141
|
+
readonly mediaType: string;
|
|
6142
|
+
readonly name?: string | undefined;
|
|
6143
|
+
readonly size?: number | undefined;
|
|
6144
|
+
readonly url?: string | undefined;
|
|
6145
|
+
}[];
|
|
6146
|
+
};
|
|
6147
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
6148
|
+
readonly type: "swarm.board.pulled";
|
|
6149
|
+
readonly payload: {
|
|
6150
|
+
readonly board: string;
|
|
6151
|
+
readonly pull: number;
|
|
6152
|
+
readonly cursor: string | null;
|
|
6153
|
+
readonly events: readonly {
|
|
6154
|
+
readonly cursor: string;
|
|
6155
|
+
readonly type: "message.labeled" | "message.posted" | "task.blocked" | "task.canceled" | "task.claimed" | "task.completed" | "task.created" | "task.failed" | "task.ready" | "task.reopened";
|
|
6156
|
+
readonly at: number;
|
|
6157
|
+
readonly by: string;
|
|
6158
|
+
readonly message?: {
|
|
6159
|
+
readonly id: string;
|
|
6160
|
+
readonly channel: string;
|
|
6161
|
+
readonly text: string;
|
|
6162
|
+
readonly by: string;
|
|
6163
|
+
readonly re: string | null;
|
|
6164
|
+
readonly mentions: readonly string[];
|
|
6165
|
+
readonly labels: {
|
|
6166
|
+
readonly [x: string]: string;
|
|
6167
|
+
};
|
|
6168
|
+
readonly attachments: readonly {
|
|
6169
|
+
readonly id: string;
|
|
6170
|
+
readonly mediaType: string;
|
|
6171
|
+
readonly name?: string | undefined;
|
|
6172
|
+
readonly size?: number | undefined;
|
|
6173
|
+
readonly url?: string | undefined;
|
|
6174
|
+
}[];
|
|
6175
|
+
readonly createdAt: number;
|
|
6176
|
+
} | undefined;
|
|
6177
|
+
readonly task?: {
|
|
6178
|
+
readonly id: string;
|
|
6179
|
+
readonly channel: string;
|
|
6180
|
+
readonly text: string;
|
|
6181
|
+
readonly by: string;
|
|
6182
|
+
readonly for: string | null;
|
|
6183
|
+
readonly needs: readonly string[];
|
|
6184
|
+
readonly state: "blocked" | "canceled" | "claimed" | "completed" | "failed" | "ready" | "waiting";
|
|
6185
|
+
readonly holder: string | null;
|
|
6186
|
+
readonly epoch: number;
|
|
6187
|
+
readonly leaseUntil: number | null;
|
|
6188
|
+
readonly note: string | null;
|
|
6189
|
+
readonly createdAt: number;
|
|
6190
|
+
readonly updatedAt: number;
|
|
6191
|
+
} | undefined;
|
|
6192
|
+
}[];
|
|
6193
|
+
readonly more: boolean;
|
|
6194
|
+
readonly nextPullAt: number | null;
|
|
6195
|
+
};
|
|
6196
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
6197
|
+
readonly type: "swarm.call.rejected";
|
|
6198
|
+
readonly payload: {
|
|
6199
|
+
readonly callId: string;
|
|
6200
|
+
readonly board: string;
|
|
6201
|
+
readonly code: string;
|
|
6202
|
+
readonly error: string;
|
|
6203
|
+
};
|
|
6204
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
6205
|
+
readonly type: "swarm.member.activated";
|
|
6206
|
+
readonly payload: {
|
|
6207
|
+
readonly board: string;
|
|
6208
|
+
readonly member: string;
|
|
6209
|
+
readonly activation: number;
|
|
6210
|
+
readonly runId: string;
|
|
6211
|
+
readonly events: number;
|
|
6212
|
+
readonly at: number;
|
|
6213
|
+
};
|
|
6214
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
6215
|
+
readonly type: "swarm.message.labeled";
|
|
6216
|
+
readonly payload: {
|
|
6217
|
+
readonly callId: string;
|
|
6218
|
+
readonly board: string;
|
|
6219
|
+
readonly message: {
|
|
6220
|
+
readonly id: string;
|
|
6221
|
+
readonly channel: string;
|
|
6222
|
+
readonly text: string;
|
|
6223
|
+
readonly by: string;
|
|
6224
|
+
readonly re: string | null;
|
|
6225
|
+
readonly mentions: readonly string[];
|
|
6226
|
+
readonly labels: {
|
|
6227
|
+
readonly [x: string]: string;
|
|
6228
|
+
};
|
|
6229
|
+
readonly attachments: readonly {
|
|
6230
|
+
readonly id: string;
|
|
6231
|
+
readonly mediaType: string;
|
|
6232
|
+
readonly name?: string | undefined;
|
|
6233
|
+
readonly size?: number | undefined;
|
|
6234
|
+
readonly url?: string | undefined;
|
|
6235
|
+
}[];
|
|
6236
|
+
readonly createdAt: number;
|
|
6237
|
+
};
|
|
6238
|
+
};
|
|
6239
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
6240
|
+
readonly type: "swarm.message.posted";
|
|
6241
|
+
readonly payload: {
|
|
6242
|
+
readonly callId: string;
|
|
6243
|
+
readonly board: string;
|
|
6244
|
+
readonly message: {
|
|
6245
|
+
readonly id: string;
|
|
6246
|
+
readonly channel: string;
|
|
6247
|
+
readonly text: string;
|
|
6248
|
+
readonly by: string;
|
|
6249
|
+
readonly re: string | null;
|
|
6250
|
+
readonly mentions: readonly string[];
|
|
6251
|
+
readonly labels: {
|
|
6252
|
+
readonly [x: string]: string;
|
|
6253
|
+
};
|
|
6254
|
+
readonly attachments: readonly {
|
|
6255
|
+
readonly id: string;
|
|
6256
|
+
readonly mediaType: string;
|
|
6257
|
+
readonly name?: string | undefined;
|
|
6258
|
+
readonly size?: number | undefined;
|
|
6259
|
+
readonly url?: string | undefined;
|
|
6260
|
+
}[];
|
|
6261
|
+
readonly createdAt: number;
|
|
6262
|
+
};
|
|
6263
|
+
};
|
|
6264
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
6265
|
+
readonly type: "swarm.messages.read";
|
|
6266
|
+
readonly payload: {
|
|
6267
|
+
readonly callId: string;
|
|
6268
|
+
readonly board: string;
|
|
6269
|
+
readonly messages: readonly {
|
|
6270
|
+
readonly id: string;
|
|
6271
|
+
readonly channel: string;
|
|
6272
|
+
readonly text: string;
|
|
6273
|
+
readonly by: string;
|
|
6274
|
+
readonly re: string | null;
|
|
6275
|
+
readonly mentions: readonly string[];
|
|
6276
|
+
readonly labels: {
|
|
6277
|
+
readonly [x: string]: string;
|
|
6278
|
+
};
|
|
6279
|
+
readonly attachments: readonly {
|
|
6280
|
+
readonly id: string;
|
|
6281
|
+
readonly mediaType: string;
|
|
6282
|
+
readonly name?: string | undefined;
|
|
6283
|
+
readonly size?: number | undefined;
|
|
6284
|
+
readonly url?: string | undefined;
|
|
6285
|
+
}[];
|
|
6286
|
+
readonly createdAt: number;
|
|
6287
|
+
}[];
|
|
6288
|
+
};
|
|
6289
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
6290
|
+
readonly type: "swarm.nudged";
|
|
6291
|
+
readonly payload: {};
|
|
6292
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
6293
|
+
readonly type: "swarm.stopped";
|
|
6294
|
+
readonly payload: {};
|
|
6295
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
6296
|
+
readonly type: "swarm.task.claimed";
|
|
6297
|
+
readonly payload: {
|
|
6298
|
+
readonly callId: string;
|
|
6299
|
+
readonly board: string;
|
|
6300
|
+
readonly claim: {
|
|
6301
|
+
readonly task: {
|
|
6302
|
+
readonly id: string;
|
|
6303
|
+
readonly channel: string;
|
|
6304
|
+
readonly text: string;
|
|
6305
|
+
readonly by: string;
|
|
6306
|
+
readonly for: string | null;
|
|
6307
|
+
readonly needs: readonly string[];
|
|
6308
|
+
readonly state: "blocked" | "canceled" | "claimed" | "completed" | "failed" | "ready" | "waiting";
|
|
6309
|
+
readonly holder: string | null;
|
|
6310
|
+
readonly epoch: number;
|
|
6311
|
+
readonly leaseUntil: number | null;
|
|
6312
|
+
readonly note: string | null;
|
|
6313
|
+
readonly createdAt: number;
|
|
6314
|
+
readonly updatedAt: number;
|
|
6315
|
+
};
|
|
6316
|
+
readonly token: string;
|
|
6317
|
+
readonly until: number;
|
|
6318
|
+
} | null;
|
|
6319
|
+
};
|
|
6320
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
6321
|
+
readonly type: "swarm.task.created";
|
|
6322
|
+
readonly payload: {
|
|
6323
|
+
readonly callId: string;
|
|
6324
|
+
readonly board: string;
|
|
6325
|
+
readonly task: {
|
|
6326
|
+
readonly id: string;
|
|
6327
|
+
readonly channel: string;
|
|
6328
|
+
readonly text: string;
|
|
6329
|
+
readonly by: string;
|
|
6330
|
+
readonly for: string | null;
|
|
6331
|
+
readonly needs: readonly string[];
|
|
6332
|
+
readonly state: "blocked" | "canceled" | "claimed" | "completed" | "failed" | "ready" | "waiting";
|
|
6333
|
+
readonly holder: string | null;
|
|
6334
|
+
readonly epoch: number;
|
|
6335
|
+
readonly leaseUntil: number | null;
|
|
6336
|
+
readonly note: string | null;
|
|
6337
|
+
readonly createdAt: number;
|
|
6338
|
+
readonly updatedAt: number;
|
|
6339
|
+
};
|
|
6340
|
+
};
|
|
6341
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
6342
|
+
readonly type: "swarm.task.settled";
|
|
6343
|
+
readonly payload: {
|
|
6344
|
+
readonly callId: string;
|
|
6345
|
+
readonly board: string;
|
|
6346
|
+
readonly task: {
|
|
6347
|
+
readonly id: string;
|
|
6348
|
+
readonly channel: string;
|
|
6349
|
+
readonly text: string;
|
|
6350
|
+
readonly by: string;
|
|
6351
|
+
readonly for: string | null;
|
|
6352
|
+
readonly needs: readonly string[];
|
|
6353
|
+
readonly state: "blocked" | "canceled" | "claimed" | "completed" | "failed" | "ready" | "waiting";
|
|
6354
|
+
readonly holder: string | null;
|
|
6355
|
+
readonly epoch: number;
|
|
6356
|
+
readonly leaseUntil: number | null;
|
|
6357
|
+
readonly note: string | null;
|
|
6358
|
+
readonly createdAt: number;
|
|
6359
|
+
readonly updatedAt: number;
|
|
6360
|
+
};
|
|
6361
|
+
};
|
|
6362
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
6363
|
+
readonly type: "swarm.tasks.listed";
|
|
6364
|
+
readonly payload: {
|
|
6365
|
+
readonly callId: string;
|
|
6366
|
+
readonly board: string;
|
|
6367
|
+
readonly tasks: readonly {
|
|
6368
|
+
readonly id: string;
|
|
6369
|
+
readonly channel: string;
|
|
6370
|
+
readonly text: string;
|
|
6371
|
+
readonly by: string;
|
|
6372
|
+
readonly for: string | null;
|
|
6373
|
+
readonly needs: readonly string[];
|
|
6374
|
+
readonly state: "blocked" | "canceled" | "claimed" | "completed" | "failed" | "ready" | "waiting";
|
|
6375
|
+
readonly holder: string | null;
|
|
6376
|
+
readonly epoch: number;
|
|
6377
|
+
readonly leaseUntil: number | null;
|
|
6378
|
+
readonly note: string | null;
|
|
6379
|
+
readonly createdAt: number;
|
|
6380
|
+
readonly updatedAt: number;
|
|
6381
|
+
}[];
|
|
6382
|
+
};
|
|
6383
|
+
})>;
|
|
6384
|
+
activate: import("@swirls/looms/core").LocalEffectDefinition<{
|
|
6385
|
+
readonly definitionName: string;
|
|
6386
|
+
readonly definitionVersion: string;
|
|
6387
|
+
readonly board: string;
|
|
6388
|
+
readonly member: string;
|
|
6389
|
+
readonly activation: number;
|
|
6390
|
+
readonly events: readonly {
|
|
6391
|
+
readonly cursor: string;
|
|
6392
|
+
readonly type: "message.labeled" | "message.posted" | "task.blocked" | "task.canceled" | "task.claimed" | "task.completed" | "task.created" | "task.failed" | "task.ready" | "task.reopened";
|
|
6393
|
+
readonly at: number;
|
|
6394
|
+
readonly by: string;
|
|
6395
|
+
readonly message?: {
|
|
6396
|
+
readonly id: string;
|
|
6397
|
+
readonly channel: string;
|
|
6398
|
+
readonly text: string;
|
|
6399
|
+
readonly by: string;
|
|
6400
|
+
readonly re: string | null;
|
|
6401
|
+
readonly mentions: readonly string[];
|
|
6402
|
+
readonly labels: {
|
|
6403
|
+
readonly [x: string]: string;
|
|
6404
|
+
};
|
|
6405
|
+
readonly attachments: readonly {
|
|
6406
|
+
readonly id: string;
|
|
6407
|
+
readonly mediaType: string;
|
|
6408
|
+
readonly name?: string | undefined;
|
|
6409
|
+
readonly size?: number | undefined;
|
|
6410
|
+
readonly url?: string | undefined;
|
|
6411
|
+
}[];
|
|
6412
|
+
readonly createdAt: number;
|
|
6413
|
+
} | undefined;
|
|
6414
|
+
readonly task?: {
|
|
6415
|
+
readonly id: string;
|
|
6416
|
+
readonly channel: string;
|
|
6417
|
+
readonly text: string;
|
|
6418
|
+
readonly by: string;
|
|
6419
|
+
readonly for: string | null;
|
|
6420
|
+
readonly needs: readonly string[];
|
|
6421
|
+
readonly state: "blocked" | "canceled" | "claimed" | "completed" | "failed" | "ready" | "waiting";
|
|
6422
|
+
readonly holder: string | null;
|
|
6423
|
+
readonly epoch: number;
|
|
6424
|
+
readonly leaseUntil: number | null;
|
|
6425
|
+
readonly note: string | null;
|
|
6426
|
+
readonly createdAt: number;
|
|
6427
|
+
readonly updatedAt: number;
|
|
6428
|
+
} | undefined;
|
|
6429
|
+
}[];
|
|
6430
|
+
}, import("@swirls/looms/core").RunLauncherTag | import("./services").SwarmDefinitionsTag, (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
4898
6431
|
readonly type: "runtime.child.close.requested";
|
|
4899
6432
|
readonly payload: {
|
|
4900
6433
|
readonly policy: "terminate" | "wait";
|
|
@@ -5140,6 +6673,20 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
5140
6673
|
readonly payload: import("effect/Schema").Json;
|
|
5141
6674
|
};
|
|
5142
6675
|
};
|
|
6676
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
6677
|
+
readonly type: "swarm.attachments.viewed";
|
|
6678
|
+
readonly payload: {
|
|
6679
|
+
readonly callId: string;
|
|
6680
|
+
readonly board: string;
|
|
6681
|
+
readonly message: string;
|
|
6682
|
+
readonly attachments: readonly {
|
|
6683
|
+
readonly id: string;
|
|
6684
|
+
readonly mediaType: string;
|
|
6685
|
+
readonly name?: string | undefined;
|
|
6686
|
+
readonly size?: number | undefined;
|
|
6687
|
+
readonly url?: string | undefined;
|
|
6688
|
+
}[];
|
|
6689
|
+
};
|
|
5143
6690
|
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5144
6691
|
readonly type: "swarm.board.pulled";
|
|
5145
6692
|
readonly payload: {
|
|
@@ -5161,6 +6708,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
5161
6708
|
readonly labels: {
|
|
5162
6709
|
readonly [x: string]: string;
|
|
5163
6710
|
};
|
|
6711
|
+
readonly attachments: readonly {
|
|
6712
|
+
readonly id: string;
|
|
6713
|
+
readonly mediaType: string;
|
|
6714
|
+
readonly name?: string | undefined;
|
|
6715
|
+
readonly size?: number | undefined;
|
|
6716
|
+
readonly url?: string | undefined;
|
|
6717
|
+
}[];
|
|
5164
6718
|
readonly createdAt: number;
|
|
5165
6719
|
} | undefined;
|
|
5166
6720
|
readonly task?: {
|
|
@@ -5215,6 +6769,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
5215
6769
|
readonly labels: {
|
|
5216
6770
|
readonly [x: string]: string;
|
|
5217
6771
|
};
|
|
6772
|
+
readonly attachments: readonly {
|
|
6773
|
+
readonly id: string;
|
|
6774
|
+
readonly mediaType: string;
|
|
6775
|
+
readonly name?: string | undefined;
|
|
6776
|
+
readonly size?: number | undefined;
|
|
6777
|
+
readonly url?: string | undefined;
|
|
6778
|
+
}[];
|
|
5218
6779
|
readonly createdAt: number;
|
|
5219
6780
|
};
|
|
5220
6781
|
};
|
|
@@ -5233,6 +6794,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
5233
6794
|
readonly labels: {
|
|
5234
6795
|
readonly [x: string]: string;
|
|
5235
6796
|
};
|
|
6797
|
+
readonly attachments: readonly {
|
|
6798
|
+
readonly id: string;
|
|
6799
|
+
readonly mediaType: string;
|
|
6800
|
+
readonly name?: string | undefined;
|
|
6801
|
+
readonly size?: number | undefined;
|
|
6802
|
+
readonly url?: string | undefined;
|
|
6803
|
+
}[];
|
|
5236
6804
|
readonly createdAt: number;
|
|
5237
6805
|
};
|
|
5238
6806
|
};
|
|
@@ -5251,6 +6819,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
5251
6819
|
readonly labels: {
|
|
5252
6820
|
readonly [x: string]: string;
|
|
5253
6821
|
};
|
|
6822
|
+
readonly attachments: readonly {
|
|
6823
|
+
readonly id: string;
|
|
6824
|
+
readonly mediaType: string;
|
|
6825
|
+
readonly name?: string | undefined;
|
|
6826
|
+
readonly size?: number | undefined;
|
|
6827
|
+
readonly url?: string | undefined;
|
|
6828
|
+
}[];
|
|
5254
6829
|
readonly createdAt: number;
|
|
5255
6830
|
}[];
|
|
5256
6831
|
};
|
|
@@ -5349,46 +6924,23 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
5349
6924
|
}[];
|
|
5350
6925
|
};
|
|
5351
6926
|
})>;
|
|
5352
|
-
|
|
5353
|
-
readonly
|
|
5354
|
-
readonly definitionVersion: string;
|
|
6927
|
+
post: import("@swirls/looms/core").LocalEffectDefinition<{
|
|
6928
|
+
readonly callId: string;
|
|
5355
6929
|
readonly board: string;
|
|
5356
|
-
readonly
|
|
5357
|
-
readonly
|
|
5358
|
-
readonly
|
|
5359
|
-
|
|
5360
|
-
readonly
|
|
5361
|
-
|
|
5362
|
-
|
|
5363
|
-
readonly
|
|
5364
|
-
|
|
5365
|
-
|
|
5366
|
-
|
|
5367
|
-
|
|
5368
|
-
|
|
5369
|
-
|
|
5370
|
-
readonly labels: {
|
|
5371
|
-
readonly [x: string]: string;
|
|
5372
|
-
};
|
|
5373
|
-
readonly createdAt: number;
|
|
5374
|
-
} | undefined;
|
|
5375
|
-
readonly task?: {
|
|
5376
|
-
readonly id: string;
|
|
5377
|
-
readonly channel: string;
|
|
5378
|
-
readonly text: string;
|
|
5379
|
-
readonly by: string;
|
|
5380
|
-
readonly for: string | null;
|
|
5381
|
-
readonly needs: readonly string[];
|
|
5382
|
-
readonly state: "blocked" | "canceled" | "claimed" | "completed" | "failed" | "ready" | "waiting";
|
|
5383
|
-
readonly holder: string | null;
|
|
5384
|
-
readonly epoch: number;
|
|
5385
|
-
readonly leaseUntil: number | null;
|
|
5386
|
-
readonly note: string | null;
|
|
5387
|
-
readonly createdAt: number;
|
|
5388
|
-
readonly updatedAt: number;
|
|
5389
|
-
} | undefined;
|
|
5390
|
-
}[];
|
|
5391
|
-
}, import("@swirls/looms/core").RunLauncherTag | import("./services").SwarmDefinitionsTag, (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
6930
|
+
readonly as: string;
|
|
6931
|
+
readonly channel: string;
|
|
6932
|
+
readonly text: string;
|
|
6933
|
+
readonly labels?: {
|
|
6934
|
+
readonly [x: string]: string;
|
|
6935
|
+
} | undefined;
|
|
6936
|
+
readonly attachments?: readonly {
|
|
6937
|
+
readonly id: string;
|
|
6938
|
+
readonly mediaType: string;
|
|
6939
|
+
readonly name?: string | undefined;
|
|
6940
|
+
readonly size?: number | undefined;
|
|
6941
|
+
readonly url?: string | undefined;
|
|
6942
|
+
}[] | undefined;
|
|
6943
|
+
}, import("./services").BoardsTag, (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5392
6944
|
readonly type: "runtime.child.close.requested";
|
|
5393
6945
|
readonly payload: {
|
|
5394
6946
|
readonly policy: "terminate" | "wait";
|
|
@@ -5634,6 +7186,20 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
5634
7186
|
readonly payload: import("effect/Schema").Json;
|
|
5635
7187
|
};
|
|
5636
7188
|
};
|
|
7189
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
7190
|
+
readonly type: "swarm.attachments.viewed";
|
|
7191
|
+
readonly payload: {
|
|
7192
|
+
readonly callId: string;
|
|
7193
|
+
readonly board: string;
|
|
7194
|
+
readonly message: string;
|
|
7195
|
+
readonly attachments: readonly {
|
|
7196
|
+
readonly id: string;
|
|
7197
|
+
readonly mediaType: string;
|
|
7198
|
+
readonly name?: string | undefined;
|
|
7199
|
+
readonly size?: number | undefined;
|
|
7200
|
+
readonly url?: string | undefined;
|
|
7201
|
+
}[];
|
|
7202
|
+
};
|
|
5637
7203
|
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5638
7204
|
readonly type: "swarm.board.pulled";
|
|
5639
7205
|
readonly payload: {
|
|
@@ -5655,6 +7221,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
5655
7221
|
readonly labels: {
|
|
5656
7222
|
readonly [x: string]: string;
|
|
5657
7223
|
};
|
|
7224
|
+
readonly attachments: readonly {
|
|
7225
|
+
readonly id: string;
|
|
7226
|
+
readonly mediaType: string;
|
|
7227
|
+
readonly name?: string | undefined;
|
|
7228
|
+
readonly size?: number | undefined;
|
|
7229
|
+
readonly url?: string | undefined;
|
|
7230
|
+
}[];
|
|
5658
7231
|
readonly createdAt: number;
|
|
5659
7232
|
} | undefined;
|
|
5660
7233
|
readonly task?: {
|
|
@@ -5709,6 +7282,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
5709
7282
|
readonly labels: {
|
|
5710
7283
|
readonly [x: string]: string;
|
|
5711
7284
|
};
|
|
7285
|
+
readonly attachments: readonly {
|
|
7286
|
+
readonly id: string;
|
|
7287
|
+
readonly mediaType: string;
|
|
7288
|
+
readonly name?: string | undefined;
|
|
7289
|
+
readonly size?: number | undefined;
|
|
7290
|
+
readonly url?: string | undefined;
|
|
7291
|
+
}[];
|
|
5712
7292
|
readonly createdAt: number;
|
|
5713
7293
|
};
|
|
5714
7294
|
};
|
|
@@ -5727,6 +7307,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
5727
7307
|
readonly labels: {
|
|
5728
7308
|
readonly [x: string]: string;
|
|
5729
7309
|
};
|
|
7310
|
+
readonly attachments: readonly {
|
|
7311
|
+
readonly id: string;
|
|
7312
|
+
readonly mediaType: string;
|
|
7313
|
+
readonly name?: string | undefined;
|
|
7314
|
+
readonly size?: number | undefined;
|
|
7315
|
+
readonly url?: string | undefined;
|
|
7316
|
+
}[];
|
|
5730
7317
|
readonly createdAt: number;
|
|
5731
7318
|
};
|
|
5732
7319
|
};
|
|
@@ -5745,6 +7332,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
5745
7332
|
readonly labels: {
|
|
5746
7333
|
readonly [x: string]: string;
|
|
5747
7334
|
};
|
|
7335
|
+
readonly attachments: readonly {
|
|
7336
|
+
readonly id: string;
|
|
7337
|
+
readonly mediaType: string;
|
|
7338
|
+
readonly name?: string | undefined;
|
|
7339
|
+
readonly size?: number | undefined;
|
|
7340
|
+
readonly url?: string | undefined;
|
|
7341
|
+
}[];
|
|
5748
7342
|
readonly createdAt: number;
|
|
5749
7343
|
}[];
|
|
5750
7344
|
};
|
|
@@ -5843,15 +7437,19 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
5843
7437
|
}[];
|
|
5844
7438
|
};
|
|
5845
7439
|
})>;
|
|
5846
|
-
|
|
7440
|
+
reply: import("@swirls/looms/core").LocalEffectDefinition<{
|
|
5847
7441
|
readonly callId: string;
|
|
5848
7442
|
readonly board: string;
|
|
5849
7443
|
readonly as: string;
|
|
5850
|
-
readonly
|
|
7444
|
+
readonly to: string;
|
|
5851
7445
|
readonly text: string;
|
|
5852
|
-
readonly
|
|
5853
|
-
readonly
|
|
5854
|
-
|
|
7446
|
+
readonly attachments?: readonly {
|
|
7447
|
+
readonly id: string;
|
|
7448
|
+
readonly mediaType: string;
|
|
7449
|
+
readonly name?: string | undefined;
|
|
7450
|
+
readonly size?: number | undefined;
|
|
7451
|
+
readonly url?: string | undefined;
|
|
7452
|
+
}[] | undefined;
|
|
5855
7453
|
}, import("./services").BoardsTag, (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
5856
7454
|
readonly type: "runtime.child.close.requested";
|
|
5857
7455
|
readonly payload: {
|
|
@@ -6098,6 +7696,20 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
6098
7696
|
readonly payload: import("effect/Schema").Json;
|
|
6099
7697
|
};
|
|
6100
7698
|
};
|
|
7699
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
7700
|
+
readonly type: "swarm.attachments.viewed";
|
|
7701
|
+
readonly payload: {
|
|
7702
|
+
readonly callId: string;
|
|
7703
|
+
readonly board: string;
|
|
7704
|
+
readonly message: string;
|
|
7705
|
+
readonly attachments: readonly {
|
|
7706
|
+
readonly id: string;
|
|
7707
|
+
readonly mediaType: string;
|
|
7708
|
+
readonly name?: string | undefined;
|
|
7709
|
+
readonly size?: number | undefined;
|
|
7710
|
+
readonly url?: string | undefined;
|
|
7711
|
+
}[];
|
|
7712
|
+
};
|
|
6101
7713
|
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
6102
7714
|
readonly type: "swarm.board.pulled";
|
|
6103
7715
|
readonly payload: {
|
|
@@ -6119,6 +7731,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
6119
7731
|
readonly labels: {
|
|
6120
7732
|
readonly [x: string]: string;
|
|
6121
7733
|
};
|
|
7734
|
+
readonly attachments: readonly {
|
|
7735
|
+
readonly id: string;
|
|
7736
|
+
readonly mediaType: string;
|
|
7737
|
+
readonly name?: string | undefined;
|
|
7738
|
+
readonly size?: number | undefined;
|
|
7739
|
+
readonly url?: string | undefined;
|
|
7740
|
+
}[];
|
|
6122
7741
|
readonly createdAt: number;
|
|
6123
7742
|
} | undefined;
|
|
6124
7743
|
readonly task?: {
|
|
@@ -6173,6 +7792,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
6173
7792
|
readonly labels: {
|
|
6174
7793
|
readonly [x: string]: string;
|
|
6175
7794
|
};
|
|
7795
|
+
readonly attachments: readonly {
|
|
7796
|
+
readonly id: string;
|
|
7797
|
+
readonly mediaType: string;
|
|
7798
|
+
readonly name?: string | undefined;
|
|
7799
|
+
readonly size?: number | undefined;
|
|
7800
|
+
readonly url?: string | undefined;
|
|
7801
|
+
}[];
|
|
6176
7802
|
readonly createdAt: number;
|
|
6177
7803
|
};
|
|
6178
7804
|
};
|
|
@@ -6191,6 +7817,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
6191
7817
|
readonly labels: {
|
|
6192
7818
|
readonly [x: string]: string;
|
|
6193
7819
|
};
|
|
7820
|
+
readonly attachments: readonly {
|
|
7821
|
+
readonly id: string;
|
|
7822
|
+
readonly mediaType: string;
|
|
7823
|
+
readonly name?: string | undefined;
|
|
7824
|
+
readonly size?: number | undefined;
|
|
7825
|
+
readonly url?: string | undefined;
|
|
7826
|
+
}[];
|
|
6194
7827
|
readonly createdAt: number;
|
|
6195
7828
|
};
|
|
6196
7829
|
};
|
|
@@ -6209,6 +7842,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
6209
7842
|
readonly labels: {
|
|
6210
7843
|
readonly [x: string]: string;
|
|
6211
7844
|
};
|
|
7845
|
+
readonly attachments: readonly {
|
|
7846
|
+
readonly id: string;
|
|
7847
|
+
readonly mediaType: string;
|
|
7848
|
+
readonly name?: string | undefined;
|
|
7849
|
+
readonly size?: number | undefined;
|
|
7850
|
+
readonly url?: string | undefined;
|
|
7851
|
+
}[];
|
|
6212
7852
|
readonly createdAt: number;
|
|
6213
7853
|
}[];
|
|
6214
7854
|
};
|
|
@@ -6307,12 +7947,16 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
6307
7947
|
}[];
|
|
6308
7948
|
};
|
|
6309
7949
|
})>;
|
|
6310
|
-
|
|
7950
|
+
read: import("@swirls/looms/core").LocalEffectDefinition<{
|
|
6311
7951
|
readonly callId: string;
|
|
6312
7952
|
readonly board: string;
|
|
6313
7953
|
readonly as: string;
|
|
6314
|
-
readonly
|
|
6315
|
-
readonly
|
|
7954
|
+
readonly channel?: string | undefined;
|
|
7955
|
+
readonly thread?: string | undefined;
|
|
7956
|
+
readonly by?: string | undefined;
|
|
7957
|
+
readonly mentionsMe?: boolean | undefined;
|
|
7958
|
+
readonly after?: string | undefined;
|
|
7959
|
+
readonly limit?: number | undefined;
|
|
6316
7960
|
}, import("./services").BoardsTag, (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
6317
7961
|
readonly type: "runtime.child.close.requested";
|
|
6318
7962
|
readonly payload: {
|
|
@@ -6559,6 +8203,20 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
6559
8203
|
readonly payload: import("effect/Schema").Json;
|
|
6560
8204
|
};
|
|
6561
8205
|
};
|
|
8206
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
8207
|
+
readonly type: "swarm.attachments.viewed";
|
|
8208
|
+
readonly payload: {
|
|
8209
|
+
readonly callId: string;
|
|
8210
|
+
readonly board: string;
|
|
8211
|
+
readonly message: string;
|
|
8212
|
+
readonly attachments: readonly {
|
|
8213
|
+
readonly id: string;
|
|
8214
|
+
readonly mediaType: string;
|
|
8215
|
+
readonly name?: string | undefined;
|
|
8216
|
+
readonly size?: number | undefined;
|
|
8217
|
+
readonly url?: string | undefined;
|
|
8218
|
+
}[];
|
|
8219
|
+
};
|
|
6562
8220
|
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
6563
8221
|
readonly type: "swarm.board.pulled";
|
|
6564
8222
|
readonly payload: {
|
|
@@ -6580,6 +8238,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
6580
8238
|
readonly labels: {
|
|
6581
8239
|
readonly [x: string]: string;
|
|
6582
8240
|
};
|
|
8241
|
+
readonly attachments: readonly {
|
|
8242
|
+
readonly id: string;
|
|
8243
|
+
readonly mediaType: string;
|
|
8244
|
+
readonly name?: string | undefined;
|
|
8245
|
+
readonly size?: number | undefined;
|
|
8246
|
+
readonly url?: string | undefined;
|
|
8247
|
+
}[];
|
|
6583
8248
|
readonly createdAt: number;
|
|
6584
8249
|
} | undefined;
|
|
6585
8250
|
readonly task?: {
|
|
@@ -6634,6 +8299,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
6634
8299
|
readonly labels: {
|
|
6635
8300
|
readonly [x: string]: string;
|
|
6636
8301
|
};
|
|
8302
|
+
readonly attachments: readonly {
|
|
8303
|
+
readonly id: string;
|
|
8304
|
+
readonly mediaType: string;
|
|
8305
|
+
readonly name?: string | undefined;
|
|
8306
|
+
readonly size?: number | undefined;
|
|
8307
|
+
readonly url?: string | undefined;
|
|
8308
|
+
}[];
|
|
6637
8309
|
readonly createdAt: number;
|
|
6638
8310
|
};
|
|
6639
8311
|
};
|
|
@@ -6652,6 +8324,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
6652
8324
|
readonly labels: {
|
|
6653
8325
|
readonly [x: string]: string;
|
|
6654
8326
|
};
|
|
8327
|
+
readonly attachments: readonly {
|
|
8328
|
+
readonly id: string;
|
|
8329
|
+
readonly mediaType: string;
|
|
8330
|
+
readonly name?: string | undefined;
|
|
8331
|
+
readonly size?: number | undefined;
|
|
8332
|
+
readonly url?: string | undefined;
|
|
8333
|
+
}[];
|
|
6655
8334
|
readonly createdAt: number;
|
|
6656
8335
|
};
|
|
6657
8336
|
};
|
|
@@ -6670,6 +8349,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
6670
8349
|
readonly labels: {
|
|
6671
8350
|
readonly [x: string]: string;
|
|
6672
8351
|
};
|
|
8352
|
+
readonly attachments: readonly {
|
|
8353
|
+
readonly id: string;
|
|
8354
|
+
readonly mediaType: string;
|
|
8355
|
+
readonly name?: string | undefined;
|
|
8356
|
+
readonly size?: number | undefined;
|
|
8357
|
+
readonly url?: string | undefined;
|
|
8358
|
+
}[];
|
|
6673
8359
|
readonly createdAt: number;
|
|
6674
8360
|
}[];
|
|
6675
8361
|
};
|
|
@@ -6768,16 +8454,11 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
6768
8454
|
}[];
|
|
6769
8455
|
};
|
|
6770
8456
|
})>;
|
|
6771
|
-
|
|
8457
|
+
view: import("@swirls/looms/core").LocalEffectDefinition<{
|
|
6772
8458
|
readonly callId: string;
|
|
6773
8459
|
readonly board: string;
|
|
6774
8460
|
readonly as: string;
|
|
6775
|
-
readonly
|
|
6776
|
-
readonly thread?: string | undefined;
|
|
6777
|
-
readonly by?: string | undefined;
|
|
6778
|
-
readonly mentionsMe?: boolean | undefined;
|
|
6779
|
-
readonly after?: string | undefined;
|
|
6780
|
-
readonly limit?: number | undefined;
|
|
8461
|
+
readonly message: string;
|
|
6781
8462
|
}, import("./services").BoardsTag, (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
6782
8463
|
readonly type: "runtime.child.close.requested";
|
|
6783
8464
|
readonly payload: {
|
|
@@ -7024,6 +8705,20 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
7024
8705
|
readonly payload: import("effect/Schema").Json;
|
|
7025
8706
|
};
|
|
7026
8707
|
};
|
|
8708
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
8709
|
+
readonly type: "swarm.attachments.viewed";
|
|
8710
|
+
readonly payload: {
|
|
8711
|
+
readonly callId: string;
|
|
8712
|
+
readonly board: string;
|
|
8713
|
+
readonly message: string;
|
|
8714
|
+
readonly attachments: readonly {
|
|
8715
|
+
readonly id: string;
|
|
8716
|
+
readonly mediaType: string;
|
|
8717
|
+
readonly name?: string | undefined;
|
|
8718
|
+
readonly size?: number | undefined;
|
|
8719
|
+
readonly url?: string | undefined;
|
|
8720
|
+
}[];
|
|
8721
|
+
};
|
|
7027
8722
|
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
7028
8723
|
readonly type: "swarm.board.pulled";
|
|
7029
8724
|
readonly payload: {
|
|
@@ -7045,6 +8740,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
7045
8740
|
readonly labels: {
|
|
7046
8741
|
readonly [x: string]: string;
|
|
7047
8742
|
};
|
|
8743
|
+
readonly attachments: readonly {
|
|
8744
|
+
readonly id: string;
|
|
8745
|
+
readonly mediaType: string;
|
|
8746
|
+
readonly name?: string | undefined;
|
|
8747
|
+
readonly size?: number | undefined;
|
|
8748
|
+
readonly url?: string | undefined;
|
|
8749
|
+
}[];
|
|
7048
8750
|
readonly createdAt: number;
|
|
7049
8751
|
} | undefined;
|
|
7050
8752
|
readonly task?: {
|
|
@@ -7099,6 +8801,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
7099
8801
|
readonly labels: {
|
|
7100
8802
|
readonly [x: string]: string;
|
|
7101
8803
|
};
|
|
8804
|
+
readonly attachments: readonly {
|
|
8805
|
+
readonly id: string;
|
|
8806
|
+
readonly mediaType: string;
|
|
8807
|
+
readonly name?: string | undefined;
|
|
8808
|
+
readonly size?: number | undefined;
|
|
8809
|
+
readonly url?: string | undefined;
|
|
8810
|
+
}[];
|
|
7102
8811
|
readonly createdAt: number;
|
|
7103
8812
|
};
|
|
7104
8813
|
};
|
|
@@ -7117,6 +8826,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
7117
8826
|
readonly labels: {
|
|
7118
8827
|
readonly [x: string]: string;
|
|
7119
8828
|
};
|
|
8829
|
+
readonly attachments: readonly {
|
|
8830
|
+
readonly id: string;
|
|
8831
|
+
readonly mediaType: string;
|
|
8832
|
+
readonly name?: string | undefined;
|
|
8833
|
+
readonly size?: number | undefined;
|
|
8834
|
+
readonly url?: string | undefined;
|
|
8835
|
+
}[];
|
|
7120
8836
|
readonly createdAt: number;
|
|
7121
8837
|
};
|
|
7122
8838
|
};
|
|
@@ -7135,6 +8851,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
7135
8851
|
readonly labels: {
|
|
7136
8852
|
readonly [x: string]: string;
|
|
7137
8853
|
};
|
|
8854
|
+
readonly attachments: readonly {
|
|
8855
|
+
readonly id: string;
|
|
8856
|
+
readonly mediaType: string;
|
|
8857
|
+
readonly name?: string | undefined;
|
|
8858
|
+
readonly size?: number | undefined;
|
|
8859
|
+
readonly url?: string | undefined;
|
|
8860
|
+
}[];
|
|
7138
8861
|
readonly createdAt: number;
|
|
7139
8862
|
}[];
|
|
7140
8863
|
};
|
|
@@ -7491,6 +9214,20 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
7491
9214
|
readonly payload: import("effect/Schema").Json;
|
|
7492
9215
|
};
|
|
7493
9216
|
};
|
|
9217
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
9218
|
+
readonly type: "swarm.attachments.viewed";
|
|
9219
|
+
readonly payload: {
|
|
9220
|
+
readonly callId: string;
|
|
9221
|
+
readonly board: string;
|
|
9222
|
+
readonly message: string;
|
|
9223
|
+
readonly attachments: readonly {
|
|
9224
|
+
readonly id: string;
|
|
9225
|
+
readonly mediaType: string;
|
|
9226
|
+
readonly name?: string | undefined;
|
|
9227
|
+
readonly size?: number | undefined;
|
|
9228
|
+
readonly url?: string | undefined;
|
|
9229
|
+
}[];
|
|
9230
|
+
};
|
|
7494
9231
|
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
7495
9232
|
readonly type: "swarm.board.pulled";
|
|
7496
9233
|
readonly payload: {
|
|
@@ -7512,6 +9249,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
7512
9249
|
readonly labels: {
|
|
7513
9250
|
readonly [x: string]: string;
|
|
7514
9251
|
};
|
|
9252
|
+
readonly attachments: readonly {
|
|
9253
|
+
readonly id: string;
|
|
9254
|
+
readonly mediaType: string;
|
|
9255
|
+
readonly name?: string | undefined;
|
|
9256
|
+
readonly size?: number | undefined;
|
|
9257
|
+
readonly url?: string | undefined;
|
|
9258
|
+
}[];
|
|
7515
9259
|
readonly createdAt: number;
|
|
7516
9260
|
} | undefined;
|
|
7517
9261
|
readonly task?: {
|
|
@@ -7566,6 +9310,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
7566
9310
|
readonly labels: {
|
|
7567
9311
|
readonly [x: string]: string;
|
|
7568
9312
|
};
|
|
9313
|
+
readonly attachments: readonly {
|
|
9314
|
+
readonly id: string;
|
|
9315
|
+
readonly mediaType: string;
|
|
9316
|
+
readonly name?: string | undefined;
|
|
9317
|
+
readonly size?: number | undefined;
|
|
9318
|
+
readonly url?: string | undefined;
|
|
9319
|
+
}[];
|
|
7569
9320
|
readonly createdAt: number;
|
|
7570
9321
|
};
|
|
7571
9322
|
};
|
|
@@ -7584,6 +9335,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
7584
9335
|
readonly labels: {
|
|
7585
9336
|
readonly [x: string]: string;
|
|
7586
9337
|
};
|
|
9338
|
+
readonly attachments: readonly {
|
|
9339
|
+
readonly id: string;
|
|
9340
|
+
readonly mediaType: string;
|
|
9341
|
+
readonly name?: string | undefined;
|
|
9342
|
+
readonly size?: number | undefined;
|
|
9343
|
+
readonly url?: string | undefined;
|
|
9344
|
+
}[];
|
|
7587
9345
|
readonly createdAt: number;
|
|
7588
9346
|
};
|
|
7589
9347
|
};
|
|
@@ -7602,6 +9360,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
7602
9360
|
readonly labels: {
|
|
7603
9361
|
readonly [x: string]: string;
|
|
7604
9362
|
};
|
|
9363
|
+
readonly attachments: readonly {
|
|
9364
|
+
readonly id: string;
|
|
9365
|
+
readonly mediaType: string;
|
|
9366
|
+
readonly name?: string | undefined;
|
|
9367
|
+
readonly size?: number | undefined;
|
|
9368
|
+
readonly url?: string | undefined;
|
|
9369
|
+
}[];
|
|
7605
9370
|
readonly createdAt: number;
|
|
7606
9371
|
}[];
|
|
7607
9372
|
};
|
|
@@ -7708,6 +9473,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
7708
9473
|
readonly text: string;
|
|
7709
9474
|
readonly for?: string | undefined;
|
|
7710
9475
|
readonly needs?: readonly string[] | undefined;
|
|
9476
|
+
readonly attachments?: readonly {
|
|
9477
|
+
readonly id: string;
|
|
9478
|
+
readonly mediaType: string;
|
|
9479
|
+
readonly name?: string | undefined;
|
|
9480
|
+
readonly size?: number | undefined;
|
|
9481
|
+
readonly url?: string | undefined;
|
|
9482
|
+
}[] | undefined;
|
|
7711
9483
|
}, import("./services").BoardsTag, (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
7712
9484
|
readonly type: "runtime.child.close.requested";
|
|
7713
9485
|
readonly payload: {
|
|
@@ -7954,6 +9726,20 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
7954
9726
|
readonly payload: import("effect/Schema").Json;
|
|
7955
9727
|
};
|
|
7956
9728
|
};
|
|
9729
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
9730
|
+
readonly type: "swarm.attachments.viewed";
|
|
9731
|
+
readonly payload: {
|
|
9732
|
+
readonly callId: string;
|
|
9733
|
+
readonly board: string;
|
|
9734
|
+
readonly message: string;
|
|
9735
|
+
readonly attachments: readonly {
|
|
9736
|
+
readonly id: string;
|
|
9737
|
+
readonly mediaType: string;
|
|
9738
|
+
readonly name?: string | undefined;
|
|
9739
|
+
readonly size?: number | undefined;
|
|
9740
|
+
readonly url?: string | undefined;
|
|
9741
|
+
}[];
|
|
9742
|
+
};
|
|
7957
9743
|
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
7958
9744
|
readonly type: "swarm.board.pulled";
|
|
7959
9745
|
readonly payload: {
|
|
@@ -7975,6 +9761,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
7975
9761
|
readonly labels: {
|
|
7976
9762
|
readonly [x: string]: string;
|
|
7977
9763
|
};
|
|
9764
|
+
readonly attachments: readonly {
|
|
9765
|
+
readonly id: string;
|
|
9766
|
+
readonly mediaType: string;
|
|
9767
|
+
readonly name?: string | undefined;
|
|
9768
|
+
readonly size?: number | undefined;
|
|
9769
|
+
readonly url?: string | undefined;
|
|
9770
|
+
}[];
|
|
7978
9771
|
readonly createdAt: number;
|
|
7979
9772
|
} | undefined;
|
|
7980
9773
|
readonly task?: {
|
|
@@ -8029,6 +9822,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
8029
9822
|
readonly labels: {
|
|
8030
9823
|
readonly [x: string]: string;
|
|
8031
9824
|
};
|
|
9825
|
+
readonly attachments: readonly {
|
|
9826
|
+
readonly id: string;
|
|
9827
|
+
readonly mediaType: string;
|
|
9828
|
+
readonly name?: string | undefined;
|
|
9829
|
+
readonly size?: number | undefined;
|
|
9830
|
+
readonly url?: string | undefined;
|
|
9831
|
+
}[];
|
|
8032
9832
|
readonly createdAt: number;
|
|
8033
9833
|
};
|
|
8034
9834
|
};
|
|
@@ -8047,6 +9847,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
8047
9847
|
readonly labels: {
|
|
8048
9848
|
readonly [x: string]: string;
|
|
8049
9849
|
};
|
|
9850
|
+
readonly attachments: readonly {
|
|
9851
|
+
readonly id: string;
|
|
9852
|
+
readonly mediaType: string;
|
|
9853
|
+
readonly name?: string | undefined;
|
|
9854
|
+
readonly size?: number | undefined;
|
|
9855
|
+
readonly url?: string | undefined;
|
|
9856
|
+
}[];
|
|
8050
9857
|
readonly createdAt: number;
|
|
8051
9858
|
};
|
|
8052
9859
|
};
|
|
@@ -8065,6 +9872,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
8065
9872
|
readonly labels: {
|
|
8066
9873
|
readonly [x: string]: string;
|
|
8067
9874
|
};
|
|
9875
|
+
readonly attachments: readonly {
|
|
9876
|
+
readonly id: string;
|
|
9877
|
+
readonly mediaType: string;
|
|
9878
|
+
readonly name?: string | undefined;
|
|
9879
|
+
readonly size?: number | undefined;
|
|
9880
|
+
readonly url?: string | undefined;
|
|
9881
|
+
}[];
|
|
8068
9882
|
readonly createdAt: number;
|
|
8069
9883
|
}[];
|
|
8070
9884
|
};
|
|
@@ -8416,6 +10230,20 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
8416
10230
|
readonly payload: import("effect/Schema").Json;
|
|
8417
10231
|
};
|
|
8418
10232
|
};
|
|
10233
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
10234
|
+
readonly type: "swarm.attachments.viewed";
|
|
10235
|
+
readonly payload: {
|
|
10236
|
+
readonly callId: string;
|
|
10237
|
+
readonly board: string;
|
|
10238
|
+
readonly message: string;
|
|
10239
|
+
readonly attachments: readonly {
|
|
10240
|
+
readonly id: string;
|
|
10241
|
+
readonly mediaType: string;
|
|
10242
|
+
readonly name?: string | undefined;
|
|
10243
|
+
readonly size?: number | undefined;
|
|
10244
|
+
readonly url?: string | undefined;
|
|
10245
|
+
}[];
|
|
10246
|
+
};
|
|
8419
10247
|
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
8420
10248
|
readonly type: "swarm.board.pulled";
|
|
8421
10249
|
readonly payload: {
|
|
@@ -8437,6 +10265,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
8437
10265
|
readonly labels: {
|
|
8438
10266
|
readonly [x: string]: string;
|
|
8439
10267
|
};
|
|
10268
|
+
readonly attachments: readonly {
|
|
10269
|
+
readonly id: string;
|
|
10270
|
+
readonly mediaType: string;
|
|
10271
|
+
readonly name?: string | undefined;
|
|
10272
|
+
readonly size?: number | undefined;
|
|
10273
|
+
readonly url?: string | undefined;
|
|
10274
|
+
}[];
|
|
8440
10275
|
readonly createdAt: number;
|
|
8441
10276
|
} | undefined;
|
|
8442
10277
|
readonly task?: {
|
|
@@ -8491,6 +10326,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
8491
10326
|
readonly labels: {
|
|
8492
10327
|
readonly [x: string]: string;
|
|
8493
10328
|
};
|
|
10329
|
+
readonly attachments: readonly {
|
|
10330
|
+
readonly id: string;
|
|
10331
|
+
readonly mediaType: string;
|
|
10332
|
+
readonly name?: string | undefined;
|
|
10333
|
+
readonly size?: number | undefined;
|
|
10334
|
+
readonly url?: string | undefined;
|
|
10335
|
+
}[];
|
|
8494
10336
|
readonly createdAt: number;
|
|
8495
10337
|
};
|
|
8496
10338
|
};
|
|
@@ -8509,6 +10351,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
8509
10351
|
readonly labels: {
|
|
8510
10352
|
readonly [x: string]: string;
|
|
8511
10353
|
};
|
|
10354
|
+
readonly attachments: readonly {
|
|
10355
|
+
readonly id: string;
|
|
10356
|
+
readonly mediaType: string;
|
|
10357
|
+
readonly name?: string | undefined;
|
|
10358
|
+
readonly size?: number | undefined;
|
|
10359
|
+
readonly url?: string | undefined;
|
|
10360
|
+
}[];
|
|
8512
10361
|
readonly createdAt: number;
|
|
8513
10362
|
};
|
|
8514
10363
|
};
|
|
@@ -8527,6 +10376,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
8527
10376
|
readonly labels: {
|
|
8528
10377
|
readonly [x: string]: string;
|
|
8529
10378
|
};
|
|
10379
|
+
readonly attachments: readonly {
|
|
10380
|
+
readonly id: string;
|
|
10381
|
+
readonly mediaType: string;
|
|
10382
|
+
readonly name?: string | undefined;
|
|
10383
|
+
readonly size?: number | undefined;
|
|
10384
|
+
readonly url?: string | undefined;
|
|
10385
|
+
}[];
|
|
8530
10386
|
readonly createdAt: number;
|
|
8531
10387
|
}[];
|
|
8532
10388
|
};
|
|
@@ -8878,6 +10734,20 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
8878
10734
|
readonly payload: import("effect/Schema").Json;
|
|
8879
10735
|
};
|
|
8880
10736
|
};
|
|
10737
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
10738
|
+
readonly type: "swarm.attachments.viewed";
|
|
10739
|
+
readonly payload: {
|
|
10740
|
+
readonly callId: string;
|
|
10741
|
+
readonly board: string;
|
|
10742
|
+
readonly message: string;
|
|
10743
|
+
readonly attachments: readonly {
|
|
10744
|
+
readonly id: string;
|
|
10745
|
+
readonly mediaType: string;
|
|
10746
|
+
readonly name?: string | undefined;
|
|
10747
|
+
readonly size?: number | undefined;
|
|
10748
|
+
readonly url?: string | undefined;
|
|
10749
|
+
}[];
|
|
10750
|
+
};
|
|
8881
10751
|
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
8882
10752
|
readonly type: "swarm.board.pulled";
|
|
8883
10753
|
readonly payload: {
|
|
@@ -8899,6 +10769,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
8899
10769
|
readonly labels: {
|
|
8900
10770
|
readonly [x: string]: string;
|
|
8901
10771
|
};
|
|
10772
|
+
readonly attachments: readonly {
|
|
10773
|
+
readonly id: string;
|
|
10774
|
+
readonly mediaType: string;
|
|
10775
|
+
readonly name?: string | undefined;
|
|
10776
|
+
readonly size?: number | undefined;
|
|
10777
|
+
readonly url?: string | undefined;
|
|
10778
|
+
}[];
|
|
8902
10779
|
readonly createdAt: number;
|
|
8903
10780
|
} | undefined;
|
|
8904
10781
|
readonly task?: {
|
|
@@ -8953,6 +10830,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
8953
10830
|
readonly labels: {
|
|
8954
10831
|
readonly [x: string]: string;
|
|
8955
10832
|
};
|
|
10833
|
+
readonly attachments: readonly {
|
|
10834
|
+
readonly id: string;
|
|
10835
|
+
readonly mediaType: string;
|
|
10836
|
+
readonly name?: string | undefined;
|
|
10837
|
+
readonly size?: number | undefined;
|
|
10838
|
+
readonly url?: string | undefined;
|
|
10839
|
+
}[];
|
|
8956
10840
|
readonly createdAt: number;
|
|
8957
10841
|
};
|
|
8958
10842
|
};
|
|
@@ -8971,6 +10855,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
8971
10855
|
readonly labels: {
|
|
8972
10856
|
readonly [x: string]: string;
|
|
8973
10857
|
};
|
|
10858
|
+
readonly attachments: readonly {
|
|
10859
|
+
readonly id: string;
|
|
10860
|
+
readonly mediaType: string;
|
|
10861
|
+
readonly name?: string | undefined;
|
|
10862
|
+
readonly size?: number | undefined;
|
|
10863
|
+
readonly url?: string | undefined;
|
|
10864
|
+
}[];
|
|
8974
10865
|
readonly createdAt: number;
|
|
8975
10866
|
};
|
|
8976
10867
|
};
|
|
@@ -8989,6 +10880,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
8989
10880
|
readonly labels: {
|
|
8990
10881
|
readonly [x: string]: string;
|
|
8991
10882
|
};
|
|
10883
|
+
readonly attachments: readonly {
|
|
10884
|
+
readonly id: string;
|
|
10885
|
+
readonly mediaType: string;
|
|
10886
|
+
readonly name?: string | undefined;
|
|
10887
|
+
readonly size?: number | undefined;
|
|
10888
|
+
readonly url?: string | undefined;
|
|
10889
|
+
}[];
|
|
8992
10890
|
readonly createdAt: number;
|
|
8993
10891
|
}[];
|
|
8994
10892
|
};
|
|
@@ -9341,6 +11239,20 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
9341
11239
|
readonly payload: import("effect/Schema").Json;
|
|
9342
11240
|
};
|
|
9343
11241
|
};
|
|
11242
|
+
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
11243
|
+
readonly type: "swarm.attachments.viewed";
|
|
11244
|
+
readonly payload: {
|
|
11245
|
+
readonly callId: string;
|
|
11246
|
+
readonly board: string;
|
|
11247
|
+
readonly message: string;
|
|
11248
|
+
readonly attachments: readonly {
|
|
11249
|
+
readonly id: string;
|
|
11250
|
+
readonly mediaType: string;
|
|
11251
|
+
readonly name?: string | undefined;
|
|
11252
|
+
readonly size?: number | undefined;
|
|
11253
|
+
readonly url?: string | undefined;
|
|
11254
|
+
}[];
|
|
11255
|
+
};
|
|
9344
11256
|
}) | (Omit<import("@swirls/looms/core").EventInput, "payload" | "type"> & {
|
|
9345
11257
|
readonly type: "swarm.board.pulled";
|
|
9346
11258
|
readonly payload: {
|
|
@@ -9362,6 +11274,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
9362
11274
|
readonly labels: {
|
|
9363
11275
|
readonly [x: string]: string;
|
|
9364
11276
|
};
|
|
11277
|
+
readonly attachments: readonly {
|
|
11278
|
+
readonly id: string;
|
|
11279
|
+
readonly mediaType: string;
|
|
11280
|
+
readonly name?: string | undefined;
|
|
11281
|
+
readonly size?: number | undefined;
|
|
11282
|
+
readonly url?: string | undefined;
|
|
11283
|
+
}[];
|
|
9365
11284
|
readonly createdAt: number;
|
|
9366
11285
|
} | undefined;
|
|
9367
11286
|
readonly task?: {
|
|
@@ -9416,6 +11335,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
9416
11335
|
readonly labels: {
|
|
9417
11336
|
readonly [x: string]: string;
|
|
9418
11337
|
};
|
|
11338
|
+
readonly attachments: readonly {
|
|
11339
|
+
readonly id: string;
|
|
11340
|
+
readonly mediaType: string;
|
|
11341
|
+
readonly name?: string | undefined;
|
|
11342
|
+
readonly size?: number | undefined;
|
|
11343
|
+
readonly url?: string | undefined;
|
|
11344
|
+
}[];
|
|
9419
11345
|
readonly createdAt: number;
|
|
9420
11346
|
};
|
|
9421
11347
|
};
|
|
@@ -9434,6 +11360,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
9434
11360
|
readonly labels: {
|
|
9435
11361
|
readonly [x: string]: string;
|
|
9436
11362
|
};
|
|
11363
|
+
readonly attachments: readonly {
|
|
11364
|
+
readonly id: string;
|
|
11365
|
+
readonly mediaType: string;
|
|
11366
|
+
readonly name?: string | undefined;
|
|
11367
|
+
readonly size?: number | undefined;
|
|
11368
|
+
readonly url?: string | undefined;
|
|
11369
|
+
}[];
|
|
9437
11370
|
readonly createdAt: number;
|
|
9438
11371
|
};
|
|
9439
11372
|
};
|
|
@@ -9452,6 +11385,13 @@ export declare function swarm(options?: SwarmModuleOptions): import("@swirls/loo
|
|
|
9452
11385
|
readonly labels: {
|
|
9453
11386
|
readonly [x: string]: string;
|
|
9454
11387
|
};
|
|
11388
|
+
readonly attachments: readonly {
|
|
11389
|
+
readonly id: string;
|
|
11390
|
+
readonly mediaType: string;
|
|
11391
|
+
readonly name?: string | undefined;
|
|
11392
|
+
readonly size?: number | undefined;
|
|
11393
|
+
readonly url?: string | undefined;
|
|
11394
|
+
}[];
|
|
9455
11395
|
readonly createdAt: number;
|
|
9456
11396
|
}[];
|
|
9457
11397
|
};
|