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
484 B
TypeScript
15 lines
484 B
TypeScript
import { CommandNameFlags } from "./Command";
|
|
declare type AddSet = CommandNameFlags["ENTER_SUBSCRIBER_MODE"][number];
|
|
declare type DelSet = CommandNameFlags["EXIT_SUBSCRIBER_MODE"][number];
|
|
/**
|
|
* Tiny class to simplify dealing with subscription set
|
|
*/
|
|
export default class SubscriptionSet {
|
|
private set;
|
|
add(set: AddSet, channel: string): void;
|
|
del(set: DelSet, channel: string): void;
|
|
channels(set: AddSet | DelSet): string[];
|
|
isEmpty(): boolean;
|
|
}
|
|
export {};
|