tachybase_todo/packages/plugins/@tachybase/plugin-localization-management/src/server/constans.ts
sealday ede7ead8b1 chore(version): release v0.21.34 (#1045)
Co-authored-by: sealday <sealday@gmail.com>
Reviewed-on: daoyoucloud/tachybase#1045
2024-05-24 01:06:06 +08:00

16 lines
386 B
TypeScript

export const CACHE_KEY = 'localization:texts';
export const NAMESPACE_PREFIX = 'lm-';
export const NAMESPACE_MENUS = `${NAMESPACE_PREFIX}menus`;
export const NAMESPACE_COLLECTIONS = `${NAMESPACE_PREFIX}collections`;
export const EXTEND_MODULES = [
{
value: NAMESPACE_MENUS,
label: 'Menu',
},
{
value: NAMESPACE_COLLECTIONS,
label: 'Collections & Fields',
},
];