doc-detective-common 4.0.0-beta.0-dev.7 → 4.0.0-beta.0-dev.9
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/dist/detectTests.d.ts +17 -22
- package/dist/detectTests.d.ts.map +1 -1
- package/dist/detectTests.js +81 -4
- package/dist/detectTests.js.map +1 -1
- package/dist/fileTypes.d.ts +35 -0
- package/dist/fileTypes.d.ts.map +1 -0
- package/dist/fileTypes.js +293 -0
- package/dist/fileTypes.js.map +1 -0
- package/dist/index.cjs +7288 -162
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/schemas/schemas.json +6786 -0
- package/dist/types/generated/step_v3.d.ts +288 -0
- package/dist/types/generated/step_v3.d.ts.map +1 -1
- package/dist/types/generated/test_v3.d.ts +576 -0
- package/dist/types/generated/test_v3.d.ts.map +1 -1
- package/package.json +8 -7
- package/dist/schemas/checkLink_v3.schema.json +0 -145
- package/dist/schemas/click_v3.schema.json +0 -252
- package/dist/schemas/config_v3.schema.json +0 -16470
- package/dist/schemas/context_v3.schema.json +0 -374
- package/dist/schemas/dragAndDrop_v3.schema.json +0 -496
- package/dist/schemas/find_v3.schema.json +0 -1349
- package/dist/schemas/goTo_v3.schema.json +0 -419
- package/dist/schemas/httpRequest_v3.schema.json +0 -994
- package/dist/schemas/loadCookie_v3.schema.json +0 -228
- package/dist/schemas/loadVariables_v3.schema.json +0 -9
- package/dist/schemas/openApi_v3.schema.json +0 -162
- package/dist/schemas/record_v3.schema.json +0 -101
- package/dist/schemas/report_v3.schema.json +0 -16826
- package/dist/schemas/resolvedTests_v3.schema.json +0 -33331
- package/dist/schemas/runCode_v3.schema.json +0 -222
- package/dist/schemas/runShell_v3.schema.json +0 -236
- package/dist/schemas/saveCookie_v3.schema.json +0 -245
- package/dist/schemas/screenshot_v3.schema.json +0 -681
- package/dist/schemas/sourceIntegration_v3.schema.json +0 -50
- package/dist/schemas/spec_v3.schema.json +0 -16630
- package/dist/schemas/step_v3.schema.json +0 -7317
- package/dist/schemas/stopRecord_v3.schema.json +0 -12
- package/dist/schemas/test_v3.schema.json +0 -15863
- package/dist/schemas/type_v3.schema.json +0 -244
- package/dist/schemas/wait_v3.schema.json +0 -41
|
@@ -1,228 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"title": "loadCookie",
|
|
4
|
-
"description": "Load a specific cookie from a file or environment variable into the browser.",
|
|
5
|
-
"anyOf": [
|
|
6
|
-
{
|
|
7
|
-
"type": "string",
|
|
8
|
-
"title": "Cookie name or file path",
|
|
9
|
-
"description": "Name of the specific cookie to load from default location, or file path to cookie file.",
|
|
10
|
-
"pattern": "^[A-Za-z0-9_./\\-]+$",
|
|
11
|
-
"transform": [
|
|
12
|
-
"trim"
|
|
13
|
-
]
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"type": "object",
|
|
17
|
-
"additionalProperties": false,
|
|
18
|
-
"required": [
|
|
19
|
-
"name"
|
|
20
|
-
],
|
|
21
|
-
"anyOf": [
|
|
22
|
-
{
|
|
23
|
-
"required": [
|
|
24
|
-
"path"
|
|
25
|
-
],
|
|
26
|
-
"not": {
|
|
27
|
-
"required": [
|
|
28
|
-
"variable"
|
|
29
|
-
]
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"required": [
|
|
34
|
-
"variable"
|
|
35
|
-
],
|
|
36
|
-
"not": {
|
|
37
|
-
"anyOf": [
|
|
38
|
-
{
|
|
39
|
-
"required": [
|
|
40
|
-
"path"
|
|
41
|
-
]
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"required": [
|
|
45
|
-
"directory"
|
|
46
|
-
]
|
|
47
|
-
}
|
|
48
|
-
]
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
],
|
|
52
|
-
"properties": {
|
|
53
|
-
"$schema": {
|
|
54
|
-
"description": "Optional self-describing schema URI for linters",
|
|
55
|
-
"type": "string",
|
|
56
|
-
"format": "uri-reference"
|
|
57
|
-
},
|
|
58
|
-
"name": {
|
|
59
|
-
"type": "string",
|
|
60
|
-
"title": "Cookie name",
|
|
61
|
-
"description": "Name of the specific cookie to load.",
|
|
62
|
-
"pattern": "^[A-Za-z0-9_.-]+$",
|
|
63
|
-
"transform": [
|
|
64
|
-
"trim"
|
|
65
|
-
]
|
|
66
|
-
},
|
|
67
|
-
"variable": {
|
|
68
|
-
"type": "string",
|
|
69
|
-
"title": "Environment variable name",
|
|
70
|
-
"description": "Environment variable name containing the cookie as JSON string.",
|
|
71
|
-
"pattern": "^[A-Za-z_][A-Za-z0-9_]*$",
|
|
72
|
-
"transform": [
|
|
73
|
-
"trim"
|
|
74
|
-
]
|
|
75
|
-
},
|
|
76
|
-
"path": {
|
|
77
|
-
"type": "string",
|
|
78
|
-
"title": "Cookie file path",
|
|
79
|
-
"description": "File path to cookie file, relative to directory. Supports Netscape cookie format.",
|
|
80
|
-
"transform": [
|
|
81
|
-
"trim"
|
|
82
|
-
]
|
|
83
|
-
},
|
|
84
|
-
"directory": {
|
|
85
|
-
"type": "string",
|
|
86
|
-
"title": "Directory path",
|
|
87
|
-
"description": "Directory containing the cookie file.",
|
|
88
|
-
"transform": [
|
|
89
|
-
"trim"
|
|
90
|
-
]
|
|
91
|
-
},
|
|
92
|
-
"domain": {
|
|
93
|
-
"type": "string",
|
|
94
|
-
"title": "Cookie domain",
|
|
95
|
-
"description": "Specific domain to filter the cookie by when loading from multi-cookie file (optional).",
|
|
96
|
-
"transform": [
|
|
97
|
-
"trim"
|
|
98
|
-
]
|
|
99
|
-
}
|
|
100
|
-
},
|
|
101
|
-
"title": "Load cookie (detailed)"
|
|
102
|
-
}
|
|
103
|
-
],
|
|
104
|
-
"components": {
|
|
105
|
-
"schemas": {
|
|
106
|
-
"string": {
|
|
107
|
-
"type": "string",
|
|
108
|
-
"title": "Cookie name or file path",
|
|
109
|
-
"description": "Name of the specific cookie to load from default location, or file path to cookie file.",
|
|
110
|
-
"pattern": "^[A-Za-z0-9_./\\-]+$",
|
|
111
|
-
"transform": [
|
|
112
|
-
"trim"
|
|
113
|
-
]
|
|
114
|
-
},
|
|
115
|
-
"object": {
|
|
116
|
-
"type": "object",
|
|
117
|
-
"additionalProperties": false,
|
|
118
|
-
"required": [
|
|
119
|
-
"name"
|
|
120
|
-
],
|
|
121
|
-
"anyOf": [
|
|
122
|
-
{
|
|
123
|
-
"required": [
|
|
124
|
-
"path"
|
|
125
|
-
],
|
|
126
|
-
"not": {
|
|
127
|
-
"required": [
|
|
128
|
-
"variable"
|
|
129
|
-
]
|
|
130
|
-
}
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
"required": [
|
|
134
|
-
"variable"
|
|
135
|
-
],
|
|
136
|
-
"not": {
|
|
137
|
-
"anyOf": [
|
|
138
|
-
{
|
|
139
|
-
"required": [
|
|
140
|
-
"path"
|
|
141
|
-
]
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
"required": [
|
|
145
|
-
"directory"
|
|
146
|
-
]
|
|
147
|
-
}
|
|
148
|
-
]
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
],
|
|
152
|
-
"properties": {
|
|
153
|
-
"$schema": {
|
|
154
|
-
"description": "Optional self-describing schema URI for linters",
|
|
155
|
-
"type": "string",
|
|
156
|
-
"format": "uri-reference"
|
|
157
|
-
},
|
|
158
|
-
"name": {
|
|
159
|
-
"type": "string",
|
|
160
|
-
"title": "Cookie name",
|
|
161
|
-
"description": "Name of the specific cookie to load.",
|
|
162
|
-
"pattern": "^[A-Za-z0-9_.-]+$",
|
|
163
|
-
"transform": [
|
|
164
|
-
"trim"
|
|
165
|
-
]
|
|
166
|
-
},
|
|
167
|
-
"variable": {
|
|
168
|
-
"type": "string",
|
|
169
|
-
"title": "Environment variable name",
|
|
170
|
-
"description": "Environment variable name containing the cookie as JSON string.",
|
|
171
|
-
"pattern": "^[A-Za-z_][A-Za-z0-9_]*$",
|
|
172
|
-
"transform": [
|
|
173
|
-
"trim"
|
|
174
|
-
]
|
|
175
|
-
},
|
|
176
|
-
"path": {
|
|
177
|
-
"type": "string",
|
|
178
|
-
"title": "Cookie file path",
|
|
179
|
-
"description": "File path to cookie file, relative to directory. Supports Netscape cookie format.",
|
|
180
|
-
"transform": [
|
|
181
|
-
"trim"
|
|
182
|
-
]
|
|
183
|
-
},
|
|
184
|
-
"directory": {
|
|
185
|
-
"type": "string",
|
|
186
|
-
"title": "Directory path",
|
|
187
|
-
"description": "Directory containing the cookie file.",
|
|
188
|
-
"transform": [
|
|
189
|
-
"trim"
|
|
190
|
-
]
|
|
191
|
-
},
|
|
192
|
-
"domain": {
|
|
193
|
-
"type": "string",
|
|
194
|
-
"title": "Cookie domain",
|
|
195
|
-
"description": "Specific domain to filter the cookie by when loading from multi-cookie file (optional).",
|
|
196
|
-
"transform": [
|
|
197
|
-
"trim"
|
|
198
|
-
]
|
|
199
|
-
}
|
|
200
|
-
},
|
|
201
|
-
"title": "Load cookie (detailed)"
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
},
|
|
205
|
-
"examples": [
|
|
206
|
-
"session_token",
|
|
207
|
-
"./test-data/auth-session.txt",
|
|
208
|
-
"test_env_cookie",
|
|
209
|
-
{
|
|
210
|
-
"name": "auth_cookie",
|
|
211
|
-
"variable": "AUTH_COOKIE"
|
|
212
|
-
},
|
|
213
|
-
{
|
|
214
|
-
"name": "test_cookie",
|
|
215
|
-
"path": "test-cookie.txt"
|
|
216
|
-
},
|
|
217
|
-
{
|
|
218
|
-
"name": "session_token",
|
|
219
|
-
"path": "session-token.txt",
|
|
220
|
-
"directory": "./test-data"
|
|
221
|
-
},
|
|
222
|
-
{
|
|
223
|
-
"name": "user_session",
|
|
224
|
-
"path": "saved-cookies.txt",
|
|
225
|
-
"domain": "app.example.com"
|
|
226
|
-
}
|
|
227
|
-
]
|
|
228
|
-
}
|
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": "1.0.0",
|
|
3
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"title": "openApi",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"description": "OpenAPI description and configuration.",
|
|
7
|
-
"additionalProperties": false,
|
|
8
|
-
"anyOf": [
|
|
9
|
-
{
|
|
10
|
-
"required": [
|
|
11
|
-
"descriptionPath"
|
|
12
|
-
]
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"required": [
|
|
16
|
-
"operationId"
|
|
17
|
-
]
|
|
18
|
-
}
|
|
19
|
-
],
|
|
20
|
-
"properties": {
|
|
21
|
-
"name": {
|
|
22
|
-
"type": "string",
|
|
23
|
-
"description": "Name of the OpenAPI description, as defined in your configuration."
|
|
24
|
-
},
|
|
25
|
-
"descriptionPath": {
|
|
26
|
-
"type": "string",
|
|
27
|
-
"description": "URL or local path to the OpenAPI description."
|
|
28
|
-
},
|
|
29
|
-
"definition": {
|
|
30
|
-
"type": "object",
|
|
31
|
-
"readOnly": true,
|
|
32
|
-
"description": "OpenAPI definition object loaded from the `descriptionPath`. This is a resolved version of the OpenAPI description and should not be user-defined.",
|
|
33
|
-
"additionalProperties": true,
|
|
34
|
-
"title": "OpenAPI definition"
|
|
35
|
-
},
|
|
36
|
-
"operationId": {
|
|
37
|
-
"type": "string",
|
|
38
|
-
"description": "ID of the operation to use for the request."
|
|
39
|
-
},
|
|
40
|
-
"server": {
|
|
41
|
-
"type": "string",
|
|
42
|
-
"description": "Server to use for example requests. Only valid if `useExample` is `request` or `both`. If not specified but an example is used for the request, uses the first server defined in the OpenAPI description."
|
|
43
|
-
},
|
|
44
|
-
"validateAgainstSchema": {
|
|
45
|
-
"type": "string",
|
|
46
|
-
"description": "Validates the request and/or response against the schema in the OpenAPI description. If the request or response doesn't match the schema, the step fails.",
|
|
47
|
-
"enum": [
|
|
48
|
-
"request",
|
|
49
|
-
"response",
|
|
50
|
-
"both",
|
|
51
|
-
"none"
|
|
52
|
-
],
|
|
53
|
-
"default": "both"
|
|
54
|
-
},
|
|
55
|
-
"mockResponse": {
|
|
56
|
-
"type": "boolean",
|
|
57
|
-
"description": "If `true`, doesn't make the HTTP request, but instead uses the response example or schema from the OpenAPI description as the response data. Useful for creating tests when an API isn't fully implemented yet. If `statusCode` isn't specified, uses the first defined response code."
|
|
58
|
-
},
|
|
59
|
-
"statusCode": {
|
|
60
|
-
"type": "integer",
|
|
61
|
-
"description": "Response code to use for validation, examples, and status code checking. If the response code doesn't match, the step fails. `statusCodes` overrides this value when specified."
|
|
62
|
-
},
|
|
63
|
-
"useExample": {
|
|
64
|
-
"type": [
|
|
65
|
-
"string"
|
|
66
|
-
],
|
|
67
|
-
"description": "Uses the example from the OpenAPI description as the request and response data. If the request or response has multiple examples, specify `exampleKey`. If `statusCode` isn't specified, uses the first defined response code. `requestData`, `requestParams`, and `requestHeaders` override portions of request examples when specified. `responseData` overrides portions of response examples when specified.",
|
|
68
|
-
"enum": [
|
|
69
|
-
"request",
|
|
70
|
-
"response",
|
|
71
|
-
"both",
|
|
72
|
-
"none"
|
|
73
|
-
],
|
|
74
|
-
"default": "none"
|
|
75
|
-
},
|
|
76
|
-
"exampleKey": {
|
|
77
|
-
"type": "string",
|
|
78
|
-
"description": "Key of the example to use from the `examples` property in the OpenAPI description. If an `examples` key isn't specified or isn't available for a given parameter or object, the `example` property value is used.",
|
|
79
|
-
"default": ""
|
|
80
|
-
},
|
|
81
|
-
"headers": {
|
|
82
|
-
"type": "object",
|
|
83
|
-
"description": "Request headers to add to requests. For example, to set `Authorization` headers for all requests from the specified OpenAPI document. If specified in both a config and a step, the step value overrides the config value.",
|
|
84
|
-
"additionalProperties": {
|
|
85
|
-
"type": "string"
|
|
86
|
-
},
|
|
87
|
-
"title": "OpenAPI request headers"
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
"components": {
|
|
91
|
-
"schemas": {
|
|
92
|
-
"operationId": {
|
|
93
|
-
"type": "string",
|
|
94
|
-
"description": "ID of the operation to use for the request."
|
|
95
|
-
},
|
|
96
|
-
"descriptionPath": {
|
|
97
|
-
"type": "string",
|
|
98
|
-
"description": "URL or local path to the OpenAPI description."
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
},
|
|
102
|
-
"examples": [
|
|
103
|
-
{
|
|
104
|
-
"descriptionPath": "https://petstore.swagger.io/v2/swagger.json"
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
"name": "Reqres",
|
|
108
|
-
"operationId": "getUserById"
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
"descriptionPath": "https://api.example.com/openapi.json",
|
|
112
|
-
"operationId": "getUserById"
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
"descriptionPath": "https://api.example.com/openapi.json",
|
|
116
|
-
"operationId": "createUser",
|
|
117
|
-
"useExample": "both"
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
"descriptionPath": "https://api.example.com/openapi.json",
|
|
121
|
-
"operationId": "createUser",
|
|
122
|
-
"useExample": "both",
|
|
123
|
-
"exampleKey": "example1"
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
"descriptionPath": "https://api.example.com/openapi.json",
|
|
127
|
-
"operationId": "createUser",
|
|
128
|
-
"useExample": "both",
|
|
129
|
-
"exampleKey": "example1",
|
|
130
|
-
"statusCode": 201
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
"descriptionPath": "https://api.example.com/openapi.json",
|
|
134
|
-
"operationId": "createUser",
|
|
135
|
-
"useExample": "both",
|
|
136
|
-
"exampleKey": "example1",
|
|
137
|
-
"statusCode": 201,
|
|
138
|
-
"validateAgainstSchema": "none"
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
"descriptionPath": "https://api.example.com/openapi.json",
|
|
142
|
-
"operationId": "createUser",
|
|
143
|
-
"useExample": "both",
|
|
144
|
-
"exampleKey": "example1",
|
|
145
|
-
"statusCode": 201,
|
|
146
|
-
"validateAgainstSchema": "none",
|
|
147
|
-
"mockResponse": true
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
"descriptionPath": "https://api.example.com/openapi.json",
|
|
151
|
-
"operationId": "createUser",
|
|
152
|
-
"useExample": "both",
|
|
153
|
-
"exampleKey": "example1",
|
|
154
|
-
"statusCode": 201,
|
|
155
|
-
"validateAgainstSchema": "none",
|
|
156
|
-
"mockResponse": true,
|
|
157
|
-
"headers": {
|
|
158
|
-
"Authorization": "Bearer 12345"
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
]
|
|
162
|
-
}
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"title": "record",
|
|
4
|
-
"description": "Start recording the current browser viewport. Must be followed by a `stopRecord` step. Only runs in Chrome browsers when they are visible. Supported extensions: [ '.mp4', '.webm', '.gif' ]",
|
|
5
|
-
"anyOf": [
|
|
6
|
-
{
|
|
7
|
-
"title": "Record (simple)",
|
|
8
|
-
"type": "string",
|
|
9
|
-
"description": "File path of the recording. Supports the `.mp4`, `.webm`, and `.gif` extensions. If not specified, the file name is the ID of the step, and the extension is `.mp4`.",
|
|
10
|
-
"pattern": "([A-Za-z0-9_-]*\\.(mp4|webm|gif)$|\\$[A-Za-z0-9_]+)",
|
|
11
|
-
"transform": [
|
|
12
|
-
"trim"
|
|
13
|
-
]
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"type": "object",
|
|
17
|
-
"properties": {
|
|
18
|
-
"path": {
|
|
19
|
-
"type": "string",
|
|
20
|
-
"description": "File path of the recording. Supports the `.mp4`, `.webm`, and `.gif` extensions. If not specified, the file name is the ID of the step, and the extension is `.mp4`.",
|
|
21
|
-
"pattern": "([A-Za-z0-9_-]*\\.(mp4|webm|gif)$|\\$[A-Za-z0-9_]+)",
|
|
22
|
-
"transform": [
|
|
23
|
-
"trim"
|
|
24
|
-
]
|
|
25
|
-
},
|
|
26
|
-
"directory": {
|
|
27
|
-
"type": "string",
|
|
28
|
-
"description": "Directory of the file. If the directory doesn't exist, creates the directory.",
|
|
29
|
-
"transform": [
|
|
30
|
-
"trim"
|
|
31
|
-
]
|
|
32
|
-
},
|
|
33
|
-
"overwrite": {
|
|
34
|
-
"type": "string",
|
|
35
|
-
"description": "If `true`, overwrites the existing recording at `path` if it exists.",
|
|
36
|
-
"enum": [
|
|
37
|
-
"true",
|
|
38
|
-
"false"
|
|
39
|
-
]
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
"title": "Record (detailed)"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"type": "boolean",
|
|
46
|
-
"title": "Record (boolean)",
|
|
47
|
-
"description": "If `true`, records the current browser viewport. If `false`, doesn't record the current browser viewport."
|
|
48
|
-
}
|
|
49
|
-
],
|
|
50
|
-
"components": {
|
|
51
|
-
"schemas": {
|
|
52
|
-
"string": {
|
|
53
|
-
"title": "Record (simple)",
|
|
54
|
-
"type": "string",
|
|
55
|
-
"description": "File path of the recording. Supports the `.mp4`, `.webm`, and `.gif` extensions. If not specified, the file name is the ID of the step, and the extension is `.mp4`.",
|
|
56
|
-
"pattern": "([A-Za-z0-9_-]*\\.(mp4|webm|gif)$|\\$[A-Za-z0-9_]+)",
|
|
57
|
-
"transform": [
|
|
58
|
-
"trim"
|
|
59
|
-
]
|
|
60
|
-
},
|
|
61
|
-
"object": {
|
|
62
|
-
"type": "object",
|
|
63
|
-
"properties": {
|
|
64
|
-
"path": {
|
|
65
|
-
"type": "string",
|
|
66
|
-
"description": "File path of the recording. Supports the `.mp4`, `.webm`, and `.gif` extensions. If not specified, the file name is the ID of the step, and the extension is `.mp4`.",
|
|
67
|
-
"pattern": "([A-Za-z0-9_-]*\\.(mp4|webm|gif)$|\\$[A-Za-z0-9_]+)",
|
|
68
|
-
"transform": [
|
|
69
|
-
"trim"
|
|
70
|
-
]
|
|
71
|
-
},
|
|
72
|
-
"directory": {
|
|
73
|
-
"type": "string",
|
|
74
|
-
"description": "Directory of the file. If the directory doesn't exist, creates the directory.",
|
|
75
|
-
"transform": [
|
|
76
|
-
"trim"
|
|
77
|
-
]
|
|
78
|
-
},
|
|
79
|
-
"overwrite": {
|
|
80
|
-
"type": "string",
|
|
81
|
-
"description": "If `true`, overwrites the existing recording at `path` if it exists.",
|
|
82
|
-
"enum": [
|
|
83
|
-
"true",
|
|
84
|
-
"false"
|
|
85
|
-
]
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
"title": "Record (detailed)"
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
"examples": [
|
|
93
|
-
true,
|
|
94
|
-
"results.mp4",
|
|
95
|
-
{
|
|
96
|
-
"path": "results.mp4",
|
|
97
|
-
"directory": "static/media",
|
|
98
|
-
"overwrite": "true"
|
|
99
|
-
}
|
|
100
|
-
]
|
|
101
|
-
}
|