✅ Complete Astro migration - PDPA compliant website
- 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
This commit is contained in:
32
dealplustech-astro/node_modules/drizzle-orm/errors.js
generated
vendored
Normal file
32
dealplustech-astro/node_modules/drizzle-orm/errors.js
generated
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
import { entityKind } from "./entity.js";
|
||||
class DrizzleError extends Error {
|
||||
static [entityKind] = "DrizzleError";
|
||||
constructor({ message, cause }) {
|
||||
super(message);
|
||||
this.name = "DrizzleError";
|
||||
this.cause = cause;
|
||||
}
|
||||
}
|
||||
class DrizzleQueryError extends Error {
|
||||
constructor(query, params, cause) {
|
||||
super(`Failed query: ${query}
|
||||
params: ${params}`);
|
||||
this.query = query;
|
||||
this.params = params;
|
||||
this.cause = cause;
|
||||
Error.captureStackTrace(this, DrizzleQueryError);
|
||||
if (cause) this.cause = cause;
|
||||
}
|
||||
}
|
||||
class TransactionRollbackError extends DrizzleError {
|
||||
static [entityKind] = "TransactionRollbackError";
|
||||
constructor() {
|
||||
super({ message: "Rollback" });
|
||||
}
|
||||
}
|
||||
export {
|
||||
DrizzleError,
|
||||
DrizzleQueryError,
|
||||
TransactionRollbackError
|
||||
};
|
||||
//# sourceMappingURL=errors.js.map
|
||||
Reference in New Issue
Block a user