mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-02-27 12:27:22 -08:00
refactored signup flow for entire registration process. Utilized seed data option for optional seeding of Foods, Units, and Labels. Localized registration page.
13 lines
295 B
TypeScript
13 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);
|
|
}
|
|
}
|