@remnawave/backend-contract 2.6.55 → 2.6.56
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/api/controllers-info.d.ts +1 -1
- package/build/backend/api/controllers-info.js +1 -1
- package/build/backend/commands/infra-billing/create-billing-node.command.d.ts +24 -8
- package/build/backend/commands/infra-billing/create-billing-node.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts +24 -8
- package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts +24 -8
- package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/update-billing-node.command.d.ts +24 -8
- package/build/backend/commands/infra-billing/update-billing-node.command.d.ts.map +1 -1
- package/build/backend/commands/keygen/get-pubkey.command.js +1 -1
- package/build/backend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports.command.d.ts +12 -4
- package/build/backend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports.command.d.ts.map +1 -1
- package/build/backend/commands/node-plugins/torrent-blocker/truncate-torrent-blocker-reports.command.d.ts +12 -4
- package/build/backend/commands/node-plugins/torrent-blocker/truncate-torrent-blocker-reports.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/disable.command.d.ts +36 -20
- package/build/backend/commands/nodes/actions/disable.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/enable.command.d.ts +36 -20
- package/build/backend/commands/nodes/actions/enable.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/reorder.command.d.ts +48 -24
- package/build/backend/commands/nodes/actions/reorder.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/create.command.d.ts +36 -20
- package/build/backend/commands/nodes/create.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/get-all.command.d.ts +36 -20
- package/build/backend/commands/nodes/get-all.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/get-one.command.d.ts +36 -20
- package/build/backend/commands/nodes/get-one.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/update.command.d.ts +48 -24
- package/build/backend/commands/nodes/update.command.d.ts.map +1 -1
- package/build/backend/constants/cache-keys/cache-keys.constants.d.ts +5 -0
- package/build/backend/constants/cache-keys/cache-keys.constants.d.ts.map +1 -1
- package/build/backend/constants/cache-keys/cache-keys.constants.js +5 -0
- package/build/backend/models/infra-billing-available-node.schema.d.ts +12 -4
- package/build/backend/models/infra-billing-available-node.schema.d.ts.map +1 -1
- package/build/backend/models/infra-billing-node.schema.d.ts +12 -4
- package/build/backend/models/infra-billing-node.schema.d.ts.map +1 -1
- package/build/backend/models/nodes.schema.d.ts +24 -12
- package/build/backend/models/nodes.schema.d.ts.map +1 -1
- package/build/backend/models/nodes.schema.js +6 -4
- package/build/backend/models/torrent-blocker-report.schema.d.ts +12 -4
- package/build/backend/models/torrent-blocker-report.schema.d.ts.map +1 -1
- package/build/backend/models/webhook/webhook.schema.d.ts +168 -96
- package/build/backend/models/webhook/webhook.schema.d.ts.map +1 -1
- package/build/frontend/api/controllers-info.js +1 -1
- package/build/frontend/commands/keygen/get-pubkey.command.js +1 -1
- package/build/frontend/constants/cache-keys/cache-keys.constants.js +5 -0
- package/build/frontend/models/nodes.schema.js +6 -4
- package/package.json +1 -1
|
@@ -22,15 +22,11 @@ export declare namespace GetOneNodeCommand {
|
|
|
22
22
|
isConnecting: z.ZodBoolean;
|
|
23
23
|
lastStatusChange: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;
|
|
24
24
|
lastStatusMessage: z.ZodNullable<z.ZodString>;
|
|
25
|
-
xrayVersion: z.ZodNullable<z.ZodString>;
|
|
26
|
-
nodeVersion: z.ZodNullable<z.ZodString>;
|
|
27
|
-
xrayUptime: z.ZodString;
|
|
28
25
|
isTrafficTrackingActive: z.ZodBoolean;
|
|
29
26
|
trafficResetDay: z.ZodNullable<z.ZodNumber>;
|
|
30
27
|
trafficLimitBytes: z.ZodNullable<z.ZodNumber>;
|
|
31
28
|
trafficUsedBytes: z.ZodNullable<z.ZodNumber>;
|
|
32
29
|
notifyPercent: z.ZodNullable<z.ZodNumber>;
|
|
33
|
-
usersOnline: z.ZodNullable<z.ZodNumber>;
|
|
34
30
|
viewPosition: z.ZodNumber;
|
|
35
31
|
countryCode: z.ZodString;
|
|
36
32
|
consumptionMultiplier: z.ZodNumber;
|
|
@@ -253,6 +249,18 @@ export declare namespace GetOneNodeCommand {
|
|
|
253
249
|
networkInterfaces: string[];
|
|
254
250
|
};
|
|
255
251
|
}>>;
|
|
252
|
+
versions: z.ZodNullable<z.ZodObject<{
|
|
253
|
+
xray: z.ZodString;
|
|
254
|
+
node: z.ZodString;
|
|
255
|
+
}, "strip", z.ZodTypeAny, {
|
|
256
|
+
node: string;
|
|
257
|
+
xray: string;
|
|
258
|
+
}, {
|
|
259
|
+
node: string;
|
|
260
|
+
xray: string;
|
|
261
|
+
}>>;
|
|
262
|
+
xrayUptime: z.ZodNumber;
|
|
263
|
+
usersOnline: z.ZodNumber;
|
|
256
264
|
}, "strip", z.ZodTypeAny, {
|
|
257
265
|
tags: string[];
|
|
258
266
|
system: {
|
|
@@ -304,14 +312,10 @@ export declare namespace GetOneNodeCommand {
|
|
|
304
312
|
isConnecting: boolean;
|
|
305
313
|
lastStatusChange: Date | null;
|
|
306
314
|
lastStatusMessage: string | null;
|
|
307
|
-
xrayVersion: string | null;
|
|
308
|
-
nodeVersion: string | null;
|
|
309
|
-
xrayUptime: string;
|
|
310
315
|
isTrafficTrackingActive: boolean;
|
|
311
316
|
trafficResetDay: number | null;
|
|
312
317
|
trafficUsedBytes: number | null;
|
|
313
318
|
notifyPercent: number | null;
|
|
314
|
-
usersOnline: number | null;
|
|
315
319
|
consumptionMultiplier: number;
|
|
316
320
|
configProfile: {
|
|
317
321
|
activeConfigProfileUuid: string | null;
|
|
@@ -328,6 +332,12 @@ export declare namespace GetOneNodeCommand {
|
|
|
328
332
|
};
|
|
329
333
|
providerUuid: string | null;
|
|
330
334
|
activePluginUuid: string | null;
|
|
335
|
+
versions: {
|
|
336
|
+
node: string;
|
|
337
|
+
xray: string;
|
|
338
|
+
} | null;
|
|
339
|
+
xrayUptime: number;
|
|
340
|
+
usersOnline: number;
|
|
331
341
|
}, {
|
|
332
342
|
tags: string[];
|
|
333
343
|
system: {
|
|
@@ -379,14 +389,10 @@ export declare namespace GetOneNodeCommand {
|
|
|
379
389
|
isConnecting: boolean;
|
|
380
390
|
lastStatusChange: string | null;
|
|
381
391
|
lastStatusMessage: string | null;
|
|
382
|
-
xrayVersion: string | null;
|
|
383
|
-
nodeVersion: string | null;
|
|
384
|
-
xrayUptime: string;
|
|
385
392
|
isTrafficTrackingActive: boolean;
|
|
386
393
|
trafficResetDay: number | null;
|
|
387
394
|
trafficUsedBytes: number | null;
|
|
388
395
|
notifyPercent: number | null;
|
|
389
|
-
usersOnline: number | null;
|
|
390
396
|
consumptionMultiplier: number;
|
|
391
397
|
configProfile: {
|
|
392
398
|
activeConfigProfileUuid: string | null;
|
|
@@ -403,6 +409,12 @@ export declare namespace GetOneNodeCommand {
|
|
|
403
409
|
};
|
|
404
410
|
providerUuid: string | null;
|
|
405
411
|
activePluginUuid: string | null;
|
|
412
|
+
versions: {
|
|
413
|
+
node: string;
|
|
414
|
+
xray: string;
|
|
415
|
+
} | null;
|
|
416
|
+
xrayUptime: number;
|
|
417
|
+
usersOnline: number;
|
|
406
418
|
}>;
|
|
407
419
|
}, "strip", z.ZodTypeAny, {
|
|
408
420
|
response: {
|
|
@@ -456,14 +468,10 @@ export declare namespace GetOneNodeCommand {
|
|
|
456
468
|
isConnecting: boolean;
|
|
457
469
|
lastStatusChange: Date | null;
|
|
458
470
|
lastStatusMessage: string | null;
|
|
459
|
-
xrayVersion: string | null;
|
|
460
|
-
nodeVersion: string | null;
|
|
461
|
-
xrayUptime: string;
|
|
462
471
|
isTrafficTrackingActive: boolean;
|
|
463
472
|
trafficResetDay: number | null;
|
|
464
473
|
trafficUsedBytes: number | null;
|
|
465
474
|
notifyPercent: number | null;
|
|
466
|
-
usersOnline: number | null;
|
|
467
475
|
consumptionMultiplier: number;
|
|
468
476
|
configProfile: {
|
|
469
477
|
activeConfigProfileUuid: string | null;
|
|
@@ -480,6 +488,12 @@ export declare namespace GetOneNodeCommand {
|
|
|
480
488
|
};
|
|
481
489
|
providerUuid: string | null;
|
|
482
490
|
activePluginUuid: string | null;
|
|
491
|
+
versions: {
|
|
492
|
+
node: string;
|
|
493
|
+
xray: string;
|
|
494
|
+
} | null;
|
|
495
|
+
xrayUptime: number;
|
|
496
|
+
usersOnline: number;
|
|
483
497
|
};
|
|
484
498
|
}, {
|
|
485
499
|
response: {
|
|
@@ -533,14 +547,10 @@ export declare namespace GetOneNodeCommand {
|
|
|
533
547
|
isConnecting: boolean;
|
|
534
548
|
lastStatusChange: string | null;
|
|
535
549
|
lastStatusMessage: string | null;
|
|
536
|
-
xrayVersion: string | null;
|
|
537
|
-
nodeVersion: string | null;
|
|
538
|
-
xrayUptime: string;
|
|
539
550
|
isTrafficTrackingActive: boolean;
|
|
540
551
|
trafficResetDay: number | null;
|
|
541
552
|
trafficUsedBytes: number | null;
|
|
542
553
|
notifyPercent: number | null;
|
|
543
|
-
usersOnline: number | null;
|
|
544
554
|
consumptionMultiplier: number;
|
|
545
555
|
configProfile: {
|
|
546
556
|
activeConfigProfileUuid: string | null;
|
|
@@ -557,6 +567,12 @@ export declare namespace GetOneNodeCommand {
|
|
|
557
567
|
};
|
|
558
568
|
providerUuid: string | null;
|
|
559
569
|
activePluginUuid: string | null;
|
|
570
|
+
versions: {
|
|
571
|
+
node: string;
|
|
572
|
+
xray: string;
|
|
573
|
+
} | null;
|
|
574
|
+
xrayUptime: number;
|
|
575
|
+
usersOnline: number;
|
|
560
576
|
};
|
|
561
577
|
}>;
|
|
562
578
|
type Response = z.infer<typeof ResponseSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-one.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/get-one.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,0BAA6B,CAAC;IACvC,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"get-one.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/get-one.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,0BAA6B,CAAC;IACvC,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,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"}
|
|
@@ -13,15 +13,11 @@ export declare namespace UpdateNodeCommand {
|
|
|
13
13
|
isConnecting: z.ZodBoolean;
|
|
14
14
|
lastStatusChange: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;
|
|
15
15
|
lastStatusMessage: z.ZodNullable<z.ZodString>;
|
|
16
|
-
xrayVersion: z.ZodNullable<z.ZodString>;
|
|
17
|
-
nodeVersion: z.ZodNullable<z.ZodString>;
|
|
18
|
-
xrayUptime: z.ZodString;
|
|
19
16
|
isTrafficTrackingActive: z.ZodBoolean;
|
|
20
17
|
trafficResetDay: z.ZodNullable<z.ZodNumber>;
|
|
21
18
|
trafficLimitBytes: z.ZodNullable<z.ZodNumber>;
|
|
22
19
|
trafficUsedBytes: z.ZodNullable<z.ZodNumber>;
|
|
23
20
|
notifyPercent: z.ZodNullable<z.ZodNumber>;
|
|
24
|
-
usersOnline: z.ZodNullable<z.ZodNumber>;
|
|
25
21
|
viewPosition: z.ZodNumber;
|
|
26
22
|
countryCode: z.ZodString;
|
|
27
23
|
consumptionMultiplier: z.ZodNumber;
|
|
@@ -244,6 +240,18 @@ export declare namespace UpdateNodeCommand {
|
|
|
244
240
|
networkInterfaces: string[];
|
|
245
241
|
};
|
|
246
242
|
}>>;
|
|
243
|
+
versions: z.ZodNullable<z.ZodObject<{
|
|
244
|
+
xray: z.ZodString;
|
|
245
|
+
node: z.ZodString;
|
|
246
|
+
}, "strip", z.ZodTypeAny, {
|
|
247
|
+
node: string;
|
|
248
|
+
xray: string;
|
|
249
|
+
}, {
|
|
250
|
+
node: string;
|
|
251
|
+
xray: string;
|
|
252
|
+
}>>;
|
|
253
|
+
xrayUptime: z.ZodNumber;
|
|
254
|
+
usersOnline: z.ZodNumber;
|
|
247
255
|
}, "uuid"> & {
|
|
248
256
|
name: z.ZodOptional<z.ZodString>;
|
|
249
257
|
address: z.ZodOptional<z.ZodString>;
|
|
@@ -316,15 +324,11 @@ export declare namespace UpdateNodeCommand {
|
|
|
316
324
|
isConnecting: z.ZodBoolean;
|
|
317
325
|
lastStatusChange: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;
|
|
318
326
|
lastStatusMessage: z.ZodNullable<z.ZodString>;
|
|
319
|
-
xrayVersion: z.ZodNullable<z.ZodString>;
|
|
320
|
-
nodeVersion: z.ZodNullable<z.ZodString>;
|
|
321
|
-
xrayUptime: z.ZodString;
|
|
322
327
|
isTrafficTrackingActive: z.ZodBoolean;
|
|
323
328
|
trafficResetDay: z.ZodNullable<z.ZodNumber>;
|
|
324
329
|
trafficLimitBytes: z.ZodNullable<z.ZodNumber>;
|
|
325
330
|
trafficUsedBytes: z.ZodNullable<z.ZodNumber>;
|
|
326
331
|
notifyPercent: z.ZodNullable<z.ZodNumber>;
|
|
327
|
-
usersOnline: z.ZodNullable<z.ZodNumber>;
|
|
328
332
|
viewPosition: z.ZodNumber;
|
|
329
333
|
countryCode: z.ZodString;
|
|
330
334
|
consumptionMultiplier: z.ZodNumber;
|
|
@@ -547,6 +551,18 @@ export declare namespace UpdateNodeCommand {
|
|
|
547
551
|
networkInterfaces: string[];
|
|
548
552
|
};
|
|
549
553
|
}>>;
|
|
554
|
+
versions: z.ZodNullable<z.ZodObject<{
|
|
555
|
+
xray: z.ZodString;
|
|
556
|
+
node: z.ZodString;
|
|
557
|
+
}, "strip", z.ZodTypeAny, {
|
|
558
|
+
node: string;
|
|
559
|
+
xray: string;
|
|
560
|
+
}, {
|
|
561
|
+
node: string;
|
|
562
|
+
xray: string;
|
|
563
|
+
}>>;
|
|
564
|
+
xrayUptime: z.ZodNumber;
|
|
565
|
+
usersOnline: z.ZodNumber;
|
|
550
566
|
}, "strip", z.ZodTypeAny, {
|
|
551
567
|
tags: string[];
|
|
552
568
|
system: {
|
|
@@ -598,14 +614,10 @@ export declare namespace UpdateNodeCommand {
|
|
|
598
614
|
isConnecting: boolean;
|
|
599
615
|
lastStatusChange: Date | null;
|
|
600
616
|
lastStatusMessage: string | null;
|
|
601
|
-
xrayVersion: string | null;
|
|
602
|
-
nodeVersion: string | null;
|
|
603
|
-
xrayUptime: string;
|
|
604
617
|
isTrafficTrackingActive: boolean;
|
|
605
618
|
trafficResetDay: number | null;
|
|
606
619
|
trafficUsedBytes: number | null;
|
|
607
620
|
notifyPercent: number | null;
|
|
608
|
-
usersOnline: number | null;
|
|
609
621
|
consumptionMultiplier: number;
|
|
610
622
|
configProfile: {
|
|
611
623
|
activeConfigProfileUuid: string | null;
|
|
@@ -622,6 +634,12 @@ export declare namespace UpdateNodeCommand {
|
|
|
622
634
|
};
|
|
623
635
|
providerUuid: string | null;
|
|
624
636
|
activePluginUuid: string | null;
|
|
637
|
+
versions: {
|
|
638
|
+
node: string;
|
|
639
|
+
xray: string;
|
|
640
|
+
} | null;
|
|
641
|
+
xrayUptime: number;
|
|
642
|
+
usersOnline: number;
|
|
625
643
|
}, {
|
|
626
644
|
tags: string[];
|
|
627
645
|
system: {
|
|
@@ -673,14 +691,10 @@ export declare namespace UpdateNodeCommand {
|
|
|
673
691
|
isConnecting: boolean;
|
|
674
692
|
lastStatusChange: string | null;
|
|
675
693
|
lastStatusMessage: string | null;
|
|
676
|
-
xrayVersion: string | null;
|
|
677
|
-
nodeVersion: string | null;
|
|
678
|
-
xrayUptime: string;
|
|
679
694
|
isTrafficTrackingActive: boolean;
|
|
680
695
|
trafficResetDay: number | null;
|
|
681
696
|
trafficUsedBytes: number | null;
|
|
682
697
|
notifyPercent: number | null;
|
|
683
|
-
usersOnline: number | null;
|
|
684
698
|
consumptionMultiplier: number;
|
|
685
699
|
configProfile: {
|
|
686
700
|
activeConfigProfileUuid: string | null;
|
|
@@ -697,6 +711,12 @@ export declare namespace UpdateNodeCommand {
|
|
|
697
711
|
};
|
|
698
712
|
providerUuid: string | null;
|
|
699
713
|
activePluginUuid: string | null;
|
|
714
|
+
versions: {
|
|
715
|
+
node: string;
|
|
716
|
+
xray: string;
|
|
717
|
+
} | null;
|
|
718
|
+
xrayUptime: number;
|
|
719
|
+
usersOnline: number;
|
|
700
720
|
}>;
|
|
701
721
|
}, "strip", z.ZodTypeAny, {
|
|
702
722
|
response: {
|
|
@@ -750,14 +770,10 @@ export declare namespace UpdateNodeCommand {
|
|
|
750
770
|
isConnecting: boolean;
|
|
751
771
|
lastStatusChange: Date | null;
|
|
752
772
|
lastStatusMessage: string | null;
|
|
753
|
-
xrayVersion: string | null;
|
|
754
|
-
nodeVersion: string | null;
|
|
755
|
-
xrayUptime: string;
|
|
756
773
|
isTrafficTrackingActive: boolean;
|
|
757
774
|
trafficResetDay: number | null;
|
|
758
775
|
trafficUsedBytes: number | null;
|
|
759
776
|
notifyPercent: number | null;
|
|
760
|
-
usersOnline: number | null;
|
|
761
777
|
consumptionMultiplier: number;
|
|
762
778
|
configProfile: {
|
|
763
779
|
activeConfigProfileUuid: string | null;
|
|
@@ -774,6 +790,12 @@ export declare namespace UpdateNodeCommand {
|
|
|
774
790
|
};
|
|
775
791
|
providerUuid: string | null;
|
|
776
792
|
activePluginUuid: string | null;
|
|
793
|
+
versions: {
|
|
794
|
+
node: string;
|
|
795
|
+
xray: string;
|
|
796
|
+
} | null;
|
|
797
|
+
xrayUptime: number;
|
|
798
|
+
usersOnline: number;
|
|
777
799
|
};
|
|
778
800
|
}, {
|
|
779
801
|
response: {
|
|
@@ -827,14 +849,10 @@ export declare namespace UpdateNodeCommand {
|
|
|
827
849
|
isConnecting: boolean;
|
|
828
850
|
lastStatusChange: string | null;
|
|
829
851
|
lastStatusMessage: string | null;
|
|
830
|
-
xrayVersion: string | null;
|
|
831
|
-
nodeVersion: string | null;
|
|
832
|
-
xrayUptime: string;
|
|
833
852
|
isTrafficTrackingActive: boolean;
|
|
834
853
|
trafficResetDay: number | null;
|
|
835
854
|
trafficUsedBytes: number | null;
|
|
836
855
|
notifyPercent: number | null;
|
|
837
|
-
usersOnline: number | null;
|
|
838
856
|
consumptionMultiplier: number;
|
|
839
857
|
configProfile: {
|
|
840
858
|
activeConfigProfileUuid: string | null;
|
|
@@ -851,6 +869,12 @@ export declare namespace UpdateNodeCommand {
|
|
|
851
869
|
};
|
|
852
870
|
providerUuid: string | null;
|
|
853
871
|
activePluginUuid: string | null;
|
|
872
|
+
versions: {
|
|
873
|
+
node: string;
|
|
874
|
+
xray: string;
|
|
875
|
+
} | null;
|
|
876
|
+
xrayUptime: number;
|
|
877
|
+
usersOnline: number;
|
|
854
878
|
};
|
|
855
879
|
}>;
|
|
856
880
|
type Response = z.infer<typeof ResponseSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/update.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAAkE,CAAC;IAExF,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"update.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/update.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAAkE,CAAC;IAExF,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA2DxB,CAAC;IAEH,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"}
|
|
@@ -8,12 +8,17 @@ export declare const CACHE_KEYS: {
|
|
|
8
8
|
readonly REMNAWAVE_SETTINGS: "remnawave_settings";
|
|
9
9
|
readonly NODE_SYSTEM_INFO: (uuid: string) => string;
|
|
10
10
|
readonly NODE_SYSTEM_STATS: (uuid: string) => string;
|
|
11
|
+
readonly NODE_USERS_ONLINE: (uuid: string) => string;
|
|
12
|
+
readonly NODE_VERSIONS: (uuid: string) => string;
|
|
13
|
+
readonly NODE_XRAY_UPTIME: (uuid: string) => string;
|
|
11
14
|
};
|
|
12
15
|
export declare const CACHE_KEYS_TTL: {
|
|
13
16
|
readonly REMNAWAVE_SETTINGS: 86400;
|
|
14
17
|
readonly EXTERNAL_SQUAD_SETTINGS: 3600;
|
|
15
18
|
readonly SUBSCRIPTION_SETTINGS: 3600;
|
|
16
19
|
readonly NODE_SYSTEM_STATS: 30;
|
|
20
|
+
readonly NODE_USERS_ONLINE: 16;
|
|
21
|
+
readonly NODE_XRAY_UPTIME: 16;
|
|
17
22
|
};
|
|
18
23
|
export declare const INTERNAL_CACHE_KEYS: {
|
|
19
24
|
readonly NODE_USER_USAGE_PREFIX: "node_user_usage:";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cache-keys.constants.d.ts","sourceRoot":"","sources":["../../../../constants/cache-keys/cache-keys.constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAErE,eAAO,MAAM,UAAU;;6CAEa,MAAM;2CACR,MAAM,QAAQ,yBAAyB;kDAEhC,MAAM;oDACJ,MAAM;;sCAEpB,MAAM;uCACL,MAAM;
|
|
1
|
+
{"version":3,"file":"cache-keys.constants.d.ts","sourceRoot":"","sources":["../../../../constants/cache-keys/cache-keys.constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAErE,eAAO,MAAM,UAAU;;6CAEa,MAAM;2CACR,MAAM,QAAQ,yBAAyB;kDAEhC,MAAM;oDACJ,MAAM;;sCAEpB,MAAM;uCACL,MAAM;uCACN,MAAM;mCACV,MAAM;sCACH,MAAM;CACzB,CAAC;AAEX,eAAO,MAAM,cAAc;;;;;;;CAOjB,CAAC;AAEX,eAAO,MAAM,mBAAmB;;uCAEF,MAAM;;;;CAK1B,CAAC;AAEX,eAAO,MAAM,uBAAuB;;CAE1B,CAAC"}
|
|
@@ -10,12 +10,17 @@ exports.CACHE_KEYS = {
|
|
|
10
10
|
REMNAWAVE_SETTINGS: 'remnawave_settings',
|
|
11
11
|
NODE_SYSTEM_INFO: (uuid) => `node_system_info:${uuid}`,
|
|
12
12
|
NODE_SYSTEM_STATS: (uuid) => `node_system_stats:${uuid}`,
|
|
13
|
+
NODE_USERS_ONLINE: (uuid) => `node_users_online:${uuid}`,
|
|
14
|
+
NODE_VERSIONS: (uuid) => `node_versions:${uuid}`,
|
|
15
|
+
NODE_XRAY_UPTIME: (uuid) => `node_xray_uptime:${uuid}`,
|
|
13
16
|
};
|
|
14
17
|
exports.CACHE_KEYS_TTL = {
|
|
15
18
|
REMNAWAVE_SETTINGS: 86400, // 1 day
|
|
16
19
|
EXTERNAL_SQUAD_SETTINGS: 3600, // 1 hour
|
|
17
20
|
SUBSCRIPTION_SETTINGS: 3600, // 1 hour
|
|
18
21
|
NODE_SYSTEM_STATS: 30, // 30 seconds
|
|
22
|
+
NODE_USERS_ONLINE: 16, // 16 seconds
|
|
23
|
+
NODE_XRAY_UPTIME: 16, // 16 seconds
|
|
19
24
|
};
|
|
20
25
|
exports.INTERNAL_CACHE_KEYS = {
|
|
21
26
|
NODE_USER_USAGE_PREFIX: 'node_user_usage:',
|
|
@@ -8,15 +8,11 @@ export declare const InfraBillingAvailableNodeSchema: import("zod").ZodObject<Pi
|
|
|
8
8
|
isConnecting: import("zod").ZodBoolean;
|
|
9
9
|
lastStatusChange: import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodString, Date, string>>;
|
|
10
10
|
lastStatusMessage: import("zod").ZodNullable<import("zod").ZodString>;
|
|
11
|
-
xrayVersion: import("zod").ZodNullable<import("zod").ZodString>;
|
|
12
|
-
nodeVersion: import("zod").ZodNullable<import("zod").ZodString>;
|
|
13
|
-
xrayUptime: import("zod").ZodString;
|
|
14
11
|
isTrafficTrackingActive: import("zod").ZodBoolean;
|
|
15
12
|
trafficResetDay: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
16
13
|
trafficLimitBytes: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
17
14
|
trafficUsedBytes: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
18
15
|
notifyPercent: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
19
|
-
usersOnline: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
20
16
|
viewPosition: import("zod").ZodNumber;
|
|
21
17
|
countryCode: import("zod").ZodString;
|
|
22
18
|
consumptionMultiplier: import("zod").ZodNumber;
|
|
@@ -239,6 +235,18 @@ export declare const InfraBillingAvailableNodeSchema: import("zod").ZodObject<Pi
|
|
|
239
235
|
networkInterfaces: string[];
|
|
240
236
|
};
|
|
241
237
|
}>>;
|
|
238
|
+
versions: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
239
|
+
xray: import("zod").ZodString;
|
|
240
|
+
node: import("zod").ZodString;
|
|
241
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
242
|
+
node: string;
|
|
243
|
+
xray: string;
|
|
244
|
+
}, {
|
|
245
|
+
node: string;
|
|
246
|
+
xray: string;
|
|
247
|
+
}>>;
|
|
248
|
+
xrayUptime: import("zod").ZodNumber;
|
|
249
|
+
usersOnline: import("zod").ZodNumber;
|
|
242
250
|
}, "uuid" | "countryCode" | "name">, "strip", import("zod").ZodTypeAny, {
|
|
243
251
|
uuid: string;
|
|
244
252
|
countryCode: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"infra-billing-available-node.schema.d.ts","sourceRoot":"","sources":["../../../models/infra-billing-available-node.schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,+BAA+B
|
|
1
|
+
{"version":3,"file":"infra-billing-available-node.schema.d.ts","sourceRoot":"","sources":["../../../models/infra-billing-available-node.schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAI1C,CAAC"}
|
|
@@ -31,15 +31,11 @@ export declare const InfraBillingNodeSchema: z.ZodObject<{
|
|
|
31
31
|
isConnecting: z.ZodBoolean;
|
|
32
32
|
lastStatusChange: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;
|
|
33
33
|
lastStatusMessage: z.ZodNullable<z.ZodString>;
|
|
34
|
-
xrayVersion: z.ZodNullable<z.ZodString>;
|
|
35
|
-
nodeVersion: z.ZodNullable<z.ZodString>;
|
|
36
|
-
xrayUptime: z.ZodString;
|
|
37
34
|
isTrafficTrackingActive: z.ZodBoolean;
|
|
38
35
|
trafficResetDay: z.ZodNullable<z.ZodNumber>;
|
|
39
36
|
trafficLimitBytes: z.ZodNullable<z.ZodNumber>;
|
|
40
37
|
trafficUsedBytes: z.ZodNullable<z.ZodNumber>;
|
|
41
38
|
notifyPercent: z.ZodNullable<z.ZodNumber>;
|
|
42
|
-
usersOnline: z.ZodNullable<z.ZodNumber>;
|
|
43
39
|
viewPosition: z.ZodNumber;
|
|
44
40
|
countryCode: z.ZodString;
|
|
45
41
|
consumptionMultiplier: z.ZodNumber;
|
|
@@ -262,6 +258,18 @@ export declare const InfraBillingNodeSchema: z.ZodObject<{
|
|
|
262
258
|
networkInterfaces: string[];
|
|
263
259
|
};
|
|
264
260
|
}>>;
|
|
261
|
+
versions: z.ZodNullable<z.ZodObject<{
|
|
262
|
+
xray: z.ZodString;
|
|
263
|
+
node: z.ZodString;
|
|
264
|
+
}, "strip", z.ZodTypeAny, {
|
|
265
|
+
node: string;
|
|
266
|
+
xray: string;
|
|
267
|
+
}, {
|
|
268
|
+
node: string;
|
|
269
|
+
xray: string;
|
|
270
|
+
}>>;
|
|
271
|
+
xrayUptime: z.ZodNumber;
|
|
272
|
+
usersOnline: z.ZodNumber;
|
|
265
273
|
}, "uuid" | "countryCode" | "name">, "strip", z.ZodTypeAny, {
|
|
266
274
|
uuid: string;
|
|
267
275
|
countryCode: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"infra-billing-node.schema.d.ts","sourceRoot":"","sources":["../../../models/infra-billing-node.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"infra-billing-node.schema.d.ts","sourceRoot":"","sources":["../../../models/infra-billing-node.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6BjC,CAAC"}
|
|
@@ -9,15 +9,11 @@ export declare const NodesSchema: z.ZodObject<{
|
|
|
9
9
|
isConnecting: z.ZodBoolean;
|
|
10
10
|
lastStatusChange: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;
|
|
11
11
|
lastStatusMessage: z.ZodNullable<z.ZodString>;
|
|
12
|
-
xrayVersion: z.ZodNullable<z.ZodString>;
|
|
13
|
-
nodeVersion: z.ZodNullable<z.ZodString>;
|
|
14
|
-
xrayUptime: z.ZodString;
|
|
15
12
|
isTrafficTrackingActive: z.ZodBoolean;
|
|
16
13
|
trafficResetDay: z.ZodNullable<z.ZodNumber>;
|
|
17
14
|
trafficLimitBytes: z.ZodNullable<z.ZodNumber>;
|
|
18
15
|
trafficUsedBytes: z.ZodNullable<z.ZodNumber>;
|
|
19
16
|
notifyPercent: z.ZodNullable<z.ZodNumber>;
|
|
20
|
-
usersOnline: z.ZodNullable<z.ZodNumber>;
|
|
21
17
|
viewPosition: z.ZodNumber;
|
|
22
18
|
countryCode: z.ZodString;
|
|
23
19
|
consumptionMultiplier: z.ZodNumber;
|
|
@@ -240,6 +236,18 @@ export declare const NodesSchema: z.ZodObject<{
|
|
|
240
236
|
networkInterfaces: string[];
|
|
241
237
|
};
|
|
242
238
|
}>>;
|
|
239
|
+
versions: z.ZodNullable<z.ZodObject<{
|
|
240
|
+
xray: z.ZodString;
|
|
241
|
+
node: z.ZodString;
|
|
242
|
+
}, "strip", z.ZodTypeAny, {
|
|
243
|
+
node: string;
|
|
244
|
+
xray: string;
|
|
245
|
+
}, {
|
|
246
|
+
node: string;
|
|
247
|
+
xray: string;
|
|
248
|
+
}>>;
|
|
249
|
+
xrayUptime: z.ZodNumber;
|
|
250
|
+
usersOnline: z.ZodNumber;
|
|
243
251
|
}, "strip", z.ZodTypeAny, {
|
|
244
252
|
tags: string[];
|
|
245
253
|
system: {
|
|
@@ -291,14 +299,10 @@ export declare const NodesSchema: z.ZodObject<{
|
|
|
291
299
|
isConnecting: boolean;
|
|
292
300
|
lastStatusChange: Date | null;
|
|
293
301
|
lastStatusMessage: string | null;
|
|
294
|
-
xrayVersion: string | null;
|
|
295
|
-
nodeVersion: string | null;
|
|
296
|
-
xrayUptime: string;
|
|
297
302
|
isTrafficTrackingActive: boolean;
|
|
298
303
|
trafficResetDay: number | null;
|
|
299
304
|
trafficUsedBytes: number | null;
|
|
300
305
|
notifyPercent: number | null;
|
|
301
|
-
usersOnline: number | null;
|
|
302
306
|
consumptionMultiplier: number;
|
|
303
307
|
configProfile: {
|
|
304
308
|
activeConfigProfileUuid: string | null;
|
|
@@ -315,6 +319,12 @@ export declare const NodesSchema: z.ZodObject<{
|
|
|
315
319
|
};
|
|
316
320
|
providerUuid: string | null;
|
|
317
321
|
activePluginUuid: string | null;
|
|
322
|
+
versions: {
|
|
323
|
+
node: string;
|
|
324
|
+
xray: string;
|
|
325
|
+
} | null;
|
|
326
|
+
xrayUptime: number;
|
|
327
|
+
usersOnline: number;
|
|
318
328
|
}, {
|
|
319
329
|
tags: string[];
|
|
320
330
|
system: {
|
|
@@ -366,14 +376,10 @@ export declare const NodesSchema: z.ZodObject<{
|
|
|
366
376
|
isConnecting: boolean;
|
|
367
377
|
lastStatusChange: string | null;
|
|
368
378
|
lastStatusMessage: string | null;
|
|
369
|
-
xrayVersion: string | null;
|
|
370
|
-
nodeVersion: string | null;
|
|
371
|
-
xrayUptime: string;
|
|
372
379
|
isTrafficTrackingActive: boolean;
|
|
373
380
|
trafficResetDay: number | null;
|
|
374
381
|
trafficUsedBytes: number | null;
|
|
375
382
|
notifyPercent: number | null;
|
|
376
|
-
usersOnline: number | null;
|
|
377
383
|
consumptionMultiplier: number;
|
|
378
384
|
configProfile: {
|
|
379
385
|
activeConfigProfileUuid: string | null;
|
|
@@ -390,5 +396,11 @@ export declare const NodesSchema: z.ZodObject<{
|
|
|
390
396
|
};
|
|
391
397
|
providerUuid: string | null;
|
|
392
398
|
activePluginUuid: string | null;
|
|
399
|
+
versions: {
|
|
400
|
+
node: string;
|
|
401
|
+
xray: string;
|
|
402
|
+
} | null;
|
|
403
|
+
xrayUptime: number;
|
|
404
|
+
usersOnline: number;
|
|
393
405
|
}>;
|
|
394
406
|
//# sourceMappingURL=nodes.schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nodes.schema.d.ts","sourceRoot":"","sources":["../../../models/nodes.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"nodes.schema.d.ts","sourceRoot":"","sources":["../../../models/nodes.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmDtB,CAAC"}
|
|
@@ -18,15 +18,11 @@ exports.NodesSchema = zod_1.z.object({
|
|
|
18
18
|
.datetime()
|
|
19
19
|
.transform((str) => new Date(str))),
|
|
20
20
|
lastStatusMessage: zod_1.z.nullable(zod_1.z.string()),
|
|
21
|
-
xrayVersion: zod_1.z.nullable(zod_1.z.string()),
|
|
22
|
-
nodeVersion: zod_1.z.nullable(zod_1.z.string()),
|
|
23
|
-
xrayUptime: zod_1.z.string(),
|
|
24
21
|
isTrafficTrackingActive: zod_1.z.boolean(),
|
|
25
22
|
trafficResetDay: zod_1.z.nullable(zod_1.z.number().int()),
|
|
26
23
|
trafficLimitBytes: zod_1.z.nullable(zod_1.z.number()),
|
|
27
24
|
trafficUsedBytes: zod_1.z.nullable(zod_1.z.number()),
|
|
28
25
|
notifyPercent: zod_1.z.nullable(zod_1.z.number().int()),
|
|
29
|
-
usersOnline: zod_1.z.nullable(zod_1.z.number().int()),
|
|
30
26
|
viewPosition: zod_1.z.number().int(),
|
|
31
27
|
countryCode: zod_1.z.string(),
|
|
32
28
|
consumptionMultiplier: zod_1.z.number(),
|
|
@@ -47,4 +43,10 @@ exports.NodesSchema = zod_1.z.object({
|
|
|
47
43
|
provider: zod_1.z.nullable(infra_provider_schema_1.PartialInfraProviderSchema),
|
|
48
44
|
activePluginUuid: zod_1.z.nullable(zod_1.z.string().uuid()),
|
|
49
45
|
system: zod_1.z.nullable(node_system_schema_1.NodeSystemSchema),
|
|
46
|
+
versions: zod_1.z.nullable(zod_1.z.object({
|
|
47
|
+
xray: zod_1.z.string(),
|
|
48
|
+
node: zod_1.z.string(),
|
|
49
|
+
})),
|
|
50
|
+
xrayUptime: zod_1.z.number(),
|
|
51
|
+
usersOnline: zod_1.z.number(),
|
|
50
52
|
});
|
|
@@ -85,15 +85,11 @@ export declare const TorrentBlockerReportSchema: z.ZodObject<{
|
|
|
85
85
|
isConnecting: z.ZodBoolean;
|
|
86
86
|
lastStatusChange: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;
|
|
87
87
|
lastStatusMessage: z.ZodNullable<z.ZodString>;
|
|
88
|
-
xrayVersion: z.ZodNullable<z.ZodString>;
|
|
89
|
-
nodeVersion: z.ZodNullable<z.ZodString>;
|
|
90
|
-
xrayUptime: z.ZodString;
|
|
91
88
|
isTrafficTrackingActive: z.ZodBoolean;
|
|
92
89
|
trafficResetDay: z.ZodNullable<z.ZodNumber>;
|
|
93
90
|
trafficLimitBytes: z.ZodNullable<z.ZodNumber>;
|
|
94
91
|
trafficUsedBytes: z.ZodNullable<z.ZodNumber>;
|
|
95
92
|
notifyPercent: z.ZodNullable<z.ZodNumber>;
|
|
96
|
-
usersOnline: z.ZodNullable<z.ZodNumber>;
|
|
97
93
|
viewPosition: z.ZodNumber;
|
|
98
94
|
countryCode: z.ZodString;
|
|
99
95
|
consumptionMultiplier: z.ZodNumber;
|
|
@@ -316,6 +312,18 @@ export declare const TorrentBlockerReportSchema: z.ZodObject<{
|
|
|
316
312
|
networkInterfaces: string[];
|
|
317
313
|
};
|
|
318
314
|
}>>;
|
|
315
|
+
versions: z.ZodNullable<z.ZodObject<{
|
|
316
|
+
xray: z.ZodString;
|
|
317
|
+
node: z.ZodString;
|
|
318
|
+
}, "strip", z.ZodTypeAny, {
|
|
319
|
+
node: string;
|
|
320
|
+
xray: string;
|
|
321
|
+
}, {
|
|
322
|
+
node: string;
|
|
323
|
+
xray: string;
|
|
324
|
+
}>>;
|
|
325
|
+
xrayUptime: z.ZodNumber;
|
|
326
|
+
usersOnline: z.ZodNumber;
|
|
319
327
|
}, "uuid" | "countryCode" | "name">, "strip", z.ZodTypeAny, {
|
|
320
328
|
uuid: string;
|
|
321
329
|
countryCode: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"torrent-blocker-report.schema.d.ts","sourceRoot":"","sources":["../../../models/torrent-blocker-report.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,0BAA0B
|
|
1
|
+
{"version":3,"file":"torrent-blocker-report.schema.d.ts","sourceRoot":"","sources":["../../../models/torrent-blocker-report.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgDrC,CAAC"}
|