@remnawave/backend-contract 0.3.56 → 0.3.58
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/build/backend/commands/hosts/create.command.d.ts +3 -3
- package/build/backend/commands/hosts/create.command.js +1 -1
- package/build/backend/commands/hosts/update.command.d.ts +3 -3
- package/build/backend/commands/hosts/update.command.js +1 -1
- package/build/frontend/commands/hosts/create.command.js +1 -1
- package/build/frontend/commands/hosts/update.command.js +1 -1
- package/package.json +1 -1
@@ -36,7 +36,7 @@ export declare namespace CreateHostCommand {
|
|
36
36
|
readonly TLS: "TLS";
|
37
37
|
readonly NONE: "NONE";
|
38
38
|
}>>>;
|
39
|
-
xHttpExtraParams: z.ZodOptional<z.
|
39
|
+
xHttpExtraParams: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
40
40
|
}, "strip", z.ZodTypeAny, {
|
41
41
|
port: number;
|
42
42
|
inboundUuid: string;
|
@@ -50,7 +50,7 @@ export declare namespace CreateHostCommand {
|
|
50
50
|
allowInsecure?: boolean | undefined;
|
51
51
|
isDisabled?: boolean | undefined;
|
52
52
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
53
|
-
xHttpExtraParams?:
|
53
|
+
xHttpExtraParams?: unknown;
|
54
54
|
}, {
|
55
55
|
port: number;
|
56
56
|
inboundUuid: string;
|
@@ -64,7 +64,7 @@ export declare namespace CreateHostCommand {
|
|
64
64
|
allowInsecure?: boolean | undefined;
|
65
65
|
isDisabled?: boolean | undefined;
|
66
66
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
67
|
-
xHttpExtraParams?:
|
67
|
+
xHttpExtraParams?: unknown;
|
68
68
|
}>;
|
69
69
|
type Request = z.infer<typeof RequestSchema>;
|
70
70
|
const ResponseSchema: z.ZodObject<{
|
@@ -38,7 +38,7 @@ var CreateHostCommand;
|
|
38
38
|
allowInsecure: zod_1.z.optional(zod_1.z.boolean().default(false)),
|
39
39
|
isDisabled: zod_1.z.optional(zod_1.z.boolean().default(false)),
|
40
40
|
securityLayer: zod_1.z.optional(zod_1.z.nativeEnum(hosts_1.SECURITY_LAYERS).default(hosts_1.SECURITY_LAYERS.DEFAULT)),
|
41
|
-
xHttpExtraParams: zod_1.z.optional(zod_1.z.
|
41
|
+
xHttpExtraParams: zod_1.z.optional(zod_1.z.nullable(zod_1.z.unknown())),
|
42
42
|
});
|
43
43
|
CreateHostCommand.ResponseSchema = zod_1.z.object({
|
44
44
|
response: models_1.HostsSchema,
|
@@ -56,7 +56,7 @@ export declare namespace UpdateHostCommand {
|
|
56
56
|
readonly TLS: "TLS";
|
57
57
|
readonly NONE: "NONE";
|
58
58
|
}>>;
|
59
|
-
xHttpExtraParams: z.ZodOptional<z.
|
59
|
+
xHttpExtraParams: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
60
60
|
}>, "strip", z.ZodTypeAny, {
|
61
61
|
uuid: string;
|
62
62
|
path?: string | undefined;
|
@@ -71,7 +71,7 @@ export declare namespace UpdateHostCommand {
|
|
71
71
|
allowInsecure?: boolean | undefined;
|
72
72
|
isDisabled?: boolean | undefined;
|
73
73
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
74
|
-
xHttpExtraParams?:
|
74
|
+
xHttpExtraParams?: unknown;
|
75
75
|
}, {
|
76
76
|
uuid: string;
|
77
77
|
path?: string | undefined;
|
@@ -86,7 +86,7 @@ export declare namespace UpdateHostCommand {
|
|
86
86
|
allowInsecure?: boolean | undefined;
|
87
87
|
isDisabled?: boolean | undefined;
|
88
88
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
89
|
-
xHttpExtraParams?:
|
89
|
+
xHttpExtraParams?: unknown;
|
90
90
|
}>;
|
91
91
|
type Request = z.infer<typeof RequestSchema>;
|
92
92
|
const ResponseSchema: z.ZodObject<{
|
@@ -45,7 +45,7 @@ var UpdateHostCommand;
|
|
45
45
|
allowInsecure: zod_1.z.optional(zod_1.z.boolean()),
|
46
46
|
isDisabled: zod_1.z.optional(zod_1.z.boolean()),
|
47
47
|
securityLayer: zod_1.z.optional(zod_1.z.nativeEnum(hosts_1.SECURITY_LAYERS)),
|
48
|
-
xHttpExtraParams: zod_1.z.optional(zod_1.z.
|
48
|
+
xHttpExtraParams: zod_1.z.optional(zod_1.z.nullable(zod_1.z.unknown())),
|
49
49
|
});
|
50
50
|
UpdateHostCommand.ResponseSchema = zod_1.z.object({
|
51
51
|
response: models_1.HostsSchema,
|
@@ -38,7 +38,7 @@ var CreateHostCommand;
|
|
38
38
|
allowInsecure: zod_1.z.optional(zod_1.z.boolean().default(false)),
|
39
39
|
isDisabled: zod_1.z.optional(zod_1.z.boolean().default(false)),
|
40
40
|
securityLayer: zod_1.z.optional(zod_1.z.nativeEnum(hosts_1.SECURITY_LAYERS).default(hosts_1.SECURITY_LAYERS.DEFAULT)),
|
41
|
-
xHttpExtraParams: zod_1.z.optional(zod_1.z.
|
41
|
+
xHttpExtraParams: zod_1.z.optional(zod_1.z.nullable(zod_1.z.unknown())),
|
42
42
|
});
|
43
43
|
CreateHostCommand.ResponseSchema = zod_1.z.object({
|
44
44
|
response: models_1.HostsSchema,
|
@@ -45,7 +45,7 @@ var UpdateHostCommand;
|
|
45
45
|
allowInsecure: zod_1.z.optional(zod_1.z.boolean()),
|
46
46
|
isDisabled: zod_1.z.optional(zod_1.z.boolean()),
|
47
47
|
securityLayer: zod_1.z.optional(zod_1.z.nativeEnum(hosts_1.SECURITY_LAYERS)),
|
48
|
-
xHttpExtraParams: zod_1.z.optional(zod_1.z.
|
48
|
+
xHttpExtraParams: zod_1.z.optional(zod_1.z.nullable(zod_1.z.unknown())),
|
49
49
|
});
|
50
50
|
UpdateHostCommand.ResponseSchema = zod_1.z.object({
|
51
51
|
response: models_1.HostsSchema,
|