type

CollectionAdmin

Resolved collection presentation, hierarchy, and live-preview metadata.

Properties

PropertyTypeDescription
HiddenboolHidden keeps the resource out of the admin's navigation, dashboard, search and routes. It is presentation only.
UseAsTitlestringThe UseAsTitle value.
DefaultColumns[]stringThe DefaultColumns value.
GroupstringThe Group value.
GroupTranslationsmap[string]stringThe GroupTranslations value.
DescriptionstringThe Description value.
DescriptionTranslationsmap[string]stringThe DescriptionTranslations value.
FolderFieldstringThe FolderField value.
ParentFieldstringThe ParentField value.
LivePreview*LivePreviewThe LivePreview value.

How it works

Presentation metadata never authorizes an operation.

Full signature

type CollectionAdmin struct { // Hidden keeps the resource out of the admin's navigation, dashboard, // search and routes. It is presentation only. Hidden bool `json:"hidden,omitempty"` UseAsTitle string `json:"useAsTitle,omitempty"` DefaultColumns []string `json:"defaultColumns,omitempty"` Group string `json:"group,omitempty"` GroupTranslations map[string]string `json:"groupTranslations,omitempty"` Description string `json:"description,omitempty"` DescriptionTranslations map[string]string `json:"descriptionTranslations,omitempty"` FolderField string `json:"folderField,omitempty"` ParentField string `json:"parentField,omitempty"` LivePreview *LivePreview `json:"livePreview,omitempty"` }

Source schema/manifest.go:243