19 lines
371 B
TypeScript
19 lines
371 B
TypeScript
// Auto-generated items service
|
|
import { api } from "./api";
|
|
|
|
export function get() {
|
|
return api.get("/api/items");
|
|
}
|
|
|
|
export function post(data: Record<string, unknown>) {
|
|
return api.post("/api/items", data);
|
|
}
|
|
|
|
export function get() {
|
|
return api.get("/api/items");
|
|
}
|
|
|
|
export function post(data: Record<string, unknown>) {
|
|
return api.post("/api/items", data);
|
|
}
|