mirror of
https://github.com/m1ngsama/FUJI.git
synced 2025-12-24 10:51:27 +00:00
15 lines
562 B
TypeScript
15 lines
562 B
TypeScript
import createClient from "openapi-fetch"
|
|
import type { paths as saturdayPaths } from "../types/saturday"
|
|
// import type { paths as activePaths } from "../types/active"
|
|
import { ApiClient } from "./active"
|
|
export const saturdayClient = createClient<saturdayPaths>({
|
|
baseUrl: "https://api.nbtca.space/v2/",
|
|
})
|
|
// export const activeClient = createClient<activePaths>({
|
|
// baseUrl: "https://active.nbtca.space/",
|
|
// })
|
|
export const activeClient = new ApiClient({
|
|
BASE: "https://active.nbtca.space",
|
|
// BASE: "/active",
|
|
})
|
|
export * from "./active/types.gen"
|