@remnawave/backend-contract 0.0.9 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
@@ -72,10 +72,8 @@ var CreateUserCommand;
|
|
72
72
|
});
|
73
73
|
}
|
74
74
|
}),
|
75
|
-
|
76
|
-
.array(
|
77
|
-
uuid: true,
|
78
|
-
}), {
|
75
|
+
activeUserInbounds: zod_1.z
|
76
|
+
.array(zod_1.z.string().uuid(), {
|
79
77
|
invalid_type_error: 'Enabled inbounds must be an array',
|
80
78
|
})
|
81
79
|
.optional(),
|
@@ -35,11 +35,9 @@ var UpdateUserCommand;
|
|
35
35
|
});
|
36
36
|
}
|
37
37
|
}),
|
38
|
-
|
39
|
-
.array(
|
40
|
-
|
41
|
-
}), {
|
42
|
-
invalid_type_error: 'Enabled inbounds must be an array',
|
38
|
+
activeUserInbounds: zod_1.z
|
39
|
+
.array(zod_1.z.string().uuid(), {
|
40
|
+
invalid_type_error: 'Enabled inbounds must be an array of UUIDs',
|
43
41
|
})
|
44
42
|
.optional(),
|
45
43
|
expireAt: zod_1.z.coerce
|
@@ -73,15 +73,10 @@ export namespace CreateUserCommand {
|
|
73
73
|
});
|
74
74
|
}
|
75
75
|
}),
|
76
|
-
|
77
|
-
.array(
|
78
|
-
|
79
|
-
|
80
|
-
}),
|
81
|
-
{
|
82
|
-
invalid_type_error: 'Enabled inbounds must be an array',
|
83
|
-
},
|
84
|
-
)
|
76
|
+
activeUserInbounds: z
|
77
|
+
.array(z.string().uuid(), {
|
78
|
+
invalid_type_error: 'Enabled inbounds must be an array',
|
79
|
+
})
|
85
80
|
.optional(),
|
86
81
|
expireAt: z.coerce
|
87
82
|
.date({
|
@@ -33,15 +33,10 @@ export namespace UpdateUserCommand {
|
|
33
33
|
});
|
34
34
|
}
|
35
35
|
}),
|
36
|
-
|
37
|
-
.array(
|
38
|
-
|
39
|
-
|
40
|
-
}),
|
41
|
-
{
|
42
|
-
invalid_type_error: 'Enabled inbounds must be an array',
|
43
|
-
},
|
44
|
-
)
|
36
|
+
activeUserInbounds: z
|
37
|
+
.array(z.string().uuid(), {
|
38
|
+
invalid_type_error: 'Enabled inbounds must be an array of UUIDs',
|
39
|
+
})
|
45
40
|
.optional(),
|
46
41
|
expireAt: z.coerce
|
47
42
|
.date({
|