ntfy-reverse-proxy 2.2.0 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- 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 +9 -0
- 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 +34 -26
- package/build/src/cli/commands/deploy.js.map +1 -1
- package/build/src/cli/commands/generate.d.ts +3 -2
- package/build/src/cli/commands/generate.d.ts.map +1 -1
- package/build/src/cli/commands/generate.js +33 -23
- 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 +3 -0
- 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 +7 -4
- 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 +5 -4
- 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 +77 -6
- package/build/src/cli/menu/interactive.js.map +1 -1
- package/build/src/lib/package-runtime.d.ts +3 -2
- package/build/src/lib/package-runtime.d.ts.map +1 -1
- package/build/src/lib/package-runtime.js +5 -1
- package/build/src/lib/package-runtime.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 +10 -2
- package/build/src/lib/schema.js.map +1 -1
- package/build/src/types/cli/commands/deploy.d.ts +21 -17
- package/build/src/types/cli/commands/generate.d.ts +19 -17
- package/build/src/types/cli/commands/settings.d.ts +2 -0
- package/build/src/types/cli/menu/interactive.d.ts +9 -1
- package/build/src/types/lib/package-runtime.d.ts +7 -0
- package/build/src/types/lib/schema.d.ts +7 -7
- package/build/src/types/shared.d.ts +2 -2
- package/build/src/types/tests/cli/commands/context.test.d.ts +41 -0
- package/build/src/types/tests/cli/commands/generate.test.d.ts +43 -15
- package/build/src/types/tests/cli/commands/server.test.d.ts +7 -0
- package/build/src/types/tests/cli/menu/interactive.test.d.ts +25 -0
- package/build/src/types/tests/lib/schema.test.d.ts +19 -0
- package/build/src/types/tests/worker/index.test.d.ts +119 -1
- package/build/src/types/tests/worker/interpreters/app-payload.test.d.ts +77 -0
- package/build/src/types/tests/worker/interpreters/discord-stonker-bot.test.d.ts +23 -0
- package/build/src/types/tests/worker/interpreters/ntfy-json.test.d.ts +7 -15
- package/build/src/types/tests/worker/interpreters/outpost.test.d.ts +23 -0
- package/build/src/types/tests/worker/interpreters/pfsense-actions.test.d.ts +23 -0
- package/build/src/types/tests/worker/interpreters/plain-text.test.d.ts +20 -20
- package/build/src/types/tests/worker/interpreters/statuspage.test.d.ts +7 -0
- package/build/src/types/tests/worker/interpreters/transmission-vpn.test.d.ts +23 -0
- package/build/src/types/tests/worker/pipeline/deliver.test.d.ts +1 -1
- package/build/src/types/tests/worker/pipeline/drain-fifo.test.d.ts +2 -2
- 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 +1 -1
- package/build/src/types/tests/worker/pipeline/send.test.d.ts +2 -2
- package/build/src/types/worker/durable-objects/delivery-outbox.d.ts +34 -30
- package/build/src/types/worker/handlers.d.ts +4 -0
- package/build/src/types/worker/index.d.ts +53 -69
- package/build/src/types/worker/interpreters/app-payload.d.ts +67 -0
- package/build/src/types/worker/interpreters/discord-stonker-bot.d.ts +29 -0
- package/build/src/types/worker/interpreters/ntfy-json.d.ts +2 -2
- package/build/src/types/worker/interpreters/outpost.d.ts +29 -0
- package/build/src/types/worker/interpreters/pfsense-actions.d.ts +29 -0
- package/build/src/types/worker/interpreters/pfsense.d.ts +5 -5
- package/build/src/types/worker/interpreters/plain-text.d.ts +2 -4
- 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/transmission-vpn.d.ts +29 -0
- 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 +2 -2
- package/build/src/types/worker/pipeline/drain-fifo.d.ts +4 -4
- package/build/src/types/worker/pipeline/interpret.d.ts +18 -16
- package/build/src/types/worker/pipeline/respond.d.ts +11 -11
- package/build/src/types/worker/pipeline/route.d.ts +2 -0
- package/build/src/worker/durable-objects/delivery-outbox.d.ts +3 -2
- package/build/src/worker/durable-objects/delivery-outbox.d.ts.map +1 -1
- package/build/src/worker/durable-objects/delivery-outbox.js +7 -5
- 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 +11 -7
- package/build/src/worker/handlers.js.map +1 -1
- package/build/src/worker/index.d.ts +3 -4
- package/build/src/worker/index.d.ts.map +1 -1
- package/build/src/worker/index.js +46 -79
- package/build/src/worker/index.js.map +1 -1
- package/build/src/worker/interpreters/app-payload.d.ts +4 -0
- package/build/src/worker/interpreters/app-payload.d.ts.map +1 -0
- package/build/src/worker/interpreters/app-payload.js +58 -0
- package/build/src/worker/interpreters/app-payload.js.map +1 -0
- package/build/src/worker/interpreters/discord-stonker-bot.d.ts +4 -0
- package/build/src/worker/interpreters/discord-stonker-bot.d.ts.map +1 -0
- package/build/src/worker/interpreters/discord-stonker-bot.js +10 -0
- package/build/src/worker/interpreters/discord-stonker-bot.js.map +1 -0
- package/build/src/worker/interpreters/ntfy-json.d.ts.map +1 -1
- package/build/src/worker/interpreters/ntfy-json.js +2 -12
- package/build/src/worker/interpreters/ntfy-json.js.map +1 -1
- package/build/src/worker/interpreters/outpost.d.ts +4 -0
- package/build/src/worker/interpreters/outpost.d.ts.map +1 -0
- package/build/src/worker/interpreters/outpost.js +10 -0
- package/build/src/worker/interpreters/outpost.js.map +1 -0
- package/build/src/worker/interpreters/pfsense-actions.d.ts +4 -0
- package/build/src/worker/interpreters/pfsense-actions.d.ts.map +1 -0
- package/build/src/worker/interpreters/pfsense-actions.js +10 -0
- package/build/src/worker/interpreters/pfsense-actions.js.map +1 -0
- 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 +6 -4
- 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/statuspage.d.ts.map +1 -1
- package/build/src/worker/interpreters/statuspage.js +2 -12
- package/build/src/worker/interpreters/statuspage.js.map +1 -1
- package/build/src/worker/interpreters/synology.js.map +1 -1
- package/build/src/worker/interpreters/transmission-vpn.d.ts +4 -0
- package/build/src/worker/interpreters/transmission-vpn.d.ts.map +1 -0
- package/build/src/worker/interpreters/transmission-vpn.js +10 -0
- package/build/src/worker/interpreters/transmission-vpn.js.map +1 -0
- 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/drain-fifo.d.ts.map +1 -1
- package/build/src/worker/pipeline/drain-fifo.js.map +1 -1
- 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 +8 -0
- 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.map +1 -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.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 +15 -11
|
@@ -6,15 +6,6 @@ import type {
|
|
|
6
6
|
Lib_Schema_HttpContextConfig,
|
|
7
7
|
} from '../../lib/schema.d.ts';
|
|
8
8
|
|
|
9
|
-
/**
|
|
10
|
-
* CLI - Commands - Generate.
|
|
11
|
-
*
|
|
12
|
-
* @since 2.0.0
|
|
13
|
-
*/
|
|
14
|
-
export type Cli_Commands_Generate_ProjectRoot = string;
|
|
15
|
-
|
|
16
|
-
export type Cli_Commands_Generate_DefaultWranglerTomlPath = string;
|
|
17
|
-
|
|
18
9
|
/**
|
|
19
10
|
* CLI - Commands - Generate - Generate Wrangler Toml.
|
|
20
11
|
*
|
|
@@ -44,21 +35,29 @@ export type Cli_Commands_Generate_GenerateWranglerToml_Config = {
|
|
|
44
35
|
|
|
45
36
|
export type Cli_Commands_Generate_GenerateWranglerToml_Settings = Cli_Commands_Generate_GenerateWranglerToml_Config['settings'];
|
|
46
37
|
|
|
47
|
-
export type Cli_Commands_Generate_GenerateWranglerToml_Servers = Cli_Commands_Generate_GenerateWranglerToml_Config['servers'];
|
|
48
|
-
|
|
49
38
|
export type Cli_Commands_Generate_GenerateWranglerToml_Contexts = Cli_Commands_Generate_GenerateWranglerToml_Config['contexts'];
|
|
50
39
|
|
|
51
40
|
export type Cli_Commands_Generate_GenerateWranglerToml_CompatibilityDate = string;
|
|
52
41
|
|
|
53
42
|
export type Cli_Commands_Generate_GenerateWranglerToml_OutputDir = string;
|
|
54
43
|
|
|
44
|
+
export type Cli_Commands_Generate_GenerateWranglerToml_BundleDir = string;
|
|
45
|
+
|
|
46
|
+
export type Cli_Commands_Generate_GenerateWranglerToml_BundleConfigPath = string;
|
|
47
|
+
|
|
48
|
+
export type Cli_Commands_Generate_GenerateWranglerToml_BundleEntryPath = string;
|
|
49
|
+
|
|
50
|
+
export type Cli_Commands_Generate_GenerateWranglerToml_RealBundleDir = string;
|
|
51
|
+
|
|
55
52
|
export type Cli_Commands_Generate_GenerateWranglerToml_WorkerEntryPath = string;
|
|
56
53
|
|
|
57
54
|
export type Cli_Commands_Generate_GenerateWranglerToml_WorkerEntryRelativePath = string;
|
|
58
55
|
|
|
59
|
-
export type
|
|
56
|
+
export type Cli_Commands_Generate_GenerateWranglerToml_WorkerEntryImportPath = string;
|
|
57
|
+
|
|
58
|
+
export type Cli_Commands_Generate_GenerateWranglerToml_WorkerEntryImport = string;
|
|
60
59
|
|
|
61
|
-
export type
|
|
60
|
+
export type Cli_Commands_Generate_GenerateWranglerToml_EntryLines = string[];
|
|
62
61
|
|
|
63
62
|
export type Cli_Commands_Generate_GenerateWranglerToml_HttpContexts = Array<Lib_Schema_HttpContextConfig>;
|
|
64
63
|
|
|
@@ -68,8 +67,11 @@ export type Cli_Commands_Generate_GenerateWranglerToml_RouteLines = string[];
|
|
|
68
67
|
|
|
69
68
|
export type Cli_Commands_Generate_GenerateWranglerToml_Lines = string[];
|
|
70
69
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
70
|
+
/**
|
|
71
|
+
* CLI - Commands - Generate - Get Wrangler Toml Path.
|
|
72
|
+
*
|
|
73
|
+
* @since 2.3.0
|
|
74
|
+
*/
|
|
75
|
+
export type Cli_Commands_Generate_GetWranglerTomlPath_ConfigPath = string;
|
|
74
76
|
|
|
75
|
-
export type
|
|
77
|
+
export type Cli_Commands_Generate_GetWranglerTomlPath_Returns = string;
|
|
@@ -23,3 +23,5 @@ export type Cli_Commands_Settings_UpdateSettings_Updates = Partial<Lib_Schema_Se
|
|
|
23
23
|
export type Cli_Commands_Settings_UpdateSettings_Returns = void;
|
|
24
24
|
|
|
25
25
|
export type Cli_Commands_Settings_UpdateSettings_Config = { [Key in keyof Lib_Schema_ConfigSchema]: Lib_Schema_ConfigSchema[Key] };
|
|
26
|
+
|
|
27
|
+
export type Cli_Commands_Settings_UpdateSettings_UpdatedConfig = { [Key in keyof Lib_Schema_ConfigSchema]: Lib_Schema_ConfigSchema[Key] };
|
|
@@ -49,6 +49,8 @@ export type Cli_Menu_Interactive_AddContextFlow_IdResponse = prompts.Answers<str
|
|
|
49
49
|
|
|
50
50
|
export type Cli_Menu_Interactive_AddContextFlow_IdValidateValue = string;
|
|
51
51
|
|
|
52
|
+
export type Cli_Menu_Interactive_AddContextFlow_Trimmed = string;
|
|
53
|
+
|
|
52
54
|
export type Cli_Menu_Interactive_AddContextFlow_RawId = string | undefined;
|
|
53
55
|
|
|
54
56
|
export type Cli_Menu_Interactive_AddContextFlow_InterpreterChoices = Cli_Menu_Interactive_AddContextFlow_Choice[];
|
|
@@ -101,7 +103,7 @@ export type Cli_Menu_Interactive_AddContextFlow_ResolvedErrorTopic = string | un
|
|
|
101
103
|
|
|
102
104
|
export type Cli_Menu_Interactive_AddContextFlow_TopicString = string;
|
|
103
105
|
|
|
104
|
-
export type Cli_Menu_Interactive_AddContextFlow_TypedInterpreter = 'plain-text' | 'ntfy-json' | 'seerr' | 'synology' | 'statuspage' | 'pfsense' | 'unifi';
|
|
106
|
+
export type Cli_Menu_Interactive_AddContextFlow_TypedInterpreter = 'plain-text' | 'ntfy-json' | 'seerr' | 'synology' | 'statuspage' | 'pfsense' | 'unifi' | 'transmission-vpn' | 'pfsense-actions' | 'discord-stonker-bot' | 'outpost';
|
|
105
107
|
|
|
106
108
|
export type Cli_Menu_Interactive_AddContextFlow_TypedMode = 'send-once' | 'send-all';
|
|
107
109
|
|
|
@@ -165,6 +167,12 @@ export type Cli_Menu_Interactive_ContextMenu_KeepId = boolean | undefined;
|
|
|
165
167
|
|
|
166
168
|
export type Cli_Menu_Interactive_ContextMenu_Id = string | undefined;
|
|
167
169
|
|
|
170
|
+
export type Cli_Menu_Interactive_ContextMenu_IdResponse = prompts.Answers<string>;
|
|
171
|
+
|
|
172
|
+
export type Cli_Menu_Interactive_ContextMenu_RawId = string | undefined;
|
|
173
|
+
|
|
174
|
+
export type Cli_Menu_Interactive_ContextMenu_IdTrimmed = string;
|
|
175
|
+
|
|
168
176
|
export type Cli_Menu_Interactive_ContextMenu_ChoiceTitle = string;
|
|
169
177
|
|
|
170
178
|
export type Cli_Menu_Interactive_ContextMenu_ChoiceValue = string;
|
|
@@ -59,3 +59,10 @@ export type Lib_PackageRuntime_GetWorkerEntryPath_Extension = string;
|
|
|
59
59
|
export type Lib_PackageRuntime_GetWorkerEntryPath_WorkerFileName = string;
|
|
60
60
|
|
|
61
61
|
export type Lib_PackageRuntime_GetWorkerEntryPath_WorkerEntryPath = string;
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Lib - Package Runtime - Get Wrangler CLI Path.
|
|
65
|
+
*
|
|
66
|
+
* @since 2.3.0
|
|
67
|
+
*/
|
|
68
|
+
export type Lib_PackageRuntime_GetWranglerCliPath_Returns = string;
|
|
@@ -9,7 +9,7 @@ export type Lib_Schema_ContextConfigType = 'http' | 'email';
|
|
|
9
9
|
|
|
10
10
|
export type Lib_Schema_ContextConfigId = string;
|
|
11
11
|
|
|
12
|
-
export type Lib_Schema_ContextConfigInterpreter = 'plain-text' | 'ntfy-json' | 'seerr' | 'synology' | 'statuspage' | 'pfsense' | 'unifi';
|
|
12
|
+
export type Lib_Schema_ContextConfigInterpreter = 'plain-text' | 'ntfy-json' | 'seerr' | 'synology' | 'statuspage' | 'pfsense' | 'unifi' | 'transmission-vpn' | 'pfsense-actions' | 'discord-stonker-bot' | 'outpost';
|
|
13
13
|
|
|
14
14
|
export type Lib_Schema_ContextConfigTopic = string;
|
|
15
15
|
|
|
@@ -55,13 +55,13 @@ export type Lib_Schema_EmailContextConfig = {
|
|
|
55
55
|
id: Lib_Schema_EmailContextConfigId;
|
|
56
56
|
interpreter: Lib_Schema_EmailContextConfigInterpreter;
|
|
57
57
|
topic: Lib_Schema_EmailContextConfigTopic;
|
|
58
|
-
error_topic?: Lib_Schema_EmailContextConfigErrorTopic
|
|
59
|
-
error_events?: Lib_Schema_EmailContextConfigErrorEvents
|
|
58
|
+
error_topic?: Lib_Schema_EmailContextConfigErrorTopic;
|
|
59
|
+
error_events?: Lib_Schema_EmailContextConfigErrorEvents;
|
|
60
60
|
mode: Lib_Schema_EmailContextConfigMode;
|
|
61
61
|
show_visitor_info: Lib_Schema_EmailContextConfigShowVisitorInfo;
|
|
62
62
|
primary_server: Lib_Schema_EmailContextConfigPrimaryServer;
|
|
63
63
|
servers: Lib_Schema_EmailContextConfigServers;
|
|
64
|
-
allowed_from?: Lib_Schema_EmailContextConfigAllowedFrom
|
|
64
|
+
allowed_from?: Lib_Schema_EmailContextConfigAllowedFrom;
|
|
65
65
|
};
|
|
66
66
|
|
|
67
67
|
export type Lib_Schema_HttpContextConfigName = string;
|
|
@@ -94,13 +94,13 @@ export type Lib_Schema_HttpContextConfig = {
|
|
|
94
94
|
id: Lib_Schema_HttpContextConfigId;
|
|
95
95
|
interpreter: Lib_Schema_HttpContextConfigInterpreter;
|
|
96
96
|
topic: Lib_Schema_HttpContextConfigTopic;
|
|
97
|
-
error_topic?: Lib_Schema_HttpContextConfigErrorTopic
|
|
98
|
-
error_events?: Lib_Schema_HttpContextConfigErrorEvents
|
|
97
|
+
error_topic?: Lib_Schema_HttpContextConfigErrorTopic;
|
|
98
|
+
error_events?: Lib_Schema_HttpContextConfigErrorEvents;
|
|
99
99
|
mode: Lib_Schema_HttpContextConfigMode;
|
|
100
100
|
show_visitor_info: Lib_Schema_HttpContextConfigShowVisitorInfo;
|
|
101
101
|
primary_server: Lib_Schema_HttpContextConfigPrimaryServer;
|
|
102
102
|
servers: Lib_Schema_HttpContextConfigServers;
|
|
103
|
-
token?: Lib_Schema_HttpContextConfigToken
|
|
103
|
+
token?: Lib_Schema_HttpContextConfigToken;
|
|
104
104
|
};
|
|
105
105
|
|
|
106
106
|
export type Lib_Schema_ContextConfig = Lib_Schema_HttpContextConfig | Lib_Schema_EmailContextConfig;
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
*/
|
|
6
6
|
export type Shared_StatusPage_ComponentDiffEntry_Name = string;
|
|
7
7
|
|
|
8
|
-
export type Shared_StatusPage_ComponentDiffEntry_NewStatus = string;
|
|
9
|
-
|
|
10
8
|
export type Shared_StatusPage_ComponentDiffEntry_OldStatus = string | undefined;
|
|
11
9
|
|
|
10
|
+
export type Shared_StatusPage_ComponentDiffEntry_NewStatus = string;
|
|
11
|
+
|
|
12
12
|
export type Shared_StatusPage_ComponentDiffEntry_Changed = boolean;
|
|
13
13
|
|
|
14
14
|
export type Shared_StatusPage_ComponentDiffEntry = {
|
|
@@ -120,6 +120,47 @@ export type Tests_Cli_Commands_Context_ContextCommands_RejectsDuplicateContextNa
|
|
|
120
120
|
contexts: Tests_Cli_Commands_Context_ContextCommands_RejectsDuplicateContextNames_Config_Contexts;
|
|
121
121
|
};
|
|
122
122
|
|
|
123
|
+
/**
|
|
124
|
+
* Tests - CLI - Commands - Context - Context Commands - Rejects Duplicate Email IDs.
|
|
125
|
+
*
|
|
126
|
+
* @since 2.3.0
|
|
127
|
+
*/
|
|
128
|
+
export type Tests_Cli_Commands_Context_ContextCommands_RejectsDuplicateEmailIds_Config_Context_Id = string;
|
|
129
|
+
|
|
130
|
+
export type Tests_Cli_Commands_Context_ContextCommands_RejectsDuplicateEmailIds_Config_Context = {
|
|
131
|
+
id: Tests_Cli_Commands_Context_ContextCommands_RejectsDuplicateEmailIds_Config_Context_Id;
|
|
132
|
+
};
|
|
133
|
+
|
|
134
|
+
export type Tests_Cli_Commands_Context_ContextCommands_RejectsDuplicateEmailIds_Config_Contexts = Tests_Cli_Commands_Context_ContextCommands_RejectsDuplicateEmailIds_Config_Context[];
|
|
135
|
+
|
|
136
|
+
export type Tests_Cli_Commands_Context_ContextCommands_RejectsDuplicateEmailIds_Config = {
|
|
137
|
+
contexts: Tests_Cli_Commands_Context_ContextCommands_RejectsDuplicateEmailIds_Config_Contexts;
|
|
138
|
+
};
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* Tests - CLI - Commands - Context - Context Commands - Rejects Duplicate Email IDs On Edit.
|
|
142
|
+
*
|
|
143
|
+
* @since 2.3.0
|
|
144
|
+
*/
|
|
145
|
+
export type Tests_Cli_Commands_Context_ContextCommands_RejectsDuplicateEmailIdsOnEdit_Config_Context_Id = string;
|
|
146
|
+
|
|
147
|
+
export type Tests_Cli_Commands_Context_ContextCommands_RejectsDuplicateEmailIdsOnEdit_Config_Context = {
|
|
148
|
+
id: Tests_Cli_Commands_Context_ContextCommands_RejectsDuplicateEmailIdsOnEdit_Config_Context_Id;
|
|
149
|
+
};
|
|
150
|
+
|
|
151
|
+
export type Tests_Cli_Commands_Context_ContextCommands_RejectsDuplicateEmailIdsOnEdit_Config_Contexts = Tests_Cli_Commands_Context_ContextCommands_RejectsDuplicateEmailIdsOnEdit_Config_Context[];
|
|
152
|
+
|
|
153
|
+
export type Tests_Cli_Commands_Context_ContextCommands_RejectsDuplicateEmailIdsOnEdit_Config = {
|
|
154
|
+
contexts: Tests_Cli_Commands_Context_ContextCommands_RejectsDuplicateEmailIdsOnEdit_Config_Contexts;
|
|
155
|
+
};
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* Tests - CLI - Commands - Context - Context Commands - Rejects Removal Of A Missing Context.
|
|
159
|
+
*
|
|
160
|
+
* @since 2.3.0
|
|
161
|
+
*/
|
|
162
|
+
export type Tests_Cli_Commands_Context_ContextCommands_RejectsRemovalOfAMissingContext_Contexts = unknown[];
|
|
163
|
+
|
|
123
164
|
/**
|
|
124
165
|
* Tests - CLI - Commands - Context.
|
|
125
166
|
*
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type { Lib_Schema_ConfigSchema } from '../../../lib/schema.d.ts';
|
|
2
|
+
|
|
1
3
|
/**
|
|
2
4
|
* Tests - CLI - Commands - Generate.
|
|
3
5
|
*
|
|
@@ -9,7 +11,7 @@ export type Tests_Cli_Commands_Generate_TestConfigTmpDir = string;
|
|
|
9
11
|
|
|
10
12
|
export type Tests_Cli_Commands_Generate_TestConfigPath = string;
|
|
11
13
|
|
|
12
|
-
export type
|
|
14
|
+
export type Tests_Cli_Commands_Generate_TestOutputDir = string;
|
|
13
15
|
|
|
14
16
|
export type Tests_Cli_Commands_Generate_TestOutputPath = string;
|
|
15
17
|
|
|
@@ -23,17 +25,10 @@ export type Tests_Cli_Commands_Generate_GenerateCommand_ConfigJson = string;
|
|
|
23
25
|
/**
|
|
24
26
|
* Tests - CLI - Commands - Generate - Generate Command - Binds The SQLite Delivery Outbox Durable Object.
|
|
25
27
|
*
|
|
26
|
-
* @since
|
|
28
|
+
* @since 2.2.1
|
|
27
29
|
*/
|
|
28
30
|
export type Tests_Cli_Commands_Generate_GenerateCommand_BindsTheSQLiteDeliveryOutboxDurableObject_Toml = string;
|
|
29
31
|
|
|
30
|
-
/**
|
|
31
|
-
* Tests - CLI - Commands - Generate.
|
|
32
|
-
*
|
|
33
|
-
* @since 2.0.0
|
|
34
|
-
*/
|
|
35
|
-
export type Tests_Cli_Commands_Generate_GenerateCommand_EmbedsConfigAsVars_Toml = string;
|
|
36
|
-
|
|
37
32
|
/**
|
|
38
33
|
* Tests - CLI - Commands - Generate.
|
|
39
34
|
*
|
|
@@ -65,14 +60,47 @@ export type Tests_Cli_Commands_Generate_GenerateCommand_OmitsEmailRoutingSection
|
|
|
65
60
|
export type Tests_Cli_Commands_Generate_GenerateCommand_OmitsEmailRoutingSectionWhenNoEmailContextsExist_Toml = string;
|
|
66
61
|
|
|
67
62
|
/**
|
|
68
|
-
* Tests - CLI - Commands - Generate - Generate Command -
|
|
63
|
+
* Tests - CLI - Commands - Generate - Generate Command - Points Main At The Bundled Worker Entry.
|
|
69
64
|
*
|
|
70
|
-
* @since 2.
|
|
65
|
+
* @since 2.3.0
|
|
71
66
|
*/
|
|
72
|
-
export type
|
|
67
|
+
export type Tests_Cli_Commands_Generate_GenerateCommand_PointsMainAtTheBundledWorkerEntry_Toml = string;
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Tests - CLI - Commands - Generate - Generate Command - Resolves The Worker Import From A Symlinked Config Folder.
|
|
71
|
+
*
|
|
72
|
+
* @since 2.3.0
|
|
73
|
+
*/
|
|
74
|
+
export type Tests_Cli_Commands_Generate_GenerateCommand_ResolvesTheWorkerImportFromASymlinkedConfigFolder_RealDir = string;
|
|
75
|
+
|
|
76
|
+
export type Tests_Cli_Commands_Generate_GenerateCommand_ResolvesTheWorkerImportFromASymlinkedConfigFolder_LinkedDir = string;
|
|
77
|
+
|
|
78
|
+
export type Tests_Cli_Commands_Generate_GenerateCommand_ResolvesTheWorkerImportFromASymlinkedConfigFolder_BundleDir = string;
|
|
79
|
+
|
|
80
|
+
export type Tests_Cli_Commands_Generate_GenerateCommand_ResolvesTheWorkerImportFromASymlinkedConfigFolder_EntryLines = string[];
|
|
81
|
+
|
|
82
|
+
export type Tests_Cli_Commands_Generate_GenerateCommand_ResolvesTheWorkerImportFromASymlinkedConfigFolder_ImportPath = string;
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Tests - CLI - Commands - Generate - Generate Command - Writes Next To The Config File By Default.
|
|
86
|
+
*
|
|
87
|
+
* @since 2.3.0
|
|
88
|
+
*/
|
|
89
|
+
export type Tests_Cli_Commands_Generate_GenerateCommand_WritesNextToTheConfigFileByDefault_ConfigPath = string;
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Tests - CLI - Commands - Generate - Generate Command - Writes The Config And An Entry That Imports The Worker.
|
|
93
|
+
*
|
|
94
|
+
* @since 2.3.0
|
|
95
|
+
*/
|
|
96
|
+
export type Tests_Cli_Commands_Generate_GenerateCommand_WritesTheConfigAndAnEntryThatImportsTheWorker_BundleDir = string;
|
|
97
|
+
|
|
98
|
+
export type Tests_Cli_Commands_Generate_GenerateCommand_WritesTheConfigAndAnEntryThatImportsTheWorker_BundledConfig = unknown;
|
|
99
|
+
|
|
100
|
+
export type Tests_Cli_Commands_Generate_GenerateCommand_WritesTheConfigAndAnEntryThatImportsTheWorker_ExpectedConfig = Lib_Schema_ConfigSchema & {};
|
|
73
101
|
|
|
74
|
-
export type
|
|
102
|
+
export type Tests_Cli_Commands_Generate_GenerateCommand_WritesTheConfigAndAnEntryThatImportsTheWorker_Entry = string;
|
|
75
103
|
|
|
76
|
-
export type
|
|
104
|
+
export type Tests_Cli_Commands_Generate_GenerateCommand_WritesTheConfigAndAnEntryThatImportsTheWorker_WorkerEntryPath = string;
|
|
77
105
|
|
|
78
|
-
export type
|
|
106
|
+
export type Tests_Cli_Commands_Generate_GenerateCommand_WritesTheConfigAndAnEntryThatImportsTheWorker_ExpectedImport = string;
|
|
@@ -81,6 +81,13 @@ export type Tests_Cli_Commands_Server_ServerCommands_RejectsDuplicateServerNames
|
|
|
81
81
|
token: Tests_Cli_Commands_Server_ServerCommands_RejectsDuplicateServerNames_DuplicateToken;
|
|
82
82
|
};
|
|
83
83
|
|
|
84
|
+
/**
|
|
85
|
+
* Tests - CLI - Commands - Server - Server Commands - Rejects Removal Of A Missing Server.
|
|
86
|
+
*
|
|
87
|
+
* @since 2.3.0
|
|
88
|
+
*/
|
|
89
|
+
export type Tests_Cli_Commands_Server_ServerCommands_RejectsRemovalOfAMissingServer_Servers = unknown[];
|
|
90
|
+
|
|
84
91
|
/**
|
|
85
92
|
* Tests - CLI - Commands - Server - Server Commands - Removes A Server.
|
|
86
93
|
*
|
|
@@ -211,6 +211,31 @@ export type Tests_Cli_Menu_Interactive_InteractiveMenu_CtrlCAtServerEditSelectRe
|
|
|
211
211
|
|
|
212
212
|
export type Tests_Cli_Menu_Interactive_InteractiveMenu_CtrlCAtServerEditSelectReturnsToServerMenu_Call = Record<string, unknown>;
|
|
213
213
|
|
|
214
|
+
/**
|
|
215
|
+
* Tests - CLI - Menu - Interactive - Interactive Menu - Email Context Edit Prompts For A Replacement ID.
|
|
216
|
+
*
|
|
217
|
+
* @since 2.3.0
|
|
218
|
+
*/
|
|
219
|
+
export type Tests_Cli_Menu_Interactive_InteractiveMenu_EmailContextEditPromptsForAReplacementId_Prompts_Default = typeof prompts;
|
|
220
|
+
|
|
221
|
+
export type Tests_Cli_Menu_Interactive_InteractiveMenu_EmailContextEditPromptsForAReplacementId_Prompts = {
|
|
222
|
+
default: Tests_Cli_Menu_Interactive_InteractiveMenu_EmailContextEditPromptsForAReplacementId_Prompts_Default;
|
|
223
|
+
};
|
|
224
|
+
|
|
225
|
+
export type Tests_Cli_Menu_Interactive_InteractiveMenu_EmailContextEditPromptsForAReplacementId_PromptsDefaultUnknown = unknown;
|
|
226
|
+
|
|
227
|
+
export type Tests_Cli_Menu_Interactive_InteractiveMenu_EmailContextEditPromptsForAReplacementId_MockPrompts = ReturnType<typeof vi['fn']>;
|
|
228
|
+
|
|
229
|
+
export type Tests_Cli_Menu_Interactive_InteractiveMenu_EmailContextEditPromptsForAReplacementId_ContextModuleUnknown = unknown;
|
|
230
|
+
|
|
231
|
+
export type Tests_Cli_Menu_Interactive_InteractiveMenu_EmailContextEditPromptsForAReplacementId_ContextModule = Record<string, unknown>;
|
|
232
|
+
|
|
233
|
+
export type Tests_Cli_Menu_Interactive_InteractiveMenu_EmailContextEditPromptsForAReplacementId_ListContexts = ReturnType<typeof vi['fn']>;
|
|
234
|
+
|
|
235
|
+
export type Tests_Cli_Menu_Interactive_InteractiveMenu_EmailContextEditPromptsForAReplacementId_EditContext = ReturnType<typeof vi['fn']>;
|
|
236
|
+
|
|
237
|
+
export type Tests_Cli_Menu_Interactive_InteractiveMenu_EmailContextEditPromptsForAReplacementId_GenerateId = ReturnType<typeof vi['fn']>;
|
|
238
|
+
|
|
214
239
|
/**
|
|
215
240
|
* Tests - CLI - Menu - Interactive - Interactive Menu - Exits On Ctrl C At Config Dir Selection.
|
|
216
241
|
*
|
|
@@ -95,6 +95,25 @@ export type Tests_Lib_Schema_ConfigSchema_RejectsContextWithoutTypeDiscriminator
|
|
|
95
95
|
success: Tests_Lib_Schema_ConfigSchema_RejectsContextWithoutTypeDiscriminator_ResultSuccess;
|
|
96
96
|
};
|
|
97
97
|
|
|
98
|
+
/**
|
|
99
|
+
* Tests - Lib - Schema - Config Schema - Rejects HTTP Context IDs That Cannot Be Host Labels.
|
|
100
|
+
*
|
|
101
|
+
* @since 2.3.0
|
|
102
|
+
*/
|
|
103
|
+
export type Tests_Lib_Schema_ConfigSchema_RejectsHTTPContextIDsThatCannotBeHostLabels_InvalidIds = string[];
|
|
104
|
+
|
|
105
|
+
export type Tests_Lib_Schema_ConfigSchema_RejectsHTTPContextIDsThatCannotBeHostLabels_InvalidId = string;
|
|
106
|
+
|
|
107
|
+
export type Tests_Lib_Schema_ConfigSchema_RejectsHTTPContextIDsThatCannotBeHostLabels_AssertInvalidId = (invalidId: Tests_Lib_Schema_ConfigSchema_RejectsHTTPContextIDsThatCannotBeHostLabels_InvalidId) => void;
|
|
108
|
+
|
|
109
|
+
export type Tests_Lib_Schema_ConfigSchema_RejectsHTTPContextIDsThatCannotBeHostLabels_AssertInvalidId_Invalid = Record<string, unknown>;
|
|
110
|
+
|
|
111
|
+
export type Tests_Lib_Schema_ConfigSchema_RejectsHTTPContextIDsThatCannotBeHostLabels_AssertInvalidId_ResultSuccess = boolean;
|
|
112
|
+
|
|
113
|
+
export type Tests_Lib_Schema_ConfigSchema_RejectsHTTPContextIDsThatCannotBeHostLabels_AssertInvalidId_Result = {
|
|
114
|
+
success: Tests_Lib_Schema_ConfigSchema_RejectsHTTPContextIDsThatCannotBeHostLabels_AssertInvalidId_ResultSuccess;
|
|
115
|
+
};
|
|
116
|
+
|
|
98
117
|
/**
|
|
99
118
|
* Tests - Lib - Schema - Config Schema - Rejects Invalid Error Events Values.
|
|
100
119
|
*
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { vi } from 'vitest';
|
|
2
2
|
|
|
3
3
|
import type { Lib_Schema_ConfigSchema } from '../../lib/schema.d.ts';
|
|
4
|
-
import type {
|
|
4
|
+
import type { Worker_Index_CreateWorker_Returns, Worker_Index_CreateWorker_Returns_EmailMessage } from '../../worker/index.d.ts';
|
|
5
|
+
import type { Worker_Pipeline_Deliver_Namespace, Worker_Pipeline_Deliver_StubEnqueue } from '../../worker/pipeline/deliver.d.ts';
|
|
5
6
|
import type { Worker_Pipeline_Send_Result } from '../../worker/pipeline/send.d.ts';
|
|
6
7
|
|
|
7
8
|
/**
|
|
@@ -27,6 +28,71 @@ export type Tests_Worker_Index_Outbox = Worker_Pipeline_Deliver_Namespace & {};
|
|
|
27
28
|
|
|
28
29
|
export type Tests_Worker_Index_SendResult = Worker_Pipeline_Send_Result & {};
|
|
29
30
|
|
|
31
|
+
export type Tests_Worker_Index_Env = Record<string, string | KVNamespace | Worker_Pipeline_Deliver_Namespace | undefined>;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Tests - Worker - Index - cloudflare:workers.
|
|
35
|
+
*
|
|
36
|
+
* @since 2.3.0
|
|
37
|
+
*/
|
|
38
|
+
export type Tests_Worker_Index_CloudflareWorkers_DurableObject = ReturnType<typeof vi['fn']>;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Tests - Worker - Index - Create Worker - Ignores An Email When The Config Is Invalid.
|
|
42
|
+
*
|
|
43
|
+
* @since 2.3.0
|
|
44
|
+
*/
|
|
45
|
+
export type Tests_Worker_Index_CreateWorker_IgnoresAnEmailWhenTheConfigIsInvalid_MockFetch = ReturnType<typeof vi['fn']>;
|
|
46
|
+
|
|
47
|
+
export type Tests_Worker_Index_CreateWorker_IgnoresAnEmailWhenTheConfigIsInvalid_Worker = Worker_Index_CreateWorker_Returns & {};
|
|
48
|
+
|
|
49
|
+
export type Tests_Worker_Index_CreateWorker_IgnoresAnEmailWhenTheConfigIsInvalid_RawEmail = string;
|
|
50
|
+
|
|
51
|
+
export type Tests_Worker_Index_CreateWorker_IgnoresAnEmailWhenTheConfigIsInvalid_Message = Worker_Index_CreateWorker_Returns_EmailMessage & {};
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Tests - Worker - Index - Create Worker - Processes An Email With A Valid Config.
|
|
55
|
+
*
|
|
56
|
+
* @since 2.3.0
|
|
57
|
+
*/
|
|
58
|
+
export type Tests_Worker_Index_CreateWorker_ProcessesAnEmailWithAValidConfig_MockFetch = ReturnType<typeof vi['fn']>;
|
|
59
|
+
|
|
60
|
+
export type Tests_Worker_Index_CreateWorker_ProcessesAnEmailWithAValidConfig_Worker = Worker_Index_CreateWorker_Returns & {};
|
|
61
|
+
|
|
62
|
+
export type Tests_Worker_Index_CreateWorker_ProcessesAnEmailWithAValidConfig_RawEmail = string;
|
|
63
|
+
|
|
64
|
+
export type Tests_Worker_Index_CreateWorker_ProcessesAnEmailWithAValidConfig_Message = Worker_Index_CreateWorker_Returns_EmailMessage & {};
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Tests - Worker - Index - Create Worker - Processes A Request With A Valid Config.
|
|
68
|
+
*
|
|
69
|
+
* @since 2.3.0
|
|
70
|
+
*/
|
|
71
|
+
export type Tests_Worker_Index_CreateWorker_ProcessesARequestWithAValidConfig_MockFetch = ReturnType<typeof vi['fn']>;
|
|
72
|
+
|
|
73
|
+
export type Tests_Worker_Index_CreateWorker_ProcessesARequestWithAValidConfig_Worker = Worker_Index_CreateWorker_Returns & {};
|
|
74
|
+
|
|
75
|
+
export type Tests_Worker_Index_CreateWorker_ProcessesARequestWithAValidConfig_Request = Request;
|
|
76
|
+
|
|
77
|
+
export type Tests_Worker_Index_CreateWorker_ProcessesARequestWithAValidConfig_Response = Response;
|
|
78
|
+
|
|
79
|
+
export type Tests_Worker_Index_CreateWorker_ProcessesARequestWithAValidConfig_Body = Record<string, unknown>;
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Tests - Worker - Index - Create Worker - Returns 500 For A Request When The Config Is Invalid.
|
|
83
|
+
*
|
|
84
|
+
* @since 2.3.0
|
|
85
|
+
*/
|
|
86
|
+
export type Tests_Worker_Index_CreateWorker_Returns500ForARequestWhenTheConfigIsInvalid_MockFetch = ReturnType<typeof vi['fn']>;
|
|
87
|
+
|
|
88
|
+
export type Tests_Worker_Index_CreateWorker_Returns500ForARequestWhenTheConfigIsInvalid_Worker = Worker_Index_CreateWorker_Returns & {};
|
|
89
|
+
|
|
90
|
+
export type Tests_Worker_Index_CreateWorker_Returns500ForARequestWhenTheConfigIsInvalid_Request = Request;
|
|
91
|
+
|
|
92
|
+
export type Tests_Worker_Index_CreateWorker_Returns500ForARequestWhenTheConfigIsInvalid_Response = Response;
|
|
93
|
+
|
|
94
|
+
export type Tests_Worker_Index_CreateWorker_Returns500ForARequestWhenTheConfigIsInvalid_Body = Record<string, unknown>;
|
|
95
|
+
|
|
30
96
|
/**
|
|
31
97
|
* Tests - Worker - Index - Handle Email - Accepts Email From Authorized Sender.
|
|
32
98
|
*
|
|
@@ -81,6 +147,15 @@ export type Tests_Worker_Index_HandleEmail_SuppressesAuthErrorNotificationWhenEm
|
|
|
81
147
|
|
|
82
148
|
export type Tests_Worker_Index_HandleEmail_SuppressesAuthErrorNotificationWhenEmailErrorEventsExcludesAuthentication_RawEmail = string;
|
|
83
149
|
|
|
150
|
+
/**
|
|
151
|
+
* Tests - Worker - Index - Handle Request - Ignores The Context Header Outside Localhost.
|
|
152
|
+
*
|
|
153
|
+
* @since 2.3.0
|
|
154
|
+
*/
|
|
155
|
+
export type Tests_Worker_Index_HandleRequest_IgnoresTheContextHeaderOutsideLocalhost_Request = Request;
|
|
156
|
+
|
|
157
|
+
export type Tests_Worker_Index_HandleRequest_IgnoresTheContextHeaderOutsideLocalhost_Response = Response;
|
|
158
|
+
|
|
84
159
|
/**
|
|
85
160
|
* Tests - Worker - Index - Handle Request - Passes Through When No Token Configured.
|
|
86
161
|
*
|
|
@@ -90,6 +165,19 @@ export type Tests_Worker_Index_HandleRequest_PassesThroughWhenNoTokenConfigured_
|
|
|
90
165
|
|
|
91
166
|
export type Tests_Worker_Index_HandleRequest_PassesThroughWhenNoTokenConfigured_Response = Response;
|
|
92
167
|
|
|
168
|
+
/**
|
|
169
|
+
* Tests - Worker - Index - Handle Request - Preserves Binary Request Bodies As Attachments.
|
|
170
|
+
*
|
|
171
|
+
* @since 2.3.0
|
|
172
|
+
*/
|
|
173
|
+
export type Tests_Worker_Index_HandleRequest_PreservesBinaryRequestBodiesAsAttachments_MockFetch = ReturnType<typeof vi['fn']>;
|
|
174
|
+
|
|
175
|
+
export type Tests_Worker_Index_HandleRequest_PreservesBinaryRequestBodiesAsAttachments_Bytes = Uint8Array<ArrayBuffer>;
|
|
176
|
+
|
|
177
|
+
export type Tests_Worker_Index_HandleRequest_PreservesBinaryRequestBodiesAsAttachments_Request = Request;
|
|
178
|
+
|
|
179
|
+
export type Tests_Worker_Index_HandleRequest_PreservesBinaryRequestBodiesAsAttachments_Response = Response;
|
|
180
|
+
|
|
93
181
|
/**
|
|
94
182
|
* Tests - Worker - Index - Handle Request - Processes A Valid POST Request Through The Pipeline.
|
|
95
183
|
*
|
|
@@ -101,6 +189,25 @@ export type Tests_Worker_Index_HandleRequest_ProcessesAValidPOSTRequestThroughTh
|
|
|
101
189
|
|
|
102
190
|
export type Tests_Worker_Index_HandleRequest_ProcessesAValidPOSTRequestThroughThePipeline_Body = Record<string, unknown>;
|
|
103
191
|
|
|
192
|
+
/**
|
|
193
|
+
* Tests - Worker - Index - Handle Request - Processes Later Notifications After An Error Topic Attachment Fails.
|
|
194
|
+
*
|
|
195
|
+
* @since 2.3.0
|
|
196
|
+
*/
|
|
197
|
+
export type Tests_Worker_Index_HandleRequest_ProcessesLaterNotificationsAfterAnErrorTopicAttachmentFails_MockFetch = ReturnType<typeof vi['fn']>;
|
|
198
|
+
|
|
199
|
+
export type Tests_Worker_Index_HandleRequest_ProcessesLaterNotificationsAfterAnErrorTopicAttachmentFails_Enqueue = Worker_Pipeline_Deliver_StubEnqueue & {};
|
|
200
|
+
|
|
201
|
+
export type Tests_Worker_Index_HandleRequest_ProcessesLaterNotificationsAfterAnErrorTopicAttachmentFails_IsolatedOutbox = Worker_Pipeline_Deliver_Namespace & {};
|
|
202
|
+
|
|
203
|
+
export type Tests_Worker_Index_HandleRequest_ProcessesLaterNotificationsAfterAnErrorTopicAttachmentFails_FailedRequest = Request;
|
|
204
|
+
|
|
205
|
+
export type Tests_Worker_Index_HandleRequest_ProcessesLaterNotificationsAfterAnErrorTopicAttachmentFails_FailedResponse = Response;
|
|
206
|
+
|
|
207
|
+
export type Tests_Worker_Index_HandleRequest_ProcessesLaterNotificationsAfterAnErrorTopicAttachmentFails_ValidRequest = Request;
|
|
208
|
+
|
|
209
|
+
export type Tests_Worker_Index_HandleRequest_ProcessesLaterNotificationsAfterAnErrorTopicAttachmentFails_ValidResponse = Response;
|
|
210
|
+
|
|
104
211
|
/**
|
|
105
212
|
* Tests - Worker - Index - Handle Request - Returns 403 With No Authorization Header When Token Required.
|
|
106
213
|
*
|
|
@@ -139,6 +246,17 @@ export type Tests_Worker_Index_HandleRequest_Returns405ForUnsupportedMethods_Req
|
|
|
139
246
|
|
|
140
247
|
export type Tests_Worker_Index_HandleRequest_Returns405ForUnsupportedMethods_Response = Response;
|
|
141
248
|
|
|
249
|
+
/**
|
|
250
|
+
* Tests - Worker - Index - Handle Request - Routes A Localhost Request By Its Context Header.
|
|
251
|
+
*
|
|
252
|
+
* @since 2.3.0
|
|
253
|
+
*/
|
|
254
|
+
export type Tests_Worker_Index_HandleRequest_RoutesALocalhostRequestByItsContextHeader_Request = Request;
|
|
255
|
+
|
|
256
|
+
export type Tests_Worker_Index_HandleRequest_RoutesALocalhostRequestByItsContextHeader_Response = Response;
|
|
257
|
+
|
|
258
|
+
export type Tests_Worker_Index_HandleRequest_RoutesALocalhostRequestByItsContextHeader_Body = Record<string, unknown>;
|
|
259
|
+
|
|
142
260
|
/**
|
|
143
261
|
* Tests - Worker - Index - Handle Request - Sends Error Notification When Auth Fails And Error Topic Configured.
|
|
144
262
|
*
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tests - Worker - Interpreters - App Payload - Interpret App Payload - Builds A Notification From An Alert.
|
|
3
|
+
*
|
|
4
|
+
* @since 2.3.0
|
|
5
|
+
*/
|
|
6
|
+
export type Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_BuildsANotificationFromAnAlert_Result_Notification_Title = string | undefined;
|
|
7
|
+
|
|
8
|
+
export type Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_BuildsANotificationFromAnAlert_Result_Notification_Body = string;
|
|
9
|
+
|
|
10
|
+
export type Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_BuildsANotificationFromAnAlert_Result_Notification_Priority = 1 | 2 | 3 | 4 | 5 | undefined;
|
|
11
|
+
|
|
12
|
+
export type Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_BuildsANotificationFromAnAlert_Result_Notification_Tags = string[] | undefined;
|
|
13
|
+
|
|
14
|
+
export type Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_BuildsANotificationFromAnAlert_Result_Notification = {
|
|
15
|
+
title?: Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_BuildsANotificationFromAnAlert_Result_Notification_Title;
|
|
16
|
+
body: Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_BuildsANotificationFromAnAlert_Result_Notification_Body;
|
|
17
|
+
priority?: Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_BuildsANotificationFromAnAlert_Result_Notification_Priority;
|
|
18
|
+
tags?: Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_BuildsANotificationFromAnAlert_Result_Notification_Tags;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export type Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_BuildsANotificationFromAnAlert_Result = {
|
|
22
|
+
notification: Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_BuildsANotificationFromAnAlert_Result_Notification;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Tests - Worker - Interpreters - App Payload - Interpret App Payload - Names The Right Interpreter For An Alert From Another App.
|
|
27
|
+
*
|
|
28
|
+
* @since 2.3.0
|
|
29
|
+
*/
|
|
30
|
+
export type Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_NamesTheRightInterpreterForAnAlertFromAnotherApp_Alert = Record<string, unknown>;
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Tests - Worker - Interpreters - App Payload - Interpret App Payload - Reads A JSON String And An Array Buffer.
|
|
34
|
+
*
|
|
35
|
+
* @since 2.3.0
|
|
36
|
+
*/
|
|
37
|
+
export type Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_ReadsAJSONStringAndAnArrayBuffer_Payload = string;
|
|
38
|
+
|
|
39
|
+
export type Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_ReadsAJSONStringAndAnArrayBuffer_Bytes = Uint8Array;
|
|
40
|
+
|
|
41
|
+
export type Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_ReadsAJSONStringAndAnArrayBuffer_Buffer = ArrayBuffer;
|
|
42
|
+
|
|
43
|
+
export type Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_ReadsAJSONStringAndAnArrayBuffer_FromString_Notification_Title = string | undefined;
|
|
44
|
+
|
|
45
|
+
export type Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_ReadsAJSONStringAndAnArrayBuffer_FromString_Notification = {
|
|
46
|
+
title?: Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_ReadsAJSONStringAndAnArrayBuffer_FromString_Notification_Title;
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
export type Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_ReadsAJSONStringAndAnArrayBuffer_FromString = {
|
|
50
|
+
notification: Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_ReadsAJSONStringAndAnArrayBuffer_FromString_Notification;
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
export type Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_ReadsAJSONStringAndAnArrayBuffer_FromBuffer_Notification_Title = string | undefined;
|
|
54
|
+
|
|
55
|
+
export type Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_ReadsAJSONStringAndAnArrayBuffer_FromBuffer_Notification = {
|
|
56
|
+
title?: Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_ReadsAJSONStringAndAnArrayBuffer_FromBuffer_Notification_Title;
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
export type Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_ReadsAJSONStringAndAnArrayBuffer_FromBuffer = {
|
|
60
|
+
notification: Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_ReadsAJSONStringAndAnArrayBuffer_FromBuffer_Notification;
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Tests - Worker - Interpreters - App Payload - Interpret App Payload - Rejects An Unknown App Without Suggesting It As An Interpreter.
|
|
65
|
+
*
|
|
66
|
+
* @since 2.3.0
|
|
67
|
+
*/
|
|
68
|
+
export type Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_RejectsAnUnknownAppWithoutSuggestingItAsAnInterpreter_Alert = Record<string, unknown>;
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Tests - Worker - Interpreters - App Payload - Interpret App Payload - Rejects A Payload Of The Wrong Shape.
|
|
72
|
+
*
|
|
73
|
+
* @since 2.3.0
|
|
74
|
+
*/
|
|
75
|
+
export type Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_RejectsAPayloadOfTheWrongShape_Shapeless = Record<string, unknown>;
|
|
76
|
+
|
|
77
|
+
export type Tests_Worker_Interpreters_AppPayload_InterpretAppPayload_RejectsAPayloadOfTheWrongShape_FutureVersion = Record<string, unknown>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tests - Worker - Interpreters - Discord Stonker Bot - Discord Stonker Bot Interpreter - Reads A Job Failed Alert.
|
|
3
|
+
*
|
|
4
|
+
* @since 2.3.0
|
|
5
|
+
*/
|
|
6
|
+
export type Tests_Worker_Interpreters_DiscordStonkerBot_DiscordStonkerBotInterpreter_ReadsAJobFailedAlert_Result_Notification_Title = string | undefined;
|
|
7
|
+
|
|
8
|
+
export type Tests_Worker_Interpreters_DiscordStonkerBot_DiscordStonkerBotInterpreter_ReadsAJobFailedAlert_Result_Notification_Body = string;
|
|
9
|
+
|
|
10
|
+
export type Tests_Worker_Interpreters_DiscordStonkerBot_DiscordStonkerBotInterpreter_ReadsAJobFailedAlert_Result_Notification_Priority = 1 | 2 | 3 | 4 | 5 | undefined;
|
|
11
|
+
|
|
12
|
+
export type Tests_Worker_Interpreters_DiscordStonkerBot_DiscordStonkerBotInterpreter_ReadsAJobFailedAlert_Result_Notification_Tags = string[] | undefined;
|
|
13
|
+
|
|
14
|
+
export type Tests_Worker_Interpreters_DiscordStonkerBot_DiscordStonkerBotInterpreter_ReadsAJobFailedAlert_Result_Notification = {
|
|
15
|
+
title?: Tests_Worker_Interpreters_DiscordStonkerBot_DiscordStonkerBotInterpreter_ReadsAJobFailedAlert_Result_Notification_Title;
|
|
16
|
+
body: Tests_Worker_Interpreters_DiscordStonkerBot_DiscordStonkerBotInterpreter_ReadsAJobFailedAlert_Result_Notification_Body;
|
|
17
|
+
priority?: Tests_Worker_Interpreters_DiscordStonkerBot_DiscordStonkerBotInterpreter_ReadsAJobFailedAlert_Result_Notification_Priority;
|
|
18
|
+
tags?: Tests_Worker_Interpreters_DiscordStonkerBot_DiscordStonkerBotInterpreter_ReadsAJobFailedAlert_Result_Notification_Tags;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export type Tests_Worker_Interpreters_DiscordStonkerBot_DiscordStonkerBotInterpreter_ReadsAJobFailedAlert_Result = {
|
|
22
|
+
notification: Tests_Worker_Interpreters_DiscordStonkerBot_DiscordStonkerBotInterpreter_ReadsAJobFailedAlert_Result_Notification;
|
|
23
|
+
};
|