ntfy-reverse-proxy 2.0.4 → 2.1.0
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/LICENSE +22 -0
- package/README.md +10 -0
- package/build/src/cli/commands/config-io.d.ts +3 -3
- package/build/src/cli/commands/config-io.d.ts.map +1 -1
- package/build/src/cli/commands/config-io.js +1 -1
- package/build/src/cli/commands/config-io.js.map +1 -1
- package/build/src/cli/commands/context.d.ts +7 -7
- package/build/src/cli/commands/context.d.ts.map +1 -1
- package/build/src/cli/commands/context.js +1 -1
- package/build/src/cli/commands/context.js.map +1 -1
- package/build/src/cli/commands/deploy.d.ts +2 -2
- package/build/src/cli/commands/deploy.d.ts.map +1 -1
- package/build/src/cli/commands/deploy.js +72 -30
- package/build/src/cli/commands/deploy.js.map +1 -1
- package/build/src/cli/commands/generate.d.ts +2 -2
- package/build/src/cli/commands/generate.d.ts.map +1 -1
- package/build/src/cli/commands/generate.js +3 -3
- package/build/src/cli/commands/generate.js.map +1 -1
- package/build/src/cli/commands/server.d.ts +5 -5
- package/build/src/cli/commands/server.d.ts.map +1 -1
- package/build/src/cli/commands/server.js.map +1 -1
- package/build/src/cli/commands/settings.d.ts +3 -3
- package/build/src/cli/commands/settings.d.ts.map +1 -1
- package/build/src/cli/commands/settings.js.map +1 -1
- package/build/src/cli/commands/validate.d.ts +2 -2
- package/build/src/cli/commands/validate.d.ts.map +1 -1
- package/build/src/cli/commands/validate.js +3 -0
- package/build/src/cli/commands/validate.js.map +1 -1
- package/build/src/cli/index.d.ts +2 -2
- package/build/src/cli/index.d.ts.map +1 -1
- package/build/src/cli/index.js +4 -4
- package/build/src/cli/index.js.map +1 -1
- package/build/src/cli/menu/interactive.d.ts +2 -2
- package/build/src/cli/menu/interactive.d.ts.map +1 -1
- package/build/src/cli/menu/interactive.js +174 -84
- package/build/src/cli/menu/interactive.js.map +1 -1
- package/build/src/lib/regex.d.ts +4 -1
- package/build/src/lib/regex.d.ts.map +1 -1
- package/build/src/lib/regex.js +4 -1
- package/build/src/lib/regex.js.map +1 -1
- package/build/src/lib/schema.d.ts +24 -0
- package/build/src/lib/schema.d.ts.map +1 -1
- package/build/src/lib/schema.js +11 -2
- package/build/src/lib/schema.js.map +1 -1
- package/build/src/lib/utility.d.ts +2 -2
- package/build/src/lib/utility.d.ts.map +1 -1
- package/build/src/lib/utility.js +1 -1
- package/build/src/lib/utility.js.map +1 -1
- package/build/src/types/cli/commands/config-io.d.ts +12 -12
- package/build/src/types/cli/commands/context.d.ts +96 -58
- package/build/src/types/cli/commands/deploy.d.ts +342 -298
- package/build/src/types/cli/commands/generate.d.ts +40 -24
- package/build/src/types/cli/commands/server.d.ts +23 -23
- package/build/src/types/cli/commands/settings.d.ts +8 -8
- package/build/src/types/cli/commands/validate.d.ts +16 -16
- package/build/src/types/cli/index.d.ts +16 -20
- package/build/src/types/cli/menu/interactive.d.ts +233 -178
- package/build/src/types/lib/schema.d.ts +89 -81
- package/build/src/types/lib/utility.d.ts +4 -2
- package/build/src/types/shared.d.ts +85 -0
- package/build/src/types/tests/cli/commands/context.test.d.ts +102 -31
- package/build/src/types/tests/cli/commands/generate.test.d.ts +50 -4
- package/build/src/types/tests/cli/commands/server.test.d.ts +88 -23
- package/build/src/types/tests/cli/commands/settings.test.d.ts +65 -21
- package/build/src/types/tests/cli/commands/validate.test.d.ts +69 -8
- package/build/src/types/tests/cli/menu/interactive.test.d.ts +2 -2
- package/build/src/types/tests/lib/schema.test.d.ts +258 -3
- package/build/src/types/tests/worker/index.test.d.ts +166 -8
- package/build/src/types/tests/worker/interpreters/ntfy-json.test.d.ts +94 -10
- package/build/src/types/tests/worker/interpreters/pfsense.test.d.ts +163 -4
- package/build/src/types/tests/worker/interpreters/plain-text.test.d.ts +67 -4
- package/build/src/types/tests/worker/interpreters/seerr.test.d.ts +138 -3
- package/build/src/types/tests/worker/interpreters/statuspage.test.d.ts +235 -30
- package/build/src/types/tests/worker/interpreters/synology.test.d.ts +61 -3
- package/build/src/types/tests/worker/interpreters/unifi.test.d.ts +93 -3
- package/build/src/types/tests/worker/landing/page.test.d.ts +73 -50
- package/build/src/types/tests/worker/pipeline/accumulate.test.d.ts +226 -15
- package/build/src/types/tests/worker/pipeline/authenticate.test.d.ts +148 -4
- package/build/src/types/tests/worker/pipeline/email.test.d.ts +82 -8
- package/build/src/types/tests/worker/pipeline/format.test.d.ts +112 -32
- package/build/src/types/tests/worker/pipeline/interpret.test.d.ts +109 -17
- package/build/src/types/tests/worker/pipeline/parse.test.d.ts +70 -5
- package/build/src/types/tests/worker/pipeline/receive.test.d.ts +156 -15
- package/build/src/types/tests/worker/pipeline/respond.test.d.ts +129 -10
- package/build/src/types/tests/worker/pipeline/route.test.d.ts +412 -74
- package/build/src/types/tests/worker/pipeline/send.test.d.ts +58 -23
- package/build/src/types/tests/worker/pipeline/split.test.d.ts +47 -9
- package/build/src/types/worker/handlers.d.ts +193 -0
- package/build/src/types/worker/index.d.ts +58 -203
- package/build/src/types/worker/interpreters/ntfy-json.d.ts +10 -10
- package/build/src/types/worker/interpreters/pfsense.d.ts +57 -49
- package/build/src/types/worker/interpreters/plain-text.d.ts +7 -7
- package/build/src/types/worker/interpreters/seerr.d.ts +63 -61
- package/build/src/types/worker/interpreters/statuspage.d.ts +201 -116
- package/build/src/types/worker/interpreters/synology.d.ts +48 -46
- package/build/src/types/worker/interpreters/unifi.d.ts +79 -54
- package/build/src/types/worker/landing/page.d.ts +30 -23
- package/build/src/types/worker/pipeline/accumulate.d.ts +46 -32
- package/build/src/types/worker/pipeline/authenticate.d.ts +94 -34
- package/build/src/types/worker/pipeline/email.d.ts +114 -50
- package/build/src/types/worker/pipeline/format.d.ts +31 -23
- package/build/src/types/worker/pipeline/interpret.d.ts +34 -34
- package/build/src/types/worker/pipeline/parse.d.ts +25 -19
- package/build/src/types/worker/pipeline/receive.d.ts +36 -34
- package/build/src/types/worker/pipeline/respond.d.ts +119 -63
- package/build/src/types/worker/pipeline/route.d.ts +33 -16
- package/build/src/types/worker/pipeline/send.d.ts +116 -79
- package/build/src/types/worker/pipeline/split.d.ts +21 -16
- package/build/src/worker/handlers.d.ts +5 -4
- package/build/src/worker/handlers.d.ts.map +1 -1
- package/build/src/worker/handlers.js +238 -202
- package/build/src/worker/handlers.js.map +1 -1
- package/build/src/worker/index.d.ts +2 -2
- package/build/src/worker/index.d.ts.map +1 -1
- package/build/src/worker/index.js +37 -9
- package/build/src/worker/index.js.map +1 -1
- package/build/src/worker/interpreters/ntfy-json.d.ts +2 -2
- package/build/src/worker/interpreters/ntfy-json.d.ts.map +1 -1
- package/build/src/worker/interpreters/ntfy-json.js.map +1 -1
- package/build/src/worker/interpreters/pfsense.d.ts +2 -2
- package/build/src/worker/interpreters/pfsense.d.ts.map +1 -1
- package/build/src/worker/interpreters/pfsense.js +20 -27
- package/build/src/worker/interpreters/pfsense.js.map +1 -1
- package/build/src/worker/interpreters/plain-text.d.ts +2 -2
- package/build/src/worker/interpreters/plain-text.d.ts.map +1 -1
- package/build/src/worker/interpreters/plain-text.js.map +1 -1
- package/build/src/worker/interpreters/seerr.d.ts +2 -2
- package/build/src/worker/interpreters/seerr.d.ts.map +1 -1
- package/build/src/worker/interpreters/seerr.js +16 -12
- package/build/src/worker/interpreters/seerr.js.map +1 -1
- package/build/src/worker/interpreters/statuspage.d.ts +2 -2
- package/build/src/worker/interpreters/statuspage.d.ts.map +1 -1
- package/build/src/worker/interpreters/statuspage.js +98 -47
- package/build/src/worker/interpreters/statuspage.js.map +1 -1
- package/build/src/worker/interpreters/synology.d.ts +2 -2
- package/build/src/worker/interpreters/synology.d.ts.map +1 -1
- package/build/src/worker/interpreters/synology.js +9 -5
- package/build/src/worker/interpreters/synology.js.map +1 -1
- package/build/src/worker/interpreters/unifi.d.ts +2 -2
- package/build/src/worker/interpreters/unifi.d.ts.map +1 -1
- package/build/src/worker/interpreters/unifi.js +34 -20
- package/build/src/worker/interpreters/unifi.js.map +1 -1
- package/build/src/worker/landing/page.d.ts +2 -2
- package/build/src/worker/landing/page.d.ts.map +1 -1
- package/build/src/worker/landing/page.js +4 -3
- package/build/src/worker/landing/page.js.map +1 -1
- package/build/src/worker/pipeline/accumulate.d.ts +5 -6
- package/build/src/worker/pipeline/accumulate.d.ts.map +1 -1
- package/build/src/worker/pipeline/accumulate.js +4 -11
- package/build/src/worker/pipeline/accumulate.js.map +1 -1
- package/build/src/worker/pipeline/authenticate.d.ts +2 -2
- package/build/src/worker/pipeline/authenticate.d.ts.map +1 -1
- package/build/src/worker/pipeline/authenticate.js +25 -7
- package/build/src/worker/pipeline/authenticate.js.map +1 -1
- package/build/src/worker/pipeline/email.d.ts +2 -2
- package/build/src/worker/pipeline/email.d.ts.map +1 -1
- package/build/src/worker/pipeline/email.js +34 -11
- package/build/src/worker/pipeline/email.js.map +1 -1
- package/build/src/worker/pipeline/format.d.ts +2 -3
- package/build/src/worker/pipeline/format.d.ts.map +1 -1
- package/build/src/worker/pipeline/format.js +2 -1
- package/build/src/worker/pipeline/format.js.map +1 -1
- package/build/src/worker/pipeline/interpret.d.ts +4 -3
- package/build/src/worker/pipeline/interpret.d.ts.map +1 -1
- package/build/src/worker/pipeline/interpret.js +7 -7
- package/build/src/worker/pipeline/interpret.js.map +1 -1
- package/build/src/worker/pipeline/parse.d.ts +2 -2
- package/build/src/worker/pipeline/parse.d.ts.map +1 -1
- package/build/src/worker/pipeline/parse.js +14 -7
- package/build/src/worker/pipeline/parse.js.map +1 -1
- package/build/src/worker/pipeline/receive.d.ts +2 -2
- package/build/src/worker/pipeline/receive.d.ts.map +1 -1
- package/build/src/worker/pipeline/receive.js +6 -6
- package/build/src/worker/pipeline/receive.js.map +1 -1
- package/build/src/worker/pipeline/respond.d.ts +2 -2
- package/build/src/worker/pipeline/respond.d.ts.map +1 -1
- package/build/src/worker/pipeline/respond.js +1 -1
- package/build/src/worker/pipeline/respond.js.map +1 -1
- package/build/src/worker/pipeline/route.d.ts +2 -3
- package/build/src/worker/pipeline/route.d.ts.map +1 -1
- package/build/src/worker/pipeline/route.js.map +1 -1
- package/build/src/worker/pipeline/send.d.ts +2 -2
- package/build/src/worker/pipeline/send.d.ts.map +1 -1
- package/build/src/worker/pipeline/send.js +80 -41
- package/build/src/worker/pipeline/send.js.map +1 -1
- package/build/src/worker/pipeline/split.d.ts +2 -2
- package/build/src/worker/pipeline/split.d.ts.map +1 -1
- package/build/src/worker/pipeline/split.js +4 -2
- package/build/src/worker/pipeline/split.js.map +1 -1
- package/package.json +7 -6
- package/build/src/types/tests/type-declarations.test.d.ts +0 -173
- package/build/src/types/worker/pipeline/shared.d.ts +0 -85
|
@@ -1,239 +1,324 @@
|
|
|
1
1
|
import type {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
} from '../pipeline/interpret.d.ts';
|
|
2
|
+
Shared_StatusPage_ComponentDiff,
|
|
3
|
+
Shared_StatusPage_ComponentState,
|
|
4
|
+
Shared_StatusPage_StoredState,
|
|
5
|
+
} from '../../shared.d.ts';
|
|
7
6
|
import type {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
Worker_Pipeline_Interpret_Context,
|
|
8
|
+
Worker_Pipeline_Interpret_Input,
|
|
9
|
+
Worker_Pipeline_Interpret_NotificationObjectPriority,
|
|
10
|
+
Worker_Pipeline_Interpret_Result,
|
|
11
|
+
} from '../pipeline/interpret.d.ts';
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* Worker - Interpreters - Statuspage.
|
|
15
15
|
*
|
|
16
16
|
* @since 2.0.0
|
|
17
17
|
*/
|
|
18
|
-
export type
|
|
18
|
+
export type Worker_Interpreters_Statuspage_Result = Worker_Pipeline_Interpret_Result;
|
|
19
19
|
|
|
20
|
-
export type
|
|
20
|
+
export type Worker_Interpreters_Statuspage_Input = Worker_Pipeline_Interpret_Input;
|
|
21
21
|
|
|
22
|
-
export type
|
|
22
|
+
export type Worker_Interpreters_Statuspage_Context = Worker_Pipeline_Interpret_Context;
|
|
23
23
|
|
|
24
|
-
export type
|
|
24
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter = (input: Worker_Interpreters_Statuspage_Input, context?: Worker_Interpreters_Statuspage_Context) => Promise<Worker_Interpreters_Statuspage_Result | null>;
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
* Worker - Interpreters - Statuspage - Build Incident Notification.
|
|
28
28
|
*
|
|
29
29
|
* @since 2.0.0
|
|
30
30
|
*/
|
|
31
|
-
export type
|
|
31
|
+
export type Worker_Interpreters_Statuspage_BuildIncidentNotification_ServiceName = string;
|
|
32
|
+
|
|
33
|
+
export type Worker_Interpreters_Statuspage_BuildIncidentNotification_IncidentName = string;
|
|
34
|
+
|
|
35
|
+
export type Worker_Interpreters_Statuspage_BuildIncidentNotification_Status = string;
|
|
32
36
|
|
|
33
|
-
export type
|
|
37
|
+
export type Worker_Interpreters_Statuspage_BuildIncidentNotification_Impact = string;
|
|
34
38
|
|
|
35
|
-
export type
|
|
39
|
+
export type Worker_Interpreters_Statuspage_BuildIncidentNotification_LatestBody = string | undefined;
|
|
36
40
|
|
|
37
|
-
export type
|
|
41
|
+
export type Worker_Interpreters_Statuspage_BuildIncidentNotification_Shortlink = string | undefined;
|
|
38
42
|
|
|
39
|
-
export type
|
|
43
|
+
export type Worker_Interpreters_Statuspage_BuildIncidentNotification_UnsubscribeUrl = string | undefined;
|
|
40
44
|
|
|
41
|
-
export type
|
|
45
|
+
export type Worker_Interpreters_Statuspage_BuildIncidentNotification_ComponentLines = string[];
|
|
42
46
|
|
|
43
|
-
export type
|
|
47
|
+
export type Worker_Interpreters_Statuspage_BuildIncidentNotification_Returns = Worker_Pipeline_Interpret_Result;
|
|
44
48
|
|
|
45
|
-
export type
|
|
49
|
+
export type Worker_Interpreters_Statuspage_BuildIncidentNotification_IsTerminal = boolean;
|
|
46
50
|
|
|
47
|
-
export type
|
|
51
|
+
export type Worker_Interpreters_Statuspage_BuildIncidentNotification_Priority = 1 | 2 | 3 | 4 | 5;
|
|
48
52
|
|
|
49
|
-
export type
|
|
53
|
+
export type Worker_Interpreters_Statuspage_BuildIncidentNotification_HumanizedStatus = string;
|
|
50
54
|
|
|
51
|
-
export type
|
|
55
|
+
export type Worker_Interpreters_Statuspage_BuildIncidentNotification_HumanizedImpact = string;
|
|
52
56
|
|
|
53
|
-
export type
|
|
57
|
+
export type Worker_Interpreters_Statuspage_BuildIncidentNotification_EmojiTag = string;
|
|
54
58
|
|
|
55
|
-
export type
|
|
59
|
+
export type Worker_Interpreters_Statuspage_BuildIncidentNotification_Tags = string[];
|
|
56
60
|
|
|
57
|
-
export type
|
|
61
|
+
export type Worker_Interpreters_Statuspage_BuildIncidentNotification_BodyLines = string[];
|
|
58
62
|
|
|
59
|
-
export type
|
|
63
|
+
export type Worker_Interpreters_Statuspage_BuildIncidentNotification_LatestBodyJoined = string;
|
|
60
64
|
|
|
61
|
-
export type
|
|
65
|
+
export type Worker_Interpreters_Statuspage_BuildIncidentNotification_ComponentLinesJoined = string;
|
|
62
66
|
|
|
63
|
-
export type
|
|
67
|
+
export type Worker_Interpreters_Statuspage_BuildIncidentNotification_Body = string;
|
|
64
68
|
|
|
65
|
-
export type
|
|
69
|
+
export type Worker_Interpreters_Statuspage_BuildIncidentNotification_Actions = string[];
|
|
66
70
|
|
|
67
|
-
export type
|
|
71
|
+
export type Worker_Interpreters_Statuspage_BuildIncidentNotification_ValidatedShortlink = string | undefined;
|
|
72
|
+
|
|
73
|
+
export type Worker_Interpreters_Statuspage_BuildIncidentNotification_ValidatedUnsubscribeUrl = string | undefined;
|
|
68
74
|
|
|
69
75
|
/**
|
|
70
76
|
* Worker - Interpreters - Statuspage - Extract Service Name.
|
|
71
77
|
*
|
|
72
78
|
* @since 2.0.0
|
|
73
79
|
*/
|
|
74
|
-
export type
|
|
80
|
+
export type Worker_Interpreters_Statuspage_ExtractServiceName_UnsubscribeUrl = string | undefined;
|
|
75
81
|
|
|
76
|
-
export type
|
|
82
|
+
export type Worker_Interpreters_Statuspage_ExtractServiceName_Returns = string;
|
|
77
83
|
|
|
78
|
-
export type
|
|
84
|
+
export type Worker_Interpreters_Statuspage_ExtractServiceName_ServiceName = string;
|
|
79
85
|
|
|
80
|
-
export type
|
|
86
|
+
export type Worker_Interpreters_Statuspage_ExtractServiceName_ParsedUrl = URL;
|
|
81
87
|
|
|
82
|
-
export type
|
|
88
|
+
export type Worker_Interpreters_Statuspage_ExtractServiceName_Hostname = string;
|
|
83
89
|
|
|
84
90
|
/**
|
|
85
91
|
* Worker - Interpreters - Statuspage - Humanize Slug.
|
|
86
92
|
*
|
|
87
93
|
* @since 2.0.0
|
|
88
94
|
*/
|
|
89
|
-
export type
|
|
95
|
+
export type Worker_Interpreters_Statuspage_HumanizeSlug_Slug = string;
|
|
90
96
|
|
|
91
|
-
export type
|
|
97
|
+
export type Worker_Interpreters_Statuspage_HumanizeSlug_Returns = string;
|
|
92
98
|
|
|
93
|
-
export type
|
|
99
|
+
export type Worker_Interpreters_Statuspage_HumanizeSlug_Parts = string[];
|
|
94
100
|
|
|
95
|
-
export type
|
|
101
|
+
export type Worker_Interpreters_Statuspage_HumanizeSlug_Capitalized = string[];
|
|
96
102
|
|
|
97
103
|
/**
|
|
98
|
-
* Worker - Interpreters - Statuspage -
|
|
104
|
+
* Worker - Interpreters - Statuspage - Is Terminal Status.
|
|
99
105
|
*
|
|
100
106
|
* @since 2.0.0
|
|
101
107
|
*/
|
|
102
|
-
export type
|
|
108
|
+
export type Worker_Interpreters_Statuspage_IsTerminalStatus_Status = string;
|
|
103
109
|
|
|
104
|
-
export type
|
|
110
|
+
export type Worker_Interpreters_Statuspage_IsTerminalStatus_Returns = boolean;
|
|
105
111
|
|
|
106
|
-
export type
|
|
112
|
+
export type Worker_Interpreters_Statuspage_IsTerminalStatus_Terminal = string[];
|
|
107
113
|
|
|
108
|
-
export type
|
|
114
|
+
export type Worker_Interpreters_Statuspage_IsTerminalStatus_Lowered = string;
|
|
109
115
|
|
|
110
|
-
|
|
116
|
+
/**
|
|
117
|
+
* Worker - Interpreters - Statuspage - Map Impact To Priority.
|
|
118
|
+
*
|
|
119
|
+
* @since 2.0.0
|
|
120
|
+
*/
|
|
121
|
+
export type Worker_Interpreters_Statuspage_MapImpactToPriority_Impact = string;
|
|
111
122
|
|
|
112
|
-
export type
|
|
123
|
+
export type Worker_Interpreters_Statuspage_MapImpactToPriority_Returns = Worker_Pipeline_Interpret_NotificationObjectPriority;
|
|
113
124
|
|
|
114
|
-
|
|
125
|
+
/**
|
|
126
|
+
* Worker - Interpreters - Statuspage - Map Status To Emoji Tag.
|
|
127
|
+
*
|
|
128
|
+
* @since 2.0.0
|
|
129
|
+
*/
|
|
130
|
+
export type Worker_Interpreters_Statuspage_MapStatusToEmojiTag_Status = string;
|
|
115
131
|
|
|
116
|
-
export type
|
|
132
|
+
export type Worker_Interpreters_Statuspage_MapStatusToEmojiTag_Returns = string;
|
|
117
133
|
|
|
118
|
-
|
|
134
|
+
/**
|
|
135
|
+
* Worker - Interpreters - Statuspage - Statuspage Interpreter.
|
|
136
|
+
*
|
|
137
|
+
* @since 2.0.0
|
|
138
|
+
*/
|
|
139
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_Returns = Promise<Worker_Pipeline_Interpret_Result | null>;
|
|
119
140
|
|
|
120
|
-
export type
|
|
141
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_Parsed = unknown;
|
|
121
142
|
|
|
122
|
-
export type
|
|
143
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_Decoder = TextDecoder;
|
|
123
144
|
|
|
124
|
-
export type
|
|
145
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_DecodedBody = string;
|
|
125
146
|
|
|
126
|
-
export type
|
|
147
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_Data = Record<string, unknown>;
|
|
127
148
|
|
|
128
|
-
export type
|
|
149
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_MetaDefault = Record<string, unknown>;
|
|
129
150
|
|
|
130
|
-
export type
|
|
151
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_MetaRaw = unknown;
|
|
131
152
|
|
|
132
|
-
export type
|
|
153
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_Meta = Record<string, unknown>;
|
|
133
154
|
|
|
134
|
-
export type
|
|
155
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_UnsubscribeUrl = string | undefined;
|
|
135
156
|
|
|
136
|
-
export type
|
|
157
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_ServiceName = string;
|
|
137
158
|
|
|
138
|
-
export type
|
|
159
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_Page = Record<string, unknown> | undefined;
|
|
139
160
|
|
|
140
|
-
export type
|
|
161
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_PageIdAvailable = boolean;
|
|
141
162
|
|
|
142
|
-
export type
|
|
163
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_PageId = string | undefined;
|
|
143
164
|
|
|
144
|
-
export type
|
|
165
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_KvAvailable = boolean;
|
|
145
166
|
|
|
146
|
-
export type
|
|
167
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_Kv = KVNamespace | undefined;
|
|
147
168
|
|
|
148
|
-
export type
|
|
169
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_HasKv = boolean;
|
|
149
170
|
|
|
150
|
-
export type
|
|
171
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_MissingComponentKv = boolean;
|
|
151
172
|
|
|
152
|
-
export type
|
|
173
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_ExistingComponentState = Shared_StatusPage_StoredState | null;
|
|
153
174
|
|
|
154
|
-
export type
|
|
175
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_Components = Record<string, Shared_StatusPage_ComponentState>;
|
|
155
176
|
|
|
156
|
-
export type
|
|
177
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_ComponentUpdate = Record<string, unknown> | undefined;
|
|
157
178
|
|
|
158
|
-
export type
|
|
179
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_Component = Record<string, unknown> | undefined;
|
|
159
180
|
|
|
160
|
-
export type
|
|
181
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_ComponentId = string | undefined;
|
|
161
182
|
|
|
162
|
-
export type
|
|
183
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_ComponentName = string | undefined;
|
|
163
184
|
|
|
164
|
-
export type
|
|
185
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_HasUpdateStatus = boolean;
|
|
165
186
|
|
|
166
|
-
export type
|
|
187
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_HasComponentStatus = boolean;
|
|
167
188
|
|
|
168
|
-
export type
|
|
189
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_ComponentStatus = string | undefined;
|
|
169
190
|
|
|
170
|
-
export type
|
|
191
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_IncidentName = string;
|
|
171
192
|
|
|
172
|
-
export type
|
|
193
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_CanUpdate = boolean;
|
|
173
194
|
|
|
174
|
-
export type
|
|
195
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_UpdatedState_IncidentId = string | undefined;
|
|
175
196
|
|
|
176
|
-
export type
|
|
197
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_UpdatedState_IncidentName = string | undefined;
|
|
177
198
|
|
|
178
|
-
export type
|
|
199
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_UpdatedState_Status = string | undefined;
|
|
179
200
|
|
|
180
|
-
export type
|
|
201
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_UpdatedState_Impact = string | undefined;
|
|
181
202
|
|
|
182
|
-
export type
|
|
203
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_UpdatedState_Body = string | undefined;
|
|
183
204
|
|
|
184
|
-
export type
|
|
205
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_UpdatedState_Shortlink = string | undefined;
|
|
185
206
|
|
|
186
|
-
export type
|
|
207
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_UpdatedState_ServiceName = string;
|
|
187
208
|
|
|
188
|
-
export type
|
|
209
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_UpdatedState_UnsubscribeUrl = string | undefined;
|
|
189
210
|
|
|
190
|
-
export type
|
|
211
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_UpdatedState_UpdateId = string | undefined;
|
|
191
212
|
|
|
192
|
-
export type
|
|
213
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_UpdatedState_Components = Record<string, Shared_StatusPage_ComponentState>;
|
|
193
214
|
|
|
194
|
-
export type
|
|
215
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_UpdatedState = {
|
|
216
|
+
incidentId: Worker_Interpreters_Statuspage_StatuspageInterpreter_UpdatedState_IncidentId;
|
|
217
|
+
incidentName: Worker_Interpreters_Statuspage_StatuspageInterpreter_UpdatedState_IncidentName;
|
|
218
|
+
status: Worker_Interpreters_Statuspage_StatuspageInterpreter_UpdatedState_Status;
|
|
219
|
+
impact: Worker_Interpreters_Statuspage_StatuspageInterpreter_UpdatedState_Impact;
|
|
220
|
+
body: Worker_Interpreters_Statuspage_StatuspageInterpreter_UpdatedState_Body;
|
|
221
|
+
shortlink: Worker_Interpreters_Statuspage_StatuspageInterpreter_UpdatedState_Shortlink;
|
|
222
|
+
serviceName: Worker_Interpreters_Statuspage_StatuspageInterpreter_UpdatedState_ServiceName;
|
|
223
|
+
unsubscribeUrl: Worker_Interpreters_Statuspage_StatuspageInterpreter_UpdatedState_UnsubscribeUrl;
|
|
224
|
+
updateId: Worker_Interpreters_Statuspage_StatuspageInterpreter_UpdatedState_UpdateId;
|
|
225
|
+
components: Worker_Interpreters_Statuspage_StatuspageInterpreter_UpdatedState_Components;
|
|
226
|
+
};
|
|
195
227
|
|
|
196
|
-
export type
|
|
228
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_Incident = Record<string, unknown>;
|
|
197
229
|
|
|
198
|
-
export type
|
|
230
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_Status = string;
|
|
199
231
|
|
|
200
|
-
export type
|
|
232
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_Impact = string;
|
|
201
233
|
|
|
202
|
-
export type
|
|
234
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_Shortlink = string | undefined;
|
|
203
235
|
|
|
204
|
-
export type
|
|
236
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_RawUpdates = unknown;
|
|
205
237
|
|
|
206
|
-
export type
|
|
238
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_IsUpdatesArray = boolean;
|
|
207
239
|
|
|
208
|
-
export type
|
|
240
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_Updates = Array<Record<string, unknown>>;
|
|
209
241
|
|
|
210
|
-
|
|
211
|
-
* Worker - Interpreters - Statuspage - Is Terminal Status.
|
|
212
|
-
*
|
|
213
|
-
* @since 2.0.0
|
|
214
|
-
*/
|
|
215
|
-
export type WorkerInterpretersStatuspageIsTerminalStatusStatus = string;
|
|
242
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_LatestUpdate = Record<string, unknown> | undefined;
|
|
216
243
|
|
|
217
|
-
export type
|
|
244
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_LatestBody = string | undefined;
|
|
218
245
|
|
|
219
|
-
export type
|
|
246
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_UpdateId = string | undefined;
|
|
220
247
|
|
|
221
|
-
export type
|
|
248
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_MissingIncidentKv = boolean;
|
|
222
249
|
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
250
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_FallbackComponentLines = string[];
|
|
251
|
+
|
|
252
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_UnverifiedComponentLines = string[];
|
|
253
|
+
|
|
254
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_ExistingIncidentState = Shared_StatusPage_StoredState | null;
|
|
255
|
+
|
|
256
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_IsDuplicate = boolean;
|
|
257
|
+
|
|
258
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_PreviousComponents = Record<string, Shared_StatusPage_ComponentState>;
|
|
259
|
+
|
|
260
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_CurrentComponents = Record<string, Shared_StatusPage_ComponentState>;
|
|
261
|
+
|
|
262
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_AffectedComponents = Array<Record<string, unknown>> | undefined;
|
|
263
|
+
|
|
264
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_IsAffectedArray = boolean;
|
|
265
|
+
|
|
266
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_Code = string | undefined;
|
|
267
|
+
|
|
268
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_Name = string | undefined;
|
|
269
|
+
|
|
270
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_NewStatus = string | undefined;
|
|
271
|
+
|
|
272
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_CanUpdateAffected = boolean;
|
|
273
|
+
|
|
274
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_Diff = Array<Shared_StatusPage_ComponentDiff[number]>;
|
|
275
|
+
|
|
276
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_ComponentLines = string[];
|
|
277
|
+
|
|
278
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_IncidentId = string | undefined;
|
|
229
279
|
|
|
230
|
-
export type
|
|
280
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_NewState_IncidentId = string | undefined;
|
|
281
|
+
|
|
282
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_NewState_IncidentName = string;
|
|
283
|
+
|
|
284
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_NewState_Status = string;
|
|
285
|
+
|
|
286
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_NewState_Impact = string;
|
|
287
|
+
|
|
288
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_NewState_Body = string | undefined;
|
|
289
|
+
|
|
290
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_NewState_Shortlink = string | undefined;
|
|
291
|
+
|
|
292
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_NewState_ServiceName = string;
|
|
293
|
+
|
|
294
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_NewState_UnsubscribeUrl = string | undefined;
|
|
295
|
+
|
|
296
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_NewState_UpdateId = string | undefined;
|
|
297
|
+
|
|
298
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_NewState_Components = Record<string, Shared_StatusPage_ComponentState>;
|
|
299
|
+
|
|
300
|
+
export type Worker_Interpreters_Statuspage_StatuspageInterpreter_NewState = {
|
|
301
|
+
incidentId: Worker_Interpreters_Statuspage_StatuspageInterpreter_NewState_IncidentId;
|
|
302
|
+
incidentName: Worker_Interpreters_Statuspage_StatuspageInterpreter_NewState_IncidentName;
|
|
303
|
+
status: Worker_Interpreters_Statuspage_StatuspageInterpreter_NewState_Status;
|
|
304
|
+
impact: Worker_Interpreters_Statuspage_StatuspageInterpreter_NewState_Impact;
|
|
305
|
+
body: Worker_Interpreters_Statuspage_StatuspageInterpreter_NewState_Body;
|
|
306
|
+
shortlink: Worker_Interpreters_Statuspage_StatuspageInterpreter_NewState_Shortlink;
|
|
307
|
+
serviceName: Worker_Interpreters_Statuspage_StatuspageInterpreter_NewState_ServiceName;
|
|
308
|
+
unsubscribeUrl: Worker_Interpreters_Statuspage_StatuspageInterpreter_NewState_UnsubscribeUrl;
|
|
309
|
+
updateId: Worker_Interpreters_Statuspage_StatuspageInterpreter_NewState_UpdateId;
|
|
310
|
+
components: Worker_Interpreters_Statuspage_StatuspageInterpreter_NewState_Components;
|
|
311
|
+
};
|
|
231
312
|
|
|
232
313
|
/**
|
|
233
|
-
* Worker - Interpreters - Statuspage -
|
|
314
|
+
* Worker - Interpreters - Statuspage - Validate Url.
|
|
234
315
|
*
|
|
235
|
-
* @since 2.
|
|
316
|
+
* @since 2.1.0
|
|
236
317
|
*/
|
|
237
|
-
export type
|
|
318
|
+
export type Worker_Interpreters_Statuspage_ValidateUrl_RawUrl = string;
|
|
319
|
+
|
|
320
|
+
export type Worker_Interpreters_Statuspage_ValidateUrl_Returns = string | undefined;
|
|
321
|
+
|
|
322
|
+
export type Worker_Interpreters_Statuspage_ValidateUrl_Url = URL;
|
|
238
323
|
|
|
239
|
-
export type
|
|
324
|
+
export type Worker_Interpreters_Statuspage_ValidateUrl_Protocol = string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
Worker_Pipeline_Interpret_Input,
|
|
3
|
+
Worker_Pipeline_Interpret_NotificationObjectPriority,
|
|
4
|
+
Worker_Pipeline_Interpret_Result,
|
|
5
5
|
} from '../pipeline/interpret.d.ts';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -9,91 +9,93 @@ import type {
|
|
|
9
9
|
*
|
|
10
10
|
* @since 2.0.0
|
|
11
11
|
*/
|
|
12
|
-
export type
|
|
12
|
+
export type Worker_Interpreters_Synology_Input = Worker_Pipeline_Interpret_Input;
|
|
13
13
|
|
|
14
|
-
export type
|
|
14
|
+
export type Worker_Interpreters_Synology_Result = Worker_Pipeline_Interpret_Result;
|
|
15
15
|
|
|
16
|
-
export type
|
|
16
|
+
export type Worker_Interpreters_Synology_SynologyInterpreter = (input: Worker_Interpreters_Synology_Input) => Worker_Interpreters_Synology_Result;
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
|
-
* Worker - Interpreters - Synology -
|
|
19
|
+
* Worker - Interpreters - Synology - Map Severity To Priority.
|
|
20
20
|
*
|
|
21
21
|
* @since 2.0.0
|
|
22
22
|
*/
|
|
23
|
-
export type
|
|
23
|
+
export type Worker_Interpreters_Synology_MapSeverityToPriority_Severity = string;
|
|
24
24
|
|
|
25
|
-
export type
|
|
25
|
+
export type Worker_Interpreters_Synology_MapSeverityToPriority_Returns = Worker_Pipeline_Interpret_NotificationObjectPriority;
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
/**
|
|
28
|
+
* Worker - Interpreters - Synology - Synology Interpreter.
|
|
29
|
+
*
|
|
30
|
+
* @since 2.0.0
|
|
31
|
+
*/
|
|
32
|
+
export type Worker_Interpreters_Synology_SynologyInterpreter_Body = string | undefined;
|
|
28
33
|
|
|
29
|
-
export type
|
|
34
|
+
export type Worker_Interpreters_Synology_SynologyInterpreter_Decoder = TextDecoder;
|
|
30
35
|
|
|
31
|
-
export type
|
|
36
|
+
export type Worker_Interpreters_Synology_SynologyInterpreter_Data = Record<string, unknown>;
|
|
32
37
|
|
|
33
|
-
export type
|
|
38
|
+
export type Worker_Interpreters_Synology_SynologyInterpreter_RawMessage = unknown;
|
|
34
39
|
|
|
35
|
-
export type
|
|
40
|
+
export type Worker_Interpreters_Synology_SynologyInterpreter_Message = string;
|
|
36
41
|
|
|
37
|
-
export type
|
|
42
|
+
export type Worker_Interpreters_Synology_SynologyInterpreter_RawPrefix = unknown;
|
|
38
43
|
|
|
39
|
-
export type
|
|
44
|
+
export type Worker_Interpreters_Synology_SynologyInterpreter_Hostname = string | undefined;
|
|
40
45
|
|
|
41
|
-
export type
|
|
46
|
+
export type Worker_Interpreters_Synology_SynologyInterpreter_Timestamp = string | undefined;
|
|
42
47
|
|
|
43
|
-
export type
|
|
48
|
+
export type Worker_Interpreters_Synology_SynologyInterpreter_PrefixParts = string[];
|
|
44
49
|
|
|
45
|
-
export type
|
|
50
|
+
export type Worker_Interpreters_Synology_SynologyInterpreter_RawHostname = unknown;
|
|
46
51
|
|
|
47
|
-
export type
|
|
52
|
+
export type Worker_Interpreters_Synology_SynologyInterpreter_RawDate = unknown;
|
|
48
53
|
|
|
49
|
-
export type
|
|
54
|
+
export type Worker_Interpreters_Synology_SynologyInterpreter_RawTime = unknown;
|
|
50
55
|
|
|
51
|
-
export type
|
|
56
|
+
export type Worker_Interpreters_Synology_SynologyInterpreter_Date = string | undefined;
|
|
52
57
|
|
|
53
|
-
export type
|
|
58
|
+
export type Worker_Interpreters_Synology_SynologyInterpreter_Time = string | undefined;
|
|
54
59
|
|
|
55
|
-
export type
|
|
60
|
+
export type Worker_Interpreters_Synology_SynologyInterpreter_Parts = string;
|
|
56
61
|
|
|
57
|
-
export type
|
|
62
|
+
export type Worker_Interpreters_Synology_SynologyInterpreter_RawSeverity = unknown;
|
|
58
63
|
|
|
59
|
-
export type
|
|
64
|
+
export type Worker_Interpreters_Synology_SynologyInterpreter_Severity = string;
|
|
60
65
|
|
|
61
|
-
export type
|
|
66
|
+
export type Worker_Interpreters_Synology_SynologyInterpreter_RawEvent = unknown;
|
|
62
67
|
|
|
63
|
-
export type
|
|
68
|
+
export type Worker_Interpreters_Synology_SynologyInterpreter_Event = string | undefined;
|
|
64
69
|
|
|
65
|
-
export type
|
|
70
|
+
export type Worker_Interpreters_Synology_SynologyInterpreter_Title = string;
|
|
66
71
|
|
|
67
|
-
export type
|
|
72
|
+
export type Worker_Interpreters_Synology_SynologyInterpreter_Priority = 1 | 2 | 3 | 4 | 5;
|
|
68
73
|
|
|
69
|
-
export type
|
|
74
|
+
export type Worker_Interpreters_Synology_SynologyInterpreter_LowerMessage = string;
|
|
70
75
|
|
|
71
|
-
export type
|
|
76
|
+
export type Worker_Interpreters_Synology_SynologyInterpreter_Tags = string[];
|
|
72
77
|
|
|
73
|
-
export type
|
|
78
|
+
export type Worker_Interpreters_Synology_SynologyInterpreter_SanitizedEvent = string;
|
|
74
79
|
|
|
75
|
-
export type
|
|
80
|
+
export type Worker_Interpreters_Synology_SynologyInterpreter_BodyLines = string[];
|
|
76
81
|
|
|
77
|
-
export type
|
|
82
|
+
export type Worker_Interpreters_Synology_SynologyInterpreter_RawProxyConfigDefault = Record<string, unknown>;
|
|
78
83
|
|
|
79
|
-
export type
|
|
84
|
+
export type Worker_Interpreters_Synology_SynologyInterpreter_ProxyConfig = Record<string, unknown>;
|
|
80
85
|
|
|
81
|
-
|
|
82
|
-
* Worker - Interpreters - Synology - Map Severity To Priority.
|
|
83
|
-
*
|
|
84
|
-
* @since 2.0.0
|
|
85
|
-
*/
|
|
86
|
-
export type WorkerInterpretersSynologyMapSeverityToPrioritySeverity = string;
|
|
86
|
+
export type Worker_Interpreters_Synology_SynologyInterpreter_RawUrl = unknown;
|
|
87
87
|
|
|
88
|
-
export type
|
|
88
|
+
export type Worker_Interpreters_Synology_SynologyInterpreter_DsmUrl = string | undefined;
|
|
89
89
|
|
|
90
90
|
/**
|
|
91
91
|
* Worker - Interpreters - Synology - Validate URL.
|
|
92
92
|
*
|
|
93
93
|
* @since 2.0.0
|
|
94
94
|
*/
|
|
95
|
-
export type
|
|
95
|
+
export type Worker_Interpreters_Synology_ValidateUrl_RawUrl = string;
|
|
96
|
+
|
|
97
|
+
export type Worker_Interpreters_Synology_ValidateUrl_Returns = string | undefined;
|
|
96
98
|
|
|
97
|
-
export type
|
|
99
|
+
export type Worker_Interpreters_Synology_ValidateUrl_Url = URL;
|
|
98
100
|
|
|
99
|
-
export type
|
|
101
|
+
export type Worker_Interpreters_Synology_ValidateUrl_Protocol = string;
|