✅ 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/tidb-serverless/driver.d.ts
generated
vendored
Normal file
32
dealplustech-astro/node_modules/drizzle-orm/tidb-serverless/driver.d.ts
generated
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
import { type Config, type Connection } from '@tidbcloud/serverless';
|
||||
import { entityKind } from "../entity.js";
|
||||
import type { Logger } from "../logger.js";
|
||||
import { MySqlDatabase } from "../mysql-core/db.js";
|
||||
import { type DrizzleConfig } from "../utils.js";
|
||||
import type { TiDBServerlessPreparedQueryHKT, TiDBServerlessQueryResultHKT } from "./session.js";
|
||||
export interface TiDBServerlessSDriverOptions {
|
||||
logger?: Logger;
|
||||
cache?: Cache;
|
||||
}
|
||||
export declare class TiDBServerlessDatabase<TSchema extends Record<string, unknown> = Record<string, never>> extends MySqlDatabase<TiDBServerlessQueryResultHKT, TiDBServerlessPreparedQueryHKT, TSchema> {
|
||||
static readonly [entityKind]: string;
|
||||
}
|
||||
export declare function drizzle<TSchema extends Record<string, unknown> = Record<string, never>, TClient extends Connection = Connection>(...params: [
|
||||
TClient | string
|
||||
] | [
|
||||
TClient | string,
|
||||
DrizzleConfig<TSchema>
|
||||
] | [
|
||||
({
|
||||
connection: string | Config;
|
||||
} | {
|
||||
client: TClient;
|
||||
}) & DrizzleConfig<TSchema>
|
||||
]): TiDBServerlessDatabase<TSchema> & {
|
||||
$client: TClient;
|
||||
};
|
||||
export declare namespace drizzle {
|
||||
function mock<TSchema extends Record<string, unknown> = Record<string, never>>(config?: DrizzleConfig<TSchema>): TiDBServerlessDatabase<TSchema> & {
|
||||
$client: '$client is not available on drizzle.mock()';
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user