feat(navigation): add retention metadata to header global
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -2,6 +2,16 @@ import type { GlobalConfig } from "payload";
|
|||||||
|
|
||||||
export const header: GlobalConfig = {
|
export const header: GlobalConfig = {
|
||||||
slug: "header",
|
slug: "header",
|
||||||
|
custom: {
|
||||||
|
retention: {
|
||||||
|
purgeSchedule: "monthly",
|
||||||
|
postDeletion: {
|
||||||
|
duration: "P90D",
|
||||||
|
trigger: "after-deletion",
|
||||||
|
action: "hard-delete",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
admin: {
|
admin: {
|
||||||
group: "Navigation",
|
group: "Navigation",
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user