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.
22 lines
822 B
TypeScript
22 lines
822 B
TypeScript
import type { Config, IntMode } from "./api.js";
|
|
import type { Authority } from "./uri.js";
|
|
export interface ExpandedConfig {
|
|
scheme: ExpandedScheme;
|
|
tls: boolean;
|
|
authority: Authority | undefined;
|
|
path: string;
|
|
authToken: string | undefined;
|
|
encryptionKey: string | undefined;
|
|
remoteEncryptionKey: string | undefined;
|
|
syncUrl: string | undefined;
|
|
syncInterval: number | undefined;
|
|
readYourWrites: boolean | undefined;
|
|
offline: boolean | undefined;
|
|
intMode: IntMode;
|
|
fetch: Function | undefined;
|
|
concurrency: number;
|
|
}
|
|
export type ExpandedScheme = "wss" | "ws" | "https" | "http" | "file";
|
|
export declare function isInMemoryConfig(config: ExpandedConfig): boolean;
|
|
export declare function expandConfig(config: Readonly<Config>, preferHttp: boolean): ExpandedConfig;
|