Skip to content

Commit ee9061e

Browse files
committed
fix: update Xray config command response schemas to use unknown type
1 parent dfe28d5 commit ee9061e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

libs/contract/commands/xray/get-config.command.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export namespace GetXrayConfigCommand {
77

88
export const ResponseSchema = z.object({
99
response: z.object({
10-
config: z.object({}),
10+
config: z.unknown(),
1111
}),
1212
});
1313

libs/contract/commands/xray/update-config.command.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export namespace UpdateXrayConfigCommand {
1212

1313
export const ResponseSchema = z.object({
1414
response: z.object({
15-
config: z.object({}),
15+
config: z.unknown(),
1616
}),
1717
});
1818

libs/contract/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@remnawave/backend-contract",
3-
"version": "0.2.3",
3+
"version": "0.2.5",
44
"public": true,
55
"license": "AGPL-3.0-only",
66
"description": "A contract library for Remnawave Backend. It can be used in backend and frontend.",

0 commit comments

Comments
 (0)