payload-plugin-newsletter 0.11.0 → 0.12.0
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/CHANGELOG.md +26 -2
- package/dist/components.cjs +444 -0
- package/dist/components.cjs.map +1 -1
- package/dist/components.d.cts +33 -1
- package/dist/components.d.ts +33 -1
- package/dist/components.js +449 -0
- package/dist/components.js.map +1 -1
- package/dist/index.cjs +14 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +14 -9
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3749,6 +3749,19 @@ var createEmailContentField = (overrides) => {
|
|
|
3749
3749
|
};
|
|
3750
3750
|
};
|
|
3751
3751
|
|
|
3752
|
+
// src/fields/broadcastInlinePreview.ts
|
|
3753
|
+
var createBroadcastInlinePreviewField = () => {
|
|
3754
|
+
return {
|
|
3755
|
+
name: "broadcastInlinePreview",
|
|
3756
|
+
type: "ui",
|
|
3757
|
+
admin: {
|
|
3758
|
+
components: {
|
|
3759
|
+
Field: "/src/components/Broadcasts/BroadcastInlinePreview"
|
|
3760
|
+
}
|
|
3761
|
+
}
|
|
3762
|
+
};
|
|
3763
|
+
};
|
|
3764
|
+
|
|
3752
3765
|
// src/collections/Broadcasts.ts
|
|
3753
3766
|
var createBroadcastsCollection = (pluginConfig) => {
|
|
3754
3767
|
const hasProviders = !!(pluginConfig.providers?.broadcast || pluginConfig.providers?.resend);
|
|
@@ -3784,15 +3797,7 @@ var createBroadcastsCollection = (pluginConfig) => {
|
|
|
3784
3797
|
description: "Email content"
|
|
3785
3798
|
}
|
|
3786
3799
|
}),
|
|
3787
|
-
|
|
3788
|
-
name: "emailPreview",
|
|
3789
|
-
type: "ui",
|
|
3790
|
-
admin: {
|
|
3791
|
-
components: {
|
|
3792
|
-
Field: "/src/components/Broadcasts/EmailPreviewField"
|
|
3793
|
-
}
|
|
3794
|
-
}
|
|
3795
|
-
},
|
|
3800
|
+
createBroadcastInlinePreviewField(),
|
|
3796
3801
|
{
|
|
3797
3802
|
name: "status",
|
|
3798
3803
|
type: "select",
|