maravilla-storage

Installation
SKILL.md

Maravilla Storage

platform.env.STORAGE is an S3-shaped object store. Use it for anything bigger than a JSON blob: images, video, PDFs, user uploads, generated assets.

import { getPlatform } from '@maravilla-labs/platform';
const storage = getPlatform().env.STORAGE;

Layer 1 (tenant isolation) is unconditional. If you've declared a resource with name: 'storage' (or matching your bucket convention) in maravilla.config.ts, Layer-2 policies gate every op.

Direct ops

put(key, data, metadata?)

await storage.put('docs/report.pdf', pdfBytes, {
  contentType: 'application/pdf',
  uploadedBy: userId,
Related skills

More from maravilla-labs/maravilla-cli

Installs
15
First Seen
14 days ago