@remnawave/backend-contract 0.0.18 → 0.0.19
Sign up to get free protection for your applications and to get access to all the features.
@@ -37,13 +37,13 @@ var UpdateHostCommand;
|
|
37
37
|
})
|
38
38
|
.int()
|
39
39
|
.optional(),
|
40
|
-
path: zod_1.z.
|
41
|
-
sni: zod_1.z.
|
42
|
-
host: zod_1.z.
|
43
|
-
alpn: zod_1.z.nativeEnum(alpn_1.ALPN)
|
44
|
-
fingerprint: zod_1.z.nativeEnum(fingerprints_1.FINGERPRINTS)
|
45
|
-
allowInsecure: zod_1.z.
|
46
|
-
isDisabled: zod_1.z.
|
40
|
+
path: zod_1.z.optional(zod_1.z.string()),
|
41
|
+
sni: zod_1.z.optional(zod_1.z.string()),
|
42
|
+
host: zod_1.z.optional(zod_1.z.string()),
|
43
|
+
alpn: zod_1.z.optional(zod_1.z.nativeEnum(alpn_1.ALPN)),
|
44
|
+
fingerprint: zod_1.z.optional(zod_1.z.nativeEnum(fingerprints_1.FINGERPRINTS)),
|
45
|
+
allowInsecure: zod_1.z.optional(zod_1.z.boolean()),
|
46
|
+
isDisabled: zod_1.z.optional(zod_1.z.boolean()),
|
47
47
|
});
|
48
48
|
UpdateHostCommand.ResponseSchema = zod_1.z.object({
|
49
49
|
response: models_1.HostsSchema,
|
@@ -35,13 +35,13 @@ export namespace UpdateHostCommand {
|
|
35
35
|
})
|
36
36
|
.int()
|
37
37
|
.optional(),
|
38
|
-
path: z.
|
39
|
-
sni: z.
|
40
|
-
host: z.
|
41
|
-
alpn: z.nativeEnum(ALPN)
|
42
|
-
fingerprint: z.nativeEnum(FINGERPRINTS)
|
43
|
-
allowInsecure: z.
|
44
|
-
isDisabled: z.
|
38
|
+
path: z.optional(z.string()),
|
39
|
+
sni: z.optional(z.string()),
|
40
|
+
host: z.optional(z.string()),
|
41
|
+
alpn: z.optional(z.nativeEnum(ALPN)),
|
42
|
+
fingerprint: z.optional(z.nativeEnum(FINGERPRINTS)),
|
43
|
+
allowInsecure: z.optional(z.boolean()),
|
44
|
+
isDisabled: z.optional(z.boolean()),
|
45
45
|
});
|
46
46
|
export type Request = z.infer<typeof RequestSchema>;
|
47
47
|
|