payload-plugin-newsletter 0.25.12 → 0.26.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 +6 -0
- package/dist/collections.cjs +27 -0
- package/dist/collections.cjs.map +1 -1
- package/dist/collections.js +27 -0
- package/dist/collections.js.map +1 -1
- package/dist/server.d.ts +93 -2
- package/dist/server.js +81 -19
- package/package.json +1 -1
package/dist/collections.js
CHANGED
|
@@ -2277,6 +2277,33 @@ var createBroadcastsCollection = (pluginConfig) => {
|
|
|
2277
2277
|
{
|
|
2278
2278
|
name: "pausedAt",
|
|
2279
2279
|
type: "date"
|
|
2280
|
+
},
|
|
2281
|
+
{
|
|
2282
|
+
name: "webhookEvents",
|
|
2283
|
+
type: "array",
|
|
2284
|
+
label: "Webhook Event Log",
|
|
2285
|
+
maxRows: 10,
|
|
2286
|
+
admin: {
|
|
2287
|
+
readOnly: true,
|
|
2288
|
+
description: "Recent webhook events for debugging"
|
|
2289
|
+
},
|
|
2290
|
+
fields: [
|
|
2291
|
+
{
|
|
2292
|
+
name: "eventType",
|
|
2293
|
+
type: "text",
|
|
2294
|
+
admin: { readOnly: true }
|
|
2295
|
+
},
|
|
2296
|
+
{
|
|
2297
|
+
name: "receivedAt",
|
|
2298
|
+
type: "date",
|
|
2299
|
+
admin: { readOnly: true }
|
|
2300
|
+
},
|
|
2301
|
+
{
|
|
2302
|
+
name: "eventPayload",
|
|
2303
|
+
type: "json",
|
|
2304
|
+
admin: { readOnly: true }
|
|
2305
|
+
}
|
|
2306
|
+
]
|
|
2280
2307
|
}
|
|
2281
2308
|
]
|
|
2282
2309
|
}
|