Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(fetcher): implement vaksinasi.id db fetcher #806

Merged
merged 17 commits into from Oct 26, 2021
Merged
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
c84e78c
feat(fetcher): implement vaksinasi.id db fetcher
togetherwithasteria Oct 9, 2021
5984d61
style(fetcher): sort union type members in fetch-vaccine-database.ts
togetherwithasteria Oct 9, 2021
ebbbaa0
refactor(fetcher): move types of vaksinid fetcher to lib
togetherwithasteria Oct 9, 2021
03c7baf
refactor(fetcher): move the vaksin.id url to the top
togetherwithasteria Oct 9, 2021
fa2c55f
feat(fetcher): fetch vaksinasi.id db in fetch-wbw.ts
togetherwithasteria Oct 10, 2021
d0c21b7
refactor(fetcher): reduce repetition in vaccination types
togetherwithasteria Oct 10, 2021
8b80b67
fix(fetcher): fix program stuck caused by spinner
togetherwithasteria Oct 10, 2021
ccb05a7
refactor(fetcher): transform vaksinid output data to be Contact-compa…
togetherwithasteria Oct 11, 2021
d4d8379
refactor(fetcher): change vaksin.id output to PartialVaccinationProvi…
togetherwithasteria Oct 11, 2021
f35f99b
refactor(fetcher): change vaksin.id output to an object
togetherwithasteria Oct 12, 2021
a7532dd
chore: switch netlify export to yarn fetch-wbw
togetherwithasteria Oct 14, 2021
b56e628
Merge branch 'main' into feat/fetch-vaccination-database
togetherwithasteria Oct 14, 2021
6620521
feat(fetcher): log some info from vaccination db
togetherwithasteria Oct 15, 2021
3f43140
feat(fetcher): log the output text of vaccine.db fetcher
togetherwithasteria Oct 15, 2021
67c64d4
Merge branch 'main' of https://github.com/kawalcovid19/wargabantuwarg…
togetherwithasteria Oct 15, 2021
e94dbfb
fix(fetcher): fix vaksinasi.id fetcher only fetching 4 provinces
togetherwithasteria Oct 15, 2021
d5de61b
refactor(fetcher): remove console.log()s from vaccination fetcher
togetherwithasteria Oct 16, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
style(fetcher): sort union type members in fetch-vaccine-database.ts
There is an ESLint warning in c84e78c, this commit addresses that warn
togetherwithasteria committed Oct 9, 2021
commit 5984d612f995a41b79e2ff763c7625fbfb415c9a
2 changes: 1 addition & 1 deletion etc/fetchers/fetch-vaccination-database.ts
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ import fetch from "cross-fetch";

interface VaccinationRegions {
province: string;
city: Array<`${"Kota" | "Kab."} ${string}`>;
city: Array<`${"Kab." | "Kota"} ${string}`>;
}

interface VaccinationRegionsResponse {