@punks/backend-entity-manager 0.0.495 → 0.0.496
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,7 +1,8 @@
|
|
|
1
1
|
import { EntryValidationResult } from "../abstractions/serializer";
|
|
2
2
|
export declare const fieldRequiredValidator: <TSheetItem>(item: TSheetItem, selector: (item: TSheetItem) => any) => EntryValidationResult;
|
|
3
3
|
export declare const fieldNumericValidator: <TSheetItem>(item: TSheetItem, selector: (item: TSheetItem) => number, params: {
|
|
4
|
-
|
|
4
|
+
min?: number;
|
|
5
|
+
max?: number;
|
|
5
6
|
}) => EntryValidationResult;
|
|
6
7
|
export declare const fieldTextValidator: <TSheetItem>(item: TSheetItem, selector: (item: TSheetItem) => string | string[], params: {
|
|
7
8
|
required?: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -4210,7 +4210,8 @@ declare const newUuid: () => string;
|
|
|
4210
4210
|
|
|
4211
4211
|
declare const fieldRequiredValidator: <TSheetItem>(item: TSheetItem, selector: (item: TSheetItem) => any) => EntryValidationResult;
|
|
4212
4212
|
declare const fieldNumericValidator: <TSheetItem>(item: TSheetItem, selector: (item: TSheetItem) => number, params: {
|
|
4213
|
-
|
|
4213
|
+
min?: number;
|
|
4214
|
+
max?: number;
|
|
4214
4215
|
}) => EntryValidationResult;
|
|
4215
4216
|
declare const fieldTextValidator: <TSheetItem>(item: TSheetItem, selector: (item: TSheetItem) => string | string[], params: {
|
|
4216
4217
|
required?: boolean;
|