@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
package/LICENSE ADDED
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2025 Steven Roussey
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
package/README.md ADDED
@@ -0,0 +1,87 @@
1
+ # @workglow/test
2
+
3
+ Testing utilities and sample data for Workglow AI task pipelines.
4
+
5
+ ## Overview
6
+
7
+ The `@workglow/test` package provides testing utilities, sample data, and in-memory implementations for developing and testing Workglow AI applications. It includes mock repositories, sample task configurations, and helper functions for setting up test environments.
8
+
9
+ ## Features
10
+
11
+ - **In-Memory Repositories**: Mock implementations of task graph and output repositories for testing
12
+ - **Sample Data**: Pre-configured sample tasks and workflows for testing and development
13
+ - **Test Bindings**: Helper functions for setting up test environments
14
+ - **Multi-Platform Support**: Works in browser, Node.js, and Bun environments
15
+
16
+ ## Installation
17
+
18
+ ```bash
19
+ npm install @workglow/test
20
+ # or
21
+ bun add @workglow/test
22
+ ```
23
+
24
+ ## Usage
25
+
26
+ ### In-Memory Repositories
27
+
28
+ ```typescript
29
+ import { InMemoryTaskGraphRepository, InMemoryTaskOutputRepository } from "@workglow/test";
30
+
31
+ // Create in-memory repositories for testing
32
+ const taskGraphRepo = new InMemoryTaskGraphRepository();
33
+ const taskOutputRepo = new InMemoryTaskOutputRepository();
34
+ ```
35
+
36
+ ### Sample Data and Models
37
+
38
+ ```typescript
39
+ import { registerHuggingfaceLocalModels, registerMediaPipeTfJsLocalModels } from "@workglow/test";
40
+
41
+ // Register sample AI models for testing
42
+ await registerHuggingfaceLocalModels();
43
+ await registerMediaPipeTfJsLocalModels();
44
+ ```
45
+
46
+ ### Test Queue Setup
47
+
48
+ ```typescript
49
+ import { register_HFT_InMemoryQueue, register_TFMP_InMemoryQueue } from "@workglow/test";
50
+
51
+ // Set up in-memory queues for testing
52
+ await register_HFT_InMemoryQueue();
53
+ await register_TFMP_InMemoryQueue();
54
+ ```
55
+
56
+ ## API Reference
57
+
58
+ ### Repositories
59
+
60
+ - `InMemoryTaskGraphRepository` - In-memory implementation of task graph storage
61
+ - `InMemoryTaskOutputRepository` - In-memory implementation of task output storage
62
+ - `IndexedDbTaskGraphRepository` - Browser-based IndexedDB storage for task graphs
63
+ - `IndexedDbTaskOutputRepository` - Browser-based IndexedDB storage for task outputs
64
+
65
+ ### Sample Registration Functions
66
+
67
+ - `registerHuggingfaceLocalModels()` - Registers sample HuggingFace models
68
+ - `registerMediaPipeTfJsLocalModels()` - Registers sample MediaPipe TensorFlow.js models
69
+ - `register_HFT_InMemoryQueue()` - Sets up HuggingFace Transformers in-memory queue
70
+ - `register_TFMP_InMemoryQueue()` - Sets up TensorFlow MediaPipe in-memory queue
71
+
72
+ ## Dependencies
73
+
74
+ This package depends on other Workglow packages:
75
+
76
+ - `@workglow/ai`
77
+ - `@workglow/ai-provider`
78
+ - `@workglow/job-queue`
79
+ - `@workglow/storage`
80
+ - `@workglow/task-graph`
81
+ - `@workglow/tasks`
82
+ - `@workglow/util`
83
+ - `@workglow/sqlite`
84
+
85
+ ## License
86
+
87
+ Apache 2.0 - See [LICENSE](./LICENSE) for details.
@@ -0,0 +1,15 @@
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 FS_FOLDER_TASK_GRAPH_REPOSITORY: import("@workglow/util").ServiceToken<TaskGraphTabularRepository>;
8
+ /**
9
+ * File-based implementation of a task graph repository.
10
+ * Provides storage and retrieval for task graphs using a file system.
11
+ */
12
+ export declare class FsFolderTaskGraphRepository extends TaskGraphTabularRepository {
13
+ constructor(folderPath: string);
14
+ }
15
+ //# sourceMappingURL=FsFolderTaskGraphRepository.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FsFolderTaskGraphRepository.d.ts","sourceRoot":"","sources":["../../src/binding/FsFolderTaskGraphRepository.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAGL,0BAA0B,EAC3B,MAAM,sBAAsB,CAAC;AAG9B,eAAO,MAAM,+BAA+B,mEAE3C,CAAC;AAEF;;;GAGG;AACH,qBAAa,2BAA4B,SAAQ,0BAA0B;gBAC7D,UAAU,EAAE,MAAM;CAS/B"}
@@ -0,0 +1,15 @@
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 FS_FOLDER_TASK_OUTPUT_REPOSITORY: import("@workglow/util").ServiceToken<FsFolderTaskOutputRepository>;
8
+ /**
9
+ * File system folder implementation of a task output repository.
10
+ * Provides storage and retrieval for task outputs using the file system.
11
+ */
12
+ export declare class FsFolderTaskOutputRepository extends TaskOutputTabularRepository {
13
+ constructor(folderPath: string);
14
+ }
15
+ //# sourceMappingURL=FsFolderTaskOutputRepository.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FsFolderTaskOutputRepository.d.ts","sourceRoot":"","sources":["../../src/binding/FsFolderTaskOutputRepository.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAGL,2BAA2B,EAC5B,MAAM,sBAAsB,CAAC;AAG9B,eAAO,MAAM,gCAAgC,qEAE5C,CAAC;AAEF;;;GAGG;AACH,qBAAa,4BAA6B,SAAQ,2BAA2B;gBAC/D,UAAU,EAAE,MAAM;CAS/B"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ import { Job, JobConstructorParam, JobQueue, JobQueueOptions } from "@workglow/job-queue";
7
+ export declare const IN_MEMORY_JOB_QUEUE: import("@workglow/util").ServiceToken<JobQueue<any, any, any>>;
8
+ export declare class InMemoryJobQueue<I, O, C extends Job<I, O>> extends JobQueue<I, O, C> {
9
+ constructor(queueName: string, jobCls: new (param: JobConstructorParam<I, O>) => C, options: JobQueueOptions<I, O>);
10
+ }
11
+ //# sourceMappingURL=InMemoryJobQueue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InMemoryJobQueue.d.ts","sourceRoot":"","sources":["../../src/binding/InMemoryJobQueue.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,GAAG,EAAE,mBAAmB,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAI1F,eAAO,MAAM,mBAAmB,gEAAmE,CAAC;AAEpG,qBAAa,gBAAgB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,SAAS,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,CAAE,SAAQ,QAAQ,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;gBAE9E,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,KAAK,KAAK,EAAE,mBAAmB,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,EACnD,OAAO,EAAE,eAAe,CAAC,CAAC,EAAE,CAAC,CAAC;CAKjC"}
@@ -0,0 +1,15 @@
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 MEMORY_TASK_GRAPH_REPOSITORY: import("@workglow/util").ServiceToken<TaskGraphTabularRepository>;
8
+ /**
9
+ * In-memory implementation of a task graph repository.
10
+ * Provides storage and retrieval for task graphs.
11
+ */
12
+ export declare class InMemoryTaskGraphRepository extends TaskGraphTabularRepository {
13
+ constructor();
14
+ }
15
+ //# sourceMappingURL=InMemoryTaskGraphRepository.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InMemoryTaskGraphRepository.d.ts","sourceRoot":"","sources":["../../src/binding/InMemoryTaskGraphRepository.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAGL,0BAA0B,EAC3B,MAAM,sBAAsB,CAAC;AAG9B,eAAO,MAAM,4BAA4B,mEAExC,CAAC;AAEF;;;GAGG;AACH,qBAAa,2BAA4B,SAAQ,0BAA0B;;CAM1E"}
@@ -0,0 +1,15 @@
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 MEMORY_TASK_OUTPUT_REPOSITORY: import("@workglow/util").ServiceToken<InMemoryTaskOutputRepository>;
8
+ /**
9
+ * In-memory implementation of a task output repository.
10
+ * Provides storage and retrieval for task outputs.
11
+ */
12
+ export declare class InMemoryTaskOutputRepository extends TaskOutputTabularRepository {
13
+ constructor();
14
+ }
15
+ //# sourceMappingURL=InMemoryTaskOutputRepository.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InMemoryTaskOutputRepository.d.ts","sourceRoot":"","sources":["../../src/binding/InMemoryTaskOutputRepository.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAGL,2BAA2B,EAC5B,MAAM,sBAAsB,CAAC;AAG9B,eAAO,MAAM,6BAA6B,qEAEzC,CAAC;AAEF;;;GAGG;AACH,qBAAa,4BAA6B,SAAQ,2BAA2B;;CAU5E"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ import { Job, JobConstructorParam, JobQueue, JobQueueOptions } from "@workglow/job-queue";
7
+ export declare const INDEXED_DB_JOB_QUEUE: import("@workglow/util").ServiceToken<JobQueue<any, any, any>>;
8
+ export declare class IndexedDbJobQueue<I, O, C extends Job<I, O>> extends JobQueue<I, O, C> {
9
+ constructor(queueName: string, jobCls: new (param: JobConstructorParam<I, O>) => C, options: JobQueueOptions<I, O>);
10
+ }
11
+ //# sourceMappingURL=IndexedDbJobQueue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IndexedDbJobQueue.d.ts","sourceRoot":"","sources":["../../src/binding/IndexedDbJobQueue.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,GAAG,EAAE,mBAAmB,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAI1F,eAAO,MAAM,oBAAoB,gEACkC,CAAC;AAEpE,qBAAa,iBAAiB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,SAAS,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,CAAE,SAAQ,QAAQ,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;gBAE/E,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,KAAK,KAAK,EAAE,mBAAmB,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,EACnD,OAAO,EAAE,eAAe,CAAC,CAAC,EAAE,CAAC,CAAC;CAKjC"}
@@ -0,0 +1,15 @@
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 IDB_TASK_GRAPH_REPOSITORY: import("@workglow/util").ServiceToken<TaskGraphTabularRepository>;
8
+ /**
9
+ * IndexedDB implementation of a task graph repository.
10
+ * Provides storage and retrieval for task graphs using IndexedDB.
11
+ */
12
+ export declare class IndexedDbTaskGraphRepository extends TaskGraphTabularRepository {
13
+ constructor(table?: string);
14
+ }
15
+ //# sourceMappingURL=IndexedDbTaskGraphRepository.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IndexedDbTaskGraphRepository.d.ts","sourceRoot":"","sources":["../../src/binding/IndexedDbTaskGraphRepository.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAGL,0BAA0B,EAC3B,MAAM,sBAAsB,CAAC;AAG9B,eAAO,MAAM,yBAAyB,mEAErC,CAAC;AAEF;;;GAGG;AACH,qBAAa,4BAA6B,SAAQ,0BAA0B;gBAC9D,KAAK,GAAE,MAAsB;CAS1C"}
@@ -0,0 +1,15 @@
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 IDB_TASK_OUTPUT_REPOSITORY: import("@workglow/util").ServiceToken<IndexedDbTaskOutputRepository>;
8
+ /**
9
+ * IndexedDB implementation of a task output repository.
10
+ * Provides storage and retrieval for task outputs using IndexedDB.
11
+ */
12
+ export declare class IndexedDbTaskOutputRepository extends TaskOutputTabularRepository {
13
+ constructor(table?: string);
14
+ }
15
+ //# sourceMappingURL=IndexedDbTaskOutputRepository.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IndexedDbTaskOutputRepository.d.ts","sourceRoot":"","sources":["../../src/binding/IndexedDbTaskOutputRepository.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAGL,2BAA2B,EAC5B,MAAM,sBAAsB,CAAC;AAG9B,eAAO,MAAM,0BAA0B,sEAEtC,CAAC;AAEF;;;GAGG;AACH,qBAAa,6BAA8B,SAAQ,2BAA2B;gBAChE,KAAK,GAAE,MAAuB;CAU3C"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ import { Job, JobConstructorParam, JobQueue, JobQueueOptions } from "@workglow/job-queue";
7
+ export declare const POSTGRES_JOB_QUEUE: import("@workglow/util").ServiceToken<JobQueue<any, any, any>>;
8
+ export declare class PostgresJobQueue<I, O, C extends Job<I, O>> extends JobQueue<I, O, C> {
9
+ constructor(db: any, queueName: string, jobCls: new (param: JobConstructorParam<I, O>) => C, options: JobQueueOptions<I, O>);
10
+ }
11
+ //# sourceMappingURL=PostgresJobQueue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PostgresJobQueue.d.ts","sourceRoot":"","sources":["../../src/binding/PostgresJobQueue.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,GAAG,EAAE,mBAAmB,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAI1F,eAAO,MAAM,kBAAkB,gEAAmE,CAAC;AAEnG,qBAAa,gBAAgB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,SAAS,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,CAAE,SAAQ,QAAQ,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;gBAE9E,EAAE,EAAE,GAAG,EACP,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,KAAK,KAAK,EAAE,mBAAmB,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,EACnD,OAAO,EAAE,eAAe,CAAC,CAAC,EAAE,CAAC,CAAC;CAKjC"}
@@ -0,0 +1,16 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,16 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ import { Job, JobConstructorParam, JobQueue, JobQueueOptions } from "@workglow/job-queue";
7
+ export declare const SQLITE_JOB_QUEUE: import("@workglow/util").ServiceToken<JobQueue<any, any, any>>;
8
+ export declare class SqliteJobQueue<I, O, C extends Job<I, O>> extends JobQueue<I, O, C> {
9
+ constructor(db: any, queueName: string, jobCls: new (param: JobConstructorParam<I, O>) => C, options: JobQueueOptions<I, O>);
10
+ }
11
+ //# sourceMappingURL=SqliteJobQueue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SqliteJobQueue.d.ts","sourceRoot":"","sources":["../../src/binding/SqliteJobQueue.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,GAAG,EAAE,mBAAmB,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAI1F,eAAO,MAAM,gBAAgB,gEAAiE,CAAC;AAE/F,qBAAa,cAAc,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,SAAS,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,CAAE,SAAQ,QAAQ,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;gBAE5E,EAAE,EAAE,GAAG,EACP,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,KAAK,KAAK,EAAE,mBAAmB,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,EACnD,OAAO,EAAE,eAAe,CAAC,CAAC,EAAE,CAAC,CAAC;CAKjC"}
@@ -0,0 +1,15 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,15 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,11 @@
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/IndexedDbJobQueue";
8
+ export * from "./binding/IndexedDbTaskGraphRepository";
9
+ export * from "./binding/IndexedDbTaskOutputRepository";
10
+ export * from "./binding/InMemoryJobQueue";
11
+ //# sourceMappingURL=browser.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"browser.d.ts","sourceRoot":"","sources":["../src/browser.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,UAAU,CAAC;AAEzB,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wCAAwC,CAAC;AACvD,cAAc,yCAAyC,CAAC;AACxD,cAAc,4BAA4B,CAAC"}