ObjectStorageBackendSpec
ObjectStorageBackendSpec = {
dir:string;kind:"filesystem"; } | {bucket:string;credentials?:S3Credentials;endpoint?:string;forcePathStyle?:boolean;kind:"s3";region:string; } | {backend:ObjectStorageBackend;kind:"custom"; }
Defined in: src/persistence/object-storage/ObjectStoragePlugin.ts:31
Backend selection — discriminated union so the plugin can build either
the filesystem-backed or the S3-backed object store from a single
config blob. An already-constructed ObjectStorageBackend is also
accepted for advanced cases (mock backend in tests, custom subclass).