-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
40a597a
commit db4f0ac
Showing
12 changed files
with
487 additions
and
345 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,5 +1,9 @@ | ||
# fastify-starter-turbo-monorepo | ||
|
||
## Jan-20-2025 | ||
|
||
- Package updates. | ||
|
||
## Jan-1-2025 | ||
|
||
- Package updates. | ||
|
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
pre-commit: | ||
commands: | ||
"lint and format files": | ||
glob: "*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,json,jsonc}" | ||
run: pnpm run biome:check {staged_files} && pnpm run biome:format {staged_files} && pnpm run biome:lint {staged_files} | ||
stage_fixed: true | ||
tags: | ||
- lint | ||
- staged-lint | ||
exclude: | ||
- "*.gen.ts" | ||
"check and format package.json files": | ||
glob: "**/package.json" | ||
run: pnpm run syncpack:format && pnpm run syncpack:lint | ||
stage_fixed: true | ||
tags: | ||
- package-lint | ||
"verify typescript types": | ||
glob: "*.{ts,mjs,d.cts,d.mts,tsx}" | ||
run: pnpm run verify-types | ||
tags: | ||
- verify-types | ||
"update lockfiles": | ||
glob: "**/package.json" | ||
run: pnpm install | ||
stage_fixed: true |
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,3 +1,3 @@ | ||
// This file is auto-generated by @hey-api/openapi-ts | ||
export * from './sdk.gen'; | ||
export * from './types.gen'; | ||
export * from './types.gen'; | ||
export * from './sdk.gen'; |
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,16 +1,20 @@ | ||
// This file is auto-generated by @hey-api/openapi-ts | ||
|
||
import { createClient, createConfig, type OptionsLegacyParser } from '@hey-api/client-fetch'; | ||
import type { CreateEMailUserData, CreateEMailUserError, CreateEMailUserResponse2 } from './types.gen'; | ||
import { createClient, createConfig, type Options } from '@hey-api/client-fetch'; | ||
import type { CreateEMailUserData, CreateEMailUserResponse2 } from './types.gen'; | ||
|
||
export const client = createClient(createConfig()); | ||
|
||
/** | ||
* Create an e-mail-based account | ||
*/ | ||
export const createEMailUser = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<CreateEMailUserData, ThrowOnError>) => { | ||
return (options?.client ?? client).post<CreateEMailUserResponse2, CreateEMailUserError, ThrowOnError>({ | ||
export const createEMailUser = <ThrowOnError extends boolean = false>(options?: Options<CreateEMailUserData, ThrowOnError>) => { | ||
return (options?.client ?? client).post<CreateEMailUserResponse2, unknown, ThrowOnError>({ | ||
url: '/users/email', | ||
...options, | ||
url: '/users/email' | ||
headers: { | ||
'Content-Type': 'application/json', | ||
...options?.headers | ||
} | ||
}); | ||
}; |
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.