Merge pull request #2548 from payloadcms/docs/upload-example
chore: adds export and fields to upload example
This commit is contained in:
@@ -92,6 +92,12 @@ export const Media: CollectionConfig = {
|
||||
adminThumbnail: 'thumbnail',
|
||||
mimeTypes: ['image/*'],
|
||||
},
|
||||
fields: [
|
||||
{
|
||||
name: 'alt',
|
||||
type: 'text',
|
||||
},
|
||||
],
|
||||
};
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user