aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sdk/src/index.ts
blob: 7ff0c0dcd2584740ffaee1df584e176236a12f66 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
import createClient from "openapi-fetch";

import type { components, paths } from "./hoarder-api.d.ts";

/**
 * @deprecated Use createKarakeepClient instead.
 */
export const createHoarderClient = createClient<paths>;

export const createKarakeepClient = createClient<paths>;

export type KarakeepAPISchemas = components["schemas"];