@remnawave/backend-contract 2.3.8 → 2.3.10
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/api/controllers/config-profiles.d.ts +3 -0
- package/build/backend/api/controllers/config-profiles.d.ts.map +1 -1
- package/build/backend/api/controllers/config-profiles.js +4 -0
- package/build/backend/api/controllers/external-squads.d.ts +3 -0
- package/build/backend/api/controllers/external-squads.d.ts.map +1 -1
- package/build/backend/api/controllers/external-squads.js +4 -0
- package/build/backend/api/controllers/internal-squads.d.ts +3 -0
- package/build/backend/api/controllers/internal-squads.d.ts.map +1 -1
- package/build/backend/api/controllers/internal-squads.js +4 -0
- package/build/backend/api/controllers/subscription-template.d.ts +3 -0
- package/build/backend/api/controllers/subscription-template.d.ts.map +1 -1
- package/build/backend/api/controllers/subscription-template.js +4 -0
- package/build/backend/api/routes.d.ts +12 -0
- package/build/backend/api/routes.d.ts.map +1 -1
- package/build/backend/api/routes.js +12 -0
- package/build/backend/commands/config-profiles/actions/index.d.ts +2 -0
- package/build/backend/commands/config-profiles/actions/index.d.ts.map +1 -0
- package/build/backend/commands/config-profiles/actions/index.js +17 -0
- package/build/backend/commands/config-profiles/actions/reorder.command.d.ts +278 -0
- package/build/backend/commands/config-profiles/actions/reorder.command.d.ts.map +1 -0
- package/build/backend/commands/config-profiles/actions/reorder.command.js +25 -0
- package/build/backend/commands/config-profiles/create-config-profile.command.d.ts +5 -0
- package/build/backend/commands/config-profiles/create-config-profile.command.d.ts.map +1 -1
- package/build/backend/commands/config-profiles/get-computed-config-profile-by-uuid.command.d.ts +5 -0
- package/build/backend/commands/config-profiles/get-computed-config-profile-by-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/config-profiles/get-config-profile-by-uuid.command.d.ts +5 -0
- package/build/backend/commands/config-profiles/get-config-profile-by-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/config-profiles/get-config-profiles.command.d.ts +7 -0
- package/build/backend/commands/config-profiles/get-config-profiles.command.d.ts.map +1 -1
- package/build/backend/commands/config-profiles/index.d.ts +1 -0
- package/build/backend/commands/config-profiles/index.d.ts.map +1 -1
- package/build/backend/commands/config-profiles/index.js +1 -0
- package/build/backend/commands/config-profiles/update-config-profile.command.d.ts +5 -0
- package/build/backend/commands/config-profiles/update-config-profile.command.d.ts.map +1 -1
- package/build/backend/commands/external-squads/actions/index.d.ts +2 -0
- package/build/backend/commands/external-squads/actions/index.d.ts.map +1 -0
- package/build/backend/commands/external-squads/actions/index.js +17 -0
- package/build/backend/commands/external-squads/actions/reorder.command.d.ts +436 -0
- package/build/backend/commands/external-squads/actions/reorder.command.d.ts.map +1 -0
- package/build/backend/commands/external-squads/actions/reorder.command.js +25 -0
- package/build/backend/commands/external-squads/create-external-squad.command.d.ts +5 -0
- package/build/backend/commands/external-squads/create-external-squad.command.d.ts.map +1 -1
- package/build/backend/commands/external-squads/get-external-squad-by-uuid.command.d.ts +5 -0
- package/build/backend/commands/external-squads/get-external-squad-by-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/external-squads/get-external-squads.command.d.ts +7 -0
- package/build/backend/commands/external-squads/get-external-squads.command.d.ts.map +1 -1
- package/build/backend/commands/external-squads/index.d.ts +1 -0
- package/build/backend/commands/external-squads/index.d.ts.map +1 -1
- package/build/backend/commands/external-squads/index.js +1 -0
- package/build/backend/commands/external-squads/update-external-squad.command.d.ts +5 -0
- package/build/backend/commands/external-squads/update-external-squad.command.d.ts.map +1 -1
- package/build/backend/commands/internal-squads/actions/index.d.ts +2 -0
- package/build/backend/commands/internal-squads/actions/index.d.ts.map +1 -0
- package/build/backend/commands/internal-squads/actions/index.js +17 -0
- package/build/backend/commands/internal-squads/actions/reorder.command.d.ts +258 -0
- package/build/backend/commands/internal-squads/actions/reorder.command.d.ts.map +1 -0
- package/build/backend/commands/internal-squads/actions/reorder.command.js +25 -0
- package/build/backend/commands/internal-squads/create-internal-squad.command.d.ts +5 -0
- package/build/backend/commands/internal-squads/create-internal-squad.command.d.ts.map +1 -1
- package/build/backend/commands/internal-squads/get-internal-squad-by-uuid.d.ts +5 -0
- package/build/backend/commands/internal-squads/get-internal-squad-by-uuid.d.ts.map +1 -1
- package/build/backend/commands/internal-squads/get-internal-squads.command.d.ts +7 -0
- package/build/backend/commands/internal-squads/get-internal-squads.command.d.ts.map +1 -1
- package/build/backend/commands/internal-squads/index.d.ts +1 -0
- package/build/backend/commands/internal-squads/index.d.ts.map +1 -1
- package/build/backend/commands/internal-squads/index.js +1 -0
- package/build/backend/commands/internal-squads/update-internal-squad.command.d.ts +5 -0
- package/build/backend/commands/internal-squads/update-internal-squad.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/disable.command.d.ts +4 -4
- package/build/backend/commands/nodes/actions/enable.command.d.ts +4 -4
- package/build/backend/commands/nodes/actions/reorder.command.d.ts +4 -4
- package/build/backend/commands/nodes/create.command.d.ts +4 -4
- package/build/backend/commands/nodes/get-all.command.d.ts +4 -4
- package/build/backend/commands/nodes/get-one.command.d.ts +4 -4
- package/build/backend/commands/nodes/update.command.d.ts +4 -4
- package/build/backend/commands/subscription-template/actions/index.d.ts +2 -0
- package/build/backend/commands/subscription-template/actions/index.d.ts.map +1 -0
- package/build/backend/commands/subscription-template/actions/index.js +17 -0
- package/build/backend/commands/subscription-template/actions/reorder.command.d.ts +120 -0
- package/build/backend/commands/subscription-template/actions/reorder.command.d.ts.map +1 -0
- package/build/backend/commands/subscription-template/actions/reorder.command.js +25 -0
- package/build/backend/commands/subscription-template/create-template.command.d.ts +5 -0
- package/build/backend/commands/subscription-template/create-template.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-template/create-template.command.js +4 -10
- package/build/backend/commands/subscription-template/get-template.command.d.ts +5 -0
- package/build/backend/commands/subscription-template/get-template.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-template/get-template.command.js +3 -9
- package/build/backend/commands/subscription-template/get-templates.command.d.ts +7 -0
- package/build/backend/commands/subscription-template/get-templates.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-template/get-templates.command.js +3 -9
- package/build/backend/commands/subscription-template/index.d.ts +1 -0
- package/build/backend/commands/subscription-template/index.d.ts.map +1 -1
- package/build/backend/commands/subscription-template/index.js +1 -0
- package/build/backend/commands/subscription-template/update-template.command.d.ts +5 -0
- package/build/backend/commands/subscription-template/update-template.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-template/update-template.command.js +3 -9
- package/build/backend/constants/errors/errors.d.ts +5 -0
- package/build/backend/constants/errors/errors.d.ts.map +1 -1
- package/build/backend/constants/errors/errors.js +5 -0
- package/build/backend/models/config-profile.schema.d.ts +3 -0
- package/build/backend/models/config-profile.schema.d.ts.map +1 -1
- package/build/backend/models/config-profile.schema.js +1 -0
- package/build/backend/models/external-squad.schema.d.ts +3 -0
- package/build/backend/models/external-squad.schema.d.ts.map +1 -1
- package/build/backend/models/external-squad.schema.js +1 -0
- package/build/backend/models/index.d.ts +1 -0
- package/build/backend/models/index.d.ts.map +1 -1
- package/build/backend/models/index.js +1 -0
- package/build/backend/models/internal-squad.schema.d.ts +3 -0
- package/build/backend/models/internal-squad.schema.d.ts.map +1 -1
- package/build/backend/models/internal-squad.schema.js +1 -0
- package/build/backend/models/nodes.schema.d.ts +2 -2
- package/build/backend/models/subscription-template.schema.d.ts +31 -0
- package/build/backend/models/subscription-template.schema.d.ts.map +1 -0
- package/build/backend/models/subscription-template.schema.js +16 -0
- package/build/frontend/api/controllers/config-profiles.js +4 -0
- package/build/frontend/api/controllers/external-squads.js +4 -0
- package/build/frontend/api/controllers/internal-squads.js +4 -0
- package/build/frontend/api/controllers/subscription-template.js +4 -0
- package/build/frontend/api/routes.js +12 -0
- package/build/frontend/commands/config-profiles/actions/index.js +17 -0
- package/build/frontend/commands/config-profiles/actions/reorder.command.js +25 -0
- package/build/frontend/commands/config-profiles/index.js +1 -0
- package/build/frontend/commands/external-squads/actions/index.js +17 -0
- package/build/frontend/commands/external-squads/actions/reorder.command.js +25 -0
- package/build/frontend/commands/external-squads/index.js +1 -0
- package/build/frontend/commands/internal-squads/actions/index.js +17 -0
- package/build/frontend/commands/internal-squads/actions/reorder.command.js +25 -0
- package/build/frontend/commands/internal-squads/index.js +1 -0
- package/build/frontend/commands/subscription-template/actions/index.js +17 -0
- package/build/frontend/commands/subscription-template/actions/reorder.command.js +25 -0
- package/build/frontend/commands/subscription-template/create-template.command.js +4 -10
- package/build/frontend/commands/subscription-template/get-template.command.js +3 -9
- package/build/frontend/commands/subscription-template/get-templates.command.js +3 -9
- package/build/frontend/commands/subscription-template/index.js +1 -0
- package/build/frontend/commands/subscription-template/update-template.command.js +3 -9
- package/build/frontend/constants/errors/errors.js +5 -0
- package/build/frontend/models/config-profile.schema.js +1 -0
- package/build/frontend/models/external-squad.schema.js +1 -0
- package/build/frontend/models/index.js +1 -0
- package/build/frontend/models/internal-squad.schema.js +1 -0
- package/build/frontend/models/subscription-template.schema.js +16 -0
- package/package.json +1 -1
|
@@ -8,6 +8,7 @@ export declare namespace GetInternalSquadsCommand {
|
|
|
8
8
|
total: z.ZodNumber;
|
|
9
9
|
internalSquads: z.ZodArray<z.ZodObject<{
|
|
10
10
|
uuid: z.ZodString;
|
|
11
|
+
viewPosition: z.ZodNumber;
|
|
11
12
|
name: z.ZodString;
|
|
12
13
|
info: z.ZodObject<{
|
|
13
14
|
membersCount: z.ZodNumber;
|
|
@@ -64,6 +65,7 @@ export declare namespace GetInternalSquadsCommand {
|
|
|
64
65
|
createdAt: Date;
|
|
65
66
|
updatedAt: Date;
|
|
66
67
|
name: string;
|
|
68
|
+
viewPosition: number;
|
|
67
69
|
info: {
|
|
68
70
|
membersCount: number;
|
|
69
71
|
inboundsCount: number;
|
|
@@ -83,6 +85,7 @@ export declare namespace GetInternalSquadsCommand {
|
|
|
83
85
|
createdAt: string;
|
|
84
86
|
updatedAt: string;
|
|
85
87
|
name: string;
|
|
88
|
+
viewPosition: number;
|
|
86
89
|
info: {
|
|
87
90
|
membersCount: number;
|
|
88
91
|
inboundsCount: number;
|
|
@@ -105,6 +108,7 @@ export declare namespace GetInternalSquadsCommand {
|
|
|
105
108
|
createdAt: Date;
|
|
106
109
|
updatedAt: Date;
|
|
107
110
|
name: string;
|
|
111
|
+
viewPosition: number;
|
|
108
112
|
info: {
|
|
109
113
|
membersCount: number;
|
|
110
114
|
inboundsCount: number;
|
|
@@ -127,6 +131,7 @@ export declare namespace GetInternalSquadsCommand {
|
|
|
127
131
|
createdAt: string;
|
|
128
132
|
updatedAt: string;
|
|
129
133
|
name: string;
|
|
134
|
+
viewPosition: number;
|
|
130
135
|
info: {
|
|
131
136
|
membersCount: number;
|
|
132
137
|
inboundsCount: number;
|
|
@@ -151,6 +156,7 @@ export declare namespace GetInternalSquadsCommand {
|
|
|
151
156
|
createdAt: Date;
|
|
152
157
|
updatedAt: Date;
|
|
153
158
|
name: string;
|
|
159
|
+
viewPosition: number;
|
|
154
160
|
info: {
|
|
155
161
|
membersCount: number;
|
|
156
162
|
inboundsCount: number;
|
|
@@ -175,6 +181,7 @@ export declare namespace GetInternalSquadsCommand {
|
|
|
175
181
|
createdAt: string;
|
|
176
182
|
updatedAt: string;
|
|
177
183
|
name: string;
|
|
184
|
+
viewPosition: number;
|
|
178
185
|
info: {
|
|
179
186
|
membersCount: number;
|
|
180
187
|
inboundsCount: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-internal-squads.command.d.ts","sourceRoot":"","sources":["../../../../commands/internal-squads/get-internal-squads.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,wBAAwB,CAAC;IAC/B,MAAM,GAAG,yBAA+B,CAAC;IACzC,MAAM,OAAO,yBAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"get-internal-squads.command.d.ts","sourceRoot":"","sources":["../../../../commands/internal-squads/get-internal-squads.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,wBAAwB,CAAC;IAC/B,MAAM,GAAG,yBAA+B,CAAC;IACzC,MAAM,OAAO,yBAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAKzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../commands/internal-squads/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iCAAiC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../commands/internal-squads/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iCAAiC,CAAC"}
|
|
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./actions"), exports);
|
|
17
18
|
__exportStar(require("./bulk-actions"), exports);
|
|
18
19
|
__exportStar(require("./create-internal-squad.command"), exports);
|
|
19
20
|
__exportStar(require("./delete-internal-squad.command"), exports);
|
|
@@ -20,6 +20,7 @@ export declare namespace UpdateInternalSquadCommand {
|
|
|
20
20
|
const ResponseSchema: z.ZodObject<{
|
|
21
21
|
response: z.ZodObject<{
|
|
22
22
|
uuid: z.ZodString;
|
|
23
|
+
viewPosition: z.ZodNumber;
|
|
23
24
|
name: z.ZodString;
|
|
24
25
|
info: z.ZodObject<{
|
|
25
26
|
membersCount: z.ZodNumber;
|
|
@@ -76,6 +77,7 @@ export declare namespace UpdateInternalSquadCommand {
|
|
|
76
77
|
createdAt: Date;
|
|
77
78
|
updatedAt: Date;
|
|
78
79
|
name: string;
|
|
80
|
+
viewPosition: number;
|
|
79
81
|
info: {
|
|
80
82
|
membersCount: number;
|
|
81
83
|
inboundsCount: number;
|
|
@@ -95,6 +97,7 @@ export declare namespace UpdateInternalSquadCommand {
|
|
|
95
97
|
createdAt: string;
|
|
96
98
|
updatedAt: string;
|
|
97
99
|
name: string;
|
|
100
|
+
viewPosition: number;
|
|
98
101
|
info: {
|
|
99
102
|
membersCount: number;
|
|
100
103
|
inboundsCount: number;
|
|
@@ -116,6 +119,7 @@ export declare namespace UpdateInternalSquadCommand {
|
|
|
116
119
|
createdAt: Date;
|
|
117
120
|
updatedAt: Date;
|
|
118
121
|
name: string;
|
|
122
|
+
viewPosition: number;
|
|
119
123
|
info: {
|
|
120
124
|
membersCount: number;
|
|
121
125
|
inboundsCount: number;
|
|
@@ -137,6 +141,7 @@ export declare namespace UpdateInternalSquadCommand {
|
|
|
137
141
|
createdAt: string;
|
|
138
142
|
updatedAt: string;
|
|
139
143
|
name: string;
|
|
144
|
+
viewPosition: number;
|
|
140
145
|
info: {
|
|
141
146
|
membersCount: number;
|
|
142
147
|
inboundsCount: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-internal-squad.command.d.ts","sourceRoot":"","sources":["../../../../commands/internal-squads/update-internal-squad.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,GAAG,yBAAkC,CAAC;IAC5C,MAAM,OAAO,yBAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;MAYxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"update-internal-squad.command.d.ts","sourceRoot":"","sources":["../../../../commands/internal-squads/update-internal-squad.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,GAAG,yBAAkC,CAAC;IAC5C,MAAM,OAAO,yBAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;MAYxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -133,9 +133,9 @@ export declare namespace DisableNodeCommand {
|
|
|
133
133
|
} | null;
|
|
134
134
|
name: string;
|
|
135
135
|
port: number | null;
|
|
136
|
+
viewPosition: number;
|
|
136
137
|
countryCode: string;
|
|
137
138
|
trafficLimitBytes: number | null;
|
|
138
|
-
viewPosition: number;
|
|
139
139
|
address: string;
|
|
140
140
|
isDisabled: boolean;
|
|
141
141
|
isConnected: boolean;
|
|
@@ -184,9 +184,9 @@ export declare namespace DisableNodeCommand {
|
|
|
184
184
|
} | null;
|
|
185
185
|
name: string;
|
|
186
186
|
port: number | null;
|
|
187
|
+
viewPosition: number;
|
|
187
188
|
countryCode: string;
|
|
188
189
|
trafficLimitBytes: number | null;
|
|
189
|
-
viewPosition: number;
|
|
190
190
|
address: string;
|
|
191
191
|
isDisabled: boolean;
|
|
192
192
|
isConnected: boolean;
|
|
@@ -237,9 +237,9 @@ export declare namespace DisableNodeCommand {
|
|
|
237
237
|
} | null;
|
|
238
238
|
name: string;
|
|
239
239
|
port: number | null;
|
|
240
|
+
viewPosition: number;
|
|
240
241
|
countryCode: string;
|
|
241
242
|
trafficLimitBytes: number | null;
|
|
242
|
-
viewPosition: number;
|
|
243
243
|
address: string;
|
|
244
244
|
isDisabled: boolean;
|
|
245
245
|
isConnected: boolean;
|
|
@@ -290,9 +290,9 @@ export declare namespace DisableNodeCommand {
|
|
|
290
290
|
} | null;
|
|
291
291
|
name: string;
|
|
292
292
|
port: number | null;
|
|
293
|
+
viewPosition: number;
|
|
293
294
|
countryCode: string;
|
|
294
295
|
trafficLimitBytes: number | null;
|
|
295
|
-
viewPosition: number;
|
|
296
296
|
address: string;
|
|
297
297
|
isDisabled: boolean;
|
|
298
298
|
isConnected: boolean;
|
|
@@ -133,9 +133,9 @@ export declare namespace EnableNodeCommand {
|
|
|
133
133
|
} | null;
|
|
134
134
|
name: string;
|
|
135
135
|
port: number | null;
|
|
136
|
+
viewPosition: number;
|
|
136
137
|
countryCode: string;
|
|
137
138
|
trafficLimitBytes: number | null;
|
|
138
|
-
viewPosition: number;
|
|
139
139
|
address: string;
|
|
140
140
|
isDisabled: boolean;
|
|
141
141
|
isConnected: boolean;
|
|
@@ -184,9 +184,9 @@ export declare namespace EnableNodeCommand {
|
|
|
184
184
|
} | null;
|
|
185
185
|
name: string;
|
|
186
186
|
port: number | null;
|
|
187
|
+
viewPosition: number;
|
|
187
188
|
countryCode: string;
|
|
188
189
|
trafficLimitBytes: number | null;
|
|
189
|
-
viewPosition: number;
|
|
190
190
|
address: string;
|
|
191
191
|
isDisabled: boolean;
|
|
192
192
|
isConnected: boolean;
|
|
@@ -237,9 +237,9 @@ export declare namespace EnableNodeCommand {
|
|
|
237
237
|
} | null;
|
|
238
238
|
name: string;
|
|
239
239
|
port: number | null;
|
|
240
|
+
viewPosition: number;
|
|
240
241
|
countryCode: string;
|
|
241
242
|
trafficLimitBytes: number | null;
|
|
242
|
-
viewPosition: number;
|
|
243
243
|
address: string;
|
|
244
244
|
isDisabled: boolean;
|
|
245
245
|
isConnected: boolean;
|
|
@@ -290,9 +290,9 @@ export declare namespace EnableNodeCommand {
|
|
|
290
290
|
} | null;
|
|
291
291
|
name: string;
|
|
292
292
|
port: number | null;
|
|
293
|
+
viewPosition: number;
|
|
293
294
|
countryCode: string;
|
|
294
295
|
trafficLimitBytes: number | null;
|
|
295
|
-
viewPosition: number;
|
|
296
296
|
address: string;
|
|
297
297
|
isDisabled: boolean;
|
|
298
298
|
isConnected: boolean;
|
|
@@ -252,9 +252,9 @@ export declare namespace ReorderNodeCommand {
|
|
|
252
252
|
} | null;
|
|
253
253
|
name: string;
|
|
254
254
|
port: number | null;
|
|
255
|
+
viewPosition: number;
|
|
255
256
|
countryCode: string;
|
|
256
257
|
trafficLimitBytes: number | null;
|
|
257
|
-
viewPosition: number;
|
|
258
258
|
address: string;
|
|
259
259
|
isDisabled: boolean;
|
|
260
260
|
isConnected: boolean;
|
|
@@ -303,9 +303,9 @@ export declare namespace ReorderNodeCommand {
|
|
|
303
303
|
} | null;
|
|
304
304
|
name: string;
|
|
305
305
|
port: number | null;
|
|
306
|
+
viewPosition: number;
|
|
306
307
|
countryCode: string;
|
|
307
308
|
trafficLimitBytes: number | null;
|
|
308
|
-
viewPosition: number;
|
|
309
309
|
address: string;
|
|
310
310
|
isDisabled: boolean;
|
|
311
311
|
isConnected: boolean;
|
|
@@ -356,9 +356,9 @@ export declare namespace ReorderNodeCommand {
|
|
|
356
356
|
} | null;
|
|
357
357
|
name: string;
|
|
358
358
|
port: number | null;
|
|
359
|
+
viewPosition: number;
|
|
359
360
|
countryCode: string;
|
|
360
361
|
trafficLimitBytes: number | null;
|
|
361
|
-
viewPosition: number;
|
|
362
362
|
address: string;
|
|
363
363
|
isDisabled: boolean;
|
|
364
364
|
isConnected: boolean;
|
|
@@ -409,9 +409,9 @@ export declare namespace ReorderNodeCommand {
|
|
|
409
409
|
} | null;
|
|
410
410
|
name: string;
|
|
411
411
|
port: number | null;
|
|
412
|
+
viewPosition: number;
|
|
412
413
|
countryCode: string;
|
|
413
414
|
trafficLimitBytes: number | null;
|
|
414
|
-
viewPosition: number;
|
|
415
415
|
address: string;
|
|
416
416
|
isDisabled: boolean;
|
|
417
417
|
isConnected: boolean;
|
|
@@ -178,9 +178,9 @@ export declare namespace CreateNodeCommand {
|
|
|
178
178
|
} | null;
|
|
179
179
|
name: string;
|
|
180
180
|
port: number | null;
|
|
181
|
+
viewPosition: number;
|
|
181
182
|
countryCode: string;
|
|
182
183
|
trafficLimitBytes: number | null;
|
|
183
|
-
viewPosition: number;
|
|
184
184
|
address: string;
|
|
185
185
|
isDisabled: boolean;
|
|
186
186
|
isConnected: boolean;
|
|
@@ -229,9 +229,9 @@ export declare namespace CreateNodeCommand {
|
|
|
229
229
|
} | null;
|
|
230
230
|
name: string;
|
|
231
231
|
port: number | null;
|
|
232
|
+
viewPosition: number;
|
|
232
233
|
countryCode: string;
|
|
233
234
|
trafficLimitBytes: number | null;
|
|
234
|
-
viewPosition: number;
|
|
235
235
|
address: string;
|
|
236
236
|
isDisabled: boolean;
|
|
237
237
|
isConnected: boolean;
|
|
@@ -282,9 +282,9 @@ export declare namespace CreateNodeCommand {
|
|
|
282
282
|
} | null;
|
|
283
283
|
name: string;
|
|
284
284
|
port: number | null;
|
|
285
|
+
viewPosition: number;
|
|
285
286
|
countryCode: string;
|
|
286
287
|
trafficLimitBytes: number | null;
|
|
287
|
-
viewPosition: number;
|
|
288
288
|
address: string;
|
|
289
289
|
isDisabled: boolean;
|
|
290
290
|
isConnected: boolean;
|
|
@@ -335,9 +335,9 @@ export declare namespace CreateNodeCommand {
|
|
|
335
335
|
} | null;
|
|
336
336
|
name: string;
|
|
337
337
|
port: number | null;
|
|
338
|
+
viewPosition: number;
|
|
338
339
|
countryCode: string;
|
|
339
340
|
trafficLimitBytes: number | null;
|
|
340
|
-
viewPosition: number;
|
|
341
341
|
address: string;
|
|
342
342
|
isDisabled: boolean;
|
|
343
343
|
isConnected: boolean;
|
|
@@ -125,9 +125,9 @@ export declare namespace GetAllNodesCommand {
|
|
|
125
125
|
} | null;
|
|
126
126
|
name: string;
|
|
127
127
|
port: number | null;
|
|
128
|
+
viewPosition: number;
|
|
128
129
|
countryCode: string;
|
|
129
130
|
trafficLimitBytes: number | null;
|
|
130
|
-
viewPosition: number;
|
|
131
131
|
address: string;
|
|
132
132
|
isDisabled: boolean;
|
|
133
133
|
isConnected: boolean;
|
|
@@ -176,9 +176,9 @@ export declare namespace GetAllNodesCommand {
|
|
|
176
176
|
} | null;
|
|
177
177
|
name: string;
|
|
178
178
|
port: number | null;
|
|
179
|
+
viewPosition: number;
|
|
179
180
|
countryCode: string;
|
|
180
181
|
trafficLimitBytes: number | null;
|
|
181
|
-
viewPosition: number;
|
|
182
182
|
address: string;
|
|
183
183
|
isDisabled: boolean;
|
|
184
184
|
isConnected: boolean;
|
|
@@ -229,9 +229,9 @@ export declare namespace GetAllNodesCommand {
|
|
|
229
229
|
} | null;
|
|
230
230
|
name: string;
|
|
231
231
|
port: number | null;
|
|
232
|
+
viewPosition: number;
|
|
232
233
|
countryCode: string;
|
|
233
234
|
trafficLimitBytes: number | null;
|
|
234
|
-
viewPosition: number;
|
|
235
235
|
address: string;
|
|
236
236
|
isDisabled: boolean;
|
|
237
237
|
isConnected: boolean;
|
|
@@ -282,9 +282,9 @@ export declare namespace GetAllNodesCommand {
|
|
|
282
282
|
} | null;
|
|
283
283
|
name: string;
|
|
284
284
|
port: number | null;
|
|
285
|
+
viewPosition: number;
|
|
285
286
|
countryCode: string;
|
|
286
287
|
trafficLimitBytes: number | null;
|
|
287
|
-
viewPosition: number;
|
|
288
288
|
address: string;
|
|
289
289
|
isDisabled: boolean;
|
|
290
290
|
isConnected: boolean;
|
|
@@ -133,9 +133,9 @@ export declare namespace GetOneNodeCommand {
|
|
|
133
133
|
} | null;
|
|
134
134
|
name: string;
|
|
135
135
|
port: number | null;
|
|
136
|
+
viewPosition: number;
|
|
136
137
|
countryCode: string;
|
|
137
138
|
trafficLimitBytes: number | null;
|
|
138
|
-
viewPosition: number;
|
|
139
139
|
address: string;
|
|
140
140
|
isDisabled: boolean;
|
|
141
141
|
isConnected: boolean;
|
|
@@ -184,9 +184,9 @@ export declare namespace GetOneNodeCommand {
|
|
|
184
184
|
} | null;
|
|
185
185
|
name: string;
|
|
186
186
|
port: number | null;
|
|
187
|
+
viewPosition: number;
|
|
187
188
|
countryCode: string;
|
|
188
189
|
trafficLimitBytes: number | null;
|
|
189
|
-
viewPosition: number;
|
|
190
190
|
address: string;
|
|
191
191
|
isDisabled: boolean;
|
|
192
192
|
isConnected: boolean;
|
|
@@ -237,9 +237,9 @@ export declare namespace GetOneNodeCommand {
|
|
|
237
237
|
} | null;
|
|
238
238
|
name: string;
|
|
239
239
|
port: number | null;
|
|
240
|
+
viewPosition: number;
|
|
240
241
|
countryCode: string;
|
|
241
242
|
trafficLimitBytes: number | null;
|
|
242
|
-
viewPosition: number;
|
|
243
243
|
address: string;
|
|
244
244
|
isDisabled: boolean;
|
|
245
245
|
isConnected: boolean;
|
|
@@ -290,9 +290,9 @@ export declare namespace GetOneNodeCommand {
|
|
|
290
290
|
} | null;
|
|
291
291
|
name: string;
|
|
292
292
|
port: number | null;
|
|
293
|
+
viewPosition: number;
|
|
293
294
|
countryCode: string;
|
|
294
295
|
trafficLimitBytes: number | null;
|
|
295
|
-
viewPosition: number;
|
|
296
296
|
address: string;
|
|
297
297
|
isDisabled: boolean;
|
|
298
298
|
isConnected: boolean;
|
|
@@ -287,9 +287,9 @@ export declare namespace UpdateNodeCommand {
|
|
|
287
287
|
} | null;
|
|
288
288
|
name: string;
|
|
289
289
|
port: number | null;
|
|
290
|
+
viewPosition: number;
|
|
290
291
|
countryCode: string;
|
|
291
292
|
trafficLimitBytes: number | null;
|
|
292
|
-
viewPosition: number;
|
|
293
293
|
address: string;
|
|
294
294
|
isDisabled: boolean;
|
|
295
295
|
isConnected: boolean;
|
|
@@ -338,9 +338,9 @@ export declare namespace UpdateNodeCommand {
|
|
|
338
338
|
} | null;
|
|
339
339
|
name: string;
|
|
340
340
|
port: number | null;
|
|
341
|
+
viewPosition: number;
|
|
341
342
|
countryCode: string;
|
|
342
343
|
trafficLimitBytes: number | null;
|
|
343
|
-
viewPosition: number;
|
|
344
344
|
address: string;
|
|
345
345
|
isDisabled: boolean;
|
|
346
346
|
isConnected: boolean;
|
|
@@ -391,9 +391,9 @@ export declare namespace UpdateNodeCommand {
|
|
|
391
391
|
} | null;
|
|
392
392
|
name: string;
|
|
393
393
|
port: number | null;
|
|
394
|
+
viewPosition: number;
|
|
394
395
|
countryCode: string;
|
|
395
396
|
trafficLimitBytes: number | null;
|
|
396
|
-
viewPosition: number;
|
|
397
397
|
address: string;
|
|
398
398
|
isDisabled: boolean;
|
|
399
399
|
isConnected: boolean;
|
|
@@ -444,9 +444,9 @@ export declare namespace UpdateNodeCommand {
|
|
|
444
444
|
} | null;
|
|
445
445
|
name: string;
|
|
446
446
|
port: number | null;
|
|
447
|
+
viewPosition: number;
|
|
447
448
|
countryCode: string;
|
|
448
449
|
trafficLimitBytes: number | null;
|
|
449
|
-
viewPosition: number;
|
|
450
450
|
address: string;
|
|
451
451
|
isDisabled: boolean;
|
|
452
452
|
isConnected: boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../commands/subscription-template/actions/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./reorder.command"), exports);
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace ReorderSubscriptionTemplateCommand {
|
|
3
|
+
const url: "/api/subscription-templates/actions/reorder";
|
|
4
|
+
const TSQ_url: "/api/subscription-templates/actions/reorder";
|
|
5
|
+
const endpointDetails: import("../../../constants").EndpointDetails;
|
|
6
|
+
const RequestSchema: z.ZodObject<{
|
|
7
|
+
items: z.ZodArray<z.ZodObject<Pick<{
|
|
8
|
+
uuid: z.ZodString;
|
|
9
|
+
viewPosition: z.ZodNumber;
|
|
10
|
+
name: z.ZodString;
|
|
11
|
+
templateType: z.ZodNativeEnum<{
|
|
12
|
+
readonly XRAY_JSON: "XRAY_JSON";
|
|
13
|
+
readonly XRAY_BASE64: "XRAY_BASE64";
|
|
14
|
+
readonly MIHOMO: "MIHOMO";
|
|
15
|
+
readonly STASH: "STASH";
|
|
16
|
+
readonly CLASH: "CLASH";
|
|
17
|
+
readonly SINGBOX: "SINGBOX";
|
|
18
|
+
}>;
|
|
19
|
+
templateJson: z.ZodNullable<z.ZodUnknown>;
|
|
20
|
+
encodedTemplateYaml: z.ZodNullable<z.ZodString>;
|
|
21
|
+
}, "uuid" | "viewPosition">, "strip", z.ZodTypeAny, {
|
|
22
|
+
uuid: string;
|
|
23
|
+
viewPosition: number;
|
|
24
|
+
}, {
|
|
25
|
+
uuid: string;
|
|
26
|
+
viewPosition: number;
|
|
27
|
+
}>, "many">;
|
|
28
|
+
}, "strip", z.ZodTypeAny, {
|
|
29
|
+
items: {
|
|
30
|
+
uuid: string;
|
|
31
|
+
viewPosition: number;
|
|
32
|
+
}[];
|
|
33
|
+
}, {
|
|
34
|
+
items: {
|
|
35
|
+
uuid: string;
|
|
36
|
+
viewPosition: number;
|
|
37
|
+
}[];
|
|
38
|
+
}>;
|
|
39
|
+
type Request = z.infer<typeof RequestSchema>;
|
|
40
|
+
const ResponseSchema: z.ZodObject<{
|
|
41
|
+
response: z.ZodObject<{
|
|
42
|
+
total: z.ZodNumber;
|
|
43
|
+
templates: z.ZodArray<z.ZodObject<{
|
|
44
|
+
uuid: z.ZodString;
|
|
45
|
+
viewPosition: z.ZodNumber;
|
|
46
|
+
name: z.ZodString;
|
|
47
|
+
templateType: z.ZodNativeEnum<{
|
|
48
|
+
readonly XRAY_JSON: "XRAY_JSON";
|
|
49
|
+
readonly XRAY_BASE64: "XRAY_BASE64";
|
|
50
|
+
readonly MIHOMO: "MIHOMO";
|
|
51
|
+
readonly STASH: "STASH";
|
|
52
|
+
readonly CLASH: "CLASH";
|
|
53
|
+
readonly SINGBOX: "SINGBOX";
|
|
54
|
+
}>;
|
|
55
|
+
templateJson: z.ZodNullable<z.ZodUnknown>;
|
|
56
|
+
encodedTemplateYaml: z.ZodNullable<z.ZodString>;
|
|
57
|
+
}, "strip", z.ZodTypeAny, {
|
|
58
|
+
uuid: string;
|
|
59
|
+
name: string;
|
|
60
|
+
viewPosition: number;
|
|
61
|
+
templateType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64";
|
|
62
|
+
encodedTemplateYaml: string | null;
|
|
63
|
+
templateJson?: unknown;
|
|
64
|
+
}, {
|
|
65
|
+
uuid: string;
|
|
66
|
+
name: string;
|
|
67
|
+
viewPosition: number;
|
|
68
|
+
templateType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64";
|
|
69
|
+
encodedTemplateYaml: string | null;
|
|
70
|
+
templateJson?: unknown;
|
|
71
|
+
}>, "many">;
|
|
72
|
+
}, "strip", z.ZodTypeAny, {
|
|
73
|
+
templates: {
|
|
74
|
+
uuid: string;
|
|
75
|
+
name: string;
|
|
76
|
+
viewPosition: number;
|
|
77
|
+
templateType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64";
|
|
78
|
+
encodedTemplateYaml: string | null;
|
|
79
|
+
templateJson?: unknown;
|
|
80
|
+
}[];
|
|
81
|
+
total: number;
|
|
82
|
+
}, {
|
|
83
|
+
templates: {
|
|
84
|
+
uuid: string;
|
|
85
|
+
name: string;
|
|
86
|
+
viewPosition: number;
|
|
87
|
+
templateType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64";
|
|
88
|
+
encodedTemplateYaml: string | null;
|
|
89
|
+
templateJson?: unknown;
|
|
90
|
+
}[];
|
|
91
|
+
total: number;
|
|
92
|
+
}>;
|
|
93
|
+
}, "strip", z.ZodTypeAny, {
|
|
94
|
+
response: {
|
|
95
|
+
templates: {
|
|
96
|
+
uuid: string;
|
|
97
|
+
name: string;
|
|
98
|
+
viewPosition: number;
|
|
99
|
+
templateType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64";
|
|
100
|
+
encodedTemplateYaml: string | null;
|
|
101
|
+
templateJson?: unknown;
|
|
102
|
+
}[];
|
|
103
|
+
total: number;
|
|
104
|
+
};
|
|
105
|
+
}, {
|
|
106
|
+
response: {
|
|
107
|
+
templates: {
|
|
108
|
+
uuid: string;
|
|
109
|
+
name: string;
|
|
110
|
+
viewPosition: number;
|
|
111
|
+
templateType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64";
|
|
112
|
+
encodedTemplateYaml: string | null;
|
|
113
|
+
templateJson?: unknown;
|
|
114
|
+
}[];
|
|
115
|
+
total: number;
|
|
116
|
+
};
|
|
117
|
+
}>;
|
|
118
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
119
|
+
}
|
|
120
|
+
//# sourceMappingURL=reorder.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reorder.command.d.ts","sourceRoot":"","sources":["../../../../../commands/subscription-template/actions/reorder.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,kCAAkC,CAAC;IACzC,MAAM,GAAG,+CAAiD,CAAC;IAC3D,MAAM,OAAO,+CAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAOxB,CAAC;IACH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAKzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ReorderSubscriptionTemplateCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const api_1 = require("../../../api");
|
|
6
|
+
const models_1 = require("../../../models");
|
|
7
|
+
const constants_1 = require("../../../constants");
|
|
8
|
+
var ReorderSubscriptionTemplateCommand;
|
|
9
|
+
(function (ReorderSubscriptionTemplateCommand) {
|
|
10
|
+
ReorderSubscriptionTemplateCommand.url = api_1.REST_API.SUBSCRIPTION_TEMPLATE.ACTIONS.REORDER;
|
|
11
|
+
ReorderSubscriptionTemplateCommand.TSQ_url = ReorderSubscriptionTemplateCommand.url;
|
|
12
|
+
ReorderSubscriptionTemplateCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.SUBSCRIPTION_TEMPLATE_ROUTES.ACTIONS.REORDER, 'post', 'Reorder subscription templates');
|
|
13
|
+
ReorderSubscriptionTemplateCommand.RequestSchema = zod_1.z.object({
|
|
14
|
+
items: zod_1.z.array(models_1.SubscriptionTemplateSchema.pick({
|
|
15
|
+
viewPosition: true,
|
|
16
|
+
uuid: true,
|
|
17
|
+
})),
|
|
18
|
+
});
|
|
19
|
+
ReorderSubscriptionTemplateCommand.ResponseSchema = zod_1.z.object({
|
|
20
|
+
response: zod_1.z.object({
|
|
21
|
+
total: zod_1.z.number(),
|
|
22
|
+
templates: zod_1.z.array(models_1.SubscriptionTemplateSchema),
|
|
23
|
+
}),
|
|
24
|
+
});
|
|
25
|
+
})(ReorderSubscriptionTemplateCommand || (exports.ReorderSubscriptionTemplateCommand = ReorderSubscriptionTemplateCommand = {}));
|
|
@@ -24,6 +24,7 @@ export declare namespace CreateSubscriptionTemplateCommand {
|
|
|
24
24
|
const ResponseSchema: z.ZodObject<{
|
|
25
25
|
response: z.ZodObject<{
|
|
26
26
|
uuid: z.ZodString;
|
|
27
|
+
viewPosition: z.ZodNumber;
|
|
27
28
|
name: z.ZodString;
|
|
28
29
|
templateType: z.ZodNativeEnum<{
|
|
29
30
|
readonly XRAY_JSON: "XRAY_JSON";
|
|
@@ -38,12 +39,14 @@ export declare namespace CreateSubscriptionTemplateCommand {
|
|
|
38
39
|
}, "strip", z.ZodTypeAny, {
|
|
39
40
|
uuid: string;
|
|
40
41
|
name: string;
|
|
42
|
+
viewPosition: number;
|
|
41
43
|
templateType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64";
|
|
42
44
|
encodedTemplateYaml: string | null;
|
|
43
45
|
templateJson?: unknown;
|
|
44
46
|
}, {
|
|
45
47
|
uuid: string;
|
|
46
48
|
name: string;
|
|
49
|
+
viewPosition: number;
|
|
47
50
|
templateType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64";
|
|
48
51
|
encodedTemplateYaml: string | null;
|
|
49
52
|
templateJson?: unknown;
|
|
@@ -52,6 +55,7 @@ export declare namespace CreateSubscriptionTemplateCommand {
|
|
|
52
55
|
response: {
|
|
53
56
|
uuid: string;
|
|
54
57
|
name: string;
|
|
58
|
+
viewPosition: number;
|
|
55
59
|
templateType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64";
|
|
56
60
|
encodedTemplateYaml: string | null;
|
|
57
61
|
templateJson?: unknown;
|
|
@@ -60,6 +64,7 @@ export declare namespace CreateSubscriptionTemplateCommand {
|
|
|
60
64
|
response: {
|
|
61
65
|
uuid: string;
|
|
62
66
|
name: string;
|
|
67
|
+
viewPosition: number;
|
|
63
68
|
templateType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64";
|
|
64
69
|
encodedTemplateYaml: string | null;
|
|
65
70
|
templateJson?: unknown;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-template.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription-template/create-template.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iCAAiC,CAAC;IACxC,MAAM,GAAG,gCAAwC,CAAC;IAClD,MAAM,OAAO,gCAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;MAUxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"create-template.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription-template/create-template.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iCAAiC,CAAC;IACxC,MAAM,GAAG,gCAAwC,CAAC;IAClD,MAAM,OAAO,gCAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;MAUxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|