Bucket
Source:
src/Prisma/Bucket.ts
A Prisma Object Store bucket inside a Prisma project.
Project, name, and branch changes replace the bucket because the Management API has no bucket update operation. Destroying this resource deletes the bucket, its objects, and any remaining access keys — the Management API cascades the deletion server-side.
Creating a Bucket
Section titled “Creating a Bucket”const bucket = yield* Prisma.Bucket("uploads", { project, name: "uploads",});Accessing a Bucket
Section titled “Accessing a Bucket”const key = yield* Prisma.BucketAccessKey("uploads-key", { bucket, role: "read_write",});