-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Instead of relying on new types, this PR allow users to rely on types overriding for their endpoints. That way, we can override Whook's types without having to change their names, especially in the various generators of code.
- Loading branch information
Showing
27 changed files
with
398 additions
and
200 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
import COMMON_CONFIG from '../common/config'; | ||
import type { AppConfigs } from '../common/config'; | ||
import type { WhookConfigs } from '@whook/whook'; | ||
|
||
const CONFIG: AppConfigs = { | ||
const CONFIG: WhookConfigs = { | ||
...COMMON_CONFIG, | ||
HOST: 'api.example.com', | ||
}; | ||
|
||
export default CONFIG; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
import COMMON_CONFIG from '../common/config'; | ||
import type { AppConfigs } from '../common/config'; | ||
import type { WhookConfigs } from '@whook/whook'; | ||
|
||
const CONFIG: AppConfigs = { | ||
const CONFIG: WhookConfigs = { | ||
...COMMON_CONFIG, | ||
HOST: 'staging.example.com', | ||
}; | ||
|
||
export default CONFIG; |
Oops, something went wrong.