ntfy-reverse-proxy 2.0.4 → 2.1.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/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 +260 -94
- 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-integration.test.d.ts +99 -0
- package/build/src/types/tests/cli/menu/interactive.test.d.ts +275 -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 -203
- 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 +238 -202
- 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 +11 -9
- package/build/src/types/tests/type-declarations.test.d.ts +0 -173
- package/build/src/types/worker/pipeline/shared.d.ts +0 -85
|
@@ -3,43 +3,108 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @since 2.0.0
|
|
5
5
|
*/
|
|
6
|
-
export type
|
|
6
|
+
export type Tests_Cli_Commands_Server_TestConfigPathFragment = string;
|
|
7
7
|
|
|
8
|
-
export type
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
export type Tests_Cli_Commands_Server_TestConfigTmpDir = string;
|
|
9
|
+
|
|
10
|
+
export type Tests_Cli_Commands_Server_TestConfigPath = string;
|
|
11
|
+
|
|
12
|
+
export type Tests_Cli_Commands_Server_BaseConfigSettingsWorkerName = string;
|
|
13
|
+
|
|
14
|
+
export type Tests_Cli_Commands_Server_BaseConfigSettingsBaseDomain = string;
|
|
15
|
+
|
|
16
|
+
export type Tests_Cli_Commands_Server_BaseConfigSettingsShowResponseOutput = boolean;
|
|
17
|
+
|
|
18
|
+
export type Tests_Cli_Commands_Server_BaseConfigSettings = {
|
|
19
|
+
worker_name: Tests_Cli_Commands_Server_BaseConfigSettingsWorkerName;
|
|
20
|
+
base_domain: Tests_Cli_Commands_Server_BaseConfigSettingsBaseDomain;
|
|
21
|
+
show_response_output: Tests_Cli_Commands_Server_BaseConfigSettingsShowResponseOutput;
|
|
12
22
|
};
|
|
13
23
|
|
|
14
|
-
export type
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
24
|
+
export type Tests_Cli_Commands_Server_BaseConfigServers = never[];
|
|
25
|
+
|
|
26
|
+
export type Tests_Cli_Commands_Server_BaseConfigContexts = never[];
|
|
27
|
+
|
|
28
|
+
export type Tests_Cli_Commands_Server_BaseConfig = {
|
|
29
|
+
settings: Tests_Cli_Commands_Server_BaseConfigSettings;
|
|
30
|
+
servers: Tests_Cli_Commands_Server_BaseConfigServers;
|
|
31
|
+
contexts: Tests_Cli_Commands_Server_BaseConfigContexts;
|
|
18
32
|
};
|
|
19
33
|
|
|
20
|
-
|
|
34
|
+
/**
|
|
35
|
+
* Tests - CLI - Commands - Server - Server Commands.
|
|
36
|
+
*
|
|
37
|
+
* @since 2.0.0
|
|
38
|
+
*/
|
|
39
|
+
export type Tests_Cli_Commands_Server_ServerCommands_ConfigJson = string;
|
|
21
40
|
|
|
22
|
-
|
|
41
|
+
/**
|
|
42
|
+
* Tests - CLI - Commands - Server - Server Commands - Adds A Server To Config.
|
|
43
|
+
*
|
|
44
|
+
* @since 2.0.0
|
|
45
|
+
*/
|
|
46
|
+
export type Tests_Cli_Commands_Server_ServerCommands_AddsAServerToConfig_ConfigJson = string;
|
|
23
47
|
|
|
24
|
-
export type
|
|
48
|
+
export type Tests_Cli_Commands_Server_ServerCommands_AddsAServerToConfig_ConfigServerName = string;
|
|
25
49
|
|
|
26
|
-
export type
|
|
50
|
+
export type Tests_Cli_Commands_Server_ServerCommands_AddsAServerToConfig_ConfigServer = {
|
|
51
|
+
name: Tests_Cli_Commands_Server_ServerCommands_AddsAServerToConfig_ConfigServerName;
|
|
52
|
+
};
|
|
27
53
|
|
|
28
|
-
export type
|
|
54
|
+
export type Tests_Cli_Commands_Server_ServerCommands_AddsAServerToConfig_ConfigServers = Tests_Cli_Commands_Server_ServerCommands_AddsAServerToConfig_ConfigServer[];
|
|
29
55
|
|
|
30
|
-
export type
|
|
31
|
-
servers:
|
|
32
|
-
contexts: TestsCliCommandsServerParsedConfigContexts;
|
|
56
|
+
export type Tests_Cli_Commands_Server_ServerCommands_AddsAServerToConfig_Config = {
|
|
57
|
+
servers: Tests_Cli_Commands_Server_ServerCommands_AddsAServerToConfig_ConfigServers;
|
|
33
58
|
};
|
|
34
59
|
|
|
35
|
-
|
|
60
|
+
/**
|
|
61
|
+
* Tests - CLI - Commands - Server - Server Commands - Lists Servers.
|
|
62
|
+
*
|
|
63
|
+
* @since 2.0.0
|
|
64
|
+
*/
|
|
65
|
+
export type Tests_Cli_Commands_Server_ServerCommands_ListsServers_Servers = unknown[];
|
|
36
66
|
|
|
37
|
-
|
|
38
|
-
|
|
67
|
+
/**
|
|
68
|
+
* Tests - CLI - Commands - Server - Server Commands - Rejects Duplicate Server Names.
|
|
69
|
+
*
|
|
70
|
+
* @since 2.0.0
|
|
71
|
+
*/
|
|
72
|
+
export type Tests_Cli_Commands_Server_ServerCommands_RejectsDuplicateServerNames_DuplicateName = string;
|
|
73
|
+
|
|
74
|
+
export type Tests_Cli_Commands_Server_ServerCommands_RejectsDuplicateServerNames_DuplicateServer = string;
|
|
75
|
+
|
|
76
|
+
export type Tests_Cli_Commands_Server_ServerCommands_RejectsDuplicateServerNames_DuplicateToken = string;
|
|
77
|
+
|
|
78
|
+
export type Tests_Cli_Commands_Server_ServerCommands_RejectsDuplicateServerNames_Duplicate = {
|
|
79
|
+
name: Tests_Cli_Commands_Server_ServerCommands_RejectsDuplicateServerNames_DuplicateName;
|
|
80
|
+
server: Tests_Cli_Commands_Server_ServerCommands_RejectsDuplicateServerNames_DuplicateServer;
|
|
81
|
+
token: Tests_Cli_Commands_Server_ServerCommands_RejectsDuplicateServerNames_DuplicateToken;
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Tests - CLI - Commands - Server - Server Commands - Removes A Server.
|
|
86
|
+
*
|
|
87
|
+
* @since 2.0.0
|
|
88
|
+
*/
|
|
89
|
+
export type Tests_Cli_Commands_Server_ServerCommands_RemovesAServer_ConfigJson = string;
|
|
90
|
+
|
|
91
|
+
export type Tests_Cli_Commands_Server_ServerCommands_RemovesAServer_ConfigServers = unknown[];
|
|
92
|
+
|
|
93
|
+
export type Tests_Cli_Commands_Server_ServerCommands_RemovesAServer_Config = {
|
|
94
|
+
servers: Tests_Cli_Commands_Server_ServerCommands_RemovesAServer_ConfigServers;
|
|
39
95
|
};
|
|
40
96
|
|
|
41
|
-
|
|
97
|
+
/**
|
|
98
|
+
* Tests - CLI - Commands - Server - Server Commands - Warns When Removing A Server Referenced By Contexts.
|
|
99
|
+
*
|
|
100
|
+
* @since 2.0.0
|
|
101
|
+
*/
|
|
102
|
+
export type Tests_Cli_Commands_Server_ServerCommands_WarnsWhenRemovingAServerReferencedByContexts_ConfigJson = string;
|
|
103
|
+
|
|
104
|
+
export type Tests_Cli_Commands_Server_ServerCommands_WarnsWhenRemovingAServerReferencedByContexts_ConfigContexts = unknown[];
|
|
42
105
|
|
|
43
|
-
export type
|
|
106
|
+
export type Tests_Cli_Commands_Server_ServerCommands_WarnsWhenRemovingAServerReferencedByContexts_Config = {
|
|
107
|
+
contexts: Tests_Cli_Commands_Server_ServerCommands_WarnsWhenRemovingAServerReferencedByContexts_ConfigContexts;
|
|
108
|
+
};
|
|
44
109
|
|
|
45
|
-
export type
|
|
110
|
+
export type Tests_Cli_Commands_Server_ServerCommands_WarnsWhenRemovingAServerReferencedByContexts_UpdatedConfigJson = string;
|
|
@@ -3,38 +3,82 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @since 2.0.0
|
|
5
5
|
*/
|
|
6
|
-
export type
|
|
6
|
+
export type Tests_Cli_Commands_Settings_TestConfigPathFragment = string;
|
|
7
7
|
|
|
8
|
-
export type
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
export type Tests_Cli_Commands_Settings_TestConfigTmpDir = string;
|
|
9
|
+
|
|
10
|
+
export type Tests_Cli_Commands_Settings_TestConfigPath = string;
|
|
11
|
+
|
|
12
|
+
export type Tests_Cli_Commands_Settings_BaseConfigSettingsWorkerName = string;
|
|
13
|
+
|
|
14
|
+
export type Tests_Cli_Commands_Settings_BaseConfigSettingsBaseDomain = string;
|
|
15
|
+
|
|
16
|
+
export type Tests_Cli_Commands_Settings_BaseConfigSettingsShowResponseOutput = boolean;
|
|
17
|
+
|
|
18
|
+
export type Tests_Cli_Commands_Settings_BaseConfigSettings = {
|
|
19
|
+
worker_name: Tests_Cli_Commands_Settings_BaseConfigSettingsWorkerName;
|
|
20
|
+
base_domain: Tests_Cli_Commands_Settings_BaseConfigSettingsBaseDomain;
|
|
21
|
+
show_response_output: Tests_Cli_Commands_Settings_BaseConfigSettingsShowResponseOutput;
|
|
12
22
|
};
|
|
13
23
|
|
|
14
|
-
export type
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
24
|
+
export type Tests_Cli_Commands_Settings_BaseConfigServers = never[];
|
|
25
|
+
|
|
26
|
+
export type Tests_Cli_Commands_Settings_BaseConfigContexts = never[];
|
|
27
|
+
|
|
28
|
+
export type Tests_Cli_Commands_Settings_BaseConfig = {
|
|
29
|
+
settings: Tests_Cli_Commands_Settings_BaseConfigSettings;
|
|
30
|
+
servers: Tests_Cli_Commands_Settings_BaseConfigServers;
|
|
31
|
+
contexts: Tests_Cli_Commands_Settings_BaseConfigContexts;
|
|
18
32
|
};
|
|
19
33
|
|
|
20
|
-
|
|
34
|
+
/**
|
|
35
|
+
* Tests - CLI - Commands - Settings - Settings Commands.
|
|
36
|
+
*
|
|
37
|
+
* @since 2.0.0
|
|
38
|
+
*/
|
|
39
|
+
export type Tests_Cli_Commands_Settings_SettingsCommands_ConfigJson = string;
|
|
21
40
|
|
|
22
|
-
|
|
41
|
+
/**
|
|
42
|
+
* Tests - CLI - Commands - Settings - Settings Commands - Reads Current Settings.
|
|
43
|
+
*
|
|
44
|
+
* @since 2.0.0
|
|
45
|
+
*/
|
|
46
|
+
export type Tests_Cli_Commands_Settings_SettingsCommands_ReadsCurrentSettings_SettingsBaseDomain = string;
|
|
23
47
|
|
|
24
|
-
export type
|
|
48
|
+
export type Tests_Cli_Commands_Settings_SettingsCommands_ReadsCurrentSettings_Settings = {
|
|
49
|
+
base_domain: Tests_Cli_Commands_Settings_SettingsCommands_ReadsCurrentSettings_SettingsBaseDomain;
|
|
50
|
+
};
|
|
25
51
|
|
|
26
|
-
|
|
52
|
+
/**
|
|
53
|
+
* Tests - CLI - Commands - Settings - Settings Commands - Toggles Show Response Output.
|
|
54
|
+
*
|
|
55
|
+
* @since 2.0.0
|
|
56
|
+
*/
|
|
57
|
+
export type Tests_Cli_Commands_Settings_SettingsCommands_TogglesShowResponseOutput_ConfigJson = string;
|
|
58
|
+
|
|
59
|
+
export type Tests_Cli_Commands_Settings_SettingsCommands_TogglesShowResponseOutput_ConfigSettingsShowResponseOutput = boolean;
|
|
27
60
|
|
|
28
|
-
export type
|
|
61
|
+
export type Tests_Cli_Commands_Settings_SettingsCommands_TogglesShowResponseOutput_ConfigSettings = {
|
|
62
|
+
show_response_output: Tests_Cli_Commands_Settings_SettingsCommands_TogglesShowResponseOutput_ConfigSettingsShowResponseOutput;
|
|
63
|
+
};
|
|
29
64
|
|
|
30
|
-
export type
|
|
31
|
-
|
|
32
|
-
base_domain: string;
|
|
33
|
-
show_response_output: boolean;
|
|
65
|
+
export type Tests_Cli_Commands_Settings_SettingsCommands_TogglesShowResponseOutput_Config = {
|
|
66
|
+
settings: Tests_Cli_Commands_Settings_SettingsCommands_TogglesShowResponseOutput_ConfigSettings;
|
|
34
67
|
};
|
|
35
68
|
|
|
36
|
-
|
|
69
|
+
/**
|
|
70
|
+
* Tests - CLI - Commands - Settings - Settings Commands - Updates Base Domain.
|
|
71
|
+
*
|
|
72
|
+
* @since 2.0.0
|
|
73
|
+
*/
|
|
74
|
+
export type Tests_Cli_Commands_Settings_SettingsCommands_UpdatesBaseDomain_ConfigJson = string;
|
|
75
|
+
|
|
76
|
+
export type Tests_Cli_Commands_Settings_SettingsCommands_UpdatesBaseDomain_ConfigSettingsBaseDomain = string;
|
|
77
|
+
|
|
78
|
+
export type Tests_Cli_Commands_Settings_SettingsCommands_UpdatesBaseDomain_ConfigSettings = {
|
|
79
|
+
base_domain: Tests_Cli_Commands_Settings_SettingsCommands_UpdatesBaseDomain_ConfigSettingsBaseDomain;
|
|
80
|
+
};
|
|
37
81
|
|
|
38
|
-
export type
|
|
39
|
-
settings:
|
|
82
|
+
export type Tests_Cli_Commands_Settings_SettingsCommands_UpdatesBaseDomain_Config = {
|
|
83
|
+
settings: Tests_Cli_Commands_Settings_SettingsCommands_UpdatesBaseDomain_ConfigSettings;
|
|
40
84
|
};
|
|
@@ -3,17 +3,78 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @since 2.0.0
|
|
5
5
|
*/
|
|
6
|
-
export type
|
|
6
|
+
export type Tests_Cli_Commands_Validate_TestConfigPathFragment = string;
|
|
7
7
|
|
|
8
|
-
export type
|
|
8
|
+
export type Tests_Cli_Commands_Validate_TestConfigTmpDir = string;
|
|
9
9
|
|
|
10
|
-
export type
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
export type Tests_Cli_Commands_Validate_TestConfigPath = string;
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Tests - CLI - Commands - Validate - Validate Command - Detects Duplicate Ids.
|
|
14
|
+
*
|
|
15
|
+
* @since 2.0.0
|
|
16
|
+
*/
|
|
17
|
+
export type Tests_Cli_Commands_Validate_ValidateCommand_DetectsDuplicateIds_ConfigJson = string;
|
|
18
|
+
|
|
19
|
+
export type Tests_Cli_Commands_Validate_ValidateCommand_DetectsDuplicateIds_ResultValid = boolean;
|
|
20
|
+
|
|
21
|
+
export type Tests_Cli_Commands_Validate_ValidateCommand_DetectsDuplicateIds_ResultErrors = string[];
|
|
22
|
+
|
|
23
|
+
export type Tests_Cli_Commands_Validate_ValidateCommand_DetectsDuplicateIds_Result = {
|
|
24
|
+
valid: Tests_Cli_Commands_Validate_ValidateCommand_DetectsDuplicateIds_ResultValid;
|
|
25
|
+
errors: Tests_Cli_Commands_Validate_ValidateCommand_DetectsDuplicateIds_ResultErrors;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export type Tests_Cli_Commands_Validate_ValidateCommand_DetectsDuplicateIds_HasMatch = boolean;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Tests - CLI - Commands - Validate - Validate Command - Detects Orphaned Server References.
|
|
32
|
+
*
|
|
33
|
+
* @since 2.0.0
|
|
34
|
+
*/
|
|
35
|
+
export type Tests_Cli_Commands_Validate_ValidateCommand_DetectsOrphanedServerReferences_ConfigJson = string;
|
|
36
|
+
|
|
37
|
+
export type Tests_Cli_Commands_Validate_ValidateCommand_DetectsOrphanedServerReferences_ResultValid = boolean;
|
|
38
|
+
|
|
39
|
+
export type Tests_Cli_Commands_Validate_ValidateCommand_DetectsOrphanedServerReferences_ResultErrors = string[];
|
|
40
|
+
|
|
41
|
+
export type Tests_Cli_Commands_Validate_ValidateCommand_DetectsOrphanedServerReferences_Result = {
|
|
42
|
+
valid: Tests_Cli_Commands_Validate_ValidateCommand_DetectsOrphanedServerReferences_ResultValid;
|
|
43
|
+
errors: Tests_Cli_Commands_Validate_ValidateCommand_DetectsOrphanedServerReferences_ResultErrors;
|
|
13
44
|
};
|
|
14
45
|
|
|
15
|
-
export type
|
|
46
|
+
export type Tests_Cli_Commands_Validate_ValidateCommand_DetectsOrphanedServerReferences_HasMatch = boolean;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Tests - CLI - Commands - Validate - Validate Command - Detects Primary Server Not In Context Servers List.
|
|
50
|
+
*
|
|
51
|
+
* @since 2.1.0
|
|
52
|
+
*/
|
|
53
|
+
export type Tests_Cli_Commands_Validate_ValidateCommand_DetectsPrimaryServerNotInContextServersList_ConfigJson = string;
|
|
54
|
+
|
|
55
|
+
export type Tests_Cli_Commands_Validate_ValidateCommand_DetectsPrimaryServerNotInContextServersList_ResultValid = boolean;
|
|
56
|
+
|
|
57
|
+
export type Tests_Cli_Commands_Validate_ValidateCommand_DetectsPrimaryServerNotInContextServersList_ResultErrors = string[];
|
|
58
|
+
|
|
59
|
+
export type Tests_Cli_Commands_Validate_ValidateCommand_DetectsPrimaryServerNotInContextServersList_Result = {
|
|
60
|
+
valid: Tests_Cli_Commands_Validate_ValidateCommand_DetectsPrimaryServerNotInContextServersList_ResultValid;
|
|
61
|
+
errors: Tests_Cli_Commands_Validate_ValidateCommand_DetectsPrimaryServerNotInContextServersList_ResultErrors;
|
|
62
|
+
};
|
|
16
63
|
|
|
17
|
-
export type
|
|
64
|
+
export type Tests_Cli_Commands_Validate_ValidateCommand_DetectsPrimaryServerNotInContextServersList_HasMatch = boolean;
|
|
18
65
|
|
|
19
|
-
|
|
66
|
+
/**
|
|
67
|
+
* Tests - CLI - Commands - Validate - Validate Command - Passes Valid Config.
|
|
68
|
+
*
|
|
69
|
+
* @since 2.0.0
|
|
70
|
+
*/
|
|
71
|
+
export type Tests_Cli_Commands_Validate_ValidateCommand_PassesValidConfig_ConfigJson = string;
|
|
72
|
+
|
|
73
|
+
export type Tests_Cli_Commands_Validate_ValidateCommand_PassesValidConfig_ResultValid = boolean;
|
|
74
|
+
|
|
75
|
+
export type Tests_Cli_Commands_Validate_ValidateCommand_PassesValidConfig_ResultErrors = string[];
|
|
76
|
+
|
|
77
|
+
export type Tests_Cli_Commands_Validate_ValidateCommand_PassesValidConfig_Result = {
|
|
78
|
+
valid: Tests_Cli_Commands_Validate_ValidateCommand_PassesValidConfig_ResultValid;
|
|
79
|
+
errors: Tests_Cli_Commands_Validate_ValidateCommand_PassesValidConfig_ResultErrors;
|
|
80
|
+
};
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import type { IDisposable, IPty } from 'node-pty';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Tests - CLI - Menu - Interactive Integration - tsxBin.
|
|
5
|
+
*
|
|
6
|
+
* @since 2.1.1
|
|
7
|
+
*/
|
|
8
|
+
export type Tests_Cli_Menu_InteractiveIntegration_TsxBin = string;
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Tests - CLI - Menu - Interactive Integration - interactiveMenu (integration).
|
|
12
|
+
*
|
|
13
|
+
* @since 2.1.1
|
|
14
|
+
*/
|
|
15
|
+
export type Tests_Cli_Menu_InteractiveIntegration_InteractiveMenuIntegration_TempDir = string | undefined;
|
|
16
|
+
|
|
17
|
+
export type Tests_Cli_Menu_InteractiveIntegration_InteractiveMenuIntegration_OsTmpDir = string;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Tests - CLI - Menu - Interactive Integration - interactiveMenu (integration) - should exit cleanly on Ctrl+C at config dir selection.
|
|
21
|
+
*
|
|
22
|
+
* @since 2.1.1
|
|
23
|
+
*/
|
|
24
|
+
export type Tests_Cli_Menu_InteractiveIntegration_InteractiveMenuIntegration_ShouldExitCleanlyOnCtrlCAtConfigDirSelection_SubDir = string;
|
|
25
|
+
|
|
26
|
+
export type Tests_Cli_Menu_InteractiveIntegration_InteractiveMenuIntegration_ShouldExitCleanlyOnCtrlCAtConfigDirSelection_CliPath = string;
|
|
27
|
+
|
|
28
|
+
export type Tests_Cli_Menu_InteractiveIntegration_InteractiveMenuIntegration_ShouldExitCleanlyOnCtrlCAtConfigDirSelection_Term = IPty;
|
|
29
|
+
|
|
30
|
+
export type Tests_Cli_Menu_InteractiveIntegration_InteractiveMenuIntegration_ShouldExitCleanlyOnCtrlCAtConfigDirSelection_ExitCode = number;
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Tests - CLI - Menu - Interactive Integration - interactiveMenu (integration) - should exit cleanly on Ctrl+C at main menu.
|
|
34
|
+
*
|
|
35
|
+
* @since 2.1.1
|
|
36
|
+
*/
|
|
37
|
+
export type Tests_Cli_Menu_InteractiveIntegration_InteractiveMenuIntegration_ShouldExitCleanlyOnCtrlCAtMainMenu_CliPath = string;
|
|
38
|
+
|
|
39
|
+
export type Tests_Cli_Menu_InteractiveIntegration_InteractiveMenuIntegration_ShouldExitCleanlyOnCtrlCAtMainMenu_Term = IPty;
|
|
40
|
+
|
|
41
|
+
export type Tests_Cli_Menu_InteractiveIntegration_InteractiveMenuIntegration_ShouldExitCleanlyOnCtrlCAtMainMenu_ExitCode = number;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Tests - CLI - Menu - Interactive Integration - interactiveMenu (integration) - should exit cleanly when selecting Exit.
|
|
45
|
+
*
|
|
46
|
+
* @since 2.1.1
|
|
47
|
+
*/
|
|
48
|
+
export type Tests_Cli_Menu_InteractiveIntegration_InteractiveMenuIntegration_ShouldExitCleanlyWhenSelectingExit_CliPath = string;
|
|
49
|
+
|
|
50
|
+
export type Tests_Cli_Menu_InteractiveIntegration_InteractiveMenuIntegration_ShouldExitCleanlyWhenSelectingExit_Term = IPty;
|
|
51
|
+
|
|
52
|
+
export type Tests_Cli_Menu_InteractiveIntegration_InteractiveMenuIntegration_ShouldExitCleanlyWhenSelectingExit_ExitCode = number;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Tests - CLI - Menu - Interactive Integration - resolveTsxCli.
|
|
56
|
+
*
|
|
57
|
+
* @since 2.1.1
|
|
58
|
+
*/
|
|
59
|
+
export type Tests_Cli_Menu_InteractiveIntegration_ResolveTsxCli_Returns = string;
|
|
60
|
+
|
|
61
|
+
export type Tests_Cli_Menu_InteractiveIntegration_ResolveTsxCli_CurrentDir = string;
|
|
62
|
+
|
|
63
|
+
export type Tests_Cli_Menu_InteractiveIntegration_ResolveTsxCli_Dir = string;
|
|
64
|
+
|
|
65
|
+
export type Tests_Cli_Menu_InteractiveIntegration_ResolveTsxCli_TsxCli = string;
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Tests - CLI - Menu - Interactive Integration - waitFor.
|
|
69
|
+
*
|
|
70
|
+
* @since 2.1.1
|
|
71
|
+
*/
|
|
72
|
+
export type Tests_Cli_Menu_InteractiveIntegration_WaitFor_Term = IPty;
|
|
73
|
+
|
|
74
|
+
export type Tests_Cli_Menu_InteractiveIntegration_WaitFor_Pattern = string;
|
|
75
|
+
|
|
76
|
+
export type Tests_Cli_Menu_InteractiveIntegration_WaitFor_TimeoutMs = number;
|
|
77
|
+
|
|
78
|
+
export type Tests_Cli_Menu_InteractiveIntegration_WaitFor_Returns = Promise<string>;
|
|
79
|
+
|
|
80
|
+
export type Tests_Cli_Menu_InteractiveIntegration_WaitFor_Buffer = string;
|
|
81
|
+
|
|
82
|
+
export type Tests_Cli_Menu_InteractiveIntegration_WaitFor_Timer = ReturnType<typeof setTimeout> | undefined;
|
|
83
|
+
|
|
84
|
+
export type Tests_Cli_Menu_InteractiveIntegration_WaitFor_Disposable = IDisposable;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Tests - CLI - Menu - Interactive Integration - waitForExit.
|
|
88
|
+
*
|
|
89
|
+
* @since 2.1.1
|
|
90
|
+
*/
|
|
91
|
+
export type Tests_Cli_Menu_InteractiveIntegration_WaitForExit_Term = IPty;
|
|
92
|
+
|
|
93
|
+
export type Tests_Cli_Menu_InteractiveIntegration_WaitForExit_TimeoutMs = number;
|
|
94
|
+
|
|
95
|
+
export type Tests_Cli_Menu_InteractiveIntegration_WaitForExit_Returns = Promise<number>;
|
|
96
|
+
|
|
97
|
+
export type Tests_Cli_Menu_InteractiveIntegration_WaitForExit_Timer = ReturnType<typeof setTimeout> | undefined;
|
|
98
|
+
|
|
99
|
+
export type Tests_Cli_Menu_InteractiveIntegration_WaitForExit_Disposable = IDisposable;
|