Logo
Explore Help
Sign In
MrSphay/Modrinth-plus
1
0
Fork 0
You've already forked Modrinth-plus
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
2d7e87a4cbd11282589fd41f071b2fb9cd169302
Modrinth-plus/packages/ui/src/providers/api-client.ts

9 lines
239 B
TypeScript
Raw Normal View History

feat: start of cross platform page system (#4731) * feat: abstract api-client DI into ui package * feat: cross platform page system * feat: tanstack as cross platform useAsyncData * feat: archon servers routes + labrinth billing routes * fix: dont use partial * feat: migrate server list page to tanstack + api-client + re-enabled broken features! * feat: migrate servers manage page to api-client before page system * feat: migrate manage page to page system * fix: type issues * fix: upgrade wrapper bugs * refactor: move state types into api-client * feat: disable financial stuff on app frontend * feat: finalize cross platform page system for now * fix: lint * fix: build issues * feat: remove papaparse * fix: lint * fix: interface error --------- Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
2025-11-14 17:15:09 +00:00
import type { AbstractModrinthClient } from '@modrinth/api-client'
import { createContext } from './index'
export const [injectModrinthClient, provideModrinthClient] = createContext<AbstractModrinthClient>(
'root',
'modrinthClient',
)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 33ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API