File tree 7 files changed +21
-20
lines changed
7 files changed +21
-20
lines changed Original file line number Diff line number Diff line change 1
1
import { fetchData , insertParams , stringifyQuery } from './utils'
2
- import { paths } from './types/api'
2
+ import type { paths } from './types/api'
3
3
4
4
type Primitive = string | number | boolean | null
5
5
Original file line number Diff line number Diff line change 1
1
import { callEndpoint } from './endpoint'
2
- import { operations } from './types/api'
3
- import {
2
+ import type { operations } from './types/api'
3
+ import type {
4
4
SafeTransactionEstimation ,
5
5
TransactionDetails ,
6
6
TransactionListPage ,
7
7
SafeIncomingTransfersResponse ,
8
8
SafeModuleTransactionsResponse ,
9
9
SafeMultisigTransactionsResponse ,
10
10
} from './types/transactions'
11
- import {
11
+ import type {
12
12
FiatCurrencies ,
13
13
OwnedSafes ,
14
14
SafeBalanceResponse ,
15
15
SafeCollectibleResponse ,
16
16
SafeCollectiblesPage ,
17
17
} from './types/common'
18
- import { SafeInfo } from './types/safe-info'
19
- import { ChainListResponse , ChainInfo } from './types/chains'
20
- import { SafeAppsResponse } from './types/safe-apps'
21
- import { MasterCopyReponse } from './types/master-copies'
22
- import { DecodedDataResponse } from './types/decoded-data'
18
+ import type { SafeInfo } from './types/safe-info'
19
+ import type { ChainListResponse , ChainInfo } from './types/chains'
20
+ import type { SafeAppsResponse } from './types/safe-apps'
21
+ import type { MasterCopyReponse } from './types/master-copies'
22
+ import type { DecodedDataResponse } from './types/decoded-data'
23
23
import { DEFAULT_BASE_URL } from './config'
24
24
25
25
export * from './types/safe-info'
Original file line number Diff line number Diff line change 1
- import {
1
+ import type {
2
2
FiatCurrencies ,
3
3
OwnedSafes ,
4
4
SafeBalanceResponse ,
5
5
SafeCollectibleResponse ,
6
6
SafeCollectiblesPage ,
7
7
} from './common'
8
- import {
8
+ import type {
9
9
MultisigTransactionRequest ,
10
10
TransactionDetails ,
11
11
SafeTransactionEstimation ,
@@ -15,11 +15,11 @@ import {
15
15
SafeModuleTransactionsResponse ,
16
16
SafeMultisigTransactionsResponse ,
17
17
} from './transactions'
18
- import { SafeInfo } from './safe-info'
19
- import { ChainListResponse , ChainInfo } from './chains'
20
- import { SafeAppsResponse } from './safe-apps'
21
- import { DecodedDataRequest , DecodedDataResponse } from './decoded-data'
22
- import { MasterCopyReponse } from './master-copies'
18
+ import type { SafeInfo } from './safe-info'
19
+ import type { ChainListResponse , ChainInfo } from './chains'
20
+ import type { SafeAppsResponse } from './safe-apps'
21
+ import type { DecodedDataRequest , DecodedDataResponse } from './decoded-data'
22
+ import type { MasterCopyReponse } from './master-copies'
23
23
24
24
export interface paths {
25
25
'/v1/chains/{chainId}/safes/{address}' : {
Original file line number Diff line number Diff line change 1
- import { Page } from './common'
1
+ import type { Page } from './common'
2
2
3
3
export enum RPC_AUTHENTICATION {
4
4
API_KEY_PATH = 'API_KEY_PATH' ,
Original file line number Diff line number Diff line change 1
- import { AddressEx } from './common'
1
+ import type { AddressEx } from './common'
2
2
3
3
export enum ImplementationVersionState {
4
4
UP_TO_DATE = 'UP_TO_DATE' ,
Original file line number Diff line number Diff line change 1
- import { AddressEx , Page , TokenInfo } from './common'
1
+ import type { AddressEx , Page , TokenInfo } from './common'
2
2
3
3
export type ParamValue = string | ParamValue [ ]
4
4
Original file line number Diff line number Diff line change 14
14
"forceConsistentCasingInFileNames" : true ,
15
15
"moduleResolution" : " node" ,
16
16
"resolveJsonModule" : true ,
17
- "isolatedModules" : true
17
+ "isolatedModules" : true ,
18
+ "importsNotUsedAsValues" : " error" ,
18
19
},
19
20
"include" : [" src" ]
20
21
}
You can’t perform that action at this time.
0 commit comments