@remnawave/backend-contract 2.0.0-alpha.35 → 2.0.0-alpha.36
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/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/constants/headers/{headers.contants.d.ts → headers.constants.d.ts} +1 -1
- package/build/backend/constants/headers/headers.constants.d.ts.map +1 -0
- package/build/backend/constants/headers/index.d.ts +1 -1
- package/build/backend/constants/headers/index.d.ts.map +1 -1
- package/build/backend/constants/headers/index.js +1 -1
- package/build/backend/models/infra-provider.schema.js +1 -1
- package/build/frontend/constants/errors/errors.js +5 -0
- package/build/frontend/constants/headers/index.js +1 -1
- package/build/frontend/models/infra-provider.schema.js +1 -1
- package/package.json +1 -1
- package/build/backend/constants/headers/headers.contants.d.ts.map +0 -1
- /package/build/backend/constants/headers/{headers.contants.js → headers.constants.js} +0 -0
- /package/build/frontend/constants/headers/{headers.contants.js → headers.constants.js} +0 -0
@@ -754,5 +754,10 @@ export declare const ERRORS: {
|
|
754
754
|
readonly message: "This name is reserved by Remnawave. Please use a different name.";
|
755
755
|
readonly httpCode: 400;
|
756
756
|
};
|
757
|
+
readonly UPDATE_CONFIG_PROFILE_ERROR: {
|
758
|
+
readonly code: "A146";
|
759
|
+
readonly message: "Update config profile error";
|
760
|
+
readonly httpCode: 500;
|
761
|
+
};
|
757
762
|
};
|
758
763
|
//# sourceMappingURL=errors.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../../constants/errors/errors.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6a3B,CAAC"}
|
@@ -725,4 +725,9 @@ exports.ERRORS = {
|
|
725
725
|
message: 'This name is reserved by Remnawave. Please use a different name.',
|
726
726
|
httpCode: 400,
|
727
727
|
},
|
728
|
+
UPDATE_CONFIG_PROFILE_ERROR: {
|
729
|
+
code: 'A146',
|
730
|
+
message: 'Update config profile error',
|
731
|
+
httpCode: 500,
|
732
|
+
},
|
728
733
|
};
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"headers.constants.d.ts","sourceRoot":"","sources":["../../../../constants/headers/headers.constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,4BAA4B,4BAA4B,CAAC;AAEtE,eAAO,MAAM,6BAA6B,YAAY,CAAC"}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export * from './headers.
|
1
|
+
export * from './headers.constants';
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../constants/headers/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../constants/headers/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC"}
|
@@ -14,4 +14,4 @@ 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("./headers.
|
17
|
+
__exportStar(require("./headers.constants"), exports);
|
@@ -20,7 +20,7 @@ exports.InfraProviderSchema = zod_1.z.object({
|
|
20
20
|
totalBills: zod_1.z.number(),
|
21
21
|
}),
|
22
22
|
billingNodes: zod_1.z.array(zod_1.z.object({
|
23
|
-
nodeUuid: zod_1.z.string(),
|
23
|
+
nodeUuid: zod_1.z.string().uuid(),
|
24
24
|
name: zod_1.z.string(),
|
25
25
|
countryCode: zod_1.z.string(),
|
26
26
|
})),
|
@@ -725,4 +725,9 @@ exports.ERRORS = {
|
|
725
725
|
message: 'This name is reserved by Remnawave. Please use a different name.',
|
726
726
|
httpCode: 400,
|
727
727
|
},
|
728
|
+
UPDATE_CONFIG_PROFILE_ERROR: {
|
729
|
+
code: 'A146',
|
730
|
+
message: 'Update config profile error',
|
731
|
+
httpCode: 500,
|
732
|
+
},
|
728
733
|
};
|
@@ -14,4 +14,4 @@ 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("./headers.
|
17
|
+
__exportStar(require("./headers.constants"), exports);
|
@@ -20,7 +20,7 @@ exports.InfraProviderSchema = zod_1.z.object({
|
|
20
20
|
totalBills: zod_1.z.number(),
|
21
21
|
}),
|
22
22
|
billingNodes: zod_1.z.array(zod_1.z.object({
|
23
|
-
nodeUuid: zod_1.z.string(),
|
23
|
+
nodeUuid: zod_1.z.string().uuid(),
|
24
24
|
name: zod_1.z.string(),
|
25
25
|
countryCode: zod_1.z.string(),
|
26
26
|
})),
|
package/package.json
CHANGED
@@ -1 +0,0 @@
|
|
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"}
|
File without changes
|
File without changes
|