feat: add file system and sequential pipeline support
Added `FileSystemStorage` and exports for sequential pipelines, including `SequentialPipeline` and related types (`PipelineResult`, `SequentialPipelineOptions`).
This commit is contained in:
parent
100d4c7839
commit
7dcba549a1
1 changed files with 17 additions and 2 deletions
19
src/index.ts
19
src/index.ts
|
|
@ -49,10 +49,15 @@ import {
|
|||
MemoryStorage,
|
||||
createStorage
|
||||
} from './storage/opfsStorage.js'
|
||||
import { FileSystemStorage } from './storage/fileSystemStorage.js'
|
||||
import { R2Storage, S3CompatibleStorage } from './storage/s3CompatibleStorage.js'
|
||||
|
||||
export {
|
||||
OPFSStorage,
|
||||
MemoryStorage,
|
||||
FileSystemStorage,
|
||||
R2Storage,
|
||||
S3CompatibleStorage,
|
||||
createStorage
|
||||
}
|
||||
|
||||
|
|
@ -64,12 +69,22 @@ import {
|
|||
PipelineOptions
|
||||
} from './augmentationPipeline.js'
|
||||
|
||||
// Export sequential pipeline
|
||||
import {
|
||||
SequentialPipeline,
|
||||
sequentialPipeline,
|
||||
PipelineResult,
|
||||
SequentialPipelineOptions
|
||||
} from './sequentialPipeline.js'
|
||||
|
||||
export {
|
||||
AugmentationPipeline,
|
||||
augmentationPipeline,
|
||||
ExecutionMode
|
||||
ExecutionMode,
|
||||
SequentialPipeline,
|
||||
sequentialPipeline
|
||||
}
|
||||
export type { PipelineOptions }
|
||||
export type { PipelineOptions, PipelineResult, SequentialPipelineOptions }
|
||||
|
||||
// Export augmentation registry for build-time loading
|
||||
import {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue