@remnawave/backend-contract 0.0.79 → 0.0.80
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.
@@ -61,21 +61,169 @@ export declare namespace ReorderNodeCommand {
|
|
61
61
|
}>;
|
62
62
|
type Request = z.infer<typeof RequestSchema>;
|
63
63
|
const ResponseSchema: z.ZodObject<{
|
64
|
-
response: z.ZodObject<{
|
65
|
-
|
64
|
+
response: z.ZodArray<z.ZodObject<{
|
65
|
+
uuid: z.ZodString;
|
66
|
+
name: z.ZodString;
|
67
|
+
address: z.ZodString;
|
68
|
+
port: z.ZodNullable<z.ZodNumber>;
|
69
|
+
isConnected: z.ZodBoolean;
|
70
|
+
isDisabled: z.ZodBoolean;
|
71
|
+
isConnecting: z.ZodBoolean;
|
72
|
+
isNodeOnline: z.ZodBoolean;
|
73
|
+
isXrayRunning: z.ZodBoolean;
|
74
|
+
lastStatusChange: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;
|
75
|
+
lastStatusMessage: z.ZodNullable<z.ZodString>;
|
76
|
+
xrayVersion: z.ZodNullable<z.ZodString>;
|
77
|
+
isTrafficTrackingActive: z.ZodBoolean;
|
78
|
+
trafficResetDay: z.ZodNullable<z.ZodNumber>;
|
79
|
+
trafficLimitBytes: z.ZodNullable<z.ZodNumber>;
|
80
|
+
trafficUsedBytes: z.ZodNullable<z.ZodNumber>;
|
81
|
+
notifyPercent: z.ZodNullable<z.ZodNumber>;
|
82
|
+
usersOnline: z.ZodNullable<z.ZodNumber>;
|
83
|
+
viewPosition: z.ZodNumber;
|
84
|
+
cpuCount: z.ZodNullable<z.ZodNumber>;
|
85
|
+
cpuModel: z.ZodNullable<z.ZodString>;
|
86
|
+
totalRam: z.ZodNullable<z.ZodString>;
|
87
|
+
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
88
|
+
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
89
|
+
excludedInbounds: z.ZodArray<z.ZodObject<{
|
90
|
+
uuid: z.ZodString;
|
91
|
+
tag: z.ZodString;
|
92
|
+
type: z.ZodString;
|
93
|
+
}, "strip", z.ZodTypeAny, {
|
94
|
+
uuid: string;
|
95
|
+
type: string;
|
96
|
+
tag: string;
|
97
|
+
}, {
|
98
|
+
uuid: string;
|
99
|
+
type: string;
|
100
|
+
tag: string;
|
101
|
+
}>, "many">;
|
66
102
|
}, "strip", z.ZodTypeAny, {
|
67
|
-
|
103
|
+
uuid: string;
|
104
|
+
createdAt: Date;
|
105
|
+
updatedAt: Date;
|
106
|
+
viewPosition: number;
|
107
|
+
address: string;
|
108
|
+
port: number | null;
|
109
|
+
isDisabled: boolean;
|
110
|
+
name: string;
|
111
|
+
isConnected: boolean;
|
112
|
+
isConnecting: boolean;
|
113
|
+
isNodeOnline: boolean;
|
114
|
+
isXrayRunning: boolean;
|
115
|
+
lastStatusChange: Date | null;
|
116
|
+
lastStatusMessage: string | null;
|
117
|
+
xrayVersion: string | null;
|
118
|
+
isTrafficTrackingActive: boolean;
|
119
|
+
trafficResetDay: number | null;
|
120
|
+
trafficLimitBytes: number | null;
|
121
|
+
trafficUsedBytes: number | null;
|
122
|
+
notifyPercent: number | null;
|
123
|
+
usersOnline: number | null;
|
124
|
+
cpuCount: number | null;
|
125
|
+
cpuModel: string | null;
|
126
|
+
totalRam: string | null;
|
127
|
+
excludedInbounds: {
|
128
|
+
uuid: string;
|
129
|
+
type: string;
|
130
|
+
tag: string;
|
131
|
+
}[];
|
68
132
|
}, {
|
69
|
-
|
70
|
-
|
133
|
+
uuid: string;
|
134
|
+
createdAt: string;
|
135
|
+
updatedAt: string;
|
136
|
+
viewPosition: number;
|
137
|
+
address: string;
|
138
|
+
port: number | null;
|
139
|
+
isDisabled: boolean;
|
140
|
+
name: string;
|
141
|
+
isConnected: boolean;
|
142
|
+
isConnecting: boolean;
|
143
|
+
isNodeOnline: boolean;
|
144
|
+
isXrayRunning: boolean;
|
145
|
+
lastStatusChange: string | null;
|
146
|
+
lastStatusMessage: string | null;
|
147
|
+
xrayVersion: string | null;
|
148
|
+
isTrafficTrackingActive: boolean;
|
149
|
+
trafficResetDay: number | null;
|
150
|
+
trafficLimitBytes: number | null;
|
151
|
+
trafficUsedBytes: number | null;
|
152
|
+
notifyPercent: number | null;
|
153
|
+
usersOnline: number | null;
|
154
|
+
cpuCount: number | null;
|
155
|
+
cpuModel: string | null;
|
156
|
+
totalRam: string | null;
|
157
|
+
excludedInbounds: {
|
158
|
+
uuid: string;
|
159
|
+
type: string;
|
160
|
+
tag: string;
|
161
|
+
}[];
|
162
|
+
}>, "many">;
|
71
163
|
}, "strip", z.ZodTypeAny, {
|
72
164
|
response: {
|
73
|
-
|
74
|
-
|
165
|
+
uuid: string;
|
166
|
+
createdAt: Date;
|
167
|
+
updatedAt: Date;
|
168
|
+
viewPosition: number;
|
169
|
+
address: string;
|
170
|
+
port: number | null;
|
171
|
+
isDisabled: boolean;
|
172
|
+
name: string;
|
173
|
+
isConnected: boolean;
|
174
|
+
isConnecting: boolean;
|
175
|
+
isNodeOnline: boolean;
|
176
|
+
isXrayRunning: boolean;
|
177
|
+
lastStatusChange: Date | null;
|
178
|
+
lastStatusMessage: string | null;
|
179
|
+
xrayVersion: string | null;
|
180
|
+
isTrafficTrackingActive: boolean;
|
181
|
+
trafficResetDay: number | null;
|
182
|
+
trafficLimitBytes: number | null;
|
183
|
+
trafficUsedBytes: number | null;
|
184
|
+
notifyPercent: number | null;
|
185
|
+
usersOnline: number | null;
|
186
|
+
cpuCount: number | null;
|
187
|
+
cpuModel: string | null;
|
188
|
+
totalRam: string | null;
|
189
|
+
excludedInbounds: {
|
190
|
+
uuid: string;
|
191
|
+
type: string;
|
192
|
+
tag: string;
|
193
|
+
}[];
|
194
|
+
}[];
|
75
195
|
}, {
|
76
196
|
response: {
|
77
|
-
|
78
|
-
|
197
|
+
uuid: string;
|
198
|
+
createdAt: string;
|
199
|
+
updatedAt: string;
|
200
|
+
viewPosition: number;
|
201
|
+
address: string;
|
202
|
+
port: number | null;
|
203
|
+
isDisabled: boolean;
|
204
|
+
name: string;
|
205
|
+
isConnected: boolean;
|
206
|
+
isConnecting: boolean;
|
207
|
+
isNodeOnline: boolean;
|
208
|
+
isXrayRunning: boolean;
|
209
|
+
lastStatusChange: string | null;
|
210
|
+
lastStatusMessage: string | null;
|
211
|
+
xrayVersion: string | null;
|
212
|
+
isTrafficTrackingActive: boolean;
|
213
|
+
trafficResetDay: number | null;
|
214
|
+
trafficLimitBytes: number | null;
|
215
|
+
trafficUsedBytes: number | null;
|
216
|
+
notifyPercent: number | null;
|
217
|
+
usersOnline: number | null;
|
218
|
+
cpuCount: number | null;
|
219
|
+
cpuModel: string | null;
|
220
|
+
totalRam: string | null;
|
221
|
+
excludedInbounds: {
|
222
|
+
uuid: string;
|
223
|
+
type: string;
|
224
|
+
tag: string;
|
225
|
+
}[];
|
226
|
+
}[];
|
79
227
|
}>;
|
80
228
|
type Response = z.infer<typeof ResponseSchema>;
|
81
229
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"reorder.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/reorder.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,sBAAyB,CAAC;IACnC,MAAM,OAAO,sBAAM,CAAC;IAEpB,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAOxB,CAAC;IACH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc
|
1
|
+
{"version":3,"file":"reorder.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/reorder.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,sBAAyB,CAAC;IACnC,MAAM,OAAO,sBAAM,CAAC;IAEpB,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAOxB,CAAC;IACH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -15,8 +15,6 @@ var ReorderNodeCommand;
|
|
15
15
|
})),
|
16
16
|
});
|
17
17
|
ReorderNodeCommand.ResponseSchema = zod_1.z.object({
|
18
|
-
response: zod_1.z.
|
19
|
-
isUpdated: zod_1.z.boolean(),
|
20
|
-
}),
|
18
|
+
response: zod_1.z.array(models_1.NodesSchema),
|
21
19
|
});
|
22
20
|
})(ReorderNodeCommand || (exports.ReorderNodeCommand = ReorderNodeCommand = {}));
|
@@ -15,8 +15,6 @@ var ReorderNodeCommand;
|
|
15
15
|
})),
|
16
16
|
});
|
17
17
|
ReorderNodeCommand.ResponseSchema = zod_1.z.object({
|
18
|
-
response: zod_1.z.
|
19
|
-
isUpdated: zod_1.z.boolean(),
|
20
|
-
}),
|
18
|
+
response: zod_1.z.array(models_1.NodesSchema),
|
21
19
|
});
|
22
20
|
})(ReorderNodeCommand || (exports.ReorderNodeCommand = ReorderNodeCommand = {}));
|