chore(frontend): install and set up oxlint and oxfmt

This commit is contained in:
2026-05-14 22:47:59 +02:00
parent 543fbf575d
commit eecc2b354a
10 changed files with 686 additions and 193 deletions
+4 -4
View File
@@ -12,11 +12,11 @@
* ```
*/
import createClient from 'openapi-fetch';
import type { paths } from './schema';
import createClient from "openapi-fetch";
import type { paths } from "./schema";
// Get the API base URL from environment variables or default to localhost
const API_BASE_URL = import.meta.env.VITE_API_BASE_URL || 'http://localhost:3100';
const API_BASE_URL = import.meta.env.VITE_API_BASE_URL || "http://localhost:3100";
/**
* Typed API client instance.
@@ -28,4 +28,4 @@ export const apiClient = createClient<paths>({ baseUrl: API_BASE_URL });
/**
* Re-export the types for convenience
*/
export type { paths, components } from './schema';
export type { paths, components } from "./schema";