22 lines
506 B
TypeScript
22 lines
506 B
TypeScript
import type { ConsentCategory } from './categories.js';
|
|
export type ConsentTexts = {
|
|
buttons: {
|
|
acceptAll: string;
|
|
back: string;
|
|
reject: string;
|
|
save: string;
|
|
settings: string;
|
|
};
|
|
categories: Record<ConsentCategory, {
|
|
description: string;
|
|
title: string;
|
|
}>;
|
|
message: string;
|
|
/** null = no privacy-policy link shown */
|
|
privacyLink: {
|
|
href: string;
|
|
label: string;
|
|
} | null;
|
|
settingsTitle: string;
|
|
};
|