Skip to content

Commit

Permalink
fix: inline type on RequestParams
Browse files Browse the repository at this point in the history
  • Loading branch information
Eein committed Nov 5, 2024
1 parent 48e8c1f commit 8e2e752
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 10 deletions.
3 changes: 1 addition & 2 deletions lib/api/Account.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ import type {
UserViewModel,
ValidationProblemDetails,
} from './data-contracts'
import type { RequestParams } from './http-client'
import { ContentType, HttpClient } from './http-client'
import { ContentType, HttpClient, type RequestParams } from './http-client'

export class Account<
SecurityDataType = unknown,
Expand Down
3 changes: 1 addition & 2 deletions lib/api/Categories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ import type {
ProblemDetails,
ValidationProblemDetails,
} from './data-contracts'
import type { RequestParams } from './http-client'
import { ContentType, HttpClient } from './http-client'
import { ContentType, HttpClient, type RequestParams } from './http-client'

export class Categories<
SecurityDataType = unknown,
Expand Down
3 changes: 1 addition & 2 deletions lib/api/Leaderboards.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ import type {
UpdateLeaderboardRequest,
ValidationProblemDetails,
} from './data-contracts'
import type { RequestParams } from './http-client'
import { ContentType, HttpClient } from './http-client'
import { ContentType, HttpClient, type RequestParams } from './http-client'

export class Leaderboards<
SecurityDataType = unknown,
Expand Down
3 changes: 1 addition & 2 deletions lib/api/Runs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ import type {
TimedRunViewModel,
ValidationProblemDetails,
} from './data-contracts'
import type { RequestParams } from './http-client'
import { ContentType, HttpClient } from './http-client'
import { ContentType, HttpClient, type RequestParams } from './http-client'

export class Runs<
SecurityDataType = unknown,
Expand Down
3 changes: 1 addition & 2 deletions lib/api/Users.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
*/

import type { ProblemDetails, UserViewModel } from './data-contracts'
import type { RequestParams } from './http-client'
import { HttpClient } from './http-client'
import { HttpClient, type RequestParams } from './http-client'

export class Users<
SecurityDataType = unknown,
Expand Down

0 comments on commit 8e2e752

Please sign in to comment.