mealie/frontend/api/public-api.ts
Hayden 7e4da3e5a4
feat: improved registration signup flow (#1188)
refactored signup flow for entire registration process. Utilized seed data option for optional seeding of Foods, Units, and Labels. Localized registration page.
2022-05-06 11:18:06 -08:00

12 lines
295 B
TypeScript

import { ValidatorsApi } from "./public/validators";
import { ApiRequestInstance } from "~/types/api";
export class PublicApi {
public validators: ValidatorsApi;
constructor(requests: ApiRequestInstance) {
this.validators = new ValidatorsApi(requests);
Object.freeze(this);
}
}