feat: Add complete PDPA compliance pages
- Admin dashboard (/admin/consent-logs) with password auth - Consent API (/api/consent) with SQLite + IP hashing - Privacy Policy (Thai) - PDPA Section 36 compliant - Terms & Conditions (Thai) - 9 standard clauses - .env.example template with Umami placeholder All pages preserve current design system.
This commit is contained in:
7
dealplustech-astro/node_modules/astro-consent/dist/config/loadConfig.d.ts
generated
vendored
Normal file
7
dealplustech-astro/node_modules/astro-consent/dist/config/loadConfig.d.ts
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
import type { CookieBannerConfig } from "../types/config.js";
|
||||
/**
|
||||
* Safely loads the user config file and merges it with defaults.
|
||||
* User values always override defaults.
|
||||
* Cache-busted to ensure updates are picked up during dev.
|
||||
*/
|
||||
export declare function loadUserConfig(projectRoot: string): Promise<CookieBannerConfig>;
|
||||
Reference in New Issue
Block a user