@dmdata/telegram-json-types 1.1.3 → 1.1.7
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.
- package/dist/jschema/earthquake-information_1.0.0.json +1 -1
- package/dist/jschema/earthquake-information_1.1.0.json +1 -1
- package/dist/jschema/eew-information_1.0.0.json +1 -1
- package/package.json +1 -1
- package/tsconfig.json +1 -6
- package/types/component/{code-name.ts → code-name.d.ts} +0 -0
- package/types/component/index.d.ts +14 -0
- package/types/index.d.ts +2 -0
- package/types/schema/earthquake-counts/1.0.0.d.ts +1 -1
- package/types/schema/earthquake-explanation/1.0.0.d.ts +1 -1
- package/types/schema/earthquake-hypocenter-update/1.0.0.d.ts +2 -2
- package/types/schema/earthquake-information/1.0.0.d.ts +13 -14
- package/types/schema/earthquake-information/1.1.0.d.ts +18 -20
- package/types/schema/earthquake-nankai/1.0.0.d.ts +3 -3
- package/types/schema/eew-information/1.0.0.d.ts +71 -20
- package/types/schema/tsunami-information/1.0.0.d.ts +11 -12
- package/types/schema/volcano-information/1.0.0.d.ts +3 -3
- package/types/schema/weather-early/1.0.0.d.ts +6 -6
- package/types/schema/weather-impact-society/1.0.0.d.ts +7 -7
- package/types/schema/weather-information/1.0.0.d.ts +1 -1
- package/types/schema/weather-landslide/1.0.0.d.ts +5 -5
- package/types/schema/weather-river-flood/1.0.0.d.ts +11 -11
- package/types/schema/weather-tornado/1.0.0.d.ts +5 -5
- package/types/schema/weather-typhoon/1.0.0.d.ts +10 -11
- package/types/schema/weather-warning/1.0.0.d.ts +13 -13
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TelegramJSONMain } from '
|
|
2
|
-
import {
|
|
1
|
+
import { TelegramJSONMain } from '../../main';
|
|
2
|
+
import { Components } from '../../component';
|
|
3
3
|
|
|
4
4
|
export namespace WeatherWarning {
|
|
5
5
|
export interface Schema {
|
|
@@ -13,26 +13,26 @@ export namespace WeatherWarning {
|
|
|
13
13
|
precision: string;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
export interface KindNextKind extends CodeName {
|
|
16
|
+
export interface KindNextKind extends Components.CodeName {
|
|
17
17
|
condition?: '土砂災害' | '浸水害' | '土砂災害、浸水害';
|
|
18
18
|
dateTime: KindNextKindDateTime;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
export interface Kind extends CodeName {
|
|
22
|
+
export interface Kind extends Components.CodeName {
|
|
23
23
|
status: '発表' | '継続' | '特別警報から警報' | '特別警報から注意報' | '警報から注意報' | '解除';
|
|
24
24
|
condition?: '土砂災害' | '浸水害' | '土砂災害、浸水害';
|
|
25
25
|
attentions?: string[];
|
|
26
26
|
additions?: string[];
|
|
27
|
-
lastKind?: CodeName;
|
|
27
|
+
lastKind?: Components.CodeName;
|
|
28
28
|
nextKinds?: KindNextKind[];
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
export interface KindVPOA50 extends CodeName {
|
|
31
|
+
export interface KindVPOA50 extends Components.CodeName {
|
|
32
32
|
status: '発表' | 'なし';
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
export interface PrefectureBase extends CodeName {
|
|
35
|
+
export interface PrefectureBase extends Components.CodeName {
|
|
36
36
|
kinds: Kind[];
|
|
37
37
|
changeStatus: '警報・注意報種別に変化有' | '警報・注意報種別に変化無、量的予想事項等に変化有' | '変化無';
|
|
38
38
|
fullStatus: '全域' | '一部';
|
|
@@ -40,7 +40,7 @@ export namespace WeatherWarning {
|
|
|
40
40
|
condition: never;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
export interface PrefectureNone extends CodeName {
|
|
43
|
+
export interface PrefectureNone extends Components.CodeName {
|
|
44
44
|
kinds: {}[];
|
|
45
45
|
changeStatus: never;
|
|
46
46
|
fullStatus: never;
|
|
@@ -50,7 +50,7 @@ export namespace WeatherWarning {
|
|
|
50
50
|
|
|
51
51
|
export type Prefecture = PrefectureBase | PrefectureNone;
|
|
52
52
|
|
|
53
|
-
export interface PrefectureVPOA50 extends CodeName {
|
|
53
|
+
export interface PrefectureVPOA50 extends Components.CodeName {
|
|
54
54
|
kinds: [KindVPOA50];
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -65,7 +65,7 @@ export namespace WeatherWarning {
|
|
|
65
65
|
name: string;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
export interface TimeSeriesItemKindRiskDegreeLocalSignificance extends CodeName {
|
|
68
|
+
export interface TimeSeriesItemKindRiskDegreeLocalSignificance extends Components.CodeName {
|
|
69
69
|
refId: string;
|
|
70
70
|
}
|
|
71
71
|
|
|
@@ -74,7 +74,7 @@ export namespace WeatherWarning {
|
|
|
74
74
|
term: string;
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
-
export interface TimeSeriesItemKindRiskDegreeLocalFuture extends CodeName {
|
|
77
|
+
export interface TimeSeriesItemKindRiskDegreeLocalFuture extends Components.CodeName {
|
|
78
78
|
sentence: string;
|
|
79
79
|
}
|
|
80
80
|
|
|
@@ -152,12 +152,12 @@ export namespace WeatherWarning {
|
|
|
152
152
|
TimeSeriesItemKindQuantitativeTimeline
|
|
153
153
|
| TimeSeriesItemKindQuantitativeWhole;
|
|
154
154
|
|
|
155
|
-
export interface TimeSeriesItemKind extends CodeName {
|
|
155
|
+
export interface TimeSeriesItemKind extends Components.CodeName {
|
|
156
156
|
riskDegrees: TimeSeriesItemKindRiskDegree[];
|
|
157
157
|
quantitative?: TimeSeriesItemKindQuantitative[];
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
-
export interface TimeSeriesItem extends CodeName {
|
|
160
|
+
export interface TimeSeriesItem extends Components.CodeName {
|
|
161
161
|
kinds: TimeSeriesItemKind[];
|
|
162
162
|
}
|
|
163
163
|
|