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:
Kunthawat Greethong
2026-03-09 18:28:01 +07:00
parent 668f69048f
commit 6402d885f9
6183 changed files with 463899 additions and 1913 deletions

View File

@@ -0,0 +1,28 @@
import type { Stream } from "./stream.js";
import type { IntMode } from "./value.js";
export type ProtocolVersion = 1 | 2 | 3;
export type ProtocolEncoding = "json" | "protobuf";
/** A client for the Hrana protocol (a "database connection pool"). */
export declare abstract class Client {
/** @private */
constructor();
/** Get the protocol version negotiated with the server. */
abstract getVersion(): Promise<ProtocolVersion>;
/** @private */
abstract _ensureVersion(minVersion: ProtocolVersion, feature: string): void;
/** Open a {@link Stream}, a stream for executing SQL statements. */
abstract openStream(): Stream;
/** Immediately close the client.
*
* This closes the client immediately, aborting any pending operations.
*/
abstract close(): void;
/** True if the client is closed. */
abstract get closed(): boolean;
/** Representation of integers returned from the database. See {@link IntMode}.
*
* This value is inherited by {@link Stream} objects created with {@link openStream}, but you can
* override the integer mode for every stream by setting {@link Stream.intMode} on the stream.
*/
intMode: IntMode;
}