api

package
v0.0.19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateContentType

func CreateContentType(name string, id string, withFields bool) error

func CreateGlobalField added in v0.0.14

func CreateGlobalField(id string, data map[string]interface{}) error

func CreateOrUpdateSeoGlobalField added in v0.0.14

func CreateOrUpdateSeoGlobalField() error

func CreateOrUpdateTranslationsContentType added in v0.0.15

func CreateOrUpdateTranslationsContentType() error

func DeleteContentType added in v0.0.14

func DeleteContentType(uid string, isForced bool) error

func DeleteGlobalField added in v0.0.14

func DeleteGlobalField(uid string, isForced bool) error

func GetContentType

func GetContentType(id string) interface{}

func GetEntry

func GetEntry(route structs.Route) (map[string]interface{}, error)

func GetEntryWithMetadata added in v0.0.14

func GetEntryWithMetadata(route structs.Route) (interface{}, []api_structs.AltLocale, []structs.Route, error)

func GetGlobalField added in v0.0.14

func GetGlobalField(id string) interface{}

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL