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.
Files changed (192) hide show
  1. package/LICENSE +22 -0
  2. package/README.md +10 -0
  3. package/build/src/cli/commands/config-io.d.ts +3 -3
  4. package/build/src/cli/commands/config-io.d.ts.map +1 -1
  5. package/build/src/cli/commands/config-io.js +1 -1
  6. package/build/src/cli/commands/config-io.js.map +1 -1
  7. package/build/src/cli/commands/context.d.ts +7 -7
  8. package/build/src/cli/commands/context.d.ts.map +1 -1
  9. package/build/src/cli/commands/context.js +1 -1
  10. package/build/src/cli/commands/context.js.map +1 -1
  11. package/build/src/cli/commands/deploy.d.ts +2 -2
  12. package/build/src/cli/commands/deploy.d.ts.map +1 -1
  13. package/build/src/cli/commands/deploy.js +72 -30
  14. package/build/src/cli/commands/deploy.js.map +1 -1
  15. package/build/src/cli/commands/generate.d.ts +2 -2
  16. package/build/src/cli/commands/generate.d.ts.map +1 -1
  17. package/build/src/cli/commands/generate.js +3 -3
  18. package/build/src/cli/commands/generate.js.map +1 -1
  19. package/build/src/cli/commands/server.d.ts +5 -5
  20. package/build/src/cli/commands/server.d.ts.map +1 -1
  21. package/build/src/cli/commands/server.js.map +1 -1
  22. package/build/src/cli/commands/settings.d.ts +3 -3
  23. package/build/src/cli/commands/settings.d.ts.map +1 -1
  24. package/build/src/cli/commands/settings.js.map +1 -1
  25. package/build/src/cli/commands/validate.d.ts +2 -2
  26. package/build/src/cli/commands/validate.d.ts.map +1 -1
  27. package/build/src/cli/commands/validate.js +3 -0
  28. package/build/src/cli/commands/validate.js.map +1 -1
  29. package/build/src/cli/index.d.ts +2 -2
  30. package/build/src/cli/index.d.ts.map +1 -1
  31. package/build/src/cli/index.js +4 -4
  32. package/build/src/cli/index.js.map +1 -1
  33. package/build/src/cli/menu/interactive.d.ts +2 -2
  34. package/build/src/cli/menu/interactive.d.ts.map +1 -1
  35. package/build/src/cli/menu/interactive.js +174 -84
  36. package/build/src/cli/menu/interactive.js.map +1 -1
  37. package/build/src/lib/regex.d.ts +4 -1
  38. package/build/src/lib/regex.d.ts.map +1 -1
  39. package/build/src/lib/regex.js +4 -1
  40. package/build/src/lib/regex.js.map +1 -1
  41. package/build/src/lib/schema.d.ts +24 -0
  42. package/build/src/lib/schema.d.ts.map +1 -1
  43. package/build/src/lib/schema.js +11 -2
  44. package/build/src/lib/schema.js.map +1 -1
  45. package/build/src/lib/utility.d.ts +2 -2
  46. package/build/src/lib/utility.d.ts.map +1 -1
  47. package/build/src/lib/utility.js +1 -1
  48. package/build/src/lib/utility.js.map +1 -1
  49. package/build/src/types/cli/commands/config-io.d.ts +12 -12
  50. package/build/src/types/cli/commands/context.d.ts +96 -58
  51. package/build/src/types/cli/commands/deploy.d.ts +342 -298
  52. package/build/src/types/cli/commands/generate.d.ts +40 -24
  53. package/build/src/types/cli/commands/server.d.ts +23 -23
  54. package/build/src/types/cli/commands/settings.d.ts +8 -8
  55. package/build/src/types/cli/commands/validate.d.ts +16 -16
  56. package/build/src/types/cli/index.d.ts +16 -20
  57. package/build/src/types/cli/menu/interactive.d.ts +233 -178
  58. package/build/src/types/lib/schema.d.ts +89 -81
  59. package/build/src/types/lib/utility.d.ts +4 -2
  60. package/build/src/types/shared.d.ts +85 -0
  61. package/build/src/types/tests/cli/commands/context.test.d.ts +102 -31
  62. package/build/src/types/tests/cli/commands/generate.test.d.ts +50 -4
  63. package/build/src/types/tests/cli/commands/server.test.d.ts +88 -23
  64. package/build/src/types/tests/cli/commands/settings.test.d.ts +65 -21
  65. package/build/src/types/tests/cli/commands/validate.test.d.ts +69 -8
  66. package/build/src/types/tests/cli/menu/interactive.test.d.ts +2 -2
  67. package/build/src/types/tests/lib/schema.test.d.ts +258 -3
  68. package/build/src/types/tests/worker/index.test.d.ts +166 -8
  69. package/build/src/types/tests/worker/interpreters/ntfy-json.test.d.ts +94 -10
  70. package/build/src/types/tests/worker/interpreters/pfsense.test.d.ts +163 -4
  71. package/build/src/types/tests/worker/interpreters/plain-text.test.d.ts +67 -4
  72. package/build/src/types/tests/worker/interpreters/seerr.test.d.ts +138 -3
  73. package/build/src/types/tests/worker/interpreters/statuspage.test.d.ts +235 -30
  74. package/build/src/types/tests/worker/interpreters/synology.test.d.ts +61 -3
  75. package/build/src/types/tests/worker/interpreters/unifi.test.d.ts +93 -3
  76. package/build/src/types/tests/worker/landing/page.test.d.ts +73 -50
  77. package/build/src/types/tests/worker/pipeline/accumulate.test.d.ts +226 -15
  78. package/build/src/types/tests/worker/pipeline/authenticate.test.d.ts +148 -4
  79. package/build/src/types/tests/worker/pipeline/email.test.d.ts +82 -8
  80. package/build/src/types/tests/worker/pipeline/format.test.d.ts +112 -32
  81. package/build/src/types/tests/worker/pipeline/interpret.test.d.ts +109 -17
  82. package/build/src/types/tests/worker/pipeline/parse.test.d.ts +70 -5
  83. package/build/src/types/tests/worker/pipeline/receive.test.d.ts +156 -15
  84. package/build/src/types/tests/worker/pipeline/respond.test.d.ts +129 -10
  85. package/build/src/types/tests/worker/pipeline/route.test.d.ts +412 -74
  86. package/build/src/types/tests/worker/pipeline/send.test.d.ts +58 -23
  87. package/build/src/types/tests/worker/pipeline/split.test.d.ts +47 -9
  88. package/build/src/types/worker/handlers.d.ts +193 -0
  89. package/build/src/types/worker/index.d.ts +58 -177
  90. package/build/src/types/worker/interpreters/ntfy-json.d.ts +10 -10
  91. package/build/src/types/worker/interpreters/pfsense.d.ts +57 -49
  92. package/build/src/types/worker/interpreters/plain-text.d.ts +7 -7
  93. package/build/src/types/worker/interpreters/seerr.d.ts +63 -61
  94. package/build/src/types/worker/interpreters/statuspage.d.ts +201 -116
  95. package/build/src/types/worker/interpreters/synology.d.ts +48 -46
  96. package/build/src/types/worker/interpreters/unifi.d.ts +79 -54
  97. package/build/src/types/worker/landing/page.d.ts +30 -23
  98. package/build/src/types/worker/pipeline/accumulate.d.ts +46 -32
  99. package/build/src/types/worker/pipeline/authenticate.d.ts +94 -34
  100. package/build/src/types/worker/pipeline/email.d.ts +114 -50
  101. package/build/src/types/worker/pipeline/format.d.ts +31 -23
  102. package/build/src/types/worker/pipeline/interpret.d.ts +34 -34
  103. package/build/src/types/worker/pipeline/parse.d.ts +25 -19
  104. package/build/src/types/worker/pipeline/receive.d.ts +36 -34
  105. package/build/src/types/worker/pipeline/respond.d.ts +119 -63
  106. package/build/src/types/worker/pipeline/route.d.ts +33 -16
  107. package/build/src/types/worker/pipeline/send.d.ts +116 -79
  108. package/build/src/types/worker/pipeline/split.d.ts +21 -16
  109. package/build/src/worker/handlers.d.ts +5 -4
  110. package/build/src/worker/handlers.d.ts.map +1 -1
  111. package/build/src/worker/handlers.js +268 -159
  112. package/build/src/worker/handlers.js.map +1 -1
  113. package/build/src/worker/index.d.ts +2 -2
  114. package/build/src/worker/index.d.ts.map +1 -1
  115. package/build/src/worker/index.js +37 -9
  116. package/build/src/worker/index.js.map +1 -1
  117. package/build/src/worker/interpreters/ntfy-json.d.ts +2 -2
  118. package/build/src/worker/interpreters/ntfy-json.d.ts.map +1 -1
  119. package/build/src/worker/interpreters/ntfy-json.js.map +1 -1
  120. package/build/src/worker/interpreters/pfsense.d.ts +2 -2
  121. package/build/src/worker/interpreters/pfsense.d.ts.map +1 -1
  122. package/build/src/worker/interpreters/pfsense.js +20 -27
  123. package/build/src/worker/interpreters/pfsense.js.map +1 -1
  124. package/build/src/worker/interpreters/plain-text.d.ts +2 -2
  125. package/build/src/worker/interpreters/plain-text.d.ts.map +1 -1
  126. package/build/src/worker/interpreters/plain-text.js.map +1 -1
  127. package/build/src/worker/interpreters/seerr.d.ts +2 -2
  128. package/build/src/worker/interpreters/seerr.d.ts.map +1 -1
  129. package/build/src/worker/interpreters/seerr.js +16 -12
  130. package/build/src/worker/interpreters/seerr.js.map +1 -1
  131. package/build/src/worker/interpreters/statuspage.d.ts +2 -2
  132. package/build/src/worker/interpreters/statuspage.d.ts.map +1 -1
  133. package/build/src/worker/interpreters/statuspage.js +98 -47
  134. package/build/src/worker/interpreters/statuspage.js.map +1 -1
  135. package/build/src/worker/interpreters/synology.d.ts +2 -2
  136. package/build/src/worker/interpreters/synology.d.ts.map +1 -1
  137. package/build/src/worker/interpreters/synology.js +9 -5
  138. package/build/src/worker/interpreters/synology.js.map +1 -1
  139. package/build/src/worker/interpreters/unifi.d.ts +2 -2
  140. package/build/src/worker/interpreters/unifi.d.ts.map +1 -1
  141. package/build/src/worker/interpreters/unifi.js +34 -20
  142. package/build/src/worker/interpreters/unifi.js.map +1 -1
  143. package/build/src/worker/landing/page.d.ts +2 -2
  144. package/build/src/worker/landing/page.d.ts.map +1 -1
  145. package/build/src/worker/landing/page.js +4 -3
  146. package/build/src/worker/landing/page.js.map +1 -1
  147. package/build/src/worker/pipeline/accumulate.d.ts +5 -6
  148. package/build/src/worker/pipeline/accumulate.d.ts.map +1 -1
  149. package/build/src/worker/pipeline/accumulate.js +4 -11
  150. package/build/src/worker/pipeline/accumulate.js.map +1 -1
  151. package/build/src/worker/pipeline/authenticate.d.ts +2 -2
  152. package/build/src/worker/pipeline/authenticate.d.ts.map +1 -1
  153. package/build/src/worker/pipeline/authenticate.js +25 -7
  154. package/build/src/worker/pipeline/authenticate.js.map +1 -1
  155. package/build/src/worker/pipeline/email.d.ts +2 -2
  156. package/build/src/worker/pipeline/email.d.ts.map +1 -1
  157. package/build/src/worker/pipeline/email.js +34 -11
  158. package/build/src/worker/pipeline/email.js.map +1 -1
  159. package/build/src/worker/pipeline/format.d.ts +2 -3
  160. package/build/src/worker/pipeline/format.d.ts.map +1 -1
  161. package/build/src/worker/pipeline/format.js +2 -1
  162. package/build/src/worker/pipeline/format.js.map +1 -1
  163. package/build/src/worker/pipeline/interpret.d.ts +4 -3
  164. package/build/src/worker/pipeline/interpret.d.ts.map +1 -1
  165. package/build/src/worker/pipeline/interpret.js +7 -7
  166. package/build/src/worker/pipeline/interpret.js.map +1 -1
  167. package/build/src/worker/pipeline/parse.d.ts +2 -2
  168. package/build/src/worker/pipeline/parse.d.ts.map +1 -1
  169. package/build/src/worker/pipeline/parse.js +14 -7
  170. package/build/src/worker/pipeline/parse.js.map +1 -1
  171. package/build/src/worker/pipeline/receive.d.ts +2 -2
  172. package/build/src/worker/pipeline/receive.d.ts.map +1 -1
  173. package/build/src/worker/pipeline/receive.js +6 -6
  174. package/build/src/worker/pipeline/receive.js.map +1 -1
  175. package/build/src/worker/pipeline/respond.d.ts +2 -2
  176. package/build/src/worker/pipeline/respond.d.ts.map +1 -1
  177. package/build/src/worker/pipeline/respond.js +1 -1
  178. package/build/src/worker/pipeline/respond.js.map +1 -1
  179. package/build/src/worker/pipeline/route.d.ts +2 -3
  180. package/build/src/worker/pipeline/route.d.ts.map +1 -1
  181. package/build/src/worker/pipeline/route.js.map +1 -1
  182. package/build/src/worker/pipeline/send.d.ts +2 -2
  183. package/build/src/worker/pipeline/send.d.ts.map +1 -1
  184. package/build/src/worker/pipeline/send.js +80 -41
  185. package/build/src/worker/pipeline/send.js.map +1 -1
  186. package/build/src/worker/pipeline/split.d.ts +2 -2
  187. package/build/src/worker/pipeline/split.d.ts.map +1 -1
  188. package/build/src/worker/pipeline/split.js +4 -2
  189. package/build/src/worker/pipeline/split.js.map +1 -1
  190. package/package.json +10 -9
  191. package/build/src/types/tests/type-declarations.test.d.ts +0 -173
  192. package/build/src/types/worker/pipeline/shared.d.ts +0 -85
@@ -1,7 +1,7 @@
1
1
  import type {
2
- WorkerPipelineInterpretInput,
3
- WorkerPipelineInterpretNotificationObjectPriority,
4
- WorkerPipelineInterpretResult,
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 WorkerInterpretersUnifiInput = WorkerPipelineInterpretInput;
12
+ export type Worker_Interpreters_Unifi_Input = Worker_Pipeline_Interpret_Input;
13
13
 
14
- export type WorkerInterpretersUnifiResult = WorkerPipelineInterpretResult;
14
+ export type Worker_Interpreters_Unifi_Result = Worker_Pipeline_Interpret_Result;
15
15
 
16
- export type WorkerInterpretersUnifiInterpreter = (input: WorkerInterpretersUnifiInput) => WorkerInterpretersUnifiResult;
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 WorkerInterpretersUnifiExtractDeviceTagsText = string;
23
+ export type Worker_Interpreters_Unifi_ExtractDeviceTags_Text = string;
24
24
 
25
- export type WorkerInterpretersUnifiExtractDeviceTagsReturns = string[];
25
+ export type Worker_Interpreters_Unifi_ExtractDeviceTags_Returns = string[];
26
26
 
27
- export type WorkerInterpretersUnifiExtractDeviceTagsLower = string;
27
+ export type Worker_Interpreters_Unifi_ExtractDeviceTags_Lower = string;
28
28
 
29
- export type WorkerInterpretersUnifiExtractDeviceTagsTags = string[];
29
+ export type Worker_Interpreters_Unifi_ExtractDeviceTags_Tags = string[];
30
30
 
31
31
  /**
32
- * Worker - Interpreters - Unifi - Interpreter.
32
+ * Worker - Interpreters - Unifi - Map Event To Priority.
33
33
  *
34
34
  * @since 2.0.0
35
35
  */
36
- export type WorkerInterpretersUnifiInterpreterPriority = WorkerPipelineInterpretNotificationObjectPriority;
36
+ export type Worker_Interpreters_Unifi_MapEventToPriority_Text = string;
37
37
 
38
- export type WorkerInterpretersUnifiInterpreterEmojiTag = string;
38
+ export type Worker_Interpreters_Unifi_MapEventToPriority_Returns = Worker_Pipeline_Interpret_NotificationObjectPriority;
39
39
 
40
- export type WorkerInterpretersUnifiInterpreterDecoder = TextDecoder;
40
+ export type Worker_Interpreters_Unifi_MapEventToPriority_Lower = string;
41
41
 
42
- export type WorkerInterpretersUnifiInterpreterBody = string;
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 WorkerInterpretersUnifiInterpreterData = Record<string, unknown>;
49
+ export type Worker_Interpreters_Unifi_MapPriorityToEmojiTag_Returns = string;
45
50
 
46
- export type WorkerInterpretersUnifiInterpreterRawSubject = unknown;
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 WorkerInterpretersUnifiInterpreterSubject = string;
58
+ export type Worker_Interpreters_Unifi_StripSubjectPrefix_Returns = string;
49
59
 
50
- export type WorkerInterpretersUnifiInterpreterRawTextBody = unknown;
60
+ export type Worker_Interpreters_Unifi_StripSubjectPrefix_Stripped = string;
51
61
 
52
- export type WorkerInterpretersUnifiInterpreterTextBody = string;
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 WorkerInterpretersUnifiInterpreterEventType = string;
69
+ export type Worker_Interpreters_Unifi_UnifiInterpreter_StringEmojiTag = string;
55
70
 
56
- export type WorkerInterpretersUnifiInterpreterCombinedText = string;
71
+ export type Worker_Interpreters_Unifi_UnifiInterpreter_Decoder = TextDecoder;
57
72
 
58
- export type WorkerInterpretersUnifiInterpreterDeviceTags = string[];
73
+ export type Worker_Interpreters_Unifi_UnifiInterpreter_BinaryBody = string;
59
74
 
60
- export type WorkerInterpretersUnifiInterpreterTags = string[];
75
+ export type Worker_Interpreters_Unifi_UnifiInterpreter_BinaryPriority = 1 | 2 | 3 | 4 | 5;
61
76
 
62
- export type WorkerInterpretersUnifiInterpreterAlertMatch = RegExpMatchArray | null;
77
+ export type Worker_Interpreters_Unifi_UnifiInterpreter_BinaryEmojiTag = string;
63
78
 
64
- export type WorkerInterpretersUnifiInterpreterDeviceNameMatch = RegExpMatchArray | null;
79
+ export type Worker_Interpreters_Unifi_UnifiInterpreter_Data = Record<string, unknown>;
65
80
 
66
- export type WorkerInterpretersUnifiInterpreterTimeMatch = RegExpMatchArray | null;
81
+ export type Worker_Interpreters_Unifi_UnifiInterpreter_RawSubject = unknown;
67
82
 
68
- export type WorkerInterpretersUnifiInterpreterDeviceUrlMatch = RegExpMatchArray | null;
83
+ export type Worker_Interpreters_Unifi_UnifiInterpreter_Subject = string;
69
84
 
70
- export type WorkerInterpretersUnifiInterpreterAlert = string | undefined;
85
+ export type Worker_Interpreters_Unifi_UnifiInterpreter_RawTextBody = unknown;
71
86
 
72
- export type WorkerInterpretersUnifiInterpreterDeviceName = string | undefined;
87
+ export type Worker_Interpreters_Unifi_UnifiInterpreter_TextBody = string;
73
88
 
74
- export type WorkerInterpretersUnifiInterpreterTime = string | undefined;
89
+ export type Worker_Interpreters_Unifi_UnifiInterpreter_EventType = string;
75
90
 
76
- export type WorkerInterpretersUnifiInterpreterDeviceUrl = string | undefined;
91
+ export type Worker_Interpreters_Unifi_UnifiInterpreter_CombinedText = string;
77
92
 
78
- export type WorkerInterpretersUnifiInterpreterBodyLines = string[];
93
+ export type Worker_Interpreters_Unifi_UnifiInterpreter_Priority = 1 | 2 | 3 | 4 | 5;
79
94
 
80
- export type WorkerInterpretersUnifiInterpreterDetails = string[];
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 WorkerInterpretersUnifiMapEventToPriorityReturns = WorkerPipelineInterpretNotificationObjectPriority;
99
+ export type Worker_Interpreters_Unifi_UnifiInterpreter_Tags = string[];
90
100
 
91
- export type WorkerInterpretersUnifiMapEventToPriorityLower = string;
101
+ export type Worker_Interpreters_Unifi_UnifiInterpreter_AlertMatch = RegExpMatchArray | null;
92
102
 
93
- /**
94
- * Worker - Interpreters - Unifi - Map Priority To Emoji Tag.
95
- *
96
- * @since 2.0.0
97
- */
98
- export type WorkerInterpretersUnifiMapPriorityToEmojiTagPriority = WorkerPipelineInterpretNotificationObjectPriority;
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 WorkerInterpretersUnifiMapPriorityToEmojiTagReturns = string;
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 - Strip Subject Prefix.
126
+ * Worker - Interpreters - Unifi - Validate Url.
104
127
  *
105
- * @since 2.0.0
128
+ * @since 2.1.0
106
129
  */
107
- export type WorkerInterpretersUnifiStripSubjectPrefixSubject = string;
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 WorkerInterpretersUnifiStripSubjectPrefixReturns = string;
134
+ export type Worker_Interpreters_Unifi_ValidateUrl_Url = URL;
110
135
 
111
- export type WorkerInterpretersUnifiStripSubjectPrefixStripped = string;
136
+ export type Worker_Interpreters_Unifi_ValidateUrl_Protocol = string;
@@ -1,8 +1,8 @@
1
1
  import type {
2
- LibSchemaConfigSchema,
3
- LibSchemaConfigSchemaContexts,
4
- LibSchemaConfigSchemaServers,
5
- LibSchemaConfigSchemaSettings,
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 WorkerLandingPageConfig = LibSchemaConfigSchema;
13
+ export type Worker_Landing_Page_Config = Lib_Schema_ConfigSchema;
14
14
 
15
- export type WorkerLandingPageResponse = Response;
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 WorkerLandingPageSettings = LibSchemaConfigSchemaSettings;
22
+ export type Worker_Landing_Page_EscapeHtml_Returns = string;
18
23
 
19
- export type WorkerLandingPageServers = LibSchemaConfigSchemaServers;
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 WorkerLandingPageContexts = LibSchemaConfigSchemaContexts;
31
+ export type Worker_Landing_Page_LandingPage_Settings = Lib_Schema_SettingsConfig & {};
22
32
 
23
- export type WorkerLandingPageDebugSection = string;
33
+ export type Worker_Landing_Page_LandingPage_Servers = Array<Lib_Schema_ServerConfig>;
24
34
 
25
- export type WorkerLandingPageMaskedServers = Record<string, string>[];
35
+ export type Worker_Landing_Page_LandingPage_Contexts = Array<Lib_Schema_ContextConfig>;
26
36
 
27
- export type WorkerLandingPageMaskedContexts = Record<string, unknown>[];
37
+ export type Worker_Landing_Page_LandingPage_DebugSection = string;
28
38
 
29
- export type WorkerLandingPageBase = Record<string, unknown>;
39
+ export type Worker_Landing_Page_LandingPage_MaskedServers = Record<string, string>[];
30
40
 
31
- export type WorkerLandingPageMaskedConfig = Record<string, unknown>;
41
+ export type Worker_Landing_Page_LandingPage_MaskedContexts = Record<string, unknown>[];
32
42
 
33
- export type WorkerLandingPageMaskedJson = string;
43
+ export type Worker_Landing_Page_LandingPage_Base = Record<string, unknown>;
34
44
 
35
- export type WorkerLandingPageHtml = string;
45
+ export type Worker_Landing_Page_LandingPage_MaskedConfig = Record<string, unknown>;
36
46
 
37
- /**
38
- * Worker - Landing - Page - Escape HTML.
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 WorkerLandingPageEscapeHtmlReturns = string;
51
+ export type Worker_Landing_Page_LandingPage_Html = string;
@@ -5,75 +5,89 @@
5
5
  */
6
6
 
7
7
  import type {
8
- WorkerPipelineSharedComponentDiff,
9
- WorkerPipelineSharedComponentsMap,
10
- WorkerPipelineSharedComponentState,
11
- WorkerPipelineSharedStoredState,
12
- } from './shared.d.ts';
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 - Delete State.
15
+ * Worker - Pipeline - Accumulate - Diff Components.
16
16
  *
17
17
  * @since 2.0.0
18
18
  */
19
- export type WorkerPipelineAccumulateDeleteStateKv = KVNamespace;
19
+ export type Worker_Pipeline_Accumulate_DiffComponents_Previous = Shared_StatusPage_ComponentsMap;
20
20
 
21
- export type WorkerPipelineAccumulateDeleteStatePageId = string;
21
+ export type Worker_Pipeline_Accumulate_DiffComponents_Current = Shared_StatusPage_ComponentsMap;
22
22
 
23
- export type WorkerPipelineAccumulateDeleteStateReturns = Promise<void>;
23
+ export type Worker_Pipeline_Accumulate_DiffComponents_Returns = Shared_StatusPage_ComponentDiff;
24
24
 
25
- /**
26
- * Worker - Pipeline - Accumulate - Diff Components.
27
- *
28
- * @since 2.0.0
29
- */
30
- export type WorkerPipelineAccumulateDiffComponentsPrevious = WorkerPipelineSharedComponentsMap;
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 WorkerPipelineAccumulateDiffComponentsCurrent = WorkerPipelineSharedComponentsMap;
46
+ export type Worker_Pipeline_Accumulate_DiffComponents_NewStatus = string;
33
47
 
34
- export type WorkerPipelineAccumulateDiffComponentsReturns = WorkerPipelineSharedComponentDiff;
48
+ export type Worker_Pipeline_Accumulate_DiffComponents_PreviousEntry = Shared_StatusPage_ComponentState | undefined;
35
49
 
36
- export type WorkerPipelineAccumulateDiffComponentsCurrentEntry = WorkerPipelineSharedComponentState | undefined;
50
+ export type Worker_Pipeline_Accumulate_DiffComponents_OldStatus = string | undefined;
37
51
 
38
- export type WorkerPipelineAccumulateDiffComponentsPreviousEntry = WorkerPipelineSharedComponentState | undefined;
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 WorkerPipelineAccumulateFormatComponentLinesDiff = WorkerPipelineSharedComponentDiff;
59
+ export type Worker_Pipeline_Accumulate_FormatComponentLines_Diff = Shared_StatusPage_ComponentDiff;
46
60
 
47
- export type WorkerPipelineAccumulateFormatComponentLinesReturns = string[];
61
+ export type Worker_Pipeline_Accumulate_FormatComponentLines_Returns = string[];
48
62
 
49
- export type WorkerPipelineAccumulateFormatComponentLinesCleanName = string;
63
+ export type Worker_Pipeline_Accumulate_FormatComponentLines_CleanName = string;
50
64
 
51
- export type WorkerPipelineAccumulateFormatComponentLinesHumanized = string;
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 WorkerPipelineAccumulateReadStateKv = KVNamespace;
72
+ export type Worker_Pipeline_Accumulate_ReadState_Kv = KVNamespace;
59
73
 
60
- export type WorkerPipelineAccumulateReadStatePageId = string;
74
+ export type Worker_Pipeline_Accumulate_ReadState_PageId = string;
61
75
 
62
- export type WorkerPipelineAccumulateReadStateReturns = Promise<WorkerPipelineSharedStoredState | null>;
76
+ export type Worker_Pipeline_Accumulate_ReadState_Returns = Promise<Shared_StatusPage_StoredState | null>;
63
77
 
64
- export type WorkerPipelineAccumulateReadStateRaw = string | null;
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 WorkerPipelineAccumulateWriteStateKv = KVNamespace;
85
+ export type Worker_Pipeline_Accumulate_WriteState_Kv = KVNamespace;
72
86
 
73
- export type WorkerPipelineAccumulateWriteStatePageId = string;
87
+ export type Worker_Pipeline_Accumulate_WriteState_PageId = string;
74
88
 
75
- export type WorkerPipelineAccumulateWriteStateState = WorkerPipelineSharedStoredState;
89
+ export type Worker_Pipeline_Accumulate_WriteState_State = Shared_StatusPage_StoredState;
76
90
 
77
- export type WorkerPipelineAccumulateWriteStateReturns = Promise<void>;
91
+ export type Worker_Pipeline_Accumulate_WriteState_Returns = Promise<void>;
78
92
 
79
- export type WorkerPipelineAccumulateWriteStateSerializedState = string;
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 WorkerPipelineAuthenticateAuthConfigToken = string;
6
+ export type Worker_Pipeline_Authenticate_AuthConfigToken = string;
7
7
 
8
- export type WorkerPipelineAuthenticateAuthConfigAllowedFrom = string;
8
+ export type Worker_Pipeline_Authenticate_AuthConfigAllowedFrom = string;
9
9
 
10
- export type WorkerPipelineAuthenticateAuthConfigTypeHttp = 'http';
10
+ export type Worker_Pipeline_Authenticate_AuthConfigTypeHttp = 'http';
11
11
 
12
- export type WorkerPipelineAuthenticateAuthConfigTypeEmail = 'email';
12
+ export type Worker_Pipeline_Authenticate_AuthConfigTypeEmail = 'email';
13
13
 
14
- export type WorkerPipelineAuthenticateAuthConfig = {
15
- type: WorkerPipelineAuthenticateAuthConfigTypeHttp;
16
- token?: WorkerPipelineAuthenticateAuthConfigToken;
14
+ export type Worker_Pipeline_Authenticate_AuthConfig = {
15
+ type: Worker_Pipeline_Authenticate_AuthConfigTypeHttp;
16
+ token?: Worker_Pipeline_Authenticate_AuthConfigToken;
17
17
  } | {
18
- type: WorkerPipelineAuthenticateAuthConfigTypeEmail;
19
- allowed_from?: WorkerPipelineAuthenticateAuthConfigAllowedFrom;
18
+ type: Worker_Pipeline_Authenticate_AuthConfigTypeEmail;
19
+ allowed_from?: Worker_Pipeline_Authenticate_AuthConfigAllowedFrom;
20
20
  };
21
21
 
22
- export type WorkerPipelineAuthenticateCredentialsAuthorization = string | undefined;
22
+ export type Worker_Pipeline_Authenticate_CredentialsAuthorization = string | undefined;
23
23
 
24
- export type WorkerPipelineAuthenticateCredentialsFrom = string | undefined;
24
+ export type Worker_Pipeline_Authenticate_CredentialsFrom = string | undefined;
25
25
 
26
- export type WorkerPipelineAuthenticateCredentials = {
27
- authorization: WorkerPipelineAuthenticateCredentialsAuthorization;
28
- from: WorkerPipelineAuthenticateCredentialsFrom;
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 WorkerPipelineAuthenticateResultSuccessAuthenticated = true;
31
+ export type Worker_Pipeline_Authenticate_ResultSuccessAuthenticated = true;
32
32
 
33
- export type WorkerPipelineAuthenticateResultSuccess = {
34
- authenticated: WorkerPipelineAuthenticateResultSuccessAuthenticated;
33
+ export type Worker_Pipeline_Authenticate_ResultSuccess = {
34
+ authenticated: Worker_Pipeline_Authenticate_ResultSuccessAuthenticated;
35
35
  };
36
36
 
37
- export type WorkerPipelineAuthenticateResultFailureAuthenticated = false;
37
+ export type Worker_Pipeline_Authenticate_ResultFailureAuthenticated = false;
38
38
 
39
- export type WorkerPipelineAuthenticateResultFailureReason = string;
39
+ export type Worker_Pipeline_Authenticate_ResultFailureReason = string;
40
40
 
41
- export type WorkerPipelineAuthenticateResultFailure = {
42
- authenticated: WorkerPipelineAuthenticateResultFailureAuthenticated;
43
- reason: WorkerPipelineAuthenticateResultFailureReason;
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 WorkerPipelineAuthenticateResult = WorkerPipelineAuthenticateResultSuccess | WorkerPipelineAuthenticateResultFailure;
46
+ export type Worker_Pipeline_Authenticate_Result = Worker_Pipeline_Authenticate_ResultSuccess | Worker_Pipeline_Authenticate_ResultFailure;
47
47
 
48
- export type WorkerPipelineAuthenticateToken = string | undefined;
48
+ export type Worker_Pipeline_Authenticate_Token = string | undefined;
49
49
 
50
- export type WorkerPipelineAuthenticateAuthorization = string | undefined;
50
+ export type Worker_Pipeline_Authenticate_Authorization = string | undefined;
51
51
 
52
- export type WorkerPipelineAuthenticateIsBearerMatch = boolean;
52
+ export type Worker_Pipeline_Authenticate_IsBearerMatch = boolean;
53
53
 
54
- export type WorkerPipelineAuthenticateIsRawMatch = boolean;
54
+ export type Worker_Pipeline_Authenticate_IsRawMatch = boolean;
55
55
 
56
- export type WorkerPipelineAuthenticateAllowedFrom = string | undefined;
56
+ export type Worker_Pipeline_Authenticate_AllowedFrom = string | undefined;
57
57
 
58
- export type WorkerPipelineAuthenticateFrom = string | undefined;
58
+ export type Worker_Pipeline_Authenticate_From = string | undefined;
59
59
 
60
- export type WorkerPipelineAuthenticateNormalizedAllowedFrom = string;
60
+ export type Worker_Pipeline_Authenticate_NormalizedAllowedFrom = string;
61
61
 
62
- export type WorkerPipelineAuthenticateNormalizedFrom = string;
62
+ export type Worker_Pipeline_Authenticate_NormalizedFrom = string;
63
63
 
64
- export type WorkerPipelineAuthenticateAllowedDomain = string;
64
+ export type Worker_Pipeline_Authenticate_AllowedDomain = string;
65
65
 
66
- export type WorkerPipelineAuthenticateAtIndex = number;
66
+ export type Worker_Pipeline_Authenticate_AtIndex = number;
67
67
 
68
- export type WorkerPipelineAuthenticateFromDomain = string;
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;