Comparing version 1.0.0-pre-53 to 1.0.0-pre-54
@@ -1,2 +0,3 @@ | ||
import { ChildValidators, DryvValidationResult, DryvValidationSession, DryvOptions, DryvServerErrors, DryvServerValidationResponse, DryvValidator, DryvComplexValidator, DryvEditingField, DryvValidationField } from './'; | ||
import { ChildValidators, DryvValidationResult, DryvValidationSession, DryvOptions, DryvServerErrors, DryvServerValidationResponse, DryvComplexValidator, DryvEditingField, DryvValidationField } from './'; | ||
import { DryvValidator } from "./DryvValidator"; | ||
export declare class DryvFieldValidator<TModel extends object = any, TValue = any> extends DryvValidator<TModel, TValue, DryvComplexValidator, DryvEditingField<TModel>, DryvValidationField<TModel>> { | ||
@@ -3,0 +4,0 @@ readonly $isDryvFieldValidator = true; |
@@ -10,5 +10,5 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
}; | ||
import { DryvValidator } from './'; | ||
import { dryvEditingField } from './internal'; | ||
import { dryvValidationField } from './internal/dryvValidationField'; | ||
import { DryvValidator } from "./DryvValidator"; | ||
export class DryvFieldValidator extends DryvValidator { | ||
@@ -15,0 +15,0 @@ constructor(model, session, parent, options, field, value) { |
export function isDryvValidator(value) { | ||
return value.$isDryvValidator; | ||
return value === null || value === void 0 ? void 0 : value.$isDryvValidator; | ||
} | ||
export function isDryvFieldValidator(value) { | ||
return value.$isDryvFieldValidator; | ||
return value === null || value === void 0 ? void 0 : value.$isDryvFieldValidator; | ||
} | ||
export function isDryvComplexValidator(value) { | ||
return value.$isDryvComplexValidator; | ||
return value === null || value === void 0 ? void 0 : value.$isDryvComplexValidator; | ||
} | ||
export function isDryvObjectValidator(value) { | ||
return value.$isDryvObjectValidator; | ||
return value === null || value === void 0 ? void 0 : value.$isDryvObjectValidator; | ||
} | ||
export function isDryvValidationArray(value) { | ||
return value.$isDryvValidationArray; | ||
return value === null || value === void 0 ? void 0 : value.$isDryvValidationArray; | ||
} | ||
//# sourceMappingURL=type-checks.js.map |
{ | ||
"name": "dryvjs", | ||
"version": "1.0.0-pre-53", | ||
"version": "1.0.0-pre-54", | ||
"main": "dist/index.js", | ||
@@ -27,2 +27,2 @@ "types": "dist/index.d.ts", | ||
} | ||
} | ||
} |
# DryvJS | ||
A model-based validation framework. More to come... |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
459117
338
6760
4