18 lines
576 B
TypeScript

// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
/**
* Configuration for the object storage backend
* Currently, we only support S3-compatible object storage and local filesystem storage
* We test against Amazon S3, GCS, Cloudflare R2, and Minio
*/
export type StorageKind =
| {
type: "s3_compatible";
bucket_name: string | null;
region: string | null;
endpoint: string | null;
allow_http: boolean | null;
}
| { type: "filesystem"; path: string }
| { type: "disabled" };