@remnawave/backend-contract 2.6.29 → 2.6.31
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/ip-control/fetch-ips-result.command.d.ts +42 -9
- package/build/backend/commands/ip-control/fetch-ips-result.command.d.ts.map +1 -1
- package/build/backend/commands/ip-control/fetch-ips-result.command.js +10 -1
- package/build/frontend/commands/ip-control/fetch-ips-result.command.js +10 -1
- package/package.json +1 -1
|
@@ -36,24 +36,42 @@ export declare namespace FetchIpsResultCommand {
|
|
|
36
36
|
nodeUuid: z.ZodString;
|
|
37
37
|
nodeName: z.ZodString;
|
|
38
38
|
countryCode: z.ZodString;
|
|
39
|
-
ips: z.ZodArray<z.
|
|
39
|
+
ips: z.ZodArray<z.ZodObject<{
|
|
40
|
+
ip: z.ZodString;
|
|
41
|
+
lastSeen: z.ZodEffects<z.ZodString, Date, string>;
|
|
42
|
+
}, "strip", z.ZodTypeAny, {
|
|
43
|
+
ip: string;
|
|
44
|
+
lastSeen: Date;
|
|
45
|
+
}, {
|
|
46
|
+
ip: string;
|
|
47
|
+
lastSeen: string;
|
|
48
|
+
}>, "many">;
|
|
40
49
|
}, "strip", z.ZodTypeAny, {
|
|
41
50
|
nodeUuid: string;
|
|
42
51
|
nodeName: string;
|
|
43
52
|
countryCode: string;
|
|
44
|
-
ips:
|
|
53
|
+
ips: {
|
|
54
|
+
ip: string;
|
|
55
|
+
lastSeen: Date;
|
|
56
|
+
}[];
|
|
45
57
|
}, {
|
|
46
58
|
nodeUuid: string;
|
|
47
59
|
nodeName: string;
|
|
48
60
|
countryCode: string;
|
|
49
|
-
ips:
|
|
61
|
+
ips: {
|
|
62
|
+
ip: string;
|
|
63
|
+
lastSeen: string;
|
|
64
|
+
}[];
|
|
50
65
|
}>, "many">;
|
|
51
66
|
}, "strip", z.ZodTypeAny, {
|
|
52
67
|
nodes: {
|
|
53
68
|
nodeUuid: string;
|
|
54
69
|
nodeName: string;
|
|
55
70
|
countryCode: string;
|
|
56
|
-
ips:
|
|
71
|
+
ips: {
|
|
72
|
+
ip: string;
|
|
73
|
+
lastSeen: Date;
|
|
74
|
+
}[];
|
|
57
75
|
}[];
|
|
58
76
|
userUuid: string;
|
|
59
77
|
userId: string;
|
|
@@ -63,7 +81,10 @@ export declare namespace FetchIpsResultCommand {
|
|
|
63
81
|
nodeUuid: string;
|
|
64
82
|
nodeName: string;
|
|
65
83
|
countryCode: string;
|
|
66
|
-
ips:
|
|
84
|
+
ips: {
|
|
85
|
+
ip: string;
|
|
86
|
+
lastSeen: string;
|
|
87
|
+
}[];
|
|
67
88
|
}[];
|
|
68
89
|
userUuid: string;
|
|
69
90
|
userId: string;
|
|
@@ -82,7 +103,10 @@ export declare namespace FetchIpsResultCommand {
|
|
|
82
103
|
nodeUuid: string;
|
|
83
104
|
nodeName: string;
|
|
84
105
|
countryCode: string;
|
|
85
|
-
ips:
|
|
106
|
+
ips: {
|
|
107
|
+
ip: string;
|
|
108
|
+
lastSeen: Date;
|
|
109
|
+
}[];
|
|
86
110
|
}[];
|
|
87
111
|
userUuid: string;
|
|
88
112
|
userId: string;
|
|
@@ -101,7 +125,10 @@ export declare namespace FetchIpsResultCommand {
|
|
|
101
125
|
nodeUuid: string;
|
|
102
126
|
nodeName: string;
|
|
103
127
|
countryCode: string;
|
|
104
|
-
ips:
|
|
128
|
+
ips: {
|
|
129
|
+
ip: string;
|
|
130
|
+
lastSeen: string;
|
|
131
|
+
}[];
|
|
105
132
|
}[];
|
|
106
133
|
userUuid: string;
|
|
107
134
|
userId: string;
|
|
@@ -122,7 +149,10 @@ export declare namespace FetchIpsResultCommand {
|
|
|
122
149
|
nodeUuid: string;
|
|
123
150
|
nodeName: string;
|
|
124
151
|
countryCode: string;
|
|
125
|
-
ips:
|
|
152
|
+
ips: {
|
|
153
|
+
ip: string;
|
|
154
|
+
lastSeen: Date;
|
|
155
|
+
}[];
|
|
126
156
|
}[];
|
|
127
157
|
userUuid: string;
|
|
128
158
|
userId: string;
|
|
@@ -143,7 +173,10 @@ export declare namespace FetchIpsResultCommand {
|
|
|
143
173
|
nodeUuid: string;
|
|
144
174
|
nodeName: string;
|
|
145
175
|
countryCode: string;
|
|
146
|
-
ips:
|
|
176
|
+
ips: {
|
|
177
|
+
ip: string;
|
|
178
|
+
lastSeen: string;
|
|
179
|
+
}[];
|
|
147
180
|
}[];
|
|
148
181
|
userUuid: string;
|
|
149
182
|
userId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-ips-result.command.d.ts","sourceRoot":"","sources":["../../../../commands/ip-control/fetch-ips-result.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,qBAAqB,CAAC;IAC5B,MAAM,GAAG,2BAA2C,CAAC;IACrD,MAAM,OAAO,QAAgB,CAAC;IAE9B,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":"fetch-ips-result.command.d.ts","sourceRoot":"","sources":["../../../../commands/ip-control/fetch-ips-result.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,qBAAqB,CAAC;IAC5B,MAAM,GAAG,2BAA2C,CAAC;IACrD,MAAM,OAAO,QAAgB,CAAC;IAE9B,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAoCzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -30,7 +30,16 @@ var FetchIpsResultCommand;
|
|
|
30
30
|
nodeUuid: zod_1.z.string().uuid(),
|
|
31
31
|
nodeName: zod_1.z.string(),
|
|
32
32
|
countryCode: zod_1.z.string(),
|
|
33
|
-
ips: zod_1.z.array(zod_1.z.
|
|
33
|
+
ips: zod_1.z.array(zod_1.z.object({
|
|
34
|
+
ip: zod_1.z.string(),
|
|
35
|
+
lastSeen: zod_1.z
|
|
36
|
+
.string()
|
|
37
|
+
.datetime({
|
|
38
|
+
local: true,
|
|
39
|
+
offset: true,
|
|
40
|
+
})
|
|
41
|
+
.transform((str) => new Date(str)),
|
|
42
|
+
})),
|
|
34
43
|
})),
|
|
35
44
|
})
|
|
36
45
|
.nullable(),
|
|
@@ -30,7 +30,16 @@ var FetchIpsResultCommand;
|
|
|
30
30
|
nodeUuid: zod_1.z.string().uuid(),
|
|
31
31
|
nodeName: zod_1.z.string(),
|
|
32
32
|
countryCode: zod_1.z.string(),
|
|
33
|
-
ips: zod_1.z.array(zod_1.z.
|
|
33
|
+
ips: zod_1.z.array(zod_1.z.object({
|
|
34
|
+
ip: zod_1.z.string(),
|
|
35
|
+
lastSeen: zod_1.z
|
|
36
|
+
.string()
|
|
37
|
+
.datetime({
|
|
38
|
+
local: true,
|
|
39
|
+
offset: true,
|
|
40
|
+
})
|
|
41
|
+
.transform((str) => new Date(str)),
|
|
42
|
+
})),
|
|
34
43
|
})),
|
|
35
44
|
})
|
|
36
45
|
.nullable(),
|