-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: rework client composition logic and remove unnecessary Togg…
…l flag (#30) * refactor: create Entries type * refactor(tempo): use new Entries type and inline entry group upload * refactor: add date time helpers * refactor: reorganize client composition Do a major refactor on how the client composition is done and simplify client logic. Besides that, this commit reduces the duplicated logic across clients and outsources the authentication setter. Additionally, it makes it easier to integrate new clients with more complex authentication methods, like Oauth2. Also, the commit contains a change that removes the illogical flag for setting toggl client base URL, hence that never changes.
- Loading branch information
1 parent
4211197
commit a8fa50b
Showing
22 changed files
with
1,317 additions
and
761 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.