DocumentationTypesInterfaces

Category

amerta


amerta / payload-types / Category

Interface: Category

Defined in: payload-types.ts:1119

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

Properties

_status?

optional _status: "draft" | "published" | null

Defined in: payload-types.ts:1160


breadcrumbs?

optional breadcrumbs: { doc?: string | Category | null; id?: string | null; label?: string | null; url?: string | null; }[] | null

Defined in: payload-types.ts:1149


createdAt

createdAt: string

Defined in: payload-types.ts:1158


deletedAt?

optional deletedAt: string | null

Defined in: payload-types.ts:1159


description?

optional description: {[k: string]: unknown; root: { children: {[k: string]: unknown; type: any; version: number; }[]; direction: "rtl" | "ltr" | null; format: "" | "center" | "left" | "start" | "right" | "end" | "justify"; indent: number; type: string; version: number; }; } | null

Defined in: payload-types.ts:1122


id

id: string

Defined in: payload-types.ts:1120


meta?

optional meta: { description?: string | null; image?: string | Media | null; title?: string | null; }

Defined in: payload-types.ts:1140

description?

optional description: string | null

image?

optional image: string | Media | null

Maximum upload file size: 12MB. Recommended file size for images is <500KB.

title?

optional title: string | null


parent?

optional parent: string | Category | null

Defined in: payload-types.ts:1148


publishedOn?

optional publishedOn: string | null

Defined in: payload-types.ts:1137


slug?

optional slug: string | null

Defined in: payload-types.ts:1138


slugLock?

optional slugLock: boolean | null

Defined in: payload-types.ts:1139


title

title: string

Defined in: payload-types.ts:1121


updatedAt

updatedAt: string

Defined in: payload-types.ts:1157