DocumentationTypesInterfaces

Menu

amerta


amerta / payload-types / Menu

Interface: Menu

Defined in: payload-types.ts:2794

This interface was referenced by Config's JSON-Schema via the definition "menu".

Properties

createdAt

createdAt: string

Defined in: payload-types.ts:2843


id

id: string

Defined in: payload-types.ts:2795


navItems?

optional navItems: { id?: string | null; link: { label: string; newTab?: boolean | null; reference?: { relationTo: "pages"; value: string | Page; } | { relationTo: "posts"; value: string | Post; } | { relationTo: "categories"; value: string | Category; } | { relationTo: "products"; value: string | Product; } | { relationTo: "collections"; value: string | Collection; } | { relationTo: "product-brands"; value: string | ProductBrand; } | null; type?: "custom" | "reference" | null; url?: string | null; }; }[] | null

Defined in: payload-types.ts:2803

Use {locale} in custom URLs to have them adapt based on the current locale


publishedOn?

optional publishedOn: string | null

Defined in: payload-types.ts:2799


slug?

optional slug: string | null

Defined in: payload-types.ts:2797


slugLock?

optional slugLock: boolean | null

Defined in: payload-types.ts:2798


title?

optional title: string | null

Defined in: payload-types.ts:2796


updatedAt

updatedAt: string

Defined in: payload-types.ts:2842