@punks/backend-entity-manager 0.0.412 → 0.0.414
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,6 +1,6 @@
|
|
|
1
1
|
import { EntryValidationResult } from "../abstractions/serializer";
|
|
2
2
|
export declare const fieldRequiredValidator: <TSheetItem>(item: TSheetItem, selector: (item: TSheetItem) => any) => EntryValidationResult;
|
|
3
|
-
export declare const fieldTextValidator: <TSheetItem>(item: TSheetItem, selector: (item: TSheetItem) =>
|
|
3
|
+
export declare const fieldTextValidator: <TSheetItem>(item: TSheetItem, selector: (item: TSheetItem) => string | string[], params: {
|
|
4
4
|
required?: boolean;
|
|
5
5
|
minLength?: number;
|
|
6
6
|
maxLength?: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -4127,7 +4127,7 @@ declare const renderHandlebarsTemplate: <TContext extends object>(input: {
|
|
|
4127
4127
|
declare const newUuid: () => string;
|
|
4128
4128
|
|
|
4129
4129
|
declare const fieldRequiredValidator: <TSheetItem>(item: TSheetItem, selector: (item: TSheetItem) => any) => EntryValidationResult;
|
|
4130
|
-
declare const fieldTextValidator: <TSheetItem>(item: TSheetItem, selector: (item: TSheetItem) =>
|
|
4130
|
+
declare const fieldTextValidator: <TSheetItem>(item: TSheetItem, selector: (item: TSheetItem) => string | string[], params: {
|
|
4131
4131
|
required?: boolean;
|
|
4132
4132
|
minLength?: number;
|
|
4133
4133
|
maxLength?: number;
|