refactor: remove useBaseFetch for @modrinth/api-client (#5596)
* Reapply "fix: start swapping useBaseFetch usages to api-client" This reverts commit f4f33db7019ea861addb2c66c204d736800b7b6c. * fix: bugs * fix: analytics * fix: lint
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import type { Labrinth } from '@modrinth/api-client'
|
||||
import {
|
||||
BadgeDollarSignIcon,
|
||||
GiftIcon,
|
||||
@@ -43,29 +44,7 @@ export type PaymentProvider = 'tremendous' | 'muralpay' | 'paypal' | 'venmo'
|
||||
**/
|
||||
export type PaymentMethod = 'gift_card' | 'paypal' | 'venmo' | 'bank' | 'crypto'
|
||||
|
||||
export interface PayoutMethod {
|
||||
id: string
|
||||
type: string
|
||||
name: string
|
||||
category?: string
|
||||
image_url: string | null
|
||||
image_logo_url: string | null
|
||||
interval: {
|
||||
standard: {
|
||||
min: number
|
||||
max: number
|
||||
}
|
||||
fixed?: {
|
||||
values: number[]
|
||||
}
|
||||
}
|
||||
config?: {
|
||||
fiat?: string | null
|
||||
blockchain?: string[]
|
||||
}
|
||||
currency_code?: string | null
|
||||
exchange_rate?: number | null
|
||||
}
|
||||
export type PayoutMethod = Labrinth.Payout.v3.PayoutMethod
|
||||
|
||||
export interface PaymentOption {
|
||||
value: string
|
||||
|
||||
Reference in New Issue
Block a user