@redocly/config 0.19.2 → 0.19.4
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/lib/reunite-config-schema.d.ts +10 -0
- package/lib/reunite-config-schema.js +11 -0
- package/lib/root-config-schema.d.ts +30 -0
- package/lib-esm/reunite-config-schema.d.ts +10 -0
- package/lib-esm/reunite-config-schema.js +11 -0
- package/lib-esm/root-config-schema.d.ts +30 -0
- package/package.json +1 -1
|
@@ -52,6 +52,16 @@ export declare const reuniteConfigSchema: {
|
|
|
52
52
|
readonly type: "string";
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
|
+
readonly servers: {
|
|
56
|
+
readonly type: "object";
|
|
57
|
+
readonly additionalProperties: false;
|
|
58
|
+
readonly patternProperties: {
|
|
59
|
+
readonly '^[a-zA-Z0-9_-]+$': {
|
|
60
|
+
readonly type: "string";
|
|
61
|
+
readonly pattern: "^https?://[^\\s/$.?#].[^\\s]*$";
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
};
|
|
55
65
|
};
|
|
56
66
|
readonly required: readonly ["path", "trigger", "agent"];
|
|
57
67
|
readonly additionalProperties: false;
|
|
@@ -5,6 +5,16 @@ const jobInputsSchema = {
|
|
|
5
5
|
type: 'object',
|
|
6
6
|
additionalProperties: { type: 'string' },
|
|
7
7
|
};
|
|
8
|
+
const jobServersSchema = {
|
|
9
|
+
type: 'object',
|
|
10
|
+
additionalProperties: false,
|
|
11
|
+
patternProperties: {
|
|
12
|
+
'^[a-zA-Z0-9_-]+$': {
|
|
13
|
+
type: 'string',
|
|
14
|
+
pattern: '^https?://[^\\s/$.?#].[^\\s]*$',
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
};
|
|
8
18
|
const jobTriggerSchema = {
|
|
9
19
|
type: 'object',
|
|
10
20
|
additionalProperties: false,
|
|
@@ -46,6 +56,7 @@ exports.reuniteConfigSchema = {
|
|
|
46
56
|
},
|
|
47
57
|
trigger: jobTriggerSchema,
|
|
48
58
|
inputs: jobInputsSchema,
|
|
59
|
+
servers: jobServersSchema,
|
|
49
60
|
},
|
|
50
61
|
required: ['path', 'trigger', 'agent'],
|
|
51
62
|
additionalProperties: false,
|
|
@@ -14788,6 +14788,16 @@ export declare const redoclyConfigSchema: {
|
|
|
14788
14788
|
readonly type: "string";
|
|
14789
14789
|
};
|
|
14790
14790
|
};
|
|
14791
|
+
readonly servers: {
|
|
14792
|
+
readonly type: "object";
|
|
14793
|
+
readonly additionalProperties: false;
|
|
14794
|
+
readonly patternProperties: {
|
|
14795
|
+
readonly '^[a-zA-Z0-9_-]+$': {
|
|
14796
|
+
readonly type: "string";
|
|
14797
|
+
readonly pattern: "^https?://[^\\s/$.?#].[^\\s]*$";
|
|
14798
|
+
};
|
|
14799
|
+
};
|
|
14800
|
+
};
|
|
14791
14801
|
};
|
|
14792
14802
|
readonly required: readonly ["path", "trigger", "agent"];
|
|
14793
14803
|
readonly additionalProperties: false;
|
|
@@ -26638,6 +26648,16 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
26638
26648
|
};
|
|
26639
26649
|
type: "object";
|
|
26640
26650
|
};
|
|
26651
|
+
servers: {
|
|
26652
|
+
patternProperties: {
|
|
26653
|
+
"^[a-zA-Z0-9_-]+$": {
|
|
26654
|
+
type: "string";
|
|
26655
|
+
pattern: "^https?://[^\\s/$.?#].[^\\s]*$";
|
|
26656
|
+
};
|
|
26657
|
+
};
|
|
26658
|
+
additionalProperties: false;
|
|
26659
|
+
type: "object";
|
|
26660
|
+
};
|
|
26641
26661
|
};
|
|
26642
26662
|
additionalProperties: false;
|
|
26643
26663
|
type: "object";
|
|
@@ -38645,6 +38665,16 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
38645
38665
|
readonly type: "string";
|
|
38646
38666
|
};
|
|
38647
38667
|
};
|
|
38668
|
+
readonly servers: {
|
|
38669
|
+
readonly type: "object";
|
|
38670
|
+
readonly additionalProperties: false;
|
|
38671
|
+
readonly patternProperties: {
|
|
38672
|
+
readonly '^[a-zA-Z0-9_-]+$': {
|
|
38673
|
+
readonly type: "string";
|
|
38674
|
+
readonly pattern: "^https?://[^\\s/$.?#].[^\\s]*$";
|
|
38675
|
+
};
|
|
38676
|
+
};
|
|
38677
|
+
};
|
|
38648
38678
|
};
|
|
38649
38679
|
readonly required: readonly ["path", "trigger", "agent"];
|
|
38650
38680
|
readonly additionalProperties: false;
|
|
@@ -52,6 +52,16 @@ export declare const reuniteConfigSchema: {
|
|
|
52
52
|
readonly type: "string";
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
|
+
readonly servers: {
|
|
56
|
+
readonly type: "object";
|
|
57
|
+
readonly additionalProperties: false;
|
|
58
|
+
readonly patternProperties: {
|
|
59
|
+
readonly '^[a-zA-Z0-9_-]+$': {
|
|
60
|
+
readonly type: "string";
|
|
61
|
+
readonly pattern: "^https?://[^\\s/$.?#].[^\\s]*$";
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
};
|
|
55
65
|
};
|
|
56
66
|
readonly required: readonly ["path", "trigger", "agent"];
|
|
57
67
|
readonly additionalProperties: false;
|
|
@@ -2,6 +2,16 @@ const jobInputsSchema = {
|
|
|
2
2
|
type: 'object',
|
|
3
3
|
additionalProperties: { type: 'string' },
|
|
4
4
|
};
|
|
5
|
+
const jobServersSchema = {
|
|
6
|
+
type: 'object',
|
|
7
|
+
additionalProperties: false,
|
|
8
|
+
patternProperties: {
|
|
9
|
+
'^[a-zA-Z0-9_-]+$': {
|
|
10
|
+
type: 'string',
|
|
11
|
+
pattern: '^https?://[^\\s/$.?#].[^\\s]*$',
|
|
12
|
+
},
|
|
13
|
+
},
|
|
14
|
+
};
|
|
5
15
|
const jobTriggerSchema = {
|
|
6
16
|
type: 'object',
|
|
7
17
|
additionalProperties: false,
|
|
@@ -43,6 +53,7 @@ export const reuniteConfigSchema = {
|
|
|
43
53
|
},
|
|
44
54
|
trigger: jobTriggerSchema,
|
|
45
55
|
inputs: jobInputsSchema,
|
|
56
|
+
servers: jobServersSchema,
|
|
46
57
|
},
|
|
47
58
|
required: ['path', 'trigger', 'agent'],
|
|
48
59
|
additionalProperties: false,
|
|
@@ -14788,6 +14788,16 @@ export declare const redoclyConfigSchema: {
|
|
|
14788
14788
|
readonly type: "string";
|
|
14789
14789
|
};
|
|
14790
14790
|
};
|
|
14791
|
+
readonly servers: {
|
|
14792
|
+
readonly type: "object";
|
|
14793
|
+
readonly additionalProperties: false;
|
|
14794
|
+
readonly patternProperties: {
|
|
14795
|
+
readonly '^[a-zA-Z0-9_-]+$': {
|
|
14796
|
+
readonly type: "string";
|
|
14797
|
+
readonly pattern: "^https?://[^\\s/$.?#].[^\\s]*$";
|
|
14798
|
+
};
|
|
14799
|
+
};
|
|
14800
|
+
};
|
|
14791
14801
|
};
|
|
14792
14802
|
readonly required: readonly ["path", "trigger", "agent"];
|
|
14793
14803
|
readonly additionalProperties: false;
|
|
@@ -26638,6 +26648,16 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
26638
26648
|
};
|
|
26639
26649
|
type: "object";
|
|
26640
26650
|
};
|
|
26651
|
+
servers: {
|
|
26652
|
+
patternProperties: {
|
|
26653
|
+
"^[a-zA-Z0-9_-]+$": {
|
|
26654
|
+
type: "string";
|
|
26655
|
+
pattern: "^https?://[^\\s/$.?#].[^\\s]*$";
|
|
26656
|
+
};
|
|
26657
|
+
};
|
|
26658
|
+
additionalProperties: false;
|
|
26659
|
+
type: "object";
|
|
26660
|
+
};
|
|
26641
26661
|
};
|
|
26642
26662
|
additionalProperties: false;
|
|
26643
26663
|
type: "object";
|
|
@@ -38645,6 +38665,16 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
38645
38665
|
readonly type: "string";
|
|
38646
38666
|
};
|
|
38647
38667
|
};
|
|
38668
|
+
readonly servers: {
|
|
38669
|
+
readonly type: "object";
|
|
38670
|
+
readonly additionalProperties: false;
|
|
38671
|
+
readonly patternProperties: {
|
|
38672
|
+
readonly '^[a-zA-Z0-9_-]+$': {
|
|
38673
|
+
readonly type: "string";
|
|
38674
|
+
readonly pattern: "^https?://[^\\s/$.?#].[^\\s]*$";
|
|
38675
|
+
};
|
|
38676
|
+
};
|
|
38677
|
+
};
|
|
38648
38678
|
};
|
|
38649
38679
|
readonly required: readonly ["path", "trigger", "agent"];
|
|
38650
38680
|
readonly additionalProperties: false;
|