doc-detective-common 3.5.1-dev.0 → 3.5.1-dev.2
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/package.json +3 -3
- package/src/schemas/build/checkLink_v2.schema.json +1 -1
- package/src/schemas/build/checkLink_v3.schema.json +1 -1
- package/src/schemas/build/click_v3.schema.json +1 -1
- package/src/schemas/build/config_v2.schema.json +14 -14
- package/src/schemas/build/config_v3.schema.json +6 -6
- package/src/schemas/build/context_v2.schema.json +1 -1
- package/src/schemas/build/context_v3.schema.json +1 -1
- package/src/schemas/build/dragAndDrop_v3.schema.json +1 -1
- package/src/schemas/build/find_v2.schema.json +3 -3
- package/src/schemas/build/find_v3.schema.json +4 -4
- package/src/schemas/build/goTo_v2.schema.json +1 -1
- package/src/schemas/build/goTo_v3.schema.json +1 -1
- package/src/schemas/build/httpRequest_v2.schema.json +2 -2
- package/src/schemas/build/httpRequest_v3.schema.json +3 -3
- package/src/schemas/build/loadCookie_v3.schema.json +1 -1
- package/src/schemas/build/loadVariables_v3.schema.json +1 -1
- package/src/schemas/build/moveTo_v2.schema.json +1 -1
- package/src/schemas/build/openApi_v2.schema.json +1 -1
- package/src/schemas/build/openApi_v3.schema.json +1 -1
- package/src/schemas/build/record_v3.schema.json +1 -1
- package/src/schemas/build/report_v3.schema.json +5 -5
- package/src/schemas/build/resolvedTests_v3.schema.json +3 -3
- package/src/schemas/build/runCode_v2.schema.json +1 -1
- package/src/schemas/build/runCode_v3.schema.json +1 -1
- package/src/schemas/build/runShell_v2.schema.json +1 -1
- package/src/schemas/build/runShell_v3.schema.json +1 -1
- package/src/schemas/build/saveCookie_v3.schema.json +1 -1
- package/src/schemas/build/saveScreenshot_v2.schema.json +1 -1
- package/src/schemas/build/screenshot_v3.schema.json +1 -1
- package/src/schemas/build/setVariables_v2.schema.json +1 -1
- package/src/schemas/build/spec_v2.schema.json +4 -4
- package/src/schemas/build/spec_v3.schema.json +4 -4
- package/src/schemas/build/startRecording_v2.schema.json +1 -1
- package/src/schemas/build/step_v3.schema.json +38 -38
- package/src/schemas/build/stopRecord_v3.schema.json +1 -1
- package/src/schemas/build/stopRecording_v2.schema.json +1 -1
- package/src/schemas/build/test_v2.schema.json +15 -15
- package/src/schemas/build/test_v3.schema.json +6 -6
- package/src/schemas/build/typeKeys_v2.schema.json +1 -1
- package/src/schemas/build/type_v3.schema.json +1 -1
- package/src/schemas/build/wait_v2.schema.json +1 -1
- package/src/schemas/build/wait_v3.schema.json +1 -1
- package/src/schemas/build/loadCookies_v3.schema.json +0 -156
- package/src/schemas/build/saveCookies_v3.schema.json +0 -176
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "doc-detective-common",
|
|
3
|
-
"version": "3.5.1-dev.
|
|
3
|
+
"version": "3.5.1-dev.2",
|
|
4
4
|
"description": "Shared components for Doc Detective projects.",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
"sinon": "^21.0.0"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@apidevtools/json-schema-ref-parser": "^15.1.
|
|
28
|
+
"@apidevtools/json-schema-ref-parser": "^15.1.3",
|
|
29
29
|
"ajv": "^8.17.1",
|
|
30
30
|
"ajv-errors": "^3.0.0",
|
|
31
31
|
"ajv-formats": "^3.0.1",
|
|
32
32
|
"ajv-keywords": "^5.1.0",
|
|
33
33
|
"axios": "^1.13.2",
|
|
34
|
-
"yaml": "^2.8.
|
|
34
|
+
"yaml": "^2.8.2"
|
|
35
35
|
}
|
|
36
36
|
}
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"items": {
|
|
109
109
|
"oneOf": [
|
|
110
110
|
{
|
|
111
|
-
"$ref": "/home/
|
|
111
|
+
"$ref": "/home/runner/work/common/common/src/schemas/build/context_v2.schema.json#"
|
|
112
112
|
}
|
|
113
113
|
]
|
|
114
114
|
},
|
|
@@ -314,37 +314,37 @@
|
|
|
314
314
|
]
|
|
315
315
|
},
|
|
316
316
|
{
|
|
317
|
-
"$ref": "/home/
|
|
317
|
+
"$ref": "/home/runner/work/common/common/src/schemas/build/checkLink_v2.schema.json#"
|
|
318
318
|
},
|
|
319
319
|
{
|
|
320
|
-
"$ref": "/home/
|
|
320
|
+
"$ref": "/home/runner/work/common/common/src/schemas/build/find_v2.schema.json#"
|
|
321
321
|
},
|
|
322
322
|
{
|
|
323
|
-
"$ref": "/home/
|
|
323
|
+
"$ref": "/home/runner/work/common/common/src/schemas/build/goTo_v2.schema.json#"
|
|
324
324
|
},
|
|
325
325
|
{
|
|
326
|
-
"$ref": "/home/
|
|
326
|
+
"$ref": "/home/runner/work/common/common/src/schemas/build/httpRequest_v2.schema.json#"
|
|
327
327
|
},
|
|
328
328
|
{
|
|
329
|
-
"$ref": "/home/
|
|
329
|
+
"$ref": "/home/runner/work/common/common/src/schemas/build/runShell_v2.schema.json#"
|
|
330
330
|
},
|
|
331
331
|
{
|
|
332
|
-
"$ref": "/home/
|
|
332
|
+
"$ref": "/home/runner/work/common/common/src/schemas/build/saveScreenshot_v2.schema.json#"
|
|
333
333
|
},
|
|
334
334
|
{
|
|
335
|
-
"$ref": "/home/
|
|
335
|
+
"$ref": "/home/runner/work/common/common/src/schemas/build/setVariables_v2.schema.json#"
|
|
336
336
|
},
|
|
337
337
|
{
|
|
338
|
-
"$ref": "/home/
|
|
338
|
+
"$ref": "/home/runner/work/common/common/src/schemas/build/startRecording_v2.schema.json#"
|
|
339
339
|
},
|
|
340
340
|
{
|
|
341
|
-
"$ref": "/home/
|
|
341
|
+
"$ref": "/home/runner/work/common/common/src/schemas/build/stopRecording_v2.schema.json#"
|
|
342
342
|
},
|
|
343
343
|
{
|
|
344
|
-
"$ref": "/home/
|
|
344
|
+
"$ref": "/home/runner/work/common/common/src/schemas/build/typeKeys_v2.schema.json#"
|
|
345
345
|
},
|
|
346
346
|
{
|
|
347
|
-
"$ref": "/home/
|
|
347
|
+
"$ref": "/home/runner/work/common/common/src/schemas/build/wait_v2.schema.json#"
|
|
348
348
|
}
|
|
349
349
|
]
|
|
350
350
|
}
|
|
@@ -541,7 +541,7 @@
|
|
|
541
541
|
"items": {
|
|
542
542
|
"allOf": [
|
|
543
543
|
{
|
|
544
|
-
"$ref": "/home/
|
|
544
|
+
"$ref": "/home/runner/work/common/common/src/schemas/build/openApi_v2.schema.json#"
|
|
545
545
|
},
|
|
546
546
|
{
|
|
547
547
|
"type": "object",
|
|
@@ -1075,5 +1075,5 @@
|
|
|
1075
1075
|
}
|
|
1076
1076
|
}
|
|
1077
1077
|
],
|
|
1078
|
-
"$id": "/home/
|
|
1078
|
+
"$id": "/home/runner/work/common/common/src/schemas/src_schemas/config_v2.schema.json"
|
|
1079
1079
|
}
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"default": "file"
|
|
54
54
|
},
|
|
55
55
|
"loadVariables": {
|
|
56
|
-
"$ref": "/home/
|
|
56
|
+
"$ref": "/home/runner/work/common/common/src/schemas/build/loadVariables_v3.schema.json#"
|
|
57
57
|
},
|
|
58
58
|
"origin": {
|
|
59
59
|
"description": "Default protocol and domain to use for relative URLs.",
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
"default": "info"
|
|
128
128
|
},
|
|
129
129
|
"runOn": {
|
|
130
|
-
"$ref": "/home/
|
|
130
|
+
"$ref": "/home/runner/work/common/common/src/schemas/build/test_v3.schema.json#/properties/runOn"
|
|
131
131
|
},
|
|
132
132
|
"fileTypes": {
|
|
133
133
|
"description": "Configuration for file types and their markup detection.",
|
|
@@ -225,7 +225,7 @@
|
|
|
225
225
|
"description": "`runShell` step to perform for this file type. Use $1 as a placeholder for the file path.",
|
|
226
226
|
"anyOf": [
|
|
227
227
|
{
|
|
228
|
-
"$ref": "/home/
|
|
228
|
+
"$ref": "/home/runner/work/common/common/src/schemas/build/runShell_v3.schema.json#"
|
|
229
229
|
}
|
|
230
230
|
]
|
|
231
231
|
}
|
|
@@ -242,7 +242,7 @@
|
|
|
242
242
|
"additionalProperties": false,
|
|
243
243
|
"properties": {
|
|
244
244
|
"openApi": {
|
|
245
|
-
"$ref": "/home/
|
|
245
|
+
"$ref": "/home/runner/work/common/common/src/schemas/build/test_v3.schema.json#/properties/openApi"
|
|
246
246
|
},
|
|
247
247
|
"docDetectiveApi": {
|
|
248
248
|
"type": "object",
|
|
@@ -384,7 +384,7 @@
|
|
|
384
384
|
"$ref": "#/components/schemas/markupActionString"
|
|
385
385
|
},
|
|
386
386
|
{
|
|
387
|
-
"$ref": "/home/
|
|
387
|
+
"$ref": "/home/runner/work/common/common/src/schemas/build/step_v3.schema.json#"
|
|
388
388
|
}
|
|
389
389
|
]
|
|
390
390
|
}
|
|
@@ -582,5 +582,5 @@
|
|
|
582
582
|
"crawl": true
|
|
583
583
|
}
|
|
584
584
|
],
|
|
585
|
-
"$id": "/home/
|
|
585
|
+
"$id": "/home/runner/work/common/common/src/schemas/src_schemas/config_v3.schema.json"
|
|
586
586
|
}
|
|
@@ -73,10 +73,10 @@
|
|
|
73
73
|
"additionalProperties": false,
|
|
74
74
|
"properties": {
|
|
75
75
|
"keys": {
|
|
76
|
-
"$ref": "/home/
|
|
76
|
+
"$ref": "/home/runner/work/common/common/src/schemas/build/typeKeys_v2.schema.json#/properties/keys"
|
|
77
77
|
},
|
|
78
78
|
"delay": {
|
|
79
|
-
"$ref": "/home/
|
|
79
|
+
"$ref": "/home/runner/work/common/common/src/schemas/build/typeKeys_v2.schema.json#/properties/delay"
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
}
|
|
@@ -164,5 +164,5 @@
|
|
|
164
164
|
]
|
|
165
165
|
}
|
|
166
166
|
],
|
|
167
|
-
"$id": "/home/
|
|
167
|
+
"$id": "/home/runner/work/common/common/src/schemas/src_schemas/find_v2.schema.json"
|
|
168
168
|
}
|
|
@@ -124,13 +124,13 @@
|
|
|
124
124
|
"description": "Click the element.",
|
|
125
125
|
"anyOf": [
|
|
126
126
|
{
|
|
127
|
-
"$ref": "/home/
|
|
127
|
+
"$ref": "/home/runner/work/common/common/src/schemas/build/click_v3.schema.json#"
|
|
128
128
|
},
|
|
129
129
|
{
|
|
130
130
|
"type": "object",
|
|
131
131
|
"properties": {
|
|
132
132
|
"button": {
|
|
133
|
-
"$ref": "/home/
|
|
133
|
+
"$ref": "/home/runner/work/common/common/src/schemas/build/click_v3.schema.json#/components/schemas/button"
|
|
134
134
|
}
|
|
135
135
|
},
|
|
136
136
|
"title": "Find element and click"
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
"description": "Type keys after finding the element. Either a string or an object with a `keys` field as defined in [`type`](type). To type in the element, make the element active with the `click` parameter.",
|
|
142
142
|
"allOf": [
|
|
143
143
|
{
|
|
144
|
-
"$ref": "/home/
|
|
144
|
+
"$ref": "/home/runner/work/common/common/src/schemas/build/type_v3.schema.json#"
|
|
145
145
|
},
|
|
146
146
|
{
|
|
147
147
|
"not": {
|
|
@@ -210,5 +210,5 @@
|
|
|
210
210
|
"moveTo": false
|
|
211
211
|
}
|
|
212
212
|
],
|
|
213
|
-
"$id": "/home/
|
|
213
|
+
"$id": "/home/runner/work/common/common/src/schemas/src_schemas/find_v3.schema.json"
|
|
214
214
|
}
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"openApi": {
|
|
28
28
|
"allOf": [
|
|
29
29
|
{
|
|
30
|
-
"$ref": "/home/
|
|
30
|
+
"$ref": "/home/runner/work/common/common/src/schemas/build/openApi_v2.schema.json#"
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
33
|
"type": "object",
|
|
@@ -317,5 +317,5 @@
|
|
|
317
317
|
}
|
|
318
318
|
}
|
|
319
319
|
],
|
|
320
|
-
"$id": "/home/
|
|
320
|
+
"$id": "/home/runner/work/common/common/src/schemas/src_schemas/httpRequest_v2.schema.json"
|
|
321
321
|
}
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
{
|
|
47
47
|
"allOf": [
|
|
48
48
|
{
|
|
49
|
-
"$ref": "/home/
|
|
49
|
+
"$ref": "/home/runner/work/common/common/src/schemas/build/openApi_v3.schema.json#/components/schemas/operationId"
|
|
50
50
|
},
|
|
51
51
|
{
|
|
52
52
|
"title": "Operation ID",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
{
|
|
58
58
|
"allOf": [
|
|
59
59
|
{
|
|
60
|
-
"$ref": "/home/
|
|
60
|
+
"$ref": "/home/runner/work/common/common/src/schemas/build/openApi_v3.schema.json#"
|
|
61
61
|
},
|
|
62
62
|
{
|
|
63
63
|
"type": "object",
|
|
@@ -435,5 +435,5 @@
|
|
|
435
435
|
}
|
|
436
436
|
}
|
|
437
437
|
],
|
|
438
|
-
"$id": "/home/
|
|
438
|
+
"$id": "/home/runner/work/common/common/src/schemas/src_schemas/httpRequest_v3.schema.json"
|
|
439
439
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "/home/
|
|
2
|
+
"$id": "/home/runner/work/common/common/src/schemas/src_schemas/openApi_v2.schema.json",
|
|
3
3
|
"version": "1.0.0",
|
|
4
4
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
5
5
|
"title": "openApi",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "/home/
|
|
2
|
+
"$id": "/home/runner/work/common/common/src/schemas/src_schemas/openApi_v3.schema.json",
|
|
3
3
|
"version": "1.0.0",
|
|
4
4
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
5
5
|
"title": "openApi",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"items": {
|
|
18
18
|
"anyOf": [
|
|
19
19
|
{
|
|
20
|
-
"$ref": "/home/
|
|
20
|
+
"$ref": "/home/runner/work/common/common/src/schemas/build/spec_v3.schema.json#"
|
|
21
21
|
}
|
|
22
22
|
]
|
|
23
23
|
}
|
|
@@ -30,24 +30,24 @@
|
|
|
30
30
|
{
|
|
31
31
|
"specs": [
|
|
32
32
|
{
|
|
33
|
-
"$ref": "/home/
|
|
33
|
+
"$ref": "/home/runner/work/common/common/src/schemas/build/spec_v3.schema.json#/examples/0"
|
|
34
34
|
}
|
|
35
35
|
]
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
38
|
"specs": [
|
|
39
39
|
{
|
|
40
|
-
"$ref": "/home/
|
|
40
|
+
"$ref": "/home/runner/work/common/common/src/schemas/build/spec_v3.schema.json#/examples/1"
|
|
41
41
|
}
|
|
42
42
|
]
|
|
43
43
|
},
|
|
44
44
|
{
|
|
45
45
|
"specs": [
|
|
46
46
|
{
|
|
47
|
-
"$ref": "/home/
|
|
47
|
+
"$ref": "/home/runner/work/common/common/src/schemas/build/spec_v3.schema.json#/examples/2"
|
|
48
48
|
}
|
|
49
49
|
]
|
|
50
50
|
}
|
|
51
51
|
],
|
|
52
|
-
"$id": "/home/
|
|
52
|
+
"$id": "/home/runner/work/common/common/src/schemas/src_schemas/report_v3.schema.json"
|
|
53
53
|
}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"description": "Unique identifier for the resolved tests."
|
|
13
13
|
},
|
|
14
14
|
"config": {
|
|
15
|
-
"$ref": "/home/
|
|
15
|
+
"$ref": "/home/runner/work/common/common/src/schemas/build/config_v3.schema.json#"
|
|
16
16
|
},
|
|
17
17
|
"specs": {
|
|
18
18
|
"description": "Test specifications that were performed.",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"items": {
|
|
22
22
|
"anyOf": [
|
|
23
23
|
{
|
|
24
|
-
"$ref": "/home/
|
|
24
|
+
"$ref": "/home/runner/work/common/common/src/schemas/build/spec_v3.schema.json#"
|
|
25
25
|
}
|
|
26
26
|
]
|
|
27
27
|
}
|
|
@@ -234,5 +234,5 @@
|
|
|
234
234
|
]
|
|
235
235
|
}
|
|
236
236
|
],
|
|
237
|
-
"$id": "/home/
|
|
237
|
+
"$id": "/home/runner/work/common/common/src/schemas/src_schemas/resolvedTests_v3.schema.json"
|
|
238
238
|
}
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"items": {
|
|
21
21
|
"oneOf": [
|
|
22
22
|
{
|
|
23
|
-
"$ref": "/home/
|
|
23
|
+
"$ref": "/home/runner/work/common/common/src/schemas/build/context_v2.schema.json#"
|
|
24
24
|
}
|
|
25
25
|
]
|
|
26
26
|
}
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"items": {
|
|
31
31
|
"allOf": [
|
|
32
32
|
{
|
|
33
|
-
"$ref": "/home/
|
|
33
|
+
"$ref": "/home/runner/work/common/common/src/schemas/build/openApi_v2.schema.json#"
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
36
|
"type": "object",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"items": {
|
|
56
56
|
"oneOf": [
|
|
57
57
|
{
|
|
58
|
-
"$ref": "/home/
|
|
58
|
+
"$ref": "/home/runner/work/common/common/src/schemas/build/test_v2.schema.json#"
|
|
59
59
|
}
|
|
60
60
|
]
|
|
61
61
|
}
|
|
@@ -195,5 +195,5 @@
|
|
|
195
195
|
]
|
|
196
196
|
}
|
|
197
197
|
],
|
|
198
|
-
"$id": "/home/
|
|
198
|
+
"$id": "/home/runner/work/common/common/src/schemas/src_schemas/spec_v2.schema.json"
|
|
199
199
|
}
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
"description": "Path to the content that the specification is associated with."
|
|
31
31
|
},
|
|
32
32
|
"runOn": {
|
|
33
|
-
"$ref": "/home/
|
|
33
|
+
"$ref": "/home/runner/work/common/common/src/schemas/build/test_v3.schema.json#/properties/runOn"
|
|
34
34
|
},
|
|
35
35
|
"openApi": {
|
|
36
|
-
"$ref": "/home/
|
|
36
|
+
"$ref": "/home/runner/work/common/common/src/schemas/build/test_v3.schema.json#/properties/openApi"
|
|
37
37
|
},
|
|
38
38
|
"tests": {
|
|
39
39
|
"description": "[Tests](test) to perform.",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"items": {
|
|
43
43
|
"anyOf": [
|
|
44
44
|
{
|
|
45
|
-
"$ref": "/home/
|
|
45
|
+
"$ref": "/home/runner/work/common/common/src/schemas/build/test_v3.schema.json#"
|
|
46
46
|
}
|
|
47
47
|
]
|
|
48
48
|
}
|
|
@@ -209,5 +209,5 @@
|
|
|
209
209
|
]
|
|
210
210
|
}
|
|
211
211
|
],
|
|
212
|
-
"$id": "/home/
|
|
212
|
+
"$id": "/home/runner/work/common/common/src/schemas/src_schemas/spec_v3.schema.json"
|
|
213
213
|
}
|