@workglow/test 0.0.86 → 0.0.87

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 (264) hide show
  1. package/dist/binding/FsFolderTaskGraphRepository.d.ts +15 -0
  2. package/dist/binding/FsFolderTaskGraphRepository.d.ts.map +1 -0
  3. package/dist/binding/FsFolderTaskOutputRepository.d.ts +15 -0
  4. package/dist/binding/FsFolderTaskOutputRepository.d.ts.map +1 -0
  5. package/dist/binding/InMemoryTaskGraphRepository.d.ts +15 -0
  6. package/dist/binding/InMemoryTaskGraphRepository.d.ts.map +1 -0
  7. package/dist/binding/InMemoryTaskOutputRepository.d.ts +15 -0
  8. package/dist/binding/InMemoryTaskOutputRepository.d.ts.map +1 -0
  9. package/dist/binding/IndexedDbModelRepository.d.ts +14 -0
  10. package/dist/binding/IndexedDbModelRepository.d.ts.map +1 -0
  11. package/dist/binding/IndexedDbTaskGraphRepository.d.ts +15 -0
  12. package/dist/binding/IndexedDbTaskGraphRepository.d.ts.map +1 -0
  13. package/dist/binding/IndexedDbTaskOutputRepository.d.ts +15 -0
  14. package/dist/binding/IndexedDbTaskOutputRepository.d.ts.map +1 -0
  15. package/dist/binding/PostgresModelRepository.d.ts +15 -0
  16. package/dist/binding/PostgresModelRepository.d.ts.map +1 -0
  17. package/dist/binding/PostgresTaskGraphRepository.d.ts +16 -0
  18. package/dist/binding/PostgresTaskGraphRepository.d.ts.map +1 -0
  19. package/dist/binding/PostgresTaskOutputRepository.d.ts +16 -0
  20. package/dist/binding/PostgresTaskOutputRepository.d.ts.map +1 -0
  21. package/dist/binding/RegisterTasks.d.ts +7 -0
  22. package/dist/binding/RegisterTasks.d.ts.map +1 -0
  23. package/dist/binding/SqliteModelRepository.d.ts +14 -0
  24. package/dist/binding/SqliteModelRepository.d.ts.map +1 -0
  25. package/dist/binding/SqliteTaskGraphRepository.d.ts +15 -0
  26. package/dist/binding/SqliteTaskGraphRepository.d.ts.map +1 -0
  27. package/dist/binding/SqliteTaskOutputRepository.d.ts +15 -0
  28. package/dist/binding/SqliteTaskOutputRepository.d.ts.map +1 -0
  29. package/dist/browser.d.ts +9 -0
  30. package/dist/browser.d.ts.map +1 -0
  31. package/dist/bun.d.ts +7 -0
  32. package/dist/bun.d.ts.map +1 -0
  33. package/dist/common-server.d.ts +15 -0
  34. package/dist/common-server.d.ts.map +1 -0
  35. package/dist/common.d.ts +9 -0
  36. package/dist/common.d.ts.map +1 -0
  37. package/dist/node.d.ts +7 -0
  38. package/dist/node.d.ts.map +1 -0
  39. package/dist/samples/MediaPipeModelSamples.d.ts +2 -0
  40. package/dist/samples/MediaPipeModelSamples.d.ts.map +1 -0
  41. package/dist/samples/ONNXModelSamples.d.ts +2 -0
  42. package/dist/samples/ONNXModelSamples.d.ts.map +1 -0
  43. package/dist/samples/index.d.ts +10 -0
  44. package/dist/samples/index.d.ts.map +1 -0
  45. package/dist/test/ai-model/InMemoryModelRepository.test.d.ts +7 -0
  46. package/dist/test/ai-model/InMemoryModelRepository.test.d.ts.map +1 -0
  47. package/dist/test/ai-model/IndexedDbModelRepository.test.d.ts +7 -0
  48. package/dist/test/ai-model/IndexedDbModelRepository.test.d.ts.map +1 -0
  49. package/dist/test/ai-model/PostgresModelRepository.test.d.ts +7 -0
  50. package/dist/test/ai-model/PostgresModelRepository.test.d.ts.map +1 -0
  51. package/dist/test/ai-model/SqliteModelRepository.test.d.ts +7 -0
  52. package/dist/test/ai-model/SqliteModelRepository.test.d.ts.map +1 -0
  53. package/dist/test/ai-model/genericModelRepositoryTests.d.ts +8 -0
  54. package/dist/test/ai-model/genericModelRepositoryTests.d.ts.map +1 -0
  55. package/dist/test/ai-provider/AiProviderRegistry.test.d.ts +7 -0
  56. package/dist/test/ai-provider/AiProviderRegistry.test.d.ts.map +1 -0
  57. package/dist/test/ai-provider/DownloadModelAbort.test.d.ts +7 -0
  58. package/dist/test/ai-provider/DownloadModelAbort.test.d.ts.map +1 -0
  59. package/dist/test/ai-provider/HFTransformersBinding.test.d.ts +7 -0
  60. package/dist/test/ai-provider/HFTransformersBinding.test.d.ts.map +1 -0
  61. package/dist/test/ai-provider/TextEmbeddingTask.test.d.ts +7 -0
  62. package/dist/test/ai-provider/TextEmbeddingTask.test.d.ts.map +1 -0
  63. package/dist/test/ai-provider/TfMediaPipeBinding.test.d.ts +7 -0
  64. package/dist/test/ai-provider/TfMediaPipeBinding.test.d.ts.map +1 -0
  65. package/dist/test/ai-provider/VisionTasks.test.d.ts +7 -0
  66. package/dist/test/ai-provider/VisionTasks.test.d.ts.map +1 -0
  67. package/dist/test/ai-provider/ZeroShotTasks.test.d.ts +7 -0
  68. package/dist/test/ai-provider/ZeroShotTasks.test.d.ts.map +1 -0
  69. package/dist/test/helpers/SupabaseMockClient.d.ts +12 -0
  70. package/dist/test/helpers/SupabaseMockClient.d.ts.map +1 -0
  71. package/dist/test/job-queue/InMemoryJobQueue.test.d.ts +7 -0
  72. package/dist/test/job-queue/InMemoryJobQueue.test.d.ts.map +1 -0
  73. package/dist/test/job-queue/InMemoryPrefixedQueueStorage.test.d.ts +7 -0
  74. package/dist/test/job-queue/InMemoryPrefixedQueueStorage.test.d.ts.map +1 -0
  75. package/dist/test/job-queue/IndexedDbJobQueue.test.d.ts +7 -0
  76. package/dist/test/job-queue/IndexedDbJobQueue.test.d.ts.map +1 -0
  77. package/dist/test/job-queue/IndexedDbPrefixedQueueStorage.test.d.ts +7 -0
  78. package/dist/test/job-queue/IndexedDbPrefixedQueueStorage.test.d.ts.map +1 -0
  79. package/dist/test/job-queue/PostgresJobQueue.test.d.ts +7 -0
  80. package/dist/test/job-queue/PostgresJobQueue.test.d.ts.map +1 -0
  81. package/dist/test/job-queue/PostgresPrefixedQueueStorage.test.d.ts +7 -0
  82. package/dist/test/job-queue/PostgresPrefixedQueueStorage.test.d.ts.map +1 -0
  83. package/dist/test/job-queue/SqliteJobQueue.test.d.ts +7 -0
  84. package/dist/test/job-queue/SqliteJobQueue.test.d.ts.map +1 -0
  85. package/dist/test/job-queue/SqlitePrefixedQueueStorage.test.d.ts +7 -0
  86. package/dist/test/job-queue/SqlitePrefixedQueueStorage.test.d.ts.map +1 -0
  87. package/dist/test/job-queue/SupabaseJobQueue.test.d.ts +7 -0
  88. package/dist/test/job-queue/SupabaseJobQueue.test.d.ts.map +1 -0
  89. package/dist/test/job-queue/SupabasePrefixedQueueStorage.test.d.ts +7 -0
  90. package/dist/test/job-queue/SupabasePrefixedQueueStorage.test.d.ts.map +1 -0
  91. package/dist/test/job-queue/genericJobQueueTests.d.ts +22 -0
  92. package/dist/test/job-queue/genericJobQueueTests.d.ts.map +1 -0
  93. package/dist/test/job-queue/genericPrefixedQueueStorageTests.d.ts +18 -0
  94. package/dist/test/job-queue/genericPrefixedQueueStorageTests.d.ts.map +1 -0
  95. package/dist/test/job-queue/genericQueueStorageSubscriptionTests.d.ts +29 -0
  96. package/dist/test/job-queue/genericQueueStorageSubscriptionTests.d.ts.map +1 -0
  97. package/dist/test/rag/ChunkToVector.test.d.ts +7 -0
  98. package/dist/test/rag/ChunkToVector.test.d.ts.map +1 -0
  99. package/dist/test/rag/ContextBuilderTask.test.d.ts +7 -0
  100. package/dist/test/rag/ContextBuilderTask.test.d.ts.map +1 -0
  101. package/dist/test/rag/Document.test.d.ts +7 -0
  102. package/dist/test/rag/Document.test.d.ts.map +1 -0
  103. package/dist/test/rag/DocumentChunkRetrievalTask.test.d.ts +7 -0
  104. package/dist/test/rag/DocumentChunkSearchTask.test.d.ts +7 -0
  105. package/dist/test/rag/DocumentChunkSearchTask.test.d.ts.map +1 -0
  106. package/dist/test/rag/DocumentChunkUpsertTask.test.d.ts +7 -0
  107. package/dist/test/rag/DocumentChunkUpsertTask.test.d.ts.map +1 -0
  108. package/dist/test/rag/DocumentRepository.test.d.ts +7 -0
  109. package/dist/test/rag/DocumentRepository.test.d.ts.map +1 -0
  110. package/dist/test/rag/EndToEnd.test.d.ts +7 -0
  111. package/dist/test/rag/EndToEnd.test.d.ts.map +1 -0
  112. package/dist/test/rag/FullChain.test.d.ts +7 -0
  113. package/dist/test/rag/FullChain.test.d.ts.map +1 -0
  114. package/dist/test/rag/HierarchicalChunker.test.d.ts +7 -0
  115. package/dist/test/rag/HierarchicalChunker.test.d.ts.map +1 -0
  116. package/dist/test/rag/HybridSearchTask.test.d.ts +7 -0
  117. package/dist/test/rag/HybridSearchTask.test.d.ts.map +1 -0
  118. package/dist/test/rag/RagWorkflow.test.d.ts +7 -0
  119. package/dist/test/rag/RagWorkflow.test.d.ts.map +1 -0
  120. package/dist/test/rag/StructuralParser.test.d.ts +7 -0
  121. package/dist/test/rag/StructuralParser.test.d.ts.map +1 -0
  122. package/dist/test/rag/TextChunkerTask.test.d.ts +7 -0
  123. package/dist/test/rag/TextChunkerTask.test.d.ts.map +1 -0
  124. package/dist/test/rag/VectorQuantizeTask.test.d.ts +7 -0
  125. package/dist/test/rag/VectorQuantizeTask.test.d.ts.map +1 -0
  126. package/dist/test/storage-kv/FsFolderJsonKvRepository.test.d.ts +7 -0
  127. package/dist/test/storage-kv/FsFolderJsonKvRepository.test.d.ts.map +1 -0
  128. package/dist/test/storage-kv/FsFolderKvRepository.test.d.ts +7 -0
  129. package/dist/test/storage-kv/FsFolderKvRepository.test.d.ts.map +1 -0
  130. package/dist/test/storage-kv/InMemoryKvRepository.test.d.ts +7 -0
  131. package/dist/test/storage-kv/InMemoryKvRepository.test.d.ts.map +1 -0
  132. package/dist/test/storage-kv/IndexedDbKvRepository.test.d.ts +7 -0
  133. package/dist/test/storage-kv/IndexedDbKvRepository.test.d.ts.map +1 -0
  134. package/dist/test/storage-kv/PostgresKvRepository.test.d.ts +7 -0
  135. package/dist/test/storage-kv/PostgresKvRepository.test.d.ts.map +1 -0
  136. package/dist/test/storage-kv/SqliteKvRepository.test.d.ts +7 -0
  137. package/dist/test/storage-kv/SqliteKvRepository.test.d.ts.map +1 -0
  138. package/dist/test/storage-kv/SupabaseKvRepository.test.d.ts +7 -0
  139. package/dist/test/storage-kv/SupabaseKvRepository.test.d.ts.map +1 -0
  140. package/dist/test/storage-kv/genericKvRepositoryTests.d.ts +9 -0
  141. package/dist/test/storage-kv/genericKvRepositoryTests.d.ts.map +1 -0
  142. package/dist/test/storage-tabular/CachedTabularRepository.test.d.ts +7 -0
  143. package/dist/test/storage-tabular/CachedTabularRepository.test.d.ts.map +1 -0
  144. package/dist/test/storage-tabular/FsFolderTabularRepository.test.d.ts +7 -0
  145. package/dist/test/storage-tabular/FsFolderTabularRepository.test.d.ts.map +1 -0
  146. package/dist/test/storage-tabular/InMemoryTabularRepository.test.d.ts +7 -0
  147. package/dist/test/storage-tabular/InMemoryTabularRepository.test.d.ts.map +1 -0
  148. package/dist/test/storage-tabular/IndexedDbTabularRepository.test.d.ts +7 -0
  149. package/dist/test/storage-tabular/IndexedDbTabularRepository.test.d.ts.map +1 -0
  150. package/dist/test/storage-tabular/PostgresTabularRepository.test.d.ts +7 -0
  151. package/dist/test/storage-tabular/PostgresTabularRepository.test.d.ts.map +1 -0
  152. package/dist/test/storage-tabular/SqliteTabularRepository.test.d.ts +7 -0
  153. package/dist/test/storage-tabular/SqliteTabularRepository.test.d.ts.map +1 -0
  154. package/dist/test/storage-tabular/SupabaseTabularRepository.test.d.ts +7 -0
  155. package/dist/test/storage-tabular/SupabaseTabularRepository.test.d.ts.map +1 -0
  156. package/dist/test/storage-tabular/genericTabularRepositorySubscriptionTests.d.ts +19 -0
  157. package/dist/test/storage-tabular/genericTabularRepositorySubscriptionTests.d.ts.map +1 -0
  158. package/dist/test/storage-tabular/genericTabularRepositoryTests.d.ts +167 -0
  159. package/dist/test/storage-tabular/genericTabularRepositoryTests.d.ts.map +1 -0
  160. package/dist/test/storage-util/HybridSubscriptionManager.test.d.ts +7 -0
  161. package/dist/test/storage-util/HybridSubscriptionManager.test.d.ts.map +1 -0
  162. package/dist/test/storage-util/IndexedDbHybridSubscription.test.d.ts +7 -0
  163. package/dist/test/storage-util/IndexedDbHybridSubscription.test.d.ts.map +1 -0
  164. package/dist/test/storage-util/IndexedDbTable.migration.test.d.ts +7 -0
  165. package/dist/test/storage-util/IndexedDbTable.migration.test.d.ts.map +1 -0
  166. package/dist/test/task/ArrayTask.test.d.ts +7 -0
  167. package/dist/test/task/ArrayTask.test.d.ts.map +1 -0
  168. package/dist/test/task/ConditionalTask.test.d.ts +7 -0
  169. package/dist/test/task/ConditionalTask.test.d.ts.map +1 -0
  170. package/dist/test/task/DelayTask.test.d.ts +7 -0
  171. package/dist/test/task/DelayTask.test.d.ts.map +1 -0
  172. package/dist/test/task/FetchTask.test.d.ts +7 -0
  173. package/dist/test/task/FetchTask.test.d.ts.map +1 -0
  174. package/dist/test/task/FileLoaderTask.server.test.d.ts +7 -0
  175. package/dist/test/task/FileLoaderTask.server.test.d.ts.map +1 -0
  176. package/dist/test/task/FileLoaderTask.test.d.ts +7 -0
  177. package/dist/test/task/FileLoaderTask.test.d.ts.map +1 -0
  178. package/dist/test/task/GraphAsTask.test.d.ts +2 -0
  179. package/dist/test/task/GraphAsTask.test.d.ts.map +1 -0
  180. package/dist/test/task/JavaScriptTask.test.d.ts +7 -0
  181. package/dist/test/task/JavaScriptTask.test.d.ts.map +1 -0
  182. package/dist/test/task/LambdaTask.test.d.ts +7 -0
  183. package/dist/test/task/LambdaTask.test.d.ts.map +1 -0
  184. package/dist/test/task/MergeTask.test.d.ts +7 -0
  185. package/dist/test/task/MergeTask.test.d.ts.map +1 -0
  186. package/dist/test/task/OwnTask.test.d.ts +2 -0
  187. package/dist/test/task/OwnTask.test.d.ts.map +1 -0
  188. package/dist/test/task/SingleTask.test.d.ts +7 -0
  189. package/dist/test/task/SingleTask.test.d.ts.map +1 -0
  190. package/dist/test/task/SplitTask.test.d.ts +7 -0
  191. package/dist/test/task/SplitTask.test.d.ts.map +1 -0
  192. package/dist/test/task/Task.smartClone.test.d.ts +7 -0
  193. package/dist/test/task/Task.smartClone.test.d.ts.map +1 -0
  194. package/dist/test/task/TestTasks.d.ts +548 -0
  195. package/dist/test/task/TestTasks.d.ts.map +1 -0
  196. package/dist/test/task-graph/InputResolver.test.d.ts +7 -0
  197. package/dist/test/task-graph/InputResolver.test.d.ts.map +1 -0
  198. package/dist/test/task-graph/IteratorTask.test.d.ts +7 -0
  199. package/dist/test/task-graph/IteratorTask.test.d.ts.map +1 -0
  200. package/dist/test/task-graph/Pipeline.test.d.ts +7 -0
  201. package/dist/test/task-graph/Pipeline.test.d.ts.map +1 -0
  202. package/dist/test/task-graph/TaskGraph.test.d.ts +7 -0
  203. package/dist/test/task-graph/TaskGraph.test.d.ts.map +1 -0
  204. package/dist/test/task-graph/TaskGraphFormatSemantic.test.d.ts +7 -0
  205. package/dist/test/task-graph/TaskGraphFormatSemantic.test.d.ts.map +1 -0
  206. package/dist/test/task-graph/TaskGraphRunner.test.d.ts +7 -0
  207. package/dist/test/task-graph/TaskGraphRunner.test.d.ts.map +1 -0
  208. package/dist/test/task-graph/TaskSubGraphRunner.test.d.ts +7 -0
  209. package/dist/test/task-graph/TaskSubGraphRunner.test.d.ts.map +1 -0
  210. package/dist/test/task-graph/Workflow.test.d.ts +7 -0
  211. package/dist/test/task-graph/Workflow.test.d.ts.map +1 -0
  212. package/dist/test/task-graph-job-queue/InMemoryTaskGraphJobQueue.test.d.ts +7 -0
  213. package/dist/test/task-graph-job-queue/InMemoryTaskGraphJobQueue.test.d.ts.map +1 -0
  214. package/dist/test/task-graph-job-queue/IndexedDbTaskGraphJobQueue.test.d.ts +7 -0
  215. package/dist/test/task-graph-job-queue/IndexedDbTaskGraphJobQueue.test.d.ts.map +1 -0
  216. package/dist/test/task-graph-job-queue/SqliteTaskGraphJobQueue.test.d.ts +7 -0
  217. package/dist/test/task-graph-job-queue/SqliteTaskGraphJobQueue.test.d.ts.map +1 -0
  218. package/dist/test/task-graph-job-queue/genericTaskGraphJobQueueTests.d.ts +23 -0
  219. package/dist/test/task-graph-job-queue/genericTaskGraphJobQueueTests.d.ts.map +1 -0
  220. package/dist/test/task-graph-output-cache/FileTaskOutputRepository.test.d.ts +7 -0
  221. package/dist/test/task-graph-output-cache/FileTaskOutputRepository.test.d.ts.map +1 -0
  222. package/dist/test/task-graph-output-cache/InMemoryTaskOutputRepository.test.d.ts +7 -0
  223. package/dist/test/task-graph-output-cache/InMemoryTaskOutputRepository.test.d.ts.map +1 -0
  224. package/dist/test/task-graph-output-cache/IndexedDbTaskOutputRepository.test.d.ts +7 -0
  225. package/dist/test/task-graph-output-cache/IndexedDbTaskOutputRepository.test.d.ts.map +1 -0
  226. package/dist/test/task-graph-output-cache/SqliteTaskOutputRepository.test.d.ts +7 -0
  227. package/dist/test/task-graph-output-cache/SqliteTaskOutputRepository.test.d.ts.map +1 -0
  228. package/dist/test/task-graph-output-cache/genericTaskOutputRepositoryTests.d.ts +8 -0
  229. package/dist/test/task-graph-output-cache/genericTaskOutputRepositoryTests.d.ts.map +1 -0
  230. package/dist/test/task-graph-storage/FileTaskGraphRepository.test.d.ts +7 -0
  231. package/dist/test/task-graph-storage/FileTaskGraphRepository.test.d.ts.map +1 -0
  232. package/dist/test/task-graph-storage/InMemoryTaskGraphRepository.test.d.ts +7 -0
  233. package/dist/test/task-graph-storage/InMemoryTaskGraphRepository.test.d.ts.map +1 -0
  234. package/dist/test/task-graph-storage/IndexedDbTaskGraphRepository.test.d.ts +7 -0
  235. package/dist/test/task-graph-storage/IndexedDbTaskGraphRepository.test.d.ts.map +1 -0
  236. package/dist/test/task-graph-storage/SqliteTaskGraphRepository.test.d.ts +7 -0
  237. package/dist/test/task-graph-storage/SqliteTaskGraphRepository.test.d.ts.map +1 -0
  238. package/dist/test/task-graph-storage/genericTaskGraphRepositoryTests.d.ts +8 -0
  239. package/dist/test/task-graph-storage/genericTaskGraphRepositoryTests.d.ts.map +1 -0
  240. package/dist/test/util/Document.test.d.ts +7 -0
  241. package/dist/test/util/Document.test.d.ts.map +1 -0
  242. package/dist/test/util/EventEmitter.test.d.ts +7 -0
  243. package/dist/test/util/EventEmitter.test.d.ts.map +1 -0
  244. package/dist/test/util/SchemaUtils.test.d.ts +7 -0
  245. package/dist/test/util/SchemaUtils.test.d.ts.map +1 -0
  246. package/dist/test/util/VectorSimilarityUtils.test.d.ts +7 -0
  247. package/dist/test/util/VectorSimilarityUtils.test.d.ts.map +1 -0
  248. package/dist/test/util/VectorUtils.test.d.ts +7 -0
  249. package/dist/test/util/VectorUtils.test.d.ts.map +1 -0
  250. package/dist/test/util/arrayAsObjectProxy.test.d.ts +7 -0
  251. package/dist/test/util/arrayAsObjectProxy.test.d.ts.map +1 -0
  252. package/dist/test/util/compression.test.d.ts +7 -0
  253. package/dist/test/util/compression.test.d.ts.map +1 -0
  254. package/dist/test/util/directedAcyclicGraph.test.d.ts +2 -0
  255. package/dist/test/util/directedAcyclicGraph.test.d.ts.map +1 -0
  256. package/dist/test/util/directedGraph.test.d.ts +2 -0
  257. package/dist/test/util/directedGraph.test.d.ts.map +1 -0
  258. package/dist/test/util/graph.test.d.ts +5 -0
  259. package/dist/test/util/graph.test.d.ts.map +1 -0
  260. package/dist/test/util/readme.test.d.ts +2 -0
  261. package/dist/test/util/readme.test.d.ts.map +1 -0
  262. package/dist/types.d.ts +7 -0
  263. package/dist/types.d.ts.map +1 -0
  264. package/package.json +21 -21
@@ -0,0 +1,548 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ /**
7
+ * This file contains various task implementations used for testing the task graph
8
+ * system. It includes basic task types, specialized testing tasks, and examples
9
+ * of different task behaviors like error handling and progress reporting.
10
+ */
11
+ import { IExecuteContext, Task, TaskConfig, TaskInput } from "@workglow/task-graph";
12
+ import { DataPortSchema } from "@workglow/util";
13
+ /**
14
+ * Standard input type for basic test tasks
15
+ */
16
+ export type TestIOTaskInput = {
17
+ key: string;
18
+ };
19
+ /**
20
+ * Standard output type for basic test tasks with flags for different run modes
21
+ */
22
+ export type TestIOTaskOutput = {
23
+ reactiveOnly: boolean;
24
+ all: boolean;
25
+ key: string;
26
+ };
27
+ /**
28
+ * Basic implementation of a test task with both reactive and full run modes
29
+ * Used as a foundation for testing task execution and data flow
30
+ */
31
+ export declare class TestIOTask extends Task<TestIOTaskInput, TestIOTaskOutput> {
32
+ static readonly type = "TestIOTask";
33
+ static inputSchema(): DataPortSchema;
34
+ static outputSchema(): DataPortSchema;
35
+ /**
36
+ * Implementation of reactive run mode
37
+ * if execute ran then there will be output data
38
+ * if not then we send the input data
39
+ */
40
+ executeReactive(input: TestIOTaskInput, output: TestIOTaskOutput): Promise<TestIOTaskOutput>;
41
+ /**
42
+ * Implementation of full run mode - returns complete results
43
+ */
44
+ execute(_input: TestIOTaskInput, _context: IExecuteContext): Promise<TestIOTaskOutput>;
45
+ }
46
+ /**
47
+ * Input type for processing string values
48
+ */
49
+ type SimpleProcessingInput = {
50
+ value: string;
51
+ };
52
+ /**
53
+ * Output type for processed string values with a status flag
54
+ */
55
+ type SimpleProcessingOutput = {
56
+ processed: boolean;
57
+ result: string;
58
+ };
59
+ /**
60
+ * A more complex test task implementation that demonstrates
61
+ * progress reporting and error simulation capabilities
62
+ */
63
+ export declare class SimpleProcessingTask extends Task<SimpleProcessingInput, SimpleProcessingOutput> {
64
+ static readonly type = "SimpleProcessingTask";
65
+ static inputSchema(): DataPortSchema;
66
+ static outputSchema(): DataPortSchema;
67
+ /**
68
+ * Full implementation for processing input values
69
+ * Demonstrates progress reporting
70
+ */
71
+ execute(input: SimpleProcessingInput, { updateProgress }: IExecuteContext): Promise<SimpleProcessingOutput>;
72
+ /**
73
+ * Reactive implementation for real-time feedback
74
+ */
75
+ executeReactive(input: SimpleProcessingInput, output: SimpleProcessingOutput): Promise<{
76
+ processed: boolean;
77
+ result: string;
78
+ }>;
79
+ }
80
+ export declare const FAILURE_MESSAGE: "Task failed intentionally";
81
+ export declare const ABORT_MESSAGE: "Task aborted intentionally";
82
+ /**
83
+ * A task that always fails - useful for testing error handling
84
+ * and recovery mechanisms in the task system
85
+ */
86
+ export declare class FailingTask extends Task {
87
+ static readonly type = "FailingTask";
88
+ runInputData: {
89
+ in: number;
90
+ };
91
+ runOutputData: {
92
+ out: number;
93
+ };
94
+ static inputSchema(): DataPortSchema;
95
+ static outputSchema(): DataPortSchema;
96
+ /**
97
+ * Always throws an error to simulate task failure
98
+ */
99
+ execute(input: TaskInput, executeContext: IExecuteContext): Promise<{
100
+ out: number;
101
+ }>;
102
+ }
103
+ /**
104
+ * Test task with configurable behavior for testing event handling,
105
+ * progress reporting, and error conditions
106
+ */
107
+ export declare class EventTestTask extends Task<TestIOTaskInput, TestIOTaskOutput> {
108
+ static readonly type = "EventTestTask";
109
+ shouldThrowError: boolean;
110
+ shouldEmitProgress: boolean;
111
+ progressValue: number;
112
+ delayMs: number;
113
+ static inputSchema(): DataPortSchema;
114
+ static outputSchema(): DataPortSchema;
115
+ /**
116
+ * Executes the task with configurable behavior for testing
117
+ */
118
+ execute(input: TestIOTaskInput, { updateProgress, signal }: IExecuteContext): Promise<any>;
119
+ }
120
+ /**
121
+ * Input type for squaring a number
122
+ */
123
+ export type TestSquareTaskInput = {
124
+ input: number;
125
+ };
126
+ /**
127
+ * Output type for squared number
128
+ */
129
+ export type TestSquareTaskOutput = {
130
+ output: number;
131
+ };
132
+ /**
133
+ * Task that squares its input number
134
+ */
135
+ export declare class TestSquareTask extends Task<TestSquareTaskInput, TestSquareTaskOutput> {
136
+ static readonly type = "TestSquareTask";
137
+ static inputSchema(): DataPortSchema;
138
+ static outputSchema(): DataPortSchema;
139
+ /**
140
+ * Reactive implementation that squares the input number
141
+ */
142
+ executeReactive(input: TestSquareTaskInput): Promise<TestSquareTaskOutput>;
143
+ }
144
+ /**
145
+ * Non-reactive version of TestSquareTask
146
+ * Only implements execute() for testing differences between reactive and non-reactive tasks
147
+ */
148
+ export declare class TestSquareNonReactiveTask extends Task<TestSquareTaskInput, TestSquareTaskOutput> {
149
+ static readonly type = "TestSquareNonReactiveTask";
150
+ static inputSchema(): DataPortSchema;
151
+ static outputSchema(): DataPortSchema;
152
+ /**
153
+ * Non-reactive implementation that squares the input number
154
+ */
155
+ execute(input: TestSquareTaskInput): Promise<TestSquareTaskOutput>;
156
+ }
157
+ /**
158
+ * Input type for doubling a number
159
+ */
160
+ export type TestDoubleTaskInput = {
161
+ input: number;
162
+ };
163
+ /**
164
+ * Output type for doubled number
165
+ */
166
+ export type TestDoubleTaskOutput = {
167
+ output: number;
168
+ };
169
+ /**
170
+ * Task that doubles its input number
171
+ */
172
+ export declare class TestDoubleTask extends Task<TestDoubleTaskInput, TestDoubleTaskOutput> {
173
+ static readonly type = "TestDoubleTask";
174
+ static inputSchema(): DataPortSchema;
175
+ static outputSchema(): DataPortSchema;
176
+ /**
177
+ * Reactive implementation that doubles the input number
178
+ */
179
+ executeReactive(input: TestDoubleTaskInput): Promise<TestDoubleTaskOutput>;
180
+ }
181
+ /**
182
+ * Task that throws errors under specific conditions
183
+ * Used for testing error handling in the task system
184
+ */
185
+ export declare class TestSquareErrorTask extends Task<TestSquareTaskInput, TestSquareTaskOutput> {
186
+ static readonly type = "TestSquareErrorTask";
187
+ static inputSchema(): DataPortSchema;
188
+ static outputSchema(): DataPortSchema;
189
+ /**
190
+ * Always throws an error to test error handling
191
+ */
192
+ executeReactive(input: TestSquareTaskInput): Promise<TestSquareTaskOutput>;
193
+ }
194
+ /**
195
+ * Simple single task
196
+ */
197
+ export declare class TestSimpleTask extends Task<{
198
+ input: string;
199
+ }, {
200
+ output: string;
201
+ }> {
202
+ static type: string;
203
+ static inputSchema(): DataPortSchema;
204
+ static outputSchema(): DataPortSchema;
205
+ execute(input: {
206
+ input: string;
207
+ }): Promise<{
208
+ output: string;
209
+ }>;
210
+ }
211
+ /**
212
+ * Task that uses a custom output property name
213
+ */
214
+ export declare class TestOutputTask extends Task<{
215
+ input: string;
216
+ }, {
217
+ customOutput: string;
218
+ }> {
219
+ static type: string;
220
+ runInputData: {
221
+ input: string;
222
+ };
223
+ runOutputData: {
224
+ customOutput: string;
225
+ };
226
+ static inputSchema(): DataPortSchema;
227
+ static outputSchema(): DataPortSchema;
228
+ /**
229
+ * Returns the input in a custom output property
230
+ */
231
+ execute(input: TaskInput): Promise<any>;
232
+ }
233
+ /**
234
+ * Task that uses a custom input property name
235
+ */
236
+ export declare class TestInputTask extends Task<{
237
+ customInput: string;
238
+ }, {
239
+ output: string;
240
+ }> {
241
+ static type: string;
242
+ runInputData: {
243
+ customInput: string;
244
+ };
245
+ runOutputData: {
246
+ output: string;
247
+ };
248
+ static inputSchema(): DataPortSchema;
249
+ static outputSchema(): DataPortSchema;
250
+ /**
251
+ * Returns the custom input in the output property
252
+ */
253
+ execute(input: TaskInput): Promise<any>;
254
+ }
255
+ /**
256
+ * Task that runs for a long time to test task abortion
257
+ */
258
+ export declare class LongRunningTask extends Task {
259
+ static type: string;
260
+ /**
261
+ * Runs indefinitely until aborted
262
+ */
263
+ execute(input: TaskInput, executeContext: IExecuteContext): Promise<any>;
264
+ }
265
+ /**
266
+ * Task that copies string input
267
+ */
268
+ export declare class StringTask extends Task<{
269
+ input: string;
270
+ }, {
271
+ output: string;
272
+ }, TaskConfig> {
273
+ static type: string;
274
+ static inputSchema(): DataPortSchema;
275
+ static outputSchema(): DataPortSchema;
276
+ /**
277
+ * Returns the input string as output
278
+ */
279
+ executeReactive(input: {
280
+ input: string;
281
+ }, _output: {
282
+ output: string;
283
+ }): Promise<{
284
+ output: string;
285
+ }>;
286
+ }
287
+ /**
288
+ * Task that copies string input
289
+ */
290
+ export declare class NumberToStringTask extends Task<{
291
+ input: number;
292
+ }, {
293
+ output: string;
294
+ }, TaskConfig> {
295
+ static type: string;
296
+ static inputSchema(): DataPortSchema;
297
+ static outputSchema(): DataPortSchema;
298
+ /**
299
+ * Returns the input string as output
300
+ */
301
+ execute(input: {
302
+ input: number;
303
+ }, _context: IExecuteContext): Promise<{
304
+ output: string;
305
+ }>;
306
+ }
307
+ /**
308
+ * Task that processes number input
309
+ */
310
+ export declare class NumberTask extends Task<{
311
+ input: number;
312
+ }, {
313
+ output: number;
314
+ }, TaskConfig> {
315
+ static type: string;
316
+ static inputSchema(): DataPortSchema;
317
+ static outputSchema(): DataPortSchema;
318
+ /**
319
+ * Returns the input number as output
320
+ */
321
+ execute(input: {
322
+ input: number;
323
+ }, _context: IExecuteContext): Promise<{
324
+ output: number;
325
+ }>;
326
+ }
327
+ /**
328
+ * Input type for adding two numbers
329
+ */
330
+ type TestAddTaskInput = {
331
+ a: number;
332
+ b: number;
333
+ };
334
+ /**
335
+ * Output type for sum of two numbers
336
+ */
337
+ type TestAddTaskOutput = {
338
+ output: number;
339
+ };
340
+ /**
341
+ * Task that adds two numbers
342
+ */
343
+ export declare class TestAddTask extends Task<TestAddTaskInput, TestAddTaskOutput> {
344
+ static readonly type = "TestAddTask";
345
+ static inputSchema(): DataPortSchema;
346
+ static outputSchema(): DataPortSchema;
347
+ /**
348
+ * Adds the two input numbers
349
+ */
350
+ executeReactive(input: TestAddTaskInput): Promise<{
351
+ output: number;
352
+ }>;
353
+ }
354
+ /**
355
+ * Task that outputs a TypedArray with port name "vector" (singular)
356
+ * Used for testing type-only matching with different port names
357
+ */
358
+ export declare class VectorOutputTask extends Task<{
359
+ text: string;
360
+ }, {
361
+ vector: Float32Array;
362
+ }> {
363
+ static type: string;
364
+ static inputSchema(): DataPortSchema;
365
+ static outputSchema(): DataPortSchema;
366
+ execute(input: {
367
+ text: string;
368
+ }): Promise<{
369
+ vector: Float32Array;
370
+ }>;
371
+ }
372
+ /**
373
+ * Task that accepts a TypedArray with port name "vectors" (plural)
374
+ * Used for testing type-only matching with different port names
375
+ */
376
+ export declare class VectorsInputTask extends Task<{
377
+ vectors: Float32Array;
378
+ }, {
379
+ count: number;
380
+ }> {
381
+ static type: string;
382
+ static inputSchema(): DataPortSchema;
383
+ static outputSchema(): DataPortSchema;
384
+ execute(input: {
385
+ vectors: Float32Array;
386
+ }): Promise<{
387
+ count: number;
388
+ }>;
389
+ }
390
+ /**
391
+ * Task that outputs a TypedArray wrapped in oneOf (like TypeSingleOrArray)
392
+ */
393
+ export declare class VectorOneOfOutputTask extends Task<{
394
+ text: string;
395
+ }, {
396
+ embedding: Float32Array;
397
+ }> {
398
+ static type: string;
399
+ static inputSchema(): DataPortSchema;
400
+ static outputSchema(): DataPortSchema;
401
+ execute(input: {
402
+ text: string;
403
+ }): Promise<{
404
+ embedding: Float32Array;
405
+ }>;
406
+ }
407
+ /**
408
+ * Task that accepts a TypedArray wrapped in anyOf
409
+ */
410
+ export declare class VectorAnyOfInputTask extends Task<{
411
+ data: Float32Array;
412
+ }, {
413
+ sum: number;
414
+ }> {
415
+ static type: string;
416
+ static inputSchema(): DataPortSchema;
417
+ static outputSchema(): DataPortSchema;
418
+ execute(input: {
419
+ data: Float32Array;
420
+ }): Promise<{
421
+ sum: number;
422
+ }>;
423
+ }
424
+ /**
425
+ * Module augmentation to register test task types in the workflow system
426
+ */
427
+ declare module "@workglow/task-graph" {
428
+ interface Workflow {
429
+ testSimple(input?: Partial<{
430
+ input: string;
431
+ }>, config?: Partial<TaskConfig>): this;
432
+ testOutput(input?: Partial<{
433
+ input: string;
434
+ }>, config?: Partial<TaskConfig>): this;
435
+ testInput(input?: Partial<{
436
+ customInput: string;
437
+ }>, config?: Partial<TaskConfig>): this;
438
+ failing(input?: Partial<{}>, config?: Partial<TaskConfig>): this;
439
+ longRunning(input?: Partial<{}>, config?: Partial<TaskConfig>): this;
440
+ string(input?: Partial<{
441
+ input: string;
442
+ }>, config?: Partial<TaskConfig>): this;
443
+ numberToString(input?: Partial<{
444
+ input: number;
445
+ }>, config?: Partial<TaskConfig>): this;
446
+ number(input?: Partial<{
447
+ input: number;
448
+ }>, config?: Partial<TaskConfig>): this;
449
+ testAdd(input?: Partial<TestAddTaskInput>, config?: Partial<TaskConfig>): this;
450
+ vectorOutput(input?: Partial<{
451
+ text: string;
452
+ }>, config?: Partial<TaskConfig>): this;
453
+ vectorsInput(input?: Partial<{
454
+ vectors: Float32Array;
455
+ }>, config?: Partial<TaskConfig>): this;
456
+ vectorOneOfOutput(input?: Partial<{
457
+ text: string;
458
+ }>, config?: Partial<TaskConfig>): this;
459
+ vectorAnyOfInput(input?: Partial<{
460
+ data: Float32Array;
461
+ }>, config?: Partial<TaskConfig>): this;
462
+ textOutput(input?: Partial<{
463
+ input: string;
464
+ }>, config?: Partial<TaskConfig>): this;
465
+ vectorOutputOnly(input?: Partial<{
466
+ size: number;
467
+ }>, config?: Partial<TaskConfig>): this;
468
+ textVectorInput(input?: Partial<{
469
+ text: string;
470
+ vector: Float32Array;
471
+ }>, config?: Partial<TaskConfig>): this;
472
+ passthroughVector(input?: Partial<{
473
+ vector: Float32Array;
474
+ }>, config?: Partial<TaskConfig>): this;
475
+ }
476
+ }
477
+ /**
478
+ * Task that outputs only text - for testing multi-source matching
479
+ */
480
+ export declare class TextOutputTask extends Task<{
481
+ input: string;
482
+ }, {
483
+ text: string;
484
+ }> {
485
+ static type: string;
486
+ static inputSchema(): DataPortSchema;
487
+ static outputSchema(): DataPortSchema;
488
+ execute(input: {
489
+ input: string;
490
+ }): Promise<{
491
+ text: string;
492
+ }>;
493
+ }
494
+ /**
495
+ * Task that outputs only a vector - for testing multi-source matching
496
+ */
497
+ export declare class VectorOutputOnlyTask extends Task<{
498
+ size: number;
499
+ }, {
500
+ vector: Float32Array;
501
+ }> {
502
+ static type: string;
503
+ static inputSchema(): DataPortSchema;
504
+ static outputSchema(): DataPortSchema;
505
+ execute(input: {
506
+ size: number;
507
+ }): Promise<{
508
+ vector: Float32Array;
509
+ }>;
510
+ }
511
+ /**
512
+ * Task that requires both text and vector inputs - for testing multi-source matching
513
+ */
514
+ export declare class TextVectorInputTask extends Task<{
515
+ text: string;
516
+ vector: Float32Array;
517
+ }, {
518
+ result: string;
519
+ }> {
520
+ static type: string;
521
+ static inputSchema(): DataPortSchema;
522
+ static outputSchema(): DataPortSchema;
523
+ execute(input: {
524
+ text: string;
525
+ vector: Float32Array;
526
+ }): Promise<{
527
+ result: string;
528
+ }>;
529
+ }
530
+ /**
531
+ * Task that passes through a vector - for testing multi-hop matching
532
+ */
533
+ export declare class PassthroughVectorTask extends Task<{
534
+ vector: Float32Array;
535
+ }, {
536
+ vector: Float32Array;
537
+ }> {
538
+ static type: string;
539
+ static inputSchema(): DataPortSchema;
540
+ static outputSchema(): DataPortSchema;
541
+ execute(input: {
542
+ vector: Float32Array;
543
+ }): Promise<{
544
+ vector: Float32Array;
545
+ }>;
546
+ }
547
+ export {};
548
+ //# sourceMappingURL=TestTasks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TestTasks.d.ts","sourceRoot":"","sources":["../../../src/test/task/TestTasks.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;;GAIG;AAEH,OAAO,EAEL,eAAe,EACf,IAAI,EAEJ,UAAU,EAGV,SAAS,EAEV,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,cAAc,EAAS,MAAM,gBAAgB,CAAC;AAEvD;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,YAAY,EAAE,OAAO,CAAC;IACtB,GAAG,EAAE,OAAO,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF;;;GAGG;AACH,qBAAa,UAAW,SAAQ,IAAI,CAAC,eAAe,EAAE,gBAAgB,CAAC;IACrE,MAAM,CAAC,QAAQ,CAAC,IAAI,gBAAgB;IAEpC,MAAM,CAAC,WAAW,IAAI,cAAc;IAapC,MAAM,CAAC,YAAY,IAAI,cAAc;IAmBrC;;;;OAIG;IACG,eAAe,CACnB,KAAK,EAAE,eAAe,EACtB,MAAM,EAAE,gBAAgB,GACvB,OAAO,CAAC,gBAAgB,CAAC;IAQ5B;;OAEG;IACG,OAAO,CAAC,MAAM,EAAE,eAAe,EAAE,QAAQ,EAAE,eAAe,GAAG,OAAO,CAAC,gBAAgB,CAAC;CA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E,IAAI,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC;QAAE,MAAM,EAAE,YAAY,CAAA;KAAE,CAAC;CAG1E;AAED;;GAEG;AACH,qBAAa,mBAAoB,SAAQ,IAAI,CAC3C;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,YAAY,CAAA;CAAE,EACtC;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,CACnB;IACC,MAAM,CAAC,IAAI,SAAyB;IAEpC,MAAM,CAAC,WAAW,IAAI,cAAc;IAqBpC,MAAM,CAAC,YAAY,IAAI,cAAc;IAa/B,OAAO,CAAC,KAAK,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,YAAY,CAAA;KAAE,GAAG,OAAO,CAAC;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;CAG1F;AAED;;GAEG;AACH,qBAAa,qBAAsB,SAAQ,IAAI,CAC7C;IAAE,MAAM,EAAE,YAAY,CAAA;CAAE,EACxB;IAAE,MAAM,EAAE,YAAY,CAAA;CAAE,CACzB;IACC,MAAM,CAAC,IAAI,SAA2B;IAEtC,MAAM,CAAC,WAAW,IAAI,cAAc;IAepC,MAAM,CAAC,YAAY,IAAI,cAAc;IAe/B,OAAO,CAAC,KAAK,EAAE;QAAE,MAAM,EAAE,YAAY,CAAA;KAAE,GAAG,OAAO,CAAC;QAAE,MAAM,EAAE,YAAY,CAAA;KAAE,CAAC;CAGlF"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ export {};
7
+ //# sourceMappingURL=InputResolver.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InputResolver.test.d.ts","sourceRoot":"","sources":["../../../src/test/task-graph/InputResolver.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ export {};
7
+ //# sourceMappingURL=IteratorTask.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IteratorTask.test.d.ts","sourceRoot":"","sources":["../../../src/test/task-graph/IteratorTask.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ export {};
7
+ //# sourceMappingURL=Pipeline.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Pipeline.test.d.ts","sourceRoot":"","sources":["../../../src/test/task-graph/Pipeline.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ export {};
7
+ //# sourceMappingURL=TaskGraph.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TaskGraph.test.d.ts","sourceRoot":"","sources":["../../../src/test/task-graph/TaskGraph.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ export {};
7
+ //# sourceMappingURL=TaskGraphFormatSemantic.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TaskGraphFormatSemantic.test.d.ts","sourceRoot":"","sources":["../../../src/test/task-graph/TaskGraphFormatSemantic.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ export {};
7
+ //# sourceMappingURL=TaskGraphRunner.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TaskGraphRunner.test.d.ts","sourceRoot":"","sources":["../../../src/test/task-graph/TaskGraphRunner.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ export {};
7
+ //# sourceMappingURL=TaskSubGraphRunner.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TaskSubGraphRunner.test.d.ts","sourceRoot":"","sources":["../../../src/test/task-graph/TaskSubGraphRunner.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ import "../task/TestTasks";
7
+ //# sourceMappingURL=Workflow.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Workflow.test.d.ts","sourceRoot":"","sources":["../../../src/test/task-graph/Workflow.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAsBH,OAAO,mBAAmB,CAAC"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ export {};
7
+ //# sourceMappingURL=InMemoryTaskGraphJobQueue.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InMemoryTaskGraphJobQueue.test.d.ts","sourceRoot":"","sources":["../../../src/test/task-graph-job-queue/InMemoryTaskGraphJobQueue.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}