@remnawave/backend-contract 2.0.0-alpha.28 → 2.0.0-alpha.29

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.
@@ -0,0 +1,3 @@
1
+ export declare const REMNAWAVE_CLIENT_TYPE_HEADER = "X-Remnawave-Client-Type";
2
+ export declare const REMNAWAVE_CLIENT_TYPE_BROWSER = "browser";
3
+ //# sourceMappingURL=headers.contants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"headers.contants.d.ts","sourceRoot":"","sources":["../../../../constants/headers/headers.contants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,4BAA4B,4BAA4B,CAAC;AAEtE,eAAO,MAAM,6BAA6B,YAAY,CAAC"}
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.REMNAWAVE_CLIENT_TYPE_BROWSER = exports.REMNAWAVE_CLIENT_TYPE_HEADER = void 0;
4
+ exports.REMNAWAVE_CLIENT_TYPE_HEADER = 'X-Remnawave-Client-Type';
5
+ exports.REMNAWAVE_CLIENT_TYPE_BROWSER = 'browser';
@@ -0,0 +1,2 @@
1
+ export * from './headers.contants';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../constants/headers/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,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("./headers.contants"), exports);
@@ -1,6 +1,7 @@
1
1
  export * from './endpoint-details';
2
2
  export * from './errors';
3
3
  export * from './events';
4
+ export * from './headers';
4
5
  export * from './hosts';
5
6
  export * from './metrics';
6
7
  export * from './nodes';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,yBAAyB,CAAC;AACxC,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,yBAAyB,CAAC;AACxC,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC"}
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./endpoint-details"), exports);
18
18
  __exportStar(require("./errors"), exports);
19
19
  __exportStar(require("./events"), exports);
20
+ __exportStar(require("./headers"), exports);
20
21
  __exportStar(require("./hosts"), exports);
21
22
  __exportStar(require("./metrics"), exports);
22
23
  __exportStar(require("./nodes"), exports);
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.REMNAWAVE_CLIENT_TYPE_BROWSER = exports.REMNAWAVE_CLIENT_TYPE_HEADER = void 0;
4
+ exports.REMNAWAVE_CLIENT_TYPE_HEADER = 'X-Remnawave-Client-Type';
5
+ exports.REMNAWAVE_CLIENT_TYPE_BROWSER = 'browser';
@@ -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("./headers.contants"), exports);
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./endpoint-details"), exports);
18
18
  __exportStar(require("./errors"), exports);
19
19
  __exportStar(require("./events"), exports);
20
+ __exportStar(require("./headers"), exports);
20
21
  __exportStar(require("./hosts"), exports);
21
22
  __exportStar(require("./metrics"), exports);
22
23
  __exportStar(require("./nodes"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnawave/backend-contract",
3
- "version": "2.0.0-alpha.28",
3
+ "version": "2.0.0-alpha.29",
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.",