Skip to content

Commit

Permalink
feat(#198): add moh-mali-chw config
Browse files Browse the repository at this point in the history
  • Loading branch information
paulpascal committed Sep 30, 2024
1 parent e4e461a commit c02b9e6
Show file tree
Hide file tree
Showing 4 changed files with 408 additions and 1 deletion.
397 changes: 397 additions & 0 deletions src/config/chis-mali-chw/config.json

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions src/config/chis-mali-chw/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { PartnerConfig } from '..';
import config from './config.json';

const partnerConfig: PartnerConfig = {
config
};

export default partnerConfig;
Binary file added src/config/chis-mali-chw/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion src/config/config-factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@ import ugandaConfig from './chis-ug';
import kenyaConfig from './chis-ke';
import togoConfig from './chis-tg';
import civConfig from './chis-civ';
import maliChwConfig from './chis-mali-chw';

const CONFIG_MAP: { [key: string]: PartnerConfig } = {
'CHIS-KE': kenyaConfig,
'CHIS-UG': ugandaConfig,
'CHIS-TG': togoConfig,
'CHIS-CIV': civConfig
'CHIS-CIV': civConfig,
'CHIS-ML-CHW': maliChwConfig
};

export default function getConfigByKey(key: string = 'CHIS-KE'): PartnerConfig {
Expand Down

0 comments on commit c02b9e6

Please sign in to comment.