@redocly/config 0.22.2 → 0.23.0

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.
@@ -41,7 +41,7 @@ export declare const reuniteConfigSchema: {
41
41
  };
42
42
  readonly interval: {
43
43
  readonly type: "string";
44
- readonly pattern: "^[1-9]\\d*[mhdw]$";
44
+ readonly enum: readonly ["1m", "2m", "5m", "10m", "15m", "30m", "1h", "3h", "6h", "12h", "1d", "7d"];
45
45
  };
46
46
  };
47
47
  readonly required: readonly ["event"];
@@ -37,7 +37,10 @@ const jobTriggerSchema = {
37
37
  type: 'string',
38
38
  enum: ['schedule'],
39
39
  },
40
- interval: { type: 'string', pattern: '^[1-9]\\d*[mhdw]$' },
40
+ interval: {
41
+ type: 'string',
42
+ enum: ['1m', '2m', '5m', '10m', '15m', '30m', '1h', '3h', '6h', '12h', '1d', '7d'],
43
+ },
41
44
  },
42
45
  required: ['event'],
43
46
  };
@@ -14850,7 +14850,7 @@ export declare const redoclyConfigSchema: {
14850
14850
  };
14851
14851
  readonly interval: {
14852
14852
  readonly type: "string";
14853
- readonly pattern: "^[1-9]\\d*[mhdw]$";
14853
+ readonly enum: readonly ["1m", "2m", "5m", "10m", "15m", "30m", "1h", "3h", "6h", "12h", "1d", "7d"];
14854
14854
  };
14855
14855
  };
14856
14856
  readonly required: readonly ["event"];
@@ -26607,8 +26607,8 @@ export declare const rootRedoclyConfigSchema: {
26607
26607
  type: "string";
26608
26608
  };
26609
26609
  interval: {
26610
+ enum: ("1m" | "2m" | "5m" | "10m" | "15m" | "30m" | "1h" | "3h" | "6h" | "12h" | "1d" | "7d")[];
26610
26611
  type: "string";
26611
- pattern: "^[1-9]\\d*[mhdw]$";
26612
26612
  };
26613
26613
  };
26614
26614
  additionalProperties: false;
@@ -38959,7 +38959,7 @@ export declare const rootRedoclyConfigSchema: {
38959
38959
  };
38960
38960
  readonly interval: {
38961
38961
  readonly type: "string";
38962
- readonly pattern: "^[1-9]\\d*[mhdw]$";
38962
+ readonly enum: readonly ["1m", "2m", "5m", "10m", "15m", "30m", "1h", "3h", "6h", "12h", "1d", "7d"];
38963
38963
  };
38964
38964
  };
38965
38965
  readonly required: readonly ["event"];
@@ -41,7 +41,7 @@ export declare const reuniteConfigSchema: {
41
41
  };
42
42
  readonly interval: {
43
43
  readonly type: "string";
44
- readonly pattern: "^[1-9]\\d*[mhdw]$";
44
+ readonly enum: readonly ["1m", "2m", "5m", "10m", "15m", "30m", "1h", "3h", "6h", "12h", "1d", "7d"];
45
45
  };
46
46
  };
47
47
  readonly required: readonly ["event"];
@@ -34,7 +34,10 @@ const jobTriggerSchema = {
34
34
  type: 'string',
35
35
  enum: ['schedule'],
36
36
  },
37
- interval: { type: 'string', pattern: '^[1-9]\\d*[mhdw]$' },
37
+ interval: {
38
+ type: 'string',
39
+ enum: ['1m', '2m', '5m', '10m', '15m', '30m', '1h', '3h', '6h', '12h', '1d', '7d'],
40
+ },
38
41
  },
39
42
  required: ['event'],
40
43
  };
@@ -14850,7 +14850,7 @@ export declare const redoclyConfigSchema: {
14850
14850
  };
14851
14851
  readonly interval: {
14852
14852
  readonly type: "string";
14853
- readonly pattern: "^[1-9]\\d*[mhdw]$";
14853
+ readonly enum: readonly ["1m", "2m", "5m", "10m", "15m", "30m", "1h", "3h", "6h", "12h", "1d", "7d"];
14854
14854
  };
14855
14855
  };
14856
14856
  readonly required: readonly ["event"];
@@ -26607,8 +26607,8 @@ export declare const rootRedoclyConfigSchema: {
26607
26607
  type: "string";
26608
26608
  };
26609
26609
  interval: {
26610
+ enum: ("1m" | "2m" | "5m" | "10m" | "15m" | "30m" | "1h" | "3h" | "6h" | "12h" | "1d" | "7d")[];
26610
26611
  type: "string";
26611
- pattern: "^[1-9]\\d*[mhdw]$";
26612
26612
  };
26613
26613
  };
26614
26614
  additionalProperties: false;
@@ -38959,7 +38959,7 @@ export declare const rootRedoclyConfigSchema: {
38959
38959
  };
38960
38960
  readonly interval: {
38961
38961
  readonly type: "string";
38962
- readonly pattern: "^[1-9]\\d*[mhdw]$";
38962
+ readonly enum: readonly ["1m", "2m", "5m", "10m", "15m", "30m", "1h", "3h", "6h", "12h", "1d", "7d"];
38963
38963
  };
38964
38964
  };
38965
38965
  readonly required: readonly ["event"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redocly/config",
3
- "version": "0.22.2",
3
+ "version": "0.23.0",
4
4
  "license": "MIT",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib-esm/index.js",