- Migrated all pages from Next.js to Astro - Added PDPA-compliant Privacy Policy (Thai) - Added PDPA-compliant Terms & Conditions (Thai) - Added Cookie Policy with disclosure (Thai) - Implemented cookie consent banner (client-side) - Integrated Umami Analytics placeholder - Blog system with 3 posts - Optimized Docker configuration for production - Static site build (184KB, 11 pages) - Ready for Easypanel deployment Backup: /Users/kunthawatgreethong/Gitea/dealplustech-backup-nextjs-20260309.tar.gz
24 lines
694 B
TypeScript
24 lines
694 B
TypeScript
import { entityKind } from "./entity.cjs";
|
|
export interface Logger {
|
|
logQuery(query: string, params: unknown[]): void;
|
|
}
|
|
export interface LogWriter {
|
|
write(message: string): void;
|
|
}
|
|
export declare class ConsoleLogWriter implements LogWriter {
|
|
static readonly [entityKind]: string;
|
|
write(message: string): void;
|
|
}
|
|
export declare class DefaultLogger implements Logger {
|
|
static readonly [entityKind]: string;
|
|
readonly writer: LogWriter;
|
|
constructor(config?: {
|
|
writer: LogWriter;
|
|
});
|
|
logQuery(query: string, params: unknown[]): void;
|
|
}
|
|
export declare class NoopLogger implements Logger {
|
|
static readonly [entityKind]: string;
|
|
logQuery(): void;
|
|
}
|