ntfy-reverse-proxy 2.3.0 → 2.4.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.
- package/build/config.sample.json +4 -1
- package/build/src/cli/commands/context.d.ts +3 -2
- package/build/src/cli/commands/context.d.ts.map +1 -1
- package/build/src/cli/commands/context.js +4 -1
- package/build/src/cli/commands/context.js.map +1 -1
- package/build/src/cli/menu/interactive.d.ts.map +1 -1
- package/build/src/cli/menu/interactive.js +60 -13
- package/build/src/cli/menu/interactive.js.map +1 -1
- package/build/src/lib/regex.d.ts +2 -1
- package/build/src/lib/regex.d.ts.map +1 -1
- package/build/src/lib/regex.js +2 -1
- package/build/src/lib/regex.js.map +1 -1
- package/build/src/lib/schema.d.ts +27 -1
- package/build/src/lib/schema.d.ts.map +1 -1
- package/build/src/lib/schema.js +13 -2
- package/build/src/lib/schema.js.map +1 -1
- package/build/src/types/cli/commands/context.d.ts +7 -0
- package/build/src/types/cli/menu/interactive.d.ts +11 -3
- package/build/src/types/lib/schema.d.ts +16 -1
- package/build/src/types/tests/cli/commands/context.test.d.ts +18 -0
- package/build/src/types/tests/lib/schema.test.d.ts +39 -0
- package/build/src/types/tests/worker/durable-objects/delivery-outbox.test.d.ts +413 -0
- package/build/src/types/tests/worker/index.test.d.ts +56 -0
- package/build/src/types/tests/worker/interpreters/mailmask.test.d.ts +103 -0
- package/build/src/types/tests/worker/landing/page.test.d.ts +11 -0
- package/build/src/types/tests/worker/pipeline/deliver.test.d.ts +2 -2
- package/build/src/types/tests/worker/pipeline/drain-fifo.test.d.ts +146 -2
- package/build/src/types/tests/worker/pipeline/interpret.test.d.ts +2 -0
- package/build/src/types/tests/worker/pipeline/session.test.d.ts +140 -0
- package/build/src/types/worker/durable-objects/delivery-outbox.d.ts +379 -8
- package/build/src/types/worker/handlers.d.ts +11 -1
- package/build/src/types/worker/interpreters/app-payload.d.ts +10 -1
- package/build/src/types/worker/interpreters/mailmask.d.ts +91 -0
- package/build/src/types/worker/pipeline/deliver.d.ts +21 -2
- package/build/src/types/worker/pipeline/drain-fifo.d.ts +29 -5
- package/build/src/types/worker/pipeline/session.d.ts +228 -0
- package/build/src/worker/durable-objects/delivery-outbox.d.ts +2 -1
- package/build/src/worker/durable-objects/delivery-outbox.d.ts.map +1 -1
- package/build/src/worker/durable-objects/delivery-outbox.js +209 -16
- package/build/src/worker/durable-objects/delivery-outbox.js.map +1 -1
- package/build/src/worker/handlers.d.ts.map +1 -1
- package/build/src/worker/handlers.js +53 -1
- package/build/src/worker/handlers.js.map +1 -1
- package/build/src/worker/interpreters/app-payload.d.ts.map +1 -1
- package/build/src/worker/interpreters/app-payload.js +6 -1
- package/build/src/worker/interpreters/app-payload.js.map +1 -1
- package/build/src/worker/interpreters/mailmask.d.ts +4 -0
- package/build/src/worker/interpreters/mailmask.d.ts.map +1 -0
- package/build/src/worker/interpreters/mailmask.js +49 -0
- package/build/src/worker/interpreters/mailmask.js.map +1 -0
- package/build/src/worker/landing/page.d.ts.map +1 -1
- package/build/src/worker/landing/page.js +151 -107
- package/build/src/worker/landing/page.js.map +1 -1
- package/build/src/worker/pipeline/deliver.d.ts.map +1 -1
- package/build/src/worker/pipeline/deliver.js +3 -0
- package/build/src/worker/pipeline/deliver.js.map +1 -1
- package/build/src/worker/pipeline/drain-fifo.d.ts.map +1 -1
- package/build/src/worker/pipeline/drain-fifo.js +33 -7
- package/build/src/worker/pipeline/drain-fifo.js.map +1 -1
- package/build/src/worker/pipeline/interpret.d.ts.map +1 -1
- package/build/src/worker/pipeline/interpret.js +2 -0
- package/build/src/worker/pipeline/interpret.js.map +1 -1
- package/build/src/worker/pipeline/session.d.ts +6 -0
- package/build/src/worker/pipeline/session.d.ts.map +1 -0
- package/build/src/worker/pipeline/session.js +192 -0
- package/build/src/worker/pipeline/session.js.map +1 -0
- package/package.json +2 -2
|
@@ -3,7 +3,49 @@ import type {
|
|
|
3
3
|
Worker_Pipeline_Deliver_EnqueueOptions,
|
|
4
4
|
Worker_Pipeline_Deliver_Result,
|
|
5
5
|
} from '../pipeline/deliver.d.ts';
|
|
6
|
-
import type {
|
|
6
|
+
import type {
|
|
7
|
+
Worker_Pipeline_DrainFifo_Action,
|
|
8
|
+
Worker_Pipeline_DrainFifo_DrainResult,
|
|
9
|
+
} from '../pipeline/drain-fifo.d.ts';
|
|
10
|
+
import type {
|
|
11
|
+
Worker_Pipeline_Send_Result,
|
|
12
|
+
Worker_Pipeline_Send_ServerResult,
|
|
13
|
+
} from '../pipeline/send.d.ts';
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Worker - Durable Objects - Delivery Outbox - Delivery Attempt Minimum.
|
|
17
|
+
*
|
|
18
|
+
* @since 2.4.0
|
|
19
|
+
*/
|
|
20
|
+
export type Worker_DurableObjects_DeliveryOutbox_DeliveryAttemptMinimum = number;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Worker - Durable Objects - Delivery Outbox - Delivery Failure Max Age Milliseconds.
|
|
24
|
+
*
|
|
25
|
+
* @since 2.4.0
|
|
26
|
+
*/
|
|
27
|
+
export type Worker_DurableObjects_DeliveryOutbox_DeliveryFailureMaxAgeMilliseconds = number;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Worker - Durable Objects - Delivery Outbox - Delivery Retry Base Milliseconds.
|
|
31
|
+
*
|
|
32
|
+
* @since 2.4.0
|
|
33
|
+
*/
|
|
34
|
+
export type Worker_DurableObjects_DeliveryOutbox_DeliveryRetryBaseMilliseconds = number;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Worker - Durable Objects - Delivery Outbox - Delivery Retry Max Milliseconds.
|
|
38
|
+
*
|
|
39
|
+
* @since 2.4.0
|
|
40
|
+
*/
|
|
41
|
+
export type Worker_DurableObjects_DeliveryOutbox_DeliveryRetryMaxMilliseconds = number;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Worker - Durable Objects - Delivery Outbox - Missing Server Error Name.
|
|
45
|
+
*
|
|
46
|
+
* @since 2.4.0
|
|
47
|
+
*/
|
|
48
|
+
export type Worker_DurableObjects_DeliveryOutbox_MissingServerErrorName = string;
|
|
7
49
|
|
|
8
50
|
/**
|
|
9
51
|
* Worker - Durable Objects - Delivery Outbox - Attachment Chunk Bytes.
|
|
@@ -37,7 +79,18 @@ export type Worker_DurableObjects_DeliveryOutbox_DeliverySucceeded_Returns = boo
|
|
|
37
79
|
*/
|
|
38
80
|
export type Worker_DurableObjects_DeliveryOutbox_Runner_Env = Record<string, unknown>;
|
|
39
81
|
|
|
40
|
-
export type Worker_DurableObjects_DeliveryOutbox_Runner_DrainPromise = Promise<
|
|
82
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_DrainPromise = Promise<Worker_Pipeline_DrainFifo_DrainResult<Worker_Pipeline_Send_Result>> | undefined;
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Worker - Durable Objects - Delivery Outbox - Runner - Alarm.
|
|
86
|
+
*
|
|
87
|
+
* @since 2.4.0
|
|
88
|
+
*/
|
|
89
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_Alarm_Returns = Promise<void>;
|
|
90
|
+
|
|
91
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_Alarm_ActiveDrain = Promise<Worker_Pipeline_DrainFifo_DrainResult<Worker_Pipeline_Send_Result>> | undefined;
|
|
92
|
+
|
|
93
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_Alarm_StartedDrain = Promise<Worker_Pipeline_DrainFifo_DrainResult<Worker_Pipeline_Send_Result>>;
|
|
41
94
|
|
|
42
95
|
/**
|
|
43
96
|
* Worker - Durable Objects - Delivery Outbox - Runner - Attempt.
|
|
@@ -117,12 +170,42 @@ export type Worker_DurableObjects_DeliveryOutbox_Runner_Checkpoint_Returns = voi
|
|
|
117
170
|
/**
|
|
118
171
|
* Worker - Durable Objects - Delivery Outbox - Runner - Constructor.
|
|
119
172
|
*
|
|
120
|
-
* @since 2.
|
|
173
|
+
* @since 2.4.0
|
|
121
174
|
*/
|
|
122
175
|
export type Worker_DurableObjects_DeliveryOutbox_Runner_Constructor_Ctx = DurableObjectState;
|
|
123
176
|
|
|
124
177
|
export type Worker_DurableObjects_DeliveryOutbox_Runner_Constructor_Env = Record<string, unknown>;
|
|
125
178
|
|
|
179
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_Constructor_NotificationColumnsItemName = string;
|
|
180
|
+
|
|
181
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_Constructor_NotificationColumnsItem = {
|
|
182
|
+
name: Worker_DurableObjects_DeliveryOutbox_Runner_Constructor_NotificationColumnsItemName;
|
|
183
|
+
};
|
|
184
|
+
|
|
185
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_Constructor_NotificationColumns = Worker_DurableObjects_DeliveryOutbox_Runner_Constructor_NotificationColumnsItem[];
|
|
186
|
+
|
|
187
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_Constructor_AttemptCountColumn = Worker_DurableObjects_DeliveryOutbox_Runner_Constructor_NotificationColumnsItem | undefined;
|
|
188
|
+
|
|
189
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_Constructor_DiagnosticConfigColumn = Worker_DurableObjects_DeliveryOutbox_Runner_Constructor_NotificationColumnsItem | undefined;
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* Worker - Durable Objects - Delivery Outbox - Runner - Continue Drain.
|
|
193
|
+
*
|
|
194
|
+
* @since 2.4.0
|
|
195
|
+
*/
|
|
196
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_ContinueDrain_PreviousDrain = Worker_Pipeline_DrainFifo_DrainResult<Worker_Pipeline_Send_Result>;
|
|
197
|
+
|
|
198
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_ContinueDrain_Returns = Promise<Worker_Pipeline_DrainFifo_DrainResult<Worker_Pipeline_Send_Result>>;
|
|
199
|
+
|
|
200
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_ContinueDrain_CurrentDrainResults = Map<string, Worker_Pipeline_Send_Result>;
|
|
201
|
+
|
|
202
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_ContinueDrain_CurrentDrainDiscardedIds = Set<string>;
|
|
203
|
+
|
|
204
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_ContinueDrain_CurrentDrain = {
|
|
205
|
+
results: Worker_DurableObjects_DeliveryOutbox_Runner_ContinueDrain_CurrentDrainResults;
|
|
206
|
+
discardedIds: Worker_DurableObjects_DeliveryOutbox_Runner_ContinueDrain_CurrentDrainDiscardedIds;
|
|
207
|
+
};
|
|
208
|
+
|
|
126
209
|
/**
|
|
127
210
|
* Worker - Durable Objects - Delivery Outbox - Runner - Delete.
|
|
128
211
|
*
|
|
@@ -137,7 +220,22 @@ export type Worker_DurableObjects_DeliveryOutbox_Runner_Delete_Returns = void;
|
|
|
137
220
|
*
|
|
138
221
|
* @since 2.2.1
|
|
139
222
|
*/
|
|
140
|
-
export type Worker_DurableObjects_DeliveryOutbox_Runner_Drain_Returns = Promise<
|
|
223
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_Drain_Returns = Promise<Worker_Pipeline_DrainFifo_DrainResult<Worker_Pipeline_Send_Result>>;
|
|
224
|
+
|
|
225
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_Drain_DrainResultResults = Map<string, Worker_Pipeline_Send_Result>;
|
|
226
|
+
|
|
227
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_Drain_DrainResultDiscardedIds = Set<string>;
|
|
228
|
+
|
|
229
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_Drain_DrainResult = {
|
|
230
|
+
results: Worker_DurableObjects_DeliveryOutbox_Runner_Drain_DrainResultResults;
|
|
231
|
+
discardedIds: Worker_DurableObjects_DeliveryOutbox_Runner_Drain_DrainResultDiscardedIds;
|
|
232
|
+
};
|
|
233
|
+
|
|
234
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_Drain_PendingNotificationDeliveryId = string;
|
|
235
|
+
|
|
236
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_Drain_PendingNotification = {
|
|
237
|
+
deliveryId: Worker_DurableObjects_DeliveryOutbox_Runner_Drain_PendingNotificationDeliveryId;
|
|
238
|
+
} | undefined;
|
|
141
239
|
|
|
142
240
|
/**
|
|
143
241
|
* Worker - Durable Objects - Delivery Outbox - Runner - Enqueue.
|
|
@@ -150,6 +248,29 @@ export type Worker_DurableObjects_DeliveryOutbox_Runner_Enqueue_Returns = Promis
|
|
|
150
248
|
|
|
151
249
|
export type Worker_DurableObjects_DeliveryOutbox_Runner_Enqueue_DeliveryId = string;
|
|
152
250
|
|
|
251
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_Enqueue_DiagnosticConfigServerNames = string[];
|
|
252
|
+
|
|
253
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_Enqueue_DiagnosticConfigPrimaryServerName = string;
|
|
254
|
+
|
|
255
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_Enqueue_DiagnosticConfigMode = 'send-once' | 'send-all';
|
|
256
|
+
|
|
257
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_Enqueue_DiagnosticConfigContextName = string;
|
|
258
|
+
|
|
259
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_Enqueue_DiagnosticConfigInterpreterName = string;
|
|
260
|
+
|
|
261
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_Enqueue_DiagnosticConfigErrorTopic = string | undefined;
|
|
262
|
+
|
|
263
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_Enqueue_DiagnosticConfig = {
|
|
264
|
+
serverNames: Worker_DurableObjects_DeliveryOutbox_Runner_Enqueue_DiagnosticConfigServerNames;
|
|
265
|
+
primaryServerName: Worker_DurableObjects_DeliveryOutbox_Runner_Enqueue_DiagnosticConfigPrimaryServerName;
|
|
266
|
+
mode: Worker_DurableObjects_DeliveryOutbox_Runner_Enqueue_DiagnosticConfigMode;
|
|
267
|
+
contextName: Worker_DurableObjects_DeliveryOutbox_Runner_Enqueue_DiagnosticConfigContextName;
|
|
268
|
+
interpreterName: Worker_DurableObjects_DeliveryOutbox_Runner_Enqueue_DiagnosticConfigInterpreterName;
|
|
269
|
+
errorTopic?: Worker_DurableObjects_DeliveryOutbox_Runner_Enqueue_DiagnosticConfigErrorTopic;
|
|
270
|
+
};
|
|
271
|
+
|
|
272
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_Enqueue_DiagnosticConfigJson = string;
|
|
273
|
+
|
|
153
274
|
export type Worker_DurableObjects_DeliveryOutbox_Runner_Enqueue_PayloadMessages = Worker_Pipeline_Deliver_EnqueueOptions['messages'];
|
|
154
275
|
|
|
155
276
|
export type Worker_DurableObjects_DeliveryOutbox_Runner_Enqueue_PayloadServerNames = string[];
|
|
@@ -190,9 +311,16 @@ export type Worker_DurableObjects_DeliveryOutbox_Runner_Enqueue_Offset = number;
|
|
|
190
311
|
|
|
191
312
|
export type Worker_DurableObjects_DeliveryOutbox_Runner_Enqueue_Chunk = ArrayBuffer;
|
|
192
313
|
|
|
193
|
-
export type Worker_DurableObjects_DeliveryOutbox_Runner_Enqueue_StartedDrain = Promise<
|
|
314
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_Enqueue_StartedDrain = Promise<Worker_Pipeline_DrainFifo_DrainResult<Worker_Pipeline_Send_Result>>;
|
|
315
|
+
|
|
316
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_Enqueue_AttemptResultsResults = Map<string, Worker_Pipeline_Send_Result>;
|
|
194
317
|
|
|
195
|
-
export type
|
|
318
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_Enqueue_AttemptResultsDiscardedIds = Set<string>;
|
|
319
|
+
|
|
320
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_Enqueue_AttemptResults = {
|
|
321
|
+
results: Worker_DurableObjects_DeliveryOutbox_Runner_Enqueue_AttemptResultsResults;
|
|
322
|
+
discardedIds: Worker_DurableObjects_DeliveryOutbox_Runner_Enqueue_AttemptResultsDiscardedIds;
|
|
323
|
+
};
|
|
196
324
|
|
|
197
325
|
export type Worker_DurableObjects_DeliveryOutbox_Runner_Enqueue_PendingRowPending = number;
|
|
198
326
|
|
|
@@ -208,6 +336,8 @@ export type Worker_DurableObjects_DeliveryOutbox_Runner_Enqueue_QueuedRow = {
|
|
|
208
336
|
|
|
209
337
|
export type Worker_DurableObjects_DeliveryOutbox_Runner_Enqueue_SendResult = Worker_Pipeline_Send_Result | undefined;
|
|
210
338
|
|
|
339
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_Enqueue_State = 'delivered' | 'discarded' | 'queued';
|
|
340
|
+
|
|
211
341
|
/**
|
|
212
342
|
* Worker - Durable Objects - Delivery Outbox - Runner - Handle Error.
|
|
213
343
|
*
|
|
@@ -219,17 +349,74 @@ export type Worker_DurableObjects_DeliveryOutbox_Runner_HandleError_Notification
|
|
|
219
349
|
|
|
220
350
|
export type Worker_DurableObjects_DeliveryOutbox_Runner_HandleError_NotificationPayload = string;
|
|
221
351
|
|
|
352
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_HandleError_NotificationAttemptCount = number;
|
|
353
|
+
|
|
354
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_HandleError_NotificationDiagnosticConfig = string | null;
|
|
355
|
+
|
|
356
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_HandleError_NotificationCreatedAt = number;
|
|
357
|
+
|
|
222
358
|
export type Worker_DurableObjects_DeliveryOutbox_Runner_HandleError_Notification = {
|
|
223
359
|
position: Worker_DurableObjects_DeliveryOutbox_Runner_HandleError_NotificationPosition;
|
|
224
360
|
deliveryId: Worker_DurableObjects_DeliveryOutbox_Runner_HandleError_NotificationDeliveryId;
|
|
225
361
|
payload: Worker_DurableObjects_DeliveryOutbox_Runner_HandleError_NotificationPayload;
|
|
362
|
+
attemptCount: Worker_DurableObjects_DeliveryOutbox_Runner_HandleError_NotificationAttemptCount;
|
|
363
|
+
diagnosticConfig: Worker_DurableObjects_DeliveryOutbox_Runner_HandleError_NotificationDiagnosticConfig;
|
|
364
|
+
createdAt: Worker_DurableObjects_DeliveryOutbox_Runner_HandleError_NotificationCreatedAt;
|
|
226
365
|
};
|
|
227
366
|
|
|
228
367
|
export type Worker_DurableObjects_DeliveryOutbox_Runner_HandleError_Err = unknown;
|
|
229
368
|
|
|
230
|
-
export type Worker_DurableObjects_DeliveryOutbox_Runner_HandleError_Returns =
|
|
369
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_HandleError_Returns = Promise<Worker_Pipeline_DrainFifo_Action>;
|
|
370
|
+
|
|
371
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_HandleError_Classification = 'permanent' | 'transient';
|
|
372
|
+
|
|
373
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_HandleError_Reason = string;
|
|
374
|
+
|
|
375
|
+
/**
|
|
376
|
+
* Worker - Durable Objects - Delivery Outbox - Runner - Handle Failure.
|
|
377
|
+
*
|
|
378
|
+
* @since 2.4.0
|
|
379
|
+
*/
|
|
380
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_HandleFailure_NotificationPosition = number;
|
|
381
|
+
|
|
382
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_HandleFailure_NotificationDeliveryId = string;
|
|
383
|
+
|
|
384
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_HandleFailure_NotificationPayload = string;
|
|
385
|
+
|
|
386
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_HandleFailure_NotificationAttemptCount = number;
|
|
387
|
+
|
|
388
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_HandleFailure_NotificationDiagnosticConfig = string | null;
|
|
389
|
+
|
|
390
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_HandleFailure_NotificationCreatedAt = number;
|
|
391
|
+
|
|
392
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_HandleFailure_Notification = {
|
|
393
|
+
position: Worker_DurableObjects_DeliveryOutbox_Runner_HandleFailure_NotificationPosition;
|
|
394
|
+
deliveryId: Worker_DurableObjects_DeliveryOutbox_Runner_HandleFailure_NotificationDeliveryId;
|
|
395
|
+
payload: Worker_DurableObjects_DeliveryOutbox_Runner_HandleFailure_NotificationPayload;
|
|
396
|
+
attemptCount: Worker_DurableObjects_DeliveryOutbox_Runner_HandleFailure_NotificationAttemptCount;
|
|
397
|
+
diagnosticConfig: Worker_DurableObjects_DeliveryOutbox_Runner_HandleFailure_NotificationDiagnosticConfig;
|
|
398
|
+
createdAt: Worker_DurableObjects_DeliveryOutbox_Runner_HandleFailure_NotificationCreatedAt;
|
|
399
|
+
};
|
|
400
|
+
|
|
401
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_HandleFailure_SendResult = Worker_Pipeline_Send_Result;
|
|
402
|
+
|
|
403
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_HandleFailure_Returns = Promise<Worker_Pipeline_DrainFifo_Action>;
|
|
404
|
+
|
|
405
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_HandleFailure_SelectedResult = Worker_Pipeline_Send_ServerResult | undefined;
|
|
406
|
+
|
|
407
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_HandleFailure_Classification = 'permanent' | 'transient';
|
|
231
408
|
|
|
232
|
-
export type
|
|
409
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_HandleFailure_Status = number;
|
|
410
|
+
|
|
411
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_HandleFailure_Transient = boolean;
|
|
412
|
+
|
|
413
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_HandleFailure_Permanent = boolean;
|
|
414
|
+
|
|
415
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_HandleFailure_MissingResultReason = string;
|
|
416
|
+
|
|
417
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_HandleFailure_HttpStatus = number;
|
|
418
|
+
|
|
419
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_HandleFailure_Reason = string;
|
|
233
420
|
|
|
234
421
|
/**
|
|
235
422
|
* Worker - Durable Objects - Delivery Outbox - Runner - Peek.
|
|
@@ -242,10 +429,19 @@ export type Worker_DurableObjects_DeliveryOutbox_Runner_Peek_ReturnsDeliveryId =
|
|
|
242
429
|
|
|
243
430
|
export type Worker_DurableObjects_DeliveryOutbox_Runner_Peek_ReturnsPayload = string;
|
|
244
431
|
|
|
432
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_Peek_ReturnsAttemptCount = number;
|
|
433
|
+
|
|
434
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_Peek_ReturnsDiagnosticConfig = string | null;
|
|
435
|
+
|
|
436
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_Peek_ReturnsCreatedAt = number;
|
|
437
|
+
|
|
245
438
|
export type Worker_DurableObjects_DeliveryOutbox_Runner_Peek_Returns = {
|
|
246
439
|
position: Worker_DurableObjects_DeliveryOutbox_Runner_Peek_ReturnsPosition;
|
|
247
440
|
deliveryId: Worker_DurableObjects_DeliveryOutbox_Runner_Peek_ReturnsDeliveryId;
|
|
248
441
|
payload: Worker_DurableObjects_DeliveryOutbox_Runner_Peek_ReturnsPayload;
|
|
442
|
+
attemptCount: Worker_DurableObjects_DeliveryOutbox_Runner_Peek_ReturnsAttemptCount;
|
|
443
|
+
diagnosticConfig: Worker_DurableObjects_DeliveryOutbox_Runner_Peek_ReturnsDiagnosticConfig;
|
|
444
|
+
createdAt: Worker_DurableObjects_DeliveryOutbox_Runner_Peek_ReturnsCreatedAt;
|
|
249
445
|
} | undefined;
|
|
250
446
|
|
|
251
447
|
export type Worker_DurableObjects_DeliveryOutbox_Runner_Peek_RowsItemPosition = number;
|
|
@@ -254,10 +450,19 @@ export type Worker_DurableObjects_DeliveryOutbox_Runner_Peek_RowsItemDeliveryId
|
|
|
254
450
|
|
|
255
451
|
export type Worker_DurableObjects_DeliveryOutbox_Runner_Peek_RowsItemPayload = string;
|
|
256
452
|
|
|
453
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_Peek_RowsItemAttemptCount = number;
|
|
454
|
+
|
|
455
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_Peek_RowsItemDiagnosticConfig = string | null;
|
|
456
|
+
|
|
457
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_Peek_RowsItemCreatedAt = number;
|
|
458
|
+
|
|
257
459
|
export type Worker_DurableObjects_DeliveryOutbox_Runner_Peek_RowsItem = {
|
|
258
460
|
position: Worker_DurableObjects_DeliveryOutbox_Runner_Peek_RowsItemPosition;
|
|
259
461
|
deliveryId: Worker_DurableObjects_DeliveryOutbox_Runner_Peek_RowsItemDeliveryId;
|
|
260
462
|
payload: Worker_DurableObjects_DeliveryOutbox_Runner_Peek_RowsItemPayload;
|
|
463
|
+
attemptCount: Worker_DurableObjects_DeliveryOutbox_Runner_Peek_RowsItemAttemptCount;
|
|
464
|
+
diagnosticConfig: Worker_DurableObjects_DeliveryOutbox_Runner_Peek_RowsItemDiagnosticConfig;
|
|
465
|
+
createdAt: Worker_DurableObjects_DeliveryOutbox_Runner_Peek_RowsItemCreatedAt;
|
|
261
466
|
};
|
|
262
467
|
|
|
263
468
|
export type Worker_DurableObjects_DeliveryOutbox_Runner_Peek_Rows = Worker_DurableObjects_DeliveryOutbox_Runner_Peek_RowsItem[];
|
|
@@ -313,6 +518,50 @@ export type Worker_DurableObjects_DeliveryOutbox_Runner_ReadCompletedStages_Comp
|
|
|
313
518
|
|
|
314
519
|
export type Worker_DurableObjects_DeliveryOutbox_Runner_ReadCompletedStages_ServerStages = string[];
|
|
315
520
|
|
|
521
|
+
/**
|
|
522
|
+
* Worker - Durable Objects - Delivery Outbox - Runner - Record Failure.
|
|
523
|
+
*
|
|
524
|
+
* @since 2.4.0
|
|
525
|
+
*/
|
|
526
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_RecordFailure_NotificationPosition = number;
|
|
527
|
+
|
|
528
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_RecordFailure_NotificationDeliveryId = string;
|
|
529
|
+
|
|
530
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_RecordFailure_NotificationPayload = string;
|
|
531
|
+
|
|
532
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_RecordFailure_NotificationAttemptCount = number;
|
|
533
|
+
|
|
534
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_RecordFailure_NotificationDiagnosticConfig = string | null;
|
|
535
|
+
|
|
536
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_RecordFailure_NotificationCreatedAt = number;
|
|
537
|
+
|
|
538
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_RecordFailure_Notification = {
|
|
539
|
+
position: Worker_DurableObjects_DeliveryOutbox_Runner_RecordFailure_NotificationPosition;
|
|
540
|
+
deliveryId: Worker_DurableObjects_DeliveryOutbox_Runner_RecordFailure_NotificationDeliveryId;
|
|
541
|
+
payload: Worker_DurableObjects_DeliveryOutbox_Runner_RecordFailure_NotificationPayload;
|
|
542
|
+
attemptCount: Worker_DurableObjects_DeliveryOutbox_Runner_RecordFailure_NotificationAttemptCount;
|
|
543
|
+
diagnosticConfig: Worker_DurableObjects_DeliveryOutbox_Runner_RecordFailure_NotificationDiagnosticConfig;
|
|
544
|
+
createdAt: Worker_DurableObjects_DeliveryOutbox_Runner_RecordFailure_NotificationCreatedAt;
|
|
545
|
+
};
|
|
546
|
+
|
|
547
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_RecordFailure_Classification = 'permanent' | 'transient';
|
|
548
|
+
|
|
549
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_RecordFailure_Reason = string;
|
|
550
|
+
|
|
551
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_RecordFailure_HttpStatus = number | null;
|
|
552
|
+
|
|
553
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_RecordFailure_Returns = Promise<Worker_Pipeline_DrainFifo_Action>;
|
|
554
|
+
|
|
555
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_RecordFailure_CurrentTime = number;
|
|
556
|
+
|
|
557
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_RecordFailure_AttemptCount = number;
|
|
558
|
+
|
|
559
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_RecordFailure_AgeMilliseconds = number;
|
|
560
|
+
|
|
561
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_RecordFailure_Discarded = boolean;
|
|
562
|
+
|
|
563
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_RecordFailure_Debug = 'delivery_outbox_discarded' | 'delivery_outbox_retry';
|
|
564
|
+
|
|
316
565
|
/**
|
|
317
566
|
* Worker - Durable Objects - Delivery Outbox - Runner - Remove.
|
|
318
567
|
*
|
|
@@ -359,8 +608,130 @@ export type Worker_DurableObjects_DeliveryOutbox_Runner_ResolveServers_ResolvedS
|
|
|
359
608
|
|
|
360
609
|
export type Worker_DurableObjects_DeliveryOutbox_Runner_ResolveServers_Server = Lib_Schema_ServerConfig | undefined;
|
|
361
610
|
|
|
611
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_ResolveServers_ServerError = Error;
|
|
612
|
+
|
|
362
613
|
export type Worker_DurableObjects_DeliveryOutbox_Runner_ResolveServers_PrimaryServer = Lib_Schema_ServerConfig | undefined;
|
|
363
614
|
|
|
615
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_ResolveServers_PrimaryServerError = Error;
|
|
616
|
+
|
|
617
|
+
/**
|
|
618
|
+
* Worker - Durable Objects - Delivery Outbox - Runner - Schedule Retry.
|
|
619
|
+
*
|
|
620
|
+
* @since 2.4.0
|
|
621
|
+
*/
|
|
622
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_ScheduleRetry_AttemptCount = number;
|
|
623
|
+
|
|
624
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_ScheduleRetry_Returns = Promise<void>;
|
|
625
|
+
|
|
626
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_ScheduleRetry_ExistingAlarm = number | null;
|
|
627
|
+
|
|
628
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_ScheduleRetry_Exponent = number;
|
|
629
|
+
|
|
630
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_ScheduleRetry_Delay = number;
|
|
631
|
+
|
|
632
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_ScheduleRetry_ScheduledTime = number;
|
|
633
|
+
|
|
634
|
+
/**
|
|
635
|
+
* Worker - Durable Objects - Delivery Outbox - Runner - Send Discard Diagnostic.
|
|
636
|
+
*
|
|
637
|
+
* @since 2.4.0
|
|
638
|
+
*/
|
|
639
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_NotificationPosition = number;
|
|
640
|
+
|
|
641
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_NotificationDeliveryId = string;
|
|
642
|
+
|
|
643
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_NotificationPayload = string;
|
|
644
|
+
|
|
645
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_NotificationAttemptCount = number;
|
|
646
|
+
|
|
647
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_NotificationDiagnosticConfig = string | null;
|
|
648
|
+
|
|
649
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_NotificationCreatedAt = number;
|
|
650
|
+
|
|
651
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_Notification = {
|
|
652
|
+
position: Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_NotificationPosition;
|
|
653
|
+
deliveryId: Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_NotificationDeliveryId;
|
|
654
|
+
payload: Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_NotificationPayload;
|
|
655
|
+
attemptCount: Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_NotificationAttemptCount;
|
|
656
|
+
diagnosticConfig: Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_NotificationDiagnosticConfig;
|
|
657
|
+
createdAt: Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_NotificationCreatedAt;
|
|
658
|
+
};
|
|
659
|
+
|
|
660
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_Reason = string;
|
|
661
|
+
|
|
662
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_HttpStatus = number | null;
|
|
663
|
+
|
|
664
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_AttemptCount = number;
|
|
665
|
+
|
|
666
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_AgeMilliseconds = number;
|
|
667
|
+
|
|
668
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_Returns = Promise<void>;
|
|
669
|
+
|
|
670
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_DiagnosticConfigServerNames = string[];
|
|
671
|
+
|
|
672
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_DiagnosticConfigPrimaryServerName = string;
|
|
673
|
+
|
|
674
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_DiagnosticConfigMode = 'send-once' | 'send-all';
|
|
675
|
+
|
|
676
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_DiagnosticConfigContextName = string;
|
|
677
|
+
|
|
678
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_DiagnosticConfigInterpreterName = string;
|
|
679
|
+
|
|
680
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_DiagnosticConfigErrorTopic = string | undefined;
|
|
681
|
+
|
|
682
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_DiagnosticConfig = {
|
|
683
|
+
serverNames: Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_DiagnosticConfigServerNames;
|
|
684
|
+
primaryServerName: Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_DiagnosticConfigPrimaryServerName;
|
|
685
|
+
mode: Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_DiagnosticConfigMode;
|
|
686
|
+
contextName: Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_DiagnosticConfigContextName;
|
|
687
|
+
interpreterName: Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_DiagnosticConfigInterpreterName;
|
|
688
|
+
errorTopic?: Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_DiagnosticConfigErrorTopic;
|
|
689
|
+
};
|
|
690
|
+
|
|
691
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_ResolvedServers = Array<Lib_Schema_ServerConfig & {}>;
|
|
692
|
+
|
|
693
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_Server = Lib_Schema_ServerConfig | undefined;
|
|
694
|
+
|
|
695
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_PrimaryServer = Lib_Schema_ServerConfig | undefined;
|
|
696
|
+
|
|
697
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_AttachmentDataTimestamp = string;
|
|
698
|
+
|
|
699
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_AttachmentDataContextName = string;
|
|
700
|
+
|
|
701
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_AttachmentDataContextInterpreter = string;
|
|
702
|
+
|
|
703
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_AttachmentDataContextStage = 'delivery';
|
|
704
|
+
|
|
705
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_AttachmentDataContext = {
|
|
706
|
+
name: Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_AttachmentDataContextName;
|
|
707
|
+
interpreter: Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_AttachmentDataContextInterpreter;
|
|
708
|
+
stage: Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_AttachmentDataContextStage;
|
|
709
|
+
};
|
|
710
|
+
|
|
711
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_AttachmentDataDeliveryId = string;
|
|
712
|
+
|
|
713
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_AttachmentDataReason = string;
|
|
714
|
+
|
|
715
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_AttachmentDataHttpStatus = number | null;
|
|
716
|
+
|
|
717
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_AttachmentDataAttemptCount = number;
|
|
718
|
+
|
|
719
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_AttachmentDataAgeMs = number;
|
|
720
|
+
|
|
721
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_AttachmentData = {
|
|
722
|
+
timestamp: Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_AttachmentDataTimestamp;
|
|
723
|
+
context: Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_AttachmentDataContext;
|
|
724
|
+
delivery_id: Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_AttachmentDataDeliveryId;
|
|
725
|
+
reason: Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_AttachmentDataReason;
|
|
726
|
+
http_status: Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_AttachmentDataHttpStatus;
|
|
727
|
+
attempt_count: Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_AttachmentDataAttemptCount;
|
|
728
|
+
age_ms: Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_AttachmentDataAgeMs;
|
|
729
|
+
};
|
|
730
|
+
|
|
731
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_AttachmentJson = string;
|
|
732
|
+
|
|
733
|
+
export type Worker_DurableObjects_DeliveryOutbox_Runner_SendDiscardDiagnostic_Attachment = ArrayBuffer;
|
|
734
|
+
|
|
364
735
|
/**
|
|
365
736
|
* Worker - Durable Objects - Delivery Outbox - Runner - Succeeded.
|
|
366
737
|
*
|
|
@@ -16,6 +16,10 @@ import type { Worker_Pipeline_Interpret_Result } from './pipeline/interpret.d.ts
|
|
|
16
16
|
import type { Worker_Pipeline_Parse_Result } from './pipeline/parse.d.ts';
|
|
17
17
|
import type { Worker_Pipeline_Receive_Result } from './pipeline/receive.d.ts';
|
|
18
18
|
import type { Worker_Pipeline_Route_Result } from './pipeline/route.d.ts';
|
|
19
|
+
import type {
|
|
20
|
+
Worker_Pipeline_Session_IssueSession_ReturnsResult,
|
|
21
|
+
Worker_Pipeline_Session_VerifySession_ReturnsResult,
|
|
22
|
+
} from './pipeline/session.d.ts';
|
|
19
23
|
import type { Worker_Pipeline_Split_MessagePart } from './pipeline/split.d.ts';
|
|
20
24
|
|
|
21
25
|
/**
|
|
@@ -120,7 +124,13 @@ export type Worker_Handlers_HandleRequest_ResolvedServers = Array<Lib_Schema_Ser
|
|
|
120
124
|
|
|
121
125
|
export type Worker_Handlers_HandleRequest_PrimaryServer = Lib_Schema_ServerConfig & {};
|
|
122
126
|
|
|
123
|
-
export type
|
|
127
|
+
export type Worker_Handlers_HandleRequest_Pathname = string;
|
|
128
|
+
|
|
129
|
+
export type Worker_Handlers_HandleRequest_ClientIp = string;
|
|
130
|
+
|
|
131
|
+
export type Worker_Handlers_HandleRequest_Issued = Worker_Pipeline_Session_IssueSession_ReturnsResult & {};
|
|
132
|
+
|
|
133
|
+
export type Worker_Handlers_HandleRequest_AuthResult = Worker_Pipeline_Authenticate_Result | Worker_Pipeline_Session_VerifySession_ReturnsResult;
|
|
124
134
|
|
|
125
135
|
export type Worker_Handlers_HandleRequest_AuthErrorAttachmentHeaderEntries = string[][];
|
|
126
136
|
|
|
@@ -4,7 +4,7 @@ import type {
|
|
|
4
4
|
Worker_Pipeline_Interpret_Result,
|
|
5
5
|
} from '../pipeline/interpret.d.ts';
|
|
6
6
|
|
|
7
|
-
export type Worker_Interpreters_AppPayload_SupportedApp = 'transmission-vpn' | 'pfsense-actions' | 'discord-stonker-bot' | 'outpost';
|
|
7
|
+
export type Worker_Interpreters_AppPayload_SupportedApp = 'transmission-vpn' | 'pfsense-actions' | 'discord-stonker-bot' | 'outpost' | 'mailmask';
|
|
8
8
|
|
|
9
9
|
export type Worker_Interpreters_AppPayload_SupportedApps = ReadonlyArray<Worker_Interpreters_AppPayload_SupportedApp>;
|
|
10
10
|
|
|
@@ -17,9 +17,16 @@ export type Worker_Interpreters_AppPayload_InterpretAppPayload_AppKey = string;
|
|
|
17
17
|
|
|
18
18
|
export type Worker_Interpreters_AppPayload_InterpretAppPayload_AppName = string;
|
|
19
19
|
|
|
20
|
+
export type Worker_Interpreters_AppPayload_InterpretAppPayload_AppFormatBody_Payload = unknown;
|
|
21
|
+
|
|
22
|
+
export type Worker_Interpreters_AppPayload_InterpretAppPayload_AppFormatBody_Returns = string;
|
|
23
|
+
|
|
24
|
+
export type Worker_Interpreters_AppPayload_InterpretAppPayload_AppFormatBody = ((payload: Worker_Interpreters_AppPayload_InterpretAppPayload_AppFormatBody_Payload) => Worker_Interpreters_AppPayload_InterpretAppPayload_AppFormatBody_Returns) | undefined;
|
|
25
|
+
|
|
20
26
|
export type Worker_Interpreters_AppPayload_InterpretAppPayload_App = {
|
|
21
27
|
key: Worker_Interpreters_AppPayload_InterpretAppPayload_AppKey;
|
|
22
28
|
name: Worker_Interpreters_AppPayload_InterpretAppPayload_AppName;
|
|
29
|
+
formatBody?: Worker_Interpreters_AppPayload_InterpretAppPayload_AppFormatBody;
|
|
23
30
|
};
|
|
24
31
|
|
|
25
32
|
export type Worker_Interpreters_AppPayload_InterpretAppPayload_Input = Worker_Pipeline_Interpret_Input;
|
|
@@ -65,3 +72,5 @@ export type Worker_Interpreters_AppPayload_InterpretAppPayload_Payload = {
|
|
|
65
72
|
export type Worker_Interpreters_AppPayload_InterpretAppPayload_IsSupportedApp = boolean;
|
|
66
73
|
|
|
67
74
|
export type Worker_Interpreters_AppPayload_InterpretAppPayload_SupportedAppList = string;
|
|
75
|
+
|
|
76
|
+
export type Worker_Interpreters_AppPayload_InterpretAppPayload_Body = string;
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
Worker_Pipeline_Interpret_Input,
|
|
3
|
+
Worker_Pipeline_Interpret_Priority,
|
|
4
|
+
Worker_Pipeline_Interpret_Result,
|
|
5
|
+
} from '../pipeline/interpret.d.ts';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Worker - Interpreters - Mailmask.
|
|
9
|
+
*
|
|
10
|
+
* @since 2.4.0
|
|
11
|
+
*/
|
|
12
|
+
export type Worker_Interpreters_Mailmask_Input = Worker_Pipeline_Interpret_Input;
|
|
13
|
+
|
|
14
|
+
export type Worker_Interpreters_Mailmask_Returns = Worker_Pipeline_Interpret_Result;
|
|
15
|
+
|
|
16
|
+
export type Worker_Interpreters_Mailmask_MailmaskInterpreter = (input: Worker_Interpreters_Mailmask_Input) => Worker_Interpreters_Mailmask_Returns;
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Worker - Interpreters - Mailmask - Format Mailmask Body.
|
|
20
|
+
*
|
|
21
|
+
* @since 2.4.0
|
|
22
|
+
*/
|
|
23
|
+
export type Worker_Interpreters_Mailmask_FormatMailmaskBody_Payload = unknown;
|
|
24
|
+
|
|
25
|
+
export type Worker_Interpreters_Mailmask_FormatMailmaskBody_Returns = string;
|
|
26
|
+
|
|
27
|
+
export type Worker_Interpreters_Mailmask_FormatMailmaskBody_ParsedVersion = 1;
|
|
28
|
+
|
|
29
|
+
export type Worker_Interpreters_Mailmask_FormatMailmaskBody_ParsedApp = 'mailmask';
|
|
30
|
+
|
|
31
|
+
export type Worker_Interpreters_Mailmask_FormatMailmaskBody_ParsedEvent = 'message-refused' | 'test';
|
|
32
|
+
|
|
33
|
+
export type Worker_Interpreters_Mailmask_FormatMailmaskBody_ParsedTitle = string;
|
|
34
|
+
|
|
35
|
+
export type Worker_Interpreters_Mailmask_FormatMailmaskBody_ParsedMessage = string;
|
|
36
|
+
|
|
37
|
+
export type Worker_Interpreters_Mailmask_FormatMailmaskBody_ParsedPriority = Worker_Pipeline_Interpret_Priority;
|
|
38
|
+
|
|
39
|
+
export type Worker_Interpreters_Mailmask_FormatMailmaskBody_ParsedTags = string[];
|
|
40
|
+
|
|
41
|
+
export type Worker_Interpreters_Mailmask_FormatMailmaskBody_ParsedOccurredAt = string;
|
|
42
|
+
|
|
43
|
+
export type Worker_Interpreters_Mailmask_FormatMailmaskBody_ParsedDetailsAlias = string;
|
|
44
|
+
|
|
45
|
+
export type Worker_Interpreters_Mailmask_FormatMailmaskBody_ParsedDetailsEnvelopeSender = string;
|
|
46
|
+
|
|
47
|
+
export type Worker_Interpreters_Mailmask_FormatMailmaskBody_ParsedDetailsRecipient = string;
|
|
48
|
+
|
|
49
|
+
export type Worker_Interpreters_Mailmask_FormatMailmaskBody_ParsedDetailsReason = string;
|
|
50
|
+
|
|
51
|
+
export type Worker_Interpreters_Mailmask_FormatMailmaskBody_ParsedDetails = {
|
|
52
|
+
alias: Worker_Interpreters_Mailmask_FormatMailmaskBody_ParsedDetailsAlias;
|
|
53
|
+
envelopeSender: Worker_Interpreters_Mailmask_FormatMailmaskBody_ParsedDetailsEnvelopeSender;
|
|
54
|
+
recipient: Worker_Interpreters_Mailmask_FormatMailmaskBody_ParsedDetailsRecipient;
|
|
55
|
+
reason: Worker_Interpreters_Mailmask_FormatMailmaskBody_ParsedDetailsReason;
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
export type Worker_Interpreters_Mailmask_FormatMailmaskBody_Parsed = {
|
|
59
|
+
version: Worker_Interpreters_Mailmask_FormatMailmaskBody_ParsedVersion;
|
|
60
|
+
app: Worker_Interpreters_Mailmask_FormatMailmaskBody_ParsedApp;
|
|
61
|
+
event: Worker_Interpreters_Mailmask_FormatMailmaskBody_ParsedEvent;
|
|
62
|
+
title: Worker_Interpreters_Mailmask_FormatMailmaskBody_ParsedTitle;
|
|
63
|
+
message: Worker_Interpreters_Mailmask_FormatMailmaskBody_ParsedMessage;
|
|
64
|
+
priority: Worker_Interpreters_Mailmask_FormatMailmaskBody_ParsedPriority;
|
|
65
|
+
tags: Worker_Interpreters_Mailmask_FormatMailmaskBody_ParsedTags;
|
|
66
|
+
occurredAt: Worker_Interpreters_Mailmask_FormatMailmaskBody_ParsedOccurredAt;
|
|
67
|
+
details: Worker_Interpreters_Mailmask_FormatMailmaskBody_ParsedDetails;
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
export type Worker_Interpreters_Mailmask_FormatMailmaskBody_BodyLines = string[];
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Worker - Interpreters - Mailmask - Interpreter.
|
|
74
|
+
*
|
|
75
|
+
* @since 2.4.0
|
|
76
|
+
*/
|
|
77
|
+
export type Worker_Interpreters_Mailmask_MailmaskInterpreter_AppKey = string;
|
|
78
|
+
|
|
79
|
+
export type Worker_Interpreters_Mailmask_MailmaskInterpreter_AppName = string;
|
|
80
|
+
|
|
81
|
+
export type Worker_Interpreters_Mailmask_MailmaskInterpreter_AppFormatBody_Payload = unknown;
|
|
82
|
+
|
|
83
|
+
export type Worker_Interpreters_Mailmask_MailmaskInterpreter_AppFormatBody_Returns = string;
|
|
84
|
+
|
|
85
|
+
export type Worker_Interpreters_Mailmask_MailmaskInterpreter_AppFormatBody = (payload: Worker_Interpreters_Mailmask_MailmaskInterpreter_AppFormatBody_Payload) => Worker_Interpreters_Mailmask_MailmaskInterpreter_AppFormatBody_Returns;
|
|
86
|
+
|
|
87
|
+
export type Worker_Interpreters_Mailmask_MailmaskInterpreter_App = {
|
|
88
|
+
key: Worker_Interpreters_Mailmask_MailmaskInterpreter_AppKey;
|
|
89
|
+
name: Worker_Interpreters_Mailmask_MailmaskInterpreter_AppName;
|
|
90
|
+
formatBody: Worker_Interpreters_Mailmask_MailmaskInterpreter_AppFormatBody;
|
|
91
|
+
};
|