UNPKG

@teikei/schemas

Version:

Teikei validation schemas. Teikei is the software that powers ernte-teilen.org, a website that maps out Community-supported Agriculture in Germany.

33 lines (26 loc) 882 B
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.initialValues = exports.schemas = undefined; var _depot = require('./joi/depot'); var _farm = require('./joi/farm'); var _initiative = require('./joi/initiative'); var _user = require('./joi/user'); const schemas = exports.schemas = { depot: _depot.depotSchema, farm: _farm.farmSchema, initiative: _initiative.initiativeSchema, user: _user.userSchema, signUp: _user.userSignUpSchema, recoverPassword: _user.recoverPasswordSchema, resetPassword: _user.resetPasswordSchema, changeUserAccount: _user.changeUserAccountSchema, changePassword: _user.changePasswordSchema }; const initialValues = exports.initialValues = { depot: _depot.depotInitialValues, farm: _farm.farmInitialValues, initiative: _initiative.initiativeInitialValues, user: _user.userInitialValues };