Files
dealplustech/node_modules/@libsql/hrana-client/lib-esm/libsql_url.d.ts
Kunthawat 77ac4d2d05 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.
2026-03-12 10:01:04 +07:00

16 lines
892 B
TypeScript

/** Result of parsing a libsql URL using {@link parseLibsqlUrl}. */
export interface ParsedLibsqlUrl {
/** A WebSocket URL that can be used with {@link openWs} to open a {@link WsClient}. It is `undefined`
* if the parsed URL specified HTTP explicitly. */
hranaWsUrl: string | undefined;
/** A HTTP URL that can be used with {@link openHttp} to open a {@link HttpClient}. It is `undefined`
* if the parsed URL specified WebSockets explicitly. */
hranaHttpUrl: string | undefined;
/** The optional `authToken` query parameter that should be passed as `jwt` to
* {@link openWs}/{@link openHttp}. */
authToken: string | undefined;
}
/** Parses a URL compatible with the libsql client (`@libsql/client`). This URL may have the "libsql:" scheme
* and may contain query parameters. */
export declare function parseLibsqlUrl(urlStr: string): ParsedLibsqlUrl;