@remnawave/backend-contract 2.6.32 → 2.6.33

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.
@@ -1,7 +1,6 @@
1
1
  export declare const SUBSCRIPTION_CONTROLLER: "sub";
2
2
  export declare const SUBSCRIPTION_ROUTES: {
3
3
  readonly GET: "";
4
- readonly GET_OUTLINE: "/outline";
5
4
  readonly GET_INFO: (shortUuid: string) => string;
6
5
  };
7
6
  //# sourceMappingURL=subscription.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"subscription.d.ts","sourceRoot":"","sources":["../../../../api/controllers/subscription.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,EAAG,KAAc,CAAC;AAEtD,eAAO,MAAM,mBAAmB;;;mCAGN,MAAM;CACtB,CAAC"}
1
+ {"version":3,"file":"subscription.d.ts","sourceRoot":"","sources":["../../../../api/controllers/subscription.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,EAAG,KAAc,CAAC;AAEtD,eAAO,MAAM,mBAAmB;;mCAEN,MAAM;CACtB,CAAC"}
@@ -4,6 +4,5 @@ exports.SUBSCRIPTION_ROUTES = exports.SUBSCRIPTION_CONTROLLER = void 0;
4
4
  exports.SUBSCRIPTION_CONTROLLER = 'sub';
5
5
  exports.SUBSCRIPTION_ROUTES = {
6
6
  GET: '',
7
- GET_OUTLINE: '/outline',
8
7
  GET_INFO: (shortUuid) => `${shortUuid}/info`,
9
8
  };
@@ -98,7 +98,6 @@ export declare const REST_API: {
98
98
  };
99
99
  readonly SUBSCRIPTION: {
100
100
  readonly GET: (shortUuid: string) => string;
101
- readonly GET_OUTLINE: (shortUuid: string) => string;
102
101
  readonly GET_INFO: (shortUuid: string) => string;
103
102
  };
104
103
  readonly HOSTS: {
@@ -1 +1 @@
1
- {"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../../api/routes.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,EAA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AKH,MAAM;;;;;;;;;;;;;;;;qCAiBjB,MAAM;gCAIX,MAAM;;uCAKC,MAAM;0CAEH,MAAM;;;;;;;;;;;6BAYnB,MAAM;;;gCAIH,MAAM;;;;;;;;6BAST,MAAM;;;gCAIH,MAAM;;;;;;;;;;;;uCAaC,MAAM;;;yCAIJ,MAAM;;;;2CAKJ,MAAM;;;6CAIJ,MAAM;;;;;mCAMhB,MAAM;+CAEM,MAAM;;;;;iCAMpB,MAAM;oCAEH,MAAM;;;iCAIT,MAAM;oCAEH,MAAM;;;CAIvB,CAAC"}
@@ -135,7 +135,6 @@ exports.REST_API = {
135
135
  },
136
136
  SUBSCRIPTION: {
137
137
  GET: (shortUuid) => `${exports.ROOT}/${CONTROLLERS.SUBSCRIPTION_CONTROLLER}/${CONTROLLERS.SUBSCRIPTION_ROUTES.GET}${shortUuid}`,
138
- GET_OUTLINE: (shortUuid) => `${exports.ROOT}/${CONTROLLERS.SUBSCRIPTION_CONTROLLER}/${CONTROLLERS.SUBSCRIPTION_ROUTES.GET_OUTLINE}/${shortUuid}`,
139
138
  GET_INFO: (shortUuid) => `${exports.ROOT}/${CONTROLLERS.SUBSCRIPTION_CONTROLLER}/${CONTROLLERS.SUBSCRIPTION_ROUTES.GET_INFO(shortUuid)}`,
140
139
  },
141
140
  HOSTS: {
@@ -1,5 +1,4 @@
1
1
  export * from '../subscriptions/get-by/get-raw-subscription-by-short-uuid.command';
2
- export * from './get-outline-subscription-by-short-uuid.command';
3
2
  export * from './get-subscription-by-short-uuid-by-client-type.command';
4
3
  export * from './get-subscription-by-short-uuid.command';
5
4
  export * from './get-subscription-info-by-short-uuid.command';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../commands/subscription/index.ts"],"names":[],"mappings":"AAAA,cAAc,oEAAoE,CAAC;AACnF,cAAc,kDAAkD,CAAC;AACjE,cAAc,yDAAyD,CAAC;AACxE,cAAc,0CAA0C,CAAC;AACzD,cAAc,+CAA+C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../commands/subscription/index.ts"],"names":[],"mappings":"AAAA,cAAc,oEAAoE,CAAC;AACnF,cAAc,yDAAyD,CAAC;AACxE,cAAc,0CAA0C,CAAC;AACzD,cAAc,+CAA+C,CAAC"}
@@ -15,7 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("../subscriptions/get-by/get-raw-subscription-by-short-uuid.command"), exports);
18
- __exportStar(require("./get-outline-subscription-by-short-uuid.command"), exports);
19
18
  __exportStar(require("./get-subscription-by-short-uuid-by-client-type.command"), exports);
20
19
  __exportStar(require("./get-subscription-by-short-uuid.command"), exports);
21
20
  __exportStar(require("./get-subscription-info-by-short-uuid.command"), exports);
@@ -4,6 +4,5 @@ exports.SUBSCRIPTION_ROUTES = exports.SUBSCRIPTION_CONTROLLER = void 0;
4
4
  exports.SUBSCRIPTION_CONTROLLER = 'sub';
5
5
  exports.SUBSCRIPTION_ROUTES = {
6
6
  GET: '',
7
- GET_OUTLINE: '/outline',
8
7
  GET_INFO: (shortUuid) => `${shortUuid}/info`,
9
8
  };
@@ -135,7 +135,6 @@ exports.REST_API = {
135
135
  },
136
136
  SUBSCRIPTION: {
137
137
  GET: (shortUuid) => `${exports.ROOT}/${CONTROLLERS.SUBSCRIPTION_CONTROLLER}/${CONTROLLERS.SUBSCRIPTION_ROUTES.GET}${shortUuid}`,
138
- GET_OUTLINE: (shortUuid) => `${exports.ROOT}/${CONTROLLERS.SUBSCRIPTION_CONTROLLER}/${CONTROLLERS.SUBSCRIPTION_ROUTES.GET_OUTLINE}/${shortUuid}`,
139
138
  GET_INFO: (shortUuid) => `${exports.ROOT}/${CONTROLLERS.SUBSCRIPTION_CONTROLLER}/${CONTROLLERS.SUBSCRIPTION_ROUTES.GET_INFO(shortUuid)}`,
140
139
  },
141
140
  HOSTS: {
@@ -15,7 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("../subscriptions/get-by/get-raw-subscription-by-short-uuid.command"), exports);
18
- __exportStar(require("./get-outline-subscription-by-short-uuid.command"), exports);
19
18
  __exportStar(require("./get-subscription-by-short-uuid-by-client-type.command"), exports);
20
19
  __exportStar(require("./get-subscription-by-short-uuid.command"), exports);
21
20
  __exportStar(require("./get-subscription-info-by-short-uuid.command"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnawave/backend-contract",
3
- "version": "2.6.32",
3
+ "version": "2.6.33",
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.",
@@ -1,20 +0,0 @@
1
- import { z } from 'zod';
2
- export declare namespace GetOutlineSubscriptionByShortUuidCommand {
3
- const url: (shortUuid: string) => string;
4
- const TSQ_url: string;
5
- const RequestSchema: z.ZodObject<{
6
- shortUuid: z.ZodString;
7
- type: z.ZodOptional<z.ZodString>;
8
- encodedTag: z.ZodOptional<z.ZodString>;
9
- }, "strip", z.ZodTypeAny, {
10
- shortUuid: string;
11
- type?: string | undefined;
12
- encodedTag?: string | undefined;
13
- }, {
14
- shortUuid: string;
15
- type?: string | undefined;
16
- encodedTag?: string | undefined;
17
- }>;
18
- type Request = z.infer<typeof RequestSchema>;
19
- }
20
- //# sourceMappingURL=get-outline-subscription-by-short-uuid.command.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-outline-subscription-by-short-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription/get-outline-subscription-by-short-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,yBAAiB,wCAAwC,CAAC;IAC/C,MAAM,GAAG,+BAA4B,CAAC;IACtC,MAAM,OAAO,QAAoB,CAAC;IAElC,MAAM,aAAa;;;;;;;;;;;;MAIxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;CACvD"}
@@ -1,15 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetOutlineSubscriptionByShortUuidCommand = void 0;
4
- const zod_1 = require("zod");
5
- const api_1 = require("../../api");
6
- var GetOutlineSubscriptionByShortUuidCommand;
7
- (function (GetOutlineSubscriptionByShortUuidCommand) {
8
- GetOutlineSubscriptionByShortUuidCommand.url = api_1.REST_API.SUBSCRIPTION.GET;
9
- GetOutlineSubscriptionByShortUuidCommand.TSQ_url = GetOutlineSubscriptionByShortUuidCommand.url(':shortUuid');
10
- GetOutlineSubscriptionByShortUuidCommand.RequestSchema = zod_1.z.object({
11
- shortUuid: zod_1.z.string(),
12
- type: zod_1.z.optional(zod_1.z.string()),
13
- encodedTag: zod_1.z.optional(zod_1.z.string()),
14
- });
15
- })(GetOutlineSubscriptionByShortUuidCommand || (exports.GetOutlineSubscriptionByShortUuidCommand = GetOutlineSubscriptionByShortUuidCommand = {}));
@@ -1,15 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetOutlineSubscriptionByShortUuidCommand = void 0;
4
- const zod_1 = require("zod");
5
- const api_1 = require("../../api");
6
- var GetOutlineSubscriptionByShortUuidCommand;
7
- (function (GetOutlineSubscriptionByShortUuidCommand) {
8
- GetOutlineSubscriptionByShortUuidCommand.url = api_1.REST_API.SUBSCRIPTION.GET;
9
- GetOutlineSubscriptionByShortUuidCommand.TSQ_url = GetOutlineSubscriptionByShortUuidCommand.url(':shortUuid');
10
- GetOutlineSubscriptionByShortUuidCommand.RequestSchema = zod_1.z.object({
11
- shortUuid: zod_1.z.string(),
12
- type: zod_1.z.optional(zod_1.z.string()),
13
- encodedTag: zod_1.z.optional(zod_1.z.string()),
14
- });
15
- })(GetOutlineSubscriptionByShortUuidCommand || (exports.GetOutlineSubscriptionByShortUuidCommand = GetOutlineSubscriptionByShortUuidCommand = {}));