@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.string().optional(),
41
- sni: zod_1.z.string().optional(),
42
- host: zod_1.z.string().optional(),
43
- alpn: zod_1.z.nativeEnum(alpn_1.ALPN).optional(),
44
- fingerprint: zod_1.z.nativeEnum(fingerprints_1.FINGERPRINTS).optional(),
45
- allowInsecure: zod_1.z.boolean().optional(),
46
- isDisabled: zod_1.z.boolean().optional(),
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.string().optional(),
39
- sni: z.string().optional(),
40
- host: z.string().optional(),
41
- alpn: z.nativeEnum(ALPN).optional(),
42
- fingerprint: z.nativeEnum(FINGERPRINTS).optional(),
43
- allowInsecure: z.boolean().optional(),
44
- isDisabled: z.boolean().optional(),
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnawave/backend-contract",
3
- "version": "0.0.18",
3
+ "version": "0.0.19",
4
4
  "description": "A contract library for Remnawave",
5
5
  "main": "index.js",
6
6
  "scripts": {