@milaboratories/pl-deployments 2.5.3 → 2.5.5
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/dist/ssh/connection_info.cjs +3 -3
- package/dist/ssh/connection_info.cjs.map +1 -1
- package/dist/ssh/connection_info.d.ts +738 -258
- package/dist/ssh/connection_info.d.ts.map +1 -1
- package/dist/ssh/connection_info.js +3 -3
- package/dist/ssh/connection_info.js.map +1 -1
- package/package.json +5 -5
- package/src/ssh/connection_info.ts +3 -3
|
@@ -10,7 +10,7 @@ var zod = require('zod');
|
|
|
10
10
|
const PortPair = zod.z.object({
|
|
11
11
|
local: zod.z.number(),
|
|
12
12
|
remote: zod.z.number(),
|
|
13
|
-
});
|
|
13
|
+
}).passthrough();
|
|
14
14
|
const SshPlPorts = zod.z.object({
|
|
15
15
|
grpc: PortPair,
|
|
16
16
|
http: PortPair.optional(),
|
|
@@ -20,7 +20,7 @@ const SshPlPorts = zod.z.object({
|
|
|
20
20
|
minioPort: PortPair,
|
|
21
21
|
/** @deprecated */
|
|
22
22
|
minioConsolePort: PortPair,
|
|
23
|
-
});
|
|
23
|
+
}).passthrough();
|
|
24
24
|
const ConnectionInfo = zod.z.object({
|
|
25
25
|
plUser: zod.z.string(),
|
|
26
26
|
plPassword: zod.z.string(),
|
|
@@ -32,7 +32,7 @@ const ConnectionInfo = zod.z.object({
|
|
|
32
32
|
plVersion: zod.z.string().default('1.18.3'),
|
|
33
33
|
// It's true by default because it was added later and previous installation use minio.
|
|
34
34
|
minioIsUsed: zod.z.boolean().default(true),
|
|
35
|
-
});
|
|
35
|
+
}).passthrough();
|
|
36
36
|
//
|
|
37
37
|
// Funcs
|
|
38
38
|
//
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connection_info.cjs","sources":["../../src/ssh/connection_info.ts"],"sourcesContent":["/** We store all info about the connection on the server,\n * so that another client could read the file and connect from another machine. */\nimport { z } from 'zod';\n\n//\n// Types\n//\n\nexport const PortPair = z.object({\n local: z.number(),\n remote: z.number(),\n});\n/** The pair of ports for forwarding. */\nexport type PortPair = z.infer<typeof PortPair>;\n\nexport const SshPlPorts = z.object({\n grpc: PortPair,\n http: PortPair.optional(),\n monitoring: PortPair,\n debug: PortPair,\n /** @deprecated */\n minioPort: PortPair,\n /** @deprecated */\n minioConsolePort: PortPair,\n});\n/** All info about ports that are forwarded. */\nexport type SshPlPorts = z.infer<typeof SshPlPorts>;\n\nexport const ConnectionInfo = z.object({\n plUser: z.string(),\n plPassword: z.string(),\n ports: SshPlPorts,\n\n // It's false by default because it was added later,\n // and in some deployments there won't be useGlobalAccess flag in the file.\n useGlobalAccess: z.boolean().default(false),\n\n // We added the field afterwards, the pl backend was this version.\n plVersion: z.string().default('1.18.3'),\n\n // It's true by default because it was added later and previous installation use minio.\n minioIsUsed: z.boolean().default(true),\n});\n/** The content of the file that holds all the info about the connection on the remote server. */\nexport type ConnectionInfo = z.infer<typeof ConnectionInfo>;\n\n//\n// Funcs\n//\n\nexport function newConnectionInfo(\n plUser: string,\n plPassword: string,\n ports: SshPlPorts,\n useGlobalAccess: boolean,\n plVersion: string,\n minioIsUsed: boolean,\n): ConnectionInfo {\n return {\n plUser,\n plPassword,\n ports,\n useGlobalAccess,\n plVersion,\n minioIsUsed: minioIsUsed,\n };\n}\n\nexport function parseConnectionInfo(content: string): ConnectionInfo {\n return ConnectionInfo.parse(JSON.parse(content));\n}\n\nexport function stringifyConnectionInfo(conn: ConnectionInfo): string {\n return JSON.stringify(conn, undefined, 2);\n}\n"],"names":["z"],"mappings":";;;;AAAA;AACkF;AAGlF;AACA;AACA;AAEO,MAAM,QAAQ,GAAGA,KAAC,CAAC,MAAM,CAAC;AAC/B,IAAA,KAAK,EAAEA,KAAC,CAAC,MAAM,EAAE;AACjB,IAAA,MAAM,EAAEA,KAAC,CAAC,MAAM,EAAE;
|
|
1
|
+
{"version":3,"file":"connection_info.cjs","sources":["../../src/ssh/connection_info.ts"],"sourcesContent":["/** We store all info about the connection on the server,\n * so that another client could read the file and connect from another machine. */\nimport { z } from 'zod';\n\n//\n// Types\n//\n\nexport const PortPair = z.object({\n local: z.number(),\n remote: z.number(),\n}).passthrough();\n/** The pair of ports for forwarding. */\nexport type PortPair = z.infer<typeof PortPair>;\n\nexport const SshPlPorts = z.object({\n grpc: PortPair,\n http: PortPair.optional(),\n monitoring: PortPair,\n debug: PortPair,\n /** @deprecated */\n minioPort: PortPair,\n /** @deprecated */\n minioConsolePort: PortPair,\n}).passthrough();\n/** All info about ports that are forwarded. */\nexport type SshPlPorts = z.infer<typeof SshPlPorts>;\n\nexport const ConnectionInfo = z.object({\n plUser: z.string(),\n plPassword: z.string(),\n ports: SshPlPorts,\n\n // It's false by default because it was added later,\n // and in some deployments there won't be useGlobalAccess flag in the file.\n useGlobalAccess: z.boolean().default(false),\n\n // We added the field afterwards, the pl backend was this version.\n plVersion: z.string().default('1.18.3'),\n\n // It's true by default because it was added later and previous installation use minio.\n minioIsUsed: z.boolean().default(true),\n}).passthrough();\n/** The content of the file that holds all the info about the connection on the remote server. */\nexport type ConnectionInfo = z.infer<typeof ConnectionInfo>;\n\n//\n// Funcs\n//\n\nexport function newConnectionInfo(\n plUser: string,\n plPassword: string,\n ports: SshPlPorts,\n useGlobalAccess: boolean,\n plVersion: string,\n minioIsUsed: boolean,\n): ConnectionInfo {\n return {\n plUser,\n plPassword,\n ports,\n useGlobalAccess,\n plVersion,\n minioIsUsed: minioIsUsed,\n };\n}\n\nexport function parseConnectionInfo(content: string): ConnectionInfo {\n return ConnectionInfo.parse(JSON.parse(content));\n}\n\nexport function stringifyConnectionInfo(conn: ConnectionInfo): string {\n return JSON.stringify(conn, undefined, 2);\n}\n"],"names":["z"],"mappings":";;;;AAAA;AACkF;AAGlF;AACA;AACA;AAEO,MAAM,QAAQ,GAAGA,KAAC,CAAC,MAAM,CAAC;AAC/B,IAAA,KAAK,EAAEA,KAAC,CAAC,MAAM,EAAE;AACjB,IAAA,MAAM,EAAEA,KAAC,CAAC,MAAM,EAAE;CACnB,CAAC,CAAC,WAAW;AAIP,MAAM,UAAU,GAAGA,KAAC,CAAC,MAAM,CAAC;AACjC,IAAA,IAAI,EAAE,QAAQ;AACd,IAAA,IAAI,EAAE,QAAQ,CAAC,QAAQ,EAAE;AACzB,IAAA,UAAU,EAAE,QAAQ;AACpB,IAAA,KAAK,EAAE,QAAQ;;AAEf,IAAA,SAAS,EAAE,QAAQ;;AAEnB,IAAA,gBAAgB,EAAE,QAAQ;CAC3B,CAAC,CAAC,WAAW;AAIP,MAAM,cAAc,GAAGA,KAAC,CAAC,MAAM,CAAC;AACrC,IAAA,MAAM,EAAEA,KAAC,CAAC,MAAM,EAAE;AAClB,IAAA,UAAU,EAAEA,KAAC,CAAC,MAAM,EAAE;AACtB,IAAA,KAAK,EAAE,UAAU;;;IAIjB,eAAe,EAAEA,KAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;;IAG3C,SAAS,EAAEA,KAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC;;IAGvC,WAAW,EAAEA,KAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC;CACvC,CAAC,CAAC,WAAW;AAId;AACA;AACA;AAEM,SAAU,iBAAiB,CAC/B,MAAc,EACd,UAAkB,EAClB,KAAiB,EACjB,eAAwB,EACxB,SAAiB,EACjB,WAAoB,EAAA;IAEpB,OAAO;QACL,MAAM;QACN,UAAU;QACV,KAAK;QACL,eAAe;QACf,SAAS;AACT,QAAA,WAAW,EAAE,WAAW;KACzB;AACH;AAEM,SAAU,mBAAmB,CAAC,OAAe,EAAA;IACjD,OAAO,cAAc,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;AAClD;AAEM,SAAU,uBAAuB,CAAC,IAAoB,EAAA;IAC1D,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,SAAS,EAAE,CAAC,CAAC;AAC3C;;;;;;;;;"}
|
|
@@ -4,129 +4,205 @@ import { z } from 'zod';
|
|
|
4
4
|
export declare const PortPair: z.ZodObject<{
|
|
5
5
|
local: z.ZodNumber;
|
|
6
6
|
remote: z.ZodNumber;
|
|
7
|
-
}, "
|
|
8
|
-
local:
|
|
9
|
-
remote:
|
|
10
|
-
}, {
|
|
11
|
-
local:
|
|
12
|
-
remote:
|
|
13
|
-
}
|
|
7
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
8
|
+
local: z.ZodNumber;
|
|
9
|
+
remote: z.ZodNumber;
|
|
10
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
11
|
+
local: z.ZodNumber;
|
|
12
|
+
remote: z.ZodNumber;
|
|
13
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
14
14
|
/** The pair of ports for forwarding. */
|
|
15
15
|
export type PortPair = z.infer<typeof PortPair>;
|
|
16
16
|
export declare const SshPlPorts: z.ZodObject<{
|
|
17
17
|
grpc: z.ZodObject<{
|
|
18
18
|
local: z.ZodNumber;
|
|
19
19
|
remote: z.ZodNumber;
|
|
20
|
-
}, "
|
|
21
|
-
local:
|
|
22
|
-
remote:
|
|
23
|
-
}, {
|
|
24
|
-
local:
|
|
25
|
-
remote:
|
|
26
|
-
}
|
|
20
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
21
|
+
local: z.ZodNumber;
|
|
22
|
+
remote: z.ZodNumber;
|
|
23
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
24
|
+
local: z.ZodNumber;
|
|
25
|
+
remote: z.ZodNumber;
|
|
26
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
27
|
+
http: z.ZodOptional<z.ZodObject<{
|
|
28
|
+
local: z.ZodNumber;
|
|
29
|
+
remote: z.ZodNumber;
|
|
30
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
31
|
+
local: z.ZodNumber;
|
|
32
|
+
remote: z.ZodNumber;
|
|
33
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
34
|
+
local: z.ZodNumber;
|
|
35
|
+
remote: z.ZodNumber;
|
|
36
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
37
|
+
monitoring: z.ZodObject<{
|
|
38
|
+
local: z.ZodNumber;
|
|
39
|
+
remote: z.ZodNumber;
|
|
40
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
41
|
+
local: z.ZodNumber;
|
|
42
|
+
remote: z.ZodNumber;
|
|
43
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
44
|
+
local: z.ZodNumber;
|
|
45
|
+
remote: z.ZodNumber;
|
|
46
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
47
|
+
debug: z.ZodObject<{
|
|
48
|
+
local: z.ZodNumber;
|
|
49
|
+
remote: z.ZodNumber;
|
|
50
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
51
|
+
local: z.ZodNumber;
|
|
52
|
+
remote: z.ZodNumber;
|
|
53
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
54
|
+
local: z.ZodNumber;
|
|
55
|
+
remote: z.ZodNumber;
|
|
56
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
57
|
+
/** @deprecated */
|
|
58
|
+
minioPort: z.ZodObject<{
|
|
59
|
+
local: z.ZodNumber;
|
|
60
|
+
remote: z.ZodNumber;
|
|
61
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
62
|
+
local: z.ZodNumber;
|
|
63
|
+
remote: z.ZodNumber;
|
|
64
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
65
|
+
local: z.ZodNumber;
|
|
66
|
+
remote: z.ZodNumber;
|
|
67
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
68
|
+
/** @deprecated */
|
|
69
|
+
minioConsolePort: z.ZodObject<{
|
|
70
|
+
local: z.ZodNumber;
|
|
71
|
+
remote: z.ZodNumber;
|
|
72
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
73
|
+
local: z.ZodNumber;
|
|
74
|
+
remote: z.ZodNumber;
|
|
75
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
76
|
+
local: z.ZodNumber;
|
|
77
|
+
remote: z.ZodNumber;
|
|
78
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
79
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
80
|
+
grpc: z.ZodObject<{
|
|
81
|
+
local: z.ZodNumber;
|
|
82
|
+
remote: z.ZodNumber;
|
|
83
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
84
|
+
local: z.ZodNumber;
|
|
85
|
+
remote: z.ZodNumber;
|
|
86
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
87
|
+
local: z.ZodNumber;
|
|
88
|
+
remote: z.ZodNumber;
|
|
89
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
90
|
+
http: z.ZodOptional<z.ZodObject<{
|
|
91
|
+
local: z.ZodNumber;
|
|
92
|
+
remote: z.ZodNumber;
|
|
93
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
94
|
+
local: z.ZodNumber;
|
|
95
|
+
remote: z.ZodNumber;
|
|
96
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
97
|
+
local: z.ZodNumber;
|
|
98
|
+
remote: z.ZodNumber;
|
|
99
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
100
|
+
monitoring: z.ZodObject<{
|
|
101
|
+
local: z.ZodNumber;
|
|
102
|
+
remote: z.ZodNumber;
|
|
103
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
104
|
+
local: z.ZodNumber;
|
|
105
|
+
remote: z.ZodNumber;
|
|
106
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
107
|
+
local: z.ZodNumber;
|
|
108
|
+
remote: z.ZodNumber;
|
|
109
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
110
|
+
debug: z.ZodObject<{
|
|
111
|
+
local: z.ZodNumber;
|
|
112
|
+
remote: z.ZodNumber;
|
|
113
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
114
|
+
local: z.ZodNumber;
|
|
115
|
+
remote: z.ZodNumber;
|
|
116
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
117
|
+
local: z.ZodNumber;
|
|
118
|
+
remote: z.ZodNumber;
|
|
119
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
120
|
+
/** @deprecated */
|
|
121
|
+
minioPort: z.ZodObject<{
|
|
122
|
+
local: z.ZodNumber;
|
|
123
|
+
remote: z.ZodNumber;
|
|
124
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
125
|
+
local: z.ZodNumber;
|
|
126
|
+
remote: z.ZodNumber;
|
|
127
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
128
|
+
local: z.ZodNumber;
|
|
129
|
+
remote: z.ZodNumber;
|
|
130
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
131
|
+
/** @deprecated */
|
|
132
|
+
minioConsolePort: z.ZodObject<{
|
|
133
|
+
local: z.ZodNumber;
|
|
134
|
+
remote: z.ZodNumber;
|
|
135
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
136
|
+
local: z.ZodNumber;
|
|
137
|
+
remote: z.ZodNumber;
|
|
138
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
139
|
+
local: z.ZodNumber;
|
|
140
|
+
remote: z.ZodNumber;
|
|
141
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
142
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
143
|
+
grpc: z.ZodObject<{
|
|
144
|
+
local: z.ZodNumber;
|
|
145
|
+
remote: z.ZodNumber;
|
|
146
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
147
|
+
local: z.ZodNumber;
|
|
148
|
+
remote: z.ZodNumber;
|
|
149
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
150
|
+
local: z.ZodNumber;
|
|
151
|
+
remote: z.ZodNumber;
|
|
152
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
27
153
|
http: z.ZodOptional<z.ZodObject<{
|
|
28
154
|
local: z.ZodNumber;
|
|
29
155
|
remote: z.ZodNumber;
|
|
30
|
-
}, "
|
|
31
|
-
local:
|
|
32
|
-
remote:
|
|
33
|
-
}, {
|
|
34
|
-
local:
|
|
35
|
-
remote:
|
|
36
|
-
}
|
|
156
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
157
|
+
local: z.ZodNumber;
|
|
158
|
+
remote: z.ZodNumber;
|
|
159
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
160
|
+
local: z.ZodNumber;
|
|
161
|
+
remote: z.ZodNumber;
|
|
162
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
37
163
|
monitoring: z.ZodObject<{
|
|
38
164
|
local: z.ZodNumber;
|
|
39
165
|
remote: z.ZodNumber;
|
|
40
|
-
}, "
|
|
41
|
-
local:
|
|
42
|
-
remote:
|
|
43
|
-
}, {
|
|
44
|
-
local:
|
|
45
|
-
remote:
|
|
46
|
-
}
|
|
166
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
167
|
+
local: z.ZodNumber;
|
|
168
|
+
remote: z.ZodNumber;
|
|
169
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
170
|
+
local: z.ZodNumber;
|
|
171
|
+
remote: z.ZodNumber;
|
|
172
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
47
173
|
debug: z.ZodObject<{
|
|
48
174
|
local: z.ZodNumber;
|
|
49
175
|
remote: z.ZodNumber;
|
|
50
|
-
}, "
|
|
51
|
-
local:
|
|
52
|
-
remote:
|
|
53
|
-
}, {
|
|
54
|
-
local:
|
|
55
|
-
remote:
|
|
56
|
-
}
|
|
176
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
177
|
+
local: z.ZodNumber;
|
|
178
|
+
remote: z.ZodNumber;
|
|
179
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
180
|
+
local: z.ZodNumber;
|
|
181
|
+
remote: z.ZodNumber;
|
|
182
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
57
183
|
/** @deprecated */
|
|
58
184
|
minioPort: z.ZodObject<{
|
|
59
185
|
local: z.ZodNumber;
|
|
60
186
|
remote: z.ZodNumber;
|
|
61
|
-
}, "
|
|
62
|
-
local:
|
|
63
|
-
remote:
|
|
64
|
-
}, {
|
|
65
|
-
local:
|
|
66
|
-
remote:
|
|
67
|
-
}
|
|
187
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
188
|
+
local: z.ZodNumber;
|
|
189
|
+
remote: z.ZodNumber;
|
|
190
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
191
|
+
local: z.ZodNumber;
|
|
192
|
+
remote: z.ZodNumber;
|
|
193
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
68
194
|
/** @deprecated */
|
|
69
195
|
minioConsolePort: z.ZodObject<{
|
|
70
196
|
local: z.ZodNumber;
|
|
71
197
|
remote: z.ZodNumber;
|
|
72
|
-
}, "
|
|
73
|
-
local:
|
|
74
|
-
remote:
|
|
75
|
-
}, {
|
|
76
|
-
local:
|
|
77
|
-
remote:
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
grpc: {
|
|
81
|
-
local: number;
|
|
82
|
-
remote: number;
|
|
83
|
-
};
|
|
84
|
-
monitoring: {
|
|
85
|
-
local: number;
|
|
86
|
-
remote: number;
|
|
87
|
-
};
|
|
88
|
-
debug: {
|
|
89
|
-
local: number;
|
|
90
|
-
remote: number;
|
|
91
|
-
};
|
|
92
|
-
minioPort: {
|
|
93
|
-
local: number;
|
|
94
|
-
remote: number;
|
|
95
|
-
};
|
|
96
|
-
minioConsolePort: {
|
|
97
|
-
local: number;
|
|
98
|
-
remote: number;
|
|
99
|
-
};
|
|
100
|
-
http?: {
|
|
101
|
-
local: number;
|
|
102
|
-
remote: number;
|
|
103
|
-
} | undefined;
|
|
104
|
-
}, {
|
|
105
|
-
grpc: {
|
|
106
|
-
local: number;
|
|
107
|
-
remote: number;
|
|
108
|
-
};
|
|
109
|
-
monitoring: {
|
|
110
|
-
local: number;
|
|
111
|
-
remote: number;
|
|
112
|
-
};
|
|
113
|
-
debug: {
|
|
114
|
-
local: number;
|
|
115
|
-
remote: number;
|
|
116
|
-
};
|
|
117
|
-
minioPort: {
|
|
118
|
-
local: number;
|
|
119
|
-
remote: number;
|
|
120
|
-
};
|
|
121
|
-
minioConsolePort: {
|
|
122
|
-
local: number;
|
|
123
|
-
remote: number;
|
|
124
|
-
};
|
|
125
|
-
http?: {
|
|
126
|
-
local: number;
|
|
127
|
-
remote: number;
|
|
128
|
-
} | undefined;
|
|
129
|
-
}>;
|
|
198
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
199
|
+
local: z.ZodNumber;
|
|
200
|
+
remote: z.ZodNumber;
|
|
201
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
202
|
+
local: z.ZodNumber;
|
|
203
|
+
remote: z.ZodNumber;
|
|
204
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
205
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
130
206
|
/** All info about ports that are forwarded. */
|
|
131
207
|
export type SshPlPorts = z.infer<typeof SshPlPorts>;
|
|
132
208
|
export declare const ConnectionInfo: z.ZodObject<{
|
|
@@ -136,184 +212,588 @@ export declare const ConnectionInfo: z.ZodObject<{
|
|
|
136
212
|
grpc: z.ZodObject<{
|
|
137
213
|
local: z.ZodNumber;
|
|
138
214
|
remote: z.ZodNumber;
|
|
139
|
-
}, "
|
|
140
|
-
local:
|
|
141
|
-
remote:
|
|
142
|
-
}, {
|
|
143
|
-
local:
|
|
144
|
-
remote:
|
|
145
|
-
}
|
|
215
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
216
|
+
local: z.ZodNumber;
|
|
217
|
+
remote: z.ZodNumber;
|
|
218
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
219
|
+
local: z.ZodNumber;
|
|
220
|
+
remote: z.ZodNumber;
|
|
221
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
222
|
+
http: z.ZodOptional<z.ZodObject<{
|
|
223
|
+
local: z.ZodNumber;
|
|
224
|
+
remote: z.ZodNumber;
|
|
225
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
226
|
+
local: z.ZodNumber;
|
|
227
|
+
remote: z.ZodNumber;
|
|
228
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
229
|
+
local: z.ZodNumber;
|
|
230
|
+
remote: z.ZodNumber;
|
|
231
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
232
|
+
monitoring: z.ZodObject<{
|
|
233
|
+
local: z.ZodNumber;
|
|
234
|
+
remote: z.ZodNumber;
|
|
235
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
236
|
+
local: z.ZodNumber;
|
|
237
|
+
remote: z.ZodNumber;
|
|
238
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
239
|
+
local: z.ZodNumber;
|
|
240
|
+
remote: z.ZodNumber;
|
|
241
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
242
|
+
debug: z.ZodObject<{
|
|
243
|
+
local: z.ZodNumber;
|
|
244
|
+
remote: z.ZodNumber;
|
|
245
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
246
|
+
local: z.ZodNumber;
|
|
247
|
+
remote: z.ZodNumber;
|
|
248
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
249
|
+
local: z.ZodNumber;
|
|
250
|
+
remote: z.ZodNumber;
|
|
251
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
252
|
+
/** @deprecated */
|
|
253
|
+
minioPort: z.ZodObject<{
|
|
254
|
+
local: z.ZodNumber;
|
|
255
|
+
remote: z.ZodNumber;
|
|
256
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
257
|
+
local: z.ZodNumber;
|
|
258
|
+
remote: z.ZodNumber;
|
|
259
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
260
|
+
local: z.ZodNumber;
|
|
261
|
+
remote: z.ZodNumber;
|
|
262
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
263
|
+
/** @deprecated */
|
|
264
|
+
minioConsolePort: z.ZodObject<{
|
|
265
|
+
local: z.ZodNumber;
|
|
266
|
+
remote: z.ZodNumber;
|
|
267
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
268
|
+
local: z.ZodNumber;
|
|
269
|
+
remote: z.ZodNumber;
|
|
270
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
271
|
+
local: z.ZodNumber;
|
|
272
|
+
remote: z.ZodNumber;
|
|
273
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
274
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
275
|
+
grpc: z.ZodObject<{
|
|
276
|
+
local: z.ZodNumber;
|
|
277
|
+
remote: z.ZodNumber;
|
|
278
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
279
|
+
local: z.ZodNumber;
|
|
280
|
+
remote: z.ZodNumber;
|
|
281
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
282
|
+
local: z.ZodNumber;
|
|
283
|
+
remote: z.ZodNumber;
|
|
284
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
285
|
+
http: z.ZodOptional<z.ZodObject<{
|
|
286
|
+
local: z.ZodNumber;
|
|
287
|
+
remote: z.ZodNumber;
|
|
288
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
289
|
+
local: z.ZodNumber;
|
|
290
|
+
remote: z.ZodNumber;
|
|
291
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
292
|
+
local: z.ZodNumber;
|
|
293
|
+
remote: z.ZodNumber;
|
|
294
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
295
|
+
monitoring: z.ZodObject<{
|
|
296
|
+
local: z.ZodNumber;
|
|
297
|
+
remote: z.ZodNumber;
|
|
298
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
299
|
+
local: z.ZodNumber;
|
|
300
|
+
remote: z.ZodNumber;
|
|
301
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
302
|
+
local: z.ZodNumber;
|
|
303
|
+
remote: z.ZodNumber;
|
|
304
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
305
|
+
debug: z.ZodObject<{
|
|
306
|
+
local: z.ZodNumber;
|
|
307
|
+
remote: z.ZodNumber;
|
|
308
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
309
|
+
local: z.ZodNumber;
|
|
310
|
+
remote: z.ZodNumber;
|
|
311
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
312
|
+
local: z.ZodNumber;
|
|
313
|
+
remote: z.ZodNumber;
|
|
314
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
315
|
+
/** @deprecated */
|
|
316
|
+
minioPort: z.ZodObject<{
|
|
317
|
+
local: z.ZodNumber;
|
|
318
|
+
remote: z.ZodNumber;
|
|
319
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
320
|
+
local: z.ZodNumber;
|
|
321
|
+
remote: z.ZodNumber;
|
|
322
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
323
|
+
local: z.ZodNumber;
|
|
324
|
+
remote: z.ZodNumber;
|
|
325
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
326
|
+
/** @deprecated */
|
|
327
|
+
minioConsolePort: z.ZodObject<{
|
|
328
|
+
local: z.ZodNumber;
|
|
329
|
+
remote: z.ZodNumber;
|
|
330
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
331
|
+
local: z.ZodNumber;
|
|
332
|
+
remote: z.ZodNumber;
|
|
333
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
334
|
+
local: z.ZodNumber;
|
|
335
|
+
remote: z.ZodNumber;
|
|
336
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
337
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
338
|
+
grpc: z.ZodObject<{
|
|
339
|
+
local: z.ZodNumber;
|
|
340
|
+
remote: z.ZodNumber;
|
|
341
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
342
|
+
local: z.ZodNumber;
|
|
343
|
+
remote: z.ZodNumber;
|
|
344
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
345
|
+
local: z.ZodNumber;
|
|
346
|
+
remote: z.ZodNumber;
|
|
347
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
348
|
+
http: z.ZodOptional<z.ZodObject<{
|
|
349
|
+
local: z.ZodNumber;
|
|
350
|
+
remote: z.ZodNumber;
|
|
351
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
352
|
+
local: z.ZodNumber;
|
|
353
|
+
remote: z.ZodNumber;
|
|
354
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
355
|
+
local: z.ZodNumber;
|
|
356
|
+
remote: z.ZodNumber;
|
|
357
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
358
|
+
monitoring: z.ZodObject<{
|
|
359
|
+
local: z.ZodNumber;
|
|
360
|
+
remote: z.ZodNumber;
|
|
361
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
362
|
+
local: z.ZodNumber;
|
|
363
|
+
remote: z.ZodNumber;
|
|
364
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
365
|
+
local: z.ZodNumber;
|
|
366
|
+
remote: z.ZodNumber;
|
|
367
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
368
|
+
debug: z.ZodObject<{
|
|
369
|
+
local: z.ZodNumber;
|
|
370
|
+
remote: z.ZodNumber;
|
|
371
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
372
|
+
local: z.ZodNumber;
|
|
373
|
+
remote: z.ZodNumber;
|
|
374
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
375
|
+
local: z.ZodNumber;
|
|
376
|
+
remote: z.ZodNumber;
|
|
377
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
378
|
+
/** @deprecated */
|
|
379
|
+
minioPort: z.ZodObject<{
|
|
380
|
+
local: z.ZodNumber;
|
|
381
|
+
remote: z.ZodNumber;
|
|
382
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
383
|
+
local: z.ZodNumber;
|
|
384
|
+
remote: z.ZodNumber;
|
|
385
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
386
|
+
local: z.ZodNumber;
|
|
387
|
+
remote: z.ZodNumber;
|
|
388
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
389
|
+
/** @deprecated */
|
|
390
|
+
minioConsolePort: z.ZodObject<{
|
|
391
|
+
local: z.ZodNumber;
|
|
392
|
+
remote: z.ZodNumber;
|
|
393
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
394
|
+
local: z.ZodNumber;
|
|
395
|
+
remote: z.ZodNumber;
|
|
396
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
397
|
+
local: z.ZodNumber;
|
|
398
|
+
remote: z.ZodNumber;
|
|
399
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
400
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
401
|
+
useGlobalAccess: z.ZodDefault<z.ZodBoolean>;
|
|
402
|
+
plVersion: z.ZodDefault<z.ZodString>;
|
|
403
|
+
minioIsUsed: z.ZodDefault<z.ZodBoolean>;
|
|
404
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
405
|
+
plUser: z.ZodString;
|
|
406
|
+
plPassword: z.ZodString;
|
|
407
|
+
ports: z.ZodObject<{
|
|
408
|
+
grpc: z.ZodObject<{
|
|
409
|
+
local: z.ZodNumber;
|
|
410
|
+
remote: z.ZodNumber;
|
|
411
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
412
|
+
local: z.ZodNumber;
|
|
413
|
+
remote: z.ZodNumber;
|
|
414
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
415
|
+
local: z.ZodNumber;
|
|
416
|
+
remote: z.ZodNumber;
|
|
417
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
418
|
+
http: z.ZodOptional<z.ZodObject<{
|
|
419
|
+
local: z.ZodNumber;
|
|
420
|
+
remote: z.ZodNumber;
|
|
421
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
422
|
+
local: z.ZodNumber;
|
|
423
|
+
remote: z.ZodNumber;
|
|
424
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
425
|
+
local: z.ZodNumber;
|
|
426
|
+
remote: z.ZodNumber;
|
|
427
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
428
|
+
monitoring: z.ZodObject<{
|
|
429
|
+
local: z.ZodNumber;
|
|
430
|
+
remote: z.ZodNumber;
|
|
431
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
432
|
+
local: z.ZodNumber;
|
|
433
|
+
remote: z.ZodNumber;
|
|
434
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
435
|
+
local: z.ZodNumber;
|
|
436
|
+
remote: z.ZodNumber;
|
|
437
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
438
|
+
debug: z.ZodObject<{
|
|
439
|
+
local: z.ZodNumber;
|
|
440
|
+
remote: z.ZodNumber;
|
|
441
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
442
|
+
local: z.ZodNumber;
|
|
443
|
+
remote: z.ZodNumber;
|
|
444
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
445
|
+
local: z.ZodNumber;
|
|
446
|
+
remote: z.ZodNumber;
|
|
447
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
448
|
+
/** @deprecated */
|
|
449
|
+
minioPort: z.ZodObject<{
|
|
450
|
+
local: z.ZodNumber;
|
|
451
|
+
remote: z.ZodNumber;
|
|
452
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
453
|
+
local: z.ZodNumber;
|
|
454
|
+
remote: z.ZodNumber;
|
|
455
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
456
|
+
local: z.ZodNumber;
|
|
457
|
+
remote: z.ZodNumber;
|
|
458
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
459
|
+
/** @deprecated */
|
|
460
|
+
minioConsolePort: z.ZodObject<{
|
|
461
|
+
local: z.ZodNumber;
|
|
462
|
+
remote: z.ZodNumber;
|
|
463
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
464
|
+
local: z.ZodNumber;
|
|
465
|
+
remote: z.ZodNumber;
|
|
466
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
467
|
+
local: z.ZodNumber;
|
|
468
|
+
remote: z.ZodNumber;
|
|
469
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
470
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
471
|
+
grpc: z.ZodObject<{
|
|
472
|
+
local: z.ZodNumber;
|
|
473
|
+
remote: z.ZodNumber;
|
|
474
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
475
|
+
local: z.ZodNumber;
|
|
476
|
+
remote: z.ZodNumber;
|
|
477
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
478
|
+
local: z.ZodNumber;
|
|
479
|
+
remote: z.ZodNumber;
|
|
480
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
481
|
+
http: z.ZodOptional<z.ZodObject<{
|
|
482
|
+
local: z.ZodNumber;
|
|
483
|
+
remote: z.ZodNumber;
|
|
484
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
485
|
+
local: z.ZodNumber;
|
|
486
|
+
remote: z.ZodNumber;
|
|
487
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
488
|
+
local: z.ZodNumber;
|
|
489
|
+
remote: z.ZodNumber;
|
|
490
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
491
|
+
monitoring: z.ZodObject<{
|
|
492
|
+
local: z.ZodNumber;
|
|
493
|
+
remote: z.ZodNumber;
|
|
494
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
495
|
+
local: z.ZodNumber;
|
|
496
|
+
remote: z.ZodNumber;
|
|
497
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
498
|
+
local: z.ZodNumber;
|
|
499
|
+
remote: z.ZodNumber;
|
|
500
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
501
|
+
debug: z.ZodObject<{
|
|
502
|
+
local: z.ZodNumber;
|
|
503
|
+
remote: z.ZodNumber;
|
|
504
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
505
|
+
local: z.ZodNumber;
|
|
506
|
+
remote: z.ZodNumber;
|
|
507
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
508
|
+
local: z.ZodNumber;
|
|
509
|
+
remote: z.ZodNumber;
|
|
510
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
511
|
+
/** @deprecated */
|
|
512
|
+
minioPort: z.ZodObject<{
|
|
513
|
+
local: z.ZodNumber;
|
|
514
|
+
remote: z.ZodNumber;
|
|
515
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
516
|
+
local: z.ZodNumber;
|
|
517
|
+
remote: z.ZodNumber;
|
|
518
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
519
|
+
local: z.ZodNumber;
|
|
520
|
+
remote: z.ZodNumber;
|
|
521
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
522
|
+
/** @deprecated */
|
|
523
|
+
minioConsolePort: z.ZodObject<{
|
|
524
|
+
local: z.ZodNumber;
|
|
525
|
+
remote: z.ZodNumber;
|
|
526
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
527
|
+
local: z.ZodNumber;
|
|
528
|
+
remote: z.ZodNumber;
|
|
529
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
530
|
+
local: z.ZodNumber;
|
|
531
|
+
remote: z.ZodNumber;
|
|
532
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
533
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
534
|
+
grpc: z.ZodObject<{
|
|
535
|
+
local: z.ZodNumber;
|
|
536
|
+
remote: z.ZodNumber;
|
|
537
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
538
|
+
local: z.ZodNumber;
|
|
539
|
+
remote: z.ZodNumber;
|
|
540
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
541
|
+
local: z.ZodNumber;
|
|
542
|
+
remote: z.ZodNumber;
|
|
543
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
544
|
+
http: z.ZodOptional<z.ZodObject<{
|
|
545
|
+
local: z.ZodNumber;
|
|
546
|
+
remote: z.ZodNumber;
|
|
547
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
548
|
+
local: z.ZodNumber;
|
|
549
|
+
remote: z.ZodNumber;
|
|
550
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
551
|
+
local: z.ZodNumber;
|
|
552
|
+
remote: z.ZodNumber;
|
|
553
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
554
|
+
monitoring: z.ZodObject<{
|
|
555
|
+
local: z.ZodNumber;
|
|
556
|
+
remote: z.ZodNumber;
|
|
557
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
558
|
+
local: z.ZodNumber;
|
|
559
|
+
remote: z.ZodNumber;
|
|
560
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
561
|
+
local: z.ZodNumber;
|
|
562
|
+
remote: z.ZodNumber;
|
|
563
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
564
|
+
debug: z.ZodObject<{
|
|
565
|
+
local: z.ZodNumber;
|
|
566
|
+
remote: z.ZodNumber;
|
|
567
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
568
|
+
local: z.ZodNumber;
|
|
569
|
+
remote: z.ZodNumber;
|
|
570
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
571
|
+
local: z.ZodNumber;
|
|
572
|
+
remote: z.ZodNumber;
|
|
573
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
574
|
+
/** @deprecated */
|
|
575
|
+
minioPort: z.ZodObject<{
|
|
576
|
+
local: z.ZodNumber;
|
|
577
|
+
remote: z.ZodNumber;
|
|
578
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
579
|
+
local: z.ZodNumber;
|
|
580
|
+
remote: z.ZodNumber;
|
|
581
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
582
|
+
local: z.ZodNumber;
|
|
583
|
+
remote: z.ZodNumber;
|
|
584
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
585
|
+
/** @deprecated */
|
|
586
|
+
minioConsolePort: z.ZodObject<{
|
|
587
|
+
local: z.ZodNumber;
|
|
588
|
+
remote: z.ZodNumber;
|
|
589
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
590
|
+
local: z.ZodNumber;
|
|
591
|
+
remote: z.ZodNumber;
|
|
592
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
593
|
+
local: z.ZodNumber;
|
|
594
|
+
remote: z.ZodNumber;
|
|
595
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
596
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
597
|
+
useGlobalAccess: z.ZodDefault<z.ZodBoolean>;
|
|
598
|
+
plVersion: z.ZodDefault<z.ZodString>;
|
|
599
|
+
minioIsUsed: z.ZodDefault<z.ZodBoolean>;
|
|
600
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
601
|
+
plUser: z.ZodString;
|
|
602
|
+
plPassword: z.ZodString;
|
|
603
|
+
ports: z.ZodObject<{
|
|
604
|
+
grpc: z.ZodObject<{
|
|
605
|
+
local: z.ZodNumber;
|
|
606
|
+
remote: z.ZodNumber;
|
|
607
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
608
|
+
local: z.ZodNumber;
|
|
609
|
+
remote: z.ZodNumber;
|
|
610
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
611
|
+
local: z.ZodNumber;
|
|
612
|
+
remote: z.ZodNumber;
|
|
613
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
614
|
+
http: z.ZodOptional<z.ZodObject<{
|
|
615
|
+
local: z.ZodNumber;
|
|
616
|
+
remote: z.ZodNumber;
|
|
617
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
618
|
+
local: z.ZodNumber;
|
|
619
|
+
remote: z.ZodNumber;
|
|
620
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
621
|
+
local: z.ZodNumber;
|
|
622
|
+
remote: z.ZodNumber;
|
|
623
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
624
|
+
monitoring: z.ZodObject<{
|
|
625
|
+
local: z.ZodNumber;
|
|
626
|
+
remote: z.ZodNumber;
|
|
627
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
628
|
+
local: z.ZodNumber;
|
|
629
|
+
remote: z.ZodNumber;
|
|
630
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
631
|
+
local: z.ZodNumber;
|
|
632
|
+
remote: z.ZodNumber;
|
|
633
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
634
|
+
debug: z.ZodObject<{
|
|
635
|
+
local: z.ZodNumber;
|
|
636
|
+
remote: z.ZodNumber;
|
|
637
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
638
|
+
local: z.ZodNumber;
|
|
639
|
+
remote: z.ZodNumber;
|
|
640
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
641
|
+
local: z.ZodNumber;
|
|
642
|
+
remote: z.ZodNumber;
|
|
643
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
644
|
+
/** @deprecated */
|
|
645
|
+
minioPort: z.ZodObject<{
|
|
646
|
+
local: z.ZodNumber;
|
|
647
|
+
remote: z.ZodNumber;
|
|
648
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
649
|
+
local: z.ZodNumber;
|
|
650
|
+
remote: z.ZodNumber;
|
|
651
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
652
|
+
local: z.ZodNumber;
|
|
653
|
+
remote: z.ZodNumber;
|
|
654
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
655
|
+
/** @deprecated */
|
|
656
|
+
minioConsolePort: z.ZodObject<{
|
|
657
|
+
local: z.ZodNumber;
|
|
658
|
+
remote: z.ZodNumber;
|
|
659
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
660
|
+
local: z.ZodNumber;
|
|
661
|
+
remote: z.ZodNumber;
|
|
662
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
663
|
+
local: z.ZodNumber;
|
|
664
|
+
remote: z.ZodNumber;
|
|
665
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
666
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
667
|
+
grpc: z.ZodObject<{
|
|
668
|
+
local: z.ZodNumber;
|
|
669
|
+
remote: z.ZodNumber;
|
|
670
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
671
|
+
local: z.ZodNumber;
|
|
672
|
+
remote: z.ZodNumber;
|
|
673
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
674
|
+
local: z.ZodNumber;
|
|
675
|
+
remote: z.ZodNumber;
|
|
676
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
677
|
+
http: z.ZodOptional<z.ZodObject<{
|
|
678
|
+
local: z.ZodNumber;
|
|
679
|
+
remote: z.ZodNumber;
|
|
680
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
681
|
+
local: z.ZodNumber;
|
|
682
|
+
remote: z.ZodNumber;
|
|
683
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
684
|
+
local: z.ZodNumber;
|
|
685
|
+
remote: z.ZodNumber;
|
|
686
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
687
|
+
monitoring: z.ZodObject<{
|
|
688
|
+
local: z.ZodNumber;
|
|
689
|
+
remote: z.ZodNumber;
|
|
690
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
691
|
+
local: z.ZodNumber;
|
|
692
|
+
remote: z.ZodNumber;
|
|
693
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
694
|
+
local: z.ZodNumber;
|
|
695
|
+
remote: z.ZodNumber;
|
|
696
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
697
|
+
debug: z.ZodObject<{
|
|
698
|
+
local: z.ZodNumber;
|
|
699
|
+
remote: z.ZodNumber;
|
|
700
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
701
|
+
local: z.ZodNumber;
|
|
702
|
+
remote: z.ZodNumber;
|
|
703
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
704
|
+
local: z.ZodNumber;
|
|
705
|
+
remote: z.ZodNumber;
|
|
706
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
707
|
+
/** @deprecated */
|
|
708
|
+
minioPort: z.ZodObject<{
|
|
709
|
+
local: z.ZodNumber;
|
|
710
|
+
remote: z.ZodNumber;
|
|
711
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
712
|
+
local: z.ZodNumber;
|
|
713
|
+
remote: z.ZodNumber;
|
|
714
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
715
|
+
local: z.ZodNumber;
|
|
716
|
+
remote: z.ZodNumber;
|
|
717
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
718
|
+
/** @deprecated */
|
|
719
|
+
minioConsolePort: z.ZodObject<{
|
|
720
|
+
local: z.ZodNumber;
|
|
721
|
+
remote: z.ZodNumber;
|
|
722
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
723
|
+
local: z.ZodNumber;
|
|
724
|
+
remote: z.ZodNumber;
|
|
725
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
726
|
+
local: z.ZodNumber;
|
|
727
|
+
remote: z.ZodNumber;
|
|
728
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
729
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
730
|
+
grpc: z.ZodObject<{
|
|
731
|
+
local: z.ZodNumber;
|
|
732
|
+
remote: z.ZodNumber;
|
|
733
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
734
|
+
local: z.ZodNumber;
|
|
735
|
+
remote: z.ZodNumber;
|
|
736
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
737
|
+
local: z.ZodNumber;
|
|
738
|
+
remote: z.ZodNumber;
|
|
739
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
146
740
|
http: z.ZodOptional<z.ZodObject<{
|
|
147
741
|
local: z.ZodNumber;
|
|
148
742
|
remote: z.ZodNumber;
|
|
149
|
-
}, "
|
|
150
|
-
local:
|
|
151
|
-
remote:
|
|
152
|
-
}, {
|
|
153
|
-
local:
|
|
154
|
-
remote:
|
|
155
|
-
}
|
|
743
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
744
|
+
local: z.ZodNumber;
|
|
745
|
+
remote: z.ZodNumber;
|
|
746
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
747
|
+
local: z.ZodNumber;
|
|
748
|
+
remote: z.ZodNumber;
|
|
749
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
156
750
|
monitoring: z.ZodObject<{
|
|
157
751
|
local: z.ZodNumber;
|
|
158
752
|
remote: z.ZodNumber;
|
|
159
|
-
}, "
|
|
160
|
-
local:
|
|
161
|
-
remote:
|
|
162
|
-
}, {
|
|
163
|
-
local:
|
|
164
|
-
remote:
|
|
165
|
-
}
|
|
753
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
754
|
+
local: z.ZodNumber;
|
|
755
|
+
remote: z.ZodNumber;
|
|
756
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
757
|
+
local: z.ZodNumber;
|
|
758
|
+
remote: z.ZodNumber;
|
|
759
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
166
760
|
debug: z.ZodObject<{
|
|
167
761
|
local: z.ZodNumber;
|
|
168
762
|
remote: z.ZodNumber;
|
|
169
|
-
}, "
|
|
170
|
-
local:
|
|
171
|
-
remote:
|
|
172
|
-
}, {
|
|
173
|
-
local:
|
|
174
|
-
remote:
|
|
175
|
-
}
|
|
763
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
764
|
+
local: z.ZodNumber;
|
|
765
|
+
remote: z.ZodNumber;
|
|
766
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
767
|
+
local: z.ZodNumber;
|
|
768
|
+
remote: z.ZodNumber;
|
|
769
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
176
770
|
/** @deprecated */
|
|
177
771
|
minioPort: z.ZodObject<{
|
|
178
772
|
local: z.ZodNumber;
|
|
179
773
|
remote: z.ZodNumber;
|
|
180
|
-
}, "
|
|
181
|
-
local:
|
|
182
|
-
remote:
|
|
183
|
-
}, {
|
|
184
|
-
local:
|
|
185
|
-
remote:
|
|
186
|
-
}
|
|
774
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
775
|
+
local: z.ZodNumber;
|
|
776
|
+
remote: z.ZodNumber;
|
|
777
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
778
|
+
local: z.ZodNumber;
|
|
779
|
+
remote: z.ZodNumber;
|
|
780
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
187
781
|
/** @deprecated */
|
|
188
782
|
minioConsolePort: z.ZodObject<{
|
|
189
783
|
local: z.ZodNumber;
|
|
190
784
|
remote: z.ZodNumber;
|
|
191
|
-
}, "
|
|
192
|
-
local:
|
|
193
|
-
remote:
|
|
194
|
-
}, {
|
|
195
|
-
local:
|
|
196
|
-
remote:
|
|
197
|
-
}
|
|
198
|
-
},
|
|
199
|
-
grpc: {
|
|
200
|
-
local: number;
|
|
201
|
-
remote: number;
|
|
202
|
-
};
|
|
203
|
-
monitoring: {
|
|
204
|
-
local: number;
|
|
205
|
-
remote: number;
|
|
206
|
-
};
|
|
207
|
-
debug: {
|
|
208
|
-
local: number;
|
|
209
|
-
remote: number;
|
|
210
|
-
};
|
|
211
|
-
minioPort: {
|
|
212
|
-
local: number;
|
|
213
|
-
remote: number;
|
|
214
|
-
};
|
|
215
|
-
minioConsolePort: {
|
|
216
|
-
local: number;
|
|
217
|
-
remote: number;
|
|
218
|
-
};
|
|
219
|
-
http?: {
|
|
220
|
-
local: number;
|
|
221
|
-
remote: number;
|
|
222
|
-
} | undefined;
|
|
223
|
-
}, {
|
|
224
|
-
grpc: {
|
|
225
|
-
local: number;
|
|
226
|
-
remote: number;
|
|
227
|
-
};
|
|
228
|
-
monitoring: {
|
|
229
|
-
local: number;
|
|
230
|
-
remote: number;
|
|
231
|
-
};
|
|
232
|
-
debug: {
|
|
233
|
-
local: number;
|
|
234
|
-
remote: number;
|
|
235
|
-
};
|
|
236
|
-
minioPort: {
|
|
237
|
-
local: number;
|
|
238
|
-
remote: number;
|
|
239
|
-
};
|
|
240
|
-
minioConsolePort: {
|
|
241
|
-
local: number;
|
|
242
|
-
remote: number;
|
|
243
|
-
};
|
|
244
|
-
http?: {
|
|
245
|
-
local: number;
|
|
246
|
-
remote: number;
|
|
247
|
-
} | undefined;
|
|
248
|
-
}>;
|
|
785
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
786
|
+
local: z.ZodNumber;
|
|
787
|
+
remote: z.ZodNumber;
|
|
788
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
789
|
+
local: z.ZodNumber;
|
|
790
|
+
remote: z.ZodNumber;
|
|
791
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
792
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
249
793
|
useGlobalAccess: z.ZodDefault<z.ZodBoolean>;
|
|
250
794
|
plVersion: z.ZodDefault<z.ZodString>;
|
|
251
795
|
minioIsUsed: z.ZodDefault<z.ZodBoolean>;
|
|
252
|
-
},
|
|
253
|
-
plUser: string;
|
|
254
|
-
plPassword: string;
|
|
255
|
-
ports: {
|
|
256
|
-
grpc: {
|
|
257
|
-
local: number;
|
|
258
|
-
remote: number;
|
|
259
|
-
};
|
|
260
|
-
monitoring: {
|
|
261
|
-
local: number;
|
|
262
|
-
remote: number;
|
|
263
|
-
};
|
|
264
|
-
debug: {
|
|
265
|
-
local: number;
|
|
266
|
-
remote: number;
|
|
267
|
-
};
|
|
268
|
-
minioPort: {
|
|
269
|
-
local: number;
|
|
270
|
-
remote: number;
|
|
271
|
-
};
|
|
272
|
-
minioConsolePort: {
|
|
273
|
-
local: number;
|
|
274
|
-
remote: number;
|
|
275
|
-
};
|
|
276
|
-
http?: {
|
|
277
|
-
local: number;
|
|
278
|
-
remote: number;
|
|
279
|
-
} | undefined;
|
|
280
|
-
};
|
|
281
|
-
useGlobalAccess: boolean;
|
|
282
|
-
plVersion: string;
|
|
283
|
-
minioIsUsed: boolean;
|
|
284
|
-
}, {
|
|
285
|
-
plUser: string;
|
|
286
|
-
plPassword: string;
|
|
287
|
-
ports: {
|
|
288
|
-
grpc: {
|
|
289
|
-
local: number;
|
|
290
|
-
remote: number;
|
|
291
|
-
};
|
|
292
|
-
monitoring: {
|
|
293
|
-
local: number;
|
|
294
|
-
remote: number;
|
|
295
|
-
};
|
|
296
|
-
debug: {
|
|
297
|
-
local: number;
|
|
298
|
-
remote: number;
|
|
299
|
-
};
|
|
300
|
-
minioPort: {
|
|
301
|
-
local: number;
|
|
302
|
-
remote: number;
|
|
303
|
-
};
|
|
304
|
-
minioConsolePort: {
|
|
305
|
-
local: number;
|
|
306
|
-
remote: number;
|
|
307
|
-
};
|
|
308
|
-
http?: {
|
|
309
|
-
local: number;
|
|
310
|
-
remote: number;
|
|
311
|
-
} | undefined;
|
|
312
|
-
};
|
|
313
|
-
useGlobalAccess?: boolean | undefined;
|
|
314
|
-
plVersion?: string | undefined;
|
|
315
|
-
minioIsUsed?: boolean | undefined;
|
|
316
|
-
}>;
|
|
796
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
317
797
|
/** The content of the file that holds all the info about the connection on the remote server. */
|
|
318
798
|
export type ConnectionInfo = z.infer<typeof ConnectionInfo>;
|
|
319
799
|
export declare function newConnectionInfo(plUser: string, plPassword: string, ports: SshPlPorts, useGlobalAccess: boolean, plVersion: string, minioIsUsed: boolean): ConnectionInfo;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connection_info.d.ts","sourceRoot":"","sources":["../../src/ssh/connection_info.ts"],"names":[],"mappings":"AAAA;kFACkF;AAClF,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,QAAQ;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"connection_info.d.ts","sourceRoot":"","sources":["../../src/ssh/connection_info.ts"],"names":[],"mappings":"AAAA;kFACkF;AAClF,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,QAAQ;;;;;;;;;gCAGL,CAAC;AACjB,wCAAwC;AACxC,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC;AAEhD,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAKrB,kBAAkB;;;;;;;;;;;IAElB,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAFlB,kBAAkB;;;;;;;;;;;IAElB,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAFlB,kBAAkB;;;;;;;;;;;IAElB,kBAAkB;;;;;;;;;;;gCAEJ,CAAC;AACjB,+CAA+C;AAC/C,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC;AAEpD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QARzB,kBAAkB;;;;;;;;;;;QAElB,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAFlB,kBAAkB;;;;;;;;;;;QAElB,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAFlB,kBAAkB;;;;;;;;;;;QAElB,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAFlB,kBAAkB;;;;;;;;;;;QAElB,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAFlB,kBAAkB;;;;;;;;;;;QAElB,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAFlB,kBAAkB;;;;;;;;;;;QAElB,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAFlB,kBAAkB;;;;;;;;;;;QAElB,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAFlB,kBAAkB;;;;;;;;;;;QAElB,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAFlB,kBAAkB;;;;;;;;;;;QAElB,kBAAkB;;;;;;;;;;;;;;;gCAoBJ,CAAC;AACjB,iGAAiG;AACjG,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAM5D,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,MAAM,EAClB,KAAK,EAAE,UAAU,EACjB,eAAe,EAAE,OAAO,EACxB,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,OAAO,GACnB,cAAc,CAShB;AAED,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,MAAM,GAAG,cAAc,CAEnE;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,cAAc,GAAG,MAAM,CAEpE"}
|
|
@@ -8,7 +8,7 @@ import { z } from 'zod';
|
|
|
8
8
|
const PortPair = z.object({
|
|
9
9
|
local: z.number(),
|
|
10
10
|
remote: z.number(),
|
|
11
|
-
});
|
|
11
|
+
}).passthrough();
|
|
12
12
|
const SshPlPorts = z.object({
|
|
13
13
|
grpc: PortPair,
|
|
14
14
|
http: PortPair.optional(),
|
|
@@ -18,7 +18,7 @@ const SshPlPorts = z.object({
|
|
|
18
18
|
minioPort: PortPair,
|
|
19
19
|
/** @deprecated */
|
|
20
20
|
minioConsolePort: PortPair,
|
|
21
|
-
});
|
|
21
|
+
}).passthrough();
|
|
22
22
|
const ConnectionInfo = z.object({
|
|
23
23
|
plUser: z.string(),
|
|
24
24
|
plPassword: z.string(),
|
|
@@ -30,7 +30,7 @@ const ConnectionInfo = z.object({
|
|
|
30
30
|
plVersion: z.string().default('1.18.3'),
|
|
31
31
|
// It's true by default because it was added later and previous installation use minio.
|
|
32
32
|
minioIsUsed: z.boolean().default(true),
|
|
33
|
-
});
|
|
33
|
+
}).passthrough();
|
|
34
34
|
//
|
|
35
35
|
// Funcs
|
|
36
36
|
//
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connection_info.js","sources":["../../src/ssh/connection_info.ts"],"sourcesContent":["/** We store all info about the connection on the server,\n * so that another client could read the file and connect from another machine. */\nimport { z } from 'zod';\n\n//\n// Types\n//\n\nexport const PortPair = z.object({\n local: z.number(),\n remote: z.number(),\n});\n/** The pair of ports for forwarding. */\nexport type PortPair = z.infer<typeof PortPair>;\n\nexport const SshPlPorts = z.object({\n grpc: PortPair,\n http: PortPair.optional(),\n monitoring: PortPair,\n debug: PortPair,\n /** @deprecated */\n minioPort: PortPair,\n /** @deprecated */\n minioConsolePort: PortPair,\n});\n/** All info about ports that are forwarded. */\nexport type SshPlPorts = z.infer<typeof SshPlPorts>;\n\nexport const ConnectionInfo = z.object({\n plUser: z.string(),\n plPassword: z.string(),\n ports: SshPlPorts,\n\n // It's false by default because it was added later,\n // and in some deployments there won't be useGlobalAccess flag in the file.\n useGlobalAccess: z.boolean().default(false),\n\n // We added the field afterwards, the pl backend was this version.\n plVersion: z.string().default('1.18.3'),\n\n // It's true by default because it was added later and previous installation use minio.\n minioIsUsed: z.boolean().default(true),\n});\n/** The content of the file that holds all the info about the connection on the remote server. */\nexport type ConnectionInfo = z.infer<typeof ConnectionInfo>;\n\n//\n// Funcs\n//\n\nexport function newConnectionInfo(\n plUser: string,\n plPassword: string,\n ports: SshPlPorts,\n useGlobalAccess: boolean,\n plVersion: string,\n minioIsUsed: boolean,\n): ConnectionInfo {\n return {\n plUser,\n plPassword,\n ports,\n useGlobalAccess,\n plVersion,\n minioIsUsed: minioIsUsed,\n };\n}\n\nexport function parseConnectionInfo(content: string): ConnectionInfo {\n return ConnectionInfo.parse(JSON.parse(content));\n}\n\nexport function stringifyConnectionInfo(conn: ConnectionInfo): string {\n return JSON.stringify(conn, undefined, 2);\n}\n"],"names":[],"mappings":";;AAAA;AACkF;AAGlF;AACA;AACA;AAEO,MAAM,QAAQ,GAAG,CAAC,CAAC,MAAM,CAAC;AAC/B,IAAA,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;AACjB,IAAA,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;
|
|
1
|
+
{"version":3,"file":"connection_info.js","sources":["../../src/ssh/connection_info.ts"],"sourcesContent":["/** We store all info about the connection on the server,\n * so that another client could read the file and connect from another machine. */\nimport { z } from 'zod';\n\n//\n// Types\n//\n\nexport const PortPair = z.object({\n local: z.number(),\n remote: z.number(),\n}).passthrough();\n/** The pair of ports for forwarding. */\nexport type PortPair = z.infer<typeof PortPair>;\n\nexport const SshPlPorts = z.object({\n grpc: PortPair,\n http: PortPair.optional(),\n monitoring: PortPair,\n debug: PortPair,\n /** @deprecated */\n minioPort: PortPair,\n /** @deprecated */\n minioConsolePort: PortPair,\n}).passthrough();\n/** All info about ports that are forwarded. */\nexport type SshPlPorts = z.infer<typeof SshPlPorts>;\n\nexport const ConnectionInfo = z.object({\n plUser: z.string(),\n plPassword: z.string(),\n ports: SshPlPorts,\n\n // It's false by default because it was added later,\n // and in some deployments there won't be useGlobalAccess flag in the file.\n useGlobalAccess: z.boolean().default(false),\n\n // We added the field afterwards, the pl backend was this version.\n plVersion: z.string().default('1.18.3'),\n\n // It's true by default because it was added later and previous installation use minio.\n minioIsUsed: z.boolean().default(true),\n}).passthrough();\n/** The content of the file that holds all the info about the connection on the remote server. */\nexport type ConnectionInfo = z.infer<typeof ConnectionInfo>;\n\n//\n// Funcs\n//\n\nexport function newConnectionInfo(\n plUser: string,\n plPassword: string,\n ports: SshPlPorts,\n useGlobalAccess: boolean,\n plVersion: string,\n minioIsUsed: boolean,\n): ConnectionInfo {\n return {\n plUser,\n plPassword,\n ports,\n useGlobalAccess,\n plVersion,\n minioIsUsed: minioIsUsed,\n };\n}\n\nexport function parseConnectionInfo(content: string): ConnectionInfo {\n return ConnectionInfo.parse(JSON.parse(content));\n}\n\nexport function stringifyConnectionInfo(conn: ConnectionInfo): string {\n return JSON.stringify(conn, undefined, 2);\n}\n"],"names":[],"mappings":";;AAAA;AACkF;AAGlF;AACA;AACA;AAEO,MAAM,QAAQ,GAAG,CAAC,CAAC,MAAM,CAAC;AAC/B,IAAA,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;AACjB,IAAA,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;CACnB,CAAC,CAAC,WAAW;AAIP,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC;AACjC,IAAA,IAAI,EAAE,QAAQ;AACd,IAAA,IAAI,EAAE,QAAQ,CAAC,QAAQ,EAAE;AACzB,IAAA,UAAU,EAAE,QAAQ;AACpB,IAAA,KAAK,EAAE,QAAQ;;AAEf,IAAA,SAAS,EAAE,QAAQ;;AAEnB,IAAA,gBAAgB,EAAE,QAAQ;CAC3B,CAAC,CAAC,WAAW;AAIP,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;AACrC,IAAA,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;AAClB,IAAA,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;AACtB,IAAA,KAAK,EAAE,UAAU;;;IAIjB,eAAe,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;;IAG3C,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC;;IAGvC,WAAW,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC;CACvC,CAAC,CAAC,WAAW;AAId;AACA;AACA;AAEM,SAAU,iBAAiB,CAC/B,MAAc,EACd,UAAkB,EAClB,KAAiB,EACjB,eAAwB,EACxB,SAAiB,EACjB,WAAoB,EAAA;IAEpB,OAAO;QACL,MAAM;QACN,UAAU;QACV,KAAK;QACL,eAAe;QACf,SAAS;AACT,QAAA,WAAW,EAAE,WAAW;KACzB;AACH;AAEM,SAAU,mBAAmB,CAAC,OAAe,EAAA;IACjD,OAAO,cAAc,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;AAClD;AAEM,SAAU,uBAAuB,CAAC,IAAoB,EAAA;IAC1D,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,SAAS,EAAE,CAAC,CAAC;AAC3C;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@milaboratories/pl-deployments",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.5",
|
|
4
4
|
"pl-version": "1.41.8",
|
|
5
5
|
"description": "MiLaboratories Platforma Backend code service run wrapper",
|
|
6
6
|
"engines": {
|
|
@@ -42,9 +42,9 @@
|
|
|
42
42
|
"utility-types": "^3.11.0",
|
|
43
43
|
"vitest": "^2.1.9",
|
|
44
44
|
"@milaboratories/eslint-config": "1.0.4",
|
|
45
|
+
"@milaboratories/build-configs": "1.0.8",
|
|
45
46
|
"@milaboratories/ts-configs": "1.0.6",
|
|
46
|
-
"@milaboratories/ts-builder": "1.0.5"
|
|
47
|
-
"@milaboratories/build-configs": "1.0.8"
|
|
47
|
+
"@milaboratories/ts-builder": "1.0.5"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"decompress": "^4.2.1",
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
"undici": "~7.13.0",
|
|
55
55
|
"yaml": "^2.8.0",
|
|
56
56
|
"zod": "~3.23.8",
|
|
57
|
-
"@milaboratories/
|
|
58
|
-
"@milaboratories/
|
|
57
|
+
"@milaboratories/pl-config": "1.7.3",
|
|
58
|
+
"@milaboratories/ts-helpers": "1.4.7"
|
|
59
59
|
},
|
|
60
60
|
"scripts": {
|
|
61
61
|
"type-check": "ts-builder types --target node",
|
|
@@ -9,7 +9,7 @@ import { z } from 'zod';
|
|
|
9
9
|
export const PortPair = z.object({
|
|
10
10
|
local: z.number(),
|
|
11
11
|
remote: z.number(),
|
|
12
|
-
});
|
|
12
|
+
}).passthrough();
|
|
13
13
|
/** The pair of ports for forwarding. */
|
|
14
14
|
export type PortPair = z.infer<typeof PortPair>;
|
|
15
15
|
|
|
@@ -22,7 +22,7 @@ export const SshPlPorts = z.object({
|
|
|
22
22
|
minioPort: PortPair,
|
|
23
23
|
/** @deprecated */
|
|
24
24
|
minioConsolePort: PortPair,
|
|
25
|
-
});
|
|
25
|
+
}).passthrough();
|
|
26
26
|
/** All info about ports that are forwarded. */
|
|
27
27
|
export type SshPlPorts = z.infer<typeof SshPlPorts>;
|
|
28
28
|
|
|
@@ -40,7 +40,7 @@ export const ConnectionInfo = z.object({
|
|
|
40
40
|
|
|
41
41
|
// It's true by default because it was added later and previous installation use minio.
|
|
42
42
|
minioIsUsed: z.boolean().default(true),
|
|
43
|
-
});
|
|
43
|
+
}).passthrough();
|
|
44
44
|
/** The content of the file that holds all the info about the connection on the remote server. */
|
|
45
45
|
export type ConnectionInfo = z.infer<typeof ConnectionInfo>;
|
|
46
46
|
|