This is used from the Hooks-library to prefix the cache keys. With login on device with BankId or Freja we never set the personal number in the API and all cache keys in Hooks was prefixed with "undefined".
* feat: 🎸 Get list of teachers from api-skolplattfomen
* feat: 🎸 teachers and school contacts in hooks
* style: 💄 lint
* chore: 🤖 fakeData for matching some lessons with teachers
* feat: 🎸 Teacher's names in timetable (where available)
* test: 💍 fix failing tests (add mocks for new calls)
* Update Cocoapods version
* Use new api GetRequestHeaders to get headers
* Remove warnings of missing colors and brushes
* Fix typing errors
* Change affected main branch to main
* Remove unused feature toggle
* Add dummy login checker to remove using any
Common code consists of shared types, some helpers along with a few
common infrastructure code for fetching data and handling cookies etc.
Shortly a common `Api` interface will be introduced that both
skolplattformen and hjarntorget will adhere to initially.
This way we can detect when the api returns data for the wrong child. We then throw an exception.
In the app the api-hooks library retires requests when errors occur so we try again and hope
that correct data is returned.
Common code consists of shared types, some helpers along with a few
common infrastructure code for fetching data and handling cookies etc.
Shortly a common `Api` interface will be introduced that both
skolplattformen and hjarntorget will adhere to initially.