@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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.2.120",
3
+ "version": "2.2.121",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {