6989a98d75
- Arkitektur: docs/auth/passwordless-architecture.md - Backend: iom/quixzoom-auth-service/ (FastAPI + Redis) - Webb: quixzoom-market-pages/se/login/ (QR-kod + polling) - App: iom/quixzoom-app/src/features/auth/ (push + deep links) Flöde: QR-kod → app-godkännande → webb-inloggad
15 lines
831 B
TypeScript
15 lines
831 B
TypeScript
/**
|
|
* Percent-encode everything that isn't safe to have in a path without encoding safe chars.
|
|
*
|
|
* Taken from https://datatracker.ietf.org/doc/html/rfc3986#section-3.3:
|
|
* > unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~"
|
|
* > sub-delims = "!" / "$" / "&" / "'" / "(" / ")" / "*" / "+" / "," / ";" / "="
|
|
* > pchar = unreserved / pct-encoded / sub-delims / ":" / "@"
|
|
*/
|
|
export declare function encodeURIPath(str: string): string;
|
|
export declare const createPathTagFunction: (pathEncoder?: typeof encodeURIPath) => (statics: readonly string[], ...params: readonly unknown[]) => string;
|
|
/**
|
|
* URI-encodes path params and ensures no unsafe /./ or /../ path segments are introduced.
|
|
*/
|
|
export declare const path: (statics: readonly string[], ...params: readonly unknown[]) => string;
|
|
//# sourceMappingURL=path.d.ts.map
|