@remnawave/backend-contract 2.1.72 → 2.1.73

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.
@@ -854,5 +854,15 @@ export declare const ERRORS: {
854
854
  readonly message: "Update snippet error";
855
855
  readonly httpCode: 500;
856
856
  };
857
+ readonly SNIPPET_CANNOT_BE_EMPTY: {
858
+ readonly code: "A166";
859
+ readonly message: "Snippet cannot be empty";
860
+ readonly httpCode: 400;
861
+ };
862
+ readonly SNIPPET_CANNOT_CONTAIN_EMPTY_OBJECTS: {
863
+ readonly code: "A167";
864
+ readonly message: "Snippet cannot contain empty objects";
865
+ readonly httpCode: 400;
866
+ };
857
867
  };
858
868
  //# 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAwJY,MAAM;;;;;;;;;;wCAUN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCA4IN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAshB3B,CAAC"}
@@ -825,4 +825,14 @@ exports.ERRORS = {
825
825
  message: 'Update snippet error',
826
826
  httpCode: 500,
827
827
  },
828
+ SNIPPET_CANNOT_BE_EMPTY: {
829
+ code: 'A166',
830
+ message: 'Snippet cannot be empty',
831
+ httpCode: 400,
832
+ },
833
+ SNIPPET_CANNOT_CONTAIN_EMPTY_OBJECTS: {
834
+ code: 'A167',
835
+ message: 'Snippet cannot contain empty objects',
836
+ httpCode: 400,
837
+ },
828
838
  };
@@ -825,4 +825,14 @@ exports.ERRORS = {
825
825
  message: 'Update snippet error',
826
826
  httpCode: 500,
827
827
  },
828
+ SNIPPET_CANNOT_BE_EMPTY: {
829
+ code: 'A166',
830
+ message: 'Snippet cannot be empty',
831
+ httpCode: 400,
832
+ },
833
+ SNIPPET_CANNOT_CONTAIN_EMPTY_OBJECTS: {
834
+ code: 'A167',
835
+ message: 'Snippet cannot contain empty objects',
836
+ httpCode: 400,
837
+ },
828
838
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnawave/backend-contract",
3
- "version": "2.1.72",
3
+ "version": "2.1.73",
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.",