-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.ts
40 lines (31 loc) · 1.51 KB
/
config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import { extendDeploymentConfig } from "scripts";
import { loadEncryptedConfig } from "scripts";
/** TZ config extends the default config **/
const config = extendDeploymentConfig({ name: "plh_teens_tz", parent: "plh_teens" });
config.app_data!.sheets_filter_function = (flow) =>
!["debug", "component_demo", "example_hardcoded", "campaign_rows_debug"].includes(
flow.flow_subtype!
);
config.translations!.filter_language_codes = ["tz_en", "tz_sw"];
// Hacky fix to point extended deployment to translations within its own repo
config.translations.translated_strings_path = "./app_data/translations_source/translated_strings";
config.git = {
content_repo: "https://github.com/IDEMSInternational/plh-teens-app-tz-content.git",
content_tag_latest: "1.1.24",
};
config.android = {
app_id:'international.idems.plh_teens_tz',
app_name:'PLH Teens TZ',
splash_asset_path: "./app_data/assets/android/splash.png",
icon_asset_path: "./app_data/assets/android/icon.png",
icon_asset_foreground_path: "./app_data/assets/android/icon-foreground.png",
icon_asset_background_path: "./app_data/assets/android/icon-background.png",
};
config.api.db_name = "plh";
config.web.favicon_asset = "./app_data/assets/web/favicon.png";
config.app_data.output_path = "./app_data";
// Override constants
config.app_config!.APP_LANGUAGES!.default = "tz_sw";
config.app_config!.APP_SIDEMENU_DEFAULTS!.title = "ParentApp (TZ)";
config.error_logging = { dsn: "https://[email protected]/6888" };
export default config;