feat: Upgrade to Astro with full PDPA compliance
PDPA Features: ✅ Cookie consent banner ✅ Consent logging API ✅ Admin dashboard ✅ Privacy Policy ✅ Terms & Conditions Technical: ✅ Astro 5.x + Tailwind v4 ✅ Docker on port 80 ✅ SQLite database ✅ 15 pages built Ready for Easypanel deployment.
This commit is contained in:
24
node_modules/drizzle-orm/gel-core/policies.d.ts
generated
vendored
Normal file
24
node_modules/drizzle-orm/gel-core/policies.d.ts
generated
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
import { entityKind } from "../entity.js";
|
||||
import type { SQL } from "../sql/sql.js";
|
||||
import type { GelRole } from "./roles.js";
|
||||
import type { GelTable } from "./table.js";
|
||||
export type GelPolicyToOption = 'public' | 'current_role' | 'current_user' | 'session_user' | (string & {}) | GelPolicyToOption[] | GelRole;
|
||||
export interface GelPolicyConfig {
|
||||
as?: 'permissive' | 'restrictive';
|
||||
for?: 'all' | 'select' | 'insert' | 'update' | 'delete';
|
||||
to?: GelPolicyToOption;
|
||||
using?: SQL;
|
||||
withCheck?: SQL;
|
||||
}
|
||||
export declare class GelPolicy implements GelPolicyConfig {
|
||||
readonly name: string;
|
||||
static readonly [entityKind]: string;
|
||||
readonly as: GelPolicyConfig['as'];
|
||||
readonly for: GelPolicyConfig['for'];
|
||||
readonly to: GelPolicyConfig['to'];
|
||||
readonly using: GelPolicyConfig['using'];
|
||||
readonly withCheck: GelPolicyConfig['withCheck'];
|
||||
constructor(name: string, config?: GelPolicyConfig);
|
||||
link(table: GelTable): this;
|
||||
}
|
||||
export declare function gelPolicy(name: string, config?: GelPolicyConfig): GelPolicy;
|
||||
Reference in New Issue
Block a user