This PR adds an ecommerce plugin package with both a Payload plugin and React UI utilities for the frontend. It also adds a new ecommerce template and new ecommerce test suite. It also makes a change to the `cpa` package to accept a `--version` flag to install a specific version of Payload defaulting to the latest.
11 lines
178 B
TypeScript
11 lines
178 B
TypeScript
import type { CollectionConfig } from 'payload'
|
|
|
|
export const Media: CollectionConfig = {
|
|
slug: 'media',
|
|
upload: true,
|
|
access: {
|
|
read: () => true,
|
|
},
|
|
fields: [],
|
|
}
|