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.
Files changed (193) hide show
  1. package/LICENSE +22 -0
  2. package/README.md +10 -0
  3. package/build/src/cli/commands/config-io.d.ts +3 -3
  4. package/build/src/cli/commands/config-io.d.ts.map +1 -1
  5. package/build/src/cli/commands/config-io.js +1 -1
  6. package/build/src/cli/commands/config-io.js.map +1 -1
  7. package/build/src/cli/commands/context.d.ts +7 -7
  8. package/build/src/cli/commands/context.d.ts.map +1 -1
  9. package/build/src/cli/commands/context.js +1 -1
  10. package/build/src/cli/commands/context.js.map +1 -1
  11. package/build/src/cli/commands/deploy.d.ts +2 -2
  12. package/build/src/cli/commands/deploy.d.ts.map +1 -1
  13. package/build/src/cli/commands/deploy.js +72 -30
  14. package/build/src/cli/commands/deploy.js.map +1 -1
  15. package/build/src/cli/commands/generate.d.ts +2 -2
  16. package/build/src/cli/commands/generate.d.ts.map +1 -1
  17. package/build/src/cli/commands/generate.js +3 -3
  18. package/build/src/cli/commands/generate.js.map +1 -1
  19. package/build/src/cli/commands/server.d.ts +5 -5
  20. package/build/src/cli/commands/server.d.ts.map +1 -1
  21. package/build/src/cli/commands/server.js.map +1 -1
  22. package/build/src/cli/commands/settings.d.ts +3 -3
  23. package/build/src/cli/commands/settings.d.ts.map +1 -1
  24. package/build/src/cli/commands/settings.js.map +1 -1
  25. package/build/src/cli/commands/validate.d.ts +2 -2
  26. package/build/src/cli/commands/validate.d.ts.map +1 -1
  27. package/build/src/cli/commands/validate.js +3 -0
  28. package/build/src/cli/commands/validate.js.map +1 -1
  29. package/build/src/cli/index.d.ts +2 -2
  30. package/build/src/cli/index.d.ts.map +1 -1
  31. package/build/src/cli/index.js +4 -4
  32. package/build/src/cli/index.js.map +1 -1
  33. package/build/src/cli/menu/interactive.d.ts +2 -2
  34. package/build/src/cli/menu/interactive.d.ts.map +1 -1
  35. package/build/src/cli/menu/interactive.js +260 -94
  36. package/build/src/cli/menu/interactive.js.map +1 -1
  37. package/build/src/lib/regex.d.ts +4 -1
  38. package/build/src/lib/regex.d.ts.map +1 -1
  39. package/build/src/lib/regex.js +4 -1
  40. package/build/src/lib/regex.js.map +1 -1
  41. package/build/src/lib/schema.d.ts +24 -0
  42. package/build/src/lib/schema.d.ts.map +1 -1
  43. package/build/src/lib/schema.js +11 -2
  44. package/build/src/lib/schema.js.map +1 -1
  45. package/build/src/lib/utility.d.ts +2 -2
  46. package/build/src/lib/utility.d.ts.map +1 -1
  47. package/build/src/lib/utility.js +1 -1
  48. package/build/src/lib/utility.js.map +1 -1
  49. package/build/src/types/cli/commands/config-io.d.ts +12 -12
  50. package/build/src/types/cli/commands/context.d.ts +96 -58
  51. package/build/src/types/cli/commands/deploy.d.ts +342 -298
  52. package/build/src/types/cli/commands/generate.d.ts +40 -24
  53. package/build/src/types/cli/commands/server.d.ts +23 -23
  54. package/build/src/types/cli/commands/settings.d.ts +8 -8
  55. package/build/src/types/cli/commands/validate.d.ts +16 -16
  56. package/build/src/types/cli/index.d.ts +16 -20
  57. package/build/src/types/cli/menu/interactive.d.ts +233 -178
  58. package/build/src/types/lib/schema.d.ts +89 -81
  59. package/build/src/types/lib/utility.d.ts +4 -2
  60. package/build/src/types/shared.d.ts +85 -0
  61. package/build/src/types/tests/cli/commands/context.test.d.ts +102 -31
  62. package/build/src/types/tests/cli/commands/generate.test.d.ts +50 -4
  63. package/build/src/types/tests/cli/commands/server.test.d.ts +88 -23
  64. package/build/src/types/tests/cli/commands/settings.test.d.ts +65 -21
  65. package/build/src/types/tests/cli/commands/validate.test.d.ts +69 -8
  66. package/build/src/types/tests/cli/menu/interactive-integration.test.d.ts +99 -0
  67. package/build/src/types/tests/cli/menu/interactive.test.d.ts +275 -2
  68. package/build/src/types/tests/lib/schema.test.d.ts +258 -3
  69. package/build/src/types/tests/worker/index.test.d.ts +166 -8
  70. package/build/src/types/tests/worker/interpreters/ntfy-json.test.d.ts +94 -10
  71. package/build/src/types/tests/worker/interpreters/pfsense.test.d.ts +163 -4
  72. package/build/src/types/tests/worker/interpreters/plain-text.test.d.ts +67 -4
  73. package/build/src/types/tests/worker/interpreters/seerr.test.d.ts +138 -3
  74. package/build/src/types/tests/worker/interpreters/statuspage.test.d.ts +235 -30
  75. package/build/src/types/tests/worker/interpreters/synology.test.d.ts +61 -3
  76. package/build/src/types/tests/worker/interpreters/unifi.test.d.ts +93 -3
  77. package/build/src/types/tests/worker/landing/page.test.d.ts +73 -50
  78. package/build/src/types/tests/worker/pipeline/accumulate.test.d.ts +226 -15
  79. package/build/src/types/tests/worker/pipeline/authenticate.test.d.ts +148 -4
  80. package/build/src/types/tests/worker/pipeline/email.test.d.ts +82 -8
  81. package/build/src/types/tests/worker/pipeline/format.test.d.ts +112 -32
  82. package/build/src/types/tests/worker/pipeline/interpret.test.d.ts +109 -17
  83. package/build/src/types/tests/worker/pipeline/parse.test.d.ts +70 -5
  84. package/build/src/types/tests/worker/pipeline/receive.test.d.ts +156 -15
  85. package/build/src/types/tests/worker/pipeline/respond.test.d.ts +129 -10
  86. package/build/src/types/tests/worker/pipeline/route.test.d.ts +412 -74
  87. package/build/src/types/tests/worker/pipeline/send.test.d.ts +58 -23
  88. package/build/src/types/tests/worker/pipeline/split.test.d.ts +47 -9
  89. package/build/src/types/worker/handlers.d.ts +193 -0
  90. package/build/src/types/worker/index.d.ts +58 -203
  91. package/build/src/types/worker/interpreters/ntfy-json.d.ts +10 -10
  92. package/build/src/types/worker/interpreters/pfsense.d.ts +57 -49
  93. package/build/src/types/worker/interpreters/plain-text.d.ts +7 -7
  94. package/build/src/types/worker/interpreters/seerr.d.ts +63 -61
  95. package/build/src/types/worker/interpreters/statuspage.d.ts +201 -116
  96. package/build/src/types/worker/interpreters/synology.d.ts +48 -46
  97. package/build/src/types/worker/interpreters/unifi.d.ts +79 -54
  98. package/build/src/types/worker/landing/page.d.ts +30 -23
  99. package/build/src/types/worker/pipeline/accumulate.d.ts +46 -32
  100. package/build/src/types/worker/pipeline/authenticate.d.ts +94 -34
  101. package/build/src/types/worker/pipeline/email.d.ts +114 -50
  102. package/build/src/types/worker/pipeline/format.d.ts +31 -23
  103. package/build/src/types/worker/pipeline/interpret.d.ts +34 -34
  104. package/build/src/types/worker/pipeline/parse.d.ts +25 -19
  105. package/build/src/types/worker/pipeline/receive.d.ts +36 -34
  106. package/build/src/types/worker/pipeline/respond.d.ts +119 -63
  107. package/build/src/types/worker/pipeline/route.d.ts +33 -16
  108. package/build/src/types/worker/pipeline/send.d.ts +116 -79
  109. package/build/src/types/worker/pipeline/split.d.ts +21 -16
  110. package/build/src/worker/handlers.d.ts +5 -4
  111. package/build/src/worker/handlers.d.ts.map +1 -1
  112. package/build/src/worker/handlers.js +238 -202
  113. package/build/src/worker/handlers.js.map +1 -1
  114. package/build/src/worker/index.d.ts +2 -2
  115. package/build/src/worker/index.d.ts.map +1 -1
  116. package/build/src/worker/index.js +37 -9
  117. package/build/src/worker/index.js.map +1 -1
  118. package/build/src/worker/interpreters/ntfy-json.d.ts +2 -2
  119. package/build/src/worker/interpreters/ntfy-json.d.ts.map +1 -1
  120. package/build/src/worker/interpreters/ntfy-json.js.map +1 -1
  121. package/build/src/worker/interpreters/pfsense.d.ts +2 -2
  122. package/build/src/worker/interpreters/pfsense.d.ts.map +1 -1
  123. package/build/src/worker/interpreters/pfsense.js +20 -27
  124. package/build/src/worker/interpreters/pfsense.js.map +1 -1
  125. package/build/src/worker/interpreters/plain-text.d.ts +2 -2
  126. package/build/src/worker/interpreters/plain-text.d.ts.map +1 -1
  127. package/build/src/worker/interpreters/plain-text.js.map +1 -1
  128. package/build/src/worker/interpreters/seerr.d.ts +2 -2
  129. package/build/src/worker/interpreters/seerr.d.ts.map +1 -1
  130. package/build/src/worker/interpreters/seerr.js +16 -12
  131. package/build/src/worker/interpreters/seerr.js.map +1 -1
  132. package/build/src/worker/interpreters/statuspage.d.ts +2 -2
  133. package/build/src/worker/interpreters/statuspage.d.ts.map +1 -1
  134. package/build/src/worker/interpreters/statuspage.js +98 -47
  135. package/build/src/worker/interpreters/statuspage.js.map +1 -1
  136. package/build/src/worker/interpreters/synology.d.ts +2 -2
  137. package/build/src/worker/interpreters/synology.d.ts.map +1 -1
  138. package/build/src/worker/interpreters/synology.js +9 -5
  139. package/build/src/worker/interpreters/synology.js.map +1 -1
  140. package/build/src/worker/interpreters/unifi.d.ts +2 -2
  141. package/build/src/worker/interpreters/unifi.d.ts.map +1 -1
  142. package/build/src/worker/interpreters/unifi.js +34 -20
  143. package/build/src/worker/interpreters/unifi.js.map +1 -1
  144. package/build/src/worker/landing/page.d.ts +2 -2
  145. package/build/src/worker/landing/page.d.ts.map +1 -1
  146. package/build/src/worker/landing/page.js +4 -3
  147. package/build/src/worker/landing/page.js.map +1 -1
  148. package/build/src/worker/pipeline/accumulate.d.ts +5 -6
  149. package/build/src/worker/pipeline/accumulate.d.ts.map +1 -1
  150. package/build/src/worker/pipeline/accumulate.js +4 -11
  151. package/build/src/worker/pipeline/accumulate.js.map +1 -1
  152. package/build/src/worker/pipeline/authenticate.d.ts +2 -2
  153. package/build/src/worker/pipeline/authenticate.d.ts.map +1 -1
  154. package/build/src/worker/pipeline/authenticate.js +25 -7
  155. package/build/src/worker/pipeline/authenticate.js.map +1 -1
  156. package/build/src/worker/pipeline/email.d.ts +2 -2
  157. package/build/src/worker/pipeline/email.d.ts.map +1 -1
  158. package/build/src/worker/pipeline/email.js +34 -11
  159. package/build/src/worker/pipeline/email.js.map +1 -1
  160. package/build/src/worker/pipeline/format.d.ts +2 -3
  161. package/build/src/worker/pipeline/format.d.ts.map +1 -1
  162. package/build/src/worker/pipeline/format.js +2 -1
  163. package/build/src/worker/pipeline/format.js.map +1 -1
  164. package/build/src/worker/pipeline/interpret.d.ts +4 -3
  165. package/build/src/worker/pipeline/interpret.d.ts.map +1 -1
  166. package/build/src/worker/pipeline/interpret.js +7 -7
  167. package/build/src/worker/pipeline/interpret.js.map +1 -1
  168. package/build/src/worker/pipeline/parse.d.ts +2 -2
  169. package/build/src/worker/pipeline/parse.d.ts.map +1 -1
  170. package/build/src/worker/pipeline/parse.js +14 -7
  171. package/build/src/worker/pipeline/parse.js.map +1 -1
  172. package/build/src/worker/pipeline/receive.d.ts +2 -2
  173. package/build/src/worker/pipeline/receive.d.ts.map +1 -1
  174. package/build/src/worker/pipeline/receive.js +6 -6
  175. package/build/src/worker/pipeline/receive.js.map +1 -1
  176. package/build/src/worker/pipeline/respond.d.ts +2 -2
  177. package/build/src/worker/pipeline/respond.d.ts.map +1 -1
  178. package/build/src/worker/pipeline/respond.js +1 -1
  179. package/build/src/worker/pipeline/respond.js.map +1 -1
  180. package/build/src/worker/pipeline/route.d.ts +2 -3
  181. package/build/src/worker/pipeline/route.d.ts.map +1 -1
  182. package/build/src/worker/pipeline/route.js.map +1 -1
  183. package/build/src/worker/pipeline/send.d.ts +2 -2
  184. package/build/src/worker/pipeline/send.d.ts.map +1 -1
  185. package/build/src/worker/pipeline/send.js +80 -41
  186. package/build/src/worker/pipeline/send.js.map +1 -1
  187. package/build/src/worker/pipeline/split.d.ts +2 -2
  188. package/build/src/worker/pipeline/split.d.ts.map +1 -1
  189. package/build/src/worker/pipeline/split.js +4 -2
  190. package/build/src/worker/pipeline/split.js.map +1 -1
  191. package/package.json +11 -9
  192. package/build/src/types/tests/type-declarations.test.d.ts +0 -173
  193. 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 TestsCliCommandsServerTestConfigPath = string;
6
+ export type Tests_Cli_Commands_Server_TestConfigPathFragment = string;
7
7
 
8
- export type TestsCliCommandsServerBaseConfig = {
9
- settings: TestsCliCommandsServerBaseConfigSettings;
10
- servers: TestsCliCommandsServerBaseConfigServers;
11
- contexts: TestsCliCommandsServerBaseConfigContexts;
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 TestsCliCommandsServerBaseConfigSettings = {
15
- worker_name: TestsCliCommandsServerBaseConfigSettingsWorkerName;
16
- base_domain: TestsCliCommandsServerBaseConfigSettingsBaseDomain;
17
- show_response_output: TestsCliCommandsServerBaseConfigSettingsShowResponseOutput;
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
- export type TestsCliCommandsServerBaseConfigSettingsWorkerName = string;
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
- export type TestsCliCommandsServerBaseConfigSettingsBaseDomain = string;
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 TestsCliCommandsServerBaseConfigSettingsShowResponseOutput = boolean;
48
+ export type Tests_Cli_Commands_Server_ServerCommands_AddsAServerToConfig_ConfigServerName = string;
25
49
 
26
- export type TestsCliCommandsServerBaseConfigServers = never[];
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 TestsCliCommandsServerBaseConfigContexts = never[];
54
+ export type Tests_Cli_Commands_Server_ServerCommands_AddsAServerToConfig_ConfigServers = Tests_Cli_Commands_Server_ServerCommands_AddsAServerToConfig_ConfigServer[];
29
55
 
30
- export type TestsCliCommandsServerParsedConfig = {
31
- servers: TestsCliCommandsServerParsedConfigServers;
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
- export type TestsCliCommandsServerParsedConfigServers = TestsCliCommandsServerParsedConfigServer[];
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
- export type TestsCliCommandsServerParsedConfigServer = {
38
- name: string;
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
- export type TestsCliCommandsServerParsedConfigContexts = TestsCliCommandsServerParsedConfigContextsList;
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 TestsCliCommandsServerParsedConfigContextsList = unknown[];
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 TestsCliCommandsServerServerList = unknown[];
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 TestsCliCommandsSettingsTestConfigPath = string;
6
+ export type Tests_Cli_Commands_Settings_TestConfigPathFragment = string;
7
7
 
8
- export type TestsCliCommandsSettingsBaseConfig = {
9
- settings: TestsCliCommandsSettingsBaseConfigSettings;
10
- servers: TestsCliCommandsSettingsBaseConfigServers;
11
- contexts: TestsCliCommandsSettingsBaseConfigContexts;
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 TestsCliCommandsSettingsBaseConfigSettings = {
15
- worker_name: TestsCliCommandsSettingsBaseConfigSettingsWorkerName;
16
- base_domain: TestsCliCommandsSettingsBaseConfigSettingsBaseDomain;
17
- show_response_output: TestsCliCommandsSettingsBaseConfigSettingsShowResponseOutput;
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
- export type TestsCliCommandsSettingsBaseConfigSettingsWorkerName = string;
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
- export type TestsCliCommandsSettingsBaseConfigSettingsBaseDomain = string;
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 TestsCliCommandsSettingsBaseConfigSettingsShowResponseOutput = boolean;
48
+ export type Tests_Cli_Commands_Settings_SettingsCommands_ReadsCurrentSettings_Settings = {
49
+ base_domain: Tests_Cli_Commands_Settings_SettingsCommands_ReadsCurrentSettings_SettingsBaseDomain;
50
+ };
25
51
 
26
- export type TestsCliCommandsSettingsBaseConfigServers = never[];
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 TestsCliCommandsSettingsBaseConfigContexts = never[];
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 TestsCliCommandsSettingsSettings = {
31
- worker_name: string;
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
- export type TestsCliCommandsSettingsGetSettingsResult = TestsCliCommandsSettingsSettings;
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 TestsCliCommandsSettingsParsedConfig = {
39
- settings: TestsCliCommandsSettingsSettings;
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 TestsCliCommandsValidateTestConfigPath = string;
6
+ export type Tests_Cli_Commands_Validate_TestConfigPathFragment = string;
7
7
 
8
- export type TestsCliCommandsValidateConfigJson = string;
8
+ export type Tests_Cli_Commands_Validate_TestConfigTmpDir = string;
9
9
 
10
- export type TestsCliCommandsValidateResult = {
11
- valid: TestsCliCommandsValidateResultValid;
12
- errors: TestsCliCommandsValidateResultErrors;
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 TestsCliCommandsValidateResultValid = boolean;
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 TestsCliCommandsValidateResultErrors = string[];
64
+ export type Tests_Cli_Commands_Validate_ValidateCommand_DetectsPrimaryServerNotInContextServersList_HasMatch = boolean;
18
65
 
19
- export type TestsCliCommandsValidateHasMatch = boolean;
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;