@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.
@@ -32,6 +32,7 @@ export declare class TunnelService {
32
32
  };
33
33
  in_node_group: {
34
34
  name: string;
35
+ id: number;
35
36
  connect_ip: string | null;
36
37
  admission: boolean;
37
38
  traffic_rate: number;
@@ -41,6 +42,7 @@ export declare class TunnelService {
41
42
  };
42
43
  out_node_group: {
43
44
  name: string;
45
+ id: number;
44
46
  traffic_rate: number;
45
47
  } | null;
46
48
  name: string;
@@ -56,7 +58,6 @@ export declare class TunnelService {
56
58
  listen_ip: string | null;
57
59
  listen_port: number | null;
58
60
  is_port_used: boolean;
59
- white_list: Prisma.JsonValue | null;
60
61
  ip_type: import("../generated/prisma/client").$Enums.IpType;
61
62
  ip_limit: number | null;
62
63
  bandwidth_limit: number | null;
@@ -119,6 +120,7 @@ export declare class TunnelService {
119
120
  max_tunnels: number | null;
120
121
  description: string | null;
121
122
  original_price: number | null;
123
+ whitelist_limit: number | null;
122
124
  allow_custom_in_node_group: boolean;
123
125
  allow_custom_out_node_group: boolean;
124
126
  all_in_node_groups: boolean;
@@ -137,6 +139,7 @@ export declare class TunnelService {
137
139
  plan_id: number;
138
140
  traffic_used: number;
139
141
  max_tunnels: number | null;
142
+ whitelist_ips: Prisma.JsonValue | null;
140
143
  expired_at: Date | null;
141
144
  }) | null;
142
145
  } & {
@@ -296,7 +299,6 @@ export declare class TunnelService {
296
299
  listen_port: number | null;
297
300
  listen_protocol: Prisma.JsonValue | null;
298
301
  is_port_used: boolean;
299
- white_list: Prisma.JsonValue | null;
300
302
  forward_addresses: Prisma.JsonValue;
301
303
  forward_addresses_protocol: Prisma.JsonValue | null;
302
304
  ip_type: import("../generated/prisma/client").$Enums.IpType;
@@ -359,6 +361,7 @@ export declare class TunnelService {
359
361
  max_tunnels: number | null;
360
362
  description: string | null;
361
363
  original_price: number | null;
364
+ whitelist_limit: number | null;
362
365
  allow_custom_in_node_group: boolean;
363
366
  allow_custom_out_node_group: boolean;
364
367
  all_in_node_groups: boolean;
@@ -377,6 +380,7 @@ export declare class TunnelService {
377
380
  plan_id: number;
378
381
  traffic_used: number;
379
382
  max_tunnels: number | null;
383
+ whitelist_ips: Prisma.JsonValue | null;
380
384
  expired_at: Date | null;
381
385
  }) | null;
382
386
  } & {
@@ -490,7 +494,6 @@ export declare class TunnelService {
490
494
  listen_port: number | null;
491
495
  listen_protocol: Prisma.JsonValue | null;
492
496
  is_port_used: boolean;
493
- white_list: Prisma.JsonValue | null;
494
497
  forward_addresses: Prisma.JsonValue;
495
498
  forward_addresses_protocol: Prisma.JsonValue | null;
496
499
  ip_type: import("../generated/prisma/client").$Enums.IpType;
@@ -648,7 +651,7 @@ export declare class TunnelService {
648
651
  };
649
652
  name: string;
650
653
  bypass: string | undefined;
651
- admission: string | undefined;
654
+ admission: string;
652
655
  handler: {
653
656
  type: string;
654
657
  chain: string | undefined;
@@ -696,7 +699,7 @@ export declare class TunnelService {
696
699
  };
697
700
  name: string;
698
701
  bypass: string | undefined;
699
- admission: string | undefined;
702
+ admission: string;
700
703
  handler: {
701
704
  type: string;
702
705
  chain: string | undefined;
@@ -954,7 +957,7 @@ export declare class TunnelService {
954
957
  };
955
958
  name: string;
956
959
  bypass: string | undefined;
957
- admission: string | undefined;
960
+ admission: string;
958
961
  handler: {
959
962
  type: string;
960
963
  chain: string | undefined;
@@ -1002,7 +1005,7 @@ export declare class TunnelService {
1002
1005
  };
1003
1006
  name: string;
1004
1007
  bypass: string | undefined;
1005
- admission: string | undefined;
1008
+ admission: string;
1006
1009
  handler: {
1007
1010
  type: string;
1008
1011
  chain: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@long2ice/relayx-backend",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -19,7 +19,7 @@
19
19
  "prisma:studio": "prisma studio",
20
20
  "prisma:deploy": "prisma migrate deploy",
21
21
  "lint": "eslint --fix src",
22
- "build:types": "tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json && bun run scripts/fix-aliases.ts",
22
+ "build:types": "tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json && bun run scripts/fix-aliases.ts && bun run scripts/sync-types.ts",
23
23
  "check-types": "tsc --noEmit",
24
24
  "test": "jest",
25
25
  "build": "bun build --compile --minify --sourcemap --target=bun-linux-x64-baseline --env=disable --outfile relayx.amd64 src/index.ts",