@workglow/test 0.0.86 → 0.0.88
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.
- package/dist/binding/FsFolderTaskGraphRepository.d.ts +15 -0
- package/dist/binding/FsFolderTaskGraphRepository.d.ts.map +1 -0
- package/dist/binding/FsFolderTaskOutputRepository.d.ts +15 -0
- package/dist/binding/FsFolderTaskOutputRepository.d.ts.map +1 -0
- package/dist/binding/InMemoryTaskGraphRepository.d.ts +15 -0
- package/dist/binding/InMemoryTaskGraphRepository.d.ts.map +1 -0
- package/dist/binding/InMemoryTaskOutputRepository.d.ts +15 -0
- package/dist/binding/InMemoryTaskOutputRepository.d.ts.map +1 -0
- package/dist/binding/IndexedDbModelRepository.d.ts +14 -0
- package/dist/binding/IndexedDbModelRepository.d.ts.map +1 -0
- package/dist/binding/IndexedDbTaskGraphRepository.d.ts +15 -0
- package/dist/binding/IndexedDbTaskGraphRepository.d.ts.map +1 -0
- package/dist/binding/IndexedDbTaskOutputRepository.d.ts +15 -0
- package/dist/binding/IndexedDbTaskOutputRepository.d.ts.map +1 -0
- package/dist/binding/PostgresModelRepository.d.ts +15 -0
- package/dist/binding/PostgresModelRepository.d.ts.map +1 -0
- package/dist/binding/PostgresTaskGraphRepository.d.ts +16 -0
- package/dist/binding/PostgresTaskGraphRepository.d.ts.map +1 -0
- package/dist/binding/PostgresTaskOutputRepository.d.ts +16 -0
- package/dist/binding/PostgresTaskOutputRepository.d.ts.map +1 -0
- package/dist/binding/RegisterTasks.d.ts +7 -0
- package/dist/binding/RegisterTasks.d.ts.map +1 -0
- package/dist/binding/SqliteModelRepository.d.ts +14 -0
- package/dist/binding/SqliteModelRepository.d.ts.map +1 -0
- package/dist/binding/SqliteTaskGraphRepository.d.ts +15 -0
- package/dist/binding/SqliteTaskGraphRepository.d.ts.map +1 -0
- package/dist/binding/SqliteTaskOutputRepository.d.ts +15 -0
- package/dist/binding/SqliteTaskOutputRepository.d.ts.map +1 -0
- package/dist/browser.d.ts +9 -0
- package/dist/browser.d.ts.map +1 -0
- package/dist/bun.d.ts +7 -0
- package/dist/bun.d.ts.map +1 -0
- package/dist/common-server.d.ts +15 -0
- package/dist/common-server.d.ts.map +1 -0
- package/dist/common.d.ts +9 -0
- package/dist/common.d.ts.map +1 -0
- package/dist/node.d.ts +7 -0
- package/dist/node.d.ts.map +1 -0
- package/dist/samples/MediaPipeModelSamples.d.ts +2 -0
- package/dist/samples/MediaPipeModelSamples.d.ts.map +1 -0
- package/dist/samples/ONNXModelSamples.d.ts +2 -0
- package/dist/samples/ONNXModelSamples.d.ts.map +1 -0
- package/dist/samples/index.d.ts +10 -0
- package/dist/samples/index.d.ts.map +1 -0
- package/dist/test/ai-model/InMemoryModelRepository.test.d.ts +7 -0
- package/dist/test/ai-model/InMemoryModelRepository.test.d.ts.map +1 -0
- package/dist/test/ai-model/IndexedDbModelRepository.test.d.ts +7 -0
- package/dist/test/ai-model/IndexedDbModelRepository.test.d.ts.map +1 -0
- package/dist/test/ai-model/PostgresModelRepository.test.d.ts +7 -0
- package/dist/test/ai-model/PostgresModelRepository.test.d.ts.map +1 -0
- package/dist/test/ai-model/SqliteModelRepository.test.d.ts +7 -0
- package/dist/test/ai-model/SqliteModelRepository.test.d.ts.map +1 -0
- package/dist/test/ai-model/genericModelRepositoryTests.d.ts +8 -0
- package/dist/test/ai-model/genericModelRepositoryTests.d.ts.map +1 -0
- package/dist/test/ai-provider/AiProviderRegistry.test.d.ts +7 -0
- package/dist/test/ai-provider/AiProviderRegistry.test.d.ts.map +1 -0
- package/dist/test/ai-provider/DownloadModelAbort.test.d.ts +7 -0
- package/dist/test/ai-provider/DownloadModelAbort.test.d.ts.map +1 -0
- package/dist/test/ai-provider/HFTransformersBinding.test.d.ts +7 -0
- package/dist/test/ai-provider/HFTransformersBinding.test.d.ts.map +1 -0
- package/dist/test/ai-provider/TextEmbeddingTask.test.d.ts +7 -0
- package/dist/test/ai-provider/TextEmbeddingTask.test.d.ts.map +1 -0
- package/dist/test/ai-provider/TfMediaPipeBinding.test.d.ts +7 -0
- package/dist/test/ai-provider/TfMediaPipeBinding.test.d.ts.map +1 -0
- package/dist/test/ai-provider/VisionTasks.test.d.ts +7 -0
- package/dist/test/ai-provider/VisionTasks.test.d.ts.map +1 -0
- package/dist/test/ai-provider/ZeroShotTasks.test.d.ts +7 -0
- package/dist/test/ai-provider/ZeroShotTasks.test.d.ts.map +1 -0
- package/dist/test/helpers/SupabaseMockClient.d.ts +12 -0
- package/dist/test/helpers/SupabaseMockClient.d.ts.map +1 -0
- package/dist/test/job-queue/InMemoryJobQueue.test.d.ts +7 -0
- package/dist/test/job-queue/InMemoryJobQueue.test.d.ts.map +1 -0
- package/dist/test/job-queue/InMemoryPrefixedQueueStorage.test.d.ts +7 -0
- package/dist/test/job-queue/InMemoryPrefixedQueueStorage.test.d.ts.map +1 -0
- package/dist/test/job-queue/IndexedDbJobQueue.test.d.ts +7 -0
- package/dist/test/job-queue/IndexedDbJobQueue.test.d.ts.map +1 -0
- package/dist/test/job-queue/IndexedDbPrefixedQueueStorage.test.d.ts +7 -0
- package/dist/test/job-queue/IndexedDbPrefixedQueueStorage.test.d.ts.map +1 -0
- package/dist/test/job-queue/PostgresJobQueue.test.d.ts +7 -0
- package/dist/test/job-queue/PostgresJobQueue.test.d.ts.map +1 -0
- package/dist/test/job-queue/PostgresPrefixedQueueStorage.test.d.ts +7 -0
- package/dist/test/job-queue/PostgresPrefixedQueueStorage.test.d.ts.map +1 -0
- package/dist/test/job-queue/SqliteJobQueue.test.d.ts +7 -0
- package/dist/test/job-queue/SqliteJobQueue.test.d.ts.map +1 -0
- package/dist/test/job-queue/SqlitePrefixedQueueStorage.test.d.ts +7 -0
- package/dist/test/job-queue/SqlitePrefixedQueueStorage.test.d.ts.map +1 -0
- package/dist/test/job-queue/SupabaseJobQueue.test.d.ts +7 -0
- package/dist/test/job-queue/SupabaseJobQueue.test.d.ts.map +1 -0
- package/dist/test/job-queue/SupabasePrefixedQueueStorage.test.d.ts +7 -0
- package/dist/test/job-queue/SupabasePrefixedQueueStorage.test.d.ts.map +1 -0
- package/dist/test/job-queue/genericJobQueueTests.d.ts +22 -0
- package/dist/test/job-queue/genericJobQueueTests.d.ts.map +1 -0
- package/dist/test/job-queue/genericPrefixedQueueStorageTests.d.ts +18 -0
- package/dist/test/job-queue/genericPrefixedQueueStorageTests.d.ts.map +1 -0
- package/dist/test/job-queue/genericQueueStorageSubscriptionTests.d.ts +29 -0
- package/dist/test/job-queue/genericQueueStorageSubscriptionTests.d.ts.map +1 -0
- package/dist/test/rag/ChunkToVector.test.d.ts +7 -0
- package/dist/test/rag/ChunkToVector.test.d.ts.map +1 -0
- package/dist/test/rag/ContextBuilderTask.test.d.ts +7 -0
- package/dist/test/rag/ContextBuilderTask.test.d.ts.map +1 -0
- package/dist/test/rag/Document.test.d.ts +7 -0
- package/dist/test/rag/Document.test.d.ts.map +1 -0
- package/dist/test/rag/DocumentChunkRetrievalTask.test.d.ts +7 -0
- package/dist/test/rag/DocumentChunkSearchTask.test.d.ts +7 -0
- package/dist/test/rag/DocumentChunkSearchTask.test.d.ts.map +1 -0
- package/dist/test/rag/DocumentChunkUpsertTask.test.d.ts +7 -0
- package/dist/test/rag/DocumentChunkUpsertTask.test.d.ts.map +1 -0
- package/dist/test/rag/DocumentRepository.test.d.ts +7 -0
- package/dist/test/rag/DocumentRepository.test.d.ts.map +1 -0
- package/dist/test/rag/EndToEnd.test.d.ts +7 -0
- package/dist/test/rag/EndToEnd.test.d.ts.map +1 -0
- package/dist/test/rag/FullChain.test.d.ts +7 -0
- package/dist/test/rag/FullChain.test.d.ts.map +1 -0
- package/dist/test/rag/HierarchicalChunker.test.d.ts +7 -0
- package/dist/test/rag/HierarchicalChunker.test.d.ts.map +1 -0
- package/dist/test/rag/HybridSearchTask.test.d.ts +7 -0
- package/dist/test/rag/HybridSearchTask.test.d.ts.map +1 -0
- package/dist/test/rag/RagWorkflow.test.d.ts +7 -0
- package/dist/test/rag/RagWorkflow.test.d.ts.map +1 -0
- package/dist/test/rag/StructuralParser.test.d.ts +7 -0
- package/dist/test/rag/StructuralParser.test.d.ts.map +1 -0
- package/dist/test/rag/TextChunkerTask.test.d.ts +7 -0
- package/dist/test/rag/TextChunkerTask.test.d.ts.map +1 -0
- package/dist/test/rag/VectorQuantizeTask.test.d.ts +7 -0
- package/dist/test/rag/VectorQuantizeTask.test.d.ts.map +1 -0
- package/dist/test/storage-kv/FsFolderJsonKvRepository.test.d.ts +7 -0
- package/dist/test/storage-kv/FsFolderJsonKvRepository.test.d.ts.map +1 -0
- package/dist/test/storage-kv/FsFolderKvRepository.test.d.ts +7 -0
- package/dist/test/storage-kv/FsFolderKvRepository.test.d.ts.map +1 -0
- package/dist/test/storage-kv/InMemoryKvRepository.test.d.ts +7 -0
- package/dist/test/storage-kv/InMemoryKvRepository.test.d.ts.map +1 -0
- package/dist/test/storage-kv/IndexedDbKvRepository.test.d.ts +7 -0
- package/dist/test/storage-kv/IndexedDbKvRepository.test.d.ts.map +1 -0
- package/dist/test/storage-kv/PostgresKvRepository.test.d.ts +7 -0
- package/dist/test/storage-kv/PostgresKvRepository.test.d.ts.map +1 -0
- package/dist/test/storage-kv/SqliteKvRepository.test.d.ts +7 -0
- package/dist/test/storage-kv/SqliteKvRepository.test.d.ts.map +1 -0
- package/dist/test/storage-kv/SupabaseKvRepository.test.d.ts +7 -0
- package/dist/test/storage-kv/SupabaseKvRepository.test.d.ts.map +1 -0
- package/dist/test/storage-kv/genericKvRepositoryTests.d.ts +9 -0
- package/dist/test/storage-kv/genericKvRepositoryTests.d.ts.map +1 -0
- package/dist/test/storage-tabular/CachedTabularRepository.test.d.ts +7 -0
- package/dist/test/storage-tabular/CachedTabularRepository.test.d.ts.map +1 -0
- package/dist/test/storage-tabular/FsFolderTabularRepository.test.d.ts +7 -0
- package/dist/test/storage-tabular/FsFolderTabularRepository.test.d.ts.map +1 -0
- package/dist/test/storage-tabular/InMemoryTabularRepository.test.d.ts +7 -0
- package/dist/test/storage-tabular/InMemoryTabularRepository.test.d.ts.map +1 -0
- package/dist/test/storage-tabular/IndexedDbTabularRepository.test.d.ts +7 -0
- package/dist/test/storage-tabular/IndexedDbTabularRepository.test.d.ts.map +1 -0
- package/dist/test/storage-tabular/PostgresTabularRepository.test.d.ts +7 -0
- package/dist/test/storage-tabular/PostgresTabularRepository.test.d.ts.map +1 -0
- package/dist/test/storage-tabular/SqliteTabularRepository.test.d.ts +7 -0
- package/dist/test/storage-tabular/SqliteTabularRepository.test.d.ts.map +1 -0
- package/dist/test/storage-tabular/SupabaseTabularRepository.test.d.ts +7 -0
- package/dist/test/storage-tabular/SupabaseTabularRepository.test.d.ts.map +1 -0
- package/dist/test/storage-tabular/genericTabularRepositorySubscriptionTests.d.ts +19 -0
- package/dist/test/storage-tabular/genericTabularRepositorySubscriptionTests.d.ts.map +1 -0
- package/dist/test/storage-tabular/genericTabularRepositoryTests.d.ts +167 -0
- package/dist/test/storage-tabular/genericTabularRepositoryTests.d.ts.map +1 -0
- package/dist/test/storage-util/HybridSubscriptionManager.test.d.ts +7 -0
- package/dist/test/storage-util/HybridSubscriptionManager.test.d.ts.map +1 -0
- package/dist/test/storage-util/IndexedDbHybridSubscription.test.d.ts +7 -0
- package/dist/test/storage-util/IndexedDbHybridSubscription.test.d.ts.map +1 -0
- package/dist/test/storage-util/IndexedDbTable.migration.test.d.ts +7 -0
- package/dist/test/storage-util/IndexedDbTable.migration.test.d.ts.map +1 -0
- package/dist/test/task/ArrayTask.test.d.ts +7 -0
- package/dist/test/task/ArrayTask.test.d.ts.map +1 -0
- package/dist/test/task/ConditionalTask.test.d.ts +7 -0
- package/dist/test/task/ConditionalTask.test.d.ts.map +1 -0
- package/dist/test/task/DelayTask.test.d.ts +7 -0
- package/dist/test/task/DelayTask.test.d.ts.map +1 -0
- package/dist/test/task/FetchTask.test.d.ts +7 -0
- package/dist/test/task/FetchTask.test.d.ts.map +1 -0
- package/dist/test/task/FileLoaderTask.server.test.d.ts +7 -0
- package/dist/test/task/FileLoaderTask.server.test.d.ts.map +1 -0
- package/dist/test/task/FileLoaderTask.test.d.ts +7 -0
- package/dist/test/task/FileLoaderTask.test.d.ts.map +1 -0
- package/dist/test/task/GraphAsTask.test.d.ts +2 -0
- package/dist/test/task/GraphAsTask.test.d.ts.map +1 -0
- package/dist/test/task/JavaScriptTask.test.d.ts +7 -0
- package/dist/test/task/JavaScriptTask.test.d.ts.map +1 -0
- package/dist/test/task/LambdaTask.test.d.ts +7 -0
- package/dist/test/task/LambdaTask.test.d.ts.map +1 -0
- package/dist/test/task/MergeTask.test.d.ts +7 -0
- package/dist/test/task/MergeTask.test.d.ts.map +1 -0
- package/dist/test/task/OwnTask.test.d.ts +2 -0
- package/dist/test/task/OwnTask.test.d.ts.map +1 -0
- package/dist/test/task/SingleTask.test.d.ts +7 -0
- package/dist/test/task/SingleTask.test.d.ts.map +1 -0
- package/dist/test/task/SplitTask.test.d.ts +7 -0
- package/dist/test/task/SplitTask.test.d.ts.map +1 -0
- package/dist/test/task/Task.smartClone.test.d.ts +7 -0
- package/dist/test/task/Task.smartClone.test.d.ts.map +1 -0
- package/dist/test/task/TestTasks.d.ts +548 -0
- package/dist/test/task/TestTasks.d.ts.map +1 -0
- package/dist/test/task-graph/InputResolver.test.d.ts +7 -0
- package/dist/test/task-graph/InputResolver.test.d.ts.map +1 -0
- package/dist/test/task-graph/Pipeline.test.d.ts +7 -0
- package/dist/test/task-graph/Pipeline.test.d.ts.map +1 -0
- package/dist/test/task-graph/TaskGraph.test.d.ts +7 -0
- package/dist/test/task-graph/TaskGraph.test.d.ts.map +1 -0
- package/dist/test/task-graph/TaskGraphFormatSemantic.test.d.ts +7 -0
- package/dist/test/task-graph/TaskGraphFormatSemantic.test.d.ts.map +1 -0
- package/dist/test/task-graph/TaskGraphRunner.test.d.ts +7 -0
- package/dist/test/task-graph/TaskGraphRunner.test.d.ts.map +1 -0
- package/dist/test/task-graph/TaskSubGraphRunner.test.d.ts +7 -0
- package/dist/test/task-graph/TaskSubGraphRunner.test.d.ts.map +1 -0
- package/dist/test/task-graph/Workflow.test.d.ts +7 -0
- package/dist/test/task-graph/Workflow.test.d.ts.map +1 -0
- package/dist/test/task-graph-job-queue/InMemoryTaskGraphJobQueue.test.d.ts +7 -0
- package/dist/test/task-graph-job-queue/InMemoryTaskGraphJobQueue.test.d.ts.map +1 -0
- package/dist/test/task-graph-job-queue/IndexedDbTaskGraphJobQueue.test.d.ts +7 -0
- package/dist/test/task-graph-job-queue/IndexedDbTaskGraphJobQueue.test.d.ts.map +1 -0
- package/dist/test/task-graph-job-queue/SqliteTaskGraphJobQueue.test.d.ts +7 -0
- package/dist/test/task-graph-job-queue/SqliteTaskGraphJobQueue.test.d.ts.map +1 -0
- package/dist/test/task-graph-job-queue/genericTaskGraphJobQueueTests.d.ts +23 -0
- package/dist/test/task-graph-job-queue/genericTaskGraphJobQueueTests.d.ts.map +1 -0
- package/dist/test/task-graph-output-cache/FileTaskOutputRepository.test.d.ts +7 -0
- package/dist/test/task-graph-output-cache/FileTaskOutputRepository.test.d.ts.map +1 -0
- package/dist/test/task-graph-output-cache/InMemoryTaskOutputRepository.test.d.ts +7 -0
- package/dist/test/task-graph-output-cache/InMemoryTaskOutputRepository.test.d.ts.map +1 -0
- package/dist/test/task-graph-output-cache/IndexedDbTaskOutputRepository.test.d.ts +7 -0
- package/dist/test/task-graph-output-cache/IndexedDbTaskOutputRepository.test.d.ts.map +1 -0
- package/dist/test/task-graph-output-cache/SqliteTaskOutputRepository.test.d.ts +7 -0
- package/dist/test/task-graph-output-cache/SqliteTaskOutputRepository.test.d.ts.map +1 -0
- package/dist/test/task-graph-output-cache/genericTaskOutputRepositoryTests.d.ts +8 -0
- package/dist/test/task-graph-output-cache/genericTaskOutputRepositoryTests.d.ts.map +1 -0
- package/dist/test/task-graph-storage/FileTaskGraphRepository.test.d.ts +7 -0
- package/dist/test/task-graph-storage/FileTaskGraphRepository.test.d.ts.map +1 -0
- package/dist/test/task-graph-storage/InMemoryTaskGraphRepository.test.d.ts +7 -0
- package/dist/test/task-graph-storage/InMemoryTaskGraphRepository.test.d.ts.map +1 -0
- package/dist/test/task-graph-storage/IndexedDbTaskGraphRepository.test.d.ts +7 -0
- package/dist/test/task-graph-storage/IndexedDbTaskGraphRepository.test.d.ts.map +1 -0
- package/dist/test/task-graph-storage/SqliteTaskGraphRepository.test.d.ts +7 -0
- package/dist/test/task-graph-storage/SqliteTaskGraphRepository.test.d.ts.map +1 -0
- package/dist/test/task-graph-storage/genericTaskGraphRepositoryTests.d.ts +8 -0
- package/dist/test/task-graph-storage/genericTaskGraphRepositoryTests.d.ts.map +1 -0
- package/dist/test/util/Document.test.d.ts +7 -0
- package/dist/test/util/Document.test.d.ts.map +1 -0
- package/dist/test/util/EventEmitter.test.d.ts +7 -0
- package/dist/test/util/EventEmitter.test.d.ts.map +1 -0
- package/dist/test/util/SchemaUtils.test.d.ts +7 -0
- package/dist/test/util/SchemaUtils.test.d.ts.map +1 -0
- package/dist/test/util/VectorSimilarityUtils.test.d.ts +7 -0
- package/dist/test/util/VectorSimilarityUtils.test.d.ts.map +1 -0
- package/dist/test/util/VectorUtils.test.d.ts +7 -0
- package/dist/test/util/VectorUtils.test.d.ts.map +1 -0
- package/dist/test/util/arrayAsObjectProxy.test.d.ts +7 -0
- package/dist/test/util/arrayAsObjectProxy.test.d.ts.map +1 -0
- package/dist/test/util/compression.test.d.ts +7 -0
- package/dist/test/util/compression.test.d.ts.map +1 -0
- package/dist/test/util/directedAcyclicGraph.test.d.ts +2 -0
- package/dist/test/util/directedAcyclicGraph.test.d.ts.map +1 -0
- package/dist/test/util/directedGraph.test.d.ts +2 -0
- package/dist/test/util/directedGraph.test.d.ts.map +1 -0
- package/dist/test/util/graph.test.d.ts +5 -0
- package/dist/test/util/graph.test.d.ts.map +1 -0
- package/dist/test/util/readme.test.d.ts +2 -0
- package/dist/test/util/readme.test.d.ts.map +1 -0
- package/dist/types.d.ts +7 -0
- package/dist/types.d.ts.map +1 -0
- package/package.json +21 -21
|
@@ -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 @@
|
|
|
1
|
+
{"version":3,"file":"PostgresPrefixedQueueStorage.test.d.ts","sourceRoot":"","sources":["../../../src/test/job-queue/PostgresPrefixedQueueStorage.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -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 @@
|
|
|
1
|
+
{"version":3,"file":"SqlitePrefixedQueueStorage.test.d.ts","sourceRoot":"","sources":["../../../src/test/job-queue/SqlitePrefixedQueueStorage.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -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 @@
|
|
|
1
|
+
{"version":3,"file":"SupabasePrefixedQueueStorage.test.d.ts","sourceRoot":"","sources":["../../../src/test/job-queue/SupabasePrefixedQueueStorage.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
|
@@ -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,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"}
|
|
@@ -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 { 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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,29 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChunkToVector.test.d.ts","sourceRoot":"","sources":["../../../src/test/rag/ChunkToVector.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContextBuilderTask.test.d.ts","sourceRoot":"","sources":["../../../src/test/rag/ContextBuilderTask.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Document.test.d.ts","sourceRoot":"","sources":["../../../src/test/rag/Document.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DocumentChunkSearchTask.test.d.ts","sourceRoot":"","sources":["../../../src/test/rag/DocumentChunkSearchTask.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DocumentChunkUpsertTask.test.d.ts","sourceRoot":"","sources":["../../../src/test/rag/DocumentChunkUpsertTask.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DocumentRepository.test.d.ts","sourceRoot":"","sources":["../../../src/test/rag/DocumentRepository.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EndToEnd.test.d.ts","sourceRoot":"","sources":["../../../src/test/rag/EndToEnd.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAiEH,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FullChain.test.d.ts","sourceRoot":"","sources":["../../../src/test/rag/FullChain.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HierarchicalChunker.test.d.ts","sourceRoot":"","sources":["../../../src/test/rag/HierarchicalChunker.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HybridSearchTask.test.d.ts","sourceRoot":"","sources":["../../../src/test/rag/HybridSearchTask.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RagWorkflow.test.d.ts","sourceRoot":"","sources":["../../../src/test/rag/RagWorkflow.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AA4DH,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StructuralParser.test.d.ts","sourceRoot":"","sources":["../../../src/test/rag/StructuralParser.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextChunkerTask.test.d.ts","sourceRoot":"","sources":["../../../src/test/rag/TextChunkerTask.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VectorQuantizeTask.test.d.ts","sourceRoot":"","sources":["../../../src/test/rag/VectorQuantizeTask.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -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 @@
|
|
|
1
|
+
{"version":3,"file":"FsFolderKvRepository.test.d.ts","sourceRoot":"","sources":["../../../src/test/storage-kv/FsFolderKvRepository.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -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 @@
|
|
|
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 @@
|
|
|
1
|
+
{"version":3,"file":"PostgresKvRepository.test.d.ts","sourceRoot":"","sources":["../../../src/test/storage-kv/PostgresKvRepository.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -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 @@
|
|
|
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 { IKvStorage } from "@workglow/storage";
|
|
7
|
+
import { JsonSchema } from "@workglow/util";
|
|
8
|
+
export declare function runGenericKvRepositoryTests(createRepository: (keyType: JsonSchema, valueType: JsonSchema) => Promise<IKvStorage<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,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACtE,OAAO,EAAc,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAGxD,wBAAgB,2BAA2B,CACzC,gBAAgB,EAAE,CAAC,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,KAAK,OAAO,CAAC,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,QAkHhG"}
|
|
@@ -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 @@
|
|
|
1
|
+
{"version":3,"file":"FsFolderTabularRepository.test.d.ts","sourceRoot":"","sources":["../../../src/test/storage-tabular/FsFolderTabularRepository.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -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 @@
|
|
|
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 @@
|
|
|
1
|
+
{"version":3,"file":"PostgresTabularRepository.test.d.ts","sourceRoot":"","sources":["../../../src/test/storage-tabular/PostgresTabularRepository.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -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 @@
|
|
|
1
|
+
{"version":3,"file":"SupabaseTabularRepository.test.d.ts","sourceRoot":"","sources":["../../../src/test/storage-tabular/SupabaseTabularRepository.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2025 Steven Roussey <sroussey@gmail.com>
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
import { ITabularStorage } from "@workglow/storage";
|
|
7
|
+
import { CompoundPrimaryKeyNames, CompoundSchema } from "./genericTabularRepositoryTests";
|
|
8
|
+
/**
|
|
9
|
+
* Generic tests for tabular repository subscription functionality
|
|
10
|
+
*/
|
|
11
|
+
export declare function runGenericTabularRepositorySubscriptionTests(createRepository: () => Promise<ITabularStorage<typeof CompoundSchema, typeof CompoundPrimaryKeyNames>>, options?: {
|
|
12
|
+
/** Whether this repository implementation uses polling (needs longer waits) */
|
|
13
|
+
readonly usesPolling?: boolean;
|
|
14
|
+
/** Custom polling interval for polling-based implementations */
|
|
15
|
+
readonly pollingIntervalMs?: number;
|
|
16
|
+
/** Whether this repository implementation supports deleteSearch */
|
|
17
|
+
readonly supportsDeleteSearch?: boolean;
|
|
18
|
+
}): void;
|
|
19
|
+
//# sourceMappingURL=genericTabularRepositorySubscriptionTests.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"genericTabularRepositorySubscriptionTests.d.ts","sourceRoot":"","sources":["../../../src/test/storage-tabular/genericTabularRepositorySubscriptionTests.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,eAAe,EAAwB,MAAM,mBAAmB,CAAC;AAG1E,OAAO,EAAE,uBAAuB,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAE1F;;GAEG;AAEH,wBAAgB,4CAA4C,CAC1D,gBAAgB,EAAE,MAAM,OAAO,CAC7B,eAAe,CAAC,OAAO,cAAc,EAAE,OAAO,uBAAuB,CAAC,CACvE,EACD,OAAO,CAAC,EAAE;IACR,+EAA+E;IAC/E,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;IAC/B,gEAAgE;IAChE,QAAQ,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IACpC,mEAAmE;IACnE,QAAQ,CAAC,oBAAoB,CAAC,EAAE,OAAO,CAAC;CACzC,QAmSF"}
|