How to use the page function from joi
Find comprehensive JavaScript joi.page code examples handpicked from public code repositorys.
24 25 26 27 28 29 30 31 32 33 34
return { total, page, perPage, result } } searchPhases.schema = { criteria: Joi.object().keys({ page: Joi.page(), perPage: Joi.perPage().default(100), name: Joi.string() }) }
44
17
25
joi.string is the most popular function in joi (40578 examples)