@appsemble/node-utils
Version:
NodeJS utilities used by Appsemble internally.
10 lines (9 loc) • 468 B
TypeScript
export declare function getSupportedLanguages(): Promise<Set<string>>;
/**
* Fetch and merge the Appsemble core messages based on a language and a base language.
*
* @param language The language to get the messages of.
* @param baseLanguage The base language of the language to get the messages of.
* @returns The Appsemble core messages.
*/
export declare function getAppsembleMessages(language: string, baseLanguage?: string): Promise<Record<string, string>>;