✅ 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:
44
dealplustech-astro/node_modules/@libsql/hrana-client/lib-esm/http/protobuf_decode.js
generated
vendored
Normal file
44
dealplustech-astro/node_modules/@libsql/hrana-client/lib-esm/http/protobuf_decode.js
generated
vendored
Normal file
@@ -0,0 +1,44 @@
|
||||
import { Error, StmtResult, BatchResult, DescribeResult } from "../shared/protobuf_decode.js";
|
||||
export const PipelineRespBody = {
|
||||
default() { return { baton: undefined, baseUrl: undefined, results: [] }; },
|
||||
1(r, msg) { msg.baton = r.string(); },
|
||||
2(r, msg) { msg.baseUrl = r.string(); },
|
||||
3(r, msg) { msg.results.push(r.message(StreamResult)); },
|
||||
};
|
||||
const StreamResult = {
|
||||
default() { return { type: "none" }; },
|
||||
1(r) { return { type: "ok", response: r.message(StreamResponse) }; },
|
||||
2(r) { return { type: "error", error: r.message(Error) }; },
|
||||
};
|
||||
const StreamResponse = {
|
||||
default() { return { type: "none" }; },
|
||||
1(r) { return { type: "close" }; },
|
||||
2(r) { return r.message(ExecuteStreamResp); },
|
||||
3(r) { return r.message(BatchStreamResp); },
|
||||
4(r) { return { type: "sequence" }; },
|
||||
5(r) { return r.message(DescribeStreamResp); },
|
||||
6(r) { return { type: "store_sql" }; },
|
||||
7(r) { return { type: "close_sql" }; },
|
||||
8(r) { return r.message(GetAutocommitStreamResp); },
|
||||
};
|
||||
const ExecuteStreamResp = {
|
||||
default() { return { type: "execute", result: StmtResult.default() }; },
|
||||
1(r, msg) { msg.result = r.message(StmtResult); },
|
||||
};
|
||||
const BatchStreamResp = {
|
||||
default() { return { type: "batch", result: BatchResult.default() }; },
|
||||
1(r, msg) { msg.result = r.message(BatchResult); },
|
||||
};
|
||||
const DescribeStreamResp = {
|
||||
default() { return { type: "describe", result: DescribeResult.default() }; },
|
||||
1(r, msg) { msg.result = r.message(DescribeResult); },
|
||||
};
|
||||
const GetAutocommitStreamResp = {
|
||||
default() { return { type: "get_autocommit", isAutocommit: false }; },
|
||||
1(r, msg) { msg.isAutocommit = r.bool(); },
|
||||
};
|
||||
export const CursorRespBody = {
|
||||
default() { return { baton: undefined, baseUrl: undefined }; },
|
||||
1(r, msg) { msg.baton = r.string(); },
|
||||
2(r, msg) { msg.baseUrl = r.string(); },
|
||||
};
|
||||
Reference in New Issue
Block a user