@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
package/dist/browser.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// src/binding/InMemoryTaskGraphRepository.ts
|
|
2
|
-
import {
|
|
2
|
+
import { InMemoryTabularStorage } from "@workglow/storage";
|
|
3
3
|
import {
|
|
4
4
|
TaskGraphPrimaryKeyNames,
|
|
5
5
|
TaskGraphSchema,
|
|
@@ -11,12 +11,12 @@ var MEMORY_TASK_GRAPH_REPOSITORY = createServiceToken("taskgraph.taskGraphReposi
|
|
|
11
11
|
class InMemoryTaskGraphRepository extends TaskGraphTabularRepository {
|
|
12
12
|
constructor() {
|
|
13
13
|
super({
|
|
14
|
-
tabularRepository: new
|
|
14
|
+
tabularRepository: new InMemoryTabularStorage(TaskGraphSchema, TaskGraphPrimaryKeyNames)
|
|
15
15
|
});
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
// src/binding/InMemoryTaskOutputRepository.ts
|
|
19
|
-
import {
|
|
19
|
+
import { InMemoryTabularStorage as InMemoryTabularStorage2 } from "@workglow/storage";
|
|
20
20
|
import {
|
|
21
21
|
TaskOutputPrimaryKeyNames,
|
|
22
22
|
TaskOutputSchema,
|
|
@@ -28,7 +28,7 @@ var MEMORY_TASK_OUTPUT_REPOSITORY = createServiceToken2("taskgraph.taskOutputRep
|
|
|
28
28
|
class InMemoryTaskOutputRepository extends TaskOutputTabularRepository {
|
|
29
29
|
constructor() {
|
|
30
30
|
super({
|
|
31
|
-
tabularRepository: new
|
|
31
|
+
tabularRepository: new InMemoryTabularStorage2(TaskOutputSchema, TaskOutputPrimaryKeyNames, ["createdAt"])
|
|
32
32
|
});
|
|
33
33
|
}
|
|
34
34
|
}
|
|
@@ -51,9 +51,9 @@ async function registerMediaPipeTfJsLocalModels() {
|
|
|
51
51
|
tasks: ["TextEmbeddingTask"],
|
|
52
52
|
provider: TENSORFLOW_MEDIAPIPE,
|
|
53
53
|
provider_config: {
|
|
54
|
-
|
|
54
|
+
task_engine: "text",
|
|
55
55
|
pipeline: "text-embedder",
|
|
56
|
-
|
|
56
|
+
model_path: "https://storage.googleapis.com/mediapipe-tasks/text_embedder/universal_sentence_encoder.tflite"
|
|
57
57
|
},
|
|
58
58
|
metadata: {}
|
|
59
59
|
},
|
|
@@ -64,9 +64,9 @@ async function registerMediaPipeTfJsLocalModels() {
|
|
|
64
64
|
tasks: ["TextClassificationTask"],
|
|
65
65
|
provider: TENSORFLOW_MEDIAPIPE,
|
|
66
66
|
provider_config: {
|
|
67
|
-
|
|
67
|
+
task_engine: "text",
|
|
68
68
|
pipeline: "text-classifier",
|
|
69
|
-
|
|
69
|
+
model_path: "https://storage.googleapis.com/mediapipe-models/text_classifier/bert_classifier/float32/1/bert_classifier.tflite"
|
|
70
70
|
},
|
|
71
71
|
metadata: {}
|
|
72
72
|
},
|
|
@@ -77,9 +77,9 @@ async function registerMediaPipeTfJsLocalModels() {
|
|
|
77
77
|
tasks: ["TextLanguageDetectionTask"],
|
|
78
78
|
provider: TENSORFLOW_MEDIAPIPE,
|
|
79
79
|
provider_config: {
|
|
80
|
-
|
|
80
|
+
task_engine: "text",
|
|
81
81
|
pipeline: "text-language-detector",
|
|
82
|
-
|
|
82
|
+
model_path: "https://storage.googleapis.com/mediapipe-models/language_detector/language_detector/float32/1/language_detector.tflite"
|
|
83
83
|
},
|
|
84
84
|
metadata: {}
|
|
85
85
|
},
|
|
@@ -90,9 +90,9 @@ async function registerMediaPipeTfJsLocalModels() {
|
|
|
90
90
|
tasks: ["ImageClassificationTask"],
|
|
91
91
|
provider: TENSORFLOW_MEDIAPIPE,
|
|
92
92
|
provider_config: {
|
|
93
|
-
|
|
93
|
+
task_engine: "vision",
|
|
94
94
|
pipeline: "vision-image-classifier",
|
|
95
|
-
|
|
95
|
+
model_path: "https://storage.googleapis.com/mediapipe-models/image_classifier/efficientnet_lite0/float32/1/efficientnet_lite0.tflite"
|
|
96
96
|
},
|
|
97
97
|
metadata: {}
|
|
98
98
|
},
|
|
@@ -103,9 +103,9 @@ async function registerMediaPipeTfJsLocalModels() {
|
|
|
103
103
|
tasks: ["ImageEmbeddingTask"],
|
|
104
104
|
provider: TENSORFLOW_MEDIAPIPE,
|
|
105
105
|
provider_config: {
|
|
106
|
-
|
|
106
|
+
task_engine: "vision",
|
|
107
107
|
pipeline: "vision-image-embedder",
|
|
108
|
-
|
|
108
|
+
model_path: "https://storage.googleapis.com/mediapipe-models/image_embedder/mobilenet_v3_small/float32/1/mobilenet_v3_small.tflite"
|
|
109
109
|
},
|
|
110
110
|
metadata: {}
|
|
111
111
|
},
|
|
@@ -116,9 +116,9 @@ async function registerMediaPipeTfJsLocalModels() {
|
|
|
116
116
|
tasks: ["ObjectDetectionTask"],
|
|
117
117
|
provider: TENSORFLOW_MEDIAPIPE,
|
|
118
118
|
provider_config: {
|
|
119
|
-
|
|
119
|
+
task_engine: "vision",
|
|
120
120
|
pipeline: "vision-object-detector",
|
|
121
|
-
|
|
121
|
+
model_path: "https://storage.googleapis.com/mediapipe-models/object_detector/efficientdet_lite0/float32/1/efficientdet_lite0.tflite"
|
|
122
122
|
},
|
|
123
123
|
metadata: {}
|
|
124
124
|
},
|
|
@@ -129,9 +129,9 @@ async function registerMediaPipeTfJsLocalModels() {
|
|
|
129
129
|
tasks: ["ImageSegmentationTask"],
|
|
130
130
|
provider: TENSORFLOW_MEDIAPIPE,
|
|
131
131
|
provider_config: {
|
|
132
|
-
|
|
132
|
+
task_engine: "vision",
|
|
133
133
|
pipeline: "vision-image-segmenter",
|
|
134
|
-
|
|
134
|
+
model_path: "https://storage.googleapis.com/mediapipe-models/image_segmenter/deeplab_v3/float32/1/deeplab_v3.tflite"
|
|
135
135
|
},
|
|
136
136
|
metadata: {}
|
|
137
137
|
},
|
|
@@ -142,9 +142,9 @@ async function registerMediaPipeTfJsLocalModels() {
|
|
|
142
142
|
tasks: ["AudioClassificationTask"],
|
|
143
143
|
provider: TENSORFLOW_MEDIAPIPE,
|
|
144
144
|
provider_config: {
|
|
145
|
-
|
|
145
|
+
task_engine: "audio",
|
|
146
146
|
pipeline: "audio-classifier",
|
|
147
|
-
|
|
147
|
+
model_path: "https://storage.googleapis.com/mediapipe-models/audio_classifier/yamnet/float32/1/yamnet.tflite"
|
|
148
148
|
},
|
|
149
149
|
metadata: {}
|
|
150
150
|
},
|
|
@@ -155,9 +155,9 @@ async function registerMediaPipeTfJsLocalModels() {
|
|
|
155
155
|
tasks: ["GestureRecognizerTask"],
|
|
156
156
|
provider: TENSORFLOW_MEDIAPIPE,
|
|
157
157
|
provider_config: {
|
|
158
|
-
|
|
158
|
+
task_engine: "vision",
|
|
159
159
|
pipeline: "vision-gesture-recognizer",
|
|
160
|
-
|
|
160
|
+
model_path: "https://storage.googleapis.com/mediapipe-models/gesture_recognizer/gesture_recognizer/float16/1/gesture_recognizer.task"
|
|
161
161
|
},
|
|
162
162
|
metadata: {}
|
|
163
163
|
},
|
|
@@ -168,9 +168,9 @@ async function registerMediaPipeTfJsLocalModels() {
|
|
|
168
168
|
tasks: ["HandLandmarkerTask"],
|
|
169
169
|
provider: TENSORFLOW_MEDIAPIPE,
|
|
170
170
|
provider_config: {
|
|
171
|
-
|
|
171
|
+
task_engine: "vision",
|
|
172
172
|
pipeline: "vision-hand-landmarker",
|
|
173
|
-
|
|
173
|
+
model_path: "https://storage.googleapis.com/mediapipe-models/hand_landmarker/hand_landmarker/float16/1/hand_landmarker.task"
|
|
174
174
|
},
|
|
175
175
|
metadata: {}
|
|
176
176
|
},
|
|
@@ -181,9 +181,9 @@ async function registerMediaPipeTfJsLocalModels() {
|
|
|
181
181
|
tasks: ["FaceDetectorTask"],
|
|
182
182
|
provider: TENSORFLOW_MEDIAPIPE,
|
|
183
183
|
provider_config: {
|
|
184
|
-
|
|
184
|
+
task_engine: "vision",
|
|
185
185
|
pipeline: "vision-face-detector",
|
|
186
|
-
|
|
186
|
+
model_path: "https://storage.googleapis.com/mediapipe-models/face_detector/blaze_face_short_range/float16/1/blaze_face_short_range.tflite"
|
|
187
187
|
},
|
|
188
188
|
metadata: {}
|
|
189
189
|
},
|
|
@@ -194,9 +194,9 @@ async function registerMediaPipeTfJsLocalModels() {
|
|
|
194
194
|
tasks: ["FaceLandmarkerTask"],
|
|
195
195
|
provider: TENSORFLOW_MEDIAPIPE,
|
|
196
196
|
provider_config: {
|
|
197
|
-
|
|
197
|
+
task_engine: "vision",
|
|
198
198
|
pipeline: "vision-face-landmarker",
|
|
199
|
-
|
|
199
|
+
model_path: "https://storage.googleapis.com/mediapipe-models/face_landmarker/face_landmarker/float16/1/face_landmarker.task"
|
|
200
200
|
},
|
|
201
201
|
metadata: {}
|
|
202
202
|
},
|
|
@@ -207,9 +207,9 @@ async function registerMediaPipeTfJsLocalModels() {
|
|
|
207
207
|
tasks: ["PoseLandmarkerTask"],
|
|
208
208
|
provider: TENSORFLOW_MEDIAPIPE,
|
|
209
209
|
provider_config: {
|
|
210
|
-
|
|
210
|
+
task_engine: "vision",
|
|
211
211
|
pipeline: "vision-pose-landmarker",
|
|
212
|
-
|
|
212
|
+
model_path: "https://storage.googleapis.com/mediapipe-models/pose_landmarker/pose_landmarker_lite/float16/1/pose_landmarker_lite.task"
|
|
213
213
|
},
|
|
214
214
|
metadata: {}
|
|
215
215
|
}
|
|
@@ -231,9 +231,8 @@ async function registerHuggingfaceLocalModels() {
|
|
|
231
231
|
provider: HF_TRANSFORMERS_ONNX,
|
|
232
232
|
provider_config: {
|
|
233
233
|
pipeline: "feature-extraction",
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
nativeDimensions: 384
|
|
234
|
+
model_path: "Xenova/all-MiniLM-L6-v2",
|
|
235
|
+
native_dimensions: 384
|
|
237
236
|
},
|
|
238
237
|
metadata: {}
|
|
239
238
|
},
|
|
@@ -245,9 +244,8 @@ async function registerHuggingfaceLocalModels() {
|
|
|
245
244
|
provider: HF_TRANSFORMERS_ONNX,
|
|
246
245
|
provider_config: {
|
|
247
246
|
pipeline: "feature-extraction",
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
nativeDimensions: 768
|
|
247
|
+
model_path: "Xenova/bge-base-en-v1.5",
|
|
248
|
+
native_dimensions: 768
|
|
251
249
|
},
|
|
252
250
|
metadata: {}
|
|
253
251
|
},
|
|
@@ -259,9 +257,8 @@ async function registerHuggingfaceLocalModels() {
|
|
|
259
257
|
provider: HF_TRANSFORMERS_ONNX,
|
|
260
258
|
provider_config: {
|
|
261
259
|
pipeline: "feature-extraction",
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
nativeDimensions: 384
|
|
260
|
+
model_path: "Xenova/gte-small",
|
|
261
|
+
native_dimensions: 384
|
|
265
262
|
},
|
|
266
263
|
metadata: {}
|
|
267
264
|
},
|
|
@@ -273,9 +270,8 @@ async function registerHuggingfaceLocalModels() {
|
|
|
273
270
|
provider: HF_TRANSFORMERS_ONNX,
|
|
274
271
|
provider_config: {
|
|
275
272
|
pipeline: "feature-extraction",
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
nativeDimensions: 128
|
|
273
|
+
model_path: "onnx-community/bert_uncased_L-2_H-128_A-2-ONNX",
|
|
274
|
+
native_dimensions: 128
|
|
279
275
|
},
|
|
280
276
|
metadata: {}
|
|
281
277
|
},
|
|
@@ -287,9 +283,34 @@ async function registerHuggingfaceLocalModels() {
|
|
|
287
283
|
provider: HF_TRANSFORMERS_ONNX,
|
|
288
284
|
provider_config: {
|
|
289
285
|
pipeline: "feature-extraction",
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
286
|
+
model_path: "Xenova/paraphrase-albert-base-v2",
|
|
287
|
+
native_dimensions: 768
|
|
288
|
+
},
|
|
289
|
+
metadata: {}
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
model_id: "onnx:Qwen3-Embedding-0.6B:auto",
|
|
293
|
+
title: "Qwen3 Embedding 0.6B",
|
|
294
|
+
description: "onnx-community/Qwen3-Embedding-0.6B-ONNX",
|
|
295
|
+
tasks: ["TextEmbeddingTask"],
|
|
296
|
+
provider: HF_TRANSFORMERS_ONNX,
|
|
297
|
+
provider_config: {
|
|
298
|
+
pipeline: "feature-extraction",
|
|
299
|
+
model_path: "onnx-community/Qwen3-Embedding-0.6B-ONNX",
|
|
300
|
+
native_dimensions: 1024,
|
|
301
|
+
mrl: true
|
|
302
|
+
},
|
|
303
|
+
metadata: {}
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
model_id: "onnx:onnx-community/NeuroBERT-NER-ONNX:q8",
|
|
307
|
+
title: "NeuroBERT NER",
|
|
308
|
+
description: "onnx-community/NeuroBERT-NER-ONNX",
|
|
309
|
+
tasks: ["TextNamedEntityRecognitionTask"],
|
|
310
|
+
provider: HF_TRANSFORMERS_ONNX,
|
|
311
|
+
provider_config: {
|
|
312
|
+
pipeline: "token-classification",
|
|
313
|
+
model_path: "onnx-community/NeuroBERT-NER-ONNX"
|
|
293
314
|
},
|
|
294
315
|
metadata: {}
|
|
295
316
|
},
|
|
@@ -297,11 +318,24 @@ async function registerHuggingfaceLocalModels() {
|
|
|
297
318
|
model_id: "onnx:Xenova/distilbert-base-uncased-distilled-squad:q8",
|
|
298
319
|
title: "distilbert-base-uncased-distilled-squad",
|
|
299
320
|
description: "Xenova/distilbert-base-uncased-distilled-squad quantized to 8bit",
|
|
300
|
-
tasks: ["
|
|
321
|
+
tasks: ["TextQuestionAnswerTask"],
|
|
322
|
+
provider: HF_TRANSFORMERS_ONNX,
|
|
323
|
+
provider_config: {
|
|
324
|
+
pipeline: "question-answering",
|
|
325
|
+
model_path: "Xenova/distilbert-base-uncased-distilled-squad"
|
|
326
|
+
},
|
|
327
|
+
metadata: {}
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
model_id: "onnx:onnx-community/ModernBERT-finetuned-squad-ONNX",
|
|
331
|
+
title: "ModernBERT-finetuned-squad-ONNX",
|
|
332
|
+
description: "onnx-community/ModernBERT-finetuned-squad-ONNX quantized to int8",
|
|
333
|
+
tasks: ["TextQuestionAnswerTask"],
|
|
301
334
|
provider: HF_TRANSFORMERS_ONNX,
|
|
302
335
|
provider_config: {
|
|
303
336
|
pipeline: "question-answering",
|
|
304
|
-
|
|
337
|
+
model_path: "onnx-community/ModernBERT-finetuned-squad-ONNX",
|
|
338
|
+
dtype: "int8"
|
|
305
339
|
},
|
|
306
340
|
metadata: {}
|
|
307
341
|
},
|
|
@@ -313,8 +347,8 @@ async function registerHuggingfaceLocalModels() {
|
|
|
313
347
|
provider: HF_TRANSFORMERS_ONNX,
|
|
314
348
|
provider_config: {
|
|
315
349
|
pipeline: "text-generation",
|
|
316
|
-
|
|
317
|
-
|
|
350
|
+
model_path: "Xenova/gpt2",
|
|
351
|
+
dtype: "q8"
|
|
318
352
|
},
|
|
319
353
|
metadata: {}
|
|
320
354
|
},
|
|
@@ -326,10 +360,9 @@ async function registerHuggingfaceLocalModels() {
|
|
|
326
360
|
provider: HF_TRANSFORMERS_ONNX,
|
|
327
361
|
provider_config: {
|
|
328
362
|
pipeline: "text-generation",
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
useExternalDataFormat: true
|
|
363
|
+
model_path: "Xenova/Phi-3-mini-4k-instruct",
|
|
364
|
+
dtype: "q4f16",
|
|
365
|
+
use_external_data_format: true
|
|
333
366
|
},
|
|
334
367
|
metadata: {}
|
|
335
368
|
},
|
|
@@ -341,8 +374,8 @@ async function registerHuggingfaceLocalModels() {
|
|
|
341
374
|
provider: HF_TRANSFORMERS_ONNX,
|
|
342
375
|
provider_config: {
|
|
343
376
|
pipeline: "text-generation",
|
|
344
|
-
|
|
345
|
-
|
|
377
|
+
model_path: "Xenova/distilgpt2",
|
|
378
|
+
dtype: "q8"
|
|
346
379
|
},
|
|
347
380
|
metadata: {}
|
|
348
381
|
},
|
|
@@ -354,33 +387,21 @@ async function registerHuggingfaceLocalModels() {
|
|
|
354
387
|
provider: HF_TRANSFORMERS_ONNX,
|
|
355
388
|
provider_config: {
|
|
356
389
|
pipeline: "text2text-generation",
|
|
357
|
-
|
|
390
|
+
model_path: "Xenova/LaMini-Flan-T5-783M",
|
|
391
|
+
dtype: "q8"
|
|
358
392
|
},
|
|
359
393
|
metadata: {}
|
|
360
394
|
},
|
|
361
395
|
{
|
|
362
|
-
model_id: "onnx:
|
|
363
|
-
title: "LaMini-Flan-T5-783M",
|
|
364
|
-
description: "Xenova/LaMini-Flan-T5-783M quantized to 8bit",
|
|
365
|
-
tasks: ["TextGenerationTask", "TextRewriterTask"],
|
|
366
|
-
provider: HF_TRANSFORMERS_ONNX,
|
|
367
|
-
provider_config: {
|
|
368
|
-
pipeline: "text2text-generation",
|
|
369
|
-
modelPath: "Xenova/LaMini-Flan-T5-783M",
|
|
370
|
-
dType: "q8"
|
|
371
|
-
},
|
|
372
|
-
metadata: {}
|
|
373
|
-
},
|
|
374
|
-
{
|
|
375
|
-
model_id: "onnx:Falconsai/text_summarization:q8",
|
|
396
|
+
model_id: "onnx:Falconsai/text_summarization:fp32",
|
|
376
397
|
title: "text_summarization",
|
|
377
|
-
description: "Falconsai/text_summarization
|
|
398
|
+
description: "Falconsai/text_summarization",
|
|
378
399
|
tasks: ["TextSummaryTask"],
|
|
379
400
|
provider: HF_TRANSFORMERS_ONNX,
|
|
380
401
|
provider_config: {
|
|
381
402
|
pipeline: "summarization",
|
|
382
|
-
|
|
383
|
-
|
|
403
|
+
model_path: "Falconsai/text_summarization",
|
|
404
|
+
dtype: "fp32"
|
|
384
405
|
},
|
|
385
406
|
metadata: {}
|
|
386
407
|
},
|
|
@@ -392,9 +413,9 @@ async function registerHuggingfaceLocalModels() {
|
|
|
392
413
|
provider: HF_TRANSFORMERS_ONNX,
|
|
393
414
|
provider_config: {
|
|
394
415
|
pipeline: "translation",
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
416
|
+
model_path: "Xenova/nllb-200-distilled-600M",
|
|
417
|
+
language_style: "FLORES-200",
|
|
418
|
+
dtype: "q8"
|
|
398
419
|
},
|
|
399
420
|
metadata: {}
|
|
400
421
|
},
|
|
@@ -406,9 +427,9 @@ async function registerHuggingfaceLocalModels() {
|
|
|
406
427
|
provider: HF_TRANSFORMERS_ONNX,
|
|
407
428
|
provider_config: {
|
|
408
429
|
pipeline: "translation",
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
430
|
+
model_path: "Xenova/m2m100_418M",
|
|
431
|
+
language_style: "ISO-639",
|
|
432
|
+
dtype: "q8"
|
|
412
433
|
},
|
|
413
434
|
metadata: {}
|
|
414
435
|
},
|
|
@@ -420,9 +441,9 @@ async function registerHuggingfaceLocalModels() {
|
|
|
420
441
|
provider: HF_TRANSFORMERS_ONNX,
|
|
421
442
|
provider_config: {
|
|
422
443
|
pipeline: "translation",
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
444
|
+
model_path: "Xenova/m2m100_418M",
|
|
445
|
+
language_style: "ISO-639",
|
|
446
|
+
dtype: "q8"
|
|
426
447
|
},
|
|
427
448
|
metadata: {}
|
|
428
449
|
},
|
|
@@ -434,9 +455,9 @@ async function registerHuggingfaceLocalModels() {
|
|
|
434
455
|
provider: HF_TRANSFORMERS_ONNX,
|
|
435
456
|
provider_config: {
|
|
436
457
|
pipeline: "translation",
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
458
|
+
model_path: "Xenova/mbart-large-50-many-to-many-mmt",
|
|
459
|
+
language_style: "ISO-639_ISO-3166-1-alpha-2",
|
|
460
|
+
dtype: "q8"
|
|
440
461
|
},
|
|
441
462
|
metadata: {}
|
|
442
463
|
},
|
|
@@ -448,8 +469,8 @@ async function registerHuggingfaceLocalModels() {
|
|
|
448
469
|
provider: HF_TRANSFORMERS_ONNX,
|
|
449
470
|
provider_config: {
|
|
450
471
|
pipeline: "image-classification",
|
|
451
|
-
|
|
452
|
-
|
|
472
|
+
model_path: "Xenova/vit-base-patch16-224",
|
|
473
|
+
dtype: "q8"
|
|
453
474
|
},
|
|
454
475
|
metadata: {}
|
|
455
476
|
},
|
|
@@ -461,8 +482,8 @@ async function registerHuggingfaceLocalModels() {
|
|
|
461
482
|
provider: HF_TRANSFORMERS_ONNX,
|
|
462
483
|
provider_config: {
|
|
463
484
|
pipeline: "zero-shot-image-classification",
|
|
464
|
-
|
|
465
|
-
|
|
485
|
+
model_path: "Xenova/clip-vit-base-patch32",
|
|
486
|
+
dtype: "q8"
|
|
466
487
|
},
|
|
467
488
|
metadata: {}
|
|
468
489
|
},
|
|
@@ -474,8 +495,8 @@ async function registerHuggingfaceLocalModels() {
|
|
|
474
495
|
provider: HF_TRANSFORMERS_ONNX,
|
|
475
496
|
provider_config: {
|
|
476
497
|
pipeline: "object-detection",
|
|
477
|
-
|
|
478
|
-
|
|
498
|
+
model_path: "Xenova/detr-resnet-50",
|
|
499
|
+
dtype: "q8"
|
|
479
500
|
},
|
|
480
501
|
metadata: {}
|
|
481
502
|
},
|
|
@@ -487,8 +508,8 @@ async function registerHuggingfaceLocalModels() {
|
|
|
487
508
|
provider: HF_TRANSFORMERS_ONNX,
|
|
488
509
|
provider_config: {
|
|
489
510
|
pipeline: "zero-shot-object-detection",
|
|
490
|
-
|
|
491
|
-
|
|
511
|
+
model_path: "Xenova/owlvit-base-patch32",
|
|
512
|
+
dtype: "q8"
|
|
492
513
|
},
|
|
493
514
|
metadata: {}
|
|
494
515
|
},
|
|
@@ -500,8 +521,8 @@ async function registerHuggingfaceLocalModels() {
|
|
|
500
521
|
provider: HF_TRANSFORMERS_ONNX,
|
|
501
522
|
provider_config: {
|
|
502
523
|
pipeline: "image-segmentation",
|
|
503
|
-
|
|
504
|
-
|
|
524
|
+
model_path: "Xenova/segformer-b0-finetuned-ade-512-512",
|
|
525
|
+
dtype: "q8"
|
|
505
526
|
},
|
|
506
527
|
metadata: {}
|
|
507
528
|
},
|
|
@@ -513,8 +534,8 @@ async function registerHuggingfaceLocalModels() {
|
|
|
513
534
|
provider: HF_TRANSFORMERS_ONNX,
|
|
514
535
|
provider_config: {
|
|
515
536
|
pipeline: "image-to-text",
|
|
516
|
-
|
|
517
|
-
|
|
537
|
+
model_path: "Xenova/vit-gpt2-image-captioning",
|
|
538
|
+
dtype: "q8"
|
|
518
539
|
},
|
|
519
540
|
metadata: {}
|
|
520
541
|
},
|
|
@@ -526,8 +547,8 @@ async function registerHuggingfaceLocalModels() {
|
|
|
526
547
|
provider: HF_TRANSFORMERS_ONNX,
|
|
527
548
|
provider_config: {
|
|
528
549
|
pipeline: "background-removal",
|
|
529
|
-
|
|
530
|
-
|
|
550
|
+
model_path: "Xenova/modnet",
|
|
551
|
+
dtype: "q8"
|
|
531
552
|
},
|
|
532
553
|
metadata: {}
|
|
533
554
|
},
|
|
@@ -539,8 +560,21 @@ async function registerHuggingfaceLocalModels() {
|
|
|
539
560
|
provider: HF_TRANSFORMERS_ONNX,
|
|
540
561
|
provider_config: {
|
|
541
562
|
pipeline: "zero-shot-classification",
|
|
542
|
-
|
|
543
|
-
|
|
563
|
+
model_path: "Xenova/mobilebert-uncased-mnli",
|
|
564
|
+
dtype: "q8"
|
|
565
|
+
},
|
|
566
|
+
metadata: {}
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
model_id: "onnx:Xenova/bge-reranker-base:q8",
|
|
570
|
+
title: "BGE Reranker Base",
|
|
571
|
+
description: "Cross-encoder reranker model for relevance scoring",
|
|
572
|
+
tasks: ["TextClassificationTask", "RerankerTask"],
|
|
573
|
+
provider: HF_TRANSFORMERS_ONNX,
|
|
574
|
+
provider_config: {
|
|
575
|
+
pipeline: "text-classification",
|
|
576
|
+
model_path: "Xenova/bge-reranker-base",
|
|
577
|
+
dtype: "q8"
|
|
544
578
|
},
|
|
545
579
|
metadata: {}
|
|
546
580
|
}
|
|
@@ -586,7 +620,7 @@ async function register_TFMP_InMemoryQueue() {
|
|
|
586
620
|
await server.start();
|
|
587
621
|
}
|
|
588
622
|
// src/binding/IndexedDbTaskGraphRepository.ts
|
|
589
|
-
import {
|
|
623
|
+
import { IndexedDbTabularStorage } from "@workglow/storage";
|
|
590
624
|
import {
|
|
591
625
|
TaskGraphPrimaryKeyNames as TaskGraphPrimaryKeyNames2,
|
|
592
626
|
TaskGraphSchema as TaskGraphSchema2,
|
|
@@ -598,12 +632,12 @@ var IDB_TASK_GRAPH_REPOSITORY = createServiceToken3("taskgraph.taskGraphReposito
|
|
|
598
632
|
class IndexedDbTaskGraphRepository extends TaskGraphTabularRepository2 {
|
|
599
633
|
constructor(table = "task_graphs") {
|
|
600
634
|
super({
|
|
601
|
-
tabularRepository: new
|
|
635
|
+
tabularRepository: new IndexedDbTabularStorage(table, TaskGraphSchema2, TaskGraphPrimaryKeyNames2)
|
|
602
636
|
});
|
|
603
637
|
}
|
|
604
638
|
}
|
|
605
639
|
// src/binding/IndexedDbTaskOutputRepository.ts
|
|
606
|
-
import {
|
|
640
|
+
import { IndexedDbTabularStorage as IndexedDbTabularStorage2 } from "@workglow/storage";
|
|
607
641
|
import {
|
|
608
642
|
TaskOutputPrimaryKeyNames as TaskOutputPrimaryKeyNames2,
|
|
609
643
|
TaskOutputSchema as TaskOutputSchema2,
|
|
@@ -615,7 +649,7 @@ var IDB_TASK_OUTPUT_REPOSITORY = createServiceToken4("taskgraph.taskOutputReposi
|
|
|
615
649
|
class IndexedDbTaskOutputRepository extends TaskOutputTabularRepository2 {
|
|
616
650
|
constructor(table = "task_outputs") {
|
|
617
651
|
super({
|
|
618
|
-
tabularRepository: new
|
|
652
|
+
tabularRepository: new IndexedDbTabularStorage2(table, TaskOutputSchema2, TaskOutputPrimaryKeyNames2, ["createdAt"])
|
|
619
653
|
});
|
|
620
654
|
}
|
|
621
655
|
}
|
|
@@ -634,4 +668,4 @@ export {
|
|
|
634
668
|
IDB_TASK_GRAPH_REPOSITORY
|
|
635
669
|
};
|
|
636
670
|
|
|
637
|
-
//# debugId=
|
|
671
|
+
//# debugId=916DB603903E6F2E64756E2164756E21
|