Files
wordpress-theme-aksrt/assets/admin/src/schema/sections/global/index.js
T

33 lines
1.0 KiB
JavaScript

/**
* Global & Functions domain schemas.
* Each key corresponds to a sub-page under the "全局&功能" section.
*/
import { logoSchema } from './logo.js'
import { commonSchema } from './common.js'
import { layoutSchema } from './layout.js'
import { searchSchema } from './search.js'
// Email schema is served by the PHP template catalog to keep defaults and fields canonical.
import { tabbarSchema } from './tabbar.js'
import { floatingSchema } from './floating.js'
import { i18nSchema } from './i18n.js'
import { customCodeSchema } from './custom-code.js'
import { seoSchema } from './seo.js'
import { codeHighlightSchema } from './code-highlight.js'
import { systemNoticeSchema } from './system-notice.js'
export const globalSchemas = {
logo: logoSchema,
common: commonSchema,
layout: layoutSchema,
search: searchSchema,
email: null,
tabbar: tabbarSchema,
floating: floatingSchema,
i18n: i18nSchema,
'custom-code': customCodeSchema,
seo: seoSchema,
'code-highlight': codeHighlightSchema,
'system-notice': systemNoticeSchema,
}