@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.
- package/LICENSE +201 -0
- package/README.md +87 -0
- 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/InMemoryJobQueue.d.ts +11 -0
- package/dist/binding/InMemoryJobQueue.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/IndexedDbJobQueue.d.ts +11 -0
- package/dist/binding/IndexedDbJobQueue.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/PostgresJobQueue.d.ts +11 -0
- package/dist/binding/PostgresJobQueue.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/SqliteJobQueue.d.ts +11 -0
- package/dist/binding/SqliteJobQueue.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 +11 -0
- package/dist/browser.d.ts.map +1 -0
- package/dist/browser.js +293 -0
- package/dist/browser.js.map +18 -0
- package/dist/bun.d.ts +7 -0
- package/dist/bun.d.ts.map +1 -0
- package/dist/bun.js +436 -0
- package/dist/bun.js.map +26 -0
- package/dist/common-server.d.ts +19 -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/node.js +435 -0
- package/dist/node.js.map +26 -0
- package/dist/samples/MediaPipeModelSamples.d.ts +2 -0
- package/dist/samples/MediaPipeModelSamples.d.ts.map +1 -0
- package/dist/samples/ONNXModelSamples.d.ts +4 -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/HFTransformersBinding.test.d.ts +7 -0
- package/dist/test/ai-provider/HFTransformersBinding.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/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/IndexedDbJobQueue.test.d.ts +7 -0
- package/dist/test/job-queue/IndexedDbJobQueue.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/SqliteJobQueue.test.d.ts +7 -0
- package/dist/test/job-queue/SqliteJobQueue.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/genericJobQueueTests.d.ts +18 -0
- package/dist/test/job-queue/genericJobQueueTests.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/genericTabularRepositoryTests.d.ts +90 -0
- package/dist/test/storage-tabular/genericTabularRepositoryTests.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/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/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/TestTasks.d.ts +387 -0
- package/dist/test/task/TestTasks.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/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/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 +93 -0
- package/src/binding/README.md +76 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TfMediaPipeBinding.test.d.ts","sourceRoot":"","sources":["../../../src/test/ai-provider/TfMediaPipeBinding.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2025 Steven Roussey <sroussey@gmail.com>
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
import type { SupabaseClient } from "@supabase/supabase-js";
|
|
7
|
+
/**
|
|
8
|
+
* Creates a mock Supabase client for testing that uses PGlite as the backend.
|
|
9
|
+
* This provides a real PostgreSQL database for testing without needing a Supabase instance.
|
|
10
|
+
*/
|
|
11
|
+
export declare function createSupabaseMockClient(): SupabaseClient;
|
|
12
|
+
//# sourceMappingURL=SupabaseMockClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SupabaseMockClient.d.ts","sourceRoot":"","sources":["../../../src/test/helpers/SupabaseMockClient.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAE5D;;;GAGG;AACH,wBAAgB,wBAAwB,IAAI,cAAc,CA0ezD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InMemoryJobQueue.test.d.ts","sourceRoot":"","sources":["../../../src/test/job-queue/InMemoryJobQueue.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IndexedDbJobQueue.test.d.ts","sourceRoot":"","sources":["../../../src/test/job-queue/IndexedDbJobQueue.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,OAAO,qBAAqB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
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":"SqliteJobQueue.test.d.ts","sourceRoot":"","sources":["../../../src/test/job-queue/SqliteJobQueue.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,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2025 Steven Roussey <sroussey@gmail.com>
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
import { IJobExecuteContext, ILimiter, Job, JobQueueOptions } from "@workglow/job-queue";
|
|
7
|
+
import { IQueueStorage } from "@workglow/storage";
|
|
8
|
+
export interface TInput {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
}
|
|
11
|
+
export interface TOutput {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
}
|
|
14
|
+
export declare class TestJob extends Job<TInput, TOutput> {
|
|
15
|
+
execute(input: TInput, context: IJobExecuteContext): Promise<TOutput>;
|
|
16
|
+
}
|
|
17
|
+
export declare function runGenericJobQueueTests(storage: (queueName: string, options?: JobQueueOptions<TInput, TOutput>) => IQueueStorage<TInput, TOutput>, limiter?: (queueName: string, maxExecutions: number, windowSizeInSeconds: number) => ILimiter): void;
|
|
18
|
+
//# sourceMappingURL=genericJobQueueTests.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"genericJobQueueTests.d.ts","sourceRoot":"","sources":["../../../src/test/job-queue/genericJobQueueTests.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAEL,kBAAkB,EAClB,QAAQ,EACR,GAAG,EAGH,eAAe,EAIhB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAIlD,MAAM,WAAW,MAAM;IACrB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AACD,MAAM,WAAW,OAAO;IACtB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,qBAAa,OAAQ,SAAQ,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IAClC,OAAO,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,OAAO,CAAC;CAoDnF;AAED,wBAAgB,uBAAuB,CACrC,OAAO,EAAE,CACP,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,eAAe,CAAC,MAAM,EAAE,OAAO,CAAC,KACvC,aAAa,CAAC,MAAM,EAAE,OAAO,CAAC,EACnC,OAAO,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,mBAAmB,EAAE,MAAM,KAAK,QAAQ,QA+5B9F"}
|
|
@@ -0,0 +1 @@
|
|
|
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 { IKvRepository } from "@workglow/storage";
|
|
7
|
+
import { JsonSchema } from "@workglow/util";
|
|
8
|
+
export declare function runGenericKvRepositoryTests(createRepository: (keyType: JsonSchema, valueType: JsonSchema) => Promise<IKvRepository<any, any>>): void;
|
|
9
|
+
//# sourceMappingURL=genericKvRepositoryTests.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"genericKvRepositoryTests.d.ts","sourceRoot":"","sources":["../../../src/test/storage-kv/genericKvRepositoryTests.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAyB,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACzE,OAAO,EAAc,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAGxD,wBAAgB,2BAA2B,CACzC,gBAAgB,EAAE,CAAC,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,KAAK,OAAO,CAAC,aAAa,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,QAgHnG"}
|
|
@@ -0,0 +1 @@
|
|
|
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,90 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2025 Steven Roussey <sroussey@gmail.com>
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
import { ITabularRepository } from "@workglow/storage";
|
|
7
|
+
export declare const CompoundPrimaryKeyNames: readonly ["name", "type"];
|
|
8
|
+
export declare const CompoundSchema: {
|
|
9
|
+
readonly type: "object";
|
|
10
|
+
readonly properties: {
|
|
11
|
+
readonly name: {
|
|
12
|
+
readonly type: "string";
|
|
13
|
+
};
|
|
14
|
+
readonly type: {
|
|
15
|
+
readonly type: "string";
|
|
16
|
+
};
|
|
17
|
+
readonly option: {
|
|
18
|
+
readonly type: "string";
|
|
19
|
+
};
|
|
20
|
+
readonly success: {
|
|
21
|
+
readonly type: "boolean";
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
readonly required: readonly ["name", "type", "option", "success"];
|
|
25
|
+
readonly additionalProperties: false;
|
|
26
|
+
};
|
|
27
|
+
export declare const SearchPrimaryKeyNames: readonly ["id"];
|
|
28
|
+
export declare const SearchSchema: {
|
|
29
|
+
readonly type: "object";
|
|
30
|
+
readonly properties: {
|
|
31
|
+
readonly id: {
|
|
32
|
+
readonly type: "string";
|
|
33
|
+
};
|
|
34
|
+
readonly category: {
|
|
35
|
+
readonly type: "string";
|
|
36
|
+
};
|
|
37
|
+
readonly subcategory: {
|
|
38
|
+
readonly type: "string";
|
|
39
|
+
};
|
|
40
|
+
readonly kind: {
|
|
41
|
+
readonly type: "string";
|
|
42
|
+
};
|
|
43
|
+
readonly value: {
|
|
44
|
+
readonly type: "number";
|
|
45
|
+
};
|
|
46
|
+
readonly createdAt: {
|
|
47
|
+
readonly type: "string";
|
|
48
|
+
readonly format: "date-time";
|
|
49
|
+
};
|
|
50
|
+
readonly updatedAt: {
|
|
51
|
+
readonly type: "string";
|
|
52
|
+
readonly format: "date-time";
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
readonly required: readonly ["id", "category", "subcategory", "value", "createdAt", "updatedAt"];
|
|
56
|
+
readonly additionalProperties: false;
|
|
57
|
+
};
|
|
58
|
+
export declare const NullableSearchPrimaryKeyNames: readonly ["id"];
|
|
59
|
+
export declare const NullableSearchSchema: {
|
|
60
|
+
readonly type: "object";
|
|
61
|
+
readonly properties: {
|
|
62
|
+
readonly id: {
|
|
63
|
+
readonly type: "string";
|
|
64
|
+
};
|
|
65
|
+
readonly category: {
|
|
66
|
+
readonly type: "string";
|
|
67
|
+
};
|
|
68
|
+
readonly subcategory: {
|
|
69
|
+
readonly type: "string";
|
|
70
|
+
};
|
|
71
|
+
readonly value: {
|
|
72
|
+
readonly anyOf: readonly [{
|
|
73
|
+
readonly type: "number";
|
|
74
|
+
}, {
|
|
75
|
+
readonly type: "null";
|
|
76
|
+
}];
|
|
77
|
+
};
|
|
78
|
+
readonly createdAt: {
|
|
79
|
+
readonly type: "string";
|
|
80
|
+
readonly format: "date-time";
|
|
81
|
+
};
|
|
82
|
+
readonly updatedAt: {
|
|
83
|
+
readonly type: "string";
|
|
84
|
+
readonly format: "date-time";
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
readonly additionalProperties: false;
|
|
88
|
+
};
|
|
89
|
+
export declare function runGenericTabularRepositoryTests(createCompoundPkRepository: () => Promise<ITabularRepository<typeof CompoundSchema, typeof CompoundPrimaryKeyNames>>, createSearchableRepository?: () => Promise<ITabularRepository<typeof SearchSchema, typeof SearchPrimaryKeyNames>>): void;
|
|
90
|
+
//# sourceMappingURL=genericTabularRepositoryTests.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"genericTabularRepositoryTests.d.ts","sourceRoot":"","sources":["../../../src/test/storage-tabular/genericTabularRepositoryTests.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAIvD,eAAO,MAAM,uBAAuB,2BAA4B,CAAC;AACjE,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;CAUc,CAAC;AAE1C,eAAO,MAAM,qBAAqB,iBAAkB,CAAC;AACrD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAagB,CAAC;AAE1C,eAAO,MAAM,6BAA6B,iBAAkB,CAAC;AAC7D,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWQ,CAAC;AAE1C,wBAAgB,gCAAgC,CAC9C,0BAA0B,EAAE,MAAM,OAAO,CACvC,kBAAkB,CAAC,OAAO,cAAc,EAAE,OAAO,uBAAuB,CAAC,CAC1E,EACD,0BAA0B,CAAC,EAAE,MAAM,OAAO,CACxC,kBAAkB,CAAC,OAAO,YAAY,EAAE,OAAO,qBAAqB,CAAC,CACtE,QAyxBF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IndexedDbTable.migration.test.d.ts","sourceRoot":"","sources":["../../../src/test/storage-util/IndexedDbTable.migration.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAOH,OAAO,qBAAqB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ArrayTask.test.d.ts","sourceRoot":"","sources":["../../../src/test/task/ArrayTask.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConditionalTask.test.d.ts","sourceRoot":"","sources":["../../../src/test/task/ConditionalTask.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DelayTask.test.d.ts","sourceRoot":"","sources":["../../../src/test/task/DelayTask.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FetchTask.test.d.ts","sourceRoot":"","sources":["../../../src/test/task/FetchTask.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GraphAsTask.test.d.ts","sourceRoot":"","sources":["../../../src/test/task/GraphAsTask.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"JavaScriptTask.test.d.ts","sourceRoot":"","sources":["../../../src/test/task/JavaScriptTask.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LambdaTask.test.d.ts","sourceRoot":"","sources":["../../../src/test/task/LambdaTask.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OwnTask.test.d.ts","sourceRoot":"","sources":["../../../src/test/task/OwnTask.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SingleTask.test.d.ts","sourceRoot":"","sources":["../../../src/test/task/SingleTask.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|