@sqrzro/server 2.0.0-bz.6 → 2.0.0-bz.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,9 @@
1
1
  import Joi from 'joi';
2
2
  import type { Errorable } from '@sqrzro/interfaces';
3
3
  export declare function validate(): typeof Joi;
4
+ export type ValidationCustomHelpers<V = any> = Joi.CustomHelpers<V>;
5
+ export type ValidationExternalHelpers<V = any> = Joi.ExternalHelpers<V>;
6
+ export type ValidationErrorReport = Joi.ErrorReport;
4
7
  /**
5
8
  * This function takes FormData and a schema. It then attempts to transform the FormData into an
6
9
  * object that matches `T`. This is because the FormData object is not typed and we want to be able
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sqrzro/server",
3
- "version": "2.0.0-bz.6",
3
+ "version": "2.0.0-bz.7",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "license": "ISC",