@hotmeshio/hotmesh 0.3.32 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (207) hide show
  1. package/README.md +128 -823
  2. package/build/index.d.ts +9 -9
  3. package/build/index.js +10 -10
  4. package/build/modules/enums.d.ts +23 -23
  5. package/build/modules/enums.js +26 -26
  6. package/build/modules/errors.d.ts +16 -16
  7. package/build/modules/errors.js +28 -28
  8. package/build/modules/key.js +190 -1
  9. package/build/modules/utils.js +374 -1
  10. package/build/package.json +22 -21
  11. package/build/services/activities/activity.js +549 -1
  12. package/build/services/activities/await.js +114 -1
  13. package/build/services/activities/cycle.js +112 -1
  14. package/build/services/activities/hook.js +168 -1
  15. package/build/services/activities/index.js +20 -1
  16. package/build/services/activities/interrupt.js +158 -1
  17. package/build/services/activities/signal.js +134 -1
  18. package/build/services/activities/trigger.js +246 -1
  19. package/build/services/activities/worker.js +106 -1
  20. package/build/services/collator/index.js +293 -1
  21. package/build/services/compiler/deployer.js +488 -1
  22. package/build/services/compiler/index.js +112 -1
  23. package/build/services/compiler/validator.js +147 -1
  24. package/build/services/engine/index.js +761 -1
  25. package/build/services/exporter/index.js +126 -1
  26. package/build/services/hotmesh/index.d.ts +160 -17
  27. package/build/services/hotmesh/index.js +160 -17
  28. package/build/services/mapper/index.js +81 -1
  29. package/build/services/{meshflow → memflow}/client.d.ts +3 -3
  30. package/build/services/{meshflow → memflow}/client.js +17 -16
  31. package/build/services/{meshflow → memflow}/connection.d.ts +2 -2
  32. package/build/services/{meshflow → memflow}/connection.js +1 -1
  33. package/build/services/memflow/context.d.ts +143 -0
  34. package/build/services/memflow/context.js +299 -0
  35. package/build/services/{meshflow → memflow}/exporter.d.ts +6 -6
  36. package/build/services/memflow/exporter.js +215 -0
  37. package/build/services/{meshflow → memflow}/handle.d.ts +4 -4
  38. package/build/services/{meshflow → memflow}/handle.js +2 -2
  39. package/build/services/{meshflow → memflow}/index.d.ts +18 -13
  40. package/build/services/{meshflow → memflow}/index.js +26 -21
  41. package/build/services/{meshflow → memflow}/schemas/factory.d.ts +4 -4
  42. package/build/services/{meshflow → memflow}/schemas/factory.js +5 -5
  43. package/build/services/{meshflow → memflow}/search.d.ts +1 -1
  44. package/build/services/{meshflow → memflow}/search.js +4 -4
  45. package/build/services/{meshflow → memflow}/worker.d.ts +5 -5
  46. package/build/services/{meshflow → memflow}/worker.js +24 -24
  47. package/build/services/memflow/workflow/common.d.ts +20 -0
  48. package/build/services/memflow/workflow/common.js +47 -0
  49. package/build/services/memflow/workflow/contextMethods.d.ts +14 -0
  50. package/build/services/memflow/workflow/contextMethods.js +33 -0
  51. package/build/services/{meshflow → memflow}/workflow/execChild.js +12 -12
  52. package/build/services/memflow/workflow/execHook.d.ts +65 -0
  53. package/build/services/memflow/workflow/execHook.js +73 -0
  54. package/build/services/{meshflow → memflow}/workflow/hook.js +19 -3
  55. package/build/services/{meshflow → memflow}/workflow/index.d.ts +7 -3
  56. package/build/services/{meshflow → memflow}/workflow/index.js +7 -3
  57. package/build/services/{meshflow → memflow}/workflow/proxyActivities.d.ts +2 -2
  58. package/build/services/{meshflow → memflow}/workflow/proxyActivities.js +8 -8
  59. package/build/services/{meshflow → memflow}/workflow/sleepFor.js +2 -2
  60. package/build/services/{meshflow → memflow}/workflow/waitFor.js +2 -2
  61. package/build/services/meshdata/index.d.ts +24 -24
  62. package/build/services/meshdata/index.js +40 -40
  63. package/build/services/pipe/functions/array.js +74 -1
  64. package/build/services/pipe/functions/bitwise.js +24 -1
  65. package/build/services/pipe/functions/conditional.js +36 -1
  66. package/build/services/pipe/functions/cron.js +40 -1
  67. package/build/services/pipe/functions/date.js +171 -1
  68. package/build/services/pipe/functions/index.js +30 -1
  69. package/build/services/pipe/functions/json.js +12 -1
  70. package/build/services/pipe/functions/logical.js +12 -1
  71. package/build/services/pipe/functions/math.js +184 -1
  72. package/build/services/pipe/functions/number.js +60 -1
  73. package/build/services/pipe/functions/object.js +81 -1
  74. package/build/services/pipe/functions/string.js +69 -1
  75. package/build/services/pipe/functions/symbol.js +33 -1
  76. package/build/services/pipe/functions/unary.js +18 -1
  77. package/build/services/pipe/index.js +242 -1
  78. package/build/services/quorum/index.js +263 -1
  79. package/build/services/reporter/index.js +348 -1
  80. package/build/services/router/config/index.d.ts +11 -0
  81. package/build/services/router/config/index.js +36 -0
  82. package/build/services/router/consumption/index.d.ts +34 -0
  83. package/build/services/router/consumption/index.js +395 -0
  84. package/build/services/router/error-handling/index.d.ts +8 -0
  85. package/build/services/router/error-handling/index.js +98 -0
  86. package/build/services/router/index.d.ts +13 -16
  87. package/build/services/router/index.js +121 -1
  88. package/build/services/router/lifecycle/index.d.ts +27 -0
  89. package/build/services/router/lifecycle/index.js +80 -0
  90. package/build/services/router/telemetry/index.d.ts +11 -0
  91. package/build/services/router/telemetry/index.js +32 -0
  92. package/build/services/router/throttling/index.d.ts +23 -0
  93. package/build/services/router/throttling/index.js +76 -0
  94. package/build/services/search/index.d.ts +2 -1
  95. package/build/services/search/providers/postgres/postgres.d.ts +2 -1
  96. package/build/services/search/providers/postgres/postgres.js +149 -1
  97. package/build/services/search/providers/redis/ioredis.d.ts +1 -0
  98. package/build/services/search/providers/redis/ioredis.js +121 -1
  99. package/build/services/search/providers/redis/redis.d.ts +1 -0
  100. package/build/services/search/providers/redis/redis.js +134 -1
  101. package/build/services/serializer/index.js +282 -1
  102. package/build/services/store/providers/postgres/kvsql.d.ts +1 -1
  103. package/build/services/store/providers/postgres/kvsql.js +198 -1
  104. package/build/services/store/providers/postgres/kvtables.js +441 -1
  105. package/build/services/store/providers/postgres/kvtransaction.js +248 -1
  106. package/build/services/store/providers/postgres/kvtypes/hash.d.ts +1 -1
  107. package/build/services/store/providers/postgres/kvtypes/hash.js +1287 -1
  108. package/build/services/store/providers/postgres/kvtypes/list.js +194 -1
  109. package/build/services/store/providers/postgres/kvtypes/string.js +115 -1
  110. package/build/services/store/providers/postgres/kvtypes/zset.js +214 -1
  111. package/build/services/store/providers/postgres/postgres.js +1036 -1
  112. package/build/services/store/providers/redis/_base.js +980 -1
  113. package/build/services/store/providers/redis/ioredis.js +180 -1
  114. package/build/services/store/providers/redis/redis.js +199 -1
  115. package/build/services/store/providers/store-initializable.js +2 -1
  116. package/build/services/stream/index.d.ts +5 -0
  117. package/build/services/stream/providers/nats/nats.d.ts +1 -0
  118. package/build/services/stream/providers/nats/nats.js +225 -1
  119. package/build/services/stream/providers/postgres/kvtables.d.ts +1 -0
  120. package/build/services/stream/providers/postgres/kvtables.js +146 -1
  121. package/build/services/stream/providers/postgres/postgres.d.ts +19 -0
  122. package/build/services/stream/providers/postgres/postgres.js +519 -1
  123. package/build/services/stream/providers/redis/ioredis.d.ts +1 -0
  124. package/build/services/stream/providers/redis/ioredis.js +272 -1
  125. package/build/services/stream/providers/redis/redis.d.ts +1 -0
  126. package/build/services/stream/providers/redis/redis.js +305 -1
  127. package/build/services/stream/providers/stream-initializable.js +2 -1
  128. package/build/services/sub/providers/nats/nats.js +105 -1
  129. package/build/services/sub/providers/postgres/postgres.js +92 -1
  130. package/build/services/sub/providers/redis/ioredis.js +81 -1
  131. package/build/services/sub/providers/redis/redis.js +72 -1
  132. package/build/services/task/index.js +206 -1
  133. package/build/services/telemetry/index.js +306 -1
  134. package/build/services/worker/index.js +197 -1
  135. package/build/types/error.d.ts +5 -5
  136. package/build/types/exporter.d.ts +1 -1
  137. package/build/types/index.d.ts +3 -3
  138. package/build/types/manifest.d.ts +2 -2
  139. package/build/types/{meshflow.d.ts → memflow.d.ts} +15 -15
  140. package/build/types/meshdata.d.ts +3 -3
  141. package/build/types/postgres.d.ts +7 -0
  142. package/build/types/stream.d.ts +3 -0
  143. package/index.ts +11 -11
  144. package/package.json +22 -21
  145. package/.github/ISSUE_TEMPLATE/bug_report.md +0 -38
  146. package/.github/ISSUE_TEMPLATE/feature_request.md +0 -20
  147. package/build/services/meshflow/exporter.js +0 -1
  148. package/build/services/meshflow/workflow/common.d.ts +0 -18
  149. package/build/services/meshflow/workflow/common.js +0 -45
  150. package/typedoc.json +0 -46
  151. package/types/activity.ts +0 -268
  152. package/types/app.ts +0 -20
  153. package/types/async.ts +0 -6
  154. package/types/cache.ts +0 -1
  155. package/types/collator.ts +0 -9
  156. package/types/error.ts +0 -56
  157. package/types/exporter.ts +0 -102
  158. package/types/hook.ts +0 -44
  159. package/types/hotmesh.ts +0 -314
  160. package/types/index.ts +0 -306
  161. package/types/job.ts +0 -233
  162. package/types/logger.ts +0 -8
  163. package/types/manifest.ts +0 -70
  164. package/types/map.ts +0 -5
  165. package/types/meshcall.ts +0 -235
  166. package/types/meshdata.ts +0 -278
  167. package/types/meshflow.ts +0 -645
  168. package/types/ms.d.ts +0 -7
  169. package/types/nats.ts +0 -270
  170. package/types/pipe.ts +0 -90
  171. package/types/postgres.ts +0 -105
  172. package/types/provider.ts +0 -161
  173. package/types/quorum.ts +0 -167
  174. package/types/redis.ts +0 -404
  175. package/types/serializer.ts +0 -40
  176. package/types/stats.ts +0 -117
  177. package/types/stream.ts +0 -227
  178. package/types/task.ts +0 -7
  179. package/types/telemetry.ts +0 -16
  180. package/types/transition.ts +0 -20
  181. /package/build/services/{meshflow → memflow}/workflow/all.d.ts +0 -0
  182. /package/build/services/{meshflow → memflow}/workflow/all.js +0 -0
  183. /package/build/services/{meshflow → memflow}/workflow/context.d.ts +0 -0
  184. /package/build/services/{meshflow → memflow}/workflow/context.js +0 -0
  185. /package/build/services/{meshflow → memflow}/workflow/didRun.d.ts +0 -0
  186. /package/build/services/{meshflow → memflow}/workflow/didRun.js +0 -0
  187. /package/build/services/{meshflow → memflow}/workflow/emit.d.ts +0 -0
  188. /package/build/services/{meshflow → memflow}/workflow/emit.js +0 -0
  189. /package/build/services/{meshflow → memflow}/workflow/enrich.d.ts +0 -0
  190. /package/build/services/{meshflow → memflow}/workflow/enrich.js +0 -0
  191. /package/build/services/{meshflow → memflow}/workflow/execChild.d.ts +0 -0
  192. /package/build/services/{meshflow → memflow}/workflow/hook.d.ts +0 -0
  193. /package/build/services/{meshflow → memflow}/workflow/interrupt.d.ts +0 -0
  194. /package/build/services/{meshflow → memflow}/workflow/interrupt.js +0 -0
  195. /package/build/services/{meshflow → memflow}/workflow/isSideEffectAllowed.d.ts +0 -0
  196. /package/build/services/{meshflow → memflow}/workflow/isSideEffectAllowed.js +0 -0
  197. /package/build/services/{meshflow → memflow}/workflow/random.d.ts +0 -0
  198. /package/build/services/{meshflow → memflow}/workflow/random.js +0 -0
  199. /package/build/services/{meshflow → memflow}/workflow/searchMethods.d.ts +0 -0
  200. /package/build/services/{meshflow → memflow}/workflow/searchMethods.js +0 -0
  201. /package/build/services/{meshflow → memflow}/workflow/signal.d.ts +0 -0
  202. /package/build/services/{meshflow → memflow}/workflow/signal.js +0 -0
  203. /package/build/services/{meshflow → memflow}/workflow/sleepFor.d.ts +0 -0
  204. /package/build/services/{meshflow → memflow}/workflow/trace.d.ts +0 -0
  205. /package/build/services/{meshflow → memflow}/workflow/trace.js +0 -0
  206. /package/build/services/{meshflow → memflow}/workflow/waitFor.d.ts +0 -0
  207. /package/build/types/{meshflow.js → memflow.js} +0 -0
package/types/hotmesh.ts DELETED
@@ -1,314 +0,0 @@
1
- import { ILogger } from '../services/logger';
2
- import { HotMesh as HotMeshService } from '../services/hotmesh';
3
-
4
- import { HookRules } from './hook';
5
- import { StreamData, StreamDataResponse } from './stream';
6
- import { LogLevel } from './logger';
7
- import { ProviderClient, ProviderConfig, ProvidersConfig } from './provider';
8
-
9
- /**
10
- * the full set of entity types that are stored in the key/value store
11
- */
12
- enum KeyType {
13
- APP = 'APP',
14
- THROTTLE_RATE = 'THROTTLE_RATE',
15
- HOOKS = 'HOOKS',
16
- JOB_DEPENDENTS = 'JOB_DEPENDENTS',
17
- JOB_STATE = 'JOB_STATE',
18
- JOB_STATS_GENERAL = 'JOB_STATS_GENERAL',
19
- JOB_STATS_MEDIAN = 'JOB_STATS_MEDIAN',
20
- JOB_STATS_INDEX = 'JOB_STATS_INDEX',
21
- HOTMESH = 'HOTMESH',
22
- QUORUM = 'QUORUM',
23
- SCHEMAS = 'SCHEMAS',
24
- SIGNALS = 'SIGNALS',
25
- STREAMS = 'STREAMS',
26
- SUBSCRIPTIONS = 'SUBSCRIPTIONS',
27
- SUBSCRIPTION_PATTERNS = 'SUBSCRIPTION_PATTERNS',
28
- SYMKEYS = 'SYMKEYS',
29
- SYMVALS = 'SYMVALS',
30
- TIME_RANGE = 'TIME_RANGE',
31
- WORK_ITEMS = 'WORK_ITEMS',
32
- }
33
-
34
- /**
35
- * minting keys, requires one or more of the following parameters
36
- */
37
- type KeyStoreParams = {
38
- appId?: string; //app id is a uuid for a hotmesh app
39
- engineId?: string; //unique auto-generated guid for an ephemeral engine instance
40
- appVersion?: string; //(e.g. "1.0.0", "1", "1.0")
41
- jobId?: string; //a customer-defined id for job; must be unique for the entire app
42
- activityId?: string; //activity id is a uuid for a given hotmesh app
43
- jobKey?: string; //a customer-defined label for a job that serves to categorize events
44
- dateTime?: string; //UTC date time: YYYY-MM-DDTHH:MM (20203-04-12T00:00); serves as a time-series bucket for the job_key
45
- facet?: string; //data path starting at root with values separated by colons (e.g. "object/type:bar")
46
- topic?: string; //topic name (e.g., "foo" or "" for top-level)
47
- timeValue?: number; //time value (rounded to minute) (for delete range)
48
- scoutType?: 'signal' | 'time' | 'activate'; //a single member of the quorum serves as the 'scout' for the group, triaging tasks for the collective
49
- };
50
-
51
- type HotMesh = typeof HotMeshService;
52
-
53
- type HotMeshEngine = {
54
- /**
55
- * set by hotmesh once the connnector service instances the provider
56
- * @private
57
- */
58
- store?: ProviderClient;
59
- /**
60
- * set by hotmesh once the connnector service instances the provider
61
- * @private
62
- */
63
- stream?: ProviderClient;
64
- /**
65
- * set by hotmesh once the connnector service instances the provider
66
- * @private
67
- */
68
- sub?: ProviderClient;
69
- /**
70
- * set by hotmesh once the connnector service instances the provider
71
- * AND if the provider requires a separate channel for publishing
72
- * @private
73
- */
74
- pub?: ProviderClient;
75
- /**
76
- * set by hotmesh once the connnector service instances the provider
77
- * @private
78
- */
79
- search?: ProviderClient;
80
-
81
- /**
82
- * redis connection options; replaced with 'connection'
83
- * @deprecated
84
- */
85
- redis?: ProviderConfig;
86
-
87
- /**
88
- * short-form format for the connection options for the
89
- * store, stream, sub, and search clients
90
- */
91
- connection?: ProviderConfig | ProvidersConfig;
92
-
93
- /**
94
- * long-form format for the connection options for the
95
- * store, stream, sub, and search clients
96
- */
97
- // connections?: {
98
- // store: ProviderConfig;
99
- // stream: ProviderConfig;
100
- // sub: ProviderConfig;
101
- // pub?: ProviderConfig; //system injects if necessary (if store channel cannot be used for pub)
102
- // search?: ProviderConfig; //inherits from store if not set
103
- // };
104
-
105
- /**
106
- * the number of milliseconds to wait before reclaiming a stream;
107
- * depending upon the provider this may be an explicit retry event,
108
- * consuming a message from the stream and re-queueing it (dlq, etc),
109
- * or it may be a configurable delay before the provider exposes the
110
- * message to the consumer again. It is up to the provider, but expressed
111
- * in milliseconds here.
112
- */
113
- reclaimDelay?: number;
114
-
115
- /**
116
- * the number of times to reclaim a stream before giving up
117
- * and moving the message to a dead-letter queue or other
118
- * error handling mechanism
119
- */
120
- reclaimCount?: number;
121
-
122
- /**
123
- * if true, the engine will not route stream messages
124
- * to the worker
125
- * @default false
126
- */
127
- readonly?: boolean;
128
- };
129
-
130
- type HotMeshWorker = {
131
- /**
132
- * the topic that the worker subscribes to
133
- */
134
- topic: string;
135
-
136
- /**
137
- * set by hotmesh once the connnector service instances the provider
138
- * AND if the provider requires a separate channel for publishing
139
- * @private
140
- */
141
- pub?: ProviderClient;
142
-
143
- /**
144
- * set by hotmesh once the connnector service instances the provider
145
- * @private
146
- */
147
- store?: ProviderClient;
148
- /**
149
- * set by hotmesh once the connnector service instances the provider
150
- * @private
151
- */
152
- stream?: ProviderClient;
153
- /**
154
- * set by hotmesh once the connnector service instances the provider
155
- * @private
156
- */
157
- sub?: ProviderClient;
158
- /**
159
- * set by hotmesh once the connnector service instances the provider
160
- * @private
161
- */
162
- search?: ProviderClient;
163
-
164
- /**
165
- * redis connection options; replaced with 'connection'
166
- * @deprecated
167
- */
168
- redis?: ProviderConfig;
169
-
170
- /**
171
- * short-form format for the connection options for the
172
- * store, stream, sub, and search clients
173
- */
174
- connection?: ProviderConfig | ProvidersConfig;
175
-
176
- /**
177
- * long-form format for the connection options for the
178
- * store, stream, sub, and search clients
179
- */
180
- // connections?: {
181
- // store: ProviderConfig;
182
- // stream: ProviderConfig;
183
- // sub: ProviderConfig;
184
- // pub?: ProviderConfig; //if store channel cannot be used for pub
185
- // search?: ProviderConfig; //inherits from store if not set
186
- // };
187
-
188
- /**
189
- * the number of milliseconds to wait before reclaiming a stream;
190
- * depending upon the provider this may be an explicit retry event,
191
- * consuming a message from the stream and re-queueing it (dlq, etc),
192
- * or it may be a configurable delay before the provider exposes the
193
- * message to the consumer again. It is up to the provider, but expressed
194
- * in milliseconds here.
195
- */
196
- reclaimDelay?: number;
197
-
198
- /**
199
- * the number of times to reclaim a stream before giving up
200
- * and moving the message to a dead-letter queue or other
201
- * error handling mechanism
202
- */
203
- reclaimCount?: number;
204
-
205
- /**
206
- * The callback function to execute when a message is dequeued
207
- * from the target stream
208
- */
209
- callback: (payload: StreamData) => Promise<StreamDataResponse>;
210
- };
211
-
212
- type HotMeshConfig = {
213
- appId: string;
214
- namespace?: string;
215
- name?: string;
216
- guid?: string;
217
- logger?: ILogger;
218
- logLevel?: LogLevel;
219
- engine?: HotMeshEngine;
220
- workers?: HotMeshWorker[];
221
- };
222
-
223
- type HotMeshGraph = {
224
- /**
225
- * the unique topic that the graph subscribes to, creating one
226
- * job for each idempotent message that is received
227
- */
228
- subscribes: string;
229
- /**
230
- * the unique topic that the graph publishes/emits to when the job completes
231
- */
232
- publishes?: string;
233
- /**
234
- * the number of seconds that the completed job should be
235
- * left in the store before it is deleted
236
- */
237
- expire?: number;
238
- /**
239
- * if the graph is reentrant and has open activities, the
240
- * `persistent` flag will emit the job completed event.
241
- * This allows the 'main' thread/trigger that started the job to
242
- * signal to subscribers (or the parent) that the job
243
- * is 'done', while still leaving the job in a
244
- * state that allows for reentry (such as cyclical hooks).
245
- */
246
- persistent?: boolean;
247
- /**
248
- * the schema for the output of the graph
249
- */
250
- output?: {
251
- schema: Record<string, any>;
252
- };
253
- /**
254
- * the schema for the input of the graph
255
- */
256
- input?: {
257
- schema: Record<string, any>;
258
- };
259
- /**
260
- * the activities that define the graph
261
- */
262
- activities: Record<string, any>;
263
- /**
264
- * the transitions that define how activities are connected
265
- */
266
- transitions?: Record<string, any>;
267
- /**
268
- * the reentrant hook rules that define how to reenter a running graph
269
- */
270
- hooks?: HookRules;
271
- };
272
-
273
- type HotMeshSettings = {
274
- namespace: string;
275
- version: string;
276
- };
277
-
278
- type HotMeshManifest = {
279
- app: {
280
- id: string;
281
- version: string;
282
- settings: Record<string, any>;
283
- graphs: HotMeshGraph[];
284
- };
285
- };
286
-
287
- type VersionedFields = {
288
- [K in `versions/${string}`]: any;
289
- };
290
-
291
- type HotMeshApp = VersionedFields & {
292
- id: string; // customer's chosen app id
293
- version: string; // customer's chosen version scheme (semver, etc)
294
- settings?: string; // stringified JSON for app settings
295
- active?: boolean; // is the app active?
296
- };
297
-
298
- type HotMeshApps = {
299
- [appId: string]: HotMeshApp;
300
- };
301
-
302
- export {
303
- HotMesh,
304
- HotMeshEngine,
305
- HotMeshWorker,
306
- HotMeshSettings,
307
- HotMeshApp,
308
- HotMeshApps,
309
- HotMeshConfig,
310
- HotMeshManifest,
311
- HotMeshGraph,
312
- KeyType,
313
- KeyStoreParams,
314
- };
package/types/index.ts DELETED
@@ -1,306 +0,0 @@
1
- export {
2
- ActivityType,
3
- ActivityDataType,
4
- ActivityContext,
5
- ActivityData,
6
- ActivityDuplex,
7
- ActivityLeg,
8
- ActivityMetadata,
9
- Consumes,
10
- AwaitActivity,
11
- BaseActivity,
12
- CycleActivity,
13
- HookActivity,
14
- WorkerActivity,
15
- InterruptActivity,
16
- SignalActivity,
17
- TriggerActivity,
18
- TriggerActivityStats,
19
- } from './activity';
20
- export { App, AppVID, AppTransitions, AppSubscriptions } from './app';
21
- export { AsyncSignal } from './async';
22
- export { CacheMode } from './cache';
23
- export { CollationFaultType, CollationStage } from './collator';
24
- export {
25
- ActivityConfig,
26
- ActivityWorkflowDataType,
27
- ChildResponseType,
28
- ClientConfig,
29
- ClientWorkflow,
30
- ContextType,
31
- Connection,
32
- ProxyResponseType,
33
- ProxyType,
34
- Registry,
35
- SignalOptions,
36
- FindJobsOptions,
37
- FindOptions,
38
- FindWhereOptions,
39
- FindWhereQuery,
40
- HookOptions,
41
- SearchResults,
42
- WorkflowConfig,
43
- WorkerConfig,
44
- WorkerOptions,
45
- WorkflowContext,
46
- WorkflowSearchOptions,
47
- WorkflowSearchSchema,
48
- WorkflowDataType,
49
- WorkflowOptions,
50
- } from './meshflow';
51
- export {
52
- MeshFlowChildErrorType,
53
- MeshFlowProxyErrorType,
54
- MeshFlowSleepErrorType,
55
- MeshFlowWaitForAllErrorType,
56
- MeshFlowWaitForErrorType,
57
- } from './error';
58
- export {
59
- ActivityAction,
60
- DependencyExport,
61
- MeshFlowJobExport,
62
- ExportCycles,
63
- ExportItem,
64
- ExportOptions,
65
- ExportTransitions,
66
- JobAction,
67
- JobExport,
68
- JobActionExport,
69
- JobTimeline,
70
- } from './exporter';
71
- export {
72
- HookCondition,
73
- HookConditions,
74
- HookGate,
75
- HookInterface,
76
- HookRule,
77
- HookRules,
78
- HookSignal,
79
- } from './hook';
80
- export {
81
- HotMesh,
82
- HotMeshEngine,
83
- HotMeshWorker,
84
- HotMeshSettings,
85
- HotMeshApp,
86
- HotMeshApps,
87
- HotMeshConfig,
88
- HotMeshManifest,
89
- HotMeshGraph,
90
- KeyType,
91
- KeyStoreParams,
92
- } from './hotmesh';
93
- export { ILogger, LogLevel } from './logger';
94
- export {
95
- ExtensionType,
96
- JobCompletionOptions,
97
- JobData,
98
- JobsData,
99
- JobInterruptOptions,
100
- JobMetadata,
101
- JobOutput,
102
- JobState,
103
- JobStatus,
104
- PartialJobState,
105
- } from './job';
106
- export {
107
- DB,
108
- Profile,
109
- Namespaces,
110
- Entity,
111
- EntityInstanceTypes,
112
- SubClassInstance,
113
- AllSubclassInstances,
114
- SubclassType,
115
- Namespace,
116
- Instance,
117
- Instances,
118
- Profiles,
119
- } from './manifest';
120
- export { MappingStatements } from './map';
121
- export {
122
- Pipe,
123
- PipeContext,
124
- PipeItem,
125
- PipeItems,
126
- PipeObject,
127
- ReduceObject,
128
- } from './pipe';
129
- export {
130
- ProviderClass,
131
- ProviderClient,
132
- ProviderConfig,
133
- ProviderTransaction,
134
- Providers,
135
- TransactionResultList,
136
- ProviderNativeClient,
137
- ProviderOptions,
138
- } from './provider';
139
- export {
140
- MeshCallConnectParams,
141
- MeshCallExecParams,
142
- MeshCallCronParams,
143
- MeshCallExecOptions,
144
- MeshCallCronOptions,
145
- MeshCallInterruptOptions,
146
- MeshCallInterruptParams,
147
- MeshCallFlushParams,
148
- } from './meshcall';
149
- export {
150
- CallOptions,
151
- MeshDataWorkflowOptions,
152
- ConnectOptions,
153
- ConnectionInput,
154
- ExecInput,
155
- } from './meshdata';
156
- export {
157
- PostgresClassType,
158
- PostgresClientOptions,
159
- PostgresClientType,
160
- PostgresConsumerGroup,
161
- PostgresPendingMessage,
162
- PostgresPoolClientType,
163
- PostgresQueryConfigType,
164
- PostgresQueryResultType,
165
- PostgresStreamMessage,
166
- PostgresStreamOptions,
167
- PostgresTransaction,
168
- } from './postgres';
169
- export {
170
- ActivateMessage,
171
- CronMessage,
172
- JobMessage,
173
- JobMessageCallback,
174
- PingMessage,
175
- PongMessage,
176
- QuorumMessage,
177
- QuorumMessageCallback,
178
- QuorumProfile,
179
- RollCallMessage,
180
- RollCallOptions,
181
- SubscriptionCallback,
182
- SubscriptionOptions,
183
- SystemHealth,
184
- ThrottleMessage,
185
- ThrottleOptions,
186
- WorkMessage,
187
- } from './quorum';
188
- export {
189
- NatsAckPolicy,
190
- NatsAckPolicyExplicitType,
191
- NatsClassType,
192
- NatsClientType,
193
- NatsClientOptions,
194
- NatsConsumerConfigType,
195
- NatsJetStreamManager,
196
- NatsConnection,
197
- NatsJetStreamType,
198
- NatsConnectionOptions,
199
- NatsConsumerConfig,
200
- NatsConsumerInfo,
201
- NatsConsumerManager,
202
- NatsDeliveryInfo,
203
- NatsJetStreamOptions,
204
- NatsError,
205
- NatsErrorType,
206
- NatsJetStreamClient,
207
- NatsJsMsg,
208
- NatsMessageType,
209
- NatsMsgExpect,
210
- NatsPubAck,
211
- NatsPubAckType,
212
- NatsPublishOptions,
213
- NatsRetentionPolicy,
214
- NatsRetentionPolicyWorkqueueType,
215
- NatsSequenceInfo,
216
- NatsStorageMemoryType,
217
- NatsStorageType,
218
- NatsStreamConfig,
219
- NatsStreamInfo,
220
- NatsStreamManager,
221
- NatsStreamConfigType,
222
- NatsStreamInfoType,
223
- NatsStreamOptions,
224
- NatsStreamState,
225
- NatsTransaction,
226
- } from './nats';
227
- export {
228
- RedisClass,
229
- RedisRedisClientType,
230
- RedisRedisClientOptions,
231
- RedisRedisClassType,
232
- IORedisClientType,
233
- RedisClient,
234
- RedisMulti,
235
- RedisRedisMultiType,
236
- IORedisClientOptions,
237
- IORedisClassType,
238
- IORedisMultiType,
239
- RedisOptions,
240
- isRedisClient,
241
- isIORedisClient,
242
- } from './redis';
243
- export {
244
- JSONSchema,
245
- StringAnyType,
246
- StringScalarType,
247
- StringStringType,
248
- SymbolMap,
249
- SymbolMaps,
250
- SymbolRanges,
251
- Symbols,
252
- SymbolSets,
253
- } from './serializer';
254
- export {
255
- AggregatedData,
256
- CountByFacet,
257
- GetStatsOptions,
258
- IdsData,
259
- Measure,
260
- MeasureIds,
261
- MetricTypes,
262
- StatType,
263
- StatsType,
264
- IdsResponse,
265
- JobStats,
266
- JobStatsInput,
267
- JobStatsRange,
268
- StatsResponse,
269
- Segment,
270
- TimeSegment,
271
- } from './stats';
272
- export {
273
- ReclaimedMessageType,
274
- RouterConfig,
275
- StreamCode,
276
- StreamConfig,
277
- StreamData,
278
- StreamDataType,
279
- StreamError,
280
- StreamDataResponse,
281
- StreamMessage,
282
- StreamMessageMetadata,
283
- StreamProviderType,
284
- StreamRetryPolicy,
285
- StreamRole,
286
- StreamStats,
287
- StreamStatus,
288
- } from './stream';
289
- export {
290
- context,
291
- Context,
292
- Counter,
293
- Meter,
294
- metrics,
295
- propagation,
296
- SpanContext,
297
- Span,
298
- SpanStatus,
299
- SpanStatusCode,
300
- SpanKind,
301
- trace,
302
- Tracer,
303
- ValueType,
304
- } from './telemetry';
305
- export { WorkListTaskType } from './task';
306
- export { TransitionMatch, TransitionRule, Transitions } from './transition';