Skip to content
This repository was archived by the owner on Jan 16, 2024. It is now read-only.

Commit 31622dd

Browse files
committed
update: README.md
1 parent 2b51699 commit 31622dd

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,17 +45,18 @@ However, you can create your own adapter for any third-party service you would l
4545

4646
This plugin is configurable to work across many different Payload collections. A `*` denotes that the property is required.
4747

48-
| Option | Description |
49-
| ----------------------- | ----------- |
50-
| `collections` * | Object with keys set to the slug of collections you want to enable the plugin for, and values set to collection-specific options. |
48+
| Option | Type | Description |
49+
|-------------------------|-----------------------------------------| ----------- |
50+
| `collections` * | Record<string, [CollectionOptions](https://github.com/payloadcms/plugin-cloud-storage/blob/c4a492a62abc2f21b4cd6a7c97778acd8e831212/src/types.ts#L48)> | Object with keys set to the slug of collections you want to enable the plugin for, and values set to collection-specific options. |
5151

5252
**Collection-specific options:**
5353

54-
| Option | Description |
55-
|------------------------------|---------------------------------|
56-
| `adapter` * | Pass in the adapter that you'd like to use for this collection. You can also set this field to `null` for local development if you'd like to bypass cloud storage in certain scenarios and use local storage. |
57-
| `disableLocalStorage` | Choose to disable local storage on this collection. Defaults to `true`. |
58-
| `disablePayloadAccessControl` | Set to `true` to disable Payload's access control. [More](#payload-access-control) |
54+
| Option | Type | Description |
55+
|-------------------------------|-------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------|
56+
| `adapter` * | [Adapter](https://github.com/payloadcms/plugin-cloud-storage/blob/c4a492a62abc2f21b4cd6a7c97778acd8e831212/src/types.ts#L46) | Pass in the adapter that you'd like to use for this collection. You can also set this field to `null` for local development if you'd like to bypass cloud storage in certain scenarios and use local storage. |
57+
| `disableLocalStorage` | `boolean` | Choose to disable local storage on this collection. Defaults to `true`. |
58+
| `disablePayloadAccessControl` | `true` | Set to `true` to disable Payload's access control. [More](#payload-access-control) |
59+
| `prefix` | `string` | Set to `media/images` to upload files inside `media/images` folder in the bucket. |
5960

6061
### Azure Blob Storage Adapter
6162

0 commit comments

Comments
 (0)