UNPKG

class-validator

Version:

Decorator-based property validation for classes.

13 lines (12 loc) 520 B
import { ValidationOptions } from '../ValidationOptions'; export declare const IS_FIREBASE_PUSH_ID = "IsFirebasePushId"; /** * Checks if the string is a Firebase Push Id * If given value is not a Firebase Push Id, it returns false */ export declare function isFirebasePushId(value: unknown): boolean; /** * Checks if the string is a Firebase Push Id * If given value is not a Firebase Push Id, it returns false */ export declare function IsFirebasePushId(validationOptions?: ValidationOptions): PropertyDecorator;