adminjs
Version:
Admin panel for apps written in node.js
9 lines (8 loc) • 599 B
TypeScript
import { ParamsTypeValue } from '../../backend/adapters/record/params.type.js';
import { BaseProperty } from '../../backend/adapters/property/index.js';
import PropertyDecorator from '../../backend/decorators/property/property-decorator.js';
declare const isNumeric: (value: ParamsTypeValue) => boolean;
declare const isUuid: (value: ParamsTypeValue) => boolean;
declare const isSafeInteger: (value: ParamsTypeValue) => boolean;
declare const validateParam: (value: ParamsTypeValue, property: BaseProperty | PropertyDecorator) => boolean;
export { validateParam, isNumeric, isUuid, isSafeInteger };