ntfy-reverse-proxy 0.0.0 → 2.0.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 (199) hide show
  1. package/README.md +48 -0
  2. package/build/src/cli/commands/config-io.d.ts +5 -0
  3. package/build/src/cli/commands/config-io.d.ts.map +1 -0
  4. package/build/src/cli/commands/config-io.js +19 -0
  5. package/build/src/cli/commands/config-io.js.map +1 -0
  6. package/build/src/cli/commands/context.d.ts +9 -0
  7. package/build/src/cli/commands/context.d.ts.map +1 -0
  8. package/build/src/cli/commands/context.js +108 -0
  9. package/build/src/cli/commands/context.js.map +1 -0
  10. package/build/src/cli/commands/deploy.d.ts +4 -0
  11. package/build/src/cli/commands/deploy.d.ts.map +1 -0
  12. package/build/src/cli/commands/deploy.js +496 -0
  13. package/build/src/cli/commands/deploy.js.map +1 -0
  14. package/build/src/cli/commands/generate.d.ts +4 -0
  15. package/build/src/cli/commands/generate.d.ts.map +1 -0
  16. package/build/src/cli/commands/generate.js +68 -0
  17. package/build/src/cli/commands/generate.js.map +1 -0
  18. package/build/src/cli/commands/server.d.ts +7 -0
  19. package/build/src/cli/commands/server.d.ts.map +1 -0
  20. package/build/src/cli/commands/server.js +43 -0
  21. package/build/src/cli/commands/server.js.map +1 -0
  22. package/build/src/cli/commands/settings.d.ts +5 -0
  23. package/build/src/cli/commands/settings.d.ts.map +1 -0
  24. package/build/src/cli/commands/settings.js +16 -0
  25. package/build/src/cli/commands/settings.js.map +1 -0
  26. package/build/src/cli/commands/validate.d.ts +4 -0
  27. package/build/src/cli/commands/validate.d.ts.map +1 -0
  28. package/build/src/cli/commands/validate.js +45 -0
  29. package/build/src/cli/commands/validate.js.map +1 -0
  30. package/build/src/cli/index.d.ts +5 -0
  31. package/build/src/cli/index.d.ts.map +1 -0
  32. package/build/src/cli/index.js +118 -0
  33. package/build/src/cli/index.js.map +1 -0
  34. package/build/src/cli/menu/interactive.d.ts +4 -0
  35. package/build/src/cli/menu/interactive.d.ts.map +1 -0
  36. package/build/src/cli/menu/interactive.js +902 -0
  37. package/build/src/cli/menu/interactive.js.map +1 -0
  38. package/build/src/lib/item.d.ts +3 -0
  39. package/build/src/lib/item.d.ts.map +1 -0
  40. package/build/src/lib/item.js +3 -0
  41. package/build/src/lib/item.js.map +1 -0
  42. package/build/src/lib/regex.d.ts +30 -0
  43. package/build/src/lib/regex.d.ts.map +1 -0
  44. package/build/src/lib/regex.js +30 -0
  45. package/build/src/lib/regex.js.map +1 -0
  46. package/build/src/lib/schema.d.ts +167 -0
  47. package/build/src/lib/schema.d.ts.map +1 -0
  48. package/build/src/lib/schema.js +70 -0
  49. package/build/src/lib/schema.js.map +1 -0
  50. package/build/src/lib/utility.d.ts +4 -0
  51. package/build/src/lib/utility.d.ts.map +1 -0
  52. package/build/src/lib/utility.js +14 -0
  53. package/build/src/lib/utility.js.map +1 -0
  54. package/build/src/types/cli/commands/config-io.d.ts +38 -0
  55. package/build/src/types/cli/commands/context.d.ts +131 -0
  56. package/build/src/types/cli/commands/deploy.d.ts +622 -0
  57. package/build/src/types/cli/commands/generate.d.ts +51 -0
  58. package/build/src/types/cli/commands/server.d.ts +65 -0
  59. package/build/src/types/cli/commands/settings.d.ts +25 -0
  60. package/build/src/types/cli/commands/validate.d.ts +37 -0
  61. package/build/src/types/cli/index.d.ts +55 -0
  62. package/build/src/types/cli/menu/interactive.d.ts +381 -0
  63. package/build/src/types/fetch-response.d.ts +11 -0
  64. package/build/src/types/lib/schema.d.ts +134 -0
  65. package/build/src/types/lib/utility.d.ts +8 -0
  66. package/build/src/types/tests/cli/commands/context.test.d.ts +57 -0
  67. package/build/src/types/tests/cli/commands/generate.test.d.ts +12 -0
  68. package/build/src/types/tests/cli/commands/server.test.d.ts +45 -0
  69. package/build/src/types/tests/cli/commands/settings.test.d.ts +40 -0
  70. package/build/src/types/tests/cli/commands/validate.test.d.ts +19 -0
  71. package/build/src/types/tests/cli/menu/interactive.test.d.ts +6 -0
  72. package/build/src/types/tests/lib/schema.test.d.ts +10 -0
  73. package/build/src/types/tests/type-declarations.test.d.ts +173 -0
  74. package/build/src/types/tests/worker/index.test.d.ts +20 -0
  75. package/build/src/types/tests/worker/interpreters/ntfy-json.test.d.ts +19 -0
  76. package/build/src/types/tests/worker/interpreters/pfsense.test.d.ts +10 -0
  77. package/build/src/types/tests/worker/interpreters/plain-text.test.d.ts +10 -0
  78. package/build/src/types/tests/worker/interpreters/seerr.test.d.ts +8 -0
  79. package/build/src/types/tests/worker/interpreters/statuspage.test.d.ts +58 -0
  80. package/build/src/types/tests/worker/interpreters/synology.test.d.ts +8 -0
  81. package/build/src/types/tests/worker/interpreters/unifi.test.d.ts +8 -0
  82. package/build/src/types/tests/worker/landing/page.test.d.ts +55 -0
  83. package/build/src/types/tests/worker/pipeline/accumulate.test.d.ts +28 -0
  84. package/build/src/types/tests/worker/pipeline/authenticate.test.d.ts +9 -0
  85. package/build/src/types/tests/worker/pipeline/email.test.d.ts +15 -0
  86. package/build/src/types/tests/worker/pipeline/format.test.d.ts +38 -0
  87. package/build/src/types/tests/worker/pipeline/interpret.test.d.ts +43 -0
  88. package/build/src/types/tests/worker/pipeline/parse.test.d.ts +17 -0
  89. package/build/src/types/tests/worker/pipeline/receive.test.d.ts +23 -0
  90. package/build/src/types/tests/worker/pipeline/respond.test.d.ts +20 -0
  91. package/build/src/types/tests/worker/pipeline/route.test.d.ts +80 -0
  92. package/build/src/types/tests/worker/pipeline/send.test.d.ts +37 -0
  93. package/build/src/types/tests/worker/pipeline/split.test.d.ts +17 -0
  94. package/build/src/types/worker/index.d.ts +232 -0
  95. package/build/src/types/worker/interpreters/ntfy-json.d.ts +28 -0
  96. package/build/src/types/worker/interpreters/pfsense.d.ts +97 -0
  97. package/build/src/types/worker/interpreters/plain-text.d.ts +24 -0
  98. package/build/src/types/worker/interpreters/seerr.d.ts +124 -0
  99. package/build/src/types/worker/interpreters/statuspage.d.ts +239 -0
  100. package/build/src/types/worker/interpreters/synology.d.ts +99 -0
  101. package/build/src/types/worker/interpreters/unifi.d.ts +111 -0
  102. package/build/src/types/worker/landing/page.d.ts +44 -0
  103. package/build/src/types/worker/pipeline/accumulate.d.ts +79 -0
  104. package/build/src/types/worker/pipeline/authenticate.d.ts +68 -0
  105. package/build/src/types/worker/pipeline/email.d.ts +108 -0
  106. package/build/src/types/worker/pipeline/format.d.ts +47 -0
  107. package/build/src/types/worker/pipeline/interpret.d.ts +63 -0
  108. package/build/src/types/worker/pipeline/parse.d.ts +39 -0
  109. package/build/src/types/worker/pipeline/receive.d.ts +64 -0
  110. package/build/src/types/worker/pipeline/respond.d.ts +113 -0
  111. package/build/src/types/worker/pipeline/route.d.ts +34 -0
  112. package/build/src/types/worker/pipeline/send.d.ts +143 -0
  113. package/build/src/types/worker/pipeline/shared.d.ts +85 -0
  114. package/build/src/types/worker/pipeline/split.d.ts +35 -0
  115. package/build/src/worker/handlers.d.ts +5 -0
  116. package/build/src/worker/handlers.d.ts.map +1 -0
  117. package/build/src/worker/handlers.js +360 -0
  118. package/build/src/worker/handlers.js.map +1 -0
  119. package/build/src/worker/index.d.ts +4 -0
  120. package/build/src/worker/index.d.ts.map +1 -0
  121. package/build/src/worker/index.js +52 -0
  122. package/build/src/worker/index.js.map +1 -0
  123. package/build/src/worker/interpreters/ntfy-json.d.ts +4 -0
  124. package/build/src/worker/interpreters/ntfy-json.d.ts.map +1 -0
  125. package/build/src/worker/interpreters/ntfy-json.js +49 -0
  126. package/build/src/worker/interpreters/ntfy-json.js.map +1 -0
  127. package/build/src/worker/interpreters/pfsense.d.ts +4 -0
  128. package/build/src/worker/interpreters/pfsense.d.ts.map +1 -0
  129. package/build/src/worker/interpreters/pfsense.js +150 -0
  130. package/build/src/worker/interpreters/pfsense.js.map +1 -0
  131. package/build/src/worker/interpreters/plain-text.d.ts +4 -0
  132. package/build/src/worker/interpreters/plain-text.d.ts.map +1 -0
  133. package/build/src/worker/interpreters/plain-text.js +18 -0
  134. package/build/src/worker/interpreters/plain-text.js.map +1 -0
  135. package/build/src/worker/interpreters/seerr.d.ts +4 -0
  136. package/build/src/worker/interpreters/seerr.d.ts.map +1 -0
  137. package/build/src/worker/interpreters/seerr.js +173 -0
  138. package/build/src/worker/interpreters/seerr.js.map +1 -0
  139. package/build/src/worker/interpreters/statuspage.d.ts +4 -0
  140. package/build/src/worker/interpreters/statuspage.d.ts.map +1 -0
  141. package/build/src/worker/interpreters/statuspage.js +266 -0
  142. package/build/src/worker/interpreters/statuspage.js.map +1 -0
  143. package/build/src/worker/interpreters/synology.d.ts +4 -0
  144. package/build/src/worker/interpreters/synology.d.ts.map +1 -0
  145. package/build/src/worker/interpreters/synology.js +177 -0
  146. package/build/src/worker/interpreters/synology.js.map +1 -0
  147. package/build/src/worker/interpreters/unifi.d.ts +4 -0
  148. package/build/src/worker/interpreters/unifi.d.ts.map +1 -0
  149. package/build/src/worker/interpreters/unifi.js +152 -0
  150. package/build/src/worker/interpreters/unifi.js.map +1 -0
  151. package/build/src/worker/landing/page.d.ts +4 -0
  152. package/build/src/worker/landing/page.d.ts.map +1 -0
  153. package/build/src/worker/landing/page.js +260 -0
  154. package/build/src/worker/landing/page.js.map +1 -0
  155. package/build/src/worker/pipeline/accumulate.d.ts +7 -0
  156. package/build/src/worker/pipeline/accumulate.d.ts.map +1 -0
  157. package/build/src/worker/pipeline/accumulate.js +53 -0
  158. package/build/src/worker/pipeline/accumulate.js.map +1 -0
  159. package/build/src/worker/pipeline/authenticate.d.ts +4 -0
  160. package/build/src/worker/pipeline/authenticate.d.ts.map +1 -0
  161. package/build/src/worker/pipeline/authenticate.js +53 -0
  162. package/build/src/worker/pipeline/authenticate.js.map +1 -0
  163. package/build/src/worker/pipeline/email.d.ts +4 -0
  164. package/build/src/worker/pipeline/email.d.ts.map +1 -0
  165. package/build/src/worker/pipeline/email.js +149 -0
  166. package/build/src/worker/pipeline/email.js.map +1 -0
  167. package/build/src/worker/pipeline/format.d.ts +5 -0
  168. package/build/src/worker/pipeline/format.d.ts.map +1 -0
  169. package/build/src/worker/pipeline/format.js +48 -0
  170. package/build/src/worker/pipeline/format.js.map +1 -0
  171. package/build/src/worker/pipeline/interpret.d.ts +4 -0
  172. package/build/src/worker/pipeline/interpret.d.ts.map +1 -0
  173. package/build/src/worker/pipeline/interpret.js +30 -0
  174. package/build/src/worker/pipeline/interpret.js.map +1 -0
  175. package/build/src/worker/pipeline/parse.d.ts +4 -0
  176. package/build/src/worker/pipeline/parse.d.ts.map +1 -0
  177. package/build/src/worker/pipeline/parse.js +59 -0
  178. package/build/src/worker/pipeline/parse.js.map +1 -0
  179. package/build/src/worker/pipeline/receive.d.ts +4 -0
  180. package/build/src/worker/pipeline/receive.d.ts.map +1 -0
  181. package/build/src/worker/pipeline/receive.js +52 -0
  182. package/build/src/worker/pipeline/receive.js.map +1 -0
  183. package/build/src/worker/pipeline/respond.d.ts +4 -0
  184. package/build/src/worker/pipeline/respond.d.ts.map +1 -0
  185. package/build/src/worker/pipeline/respond.js +48 -0
  186. package/build/src/worker/pipeline/respond.js.map +1 -0
  187. package/build/src/worker/pipeline/route.d.ts +5 -0
  188. package/build/src/worker/pipeline/route.d.ts.map +1 -0
  189. package/build/src/worker/pipeline/route.js +23 -0
  190. package/build/src/worker/pipeline/route.js.map +1 -0
  191. package/build/src/worker/pipeline/send.d.ts +4 -0
  192. package/build/src/worker/pipeline/send.d.ts.map +1 -0
  193. package/build/src/worker/pipeline/send.js +156 -0
  194. package/build/src/worker/pipeline/send.js.map +1 -0
  195. package/build/src/worker/pipeline/split.d.ts +4 -0
  196. package/build/src/worker/pipeline/split.d.ts.map +1 -0
  197. package/build/src/worker/pipeline/split.js +40 -0
  198. package/build/src/worker/pipeline/split.js.map +1 -0
  199. package/package.json +95 -2
@@ -0,0 +1,97 @@
1
+ import type {
2
+ WorkerPipelineInterpretInput,
3
+ WorkerPipelineInterpretNotificationObjectPriority,
4
+ WorkerPipelineInterpretResult,
5
+ } from '../pipeline/interpret.d.ts';
6
+
7
+ /**
8
+ * Worker - Interpreters - Pfsense.
9
+ *
10
+ * @since 2.0.0
11
+ */
12
+ export type WorkerInterpretersPfsenseInput = WorkerPipelineInterpretInput;
13
+
14
+ export type WorkerInterpretersPfsenseResult = WorkerPipelineInterpretResult;
15
+
16
+ export type WorkerInterpretersPfsenseInterpreter = (input: WorkerInterpretersPfsenseInput) => WorkerInterpretersPfsenseResult;
17
+
18
+ /**
19
+ * Worker - Interpreters - Pfsense - Extract Content Tags.
20
+ *
21
+ * @since 2.0.0
22
+ */
23
+ export type WorkerInterpretersPfsenseExtractContentTagsText = string;
24
+
25
+ export type WorkerInterpretersPfsenseExtractContentTagsReturns = string[];
26
+
27
+ export type WorkerInterpretersPfsenseExtractContentTagsLower = string;
28
+
29
+ export type WorkerInterpretersPfsenseExtractContentTagsTags = string[];
30
+
31
+ /**
32
+ * Worker - Interpreters - Pfsense - Interpreter.
33
+ *
34
+ * @since 2.0.0
35
+ */
36
+ export type WorkerInterpretersPfsenseInterpreterPriority = WorkerPipelineInterpretNotificationObjectPriority;
37
+
38
+ export type WorkerInterpretersPfsenseInterpreterEmojiTag = string;
39
+
40
+ export type WorkerInterpretersPfsenseInterpreterDecoder = TextDecoder;
41
+
42
+ export type WorkerInterpretersPfsenseInterpreterBody = string;
43
+
44
+ export type WorkerInterpretersPfsenseInterpreterData = Record<string, unknown>;
45
+
46
+ export type WorkerInterpretersPfsenseInterpreterRawSubject = unknown;
47
+
48
+ export type WorkerInterpretersPfsenseInterpreterSubject = string;
49
+
50
+ export type WorkerInterpretersPfsenseInterpreterRawTextBody = unknown;
51
+
52
+ export type WorkerInterpretersPfsenseInterpreterTextBody = string;
53
+
54
+ export type WorkerInterpretersPfsenseInterpreterHostname = string;
55
+
56
+ export type WorkerInterpretersPfsenseInterpreterNotifications = string[];
57
+
58
+ export type WorkerInterpretersPfsenseInterpreterContentTags = string[];
59
+
60
+ export type WorkerInterpretersPfsenseInterpreterTags = string[];
61
+
62
+ /**
63
+ * Worker - Interpreters - Pfsense - Map Keywords To Priority.
64
+ *
65
+ * @since 2.0.0
66
+ */
67
+ export type WorkerInterpretersPfsenseMapKeywordsToPriorityText = string;
68
+
69
+ export type WorkerInterpretersPfsenseMapKeywordsToPriorityReturns = WorkerPipelineInterpretNotificationObjectPriority;
70
+
71
+ export type WorkerInterpretersPfsenseMapKeywordsToPriorityLower = string;
72
+
73
+ /**
74
+ * Worker - Interpreters - Pfsense - Map Priority To Emoji Tag.
75
+ *
76
+ * @since 2.0.0
77
+ */
78
+ export type WorkerInterpretersPfsenseMapPriorityToEmojiTagPriority = WorkerPipelineInterpretNotificationObjectPriority;
79
+
80
+ export type WorkerInterpretersPfsenseMapPriorityToEmojiTagReturns = string;
81
+
82
+ /**
83
+ * Worker - Interpreters - Pfsense - Parse Notifications.
84
+ *
85
+ * @since 2.0.0
86
+ */
87
+ export type WorkerInterpretersPfsenseParseNotificationsTextBody = string;
88
+
89
+ export type WorkerInterpretersPfsenseParseNotificationsReturns = string[];
90
+
91
+ export type WorkerInterpretersPfsenseParseNotificationsLines = string[];
92
+
93
+ export type WorkerInterpretersPfsenseParseNotificationsNotifications = string[];
94
+
95
+ export type WorkerInterpretersPfsenseParseNotificationsPastSeparator = boolean;
96
+
97
+ export type WorkerInterpretersPfsenseParseNotificationsTrimmed = string;
@@ -0,0 +1,24 @@
1
+ import type {
2
+ WorkerPipelineInterpretInput,
3
+ WorkerPipelineInterpretResult,
4
+ } from '../pipeline/interpret.d.ts';
5
+
6
+ /**
7
+ * Worker - Interpreters - Plain Text.
8
+ *
9
+ * @since 2.0.0
10
+ */
11
+ export type WorkerInterpretersPlainTextInput = WorkerPipelineInterpretInput;
12
+
13
+ export type WorkerInterpretersPlainTextResult = WorkerPipelineInterpretResult;
14
+
15
+ export type WorkerInterpretersPlainTextInterpreter = (input: WorkerInterpretersPlainTextInput) => WorkerInterpretersPlainTextResult;
16
+
17
+ /**
18
+ * Worker - Interpreters - Plain Text - Plain Text Interpreter.
19
+ *
20
+ * @since 2.0.0
21
+ */
22
+ export type WorkerInterpretersPlainTextPlainTextInterpreterBody = string | undefined;
23
+
24
+ export type WorkerInterpretersPlainTextPlainTextInterpreterDecoder = TextDecoder;
@@ -0,0 +1,124 @@
1
+ import type {
2
+ WorkerPipelineInterpretInput,
3
+ WorkerPipelineInterpretNotificationObjectPriority,
4
+ WorkerPipelineInterpretResult,
5
+ } from '../pipeline/interpret.d.ts';
6
+
7
+ /**
8
+ * Worker - Interpreters - Seerr.
9
+ *
10
+ * @since 2.0.0
11
+ */
12
+ export type WorkerInterpretersSeerrInput = WorkerPipelineInterpretInput;
13
+
14
+ export type WorkerInterpretersSeerrResult = WorkerPipelineInterpretResult;
15
+
16
+ export type WorkerInterpretersSeerrInterpreter = (input: WorkerInterpretersSeerrInput) => WorkerInterpretersSeerrResult;
17
+
18
+ /**
19
+ * Worker - Interpreters - Seerr - Interpreter.
20
+ *
21
+ * @since 2.0.0
22
+ */
23
+ export type WorkerInterpretersSeerrInterpreterParsed = unknown;
24
+
25
+ export type WorkerInterpretersSeerrInterpreterDecoder = TextDecoder;
26
+
27
+ export type WorkerInterpretersSeerrInterpreterDecodedBody = string;
28
+
29
+ export type WorkerInterpretersSeerrInterpreterData = Record<string, unknown>;
30
+
31
+ export type WorkerInterpretersSeerrInterpreterNotificationType = string;
32
+
33
+ export type WorkerInterpretersSeerrInterpreterEvent = string;
34
+
35
+ export type WorkerInterpretersSeerrInterpreterSubject = string;
36
+
37
+ export type WorkerInterpretersSeerrInterpreterMessage = string;
38
+
39
+ export type WorkerInterpretersSeerrInterpreterImage = string | undefined;
40
+
41
+ export type WorkerInterpretersSeerrInterpreterRawMediaDefault = Record<string, unknown>;
42
+
43
+ export type WorkerInterpretersSeerrInterpreterMedia = Record<string, unknown>;
44
+
45
+ export type WorkerInterpretersSeerrInterpreterMediaType = string;
46
+
47
+ export type WorkerInterpretersSeerrInterpreterTmdbId = string;
48
+
49
+ export type WorkerInterpretersSeerrInterpreterMediaStatus = string;
50
+
51
+ export type WorkerInterpretersSeerrInterpreterRawRequestDefault = Record<string, unknown>;
52
+
53
+ export type WorkerInterpretersSeerrInterpreterRequest = Record<string, unknown>;
54
+
55
+ export type WorkerInterpretersSeerrInterpreterRequestedByUsername = string;
56
+
57
+ export type WorkerInterpretersSeerrInterpreterRawIssueDefault = Record<string, unknown>;
58
+
59
+ export type WorkerInterpretersSeerrInterpreterIssue = Record<string, unknown>;
60
+
61
+ export type WorkerInterpretersSeerrInterpreterIssueType = string;
62
+
63
+ export type WorkerInterpretersSeerrInterpreterReportedByUsername = string;
64
+
65
+ export type WorkerInterpretersSeerrInterpreterRawCommentDefault = Record<string, unknown>;
66
+
67
+ export type WorkerInterpretersSeerrInterpreterComment = Record<string, unknown>;
68
+
69
+ export type WorkerInterpretersSeerrInterpreterCommentMessage = string;
70
+
71
+ export type WorkerInterpretersSeerrInterpreterCommentedByUsername = string;
72
+
73
+ export type WorkerInterpretersSeerrInterpreterTitle = string;
74
+
75
+ export type WorkerInterpretersSeerrInterpreterBodyLines = string[];
76
+
77
+ export type WorkerInterpretersSeerrInterpreterBody = string;
78
+
79
+ export type WorkerInterpretersSeerrInterpreterPriority = WorkerPipelineInterpretNotificationObjectPriority;
80
+
81
+ export type WorkerInterpretersSeerrInterpreterEmojiTag = string;
82
+
83
+ export type WorkerInterpretersSeerrInterpreterTags = string[];
84
+
85
+ export type WorkerInterpretersSeerrInterpreterTmdbUrl = string | undefined;
86
+
87
+ export type WorkerInterpretersSeerrInterpreterRawProxyConfigDefault = Record<string, unknown>;
88
+
89
+ export type WorkerInterpretersSeerrInterpreterProxyConfig = Record<string, unknown>;
90
+
91
+ export type WorkerInterpretersSeerrInterpreterRawSeerrUrl = unknown;
92
+
93
+ export type WorkerInterpretersSeerrInterpreterSeerrUrl = string | undefined;
94
+
95
+ export type WorkerInterpretersSeerrInterpreterActions = string[];
96
+
97
+ /**
98
+ * Worker - Interpreters - Seerr - Map Notification Type To Priority.
99
+ *
100
+ * @since 2.0.0
101
+ */
102
+ export type WorkerInterpretersSeerrMapNotificationTypeToPriorityNotificationType = string;
103
+
104
+ export type WorkerInterpretersSeerrMapNotificationTypeToPriorityReturns = WorkerPipelineInterpretNotificationObjectPriority;
105
+
106
+ /**
107
+ * Worker - Interpreters - Seerr - Map Priority To Emoji Tag.
108
+ *
109
+ * @since 2.0.0
110
+ */
111
+ export type WorkerInterpretersSeerrMapPriorityToEmojiTagPriority = WorkerPipelineInterpretNotificationObjectPriority;
112
+
113
+ export type WorkerInterpretersSeerrMapPriorityToEmojiTagReturns = string;
114
+
115
+ /**
116
+ * Worker - Interpreters - Seerr - Validate URL.
117
+ *
118
+ * @since 2.0.0
119
+ */
120
+ export type WorkerInterpretersSeerrValidateUrlRawUrl = string;
121
+
122
+ export type WorkerInterpretersSeerrValidateUrlReturns = string | undefined;
123
+
124
+ export type WorkerInterpretersSeerrValidateUrlUrl = URL;
@@ -0,0 +1,239 @@
1
+ import type {
2
+ WorkerPipelineInterpretContext,
3
+ WorkerPipelineInterpretInput,
4
+ WorkerPipelineInterpretNotificationObjectPriority,
5
+ WorkerPipelineInterpretResult,
6
+ } from '../pipeline/interpret.d.ts';
7
+ import type {
8
+ WorkerPipelineSharedComponentDiff,
9
+ WorkerPipelineSharedComponentsMap,
10
+ WorkerPipelineSharedStoredState,
11
+ } from '../pipeline/shared.d.ts';
12
+
13
+ /**
14
+ * Worker - Interpreters - Statuspage.
15
+ *
16
+ * @since 2.0.0
17
+ */
18
+ export type WorkerInterpretersStatuspageResult = WorkerPipelineInterpretResult;
19
+
20
+ export type WorkerInterpretersStatuspageInput = WorkerPipelineInterpretInput;
21
+
22
+ export type WorkerInterpretersStatuspageContext = WorkerPipelineInterpretContext;
23
+
24
+ export type WorkerInterpretersStatuspageInterpreter = (input: WorkerInterpretersStatuspageInput, context?: WorkerInterpretersStatuspageContext) => Promise<WorkerInterpretersStatuspageResult | null>;
25
+
26
+ /**
27
+ * Worker - Interpreters - Statuspage - Build Incident Notification.
28
+ *
29
+ * @since 2.0.0
30
+ */
31
+ export type WorkerInterpretersStatuspageBuildIncidentNotificationServiceName = string;
32
+
33
+ export type WorkerInterpretersStatuspageBuildIncidentNotificationIncidentName = string;
34
+
35
+ export type WorkerInterpretersStatuspageBuildIncidentNotificationStatus = string;
36
+
37
+ export type WorkerInterpretersStatuspageBuildIncidentNotificationImpact = string;
38
+
39
+ export type WorkerInterpretersStatuspageBuildIncidentNotificationLatestBody = string | undefined;
40
+
41
+ export type WorkerInterpretersStatuspageBuildIncidentNotificationShortlink = string | undefined;
42
+
43
+ export type WorkerInterpretersStatuspageBuildIncidentNotificationUnsubscribeUrl = string | undefined;
44
+
45
+ export type WorkerInterpretersStatuspageBuildIncidentNotificationComponentLines = string[];
46
+
47
+ export type WorkerInterpretersStatuspageBuildIncidentNotificationIsTerminal = boolean;
48
+
49
+ export type WorkerInterpretersStatuspageBuildIncidentNotificationPriority = WorkerPipelineInterpretNotificationObjectPriority;
50
+
51
+ export type WorkerInterpretersStatuspageBuildIncidentNotificationHumanizedStatus = string;
52
+
53
+ export type WorkerInterpretersStatuspageBuildIncidentNotificationHumanizedImpact = string;
54
+
55
+ export type WorkerInterpretersStatuspageBuildIncidentNotificationEmojiTag = string;
56
+
57
+ export type WorkerInterpretersStatuspageBuildIncidentNotificationTags = string[];
58
+
59
+ export type WorkerInterpretersStatuspageBuildIncidentNotificationBodyLines = string[];
60
+
61
+ export type WorkerInterpretersStatuspageBuildIncidentNotificationLatestBodyJoined = string;
62
+
63
+ export type WorkerInterpretersStatuspageBuildIncidentNotificationComponentLinesJoined = string;
64
+
65
+ export type WorkerInterpretersStatuspageBuildIncidentNotificationBody = string;
66
+
67
+ export type WorkerInterpretersStatuspageBuildIncidentNotificationActions = string[];
68
+
69
+ /**
70
+ * Worker - Interpreters - Statuspage - Extract Service Name.
71
+ *
72
+ * @since 2.0.0
73
+ */
74
+ export type WorkerInterpretersStatuspageExtractServiceNameUnsubscribeUrl = string | undefined;
75
+
76
+ export type WorkerInterpretersStatuspageExtractServiceNameReturns = string;
77
+
78
+ export type WorkerInterpretersStatuspageExtractServiceNameServiceName = string;
79
+
80
+ export type WorkerInterpretersStatuspageExtractServiceNameParsedUrl = URL;
81
+
82
+ export type WorkerInterpretersStatuspageExtractServiceNameHostname = string;
83
+
84
+ /**
85
+ * Worker - Interpreters - Statuspage - Humanize Slug.
86
+ *
87
+ * @since 2.0.0
88
+ */
89
+ export type WorkerInterpretersStatuspageHumanizeSlugSlug = string;
90
+
91
+ export type WorkerInterpretersStatuspageHumanizeSlugReturns = string;
92
+
93
+ export type WorkerInterpretersStatuspageHumanizeSlugParts = string[];
94
+
95
+ export type WorkerInterpretersStatuspageHumanizeSlugCapitalized = string[];
96
+
97
+ /**
98
+ * Worker - Interpreters - Statuspage - Interpreter.
99
+ *
100
+ * @since 2.0.0
101
+ */
102
+ export type WorkerInterpretersStatuspageInterpreterReturns = Promise<WorkerPipelineInterpretResult | null>;
103
+
104
+ export type WorkerInterpretersStatuspageInterpreterParsed = unknown;
105
+
106
+ export type WorkerInterpretersStatuspageInterpreterDecoder = TextDecoder;
107
+
108
+ export type WorkerInterpretersStatuspageInterpreterDecodedBody = string;
109
+
110
+ export type WorkerInterpretersStatuspageInterpreterData = Record<string, unknown>;
111
+
112
+ export type WorkerInterpretersStatuspageInterpreterMetaDefault = Record<string, unknown>;
113
+
114
+ export type WorkerInterpretersStatuspageInterpreterMetaRaw = unknown;
115
+
116
+ export type WorkerInterpretersStatuspageInterpreterMeta = Record<string, unknown>;
117
+
118
+ export type WorkerInterpretersStatuspageInterpreterUnsubscribeUrl = string | undefined;
119
+
120
+ export type WorkerInterpretersStatuspageInterpreterServiceName = string;
121
+
122
+ export type WorkerInterpretersStatuspageInterpreterPage = Record<string, unknown> | undefined;
123
+
124
+ export type WorkerInterpretersStatuspageInterpreterPageIdAvailable = boolean;
125
+
126
+ export type WorkerInterpretersStatuspageInterpreterPageId = string | undefined;
127
+
128
+ export type WorkerInterpretersStatuspageInterpreterKvAvailable = boolean;
129
+
130
+ export type WorkerInterpretersStatuspageInterpreterKv = KVNamespace | undefined;
131
+
132
+ export type WorkerInterpretersStatuspageInterpreterHasKv = boolean;
133
+
134
+ export type WorkerInterpretersStatuspageInterpreterKvMissing = boolean;
135
+
136
+ export type WorkerInterpretersStatuspageInterpreterExistingState = WorkerPipelineSharedStoredState | null;
137
+
138
+ export type WorkerInterpretersStatuspageInterpreterComponents = WorkerPipelineSharedComponentsMap;
139
+
140
+ export type WorkerInterpretersStatuspageInterpreterComponentUpdate = Record<string, unknown> | undefined;
141
+
142
+ export type WorkerInterpretersStatuspageInterpreterComponent = Record<string, unknown> | undefined;
143
+
144
+ export type WorkerInterpretersStatuspageInterpreterComponentId = string | undefined;
145
+
146
+ export type WorkerInterpretersStatuspageInterpreterComponentName = string | undefined;
147
+
148
+ export type WorkerInterpretersStatuspageInterpreterHasUpdateStatus = boolean;
149
+
150
+ export type WorkerInterpretersStatuspageInterpreterHasComponentStatus = boolean;
151
+
152
+ export type WorkerInterpretersStatuspageInterpreterComponentStatus = string | undefined;
153
+
154
+ export type WorkerInterpretersStatuspageInterpreterIncidentName = string;
155
+
156
+ export type WorkerInterpretersStatuspageInterpreterCanUpdate = boolean;
157
+
158
+ export type WorkerInterpretersStatuspageInterpreterUpdatedState = WorkerPipelineSharedStoredState;
159
+
160
+ export type WorkerInterpretersStatuspageInterpreterUpdateStatusValue = string | undefined;
161
+
162
+ export type WorkerInterpretersStatuspageInterpreterComponentStatusValue = string | undefined;
163
+
164
+ export type WorkerInterpretersStatuspageInterpreterIncident = Record<string, unknown>;
165
+
166
+ export type WorkerInterpretersStatuspageInterpreterStatus = string;
167
+
168
+ export type WorkerInterpretersStatuspageInterpreterImpact = string;
169
+
170
+ export type WorkerInterpretersStatuspageInterpreterShortlink = string | undefined;
171
+
172
+ export type WorkerInterpretersStatuspageInterpreterRawUpdates = unknown;
173
+
174
+ export type WorkerInterpretersStatuspageInterpreterIsUpdatesArray = boolean;
175
+
176
+ export type WorkerInterpretersStatuspageInterpreterUpdates = Array<Record<string, unknown>>;
177
+
178
+ export type WorkerInterpretersStatuspageInterpreterLatestUpdate = Record<string, unknown> | undefined;
179
+
180
+ export type WorkerInterpretersStatuspageInterpreterLatestBody = string | undefined;
181
+
182
+ export type WorkerInterpretersStatuspageInterpreterUpdateId = string | undefined;
183
+
184
+ export type WorkerInterpretersStatuspageInterpreterComponentLines = string[];
185
+
186
+ export type WorkerInterpretersStatuspageInterpreterIsDuplicate = boolean;
187
+
188
+ export type WorkerInterpretersStatuspageInterpreterPreviousComponents = WorkerPipelineSharedComponentsMap;
189
+
190
+ export type WorkerInterpretersStatuspageInterpreterCurrentComponents = WorkerPipelineSharedComponentsMap;
191
+
192
+ export type WorkerInterpretersStatuspageInterpreterAffectedComponents = Array<Record<string, unknown>> | undefined;
193
+
194
+ export type WorkerInterpretersStatuspageInterpreterIsAffectedArray = boolean;
195
+
196
+ export type WorkerInterpretersStatuspageInterpreterAffectedCode = string | undefined;
197
+
198
+ export type WorkerInterpretersStatuspageInterpreterAffectedName = string | undefined;
199
+
200
+ export type WorkerInterpretersStatuspageInterpreterAffectedNewStatus = string | undefined;
201
+
202
+ export type WorkerInterpretersStatuspageInterpreterCanUpdateAffected = boolean;
203
+
204
+ export type WorkerInterpretersStatuspageInterpreterDiff = WorkerPipelineSharedComponentDiff;
205
+
206
+ export type WorkerInterpretersStatuspageInterpreterIncidentId = string | undefined;
207
+
208
+ export type WorkerInterpretersStatuspageInterpreterNewState = WorkerPipelineSharedStoredState;
209
+
210
+ /**
211
+ * Worker - Interpreters - Statuspage - Is Terminal Status.
212
+ *
213
+ * @since 2.0.0
214
+ */
215
+ export type WorkerInterpretersStatuspageIsTerminalStatusStatus = string;
216
+
217
+ export type WorkerInterpretersStatuspageIsTerminalStatusReturns = boolean;
218
+
219
+ export type WorkerInterpretersStatuspageIsTerminalStatusTerminal = string[];
220
+
221
+ export type WorkerInterpretersStatuspageIsTerminalStatusLowered = string;
222
+
223
+ /**
224
+ * Worker - Interpreters - Statuspage - Map Impact To Priority.
225
+ *
226
+ * @since 2.0.0
227
+ */
228
+ export type WorkerInterpretersStatuspageMapImpactToPriorityImpact = string;
229
+
230
+ export type WorkerInterpretersStatuspageMapImpactToPriorityReturns = WorkerPipelineInterpretNotificationObjectPriority;
231
+
232
+ /**
233
+ * Worker - Interpreters - Statuspage - Map Status To Emoji Tag.
234
+ *
235
+ * @since 2.0.0
236
+ */
237
+ export type WorkerInterpretersStatuspageMapStatusToEmojiTagStatus = string;
238
+
239
+ export type WorkerInterpretersStatuspageMapStatusToEmojiTagReturns = string;
@@ -0,0 +1,99 @@
1
+ import type {
2
+ WorkerPipelineInterpretInput,
3
+ WorkerPipelineInterpretNotificationObjectPriority,
4
+ WorkerPipelineInterpretResult,
5
+ } from '../pipeline/interpret.d.ts';
6
+
7
+ /**
8
+ * Worker - Interpreters - Synology.
9
+ *
10
+ * @since 2.0.0
11
+ */
12
+ export type WorkerInterpretersSynologyInput = WorkerPipelineInterpretInput;
13
+
14
+ export type WorkerInterpretersSynologyResult = WorkerPipelineInterpretResult;
15
+
16
+ export type WorkerInterpretersSynologyInterpreter = (input: WorkerInterpretersSynologyInput) => WorkerInterpretersSynologyResult;
17
+
18
+ /**
19
+ * Worker - Interpreters - Synology - Interpreter.
20
+ *
21
+ * @since 2.0.0
22
+ */
23
+ export type WorkerInterpretersSynologyInterpreterBody = string | undefined;
24
+
25
+ export type WorkerInterpretersSynologyInterpreterDecoder = TextDecoder;
26
+
27
+ export type WorkerInterpretersSynologyInterpreterData = Record<string, unknown>;
28
+
29
+ export type WorkerInterpretersSynologyInterpreterRawMessage = unknown;
30
+
31
+ export type WorkerInterpretersSynologyInterpreterMessage = string;
32
+
33
+ export type WorkerInterpretersSynologyInterpreterRawPrefix = unknown;
34
+
35
+ export type WorkerInterpretersSynologyInterpreterHostname = string | undefined;
36
+
37
+ export type WorkerInterpretersSynologyInterpreterTimestamp = string | undefined;
38
+
39
+ export type WorkerInterpretersSynologyInterpreterPrefixParts = string[];
40
+
41
+ export type WorkerInterpretersSynologyInterpreterRawHostname = unknown;
42
+
43
+ export type WorkerInterpretersSynologyInterpreterRawDate = unknown;
44
+
45
+ export type WorkerInterpretersSynologyInterpreterRawTime = unknown;
46
+
47
+ export type WorkerInterpretersSynologyInterpreterDate = string | undefined;
48
+
49
+ export type WorkerInterpretersSynologyInterpreterTime = string | undefined;
50
+
51
+ export type WorkerInterpretersSynologyInterpreterParts = string;
52
+
53
+ export type WorkerInterpretersSynologyInterpreterRawSeverity = unknown;
54
+
55
+ export type WorkerInterpretersSynologyInterpreterSeverity = string;
56
+
57
+ export type WorkerInterpretersSynologyInterpreterRawEvent = unknown;
58
+
59
+ export type WorkerInterpretersSynologyInterpreterEvent = string | undefined;
60
+
61
+ export type WorkerInterpretersSynologyInterpreterTitle = string;
62
+
63
+ export type WorkerInterpretersSynologyInterpreterPriority = WorkerPipelineInterpretNotificationObjectPriority;
64
+
65
+ export type WorkerInterpretersSynologyInterpreterLowerMessage = string;
66
+
67
+ export type WorkerInterpretersSynologyInterpreterTags = string[];
68
+
69
+ export type WorkerInterpretersSynologyInterpreterSanitizedEvent = string;
70
+
71
+ export type WorkerInterpretersSynologyInterpreterBodyLines = string[];
72
+
73
+ export type WorkerInterpretersSynologyInterpreterRawProxyConfigDefault = Record<string, unknown>;
74
+
75
+ export type WorkerInterpretersSynologyInterpreterProxyConfig = Record<string, unknown>;
76
+
77
+ export type WorkerInterpretersSynologyInterpreterRawUrl = unknown;
78
+
79
+ export type WorkerInterpretersSynologyInterpreterDsmUrl = string | undefined;
80
+
81
+ /**
82
+ * Worker - Interpreters - Synology - Map Severity To Priority.
83
+ *
84
+ * @since 2.0.0
85
+ */
86
+ export type WorkerInterpretersSynologyMapSeverityToPrioritySeverity = string;
87
+
88
+ export type WorkerInterpretersSynologyMapSeverityToPriorityReturns = WorkerPipelineInterpretNotificationObjectPriority;
89
+
90
+ /**
91
+ * Worker - Interpreters - Synology - Validate URL.
92
+ *
93
+ * @since 2.0.0
94
+ */
95
+ export type WorkerInterpretersSynologyValidateUrlRawUrl = string;
96
+
97
+ export type WorkerInterpretersSynologyValidateUrlReturns = string | undefined;
98
+
99
+ export type WorkerInterpretersSynologyValidateUrlUrl = URL;
@@ -0,0 +1,111 @@
1
+ import type {
2
+ WorkerPipelineInterpretInput,
3
+ WorkerPipelineInterpretNotificationObjectPriority,
4
+ WorkerPipelineInterpretResult,
5
+ } from '../pipeline/interpret.d.ts';
6
+
7
+ /**
8
+ * Worker - Interpreters - Unifi.
9
+ *
10
+ * @since 2.0.0
11
+ */
12
+ export type WorkerInterpretersUnifiInput = WorkerPipelineInterpretInput;
13
+
14
+ export type WorkerInterpretersUnifiResult = WorkerPipelineInterpretResult;
15
+
16
+ export type WorkerInterpretersUnifiInterpreter = (input: WorkerInterpretersUnifiInput) => WorkerInterpretersUnifiResult;
17
+
18
+ /**
19
+ * Worker - Interpreters - Unifi - Extract Device Tags.
20
+ *
21
+ * @since 2.0.0
22
+ */
23
+ export type WorkerInterpretersUnifiExtractDeviceTagsText = string;
24
+
25
+ export type WorkerInterpretersUnifiExtractDeviceTagsReturns = string[];
26
+
27
+ export type WorkerInterpretersUnifiExtractDeviceTagsLower = string;
28
+
29
+ export type WorkerInterpretersUnifiExtractDeviceTagsTags = string[];
30
+
31
+ /**
32
+ * Worker - Interpreters - Unifi - Interpreter.
33
+ *
34
+ * @since 2.0.0
35
+ */
36
+ export type WorkerInterpretersUnifiInterpreterPriority = WorkerPipelineInterpretNotificationObjectPriority;
37
+
38
+ export type WorkerInterpretersUnifiInterpreterEmojiTag = string;
39
+
40
+ export type WorkerInterpretersUnifiInterpreterDecoder = TextDecoder;
41
+
42
+ export type WorkerInterpretersUnifiInterpreterBody = string;
43
+
44
+ export type WorkerInterpretersUnifiInterpreterData = Record<string, unknown>;
45
+
46
+ export type WorkerInterpretersUnifiInterpreterRawSubject = unknown;
47
+
48
+ export type WorkerInterpretersUnifiInterpreterSubject = string;
49
+
50
+ export type WorkerInterpretersUnifiInterpreterRawTextBody = unknown;
51
+
52
+ export type WorkerInterpretersUnifiInterpreterTextBody = string;
53
+
54
+ export type WorkerInterpretersUnifiInterpreterEventType = string;
55
+
56
+ export type WorkerInterpretersUnifiInterpreterCombinedText = string;
57
+
58
+ export type WorkerInterpretersUnifiInterpreterDeviceTags = string[];
59
+
60
+ export type WorkerInterpretersUnifiInterpreterTags = string[];
61
+
62
+ export type WorkerInterpretersUnifiInterpreterAlertMatch = RegExpMatchArray | null;
63
+
64
+ export type WorkerInterpretersUnifiInterpreterDeviceNameMatch = RegExpMatchArray | null;
65
+
66
+ export type WorkerInterpretersUnifiInterpreterTimeMatch = RegExpMatchArray | null;
67
+
68
+ export type WorkerInterpretersUnifiInterpreterDeviceUrlMatch = RegExpMatchArray | null;
69
+
70
+ export type WorkerInterpretersUnifiInterpreterAlert = string | undefined;
71
+
72
+ export type WorkerInterpretersUnifiInterpreterDeviceName = string | undefined;
73
+
74
+ export type WorkerInterpretersUnifiInterpreterTime = string | undefined;
75
+
76
+ export type WorkerInterpretersUnifiInterpreterDeviceUrl = string | undefined;
77
+
78
+ export type WorkerInterpretersUnifiInterpreterBodyLines = string[];
79
+
80
+ export type WorkerInterpretersUnifiInterpreterDetails = string[];
81
+
82
+ /**
83
+ * Worker - Interpreters - Unifi - Map Event To Priority.
84
+ *
85
+ * @since 2.0.0
86
+ */
87
+ export type WorkerInterpretersUnifiMapEventToPriorityText = string;
88
+
89
+ export type WorkerInterpretersUnifiMapEventToPriorityReturns = WorkerPipelineInterpretNotificationObjectPriority;
90
+
91
+ export type WorkerInterpretersUnifiMapEventToPriorityLower = string;
92
+
93
+ /**
94
+ * Worker - Interpreters - Unifi - Map Priority To Emoji Tag.
95
+ *
96
+ * @since 2.0.0
97
+ */
98
+ export type WorkerInterpretersUnifiMapPriorityToEmojiTagPriority = WorkerPipelineInterpretNotificationObjectPriority;
99
+
100
+ export type WorkerInterpretersUnifiMapPriorityToEmojiTagReturns = string;
101
+
102
+ /**
103
+ * Worker - Interpreters - Unifi - Strip Subject Prefix.
104
+ *
105
+ * @since 2.0.0
106
+ */
107
+ export type WorkerInterpretersUnifiStripSubjectPrefixSubject = string;
108
+
109
+ export type WorkerInterpretersUnifiStripSubjectPrefixReturns = string;
110
+
111
+ export type WorkerInterpretersUnifiStripSubjectPrefixStripped = string;