@remnawave/backend-contract 0.0.23 → 0.0.24
Sign up to get free protection for your applications and to get access to all the features.
@@ -35,8 +35,8 @@ var CreateHostCommand;
|
|
35
35
|
host: zod_1.z.string().optional(),
|
36
36
|
alpn: zod_1.z.optional(zod_1.z.enum([alpn_1.ALPN_VALUES[0], ...alpn_1.ALPN_VALUES]).nullable()),
|
37
37
|
fingerprint: zod_1.z.optional(zod_1.z.enum([fingerprints_1.FINGERPRINTS_VALUES[0], ...fingerprints_1.FINGERPRINTS_VALUES]).nullable()),
|
38
|
-
allowInsecure: zod_1.z.
|
39
|
-
isDisabled: zod_1.z.
|
38
|
+
allowInsecure: zod_1.z.optional(zod_1.z.boolean().default(false)),
|
39
|
+
isDisabled: zod_1.z.optional(zod_1.z.boolean().default(false)),
|
40
40
|
});
|
41
41
|
CreateHostCommand.ResponseSchema = zod_1.z.object({
|
42
42
|
response: models_1.HostsSchema,
|
@@ -35,8 +35,8 @@ export namespace CreateHostCommand {
|
|
35
35
|
fingerprint: z.optional(
|
36
36
|
z.enum([FINGERPRINTS_VALUES[0], ...FINGERPRINTS_VALUES]).nullable(),
|
37
37
|
),
|
38
|
-
allowInsecure: z.
|
39
|
-
isDisabled: z.
|
38
|
+
allowInsecure: z.optional(z.boolean().default(false)),
|
39
|
+
isDisabled: z.optional(z.boolean().default(false)),
|
40
40
|
});
|
41
41
|
export type Request = z.infer<typeof RequestSchema>;
|
42
42
|
|