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
@@ -3,36 +3,116 @@
3
3
  *
4
4
  * @since 2.0.0
5
5
  */
6
- export type TestsWorkerPipelineFormatBaseNotification = {
7
- title: string;
8
- body: string;
9
- priority: 3;
10
- tags: string[];
11
- markdown: boolean;
12
- };
13
-
14
- export type TestsWorkerPipelineFormatResult = {
15
- body: string;
16
- headers: Record<string, string>;
17
- };
18
-
19
- export type TestsWorkerPipelineFormatCfProperties = {
20
- country: string;
21
- region: string;
22
- city: string;
23
- colo: string;
24
- latitude: string;
25
- longitude: string;
26
- asn: number;
27
- asOrganization: string;
28
- };
29
-
30
- export type TestsWorkerPipelineFormatNotificationWithOptionals = {
31
- title: string;
32
- body: string;
33
- priority: 3;
34
- tags: string[];
35
- markdown: boolean;
36
- icon: string;
37
- actions: string;
6
+ export type Tests_Worker_Pipeline_Format_BaseNotificationTitle = string;
7
+
8
+ export type Tests_Worker_Pipeline_Format_BaseNotificationBody = string;
9
+
10
+ export type Tests_Worker_Pipeline_Format_BaseNotificationPriority = 3;
11
+
12
+ export type Tests_Worker_Pipeline_Format_BaseNotificationTags = string[];
13
+
14
+ export type Tests_Worker_Pipeline_Format_BaseNotificationMarkdown = boolean;
15
+
16
+ export type Tests_Worker_Pipeline_Format_BaseNotification = {
17
+ title: Tests_Worker_Pipeline_Format_BaseNotificationTitle;
18
+ body: Tests_Worker_Pipeline_Format_BaseNotificationBody;
19
+ priority: Tests_Worker_Pipeline_Format_BaseNotificationPriority;
20
+ tags: Tests_Worker_Pipeline_Format_BaseNotificationTags;
21
+ markdown: Tests_Worker_Pipeline_Format_BaseNotificationMarkdown;
22
+ };
23
+
24
+ export type Tests_Worker_Pipeline_Format_Format_AppendsVisitorInfoWhenEnabled_CfPropertiesCountry = string;
25
+
26
+ export type Tests_Worker_Pipeline_Format_Format_AppendsVisitorInfoWhenEnabled_CfPropertiesRegion = string;
27
+
28
+ export type Tests_Worker_Pipeline_Format_Format_AppendsVisitorInfoWhenEnabled_CfPropertiesCity = string;
29
+
30
+ export type Tests_Worker_Pipeline_Format_Format_AppendsVisitorInfoWhenEnabled_CfPropertiesColo = string;
31
+
32
+ export type Tests_Worker_Pipeline_Format_Format_AppendsVisitorInfoWhenEnabled_CfPropertiesLatitude = string;
33
+
34
+ export type Tests_Worker_Pipeline_Format_Format_AppendsVisitorInfoWhenEnabled_CfPropertiesLongitude = string;
35
+
36
+ export type Tests_Worker_Pipeline_Format_Format_AppendsVisitorInfoWhenEnabled_CfPropertiesAsn = number;
37
+
38
+ export type Tests_Worker_Pipeline_Format_Format_AppendsVisitorInfoWhenEnabled_CfPropertiesAsOrganization = string;
39
+
40
+ export type Tests_Worker_Pipeline_Format_Format_AppendsVisitorInfoWhenEnabled_CfProperties = {
41
+ country: Tests_Worker_Pipeline_Format_Format_AppendsVisitorInfoWhenEnabled_CfPropertiesCountry;
42
+ region: Tests_Worker_Pipeline_Format_Format_AppendsVisitorInfoWhenEnabled_CfPropertiesRegion;
43
+ city: Tests_Worker_Pipeline_Format_Format_AppendsVisitorInfoWhenEnabled_CfPropertiesCity;
44
+ colo: Tests_Worker_Pipeline_Format_Format_AppendsVisitorInfoWhenEnabled_CfPropertiesColo;
45
+ latitude: Tests_Worker_Pipeline_Format_Format_AppendsVisitorInfoWhenEnabled_CfPropertiesLatitude;
46
+ longitude: Tests_Worker_Pipeline_Format_Format_AppendsVisitorInfoWhenEnabled_CfPropertiesLongitude;
47
+ asn: Tests_Worker_Pipeline_Format_Format_AppendsVisitorInfoWhenEnabled_CfPropertiesAsn;
48
+ asOrganization: Tests_Worker_Pipeline_Format_Format_AppendsVisitorInfoWhenEnabled_CfPropertiesAsOrganization;
49
+ };
50
+
51
+ export type Tests_Worker_Pipeline_Format_Format_AppendsVisitorInfoWhenEnabled_ResultBody = string;
52
+
53
+ export type Tests_Worker_Pipeline_Format_Format_AppendsVisitorInfoWhenEnabled_ResultHeaders = Record<string, string>;
54
+
55
+ export type Tests_Worker_Pipeline_Format_Format_AppendsVisitorInfoWhenEnabled_Result = {
56
+ body: Tests_Worker_Pipeline_Format_Format_AppendsVisitorInfoWhenEnabled_ResultBody;
57
+ headers: Tests_Worker_Pipeline_Format_Format_AppendsVisitorInfoWhenEnabled_ResultHeaders;
58
+ };
59
+
60
+ export type Tests_Worker_Pipeline_Format_Format_DoesNotIncludeVisitorInfoWhenDisabled_ResultBody = string;
61
+
62
+ export type Tests_Worker_Pipeline_Format_Format_DoesNotIncludeVisitorInfoWhenDisabled_ResultHeaders = Record<string, string>;
63
+
64
+ export type Tests_Worker_Pipeline_Format_Format_DoesNotIncludeVisitorInfoWhenDisabled_Result = {
65
+ body: Tests_Worker_Pipeline_Format_Format_DoesNotIncludeVisitorInfoWhenDisabled_ResultBody;
66
+ headers: Tests_Worker_Pipeline_Format_Format_DoesNotIncludeVisitorInfoWhenDisabled_ResultHeaders;
67
+ };
68
+
69
+ export type Tests_Worker_Pipeline_Format_Format_MapsOptionalNotificationFieldsToHeaders_NotificationTitle = string;
70
+
71
+ export type Tests_Worker_Pipeline_Format_Format_MapsOptionalNotificationFieldsToHeaders_NotificationBody = string;
72
+
73
+ export type Tests_Worker_Pipeline_Format_Format_MapsOptionalNotificationFieldsToHeaders_NotificationPriority = 3;
74
+
75
+ export type Tests_Worker_Pipeline_Format_Format_MapsOptionalNotificationFieldsToHeaders_NotificationTags = string[];
76
+
77
+ export type Tests_Worker_Pipeline_Format_Format_MapsOptionalNotificationFieldsToHeaders_NotificationMarkdown = boolean;
78
+
79
+ export type Tests_Worker_Pipeline_Format_Format_MapsOptionalNotificationFieldsToHeaders_NotificationIcon = string;
80
+
81
+ export type Tests_Worker_Pipeline_Format_Format_MapsOptionalNotificationFieldsToHeaders_NotificationActions = string;
82
+
83
+ export type Tests_Worker_Pipeline_Format_Format_MapsOptionalNotificationFieldsToHeaders_Notification = {
84
+ title: Tests_Worker_Pipeline_Format_Format_MapsOptionalNotificationFieldsToHeaders_NotificationTitle;
85
+ body: Tests_Worker_Pipeline_Format_Format_MapsOptionalNotificationFieldsToHeaders_NotificationBody;
86
+ priority: Tests_Worker_Pipeline_Format_Format_MapsOptionalNotificationFieldsToHeaders_NotificationPriority;
87
+ tags: Tests_Worker_Pipeline_Format_Format_MapsOptionalNotificationFieldsToHeaders_NotificationTags;
88
+ markdown: Tests_Worker_Pipeline_Format_Format_MapsOptionalNotificationFieldsToHeaders_NotificationMarkdown;
89
+ icon: Tests_Worker_Pipeline_Format_Format_MapsOptionalNotificationFieldsToHeaders_NotificationIcon;
90
+ actions: Tests_Worker_Pipeline_Format_Format_MapsOptionalNotificationFieldsToHeaders_NotificationActions;
91
+ };
92
+
93
+ export type Tests_Worker_Pipeline_Format_Format_MapsOptionalNotificationFieldsToHeaders_ResultBody = string;
94
+
95
+ export type Tests_Worker_Pipeline_Format_Format_MapsOptionalNotificationFieldsToHeaders_ResultHeaders = Record<string, string>;
96
+
97
+ export type Tests_Worker_Pipeline_Format_Format_MapsOptionalNotificationFieldsToHeaders_Result = {
98
+ body: Tests_Worker_Pipeline_Format_Format_MapsOptionalNotificationFieldsToHeaders_ResultBody;
99
+ headers: Tests_Worker_Pipeline_Format_Format_MapsOptionalNotificationFieldsToHeaders_ResultHeaders;
100
+ };
101
+
102
+ export type Tests_Worker_Pipeline_Format_Format_OmitsUndefinedOptionalHeaders_ResultBody = string;
103
+
104
+ export type Tests_Worker_Pipeline_Format_Format_OmitsUndefinedOptionalHeaders_ResultHeaders = Record<string, string>;
105
+
106
+ export type Tests_Worker_Pipeline_Format_Format_OmitsUndefinedOptionalHeaders_Result = {
107
+ body: Tests_Worker_Pipeline_Format_Format_OmitsUndefinedOptionalHeaders_ResultBody;
108
+ headers: Tests_Worker_Pipeline_Format_Format_OmitsUndefinedOptionalHeaders_ResultHeaders;
109
+ };
110
+
111
+ export type Tests_Worker_Pipeline_Format_Format_ReturnsFormattedBodyAndNtfyHeaders_ResultBody = string;
112
+
113
+ export type Tests_Worker_Pipeline_Format_Format_ReturnsFormattedBodyAndNtfyHeaders_ResultHeaders = Record<string, string>;
114
+
115
+ export type Tests_Worker_Pipeline_Format_Format_ReturnsFormattedBodyAndNtfyHeaders_Result = {
116
+ body: Tests_Worker_Pipeline_Format_Format_ReturnsFormattedBodyAndNtfyHeaders_ResultBody;
117
+ headers: Tests_Worker_Pipeline_Format_Format_ReturnsFormattedBodyAndNtfyHeaders_ResultHeaders;
38
118
  };
@@ -3,14 +3,30 @@
3
3
  *
4
4
  * @since 2.0.0
5
5
  */
6
- export type TestsWorkerPipelineInterpretResult = {
7
- notification: TestsWorkerPipelineInterpretResultNotification;
6
+ export type Tests_Worker_Pipeline_Interpret_Interpret_DispatchesToNtfyJsonInterpreter_ResultNotificationBody = string;
7
+
8
+ export type Tests_Worker_Pipeline_Interpret_Interpret_DispatchesToNtfyJsonInterpreter_ResultNotification = {
9
+ title?: string | undefined;
10
+ body: Tests_Worker_Pipeline_Interpret_Interpret_DispatchesToNtfyJsonInterpreter_ResultNotificationBody;
11
+ priority?: 1 | 2 | 3 | 4 | 5 | undefined;
12
+ tags?: string[] | undefined;
13
+ icon?: string | undefined;
14
+ actions?: string | undefined;
15
+ attach?: string | undefined;
16
+ filename?: string | undefined;
17
+ markdown?: boolean | undefined;
18
+ };
19
+
20
+ export type Tests_Worker_Pipeline_Interpret_Interpret_DispatchesToNtfyJsonInterpreter_Result = {
21
+ notification: Tests_Worker_Pipeline_Interpret_Interpret_DispatchesToNtfyJsonInterpreter_ResultNotification;
8
22
  attachment?: ArrayBuffer | undefined;
9
23
  } | null;
10
24
 
11
- export type TestsWorkerPipelineInterpretResultNotification = {
25
+ export type Tests_Worker_Pipeline_Interpret_Interpret_DispatchesToPlainTextInterpreter_ResultNotificationBody = string;
26
+
27
+ export type Tests_Worker_Pipeline_Interpret_Interpret_DispatchesToPlainTextInterpreter_ResultNotification = {
12
28
  title?: string | undefined;
13
- body: string;
29
+ body: Tests_Worker_Pipeline_Interpret_Interpret_DispatchesToPlainTextInterpreter_ResultNotificationBody;
14
30
  priority?: 1 | 2 | 3 | 4 | 5 | undefined;
15
31
  tags?: string[] | undefined;
16
32
  icon?: string | undefined;
@@ -20,24 +36,100 @@ export type TestsWorkerPipelineInterpretResultNotification = {
20
36
  markdown?: boolean | undefined;
21
37
  };
22
38
 
23
- export type TestsWorkerPipelineInterpretInput = {
24
- page: TestsWorkerPipelineInterpretInputPage;
25
- incident: TestsWorkerPipelineInterpretInputIncident;
39
+ export type Tests_Worker_Pipeline_Interpret_Interpret_DispatchesToPlainTextInterpreter_Result = {
40
+ notification: Tests_Worker_Pipeline_Interpret_Interpret_DispatchesToPlainTextInterpreter_ResultNotification;
41
+ attachment?: ArrayBuffer | undefined;
42
+ } | null;
43
+
44
+ export type Tests_Worker_Pipeline_Interpret_Interpret_DispatchesToStatuspageInterpreter_InputPageName = string;
45
+
46
+ export type Tests_Worker_Pipeline_Interpret_Interpret_DispatchesToStatuspageInterpreter_InputPage = {
47
+ name: Tests_Worker_Pipeline_Interpret_Interpret_DispatchesToStatuspageInterpreter_InputPageName;
48
+ };
49
+
50
+ export type Tests_Worker_Pipeline_Interpret_Interpret_DispatchesToStatuspageInterpreter_InputIncidentName = string;
51
+
52
+ export type Tests_Worker_Pipeline_Interpret_Interpret_DispatchesToStatuspageInterpreter_InputIncidentStatus = string;
53
+
54
+ export type Tests_Worker_Pipeline_Interpret_Interpret_DispatchesToStatuspageInterpreter_InputIncidentImpact = string;
55
+
56
+ export type Tests_Worker_Pipeline_Interpret_Interpret_DispatchesToStatuspageInterpreter_InputIncidentIncidentUpdates = unknown[];
57
+
58
+ export type Tests_Worker_Pipeline_Interpret_Interpret_DispatchesToStatuspageInterpreter_InputIncident = {
59
+ name: Tests_Worker_Pipeline_Interpret_Interpret_DispatchesToStatuspageInterpreter_InputIncidentName;
60
+ status: Tests_Worker_Pipeline_Interpret_Interpret_DispatchesToStatuspageInterpreter_InputIncidentStatus;
61
+ impact: Tests_Worker_Pipeline_Interpret_Interpret_DispatchesToStatuspageInterpreter_InputIncidentImpact;
62
+ incident_updates: Tests_Worker_Pipeline_Interpret_Interpret_DispatchesToStatuspageInterpreter_InputIncidentIncidentUpdates;
63
+ };
64
+
65
+ export type Tests_Worker_Pipeline_Interpret_Interpret_DispatchesToStatuspageInterpreter_Input = {
66
+ page: Tests_Worker_Pipeline_Interpret_Interpret_DispatchesToStatuspageInterpreter_InputPage;
67
+ incident: Tests_Worker_Pipeline_Interpret_Interpret_DispatchesToStatuspageInterpreter_InputIncident;
68
+ };
69
+
70
+ export type Tests_Worker_Pipeline_Interpret_Interpret_DispatchesToStatuspageInterpreter_ResultNotificationBody = string;
71
+
72
+ export type Tests_Worker_Pipeline_Interpret_Interpret_DispatchesToStatuspageInterpreter_ResultNotification = {
73
+ title?: string | undefined;
74
+ body: Tests_Worker_Pipeline_Interpret_Interpret_DispatchesToStatuspageInterpreter_ResultNotificationBody;
75
+ priority?: 1 | 2 | 3 | 4 | 5 | undefined;
76
+ tags?: string[] | undefined;
77
+ icon?: string | undefined;
78
+ actions?: string | undefined;
79
+ attach?: string | undefined;
80
+ filename?: string | undefined;
81
+ markdown?: boolean | undefined;
26
82
  };
27
83
 
28
- export type TestsWorkerPipelineInterpretInputPage = {
29
- name: string;
84
+ export type Tests_Worker_Pipeline_Interpret_Interpret_DispatchesToStatuspageInterpreter_Result = {
85
+ notification: Tests_Worker_Pipeline_Interpret_Interpret_DispatchesToStatuspageInterpreter_ResultNotification;
86
+ attachment?: ArrayBuffer | undefined;
87
+ } | null;
88
+
89
+ export type Tests_Worker_Pipeline_Interpret_Interpret_DispatchesToSynologyInterpreter_ResultNotificationBody = string;
90
+
91
+ export type Tests_Worker_Pipeline_Interpret_Interpret_DispatchesToSynologyInterpreter_ResultNotification = {
92
+ title?: string | undefined;
93
+ body: Tests_Worker_Pipeline_Interpret_Interpret_DispatchesToSynologyInterpreter_ResultNotificationBody;
94
+ priority?: 1 | 2 | 3 | 4 | 5 | undefined;
95
+ tags?: string[] | undefined;
96
+ icon?: string | undefined;
97
+ actions?: string | undefined;
98
+ attach?: string | undefined;
99
+ filename?: string | undefined;
100
+ markdown?: boolean | undefined;
30
101
  };
31
102
 
32
- export type TestsWorkerPipelineInterpretInputIncident = {
33
- name: string;
34
- status: string;
35
- impact: string;
36
- incident_updates: TestsWorkerPipelineInterpretInputIncidentUpdates;
103
+ export type Tests_Worker_Pipeline_Interpret_Interpret_DispatchesToSynologyInterpreter_Result = {
104
+ notification: Tests_Worker_Pipeline_Interpret_Interpret_DispatchesToSynologyInterpreter_ResultNotification;
105
+ attachment?: ArrayBuffer | undefined;
106
+ } | null;
107
+
108
+ export type Tests_Worker_Pipeline_Interpret_Interpret_InterpreterMapKeysMatchTheSchemaInterpreterEnums_MapKeys = string[];
109
+
110
+ export type Tests_Worker_Pipeline_Interpret_Interpret_InterpreterMapKeysMatchTheSchemaInterpreterEnums_HttpEnum = string[];
111
+
112
+ export type Tests_Worker_Pipeline_Interpret_Interpret_InterpreterMapKeysMatchTheSchemaInterpreterEnums_EmailEnum = string[];
113
+
114
+ export type Tests_Worker_Pipeline_Interpret_Interpret_ThrowsOnUnknownInterpreter_PromiseResultNotificationBody = string;
115
+
116
+ export type Tests_Worker_Pipeline_Interpret_Interpret_ThrowsOnUnknownInterpreter_PromiseResultNotification = {
117
+ title?: string | undefined;
118
+ body: Tests_Worker_Pipeline_Interpret_Interpret_ThrowsOnUnknownInterpreter_PromiseResultNotificationBody;
119
+ priority?: 1 | 2 | 3 | 4 | 5 | undefined;
120
+ tags?: string[] | undefined;
121
+ icon?: string | undefined;
122
+ actions?: string | undefined;
123
+ attach?: string | undefined;
124
+ filename?: string | undefined;
125
+ markdown?: boolean | undefined;
37
126
  };
38
127
 
39
- export type TestsWorkerPipelineInterpretInputIncidentUpdates = unknown[];
128
+ export type Tests_Worker_Pipeline_Interpret_Interpret_ThrowsOnUnknownInterpreter_PromiseResult = {
129
+ notification: Tests_Worker_Pipeline_Interpret_Interpret_ThrowsOnUnknownInterpreter_PromiseResultNotification;
130
+ attachment?: ArrayBuffer | undefined;
131
+ } | null;
40
132
 
41
- export type TestsWorkerPipelineInterpretPromiseResult = Promise<TestsWorkerPipelineInterpretResult>;
133
+ export type Tests_Worker_Pipeline_Interpret_Interpret_ThrowsOnUnknownInterpreter_Promise = Promise<Tests_Worker_Pipeline_Interpret_Interpret_ThrowsOnUnknownInterpreter_PromiseResult>;
42
134
 
43
- export type TestsWorkerPipelineInterpretRejectsExpectation = Promise<void>;
135
+ export type Tests_Worker_Pipeline_Interpret_Interpret_ThrowsOnUnknownInterpreter_Expectation = Promise<void>;
@@ -3,15 +3,80 @@
3
3
  *
4
4
  * @since 2.0.0
5
5
  */
6
- export type TestsWorkerPipelineParseBody = Uint8Array;
6
+ export type Tests_Worker_Pipeline_Parse_Parse_DetectsBinaryBodyViaNullBytes_Body = Uint8Array;
7
7
 
8
- export type TestsWorkerPipelineParseHeaders = Headers;
8
+ export type Tests_Worker_Pipeline_Parse_Parse_DetectsBinaryBodyViaNullBytes_Headers = Headers;
9
9
 
10
- export type TestsWorkerPipelineParseResult = {
11
- type: string;
10
+ export type Tests_Worker_Pipeline_Parse_Parse_DetectsBinaryBodyViaNullBytes_ResultType = string;
11
+
12
+ export type Tests_Worker_Pipeline_Parse_Parse_DetectsBinaryBodyViaNullBytes_Result = {
13
+ type: Tests_Worker_Pipeline_Parse_Parse_DetectsBinaryBodyViaNullBytes_ResultType;
14
+ text?: string;
15
+ json?: Record<string, unknown>;
16
+ binary?: ArrayBuffer;
17
+ };
18
+
19
+ export type Tests_Worker_Pipeline_Parse_Parse_DetectsBinaryWhenTextDecodingFindsNullBytes_Body = Uint8Array;
20
+
21
+ export type Tests_Worker_Pipeline_Parse_Parse_DetectsBinaryWhenTextDecodingFindsNullBytes_Headers = Headers;
22
+
23
+ export type Tests_Worker_Pipeline_Parse_Parse_DetectsBinaryWhenTextDecodingFindsNullBytes_ResultType = string;
24
+
25
+ export type Tests_Worker_Pipeline_Parse_Parse_DetectsBinaryWhenTextDecodingFindsNullBytes_Result = {
26
+ type: Tests_Worker_Pipeline_Parse_Parse_DetectsBinaryWhenTextDecodingFindsNullBytes_ResultType;
27
+ text?: string;
28
+ json?: Record<string, unknown>;
29
+ binary?: ArrayBuffer;
30
+ };
31
+
32
+ export type Tests_Worker_Pipeline_Parse_Parse_DetectsJSONBody_Body = Uint8Array;
33
+
34
+ export type Tests_Worker_Pipeline_Parse_Parse_DetectsJSONBody_Headers = Headers;
35
+
36
+ export type Tests_Worker_Pipeline_Parse_Parse_DetectsJSONBody_ResultType = string;
37
+
38
+ export type Tests_Worker_Pipeline_Parse_Parse_DetectsJSONBody_Result = {
39
+ type: Tests_Worker_Pipeline_Parse_Parse_DetectsJSONBody_ResultType;
40
+ text?: string;
41
+ json?: Record<string, unknown>;
42
+ binary?: ArrayBuffer;
43
+ };
44
+
45
+ export type Tests_Worker_Pipeline_Parse_Parse_DetectsJSONWithoutContentTypeHeaderByParsing_Body = Uint8Array;
46
+
47
+ export type Tests_Worker_Pipeline_Parse_Parse_DetectsJSONWithoutContentTypeHeaderByParsing_Headers = Headers;
48
+
49
+ export type Tests_Worker_Pipeline_Parse_Parse_DetectsJSONWithoutContentTypeHeaderByParsing_ResultType = string;
50
+
51
+ export type Tests_Worker_Pipeline_Parse_Parse_DetectsJSONWithoutContentTypeHeaderByParsing_Result = {
52
+ type: Tests_Worker_Pipeline_Parse_Parse_DetectsJSONWithoutContentTypeHeaderByParsing_ResultType;
53
+ text?: string;
54
+ json?: Record<string, unknown>;
55
+ binary?: ArrayBuffer;
56
+ };
57
+
58
+ export type Tests_Worker_Pipeline_Parse_Parse_DetectsPlainTextBody_Body = Uint8Array;
59
+
60
+ export type Tests_Worker_Pipeline_Parse_Parse_DetectsPlainTextBody_Headers = Headers;
61
+
62
+ export type Tests_Worker_Pipeline_Parse_Parse_DetectsPlainTextBody_ResultType = string;
63
+
64
+ export type Tests_Worker_Pipeline_Parse_Parse_DetectsPlainTextBody_Result = {
65
+ type: Tests_Worker_Pipeline_Parse_Parse_DetectsPlainTextBody_ResultType;
12
66
  text?: string;
13
67
  json?: Record<string, unknown>;
14
68
  binary?: ArrayBuffer;
15
69
  };
16
70
 
17
- export type TestsWorkerPipelineParseEmptyBody = ArrayBuffer;
71
+ export type Tests_Worker_Pipeline_Parse_Parse_ReturnsUnknownForEmptyBody_Body = ArrayBuffer;
72
+
73
+ export type Tests_Worker_Pipeline_Parse_Parse_ReturnsUnknownForEmptyBody_Headers = Headers;
74
+
75
+ export type Tests_Worker_Pipeline_Parse_Parse_ReturnsUnknownForEmptyBody_ResultType = string;
76
+
77
+ export type Tests_Worker_Pipeline_Parse_Parse_ReturnsUnknownForEmptyBody_Result = {
78
+ type: Tests_Worker_Pipeline_Parse_Parse_ReturnsUnknownForEmptyBody_ResultType;
79
+ text?: string;
80
+ json?: Record<string, unknown>;
81
+ binary?: ArrayBuffer;
82
+ };
@@ -3,21 +3,162 @@
3
3
  *
4
4
  * @since 2.0.0
5
5
  */
6
- export type TestsWorkerPipelineReceiveBaseDomain = string;
7
-
8
- export type TestsWorkerPipelineReceiveRequest = Request;
9
-
10
- export type TestsWorkerPipelineReceiveResult = {
11
- method: string;
12
- hostname: string;
13
- url: string;
14
- headers: Headers;
15
- rawBody: ArrayBuffer;
16
- isGet: boolean;
17
- redirect?: string;
18
- error?: string;
6
+ export type Tests_Worker_Pipeline_Receive_Receive_BaseDomain = string;
7
+
8
+ export type Tests_Worker_Pipeline_Receive_Receive_DoesNotRedirectHTTPOnLocalhost_Request = Request;
9
+
10
+ export type Tests_Worker_Pipeline_Receive_Receive_DoesNotRedirectHTTPOnLocalhost_Result_Method = string;
11
+ export type Tests_Worker_Pipeline_Receive_Receive_DoesNotRedirectHTTPOnLocalhost_Result_Hostname = string;
12
+ export type Tests_Worker_Pipeline_Receive_Receive_DoesNotRedirectHTTPOnLocalhost_Result_Url = string;
13
+ export type Tests_Worker_Pipeline_Receive_Receive_DoesNotRedirectHTTPOnLocalhost_Result_Headers = Headers;
14
+ export type Tests_Worker_Pipeline_Receive_Receive_DoesNotRedirectHTTPOnLocalhost_Result_RawBody = ArrayBuffer;
15
+ export type Tests_Worker_Pipeline_Receive_Receive_DoesNotRedirectHTTPOnLocalhost_Result_IsGet = boolean;
16
+ export type Tests_Worker_Pipeline_Receive_Receive_DoesNotRedirectHTTPOnLocalhost_Result_Redirect = string;
17
+ export type Tests_Worker_Pipeline_Receive_Receive_DoesNotRedirectHTTPOnLocalhost_Result_Error = string;
18
+
19
+ export type Tests_Worker_Pipeline_Receive_Receive_DoesNotRedirectHTTPOnLocalhost_Result = {
20
+ method: Tests_Worker_Pipeline_Receive_Receive_DoesNotRedirectHTTPOnLocalhost_Result_Method;
21
+ hostname: Tests_Worker_Pipeline_Receive_Receive_DoesNotRedirectHTTPOnLocalhost_Result_Hostname;
22
+ url: Tests_Worker_Pipeline_Receive_Receive_DoesNotRedirectHTTPOnLocalhost_Result_Url;
23
+ headers: Tests_Worker_Pipeline_Receive_Receive_DoesNotRedirectHTTPOnLocalhost_Result_Headers;
24
+ rawBody: Tests_Worker_Pipeline_Receive_Receive_DoesNotRedirectHTTPOnLocalhost_Result_RawBody;
25
+ isGet: Tests_Worker_Pipeline_Receive_Receive_DoesNotRedirectHTTPOnLocalhost_Result_IsGet;
26
+ redirect?: Tests_Worker_Pipeline_Receive_Receive_DoesNotRedirectHTTPOnLocalhost_Result_Redirect;
27
+ error?: Tests_Worker_Pipeline_Receive_Receive_DoesNotRedirectHTTPOnLocalhost_Result_Error;
28
+ };
29
+
30
+ export type Tests_Worker_Pipeline_Receive_Receive_ExtractsHeadersFromTheRequest_Request = Request;
31
+
32
+ export type Tests_Worker_Pipeline_Receive_Receive_ExtractsHeadersFromTheRequest_Result_Method = string;
33
+ export type Tests_Worker_Pipeline_Receive_Receive_ExtractsHeadersFromTheRequest_Result_Hostname = string;
34
+ export type Tests_Worker_Pipeline_Receive_Receive_ExtractsHeadersFromTheRequest_Result_Url = string;
35
+ export type Tests_Worker_Pipeline_Receive_Receive_ExtractsHeadersFromTheRequest_Result_Headers = Headers;
36
+ export type Tests_Worker_Pipeline_Receive_Receive_ExtractsHeadersFromTheRequest_Result_RawBody = ArrayBuffer;
37
+ export type Tests_Worker_Pipeline_Receive_Receive_ExtractsHeadersFromTheRequest_Result_IsGet = boolean;
38
+ export type Tests_Worker_Pipeline_Receive_Receive_ExtractsHeadersFromTheRequest_Result_Redirect = string;
39
+ export type Tests_Worker_Pipeline_Receive_Receive_ExtractsHeadersFromTheRequest_Result_Error = string;
40
+
41
+ export type Tests_Worker_Pipeline_Receive_Receive_ExtractsHeadersFromTheRequest_Result = {
42
+ method: Tests_Worker_Pipeline_Receive_Receive_ExtractsHeadersFromTheRequest_Result_Method;
43
+ hostname: Tests_Worker_Pipeline_Receive_Receive_ExtractsHeadersFromTheRequest_Result_Hostname;
44
+ url: Tests_Worker_Pipeline_Receive_Receive_ExtractsHeadersFromTheRequest_Result_Url;
45
+ headers: Tests_Worker_Pipeline_Receive_Receive_ExtractsHeadersFromTheRequest_Result_Headers;
46
+ rawBody: Tests_Worker_Pipeline_Receive_Receive_ExtractsHeadersFromTheRequest_Result_RawBody;
47
+ isGet: Tests_Worker_Pipeline_Receive_Receive_ExtractsHeadersFromTheRequest_Result_IsGet;
48
+ redirect?: Tests_Worker_Pipeline_Receive_Receive_ExtractsHeadersFromTheRequest_Result_Redirect;
49
+ error?: Tests_Worker_Pipeline_Receive_Receive_ExtractsHeadersFromTheRequest_Result_Error;
19
50
  };
20
51
 
21
- export type TestsWorkerPipelineReceiveBody = string;
52
+ export type Tests_Worker_Pipeline_Receive_Receive_ExtractsHeadersFromTheRequest_HeaderValue = string | null;
53
+
54
+ export type Tests_Worker_Pipeline_Receive_Receive_ExtractsMetadataFromAValidPOSTRequest_Request = Request;
55
+
56
+ export type Tests_Worker_Pipeline_Receive_Receive_ExtractsMetadataFromAValidPOSTRequest_Result_Method = string;
57
+ export type Tests_Worker_Pipeline_Receive_Receive_ExtractsMetadataFromAValidPOSTRequest_Result_Hostname = string;
58
+ export type Tests_Worker_Pipeline_Receive_Receive_ExtractsMetadataFromAValidPOSTRequest_Result_Url = string;
59
+ export type Tests_Worker_Pipeline_Receive_Receive_ExtractsMetadataFromAValidPOSTRequest_Result_Headers = Headers;
60
+ export type Tests_Worker_Pipeline_Receive_Receive_ExtractsMetadataFromAValidPOSTRequest_Result_RawBody = ArrayBuffer;
61
+ export type Tests_Worker_Pipeline_Receive_Receive_ExtractsMetadataFromAValidPOSTRequest_Result_IsGet = boolean;
62
+ export type Tests_Worker_Pipeline_Receive_Receive_ExtractsMetadataFromAValidPOSTRequest_Result_Redirect = string;
63
+ export type Tests_Worker_Pipeline_Receive_Receive_ExtractsMetadataFromAValidPOSTRequest_Result_Error = string;
64
+
65
+ export type Tests_Worker_Pipeline_Receive_Receive_ExtractsMetadataFromAValidPOSTRequest_Result = {
66
+ method: Tests_Worker_Pipeline_Receive_Receive_ExtractsMetadataFromAValidPOSTRequest_Result_Method;
67
+ hostname: Tests_Worker_Pipeline_Receive_Receive_ExtractsMetadataFromAValidPOSTRequest_Result_Hostname;
68
+ url: Tests_Worker_Pipeline_Receive_Receive_ExtractsMetadataFromAValidPOSTRequest_Result_Url;
69
+ headers: Tests_Worker_Pipeline_Receive_Receive_ExtractsMetadataFromAValidPOSTRequest_Result_Headers;
70
+ rawBody: Tests_Worker_Pipeline_Receive_Receive_ExtractsMetadataFromAValidPOSTRequest_Result_RawBody;
71
+ isGet: Tests_Worker_Pipeline_Receive_Receive_ExtractsMetadataFromAValidPOSTRequest_Result_IsGet;
72
+ redirect?: Tests_Worker_Pipeline_Receive_Receive_ExtractsMetadataFromAValidPOSTRequest_Result_Redirect;
73
+ error?: Tests_Worker_Pipeline_Receive_Receive_ExtractsMetadataFromAValidPOSTRequest_Result_Error;
74
+ };
75
+
76
+ export type Tests_Worker_Pipeline_Receive_Receive_ExtractsRawBodyAsArrayBuffer_Body = string;
77
+
78
+ export type Tests_Worker_Pipeline_Receive_Receive_ExtractsRawBodyAsArrayBuffer_Request = Request;
79
+
80
+ export type Tests_Worker_Pipeline_Receive_Receive_ExtractsRawBodyAsArrayBuffer_Result_Method = string;
81
+ export type Tests_Worker_Pipeline_Receive_Receive_ExtractsRawBodyAsArrayBuffer_Result_Hostname = string;
82
+ export type Tests_Worker_Pipeline_Receive_Receive_ExtractsRawBodyAsArrayBuffer_Result_Url = string;
83
+ export type Tests_Worker_Pipeline_Receive_Receive_ExtractsRawBodyAsArrayBuffer_Result_Headers = Headers;
84
+ export type Tests_Worker_Pipeline_Receive_Receive_ExtractsRawBodyAsArrayBuffer_Result_RawBody = ArrayBuffer;
85
+ export type Tests_Worker_Pipeline_Receive_Receive_ExtractsRawBodyAsArrayBuffer_Result_IsGet = boolean;
86
+ export type Tests_Worker_Pipeline_Receive_Receive_ExtractsRawBodyAsArrayBuffer_Result_Redirect = string;
87
+ export type Tests_Worker_Pipeline_Receive_Receive_ExtractsRawBodyAsArrayBuffer_Result_Error = string;
22
88
 
23
- export type TestsWorkerPipelineReceiveHeaderValue = string | null;
89
+ export type Tests_Worker_Pipeline_Receive_Receive_ExtractsRawBodyAsArrayBuffer_Result = {
90
+ method: Tests_Worker_Pipeline_Receive_Receive_ExtractsRawBodyAsArrayBuffer_Result_Method;
91
+ hostname: Tests_Worker_Pipeline_Receive_Receive_ExtractsRawBodyAsArrayBuffer_Result_Hostname;
92
+ url: Tests_Worker_Pipeline_Receive_Receive_ExtractsRawBodyAsArrayBuffer_Result_Url;
93
+ headers: Tests_Worker_Pipeline_Receive_Receive_ExtractsRawBodyAsArrayBuffer_Result_Headers;
94
+ rawBody: Tests_Worker_Pipeline_Receive_Receive_ExtractsRawBodyAsArrayBuffer_Result_RawBody;
95
+ isGet: Tests_Worker_Pipeline_Receive_Receive_ExtractsRawBodyAsArrayBuffer_Result_IsGet;
96
+ redirect?: Tests_Worker_Pipeline_Receive_Receive_ExtractsRawBodyAsArrayBuffer_Result_Redirect;
97
+ error?: Tests_Worker_Pipeline_Receive_Receive_ExtractsRawBodyAsArrayBuffer_Result_Error;
98
+ };
99
+
100
+ export type Tests_Worker_Pipeline_Receive_Receive_IdentifiesGETRequests_Request = Request;
101
+
102
+ export type Tests_Worker_Pipeline_Receive_Receive_IdentifiesGETRequests_Result_Method = string;
103
+ export type Tests_Worker_Pipeline_Receive_Receive_IdentifiesGETRequests_Result_Hostname = string;
104
+ export type Tests_Worker_Pipeline_Receive_Receive_IdentifiesGETRequests_Result_Url = string;
105
+ export type Tests_Worker_Pipeline_Receive_Receive_IdentifiesGETRequests_Result_Headers = Headers;
106
+ export type Tests_Worker_Pipeline_Receive_Receive_IdentifiesGETRequests_Result_RawBody = ArrayBuffer;
107
+ export type Tests_Worker_Pipeline_Receive_Receive_IdentifiesGETRequests_Result_IsGet = boolean;
108
+ export type Tests_Worker_Pipeline_Receive_Receive_IdentifiesGETRequests_Result_Redirect = string;
109
+ export type Tests_Worker_Pipeline_Receive_Receive_IdentifiesGETRequests_Result_Error = string;
110
+
111
+ export type Tests_Worker_Pipeline_Receive_Receive_IdentifiesGETRequests_Result = {
112
+ method: Tests_Worker_Pipeline_Receive_Receive_IdentifiesGETRequests_Result_Method;
113
+ hostname: Tests_Worker_Pipeline_Receive_Receive_IdentifiesGETRequests_Result_Hostname;
114
+ url: Tests_Worker_Pipeline_Receive_Receive_IdentifiesGETRequests_Result_Url;
115
+ headers: Tests_Worker_Pipeline_Receive_Receive_IdentifiesGETRequests_Result_Headers;
116
+ rawBody: Tests_Worker_Pipeline_Receive_Receive_IdentifiesGETRequests_Result_RawBody;
117
+ isGet: Tests_Worker_Pipeline_Receive_Receive_IdentifiesGETRequests_Result_IsGet;
118
+ redirect?: Tests_Worker_Pipeline_Receive_Receive_IdentifiesGETRequests_Result_Redirect;
119
+ error?: Tests_Worker_Pipeline_Receive_Receive_IdentifiesGETRequests_Result_Error;
120
+ };
121
+
122
+ export type Tests_Worker_Pipeline_Receive_Receive_RejectsUnsupportedHTTPMethods_Request = Request;
123
+
124
+ export type Tests_Worker_Pipeline_Receive_Receive_RejectsUnsupportedHTTPMethods_Result_Method = string;
125
+ export type Tests_Worker_Pipeline_Receive_Receive_RejectsUnsupportedHTTPMethods_Result_Hostname = string;
126
+ export type Tests_Worker_Pipeline_Receive_Receive_RejectsUnsupportedHTTPMethods_Result_Url = string;
127
+ export type Tests_Worker_Pipeline_Receive_Receive_RejectsUnsupportedHTTPMethods_Result_Headers = Headers;
128
+ export type Tests_Worker_Pipeline_Receive_Receive_RejectsUnsupportedHTTPMethods_Result_RawBody = ArrayBuffer;
129
+ export type Tests_Worker_Pipeline_Receive_Receive_RejectsUnsupportedHTTPMethods_Result_IsGet = boolean;
130
+ export type Tests_Worker_Pipeline_Receive_Receive_RejectsUnsupportedHTTPMethods_Result_Redirect = string;
131
+ export type Tests_Worker_Pipeline_Receive_Receive_RejectsUnsupportedHTTPMethods_Result_Error = string;
132
+
133
+ export type Tests_Worker_Pipeline_Receive_Receive_RejectsUnsupportedHTTPMethods_Result = {
134
+ method: Tests_Worker_Pipeline_Receive_Receive_RejectsUnsupportedHTTPMethods_Result_Method;
135
+ hostname: Tests_Worker_Pipeline_Receive_Receive_RejectsUnsupportedHTTPMethods_Result_Hostname;
136
+ url: Tests_Worker_Pipeline_Receive_Receive_RejectsUnsupportedHTTPMethods_Result_Url;
137
+ headers: Tests_Worker_Pipeline_Receive_Receive_RejectsUnsupportedHTTPMethods_Result_Headers;
138
+ rawBody: Tests_Worker_Pipeline_Receive_Receive_RejectsUnsupportedHTTPMethods_Result_RawBody;
139
+ isGet: Tests_Worker_Pipeline_Receive_Receive_RejectsUnsupportedHTTPMethods_Result_IsGet;
140
+ redirect?: Tests_Worker_Pipeline_Receive_Receive_RejectsUnsupportedHTTPMethods_Result_Redirect;
141
+ error?: Tests_Worker_Pipeline_Receive_Receive_RejectsUnsupportedHTTPMethods_Result_Error;
142
+ };
143
+
144
+ export type Tests_Worker_Pipeline_Receive_Receive_ReturnsRedirectForHTTPInProduction_Request = Request;
145
+
146
+ export type Tests_Worker_Pipeline_Receive_Receive_ReturnsRedirectForHTTPInProduction_Result_Method = string;
147
+ export type Tests_Worker_Pipeline_Receive_Receive_ReturnsRedirectForHTTPInProduction_Result_Hostname = string;
148
+ export type Tests_Worker_Pipeline_Receive_Receive_ReturnsRedirectForHTTPInProduction_Result_Url = string;
149
+ export type Tests_Worker_Pipeline_Receive_Receive_ReturnsRedirectForHTTPInProduction_Result_Headers = Headers;
150
+ export type Tests_Worker_Pipeline_Receive_Receive_ReturnsRedirectForHTTPInProduction_Result_RawBody = ArrayBuffer;
151
+ export type Tests_Worker_Pipeline_Receive_Receive_ReturnsRedirectForHTTPInProduction_Result_IsGet = boolean;
152
+ export type Tests_Worker_Pipeline_Receive_Receive_ReturnsRedirectForHTTPInProduction_Result_Redirect = string;
153
+ export type Tests_Worker_Pipeline_Receive_Receive_ReturnsRedirectForHTTPInProduction_Result_Error = string;
154
+
155
+ export type Tests_Worker_Pipeline_Receive_Receive_ReturnsRedirectForHTTPInProduction_Result = {
156
+ method: Tests_Worker_Pipeline_Receive_Receive_ReturnsRedirectForHTTPInProduction_Result_Method;
157
+ hostname: Tests_Worker_Pipeline_Receive_Receive_ReturnsRedirectForHTTPInProduction_Result_Hostname;
158
+ url: Tests_Worker_Pipeline_Receive_Receive_ReturnsRedirectForHTTPInProduction_Result_Url;
159
+ headers: Tests_Worker_Pipeline_Receive_Receive_ReturnsRedirectForHTTPInProduction_Result_Headers;
160
+ rawBody: Tests_Worker_Pipeline_Receive_Receive_ReturnsRedirectForHTTPInProduction_Result_RawBody;
161
+ isGet: Tests_Worker_Pipeline_Receive_Receive_ReturnsRedirectForHTTPInProduction_Result_IsGet;
162
+ redirect?: Tests_Worker_Pipeline_Receive_Receive_ReturnsRedirectForHTTPInProduction_Result_Redirect;
163
+ error?: Tests_Worker_Pipeline_Receive_Receive_ReturnsRedirectForHTTPInProduction_Result_Error;
164
+ };