- 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
16 lines
639 B
TypeScript
16 lines
639 B
TypeScript
export type MessageFun<T> = (w: MessageWriter, msg: T) => void;
|
|
export declare class MessageWriter {
|
|
#private;
|
|
constructor();
|
|
bytes(tag: number, value: Uint8Array): void;
|
|
string(tag: number, value: string): void;
|
|
message<T>(tag: number, value: T, fun: MessageFun<T>): void;
|
|
int32(tag: number, value: number): void;
|
|
uint32(tag: number, value: number): void;
|
|
bool(tag: number, value: boolean): void;
|
|
sint64(tag: number, value: bigint): void;
|
|
double(tag: number, value: number): void;
|
|
data(): Uint8Array;
|
|
}
|
|
export declare function writeProtobufMessage<T>(value: T, fun: MessageFun<T>): Uint8Array;
|