ntfy-reverse-proxy 2.0.4 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 -203
  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 +238 -202
  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 +7 -6
  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,20 +1,178 @@
1
- import type { LibSchemaConfigSchema } from '../../lib/schema.d.ts';
1
+ import type { vi } from 'vitest';
2
+
3
+ import type { Lib_Schema_ConfigSchema } from '../../lib/schema.d.ts';
2
4
 
3
5
  /**
4
6
  * Tests - Worker - Index.
5
7
  *
6
8
  * @since 2.0.0
7
9
  */
8
- export type TestsWorkerIndexConfig = LibSchemaConfigSchema;
10
+ export type Tests_Worker_Index_MockConfig = Lib_Schema_ConfigSchema & {};
11
+
12
+ export type Tests_Worker_Index_MockConfigWithToken = Lib_Schema_ConfigSchema & {};
13
+
14
+ export type Tests_Worker_Index_MockConfigWithErrorTopic = Lib_Schema_ConfigSchema & {};
15
+
16
+ export type Tests_Worker_Index_MockEmailConfig = Lib_Schema_ConfigSchema & {};
17
+
18
+ export type Tests_Worker_Index_MockEmailConfigWithAllowedFrom = Lib_Schema_ConfigSchema & {};
19
+
20
+ export type Tests_Worker_Index_MockEmailConfigWithErrorTopicAndErrorEvents = Lib_Schema_ConfigSchema & {};
21
+
22
+ export type Tests_Worker_Index_MockConfigWithErrorTopicAndErrorEvents = Lib_Schema_ConfigSchema & {};
23
+
24
+ /**
25
+ * Tests - Worker - Index - Handle Email - Accepts Email From Authorized Sender.
26
+ *
27
+ * @since 2.0.0
28
+ */
29
+ export type Tests_Worker_Index_HandleEmail_AcceptsEmailFromAuthorizedSender_MockFetch = ReturnType<typeof vi['fn']>;
30
+
31
+ export type Tests_Worker_Index_HandleEmail_AcceptsEmailFromAuthorizedSender_RawEmail = string;
32
+
33
+ /**
34
+ * Tests - Worker - Index - Handle Email - Allows Email When No Allowed From Is Configured.
35
+ *
36
+ * @since 2.0.0
37
+ */
38
+ export type Tests_Worker_Index_HandleEmail_AllowsEmailWhenNoAllowedFromIsConfigured_MockFetch = ReturnType<typeof vi['fn']>;
9
39
 
10
- export type TestsWorkerIndexRequest = Request;
40
+ export type Tests_Worker_Index_HandleEmail_AllowsEmailWhenNoAllowedFromIsConfigured_RawEmail = string;
11
41
 
12
- export type TestsWorkerIndexResponse = Response;
42
+ /**
43
+ * Tests - Worker - Index - Handle Email - Processes A Valid Email Through The Pipeline.
44
+ *
45
+ * @since 2.0.0
46
+ */
47
+ export type Tests_Worker_Index_HandleEmail_ProcessesAValidEmailThroughThePipeline_MockFetch = ReturnType<typeof vi['fn']>;
48
+
49
+ export type Tests_Worker_Index_HandleEmail_ProcessesAValidEmailThroughThePipeline_RawEmail = string;
50
+
51
+ /**
52
+ * Tests - Worker - Index - Handle Email - Rejects Email From Unauthorized Sender.
53
+ *
54
+ * @since 2.0.0
55
+ */
56
+ export type Tests_Worker_Index_HandleEmail_RejectsEmailFromUnauthorizedSender_MockFetch = ReturnType<typeof vi['fn']>;
57
+
58
+ export type Tests_Worker_Index_HandleEmail_RejectsEmailFromUnauthorizedSender_RawEmail = string;
59
+
60
+ /**
61
+ * Tests - Worker - Index - Handle Email - Silently Ignores Emails With No Matching Context.
62
+ *
63
+ * @since 2.0.0
64
+ */
65
+ export type Tests_Worker_Index_HandleEmail_SilentlyIgnoresEmailsWithNoMatchingContext_MockFetch = ReturnType<typeof vi['fn']>;
66
+
67
+ export type Tests_Worker_Index_HandleEmail_SilentlyIgnoresEmailsWithNoMatchingContext_RawEmail = string;
68
+
69
+ /**
70
+ * Tests - Worker - Index - Handle Email - Suppresses Auth Error Notification When Email Error Events Excludes Authentication.
71
+ *
72
+ * @since 2.1.0
73
+ */
74
+ export type Tests_Worker_Index_HandleEmail_SuppressesAuthErrorNotificationWhenEmailErrorEventsExcludesAuthentication_MockFetch = ReturnType<typeof vi['fn']>;
75
+
76
+ export type Tests_Worker_Index_HandleEmail_SuppressesAuthErrorNotificationWhenEmailErrorEventsExcludesAuthentication_RawEmail = string;
77
+
78
+ /**
79
+ * Tests - Worker - Index - Handle Request - Passes Through When No Token Configured.
80
+ *
81
+ * @since 2.0.0
82
+ */
83
+ export type Tests_Worker_Index_HandleRequest_PassesThroughWhenNoTokenConfigured_Request = Request;
84
+
85
+ export type Tests_Worker_Index_HandleRequest_PassesThroughWhenNoTokenConfigured_Response = Response;
86
+
87
+ /**
88
+ * Tests - Worker - Index - Handle Request - Processes A Valid POST Request Through The Pipeline.
89
+ *
90
+ * @since 2.0.0
91
+ */
92
+ export type Tests_Worker_Index_HandleRequest_ProcessesAValidPOSTRequestThroughThePipeline_Request = Request;
13
93
 
14
- export type TestsWorkerIndexResponseBody = Record<string, unknown>;
94
+ export type Tests_Worker_Index_HandleRequest_ProcessesAValidPOSTRequestThroughThePipeline_Response = Response;
15
95
 
16
- export type TestsWorkerIndexContentType = string | null;
96
+ export type Tests_Worker_Index_HandleRequest_ProcessesAValidPOSTRequestThroughThePipeline_Body = Record<string, unknown>;
97
+
98
+ /**
99
+ * Tests - Worker - Index - Handle Request - Returns 403 With No Authorization Header When Token Required.
100
+ *
101
+ * @since 2.0.0
102
+ */
103
+ export type Tests_Worker_Index_HandleRequest_Returns403WithNoAuthorizationHeaderWhenTokenRequired_Request = Request;
104
+
105
+ export type Tests_Worker_Index_HandleRequest_Returns403WithNoAuthorizationHeaderWhenTokenRequired_Response = Response;
106
+
107
+ /**
108
+ * Tests - Worker - Index - Handle Request - Returns 403 With Wrong Token.
109
+ *
110
+ * @since 2.0.0
111
+ */
112
+ export type Tests_Worker_Index_HandleRequest_Returns403WithWrongToken_Request = Request;
113
+
114
+ export type Tests_Worker_Index_HandleRequest_Returns403WithWrongToken_Response = Response;
115
+
116
+ export type Tests_Worker_Index_HandleRequest_Returns403WithWrongToken_Body = Record<string, unknown>;
117
+
118
+ /**
119
+ * Tests - Worker - Index - Handle Request - Returns 404 For Unmatched Subdomain.
120
+ *
121
+ * @since 2.0.0
122
+ */
123
+ export type Tests_Worker_Index_HandleRequest_Returns404ForUnmatchedSubdomain_Request = Request;
124
+
125
+ export type Tests_Worker_Index_HandleRequest_Returns404ForUnmatchedSubdomain_Response = Response;
126
+
127
+ /**
128
+ * Tests - Worker - Index - Handle Request - Returns 405 For Unsupported Methods.
129
+ *
130
+ * @since 2.0.0
131
+ */
132
+ export type Tests_Worker_Index_HandleRequest_Returns405ForUnsupportedMethods_Request = Request;
133
+
134
+ export type Tests_Worker_Index_HandleRequest_Returns405ForUnsupportedMethods_Response = Response;
135
+
136
+ /**
137
+ * Tests - Worker - Index - Handle Request - Sends Error Notification When Auth Fails And Error Topic Configured.
138
+ *
139
+ * @since 2.0.0
140
+ */
141
+ export type Tests_Worker_Index_HandleRequest_SendsErrorNotificationWhenAuthFailsAndErrorTopicConfigured_MockFetch = ReturnType<typeof vi['fn']>;
142
+
143
+ export type Tests_Worker_Index_HandleRequest_SendsErrorNotificationWhenAuthFailsAndErrorTopicConfigured_Request = Request;
144
+
145
+ export type Tests_Worker_Index_HandleRequest_SendsErrorNotificationWhenAuthFailsAndErrorTopicConfigured_Response = Response;
146
+
147
+ /**
148
+ * Tests - Worker - Index - Handle Request - Serves Landing Page For GET Requests.
149
+ *
150
+ * @since 2.0.0
151
+ */
152
+ export type Tests_Worker_Index_HandleRequest_ServesLandingPageForGETRequests_Request = Request;
153
+
154
+ export type Tests_Worker_Index_HandleRequest_ServesLandingPageForGETRequests_Response = Response;
155
+
156
+ export type Tests_Worker_Index_HandleRequest_ServesLandingPageForGETRequests_ContentType = string | null;
157
+
158
+ /**
159
+ * Tests - Worker - Index - Handle Request - Succeeds With Correct Token In Authorization Header.
160
+ *
161
+ * @since 2.0.0
162
+ */
163
+ export type Tests_Worker_Index_HandleRequest_SucceedsWithCorrectTokenInAuthorizationHeader_Request = Request;
164
+
165
+ export type Tests_Worker_Index_HandleRequest_SucceedsWithCorrectTokenInAuthorizationHeader_Response = Response;
166
+
167
+ export type Tests_Worker_Index_HandleRequest_SucceedsWithCorrectTokenInAuthorizationHeader_Body = Record<string, unknown>;
168
+
169
+ /**
170
+ * Tests - Worker - Index - Handle Request - Suppresses Auth Error Notification When Error Events Excludes Authentication.
171
+ *
172
+ * @since 2.1.0
173
+ */
174
+ export type Tests_Worker_Index_HandleRequest_SuppressesAuthErrorNotificationWhenErrorEventsExcludesAuthentication_MockFetch = ReturnType<typeof vi['fn']>;
17
175
 
18
- export type TestsWorkerIndexMockFetch = ReturnType<typeof import('vitest')['vi']['fn']>;
176
+ export type Tests_Worker_Index_HandleRequest_SuppressesAuthErrorNotificationWhenErrorEventsExcludesAuthentication_Request = Request;
19
177
 
20
- export type TestsWorkerIndexRawEmail = string;
178
+ export type Tests_Worker_Index_HandleRequest_SuppressesAuthErrorNotificationWhenErrorEventsExcludesAuthentication_Response = Response;
@@ -1,19 +1,103 @@
1
- import type {
2
- WorkerPipelineInterpretNotificationObject,
3
- WorkerPipelineInterpretResult,
4
- } from '../../../worker/pipeline/interpret.d.ts';
1
+ /**
2
+ * Tests - Worker - Interpreters - Ntfy JSON - Ntfy JSON Interpreter - Handles String Input By Parsing JSON.
3
+ *
4
+ * @since 2.0.0
5
+ */
6
+ export type Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_HandlesStringInputByParsingJSON_Result_Notification_Body = string;
7
+
8
+ export type Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_HandlesStringInputByParsingJSON_Result_Notification = {
9
+ body: Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_HandlesStringInputByParsingJSON_Result_Notification_Body;
10
+ };
11
+
12
+ export type Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_HandlesStringInputByParsingJSON_Result = {
13
+ notification: Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_HandlesStringInputByParsingJSON_Result_Notification;
14
+ } | null;
15
+
16
+ /**
17
+ * Tests - Worker - Interpreters - Ntfy JSON - Ntfy JSON Interpreter - Ignores Unknown Fields.
18
+ *
19
+ * @since 2.0.0
20
+ */
21
+ export type Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_IgnoresUnknownFields_Result_Notification_Body = string;
22
+
23
+ export type Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_IgnoresUnknownFields_Result_Notification = {
24
+ body: Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_IgnoresUnknownFields_Result_Notification_Body;
25
+ };
26
+
27
+ export type Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_IgnoresUnknownFields_Result = {
28
+ notification: Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_IgnoresUnknownFields_Result_Notification;
29
+ } | null;
30
+
31
+ export type Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_IgnoresUnknownFields_RecordCast = Record<string, unknown>;
32
+
33
+ export type Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_IgnoresUnknownFields_UnknownField = unknown;
34
+
35
+ /**
36
+ * Tests - Worker - Interpreters - Ntfy JSON - Ntfy JSON Interpreter - Maps JSON Fields To Notification Object.
37
+ *
38
+ * @since 2.0.0
39
+ */
40
+ export type Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_MapsJSONFieldsToNotificationObject_Result_Notification_Title = string | undefined;
41
+
42
+ export type Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_MapsJSONFieldsToNotificationObject_Result_Notification_Body = string;
43
+
44
+ export type Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_MapsJSONFieldsToNotificationObject_Result_Notification_Priority = 1 | 2 | 3 | 4 | 5 | undefined;
45
+
46
+ export type Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_MapsJSONFieldsToNotificationObject_Result_Notification_Tags = string[] | undefined;
47
+
48
+ export type Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_MapsJSONFieldsToNotificationObject_Result_Notification = {
49
+ title?: Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_MapsJSONFieldsToNotificationObject_Result_Notification_Title;
50
+ body: Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_MapsJSONFieldsToNotificationObject_Result_Notification_Body;
51
+ priority?: Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_MapsJSONFieldsToNotificationObject_Result_Notification_Priority;
52
+ tags?: Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_MapsJSONFieldsToNotificationObject_Result_Notification_Tags;
53
+ };
54
+
55
+ export type Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_MapsJSONFieldsToNotificationObject_Result = {
56
+ notification: Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_MapsJSONFieldsToNotificationObject_Result_Notification;
57
+ } | null;
5
58
 
6
59
  /**
7
- * Tests - Worker - Interpreters - Ntfy JSON.
60
+ * Tests - Worker - Interpreters - Ntfy JSON - Ntfy JSON Interpreter - Maps Optional Ntfy Fields.
8
61
  *
9
62
  * @since 2.0.0
10
63
  */
11
- export type TestsWorkerInterpretersNtfyJsonResult = WorkerPipelineInterpretResult | null;
64
+ export type Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_MapsOptionalNtfyFields_Result_Notification_Icon = string | undefined;
65
+
66
+ export type Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_MapsOptionalNtfyFields_Result_Notification_Attach = string | undefined;
67
+
68
+ export type Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_MapsOptionalNtfyFields_Result_Notification_Filename = string | undefined;
69
+
70
+ export type Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_MapsOptionalNtfyFields_Result_Notification_Markdown = boolean | undefined;
71
+
72
+ export type Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_MapsOptionalNtfyFields_Result_Notification = {
73
+ icon?: Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_MapsOptionalNtfyFields_Result_Notification_Icon;
74
+ attach?: Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_MapsOptionalNtfyFields_Result_Notification_Attach;
75
+ filename?: Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_MapsOptionalNtfyFields_Result_Notification_Filename;
76
+ markdown?: Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_MapsOptionalNtfyFields_Result_Notification_Markdown;
77
+ };
12
78
 
13
- export type TestsWorkerInterpretersNtfyJsonInput = Record<string, unknown>;
79
+ export type Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_MapsOptionalNtfyFields_Result = {
80
+ notification: Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_MapsOptionalNtfyFields_Result_Notification;
81
+ } | null;
14
82
 
15
- export type TestsWorkerInterpretersNtfyJsonNotification = WorkerPipelineInterpretNotificationObject;
83
+ /**
84
+ * Tests - Worker - Interpreters - Ntfy JSON - Ntfy JSON Interpreter - Requires Body Field.
85
+ *
86
+ * @since 2.0.0
87
+ */
88
+ export type Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_RequiresBodyField_Input = Record<string, unknown>;
89
+
90
+ /**
91
+ * Tests - Worker - Interpreters - Ntfy JSON - Ntfy JSON Interpreter - Returns Null On Non JSON String Input.
92
+ *
93
+ * @since 2.0.0
94
+ */
95
+ export type Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_ReturnsNullOnNonJSONStringInput_Result_Notification_Body = string;
16
96
 
17
- export type TestsWorkerInterpretersNtfyJsonUnknownField = unknown;
97
+ export type Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_ReturnsNullOnNonJSONStringInput_Result_Notification = {
98
+ body: Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_ReturnsNullOnNonJSONStringInput_Result_Notification_Body;
99
+ };
18
100
 
19
- export type TestsWorkerInterpretersNtfyJsonRecordCast = Record<string, unknown>;
101
+ export type Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_ReturnsNullOnNonJSONStringInput_Result = {
102
+ notification: Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_ReturnsNullOnNonJSONStringInput_Result_Notification;
103
+ } | null;
@@ -1,10 +1,169 @@
1
- import type { WorkerPipelineInterpretResult } from '../../../worker/pipeline/interpret.d.ts';
1
+ /**
2
+ * Tests - Worker - Interpreters - Pfsense - Pfsense Interpreter - Adds Gateway Content Tag.
3
+ *
4
+ * @since 2.0.0
5
+ */
6
+ export type Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_AddsGatewayContentTag_Result_Notification_Tags = string[] | undefined;
7
+
8
+ export type Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_AddsGatewayContentTag_Result_Notification = {
9
+ tags?: Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_AddsGatewayContentTag_Result_Notification_Tags;
10
+ };
11
+
12
+ export type Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_AddsGatewayContentTag_Result = {
13
+ notification: Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_AddsGatewayContentTag_Result_Notification;
14
+ };
15
+
16
+ /**
17
+ * Tests - Worker - Interpreters - Pfsense - Pfsense Interpreter - Adds Pfsense Tag.
18
+ *
19
+ * @since 2.0.0
20
+ */
21
+ export type Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_AddsPfsenseTag_Result_Notification_Tags = string[] | undefined;
22
+
23
+ export type Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_AddsPfsenseTag_Result_Notification = {
24
+ tags?: Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_AddsPfsenseTag_Result_Notification_Tags;
25
+ };
26
+
27
+ export type Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_AddsPfsenseTag_Result = {
28
+ notification: Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_AddsPfsenseTag_Result_Notification;
29
+ };
30
+
31
+ /**
32
+ * Tests - Worker - Interpreters - Pfsense - Pfsense Interpreter - Enables Markdown.
33
+ *
34
+ * @since 2.0.0
35
+ */
36
+ export type Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_EnablesMarkdown_Result_Notification_Markdown = boolean | undefined;
37
+
38
+ export type Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_EnablesMarkdown_Result_Notification = {
39
+ markdown?: Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_EnablesMarkdown_Result_Notification_Markdown;
40
+ };
41
+
42
+ export type Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_EnablesMarkdown_Result = {
43
+ notification: Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_EnablesMarkdown_Result_Notification;
44
+ };
45
+
46
+ /**
47
+ * Tests - Worker - Interpreters - Pfsense - Pfsense Interpreter - Extracts Hostname From Subject.
48
+ *
49
+ * @since 2.0.0
50
+ */
51
+ export type Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_ExtractsHostnameFromSubject_Result_Notification_Title = string | undefined;
52
+
53
+ export type Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_ExtractsHostnameFromSubject_Result_Notification = {
54
+ title?: Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_ExtractsHostnameFromSubject_Result_Notification_Title;
55
+ };
56
+
57
+ export type Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_ExtractsHostnameFromSubject_Result = {
58
+ notification: Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_ExtractsHostnameFromSubject_Result_Notification;
59
+ };
2
60
 
3
61
  /**
4
- * Tests - Worker - Interpreters - Pfsense.
62
+ * Tests - Worker - Interpreters - Pfsense - Pfsense Interpreter - Handles Batched Notifications.
5
63
  *
6
64
  * @since 2.0.0
7
65
  */
8
- export type TestsWorkerInterpretersPfsenseResult = WorkerPipelineInterpretResult;
66
+ export type Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_HandlesBatchedNotifications_Body = string;
67
+
68
+ export type Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_HandlesBatchedNotifications_Result_Notification_Body = string;
69
+
70
+ export type Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_HandlesBatchedNotifications_Result_Notification = {
71
+ body: Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_HandlesBatchedNotifications_Result_Notification_Body;
72
+ };
73
+
74
+ export type Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_HandlesBatchedNotifications_Result = {
75
+ notification: Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_HandlesBatchedNotifications_Result_Notification;
76
+ };
77
+
78
+ /**
79
+ * Tests - Worker - Interpreters - Pfsense - Pfsense Interpreter - Handles String Input As Fallback.
80
+ *
81
+ * @since 2.0.0
82
+ */
83
+ export type Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_HandlesStringInputAsFallback_Result_Notification_Body = string;
84
+
85
+ export type Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_HandlesStringInputAsFallback_Result_Notification_Tags = string[] | undefined;
86
+
87
+ export type Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_HandlesStringInputAsFallback_Result_Notification = {
88
+ body: Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_HandlesStringInputAsFallback_Result_Notification_Body;
89
+ tags?: Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_HandlesStringInputAsFallback_Result_Notification_Tags;
90
+ };
91
+
92
+ export type Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_HandlesStringInputAsFallback_Result = {
93
+ notification: Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_HandlesStringInputAsFallback_Result_Notification;
94
+ };
95
+
96
+ /**
97
+ * Tests - Worker - Interpreters - Pfsense - Pfsense Interpreter - Maps Error Keyword To Priority 4.
98
+ *
99
+ * @since 2.0.0
100
+ */
101
+ export type Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_MapsErrorKeywordToPriority4_Result_Notification_Priority = 1 | 2 | 3 | 4 | 5 | undefined;
102
+
103
+ export type Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_MapsErrorKeywordToPriority4_Result_Notification = {
104
+ priority?: Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_MapsErrorKeywordToPriority4_Result_Notification_Priority;
105
+ };
106
+
107
+ export type Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_MapsErrorKeywordToPriority4_Result = {
108
+ notification: Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_MapsErrorKeywordToPriority4_Result_Notification;
109
+ };
110
+
111
+ /**
112
+ * Tests - Worker - Interpreters - Pfsense - Pfsense Interpreter - Maps Gateway Available To Low Priority.
113
+ *
114
+ * @since 2.0.0
115
+ */
116
+ export type Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_MapsGatewayAvailableToLowPriority_Result_Notification_Priority = 1 | 2 | 3 | 4 | 5 | undefined;
117
+
118
+ export type Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_MapsGatewayAvailableToLowPriority_Result_Notification = {
119
+ priority?: Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_MapsGatewayAvailableToLowPriority_Result_Notification_Priority;
120
+ };
121
+
122
+ export type Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_MapsGatewayAvailableToLowPriority_Result = {
123
+ notification: Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_MapsGatewayAvailableToLowPriority_Result_Notification;
124
+ };
125
+
126
+ /**
127
+ * Tests - Worker - Interpreters - Pfsense - Pfsense Interpreter - Maps Gateway Down To High Priority.
128
+ *
129
+ * @since 2.0.0
130
+ */
131
+ export type Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_MapsGatewayDownToHighPriority_Result_Notification_Priority = 1 | 2 | 3 | 4 | 5 | undefined;
132
+
133
+ export type Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_MapsGatewayDownToHighPriority_Result_Notification = {
134
+ priority?: Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_MapsGatewayDownToHighPriority_Result_Notification_Priority;
135
+ };
136
+
137
+ export type Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_MapsGatewayDownToHighPriority_Result = {
138
+ notification: Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_MapsGatewayDownToHighPriority_Result_Notification;
139
+ };
140
+
141
+ /**
142
+ * Tests - Worker - Interpreters - Pfsense - Pfsense Interpreter - Maps Packet Loss To Priority 3.
143
+ *
144
+ * @since 2.0.0
145
+ */
146
+ export type Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_MapsPacketLossToPriority3_Result_Notification_Priority = 1 | 2 | 3 | 4 | 5 | undefined;
147
+
148
+ export type Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_MapsPacketLossToPriority3_Result_Notification = {
149
+ priority?: Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_MapsPacketLossToPriority3_Result_Notification_Priority;
150
+ };
151
+
152
+ export type Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_MapsPacketLossToPriority3_Result = {
153
+ notification: Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_MapsPacketLossToPriority3_Result_Notification;
154
+ };
155
+
156
+ /**
157
+ * Tests - Worker - Interpreters - Pfsense - Pfsense Interpreter - Renders A Notification Without A Separator.
158
+ *
159
+ * @since 2.1.0
160
+ */
161
+ export type Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_RendersANotificationWithoutASeparator_Result_Notification_Body = string;
162
+
163
+ export type Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_RendersANotificationWithoutASeparator_Result_Notification = {
164
+ body: Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_RendersANotificationWithoutASeparator_Result_Notification_Body;
165
+ };
9
166
 
10
- export type TestsWorkerInterpretersPfsenseBody = string;
167
+ export type Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_RendersANotificationWithoutASeparator_Result = {
168
+ notification: Tests_Worker_Interpreters_Pfsense_PfsenseInterpreter_RendersANotificationWithoutASeparator_Result_Notification;
169
+ };
@@ -1,10 +1,73 @@
1
- import type { WorkerPipelineInterpretResult } from '../../../worker/pipeline/interpret.d.ts';
1
+ /**
2
+ * Tests - Worker - Interpreters - Plain Text - Plain Text Interpreter - Handles Binary Input By Converting To String Representation.
3
+ *
4
+ * @since 2.0.0
5
+ */
6
+ export type Tests_Worker_Interpreters_PlainText_PlainTextInterpreter_HandlesBinaryInputByConvertingToStringRepresentation_Buffer = ArrayBuffer;
7
+
8
+ export type Tests_Worker_Interpreters_PlainText_PlainTextInterpreter_HandlesBinaryInputByConvertingToStringRepresentation_Result_Notification_Body = string;
9
+
10
+ export type Tests_Worker_Interpreters_PlainText_PlainTextInterpreter_HandlesBinaryInputByConvertingToStringRepresentation_Result_Notification = {
11
+ body: Tests_Worker_Interpreters_PlainText_PlainTextInterpreter_HandlesBinaryInputByConvertingToStringRepresentation_Result_Notification_Body;
12
+ };
13
+
14
+ export type Tests_Worker_Interpreters_PlainText_PlainTextInterpreter_HandlesBinaryInputByConvertingToStringRepresentation_Result_Attachment = ArrayBuffer | undefined;
15
+
16
+ export type Tests_Worker_Interpreters_PlainText_PlainTextInterpreter_HandlesBinaryInputByConvertingToStringRepresentation_Result = {
17
+ notification: Tests_Worker_Interpreters_PlainText_PlainTextInterpreter_HandlesBinaryInputByConvertingToStringRepresentation_Result_Notification;
18
+ attachment?: Tests_Worker_Interpreters_PlainText_PlainTextInterpreter_HandlesBinaryInputByConvertingToStringRepresentation_Result_Attachment;
19
+ };
20
+
21
+ /**
22
+ * Tests - Worker - Interpreters - Plain Text - Plain Text Interpreter - Has No Attachment.
23
+ *
24
+ * @since 2.0.0
25
+ */
26
+ export type Tests_Worker_Interpreters_PlainText_PlainTextInterpreter_HasNoAttachment_Result_Notification_Body = string;
27
+
28
+ export type Tests_Worker_Interpreters_PlainText_PlainTextInterpreter_HasNoAttachment_Result_Notification = {
29
+ body: Tests_Worker_Interpreters_PlainText_PlainTextInterpreter_HasNoAttachment_Result_Notification_Body;
30
+ };
31
+
32
+ export type Tests_Worker_Interpreters_PlainText_PlainTextInterpreter_HasNoAttachment_Result_Attachment = ArrayBuffer | undefined;
33
+
34
+ export type Tests_Worker_Interpreters_PlainText_PlainTextInterpreter_HasNoAttachment_Result = {
35
+ notification: Tests_Worker_Interpreters_PlainText_PlainTextInterpreter_HasNoAttachment_Result_Notification;
36
+ attachment?: Tests_Worker_Interpreters_PlainText_PlainTextInterpreter_HasNoAttachment_Result_Attachment;
37
+ };
2
38
 
3
39
  /**
4
- * Tests - Worker - Interpreters - Plain Text.
40
+ * Tests - Worker - Interpreters - Plain Text - Plain Text Interpreter - Passes Text Through As Body.
5
41
  *
6
42
  * @since 2.0.0
7
43
  */
8
- export type TestsWorkerInterpretersPlainTextResult = WorkerPipelineInterpretResult;
44
+ export type Tests_Worker_Interpreters_PlainText_PlainTextInterpreter_PassesTextThroughAsBody_Result_Notification_Body = string;
45
+
46
+ export type Tests_Worker_Interpreters_PlainText_PlainTextInterpreter_PassesTextThroughAsBody_Result_Notification = {
47
+ body: Tests_Worker_Interpreters_PlainText_PlainTextInterpreter_PassesTextThroughAsBody_Result_Notification_Body;
48
+ };
49
+
50
+ export type Tests_Worker_Interpreters_PlainText_PlainTextInterpreter_PassesTextThroughAsBody_Result_Attachment = ArrayBuffer | undefined;
51
+
52
+ export type Tests_Worker_Interpreters_PlainText_PlainTextInterpreter_PassesTextThroughAsBody_Result = {
53
+ notification: Tests_Worker_Interpreters_PlainText_PlainTextInterpreter_PassesTextThroughAsBody_Result_Notification;
54
+ attachment?: Tests_Worker_Interpreters_PlainText_PlainTextInterpreter_PassesTextThroughAsBody_Result_Attachment;
55
+ };
56
+
57
+ /**
58
+ * Tests - Worker - Interpreters - Plain Text - Plain Text Interpreter - Stringifies Object Input.
59
+ *
60
+ * @since 2.0.0
61
+ */
62
+ export type Tests_Worker_Interpreters_PlainText_PlainTextInterpreter_StringifiesObjectInput_Result_Notification_Body = string;
63
+
64
+ export type Tests_Worker_Interpreters_PlainText_PlainTextInterpreter_StringifiesObjectInput_Result_Notification = {
65
+ body: Tests_Worker_Interpreters_PlainText_PlainTextInterpreter_StringifiesObjectInput_Result_Notification_Body;
66
+ };
67
+
68
+ export type Tests_Worker_Interpreters_PlainText_PlainTextInterpreter_StringifiesObjectInput_Result_Attachment = ArrayBuffer | undefined;
9
69
 
10
- export type TestsWorkerInterpretersPlainTextBuffer = ArrayBuffer;
70
+ export type Tests_Worker_Interpreters_PlainText_PlainTextInterpreter_StringifiesObjectInput_Result = {
71
+ notification: Tests_Worker_Interpreters_PlainText_PlainTextInterpreter_StringifiesObjectInput_Result_Notification;
72
+ attachment?: Tests_Worker_Interpreters_PlainText_PlainTextInterpreter_StringifiesObjectInput_Result_Attachment;
73
+ };