@long2ice/relayx-backend 0.0.2 → 0.0.4
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/dist/app.d.ts +381 -347
- package/dist/generated/prisma/zod/index.d.ts +9 -6
- package/dist/routes/admin/node.d.ts +1 -0
- package/dist/routes/admin/plan.d.ts +3 -0
- package/dist/routes/admin/tunnel.d.ts +2 -151
- package/dist/routes/admin/user_plan.d.ts +149 -0
- package/dist/routes/node.d.ts +1 -0
- package/dist/routes/plan.d.ts +2 -0
- package/dist/routes/tunnel.d.ts +28 -151
- package/dist/routes/user.d.ts +150 -0
- package/dist/schemas/request.d.ts +2 -10
- package/dist/schemas/response.d.ts +11 -8
- package/dist/services/node.d.ts +1 -0
- package/dist/services/plan.d.ts +4 -0
- package/dist/services/stackauth.d.ts +5 -0
- package/dist/services/tunnel.d.ts +10 -7
- package/package.json +2 -2
|
@@ -11,11 +11,11 @@ export type InputJsonValueType = z.infer<typeof InputJsonValueSchema>;
|
|
|
11
11
|
export declare const TransactionIsolationLevelSchema: z.ZodEnum<["ReadUncommitted", "ReadCommitted", "RepeatableRead", "Serializable"]>;
|
|
12
12
|
export declare const NodeGroupScalarFieldEnumSchema: z.ZodEnum<["id", "token", "name", "port_range", "connect_ip", "node_type", "load_balance_type", "allow_listen_protocol", "allow_tunnel_types", "bypass_type", "bypass_list", "admission", "block_protocols", "traffic_rate", "need_out_node_group", "allow_out_node_groups", "allow_in_node_groups", "order_by", "created_at", "updated_at", "user_id"]>;
|
|
13
13
|
export declare const NodeScalarFieldEnumSchema: z.ZodEnum<["id", "weight", "status", "node_id", "connect_ip", "version", "backup", "order_by", "custom_line", "dns_status", "created_at", "updated_at", "node_group_id"]>;
|
|
14
|
-
export declare const TunnelScalarFieldEnumSchema: z.ZodEnum<["id", "name", "tunnel_type", "category", "listen_ip", "listen_port", "listen_protocol", "is_port_used", "status", "
|
|
14
|
+
export declare const TunnelScalarFieldEnumSchema: z.ZodEnum<["id", "name", "tunnel_type", "category", "listen_ip", "listen_port", "listen_protocol", "is_port_used", "status", "forward_addresses", "forward_addresses_protocol", "load_balance_type", "ip_type", "order_by", "ip_limit", "bandwidth_limit", "traffic", "traffic_cost", "stats", "proxy_protocol", "created_at", "updated_at", "in_node_group_id", "out_node_group_id", "user_id"]>;
|
|
15
15
|
export declare const TunnelChainScalarFieldEnumSchema: z.ZodEnum<["id", "tunnel_id", "node_type", "node_group_id"]>;
|
|
16
16
|
export declare const UserScalarFieldEnumSchema: z.ZodEnum<["id", "super_admin", "email", "balance", "tg_id", "uid", "note", "parent_id", "referral_commission_rate", "referral_first_only", "auto_renew", "api_key", "notify_subscriptions", "status", "created_at", "updated_at"]>;
|
|
17
|
-
export declare const UserPlanScalarFieldEnumSchema: z.ZodEnum<["id", "user_id", "traffic", "traffic_used", "max_tunnels", "expired_at", "created_at", "updated_at", "plan_id"]>;
|
|
18
|
-
export declare const PlanScalarFieldEnumSchema: z.ZodEnum<["id", "name", "description", "original_price", "price", "max_tunnels", "traffic", "ip_limit", "bandwidth_limit", "allow_custom_in_node_group", "allow_custom_out_node_group", "all_in_node_groups", "all_out_node_groups", "setup_fee", "billing_cycle", "status", "renewable", "stock", "order_by", "created_at", "updated_at"]>;
|
|
17
|
+
export declare const UserPlanScalarFieldEnumSchema: z.ZodEnum<["id", "user_id", "traffic", "traffic_used", "max_tunnels", "whitelist_ips", "expired_at", "created_at", "updated_at", "plan_id"]>;
|
|
18
|
+
export declare const PlanScalarFieldEnumSchema: z.ZodEnum<["id", "name", "description", "original_price", "price", "max_tunnels", "traffic", "ip_limit", "bandwidth_limit", "whitelist_limit", "allow_custom_in_node_group", "allow_custom_out_node_group", "all_in_node_groups", "all_out_node_groups", "setup_fee", "billing_cycle", "status", "renewable", "stock", "order_by", "created_at", "updated_at"]>;
|
|
19
19
|
export declare const PlanNodeGroupScalarFieldEnumSchema: z.ZodEnum<["id", "plan_id", "node_group_id", "created_at", "updated_at"]>;
|
|
20
20
|
export declare const PlanOrderScalarFieldEnumSchema: z.ZodEnum<["id", "user_id", "plan_id", "price", "balance", "coupon_id", "created_at", "updated_at"]>;
|
|
21
21
|
export declare const TopupOrderScalarFieldEnumSchema: z.ZodEnum<["id", "user_id", "price", "balance", "bonus", "payment_id", "pay_url", "status", "order_id", "trade_id", "created_at", "updated_at"]>;
|
|
@@ -203,7 +203,6 @@ export declare const TunnelSchema: z.ZodObject<{
|
|
|
203
203
|
listen_port: z.ZodNullable<z.ZodNumber>;
|
|
204
204
|
listen_protocol: z.ZodNullable<z.ZodType<Prisma.JsonValue, z.ZodTypeDef, Prisma.JsonValue>>;
|
|
205
205
|
is_port_used: z.ZodBoolean;
|
|
206
|
-
white_list: z.ZodNullable<z.ZodType<Prisma.JsonValue, z.ZodTypeDef, Prisma.JsonValue>>;
|
|
207
206
|
forward_addresses: z.ZodType<Prisma.JsonValue, z.ZodTypeDef, Prisma.JsonValue>;
|
|
208
207
|
forward_addresses_protocol: z.ZodNullable<z.ZodType<Prisma.JsonValue, z.ZodTypeDef, Prisma.JsonValue>>;
|
|
209
208
|
order_by: z.ZodNumber;
|
|
@@ -233,7 +232,6 @@ export declare const TunnelSchema: z.ZodObject<{
|
|
|
233
232
|
listen_port: number | null;
|
|
234
233
|
listen_protocol: Prisma.JsonValue;
|
|
235
234
|
is_port_used: boolean;
|
|
236
|
-
white_list: Prisma.JsonValue;
|
|
237
235
|
forward_addresses: Prisma.JsonValue;
|
|
238
236
|
forward_addresses_protocol: Prisma.JsonValue;
|
|
239
237
|
ip_type: "auto" | "ipv4" | "ipv6";
|
|
@@ -260,7 +258,6 @@ export declare const TunnelSchema: z.ZodObject<{
|
|
|
260
258
|
listen_port: number | null;
|
|
261
259
|
listen_protocol: Prisma.JsonValue;
|
|
262
260
|
is_port_used: boolean;
|
|
263
|
-
white_list: Prisma.JsonValue;
|
|
264
261
|
forward_addresses: Prisma.JsonValue;
|
|
265
262
|
forward_addresses_protocol: Prisma.JsonValue;
|
|
266
263
|
ip_type: "auto" | "ipv4" | "ipv6";
|
|
@@ -350,6 +347,7 @@ export declare const UserPlanSchema: z.ZodObject<{
|
|
|
350
347
|
traffic: z.ZodNullable<z.ZodNumber>;
|
|
351
348
|
traffic_used: z.ZodNumber;
|
|
352
349
|
max_tunnels: z.ZodNullable<z.ZodNumber>;
|
|
350
|
+
whitelist_ips: z.ZodNullable<z.ZodType<Prisma.JsonValue, z.ZodTypeDef, Prisma.JsonValue>>;
|
|
353
351
|
expired_at: z.ZodNullable<z.ZodDate>;
|
|
354
352
|
created_at: z.ZodDate;
|
|
355
353
|
updated_at: z.ZodDate;
|
|
@@ -363,6 +361,7 @@ export declare const UserPlanSchema: z.ZodObject<{
|
|
|
363
361
|
plan_id: number;
|
|
364
362
|
traffic_used: number;
|
|
365
363
|
max_tunnels: number | null;
|
|
364
|
+
whitelist_ips: Prisma.JsonValue;
|
|
366
365
|
expired_at: Date | null;
|
|
367
366
|
}, {
|
|
368
367
|
id: number;
|
|
@@ -373,6 +372,7 @@ export declare const UserPlanSchema: z.ZodObject<{
|
|
|
373
372
|
plan_id: number;
|
|
374
373
|
traffic_used: number;
|
|
375
374
|
max_tunnels: number | null;
|
|
375
|
+
whitelist_ips: Prisma.JsonValue;
|
|
376
376
|
expired_at: Date | null;
|
|
377
377
|
}>;
|
|
378
378
|
export type UserPlan = z.infer<typeof UserPlanSchema>;
|
|
@@ -388,6 +388,7 @@ export declare const PlanSchema: z.ZodObject<{
|
|
|
388
388
|
traffic: z.ZodNullable<z.ZodNumber>;
|
|
389
389
|
ip_limit: z.ZodNullable<z.ZodNumber>;
|
|
390
390
|
bandwidth_limit: z.ZodNullable<z.ZodNumber>;
|
|
391
|
+
whitelist_limit: z.ZodNullable<z.ZodNumber>;
|
|
391
392
|
allow_custom_in_node_group: z.ZodBoolean;
|
|
392
393
|
allow_custom_out_node_group: z.ZodBoolean;
|
|
393
394
|
all_in_node_groups: z.ZodBoolean;
|
|
@@ -412,6 +413,7 @@ export declare const PlanSchema: z.ZodObject<{
|
|
|
412
413
|
max_tunnels: number | null;
|
|
413
414
|
description: string | null;
|
|
414
415
|
original_price: number | null;
|
|
416
|
+
whitelist_limit: number | null;
|
|
415
417
|
allow_custom_in_node_group: boolean;
|
|
416
418
|
allow_custom_out_node_group: boolean;
|
|
417
419
|
all_in_node_groups: boolean;
|
|
@@ -434,6 +436,7 @@ export declare const PlanSchema: z.ZodObject<{
|
|
|
434
436
|
max_tunnels: number | null;
|
|
435
437
|
description: string | null;
|
|
436
438
|
original_price: number | null;
|
|
439
|
+
whitelist_limit: number | null;
|
|
437
440
|
allow_custom_in_node_group: boolean;
|
|
438
441
|
allow_custom_out_node_group: boolean;
|
|
439
442
|
all_in_node_groups: boolean;
|
|
@@ -12,6 +12,7 @@ declare const app: import("hono/hono-base").HonoBase<import("hono/types").BlankE
|
|
|
12
12
|
max_tunnels: number | null;
|
|
13
13
|
description: string | null;
|
|
14
14
|
original_price: number | null;
|
|
15
|
+
whitelist_limit: number | null;
|
|
15
16
|
allow_custom_in_node_group: boolean;
|
|
16
17
|
allow_custom_out_node_group: boolean;
|
|
17
18
|
all_in_node_groups: boolean;
|
|
@@ -59,6 +60,7 @@ declare const app: import("hono/hono-base").HonoBase<import("hono/types").BlankE
|
|
|
59
60
|
max_tunnels: number | null;
|
|
60
61
|
description: string | null;
|
|
61
62
|
original_price: number | null;
|
|
63
|
+
whitelist_limit: number | null;
|
|
62
64
|
allow_custom_in_node_group: boolean;
|
|
63
65
|
allow_custom_out_node_group: boolean;
|
|
64
66
|
all_in_node_groups: boolean;
|
|
@@ -107,6 +109,7 @@ declare const app: import("hono/hono-base").HonoBase<import("hono/types").BlankE
|
|
|
107
109
|
max_tunnels: number | null;
|
|
108
110
|
description: string | null;
|
|
109
111
|
original_price: number | null;
|
|
112
|
+
whitelist_limit: number | null;
|
|
110
113
|
allow_custom_in_node_group: boolean;
|
|
111
114
|
allow_custom_out_node_group: boolean;
|
|
112
115
|
all_in_node_groups: boolean;
|
|
@@ -47,6 +47,7 @@ declare const app: import("hono/hono-base").HonoBase<{
|
|
|
47
47
|
};
|
|
48
48
|
in_node_group: {
|
|
49
49
|
name: string;
|
|
50
|
+
id: number;
|
|
50
51
|
connect_ip: string | null;
|
|
51
52
|
admission: boolean;
|
|
52
53
|
traffic_rate: number;
|
|
@@ -56,6 +57,7 @@ declare const app: import("hono/hono-base").HonoBase<{
|
|
|
56
57
|
};
|
|
57
58
|
out_node_group: {
|
|
58
59
|
name: string;
|
|
60
|
+
id: number;
|
|
59
61
|
traffic_rate: number;
|
|
60
62
|
} | null;
|
|
61
63
|
name: string;
|
|
@@ -71,155 +73,6 @@ declare const app: import("hono/hono-base").HonoBase<{
|
|
|
71
73
|
listen_ip: string | null;
|
|
72
74
|
listen_port: number | null;
|
|
73
75
|
is_port_used: boolean;
|
|
74
|
-
white_list: string | number | boolean | {
|
|
75
|
-
[x: string]: string | number | boolean | /*elided*/ any | {
|
|
76
|
-
[x: number]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
|
|
77
|
-
length: number;
|
|
78
|
-
toString: null;
|
|
79
|
-
toLocaleString: null;
|
|
80
|
-
pop: null;
|
|
81
|
-
push: {};
|
|
82
|
-
concat: {};
|
|
83
|
-
join: {};
|
|
84
|
-
reverse: null;
|
|
85
|
-
shift: null;
|
|
86
|
-
slice: {};
|
|
87
|
-
sort: {};
|
|
88
|
-
splice: {};
|
|
89
|
-
unshift: {};
|
|
90
|
-
indexOf: {};
|
|
91
|
-
lastIndexOf: {};
|
|
92
|
-
every: {};
|
|
93
|
-
some: {};
|
|
94
|
-
forEach: {};
|
|
95
|
-
map: {};
|
|
96
|
-
filter: {};
|
|
97
|
-
reduce: {};
|
|
98
|
-
reduceRight: {};
|
|
99
|
-
find: {};
|
|
100
|
-
findIndex: {};
|
|
101
|
-
fill: {};
|
|
102
|
-
copyWithin: {};
|
|
103
|
-
entries: null;
|
|
104
|
-
keys: null;
|
|
105
|
-
values: null;
|
|
106
|
-
includes: {};
|
|
107
|
-
flatMap: {};
|
|
108
|
-
flat: {};
|
|
109
|
-
at: {};
|
|
110
|
-
[Symbol.iterator]: null;
|
|
111
|
-
readonly [Symbol.unscopables]: {
|
|
112
|
-
[x: number]: boolean | undefined;
|
|
113
|
-
length?: boolean | undefined;
|
|
114
|
-
toString?: boolean | undefined;
|
|
115
|
-
toLocaleString?: boolean | undefined;
|
|
116
|
-
pop?: boolean | undefined;
|
|
117
|
-
push?: boolean | undefined;
|
|
118
|
-
concat?: boolean | undefined;
|
|
119
|
-
join?: boolean | undefined;
|
|
120
|
-
reverse?: boolean | undefined;
|
|
121
|
-
shift?: boolean | undefined;
|
|
122
|
-
slice?: boolean | undefined;
|
|
123
|
-
sort?: boolean | undefined;
|
|
124
|
-
splice?: boolean | undefined;
|
|
125
|
-
unshift?: boolean | undefined;
|
|
126
|
-
indexOf?: boolean | undefined;
|
|
127
|
-
lastIndexOf?: boolean | undefined;
|
|
128
|
-
every?: boolean | undefined;
|
|
129
|
-
some?: boolean | undefined;
|
|
130
|
-
forEach?: boolean | undefined;
|
|
131
|
-
map?: boolean | undefined;
|
|
132
|
-
filter?: boolean | undefined;
|
|
133
|
-
reduce?: boolean | undefined;
|
|
134
|
-
reduceRight?: boolean | undefined;
|
|
135
|
-
find?: boolean | undefined;
|
|
136
|
-
findIndex?: boolean | undefined;
|
|
137
|
-
fill?: boolean | undefined;
|
|
138
|
-
copyWithin?: boolean | undefined;
|
|
139
|
-
entries?: boolean | undefined;
|
|
140
|
-
keys?: boolean | undefined;
|
|
141
|
-
values?: boolean | undefined;
|
|
142
|
-
includes?: boolean | undefined;
|
|
143
|
-
flatMap?: boolean | undefined;
|
|
144
|
-
flat?: boolean | undefined;
|
|
145
|
-
at?: boolean | undefined;
|
|
146
|
-
};
|
|
147
|
-
} | null | undefined;
|
|
148
|
-
} | {
|
|
149
|
-
[x: number]: string | number | boolean | {
|
|
150
|
-
[x: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null | undefined;
|
|
151
|
-
} | /*elided*/ any | null;
|
|
152
|
-
length: number;
|
|
153
|
-
toString: null;
|
|
154
|
-
toLocaleString: null;
|
|
155
|
-
pop: null;
|
|
156
|
-
push: {};
|
|
157
|
-
concat: {};
|
|
158
|
-
join: {};
|
|
159
|
-
reverse: null;
|
|
160
|
-
shift: null;
|
|
161
|
-
slice: {};
|
|
162
|
-
sort: {};
|
|
163
|
-
splice: {};
|
|
164
|
-
unshift: {};
|
|
165
|
-
indexOf: {};
|
|
166
|
-
lastIndexOf: {};
|
|
167
|
-
every: {};
|
|
168
|
-
some: {};
|
|
169
|
-
forEach: {};
|
|
170
|
-
map: {};
|
|
171
|
-
filter: {};
|
|
172
|
-
reduce: {};
|
|
173
|
-
reduceRight: {};
|
|
174
|
-
find: {};
|
|
175
|
-
findIndex: {};
|
|
176
|
-
fill: {};
|
|
177
|
-
copyWithin: {};
|
|
178
|
-
entries: null;
|
|
179
|
-
keys: null;
|
|
180
|
-
values: null;
|
|
181
|
-
includes: {};
|
|
182
|
-
flatMap: {};
|
|
183
|
-
flat: {};
|
|
184
|
-
at: {};
|
|
185
|
-
[Symbol.iterator]: null;
|
|
186
|
-
readonly [Symbol.unscopables]: {
|
|
187
|
-
[x: number]: boolean | undefined;
|
|
188
|
-
length?: boolean | undefined;
|
|
189
|
-
toString?: boolean | undefined;
|
|
190
|
-
toLocaleString?: boolean | undefined;
|
|
191
|
-
pop?: boolean | undefined;
|
|
192
|
-
push?: boolean | undefined;
|
|
193
|
-
concat?: boolean | undefined;
|
|
194
|
-
join?: boolean | undefined;
|
|
195
|
-
reverse?: boolean | undefined;
|
|
196
|
-
shift?: boolean | undefined;
|
|
197
|
-
slice?: boolean | undefined;
|
|
198
|
-
sort?: boolean | undefined;
|
|
199
|
-
splice?: boolean | undefined;
|
|
200
|
-
unshift?: boolean | undefined;
|
|
201
|
-
indexOf?: boolean | undefined;
|
|
202
|
-
lastIndexOf?: boolean | undefined;
|
|
203
|
-
every?: boolean | undefined;
|
|
204
|
-
some?: boolean | undefined;
|
|
205
|
-
forEach?: boolean | undefined;
|
|
206
|
-
map?: boolean | undefined;
|
|
207
|
-
filter?: boolean | undefined;
|
|
208
|
-
reduce?: boolean | undefined;
|
|
209
|
-
reduceRight?: boolean | undefined;
|
|
210
|
-
find?: boolean | undefined;
|
|
211
|
-
findIndex?: boolean | undefined;
|
|
212
|
-
fill?: boolean | undefined;
|
|
213
|
-
copyWithin?: boolean | undefined;
|
|
214
|
-
entries?: boolean | undefined;
|
|
215
|
-
keys?: boolean | undefined;
|
|
216
|
-
values?: boolean | undefined;
|
|
217
|
-
includes?: boolean | undefined;
|
|
218
|
-
flatMap?: boolean | undefined;
|
|
219
|
-
flat?: boolean | undefined;
|
|
220
|
-
at?: boolean | undefined;
|
|
221
|
-
};
|
|
222
|
-
} | null;
|
|
223
76
|
ip_type: import("../../generated/prisma/client").$Enums.IpType;
|
|
224
77
|
ip_limit: number | null;
|
|
225
78
|
bandwidth_limit: number | null;
|
|
@@ -402,7 +255,6 @@ declare const app: import("hono/hono-base").HonoBase<{
|
|
|
402
255
|
username?: string | null | undefined;
|
|
403
256
|
password?: string | null | undefined;
|
|
404
257
|
} | null;
|
|
405
|
-
white_list: string[] | null;
|
|
406
258
|
forward_addresses: {
|
|
407
259
|
weight: number;
|
|
408
260
|
address: string;
|
|
@@ -468,7 +320,6 @@ declare const app: import("hono/hono-base").HonoBase<{
|
|
|
468
320
|
username?: string | null | undefined;
|
|
469
321
|
password?: string | null | undefined;
|
|
470
322
|
} | null;
|
|
471
|
-
white_list: string[] | null;
|
|
472
323
|
forward_addresses: {
|
|
473
324
|
weight: number;
|
|
474
325
|
address: string;
|
|
@@ -31,6 +31,155 @@ declare const app: import("hono/hono-base").HonoBase<{
|
|
|
31
31
|
plan_id: number;
|
|
32
32
|
traffic_used: number;
|
|
33
33
|
max_tunnels: number | null;
|
|
34
|
+
whitelist_ips: string | number | boolean | {
|
|
35
|
+
[x: string]: string | number | boolean | /*elided*/ any | {
|
|
36
|
+
[x: number]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
|
|
37
|
+
length: number;
|
|
38
|
+
toString: null;
|
|
39
|
+
toLocaleString: null;
|
|
40
|
+
pop: null;
|
|
41
|
+
push: {};
|
|
42
|
+
concat: {};
|
|
43
|
+
join: {};
|
|
44
|
+
reverse: null;
|
|
45
|
+
shift: null;
|
|
46
|
+
slice: {};
|
|
47
|
+
sort: {};
|
|
48
|
+
splice: {};
|
|
49
|
+
unshift: {};
|
|
50
|
+
indexOf: {};
|
|
51
|
+
lastIndexOf: {};
|
|
52
|
+
every: {};
|
|
53
|
+
some: {};
|
|
54
|
+
forEach: {};
|
|
55
|
+
map: {};
|
|
56
|
+
filter: {};
|
|
57
|
+
reduce: {};
|
|
58
|
+
reduceRight: {};
|
|
59
|
+
find: {};
|
|
60
|
+
findIndex: {};
|
|
61
|
+
fill: {};
|
|
62
|
+
copyWithin: {};
|
|
63
|
+
entries: null;
|
|
64
|
+
keys: null;
|
|
65
|
+
values: null;
|
|
66
|
+
includes: {};
|
|
67
|
+
flatMap: {};
|
|
68
|
+
flat: {};
|
|
69
|
+
at: {};
|
|
70
|
+
[Symbol.iterator]: null;
|
|
71
|
+
readonly [Symbol.unscopables]: {
|
|
72
|
+
[x: number]: boolean | undefined;
|
|
73
|
+
length?: boolean | undefined;
|
|
74
|
+
toString?: boolean | undefined;
|
|
75
|
+
toLocaleString?: boolean | undefined;
|
|
76
|
+
pop?: boolean | undefined;
|
|
77
|
+
push?: boolean | undefined;
|
|
78
|
+
concat?: boolean | undefined;
|
|
79
|
+
join?: boolean | undefined;
|
|
80
|
+
reverse?: boolean | undefined;
|
|
81
|
+
shift?: boolean | undefined;
|
|
82
|
+
slice?: boolean | undefined;
|
|
83
|
+
sort?: boolean | undefined;
|
|
84
|
+
splice?: boolean | undefined;
|
|
85
|
+
unshift?: boolean | undefined;
|
|
86
|
+
indexOf?: boolean | undefined;
|
|
87
|
+
lastIndexOf?: boolean | undefined;
|
|
88
|
+
every?: boolean | undefined;
|
|
89
|
+
some?: boolean | undefined;
|
|
90
|
+
forEach?: boolean | undefined;
|
|
91
|
+
map?: boolean | undefined;
|
|
92
|
+
filter?: boolean | undefined;
|
|
93
|
+
reduce?: boolean | undefined;
|
|
94
|
+
reduceRight?: boolean | undefined;
|
|
95
|
+
find?: boolean | undefined;
|
|
96
|
+
findIndex?: boolean | undefined;
|
|
97
|
+
fill?: boolean | undefined;
|
|
98
|
+
copyWithin?: boolean | undefined;
|
|
99
|
+
entries?: boolean | undefined;
|
|
100
|
+
keys?: boolean | undefined;
|
|
101
|
+
values?: boolean | undefined;
|
|
102
|
+
includes?: boolean | undefined;
|
|
103
|
+
flatMap?: boolean | undefined;
|
|
104
|
+
flat?: boolean | undefined;
|
|
105
|
+
at?: boolean | undefined;
|
|
106
|
+
};
|
|
107
|
+
} | null | undefined;
|
|
108
|
+
} | {
|
|
109
|
+
[x: number]: string | number | boolean | {
|
|
110
|
+
[x: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null | undefined;
|
|
111
|
+
} | /*elided*/ any | null;
|
|
112
|
+
length: number;
|
|
113
|
+
toString: null;
|
|
114
|
+
toLocaleString: null;
|
|
115
|
+
pop: null;
|
|
116
|
+
push: {};
|
|
117
|
+
concat: {};
|
|
118
|
+
join: {};
|
|
119
|
+
reverse: null;
|
|
120
|
+
shift: null;
|
|
121
|
+
slice: {};
|
|
122
|
+
sort: {};
|
|
123
|
+
splice: {};
|
|
124
|
+
unshift: {};
|
|
125
|
+
indexOf: {};
|
|
126
|
+
lastIndexOf: {};
|
|
127
|
+
every: {};
|
|
128
|
+
some: {};
|
|
129
|
+
forEach: {};
|
|
130
|
+
map: {};
|
|
131
|
+
filter: {};
|
|
132
|
+
reduce: {};
|
|
133
|
+
reduceRight: {};
|
|
134
|
+
find: {};
|
|
135
|
+
findIndex: {};
|
|
136
|
+
fill: {};
|
|
137
|
+
copyWithin: {};
|
|
138
|
+
entries: null;
|
|
139
|
+
keys: null;
|
|
140
|
+
values: null;
|
|
141
|
+
includes: {};
|
|
142
|
+
flatMap: {};
|
|
143
|
+
flat: {};
|
|
144
|
+
at: {};
|
|
145
|
+
[Symbol.iterator]: null;
|
|
146
|
+
readonly [Symbol.unscopables]: {
|
|
147
|
+
[x: number]: boolean | undefined;
|
|
148
|
+
length?: boolean | undefined;
|
|
149
|
+
toString?: boolean | undefined;
|
|
150
|
+
toLocaleString?: boolean | undefined;
|
|
151
|
+
pop?: boolean | undefined;
|
|
152
|
+
push?: boolean | undefined;
|
|
153
|
+
concat?: boolean | undefined;
|
|
154
|
+
join?: boolean | undefined;
|
|
155
|
+
reverse?: boolean | undefined;
|
|
156
|
+
shift?: boolean | undefined;
|
|
157
|
+
slice?: boolean | undefined;
|
|
158
|
+
sort?: boolean | undefined;
|
|
159
|
+
splice?: boolean | undefined;
|
|
160
|
+
unshift?: boolean | undefined;
|
|
161
|
+
indexOf?: boolean | undefined;
|
|
162
|
+
lastIndexOf?: boolean | undefined;
|
|
163
|
+
every?: boolean | undefined;
|
|
164
|
+
some?: boolean | undefined;
|
|
165
|
+
forEach?: boolean | undefined;
|
|
166
|
+
map?: boolean | undefined;
|
|
167
|
+
filter?: boolean | undefined;
|
|
168
|
+
reduce?: boolean | undefined;
|
|
169
|
+
reduceRight?: boolean | undefined;
|
|
170
|
+
find?: boolean | undefined;
|
|
171
|
+
findIndex?: boolean | undefined;
|
|
172
|
+
fill?: boolean | undefined;
|
|
173
|
+
copyWithin?: boolean | undefined;
|
|
174
|
+
entries?: boolean | undefined;
|
|
175
|
+
keys?: boolean | undefined;
|
|
176
|
+
values?: boolean | undefined;
|
|
177
|
+
includes?: boolean | undefined;
|
|
178
|
+
flatMap?: boolean | undefined;
|
|
179
|
+
flat?: boolean | undefined;
|
|
180
|
+
at?: boolean | undefined;
|
|
181
|
+
};
|
|
182
|
+
} | null;
|
|
34
183
|
expired_at: string | null;
|
|
35
184
|
}[];
|
|
36
185
|
total: number;
|
package/dist/routes/node.d.ts
CHANGED
package/dist/routes/plan.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ declare const app: import("hono/hono-base").HonoBase<{
|
|
|
19
19
|
max_tunnels: number | null;
|
|
20
20
|
description: string | null;
|
|
21
21
|
original_price: number | null;
|
|
22
|
+
whitelist_limit: number | null;
|
|
22
23
|
allow_custom_in_node_group: boolean;
|
|
23
24
|
allow_custom_out_node_group: boolean;
|
|
24
25
|
all_in_node_groups: boolean;
|
|
@@ -54,6 +55,7 @@ declare const app: import("hono/hono-base").HonoBase<{
|
|
|
54
55
|
max_tunnels: number | null;
|
|
55
56
|
description: string | null;
|
|
56
57
|
original_price: number | null;
|
|
58
|
+
whitelist_limit: number | null;
|
|
57
59
|
allow_custom_in_node_group: boolean;
|
|
58
60
|
allow_custom_out_node_group: boolean;
|
|
59
61
|
all_in_node_groups: boolean;
|