19 lines
565 B
JavaScript
19 lines
565 B
JavaScript
import { cookieSettingsFields } from './fields.js';
|
|
/**
|
|
* Builds the CookieSettings global — consent banner copy managed by editors.
|
|
* Public read (the banner needs it on the frontend for anonymous visitors).
|
|
*/ export function buildCookieSettings() {
|
|
return {
|
|
slug: 'cookie-settings',
|
|
access: {
|
|
read: ()=>true
|
|
},
|
|
admin: {
|
|
group: 'Settings'
|
|
},
|
|
fields: cookieSettingsFields,
|
|
label: 'Cookie Settings'
|
|
};
|
|
} //# sourceMappingURL=index.js.map
|
|
|
|
//# sourceMappingURL=index.js.map
|