@envsync-cloud/deploy-core 0.8.16 → 0.9.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/dist/index.d.ts +23 -0
- package/dist/index.js +5 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -135,6 +135,19 @@ declare const deployConfigSchema: z.ZodObject<{
|
|
|
135
135
|
dashboard_variant?: "oss" | "enterprise" | undefined;
|
|
136
136
|
include_manage_subtree?: boolean | undefined;
|
|
137
137
|
}>>;
|
|
138
|
+
vpn: z.ZodDefault<z.ZodObject<{
|
|
139
|
+
provider: z.ZodDefault<z.ZodEnum<["netbird", "none"]>>;
|
|
140
|
+
internal_domain: z.ZodDefault<z.ZodString>;
|
|
141
|
+
nb_setup_key: z.ZodDefault<z.ZodString>;
|
|
142
|
+
}, "strip", z.ZodTypeAny, {
|
|
143
|
+
provider: "netbird" | "none";
|
|
144
|
+
internal_domain: string;
|
|
145
|
+
nb_setup_key: string;
|
|
146
|
+
}, {
|
|
147
|
+
provider?: "netbird" | "none" | undefined;
|
|
148
|
+
internal_domain?: string | undefined;
|
|
149
|
+
nb_setup_key?: string | undefined;
|
|
150
|
+
}>>;
|
|
138
151
|
}, "strip", z.ZodTypeAny, {
|
|
139
152
|
source: {
|
|
140
153
|
repo_url: string;
|
|
@@ -185,6 +198,11 @@ declare const deployConfigSchema: z.ZodObject<{
|
|
|
185
198
|
dashboard_variant?: "oss" | "enterprise" | undefined;
|
|
186
199
|
include_manage_subtree?: boolean | undefined;
|
|
187
200
|
};
|
|
201
|
+
vpn: {
|
|
202
|
+
provider: "netbird" | "none";
|
|
203
|
+
internal_domain: string;
|
|
204
|
+
nb_setup_key: string;
|
|
205
|
+
};
|
|
188
206
|
edition?: "oss" | "enterprise" | undefined;
|
|
189
207
|
}, {
|
|
190
208
|
edition?: "oss" | "enterprise" | undefined;
|
|
@@ -237,6 +255,11 @@ declare const deployConfigSchema: z.ZodObject<{
|
|
|
237
255
|
dashboard_variant?: "oss" | "enterprise" | undefined;
|
|
238
256
|
include_manage_subtree?: boolean | undefined;
|
|
239
257
|
} | undefined;
|
|
258
|
+
vpn?: {
|
|
259
|
+
provider?: "netbird" | "none" | undefined;
|
|
260
|
+
internal_domain?: string | undefined;
|
|
261
|
+
nb_setup_key?: string | undefined;
|
|
262
|
+
} | undefined;
|
|
240
263
|
}>;
|
|
241
264
|
type DeployConfig = z.infer<typeof deployConfigSchema>;
|
|
242
265
|
interface FrontendArtifactPlan {
|
package/dist/index.js
CHANGED
|
@@ -59,6 +59,11 @@ var deployConfigSchema = z.object({
|
|
|
59
59
|
frontend: z.object({
|
|
60
60
|
dashboard_variant: z.enum(["oss", "enterprise"]).optional(),
|
|
61
61
|
include_manage_subtree: z.boolean().optional()
|
|
62
|
+
}).default({}),
|
|
63
|
+
vpn: z.object({
|
|
64
|
+
provider: z.enum(["netbird", "none"]).default("none"),
|
|
65
|
+
internal_domain: z.string().default("envsync.local"),
|
|
66
|
+
nb_setup_key: z.string().default("")
|
|
62
67
|
}).default({})
|
|
63
68
|
});
|
|
64
69
|
function readDeployConfigFile(filePath) {
|