@glowlabs-org/events-sdk
Version:
Typed event SDK for Glow, powered by RabbitMQ and Zod.
15 lines (14 loc) • 468 B
TypeScript
export declare const zoneMap: {
readonly 0: "All Zones";
readonly 1: "Clean Grid Project";
readonly 2: "Coming Soon Zone ";
};
export type ZoneId = keyof typeof zoneMap;
export type ZoneName = (typeof zoneMap)[ZoneId];
export declare const zoneKeyToId: {
readonly AllZones: 0;
readonly CleanGridProject: 1;
readonly ComingSoonZone: 2;
};
export type ZoneKey = keyof typeof zoneKeyToId;
export declare function getZoneId(name: ZoneKey): number;