@remnawave/backend-contract 2.0.0-alpha.6 → 2.0.0-alpha.8

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.
@@ -18,75 +18,37 @@ export declare namespace GetUserAccessibleNodesCommand {
18
18
  uuid: z.ZodString;
19
19
  nodeName: z.ZodString;
20
20
  countryCode: z.ZodString;
21
- reasons: z.ZodArray<z.ZodObject<{
22
- configProfileUuid: z.ZodString;
23
- configProfileName: z.ZodString;
24
- activeInbounds: z.ZodArray<z.ZodObject<{
25
- inboundTag: z.ZodString;
26
- fromSquads: z.ZodArray<z.ZodObject<{
27
- squadName: z.ZodString;
28
- }, "strip", z.ZodTypeAny, {
29
- squadName: string;
30
- }, {
31
- squadName: string;
32
- }>, "many">;
33
- }, "strip", z.ZodTypeAny, {
34
- inboundTag: string;
35
- fromSquads: {
36
- squadName: string;
37
- }[];
38
- }, {
39
- inboundTag: string;
40
- fromSquads: {
41
- squadName: string;
42
- }[];
43
- }>, "many">;
21
+ configProfileUuid: z.ZodString;
22
+ configProfileName: z.ZodString;
23
+ activeSquads: z.ZodArray<z.ZodObject<{
24
+ squadName: z.ZodString;
25
+ activeInbounds: z.ZodArray<z.ZodString, "many">;
44
26
  }, "strip", z.ZodTypeAny, {
45
- configProfileUuid: string;
46
- activeInbounds: {
47
- inboundTag: string;
48
- fromSquads: {
49
- squadName: string;
50
- }[];
51
- }[];
52
- configProfileName: string;
27
+ activeInbounds: string[];
28
+ squadName: string;
53
29
  }, {
54
- configProfileUuid: string;
55
- activeInbounds: {
56
- inboundTag: string;
57
- fromSquads: {
58
- squadName: string;
59
- }[];
60
- }[];
61
- configProfileName: string;
30
+ activeInbounds: string[];
31
+ squadName: string;
62
32
  }>, "many">;
63
33
  }, "strip", z.ZodTypeAny, {
64
34
  uuid: string;
65
35
  countryCode: string;
66
36
  nodeName: string;
67
- reasons: {
68
- configProfileUuid: string;
69
- activeInbounds: {
70
- inboundTag: string;
71
- fromSquads: {
72
- squadName: string;
73
- }[];
74
- }[];
75
- configProfileName: string;
37
+ configProfileUuid: string;
38
+ configProfileName: string;
39
+ activeSquads: {
40
+ activeInbounds: string[];
41
+ squadName: string;
76
42
  }[];
77
43
  }, {
78
44
  uuid: string;
79
45
  countryCode: string;
80
46
  nodeName: string;
81
- reasons: {
82
- configProfileUuid: string;
83
- activeInbounds: {
84
- inboundTag: string;
85
- fromSquads: {
86
- squadName: string;
87
- }[];
88
- }[];
89
- configProfileName: string;
47
+ configProfileUuid: string;
48
+ configProfileName: string;
49
+ activeSquads: {
50
+ activeInbounds: string[];
51
+ squadName: string;
90
52
  }[];
91
53
  }>, "many">;
92
54
  }, "strip", z.ZodTypeAny, {
@@ -95,15 +57,11 @@ export declare namespace GetUserAccessibleNodesCommand {
95
57
  uuid: string;
96
58
  countryCode: string;
97
59
  nodeName: string;
98
- reasons: {
99
- configProfileUuid: string;
100
- activeInbounds: {
101
- inboundTag: string;
102
- fromSquads: {
103
- squadName: string;
104
- }[];
105
- }[];
106
- configProfileName: string;
60
+ configProfileUuid: string;
61
+ configProfileName: string;
62
+ activeSquads: {
63
+ activeInbounds: string[];
64
+ squadName: string;
107
65
  }[];
108
66
  }[];
109
67
  }, {
@@ -112,15 +70,11 @@ export declare namespace GetUserAccessibleNodesCommand {
112
70
  uuid: string;
113
71
  countryCode: string;
114
72
  nodeName: string;
115
- reasons: {
116
- configProfileUuid: string;
117
- activeInbounds: {
118
- inboundTag: string;
119
- fromSquads: {
120
- squadName: string;
121
- }[];
122
- }[];
123
- configProfileName: string;
73
+ configProfileUuid: string;
74
+ configProfileName: string;
75
+ activeSquads: {
76
+ activeInbounds: string[];
77
+ squadName: string;
124
78
  }[];
125
79
  }[];
126
80
  }>;
@@ -131,15 +85,11 @@ export declare namespace GetUserAccessibleNodesCommand {
131
85
  uuid: string;
132
86
  countryCode: string;
133
87
  nodeName: string;
134
- reasons: {
135
- configProfileUuid: string;
136
- activeInbounds: {
137
- inboundTag: string;
138
- fromSquads: {
139
- squadName: string;
140
- }[];
141
- }[];
142
- configProfileName: string;
88
+ configProfileUuid: string;
89
+ configProfileName: string;
90
+ activeSquads: {
91
+ activeInbounds: string[];
92
+ squadName: string;
143
93
  }[];
144
94
  }[];
145
95
  };
@@ -150,15 +100,11 @@ export declare namespace GetUserAccessibleNodesCommand {
150
100
  uuid: string;
151
101
  countryCode: string;
152
102
  nodeName: string;
153
- reasons: {
154
- configProfileUuid: string;
155
- activeInbounds: {
156
- inboundTag: string;
157
- fromSquads: {
158
- squadName: string;
159
- }[];
160
- }[];
161
- configProfileName: string;
103
+ configProfileUuid: string;
104
+ configProfileName: string;
105
+ activeSquads: {
106
+ activeInbounds: string[];
107
+ squadName: string;
162
108
  }[];
163
109
  }[];
164
110
  };
@@ -1 +1 @@
1
- {"version":3,"file":"get-user-accessible-nodes.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/get-user-accessible-nodes.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,6BAA6B,CAAC;IACpC,MAAM,GAAG,0BAAkC,CAAC;IAC5C,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA2BzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"get-user-accessible-nodes.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/get-user-accessible-nodes.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,6BAA6B,CAAC;IACpC,MAAM,GAAG,0BAAkC,CAAC;IAC5C,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAmBzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -19,15 +19,11 @@ var GetUserAccessibleNodesCommand;
19
19
  uuid: zod_1.z.string().uuid(),
20
20
  nodeName: zod_1.z.string(),
21
21
  countryCode: zod_1.z.string(),
22
- reasons: zod_1.z.array(zod_1.z.object({
23
- configProfileUuid: zod_1.z.string().uuid(),
24
- configProfileName: zod_1.z.string(),
25
- activeInbounds: zod_1.z.array(zod_1.z.object({
26
- inboundTag: zod_1.z.string(),
27
- fromSquads: zod_1.z.array(zod_1.z.object({
28
- squadName: zod_1.z.string(),
29
- })),
30
- })),
22
+ configProfileUuid: zod_1.z.string().uuid(),
23
+ configProfileName: zod_1.z.string(),
24
+ activeSquads: zod_1.z.array(zod_1.z.object({
25
+ squadName: zod_1.z.string(),
26
+ activeInbounds: zod_1.z.array(zod_1.z.string()),
31
27
  })),
32
28
  })),
33
29
  }),
@@ -19,15 +19,11 @@ var GetUserAccessibleNodesCommand;
19
19
  uuid: zod_1.z.string().uuid(),
20
20
  nodeName: zod_1.z.string(),
21
21
  countryCode: zod_1.z.string(),
22
- reasons: zod_1.z.array(zod_1.z.object({
23
- configProfileUuid: zod_1.z.string().uuid(),
24
- configProfileName: zod_1.z.string(),
25
- activeInbounds: zod_1.z.array(zod_1.z.object({
26
- inboundTag: zod_1.z.string(),
27
- fromSquads: zod_1.z.array(zod_1.z.object({
28
- squadName: zod_1.z.string(),
29
- })),
30
- })),
22
+ configProfileUuid: zod_1.z.string().uuid(),
23
+ configProfileName: zod_1.z.string(),
24
+ activeSquads: zod_1.z.array(zod_1.z.object({
25
+ squadName: zod_1.z.string(),
26
+ activeInbounds: zod_1.z.array(zod_1.z.string()),
31
27
  })),
32
28
  })),
33
29
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnawave/backend-contract",
3
- "version": "2.0.0-alpha.6",
3
+ "version": "2.0.0-alpha.8",
4
4
  "public": true,
5
5
  "license": "AGPL-3.0-only",
6
6
  "description": "A contract library for Remnawave Backend. It can be used in backend and frontend.",