Skip to content

Commit 4ce4504

Browse files
authored
Merge pull request #309 from devforth/AdminForth/126
chore: add comments to the min and max values in AdminForthResourceCo…
2 parents 90469ea + 34ebbd8 commit 4ce4504

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

adminforth/types/Common.ts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -813,9 +813,6 @@ export interface AdminForthResourceColumnInputCommon {
813813
*/
814814
minLength?: number,
815815

816-
min?: number,
817-
max?: number,
818-
819816
/**
820817
* Minimum value that can be entered in this field.
821818
*/
@@ -881,6 +878,15 @@ export interface AdminForthResourceColumnCommon extends AdminForthResourceColumn
881878

882879
editingNote?: { create?: string, edit?: string },
883880

881+
/**
882+
* Minimal value stored in this field.
883+
*/
884+
min?: number,
885+
886+
/**
887+
* Maximum value stored in this field.
888+
*/
889+
max?: number,
884890
}
885891

886892
export enum AdminForthMenuTypes {

0 commit comments

Comments
 (0)