ntfy-reverse-proxy 2.0.3 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +22 -0
- package/README.md +10 -0
- package/build/src/cli/commands/config-io.d.ts +3 -3
- package/build/src/cli/commands/config-io.d.ts.map +1 -1
- package/build/src/cli/commands/config-io.js +1 -1
- package/build/src/cli/commands/config-io.js.map +1 -1
- package/build/src/cli/commands/context.d.ts +7 -7
- package/build/src/cli/commands/context.d.ts.map +1 -1
- package/build/src/cli/commands/context.js +1 -1
- package/build/src/cli/commands/context.js.map +1 -1
- package/build/src/cli/commands/deploy.d.ts +2 -2
- package/build/src/cli/commands/deploy.d.ts.map +1 -1
- package/build/src/cli/commands/deploy.js +72 -30
- package/build/src/cli/commands/deploy.js.map +1 -1
- package/build/src/cli/commands/generate.d.ts +2 -2
- package/build/src/cli/commands/generate.d.ts.map +1 -1
- package/build/src/cli/commands/generate.js +3 -3
- package/build/src/cli/commands/generate.js.map +1 -1
- package/build/src/cli/commands/server.d.ts +5 -5
- 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 +3 -3
- 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 +2 -2
- package/build/src/cli/commands/validate.d.ts.map +1 -1
- package/build/src/cli/commands/validate.js +3 -0
- package/build/src/cli/commands/validate.js.map +1 -1
- package/build/src/cli/index.d.ts +2 -2
- package/build/src/cli/index.d.ts.map +1 -1
- package/build/src/cli/index.js +4 -4
- package/build/src/cli/index.js.map +1 -1
- package/build/src/cli/menu/interactive.d.ts +2 -2
- package/build/src/cli/menu/interactive.d.ts.map +1 -1
- package/build/src/cli/menu/interactive.js +174 -84
- package/build/src/cli/menu/interactive.js.map +1 -1
- package/build/src/lib/regex.d.ts +4 -1
- package/build/src/lib/regex.d.ts.map +1 -1
- package/build/src/lib/regex.js +4 -1
- package/build/src/lib/regex.js.map +1 -1
- package/build/src/lib/schema.d.ts +24 -0
- package/build/src/lib/schema.d.ts.map +1 -1
- package/build/src/lib/schema.js +11 -2
- package/build/src/lib/schema.js.map +1 -1
- package/build/src/lib/utility.d.ts +2 -2
- package/build/src/lib/utility.d.ts.map +1 -1
- package/build/src/lib/utility.js +1 -1
- package/build/src/lib/utility.js.map +1 -1
- package/build/src/types/cli/commands/config-io.d.ts +12 -12
- package/build/src/types/cli/commands/context.d.ts +96 -58
- package/build/src/types/cli/commands/deploy.d.ts +342 -298
- package/build/src/types/cli/commands/generate.d.ts +40 -24
- package/build/src/types/cli/commands/server.d.ts +23 -23
- package/build/src/types/cli/commands/settings.d.ts +8 -8
- package/build/src/types/cli/commands/validate.d.ts +16 -16
- package/build/src/types/cli/index.d.ts +16 -20
- package/build/src/types/cli/menu/interactive.d.ts +233 -178
- package/build/src/types/lib/schema.d.ts +89 -81
- package/build/src/types/lib/utility.d.ts +4 -2
- package/build/src/types/shared.d.ts +85 -0
- package/build/src/types/tests/cli/commands/context.test.d.ts +102 -31
- package/build/src/types/tests/cli/commands/generate.test.d.ts +50 -4
- package/build/src/types/tests/cli/commands/server.test.d.ts +88 -23
- package/build/src/types/tests/cli/commands/settings.test.d.ts +65 -21
- package/build/src/types/tests/cli/commands/validate.test.d.ts +69 -8
- package/build/src/types/tests/cli/menu/interactive.test.d.ts +2 -2
- package/build/src/types/tests/lib/schema.test.d.ts +258 -3
- package/build/src/types/tests/worker/index.test.d.ts +166 -8
- package/build/src/types/tests/worker/interpreters/ntfy-json.test.d.ts +94 -10
- package/build/src/types/tests/worker/interpreters/pfsense.test.d.ts +163 -4
- package/build/src/types/tests/worker/interpreters/plain-text.test.d.ts +67 -4
- package/build/src/types/tests/worker/interpreters/seerr.test.d.ts +138 -3
- package/build/src/types/tests/worker/interpreters/statuspage.test.d.ts +235 -30
- package/build/src/types/tests/worker/interpreters/synology.test.d.ts +61 -3
- package/build/src/types/tests/worker/interpreters/unifi.test.d.ts +93 -3
- package/build/src/types/tests/worker/landing/page.test.d.ts +73 -50
- package/build/src/types/tests/worker/pipeline/accumulate.test.d.ts +226 -15
- package/build/src/types/tests/worker/pipeline/authenticate.test.d.ts +148 -4
- package/build/src/types/tests/worker/pipeline/email.test.d.ts +82 -8
- package/build/src/types/tests/worker/pipeline/format.test.d.ts +112 -32
- package/build/src/types/tests/worker/pipeline/interpret.test.d.ts +109 -17
- package/build/src/types/tests/worker/pipeline/parse.test.d.ts +70 -5
- package/build/src/types/tests/worker/pipeline/receive.test.d.ts +156 -15
- package/build/src/types/tests/worker/pipeline/respond.test.d.ts +129 -10
- package/build/src/types/tests/worker/pipeline/route.test.d.ts +412 -74
- package/build/src/types/tests/worker/pipeline/send.test.d.ts +58 -23
- package/build/src/types/tests/worker/pipeline/split.test.d.ts +47 -9
- package/build/src/types/worker/handlers.d.ts +193 -0
- package/build/src/types/worker/index.d.ts +58 -177
- package/build/src/types/worker/interpreters/ntfy-json.d.ts +10 -10
- package/build/src/types/worker/interpreters/pfsense.d.ts +57 -49
- package/build/src/types/worker/interpreters/plain-text.d.ts +7 -7
- package/build/src/types/worker/interpreters/seerr.d.ts +63 -61
- package/build/src/types/worker/interpreters/statuspage.d.ts +201 -116
- package/build/src/types/worker/interpreters/synology.d.ts +48 -46
- package/build/src/types/worker/interpreters/unifi.d.ts +79 -54
- package/build/src/types/worker/landing/page.d.ts +30 -23
- package/build/src/types/worker/pipeline/accumulate.d.ts +46 -32
- package/build/src/types/worker/pipeline/authenticate.d.ts +94 -34
- package/build/src/types/worker/pipeline/email.d.ts +114 -50
- package/build/src/types/worker/pipeline/format.d.ts +31 -23
- package/build/src/types/worker/pipeline/interpret.d.ts +34 -34
- package/build/src/types/worker/pipeline/parse.d.ts +25 -19
- package/build/src/types/worker/pipeline/receive.d.ts +36 -34
- package/build/src/types/worker/pipeline/respond.d.ts +119 -63
- package/build/src/types/worker/pipeline/route.d.ts +33 -16
- package/build/src/types/worker/pipeline/send.d.ts +116 -79
- package/build/src/types/worker/pipeline/split.d.ts +21 -16
- package/build/src/worker/handlers.d.ts +5 -4
- package/build/src/worker/handlers.d.ts.map +1 -1
- package/build/src/worker/handlers.js +268 -159
- package/build/src/worker/handlers.js.map +1 -1
- package/build/src/worker/index.d.ts +2 -2
- package/build/src/worker/index.d.ts.map +1 -1
- package/build/src/worker/index.js +37 -9
- package/build/src/worker/index.js.map +1 -1
- package/build/src/worker/interpreters/ntfy-json.d.ts +2 -2
- 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.d.ts +2 -2
- package/build/src/worker/interpreters/pfsense.d.ts.map +1 -1
- package/build/src/worker/interpreters/pfsense.js +20 -27
- package/build/src/worker/interpreters/pfsense.js.map +1 -1
- package/build/src/worker/interpreters/plain-text.d.ts +2 -2
- 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.d.ts +2 -2
- package/build/src/worker/interpreters/seerr.d.ts.map +1 -1
- package/build/src/worker/interpreters/seerr.js +16 -12
- package/build/src/worker/interpreters/seerr.js.map +1 -1
- package/build/src/worker/interpreters/statuspage.d.ts +2 -2
- package/build/src/worker/interpreters/statuspage.d.ts.map +1 -1
- package/build/src/worker/interpreters/statuspage.js +98 -47
- package/build/src/worker/interpreters/statuspage.js.map +1 -1
- package/build/src/worker/interpreters/synology.d.ts +2 -2
- package/build/src/worker/interpreters/synology.d.ts.map +1 -1
- package/build/src/worker/interpreters/synology.js +9 -5
- package/build/src/worker/interpreters/synology.js.map +1 -1
- package/build/src/worker/interpreters/unifi.d.ts +2 -2
- package/build/src/worker/interpreters/unifi.d.ts.map +1 -1
- package/build/src/worker/interpreters/unifi.js +34 -20
- package/build/src/worker/interpreters/unifi.js.map +1 -1
- package/build/src/worker/landing/page.d.ts +2 -2
- package/build/src/worker/landing/page.d.ts.map +1 -1
- package/build/src/worker/landing/page.js +4 -3
- package/build/src/worker/landing/page.js.map +1 -1
- package/build/src/worker/pipeline/accumulate.d.ts +5 -6
- package/build/src/worker/pipeline/accumulate.d.ts.map +1 -1
- package/build/src/worker/pipeline/accumulate.js +4 -11
- package/build/src/worker/pipeline/accumulate.js.map +1 -1
- package/build/src/worker/pipeline/authenticate.d.ts +2 -2
- package/build/src/worker/pipeline/authenticate.d.ts.map +1 -1
- package/build/src/worker/pipeline/authenticate.js +25 -7
- package/build/src/worker/pipeline/authenticate.js.map +1 -1
- package/build/src/worker/pipeline/email.d.ts +2 -2
- package/build/src/worker/pipeline/email.d.ts.map +1 -1
- package/build/src/worker/pipeline/email.js +34 -11
- package/build/src/worker/pipeline/email.js.map +1 -1
- package/build/src/worker/pipeline/format.d.ts +2 -3
- package/build/src/worker/pipeline/format.d.ts.map +1 -1
- package/build/src/worker/pipeline/format.js +2 -1
- package/build/src/worker/pipeline/format.js.map +1 -1
- package/build/src/worker/pipeline/interpret.d.ts +4 -3
- package/build/src/worker/pipeline/interpret.d.ts.map +1 -1
- package/build/src/worker/pipeline/interpret.js +7 -7
- package/build/src/worker/pipeline/interpret.js.map +1 -1
- package/build/src/worker/pipeline/parse.d.ts +2 -2
- package/build/src/worker/pipeline/parse.d.ts.map +1 -1
- package/build/src/worker/pipeline/parse.js +14 -7
- package/build/src/worker/pipeline/parse.js.map +1 -1
- package/build/src/worker/pipeline/receive.d.ts +2 -2
- package/build/src/worker/pipeline/receive.d.ts.map +1 -1
- package/build/src/worker/pipeline/receive.js +6 -6
- 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 +1 -1
- package/build/src/worker/pipeline/respond.js.map +1 -1
- package/build/src/worker/pipeline/route.d.ts +2 -3
- 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 +2 -2
- package/build/src/worker/pipeline/send.d.ts.map +1 -1
- package/build/src/worker/pipeline/send.js +80 -41
- package/build/src/worker/pipeline/send.js.map +1 -1
- package/build/src/worker/pipeline/split.d.ts +2 -2
- package/build/src/worker/pipeline/split.d.ts.map +1 -1
- package/build/src/worker/pipeline/split.js +4 -2
- package/build/src/worker/pipeline/split.js.map +1 -1
- package/package.json +10 -9
- package/build/src/types/tests/type-declarations.test.d.ts +0 -173
- package/build/src/types/worker/pipeline/shared.d.ts +0 -85
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
Worker_Pipeline_Send_Result,
|
|
3
|
+
Worker_Pipeline_Send_ResultFallbackNote,
|
|
4
|
+
Worker_Pipeline_Send_ResultResults,
|
|
5
5
|
} from './send.d.ts';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -9,105 +9,161 @@ import type {
|
|
|
9
9
|
*
|
|
10
10
|
* @since 2.0.0
|
|
11
11
|
*/
|
|
12
|
-
export type
|
|
12
|
+
export type Worker_Pipeline_Respond_OptionsShowResponseOutput = boolean;
|
|
13
13
|
|
|
14
|
-
export type
|
|
14
|
+
export type Worker_Pipeline_Respond_OptionsContextName = string | undefined;
|
|
15
15
|
|
|
16
|
-
export type
|
|
16
|
+
export type Worker_Pipeline_Respond_OptionsInterpreterName = string | undefined;
|
|
17
17
|
|
|
18
|
-
export type
|
|
18
|
+
export type Worker_Pipeline_Respond_OptionsMessageTitle = string | undefined;
|
|
19
19
|
|
|
20
|
-
export type
|
|
20
|
+
export type Worker_Pipeline_Respond_OptionsBodySize = number | undefined;
|
|
21
21
|
|
|
22
|
-
export type
|
|
22
|
+
export type Worker_Pipeline_Respond_OptionsParts = number | undefined;
|
|
23
23
|
|
|
24
|
-
export type
|
|
24
|
+
export type Worker_Pipeline_Respond_OptionsHasAttachment = boolean | undefined;
|
|
25
25
|
|
|
26
|
-
export type
|
|
27
|
-
showResponseOutput:
|
|
28
|
-
contextName?:
|
|
29
|
-
interpreterName?:
|
|
30
|
-
messageTitle?:
|
|
31
|
-
bodySize?:
|
|
32
|
-
parts?:
|
|
33
|
-
hasAttachment?:
|
|
26
|
+
export type Worker_Pipeline_Respond_Options = {
|
|
27
|
+
showResponseOutput: Worker_Pipeline_Respond_OptionsShowResponseOutput;
|
|
28
|
+
contextName?: Worker_Pipeline_Respond_OptionsContextName;
|
|
29
|
+
interpreterName?: Worker_Pipeline_Respond_OptionsInterpreterName;
|
|
30
|
+
messageTitle?: Worker_Pipeline_Respond_OptionsMessageTitle;
|
|
31
|
+
bodySize?: Worker_Pipeline_Respond_OptionsBodySize;
|
|
32
|
+
parts?: Worker_Pipeline_Respond_OptionsParts;
|
|
33
|
+
hasAttachment?: Worker_Pipeline_Respond_OptionsHasAttachment;
|
|
34
34
|
};
|
|
35
35
|
|
|
36
|
-
export type
|
|
36
|
+
export type Worker_Pipeline_Respond_SendResult = Worker_Pipeline_Send_Result;
|
|
37
37
|
|
|
38
|
-
export type
|
|
38
|
+
export type Worker_Pipeline_Respond_Returns = Response;
|
|
39
39
|
|
|
40
|
-
export type
|
|
40
|
+
export type Worker_Pipeline_Respond_Results = Worker_Pipeline_Send_ResultResults;
|
|
41
41
|
|
|
42
|
-
export type
|
|
42
|
+
export type Worker_Pipeline_Respond_FallbackNote = Worker_Pipeline_Send_ResultFallbackNote;
|
|
43
43
|
|
|
44
|
-
export type
|
|
44
|
+
export type Worker_Pipeline_Respond_ShowResponseOutput = Worker_Pipeline_Respond_OptionsShowResponseOutput;
|
|
45
45
|
|
|
46
|
-
export type
|
|
46
|
+
export type Worker_Pipeline_Respond_ContextName = Worker_Pipeline_Respond_OptionsContextName;
|
|
47
47
|
|
|
48
|
-
export type
|
|
48
|
+
export type Worker_Pipeline_Respond_InterpreterName = Worker_Pipeline_Respond_OptionsInterpreterName;
|
|
49
49
|
|
|
50
|
-
export type
|
|
50
|
+
export type Worker_Pipeline_Respond_MessageTitle = Worker_Pipeline_Respond_OptionsMessageTitle;
|
|
51
51
|
|
|
52
|
-
export type
|
|
52
|
+
export type Worker_Pipeline_Respond_BodySize = Worker_Pipeline_Respond_OptionsBodySize;
|
|
53
53
|
|
|
54
|
-
export type
|
|
54
|
+
export type Worker_Pipeline_Respond_Parts = Worker_Pipeline_Respond_OptionsParts;
|
|
55
55
|
|
|
56
|
-
export type
|
|
56
|
+
export type Worker_Pipeline_Respond_HasAttachment = Worker_Pipeline_Respond_OptionsHasAttachment;
|
|
57
57
|
|
|
58
|
-
export type
|
|
58
|
+
export type Worker_Pipeline_Respond_AnySuccess = boolean;
|
|
59
59
|
|
|
60
|
-
export type
|
|
60
|
+
export type Worker_Pipeline_Respond_AllSuccess = boolean;
|
|
61
61
|
|
|
62
|
-
export type
|
|
62
|
+
export type Worker_Pipeline_Respond_Status = 'success' | 'partial' | 'failed';
|
|
63
63
|
|
|
64
|
-
export type
|
|
64
|
+
export type Worker_Pipeline_Respond_HttpStatus = number;
|
|
65
65
|
|
|
66
|
-
export type
|
|
66
|
+
export type Worker_Pipeline_Respond_BodyStatus = Worker_Pipeline_Respond_Status;
|
|
67
67
|
|
|
68
|
-
export type
|
|
68
|
+
export type Worker_Pipeline_Respond_BodyFallbackNote = string | undefined;
|
|
69
69
|
|
|
70
|
-
export type
|
|
70
|
+
export type Worker_Pipeline_Respond_BodyContext = string | undefined;
|
|
71
71
|
|
|
72
|
-
export type
|
|
72
|
+
export type Worker_Pipeline_Respond_BodyInterpreter = string | undefined;
|
|
73
73
|
|
|
74
|
-
export type
|
|
75
|
-
status:
|
|
76
|
-
fallback_note?:
|
|
77
|
-
context?:
|
|
78
|
-
interpreter?:
|
|
79
|
-
servers?:
|
|
80
|
-
message?:
|
|
74
|
+
export type Worker_Pipeline_Respond_Body = {
|
|
75
|
+
status: Worker_Pipeline_Respond_BodyStatus;
|
|
76
|
+
fallback_note?: Worker_Pipeline_Respond_BodyFallbackNote;
|
|
77
|
+
context?: Worker_Pipeline_Respond_BodyContext;
|
|
78
|
+
interpreter?: Worker_Pipeline_Respond_BodyInterpreter;
|
|
79
|
+
servers?: Worker_Pipeline_Respond_BodyServers;
|
|
80
|
+
message?: Worker_Pipeline_Respond_BodyMessage;
|
|
81
81
|
};
|
|
82
82
|
|
|
83
|
-
export type
|
|
83
|
+
export type Worker_Pipeline_Respond_BodyServersItemName = string;
|
|
84
84
|
|
|
85
|
-
export type
|
|
85
|
+
export type Worker_Pipeline_Respond_BodyServersItemStatus = number;
|
|
86
86
|
|
|
87
|
-
export type
|
|
87
|
+
export type Worker_Pipeline_Respond_BodyServersItemSuccess = boolean;
|
|
88
88
|
|
|
89
|
-
export type
|
|
89
|
+
export type Worker_Pipeline_Respond_BodyServersItemStages = string[];
|
|
90
90
|
|
|
91
|
-
export type
|
|
92
|
-
name:
|
|
93
|
-
status:
|
|
94
|
-
success:
|
|
95
|
-
stages:
|
|
91
|
+
export type Worker_Pipeline_Respond_BodyServersItem = {
|
|
92
|
+
name: Worker_Pipeline_Respond_BodyServersItemName;
|
|
93
|
+
status: Worker_Pipeline_Respond_BodyServersItemStatus;
|
|
94
|
+
success: Worker_Pipeline_Respond_BodyServersItemSuccess;
|
|
95
|
+
stages: Worker_Pipeline_Respond_BodyServersItemStages;
|
|
96
96
|
};
|
|
97
97
|
|
|
98
|
-
export type
|
|
98
|
+
export type Worker_Pipeline_Respond_BodyServers = Worker_Pipeline_Respond_BodyServersItem[] | undefined;
|
|
99
99
|
|
|
100
|
-
export type
|
|
100
|
+
export type Worker_Pipeline_Respond_BodyMessageTitle = string | undefined;
|
|
101
101
|
|
|
102
|
-
export type
|
|
102
|
+
export type Worker_Pipeline_Respond_BodyMessageBodySize = number | undefined;
|
|
103
103
|
|
|
104
|
-
export type
|
|
104
|
+
export type Worker_Pipeline_Respond_BodyMessageParts = number | undefined;
|
|
105
105
|
|
|
106
|
-
export type
|
|
106
|
+
export type Worker_Pipeline_Respond_BodyMessageHasAttachment = boolean | undefined;
|
|
107
107
|
|
|
108
|
-
export type
|
|
109
|
-
title:
|
|
110
|
-
body_size:
|
|
111
|
-
parts:
|
|
112
|
-
has_attachment:
|
|
108
|
+
export type Worker_Pipeline_Respond_BodyMessage = {
|
|
109
|
+
title: Worker_Pipeline_Respond_BodyMessageTitle;
|
|
110
|
+
body_size: Worker_Pipeline_Respond_BodyMessageBodySize;
|
|
111
|
+
parts: Worker_Pipeline_Respond_BodyMessageParts;
|
|
112
|
+
has_attachment: Worker_Pipeline_Respond_BodyMessageHasAttachment;
|
|
113
|
+
};
|
|
114
|
+
|
|
115
|
+
export type Worker_Pipeline_Respond_Respond_ResultsItemName = string;
|
|
116
|
+
|
|
117
|
+
export type Worker_Pipeline_Respond_Respond_ResultsItemSuccess = boolean;
|
|
118
|
+
|
|
119
|
+
export type Worker_Pipeline_Respond_Respond_ResultsItemStatus = number;
|
|
120
|
+
|
|
121
|
+
export type Worker_Pipeline_Respond_Respond_ResultsItemStages = string[];
|
|
122
|
+
|
|
123
|
+
export type Worker_Pipeline_Respond_Respond_ResultsItemError = string | undefined;
|
|
124
|
+
|
|
125
|
+
export type Worker_Pipeline_Respond_Respond_ResultsItem = {
|
|
126
|
+
name: Worker_Pipeline_Respond_Respond_ResultsItemName;
|
|
127
|
+
success: Worker_Pipeline_Respond_Respond_ResultsItemSuccess;
|
|
128
|
+
status: Worker_Pipeline_Respond_Respond_ResultsItemStatus;
|
|
129
|
+
stages: Worker_Pipeline_Respond_Respond_ResultsItemStages;
|
|
130
|
+
error?: Worker_Pipeline_Respond_Respond_ResultsItemError;
|
|
131
|
+
};
|
|
132
|
+
|
|
133
|
+
export type Worker_Pipeline_Respond_Respond_Results = Worker_Pipeline_Respond_Respond_ResultsItem[];
|
|
134
|
+
|
|
135
|
+
export type Worker_Pipeline_Respond_Respond_FallbackNote = string | undefined;
|
|
136
|
+
|
|
137
|
+
export type Worker_Pipeline_Respond_Respond_PartialStatus = 'success' | 'partial' | 'failed';
|
|
138
|
+
|
|
139
|
+
export type Worker_Pipeline_Respond_Respond_ServersItemName = string;
|
|
140
|
+
|
|
141
|
+
export type Worker_Pipeline_Respond_Respond_ServersItemStatus = number;
|
|
142
|
+
|
|
143
|
+
export type Worker_Pipeline_Respond_Respond_ServersItemSuccess = boolean;
|
|
144
|
+
|
|
145
|
+
export type Worker_Pipeline_Respond_Respond_ServersItemStages = string[];
|
|
146
|
+
|
|
147
|
+
export type Worker_Pipeline_Respond_Respond_ServersItem = {
|
|
148
|
+
name: Worker_Pipeline_Respond_Respond_ServersItemName;
|
|
149
|
+
status: Worker_Pipeline_Respond_Respond_ServersItemStatus;
|
|
150
|
+
success: Worker_Pipeline_Respond_Respond_ServersItemSuccess;
|
|
151
|
+
stages: Worker_Pipeline_Respond_Respond_ServersItemStages;
|
|
152
|
+
};
|
|
153
|
+
|
|
154
|
+
export type Worker_Pipeline_Respond_Respond_Servers = Worker_Pipeline_Respond_Respond_ServersItem[];
|
|
155
|
+
|
|
156
|
+
export type Worker_Pipeline_Respond_Respond_MessageTitle = string | undefined;
|
|
157
|
+
|
|
158
|
+
export type Worker_Pipeline_Respond_Respond_MessageBodySize = number | undefined;
|
|
159
|
+
|
|
160
|
+
export type Worker_Pipeline_Respond_Respond_MessageParts = number | undefined;
|
|
161
|
+
|
|
162
|
+
export type Worker_Pipeline_Respond_Respond_MessageHasAttachment = boolean | undefined;
|
|
163
|
+
|
|
164
|
+
export type Worker_Pipeline_Respond_Respond_Message = {
|
|
165
|
+
title: Worker_Pipeline_Respond_Respond_MessageTitle;
|
|
166
|
+
body_size: Worker_Pipeline_Respond_Respond_MessageBodySize;
|
|
167
|
+
parts: Worker_Pipeline_Respond_Respond_MessageParts;
|
|
168
|
+
has_attachment: Worker_Pipeline_Respond_Respond_MessageHasAttachment;
|
|
113
169
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Lib_Schema_ConfigSchema,
|
|
3
|
+
Lib_Schema_ContextConfig,
|
|
4
|
+
Lib_Schema_ServerConfig,
|
|
4
5
|
} from '../../lib/schema.d.ts';
|
|
5
6
|
|
|
6
7
|
/**
|
|
@@ -8,27 +9,43 @@ import type {
|
|
|
8
9
|
*
|
|
9
10
|
* @since 2.0.0
|
|
10
11
|
*/
|
|
11
|
-
export type
|
|
12
|
+
export type Worker_Pipeline_Route_RouteType = 'http' | 'email';
|
|
12
13
|
|
|
13
|
-
export type
|
|
14
|
+
export type Worker_Pipeline_Route_Identifier = string;
|
|
14
15
|
|
|
15
|
-
export type
|
|
16
|
+
export type Worker_Pipeline_Route_Config = Lib_Schema_ConfigSchema;
|
|
16
17
|
|
|
17
|
-
export type
|
|
18
|
+
export type Worker_Pipeline_Route_ResultContext = Lib_Schema_ContextConfig | undefined;
|
|
18
19
|
|
|
19
|
-
export type
|
|
20
|
+
export type Worker_Pipeline_Route_ResultResolvedServers = Lib_Schema_ServerConfig[] | undefined;
|
|
20
21
|
|
|
21
|
-
export type
|
|
22
|
+
export type Worker_Pipeline_Route_ResultPrimaryServer = Lib_Schema_ServerConfig | undefined;
|
|
22
23
|
|
|
23
|
-
export type
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
export type Worker_Pipeline_Route_ResultError = string | undefined;
|
|
25
|
+
|
|
26
|
+
export type Worker_Pipeline_Route_Result = {
|
|
27
|
+
context: Worker_Pipeline_Route_ResultContext;
|
|
28
|
+
resolvedServers: Worker_Pipeline_Route_ResultResolvedServers;
|
|
29
|
+
primaryServer: Worker_Pipeline_Route_ResultPrimaryServer;
|
|
30
|
+
error: Worker_Pipeline_Route_ResultError;
|
|
28
31
|
};
|
|
29
32
|
|
|
30
|
-
export type
|
|
33
|
+
export type Worker_Pipeline_Route_Returns = Worker_Pipeline_Route_Result;
|
|
34
|
+
|
|
35
|
+
export type Worker_Pipeline_Route_Context = Lib_Schema_ContextConfig | undefined;
|
|
36
|
+
|
|
37
|
+
export type Worker_Pipeline_Route_PrimaryServer = Lib_Schema_ServerConfig | undefined;
|
|
38
|
+
|
|
39
|
+
export type Worker_Pipeline_Route_Route_ResolvedServersItemName = string;
|
|
31
40
|
|
|
32
|
-
export type
|
|
41
|
+
export type Worker_Pipeline_Route_Route_ResolvedServersItemServer = string;
|
|
42
|
+
|
|
43
|
+
export type Worker_Pipeline_Route_Route_ResolvedServersItemToken = string;
|
|
44
|
+
|
|
45
|
+
export type Worker_Pipeline_Route_Route_ResolvedServersItem = {
|
|
46
|
+
name: Worker_Pipeline_Route_Route_ResolvedServersItemName;
|
|
47
|
+
server: Worker_Pipeline_Route_Route_ResolvedServersItemServer;
|
|
48
|
+
token: Worker_Pipeline_Route_Route_ResolvedServersItemToken;
|
|
49
|
+
};
|
|
33
50
|
|
|
34
|
-
export type
|
|
51
|
+
export type Worker_Pipeline_Route_Route_ResolvedServers = Worker_Pipeline_Route_Route_ResolvedServersItem[];
|
|
@@ -1,143 +1,180 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
1
|
+
import type { Lib_Schema_ServerConfig } from '../../lib/schema.d.ts';
|
|
2
|
+
import type { Worker_Pipeline_Split_MessagePart } from './split.d.ts';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Worker - Pipeline - Send.
|
|
6
6
|
*
|
|
7
7
|
* @since 2.0.0
|
|
8
8
|
*/
|
|
9
|
-
export type
|
|
9
|
+
export type Worker_Pipeline_Send_ServerResultName = string;
|
|
10
10
|
|
|
11
|
-
export type
|
|
11
|
+
export type Worker_Pipeline_Send_ServerResultSuccess = boolean;
|
|
12
12
|
|
|
13
|
-
export type
|
|
13
|
+
export type Worker_Pipeline_Send_ServerResultStatus = number;
|
|
14
14
|
|
|
15
|
-
export type
|
|
15
|
+
export type Worker_Pipeline_Send_ServerResultStages = string[];
|
|
16
16
|
|
|
17
|
-
export type
|
|
17
|
+
export type Worker_Pipeline_Send_ServerResultError = string | undefined;
|
|
18
18
|
|
|
19
|
-
export type
|
|
19
|
+
export type Worker_Pipeline_Send_ServerResult = {
|
|
20
|
+
name: Worker_Pipeline_Send_ServerResultName;
|
|
21
|
+
success: Worker_Pipeline_Send_ServerResultSuccess;
|
|
22
|
+
status: Worker_Pipeline_Send_ServerResultStatus;
|
|
23
|
+
stages: Worker_Pipeline_Send_ServerResultStages;
|
|
24
|
+
error?: Worker_Pipeline_Send_ServerResultError;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
export type Worker_Pipeline_Send_ResultResults = Worker_Pipeline_Send_ServerResult[];
|
|
28
|
+
|
|
29
|
+
export type Worker_Pipeline_Send_ResultFallbackUsed = boolean;
|
|
20
30
|
|
|
21
|
-
export type
|
|
31
|
+
export type Worker_Pipeline_Send_ResultFallbackNote = string | undefined;
|
|
22
32
|
|
|
23
|
-
export type
|
|
33
|
+
export type Worker_Pipeline_Send_Result = {
|
|
34
|
+
results: Worker_Pipeline_Send_ResultResults;
|
|
35
|
+
fallbackUsed: Worker_Pipeline_Send_ResultFallbackUsed;
|
|
36
|
+
fallbackNote?: Worker_Pipeline_Send_ResultFallbackNote;
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
export type Worker_Pipeline_Send_ToServerReturns = Promise<Worker_Pipeline_Send_ServerResult>;
|
|
24
40
|
|
|
25
|
-
export type
|
|
41
|
+
export type Worker_Pipeline_Send_OptionsMessages = Worker_Pipeline_Split_MessagePart[];
|
|
26
42
|
|
|
27
|
-
export type
|
|
43
|
+
export type Worker_Pipeline_Send_OptionsServers = Lib_Schema_ServerConfig[];
|
|
28
44
|
|
|
29
|
-
export type
|
|
45
|
+
export type Worker_Pipeline_Send_OptionsPrimaryServer = Lib_Schema_ServerConfig;
|
|
30
46
|
|
|
31
|
-
export type
|
|
47
|
+
export type Worker_Pipeline_Send_OptionsTopic = string;
|
|
32
48
|
|
|
33
|
-
export type
|
|
49
|
+
export type Worker_Pipeline_Send_OptionsMode = 'send-once' | 'send-all';
|
|
34
50
|
|
|
35
|
-
export type
|
|
51
|
+
export type Worker_Pipeline_Send_OptionsVisitorIp = string | undefined;
|
|
36
52
|
|
|
37
|
-
export type
|
|
53
|
+
export type Worker_Pipeline_Send_OptionsAttachment = ArrayBuffer | undefined;
|
|
38
54
|
|
|
39
|
-
export type
|
|
55
|
+
export type Worker_Pipeline_Send_OptionsFilename = string | undefined;
|
|
40
56
|
|
|
41
|
-
export type
|
|
57
|
+
export type Worker_Pipeline_Send_OptionsAttachmentHeaders = Record<string, string> | undefined;
|
|
42
58
|
|
|
43
|
-
export type
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
59
|
+
export type Worker_Pipeline_Send_Options = {
|
|
60
|
+
messages: Worker_Pipeline_Send_OptionsMessages;
|
|
61
|
+
servers: Worker_Pipeline_Send_OptionsServers;
|
|
62
|
+
primaryServer: Worker_Pipeline_Send_OptionsPrimaryServer;
|
|
63
|
+
topic: Worker_Pipeline_Send_OptionsTopic;
|
|
64
|
+
mode: Worker_Pipeline_Send_OptionsMode;
|
|
65
|
+
visitorIp?: Worker_Pipeline_Send_OptionsVisitorIp;
|
|
66
|
+
attachment?: Worker_Pipeline_Send_OptionsAttachment;
|
|
67
|
+
filename?: Worker_Pipeline_Send_OptionsFilename;
|
|
68
|
+
attachmentHeaders?: Worker_Pipeline_Send_OptionsAttachmentHeaders;
|
|
47
69
|
};
|
|
48
70
|
|
|
49
|
-
export type
|
|
71
|
+
export type Worker_Pipeline_Send_Returns = Promise<Worker_Pipeline_Send_Result>;
|
|
72
|
+
|
|
73
|
+
export type Worker_Pipeline_Send_Messages = Worker_Pipeline_Send_OptionsMessages;
|
|
50
74
|
|
|
51
|
-
export type
|
|
75
|
+
export type Worker_Pipeline_Send_Servers = Worker_Pipeline_Send_OptionsServers;
|
|
52
76
|
|
|
53
|
-
export type
|
|
77
|
+
export type Worker_Pipeline_Send_PrimaryServer = Worker_Pipeline_Send_OptionsPrimaryServer;
|
|
54
78
|
|
|
55
|
-
export type
|
|
79
|
+
export type Worker_Pipeline_Send_Topic = Worker_Pipeline_Send_OptionsTopic;
|
|
56
80
|
|
|
57
|
-
export type
|
|
81
|
+
export type Worker_Pipeline_Send_Mode = Worker_Pipeline_Send_OptionsMode;
|
|
58
82
|
|
|
59
|
-
export type
|
|
83
|
+
export type Worker_Pipeline_Send_VisitorIp = Worker_Pipeline_Send_OptionsVisitorIp;
|
|
60
84
|
|
|
61
|
-
export type
|
|
85
|
+
export type Worker_Pipeline_Send_Attachment = Worker_Pipeline_Send_OptionsAttachment;
|
|
62
86
|
|
|
63
|
-
export type
|
|
87
|
+
export type Worker_Pipeline_Send_Filename = Worker_Pipeline_Send_OptionsFilename;
|
|
64
88
|
|
|
65
|
-
export type
|
|
89
|
+
export type Worker_Pipeline_Send_AttachmentHeaders = Worker_Pipeline_Send_OptionsAttachmentHeaders;
|
|
66
90
|
|
|
67
|
-
export type
|
|
91
|
+
export type Worker_Pipeline_Send_Results = Worker_Pipeline_Send_ServerResult[];
|
|
68
92
|
|
|
69
|
-
export type
|
|
93
|
+
export type Worker_Pipeline_Send_OrderedServers = Worker_Pipeline_Send_OptionsServers;
|
|
70
94
|
|
|
71
|
-
export type
|
|
95
|
+
export type Worker_Pipeline_Send_FallbackResults = Worker_Pipeline_Send_ServerResult[];
|
|
72
96
|
|
|
73
|
-
export type
|
|
97
|
+
export type Worker_Pipeline_Send_IsFallback = boolean;
|
|
74
98
|
|
|
75
|
-
export type
|
|
99
|
+
export type Worker_Pipeline_Send_MessagesToSend = Worker_Pipeline_Send_OptionsMessages;
|
|
76
100
|
|
|
77
|
-
export type
|
|
101
|
+
export type Worker_Pipeline_Send_FallbackDeliveryNote = string;
|
|
78
102
|
|
|
79
|
-
|
|
103
|
+
/**
|
|
104
|
+
* Worker - Pipeline - Send - Send.
|
|
105
|
+
*
|
|
106
|
+
* @since 2.0.0
|
|
107
|
+
*/
|
|
108
|
+
export type Worker_Pipeline_Send_Send_FallbackNote = string;
|
|
80
109
|
|
|
81
|
-
export type
|
|
110
|
+
export type Worker_Pipeline_Send_Send_CombinedBody = string;
|
|
82
111
|
|
|
83
|
-
export type
|
|
112
|
+
export type Worker_Pipeline_Send_Send_Encoder = TextEncoder;
|
|
84
113
|
|
|
85
|
-
export type
|
|
114
|
+
export type Worker_Pipeline_Send_Send_CombinedByteLength = number;
|
|
86
115
|
|
|
87
|
-
export type
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
primaryServer: WorkerPipelineSendOptionsPrimaryServer;
|
|
91
|
-
topic: WorkerPipelineSendOptionsTopic;
|
|
92
|
-
mode: WorkerPipelineSendOptionsMode;
|
|
93
|
-
visitorIp?: WorkerPipelineSendOptionsVisitorIp;
|
|
94
|
-
attachment?: WorkerPipelineSendOptionsAttachment;
|
|
95
|
-
filename?: WorkerPipelineSendOptionsFilename;
|
|
96
|
-
attachmentHeaders?: WorkerPipelineSendOptionsAttachmentHeaders;
|
|
97
|
-
};
|
|
116
|
+
export type Worker_Pipeline_Send_Send_CurrentChunk = string;
|
|
117
|
+
|
|
118
|
+
export type Worker_Pipeline_Send_Send_CurrentBytes = number;
|
|
98
119
|
|
|
99
|
-
export type
|
|
120
|
+
export type Worker_Pipeline_Send_Send_CharBytes = number;
|
|
100
121
|
|
|
101
|
-
export type
|
|
122
|
+
export type Worker_Pipeline_Send_Send_OverflowChunk = string;
|
|
102
123
|
|
|
103
|
-
export type
|
|
124
|
+
export type Worker_Pipeline_Send_Send_BaseTitle = string;
|
|
104
125
|
|
|
105
|
-
export type
|
|
126
|
+
export type Worker_Pipeline_Send_Send_NewTotal = number;
|
|
106
127
|
|
|
107
|
-
export type
|
|
128
|
+
export type Worker_Pipeline_Send_Send_RenumberedMessagesBody = string;
|
|
108
129
|
|
|
109
|
-
export type
|
|
130
|
+
export type Worker_Pipeline_Send_Send_RenumberedMessagesHeaders = Record<string, string>;
|
|
110
131
|
|
|
111
|
-
export type
|
|
132
|
+
export type Worker_Pipeline_Send_Send_RenumberedMessages = {
|
|
133
|
+
body: Worker_Pipeline_Send_Send_RenumberedMessagesBody;
|
|
134
|
+
headers: Worker_Pipeline_Send_Send_RenumberedMessagesHeaders;
|
|
135
|
+
}[];
|
|
112
136
|
|
|
113
|
-
|
|
137
|
+
/**
|
|
138
|
+
* Worker - Pipeline - Send - Send To Server.
|
|
139
|
+
*
|
|
140
|
+
* @since 2.0.0
|
|
141
|
+
*/
|
|
142
|
+
export type Worker_Pipeline_Send_SendToServer_Server = Lib_Schema_ServerConfig;
|
|
114
143
|
|
|
115
|
-
export type
|
|
144
|
+
export type Worker_Pipeline_Send_SendToServer_Messages = Worker_Pipeline_Split_MessagePart[];
|
|
116
145
|
|
|
117
|
-
export type
|
|
146
|
+
export type Worker_Pipeline_Send_SendToServer_Topic = string;
|
|
118
147
|
|
|
119
|
-
export type
|
|
148
|
+
export type Worker_Pipeline_Send_SendToServer_VisitorIp = string | undefined;
|
|
120
149
|
|
|
121
|
-
export type
|
|
150
|
+
export type Worker_Pipeline_Send_SendToServer_Attachment = ArrayBuffer | undefined;
|
|
122
151
|
|
|
123
|
-
export type
|
|
152
|
+
export type Worker_Pipeline_Send_SendToServer_Filename = string | undefined;
|
|
124
153
|
|
|
125
|
-
export type
|
|
154
|
+
export type Worker_Pipeline_Send_SendToServer_AttachmentHeaders = Record<string, string> | undefined;
|
|
126
155
|
|
|
127
|
-
export type
|
|
156
|
+
export type Worker_Pipeline_Send_SendToServer_Stage = string;
|
|
128
157
|
|
|
129
|
-
export type
|
|
158
|
+
export type Worker_Pipeline_Send_SendToServer_Stages = Worker_Pipeline_Send_SendToServer_Stage[];
|
|
130
159
|
|
|
131
|
-
export type
|
|
160
|
+
export type Worker_Pipeline_Send_SendToServer_Url = string;
|
|
132
161
|
|
|
133
|
-
export type
|
|
162
|
+
export type Worker_Pipeline_Send_SendToServer_LastStatus = number;
|
|
134
163
|
|
|
135
|
-
export type
|
|
164
|
+
export type Worker_Pipeline_Send_SendToServer_TotalParts = number;
|
|
136
165
|
|
|
137
|
-
export type
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
166
|
+
export type Worker_Pipeline_Send_SendToServer_PartIndex = number;
|
|
167
|
+
|
|
168
|
+
export type Worker_Pipeline_Send_SendToServer_PartLabel = string;
|
|
169
|
+
|
|
170
|
+
export type Worker_Pipeline_Send_SendToServer_Headers = Record<string, string>;
|
|
171
|
+
|
|
172
|
+
export type Worker_Pipeline_Send_SendToServer_Response = Response;
|
|
173
|
+
|
|
174
|
+
export type Worker_Pipeline_Send_SendToServer_ErrorMessage = string;
|
|
175
|
+
|
|
176
|
+
export type Worker_Pipeline_Send_SendToServer_AttachmentRequestHeaders = Record<string, string>;
|
|
177
|
+
|
|
178
|
+
export type Worker_Pipeline_Send_SendToServer_AttachmentResponse = Response;
|
|
179
|
+
|
|
180
|
+
export type Worker_Pipeline_Send_SendToServer_AttachmentErrorMessage = string;
|
|
@@ -3,33 +3,38 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @since 2.0.0
|
|
5
5
|
*/
|
|
6
|
-
export type
|
|
6
|
+
export type Worker_Pipeline_Split_MessagePartBody = string;
|
|
7
7
|
|
|
8
|
-
export type
|
|
8
|
+
export type Worker_Pipeline_Split_MessagePartHeaders = Record<string, string>;
|
|
9
9
|
|
|
10
|
-
export type
|
|
11
|
-
body:
|
|
12
|
-
headers:
|
|
10
|
+
export type Worker_Pipeline_Split_MessagePart = {
|
|
11
|
+
body: Worker_Pipeline_Split_MessagePartBody;
|
|
12
|
+
headers: Worker_Pipeline_Split_MessagePartHeaders;
|
|
13
13
|
};
|
|
14
14
|
|
|
15
|
-
export type
|
|
15
|
+
export type Worker_Pipeline_Split_Returns = Worker_Pipeline_Split_MessagePart[];
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
/**
|
|
18
|
+
* Worker - Pipeline - Split - Split.
|
|
19
|
+
*
|
|
20
|
+
* @since 2.0.0
|
|
21
|
+
*/
|
|
22
|
+
export type Worker_Pipeline_Split_Split_Body = string;
|
|
18
23
|
|
|
19
|
-
export type
|
|
24
|
+
export type Worker_Pipeline_Split_Split_Headers = Record<string, string>;
|
|
20
25
|
|
|
21
|
-
export type
|
|
26
|
+
export type Worker_Pipeline_Split_Split_Encoder = TextEncoder;
|
|
22
27
|
|
|
23
|
-
export type
|
|
28
|
+
export type Worker_Pipeline_Split_Split_Chunks = string[];
|
|
24
29
|
|
|
25
|
-
export type
|
|
30
|
+
export type Worker_Pipeline_Split_Split_CurrentChunk = string;
|
|
26
31
|
|
|
27
|
-
export type
|
|
32
|
+
export type Worker_Pipeline_Split_Split_CurrentBytes = number;
|
|
28
33
|
|
|
29
|
-
export type
|
|
34
|
+
export type Worker_Pipeline_Split_Split_CharBytes = number;
|
|
30
35
|
|
|
31
|
-
export type
|
|
36
|
+
export type Worker_Pipeline_Split_Split_Total = number;
|
|
32
37
|
|
|
33
|
-
export type
|
|
38
|
+
export type Worker_Pipeline_Split_Split_BaseTitle = string;
|
|
34
39
|
|
|
35
|
-
export type
|
|
40
|
+
export type Worker_Pipeline_Split_Split_PartHeaders = Record<string, string>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
declare function
|
|
3
|
-
declare function
|
|
4
|
-
|
|
1
|
+
import type { Worker_Handlers_HandleEmail_Config, Worker_Handlers_HandleEmail_From, Worker_Handlers_HandleEmail_Kv, Worker_Handlers_HandleEmail_RawEmail, Worker_Handlers_HandleEmail_Returns, Worker_Handlers_HandleRequest_Config, Worker_Handlers_HandleRequest_Kv, Worker_Handlers_HandleRequest_Request, Worker_Handlers_HandleRequest_Returns, Worker_Handlers_ShouldNotifyError_Category, Worker_Handlers_ShouldNotifyError_Ctx, Worker_Handlers_ShouldNotifyError_Returns } from '../types/worker/handlers.d.ts';
|
|
2
|
+
declare function shouldNotifyError(ctx: Worker_Handlers_ShouldNotifyError_Ctx, category: Worker_Handlers_ShouldNotifyError_Category): Worker_Handlers_ShouldNotifyError_Returns;
|
|
3
|
+
declare function handleRequest(request: Worker_Handlers_HandleRequest_Request, config: Worker_Handlers_HandleRequest_Config, kv: Worker_Handlers_HandleRequest_Kv): Worker_Handlers_HandleRequest_Returns;
|
|
4
|
+
declare function handleEmail(rawEmail: Worker_Handlers_HandleEmail_RawEmail, from: Worker_Handlers_HandleEmail_From, config: Worker_Handlers_HandleEmail_Config, kv: Worker_Handlers_HandleEmail_Kv): Worker_Handlers_HandleEmail_Returns;
|
|
5
|
+
export { handleEmail, handleRequest, shouldNotifyError, };
|
|
5
6
|
//# sourceMappingURL=handlers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"handlers.d.ts","sourceRoot":"","sources":["../../../src/worker/handlers.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"handlers.d.ts","sourceRoot":"","sources":["../../../src/worker/handlers.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAKV,kCAAkC,EAalC,gCAAgC,EAKhC,8BAA8B,EAI9B,oCAAoC,EAGpC,mCAAmC,EAcnC,oCAAoC,EAmBpC,gCAAgC,EAOhC,qCAAqC,EAIrC,qCAAqC,EAKrC,0CAA0C,EAC1C,qCAAqC,EACrC,yCAAyC,EAC1C,MAAM,+BAA+B,CAAC;AAgBvC,iBAAS,iBAAiB,CAAC,GAAG,EAAE,qCAAqC,EAAE,QAAQ,EAAE,0CAA0C,GAAG,yCAAyC,CAUtK;AAgBD,iBAAe,aAAa,CAAC,OAAO,EAAE,qCAAqC,EAAE,MAAM,EAAE,oCAAoC,EAAE,EAAE,EAAE,gCAAgC,GAAG,qCAAqC,CA+UtM;AAiBD,iBAAe,WAAW,CAAC,QAAQ,EAAE,oCAAoC,EAAE,IAAI,EAAE,gCAAgC,EAAE,MAAM,EAAE,kCAAkC,EAAE,EAAE,EAAE,8BAA8B,GAAG,mCAAmC,CAoNtO;AAED,OAAO,EACL,WAAW,EACX,aAAa,EACb,iBAAiB,GAClB,CAAC"}
|