Files
the_order/packages/storage
defiQUG 923b703d97 chore: stop tracking TypeScript emit under packages/*/src
Ignore .js/.js.map/.d.ts/.d.ts.map next to sources (tsc outDir is dist).
Preserve hand-written packages/auth/src/types/base58-universal.d.ts.

Made-with: Cursor
2026-04-07 22:08:37 -07:00
..

@the-order/storage

Storage abstraction for S3/GCS with WORM mode support.

Usage

import { StorageClient, WORMStorage } from '@the-order/storage';

const storage = new StorageClient(config);
const wormStorage = new WORMStorage(config);

await storage.upload({ key: 'file.txt', content: 'Hello' });

Features

  • S3 and GCS support
  • WORM (Write Once Read Many) mode
  • Presigned URL generation
  • Object lifecycle management