UNPKG

@magidoc/plugin-starter-variables

Version:

A shared library that contains common Magidoc starter environment variables keys.

33 lines (32 loc) 1.35 kB
export type Page = { title: string; content: string | Page[]; }; export type ExternalLink = { label: string; href: string; position?: 'header' | 'navigation'; kind?: string; group?: string; }; export type AllowedDirective = { name: string; args: string[]; }; export type FieldSorting = 'default' | 'alphabetical'; export type ArgumentSorting = 'default' | 'alphabetical'; declare const _default: { APP_LOGO: import("./variable").Variable<string>; APP_TITLE: import("./variable").Variable<string>; APP_FAVICON: import("./variable").Variable<string>; SITE_ROOT: import("./variable").Variable<string>; SITE_META: import("./variable").Variable<Record<string, string | undefined>>; CUSTOM_STYLES: import("./variable").Variable<(string | undefined)[]>; FIELDS_SORTING: import("./variable").Variable<FieldSorting>; ARGUMENTS_SORTING: import("./variable").Variable<ArgumentSorting>; QUERY_GENERATION_FACTORIES: import("./variable").Variable<Record<string, string | number | boolean | Record<string, unknown> | null | undefined>>; PAGES: import("./variable").Variable<(Page | undefined)[]>; EXTERNAL_LINKS: import("./variable").Variable<(ExternalLink | undefined)[]>; DIRECTIVES: import("./variable").Variable<(AllowedDirective | undefined)[]>; }; export default _default;