@athenna/validator
Version:
The Athenna validation solution. Built on top of VineJS.
19 lines (18 loc) • 456 B
TypeScript
/**
* @athenna/validator
*
* (c) João Lenon <lenon@athenna.io>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
export declare class CustomValidations {
/**
* Register custom `string().unique()` validation.
*/
static registerUnique(): void;
/**
* Register custom `string().unique()` validation.
*/
static registerExists(): void;
}