@remnawave/backend-contract 2.1.74 → 2.1.75

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 +1 @@
1
- {"version":3,"file":"response-rules-config.schema.d.ts","sourceRoot":"","sources":["../../../../models/response-rules/response-rules-config.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGpC,CAAC"}
1
+ {"version":3,"file":"response-rules-config.schema.d.ts","sourceRoot":"","sources":["../../../../models/response-rules/response-rules-config.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASpC,CAAC"}
@@ -5,6 +5,10 @@ const zod_1 = require("zod");
5
5
  const constants_1 = require("../../constants");
6
6
  const response_rule_schema_1 = require("./response-rule.schema");
7
7
  exports.ResponseRulesConfigSchema = zod_1.z.object({
8
- version: zod_1.z.nativeEnum(constants_1.RESPONSE_RULES_CONFIG_VERSION),
8
+ version: zod_1.z.nativeEnum(constants_1.RESPONSE_RULES_CONFIG_VERSION).describe(JSON.stringify({
9
+ title: 'Response Rules Config Version',
10
+ description: 'Version of the response rules config.',
11
+ examples: [constants_1.RESPONSE_RULES_CONFIG_VERSION[1]],
12
+ })),
9
13
  rules: zod_1.z.array(response_rule_schema_1.ResponseRuleSchema),
10
14
  });
@@ -5,6 +5,10 @@ const zod_1 = require("zod");
5
5
  const constants_1 = require("../../constants");
6
6
  const response_rule_schema_1 = require("./response-rule.schema");
7
7
  exports.ResponseRulesConfigSchema = zod_1.z.object({
8
- version: zod_1.z.nativeEnum(constants_1.RESPONSE_RULES_CONFIG_VERSION),
8
+ version: zod_1.z.nativeEnum(constants_1.RESPONSE_RULES_CONFIG_VERSION).describe(JSON.stringify({
9
+ title: 'Response Rules Config Version',
10
+ description: 'Version of the response rules config.',
11
+ examples: [constants_1.RESPONSE_RULES_CONFIG_VERSION[1]],
12
+ })),
9
13
  rules: zod_1.z.array(response_rule_schema_1.ResponseRuleSchema),
10
14
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnawave/backend-contract",
3
- "version": "2.1.74",
3
+ "version": "2.1.75",
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.",