chore: adds qs, adds query to createPayloadRequest

This commit is contained in:
Jarrod Flesch
2024-03-06 14:26:21 -05:00
parent f76e534b64
commit c73159d2d0
24 changed files with 204 additions and 75 deletions

View File

@@ -4,7 +4,27 @@ export const mediaSlug = 'media'
export const MediaCollection: CollectionConfig = {
slug: mediaSlug,
upload: true,
upload: {
crop: true,
focalPoint: true,
imageSizes: [
{
name: 'thumbnail',
width: 200,
height: 200,
},
{
name: 'medium',
width: 800,
height: 800,
},
{
name: 'large',
width: 1200,
height: 1200,
},
],
},
access: {
read: () => true,
create: () => true,