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
|
@@ -1,51 +1,67 @@
|
|
|
1
1
|
import type {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
Lib_Schema_ConfigSchemaContexts,
|
|
3
|
+
Lib_Schema_ConfigSchemaServers,
|
|
4
|
+
Lib_Schema_ConfigSchemaSettings,
|
|
5
|
+
Lib_Schema_EmailContextConfig,
|
|
6
|
+
Lib_Schema_HttpContextConfig,
|
|
6
7
|
} from '../../lib/schema.d.ts';
|
|
7
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
|
+
|
|
8
18
|
/**
|
|
9
19
|
* CLI - Commands - Generate - Generate Wrangler Toml.
|
|
10
20
|
*
|
|
11
21
|
* @since 2.0.0
|
|
12
22
|
*/
|
|
13
|
-
export type
|
|
23
|
+
export type Cli_Commands_Generate_GenerateWranglerToml_ConfigPath = string;
|
|
24
|
+
|
|
25
|
+
export type Cli_Commands_Generate_GenerateWranglerToml_OutputPath = string | undefined;
|
|
14
26
|
|
|
15
|
-
export type
|
|
27
|
+
export type Cli_Commands_Generate_GenerateWranglerToml_AccountId = string;
|
|
16
28
|
|
|
17
|
-
export type
|
|
29
|
+
export type Cli_Commands_Generate_GenerateWranglerToml_KvNamespaceId = string;
|
|
18
30
|
|
|
19
|
-
export type
|
|
31
|
+
export type Cli_Commands_Generate_GenerateWranglerToml_Returns = void;
|
|
20
32
|
|
|
21
|
-
export type
|
|
33
|
+
export type Cli_Commands_Generate_GenerateWranglerToml_Config_Settings = Lib_Schema_ConfigSchemaSettings;
|
|
22
34
|
|
|
23
|
-
export type
|
|
35
|
+
export type Cli_Commands_Generate_GenerateWranglerToml_Config_Servers = Lib_Schema_ConfigSchemaServers;
|
|
24
36
|
|
|
25
|
-
export type
|
|
37
|
+
export type Cli_Commands_Generate_GenerateWranglerToml_Config_Contexts = Lib_Schema_ConfigSchemaContexts;
|
|
26
38
|
|
|
27
|
-
export type
|
|
39
|
+
export type Cli_Commands_Generate_GenerateWranglerToml_Config = {
|
|
40
|
+
settings: Cli_Commands_Generate_GenerateWranglerToml_Config_Settings;
|
|
41
|
+
servers: Cli_Commands_Generate_GenerateWranglerToml_Config_Servers;
|
|
42
|
+
contexts: Cli_Commands_Generate_GenerateWranglerToml_Config_Contexts;
|
|
43
|
+
};
|
|
28
44
|
|
|
29
|
-
export type
|
|
45
|
+
export type Cli_Commands_Generate_GenerateWranglerToml_Settings = Cli_Commands_Generate_GenerateWranglerToml_Config['settings'];
|
|
30
46
|
|
|
31
|
-
export type
|
|
47
|
+
export type Cli_Commands_Generate_GenerateWranglerToml_Servers = Cli_Commands_Generate_GenerateWranglerToml_Config['servers'];
|
|
32
48
|
|
|
33
|
-
export type
|
|
49
|
+
export type Cli_Commands_Generate_GenerateWranglerToml_Contexts = Cli_Commands_Generate_GenerateWranglerToml_Config['contexts'];
|
|
34
50
|
|
|
35
|
-
export type
|
|
51
|
+
export type Cli_Commands_Generate_GenerateWranglerToml_CompatibilityDate = string;
|
|
36
52
|
|
|
37
|
-
export type
|
|
53
|
+
export type Cli_Commands_Generate_GenerateWranglerToml_HttpContexts = Array<Lib_Schema_HttpContextConfig>;
|
|
38
54
|
|
|
39
|
-
export type
|
|
55
|
+
export type Cli_Commands_Generate_GenerateWranglerToml_EmailContexts = Array<Lib_Schema_EmailContextConfig>;
|
|
40
56
|
|
|
41
|
-
export type
|
|
57
|
+
export type Cli_Commands_Generate_GenerateWranglerToml_RouteLines = string[];
|
|
42
58
|
|
|
43
|
-
export type
|
|
59
|
+
export type Cli_Commands_Generate_GenerateWranglerToml_Lines = string[];
|
|
44
60
|
|
|
45
|
-
export type
|
|
61
|
+
export type Cli_Commands_Generate_GenerateWranglerToml_SettingsJson = string;
|
|
46
62
|
|
|
47
|
-
export type
|
|
63
|
+
export type Cli_Commands_Generate_GenerateWranglerToml_ServersJson = string;
|
|
48
64
|
|
|
49
|
-
export type
|
|
65
|
+
export type Cli_Commands_Generate_GenerateWranglerToml_ContextsJson = string;
|
|
50
66
|
|
|
51
|
-
export type
|
|
67
|
+
export type Cli_Commands_Generate_GenerateWranglerToml_OutputDir = string;
|
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { Lib_Schema_ConfigSchema, Lib_Schema_ServerConfig } from '../../lib/schema.d.ts';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* CLI - Commands - Server - Add Server.
|
|
5
5
|
*
|
|
6
6
|
* @since 2.0.0
|
|
7
7
|
*/
|
|
8
|
-
export type
|
|
8
|
+
export type Cli_Commands_Server_AddServer_ConfigPath = string;
|
|
9
9
|
|
|
10
|
-
export type
|
|
10
|
+
export type Cli_Commands_Server_AddServer_Server = Lib_Schema_ServerConfig;
|
|
11
11
|
|
|
12
|
-
export type
|
|
12
|
+
export type Cli_Commands_Server_AddServer_Returns = void;
|
|
13
13
|
|
|
14
|
-
export type
|
|
14
|
+
export type Cli_Commands_Server_AddServer_Config = { [Key in keyof Lib_Schema_ConfigSchema]: Lib_Schema_ConfigSchema[Key] };
|
|
15
15
|
|
|
16
|
-
export type
|
|
16
|
+
export type Cli_Commands_Server_AddServer_Duplicate = boolean;
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* CLI - Commands - Server - Edit Server.
|
|
20
20
|
*
|
|
21
21
|
* @since 2.0.0
|
|
22
22
|
*/
|
|
23
|
-
export type
|
|
23
|
+
export type Cli_Commands_Server_EditServer_ConfigPath = string;
|
|
24
24
|
|
|
25
|
-
export type
|
|
25
|
+
export type Cli_Commands_Server_EditServer_Name = string;
|
|
26
26
|
|
|
27
|
-
export type
|
|
27
|
+
export type Cli_Commands_Server_EditServer_Updates = Partial<Lib_Schema_ServerConfig>;
|
|
28
28
|
|
|
29
|
-
export type
|
|
29
|
+
export type Cli_Commands_Server_EditServer_Returns = void;
|
|
30
30
|
|
|
31
|
-
export type
|
|
31
|
+
export type Cli_Commands_Server_EditServer_Config = { [Key in keyof Lib_Schema_ConfigSchema]: Lib_Schema_ConfigSchema[Key] };
|
|
32
32
|
|
|
33
|
-
export type
|
|
33
|
+
export type Cli_Commands_Server_EditServer_Index = number;
|
|
34
34
|
|
|
35
|
-
export type
|
|
35
|
+
export type Cli_Commands_Server_EditServer_Merged = { [Key in keyof Lib_Schema_ServerConfig]: Lib_Schema_ServerConfig[Key] };
|
|
36
36
|
|
|
37
37
|
/**
|
|
38
38
|
* CLI - Commands - Server - List Servers.
|
|
39
39
|
*
|
|
40
40
|
* @since 2.0.0
|
|
41
41
|
*/
|
|
42
|
-
export type
|
|
42
|
+
export type Cli_Commands_Server_ListServers_ConfigPath = string;
|
|
43
43
|
|
|
44
|
-
export type
|
|
44
|
+
export type Cli_Commands_Server_ListServers_Returns = Lib_Schema_ServerConfig[];
|
|
45
45
|
|
|
46
|
-
export type
|
|
46
|
+
export type Cli_Commands_Server_ListServers_Config = Lib_Schema_ConfigSchema;
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
49
|
* CLI - Commands - Server - Remove Server.
|
|
50
50
|
*
|
|
51
51
|
* @since 2.0.0
|
|
52
52
|
*/
|
|
53
|
-
export type
|
|
53
|
+
export type Cli_Commands_Server_RemoveServer_ConfigPath = string;
|
|
54
54
|
|
|
55
|
-
export type
|
|
55
|
+
export type Cli_Commands_Server_RemoveServer_Name = string;
|
|
56
56
|
|
|
57
|
-
export type
|
|
57
|
+
export type Cli_Commands_Server_RemoveServer_Returns = void;
|
|
58
58
|
|
|
59
|
-
export type
|
|
59
|
+
export type Cli_Commands_Server_RemoveServer_Config = { [Key in keyof Lib_Schema_ConfigSchema]: Lib_Schema_ConfigSchema[Key] };
|
|
60
60
|
|
|
61
|
-
export type
|
|
61
|
+
export type Cli_Commands_Server_RemoveServer_ReferencedContexts = Lib_Schema_ConfigSchema['contexts'];
|
|
62
62
|
|
|
63
|
-
export type
|
|
63
|
+
export type Cli_Commands_Server_RemoveServer_ContextNames = string;
|
|
64
64
|
|
|
65
|
-
export type
|
|
65
|
+
export type Cli_Commands_Server_RemoveServer_Filtered = Lib_Schema_ConfigSchema['servers'];
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { Lib_Schema_ConfigSchema, Lib_Schema_SettingsConfig } from '../../lib/schema.d.ts';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* CLI - Commands - Settings - Get Settings.
|
|
5
5
|
*
|
|
6
6
|
* @since 2.0.0
|
|
7
7
|
*/
|
|
8
|
-
export type
|
|
8
|
+
export type Cli_Commands_Settings_GetSettings_ConfigPath = string;
|
|
9
9
|
|
|
10
|
-
export type
|
|
10
|
+
export type Cli_Commands_Settings_GetSettings_Returns = Lib_Schema_SettingsConfig;
|
|
11
11
|
|
|
12
|
-
export type
|
|
12
|
+
export type Cli_Commands_Settings_GetSettings_Config = Lib_Schema_ConfigSchema;
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* CLI - Commands - Settings - Update Settings.
|
|
16
16
|
*
|
|
17
17
|
* @since 2.0.0
|
|
18
18
|
*/
|
|
19
|
-
export type
|
|
19
|
+
export type Cli_Commands_Settings_UpdateSettings_ConfigPath = string;
|
|
20
20
|
|
|
21
|
-
export type
|
|
21
|
+
export type Cli_Commands_Settings_UpdateSettings_Updates = Partial<Lib_Schema_SettingsConfig>;
|
|
22
22
|
|
|
23
|
-
export type
|
|
23
|
+
export type Cli_Commands_Settings_UpdateSettings_Returns = void;
|
|
24
24
|
|
|
25
|
-
export type
|
|
25
|
+
export type Cli_Commands_Settings_UpdateSettings_Config = { [Key in keyof Lib_Schema_ConfigSchema]: Lib_Schema_ConfigSchema[Key] };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import type { z } from 'zod';
|
|
2
2
|
|
|
3
|
-
import type {
|
|
3
|
+
import type { Lib_Schema_ConfigSchema } from '../../lib/schema.d.ts';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* CLI - Commands - Validate - Validate Config.
|
|
7
7
|
*
|
|
8
8
|
* @since 2.0.0
|
|
9
9
|
*/
|
|
10
|
-
export type
|
|
10
|
+
export type Cli_Commands_Validate_ValidateConfig_ConfigPath = string;
|
|
11
11
|
|
|
12
|
-
export type
|
|
12
|
+
export type Cli_Commands_Validate_ValidateConfig_Returns = Cli_Commands_Validate_ValidateConfig_Result;
|
|
13
13
|
|
|
14
|
-
export type
|
|
14
|
+
export type Cli_Commands_Validate_ValidateConfig_Errors = string[];
|
|
15
15
|
|
|
16
|
-
export type
|
|
16
|
+
export type Cli_Commands_Validate_ValidateConfig_Raw = unknown;
|
|
17
17
|
|
|
18
|
-
export type
|
|
18
|
+
export type Cli_Commands_Validate_ValidateConfig_ParseResult = z.ZodSafeParseResult<Lib_Schema_ConfigSchema>;
|
|
19
19
|
|
|
20
|
-
export type
|
|
20
|
+
export type Cli_Commands_Validate_ValidateConfig_Config = { [Key in keyof Lib_Schema_ConfigSchema]: Lib_Schema_ConfigSchema[Key] };
|
|
21
21
|
|
|
22
|
-
export type
|
|
22
|
+
export type Cli_Commands_Validate_ValidateConfig_ServerNames = Set<string>;
|
|
23
23
|
|
|
24
|
-
export type
|
|
24
|
+
export type Cli_Commands_Validate_ValidateConfig_IdCounts = Map<string, number>;
|
|
25
25
|
|
|
26
|
-
export type
|
|
26
|
+
export type Cli_Commands_Validate_ValidateConfig_EntryId = string;
|
|
27
27
|
|
|
28
|
-
export type
|
|
28
|
+
export type Cli_Commands_Validate_ValidateConfig_EntryCount = number;
|
|
29
29
|
|
|
30
|
-
export type
|
|
30
|
+
export type Cli_Commands_Validate_ValidateConfig_ResultValid = boolean;
|
|
31
31
|
|
|
32
|
-
export type
|
|
32
|
+
export type Cli_Commands_Validate_ValidateConfig_ResultErrors = string[];
|
|
33
33
|
|
|
34
|
-
export type
|
|
35
|
-
valid:
|
|
36
|
-
errors:
|
|
34
|
+
export type Cli_Commands_Validate_ValidateConfig_Result = {
|
|
35
|
+
valid: Cli_Commands_Validate_ValidateConfig_ResultValid;
|
|
36
|
+
errors: Cli_Commands_Validate_ValidateConfig_ResultErrors;
|
|
37
37
|
};
|
|
@@ -1,55 +1,51 @@
|
|
|
1
1
|
import type { Command } from 'commander';
|
|
2
2
|
|
|
3
|
-
import type {
|
|
3
|
+
import type { Cli_Commands_Validate_ValidateConfig_Returns } from './commands/validate.d.ts';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* CLI - Env Dir.
|
|
7
7
|
*
|
|
8
8
|
* @since 2.0.0
|
|
9
9
|
*/
|
|
10
|
-
export type
|
|
10
|
+
export type Cli_Index_EnvDir = string | undefined;
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* CLI - Get Config File Path.
|
|
14
14
|
*
|
|
15
15
|
* @since 2.0.0
|
|
16
16
|
*/
|
|
17
|
-
export type
|
|
17
|
+
export type Cli_Index_GetConfigFilePath_Returns = string;
|
|
18
18
|
|
|
19
|
-
export type
|
|
19
|
+
export type Cli_Index_ConfigDir = string | undefined;
|
|
20
20
|
|
|
21
|
-
export type
|
|
21
|
+
export type Cli_Index_ConfigPath = string;
|
|
22
22
|
|
|
23
|
-
export type
|
|
23
|
+
export type Cli_Index_GetConfigFilePath_DefaultDir = string;
|
|
24
|
+
|
|
25
|
+
export type Cli_Index_SamplePath = string;
|
|
24
26
|
|
|
25
27
|
/**
|
|
26
28
|
* CLI - Main.
|
|
27
29
|
*
|
|
28
30
|
* @since 2.0.0
|
|
29
31
|
*/
|
|
30
|
-
export type
|
|
31
|
-
|
|
32
|
-
export type CliIndexMainConfigDirs = string[];
|
|
33
|
-
|
|
34
|
-
export type CliIndexMainConfigPath = string;
|
|
35
|
-
|
|
36
|
-
export type CliIndexMainServerCommand = Command;
|
|
32
|
+
export type Cli_Index_Main_Returns = Promise<void>;
|
|
37
33
|
|
|
38
|
-
export type
|
|
34
|
+
export type Cli_Index_Main_ConfigDirs = string[];
|
|
39
35
|
|
|
40
|
-
export type
|
|
36
|
+
export type Cli_Index_Main_ConfigPath = string;
|
|
41
37
|
|
|
42
|
-
export type
|
|
38
|
+
export type Cli_Index_Main_ServerCommand = Command;
|
|
43
39
|
|
|
44
|
-
export type
|
|
40
|
+
export type Cli_Index_Main_ContextCommand = Command;
|
|
45
41
|
|
|
46
|
-
export type
|
|
42
|
+
export type Cli_Index_Main_Result = { [Key in keyof Cli_Commands_Validate_ValidateConfig_Returns]: Cli_Commands_Validate_ValidateConfig_Returns[Key] };
|
|
47
43
|
|
|
48
|
-
export type
|
|
44
|
+
export type Cli_Index_Main_Message = string;
|
|
49
45
|
|
|
50
46
|
/**
|
|
51
47
|
* CLI - Program.
|
|
52
48
|
*
|
|
53
49
|
* @since 2.0.0
|
|
54
50
|
*/
|
|
55
|
-
export type
|
|
51
|
+
export type Cli_Index_Program = Command;
|