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,
|
MemoryStorage,
|
||||||
createStorage
|
createStorage
|
||||||
} from './storage/opfsStorage.js'
|
} from './storage/opfsStorage.js'
|
||||||
|
import { FileSystemStorage } from './storage/fileSystemStorage.js'
|
||||||
|
import { R2Storage, S3CompatibleStorage } from './storage/s3CompatibleStorage.js'
|
||||||
|
|
||||||
export {
|
export {
|
||||||
OPFSStorage,
|
OPFSStorage,
|
||||||
MemoryStorage,
|
MemoryStorage,
|
||||||
|
FileSystemStorage,
|
||||||
|
R2Storage,
|
||||||
|
S3CompatibleStorage,
|
||||||
createStorage
|
createStorage
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -64,12 +69,22 @@ import {
|
||||||
PipelineOptions
|
PipelineOptions
|
||||||
} from './augmentationPipeline.js'
|
} from './augmentationPipeline.js'
|
||||||
|
|
||||||
|
// Export sequential pipeline
|
||||||
|
import {
|
||||||
|
SequentialPipeline,
|
||||||
|
sequentialPipeline,
|
||||||
|
PipelineResult,
|
||||||
|
SequentialPipelineOptions
|
||||||
|
} from './sequentialPipeline.js'
|
||||||
|
|
||||||
export {
|
export {
|
||||||
AugmentationPipeline,
|
AugmentationPipeline,
|
||||||
augmentationPipeline,
|
augmentationPipeline,
|
||||||
ExecutionMode
|
ExecutionMode,
|
||||||
|
SequentialPipeline,
|
||||||
|
sequentialPipeline
|
||||||
}
|
}
|
||||||
export type { PipelineOptions }
|
export type { PipelineOptions, PipelineResult, SequentialPipelineOptions }
|
||||||
|
|
||||||
// Export augmentation registry for build-time loading
|
// Export augmentation registry for build-time loading
|
||||||
import {
|
import {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue