@workglow/test 0.0.52

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 (196) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +87 -0
  3. package/dist/binding/FsFolderTaskGraphRepository.d.ts +15 -0
  4. package/dist/binding/FsFolderTaskGraphRepository.d.ts.map +1 -0
  5. package/dist/binding/FsFolderTaskOutputRepository.d.ts +15 -0
  6. package/dist/binding/FsFolderTaskOutputRepository.d.ts.map +1 -0
  7. package/dist/binding/InMemoryJobQueue.d.ts +11 -0
  8. package/dist/binding/InMemoryJobQueue.d.ts.map +1 -0
  9. package/dist/binding/InMemoryTaskGraphRepository.d.ts +15 -0
  10. package/dist/binding/InMemoryTaskGraphRepository.d.ts.map +1 -0
  11. package/dist/binding/InMemoryTaskOutputRepository.d.ts +15 -0
  12. package/dist/binding/InMemoryTaskOutputRepository.d.ts.map +1 -0
  13. package/dist/binding/IndexedDbJobQueue.d.ts +11 -0
  14. package/dist/binding/IndexedDbJobQueue.d.ts.map +1 -0
  15. package/dist/binding/IndexedDbTaskGraphRepository.d.ts +15 -0
  16. package/dist/binding/IndexedDbTaskGraphRepository.d.ts.map +1 -0
  17. package/dist/binding/IndexedDbTaskOutputRepository.d.ts +15 -0
  18. package/dist/binding/IndexedDbTaskOutputRepository.d.ts.map +1 -0
  19. package/dist/binding/PostgresJobQueue.d.ts +11 -0
  20. package/dist/binding/PostgresJobQueue.d.ts.map +1 -0
  21. package/dist/binding/PostgresTaskGraphRepository.d.ts +16 -0
  22. package/dist/binding/PostgresTaskGraphRepository.d.ts.map +1 -0
  23. package/dist/binding/PostgresTaskOutputRepository.d.ts +16 -0
  24. package/dist/binding/PostgresTaskOutputRepository.d.ts.map +1 -0
  25. package/dist/binding/SqliteJobQueue.d.ts +11 -0
  26. package/dist/binding/SqliteJobQueue.d.ts.map +1 -0
  27. package/dist/binding/SqliteTaskGraphRepository.d.ts +15 -0
  28. package/dist/binding/SqliteTaskGraphRepository.d.ts.map +1 -0
  29. package/dist/binding/SqliteTaskOutputRepository.d.ts +15 -0
  30. package/dist/binding/SqliteTaskOutputRepository.d.ts.map +1 -0
  31. package/dist/browser.d.ts +11 -0
  32. package/dist/browser.d.ts.map +1 -0
  33. package/dist/browser.js +293 -0
  34. package/dist/browser.js.map +18 -0
  35. package/dist/bun.d.ts +7 -0
  36. package/dist/bun.d.ts.map +1 -0
  37. package/dist/bun.js +436 -0
  38. package/dist/bun.js.map +26 -0
  39. package/dist/common-server.d.ts +19 -0
  40. package/dist/common-server.d.ts.map +1 -0
  41. package/dist/common.d.ts +9 -0
  42. package/dist/common.d.ts.map +1 -0
  43. package/dist/node.d.ts +7 -0
  44. package/dist/node.d.ts.map +1 -0
  45. package/dist/node.js +435 -0
  46. package/dist/node.js.map +26 -0
  47. package/dist/samples/MediaPipeModelSamples.d.ts +2 -0
  48. package/dist/samples/MediaPipeModelSamples.d.ts.map +1 -0
  49. package/dist/samples/ONNXModelSamples.d.ts +4 -0
  50. package/dist/samples/ONNXModelSamples.d.ts.map +1 -0
  51. package/dist/samples/index.d.ts +10 -0
  52. package/dist/samples/index.d.ts.map +1 -0
  53. package/dist/test/ai-model/InMemoryModelRepository.test.d.ts +7 -0
  54. package/dist/test/ai-model/InMemoryModelRepository.test.d.ts.map +1 -0
  55. package/dist/test/ai-model/IndexedDbModelRepository.test.d.ts +7 -0
  56. package/dist/test/ai-model/IndexedDbModelRepository.test.d.ts.map +1 -0
  57. package/dist/test/ai-model/PostgresModelRepository.test.d.ts +7 -0
  58. package/dist/test/ai-model/PostgresModelRepository.test.d.ts.map +1 -0
  59. package/dist/test/ai-model/SqliteModelRepository.test.d.ts +7 -0
  60. package/dist/test/ai-model/SqliteModelRepository.test.d.ts.map +1 -0
  61. package/dist/test/ai-model/genericModelRepositoryTests.d.ts +8 -0
  62. package/dist/test/ai-model/genericModelRepositoryTests.d.ts.map +1 -0
  63. package/dist/test/ai-provider/AiProviderRegistry.test.d.ts +7 -0
  64. package/dist/test/ai-provider/AiProviderRegistry.test.d.ts.map +1 -0
  65. package/dist/test/ai-provider/HFTransformersBinding.test.d.ts +7 -0
  66. package/dist/test/ai-provider/HFTransformersBinding.test.d.ts.map +1 -0
  67. package/dist/test/ai-provider/TfMediaPipeBinding.test.d.ts +7 -0
  68. package/dist/test/ai-provider/TfMediaPipeBinding.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/IndexedDbJobQueue.test.d.ts +7 -0
  74. package/dist/test/job-queue/IndexedDbJobQueue.test.d.ts.map +1 -0
  75. package/dist/test/job-queue/PostgresJobQueue.test.d.ts +7 -0
  76. package/dist/test/job-queue/PostgresJobQueue.test.d.ts.map +1 -0
  77. package/dist/test/job-queue/SqliteJobQueue.test.d.ts +7 -0
  78. package/dist/test/job-queue/SqliteJobQueue.test.d.ts.map +1 -0
  79. package/dist/test/job-queue/SupabaseJobQueue.test.d.ts +7 -0
  80. package/dist/test/job-queue/SupabaseJobQueue.test.d.ts.map +1 -0
  81. package/dist/test/job-queue/genericJobQueueTests.d.ts +18 -0
  82. package/dist/test/job-queue/genericJobQueueTests.d.ts.map +1 -0
  83. package/dist/test/storage-kv/FsFolderJsonKvRepository.test.d.ts +7 -0
  84. package/dist/test/storage-kv/FsFolderJsonKvRepository.test.d.ts.map +1 -0
  85. package/dist/test/storage-kv/FsFolderKvRepository.test.d.ts +7 -0
  86. package/dist/test/storage-kv/FsFolderKvRepository.test.d.ts.map +1 -0
  87. package/dist/test/storage-kv/InMemoryKvRepository.test.d.ts +7 -0
  88. package/dist/test/storage-kv/InMemoryKvRepository.test.d.ts.map +1 -0
  89. package/dist/test/storage-kv/IndexedDbKvRepository.test.d.ts +7 -0
  90. package/dist/test/storage-kv/IndexedDbKvRepository.test.d.ts.map +1 -0
  91. package/dist/test/storage-kv/PostgresKvRepository.test.d.ts +7 -0
  92. package/dist/test/storage-kv/PostgresKvRepository.test.d.ts.map +1 -0
  93. package/dist/test/storage-kv/SqliteKvRepository.test.d.ts +7 -0
  94. package/dist/test/storage-kv/SqliteKvRepository.test.d.ts.map +1 -0
  95. package/dist/test/storage-kv/SupabaseKvRepository.test.d.ts +7 -0
  96. package/dist/test/storage-kv/SupabaseKvRepository.test.d.ts.map +1 -0
  97. package/dist/test/storage-kv/genericKvRepositoryTests.d.ts +9 -0
  98. package/dist/test/storage-kv/genericKvRepositoryTests.d.ts.map +1 -0
  99. package/dist/test/storage-tabular/CachedTabularRepository.test.d.ts +7 -0
  100. package/dist/test/storage-tabular/CachedTabularRepository.test.d.ts.map +1 -0
  101. package/dist/test/storage-tabular/FsFolderTabularRepository.test.d.ts +7 -0
  102. package/dist/test/storage-tabular/FsFolderTabularRepository.test.d.ts.map +1 -0
  103. package/dist/test/storage-tabular/InMemoryTabularRepository.test.d.ts +7 -0
  104. package/dist/test/storage-tabular/InMemoryTabularRepository.test.d.ts.map +1 -0
  105. package/dist/test/storage-tabular/IndexedDbTabularRepository.test.d.ts +7 -0
  106. package/dist/test/storage-tabular/IndexedDbTabularRepository.test.d.ts.map +1 -0
  107. package/dist/test/storage-tabular/PostgresTabularRepository.test.d.ts +7 -0
  108. package/dist/test/storage-tabular/PostgresTabularRepository.test.d.ts.map +1 -0
  109. package/dist/test/storage-tabular/SqliteTabularRepository.test.d.ts +7 -0
  110. package/dist/test/storage-tabular/SqliteTabularRepository.test.d.ts.map +1 -0
  111. package/dist/test/storage-tabular/SupabaseTabularRepository.test.d.ts +7 -0
  112. package/dist/test/storage-tabular/SupabaseTabularRepository.test.d.ts.map +1 -0
  113. package/dist/test/storage-tabular/genericTabularRepositoryTests.d.ts +90 -0
  114. package/dist/test/storage-tabular/genericTabularRepositoryTests.d.ts.map +1 -0
  115. package/dist/test/storage-util/IndexedDbTable.migration.test.d.ts +7 -0
  116. package/dist/test/storage-util/IndexedDbTable.migration.test.d.ts.map +1 -0
  117. package/dist/test/task/ArrayTask.test.d.ts +7 -0
  118. package/dist/test/task/ArrayTask.test.d.ts.map +1 -0
  119. package/dist/test/task/ConditionalTask.test.d.ts +7 -0
  120. package/dist/test/task/ConditionalTask.test.d.ts.map +1 -0
  121. package/dist/test/task/DelayTask.test.d.ts +7 -0
  122. package/dist/test/task/DelayTask.test.d.ts.map +1 -0
  123. package/dist/test/task/FetchTask.test.d.ts +7 -0
  124. package/dist/test/task/FetchTask.test.d.ts.map +1 -0
  125. package/dist/test/task/GraphAsTask.test.d.ts +2 -0
  126. package/dist/test/task/GraphAsTask.test.d.ts.map +1 -0
  127. package/dist/test/task/JavaScriptTask.test.d.ts +7 -0
  128. package/dist/test/task/JavaScriptTask.test.d.ts.map +1 -0
  129. package/dist/test/task/LambdaTask.test.d.ts +7 -0
  130. package/dist/test/task/LambdaTask.test.d.ts.map +1 -0
  131. package/dist/test/task/OwnTask.test.d.ts +2 -0
  132. package/dist/test/task/OwnTask.test.d.ts.map +1 -0
  133. package/dist/test/task/SingleTask.test.d.ts +7 -0
  134. package/dist/test/task/SingleTask.test.d.ts.map +1 -0
  135. package/dist/test/task/TestTasks.d.ts +387 -0
  136. package/dist/test/task/TestTasks.d.ts.map +1 -0
  137. package/dist/test/task-graph/Pipeline.test.d.ts +7 -0
  138. package/dist/test/task-graph/Pipeline.test.d.ts.map +1 -0
  139. package/dist/test/task-graph/TaskGraph.test.d.ts +7 -0
  140. package/dist/test/task-graph/TaskGraph.test.d.ts.map +1 -0
  141. package/dist/test/task-graph/TaskGraphFormatSemantic.test.d.ts +7 -0
  142. package/dist/test/task-graph/TaskGraphFormatSemantic.test.d.ts.map +1 -0
  143. package/dist/test/task-graph/TaskGraphRunner.test.d.ts +7 -0
  144. package/dist/test/task-graph/TaskGraphRunner.test.d.ts.map +1 -0
  145. package/dist/test/task-graph/TaskSubGraphRunner.test.d.ts +7 -0
  146. package/dist/test/task-graph/TaskSubGraphRunner.test.d.ts.map +1 -0
  147. package/dist/test/task-graph/Workflow.test.d.ts +7 -0
  148. package/dist/test/task-graph/Workflow.test.d.ts.map +1 -0
  149. package/dist/test/task-graph-job-queue/InMemoryTaskGraphJobQueue.test.d.ts +7 -0
  150. package/dist/test/task-graph-job-queue/InMemoryTaskGraphJobQueue.test.d.ts.map +1 -0
  151. package/dist/test/task-graph-job-queue/IndexedDbTaskGraphJobQueue.test.d.ts +7 -0
  152. package/dist/test/task-graph-job-queue/IndexedDbTaskGraphJobQueue.test.d.ts.map +1 -0
  153. package/dist/test/task-graph-job-queue/SqliteTaskGraphJobQueue.test.d.ts +7 -0
  154. package/dist/test/task-graph-job-queue/SqliteTaskGraphJobQueue.test.d.ts.map +1 -0
  155. package/dist/test/task-graph-job-queue/genericTaskGraphJobQueueTests.d.ts +23 -0
  156. package/dist/test/task-graph-job-queue/genericTaskGraphJobQueueTests.d.ts.map +1 -0
  157. package/dist/test/task-graph-output-cache/FileTaskOutputRepository.test.d.ts +7 -0
  158. package/dist/test/task-graph-output-cache/FileTaskOutputRepository.test.d.ts.map +1 -0
  159. package/dist/test/task-graph-output-cache/InMemoryTaskOutputRepository.test.d.ts +7 -0
  160. package/dist/test/task-graph-output-cache/InMemoryTaskOutputRepository.test.d.ts.map +1 -0
  161. package/dist/test/task-graph-output-cache/IndexedDbTaskOutputRepository.test.d.ts +7 -0
  162. package/dist/test/task-graph-output-cache/IndexedDbTaskOutputRepository.test.d.ts.map +1 -0
  163. package/dist/test/task-graph-output-cache/SqliteTaskOutputRepository.test.d.ts +7 -0
  164. package/dist/test/task-graph-output-cache/SqliteTaskOutputRepository.test.d.ts.map +1 -0
  165. package/dist/test/task-graph-output-cache/genericTaskOutputRepositoryTests.d.ts +8 -0
  166. package/dist/test/task-graph-output-cache/genericTaskOutputRepositoryTests.d.ts.map +1 -0
  167. package/dist/test/task-graph-storage/FileTaskGraphRepository.test.d.ts +7 -0
  168. package/dist/test/task-graph-storage/FileTaskGraphRepository.test.d.ts.map +1 -0
  169. package/dist/test/task-graph-storage/InMemoryTaskGraphRepository.test.d.ts +7 -0
  170. package/dist/test/task-graph-storage/InMemoryTaskGraphRepository.test.d.ts.map +1 -0
  171. package/dist/test/task-graph-storage/IndexedDbTaskGraphRepository.test.d.ts +7 -0
  172. package/dist/test/task-graph-storage/IndexedDbTaskGraphRepository.test.d.ts.map +1 -0
  173. package/dist/test/task-graph-storage/SqliteTaskGraphRepository.test.d.ts +7 -0
  174. package/dist/test/task-graph-storage/SqliteTaskGraphRepository.test.d.ts.map +1 -0
  175. package/dist/test/task-graph-storage/genericTaskGraphRepositoryTests.d.ts +8 -0
  176. package/dist/test/task-graph-storage/genericTaskGraphRepositoryTests.d.ts.map +1 -0
  177. package/dist/test/util/EventEmitter.test.d.ts +7 -0
  178. package/dist/test/util/EventEmitter.test.d.ts.map +1 -0
  179. package/dist/test/util/SchemaUtils.test.d.ts +7 -0
  180. package/dist/test/util/SchemaUtils.test.d.ts.map +1 -0
  181. package/dist/test/util/arrayAsObjectProxy.test.d.ts +7 -0
  182. package/dist/test/util/arrayAsObjectProxy.test.d.ts.map +1 -0
  183. package/dist/test/util/compression.test.d.ts +7 -0
  184. package/dist/test/util/compression.test.d.ts.map +1 -0
  185. package/dist/test/util/directedAcyclicGraph.test.d.ts +2 -0
  186. package/dist/test/util/directedAcyclicGraph.test.d.ts.map +1 -0
  187. package/dist/test/util/directedGraph.test.d.ts +2 -0
  188. package/dist/test/util/directedGraph.test.d.ts.map +1 -0
  189. package/dist/test/util/graph.test.d.ts +5 -0
  190. package/dist/test/util/graph.test.d.ts.map +1 -0
  191. package/dist/test/util/readme.test.d.ts +2 -0
  192. package/dist/test/util/readme.test.d.ts.map +1 -0
  193. package/dist/types.d.ts +7 -0
  194. package/dist/types.d.ts.map +1 -0
  195. package/package.json +93 -0
  196. package/src/binding/README.md +76 -0
@@ -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=TfMediaPipeBinding.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TfMediaPipeBinding.test.d.ts","sourceRoot":"","sources":["../../../src/test/ai-provider/TfMediaPipeBinding.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -0,0 +1,12 @@
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
@@ -0,0 +1 @@
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,CA0ezD"}
@@ -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=InMemoryJobQueue.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InMemoryJobQueue.test.d.ts","sourceRoot":"","sources":["../../../src/test/job-queue/InMemoryJobQueue.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 "fake-indexeddb/auto";
7
+ //# sourceMappingURL=IndexedDbJobQueue.test.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -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=PostgresJobQueue.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PostgresJobQueue.test.d.ts","sourceRoot":"","sources":["../../../src/test/job-queue/PostgresJobQueue.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=SqliteJobQueue.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SqliteJobQueue.test.d.ts","sourceRoot":"","sources":["../../../src/test/job-queue/SqliteJobQueue.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=SupabaseJobQueue.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SupabaseJobQueue.test.d.ts","sourceRoot":"","sources":["../../../src/test/job-queue/SupabaseJobQueue.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ import { IJobExecuteContext, ILimiter, Job, JobQueueOptions } from "@workglow/job-queue";
7
+ import { IQueueStorage } from "@workglow/storage";
8
+ export interface TInput {
9
+ [key: string]: any;
10
+ }
11
+ export interface TOutput {
12
+ [key: string]: any;
13
+ }
14
+ export declare class TestJob extends Job<TInput, TOutput> {
15
+ execute(input: TInput, context: IJobExecuteContext): Promise<TOutput>;
16
+ }
17
+ export declare function runGenericJobQueueTests(storage: (queueName: string, options?: JobQueueOptions<TInput, TOutput>) => IQueueStorage<TInput, TOutput>, limiter?: (queueName: string, maxExecutions: number, windowSizeInSeconds: number) => ILimiter): void;
18
+ //# sourceMappingURL=genericJobQueueTests.d.ts.map
@@ -0,0 +1 @@
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,EAGH,eAAe,EAIhB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAIlD,MAAM,WAAW,MAAM;IACrB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AACD,MAAM,WAAW,OAAO;IACtB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;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,OAAO,EAAE,CACP,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,eAAe,CAAC,MAAM,EAAE,OAAO,CAAC,KACvC,aAAa,CAAC,MAAM,EAAE,OAAO,CAAC,EACnC,OAAO,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,mBAAmB,EAAE,MAAM,KAAK,QAAQ,QA+5B9F"}
@@ -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=FsFolderJsonKvRepository.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FsFolderJsonKvRepository.test.d.ts","sourceRoot":"","sources":["../../../src/test/storage-kv/FsFolderJsonKvRepository.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=FsFolderKvRepository.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FsFolderKvRepository.test.d.ts","sourceRoot":"","sources":["../../../src/test/storage-kv/FsFolderKvRepository.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=InMemoryKvRepository.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InMemoryKvRepository.test.d.ts","sourceRoot":"","sources":["../../../src/test/storage-kv/InMemoryKvRepository.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 "fake-indexeddb/auto";
7
+ //# sourceMappingURL=IndexedDbKvRepository.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IndexedDbKvRepository.test.d.ts","sourceRoot":"","sources":["../../../src/test/storage-kv/IndexedDbKvRepository.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,OAAO,qBAAqB,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=PostgresKvRepository.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PostgresKvRepository.test.d.ts","sourceRoot":"","sources":["../../../src/test/storage-kv/PostgresKvRepository.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=SqliteKvRepository.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SqliteKvRepository.test.d.ts","sourceRoot":"","sources":["../../../src/test/storage-kv/SqliteKvRepository.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=SupabaseKvRepository.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SupabaseKvRepository.test.d.ts","sourceRoot":"","sources":["../../../src/test/storage-kv/SupabaseKvRepository.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ import { IKvRepository } from "@workglow/storage";
7
+ import { JsonSchema } from "@workglow/util";
8
+ export declare function runGenericKvRepositoryTests(createRepository: (keyType: JsonSchema, valueType: JsonSchema) => Promise<IKvRepository<any, any>>): void;
9
+ //# sourceMappingURL=genericKvRepositoryTests.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"genericKvRepositoryTests.d.ts","sourceRoot":"","sources":["../../../src/test/storage-kv/genericKvRepositoryTests.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAyB,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACzE,OAAO,EAAc,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAGxD,wBAAgB,2BAA2B,CACzC,gBAAgB,EAAE,CAAC,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,KAAK,OAAO,CAAC,aAAa,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,QAgHnG"}
@@ -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=CachedTabularRepository.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CachedTabularRepository.test.d.ts","sourceRoot":"","sources":["../../../src/test/storage-tabular/CachedTabularRepository.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=FsFolderTabularRepository.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FsFolderTabularRepository.test.d.ts","sourceRoot":"","sources":["../../../src/test/storage-tabular/FsFolderTabularRepository.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=InMemoryTabularRepository.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InMemoryTabularRepository.test.d.ts","sourceRoot":"","sources":["../../../src/test/storage-tabular/InMemoryTabularRepository.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 "fake-indexeddb/auto";
7
+ //# sourceMappingURL=IndexedDbTabularRepository.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IndexedDbTabularRepository.test.d.ts","sourceRoot":"","sources":["../../../src/test/storage-tabular/IndexedDbTabularRepository.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAKH,OAAO,qBAAqB,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=PostgresTabularRepository.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PostgresTabularRepository.test.d.ts","sourceRoot":"","sources":["../../../src/test/storage-tabular/PostgresTabularRepository.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=SqliteTabularRepository.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SqliteTabularRepository.test.d.ts","sourceRoot":"","sources":["../../../src/test/storage-tabular/SqliteTabularRepository.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=SupabaseTabularRepository.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SupabaseTabularRepository.test.d.ts","sourceRoot":"","sources":["../../../src/test/storage-tabular/SupabaseTabularRepository.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -0,0 +1,90 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ import { ITabularRepository } from "@workglow/storage";
7
+ export declare const CompoundPrimaryKeyNames: readonly ["name", "type"];
8
+ export declare const CompoundSchema: {
9
+ readonly type: "object";
10
+ readonly properties: {
11
+ readonly name: {
12
+ readonly type: "string";
13
+ };
14
+ readonly type: {
15
+ readonly type: "string";
16
+ };
17
+ readonly option: {
18
+ readonly type: "string";
19
+ };
20
+ readonly success: {
21
+ readonly type: "boolean";
22
+ };
23
+ };
24
+ readonly required: readonly ["name", "type", "option", "success"];
25
+ readonly additionalProperties: false;
26
+ };
27
+ export declare const SearchPrimaryKeyNames: readonly ["id"];
28
+ export declare const SearchSchema: {
29
+ readonly type: "object";
30
+ readonly properties: {
31
+ readonly id: {
32
+ readonly type: "string";
33
+ };
34
+ readonly category: {
35
+ readonly type: "string";
36
+ };
37
+ readonly subcategory: {
38
+ readonly type: "string";
39
+ };
40
+ readonly kind: {
41
+ readonly type: "string";
42
+ };
43
+ readonly value: {
44
+ readonly type: "number";
45
+ };
46
+ readonly createdAt: {
47
+ readonly type: "string";
48
+ readonly format: "date-time";
49
+ };
50
+ readonly updatedAt: {
51
+ readonly type: "string";
52
+ readonly format: "date-time";
53
+ };
54
+ };
55
+ readonly required: readonly ["id", "category", "subcategory", "value", "createdAt", "updatedAt"];
56
+ readonly additionalProperties: false;
57
+ };
58
+ export declare const NullableSearchPrimaryKeyNames: readonly ["id"];
59
+ export declare const NullableSearchSchema: {
60
+ readonly type: "object";
61
+ readonly properties: {
62
+ readonly id: {
63
+ readonly type: "string";
64
+ };
65
+ readonly category: {
66
+ readonly type: "string";
67
+ };
68
+ readonly subcategory: {
69
+ readonly type: "string";
70
+ };
71
+ readonly value: {
72
+ readonly anyOf: readonly [{
73
+ readonly type: "number";
74
+ }, {
75
+ readonly type: "null";
76
+ }];
77
+ };
78
+ readonly createdAt: {
79
+ readonly type: "string";
80
+ readonly format: "date-time";
81
+ };
82
+ readonly updatedAt: {
83
+ readonly type: "string";
84
+ readonly format: "date-time";
85
+ };
86
+ };
87
+ readonly additionalProperties: false;
88
+ };
89
+ export declare function runGenericTabularRepositoryTests(createCompoundPkRepository: () => Promise<ITabularRepository<typeof CompoundSchema, typeof CompoundPrimaryKeyNames>>, createSearchableRepository?: () => Promise<ITabularRepository<typeof SearchSchema, typeof SearchPrimaryKeyNames>>): void;
90
+ //# sourceMappingURL=genericTabularRepositoryTests.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"genericTabularRepositoryTests.d.ts","sourceRoot":"","sources":["../../../src/test/storage-tabular/genericTabularRepositoryTests.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAIvD,eAAO,MAAM,uBAAuB,2BAA4B,CAAC;AACjE,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;CAUc,CAAC;AAE1C,eAAO,MAAM,qBAAqB,iBAAkB,CAAC;AACrD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAagB,CAAC;AAE1C,eAAO,MAAM,6BAA6B,iBAAkB,CAAC;AAC7D,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWQ,CAAC;AAE1C,wBAAgB,gCAAgC,CAC9C,0BAA0B,EAAE,MAAM,OAAO,CACvC,kBAAkB,CAAC,OAAO,cAAc,EAAE,OAAO,uBAAuB,CAAC,CAC1E,EACD,0BAA0B,CAAC,EAAE,MAAM,OAAO,CACxC,kBAAkB,CAAC,OAAO,YAAY,EAAE,OAAO,qBAAqB,CAAC,CACtE,QAyxBF"}
@@ -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 "fake-indexeddb/auto";
7
+ //# sourceMappingURL=IndexedDbTable.migration.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IndexedDbTable.migration.test.d.ts","sourceRoot":"","sources":["../../../src/test/storage-util/IndexedDbTable.migration.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAOH,OAAO,qBAAqB,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=ArrayTask.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ArrayTask.test.d.ts","sourceRoot":"","sources":["../../../src/test/task/ArrayTask.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=ConditionalTask.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConditionalTask.test.d.ts","sourceRoot":"","sources":["../../../src/test/task/ConditionalTask.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=DelayTask.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DelayTask.test.d.ts","sourceRoot":"","sources":["../../../src/test/task/DelayTask.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=FetchTask.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FetchTask.test.d.ts","sourceRoot":"","sources":["../../../src/test/task/FetchTask.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=GraphAsTask.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GraphAsTask.test.d.ts","sourceRoot":"","sources":["../../../src/test/task/GraphAsTask.test.ts"],"names":[],"mappings":""}
@@ -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=JavaScriptTask.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"JavaScriptTask.test.d.ts","sourceRoot":"","sources":["../../../src/test/task/JavaScriptTask.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=LambdaTask.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LambdaTask.test.d.ts","sourceRoot":"","sources":["../../../src/test/task/LambdaTask.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=OwnTask.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OwnTask.test.d.ts","sourceRoot":"","sources":["../../../src/test/task/OwnTask.test.ts"],"names":[],"mappings":""}
@@ -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=SingleTask.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SingleTask.test.d.ts","sourceRoot":"","sources":["../../../src/test/task/SingleTask.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}