MediaCollectionSlug
MediaCollectionSlug =
GeneratedVexTypesextendsobject?S:string
Defined in: packages/core/src/types/generated.ts:171
Union of all media collection slugs registered by storage adapters.
- Before
vex generate: resolves tostring— any string is accepted. - After
vex generate: resolves to a specific union, e.g."images" | "videos".
Used by upload({ to: ... }) so that invalid media collection slugs are
caught at compile time after generation.
GeneratedVexTypes for the augmentation interface