@payloadcms/payload-cloud 3.0.0-beta.120 → 3.0.0-beta.122
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -21,11 +21,11 @@ Add the plugin to your Payload config
|
|
|
21
21
|
`yarn add @payloadcms/payload-cloud`
|
|
22
22
|
|
|
23
23
|
```ts
|
|
24
|
-
import {
|
|
24
|
+
import { payloadCloudPlugin } from '@payloadcms/payload-cloud'
|
|
25
25
|
import { buildConfig } from 'payload'
|
|
26
26
|
|
|
27
27
|
export default buildConfig({
|
|
28
|
-
plugins: [
|
|
28
|
+
plugins: [payloadCloudPlugin()],
|
|
29
29
|
// rest of config
|
|
30
30
|
})
|
|
31
31
|
```
|
|
@@ -41,7 +41,7 @@ After configuring, ensure that the `from` email address is from a domain you hav
|
|
|
41
41
|
If you wish to opt-out of any Payload cloud features, the plugin also accepts options to do so.
|
|
42
42
|
|
|
43
43
|
```ts
|
|
44
|
-
|
|
44
|
+
payloadCloudPlugin({
|
|
45
45
|
storage: false, // Disable file storage
|
|
46
46
|
email: false, // Disable email delivery
|
|
47
47
|
uploadCaching: false, // Disable upload caching
|
|
@@ -53,7 +53,7 @@ payloadCloud({
|
|
|
53
53
|
If you wish to configure upload caching on a per-collection basis, you can do so by passing in a keyed object of collection names. By default, all collections will be cached for 24 hours (86400 seconds). The cache is invalidated when an item is updated or deleted.
|
|
54
54
|
|
|
55
55
|
```ts
|
|
56
|
-
|
|
56
|
+
payloadCloudPlugin({
|
|
57
57
|
uploadCaching: {
|
|
58
58
|
maxAge: 604800, // Override default maxAge for all collections
|
|
59
59
|
collection1Slug: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@payloadcms/payload-cloud",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.122",
|
|
4
4
|
"description": "The official Payload Cloud plugin",
|
|
5
5
|
"homepage": "https://payloadcms.com",
|
|
6
6
|
"repository": {
|
|
@@ -30,16 +30,16 @@
|
|
|
30
30
|
"amazon-cognito-identity-js": "^6.1.2",
|
|
31
31
|
"nodemailer": "6.9.10",
|
|
32
32
|
"resend": "^0.17.2",
|
|
33
|
-
"@payloadcms/email-nodemailer": "3.0.0-beta.
|
|
33
|
+
"@payloadcms/email-nodemailer": "3.0.0-beta.122"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@types/jest": "29.5.12",
|
|
37
37
|
"@types/nodemailer": "6.4.14",
|
|
38
38
|
"ts-jest": "^29.1.0",
|
|
39
|
-
"payload": "3.0.0-beta.
|
|
39
|
+
"payload": "3.0.0-beta.122"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"payload": "3.0.0-beta.
|
|
42
|
+
"payload": "3.0.0-beta.122"
|
|
43
43
|
},
|
|
44
44
|
"scripts": {
|
|
45
45
|
"build": "pnpm build:types && pnpm build:swc",
|