@code4recovery/spec
Version:
The goal of the Meeting Guide API is help sync information about AA meetings. It was developed for the Meeting Guide app, but it is non-proprietary and other systems are encouraged to make use of it.
8 lines (7 loc) • 1.03 kB
TypeScript
import { languages } from "./languages";
import { types } from "./types";
export type Language = (typeof languages)[number];
export type MeetingType = keyof typeof types;
export declare function isMeetingType(type: string): type is MeetingType;
export declare function isSupportedLanguage(language: string): language is Language;
export declare function getTypesForLanguage(language: string): Record<"11" | "LGBTQ" | "12x12" | "A" | "ABSI" | "AF" | "AL" | "AL-AN" | "AM" | "AR" | "ASL" | "B" | "BA" | "BE" | "BG" | "BI" | "BRK" | "C" | "CAN" | "CF" | "D" | "DA" | "DB" | "DD" | "DE" | "DR" | "EL" | "EN" | "FA" | "FI" | "FF" | "FR" | "G" | "GR" | "H" | "HE" | "HI" | "HR" | "HU" | "IS" | "ITA" | "JA" | "KA" | "KOR" | "L" | "LIT" | "LS" | "LT" | "M" | "MED" | "ML" | "MT" | "N" | "NB" | "NDG" | "NE" | "NL" | "NO" | "O" | "OUT" | "P" | "POA" | "POC" | "POL" | "POR" | "PUN" | "RUS" | "S" | "SEN" | "SK" | "SL" | "SM" | "SP" | "ST" | "SV" | "T" | "TC" | "TH" | "TL" | "TR" | "TUR" | "UK" | "W" | "X" | "XB" | "XT" | "Y", string>;