@atmosx/event-product-parser 3.0.51 → 3.0.53
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/{CODE_OF_CONDUCT.md → .github/CODE_OF_CONDUCT.md} +9 -9
- package/{CONTRIBUTING.md → .github/CONTRIBUTING.md} +29 -29
- package/{LICENSE → .github/LICENSE} +17 -17
- package/{README.md → .github/README.md} +466 -444
- package/{SECURITY.md → .github/SECURITY.md} +20 -20
- package/{SUPPORTED_EVENTS.md → .github/SUPPORTED_EVENTS.md} +369 -368
- package/.vscode/settings.json +3 -3
- package/dist/cjs/index.cjs +243 -213
- package/dist/esm/index.mjs +242 -212
- package/package.json +52 -52
- package/src/@building/building.attachments.ts +82 -82
- package/src/@building/building.clean.ts +29 -29
- package/src/@building/building.create.ts +55 -55
- package/src/@building/building.enhance.ts +59 -59
- package/src/@building/building.geometry.ts +47 -47
- package/src/@building/building.headers.ts +36 -36
- package/src/@building/building.office.ts +42 -42
- package/src/@building/building.polygon.ts +69 -69
- package/src/@building/building.properties.ts +95 -95
- package/src/@building/building.signature.ts +60 -60
- package/src/@building/building.tags.ts +23 -23
- package/src/@building/building.tracking.ts +67 -67
- package/src/@building/building.validate.ts +152 -151
- package/src/@core/core.clearEvents.ts +30 -30
- package/src/@core/core.createListener.ts +23 -23
- package/src/@core/core.getEvents.ts +23 -23
- package/src/@core/core.getNodes.ts +23 -23
- package/src/@core/core.getRandomEvent.ts +23 -23
- package/src/@core/core.getVersion.ts +23 -23
- package/src/@core/core.manualEvent.ts +38 -0
- package/src/@core/core.query.ts +38 -38
- package/src/@core/core.setNode.ts +80 -80
- package/src/@core/core.start.ts +60 -60
- package/src/@core/core.stop.ts +31 -31
- package/src/@dictionaries/dictionaries.actions.ts +27 -27
- package/src/@dictionaries/dictionaries.awips.ts +363 -363
- package/src/@dictionaries/dictionaries.cancellation.ts +30 -30
- package/src/@dictionaries/dictionaries.causes.ts +35 -35
- package/src/@dictionaries/dictionaries.correlations.ts +42 -42
- package/src/@dictionaries/dictionaries.enhanced.ts +66 -109
- package/src/@dictionaries/dictionaries.events.ts +82 -82
- package/src/@dictionaries/dictionaries.expressions.ts +28 -28
- package/src/@dictionaries/dictionaries.global.ts +24 -0
- package/src/@dictionaries/dictionaries.hail.ts +35 -35
- package/src/@dictionaries/dictionaries.icao.ts +258 -258
- package/src/@dictionaries/dictionaries.matches.ts +54 -35
- package/src/@dictionaries/dictionaries.products.ts +24 -24
- package/src/@dictionaries/dictionaries.records.ts +25 -25
- package/src/@dictionaries/dictionaries.severity.ts +27 -27
- package/src/@dictionaries/dictionaries.shapefiles.ts +35 -35
- package/src/@dictionaries/dictionaries.states.ts +71 -71
- package/src/@dictionaries/dictionaries.status.ts +30 -30
- package/src/@dictionaries/dictionaries.tags.ts +92 -92
- package/src/@dictionaries/dictionaries.testing.ts +24 -24
- package/src/@events/events.api.ts +116 -116
- package/src/@events/events.text.ts +84 -80
- package/src/@events/events.ugc.ts +89 -85
- package/src/@events/events.vtec.ts +86 -86
- package/src/@manager/manager.mkEvent.ts +97 -93
- package/src/@manager/manager.rmEvent.ts +56 -51
- package/src/@manager/manager.setHash.ts +35 -35
- package/src/@manager/manager.updateEvents.ts +32 -32
- package/src/@manager/manager.updateListener.ts +179 -154
- package/src/@manager/manager.updateNodes.ts +53 -53
- package/src/@modules/@database/database.broadcastify.ts +66 -66
- package/src/@modules/@database/database.cache.ts +49 -49
- package/src/@modules/@database/database.init.ts +58 -58
- package/src/@modules/@database/database.shapefiles.ts +92 -92
- package/src/@modules/@database/database.stanza.ts +46 -46
- package/src/@modules/@eas/eas.getCleanDescription.ts +91 -91
- package/src/@modules/@eas/eas.getFloatPCM16.ts +29 -29
- package/src/@modules/@eas/eas.getMergedPCM16.ts +32 -32
- package/src/@modules/@eas/eas.getPCM16.ts +52 -52
- package/src/@modules/@eas/eas.getPCMToFloat.ts +26 -26
- package/src/@modules/@eas/eas.getSampledPCM16.ts +36 -36
- package/src/@modules/@eas/eas.getTTS.ts +54 -54
- package/src/@modules/@eas/eas.getWavPCM16.ts +52 -52
- package/src/@modules/@eas/eas.setAFSK.ts +51 -51
- package/src/@modules/@eas/eas.setAsciiToBits.ts +31 -31
- package/src/@modules/@eas/eas.setAttentionTone.ts +40 -40
- package/src/@modules/@eas/eas.setEasTone.ts +151 -151
- package/src/@modules/@eas/eas.setNoise.ts +32 -32
- package/src/@modules/@eas/eas.setRadioEffect.ts +50 -50
- package/src/@modules/@eas/eas.setSameHeader.ts +44 -44
- package/src/@modules/@stanza/stanza.getAwipsType.ts +45 -45
- package/src/@modules/@stanza/stanza.validate.ts +49 -49
- package/src/@modules/@utilities/utilities.createHttp.ts +83 -70
- package/src/@modules/@utilities/utilities.getFormattedTime.ts +43 -43
- package/src/@modules/@utilities/utilities.getLatestIssuance.ts +32 -32
- package/src/@modules/@utilities/utilities.getMatched.ts +33 -33
- package/src/@modules/@utilities/utilities.getSettings.ts +25 -25
- package/src/@modules/@utilities/utilities.getShapeNearestPoint.ts +114 -114
- package/src/@modules/@utilities/utilities.setCronSchedule.ts +94 -94
- package/src/@modules/@utilities/utilities.setDebug.ts +38 -38
- package/src/@modules/@utilities/utilities.setEventEmit.ts +41 -41
- package/src/@modules/@utilities/utilities.setListener.ts +30 -30
- package/src/@modules/@utilities/utilities.setSettings.ts +42 -42
- package/src/@modules/@utilities/utilities.setSleep.ts +33 -33
- package/src/@modules/@utilities/utilities.setTimeoutAction.ts +62 -62
- package/src/@modules/@utilities/utilities.setWarning.ts +34 -34
- package/src/@modules/@xmpp/xmpp.xDeploy.ts +57 -57
- package/src/@modules/@xmpp/xmpp.xError.ts +26 -26
- package/src/@modules/@xmpp/xmpp.xOffline.ts +36 -36
- package/src/@modules/@xmpp/xmpp.xOnline.ts +45 -44
- package/src/@modules/@xmpp/xmpp.xReconnect.ts +64 -64
- package/src/@modules/@xmpp/xmpp.xStanza.ts +62 -62
- package/src/@parsers/@hvtec/hvtec.extract.ts +39 -39
- package/src/@parsers/@pvtec/pvtec.expires.ts +25 -25
- package/src/@parsers/@pvtec/pvtec.extract.ts +48 -48
- package/src/@parsers/@text/text.getDescriptionFromProduct.ts +52 -52
- package/src/@parsers/@text/text.getEmbed.ts +55 -55
- package/src/@parsers/@text/text.getPolygonFromProduct.ts +53 -32
- package/src/@parsers/@text/text.getRaw.ts +54 -0
- package/src/@parsers/@text/text.getTextFromProduct.ts +42 -42
- package/src/@parsers/@text/text.getXML.ts +60 -60
- package/src/@parsers/@ugc/ugc.coordinates.ts +110 -110
- package/src/@parsers/@ugc/ugc.expiry.ts +31 -31
- package/src/@parsers/@ugc/ugc.extract.ts +36 -36
- package/src/@parsers/@ugc/ugc.getCache.ts +23 -23
- package/src/@parsers/@ugc/ugc.header.ts +29 -29
- package/src/@parsers/@ugc/ugc.locations.ts +56 -56
- package/src/@parsers/@ugc/ugc.setCache.ts +27 -27
- package/src/@parsers/@ugc/ugc.zones.ts +51 -51
- package/src/@types/type.attributes.ts +28 -28
- package/src/@types/type.compiled.ts +34 -34
- package/src/@types/type.event.ts +69 -69
- package/src/@types/type.hash.ts +24 -24
- package/src/@types/type.hvtec.ts +25 -25
- package/src/@types/type.listener.ts +37 -32
- package/src/@types/type.properties.ts +77 -77
- package/src/@types/type.pvtec.ts +30 -30
- package/src/@types/type.settings.ts +93 -84
- package/src/@types/type.stanza.ts +37 -37
- package/src/@types/type.ugc.ts +24 -24
- package/src/bootstrap.ts +124 -115
- package/src/index.ts +74 -74
- package/{test.js → testing/init.js} +105 -92
- package/tsconfig.json +13 -13
- package/tsup.config.ts +15 -15
- package/src/@core/core.createEvent.ts +0 -82
|
@@ -1,78 +1,78 @@
|
|
|
1
|
-
/*
|
|
2
|
-
_ _ _ __ __
|
|
3
|
-
/\ | | | | (_) \ \ / /
|
|
4
|
-
/ \ | |_ _ __ ___ ___ ___ _ __ | |__ ___ _ __ _ ___ \ V /
|
|
5
|
-
/ /\ \| __| '_ ` _ \ / _ \/ __| '_ \| '_ \ / _ \ '__| |/ __| > <
|
|
6
|
-
/ ____ \ |_| | | | | | (_) \__ \ |_) | | | | __/ | | | (__ / . \
|
|
7
|
-
/_/ \_\__|_| |_| |_|\___/|___/ .__/|_| |_|\___|_| |_|\___/_/ \_\
|
|
8
|
-
| |
|
|
9
|
-
|_|
|
|
10
|
-
|
|
11
|
-
Created with ♥ by the AtmosphericX Team (KiyoWx, StarflightWx, & CJ Ziegler)
|
|
12
|
-
Discord: https://atmosphericx-discord.scriptkitty.cafe
|
|
13
|
-
Ko-Fi: https://ko-fi.com/k3yomi
|
|
14
|
-
Documentation: http://localhost/documentation | https://atmosphericx.scriptkitty.cafe/documentation
|
|
15
|
-
|
|
16
|
-
Internal Package: @atmosx/event-product-parser
|
|
17
|
-
|
|
18
|
-
*/
|
|
19
|
-
|
|
20
|
-
import { TypeAttributes } from "./type.attributes";
|
|
21
|
-
|
|
22
|
-
export type TypeEventProperties = {
|
|
23
|
-
locations: string
|
|
24
|
-
locations_array: string[]
|
|
25
|
-
description: string
|
|
26
|
-
attributes?: TypeAttributes
|
|
27
|
-
geocode: {
|
|
28
|
-
office: {
|
|
29
|
-
name: string
|
|
30
|
-
office: string
|
|
31
|
-
}
|
|
32
|
-
organization: string
|
|
33
|
-
ugc: string[]
|
|
34
|
-
polygon: string
|
|
35
|
-
polygon_generated: boolean
|
|
36
|
-
}
|
|
37
|
-
parameters?: {
|
|
38
|
-
tags: string[]
|
|
39
|
-
instructions: string
|
|
40
|
-
source: string
|
|
41
|
-
hazards: string
|
|
42
|
-
impacts: string
|
|
43
|
-
estimated_hail_size: string
|
|
44
|
-
estimated_wind_gusts: string
|
|
45
|
-
damage_threat: string
|
|
46
|
-
tornado_threat: string
|
|
47
|
-
flood_threat: string
|
|
48
|
-
wind_threat: string
|
|
49
|
-
hail_threat: string
|
|
50
|
-
max_hail_inches?: string
|
|
51
|
-
max_wind_gusts_surface_knots?: string
|
|
52
|
-
max_tops_x100feet?: string
|
|
53
|
-
mean_storm_motion_vector?: string
|
|
54
|
-
particularly_dangerous_situation?: string
|
|
55
|
-
}
|
|
56
|
-
watch_parameters?: {
|
|
57
|
-
watch_number: string
|
|
58
|
-
watch_type: string
|
|
59
|
-
additional_tornadoes_probability: string
|
|
60
|
-
strong_tornadoes_probability: string
|
|
61
|
-
severe_wind_probability: string
|
|
62
|
-
severe_hail_probability: string
|
|
63
|
-
hail_2in_probability: string
|
|
64
|
-
combined_hail_wind_probability: string
|
|
65
|
-
max_hail_in: string
|
|
66
|
-
max_wind_surface: string
|
|
67
|
-
max_tops_x100feet: string
|
|
68
|
-
pds_watch: boolean
|
|
69
|
-
}
|
|
70
|
-
discussion_parameters?: {
|
|
71
|
-
discussion_number: string
|
|
72
|
-
discussion_concerning: string
|
|
73
|
-
discussion_max_tornado: string
|
|
74
|
-
discussion_max_hail: string
|
|
75
|
-
discussion_max_wind: string
|
|
76
|
-
discussion_watch_issuance: string
|
|
77
|
-
}
|
|
1
|
+
/*
|
|
2
|
+
_ _ _ __ __
|
|
3
|
+
/\ | | | | (_) \ \ / /
|
|
4
|
+
/ \ | |_ _ __ ___ ___ ___ _ __ | |__ ___ _ __ _ ___ \ V /
|
|
5
|
+
/ /\ \| __| '_ ` _ \ / _ \/ __| '_ \| '_ \ / _ \ '__| |/ __| > <
|
|
6
|
+
/ ____ \ |_| | | | | | (_) \__ \ |_) | | | | __/ | | | (__ / . \
|
|
7
|
+
/_/ \_\__|_| |_| |_|\___/|___/ .__/|_| |_|\___|_| |_|\___/_/ \_\
|
|
8
|
+
| |
|
|
9
|
+
|_|
|
|
10
|
+
|
|
11
|
+
Created with ♥ by the AtmosphericX Team (KiyoWx, StarflightWx, & CJ Ziegler)
|
|
12
|
+
Discord: https://atmosphericx-discord.scriptkitty.cafe
|
|
13
|
+
Ko-Fi: https://ko-fi.com/k3yomi
|
|
14
|
+
Documentation: http://localhost/documentation | https://atmosphericx.scriptkitty.cafe/documentation
|
|
15
|
+
|
|
16
|
+
Internal Package: @atmosx/event-product-parser
|
|
17
|
+
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
import { TypeAttributes } from "./type.attributes";
|
|
21
|
+
|
|
22
|
+
export type TypeEventProperties = {
|
|
23
|
+
locations: string
|
|
24
|
+
locations_array: string[]
|
|
25
|
+
description: string
|
|
26
|
+
attributes?: TypeAttributes
|
|
27
|
+
geocode: {
|
|
28
|
+
office: {
|
|
29
|
+
name: string
|
|
30
|
+
office: string
|
|
31
|
+
}
|
|
32
|
+
organization: string
|
|
33
|
+
ugc: string[]
|
|
34
|
+
polygon: string
|
|
35
|
+
polygon_generated: boolean
|
|
36
|
+
}
|
|
37
|
+
parameters?: {
|
|
38
|
+
tags: string[]
|
|
39
|
+
instructions: string
|
|
40
|
+
source: string
|
|
41
|
+
hazards: string
|
|
42
|
+
impacts: string
|
|
43
|
+
estimated_hail_size: string
|
|
44
|
+
estimated_wind_gusts: string
|
|
45
|
+
damage_threat: string
|
|
46
|
+
tornado_threat: string
|
|
47
|
+
flood_threat: string
|
|
48
|
+
wind_threat: string
|
|
49
|
+
hail_threat: string
|
|
50
|
+
max_hail_inches?: string
|
|
51
|
+
max_wind_gusts_surface_knots?: string
|
|
52
|
+
max_tops_x100feet?: string
|
|
53
|
+
mean_storm_motion_vector?: string
|
|
54
|
+
particularly_dangerous_situation?: string
|
|
55
|
+
}
|
|
56
|
+
watch_parameters?: {
|
|
57
|
+
watch_number: string
|
|
58
|
+
watch_type: string
|
|
59
|
+
additional_tornadoes_probability: string
|
|
60
|
+
strong_tornadoes_probability: string
|
|
61
|
+
severe_wind_probability: string
|
|
62
|
+
severe_hail_probability: string
|
|
63
|
+
hail_2in_probability: string
|
|
64
|
+
combined_hail_wind_probability: string
|
|
65
|
+
max_hail_in: string
|
|
66
|
+
max_wind_surface: string
|
|
67
|
+
max_tops_x100feet: string
|
|
68
|
+
pds_watch: boolean
|
|
69
|
+
}
|
|
70
|
+
discussion_parameters?: {
|
|
71
|
+
discussion_number: string
|
|
72
|
+
discussion_concerning: string
|
|
73
|
+
discussion_max_tornado: string
|
|
74
|
+
discussion_max_hail: string
|
|
75
|
+
discussion_max_wind: string
|
|
76
|
+
discussion_watch_issuance: string
|
|
77
|
+
}
|
|
78
78
|
}
|
package/src/@types/type.pvtec.ts
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
/*
|
|
2
|
-
_ _ _ __ __
|
|
3
|
-
/\ | | | | (_) \ \ / /
|
|
4
|
-
/ \ | |_ _ __ ___ ___ ___ _ __ | |__ ___ _ __ _ ___ \ V /
|
|
5
|
-
/ /\ \| __| '_ ` _ \ / _ \/ __| '_ \| '_ \ / _ \ '__| |/ __| > <
|
|
6
|
-
/ ____ \ |_| | | | | | (_) \__ \ |_) | | | | __/ | | | (__ / . \
|
|
7
|
-
/_/ \_\__|_| |_| |_|\___/|___/ .__/|_| |_|\___|_| |_|\___/_/ \_\
|
|
8
|
-
| |
|
|
9
|
-
|_|
|
|
10
|
-
|
|
11
|
-
Created with ♥ by the AtmosphericX Team (KiyoWx, StarflightWx, & CJ Ziegler)
|
|
12
|
-
Discord: https://atmosphericx-discord.scriptkitty.cafe
|
|
13
|
-
Ko-Fi: https://ko-fi.com/k3yomi
|
|
14
|
-
Documentation: http://localhost/documentation | https://atmosphericx.scriptkitty.cafe/documentation
|
|
15
|
-
|
|
16
|
-
Internal Package: @atmosx/event-product-parser
|
|
17
|
-
|
|
18
|
-
*/
|
|
19
|
-
|
|
20
|
-
export type TypePVTEC = {
|
|
21
|
-
vtec: string
|
|
22
|
-
product: string
|
|
23
|
-
tracking: string
|
|
24
|
-
event: string
|
|
25
|
-
status: string
|
|
26
|
-
organization: string
|
|
27
|
-
expires: string
|
|
28
|
-
is_watch: boolean
|
|
29
|
-
prediction_center: boolean
|
|
30
|
-
}
|
|
1
|
+
/*
|
|
2
|
+
_ _ _ __ __
|
|
3
|
+
/\ | | | | (_) \ \ / /
|
|
4
|
+
/ \ | |_ _ __ ___ ___ ___ _ __ | |__ ___ _ __ _ ___ \ V /
|
|
5
|
+
/ /\ \| __| '_ ` _ \ / _ \/ __| '_ \| '_ \ / _ \ '__| |/ __| > <
|
|
6
|
+
/ ____ \ |_| | | | | | (_) \__ \ |_) | | | | __/ | | | (__ / . \
|
|
7
|
+
/_/ \_\__|_| |_| |_|\___/|___/ .__/|_| |_|\___|_| |_|\___/_/ \_\
|
|
8
|
+
| |
|
|
9
|
+
|_|
|
|
10
|
+
|
|
11
|
+
Created with ♥ by the AtmosphericX Team (KiyoWx, StarflightWx, & CJ Ziegler)
|
|
12
|
+
Discord: https://atmosphericx-discord.scriptkitty.cafe
|
|
13
|
+
Ko-Fi: https://ko-fi.com/k3yomi
|
|
14
|
+
Documentation: http://localhost/documentation | https://atmosphericx.scriptkitty.cafe/documentation
|
|
15
|
+
|
|
16
|
+
Internal Package: @atmosx/event-product-parser
|
|
17
|
+
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
export type TypePVTEC = {
|
|
21
|
+
vtec: string
|
|
22
|
+
product: string
|
|
23
|
+
tracking: string
|
|
24
|
+
event: string
|
|
25
|
+
status: string
|
|
26
|
+
organization: string
|
|
27
|
+
expires: string
|
|
28
|
+
is_watch: boolean
|
|
29
|
+
prediction_center: boolean
|
|
30
|
+
}
|
|
@@ -1,85 +1,94 @@
|
|
|
1
|
-
/*
|
|
2
|
-
_ _ _ __ __
|
|
3
|
-
/\ | | | | (_) \ \ / /
|
|
4
|
-
/ \ | |_ _ __ ___ ___ ___ _ __ | |__ ___ _ __ _ ___ \ V /
|
|
5
|
-
/ /\ \| __| '_ ` _ \ / _ \/ __| '_ \| '_ \ / _ \ '__| |/ __| > <
|
|
6
|
-
/ ____ \ |_| | | | | | (_) \__ \ |_) | | | | __/ | | | (__ / . \
|
|
7
|
-
/_/ \_\__|_| |_| |_|\___/|___/ .__/|_| |_|\___|_| |_|\___/_/ \_\
|
|
8
|
-
| |
|
|
9
|
-
|_|
|
|
10
|
-
|
|
11
|
-
Created with ♥ by the AtmosphericX Team (KiyoWx, StarflightWx, & CJ Ziegler)
|
|
12
|
-
Discord: https://atmosphericx-discord.scriptkitty.cafe
|
|
13
|
-
Ko-Fi: https://ko-fi.com/k3yomi
|
|
14
|
-
Documentation: http://localhost/documentation | https://atmosphericx.scriptkitty.cafe/documentation
|
|
15
|
-
|
|
16
|
-
Internal Package: @atmosx/event-product-parser
|
|
17
|
-
|
|
18
|
-
*/
|
|
19
|
-
|
|
20
|
-
import { TypeListener } from "./type.listener"
|
|
21
|
-
|
|
22
|
-
export type TypeSettings = {
|
|
23
|
-
Database: string
|
|
24
|
-
EnableWireService: boolean
|
|
25
|
-
EnableJournal: boolean
|
|
26
|
-
EnableDebugging: boolean
|
|
27
|
-
NOAAWeatherWireServiceSettings: {
|
|
28
|
-
ReconnectionSettings: {
|
|
29
|
-
Enabled: boolean
|
|
30
|
-
ReconnectionInterval: number
|
|
31
|
-
}
|
|
32
|
-
CredentialSettings: {
|
|
33
|
-
Username: string | void
|
|
34
|
-
Password: string | void
|
|
35
|
-
Nickname: string | void
|
|
36
|
-
}
|
|
37
|
-
CacheSettings: {
|
|
38
|
-
Enabled: boolean
|
|
39
|
-
MaxDatabaseHistory: number
|
|
40
|
-
MaxRetentionHistory: number
|
|
41
|
-
}
|
|
42
|
-
StanzaSettings: {
|
|
43
|
-
DisableUGC: boolean
|
|
44
|
-
DisableVTEC: boolean
|
|
45
|
-
DisableText: boolean
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
NationalWeatherServiceSettings: {
|
|
49
|
-
CallbackInterval: number
|
|
50
|
-
EventsEndpoint: string
|
|
51
|
-
}
|
|
52
|
-
BroadcastifySettings: {
|
|
53
|
-
BroadcastifyAttachments: boolean
|
|
54
|
-
BroadcastifyDatabase: string
|
|
55
|
-
BroadcastifyTags: string[]
|
|
56
|
-
},
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
1
|
+
/*
|
|
2
|
+
_ _ _ __ __
|
|
3
|
+
/\ | | | | (_) \ \ / /
|
|
4
|
+
/ \ | |_ _ __ ___ ___ ___ _ __ | |__ ___ _ __ _ ___ \ V /
|
|
5
|
+
/ /\ \| __| '_ ` _ \ / _ \/ __| '_ \| '_ \ / _ \ '__| |/ __| > <
|
|
6
|
+
/ ____ \ |_| | | | | | (_) \__ \ |_) | | | | __/ | | | (__ / . \
|
|
7
|
+
/_/ \_\__|_| |_| |_|\___/|___/ .__/|_| |_|\___|_| |_|\___/_/ \_\
|
|
8
|
+
| |
|
|
9
|
+
|_|
|
|
10
|
+
|
|
11
|
+
Created with ♥ by the AtmosphericX Team (KiyoWx, StarflightWx, & CJ Ziegler)
|
|
12
|
+
Discord: https://atmosphericx-discord.scriptkitty.cafe
|
|
13
|
+
Ko-Fi: https://ko-fi.com/k3yomi
|
|
14
|
+
Documentation: http://localhost/documentation | https://atmosphericx.scriptkitty.cafe/documentation
|
|
15
|
+
|
|
16
|
+
Internal Package: @atmosx/event-product-parser
|
|
17
|
+
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
import { TypeListener } from "./type.listener"
|
|
21
|
+
|
|
22
|
+
export type TypeSettings = {
|
|
23
|
+
Database: string
|
|
24
|
+
EnableWireService: boolean
|
|
25
|
+
EnableJournal: boolean
|
|
26
|
+
EnableDebugging: boolean
|
|
27
|
+
NOAAWeatherWireServiceSettings: {
|
|
28
|
+
ReconnectionSettings: {
|
|
29
|
+
Enabled: boolean
|
|
30
|
+
ReconnectionInterval: number
|
|
31
|
+
}
|
|
32
|
+
CredentialSettings: {
|
|
33
|
+
Username: string | void
|
|
34
|
+
Password: string | void
|
|
35
|
+
Nickname: string | void
|
|
36
|
+
}
|
|
37
|
+
CacheSettings: {
|
|
38
|
+
Enabled: boolean
|
|
39
|
+
MaxDatabaseHistory: number
|
|
40
|
+
MaxRetentionHistory: number
|
|
41
|
+
}
|
|
42
|
+
StanzaSettings: {
|
|
43
|
+
DisableUGC: boolean
|
|
44
|
+
DisableVTEC: boolean
|
|
45
|
+
DisableText: boolean
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
NationalWeatherServiceSettings: {
|
|
49
|
+
CallbackInterval: number
|
|
50
|
+
EventsEndpoint: string
|
|
51
|
+
}
|
|
52
|
+
BroadcastifySettings: {
|
|
53
|
+
BroadcastifyAttachments: boolean
|
|
54
|
+
BroadcastifyDatabase: string
|
|
55
|
+
BroadcastifyTags: string[]
|
|
56
|
+
},
|
|
57
|
+
NotifyServer: {
|
|
58
|
+
Enabled: boolean
|
|
59
|
+
Server: string
|
|
60
|
+
Attachments?: string
|
|
61
|
+
Credentials?: {
|
|
62
|
+
Username: string | void
|
|
63
|
+
Password: string | void
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
GlobalSettings: {
|
|
67
|
+
EventManagement: boolean
|
|
68
|
+
BetterEventNames: boolean
|
|
69
|
+
DisableGeometryParsing: boolean
|
|
70
|
+
UseShapefileCoordinates: boolean
|
|
71
|
+
SPCWatchesOnly: boolean
|
|
72
|
+
ShapefileSkipPoints: number
|
|
73
|
+
NodeTTL: number
|
|
74
|
+
NodeMinDistance: number
|
|
75
|
+
ListenerSettings?: TypeListener[]
|
|
76
|
+
EventFiltering: {
|
|
77
|
+
ListeningEvents: string[]
|
|
78
|
+
ListeningICAO: string[]
|
|
79
|
+
ListeningUGC: string[]
|
|
80
|
+
ListeningStates: string[]
|
|
81
|
+
IgnoredICAO: string[]
|
|
82
|
+
IgnoredEvents: string[]
|
|
83
|
+
NodeLocationFiltering: boolean
|
|
84
|
+
IgnoreTestProducts: boolean
|
|
85
|
+
},
|
|
86
|
+
ArchiveSettings: {
|
|
87
|
+
TTL: number
|
|
88
|
+
EventDirectory: string
|
|
89
|
+
TextDirectory: string
|
|
90
|
+
EasDirectory: string
|
|
91
|
+
EasToneout: string
|
|
92
|
+
}
|
|
93
|
+
}
|
|
85
94
|
}
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
/*
|
|
2
|
-
_ _ _ __ __
|
|
3
|
-
/\ | | | | (_) \ \ / /
|
|
4
|
-
/ \ | |_ _ __ ___ ___ ___ _ __ | |__ ___ _ __ _ ___ \ V /
|
|
5
|
-
/ /\ \| __| '_ ` _ \ / _ \/ __| '_ \| '_ \ / _ \ '__| |/ __| > <
|
|
6
|
-
/ ____ \ |_| | | | | | (_) \__ \ |_) | | | | __/ | | | (__ / . \
|
|
7
|
-
/_/ \_\__|_| |_| |_|\___/|___/ .__/|_| |_|\___|_| |_|\___/_/ \_\
|
|
8
|
-
| |
|
|
9
|
-
|_|
|
|
10
|
-
|
|
11
|
-
Created with ♥ by the AtmosphericX Team (KiyoWx, StarflightWx, & CJ Ziegler)
|
|
12
|
-
Discord: https://atmosphericx-discord.scriptkitty.cafe
|
|
13
|
-
Ko-Fi: https://ko-fi.com/k3yomi
|
|
14
|
-
Documentation: http://localhost/documentation | https://atmosphericx.scriptkitty.cafe/documentation
|
|
15
|
-
|
|
16
|
-
Internal Package: @atmosx/event-product-parser
|
|
17
|
-
|
|
18
|
-
*/
|
|
19
|
-
|
|
20
|
-
export type TypeStanza = {
|
|
21
|
-
getChild(arg0: string): unknown
|
|
22
|
-
is(arg0: string): unknown
|
|
23
|
-
name: string
|
|
24
|
-
parent: TypeStanza | null
|
|
25
|
-
children: any
|
|
26
|
-
attrs: {
|
|
27
|
-
xmlns: string
|
|
28
|
-
id: string
|
|
29
|
-
issue: string
|
|
30
|
-
ttaaii: string
|
|
31
|
-
cccc: string
|
|
32
|
-
awipsid: string
|
|
33
|
-
from: string
|
|
34
|
-
to: string
|
|
35
|
-
type: string
|
|
36
|
-
}
|
|
37
|
-
}
|
|
1
|
+
/*
|
|
2
|
+
_ _ _ __ __
|
|
3
|
+
/\ | | | | (_) \ \ / /
|
|
4
|
+
/ \ | |_ _ __ ___ ___ ___ _ __ | |__ ___ _ __ _ ___ \ V /
|
|
5
|
+
/ /\ \| __| '_ ` _ \ / _ \/ __| '_ \| '_ \ / _ \ '__| |/ __| > <
|
|
6
|
+
/ ____ \ |_| | | | | | (_) \__ \ |_) | | | | __/ | | | (__ / . \
|
|
7
|
+
/_/ \_\__|_| |_| |_|\___/|___/ .__/|_| |_|\___|_| |_|\___/_/ \_\
|
|
8
|
+
| |
|
|
9
|
+
|_|
|
|
10
|
+
|
|
11
|
+
Created with ♥ by the AtmosphericX Team (KiyoWx, StarflightWx, & CJ Ziegler)
|
|
12
|
+
Discord: https://atmosphericx-discord.scriptkitty.cafe
|
|
13
|
+
Ko-Fi: https://ko-fi.com/k3yomi
|
|
14
|
+
Documentation: http://localhost/documentation | https://atmosphericx.scriptkitty.cafe/documentation
|
|
15
|
+
|
|
16
|
+
Internal Package: @atmosx/event-product-parser
|
|
17
|
+
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
export type TypeStanza = {
|
|
21
|
+
getChild(arg0: string): unknown
|
|
22
|
+
is(arg0: string): unknown
|
|
23
|
+
name: string
|
|
24
|
+
parent: TypeStanza | null
|
|
25
|
+
children: any
|
|
26
|
+
attrs: {
|
|
27
|
+
xmlns: string
|
|
28
|
+
id: string
|
|
29
|
+
issue: string
|
|
30
|
+
ttaaii: string
|
|
31
|
+
cccc: string
|
|
32
|
+
awipsid: string
|
|
33
|
+
from: string
|
|
34
|
+
to: string
|
|
35
|
+
type: string
|
|
36
|
+
}
|
|
37
|
+
}
|
package/src/@types/type.ugc.ts
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
/*
|
|
2
|
-
_ _ _ __ __
|
|
3
|
-
/\ | | | | (_) \ \ / /
|
|
4
|
-
/ \ | |_ _ __ ___ ___ ___ _ __ | |__ ___ _ __ _ ___ \ V /
|
|
5
|
-
/ /\ \| __| '_ ` _ \ / _ \/ __| '_ \| '_ \ / _ \ '__| |/ __| > <
|
|
6
|
-
/ ____ \ |_| | | | | | (_) \__ \ |_) | | | | __/ | | | (__ / . \
|
|
7
|
-
/_/ \_\__|_| |_| |_|\___/|___/ .__/|_| |_|\___|_| |_|\___/_/ \_\
|
|
8
|
-
| |
|
|
9
|
-
|_|
|
|
10
|
-
|
|
11
|
-
Created with ♥ by the AtmosphericX Team (KiyoWx, StarflightWx, & CJ Ziegler)
|
|
12
|
-
Discord: https://atmosphericx-discord.scriptkitty.cafe
|
|
13
|
-
Ko-Fi: https://ko-fi.com/k3yomi
|
|
14
|
-
Documentation: http://localhost/documentation | https://atmosphericx.scriptkitty.cafe/documentation
|
|
15
|
-
|
|
16
|
-
Internal Package: @atmosx/event-product-parser
|
|
17
|
-
|
|
18
|
-
*/
|
|
19
|
-
|
|
20
|
-
export type TypeUGC = {
|
|
21
|
-
zones: string[]
|
|
22
|
-
locations: string[]
|
|
23
|
-
expires: string
|
|
24
|
-
}
|
|
1
|
+
/*
|
|
2
|
+
_ _ _ __ __
|
|
3
|
+
/\ | | | | (_) \ \ / /
|
|
4
|
+
/ \ | |_ _ __ ___ ___ ___ _ __ | |__ ___ _ __ _ ___ \ V /
|
|
5
|
+
/ /\ \| __| '_ ` _ \ / _ \/ __| '_ \| '_ \ / _ \ '__| |/ __| > <
|
|
6
|
+
/ ____ \ |_| | | | | | (_) \__ \ |_) | | | | __/ | | | (__ / . \
|
|
7
|
+
/_/ \_\__|_| |_| |_|\___/|___/ .__/|_| |_|\___|_| |_|\___/_/ \_\
|
|
8
|
+
| |
|
|
9
|
+
|_|
|
|
10
|
+
|
|
11
|
+
Created with ♥ by the AtmosphericX Team (KiyoWx, StarflightWx, & CJ Ziegler)
|
|
12
|
+
Discord: https://atmosphericx-discord.scriptkitty.cafe
|
|
13
|
+
Ko-Fi: https://ko-fi.com/k3yomi
|
|
14
|
+
Documentation: http://localhost/documentation | https://atmosphericx.scriptkitty.cafe/documentation
|
|
15
|
+
|
|
16
|
+
Internal Package: @atmosx/event-product-parser
|
|
17
|
+
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
export type TypeUGC = {
|
|
21
|
+
zones: string[]
|
|
22
|
+
locations: string[]
|
|
23
|
+
expires: string
|
|
24
|
+
}
|