@workglow/test 0.0.84 → 0.0.86
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser.js +140 -106
- package/dist/browser.js.map +8 -8
- package/dist/bun.js +152 -118
- package/dist/bun.js.map +14 -14
- package/dist/node.js +152 -118
- package/dist/node.js.map +14 -14
- package/dist/test/rag/DocumentChunkRetrievalTask.test.d.ts.map +1 -0
- package/package.json +22 -17
- package/src/binding/README.md +1 -1
- package/src/test/rag/history_of_the_united_states.md +122 -0
- package/dist/binding/FsFolderTaskGraphRepository.d.ts +0 -15
- package/dist/binding/FsFolderTaskGraphRepository.d.ts.map +0 -1
- package/dist/binding/FsFolderTaskOutputRepository.d.ts +0 -15
- package/dist/binding/FsFolderTaskOutputRepository.d.ts.map +0 -1
- package/dist/binding/InMemoryTaskGraphRepository.d.ts +0 -15
- package/dist/binding/InMemoryTaskGraphRepository.d.ts.map +0 -1
- package/dist/binding/InMemoryTaskOutputRepository.d.ts +0 -15
- package/dist/binding/InMemoryTaskOutputRepository.d.ts.map +0 -1
- package/dist/binding/IndexedDbModelRepository.d.ts +0 -14
- package/dist/binding/IndexedDbModelRepository.d.ts.map +0 -1
- package/dist/binding/IndexedDbTaskGraphRepository.d.ts +0 -15
- package/dist/binding/IndexedDbTaskGraphRepository.d.ts.map +0 -1
- package/dist/binding/IndexedDbTaskOutputRepository.d.ts +0 -15
- package/dist/binding/IndexedDbTaskOutputRepository.d.ts.map +0 -1
- package/dist/binding/PostgresModelRepository.d.ts +0 -15
- package/dist/binding/PostgresModelRepository.d.ts.map +0 -1
- package/dist/binding/PostgresTaskGraphRepository.d.ts +0 -16
- package/dist/binding/PostgresTaskGraphRepository.d.ts.map +0 -1
- package/dist/binding/PostgresTaskOutputRepository.d.ts +0 -16
- package/dist/binding/PostgresTaskOutputRepository.d.ts.map +0 -1
- package/dist/binding/SqliteModelRepository.d.ts +0 -14
- package/dist/binding/SqliteModelRepository.d.ts.map +0 -1
- package/dist/binding/SqliteTaskGraphRepository.d.ts +0 -15
- package/dist/binding/SqliteTaskGraphRepository.d.ts.map +0 -1
- package/dist/binding/SqliteTaskOutputRepository.d.ts +0 -15
- package/dist/binding/SqliteTaskOutputRepository.d.ts.map +0 -1
- package/dist/browser.d.ts +0 -9
- package/dist/browser.d.ts.map +0 -1
- package/dist/bun.d.ts +0 -7
- package/dist/bun.d.ts.map +0 -1
- package/dist/common-server.d.ts +0 -15
- package/dist/common-server.d.ts.map +0 -1
- package/dist/common.d.ts +0 -9
- package/dist/common.d.ts.map +0 -1
- package/dist/node.d.ts +0 -7
- package/dist/node.d.ts.map +0 -1
- package/dist/samples/MediaPipeModelSamples.d.ts +0 -2
- package/dist/samples/MediaPipeModelSamples.d.ts.map +0 -1
- package/dist/samples/ONNXModelSamples.d.ts +0 -2
- package/dist/samples/ONNXModelSamples.d.ts.map +0 -1
- package/dist/samples/index.d.ts +0 -10
- package/dist/samples/index.d.ts.map +0 -1
- package/dist/test/ai-model/InMemoryModelRepository.test.d.ts +0 -7
- package/dist/test/ai-model/InMemoryModelRepository.test.d.ts.map +0 -1
- package/dist/test/ai-model/IndexedDbModelRepository.test.d.ts +0 -7
- package/dist/test/ai-model/IndexedDbModelRepository.test.d.ts.map +0 -1
- package/dist/test/ai-model/PostgresModelRepository.test.d.ts +0 -7
- package/dist/test/ai-model/PostgresModelRepository.test.d.ts.map +0 -1
- package/dist/test/ai-model/SqliteModelRepository.test.d.ts +0 -7
- package/dist/test/ai-model/SqliteModelRepository.test.d.ts.map +0 -1
- package/dist/test/ai-model/genericModelRepositoryTests.d.ts +0 -8
- package/dist/test/ai-model/genericModelRepositoryTests.d.ts.map +0 -1
- package/dist/test/ai-provider/AiProviderRegistry.test.d.ts +0 -7
- package/dist/test/ai-provider/AiProviderRegistry.test.d.ts.map +0 -1
- package/dist/test/ai-provider/DownloadModelAbort.test.d.ts +0 -7
- package/dist/test/ai-provider/DownloadModelAbort.test.d.ts.map +0 -1
- package/dist/test/ai-provider/HFTransformersBinding.test.d.ts +0 -7
- package/dist/test/ai-provider/HFTransformersBinding.test.d.ts.map +0 -1
- package/dist/test/ai-provider/TextEmbeddingTask.test.d.ts +0 -7
- package/dist/test/ai-provider/TextEmbeddingTask.test.d.ts.map +0 -1
- package/dist/test/ai-provider/TfMediaPipeBinding.test.d.ts +0 -7
- package/dist/test/ai-provider/TfMediaPipeBinding.test.d.ts.map +0 -1
- package/dist/test/ai-provider/VisionTasks.test.d.ts +0 -7
- package/dist/test/ai-provider/VisionTasks.test.d.ts.map +0 -1
- package/dist/test/ai-provider/ZeroShotTasks.test.d.ts +0 -7
- package/dist/test/ai-provider/ZeroShotTasks.test.d.ts.map +0 -1
- package/dist/test/helpers/SupabaseMockClient.d.ts +0 -12
- package/dist/test/helpers/SupabaseMockClient.d.ts.map +0 -1
- package/dist/test/job-queue/InMemoryJobQueue.test.d.ts +0 -7
- package/dist/test/job-queue/InMemoryJobQueue.test.d.ts.map +0 -1
- package/dist/test/job-queue/InMemoryPrefixedQueueStorage.test.d.ts +0 -7
- package/dist/test/job-queue/InMemoryPrefixedQueueStorage.test.d.ts.map +0 -1
- package/dist/test/job-queue/IndexedDbJobQueue.test.d.ts +0 -7
- package/dist/test/job-queue/IndexedDbJobQueue.test.d.ts.map +0 -1
- package/dist/test/job-queue/IndexedDbPrefixedQueueStorage.test.d.ts +0 -7
- package/dist/test/job-queue/IndexedDbPrefixedQueueStorage.test.d.ts.map +0 -1
- package/dist/test/job-queue/PostgresJobQueue.test.d.ts +0 -7
- package/dist/test/job-queue/PostgresJobQueue.test.d.ts.map +0 -1
- package/dist/test/job-queue/PostgresPrefixedQueueStorage.test.d.ts +0 -7
- package/dist/test/job-queue/PostgresPrefixedQueueStorage.test.d.ts.map +0 -1
- package/dist/test/job-queue/SqliteJobQueue.test.d.ts +0 -7
- package/dist/test/job-queue/SqliteJobQueue.test.d.ts.map +0 -1
- package/dist/test/job-queue/SqlitePrefixedQueueStorage.test.d.ts +0 -7
- package/dist/test/job-queue/SqlitePrefixedQueueStorage.test.d.ts.map +0 -1
- package/dist/test/job-queue/SupabaseJobQueue.test.d.ts +0 -7
- package/dist/test/job-queue/SupabaseJobQueue.test.d.ts.map +0 -1
- package/dist/test/job-queue/SupabasePrefixedQueueStorage.test.d.ts +0 -7
- package/dist/test/job-queue/SupabasePrefixedQueueStorage.test.d.ts.map +0 -1
- package/dist/test/job-queue/genericJobQueueTests.d.ts +0 -22
- package/dist/test/job-queue/genericJobQueueTests.d.ts.map +0 -1
- package/dist/test/job-queue/genericPrefixedQueueStorageTests.d.ts +0 -18
- package/dist/test/job-queue/genericPrefixedQueueStorageTests.d.ts.map +0 -1
- package/dist/test/job-queue/genericQueueStorageSubscriptionTests.d.ts +0 -29
- package/dist/test/job-queue/genericQueueStorageSubscriptionTests.d.ts.map +0 -1
- package/dist/test/storage-kv/FsFolderJsonKvRepository.test.d.ts +0 -7
- package/dist/test/storage-kv/FsFolderJsonKvRepository.test.d.ts.map +0 -1
- package/dist/test/storage-kv/FsFolderKvRepository.test.d.ts +0 -7
- package/dist/test/storage-kv/FsFolderKvRepository.test.d.ts.map +0 -1
- package/dist/test/storage-kv/InMemoryKvRepository.test.d.ts +0 -7
- package/dist/test/storage-kv/InMemoryKvRepository.test.d.ts.map +0 -1
- package/dist/test/storage-kv/IndexedDbKvRepository.test.d.ts +0 -7
- package/dist/test/storage-kv/IndexedDbKvRepository.test.d.ts.map +0 -1
- package/dist/test/storage-kv/PostgresKvRepository.test.d.ts +0 -7
- package/dist/test/storage-kv/PostgresKvRepository.test.d.ts.map +0 -1
- package/dist/test/storage-kv/SqliteKvRepository.test.d.ts +0 -7
- package/dist/test/storage-kv/SqliteKvRepository.test.d.ts.map +0 -1
- package/dist/test/storage-kv/SupabaseKvRepository.test.d.ts +0 -7
- package/dist/test/storage-kv/SupabaseKvRepository.test.d.ts.map +0 -1
- package/dist/test/storage-kv/genericKvRepositoryTests.d.ts +0 -9
- package/dist/test/storage-kv/genericKvRepositoryTests.d.ts.map +0 -1
- package/dist/test/storage-tabular/CachedTabularRepository.test.d.ts +0 -7
- package/dist/test/storage-tabular/CachedTabularRepository.test.d.ts.map +0 -1
- package/dist/test/storage-tabular/FsFolderTabularRepository.test.d.ts +0 -7
- package/dist/test/storage-tabular/FsFolderTabularRepository.test.d.ts.map +0 -1
- package/dist/test/storage-tabular/InMemoryTabularRepository.test.d.ts +0 -7
- package/dist/test/storage-tabular/InMemoryTabularRepository.test.d.ts.map +0 -1
- package/dist/test/storage-tabular/IndexedDbTabularRepository.test.d.ts +0 -7
- package/dist/test/storage-tabular/IndexedDbTabularRepository.test.d.ts.map +0 -1
- package/dist/test/storage-tabular/PostgresTabularRepository.test.d.ts +0 -7
- package/dist/test/storage-tabular/PostgresTabularRepository.test.d.ts.map +0 -1
- package/dist/test/storage-tabular/SqliteTabularRepository.test.d.ts +0 -7
- package/dist/test/storage-tabular/SqliteTabularRepository.test.d.ts.map +0 -1
- package/dist/test/storage-tabular/SupabaseTabularRepository.test.d.ts +0 -7
- package/dist/test/storage-tabular/SupabaseTabularRepository.test.d.ts.map +0 -1
- package/dist/test/storage-tabular/genericTabularRepositorySubscriptionTests.d.ts +0 -19
- package/dist/test/storage-tabular/genericTabularRepositorySubscriptionTests.d.ts.map +0 -1
- package/dist/test/storage-tabular/genericTabularRepositoryTests.d.ts +0 -127
- package/dist/test/storage-tabular/genericTabularRepositoryTests.d.ts.map +0 -1
- package/dist/test/storage-util/HybridSubscriptionManager.test.d.ts +0 -7
- package/dist/test/storage-util/HybridSubscriptionManager.test.d.ts.map +0 -1
- package/dist/test/storage-util/IndexedDbHybridSubscription.test.d.ts +0 -7
- package/dist/test/storage-util/IndexedDbHybridSubscription.test.d.ts.map +0 -1
- package/dist/test/storage-util/IndexedDbTable.migration.test.d.ts +0 -7
- package/dist/test/storage-util/IndexedDbTable.migration.test.d.ts.map +0 -1
- package/dist/test/task/ArrayTask.test.d.ts +0 -7
- package/dist/test/task/ArrayTask.test.d.ts.map +0 -1
- package/dist/test/task/ConditionalTask.test.d.ts +0 -7
- package/dist/test/task/ConditionalTask.test.d.ts.map +0 -1
- package/dist/test/task/DelayTask.test.d.ts +0 -7
- package/dist/test/task/DelayTask.test.d.ts.map +0 -1
- package/dist/test/task/FetchTask.test.d.ts +0 -7
- package/dist/test/task/FetchTask.test.d.ts.map +0 -1
- package/dist/test/task/GraphAsTask.test.d.ts +0 -2
- package/dist/test/task/GraphAsTask.test.d.ts.map +0 -1
- package/dist/test/task/JavaScriptTask.test.d.ts +0 -7
- package/dist/test/task/JavaScriptTask.test.d.ts.map +0 -1
- package/dist/test/task/LambdaTask.test.d.ts +0 -7
- package/dist/test/task/LambdaTask.test.d.ts.map +0 -1
- package/dist/test/task/MergeTask.test.d.ts +0 -7
- package/dist/test/task/MergeTask.test.d.ts.map +0 -1
- package/dist/test/task/OwnTask.test.d.ts +0 -2
- package/dist/test/task/OwnTask.test.d.ts.map +0 -1
- package/dist/test/task/SingleTask.test.d.ts +0 -7
- package/dist/test/task/SingleTask.test.d.ts.map +0 -1
- package/dist/test/task/SplitTask.test.d.ts +0 -7
- package/dist/test/task/SplitTask.test.d.ts.map +0 -1
- package/dist/test/task/TestTasks.d.ts +0 -387
- package/dist/test/task/TestTasks.d.ts.map +0 -1
- package/dist/test/task-graph/Pipeline.test.d.ts +0 -7
- package/dist/test/task-graph/Pipeline.test.d.ts.map +0 -1
- package/dist/test/task-graph/TaskGraph.test.d.ts +0 -7
- package/dist/test/task-graph/TaskGraph.test.d.ts.map +0 -1
- package/dist/test/task-graph/TaskGraphFormatSemantic.test.d.ts +0 -7
- package/dist/test/task-graph/TaskGraphFormatSemantic.test.d.ts.map +0 -1
- package/dist/test/task-graph/TaskGraphRunner.test.d.ts +0 -7
- package/dist/test/task-graph/TaskGraphRunner.test.d.ts.map +0 -1
- package/dist/test/task-graph/TaskSubGraphRunner.test.d.ts +0 -7
- package/dist/test/task-graph/TaskSubGraphRunner.test.d.ts.map +0 -1
- package/dist/test/task-graph/Workflow.test.d.ts +0 -7
- package/dist/test/task-graph/Workflow.test.d.ts.map +0 -1
- package/dist/test/task-graph-job-queue/InMemoryTaskGraphJobQueue.test.d.ts +0 -7
- package/dist/test/task-graph-job-queue/InMemoryTaskGraphJobQueue.test.d.ts.map +0 -1
- package/dist/test/task-graph-job-queue/IndexedDbTaskGraphJobQueue.test.d.ts +0 -7
- package/dist/test/task-graph-job-queue/IndexedDbTaskGraphJobQueue.test.d.ts.map +0 -1
- package/dist/test/task-graph-job-queue/SqliteTaskGraphJobQueue.test.d.ts +0 -7
- package/dist/test/task-graph-job-queue/SqliteTaskGraphJobQueue.test.d.ts.map +0 -1
- package/dist/test/task-graph-job-queue/genericTaskGraphJobQueueTests.d.ts +0 -23
- package/dist/test/task-graph-job-queue/genericTaskGraphJobQueueTests.d.ts.map +0 -1
- package/dist/test/task-graph-output-cache/FileTaskOutputRepository.test.d.ts +0 -7
- package/dist/test/task-graph-output-cache/FileTaskOutputRepository.test.d.ts.map +0 -1
- package/dist/test/task-graph-output-cache/InMemoryTaskOutputRepository.test.d.ts +0 -7
- package/dist/test/task-graph-output-cache/InMemoryTaskOutputRepository.test.d.ts.map +0 -1
- package/dist/test/task-graph-output-cache/IndexedDbTaskOutputRepository.test.d.ts +0 -7
- package/dist/test/task-graph-output-cache/IndexedDbTaskOutputRepository.test.d.ts.map +0 -1
- package/dist/test/task-graph-output-cache/SqliteTaskOutputRepository.test.d.ts +0 -7
- package/dist/test/task-graph-output-cache/SqliteTaskOutputRepository.test.d.ts.map +0 -1
- package/dist/test/task-graph-output-cache/genericTaskOutputRepositoryTests.d.ts +0 -8
- package/dist/test/task-graph-output-cache/genericTaskOutputRepositoryTests.d.ts.map +0 -1
- package/dist/test/task-graph-storage/FileTaskGraphRepository.test.d.ts +0 -7
- package/dist/test/task-graph-storage/FileTaskGraphRepository.test.d.ts.map +0 -1
- package/dist/test/task-graph-storage/InMemoryTaskGraphRepository.test.d.ts +0 -7
- package/dist/test/task-graph-storage/InMemoryTaskGraphRepository.test.d.ts.map +0 -1
- package/dist/test/task-graph-storage/IndexedDbTaskGraphRepository.test.d.ts +0 -7
- package/dist/test/task-graph-storage/IndexedDbTaskGraphRepository.test.d.ts.map +0 -1
- package/dist/test/task-graph-storage/SqliteTaskGraphRepository.test.d.ts +0 -7
- package/dist/test/task-graph-storage/SqliteTaskGraphRepository.test.d.ts.map +0 -1
- package/dist/test/task-graph-storage/genericTaskGraphRepositoryTests.d.ts +0 -8
- package/dist/test/task-graph-storage/genericTaskGraphRepositoryTests.d.ts.map +0 -1
- package/dist/test/util/EventEmitter.test.d.ts +0 -7
- package/dist/test/util/EventEmitter.test.d.ts.map +0 -1
- package/dist/test/util/SchemaUtils.test.d.ts +0 -7
- package/dist/test/util/SchemaUtils.test.d.ts.map +0 -1
- package/dist/test/util/arrayAsObjectProxy.test.d.ts +0 -7
- package/dist/test/util/arrayAsObjectProxy.test.d.ts.map +0 -1
- package/dist/test/util/compression.test.d.ts +0 -7
- package/dist/test/util/compression.test.d.ts.map +0 -1
- package/dist/test/util/directedAcyclicGraph.test.d.ts +0 -2
- package/dist/test/util/directedAcyclicGraph.test.d.ts.map +0 -1
- package/dist/test/util/directedGraph.test.d.ts +0 -2
- package/dist/test/util/directedGraph.test.d.ts.map +0 -1
- package/dist/test/util/graph.test.d.ts +0 -5
- package/dist/test/util/graph.test.d.ts.map +0 -1
- package/dist/test/util/readme.test.d.ts +0 -2
- package/dist/test/util/readme.test.d.ts.map +0 -1
- package/dist/types.d.ts +0 -7
- package/dist/types.d.ts.map +0 -1
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2025 Steven Roussey <sroussey@gmail.com>
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
import { TaskGraphTabularRepository } from "@workglow/task-graph";
|
|
7
|
-
import type { Pool } from "pg";
|
|
8
|
-
export declare const POSTGRES_TASK_GRAPH_REPOSITORY: import("@workglow/util").ServiceToken<TaskGraphTabularRepository>;
|
|
9
|
-
/**
|
|
10
|
-
* PostgreSQL implementation of a task graph repository.
|
|
11
|
-
* Provides storage and retrieval for task graphs using PostgreSQL.
|
|
12
|
-
*/
|
|
13
|
-
export declare class PostgresTaskGraphRepository extends TaskGraphTabularRepository {
|
|
14
|
-
constructor(db: Pool, table?: string);
|
|
15
|
-
}
|
|
16
|
-
//# sourceMappingURL=PostgresTaskGraphRepository.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PostgresTaskGraphRepository.d.ts","sourceRoot":"","sources":["../../src/binding/PostgresTaskGraphRepository.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAGL,0BAA0B,EAC3B,MAAM,sBAAsB,CAAC;AAE9B,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,IAAI,CAAC;AAE/B,eAAO,MAAM,8BAA8B,mEAE1C,CAAC;AAEF;;;GAGG;AACH,qBAAa,2BAA4B,SAAQ,0BAA0B;gBAC7D,EAAE,EAAE,IAAI,EAAE,KAAK,GAAE,MAAsB;CAUpD"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2025 Steven Roussey <sroussey@gmail.com>
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
import { TaskOutputTabularRepository } from "@workglow/task-graph";
|
|
7
|
-
import type { Pool } from "pg";
|
|
8
|
-
export declare const POSTGRES_TASK_OUTPUT_REPOSITORY: import("@workglow/util").ServiceToken<PostgresTaskOutputRepository>;
|
|
9
|
-
/**
|
|
10
|
-
* PostgreSQL implementation of a task output repository.
|
|
11
|
-
* Provides storage and retrieval for task outputs using PostgreSQL.
|
|
12
|
-
*/
|
|
13
|
-
export declare class PostgresTaskOutputRepository extends TaskOutputTabularRepository {
|
|
14
|
-
constructor(db: Pool, table?: string);
|
|
15
|
-
}
|
|
16
|
-
//# sourceMappingURL=PostgresTaskOutputRepository.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PostgresTaskOutputRepository.d.ts","sourceRoot":"","sources":["../../src/binding/PostgresTaskOutputRepository.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAGL,2BAA2B,EAC5B,MAAM,sBAAsB,CAAC;AAE9B,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,IAAI,CAAC;AAE/B,eAAO,MAAM,+BAA+B,qEAE3C,CAAC;AAEF;;;GAGG;AACH,qBAAa,4BAA6B,SAAQ,2BAA2B;gBAC/D,EAAE,EAAE,IAAI,EAAE,KAAK,GAAE,MAAuB;CAWrD"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2025 Steven Roussey <sroussey@gmail.com>
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
import { ModelRepository } from "@workglow/ai";
|
|
7
|
-
/**
|
|
8
|
-
* SQLite implementation of a model repository.
|
|
9
|
-
* Provides storage and retrieval for models and task-to-model mappings using SQLite.
|
|
10
|
-
*/
|
|
11
|
-
export declare class SqliteModelRepository extends ModelRepository {
|
|
12
|
-
constructor(dbOrPath: string, tableModels?: string);
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=SqliteModelRepository.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SqliteModelRepository.d.ts","sourceRoot":"","sources":["../../src/binding/SqliteModelRepository.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAA2C,eAAe,EAAE,MAAM,cAAc,CAAC;AAGxF;;;GAGG;AACH,qBAAa,qBAAsB,SAAQ,eAAe;gBAC5C,QAAQ,EAAE,MAAM,EAAE,WAAW,GAAE,MAAkB;CAK9D"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2025 Steven Roussey <sroussey@gmail.com>
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
import { TaskGraphTabularRepository } from "@workglow/task-graph";
|
|
7
|
-
export declare const SQLITE_TASK_GRAPH_REPOSITORY: import("@workglow/util").ServiceToken<TaskGraphTabularRepository>;
|
|
8
|
-
/**
|
|
9
|
-
* SQLite implementation of a task graph repository.
|
|
10
|
-
* Provides storage and retrieval for task graphs using SQLite.
|
|
11
|
-
*/
|
|
12
|
-
export declare class SqliteTaskGraphRepository extends TaskGraphTabularRepository {
|
|
13
|
-
constructor(dbOrPath: string, table?: string);
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=SqliteTaskGraphRepository.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SqliteTaskGraphRepository.d.ts","sourceRoot":"","sources":["../../src/binding/SqliteTaskGraphRepository.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAGL,0BAA0B,EAC3B,MAAM,sBAAsB,CAAC;AAG9B,eAAO,MAAM,4BAA4B,mEAExC,CAAC;AAEF;;;GAGG;AACH,qBAAa,yBAA0B,SAAQ,0BAA0B;gBAC3D,QAAQ,EAAE,MAAM,EAAE,KAAK,GAAE,MAAsB;CAU5D"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2025 Steven Roussey <sroussey@gmail.com>
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
import { TaskOutputTabularRepository } from "@workglow/task-graph";
|
|
7
|
-
export declare const SQLITE_TASK_OUTPUT_REPOSITORY: import("@workglow/util").ServiceToken<SqliteTaskOutputRepository>;
|
|
8
|
-
/**
|
|
9
|
-
* SQLite implementation of a task output repository.
|
|
10
|
-
* Provides storage and retrieval for task outputs using SQLite.
|
|
11
|
-
*/
|
|
12
|
-
export declare class SqliteTaskOutputRepository extends TaskOutputTabularRepository {
|
|
13
|
-
constructor(dbOrPath: string, table?: string);
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=SqliteTaskOutputRepository.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SqliteTaskOutputRepository.d.ts","sourceRoot":"","sources":["../../src/binding/SqliteTaskOutputRepository.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAGL,2BAA2B,EAC5B,MAAM,sBAAsB,CAAC;AAG9B,eAAO,MAAM,6BAA6B,mEAEzC,CAAC;AAEF;;;GAGG;AACH,qBAAa,0BAA2B,SAAQ,2BAA2B;gBAC7D,QAAQ,EAAE,MAAM,EAAE,KAAK,GAAE,MAAuB;CAW7D"}
|
package/dist/browser.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2025 Steven Roussey <sroussey@gmail.com>
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
export * from "./common";
|
|
7
|
-
export * from "./binding/IndexedDbTaskGraphRepository";
|
|
8
|
-
export * from "./binding/IndexedDbTaskOutputRepository";
|
|
9
|
-
//# sourceMappingURL=browser.d.ts.map
|
package/dist/browser.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"browser.d.ts","sourceRoot":"","sources":["../src/browser.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,UAAU,CAAC;AAEzB,cAAc,wCAAwC,CAAC;AACvD,cAAc,yCAAyC,CAAC"}
|
package/dist/bun.d.ts
DELETED
package/dist/bun.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bun.d.ts","sourceRoot":"","sources":["../src/bun.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,iBAAiB,CAAC"}
|
package/dist/common-server.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2025 Steven Roussey <sroussey@gmail.com>
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
export * from "./common";
|
|
7
|
-
export * from "./binding/FsFolderTaskGraphRepository";
|
|
8
|
-
export * from "./binding/IndexedDbTaskGraphRepository";
|
|
9
|
-
export * from "./binding/PostgresTaskGraphRepository";
|
|
10
|
-
export * from "./binding/SqliteTaskGraphRepository";
|
|
11
|
-
export * from "./binding/FsFolderTaskOutputRepository";
|
|
12
|
-
export * from "./binding/IndexedDbTaskOutputRepository";
|
|
13
|
-
export * from "./binding/PostgresTaskOutputRepository";
|
|
14
|
-
export * from "./binding/SqliteTaskOutputRepository";
|
|
15
|
-
//# sourceMappingURL=common-server.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"common-server.d.ts","sourceRoot":"","sources":["../src/common-server.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,UAAU,CAAC;AAEzB,cAAc,uCAAuC,CAAC;AACtD,cAAc,wCAAwC,CAAC;AACvD,cAAc,uCAAuC,CAAC;AACtD,cAAc,qCAAqC,CAAC;AAEpD,cAAc,wCAAwC,CAAC;AACvD,cAAc,yCAAyC,CAAC;AACxD,cAAc,wCAAwC,CAAC;AACvD,cAAc,sCAAsC,CAAC"}
|
package/dist/common.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2025 Steven Roussey <sroussey@gmail.com>
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
export * from "./binding/InMemoryTaskGraphRepository";
|
|
7
|
-
export * from "./binding/InMemoryTaskOutputRepository";
|
|
8
|
-
export * from "./samples";
|
|
9
|
-
//# sourceMappingURL=common.d.ts.map
|
package/dist/common.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../src/common.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,uCAAuC,CAAC;AACtD,cAAc,wCAAwC,CAAC;AACvD,cAAc,WAAW,CAAC"}
|
package/dist/node.d.ts
DELETED
package/dist/node.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../src/node.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,iBAAiB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MediaPipeModelSamples.d.ts","sourceRoot":"","sources":["../../src/samples/MediaPipeModelSamples.ts"],"names":[],"mappings":"AAGA,wBAAsB,gCAAgC,IAAI,OAAO,CAAC,IAAI,CAAC,CAiMtE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ONNXModelSamples.d.ts","sourceRoot":"","sources":["../../src/samples/ONNXModelSamples.ts"],"names":[],"mappings":"AAGA,wBAAsB,8BAA8B,IAAI,OAAO,CAAC,IAAI,CAAC,CAyUpE"}
|
package/dist/samples/index.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2025 Steven Roussey <sroussey@gmail.com>
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
export * from "./MediaPipeModelSamples";
|
|
7
|
-
export * from "./ONNXModelSamples";
|
|
8
|
-
export declare function register_HFT_InMemoryQueue(): Promise<void>;
|
|
9
|
-
export declare function register_TFMP_InMemoryQueue(): Promise<void>;
|
|
10
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/samples/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAOH,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AAEnC,wBAAsB,0BAA0B,IAAI,OAAO,CAAC,IAAI,CAAC,CAuBhE;AAED,wBAAsB,2BAA2B,IAAI,OAAO,CAAC,IAAI,CAAC,CAuBjE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"InMemoryModelRepository.test.d.ts","sourceRoot":"","sources":["../../../src/test/ai-model/InMemoryModelRepository.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IndexedDbModelRepository.test.d.ts","sourceRoot":"","sources":["../../../src/test/ai-model/IndexedDbModelRepository.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,qBAAqB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PostgresModelRepository.test.d.ts","sourceRoot":"","sources":["../../../src/test/ai-model/PostgresModelRepository.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SqliteModelRepository.test.d.ts","sourceRoot":"","sources":["../../../src/test/ai-model/SqliteModelRepository.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2025 Steven Roussey <sroussey@gmail.com>
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
import { ModelRepository } from "@workglow/ai";
|
|
7
|
-
export declare const runGenericModelRepositoryTests: (createRepository: () => Promise<ModelRepository>) => void;
|
|
8
|
-
//# sourceMappingURL=genericModelRepositoryTests.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"genericModelRepositoryTests.d.ts","sourceRoot":"","sources":["../../../src/test/ai-model/genericModelRepositoryTests.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAA4B,eAAe,EAA4B,MAAM,cAAc,CAAC;AAKnG,eAAO,MAAM,8BAA8B,GACzC,kBAAkB,MAAM,OAAO,CAAC,eAAe,CAAC,SAgFjD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AiProviderRegistry.test.d.ts","sourceRoot":"","sources":["../../../src/test/ai-provider/AiProviderRegistry.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DownloadModelAbort.test.d.ts","sourceRoot":"","sources":["../../../src/test/ai-provider/DownloadModelAbort.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HFTransformersBinding.test.d.ts","sourceRoot":"","sources":["../../../src/test/ai-provider/HFTransformersBinding.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TextEmbeddingTask.test.d.ts","sourceRoot":"","sources":["../../../src/test/ai-provider/TextEmbeddingTask.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TfMediaPipeBinding.test.d.ts","sourceRoot":"","sources":["../../../src/test/ai-provider/TfMediaPipeBinding.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"VisionTasks.test.d.ts","sourceRoot":"","sources":["../../../src/test/ai-provider/VisionTasks.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ZeroShotTasks.test.d.ts","sourceRoot":"","sources":["../../../src/test/ai-provider/ZeroShotTasks.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2025 Steven Roussey <sroussey@gmail.com>
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
import type { SupabaseClient } from "@supabase/supabase-js";
|
|
7
|
-
/**
|
|
8
|
-
* Creates a mock Supabase client for testing that uses PGlite as the backend.
|
|
9
|
-
* This provides a real PostgreSQL database for testing without needing a Supabase instance.
|
|
10
|
-
*/
|
|
11
|
-
export declare function createSupabaseMockClient(): SupabaseClient;
|
|
12
|
-
//# sourceMappingURL=SupabaseMockClient.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SupabaseMockClient.d.ts","sourceRoot":"","sources":["../../../src/test/helpers/SupabaseMockClient.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAE5D;;;GAGG;AACH,wBAAgB,wBAAwB,IAAI,cAAc,CAyjBzD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"InMemoryJobQueue.test.d.ts","sourceRoot":"","sources":["../../../src/test/job-queue/InMemoryJobQueue.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"InMemoryPrefixedQueueStorage.test.d.ts","sourceRoot":"","sources":["../../../src/test/job-queue/InMemoryPrefixedQueueStorage.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IndexedDbJobQueue.test.d.ts","sourceRoot":"","sources":["../../../src/test/job-queue/IndexedDbJobQueue.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,OAAO,qBAAqB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IndexedDbPrefixedQueueStorage.test.d.ts","sourceRoot":"","sources":["../../../src/test/job-queue/IndexedDbPrefixedQueueStorage.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,qBAAqB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PostgresJobQueue.test.d.ts","sourceRoot":"","sources":["../../../src/test/job-queue/PostgresJobQueue.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PostgresPrefixedQueueStorage.test.d.ts","sourceRoot":"","sources":["../../../src/test/job-queue/PostgresPrefixedQueueStorage.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SqliteJobQueue.test.d.ts","sourceRoot":"","sources":["../../../src/test/job-queue/SqliteJobQueue.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SqlitePrefixedQueueStorage.test.d.ts","sourceRoot":"","sources":["../../../src/test/job-queue/SqlitePrefixedQueueStorage.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SupabaseJobQueue.test.d.ts","sourceRoot":"","sources":["../../../src/test/job-queue/SupabaseJobQueue.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SupabasePrefixedQueueStorage.test.d.ts","sourceRoot":"","sources":["../../../src/test/job-queue/SupabasePrefixedQueueStorage.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2025 Steven Roussey <sroussey@gmail.com>
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
import { IJobExecuteContext, ILimiter, Job } from "@workglow/job-queue";
|
|
7
|
-
import { IQueueStorage } from "@workglow/storage";
|
|
8
|
-
export interface TInput {
|
|
9
|
-
readonly taskType?: string;
|
|
10
|
-
readonly data?: string;
|
|
11
|
-
readonly value?: string;
|
|
12
|
-
readonly [key: string]: unknown;
|
|
13
|
-
}
|
|
14
|
-
export interface TOutput {
|
|
15
|
-
readonly result?: string;
|
|
16
|
-
readonly [key: string]: unknown;
|
|
17
|
-
}
|
|
18
|
-
export declare class TestJob extends Job<TInput, TOutput> {
|
|
19
|
-
execute(input: TInput, context: IJobExecuteContext): Promise<TOutput>;
|
|
20
|
-
}
|
|
21
|
-
export declare function runGenericJobQueueTests(storageFactory: (queueName: string) => IQueueStorage<TInput, TOutput>, limiterFactory?: (queueName: string, maxExecutions: number, windowSizeInSeconds: number) => ILimiter | Promise<ILimiter>): void;
|
|
22
|
-
//# sourceMappingURL=genericJobQueueTests.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"genericJobQueueTests.d.ts","sourceRoot":"","sources":["../../../src/test/job-queue/genericJobQueueTests.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAEL,kBAAkB,EAClB,QAAQ,EACR,GAAG,EAOJ,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAIlD,MAAM,WAAW,MAAM;IACrB,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACjC;AACD,MAAM,WAAW,OAAO;IACtB,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACjC;AAED,qBAAa,OAAQ,SAAQ,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IAClC,OAAO,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,OAAO,CAAC;CAoDnF;AAED,wBAAgB,uBAAuB,CACrC,cAAc,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,aAAa,CAAC,MAAM,EAAE,OAAO,CAAC,EACrE,cAAc,CAAC,EAAE,CACf,SAAS,EAAE,MAAM,EACjB,aAAa,EAAE,MAAM,EACrB,mBAAmB,EAAE,MAAM,KACxB,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC,GAChC,IAAI,CAkxBN"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2025 Steven Roussey <sroussey@gmail.com>
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
import { IQueueStorage, QueueStorageOptions } from "@workglow/storage";
|
|
7
|
-
/**
|
|
8
|
-
* Generic tests for queue storage with prefix filters
|
|
9
|
-
*/
|
|
10
|
-
interface TestInput {
|
|
11
|
-
readonly data: string;
|
|
12
|
-
}
|
|
13
|
-
interface TestOutput {
|
|
14
|
-
readonly result: string;
|
|
15
|
-
}
|
|
16
|
-
export declare function runGenericPrefixedQueueStorageTests(storageFactory: (queueName: string, options?: QueueStorageOptions) => IQueueStorage<TestInput, TestOutput>): void;
|
|
17
|
-
export {};
|
|
18
|
-
//# sourceMappingURL=genericPrefixedQueueStorageTests.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"genericPrefixedQueueStorageTests.d.ts","sourceRoot":"","sources":["../../../src/test/job-queue/genericPrefixedQueueStorageTests.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,aAAa,EAA2B,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAIhG;;GAEG;AAEH,UAAU,SAAS;IACjB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAED,UAAU,UAAU;IAClB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB;AAWD,wBAAgB,mCAAmC,CACjD,cAAc,EAAE,CACd,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,mBAAmB,KAC1B,aAAa,CAAC,SAAS,EAAE,UAAU,CAAC,QAmtB1C"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2025 Steven Roussey <sroussey@gmail.com>
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
import { IQueueStorage, QueueStorageOptions } from "@workglow/storage";
|
|
7
|
-
/**
|
|
8
|
-
* Generic tests for queue storage subscription functionality
|
|
9
|
-
*/
|
|
10
|
-
interface TestInput {
|
|
11
|
-
readonly data: string;
|
|
12
|
-
}
|
|
13
|
-
interface TestOutput {
|
|
14
|
-
readonly result: string;
|
|
15
|
-
}
|
|
16
|
-
export declare function runGenericQueueStorageSubscriptionTests(storageFactory: (queueName: string, options?: QueueStorageOptions) => IQueueStorage<TestInput, TestOutput>, options?: {
|
|
17
|
-
/** Whether this storage implementation uses polling (needs longer waits) */
|
|
18
|
-
readonly usesPolling?: boolean;
|
|
19
|
-
/** Custom polling interval for polling-based implementations */
|
|
20
|
-
readonly pollingIntervalMs?: number;
|
|
21
|
-
/**
|
|
22
|
-
* Whether this storage shares state across instances (e.g., database backends).
|
|
23
|
-
* InMemory doesn't share state - each instance has its own isolated job queue.
|
|
24
|
-
* Set to false to skip cross-instance prefix filter tests.
|
|
25
|
-
*/
|
|
26
|
-
readonly sharesStateAcrossInstances?: boolean;
|
|
27
|
-
}): void;
|
|
28
|
-
export {};
|
|
29
|
-
//# sourceMappingURL=genericQueueStorageSubscriptionTests.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"genericQueueStorageSubscriptionTests.d.ts","sourceRoot":"","sources":["../../../src/test/job-queue/genericQueueStorageSubscriptionTests.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACL,aAAa,EAIb,mBAAmB,EAEpB,MAAM,mBAAmB,CAAC;AAI3B;;GAEG;AAEH,UAAU,SAAS;IACjB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAED,UAAU,UAAU;IAClB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB;AAKD,wBAAgB,uCAAuC,CACrD,cAAc,EAAE,CACd,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,mBAAmB,KAC1B,aAAa,CAAC,SAAS,EAAE,UAAU,CAAC,EACzC,OAAO,CAAC,EAAE;IACR,4EAA4E;IAC5E,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;IAC/B,gEAAgE;IAChE,QAAQ,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IACpC;;;;OAIG;IACH,QAAQ,CAAC,0BAA0B,CAAC,EAAE,OAAO,CAAC;CAC/C,QA0jBF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FsFolderJsonKvRepository.test.d.ts","sourceRoot":"","sources":["../../../src/test/storage-kv/FsFolderJsonKvRepository.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|