File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ export const UnitsSchema = z.object({
24
24
} ) ;
25
25
26
26
/**
27
- * This schema only contains currently used fields. If you wish to use other fields returned by the API add them below .
27
+ * This schema only contains currently used fields. If you wish to use other fields returned by the API add them in this file .
28
28
*/
29
29
export const MetarSchema = z . object ( {
30
30
station : z . string ( ) ,
@@ -41,6 +41,6 @@ export const MetarSchema = z.object({
41
41
} ) ;
42
42
43
43
/**
44
- * This type only contains currently used fields. If you wish to use other fields returned by the API add them below .
44
+ * This type only contains currently used fields. If you wish to use other fields returned by the API add them in this file .
45
45
*/
46
46
export type Metar = z . infer < typeof MetarSchema > ;
Original file line number Diff line number Diff line change @@ -2,10 +2,15 @@ import { z } from 'zod';
2
2
3
3
export const ForecastSchema = z . object ( { raw : z . string ( ) } ) ;
4
4
5
+ /**
6
+ * This schema only contains currently used fields. If you wish to use other fields returned by the API add them in this file.
7
+ */
5
8
export const TafSchema = z . object ( {
6
9
raw : z . string ( ) ,
7
10
station : z . string ( ) ,
8
11
forecast : z . array ( ForecastSchema ) ,
9
12
} ) ;
10
-
13
+ /**
14
+ * This type only contains currently used fields. If you wish to use other fields returned by the API add them in this file.
15
+ */
11
16
export type TAF = z . infer < typeof TafSchema > ;
You can’t perform that action at this time.
0 commit comments