Skip to content

StorageSchema

StorageSchema = Record<string, FiletypeConfig<any>>

Defined in: packages/storage/src/types.ts:158

A record mapping file type names to their FiletypeConfig definitions.

Used as the input to defineStorage to declare the full storage schema.

Uses any for the input generic so that heterogeneous file types with different TInput shapes can be collected in a single schema.