- begin exporting a WebhookResult class for parsing results from data returned by a webhook (now deprecated in favor of
C2Response.parseWebhook()) C2Results.datenow calledendDate- reorganize types so they share a common generated file instead of each creating their own (taken from PR #8)
- adjust how the freezed types are generated with a build config
- introduce
C2FullResults,C2HeartRate,C2Intervals,C2Splits, andC2Workoutas new types for representing data from the C2 logbook API C2FullResults.workoutTypenow defaults toC2APIWorkoutType.unknownrather thanC2APIWorkoutType.JustRow.- added/improves docs
- Improved unit test coverage
- Introduce
C2Responseto take over the duties ofC2WebhookResult, which is now deprecated. UseC2Response.parseWebhook()instead ofC2WebhookResult.parse() - Small update to dependencies
- Add linting
- add automated CI testing
- make the types immutable with Freezed
- swap to a new oauth library
- Initial version, it just does auth and fetches metadata about a users profile - kinda the bare minimum