@long2ice/relayx-backend 0.0.3 → 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 CHANGED
@@ -21,6 +21,7 @@ declare const routes: import("hono/hono-base").HonoBase<import("hono/types").Bla
21
21
  last_active: any;
22
22
  node_group: {
23
23
  name: string;
24
+ id: number;
24
25
  node_type: import("./generated/prisma/client").$Enums.NodeType;
25
26
  traffic_rate: number;
26
27
  };
@@ -4552,6 +4553,7 @@ declare const routes: import("hono/hono-base").HonoBase<import("hono/types").Bla
4552
4553
  };
4553
4554
  in_node_group: {
4554
4555
  name: string;
4556
+ id: number;
4555
4557
  connect_ip: string | null;
4556
4558
  admission: boolean;
4557
4559
  traffic_rate: number;
@@ -4561,6 +4563,7 @@ declare const routes: import("hono/hono-base").HonoBase<import("hono/types").Bla
4561
4563
  };
4562
4564
  out_node_group: {
4563
4565
  name: string;
4566
+ id: number;
4564
4567
  traffic_rate: number;
4565
4568
  } | null;
4566
4569
  name: string;
@@ -5069,6 +5072,7 @@ declare const routes: import("hono/hono-base").HonoBase<import("hono/types").Bla
5069
5072
  };
5070
5073
  in_node_group: {
5071
5074
  name: string;
5075
+ id: number;
5072
5076
  connect_ip: string | null;
5073
5077
  admission: boolean;
5074
5078
  traffic_rate: number;
@@ -5078,6 +5082,7 @@ declare const routes: import("hono/hono-base").HonoBase<import("hono/types").Bla
5078
5082
  };
5079
5083
  out_node_group: {
5080
5084
  name: string;
5085
+ id: number;
5081
5086
  traffic_rate: number;
5082
5087
  } | null;
5083
5088
  name: string;
@@ -5511,6 +5516,7 @@ declare const routes: import("hono/hono-base").HonoBase<import("hono/types").Bla
5511
5516
  output: {
5512
5517
  whitelist_ips: string[];
5513
5518
  whitelist_limit: number | null;
5519
+ my_ip: string;
5514
5520
  };
5515
5521
  outputFormat: "json";
5516
5522
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -5658,6 +5664,7 @@ declare const routes: import("hono/hono-base").HonoBase<import("hono/types").Bla
5658
5664
  last_active: any;
5659
5665
  node_group: {
5660
5666
  name: string;
5667
+ id: number;
5661
5668
  node_type: import("./generated/prisma/client").$Enums.NodeType;
5662
5669
  traffic_rate: number;
5663
5670
  };
@@ -22,6 +22,7 @@ declare const app: import("hono/hono-base").HonoBase<import("hono/types").BlankE
22
22
  last_active: any;
23
23
  node_group: {
24
24
  name: string;
25
+ id: number;
25
26
  node_type: import("../../generated/prisma/client").$Enums.NodeType;
26
27
  traffic_rate: number;
27
28
  };
@@ -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;
@@ -24,6 +24,7 @@ declare const app: import("hono/hono-base").HonoBase<{
24
24
  last_active: any;
25
25
  node_group: {
26
26
  name: string;
27
+ id: number;
27
28
  node_type: import("../generated/prisma/client").$Enums.NodeType;
28
29
  traffic_rate: number;
29
30
  };
@@ -46,6 +46,7 @@ declare const app: import("hono/hono-base").HonoBase<{
46
46
  };
47
47
  in_node_group: {
48
48
  name: string;
49
+ id: number;
49
50
  connect_ip: string | null;
50
51
  admission: boolean;
51
52
  traffic_rate: number;
@@ -55,6 +56,7 @@ declare const app: import("hono/hono-base").HonoBase<{
55
56
  };
56
57
  out_node_group: {
57
58
  name: string;
59
+ id: number;
58
60
  traffic_rate: number;
59
61
  } | null;
60
62
  name: string;
@@ -488,6 +490,7 @@ declare const app: import("hono/hono-base").HonoBase<{
488
490
  output: {
489
491
  whitelist_ips: string[];
490
492
  whitelist_limit: number | null;
493
+ my_ip: string;
491
494
  };
492
495
  outputFormat: "json";
493
496
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -15,6 +15,7 @@ export declare class NodeService {
15
15
  last_active: any;
16
16
  node_group: {
17
17
  name: string;
18
+ id: number;
18
19
  node_type: import("../generated/prisma/client").$Enums.NodeType;
19
20
  traffic_rate: number;
20
21
  };
@@ -13,6 +13,11 @@ export interface UpdateUserRequest {
13
13
  export interface UserMeResponse {
14
14
  id: string;
15
15
  primary_email: string;
16
+ primary_email_verified: boolean;
17
+ is_restricted: boolean;
18
+ restricted_reason: string;
19
+ restricted_by_admin: boolean;
20
+ restricted_by_admin_reason: string;
16
21
  }
17
22
  export declare class StackAuthService {
18
23
  private readonly http;
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@long2ice/relayx-backend",
3
- "version": "0.0.3",
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",