kpi is the server for KoboToolbox. It includes an API for users to access data and manage their forms, question library, sharing settings, create reports, and export data.
It's a Nice to Have™ #3397 followup task. We want to migrate to TypeScript the most common files we have - for now we do it one by one whenever we encounter non-TS import we need for TS file. It would be better to just migrate these up front. By migrate I mean either make sure the package types are installed or the file is renamed to ts/tsx and types for it added. Please do these:
[x] react
[x] js/bem
[x] react-autobind
[x] js/constants
[x] reflux
[ ] js/actions
[x] utils
[x] react-mixin
[ ] js/stores
[x] js/mixins
[x] js/assetUtils
[x] js/components/common/loadingSpinner
[x] alertifyjs
[x] react-router
[x] js/dataInterface
[ ] prop-types
[x] js/router/routerConstants
[x] js/envStore
[x] js/components/common/checkbox
[ ] underscore
[x] react-select
[x] react-document-title
[x] js/components/common/textBox
[x] js/assetStore
[x] react-dom
[x] js/router/routerUtils
[x] js/components/permissions/permConfig
Please make one PR per one "transcriptized" file :pray:
Additional details
This is (most probably outdated as you read it) the list of files we have on frontend ordered by their import frequency:
Both js/actions and js/stores need to be split to smaller files besides just moving to typescript, so I think we don't need to wait for them here. Almost everything else is already done 🎆
Description
It's a Nice to Have™ #3397 followup task. We want to migrate to TypeScript the most common files we have - for now we do it one by one whenever we encounter non-TS import we need for TS file. It would be better to just migrate these up front. By migrate I mean either make sure the package types are installed or the file is renamed to
ts
/tsx
and types for it added. Please do these:Please make one PR per one "transcriptized" file :pray:
Additional details
This is (most probably outdated as you read it) the list of files we have on frontend ordered by their import frequency: