payload
Version:
Node, React, Headless CMS and Application Framework built on Next.js
16 lines (15 loc) • 508 B
JavaScript
/**
* Centralized preference keys used throughout Payload admin UI.
* Import these constants instead of using string literals to prevent typos.
*/ export const PREFERENCE_KEYS = {
/**
* Stores browse by folder view state
*/ BROWSE_BY_FOLDER: 'browse-by-folder',
/**
* Stores dashboard layout configuration
*/ DASHBOARD_LAYOUT: 'dashboard-layout',
/**
* Stores navigation group collapse/expand state and nav open/closed state
*/ NAV: 'nav'
};
//# sourceMappingURL=keys.js.map