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
20 lines
371 B
TypeScript
20 lines
371 B
TypeScript
declare namespace cuid2 {
|
|
export function getConstants(): {
|
|
defaultLength: number
|
|
bigLength: number
|
|
}
|
|
|
|
export function init(options?: {
|
|
random?: () => number
|
|
counter?: () => number
|
|
length?: number
|
|
fingerprint?: string
|
|
}): () => string
|
|
|
|
export function isCuid(id: string): boolean
|
|
|
|
export function createId(): string
|
|
}
|
|
|
|
export = cuid2;
|