6de2455917
- Added GLOBAL_MARKETS_TITLE to all translation files - Updated footer with 12 markets (4 active + 8 upcoming) - Translated market section to: zh-cn, zh-tw, ja, ko, th, vi, id, ms, hi - Built and deployed to production - CloudFront invalidation: I3RTMXVFDJXWLG3SYX208OP1CC
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 {};
|