Interface: CreateS3FileStoreOptions
Defined in: server/storage/s3-file-store.ts:249
Options for createS3FileStore.
Properties
client?
optional client?: S3Client;Defined in: server/storage/s3-file-store.ts:260
Inject a pre-built S3 client (e.g. a mock in tests, or a shared instance). When omitted, one is constructed from the resolved config.
config?
optional config?: Partial<S3StorageConfig> & {
bucket?: string;
};Defined in: server/storage/s3-file-store.ts:255
Explicit, already-resolved (or partial) config. When omitted, config is
resolved from environment variables via resolveS3StorageConfig — which
fails closed (throws) if no bucket is set.
Type Declaration
bucket?
optional bucket?: string;Methods
assertObjectUsable()?
optional assertObjectUsable(input: S3ObjectInspectionInput): Promise<void>;Defined in: server/storage/s3-file-store.ts:266
Optional fail-closed content/AV gate. When configured, every operation that makes an uploaded object usable awaits this hook. Consumers should make it assert a persisted "clean" scan state rather than re-running AV on reads.
Parameters
| Parameter | Type |
|---|---|
input | S3ObjectInspectionInput |
Returns
Promise<void>