ntfy-reverse-proxy 2.2.1 → 2.3.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 (105) hide show
  1. package/README.md +1 -1
  2. package/build/src/cli/commands/context.d.ts.map +1 -1
  3. package/build/src/cli/commands/context.js +9 -0
  4. package/build/src/cli/commands/context.js.map +1 -1
  5. package/build/src/cli/commands/deploy.d.ts.map +1 -1
  6. package/build/src/cli/commands/deploy.js +34 -26
  7. package/build/src/cli/commands/deploy.js.map +1 -1
  8. package/build/src/cli/commands/generate.d.ts +3 -2
  9. package/build/src/cli/commands/generate.d.ts.map +1 -1
  10. package/build/src/cli/commands/generate.js +33 -23
  11. package/build/src/cli/commands/generate.js.map +1 -1
  12. package/build/src/cli/commands/server.d.ts.map +1 -1
  13. package/build/src/cli/commands/server.js +3 -0
  14. package/build/src/cli/commands/server.js.map +1 -1
  15. package/build/src/cli/commands/settings.d.ts.map +1 -1
  16. package/build/src/cli/commands/settings.js +7 -4
  17. package/build/src/cli/commands/settings.js.map +1 -1
  18. package/build/src/cli/index.d.ts.map +1 -1
  19. package/build/src/cli/index.js +5 -4
  20. package/build/src/cli/index.js.map +1 -1
  21. package/build/src/cli/menu/interactive.d.ts.map +1 -1
  22. package/build/src/cli/menu/interactive.js +77 -6
  23. package/build/src/cli/menu/interactive.js.map +1 -1
  24. package/build/src/lib/package-runtime.d.ts +3 -2
  25. package/build/src/lib/package-runtime.d.ts.map +1 -1
  26. package/build/src/lib/package-runtime.js +5 -1
  27. package/build/src/lib/package-runtime.js.map +1 -1
  28. package/build/src/lib/schema.d.ts +24 -0
  29. package/build/src/lib/schema.d.ts.map +1 -1
  30. package/build/src/lib/schema.js +10 -2
  31. package/build/src/lib/schema.js.map +1 -1
  32. package/build/src/types/cli/commands/deploy.d.ts +9 -5
  33. package/build/src/types/cli/commands/generate.d.ts +19 -17
  34. package/build/src/types/cli/commands/settings.d.ts +2 -0
  35. package/build/src/types/cli/menu/interactive.d.ts +9 -1
  36. package/build/src/types/lib/package-runtime.d.ts +7 -0
  37. package/build/src/types/lib/schema.d.ts +1 -1
  38. package/build/src/types/tests/cli/commands/context.test.d.ts +41 -0
  39. package/build/src/types/tests/cli/commands/generate.test.d.ts +42 -14
  40. package/build/src/types/tests/cli/commands/server.test.d.ts +7 -0
  41. package/build/src/types/tests/cli/menu/interactive.test.d.ts +25 -0
  42. package/build/src/types/tests/lib/schema.test.d.ts +19 -0
  43. package/build/src/types/tests/worker/index.test.d.ts +119 -1
  44. package/build/src/types/tests/worker/interpreters/app-payload.test.d.ts +77 -0
  45. package/build/src/types/tests/worker/interpreters/discord-stonker-bot.test.d.ts +23 -0
  46. package/build/src/types/tests/worker/interpreters/ntfy-json.test.d.ts +7 -15
  47. package/build/src/types/tests/worker/interpreters/outpost.test.d.ts +23 -0
  48. package/build/src/types/tests/worker/interpreters/pfsense-actions.test.d.ts +23 -0
  49. package/build/src/types/tests/worker/interpreters/plain-text.test.d.ts +20 -20
  50. package/build/src/types/tests/worker/interpreters/statuspage.test.d.ts +7 -0
  51. package/build/src/types/tests/worker/interpreters/transmission-vpn.test.d.ts +23 -0
  52. package/build/src/types/worker/durable-objects/delivery-outbox.d.ts +18 -14
  53. package/build/src/types/worker/handlers.d.ts +4 -0
  54. package/build/src/types/worker/index.d.ts +53 -69
  55. package/build/src/types/worker/interpreters/app-payload.d.ts +67 -0
  56. package/build/src/types/worker/interpreters/discord-stonker-bot.d.ts +29 -0
  57. package/build/src/types/worker/interpreters/ntfy-json.d.ts +1 -1
  58. package/build/src/types/worker/interpreters/outpost.d.ts +29 -0
  59. package/build/src/types/worker/interpreters/pfsense-actions.d.ts +29 -0
  60. package/build/src/types/worker/interpreters/plain-text.d.ts +0 -2
  61. package/build/src/types/worker/interpreters/transmission-vpn.d.ts +29 -0
  62. package/build/src/worker/durable-objects/delivery-outbox.d.ts +3 -2
  63. package/build/src/worker/durable-objects/delivery-outbox.d.ts.map +1 -1
  64. package/build/src/worker/durable-objects/delivery-outbox.js +7 -5
  65. package/build/src/worker/durable-objects/delivery-outbox.js.map +1 -1
  66. package/build/src/worker/handlers.d.ts.map +1 -1
  67. package/build/src/worker/handlers.js +11 -7
  68. package/build/src/worker/handlers.js.map +1 -1
  69. package/build/src/worker/index.d.ts +3 -4
  70. package/build/src/worker/index.d.ts.map +1 -1
  71. package/build/src/worker/index.js +46 -79
  72. package/build/src/worker/index.js.map +1 -1
  73. package/build/src/worker/interpreters/app-payload.d.ts +4 -0
  74. package/build/src/worker/interpreters/app-payload.d.ts.map +1 -0
  75. package/build/src/worker/interpreters/app-payload.js +58 -0
  76. package/build/src/worker/interpreters/app-payload.js.map +1 -0
  77. package/build/src/worker/interpreters/discord-stonker-bot.d.ts +4 -0
  78. package/build/src/worker/interpreters/discord-stonker-bot.d.ts.map +1 -0
  79. package/build/src/worker/interpreters/discord-stonker-bot.js +10 -0
  80. package/build/src/worker/interpreters/discord-stonker-bot.js.map +1 -0
  81. package/build/src/worker/interpreters/ntfy-json.d.ts.map +1 -1
  82. package/build/src/worker/interpreters/ntfy-json.js +2 -12
  83. package/build/src/worker/interpreters/ntfy-json.js.map +1 -1
  84. package/build/src/worker/interpreters/outpost.d.ts +4 -0
  85. package/build/src/worker/interpreters/outpost.d.ts.map +1 -0
  86. package/build/src/worker/interpreters/outpost.js +10 -0
  87. package/build/src/worker/interpreters/outpost.js.map +1 -0
  88. package/build/src/worker/interpreters/pfsense-actions.d.ts +4 -0
  89. package/build/src/worker/interpreters/pfsense-actions.d.ts.map +1 -0
  90. package/build/src/worker/interpreters/pfsense-actions.js +10 -0
  91. package/build/src/worker/interpreters/pfsense-actions.js.map +1 -0
  92. package/build/src/worker/interpreters/plain-text.d.ts.map +1 -1
  93. package/build/src/worker/interpreters/plain-text.js +6 -4
  94. package/build/src/worker/interpreters/plain-text.js.map +1 -1
  95. package/build/src/worker/interpreters/statuspage.d.ts.map +1 -1
  96. package/build/src/worker/interpreters/statuspage.js +2 -12
  97. package/build/src/worker/interpreters/statuspage.js.map +1 -1
  98. package/build/src/worker/interpreters/transmission-vpn.d.ts +4 -0
  99. package/build/src/worker/interpreters/transmission-vpn.d.ts.map +1 -0
  100. package/build/src/worker/interpreters/transmission-vpn.js +10 -0
  101. package/build/src/worker/interpreters/transmission-vpn.js.map +1 -0
  102. package/build/src/worker/pipeline/interpret.d.ts.map +1 -1
  103. package/build/src/worker/pipeline/interpret.js +8 -0
  104. package/build/src/worker/pipeline/interpret.js.map +1 -1
  105. package/package.json +8 -4
@@ -120,6 +120,47 @@ export type Tests_Cli_Commands_Context_ContextCommands_RejectsDuplicateContextNa
120
120
  contexts: Tests_Cli_Commands_Context_ContextCommands_RejectsDuplicateContextNames_Config_Contexts;
121
121
  };
122
122
 
123
+ /**
124
+ * Tests - CLI - Commands - Context - Context Commands - Rejects Duplicate Email IDs.
125
+ *
126
+ * @since 2.3.0
127
+ */
128
+ export type Tests_Cli_Commands_Context_ContextCommands_RejectsDuplicateEmailIds_Config_Context_Id = string;
129
+
130
+ export type Tests_Cli_Commands_Context_ContextCommands_RejectsDuplicateEmailIds_Config_Context = {
131
+ id: Tests_Cli_Commands_Context_ContextCommands_RejectsDuplicateEmailIds_Config_Context_Id;
132
+ };
133
+
134
+ export type Tests_Cli_Commands_Context_ContextCommands_RejectsDuplicateEmailIds_Config_Contexts = Tests_Cli_Commands_Context_ContextCommands_RejectsDuplicateEmailIds_Config_Context[];
135
+
136
+ export type Tests_Cli_Commands_Context_ContextCommands_RejectsDuplicateEmailIds_Config = {
137
+ contexts: Tests_Cli_Commands_Context_ContextCommands_RejectsDuplicateEmailIds_Config_Contexts;
138
+ };
139
+
140
+ /**
141
+ * Tests - CLI - Commands - Context - Context Commands - Rejects Duplicate Email IDs On Edit.
142
+ *
143
+ * @since 2.3.0
144
+ */
145
+ export type Tests_Cli_Commands_Context_ContextCommands_RejectsDuplicateEmailIdsOnEdit_Config_Context_Id = string;
146
+
147
+ export type Tests_Cli_Commands_Context_ContextCommands_RejectsDuplicateEmailIdsOnEdit_Config_Context = {
148
+ id: Tests_Cli_Commands_Context_ContextCommands_RejectsDuplicateEmailIdsOnEdit_Config_Context_Id;
149
+ };
150
+
151
+ export type Tests_Cli_Commands_Context_ContextCommands_RejectsDuplicateEmailIdsOnEdit_Config_Contexts = Tests_Cli_Commands_Context_ContextCommands_RejectsDuplicateEmailIdsOnEdit_Config_Context[];
152
+
153
+ export type Tests_Cli_Commands_Context_ContextCommands_RejectsDuplicateEmailIdsOnEdit_Config = {
154
+ contexts: Tests_Cli_Commands_Context_ContextCommands_RejectsDuplicateEmailIdsOnEdit_Config_Contexts;
155
+ };
156
+
157
+ /**
158
+ * Tests - CLI - Commands - Context - Context Commands - Rejects Removal Of A Missing Context.
159
+ *
160
+ * @since 2.3.0
161
+ */
162
+ export type Tests_Cli_Commands_Context_ContextCommands_RejectsRemovalOfAMissingContext_Contexts = unknown[];
163
+
123
164
  /**
124
165
  * Tests - CLI - Commands - Context.
125
166
  *
@@ -1,3 +1,5 @@
1
+ import type { Lib_Schema_ConfigSchema } from '../../../lib/schema.d.ts';
2
+
1
3
  /**
2
4
  * Tests - CLI - Commands - Generate.
3
5
  *
@@ -9,7 +11,7 @@ export type Tests_Cli_Commands_Generate_TestConfigTmpDir = string;
9
11
 
10
12
  export type Tests_Cli_Commands_Generate_TestConfigPath = string;
11
13
 
12
- export type Tests_Cli_Commands_Generate_TestOutputPathFragment = string;
14
+ export type Tests_Cli_Commands_Generate_TestOutputDir = string;
13
15
 
14
16
  export type Tests_Cli_Commands_Generate_TestOutputPath = string;
15
17
 
@@ -27,13 +29,6 @@ export type Tests_Cli_Commands_Generate_GenerateCommand_ConfigJson = string;
27
29
  */
28
30
  export type Tests_Cli_Commands_Generate_GenerateCommand_BindsTheSQLiteDeliveryOutboxDurableObject_Toml = string;
29
31
 
30
- /**
31
- * Tests - CLI - Commands - Generate.
32
- *
33
- * @since 2.0.0
34
- */
35
- export type Tests_Cli_Commands_Generate_GenerateCommand_EmbedsConfigAsVars_Toml = string;
36
-
37
32
  /**
38
33
  * Tests - CLI - Commands - Generate.
39
34
  *
@@ -65,14 +60,47 @@ export type Tests_Cli_Commands_Generate_GenerateCommand_OmitsEmailRoutingSection
65
60
  export type Tests_Cli_Commands_Generate_GenerateCommand_OmitsEmailRoutingSectionWhenNoEmailContextsExist_Toml = string;
66
61
 
67
62
  /**
68
- * Tests - CLI - Commands - Generate - Generate Command - References An Existing Worker Entry.
63
+ * Tests - CLI - Commands - Generate - Generate Command - Points Main At The Bundled Worker Entry.
69
64
  *
70
- * @since 2.1.4
65
+ * @since 2.3.0
71
66
  */
72
- export type Tests_Cli_Commands_Generate_GenerateCommand_ReferencesAnExistingWorkerEntry_Toml = string;
67
+ export type Tests_Cli_Commands_Generate_GenerateCommand_PointsMainAtTheBundledWorkerEntry_Toml = string;
68
+
69
+ /**
70
+ * Tests - CLI - Commands - Generate - Generate Command - Resolves The Worker Import From A Symlinked Config Folder.
71
+ *
72
+ * @since 2.3.0
73
+ */
74
+ export type Tests_Cli_Commands_Generate_GenerateCommand_ResolvesTheWorkerImportFromASymlinkedConfigFolder_RealDir = string;
75
+
76
+ export type Tests_Cli_Commands_Generate_GenerateCommand_ResolvesTheWorkerImportFromASymlinkedConfigFolder_LinkedDir = string;
77
+
78
+ export type Tests_Cli_Commands_Generate_GenerateCommand_ResolvesTheWorkerImportFromASymlinkedConfigFolder_BundleDir = string;
79
+
80
+ export type Tests_Cli_Commands_Generate_GenerateCommand_ResolvesTheWorkerImportFromASymlinkedConfigFolder_EntryLines = string[];
81
+
82
+ export type Tests_Cli_Commands_Generate_GenerateCommand_ResolvesTheWorkerImportFromASymlinkedConfigFolder_ImportPath = string;
83
+
84
+ /**
85
+ * Tests - CLI - Commands - Generate - Generate Command - Writes Next To The Config File By Default.
86
+ *
87
+ * @since 2.3.0
88
+ */
89
+ export type Tests_Cli_Commands_Generate_GenerateCommand_WritesNextToTheConfigFileByDefault_ConfigPath = string;
90
+
91
+ /**
92
+ * Tests - CLI - Commands - Generate - Generate Command - Writes The Config And An Entry That Imports The Worker.
93
+ *
94
+ * @since 2.3.0
95
+ */
96
+ export type Tests_Cli_Commands_Generate_GenerateCommand_WritesTheConfigAndAnEntryThatImportsTheWorker_BundleDir = string;
97
+
98
+ export type Tests_Cli_Commands_Generate_GenerateCommand_WritesTheConfigAndAnEntryThatImportsTheWorker_BundledConfig = unknown;
99
+
100
+ export type Tests_Cli_Commands_Generate_GenerateCommand_WritesTheConfigAndAnEntryThatImportsTheWorker_ExpectedConfig = Lib_Schema_ConfigSchema & {};
73
101
 
74
- export type Tests_Cli_Commands_Generate_GenerateCommand_ReferencesAnExistingWorkerEntry_OutputDir = string;
102
+ export type Tests_Cli_Commands_Generate_GenerateCommand_WritesTheConfigAndAnEntryThatImportsTheWorker_Entry = string;
75
103
 
76
- export type Tests_Cli_Commands_Generate_GenerateCommand_ReferencesAnExistingWorkerEntry_WorkerEntryPath = string;
104
+ export type Tests_Cli_Commands_Generate_GenerateCommand_WritesTheConfigAndAnEntryThatImportsTheWorker_WorkerEntryPath = string;
77
105
 
78
- export type Tests_Cli_Commands_Generate_GenerateCommand_ReferencesAnExistingWorkerEntry_WorkerEntryRelativePath = string;
106
+ export type Tests_Cli_Commands_Generate_GenerateCommand_WritesTheConfigAndAnEntryThatImportsTheWorker_ExpectedImport = string;
@@ -81,6 +81,13 @@ export type Tests_Cli_Commands_Server_ServerCommands_RejectsDuplicateServerNames
81
81
  token: Tests_Cli_Commands_Server_ServerCommands_RejectsDuplicateServerNames_DuplicateToken;
82
82
  };
83
83
 
84
+ /**
85
+ * Tests - CLI - Commands - Server - Server Commands - Rejects Removal Of A Missing Server.
86
+ *
87
+ * @since 2.3.0
88
+ */
89
+ export type Tests_Cli_Commands_Server_ServerCommands_RejectsRemovalOfAMissingServer_Servers = unknown[];
90
+
84
91
  /**
85
92
  * Tests - CLI - Commands - Server - Server Commands - Removes A Server.
86
93
  *
@@ -211,6 +211,31 @@ export type Tests_Cli_Menu_Interactive_InteractiveMenu_CtrlCAtServerEditSelectRe
211
211
 
212
212
  export type Tests_Cli_Menu_Interactive_InteractiveMenu_CtrlCAtServerEditSelectReturnsToServerMenu_Call = Record<string, unknown>;
213
213
 
214
+ /**
215
+ * Tests - CLI - Menu - Interactive - Interactive Menu - Email Context Edit Prompts For A Replacement ID.
216
+ *
217
+ * @since 2.3.0
218
+ */
219
+ export type Tests_Cli_Menu_Interactive_InteractiveMenu_EmailContextEditPromptsForAReplacementId_Prompts_Default = typeof prompts;
220
+
221
+ export type Tests_Cli_Menu_Interactive_InteractiveMenu_EmailContextEditPromptsForAReplacementId_Prompts = {
222
+ default: Tests_Cli_Menu_Interactive_InteractiveMenu_EmailContextEditPromptsForAReplacementId_Prompts_Default;
223
+ };
224
+
225
+ export type Tests_Cli_Menu_Interactive_InteractiveMenu_EmailContextEditPromptsForAReplacementId_PromptsDefaultUnknown = unknown;
226
+
227
+ export type Tests_Cli_Menu_Interactive_InteractiveMenu_EmailContextEditPromptsForAReplacementId_MockPrompts = ReturnType<typeof vi['fn']>;
228
+
229
+ export type Tests_Cli_Menu_Interactive_InteractiveMenu_EmailContextEditPromptsForAReplacementId_ContextModuleUnknown = unknown;
230
+
231
+ export type Tests_Cli_Menu_Interactive_InteractiveMenu_EmailContextEditPromptsForAReplacementId_ContextModule = Record<string, unknown>;
232
+
233
+ export type Tests_Cli_Menu_Interactive_InteractiveMenu_EmailContextEditPromptsForAReplacementId_ListContexts = ReturnType<typeof vi['fn']>;
234
+
235
+ export type Tests_Cli_Menu_Interactive_InteractiveMenu_EmailContextEditPromptsForAReplacementId_EditContext = ReturnType<typeof vi['fn']>;
236
+
237
+ export type Tests_Cli_Menu_Interactive_InteractiveMenu_EmailContextEditPromptsForAReplacementId_GenerateId = ReturnType<typeof vi['fn']>;
238
+
214
239
  /**
215
240
  * Tests - CLI - Menu - Interactive - Interactive Menu - Exits On Ctrl C At Config Dir Selection.
216
241
  *
@@ -95,6 +95,25 @@ export type Tests_Lib_Schema_ConfigSchema_RejectsContextWithoutTypeDiscriminator
95
95
  success: Tests_Lib_Schema_ConfigSchema_RejectsContextWithoutTypeDiscriminator_ResultSuccess;
96
96
  };
97
97
 
98
+ /**
99
+ * Tests - Lib - Schema - Config Schema - Rejects HTTP Context IDs That Cannot Be Host Labels.
100
+ *
101
+ * @since 2.3.0
102
+ */
103
+ export type Tests_Lib_Schema_ConfigSchema_RejectsHTTPContextIDsThatCannotBeHostLabels_InvalidIds = string[];
104
+
105
+ export type Tests_Lib_Schema_ConfigSchema_RejectsHTTPContextIDsThatCannotBeHostLabels_InvalidId = string;
106
+
107
+ export type Tests_Lib_Schema_ConfigSchema_RejectsHTTPContextIDsThatCannotBeHostLabels_AssertInvalidId = (invalidId: Tests_Lib_Schema_ConfigSchema_RejectsHTTPContextIDsThatCannotBeHostLabels_InvalidId) => void;
108
+
109
+ export type Tests_Lib_Schema_ConfigSchema_RejectsHTTPContextIDsThatCannotBeHostLabels_AssertInvalidId_Invalid = Record<string, unknown>;
110
+
111
+ export type Tests_Lib_Schema_ConfigSchema_RejectsHTTPContextIDsThatCannotBeHostLabels_AssertInvalidId_ResultSuccess = boolean;
112
+
113
+ export type Tests_Lib_Schema_ConfigSchema_RejectsHTTPContextIDsThatCannotBeHostLabels_AssertInvalidId_Result = {
114
+ success: Tests_Lib_Schema_ConfigSchema_RejectsHTTPContextIDsThatCannotBeHostLabels_AssertInvalidId_ResultSuccess;
115
+ };
116
+
98
117
  /**
99
118
  * Tests - Lib - Schema - Config Schema - Rejects Invalid Error Events Values.
100
119
  *
@@ -1,7 +1,8 @@
1
1
  import type { vi } from 'vitest';
2
2
 
3
3
  import type { Lib_Schema_ConfigSchema } from '../../lib/schema.d.ts';
4
- import type { Worker_Pipeline_Deliver_Namespace } from '../../worker/pipeline/deliver.d.ts';
4
+ import type { Worker_Index_CreateWorker_Returns, Worker_Index_CreateWorker_Returns_EmailMessage } from '../../worker/index.d.ts';
5
+ import type { Worker_Pipeline_Deliver_Namespace, Worker_Pipeline_Deliver_StubEnqueue } from '../../worker/pipeline/deliver.d.ts';
5
6
  import type { Worker_Pipeline_Send_Result } from '../../worker/pipeline/send.d.ts';
6
7
 
7
8
  /**
@@ -27,6 +28,71 @@ export type Tests_Worker_Index_Outbox = Worker_Pipeline_Deliver_Namespace & {};
27
28
 
28
29
  export type Tests_Worker_Index_SendResult = Worker_Pipeline_Send_Result & {};
29
30
 
31
+ export type Tests_Worker_Index_Env = Record<string, string | KVNamespace | Worker_Pipeline_Deliver_Namespace | undefined>;
32
+
33
+ /**
34
+ * Tests - Worker - Index - cloudflare:workers.
35
+ *
36
+ * @since 2.3.0
37
+ */
38
+ export type Tests_Worker_Index_CloudflareWorkers_DurableObject = ReturnType<typeof vi['fn']>;
39
+
40
+ /**
41
+ * Tests - Worker - Index - Create Worker - Ignores An Email When The Config Is Invalid.
42
+ *
43
+ * @since 2.3.0
44
+ */
45
+ export type Tests_Worker_Index_CreateWorker_IgnoresAnEmailWhenTheConfigIsInvalid_MockFetch = ReturnType<typeof vi['fn']>;
46
+
47
+ export type Tests_Worker_Index_CreateWorker_IgnoresAnEmailWhenTheConfigIsInvalid_Worker = Worker_Index_CreateWorker_Returns & {};
48
+
49
+ export type Tests_Worker_Index_CreateWorker_IgnoresAnEmailWhenTheConfigIsInvalid_RawEmail = string;
50
+
51
+ export type Tests_Worker_Index_CreateWorker_IgnoresAnEmailWhenTheConfigIsInvalid_Message = Worker_Index_CreateWorker_Returns_EmailMessage & {};
52
+
53
+ /**
54
+ * Tests - Worker - Index - Create Worker - Processes An Email With A Valid Config.
55
+ *
56
+ * @since 2.3.0
57
+ */
58
+ export type Tests_Worker_Index_CreateWorker_ProcessesAnEmailWithAValidConfig_MockFetch = ReturnType<typeof vi['fn']>;
59
+
60
+ export type Tests_Worker_Index_CreateWorker_ProcessesAnEmailWithAValidConfig_Worker = Worker_Index_CreateWorker_Returns & {};
61
+
62
+ export type Tests_Worker_Index_CreateWorker_ProcessesAnEmailWithAValidConfig_RawEmail = string;
63
+
64
+ export type Tests_Worker_Index_CreateWorker_ProcessesAnEmailWithAValidConfig_Message = Worker_Index_CreateWorker_Returns_EmailMessage & {};
65
+
66
+ /**
67
+ * Tests - Worker - Index - Create Worker - Processes A Request With A Valid Config.
68
+ *
69
+ * @since 2.3.0
70
+ */
71
+ export type Tests_Worker_Index_CreateWorker_ProcessesARequestWithAValidConfig_MockFetch = ReturnType<typeof vi['fn']>;
72
+
73
+ export type Tests_Worker_Index_CreateWorker_ProcessesARequestWithAValidConfig_Worker = Worker_Index_CreateWorker_Returns & {};
74
+
75
+ export type Tests_Worker_Index_CreateWorker_ProcessesARequestWithAValidConfig_Request = Request;
76
+
77
+ export type Tests_Worker_Index_CreateWorker_ProcessesARequestWithAValidConfig_Response = Response;
78
+
79
+ export type Tests_Worker_Index_CreateWorker_ProcessesARequestWithAValidConfig_Body = Record<string, unknown>;
80
+
81
+ /**
82
+ * Tests - Worker - Index - Create Worker - Returns 500 For A Request When The Config Is Invalid.
83
+ *
84
+ * @since 2.3.0
85
+ */
86
+ export type Tests_Worker_Index_CreateWorker_Returns500ForARequestWhenTheConfigIsInvalid_MockFetch = ReturnType<typeof vi['fn']>;
87
+
88
+ export type Tests_Worker_Index_CreateWorker_Returns500ForARequestWhenTheConfigIsInvalid_Worker = Worker_Index_CreateWorker_Returns & {};
89
+
90
+ export type Tests_Worker_Index_CreateWorker_Returns500ForARequestWhenTheConfigIsInvalid_Request = Request;
91
+
92
+ export type Tests_Worker_Index_CreateWorker_Returns500ForARequestWhenTheConfigIsInvalid_Response = Response;
93
+
94
+ export type Tests_Worker_Index_CreateWorker_Returns500ForARequestWhenTheConfigIsInvalid_Body = Record<string, unknown>;
95
+
30
96
  /**
31
97
  * Tests - Worker - Index - Handle Email - Accepts Email From Authorized Sender.
32
98
  *
@@ -81,6 +147,15 @@ export type Tests_Worker_Index_HandleEmail_SuppressesAuthErrorNotificationWhenEm
81
147
 
82
148
  export type Tests_Worker_Index_HandleEmail_SuppressesAuthErrorNotificationWhenEmailErrorEventsExcludesAuthentication_RawEmail = string;
83
149
 
150
+ /**
151
+ * Tests - Worker - Index - Handle Request - Ignores The Context Header Outside Localhost.
152
+ *
153
+ * @since 2.3.0
154
+ */
155
+ export type Tests_Worker_Index_HandleRequest_IgnoresTheContextHeaderOutsideLocalhost_Request = Request;
156
+
157
+ export type Tests_Worker_Index_HandleRequest_IgnoresTheContextHeaderOutsideLocalhost_Response = Response;
158
+
84
159
  /**
85
160
  * Tests - Worker - Index - Handle Request - Passes Through When No Token Configured.
86
161
  *
@@ -90,6 +165,19 @@ export type Tests_Worker_Index_HandleRequest_PassesThroughWhenNoTokenConfigured_
90
165
 
91
166
  export type Tests_Worker_Index_HandleRequest_PassesThroughWhenNoTokenConfigured_Response = Response;
92
167
 
168
+ /**
169
+ * Tests - Worker - Index - Handle Request - Preserves Binary Request Bodies As Attachments.
170
+ *
171
+ * @since 2.3.0
172
+ */
173
+ export type Tests_Worker_Index_HandleRequest_PreservesBinaryRequestBodiesAsAttachments_MockFetch = ReturnType<typeof vi['fn']>;
174
+
175
+ export type Tests_Worker_Index_HandleRequest_PreservesBinaryRequestBodiesAsAttachments_Bytes = Uint8Array<ArrayBuffer>;
176
+
177
+ export type Tests_Worker_Index_HandleRequest_PreservesBinaryRequestBodiesAsAttachments_Request = Request;
178
+
179
+ export type Tests_Worker_Index_HandleRequest_PreservesBinaryRequestBodiesAsAttachments_Response = Response;
180
+
93
181
  /**
94
182
  * Tests - Worker - Index - Handle Request - Processes A Valid POST Request Through The Pipeline.
95
183
  *
@@ -101,6 +189,25 @@ export type Tests_Worker_Index_HandleRequest_ProcessesAValidPOSTRequestThroughTh
101
189
 
102
190
  export type Tests_Worker_Index_HandleRequest_ProcessesAValidPOSTRequestThroughThePipeline_Body = Record<string, unknown>;
103
191
 
192
+ /**
193
+ * Tests - Worker - Index - Handle Request - Processes Later Notifications After An Error Topic Attachment Fails.
194
+ *
195
+ * @since 2.3.0
196
+ */
197
+ export type Tests_Worker_Index_HandleRequest_ProcessesLaterNotificationsAfterAnErrorTopicAttachmentFails_MockFetch = ReturnType<typeof vi['fn']>;
198
+
199
+ export type Tests_Worker_Index_HandleRequest_ProcessesLaterNotificationsAfterAnErrorTopicAttachmentFails_Enqueue = Worker_Pipeline_Deliver_StubEnqueue & {};
200
+
201
+ export type Tests_Worker_Index_HandleRequest_ProcessesLaterNotificationsAfterAnErrorTopicAttachmentFails_IsolatedOutbox = Worker_Pipeline_Deliver_Namespace & {};
202
+
203
+ export type Tests_Worker_Index_HandleRequest_ProcessesLaterNotificationsAfterAnErrorTopicAttachmentFails_FailedRequest = Request;
204
+
205
+ export type Tests_Worker_Index_HandleRequest_ProcessesLaterNotificationsAfterAnErrorTopicAttachmentFails_FailedResponse = Response;
206
+
207
+ export type Tests_Worker_Index_HandleRequest_ProcessesLaterNotificationsAfterAnErrorTopicAttachmentFails_ValidRequest = Request;
208
+
209
+ export type Tests_Worker_Index_HandleRequest_ProcessesLaterNotificationsAfterAnErrorTopicAttachmentFails_ValidResponse = Response;
210
+
104
211
  /**
105
212
  * Tests - Worker - Index - Handle Request - Returns 403 With No Authorization Header When Token Required.
106
213
  *
@@ -139,6 +246,17 @@ export type Tests_Worker_Index_HandleRequest_Returns405ForUnsupportedMethods_Req
139
246
 
140
247
  export type Tests_Worker_Index_HandleRequest_Returns405ForUnsupportedMethods_Response = Response;
141
248
 
249
+ /**
250
+ * Tests - Worker - Index - Handle Request - Routes A Localhost Request By Its Context Header.
251
+ *
252
+ * @since 2.3.0
253
+ */
254
+ export type Tests_Worker_Index_HandleRequest_RoutesALocalhostRequestByItsContextHeader_Request = Request;
255
+
256
+ export type Tests_Worker_Index_HandleRequest_RoutesALocalhostRequestByItsContextHeader_Response = Response;
257
+
258
+ export type Tests_Worker_Index_HandleRequest_RoutesALocalhostRequestByItsContextHeader_Body = Record<string, unknown>;
259
+
142
260
  /**
143
261
  * Tests - Worker - Index - Handle Request - Sends Error Notification When Auth Fails And Error Topic Configured.
144
262
  *
@@ -0,0 +1,77 @@
1
+ /**
2
+ * Tests - Worker - Interpreters - App Payload - Interpret App Payload - Builds A Notification From An Alert.
3
+ *
4
+ * @since 2.3.0
5
+ */
6
+ export type Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_BuildsANotificationFromAnAlert_Result_Notification_Title = string | undefined;
7
+
8
+ export type Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_BuildsANotificationFromAnAlert_Result_Notification_Body = string;
9
+
10
+ export type Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_BuildsANotificationFromAnAlert_Result_Notification_Priority = 1 | 2 | 3 | 4 | 5 | undefined;
11
+
12
+ export type Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_BuildsANotificationFromAnAlert_Result_Notification_Tags = string[] | undefined;
13
+
14
+ export type Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_BuildsANotificationFromAnAlert_Result_Notification = {
15
+ title?: Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_BuildsANotificationFromAnAlert_Result_Notification_Title;
16
+ body: Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_BuildsANotificationFromAnAlert_Result_Notification_Body;
17
+ priority?: Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_BuildsANotificationFromAnAlert_Result_Notification_Priority;
18
+ tags?: Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_BuildsANotificationFromAnAlert_Result_Notification_Tags;
19
+ };
20
+
21
+ export type Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_BuildsANotificationFromAnAlert_Result = {
22
+ notification: Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_BuildsANotificationFromAnAlert_Result_Notification;
23
+ };
24
+
25
+ /**
26
+ * Tests - Worker - Interpreters - App Payload - Interpret App Payload - Names The Right Interpreter For An Alert From Another App.
27
+ *
28
+ * @since 2.3.0
29
+ */
30
+ export type Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_NamesTheRightInterpreterForAnAlertFromAnotherApp_Alert = Record<string, unknown>;
31
+
32
+ /**
33
+ * Tests - Worker - Interpreters - App Payload - Interpret App Payload - Reads A JSON String And An Array Buffer.
34
+ *
35
+ * @since 2.3.0
36
+ */
37
+ export type Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_ReadsAJSONStringAndAnArrayBuffer_Payload = string;
38
+
39
+ export type Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_ReadsAJSONStringAndAnArrayBuffer_Bytes = Uint8Array;
40
+
41
+ export type Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_ReadsAJSONStringAndAnArrayBuffer_Buffer = ArrayBuffer;
42
+
43
+ export type Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_ReadsAJSONStringAndAnArrayBuffer_FromString_Notification_Title = string | undefined;
44
+
45
+ export type Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_ReadsAJSONStringAndAnArrayBuffer_FromString_Notification = {
46
+ title?: Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_ReadsAJSONStringAndAnArrayBuffer_FromString_Notification_Title;
47
+ };
48
+
49
+ export type Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_ReadsAJSONStringAndAnArrayBuffer_FromString = {
50
+ notification: Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_ReadsAJSONStringAndAnArrayBuffer_FromString_Notification;
51
+ };
52
+
53
+ export type Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_ReadsAJSONStringAndAnArrayBuffer_FromBuffer_Notification_Title = string | undefined;
54
+
55
+ export type Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_ReadsAJSONStringAndAnArrayBuffer_FromBuffer_Notification = {
56
+ title?: Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_ReadsAJSONStringAndAnArrayBuffer_FromBuffer_Notification_Title;
57
+ };
58
+
59
+ export type Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_ReadsAJSONStringAndAnArrayBuffer_FromBuffer = {
60
+ notification: Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_ReadsAJSONStringAndAnArrayBuffer_FromBuffer_Notification;
61
+ };
62
+
63
+ /**
64
+ * Tests - Worker - Interpreters - App Payload - Interpret App Payload - Rejects An Unknown App Without Suggesting It As An Interpreter.
65
+ *
66
+ * @since 2.3.0
67
+ */
68
+ export type Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_RejectsAnUnknownAppWithoutSuggestingItAsAnInterpreter_Alert = Record<string, unknown>;
69
+
70
+ /**
71
+ * Tests - Worker - Interpreters - App Payload - Interpret App Payload - Rejects A Payload Of The Wrong Shape.
72
+ *
73
+ * @since 2.3.0
74
+ */
75
+ export type Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_RejectsAPayloadOfTheWrongShape_Shapeless = Record<string, unknown>;
76
+
77
+ export type Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_RejectsAPayloadOfTheWrongShape_FutureVersion = Record<string, unknown>;
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Tests - Worker - Interpreters - Discord Stonker Bot - Discord Stonker Bot Interpreter - Reads A Job Failed Alert.
3
+ *
4
+ * @since 2.3.0
5
+ */
6
+ export type Tests_Worker_Interpreters_DiscordStonkerBot_DiscordStonkerBotInterpreter_ReadsAJobFailedAlert_Result_Notification_Title = string | undefined;
7
+
8
+ export type Tests_Worker_Interpreters_DiscordStonkerBot_DiscordStonkerBotInterpreter_ReadsAJobFailedAlert_Result_Notification_Body = string;
9
+
10
+ export type Tests_Worker_Interpreters_DiscordStonkerBot_DiscordStonkerBotInterpreter_ReadsAJobFailedAlert_Result_Notification_Priority = 1 | 2 | 3 | 4 | 5 | undefined;
11
+
12
+ export type Tests_Worker_Interpreters_DiscordStonkerBot_DiscordStonkerBotInterpreter_ReadsAJobFailedAlert_Result_Notification_Tags = string[] | undefined;
13
+
14
+ export type Tests_Worker_Interpreters_DiscordStonkerBot_DiscordStonkerBotInterpreter_ReadsAJobFailedAlert_Result_Notification = {
15
+ title?: Tests_Worker_Interpreters_DiscordStonkerBot_DiscordStonkerBotInterpreter_ReadsAJobFailedAlert_Result_Notification_Title;
16
+ body: Tests_Worker_Interpreters_DiscordStonkerBot_DiscordStonkerBotInterpreter_ReadsAJobFailedAlert_Result_Notification_Body;
17
+ priority?: Tests_Worker_Interpreters_DiscordStonkerBot_DiscordStonkerBotInterpreter_ReadsAJobFailedAlert_Result_Notification_Priority;
18
+ tags?: Tests_Worker_Interpreters_DiscordStonkerBot_DiscordStonkerBotInterpreter_ReadsAJobFailedAlert_Result_Notification_Tags;
19
+ };
20
+
21
+ export type Tests_Worker_Interpreters_DiscordStonkerBot_DiscordStonkerBotInterpreter_ReadsAJobFailedAlert_Result = {
22
+ notification: Tests_Worker_Interpreters_DiscordStonkerBot_DiscordStonkerBotInterpreter_ReadsAJobFailedAlert_Result_Notification;
23
+ };
@@ -11,7 +11,7 @@ export type Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_HandlesString
11
11
 
12
12
  export type Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_HandlesStringInputByParsingJSON_Result = {
13
13
  notification: Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_HandlesStringInputByParsingJSON_Result_Notification;
14
- } | null;
14
+ };
15
15
 
16
16
  /**
17
17
  * Tests - Worker - Interpreters - Ntfy JSON - Ntfy JSON Interpreter - Ignores Unknown Fields.
@@ -26,7 +26,7 @@ export type Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_IgnoresUnknow
26
26
 
27
27
  export type Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_IgnoresUnknownFields_Result = {
28
28
  notification: Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_IgnoresUnknownFields_Result_Notification;
29
- } | null;
29
+ };
30
30
 
31
31
  export type Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_IgnoresUnknownFields_RecordCast = Record<string, unknown>;
32
32
 
@@ -54,7 +54,7 @@ export type Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_MapsJSONField
54
54
 
55
55
  export type Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_MapsJSONFieldsToNotificationObject_Result = {
56
56
  notification: Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_MapsJSONFieldsToNotificationObject_Result_Notification;
57
- } | null;
57
+ };
58
58
 
59
59
  /**
60
60
  * Tests - Worker - Interpreters - Ntfy JSON - Ntfy JSON Interpreter - Maps Optional Ntfy Fields.
@@ -78,7 +78,7 @@ export type Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_MapsOptionalN
78
78
 
79
79
  export type Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_MapsOptionalNtfyFields_Result = {
80
80
  notification: Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_MapsOptionalNtfyFields_Result_Notification;
81
- } | null;
81
+ };
82
82
 
83
83
  /**
84
84
  * Tests - Worker - Interpreters - Ntfy JSON - Ntfy JSON Interpreter - Requires Body Field.
@@ -88,16 +88,8 @@ export type Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_MapsOptionalN
88
88
  export type Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_RequiresBodyField_Input = Record<string, unknown>;
89
89
 
90
90
  /**
91
- * Tests - Worker - Interpreters - Ntfy JSON - Ntfy JSON Interpreter - Returns Null On Non JSON String Input.
91
+ * Tests - Worker - Interpreters - Ntfy JSON - Ntfy JSON Interpreter - Throws On Non JSON String Input.
92
92
  *
93
- * @since 2.0.0
93
+ * @since 2.3.0
94
94
  */
95
- export type Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_ReturnsNullOnNonJSONStringInput_Result_Notification_Body = string;
96
-
97
- export type Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_ReturnsNullOnNonJSONStringInput_Result_Notification = {
98
- body: Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_ReturnsNullOnNonJSONStringInput_Result_Notification_Body;
99
- };
100
-
101
- export type Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_ReturnsNullOnNonJSONStringInput_Result = {
102
- notification: Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_ReturnsNullOnNonJSONStringInput_Result_Notification;
103
- } | null;
95
+ export type Tests_Worker_Interpreters_NtfyJson_NtfyJsonInterpreter_ThrowsOnNonJSONStringInput_Input = string;
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Tests - Worker - Interpreters - Outpost - Interpreter - Reads An Updates Applied Alert.
3
+ *
4
+ * @since 2.3.0
5
+ */
6
+ export type Tests_Worker_Interpreters_Outpost_OutpostInterpreter_ReadsAnUpdatesAppliedAlert_Result_Notification_Title = string | undefined;
7
+
8
+ export type Tests_Worker_Interpreters_Outpost_OutpostInterpreter_ReadsAnUpdatesAppliedAlert_Result_Notification_Body = string;
9
+
10
+ export type Tests_Worker_Interpreters_Outpost_OutpostInterpreter_ReadsAnUpdatesAppliedAlert_Result_Notification_Priority = 1 | 2 | 3 | 4 | 5 | undefined;
11
+
12
+ export type Tests_Worker_Interpreters_Outpost_OutpostInterpreter_ReadsAnUpdatesAppliedAlert_Result_Notification_Tags = string[] | undefined;
13
+
14
+ export type Tests_Worker_Interpreters_Outpost_OutpostInterpreter_ReadsAnUpdatesAppliedAlert_Result_Notification = {
15
+ title?: Tests_Worker_Interpreters_Outpost_OutpostInterpreter_ReadsAnUpdatesAppliedAlert_Result_Notification_Title;
16
+ body: Tests_Worker_Interpreters_Outpost_OutpostInterpreter_ReadsAnUpdatesAppliedAlert_Result_Notification_Body;
17
+ priority?: Tests_Worker_Interpreters_Outpost_OutpostInterpreter_ReadsAnUpdatesAppliedAlert_Result_Notification_Priority;
18
+ tags?: Tests_Worker_Interpreters_Outpost_OutpostInterpreter_ReadsAnUpdatesAppliedAlert_Result_Notification_Tags;
19
+ };
20
+
21
+ export type Tests_Worker_Interpreters_Outpost_OutpostInterpreter_ReadsAnUpdatesAppliedAlert_Result = {
22
+ notification: Tests_Worker_Interpreters_Outpost_OutpostInterpreter_ReadsAnUpdatesAppliedAlert_Result_Notification;
23
+ };
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Tests - Worker - Interpreters - Pfsense Actions - Pfsense Actions Interpreter - Reads An Unreachable Alert.
3
+ *
4
+ * @since 2.3.0
5
+ */
6
+ export type Tests_Worker_Interpreters_PfsenseActions_PfsenseActionsInterpreter_ReadsAnUnreachableAlert_Result_Notification_Title = string | undefined;
7
+
8
+ export type Tests_Worker_Interpreters_PfsenseActions_PfsenseActionsInterpreter_ReadsAnUnreachableAlert_Result_Notification_Body = string;
9
+
10
+ export type Tests_Worker_Interpreters_PfsenseActions_PfsenseActionsInterpreter_ReadsAnUnreachableAlert_Result_Notification_Priority = 1 | 2 | 3 | 4 | 5 | undefined;
11
+
12
+ export type Tests_Worker_Interpreters_PfsenseActions_PfsenseActionsInterpreter_ReadsAnUnreachableAlert_Result_Notification_Tags = string[] | undefined;
13
+
14
+ export type Tests_Worker_Interpreters_PfsenseActions_PfsenseActionsInterpreter_ReadsAnUnreachableAlert_Result_Notification = {
15
+ title?: Tests_Worker_Interpreters_PfsenseActions_PfsenseActionsInterpreter_ReadsAnUnreachableAlert_Result_Notification_Title;
16
+ body: Tests_Worker_Interpreters_PfsenseActions_PfsenseActionsInterpreter_ReadsAnUnreachableAlert_Result_Notification_Body;
17
+ priority?: Tests_Worker_Interpreters_PfsenseActions_PfsenseActionsInterpreter_ReadsAnUnreachableAlert_Result_Notification_Priority;
18
+ tags?: Tests_Worker_Interpreters_PfsenseActions_PfsenseActionsInterpreter_ReadsAnUnreachableAlert_Result_Notification_Tags;
19
+ };
20
+
21
+ export type Tests_Worker_Interpreters_PfsenseActions_PfsenseActionsInterpreter_ReadsAnUnreachableAlert_Result = {
22
+ notification: Tests_Worker_Interpreters_PfsenseActions_PfsenseActionsInterpreter_ReadsAnUnreachableAlert_Result_Notification;
23
+ };
@@ -1,23 +1,3 @@
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
1
  /**
22
2
  * Tests - Worker - Interpreters - Plain Text - Plain Text Interpreter - Has No Attachment.
23
3
  *
@@ -54,6 +34,26 @@ export type Tests_Worker_Interpreters_PlainText_PlainTextInterpreter_PassesTextT
54
34
  attachment?: Tests_Worker_Interpreters_PlainText_PlainTextInterpreter_PassesTextThroughAsBody_Result_Attachment;
55
35
  };
56
36
 
37
+ /**
38
+ * Tests - Worker - Interpreters - Plain Text - Plain Text Interpreter - Preserves Binary Input As An Attachment.
39
+ *
40
+ * @since 2.0.0
41
+ */
42
+ export type Tests_Worker_Interpreters_PlainText_PlainTextInterpreter_PreservesBinaryInputAsAnAttachment_Buffer = ArrayBuffer;
43
+
44
+ export type Tests_Worker_Interpreters_PlainText_PlainTextInterpreter_PreservesBinaryInputAsAnAttachment_Result_Notification_Body = string;
45
+
46
+ export type Tests_Worker_Interpreters_PlainText_PlainTextInterpreter_PreservesBinaryInputAsAnAttachment_Result_Notification = {
47
+ body: Tests_Worker_Interpreters_PlainText_PlainTextInterpreter_PreservesBinaryInputAsAnAttachment_Result_Notification_Body;
48
+ };
49
+
50
+ export type Tests_Worker_Interpreters_PlainText_PlainTextInterpreter_PreservesBinaryInputAsAnAttachment_Result_Attachment = ArrayBuffer | undefined;
51
+
52
+ export type Tests_Worker_Interpreters_PlainText_PlainTextInterpreter_PreservesBinaryInputAsAnAttachment_Result = {
53
+ notification: Tests_Worker_Interpreters_PlainText_PlainTextInterpreter_PreservesBinaryInputAsAnAttachment_Result_Notification;
54
+ attachment?: Tests_Worker_Interpreters_PlainText_PlainTextInterpreter_PreservesBinaryInputAsAnAttachment_Result_Attachment;
55
+ };
56
+
57
57
  /**
58
58
  * Tests - Worker - Interpreters - Plain Text - Plain Text Interpreter - Stringifies Object Input.
59
59
  *
@@ -242,6 +242,13 @@ export type Tests_Worker_Interpreters_Statuspage_StatuspageInterpreter_SilentlyA
242
242
 
243
243
  export type Tests_Worker_Interpreters_Statuspage_StatuspageInterpreter_SilentlyAccumulatesComponentOnlyWebhooksInKV_StoredComponents = Record<string, unknown>;
244
244
 
245
+ /**
246
+ * Tests - Worker - Interpreters - Statuspage - Statuspage Interpreter - Throws On Malformed JSON.
247
+ *
248
+ * @since 2.3.0
249
+ */
250
+ export type Tests_Worker_Interpreters_Statuspage_StatuspageInterpreter_ThrowsOnMalformedJSON_Promise = Promise<Worker_Pipeline_Interpret_Result | null>;
251
+
245
252
  /**
246
253
  * Tests - Worker - Interpreters - Statuspage - Statuspage Interpreter - Throws On Unrecognized Payload.
247
254
  *