Skip to content

Commit

Permalink
feat(#158): integration of user management tool into civ project (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
aloundoye committed Sep 17, 2024
1 parent 339bc6f commit e15b8e9
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ node_modules
dist
.env*
src/package.json
.eslintcache
.eslintcache
.DS_Store
8 changes: 8 additions & 0 deletions src/config/chis-civ/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-civ/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 @@ -2,11 +2,13 @@ import { PartnerConfig } from '.';
import ugandaConfig from './chis-ug';
import kenyaConfig from './chis-ke';
import togoConfig from './chis-tg';
import civConfig from './chis-civ';

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

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

0 comments on commit e15b8e9

Please sign in to comment.