mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-19 04:31:11 +00:00
14 lines
456 B
JavaScript
14 lines
456 B
JavaScript
export const API = global.wagtailConfig.api;
|
|
export const API_PAGES = global.wagtailConfig.api.pages;
|
|
|
|
export const PAGES_ROOT_ID = 'root';
|
|
|
|
export const EXPLORER_ANIM_DURATION = 220;
|
|
|
|
export const ADMIN_PAGES = global.wagtailConfig.urls.pages;
|
|
|
|
export const EXPLORER_FILTERS = [
|
|
// TODO Add back in when we want to support explorer without has_children=1
|
|
// { id: 1, label: 'A', filter: null },
|
|
// { id: 2, label: 'B', filter: 'has_children=1' }
|
|
];
|