@workglow/test 0.0.84 → 0.0.86

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 (226) hide show
  1. package/dist/browser.js +140 -106
  2. package/dist/browser.js.map +8 -8
  3. package/dist/bun.js +152 -118
  4. package/dist/bun.js.map +14 -14
  5. package/dist/node.js +152 -118
  6. package/dist/node.js.map +14 -14
  7. package/dist/test/rag/DocumentChunkRetrievalTask.test.d.ts.map +1 -0
  8. package/package.json +22 -17
  9. package/src/binding/README.md +1 -1
  10. package/src/test/rag/history_of_the_united_states.md +122 -0
  11. package/dist/binding/FsFolderTaskGraphRepository.d.ts +0 -15
  12. package/dist/binding/FsFolderTaskGraphRepository.d.ts.map +0 -1
  13. package/dist/binding/FsFolderTaskOutputRepository.d.ts +0 -15
  14. package/dist/binding/FsFolderTaskOutputRepository.d.ts.map +0 -1
  15. package/dist/binding/InMemoryTaskGraphRepository.d.ts +0 -15
  16. package/dist/binding/InMemoryTaskGraphRepository.d.ts.map +0 -1
  17. package/dist/binding/InMemoryTaskOutputRepository.d.ts +0 -15
  18. package/dist/binding/InMemoryTaskOutputRepository.d.ts.map +0 -1
  19. package/dist/binding/IndexedDbModelRepository.d.ts +0 -14
  20. package/dist/binding/IndexedDbModelRepository.d.ts.map +0 -1
  21. package/dist/binding/IndexedDbTaskGraphRepository.d.ts +0 -15
  22. package/dist/binding/IndexedDbTaskGraphRepository.d.ts.map +0 -1
  23. package/dist/binding/IndexedDbTaskOutputRepository.d.ts +0 -15
  24. package/dist/binding/IndexedDbTaskOutputRepository.d.ts.map +0 -1
  25. package/dist/binding/PostgresModelRepository.d.ts +0 -15
  26. package/dist/binding/PostgresModelRepository.d.ts.map +0 -1
  27. package/dist/binding/PostgresTaskGraphRepository.d.ts +0 -16
  28. package/dist/binding/PostgresTaskGraphRepository.d.ts.map +0 -1
  29. package/dist/binding/PostgresTaskOutputRepository.d.ts +0 -16
  30. package/dist/binding/PostgresTaskOutputRepository.d.ts.map +0 -1
  31. package/dist/binding/SqliteModelRepository.d.ts +0 -14
  32. package/dist/binding/SqliteModelRepository.d.ts.map +0 -1
  33. package/dist/binding/SqliteTaskGraphRepository.d.ts +0 -15
  34. package/dist/binding/SqliteTaskGraphRepository.d.ts.map +0 -1
  35. package/dist/binding/SqliteTaskOutputRepository.d.ts +0 -15
  36. package/dist/binding/SqliteTaskOutputRepository.d.ts.map +0 -1
  37. package/dist/browser.d.ts +0 -9
  38. package/dist/browser.d.ts.map +0 -1
  39. package/dist/bun.d.ts +0 -7
  40. package/dist/bun.d.ts.map +0 -1
  41. package/dist/common-server.d.ts +0 -15
  42. package/dist/common-server.d.ts.map +0 -1
  43. package/dist/common.d.ts +0 -9
  44. package/dist/common.d.ts.map +0 -1
  45. package/dist/node.d.ts +0 -7
  46. package/dist/node.d.ts.map +0 -1
  47. package/dist/samples/MediaPipeModelSamples.d.ts +0 -2
  48. package/dist/samples/MediaPipeModelSamples.d.ts.map +0 -1
  49. package/dist/samples/ONNXModelSamples.d.ts +0 -2
  50. package/dist/samples/ONNXModelSamples.d.ts.map +0 -1
  51. package/dist/samples/index.d.ts +0 -10
  52. package/dist/samples/index.d.ts.map +0 -1
  53. package/dist/test/ai-model/InMemoryModelRepository.test.d.ts +0 -7
  54. package/dist/test/ai-model/InMemoryModelRepository.test.d.ts.map +0 -1
  55. package/dist/test/ai-model/IndexedDbModelRepository.test.d.ts +0 -7
  56. package/dist/test/ai-model/IndexedDbModelRepository.test.d.ts.map +0 -1
  57. package/dist/test/ai-model/PostgresModelRepository.test.d.ts +0 -7
  58. package/dist/test/ai-model/PostgresModelRepository.test.d.ts.map +0 -1
  59. package/dist/test/ai-model/SqliteModelRepository.test.d.ts +0 -7
  60. package/dist/test/ai-model/SqliteModelRepository.test.d.ts.map +0 -1
  61. package/dist/test/ai-model/genericModelRepositoryTests.d.ts +0 -8
  62. package/dist/test/ai-model/genericModelRepositoryTests.d.ts.map +0 -1
  63. package/dist/test/ai-provider/AiProviderRegistry.test.d.ts +0 -7
  64. package/dist/test/ai-provider/AiProviderRegistry.test.d.ts.map +0 -1
  65. package/dist/test/ai-provider/DownloadModelAbort.test.d.ts +0 -7
  66. package/dist/test/ai-provider/DownloadModelAbort.test.d.ts.map +0 -1
  67. package/dist/test/ai-provider/HFTransformersBinding.test.d.ts +0 -7
  68. package/dist/test/ai-provider/HFTransformersBinding.test.d.ts.map +0 -1
  69. package/dist/test/ai-provider/TextEmbeddingTask.test.d.ts +0 -7
  70. package/dist/test/ai-provider/TextEmbeddingTask.test.d.ts.map +0 -1
  71. package/dist/test/ai-provider/TfMediaPipeBinding.test.d.ts +0 -7
  72. package/dist/test/ai-provider/TfMediaPipeBinding.test.d.ts.map +0 -1
  73. package/dist/test/ai-provider/VisionTasks.test.d.ts +0 -7
  74. package/dist/test/ai-provider/VisionTasks.test.d.ts.map +0 -1
  75. package/dist/test/ai-provider/ZeroShotTasks.test.d.ts +0 -7
  76. package/dist/test/ai-provider/ZeroShotTasks.test.d.ts.map +0 -1
  77. package/dist/test/helpers/SupabaseMockClient.d.ts +0 -12
  78. package/dist/test/helpers/SupabaseMockClient.d.ts.map +0 -1
  79. package/dist/test/job-queue/InMemoryJobQueue.test.d.ts +0 -7
  80. package/dist/test/job-queue/InMemoryJobQueue.test.d.ts.map +0 -1
  81. package/dist/test/job-queue/InMemoryPrefixedQueueStorage.test.d.ts +0 -7
  82. package/dist/test/job-queue/InMemoryPrefixedQueueStorage.test.d.ts.map +0 -1
  83. package/dist/test/job-queue/IndexedDbJobQueue.test.d.ts +0 -7
  84. package/dist/test/job-queue/IndexedDbJobQueue.test.d.ts.map +0 -1
  85. package/dist/test/job-queue/IndexedDbPrefixedQueueStorage.test.d.ts +0 -7
  86. package/dist/test/job-queue/IndexedDbPrefixedQueueStorage.test.d.ts.map +0 -1
  87. package/dist/test/job-queue/PostgresJobQueue.test.d.ts +0 -7
  88. package/dist/test/job-queue/PostgresJobQueue.test.d.ts.map +0 -1
  89. package/dist/test/job-queue/PostgresPrefixedQueueStorage.test.d.ts +0 -7
  90. package/dist/test/job-queue/PostgresPrefixedQueueStorage.test.d.ts.map +0 -1
  91. package/dist/test/job-queue/SqliteJobQueue.test.d.ts +0 -7
  92. package/dist/test/job-queue/SqliteJobQueue.test.d.ts.map +0 -1
  93. package/dist/test/job-queue/SqlitePrefixedQueueStorage.test.d.ts +0 -7
  94. package/dist/test/job-queue/SqlitePrefixedQueueStorage.test.d.ts.map +0 -1
  95. package/dist/test/job-queue/SupabaseJobQueue.test.d.ts +0 -7
  96. package/dist/test/job-queue/SupabaseJobQueue.test.d.ts.map +0 -1
  97. package/dist/test/job-queue/SupabasePrefixedQueueStorage.test.d.ts +0 -7
  98. package/dist/test/job-queue/SupabasePrefixedQueueStorage.test.d.ts.map +0 -1
  99. package/dist/test/job-queue/genericJobQueueTests.d.ts +0 -22
  100. package/dist/test/job-queue/genericJobQueueTests.d.ts.map +0 -1
  101. package/dist/test/job-queue/genericPrefixedQueueStorageTests.d.ts +0 -18
  102. package/dist/test/job-queue/genericPrefixedQueueStorageTests.d.ts.map +0 -1
  103. package/dist/test/job-queue/genericQueueStorageSubscriptionTests.d.ts +0 -29
  104. package/dist/test/job-queue/genericQueueStorageSubscriptionTests.d.ts.map +0 -1
  105. package/dist/test/storage-kv/FsFolderJsonKvRepository.test.d.ts +0 -7
  106. package/dist/test/storage-kv/FsFolderJsonKvRepository.test.d.ts.map +0 -1
  107. package/dist/test/storage-kv/FsFolderKvRepository.test.d.ts +0 -7
  108. package/dist/test/storage-kv/FsFolderKvRepository.test.d.ts.map +0 -1
  109. package/dist/test/storage-kv/InMemoryKvRepository.test.d.ts +0 -7
  110. package/dist/test/storage-kv/InMemoryKvRepository.test.d.ts.map +0 -1
  111. package/dist/test/storage-kv/IndexedDbKvRepository.test.d.ts +0 -7
  112. package/dist/test/storage-kv/IndexedDbKvRepository.test.d.ts.map +0 -1
  113. package/dist/test/storage-kv/PostgresKvRepository.test.d.ts +0 -7
  114. package/dist/test/storage-kv/PostgresKvRepository.test.d.ts.map +0 -1
  115. package/dist/test/storage-kv/SqliteKvRepository.test.d.ts +0 -7
  116. package/dist/test/storage-kv/SqliteKvRepository.test.d.ts.map +0 -1
  117. package/dist/test/storage-kv/SupabaseKvRepository.test.d.ts +0 -7
  118. package/dist/test/storage-kv/SupabaseKvRepository.test.d.ts.map +0 -1
  119. package/dist/test/storage-kv/genericKvRepositoryTests.d.ts +0 -9
  120. package/dist/test/storage-kv/genericKvRepositoryTests.d.ts.map +0 -1
  121. package/dist/test/storage-tabular/CachedTabularRepository.test.d.ts +0 -7
  122. package/dist/test/storage-tabular/CachedTabularRepository.test.d.ts.map +0 -1
  123. package/dist/test/storage-tabular/FsFolderTabularRepository.test.d.ts +0 -7
  124. package/dist/test/storage-tabular/FsFolderTabularRepository.test.d.ts.map +0 -1
  125. package/dist/test/storage-tabular/InMemoryTabularRepository.test.d.ts +0 -7
  126. package/dist/test/storage-tabular/InMemoryTabularRepository.test.d.ts.map +0 -1
  127. package/dist/test/storage-tabular/IndexedDbTabularRepository.test.d.ts +0 -7
  128. package/dist/test/storage-tabular/IndexedDbTabularRepository.test.d.ts.map +0 -1
  129. package/dist/test/storage-tabular/PostgresTabularRepository.test.d.ts +0 -7
  130. package/dist/test/storage-tabular/PostgresTabularRepository.test.d.ts.map +0 -1
  131. package/dist/test/storage-tabular/SqliteTabularRepository.test.d.ts +0 -7
  132. package/dist/test/storage-tabular/SqliteTabularRepository.test.d.ts.map +0 -1
  133. package/dist/test/storage-tabular/SupabaseTabularRepository.test.d.ts +0 -7
  134. package/dist/test/storage-tabular/SupabaseTabularRepository.test.d.ts.map +0 -1
  135. package/dist/test/storage-tabular/genericTabularRepositorySubscriptionTests.d.ts +0 -19
  136. package/dist/test/storage-tabular/genericTabularRepositorySubscriptionTests.d.ts.map +0 -1
  137. package/dist/test/storage-tabular/genericTabularRepositoryTests.d.ts +0 -127
  138. package/dist/test/storage-tabular/genericTabularRepositoryTests.d.ts.map +0 -1
  139. package/dist/test/storage-util/HybridSubscriptionManager.test.d.ts +0 -7
  140. package/dist/test/storage-util/HybridSubscriptionManager.test.d.ts.map +0 -1
  141. package/dist/test/storage-util/IndexedDbHybridSubscription.test.d.ts +0 -7
  142. package/dist/test/storage-util/IndexedDbHybridSubscription.test.d.ts.map +0 -1
  143. package/dist/test/storage-util/IndexedDbTable.migration.test.d.ts +0 -7
  144. package/dist/test/storage-util/IndexedDbTable.migration.test.d.ts.map +0 -1
  145. package/dist/test/task/ArrayTask.test.d.ts +0 -7
  146. package/dist/test/task/ArrayTask.test.d.ts.map +0 -1
  147. package/dist/test/task/ConditionalTask.test.d.ts +0 -7
  148. package/dist/test/task/ConditionalTask.test.d.ts.map +0 -1
  149. package/dist/test/task/DelayTask.test.d.ts +0 -7
  150. package/dist/test/task/DelayTask.test.d.ts.map +0 -1
  151. package/dist/test/task/FetchTask.test.d.ts +0 -7
  152. package/dist/test/task/FetchTask.test.d.ts.map +0 -1
  153. package/dist/test/task/GraphAsTask.test.d.ts +0 -2
  154. package/dist/test/task/GraphAsTask.test.d.ts.map +0 -1
  155. package/dist/test/task/JavaScriptTask.test.d.ts +0 -7
  156. package/dist/test/task/JavaScriptTask.test.d.ts.map +0 -1
  157. package/dist/test/task/LambdaTask.test.d.ts +0 -7
  158. package/dist/test/task/LambdaTask.test.d.ts.map +0 -1
  159. package/dist/test/task/MergeTask.test.d.ts +0 -7
  160. package/dist/test/task/MergeTask.test.d.ts.map +0 -1
  161. package/dist/test/task/OwnTask.test.d.ts +0 -2
  162. package/dist/test/task/OwnTask.test.d.ts.map +0 -1
  163. package/dist/test/task/SingleTask.test.d.ts +0 -7
  164. package/dist/test/task/SingleTask.test.d.ts.map +0 -1
  165. package/dist/test/task/SplitTask.test.d.ts +0 -7
  166. package/dist/test/task/SplitTask.test.d.ts.map +0 -1
  167. package/dist/test/task/TestTasks.d.ts +0 -387
  168. package/dist/test/task/TestTasks.d.ts.map +0 -1
  169. package/dist/test/task-graph/Pipeline.test.d.ts +0 -7
  170. package/dist/test/task-graph/Pipeline.test.d.ts.map +0 -1
  171. package/dist/test/task-graph/TaskGraph.test.d.ts +0 -7
  172. package/dist/test/task-graph/TaskGraph.test.d.ts.map +0 -1
  173. package/dist/test/task-graph/TaskGraphFormatSemantic.test.d.ts +0 -7
  174. package/dist/test/task-graph/TaskGraphFormatSemantic.test.d.ts.map +0 -1
  175. package/dist/test/task-graph/TaskGraphRunner.test.d.ts +0 -7
  176. package/dist/test/task-graph/TaskGraphRunner.test.d.ts.map +0 -1
  177. package/dist/test/task-graph/TaskSubGraphRunner.test.d.ts +0 -7
  178. package/dist/test/task-graph/TaskSubGraphRunner.test.d.ts.map +0 -1
  179. package/dist/test/task-graph/Workflow.test.d.ts +0 -7
  180. package/dist/test/task-graph/Workflow.test.d.ts.map +0 -1
  181. package/dist/test/task-graph-job-queue/InMemoryTaskGraphJobQueue.test.d.ts +0 -7
  182. package/dist/test/task-graph-job-queue/InMemoryTaskGraphJobQueue.test.d.ts.map +0 -1
  183. package/dist/test/task-graph-job-queue/IndexedDbTaskGraphJobQueue.test.d.ts +0 -7
  184. package/dist/test/task-graph-job-queue/IndexedDbTaskGraphJobQueue.test.d.ts.map +0 -1
  185. package/dist/test/task-graph-job-queue/SqliteTaskGraphJobQueue.test.d.ts +0 -7
  186. package/dist/test/task-graph-job-queue/SqliteTaskGraphJobQueue.test.d.ts.map +0 -1
  187. package/dist/test/task-graph-job-queue/genericTaskGraphJobQueueTests.d.ts +0 -23
  188. package/dist/test/task-graph-job-queue/genericTaskGraphJobQueueTests.d.ts.map +0 -1
  189. package/dist/test/task-graph-output-cache/FileTaskOutputRepository.test.d.ts +0 -7
  190. package/dist/test/task-graph-output-cache/FileTaskOutputRepository.test.d.ts.map +0 -1
  191. package/dist/test/task-graph-output-cache/InMemoryTaskOutputRepository.test.d.ts +0 -7
  192. package/dist/test/task-graph-output-cache/InMemoryTaskOutputRepository.test.d.ts.map +0 -1
  193. package/dist/test/task-graph-output-cache/IndexedDbTaskOutputRepository.test.d.ts +0 -7
  194. package/dist/test/task-graph-output-cache/IndexedDbTaskOutputRepository.test.d.ts.map +0 -1
  195. package/dist/test/task-graph-output-cache/SqliteTaskOutputRepository.test.d.ts +0 -7
  196. package/dist/test/task-graph-output-cache/SqliteTaskOutputRepository.test.d.ts.map +0 -1
  197. package/dist/test/task-graph-output-cache/genericTaskOutputRepositoryTests.d.ts +0 -8
  198. package/dist/test/task-graph-output-cache/genericTaskOutputRepositoryTests.d.ts.map +0 -1
  199. package/dist/test/task-graph-storage/FileTaskGraphRepository.test.d.ts +0 -7
  200. package/dist/test/task-graph-storage/FileTaskGraphRepository.test.d.ts.map +0 -1
  201. package/dist/test/task-graph-storage/InMemoryTaskGraphRepository.test.d.ts +0 -7
  202. package/dist/test/task-graph-storage/InMemoryTaskGraphRepository.test.d.ts.map +0 -1
  203. package/dist/test/task-graph-storage/IndexedDbTaskGraphRepository.test.d.ts +0 -7
  204. package/dist/test/task-graph-storage/IndexedDbTaskGraphRepository.test.d.ts.map +0 -1
  205. package/dist/test/task-graph-storage/SqliteTaskGraphRepository.test.d.ts +0 -7
  206. package/dist/test/task-graph-storage/SqliteTaskGraphRepository.test.d.ts.map +0 -1
  207. package/dist/test/task-graph-storage/genericTaskGraphRepositoryTests.d.ts +0 -8
  208. package/dist/test/task-graph-storage/genericTaskGraphRepositoryTests.d.ts.map +0 -1
  209. package/dist/test/util/EventEmitter.test.d.ts +0 -7
  210. package/dist/test/util/EventEmitter.test.d.ts.map +0 -1
  211. package/dist/test/util/SchemaUtils.test.d.ts +0 -7
  212. package/dist/test/util/SchemaUtils.test.d.ts.map +0 -1
  213. package/dist/test/util/arrayAsObjectProxy.test.d.ts +0 -7
  214. package/dist/test/util/arrayAsObjectProxy.test.d.ts.map +0 -1
  215. package/dist/test/util/compression.test.d.ts +0 -7
  216. package/dist/test/util/compression.test.d.ts.map +0 -1
  217. package/dist/test/util/directedAcyclicGraph.test.d.ts +0 -2
  218. package/dist/test/util/directedAcyclicGraph.test.d.ts.map +0 -1
  219. package/dist/test/util/directedGraph.test.d.ts +0 -2
  220. package/dist/test/util/directedGraph.test.d.ts.map +0 -1
  221. package/dist/test/util/graph.test.d.ts +0 -5
  222. package/dist/test/util/graph.test.d.ts.map +0 -1
  223. package/dist/test/util/readme.test.d.ts +0 -2
  224. package/dist/test/util/readme.test.d.ts.map +0 -1
  225. package/dist/types.d.ts +0 -7
  226. package/dist/types.d.ts.map +0 -1
@@ -1,16 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- import { TaskGraphTabularRepository } from "@workglow/task-graph";
7
- import type { Pool } from "pg";
8
- export declare const POSTGRES_TASK_GRAPH_REPOSITORY: import("@workglow/util").ServiceToken<TaskGraphTabularRepository>;
9
- /**
10
- * PostgreSQL implementation of a task graph repository.
11
- * Provides storage and retrieval for task graphs using PostgreSQL.
12
- */
13
- export declare class PostgresTaskGraphRepository extends TaskGraphTabularRepository {
14
- constructor(db: Pool, table?: string);
15
- }
16
- //# sourceMappingURL=PostgresTaskGraphRepository.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PostgresTaskGraphRepository.d.ts","sourceRoot":"","sources":["../../src/binding/PostgresTaskGraphRepository.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAGL,0BAA0B,EAC3B,MAAM,sBAAsB,CAAC;AAE9B,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,IAAI,CAAC;AAE/B,eAAO,MAAM,8BAA8B,mEAE1C,CAAC;AAEF;;;GAGG;AACH,qBAAa,2BAA4B,SAAQ,0BAA0B;gBAC7D,EAAE,EAAE,IAAI,EAAE,KAAK,GAAE,MAAsB;CAUpD"}
@@ -1,16 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- import { TaskOutputTabularRepository } from "@workglow/task-graph";
7
- import type { Pool } from "pg";
8
- export declare const POSTGRES_TASK_OUTPUT_REPOSITORY: import("@workglow/util").ServiceToken<PostgresTaskOutputRepository>;
9
- /**
10
- * PostgreSQL implementation of a task output repository.
11
- * Provides storage and retrieval for task outputs using PostgreSQL.
12
- */
13
- export declare class PostgresTaskOutputRepository extends TaskOutputTabularRepository {
14
- constructor(db: Pool, table?: string);
15
- }
16
- //# sourceMappingURL=PostgresTaskOutputRepository.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PostgresTaskOutputRepository.d.ts","sourceRoot":"","sources":["../../src/binding/PostgresTaskOutputRepository.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAGL,2BAA2B,EAC5B,MAAM,sBAAsB,CAAC;AAE9B,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,IAAI,CAAC;AAE/B,eAAO,MAAM,+BAA+B,qEAE3C,CAAC;AAEF;;;GAGG;AACH,qBAAa,4BAA6B,SAAQ,2BAA2B;gBAC/D,EAAE,EAAE,IAAI,EAAE,KAAK,GAAE,MAAuB;CAWrD"}
@@ -1,14 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- import { ModelRepository } from "@workglow/ai";
7
- /**
8
- * SQLite implementation of a model repository.
9
- * Provides storage and retrieval for models and task-to-model mappings using SQLite.
10
- */
11
- export declare class SqliteModelRepository extends ModelRepository {
12
- constructor(dbOrPath: string, tableModels?: string);
13
- }
14
- //# sourceMappingURL=SqliteModelRepository.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SqliteModelRepository.d.ts","sourceRoot":"","sources":["../../src/binding/SqliteModelRepository.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAA2C,eAAe,EAAE,MAAM,cAAc,CAAC;AAGxF;;;GAGG;AACH,qBAAa,qBAAsB,SAAQ,eAAe;gBAC5C,QAAQ,EAAE,MAAM,EAAE,WAAW,GAAE,MAAkB;CAK9D"}
@@ -1,15 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- import { TaskGraphTabularRepository } from "@workglow/task-graph";
7
- export declare const SQLITE_TASK_GRAPH_REPOSITORY: import("@workglow/util").ServiceToken<TaskGraphTabularRepository>;
8
- /**
9
- * SQLite implementation of a task graph repository.
10
- * Provides storage and retrieval for task graphs using SQLite.
11
- */
12
- export declare class SqliteTaskGraphRepository extends TaskGraphTabularRepository {
13
- constructor(dbOrPath: string, table?: string);
14
- }
15
- //# sourceMappingURL=SqliteTaskGraphRepository.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SqliteTaskGraphRepository.d.ts","sourceRoot":"","sources":["../../src/binding/SqliteTaskGraphRepository.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAGL,0BAA0B,EAC3B,MAAM,sBAAsB,CAAC;AAG9B,eAAO,MAAM,4BAA4B,mEAExC,CAAC;AAEF;;;GAGG;AACH,qBAAa,yBAA0B,SAAQ,0BAA0B;gBAC3D,QAAQ,EAAE,MAAM,EAAE,KAAK,GAAE,MAAsB;CAU5D"}
@@ -1,15 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- import { TaskOutputTabularRepository } from "@workglow/task-graph";
7
- export declare const SQLITE_TASK_OUTPUT_REPOSITORY: import("@workglow/util").ServiceToken<SqliteTaskOutputRepository>;
8
- /**
9
- * SQLite implementation of a task output repository.
10
- * Provides storage and retrieval for task outputs using SQLite.
11
- */
12
- export declare class SqliteTaskOutputRepository extends TaskOutputTabularRepository {
13
- constructor(dbOrPath: string, table?: string);
14
- }
15
- //# sourceMappingURL=SqliteTaskOutputRepository.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SqliteTaskOutputRepository.d.ts","sourceRoot":"","sources":["../../src/binding/SqliteTaskOutputRepository.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAGL,2BAA2B,EAC5B,MAAM,sBAAsB,CAAC;AAG9B,eAAO,MAAM,6BAA6B,mEAEzC,CAAC;AAEF;;;GAGG;AACH,qBAAa,0BAA2B,SAAQ,2BAA2B;gBAC7D,QAAQ,EAAE,MAAM,EAAE,KAAK,GAAE,MAAuB;CAW7D"}
package/dist/browser.d.ts DELETED
@@ -1,9 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- export * from "./common";
7
- export * from "./binding/IndexedDbTaskGraphRepository";
8
- export * from "./binding/IndexedDbTaskOutputRepository";
9
- //# sourceMappingURL=browser.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"browser.d.ts","sourceRoot":"","sources":["../src/browser.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,UAAU,CAAC;AAEzB,cAAc,wCAAwC,CAAC;AACvD,cAAc,yCAAyC,CAAC"}
package/dist/bun.d.ts DELETED
@@ -1,7 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- export * from "./common-server";
7
- //# sourceMappingURL=bun.d.ts.map
package/dist/bun.d.ts.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"bun.d.ts","sourceRoot":"","sources":["../src/bun.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,iBAAiB,CAAC"}
@@ -1,15 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- export * from "./common";
7
- export * from "./binding/FsFolderTaskGraphRepository";
8
- export * from "./binding/IndexedDbTaskGraphRepository";
9
- export * from "./binding/PostgresTaskGraphRepository";
10
- export * from "./binding/SqliteTaskGraphRepository";
11
- export * from "./binding/FsFolderTaskOutputRepository";
12
- export * from "./binding/IndexedDbTaskOutputRepository";
13
- export * from "./binding/PostgresTaskOutputRepository";
14
- export * from "./binding/SqliteTaskOutputRepository";
15
- //# sourceMappingURL=common-server.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"common-server.d.ts","sourceRoot":"","sources":["../src/common-server.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,UAAU,CAAC;AAEzB,cAAc,uCAAuC,CAAC;AACtD,cAAc,wCAAwC,CAAC;AACvD,cAAc,uCAAuC,CAAC;AACtD,cAAc,qCAAqC,CAAC;AAEpD,cAAc,wCAAwC,CAAC;AACvD,cAAc,yCAAyC,CAAC;AACxD,cAAc,wCAAwC,CAAC;AACvD,cAAc,sCAAsC,CAAC"}
package/dist/common.d.ts DELETED
@@ -1,9 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- export * from "./binding/InMemoryTaskGraphRepository";
7
- export * from "./binding/InMemoryTaskOutputRepository";
8
- export * from "./samples";
9
- //# sourceMappingURL=common.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../src/common.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,uCAAuC,CAAC;AACtD,cAAc,wCAAwC,CAAC;AACvD,cAAc,WAAW,CAAC"}
package/dist/node.d.ts DELETED
@@ -1,7 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- export * from "./common-server";
7
- //# sourceMappingURL=node.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../src/node.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,iBAAiB,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare function registerMediaPipeTfJsLocalModels(): Promise<void>;
2
- //# sourceMappingURL=MediaPipeModelSamples.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MediaPipeModelSamples.d.ts","sourceRoot":"","sources":["../../src/samples/MediaPipeModelSamples.ts"],"names":[],"mappings":"AAGA,wBAAsB,gCAAgC,IAAI,OAAO,CAAC,IAAI,CAAC,CAiMtE"}
@@ -1,2 +0,0 @@
1
- export declare function registerHuggingfaceLocalModels(): Promise<void>;
2
- //# sourceMappingURL=ONNXModelSamples.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ONNXModelSamples.d.ts","sourceRoot":"","sources":["../../src/samples/ONNXModelSamples.ts"],"names":[],"mappings":"AAGA,wBAAsB,8BAA8B,IAAI,OAAO,CAAC,IAAI,CAAC,CAyUpE"}
@@ -1,10 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- export * from "./MediaPipeModelSamples";
7
- export * from "./ONNXModelSamples";
8
- export declare function register_HFT_InMemoryQueue(): Promise<void>;
9
- export declare function register_TFMP_InMemoryQueue(): Promise<void>;
10
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/samples/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAOH,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AAEnC,wBAAsB,0BAA0B,IAAI,OAAO,CAAC,IAAI,CAAC,CAuBhE;AAED,wBAAsB,2BAA2B,IAAI,OAAO,CAAC,IAAI,CAAC,CAuBjE"}
@@ -1,7 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- export {};
7
- //# sourceMappingURL=InMemoryModelRepository.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InMemoryModelRepository.test.d.ts","sourceRoot":"","sources":["../../../src/test/ai-model/InMemoryModelRepository.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -1,7 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- import "fake-indexeddb/auto";
7
- //# sourceMappingURL=IndexedDbModelRepository.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IndexedDbModelRepository.test.d.ts","sourceRoot":"","sources":["../../../src/test/ai-model/IndexedDbModelRepository.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,qBAAqB,CAAC"}
@@ -1,7 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- export {};
7
- //# sourceMappingURL=PostgresModelRepository.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PostgresModelRepository.test.d.ts","sourceRoot":"","sources":["../../../src/test/ai-model/PostgresModelRepository.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -1,7 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- export {};
7
- //# sourceMappingURL=SqliteModelRepository.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SqliteModelRepository.test.d.ts","sourceRoot":"","sources":["../../../src/test/ai-model/SqliteModelRepository.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- import { ModelRepository } from "@workglow/ai";
7
- export declare const runGenericModelRepositoryTests: (createRepository: () => Promise<ModelRepository>) => void;
8
- //# sourceMappingURL=genericModelRepositoryTests.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"genericModelRepositoryTests.d.ts","sourceRoot":"","sources":["../../../src/test/ai-model/genericModelRepositoryTests.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAA4B,eAAe,EAA4B,MAAM,cAAc,CAAC;AAKnG,eAAO,MAAM,8BAA8B,GACzC,kBAAkB,MAAM,OAAO,CAAC,eAAe,CAAC,SAgFjD,CAAC"}
@@ -1,7 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- export {};
7
- //# sourceMappingURL=AiProviderRegistry.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AiProviderRegistry.test.d.ts","sourceRoot":"","sources":["../../../src/test/ai-provider/AiProviderRegistry.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -1,7 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- export {};
7
- //# sourceMappingURL=DownloadModelAbort.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DownloadModelAbort.test.d.ts","sourceRoot":"","sources":["../../../src/test/ai-provider/DownloadModelAbort.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -1,7 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- export {};
7
- //# sourceMappingURL=HFTransformersBinding.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HFTransformersBinding.test.d.ts","sourceRoot":"","sources":["../../../src/test/ai-provider/HFTransformersBinding.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -1,7 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- export {};
7
- //# sourceMappingURL=TextEmbeddingTask.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextEmbeddingTask.test.d.ts","sourceRoot":"","sources":["../../../src/test/ai-provider/TextEmbeddingTask.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -1,7 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- export {};
7
- //# sourceMappingURL=TfMediaPipeBinding.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TfMediaPipeBinding.test.d.ts","sourceRoot":"","sources":["../../../src/test/ai-provider/TfMediaPipeBinding.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -1,7 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- export {};
7
- //# sourceMappingURL=VisionTasks.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"VisionTasks.test.d.ts","sourceRoot":"","sources":["../../../src/test/ai-provider/VisionTasks.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -1,7 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- export {};
7
- //# sourceMappingURL=ZeroShotTasks.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ZeroShotTasks.test.d.ts","sourceRoot":"","sources":["../../../src/test/ai-provider/ZeroShotTasks.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -1,12 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- import type { SupabaseClient } from "@supabase/supabase-js";
7
- /**
8
- * Creates a mock Supabase client for testing that uses PGlite as the backend.
9
- * This provides a real PostgreSQL database for testing without needing a Supabase instance.
10
- */
11
- export declare function createSupabaseMockClient(): SupabaseClient;
12
- //# sourceMappingURL=SupabaseMockClient.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SupabaseMockClient.d.ts","sourceRoot":"","sources":["../../../src/test/helpers/SupabaseMockClient.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAE5D;;;GAGG;AACH,wBAAgB,wBAAwB,IAAI,cAAc,CAyjBzD"}
@@ -1,7 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- export {};
7
- //# sourceMappingURL=InMemoryJobQueue.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InMemoryJobQueue.test.d.ts","sourceRoot":"","sources":["../../../src/test/job-queue/InMemoryJobQueue.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -1,7 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- export {};
7
- //# sourceMappingURL=InMemoryPrefixedQueueStorage.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InMemoryPrefixedQueueStorage.test.d.ts","sourceRoot":"","sources":["../../../src/test/job-queue/InMemoryPrefixedQueueStorage.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -1,7 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- import "fake-indexeddb/auto";
7
- //# sourceMappingURL=IndexedDbJobQueue.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IndexedDbJobQueue.test.d.ts","sourceRoot":"","sources":["../../../src/test/job-queue/IndexedDbJobQueue.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,OAAO,qBAAqB,CAAC"}
@@ -1,7 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- import "fake-indexeddb/auto";
7
- //# sourceMappingURL=IndexedDbPrefixedQueueStorage.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IndexedDbPrefixedQueueStorage.test.d.ts","sourceRoot":"","sources":["../../../src/test/job-queue/IndexedDbPrefixedQueueStorage.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,qBAAqB,CAAC"}
@@ -1,7 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- export {};
7
- //# sourceMappingURL=PostgresJobQueue.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PostgresJobQueue.test.d.ts","sourceRoot":"","sources":["../../../src/test/job-queue/PostgresJobQueue.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -1,7 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- export {};
7
- //# sourceMappingURL=PostgresPrefixedQueueStorage.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PostgresPrefixedQueueStorage.test.d.ts","sourceRoot":"","sources":["../../../src/test/job-queue/PostgresPrefixedQueueStorage.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -1,7 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- export {};
7
- //# sourceMappingURL=SqliteJobQueue.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SqliteJobQueue.test.d.ts","sourceRoot":"","sources":["../../../src/test/job-queue/SqliteJobQueue.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -1,7 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- export {};
7
- //# sourceMappingURL=SqlitePrefixedQueueStorage.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SqlitePrefixedQueueStorage.test.d.ts","sourceRoot":"","sources":["../../../src/test/job-queue/SqlitePrefixedQueueStorage.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -1,7 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- export {};
7
- //# sourceMappingURL=SupabaseJobQueue.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SupabaseJobQueue.test.d.ts","sourceRoot":"","sources":["../../../src/test/job-queue/SupabaseJobQueue.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -1,7 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- export {};
7
- //# sourceMappingURL=SupabasePrefixedQueueStorage.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SupabasePrefixedQueueStorage.test.d.ts","sourceRoot":"","sources":["../../../src/test/job-queue/SupabasePrefixedQueueStorage.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -1,22 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- import { IJobExecuteContext, ILimiter, Job } from "@workglow/job-queue";
7
- import { IQueueStorage } from "@workglow/storage";
8
- export interface TInput {
9
- readonly taskType?: string;
10
- readonly data?: string;
11
- readonly value?: string;
12
- readonly [key: string]: unknown;
13
- }
14
- export interface TOutput {
15
- readonly result?: string;
16
- readonly [key: string]: unknown;
17
- }
18
- export declare class TestJob extends Job<TInput, TOutput> {
19
- execute(input: TInput, context: IJobExecuteContext): Promise<TOutput>;
20
- }
21
- export declare function runGenericJobQueueTests(storageFactory: (queueName: string) => IQueueStorage<TInput, TOutput>, limiterFactory?: (queueName: string, maxExecutions: number, windowSizeInSeconds: number) => ILimiter | Promise<ILimiter>): void;
22
- //# sourceMappingURL=genericJobQueueTests.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"genericJobQueueTests.d.ts","sourceRoot":"","sources":["../../../src/test/job-queue/genericJobQueueTests.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAEL,kBAAkB,EAClB,QAAQ,EACR,GAAG,EAOJ,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAIlD,MAAM,WAAW,MAAM;IACrB,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACjC;AACD,MAAM,WAAW,OAAO;IACtB,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACjC;AAED,qBAAa,OAAQ,SAAQ,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IAClC,OAAO,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,OAAO,CAAC;CAoDnF;AAED,wBAAgB,uBAAuB,CACrC,cAAc,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,aAAa,CAAC,MAAM,EAAE,OAAO,CAAC,EACrE,cAAc,CAAC,EAAE,CACf,SAAS,EAAE,MAAM,EACjB,aAAa,EAAE,MAAM,EACrB,mBAAmB,EAAE,MAAM,KACxB,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC,GAChC,IAAI,CAkxBN"}
@@ -1,18 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- import { IQueueStorage, QueueStorageOptions } from "@workglow/storage";
7
- /**
8
- * Generic tests for queue storage with prefix filters
9
- */
10
- interface TestInput {
11
- readonly data: string;
12
- }
13
- interface TestOutput {
14
- readonly result: string;
15
- }
16
- export declare function runGenericPrefixedQueueStorageTests(storageFactory: (queueName: string, options?: QueueStorageOptions) => IQueueStorage<TestInput, TestOutput>): void;
17
- export {};
18
- //# sourceMappingURL=genericPrefixedQueueStorageTests.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"genericPrefixedQueueStorageTests.d.ts","sourceRoot":"","sources":["../../../src/test/job-queue/genericPrefixedQueueStorageTests.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,aAAa,EAA2B,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAIhG;;GAEG;AAEH,UAAU,SAAS;IACjB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAED,UAAU,UAAU;IAClB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB;AAWD,wBAAgB,mCAAmC,CACjD,cAAc,EAAE,CACd,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,mBAAmB,KAC1B,aAAa,CAAC,SAAS,EAAE,UAAU,CAAC,QAmtB1C"}
@@ -1,29 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- import { IQueueStorage, QueueStorageOptions } from "@workglow/storage";
7
- /**
8
- * Generic tests for queue storage subscription functionality
9
- */
10
- interface TestInput {
11
- readonly data: string;
12
- }
13
- interface TestOutput {
14
- readonly result: string;
15
- }
16
- export declare function runGenericQueueStorageSubscriptionTests(storageFactory: (queueName: string, options?: QueueStorageOptions) => IQueueStorage<TestInput, TestOutput>, options?: {
17
- /** Whether this storage implementation uses polling (needs longer waits) */
18
- readonly usesPolling?: boolean;
19
- /** Custom polling interval for polling-based implementations */
20
- readonly pollingIntervalMs?: number;
21
- /**
22
- * Whether this storage shares state across instances (e.g., database backends).
23
- * InMemory doesn't share state - each instance has its own isolated job queue.
24
- * Set to false to skip cross-instance prefix filter tests.
25
- */
26
- readonly sharesStateAcrossInstances?: boolean;
27
- }): void;
28
- export {};
29
- //# sourceMappingURL=genericQueueStorageSubscriptionTests.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"genericQueueStorageSubscriptionTests.d.ts","sourceRoot":"","sources":["../../../src/test/job-queue/genericQueueStorageSubscriptionTests.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACL,aAAa,EAIb,mBAAmB,EAEpB,MAAM,mBAAmB,CAAC;AAI3B;;GAEG;AAEH,UAAU,SAAS;IACjB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAED,UAAU,UAAU;IAClB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB;AAKD,wBAAgB,uCAAuC,CACrD,cAAc,EAAE,CACd,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,mBAAmB,KAC1B,aAAa,CAAC,SAAS,EAAE,UAAU,CAAC,EACzC,OAAO,CAAC,EAAE;IACR,4EAA4E;IAC5E,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;IAC/B,gEAAgE;IAChE,QAAQ,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IACpC;;;;OAIG;IACH,QAAQ,CAAC,0BAA0B,CAAC,EAAE,OAAO,CAAC;CAC/C,QA0jBF"}
@@ -1,7 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- export {};
7
- //# sourceMappingURL=FsFolderJsonKvRepository.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FsFolderJsonKvRepository.test.d.ts","sourceRoot":"","sources":["../../../src/test/storage-kv/FsFolderJsonKvRepository.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}