20 lines
586 B
JavaScript
20 lines
586 B
JavaScript
import { notificationsFields } from './fields.js';
|
|
/**
|
|
* Builds the Notifications global — localized action-result texts. Readable by
|
|
* any authenticated panel user; server-side helpers read it with overrideAccess
|
|
* so the frontend can resolve texts without a session.
|
|
*/ export function buildNotifications() {
|
|
return {
|
|
slug: 'notifications',
|
|
label: 'Notifications',
|
|
admin: {
|
|
group: 'Settings'
|
|
},
|
|
access: {
|
|
read: ()=>true
|
|
},
|
|
fields: notificationsFields
|
|
};
|
|
}
|
|
|
|
//# sourceMappingURL=index.js.map
|