payload-plugin-newsletter 0.22.0 → 0.24.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 +21 -0
- package/dist/client.d.ts +1 -0
- package/dist/collections.cjs +11 -0
- package/dist/collections.cjs.map +1 -1
- package/dist/collections.js +11 -0
- package/dist/collections.js.map +1 -1
- package/dist/server.d.ts +1 -0
- package/dist/server.js +129 -0
- package/dist/types.d.cts +1 -0
- package/dist/types.d.ts +1 -0
- package/package.json +1 -1
package/dist/collections.js
CHANGED
|
@@ -2972,6 +2972,17 @@ var createSubscribersCollection = (pluginConfig) => {
|
|
|
2972
2972
|
admin: {
|
|
2973
2973
|
description: "Where the subscriber signed up from"
|
|
2974
2974
|
}
|
|
2975
|
+
},
|
|
2976
|
+
// Import tracking
|
|
2977
|
+
{
|
|
2978
|
+
name: "importedFromProvider",
|
|
2979
|
+
type: "checkbox",
|
|
2980
|
+
defaultValue: false,
|
|
2981
|
+
admin: {
|
|
2982
|
+
description: "Indicates this subscriber was imported from an external provider via webhook",
|
|
2983
|
+
position: "sidebar",
|
|
2984
|
+
readOnly: true
|
|
2985
|
+
}
|
|
2975
2986
|
}
|
|
2976
2987
|
];
|
|
2977
2988
|
if (pluginConfig.features?.utmTracking?.enabled) {
|