Files
dealplustech/node_modules/unstorage/drivers/s3.d.ts
Kunthawat 77ac4d2d05 feat: Upgrade to Astro with full PDPA compliance
PDPA Features:
 Cookie consent banner
 Consent logging API
 Admin dashboard
 Privacy Policy
 Terms & Conditions

Technical:
 Astro 5.x + Tailwind v4
 Docker on port 80
 SQLite database
 15 pages built

Ready for Easypanel deployment.
2026-03-12 10:01:04 +07:00

35 lines
997 B
TypeScript

export interface S3DriverOptions {
/**
* Access Key ID
*/
accessKeyId: string;
/**
* Secret Access Key
*/
secretAccessKey: string;
/**
* The endpoint URL of the S3 service.
*
* - For AWS S3: "https://s3.[region].amazonaws.com/"
* - For cloudflare R2: "https://[uid].r2.cloudflarestorage.com/"
*/
endpoint: string;
/**
* The region of the S3 bucket.
*
* - For AWS S3, this is the region of the bucket.
* - For cloudflare, this is can be set to `auto`.
*/
region: string;
/**
* The name of the bucket.
*/
bucket: string;
/**
* Enabled by default to speedup `clear()` operation. Set to `false` if provider is not implementing [DeleteObject](https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObjects.html).
*/
bulkDelete?: boolean;
}
declare const _default: (opts: S3DriverOptions) => import("..").Driver<S3DriverOptions, never>;
export default _default;