Skip to content

Commit

Permalink
Annotate type imports in composables/api
Browse files Browse the repository at this point in the history
  • Loading branch information
zysim committed May 17, 2024
1 parent 3c97a94 commit 599ea30
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 6 deletions.
6 changes: 5 additions & 1 deletion composables/api/useChangePassword/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
import { ApiResponse, optionalParameters, useApi } from 'composables/useApi'
import {
type ApiResponse,
type optionalParameters,
useApi,
} from 'composables/useApi'
import { Account } from 'lib/api/Account'
import type { ChangePasswordRequest } from 'lib/api/data-contracts'

Expand Down
6 changes: 5 additions & 1 deletion composables/api/useConfirmAccount/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
import { ApiResponse, optionalParameters, useApi } from 'composables/useApi'
import {
type ApiResponse,
type optionalParameters,
useApi,
} from 'composables/useApi'
import { Account } from 'lib/api/Account'

export async function useConfirmAccount(
Expand Down
6 changes: 5 additions & 1 deletion composables/api/useGetUserDetail/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import { ref } from 'vue'
import { ApiResponse, optionalParameters, useApi } from 'composables/useApi'
import {
type ApiResponse,
type optionalParameters,
useApi,
} from 'composables/useApi'
import { Users } from 'lib/api/Users'
import type { UserViewModel } from 'lib/api/data-contracts'

Expand Down
6 changes: 5 additions & 1 deletion composables/api/useLoginUser/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
import { ApiResponse, optionalParameters, useApi } from 'composables/useApi'
import {
type ApiResponse,
type optionalParameters,
useApi,
} from 'composables/useApi'
import { useCurrentUser } from 'composables/useCurrentUser'
import { useSessionToken } from 'composables/useSessionToken'
import { Account } from 'lib/api/Account'
Expand Down
6 changes: 5 additions & 1 deletion composables/api/useRegisterUser/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import { ref } from 'vue'
import { ApiResponse, optionalParameters, useApi } from 'composables/useApi'
import {
type ApiResponse,
type optionalParameters,
useApi,
} from 'composables/useApi'
import { Account } from 'lib/api/Account'
import type { RegisterRequest, UserViewModel } from 'lib/api/data-contracts'

Expand Down
6 changes: 5 additions & 1 deletion composables/api/useValidateRecoveryToken/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
import { ApiResponse, optionalParameters, useApi } from 'composables/useApi'
import {
type ApiResponse,
type optionalParameters,
useApi,
} from 'composables/useApi'
import { Account } from 'lib/api/Account'

export async function useValidateRecoveryToken(
Expand Down

0 comments on commit 599ea30

Please sign in to comment.