ntfy-reverse-proxy 2.1.8 → 2.2.1
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 +6 -6
- package/build/src/cli/commands/config-io.d.ts.map +1 -1
- package/build/src/cli/commands/config-io.js.map +1 -1
- package/build/src/cli/commands/context.d.ts.map +1 -1
- package/build/src/cli/commands/context.js.map +1 -1
- package/build/src/cli/commands/deploy.d.ts.map +1 -1
- package/build/src/cli/commands/deploy.js.map +1 -1
- package/build/src/cli/commands/generate.d.ts.map +1 -1
- package/build/src/cli/commands/generate.js +11 -0
- package/build/src/cli/commands/generate.js.map +1 -1
- package/build/src/cli/commands/server.d.ts.map +1 -1
- package/build/src/cli/commands/server.js.map +1 -1
- package/build/src/cli/commands/settings.d.ts.map +1 -1
- package/build/src/cli/commands/settings.js.map +1 -1
- package/build/src/cli/commands/validate.d.ts.map +1 -1
- package/build/src/cli/commands/validate.js.map +1 -1
- package/build/src/cli/index.d.ts.map +1 -1
- package/build/src/cli/index.js.map +1 -1
- package/build/src/cli/menu/interactive.d.ts.map +1 -1
- package/build/src/cli/menu/interactive.js.map +1 -1
- package/build/src/types/cli/commands/deploy.d.ts +12 -12
- package/build/src/types/lib/schema.d.ts +6 -6
- package/build/src/types/shared.d.ts +2 -2
- package/build/src/types/tests/cli/commands/generate.test.d.ts +7 -0
- package/build/src/types/tests/worker/index.test.d.ts +6 -0
- package/build/src/types/tests/worker/pipeline/deliver.test.d.ts +21 -0
- package/build/src/types/tests/worker/pipeline/drain-fifo.test.d.ts +58 -0
- package/build/src/types/tests/worker/pipeline/interpret.test.d.ts +7 -90
- package/build/src/types/tests/worker/pipeline/parse.test.d.ts +62 -24
- package/build/src/types/tests/worker/pipeline/respond.test.d.ts +9 -0
- package/build/src/types/tests/worker/pipeline/send.test.d.ts +22 -1
- package/build/src/types/worker/durable-objects/delivery-outbox.d.ts +394 -0
- package/build/src/types/worker/handlers.d.ts +10 -3
- package/build/src/types/worker/index.d.ts +9 -4
- package/build/src/types/worker/interpreters/ntfy-json.d.ts +2 -2
- package/build/src/types/worker/interpreters/pfsense.d.ts +5 -5
- package/build/src/types/worker/interpreters/plain-text.d.ts +2 -2
- package/build/src/types/worker/interpreters/seerr.d.ts +5 -5
- package/build/src/types/worker/interpreters/statuspage.d.ts +2 -2
- package/build/src/types/worker/interpreters/synology.d.ts +4 -4
- package/build/src/types/worker/interpreters/unifi.d.ts +5 -5
- package/build/src/types/worker/pipeline/authenticate.d.ts +4 -4
- package/build/src/types/worker/pipeline/deliver.d.ts +80 -0
- package/build/src/types/worker/pipeline/drain-fifo.d.ts +45 -0
- package/build/src/types/worker/pipeline/interpret.d.ts +18 -16
- package/build/src/types/worker/pipeline/respond.d.ts +43 -10
- package/build/src/types/worker/pipeline/route.d.ts +2 -0
- package/build/src/types/worker/pipeline/send.d.ts +47 -0
- package/build/src/worker/durable-objects/delivery-outbox.d.ts +9 -0
- package/build/src/worker/durable-objects/delivery-outbox.d.ts.map +1 -0
- package/build/src/worker/durable-objects/delivery-outbox.js +202 -0
- package/build/src/worker/durable-objects/delivery-outbox.js.map +1 -0
- package/build/src/worker/handlers.d.ts +3 -3
- package/build/src/worker/handlers.d.ts.map +1 -1
- package/build/src/worker/handlers.js +13 -11
- package/build/src/worker/handlers.js.map +1 -1
- package/build/src/worker/index.d.ts +2 -0
- package/build/src/worker/index.d.ts.map +1 -1
- package/build/src/worker/index.js +6 -2
- package/build/src/worker/index.js.map +1 -1
- package/build/src/worker/interpreters/ntfy-json.d.ts.map +1 -1
- package/build/src/worker/interpreters/ntfy-json.js.map +1 -1
- package/build/src/worker/interpreters/pfsense.js.map +1 -1
- package/build/src/worker/interpreters/plain-text.d.ts.map +1 -1
- package/build/src/worker/interpreters/plain-text.js.map +1 -1
- package/build/src/worker/interpreters/seerr.js.map +1 -1
- package/build/src/worker/interpreters/synology.js.map +1 -1
- package/build/src/worker/interpreters/unifi.js.map +1 -1
- package/build/src/worker/pipeline/authenticate.d.ts.map +1 -1
- package/build/src/worker/pipeline/authenticate.js.map +1 -1
- package/build/src/worker/pipeline/deliver.d.ts +4 -0
- package/build/src/worker/pipeline/deliver.d.ts.map +1 -0
- package/build/src/worker/pipeline/deliver.js +18 -0
- package/build/src/worker/pipeline/deliver.js.map +1 -0
- package/build/src/worker/pipeline/drain-fifo.d.ts +4 -0
- package/build/src/worker/pipeline/drain-fifo.d.ts.map +1 -0
- package/build/src/worker/pipeline/drain-fifo.js +25 -0
- package/build/src/worker/pipeline/drain-fifo.js.map +1 -0
- package/build/src/worker/pipeline/email.d.ts.map +1 -1
- package/build/src/worker/pipeline/email.js.map +1 -1
- package/build/src/worker/pipeline/format.d.ts.map +1 -1
- package/build/src/worker/pipeline/format.js.map +1 -1
- package/build/src/worker/pipeline/interpret.d.ts.map +1 -1
- package/build/src/worker/pipeline/interpret.js.map +1 -1
- package/build/src/worker/pipeline/parse.d.ts.map +1 -1
- package/build/src/worker/pipeline/parse.js.map +1 -1
- package/build/src/worker/pipeline/receive.d.ts.map +1 -1
- package/build/src/worker/pipeline/receive.js.map +1 -1
- package/build/src/worker/pipeline/respond.d.ts +2 -2
- package/build/src/worker/pipeline/respond.d.ts.map +1 -1
- package/build/src/worker/pipeline/respond.js +22 -1
- package/build/src/worker/pipeline/respond.js.map +1 -1
- package/build/src/worker/pipeline/route.d.ts.map +1 -1
- package/build/src/worker/pipeline/route.js.map +1 -1
- package/build/src/worker/pipeline/send.d.ts.map +1 -1
- package/build/src/worker/pipeline/send.js +37 -3
- package/build/src/worker/pipeline/send.js.map +1 -1
- package/build/src/worker/pipeline/split.d.ts.map +1 -1
- package/build/src/worker/pipeline/split.js.map +1 -1
- package/package.json +9 -9
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
Worker_Pipeline_Deliver_EnqueueOptions,
|
|
3
|
+
Worker_Pipeline_Deliver_Namespace,
|
|
4
|
+
Worker_Pipeline_Deliver_Result,
|
|
5
|
+
} from '../../../worker/pipeline/deliver.d.ts';
|
|
6
|
+
import type { Worker_Pipeline_Send_Options } from '../../../worker/pipeline/send.d.ts';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Tests - Worker - Pipeline - Deliver - Deliver - Uses The Explicit Context ID As The Isolated Lane Name.
|
|
10
|
+
*
|
|
11
|
+
* @since 2.2.1
|
|
12
|
+
*/
|
|
13
|
+
export type Tests_Worker_Pipeline_Deliver_Deliver_UsesTheExplicitContextIDAsTheIsolatedLaneName_RequestedName = string | undefined;
|
|
14
|
+
|
|
15
|
+
export type Tests_Worker_Pipeline_Deliver_Deliver_UsesTheExplicitContextIDAsTheIsolatedLaneName_EnqueueInput = Worker_Pipeline_Deliver_EnqueueOptions | undefined;
|
|
16
|
+
|
|
17
|
+
export type Tests_Worker_Pipeline_Deliver_Deliver_UsesTheExplicitContextIDAsTheIsolatedLaneName_Outbox = Worker_Pipeline_Deliver_Namespace & {};
|
|
18
|
+
|
|
19
|
+
export type Tests_Worker_Pipeline_Deliver_Deliver_UsesTheExplicitContextIDAsTheIsolatedLaneName_Options = Worker_Pipeline_Send_Options & {};
|
|
20
|
+
|
|
21
|
+
export type Tests_Worker_Pipeline_Deliver_Deliver_UsesTheExplicitContextIDAsTheIsolatedLaneName_Result = Worker_Pipeline_Deliver_Result & {};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
Worker_Pipeline_DrainFifo_Item,
|
|
3
|
+
Worker_Pipeline_DrainFifo_Options,
|
|
4
|
+
} from '../../../worker/pipeline/drain-fifo.d.ts';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Tests - Worker - Pipeline - Drain Fifo.
|
|
8
|
+
*
|
|
9
|
+
* @since 2.2.1
|
|
10
|
+
*/
|
|
11
|
+
export type Tests_Worker_Pipeline_DrainFifo_DrainFifo_KeepsAFailedHeadAndRetriesItBeforeLaterItems_ItemBody = string;
|
|
12
|
+
|
|
13
|
+
export type Tests_Worker_Pipeline_DrainFifo_DrainFifo_KeepsAFailedHeadAndRetriesItBeforeLaterItems_Item = Worker_Pipeline_DrainFifo_Item & {
|
|
14
|
+
body: Tests_Worker_Pipeline_DrainFifo_DrainFifo_KeepsAFailedHeadAndRetriesItBeforeLaterItems_ItemBody;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export type Tests_Worker_Pipeline_DrainFifo_DrainFifo_KeepsAFailedHeadAndRetriesItBeforeLaterItems_Queue = Tests_Worker_Pipeline_DrainFifo_DrainFifo_KeepsAFailedHeadAndRetriesItBeforeLaterItems_Item[];
|
|
18
|
+
|
|
19
|
+
export type Tests_Worker_Pipeline_DrainFifo_DrainFifo_KeepsAFailedHeadAndRetriesItBeforeLaterItems_Attempts = string[];
|
|
20
|
+
|
|
21
|
+
export type Tests_Worker_Pipeline_DrainFifo_DrainFifo_KeepsAFailedHeadAndRetriesItBeforeLaterItems_ShouldFail = boolean;
|
|
22
|
+
|
|
23
|
+
export type Tests_Worker_Pipeline_DrainFifo_DrainFifo_KeepsAFailedHeadAndRetriesItBeforeLaterItems_Options = Worker_Pipeline_DrainFifo_Options<Tests_Worker_Pipeline_DrainFifo_DrainFifo_KeepsAFailedHeadAndRetriesItBeforeLaterItems_Item, Tests_Worker_Pipeline_DrainFifo_DrainFifo_KeepsAFailedHeadAndRetriesItBeforeLaterItems_Result> & {};
|
|
24
|
+
|
|
25
|
+
export type Tests_Worker_Pipeline_DrainFifo_DrainFifo_KeepsAFailedHeadAndRetriesItBeforeLaterItems_ResultSuccess = boolean;
|
|
26
|
+
|
|
27
|
+
export type Tests_Worker_Pipeline_DrainFifo_DrainFifo_KeepsAFailedHeadAndRetriesItBeforeLaterItems_Result = {
|
|
28
|
+
success: Tests_Worker_Pipeline_DrainFifo_DrainFifo_KeepsAFailedHeadAndRetriesItBeforeLaterItems_ResultSuccess;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
export type Tests_Worker_Pipeline_DrainFifo_DrainFifo_KeepsAFailedHeadAndRetriesItBeforeLaterItems_FailedResults = Map<string, Tests_Worker_Pipeline_DrainFifo_DrainFifo_KeepsAFailedHeadAndRetriesItBeforeLaterItems_Result>;
|
|
32
|
+
|
|
33
|
+
export type Tests_Worker_Pipeline_DrainFifo_DrainFifo_KeepsAFailedHeadAndRetriesItBeforeLaterItems_RetriedResults = Map<string, Tests_Worker_Pipeline_DrainFifo_DrainFifo_KeepsAFailedHeadAndRetriesItBeforeLaterItems_Result>;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Tests - Worker - Pipeline - Drain Fifo.
|
|
37
|
+
*
|
|
38
|
+
* @since 2.2.1
|
|
39
|
+
*/
|
|
40
|
+
export type Tests_Worker_Pipeline_DrainFifo_DrainFifo_LetsAnIndependentLaneDrainWhileAnotherLaneIsBlocked_ItemBody = string;
|
|
41
|
+
|
|
42
|
+
export type Tests_Worker_Pipeline_DrainFifo_DrainFifo_LetsAnIndependentLaneDrainWhileAnotherLaneIsBlocked_Item = Worker_Pipeline_DrainFifo_Item & {
|
|
43
|
+
body: Tests_Worker_Pipeline_DrainFifo_DrainFifo_LetsAnIndependentLaneDrainWhileAnotherLaneIsBlocked_ItemBody;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
export type Tests_Worker_Pipeline_DrainFifo_DrainFifo_LetsAnIndependentLaneDrainWhileAnotherLaneIsBlocked_BlockedQueue = Tests_Worker_Pipeline_DrainFifo_DrainFifo_LetsAnIndependentLaneDrainWhileAnotherLaneIsBlocked_Item[];
|
|
47
|
+
|
|
48
|
+
export type Tests_Worker_Pipeline_DrainFifo_DrainFifo_LetsAnIndependentLaneDrainWhileAnotherLaneIsBlocked_ResultSuccess = boolean;
|
|
49
|
+
|
|
50
|
+
export type Tests_Worker_Pipeline_DrainFifo_DrainFifo_LetsAnIndependentLaneDrainWhileAnotherLaneIsBlocked_Result = {
|
|
51
|
+
success: Tests_Worker_Pipeline_DrainFifo_DrainFifo_LetsAnIndependentLaneDrainWhileAnotherLaneIsBlocked_ResultSuccess;
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
export type Tests_Worker_Pipeline_DrainFifo_DrainFifo_LetsAnIndependentLaneDrainWhileAnotherLaneIsBlocked_FlowingQueue = Tests_Worker_Pipeline_DrainFifo_DrainFifo_LetsAnIndependentLaneDrainWhileAnotherLaneIsBlocked_Item[];
|
|
55
|
+
|
|
56
|
+
export type Tests_Worker_Pipeline_DrainFifo_DrainFifo_LetsAnIndependentLaneDrainWhileAnotherLaneIsBlocked_BlockedOptions = Worker_Pipeline_DrainFifo_Options<Tests_Worker_Pipeline_DrainFifo_DrainFifo_LetsAnIndependentLaneDrainWhileAnotherLaneIsBlocked_Item, Tests_Worker_Pipeline_DrainFifo_DrainFifo_LetsAnIndependentLaneDrainWhileAnotherLaneIsBlocked_Result> & {};
|
|
57
|
+
|
|
58
|
+
export type Tests_Worker_Pipeline_DrainFifo_DrainFifo_LetsAnIndependentLaneDrainWhileAnotherLaneIsBlocked_FlowingOptions = Worker_Pipeline_DrainFifo_Options<Tests_Worker_Pipeline_DrainFifo_DrainFifo_LetsAnIndependentLaneDrainWhileAnotherLaneIsBlocked_Item, Tests_Worker_Pipeline_DrainFifo_DrainFifo_LetsAnIndependentLaneDrainWhileAnotherLaneIsBlocked_Result> & {};
|
|
@@ -1,45 +1,13 @@
|
|
|
1
|
+
import type { Worker_Pipeline_Interpret_Result } from '../../../worker/pipeline/interpret.d.ts';
|
|
2
|
+
|
|
1
3
|
/**
|
|
2
4
|
* Tests - Worker - Pipeline - Interpret.
|
|
3
5
|
*
|
|
4
6
|
* @since 2.0.0
|
|
5
7
|
*/
|
|
6
|
-
export type
|
|
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
|
-
};
|
|
8
|
+
export type Tests_Worker_Pipeline_Interpret_Interpret_DispatchesToNtfyJsonInterpreter_Result = Worker_Pipeline_Interpret_Result | null;
|
|
19
9
|
|
|
20
|
-
export type
|
|
21
|
-
notification: Tests_Worker_Pipeline_Interpret_Interpret_DispatchesToNtfyJsonInterpreter_ResultNotification;
|
|
22
|
-
attachment?: ArrayBuffer | undefined;
|
|
23
|
-
} | null;
|
|
24
|
-
|
|
25
|
-
export type Tests_Worker_Pipeline_Interpret_Interpret_DispatchesToPlainTextInterpreter_ResultNotificationBody = string;
|
|
26
|
-
|
|
27
|
-
export type Tests_Worker_Pipeline_Interpret_Interpret_DispatchesToPlainTextInterpreter_ResultNotification = {
|
|
28
|
-
title?: string | undefined;
|
|
29
|
-
body: Tests_Worker_Pipeline_Interpret_Interpret_DispatchesToPlainTextInterpreter_ResultNotificationBody;
|
|
30
|
-
priority?: 1 | 2 | 3 | 4 | 5 | undefined;
|
|
31
|
-
tags?: string[] | undefined;
|
|
32
|
-
icon?: string | undefined;
|
|
33
|
-
actions?: string | undefined;
|
|
34
|
-
attach?: string | undefined;
|
|
35
|
-
filename?: string | undefined;
|
|
36
|
-
markdown?: boolean | undefined;
|
|
37
|
-
};
|
|
38
|
-
|
|
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;
|
|
10
|
+
export type Tests_Worker_Pipeline_Interpret_Interpret_DispatchesToPlainTextInterpreter_Result = Worker_Pipeline_Interpret_Result | null;
|
|
43
11
|
|
|
44
12
|
export type Tests_Worker_Pipeline_Interpret_Interpret_DispatchesToStatuspageInterpreter_InputPageName = string;
|
|
45
13
|
|
|
@@ -67,43 +35,9 @@ export type Tests_Worker_Pipeline_Interpret_Interpret_DispatchesToStatuspageInte
|
|
|
67
35
|
incident: Tests_Worker_Pipeline_Interpret_Interpret_DispatchesToStatuspageInterpreter_InputIncident;
|
|
68
36
|
};
|
|
69
37
|
|
|
70
|
-
export type
|
|
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;
|
|
82
|
-
};
|
|
38
|
+
export type Tests_Worker_Pipeline_Interpret_Interpret_DispatchesToStatuspageInterpreter_Result = Worker_Pipeline_Interpret_Result | null;
|
|
83
39
|
|
|
84
|
-
export type
|
|
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;
|
|
101
|
-
};
|
|
102
|
-
|
|
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;
|
|
40
|
+
export type Tests_Worker_Pipeline_Interpret_Interpret_DispatchesToSynologyInterpreter_Result = Worker_Pipeline_Interpret_Result | null;
|
|
107
41
|
|
|
108
42
|
export type Tests_Worker_Pipeline_Interpret_Interpret_InterpreterMapKeysMatchTheSchemaInterpreterEnums_MapKeys = string[];
|
|
109
43
|
|
|
@@ -111,24 +45,7 @@ export type Tests_Worker_Pipeline_Interpret_Interpret_InterpreterMapKeysMatchThe
|
|
|
111
45
|
|
|
112
46
|
export type Tests_Worker_Pipeline_Interpret_Interpret_InterpreterMapKeysMatchTheSchemaInterpreterEnums_EmailEnum = string[];
|
|
113
47
|
|
|
114
|
-
export type
|
|
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;
|
|
126
|
-
};
|
|
127
|
-
|
|
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;
|
|
48
|
+
export type Tests_Worker_Pipeline_Interpret_Interpret_ThrowsOnUnknownInterpreter_PromiseResult = Worker_Pipeline_Interpret_Result | null;
|
|
132
49
|
|
|
133
50
|
export type Tests_Worker_Pipeline_Interpret_Interpret_ThrowsOnUnknownInterpreter_Promise = Promise<Tests_Worker_Pipeline_Interpret_Interpret_ThrowsOnUnknownInterpreter_PromiseResult>;
|
|
134
51
|
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type { Worker_Pipeline_Parse_Result } from '../../../worker/pipeline/parse.d.ts';
|
|
2
|
+
|
|
1
3
|
/**
|
|
2
4
|
* Tests - Worker - Pipeline - Parse.
|
|
3
5
|
*
|
|
@@ -7,76 +9,112 @@ export type Tests_Worker_Pipeline_Parse_Parse_DetectsBinaryBodyViaNullBytes_Body
|
|
|
7
9
|
|
|
8
10
|
export type Tests_Worker_Pipeline_Parse_Parse_DetectsBinaryBodyViaNullBytes_Headers = Headers;
|
|
9
11
|
|
|
10
|
-
export type Tests_Worker_Pipeline_Parse_Parse_DetectsBinaryBodyViaNullBytes_ResultType =
|
|
12
|
+
export type Tests_Worker_Pipeline_Parse_Parse_DetectsBinaryBodyViaNullBytes_ResultType = Worker_Pipeline_Parse_Result['type'];
|
|
13
|
+
|
|
14
|
+
export type Tests_Worker_Pipeline_Parse_Parse_DetectsBinaryBodyViaNullBytes_ResultText = Worker_Pipeline_Parse_Result['text'];
|
|
15
|
+
|
|
16
|
+
export type Tests_Worker_Pipeline_Parse_Parse_DetectsBinaryBodyViaNullBytes_ResultJson = Worker_Pipeline_Parse_Result['json'];
|
|
17
|
+
|
|
18
|
+
export type Tests_Worker_Pipeline_Parse_Parse_DetectsBinaryBodyViaNullBytes_ResultBinary = Worker_Pipeline_Parse_Result['binary'];
|
|
11
19
|
|
|
12
20
|
export type Tests_Worker_Pipeline_Parse_Parse_DetectsBinaryBodyViaNullBytes_Result = {
|
|
13
21
|
type: Tests_Worker_Pipeline_Parse_Parse_DetectsBinaryBodyViaNullBytes_ResultType;
|
|
14
|
-
text?:
|
|
15
|
-
json?:
|
|
16
|
-
binary?:
|
|
22
|
+
text?: Tests_Worker_Pipeline_Parse_Parse_DetectsBinaryBodyViaNullBytes_ResultText;
|
|
23
|
+
json?: Tests_Worker_Pipeline_Parse_Parse_DetectsBinaryBodyViaNullBytes_ResultJson;
|
|
24
|
+
binary?: Tests_Worker_Pipeline_Parse_Parse_DetectsBinaryBodyViaNullBytes_ResultBinary;
|
|
17
25
|
};
|
|
18
26
|
|
|
19
27
|
export type Tests_Worker_Pipeline_Parse_Parse_DetectsBinaryWhenTextDecodingFindsNullBytes_Body = Uint8Array;
|
|
20
28
|
|
|
21
29
|
export type Tests_Worker_Pipeline_Parse_Parse_DetectsBinaryWhenTextDecodingFindsNullBytes_Headers = Headers;
|
|
22
30
|
|
|
23
|
-
export type Tests_Worker_Pipeline_Parse_Parse_DetectsBinaryWhenTextDecodingFindsNullBytes_ResultType =
|
|
31
|
+
export type Tests_Worker_Pipeline_Parse_Parse_DetectsBinaryWhenTextDecodingFindsNullBytes_ResultType = Worker_Pipeline_Parse_Result['type'];
|
|
32
|
+
|
|
33
|
+
export type Tests_Worker_Pipeline_Parse_Parse_DetectsBinaryWhenTextDecodingFindsNullBytes_ResultText = Worker_Pipeline_Parse_Result['text'];
|
|
34
|
+
|
|
35
|
+
export type Tests_Worker_Pipeline_Parse_Parse_DetectsBinaryWhenTextDecodingFindsNullBytes_ResultJson = Worker_Pipeline_Parse_Result['json'];
|
|
36
|
+
|
|
37
|
+
export type Tests_Worker_Pipeline_Parse_Parse_DetectsBinaryWhenTextDecodingFindsNullBytes_ResultBinary = Worker_Pipeline_Parse_Result['binary'];
|
|
24
38
|
|
|
25
39
|
export type Tests_Worker_Pipeline_Parse_Parse_DetectsBinaryWhenTextDecodingFindsNullBytes_Result = {
|
|
26
40
|
type: Tests_Worker_Pipeline_Parse_Parse_DetectsBinaryWhenTextDecodingFindsNullBytes_ResultType;
|
|
27
|
-
text?:
|
|
28
|
-
json?:
|
|
29
|
-
binary?:
|
|
41
|
+
text?: Tests_Worker_Pipeline_Parse_Parse_DetectsBinaryWhenTextDecodingFindsNullBytes_ResultText;
|
|
42
|
+
json?: Tests_Worker_Pipeline_Parse_Parse_DetectsBinaryWhenTextDecodingFindsNullBytes_ResultJson;
|
|
43
|
+
binary?: Tests_Worker_Pipeline_Parse_Parse_DetectsBinaryWhenTextDecodingFindsNullBytes_ResultBinary;
|
|
30
44
|
};
|
|
31
45
|
|
|
32
46
|
export type Tests_Worker_Pipeline_Parse_Parse_DetectsJSONBody_Body = Uint8Array;
|
|
33
47
|
|
|
34
48
|
export type Tests_Worker_Pipeline_Parse_Parse_DetectsJSONBody_Headers = Headers;
|
|
35
49
|
|
|
36
|
-
export type Tests_Worker_Pipeline_Parse_Parse_DetectsJSONBody_ResultType =
|
|
50
|
+
export type Tests_Worker_Pipeline_Parse_Parse_DetectsJSONBody_ResultType = Worker_Pipeline_Parse_Result['type'];
|
|
51
|
+
|
|
52
|
+
export type Tests_Worker_Pipeline_Parse_Parse_DetectsJSONBody_ResultText = Worker_Pipeline_Parse_Result['text'];
|
|
53
|
+
|
|
54
|
+
export type Tests_Worker_Pipeline_Parse_Parse_DetectsJSONBody_ResultJson = Worker_Pipeline_Parse_Result['json'];
|
|
55
|
+
|
|
56
|
+
export type Tests_Worker_Pipeline_Parse_Parse_DetectsJSONBody_ResultBinary = Worker_Pipeline_Parse_Result['binary'];
|
|
37
57
|
|
|
38
58
|
export type Tests_Worker_Pipeline_Parse_Parse_DetectsJSONBody_Result = {
|
|
39
59
|
type: Tests_Worker_Pipeline_Parse_Parse_DetectsJSONBody_ResultType;
|
|
40
|
-
text?:
|
|
41
|
-
json?:
|
|
42
|
-
binary?:
|
|
60
|
+
text?: Tests_Worker_Pipeline_Parse_Parse_DetectsJSONBody_ResultText;
|
|
61
|
+
json?: Tests_Worker_Pipeline_Parse_Parse_DetectsJSONBody_ResultJson;
|
|
62
|
+
binary?: Tests_Worker_Pipeline_Parse_Parse_DetectsJSONBody_ResultBinary;
|
|
43
63
|
};
|
|
44
64
|
|
|
45
65
|
export type Tests_Worker_Pipeline_Parse_Parse_DetectsJSONWithoutContentTypeHeaderByParsing_Body = Uint8Array;
|
|
46
66
|
|
|
47
67
|
export type Tests_Worker_Pipeline_Parse_Parse_DetectsJSONWithoutContentTypeHeaderByParsing_Headers = Headers;
|
|
48
68
|
|
|
49
|
-
export type Tests_Worker_Pipeline_Parse_Parse_DetectsJSONWithoutContentTypeHeaderByParsing_ResultType =
|
|
69
|
+
export type Tests_Worker_Pipeline_Parse_Parse_DetectsJSONWithoutContentTypeHeaderByParsing_ResultType = Worker_Pipeline_Parse_Result['type'];
|
|
70
|
+
|
|
71
|
+
export type Tests_Worker_Pipeline_Parse_Parse_DetectsJSONWithoutContentTypeHeaderByParsing_ResultText = Worker_Pipeline_Parse_Result['text'];
|
|
72
|
+
|
|
73
|
+
export type Tests_Worker_Pipeline_Parse_Parse_DetectsJSONWithoutContentTypeHeaderByParsing_ResultJson = Worker_Pipeline_Parse_Result['json'];
|
|
74
|
+
|
|
75
|
+
export type Tests_Worker_Pipeline_Parse_Parse_DetectsJSONWithoutContentTypeHeaderByParsing_ResultBinary = Worker_Pipeline_Parse_Result['binary'];
|
|
50
76
|
|
|
51
77
|
export type Tests_Worker_Pipeline_Parse_Parse_DetectsJSONWithoutContentTypeHeaderByParsing_Result = {
|
|
52
78
|
type: Tests_Worker_Pipeline_Parse_Parse_DetectsJSONWithoutContentTypeHeaderByParsing_ResultType;
|
|
53
|
-
text?:
|
|
54
|
-
json?:
|
|
55
|
-
binary?:
|
|
79
|
+
text?: Tests_Worker_Pipeline_Parse_Parse_DetectsJSONWithoutContentTypeHeaderByParsing_ResultText;
|
|
80
|
+
json?: Tests_Worker_Pipeline_Parse_Parse_DetectsJSONWithoutContentTypeHeaderByParsing_ResultJson;
|
|
81
|
+
binary?: Tests_Worker_Pipeline_Parse_Parse_DetectsJSONWithoutContentTypeHeaderByParsing_ResultBinary;
|
|
56
82
|
};
|
|
57
83
|
|
|
58
84
|
export type Tests_Worker_Pipeline_Parse_Parse_DetectsPlainTextBody_Body = Uint8Array;
|
|
59
85
|
|
|
60
86
|
export type Tests_Worker_Pipeline_Parse_Parse_DetectsPlainTextBody_Headers = Headers;
|
|
61
87
|
|
|
62
|
-
export type Tests_Worker_Pipeline_Parse_Parse_DetectsPlainTextBody_ResultType =
|
|
88
|
+
export type Tests_Worker_Pipeline_Parse_Parse_DetectsPlainTextBody_ResultType = Worker_Pipeline_Parse_Result['type'];
|
|
89
|
+
|
|
90
|
+
export type Tests_Worker_Pipeline_Parse_Parse_DetectsPlainTextBody_ResultText = Worker_Pipeline_Parse_Result['text'];
|
|
91
|
+
|
|
92
|
+
export type Tests_Worker_Pipeline_Parse_Parse_DetectsPlainTextBody_ResultJson = Worker_Pipeline_Parse_Result['json'];
|
|
93
|
+
|
|
94
|
+
export type Tests_Worker_Pipeline_Parse_Parse_DetectsPlainTextBody_ResultBinary = Worker_Pipeline_Parse_Result['binary'];
|
|
63
95
|
|
|
64
96
|
export type Tests_Worker_Pipeline_Parse_Parse_DetectsPlainTextBody_Result = {
|
|
65
97
|
type: Tests_Worker_Pipeline_Parse_Parse_DetectsPlainTextBody_ResultType;
|
|
66
|
-
text?:
|
|
67
|
-
json?:
|
|
68
|
-
binary?:
|
|
98
|
+
text?: Tests_Worker_Pipeline_Parse_Parse_DetectsPlainTextBody_ResultText;
|
|
99
|
+
json?: Tests_Worker_Pipeline_Parse_Parse_DetectsPlainTextBody_ResultJson;
|
|
100
|
+
binary?: Tests_Worker_Pipeline_Parse_Parse_DetectsPlainTextBody_ResultBinary;
|
|
69
101
|
};
|
|
70
102
|
|
|
71
103
|
export type Tests_Worker_Pipeline_Parse_Parse_ReturnsUnknownForEmptyBody_Body = ArrayBuffer;
|
|
72
104
|
|
|
73
105
|
export type Tests_Worker_Pipeline_Parse_Parse_ReturnsUnknownForEmptyBody_Headers = Headers;
|
|
74
106
|
|
|
75
|
-
export type Tests_Worker_Pipeline_Parse_Parse_ReturnsUnknownForEmptyBody_ResultType =
|
|
107
|
+
export type Tests_Worker_Pipeline_Parse_Parse_ReturnsUnknownForEmptyBody_ResultType = Worker_Pipeline_Parse_Result['type'];
|
|
108
|
+
|
|
109
|
+
export type Tests_Worker_Pipeline_Parse_Parse_ReturnsUnknownForEmptyBody_ResultText = Worker_Pipeline_Parse_Result['text'];
|
|
110
|
+
|
|
111
|
+
export type Tests_Worker_Pipeline_Parse_Parse_ReturnsUnknownForEmptyBody_ResultJson = Worker_Pipeline_Parse_Result['json'];
|
|
112
|
+
|
|
113
|
+
export type Tests_Worker_Pipeline_Parse_Parse_ReturnsUnknownForEmptyBody_ResultBinary = Worker_Pipeline_Parse_Result['binary'];
|
|
76
114
|
|
|
77
115
|
export type Tests_Worker_Pipeline_Parse_Parse_ReturnsUnknownForEmptyBody_Result = {
|
|
78
116
|
type: Tests_Worker_Pipeline_Parse_Parse_ReturnsUnknownForEmptyBody_ResultType;
|
|
79
|
-
text?:
|
|
80
|
-
json?:
|
|
81
|
-
binary?:
|
|
117
|
+
text?: Tests_Worker_Pipeline_Parse_Parse_ReturnsUnknownForEmptyBody_ResultText;
|
|
118
|
+
json?: Tests_Worker_Pipeline_Parse_Parse_ReturnsUnknownForEmptyBody_ResultJson;
|
|
119
|
+
binary?: Tests_Worker_Pipeline_Parse_Parse_ReturnsUnknownForEmptyBody_ResultBinary;
|
|
82
120
|
};
|
|
@@ -51,6 +51,15 @@ export type Tests_Worker_Pipeline_Respond_Respond_IncludesDebugInfoWhenShowRespo
|
|
|
51
51
|
|
|
52
52
|
export type Tests_Worker_Pipeline_Respond_Respond_IncludesDebugInfoWhenShowResponseOutputIsTrue_Body = Record<string, unknown>;
|
|
53
53
|
|
|
54
|
+
/**
|
|
55
|
+
* Tests - Worker - Pipeline - Respond - Respond - Returns Accepted When Durable Delivery Is Queued.
|
|
56
|
+
*
|
|
57
|
+
* @since 2.2.1
|
|
58
|
+
*/
|
|
59
|
+
export type Tests_Worker_Pipeline_Respond_Respond_ReturnsAcceptedWhenDurableDeliveryIsQueued_Response = Response;
|
|
60
|
+
|
|
61
|
+
export type Tests_Worker_Pipeline_Respond_Respond_ReturnsAcceptedWhenDurableDeliveryIsQueued_Body = Record<string, unknown>;
|
|
62
|
+
|
|
54
63
|
export type Tests_Worker_Pipeline_Respond_Respond_ReturnsFailedWhenAllServersFail_SendResult_ResultsItem_Name = string;
|
|
55
64
|
export type Tests_Worker_Pipeline_Respond_Respond_ReturnsFailedWhenAllServersFail_SendResult_ResultsItem_Success = boolean;
|
|
56
65
|
export type Tests_Worker_Pipeline_Respond_Respond_ReturnsFailedWhenAllServersFail_SendResult_ResultsItem_Status = number;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type {
|
|
2
|
+
Worker_Pipeline_Send_OptionsOnStageSuccess,
|
|
3
|
+
Worker_Pipeline_Send_Result,
|
|
4
|
+
} from '../../../worker/pipeline/send.d.ts';
|
|
2
5
|
|
|
3
6
|
/**
|
|
4
7
|
* Tests - Worker - Pipeline - Send.
|
|
@@ -46,6 +49,15 @@ export type Tests_Worker_Pipeline_Send_Send_HandlesStage2BinaryAttachment_Attach
|
|
|
46
49
|
|
|
47
50
|
export type Tests_Worker_Pipeline_Send_Send_HandlesStage2BinaryAttachment_Result = Readonly<Worker_Pipeline_Send_Result>;
|
|
48
51
|
|
|
52
|
+
/**
|
|
53
|
+
* Tests - Worker - Pipeline - Send - Send - Resumes At The First Unfinished Stage.
|
|
54
|
+
*
|
|
55
|
+
* @since 2.2.1
|
|
56
|
+
*/
|
|
57
|
+
export type Tests_Worker_Pipeline_Send_Send_ResumesAtTheFirstUnfinishedStage_Attachment = ArrayBuffer;
|
|
58
|
+
|
|
59
|
+
export type Tests_Worker_Pipeline_Send_Send_ResumesAtTheFirstUnfinishedStage_Result = Readonly<Worker_Pipeline_Send_Result>;
|
|
60
|
+
|
|
49
61
|
/**
|
|
50
62
|
* Tests - Worker - Pipeline - Send - Send - Sends To All Servers In Send All Mode.
|
|
51
63
|
*
|
|
@@ -70,3 +82,12 @@ export type Tests_Worker_Pipeline_Send_Send_SendsToPrimaryServerInSendOnceMode_R
|
|
|
70
82
|
export type Tests_Worker_Pipeline_Send_Send_SkipsStage2IfStage1FailsOnAServer_Attachment = ArrayBuffer;
|
|
71
83
|
|
|
72
84
|
export type Tests_Worker_Pipeline_Send_Send_SkipsStage2IfStage1FailsOnAServer_Result = Readonly<Worker_Pipeline_Send_Result>;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Tests - Worker - Pipeline - Send - Send - Uses Stable Sequence IDs And Checkpoints Successful Stages.
|
|
88
|
+
*
|
|
89
|
+
* @since 2.2.1
|
|
90
|
+
*/
|
|
91
|
+
export type Tests_Worker_Pipeline_Send_Send_UsesStableSequenceIDsAndCheckpointsSuccessfulStages_OnStageSuccess = Worker_Pipeline_Send_OptionsOnStageSuccess & {};
|
|
92
|
+
|
|
93
|
+
export type Tests_Worker_Pipeline_Send_Send_UsesStableSequenceIDsAndCheckpointsSuccessfulStages_Result = Readonly<Worker_Pipeline_Send_Result>;
|