GeneIT/geneit_app/src/api/FamilyApi.ts

17 lines
315 B
TypeScript
Raw Normal View History

2023-06-27 15:13:12 +00:00
import { APIClient } from "./ApiClient";
export interface Family {}
export class FamilyApi {
/**
* Create a new family
*/
static async CreateFamily(name: string): Promise<void> {
await APIClient.exec({
method: "POST",
uri: "/family/create",
jsonData: { name: name },
});
}
}