ntfy-reverse-proxy 2.0.3 → 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 -177
- 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 +268 -159
- 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 +10 -9
- package/build/src/types/tests/type-declarations.test.d.ts +0 -173
- package/build/src/types/worker/pipeline/shared.d.ts +0 -85
|
@@ -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,103 +9,128 @@ import type {
|
|
|
9
9
|
*
|
|
10
10
|
* @since 2.0.0
|
|
11
11
|
*/
|
|
12
|
-
export type
|
|
12
|
+
export type Worker_Interpreters_Unifi_Input = Worker_Pipeline_Interpret_Input;
|
|
13
13
|
|
|
14
|
-
export type
|
|
14
|
+
export type Worker_Interpreters_Unifi_Result = Worker_Pipeline_Interpret_Result;
|
|
15
15
|
|
|
16
|
-
export type
|
|
16
|
+
export type Worker_Interpreters_Unifi_UnifiInterpreter = (input: Worker_Interpreters_Unifi_Input) => Worker_Interpreters_Unifi_Result;
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* Worker - Interpreters - Unifi - Extract Device Tags.
|
|
20
20
|
*
|
|
21
21
|
* @since 2.0.0
|
|
22
22
|
*/
|
|
23
|
-
export type
|
|
23
|
+
export type Worker_Interpreters_Unifi_ExtractDeviceTags_Text = string;
|
|
24
24
|
|
|
25
|
-
export type
|
|
25
|
+
export type Worker_Interpreters_Unifi_ExtractDeviceTags_Returns = string[];
|
|
26
26
|
|
|
27
|
-
export type
|
|
27
|
+
export type Worker_Interpreters_Unifi_ExtractDeviceTags_Lower = string;
|
|
28
28
|
|
|
29
|
-
export type
|
|
29
|
+
export type Worker_Interpreters_Unifi_ExtractDeviceTags_Tags = string[];
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
|
-
* Worker - Interpreters - Unifi -
|
|
32
|
+
* Worker - Interpreters - Unifi - Map Event To Priority.
|
|
33
33
|
*
|
|
34
34
|
* @since 2.0.0
|
|
35
35
|
*/
|
|
36
|
-
export type
|
|
36
|
+
export type Worker_Interpreters_Unifi_MapEventToPriority_Text = string;
|
|
37
37
|
|
|
38
|
-
export type
|
|
38
|
+
export type Worker_Interpreters_Unifi_MapEventToPriority_Returns = Worker_Pipeline_Interpret_NotificationObjectPriority;
|
|
39
39
|
|
|
40
|
-
export type
|
|
40
|
+
export type Worker_Interpreters_Unifi_MapEventToPriority_Lower = string;
|
|
41
41
|
|
|
42
|
-
|
|
42
|
+
/**
|
|
43
|
+
* Worker - Interpreters - Unifi - Map Priority To Emoji Tag.
|
|
44
|
+
*
|
|
45
|
+
* @since 2.0.0
|
|
46
|
+
*/
|
|
47
|
+
export type Worker_Interpreters_Unifi_MapPriorityToEmojiTag_Priority = Worker_Pipeline_Interpret_NotificationObjectPriority;
|
|
43
48
|
|
|
44
|
-
export type
|
|
49
|
+
export type Worker_Interpreters_Unifi_MapPriorityToEmojiTag_Returns = string;
|
|
45
50
|
|
|
46
|
-
|
|
51
|
+
/**
|
|
52
|
+
* Worker - Interpreters - Unifi - Strip Subject Prefix.
|
|
53
|
+
*
|
|
54
|
+
* @since 2.0.0
|
|
55
|
+
*/
|
|
56
|
+
export type Worker_Interpreters_Unifi_StripSubjectPrefix_Subject = string;
|
|
47
57
|
|
|
48
|
-
export type
|
|
58
|
+
export type Worker_Interpreters_Unifi_StripSubjectPrefix_Returns = string;
|
|
49
59
|
|
|
50
|
-
export type
|
|
60
|
+
export type Worker_Interpreters_Unifi_StripSubjectPrefix_Stripped = string;
|
|
51
61
|
|
|
52
|
-
|
|
62
|
+
/**
|
|
63
|
+
* Worker - Interpreters - Unifi - Unifi Interpreter.
|
|
64
|
+
*
|
|
65
|
+
* @since 2.0.0
|
|
66
|
+
*/
|
|
67
|
+
export type Worker_Interpreters_Unifi_UnifiInterpreter_StringPriority = 1 | 2 | 3 | 4 | 5;
|
|
53
68
|
|
|
54
|
-
export type
|
|
69
|
+
export type Worker_Interpreters_Unifi_UnifiInterpreter_StringEmojiTag = string;
|
|
55
70
|
|
|
56
|
-
export type
|
|
71
|
+
export type Worker_Interpreters_Unifi_UnifiInterpreter_Decoder = TextDecoder;
|
|
57
72
|
|
|
58
|
-
export type
|
|
73
|
+
export type Worker_Interpreters_Unifi_UnifiInterpreter_BinaryBody = string;
|
|
59
74
|
|
|
60
|
-
export type
|
|
75
|
+
export type Worker_Interpreters_Unifi_UnifiInterpreter_BinaryPriority = 1 | 2 | 3 | 4 | 5;
|
|
61
76
|
|
|
62
|
-
export type
|
|
77
|
+
export type Worker_Interpreters_Unifi_UnifiInterpreter_BinaryEmojiTag = string;
|
|
63
78
|
|
|
64
|
-
export type
|
|
79
|
+
export type Worker_Interpreters_Unifi_UnifiInterpreter_Data = Record<string, unknown>;
|
|
65
80
|
|
|
66
|
-
export type
|
|
81
|
+
export type Worker_Interpreters_Unifi_UnifiInterpreter_RawSubject = unknown;
|
|
67
82
|
|
|
68
|
-
export type
|
|
83
|
+
export type Worker_Interpreters_Unifi_UnifiInterpreter_Subject = string;
|
|
69
84
|
|
|
70
|
-
export type
|
|
85
|
+
export type Worker_Interpreters_Unifi_UnifiInterpreter_RawTextBody = unknown;
|
|
71
86
|
|
|
72
|
-
export type
|
|
87
|
+
export type Worker_Interpreters_Unifi_UnifiInterpreter_TextBody = string;
|
|
73
88
|
|
|
74
|
-
export type
|
|
89
|
+
export type Worker_Interpreters_Unifi_UnifiInterpreter_EventType = string;
|
|
75
90
|
|
|
76
|
-
export type
|
|
91
|
+
export type Worker_Interpreters_Unifi_UnifiInterpreter_CombinedText = string;
|
|
77
92
|
|
|
78
|
-
export type
|
|
93
|
+
export type Worker_Interpreters_Unifi_UnifiInterpreter_Priority = 1 | 2 | 3 | 4 | 5;
|
|
79
94
|
|
|
80
|
-
export type
|
|
95
|
+
export type Worker_Interpreters_Unifi_UnifiInterpreter_DeviceTags = string[];
|
|
81
96
|
|
|
82
|
-
|
|
83
|
-
* Worker - Interpreters - Unifi - Map Event To Priority.
|
|
84
|
-
*
|
|
85
|
-
* @since 2.0.0
|
|
86
|
-
*/
|
|
87
|
-
export type WorkerInterpretersUnifiMapEventToPriorityText = string;
|
|
97
|
+
export type Worker_Interpreters_Unifi_UnifiInterpreter_EmojiTag = string;
|
|
88
98
|
|
|
89
|
-
export type
|
|
99
|
+
export type Worker_Interpreters_Unifi_UnifiInterpreter_Tags = string[];
|
|
90
100
|
|
|
91
|
-
export type
|
|
101
|
+
export type Worker_Interpreters_Unifi_UnifiInterpreter_AlertMatch = RegExpMatchArray | null;
|
|
92
102
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
103
|
+
export type Worker_Interpreters_Unifi_UnifiInterpreter_DeviceNameMatch = RegExpMatchArray | null;
|
|
104
|
+
|
|
105
|
+
export type Worker_Interpreters_Unifi_UnifiInterpreter_TimeMatch = RegExpMatchArray | null;
|
|
106
|
+
|
|
107
|
+
export type Worker_Interpreters_Unifi_UnifiInterpreter_DeviceUrlMatch = RegExpMatchArray | null;
|
|
108
|
+
|
|
109
|
+
export type Worker_Interpreters_Unifi_UnifiInterpreter_Alert = string | undefined;
|
|
99
110
|
|
|
100
|
-
export type
|
|
111
|
+
export type Worker_Interpreters_Unifi_UnifiInterpreter_DeviceName = string | undefined;
|
|
112
|
+
|
|
113
|
+
export type Worker_Interpreters_Unifi_UnifiInterpreter_Time = string | undefined;
|
|
114
|
+
|
|
115
|
+
export type Worker_Interpreters_Unifi_UnifiInterpreter_DeviceUrl = string | undefined;
|
|
116
|
+
|
|
117
|
+
export type Worker_Interpreters_Unifi_UnifiInterpreter_ValidatedDeviceUrl = string | undefined;
|
|
118
|
+
|
|
119
|
+
export type Worker_Interpreters_Unifi_UnifiInterpreter_BodyLines = string[];
|
|
120
|
+
|
|
121
|
+
export type Worker_Interpreters_Unifi_UnifiInterpreter_Details = string[];
|
|
122
|
+
|
|
123
|
+
export type Worker_Interpreters_Unifi_UnifiInterpreter_Body = string;
|
|
101
124
|
|
|
102
125
|
/**
|
|
103
|
-
* Worker - Interpreters - Unifi -
|
|
126
|
+
* Worker - Interpreters - Unifi - Validate Url.
|
|
104
127
|
*
|
|
105
|
-
* @since 2.
|
|
128
|
+
* @since 2.1.0
|
|
106
129
|
*/
|
|
107
|
-
export type
|
|
130
|
+
export type Worker_Interpreters_Unifi_ValidateUrl_RawUrl = string;
|
|
131
|
+
|
|
132
|
+
export type Worker_Interpreters_Unifi_ValidateUrl_Returns = string | undefined;
|
|
108
133
|
|
|
109
|
-
export type
|
|
134
|
+
export type Worker_Interpreters_Unifi_ValidateUrl_Url = URL;
|
|
110
135
|
|
|
111
|
-
export type
|
|
136
|
+
export type Worker_Interpreters_Unifi_ValidateUrl_Protocol = string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
Lib_Schema_ConfigSchema,
|
|
3
|
+
Lib_Schema_ContextConfig,
|
|
4
|
+
Lib_Schema_ServerConfig,
|
|
5
|
+
Lib_Schema_SettingsConfig,
|
|
6
6
|
} from '../../lib/schema.d.ts';
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -10,35 +10,42 @@ import type {
|
|
|
10
10
|
*
|
|
11
11
|
* @since 2.0.0
|
|
12
12
|
*/
|
|
13
|
-
export type
|
|
13
|
+
export type Worker_Landing_Page_Config = Lib_Schema_ConfigSchema;
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
/**
|
|
16
|
+
* Worker - Landing - Page - Escape HTML.
|
|
17
|
+
*
|
|
18
|
+
* @since 2.0.0
|
|
19
|
+
*/
|
|
20
|
+
export type Worker_Landing_Page_EscapeHtml_Str = string;
|
|
16
21
|
|
|
17
|
-
export type
|
|
22
|
+
export type Worker_Landing_Page_EscapeHtml_Returns = string;
|
|
18
23
|
|
|
19
|
-
|
|
24
|
+
/**
|
|
25
|
+
* Worker - Landing - Page - Landing Page.
|
|
26
|
+
*
|
|
27
|
+
* @since 2.0.0
|
|
28
|
+
*/
|
|
29
|
+
export type Worker_Landing_Page_LandingPage_Returns = Response;
|
|
20
30
|
|
|
21
|
-
export type
|
|
31
|
+
export type Worker_Landing_Page_LandingPage_Settings = Lib_Schema_SettingsConfig & {};
|
|
22
32
|
|
|
23
|
-
export type
|
|
33
|
+
export type Worker_Landing_Page_LandingPage_Servers = Array<Lib_Schema_ServerConfig>;
|
|
24
34
|
|
|
25
|
-
export type
|
|
35
|
+
export type Worker_Landing_Page_LandingPage_Contexts = Array<Lib_Schema_ContextConfig>;
|
|
26
36
|
|
|
27
|
-
export type
|
|
37
|
+
export type Worker_Landing_Page_LandingPage_DebugSection = string;
|
|
28
38
|
|
|
29
|
-
export type
|
|
39
|
+
export type Worker_Landing_Page_LandingPage_MaskedServers = Record<string, string>[];
|
|
30
40
|
|
|
31
|
-
export type
|
|
41
|
+
export type Worker_Landing_Page_LandingPage_MaskedContexts = Record<string, unknown>[];
|
|
32
42
|
|
|
33
|
-
export type
|
|
43
|
+
export type Worker_Landing_Page_LandingPage_Base = Record<string, unknown>;
|
|
34
44
|
|
|
35
|
-
export type
|
|
45
|
+
export type Worker_Landing_Page_LandingPage_MaskedConfig = Record<string, unknown>;
|
|
36
46
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
* @since 2.0.0
|
|
41
|
-
*/
|
|
42
|
-
export type WorkerLandingPageEscapeHtmlStr = string;
|
|
47
|
+
export type Worker_Landing_Page_LandingPage_MaskedJsonRaw = string;
|
|
48
|
+
|
|
49
|
+
export type Worker_Landing_Page_LandingPage_MaskedJson = string;
|
|
43
50
|
|
|
44
|
-
export type
|
|
51
|
+
export type Worker_Landing_Page_LandingPage_Html = string;
|
|
@@ -5,75 +5,89 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
import type {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from '
|
|
8
|
+
Shared_StatusPage_ComponentDiff,
|
|
9
|
+
Shared_StatusPage_ComponentsMap,
|
|
10
|
+
Shared_StatusPage_ComponentState,
|
|
11
|
+
Shared_StatusPage_StoredState,
|
|
12
|
+
} from '../../shared.d.ts';
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
|
-
* Worker - Pipeline - Accumulate -
|
|
15
|
+
* Worker - Pipeline - Accumulate - Diff Components.
|
|
16
16
|
*
|
|
17
17
|
* @since 2.0.0
|
|
18
18
|
*/
|
|
19
|
-
export type
|
|
19
|
+
export type Worker_Pipeline_Accumulate_DiffComponents_Previous = Shared_StatusPage_ComponentsMap;
|
|
20
20
|
|
|
21
|
-
export type
|
|
21
|
+
export type Worker_Pipeline_Accumulate_DiffComponents_Current = Shared_StatusPage_ComponentsMap;
|
|
22
22
|
|
|
23
|
-
export type
|
|
23
|
+
export type Worker_Pipeline_Accumulate_DiffComponents_Returns = Shared_StatusPage_ComponentDiff;
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
25
|
+
export type Worker_Pipeline_Accumulate_DiffComponents_Entry_Name = string;
|
|
26
|
+
|
|
27
|
+
export type Worker_Pipeline_Accumulate_DiffComponents_Entry_OldStatus = string | undefined;
|
|
28
|
+
|
|
29
|
+
export type Worker_Pipeline_Accumulate_DiffComponents_Entry_NewStatus = string;
|
|
30
|
+
|
|
31
|
+
export type Worker_Pipeline_Accumulate_DiffComponents_Entry_Changed = boolean;
|
|
32
|
+
|
|
33
|
+
export type Worker_Pipeline_Accumulate_DiffComponents_Entry = {
|
|
34
|
+
name: Worker_Pipeline_Accumulate_DiffComponents_Entry_Name;
|
|
35
|
+
oldStatus: Worker_Pipeline_Accumulate_DiffComponents_Entry_OldStatus;
|
|
36
|
+
newStatus: Worker_Pipeline_Accumulate_DiffComponents_Entry_NewStatus;
|
|
37
|
+
changed: Worker_Pipeline_Accumulate_DiffComponents_Entry_Changed;
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
export type Worker_Pipeline_Accumulate_DiffComponents_Diff = Worker_Pipeline_Accumulate_DiffComponents_Entry[];
|
|
41
|
+
|
|
42
|
+
export type Worker_Pipeline_Accumulate_DiffComponents_CurrentEntry = Shared_StatusPage_ComponentState | undefined;
|
|
43
|
+
|
|
44
|
+
export type Worker_Pipeline_Accumulate_DiffComponents_Name = string;
|
|
31
45
|
|
|
32
|
-
export type
|
|
46
|
+
export type Worker_Pipeline_Accumulate_DiffComponents_NewStatus = string;
|
|
33
47
|
|
|
34
|
-
export type
|
|
48
|
+
export type Worker_Pipeline_Accumulate_DiffComponents_PreviousEntry = Shared_StatusPage_ComponentState | undefined;
|
|
35
49
|
|
|
36
|
-
export type
|
|
50
|
+
export type Worker_Pipeline_Accumulate_DiffComponents_OldStatus = string | undefined;
|
|
37
51
|
|
|
38
|
-
export type
|
|
52
|
+
export type Worker_Pipeline_Accumulate_DiffComponents_Changed = boolean;
|
|
39
53
|
|
|
40
54
|
/**
|
|
41
55
|
* Worker - Pipeline - Accumulate - Format Component Lines.
|
|
42
56
|
*
|
|
43
57
|
* @since 2.0.0
|
|
44
58
|
*/
|
|
45
|
-
export type
|
|
59
|
+
export type Worker_Pipeline_Accumulate_FormatComponentLines_Diff = Shared_StatusPage_ComponentDiff;
|
|
46
60
|
|
|
47
|
-
export type
|
|
61
|
+
export type Worker_Pipeline_Accumulate_FormatComponentLines_Returns = string[];
|
|
48
62
|
|
|
49
|
-
export type
|
|
63
|
+
export type Worker_Pipeline_Accumulate_FormatComponentLines_CleanName = string;
|
|
50
64
|
|
|
51
|
-
export type
|
|
65
|
+
export type Worker_Pipeline_Accumulate_FormatComponentLines_Humanized = string;
|
|
52
66
|
|
|
53
67
|
/**
|
|
54
68
|
* Worker - Pipeline - Accumulate - Read State.
|
|
55
69
|
*
|
|
56
70
|
* @since 2.0.0
|
|
57
71
|
*/
|
|
58
|
-
export type
|
|
72
|
+
export type Worker_Pipeline_Accumulate_ReadState_Kv = KVNamespace;
|
|
59
73
|
|
|
60
|
-
export type
|
|
74
|
+
export type Worker_Pipeline_Accumulate_ReadState_PageId = string;
|
|
61
75
|
|
|
62
|
-
export type
|
|
76
|
+
export type Worker_Pipeline_Accumulate_ReadState_Returns = Promise<Shared_StatusPage_StoredState | null>;
|
|
63
77
|
|
|
64
|
-
export type
|
|
78
|
+
export type Worker_Pipeline_Accumulate_ReadState_Raw = string | null;
|
|
65
79
|
|
|
66
80
|
/**
|
|
67
81
|
* Worker - Pipeline - Accumulate - Write State.
|
|
68
82
|
*
|
|
69
83
|
* @since 2.0.0
|
|
70
84
|
*/
|
|
71
|
-
export type
|
|
85
|
+
export type Worker_Pipeline_Accumulate_WriteState_Kv = KVNamespace;
|
|
72
86
|
|
|
73
|
-
export type
|
|
87
|
+
export type Worker_Pipeline_Accumulate_WriteState_PageId = string;
|
|
74
88
|
|
|
75
|
-
export type
|
|
89
|
+
export type Worker_Pipeline_Accumulate_WriteState_State = Shared_StatusPage_StoredState;
|
|
76
90
|
|
|
77
|
-
export type
|
|
91
|
+
export type Worker_Pipeline_Accumulate_WriteState_Returns = Promise<void>;
|
|
78
92
|
|
|
79
|
-
export type
|
|
93
|
+
export type Worker_Pipeline_Accumulate_WriteState_SerializedState = string;
|
|
@@ -3,66 +3,126 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @since 2.0.0
|
|
5
5
|
*/
|
|
6
|
-
export type
|
|
6
|
+
export type Worker_Pipeline_Authenticate_AuthConfigToken = string;
|
|
7
7
|
|
|
8
|
-
export type
|
|
8
|
+
export type Worker_Pipeline_Authenticate_AuthConfigAllowedFrom = string;
|
|
9
9
|
|
|
10
|
-
export type
|
|
10
|
+
export type Worker_Pipeline_Authenticate_AuthConfigTypeHttp = 'http';
|
|
11
11
|
|
|
12
|
-
export type
|
|
12
|
+
export type Worker_Pipeline_Authenticate_AuthConfigTypeEmail = 'email';
|
|
13
13
|
|
|
14
|
-
export type
|
|
15
|
-
type:
|
|
16
|
-
token?:
|
|
14
|
+
export type Worker_Pipeline_Authenticate_AuthConfig = {
|
|
15
|
+
type: Worker_Pipeline_Authenticate_AuthConfigTypeHttp;
|
|
16
|
+
token?: Worker_Pipeline_Authenticate_AuthConfigToken;
|
|
17
17
|
} | {
|
|
18
|
-
type:
|
|
19
|
-
allowed_from?:
|
|
18
|
+
type: Worker_Pipeline_Authenticate_AuthConfigTypeEmail;
|
|
19
|
+
allowed_from?: Worker_Pipeline_Authenticate_AuthConfigAllowedFrom;
|
|
20
20
|
};
|
|
21
21
|
|
|
22
|
-
export type
|
|
22
|
+
export type Worker_Pipeline_Authenticate_CredentialsAuthorization = string | undefined;
|
|
23
23
|
|
|
24
|
-
export type
|
|
24
|
+
export type Worker_Pipeline_Authenticate_CredentialsFrom = string | undefined;
|
|
25
25
|
|
|
26
|
-
export type
|
|
27
|
-
authorization:
|
|
28
|
-
from:
|
|
26
|
+
export type Worker_Pipeline_Authenticate_Credentials = {
|
|
27
|
+
authorization: Worker_Pipeline_Authenticate_CredentialsAuthorization;
|
|
28
|
+
from: Worker_Pipeline_Authenticate_CredentialsFrom;
|
|
29
29
|
};
|
|
30
30
|
|
|
31
|
-
export type
|
|
31
|
+
export type Worker_Pipeline_Authenticate_ResultSuccessAuthenticated = true;
|
|
32
32
|
|
|
33
|
-
export type
|
|
34
|
-
authenticated:
|
|
33
|
+
export type Worker_Pipeline_Authenticate_ResultSuccess = {
|
|
34
|
+
authenticated: Worker_Pipeline_Authenticate_ResultSuccessAuthenticated;
|
|
35
35
|
};
|
|
36
36
|
|
|
37
|
-
export type
|
|
37
|
+
export type Worker_Pipeline_Authenticate_ResultFailureAuthenticated = false;
|
|
38
38
|
|
|
39
|
-
export type
|
|
39
|
+
export type Worker_Pipeline_Authenticate_ResultFailureReason = string;
|
|
40
40
|
|
|
41
|
-
export type
|
|
42
|
-
authenticated:
|
|
43
|
-
reason:
|
|
41
|
+
export type Worker_Pipeline_Authenticate_ResultFailure = {
|
|
42
|
+
authenticated: Worker_Pipeline_Authenticate_ResultFailureAuthenticated;
|
|
43
|
+
reason: Worker_Pipeline_Authenticate_ResultFailureReason;
|
|
44
44
|
};
|
|
45
45
|
|
|
46
|
-
export type
|
|
46
|
+
export type Worker_Pipeline_Authenticate_Result = Worker_Pipeline_Authenticate_ResultSuccess | Worker_Pipeline_Authenticate_ResultFailure;
|
|
47
47
|
|
|
48
|
-
export type
|
|
48
|
+
export type Worker_Pipeline_Authenticate_Token = string | undefined;
|
|
49
49
|
|
|
50
|
-
export type
|
|
50
|
+
export type Worker_Pipeline_Authenticate_Authorization = string | undefined;
|
|
51
51
|
|
|
52
|
-
export type
|
|
52
|
+
export type Worker_Pipeline_Authenticate_IsBearerMatch = boolean;
|
|
53
53
|
|
|
54
|
-
export type
|
|
54
|
+
export type Worker_Pipeline_Authenticate_IsRawMatch = boolean;
|
|
55
55
|
|
|
56
|
-
export type
|
|
56
|
+
export type Worker_Pipeline_Authenticate_AllowedFrom = string | undefined;
|
|
57
57
|
|
|
58
|
-
export type
|
|
58
|
+
export type Worker_Pipeline_Authenticate_From = string | undefined;
|
|
59
59
|
|
|
60
|
-
export type
|
|
60
|
+
export type Worker_Pipeline_Authenticate_NormalizedAllowedFrom = string;
|
|
61
61
|
|
|
62
|
-
export type
|
|
62
|
+
export type Worker_Pipeline_Authenticate_NormalizedFrom = string;
|
|
63
63
|
|
|
64
|
-
export type
|
|
64
|
+
export type Worker_Pipeline_Authenticate_AllowedDomain = string;
|
|
65
65
|
|
|
66
|
-
export type
|
|
66
|
+
export type Worker_Pipeline_Authenticate_AtIndex = number;
|
|
67
67
|
|
|
68
|
-
export type
|
|
68
|
+
export type Worker_Pipeline_Authenticate_FromDomain = string;
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Worker - Pipeline - Authenticate - Authenticate.
|
|
72
|
+
*
|
|
73
|
+
* @since 2.0.0
|
|
74
|
+
*/
|
|
75
|
+
export type Worker_Pipeline_Authenticate_Authenticate_ReturnsSuccessAuthenticated = true;
|
|
76
|
+
|
|
77
|
+
export type Worker_Pipeline_Authenticate_Authenticate_ReturnsSuccess = {
|
|
78
|
+
authenticated: Worker_Pipeline_Authenticate_Authenticate_ReturnsSuccessAuthenticated;
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
export type Worker_Pipeline_Authenticate_Authenticate_ReturnsFailureAuthenticated = false;
|
|
82
|
+
|
|
83
|
+
export type Worker_Pipeline_Authenticate_Authenticate_ReturnsFailureReason = string;
|
|
84
|
+
|
|
85
|
+
export type Worker_Pipeline_Authenticate_Authenticate_ReturnsFailure = {
|
|
86
|
+
authenticated: Worker_Pipeline_Authenticate_Authenticate_ReturnsFailureAuthenticated;
|
|
87
|
+
reason: Worker_Pipeline_Authenticate_Authenticate_ReturnsFailureReason;
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
export type Worker_Pipeline_Authenticate_Authenticate_Returns = Worker_Pipeline_Authenticate_Authenticate_ReturnsSuccess | Worker_Pipeline_Authenticate_Authenticate_ReturnsFailure;
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Worker - Pipeline - Authenticate - Timing Safe Equal.
|
|
94
|
+
*
|
|
95
|
+
* @since 2.1.0
|
|
96
|
+
*/
|
|
97
|
+
export type Worker_Pipeline_Authenticate_TimingSafeEqual_A = string;
|
|
98
|
+
|
|
99
|
+
export type Worker_Pipeline_Authenticate_TimingSafeEqual_B = string;
|
|
100
|
+
|
|
101
|
+
export type Worker_Pipeline_Authenticate_TimingSafeEqual_Returns = boolean;
|
|
102
|
+
|
|
103
|
+
export type Worker_Pipeline_Authenticate_TimingSafeEqual_BytesA = Uint8Array;
|
|
104
|
+
|
|
105
|
+
export type Worker_Pipeline_Authenticate_TimingSafeEqual_BytesB = Uint8Array;
|
|
106
|
+
|
|
107
|
+
export type Worker_Pipeline_Authenticate_TimingSafeEqual_MaxLength = number;
|
|
108
|
+
|
|
109
|
+
export type Worker_Pipeline_Authenticate_TimingSafeEqual_PaddedA = Uint8Array;
|
|
110
|
+
|
|
111
|
+
export type Worker_Pipeline_Authenticate_TimingSafeEqual_PaddedB = Uint8Array;
|
|
112
|
+
|
|
113
|
+
export type Worker_Pipeline_Authenticate_TimingSafeEqual_LengthMatch = boolean;
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Worker - Pipeline - Authenticate - Timing Safe Equal - Reducer.
|
|
117
|
+
*
|
|
118
|
+
* @since 2.1.0
|
|
119
|
+
*/
|
|
120
|
+
export type Worker_Pipeline_Authenticate_TimingSafeEqual_Reducer_Reducer = (acc: Worker_Pipeline_Authenticate_TimingSafeEqual_Reducer_Acc, byte: Worker_Pipeline_Authenticate_TimingSafeEqual_Reducer_Byte, i: Worker_Pipeline_Authenticate_TimingSafeEqual_Reducer_Index) => number;
|
|
121
|
+
|
|
122
|
+
export type Worker_Pipeline_Authenticate_TimingSafeEqual_Reducer_Acc = number;
|
|
123
|
+
|
|
124
|
+
export type Worker_Pipeline_Authenticate_TimingSafeEqual_Reducer_Byte = number;
|
|
125
|
+
|
|
126
|
+
export type Worker_Pipeline_Authenticate_TimingSafeEqual_Reducer_Index = number;
|
|
127
|
+
|
|
128
|
+
export type Worker_Pipeline_Authenticate_TimingSafeEqual_Mismatches = number;
|