@bondsports/types 2.2.120 → 2.2.121
Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,16 @@ export interface ValidatedMonthAndDay {
|
|
3
3
|
month?: number;
|
4
4
|
day?: number;
|
5
5
|
}
|
6
|
-
export interface ValidationReason {
|
6
|
+
export interface ValidationReason<T> {
|
7
7
|
valid: boolean;
|
8
8
|
reason?: string;
|
9
|
+
value?: T;
|
10
|
+
}
|
11
|
+
export interface ITimeRange {
|
12
|
+
start: string;
|
13
|
+
end: string;
|
14
|
+
}
|
15
|
+
export interface ITimeRangeMinutes {
|
16
|
+
start: number;
|
17
|
+
end: number;
|
9
18
|
}
|