@wp-tester/config 0.0.1
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/README.md +18 -0
- package/dist/auto-mount.d.ts +11 -0
- package/dist/auto-mount.d.ts.map +1 -0
- package/dist/auto-mount.js +31 -0
- package/dist/auto-mount.js.map +1 -0
- package/dist/config.d.ts +41 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/config.js +213 -0
- package/dist/config.js.map +1 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +10 -0
- package/dist/index.js.map +1 -0
- package/dist/options/index.d.ts +38 -0
- package/dist/options/index.d.ts.map +1 -0
- package/dist/options/index.js +23 -0
- package/dist/options/index.js.map +1 -0
- package/dist/options/phpunit-detect.d.ts +43 -0
- package/dist/options/phpunit-detect.d.ts.map +1 -0
- package/dist/options/phpunit-detect.js +94 -0
- package/dist/options/phpunit-detect.js.map +1 -0
- package/dist/options/phpunit.d.ts +12 -0
- package/dist/options/phpunit.d.ts.map +1 -0
- package/dist/options/phpunit.js +307 -0
- package/dist/options/phpunit.js.map +1 -0
- package/dist/options/project-root.d.ts +4 -0
- package/dist/options/project-root.d.ts.map +1 -0
- package/dist/options/project-root.js +38 -0
- package/dist/options/project-root.js.map +1 -0
- package/dist/options/project-type-detect.d.ts +27 -0
- package/dist/options/project-type-detect.d.ts.map +1 -0
- package/dist/options/project-type-detect.js +71 -0
- package/dist/options/project-type-detect.js.map +1 -0
- package/dist/options/project-type.d.ts +7 -0
- package/dist/options/project-type.d.ts.map +1 -0
- package/dist/options/project-type.js +50 -0
- package/dist/options/project-type.js.map +1 -0
- package/dist/options/smoke-tests.d.ts +4 -0
- package/dist/options/smoke-tests.d.ts.map +1 -0
- package/dist/options/smoke-tests.js +80 -0
- package/dist/options/smoke-tests.js.map +1 -0
- package/dist/path-mappers.d.ts +26 -0
- package/dist/path-mappers.d.ts.map +1 -0
- package/dist/path-mappers.js +32 -0
- package/dist/path-mappers.js.map +1 -0
- package/dist/resolved-types.d.ts +69 -0
- package/dist/resolved-types.d.ts.map +1 -0
- package/dist/resolved-types.js +2 -0
- package/dist/resolved-types.js.map +1 -0
- package/dist/schema.json +3443 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/types.d.ts +8 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -0
- package/dist/wp-tester-config.d.ts +171 -0
- package/dist/wp-tester-config.d.ts.map +1 -0
- package/dist/wp-tester-config.js +2 -0
- package/dist/wp-tester-config.js.map +1 -0
- package/package.json +40 -0
package/dist/schema.json
ADDED
|
@@ -0,0 +1,3443 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"ActivatePluginStep": {
|
|
5
|
+
"description": "activatePlugin",
|
|
6
|
+
"properties": {
|
|
7
|
+
"pluginName": {
|
|
8
|
+
"description": "Optional. Plugin name to display in the progress bar.",
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"pluginPath": {
|
|
12
|
+
"description": "Path to the plugin directory as absolute path\n(/wordpress/wp-content/plugins/plugin-name); or the plugin entry file\nrelative to the plugins directory (plugin-name/plugin-name.php).",
|
|
13
|
+
"type": "string"
|
|
14
|
+
},
|
|
15
|
+
"step": {
|
|
16
|
+
"const": "activatePlugin",
|
|
17
|
+
"type": "string"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"required": [
|
|
21
|
+
"pluginPath",
|
|
22
|
+
"step"
|
|
23
|
+
],
|
|
24
|
+
"type": "object"
|
|
25
|
+
},
|
|
26
|
+
"ActivateThemeStep": {
|
|
27
|
+
"description": "activateTheme",
|
|
28
|
+
"properties": {
|
|
29
|
+
"step": {
|
|
30
|
+
"const": "activateTheme",
|
|
31
|
+
"type": "string"
|
|
32
|
+
},
|
|
33
|
+
"themeFolderName": {
|
|
34
|
+
"description": "The name of the theme folder inside wp-content/themes/",
|
|
35
|
+
"type": "string"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"required": [
|
|
39
|
+
"step",
|
|
40
|
+
"themeFolderName"
|
|
41
|
+
],
|
|
42
|
+
"type": "object"
|
|
43
|
+
},
|
|
44
|
+
"ArrayBuffer": {
|
|
45
|
+
"properties": {
|
|
46
|
+
"__@toStringTag@599": {
|
|
47
|
+
"type": "string"
|
|
48
|
+
},
|
|
49
|
+
"byteLength": {
|
|
50
|
+
"type": "number"
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"required": [
|
|
54
|
+
"__@toStringTag@599",
|
|
55
|
+
"byteLength"
|
|
56
|
+
],
|
|
57
|
+
"type": "object"
|
|
58
|
+
},
|
|
59
|
+
"ArrayBufferLike": {
|
|
60
|
+
"anyOf": [
|
|
61
|
+
{
|
|
62
|
+
"$ref": "#/definitions/ArrayBuffer"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"$ref": "#/definitions/SharedArrayBuffer"
|
|
66
|
+
}
|
|
67
|
+
]
|
|
68
|
+
},
|
|
69
|
+
"Blueprint": {
|
|
70
|
+
"anyOf": [
|
|
71
|
+
{
|
|
72
|
+
"description": "The Blueprint declaration, typically stored in a blueprint.json file.",
|
|
73
|
+
"properties": {
|
|
74
|
+
"constants": {
|
|
75
|
+
"$ref": "#/definitions/PHPConstants",
|
|
76
|
+
"description": "PHP Constants to define on every request"
|
|
77
|
+
},
|
|
78
|
+
"description": {
|
|
79
|
+
"description": "Optional description. It doesn't do anything but is exposed as\na courtesy to developers who may want to document which blueprint\nfile does what.",
|
|
80
|
+
"type": "string"
|
|
81
|
+
},
|
|
82
|
+
"extraLibraries": {
|
|
83
|
+
"description": "Extra libraries to preload into the Playground instance.",
|
|
84
|
+
"items": {
|
|
85
|
+
"const": "wp-cli",
|
|
86
|
+
"type": "string"
|
|
87
|
+
},
|
|
88
|
+
"type": "array"
|
|
89
|
+
},
|
|
90
|
+
"features": {
|
|
91
|
+
"properties": {
|
|
92
|
+
"intl": {
|
|
93
|
+
"type": "boolean"
|
|
94
|
+
},
|
|
95
|
+
"networking": {
|
|
96
|
+
"description": "Should boot with support for network request via wp_safe_remote_get?",
|
|
97
|
+
"type": "boolean"
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"type": "object"
|
|
101
|
+
},
|
|
102
|
+
"landingPage": {
|
|
103
|
+
"description": "The URL to navigate to after the blueprint has been run.",
|
|
104
|
+
"type": "string"
|
|
105
|
+
},
|
|
106
|
+
"login": {
|
|
107
|
+
"anyOf": [
|
|
108
|
+
{
|
|
109
|
+
"properties": {
|
|
110
|
+
"password": {
|
|
111
|
+
"type": "string"
|
|
112
|
+
},
|
|
113
|
+
"username": {
|
|
114
|
+
"type": "string"
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
"required": [
|
|
118
|
+
"password",
|
|
119
|
+
"username"
|
|
120
|
+
],
|
|
121
|
+
"type": "object"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"type": "boolean"
|
|
125
|
+
}
|
|
126
|
+
],
|
|
127
|
+
"description": "User to log in as.\nIf true, logs the user in as admin/password."
|
|
128
|
+
},
|
|
129
|
+
"meta": {
|
|
130
|
+
"description": "Optional metadata. Used by the Blueprints gallery at https://github.com/WordPress/blueprints",
|
|
131
|
+
"properties": {
|
|
132
|
+
"author": {
|
|
133
|
+
"description": "A GitHub username of the author of this Blueprint.",
|
|
134
|
+
"type": "string"
|
|
135
|
+
},
|
|
136
|
+
"categories": {
|
|
137
|
+
"description": "Relevant categories to help users find your Blueprint in the future\nBlueprints section on WordPress.org.",
|
|
138
|
+
"items": {
|
|
139
|
+
"type": "string"
|
|
140
|
+
},
|
|
141
|
+
"type": "array"
|
|
142
|
+
},
|
|
143
|
+
"description": {
|
|
144
|
+
"description": "A brief explanation of what your Blueprint offers.",
|
|
145
|
+
"type": "string"
|
|
146
|
+
},
|
|
147
|
+
"title": {
|
|
148
|
+
"description": "A clear and concise name for your Blueprint.",
|
|
149
|
+
"type": "string"
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
"required": [
|
|
153
|
+
"author",
|
|
154
|
+
"title"
|
|
155
|
+
],
|
|
156
|
+
"type": "object"
|
|
157
|
+
},
|
|
158
|
+
"phpExtensionBundles": {},
|
|
159
|
+
"plugins": {
|
|
160
|
+
"description": "WordPress plugins to install and activate",
|
|
161
|
+
"items": {
|
|
162
|
+
"anyOf": [
|
|
163
|
+
{
|
|
164
|
+
"properties": {
|
|
165
|
+
"path": {
|
|
166
|
+
"description": "The path to the file in the VFS",
|
|
167
|
+
"type": "string"
|
|
168
|
+
},
|
|
169
|
+
"resource": {
|
|
170
|
+
"const": "vfs",
|
|
171
|
+
"description": "Identifies the file resource as Virtual File System (VFS)",
|
|
172
|
+
"type": "string"
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
"required": [
|
|
176
|
+
"path",
|
|
177
|
+
"resource"
|
|
178
|
+
],
|
|
179
|
+
"type": "object"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"properties": {
|
|
183
|
+
"contents": {
|
|
184
|
+
"anyOf": [
|
|
185
|
+
{
|
|
186
|
+
"additionalProperties": false,
|
|
187
|
+
"patternProperties": {
|
|
188
|
+
"^[0-9]+$": {
|
|
189
|
+
"type": "number"
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
"properties": {
|
|
193
|
+
"BYTES_PER_ELEMENT": {
|
|
194
|
+
"type": "number"
|
|
195
|
+
},
|
|
196
|
+
"__@toStringTag@599": {
|
|
197
|
+
"const": "Uint8Array",
|
|
198
|
+
"type": "string"
|
|
199
|
+
},
|
|
200
|
+
"buffer": {
|
|
201
|
+
"$ref": "#/definitions/ArrayBufferLike"
|
|
202
|
+
},
|
|
203
|
+
"byteLength": {
|
|
204
|
+
"type": "number"
|
|
205
|
+
},
|
|
206
|
+
"byteOffset": {
|
|
207
|
+
"type": "number"
|
|
208
|
+
},
|
|
209
|
+
"length": {
|
|
210
|
+
"type": "number"
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
"required": [
|
|
214
|
+
"BYTES_PER_ELEMENT",
|
|
215
|
+
"__@toStringTag@599",
|
|
216
|
+
"buffer",
|
|
217
|
+
"byteLength",
|
|
218
|
+
"byteOffset",
|
|
219
|
+
"length"
|
|
220
|
+
],
|
|
221
|
+
"type": "object"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"type": "string"
|
|
225
|
+
}
|
|
226
|
+
],
|
|
227
|
+
"description": "The contents of the file"
|
|
228
|
+
},
|
|
229
|
+
"name": {
|
|
230
|
+
"description": "The name of the file",
|
|
231
|
+
"type": "string"
|
|
232
|
+
},
|
|
233
|
+
"resource": {
|
|
234
|
+
"const": "literal",
|
|
235
|
+
"description": "Identifies the file resource as a literal file",
|
|
236
|
+
"type": "string"
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
"required": [
|
|
240
|
+
"contents",
|
|
241
|
+
"name",
|
|
242
|
+
"resource"
|
|
243
|
+
],
|
|
244
|
+
"type": "object"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"properties": {
|
|
248
|
+
"resource": {
|
|
249
|
+
"const": "wordpress.org/themes",
|
|
250
|
+
"description": "Identifies the file resource as a WordPress Core theme",
|
|
251
|
+
"type": "string"
|
|
252
|
+
},
|
|
253
|
+
"slug": {
|
|
254
|
+
"description": "The slug of the WordPress Core theme",
|
|
255
|
+
"type": "string"
|
|
256
|
+
}
|
|
257
|
+
},
|
|
258
|
+
"required": [
|
|
259
|
+
"resource",
|
|
260
|
+
"slug"
|
|
261
|
+
],
|
|
262
|
+
"type": "object"
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"properties": {
|
|
266
|
+
"resource": {
|
|
267
|
+
"const": "wordpress.org/plugins",
|
|
268
|
+
"description": "Identifies the file resource as a WordPress Core plugin",
|
|
269
|
+
"type": "string"
|
|
270
|
+
},
|
|
271
|
+
"slug": {
|
|
272
|
+
"description": "The slug of the WordPress Core plugin",
|
|
273
|
+
"type": "string"
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
"required": [
|
|
277
|
+
"resource",
|
|
278
|
+
"slug"
|
|
279
|
+
],
|
|
280
|
+
"type": "object"
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"properties": {
|
|
284
|
+
"caption": {
|
|
285
|
+
"description": "Optional caption for displaying a progress message",
|
|
286
|
+
"type": "string"
|
|
287
|
+
},
|
|
288
|
+
"resource": {
|
|
289
|
+
"const": "url",
|
|
290
|
+
"description": "Identifies the file resource as a URL",
|
|
291
|
+
"type": "string"
|
|
292
|
+
},
|
|
293
|
+
"url": {
|
|
294
|
+
"description": "The URL of the file",
|
|
295
|
+
"type": "string"
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
"required": [
|
|
299
|
+
"resource",
|
|
300
|
+
"url"
|
|
301
|
+
],
|
|
302
|
+
"type": "object"
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
"properties": {
|
|
306
|
+
"path": {
|
|
307
|
+
"description": "The path to the file in the Blueprint",
|
|
308
|
+
"type": "string"
|
|
309
|
+
},
|
|
310
|
+
"resource": {
|
|
311
|
+
"const": "bundled",
|
|
312
|
+
"description": "Identifies the file resource as a Blueprint file",
|
|
313
|
+
"type": "string"
|
|
314
|
+
}
|
|
315
|
+
},
|
|
316
|
+
"required": [
|
|
317
|
+
"path",
|
|
318
|
+
"resource"
|
|
319
|
+
],
|
|
320
|
+
"type": "object"
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"type": "string"
|
|
324
|
+
}
|
|
325
|
+
]
|
|
326
|
+
},
|
|
327
|
+
"type": "array"
|
|
328
|
+
},
|
|
329
|
+
"preferredVersions": {
|
|
330
|
+
"description": "The preferred PHP and WordPress versions to use.",
|
|
331
|
+
"properties": {
|
|
332
|
+
"php": {
|
|
333
|
+
"description": "The preferred PHP version to use.\nIf not specified, the latest supported version will be used",
|
|
334
|
+
"enum": [
|
|
335
|
+
"7.2",
|
|
336
|
+
"7.3",
|
|
337
|
+
"7.4",
|
|
338
|
+
"8.0",
|
|
339
|
+
"8.1",
|
|
340
|
+
"8.2",
|
|
341
|
+
"8.3",
|
|
342
|
+
"8.4",
|
|
343
|
+
"latest"
|
|
344
|
+
],
|
|
345
|
+
"type": "string"
|
|
346
|
+
},
|
|
347
|
+
"wp": {
|
|
348
|
+
"description": "The preferred WordPress version to use.\nIf not specified, the latest supported version will be used",
|
|
349
|
+
"type": "string"
|
|
350
|
+
}
|
|
351
|
+
},
|
|
352
|
+
"required": [
|
|
353
|
+
"php",
|
|
354
|
+
"wp"
|
|
355
|
+
],
|
|
356
|
+
"type": "object"
|
|
357
|
+
},
|
|
358
|
+
"siteOptions": {
|
|
359
|
+
"allOf": [
|
|
360
|
+
{
|
|
361
|
+
"$ref": "#/definitions/Record%3Cstring%2Cstring%3E"
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"properties": {
|
|
365
|
+
"blogname": {
|
|
366
|
+
"description": "The site title",
|
|
367
|
+
"type": "string"
|
|
368
|
+
}
|
|
369
|
+
},
|
|
370
|
+
"type": "object"
|
|
371
|
+
}
|
|
372
|
+
],
|
|
373
|
+
"description": "WordPress site options to define"
|
|
374
|
+
},
|
|
375
|
+
"steps": {
|
|
376
|
+
"description": "The steps to run after every other operation in this Blueprint was\nexecuted.",
|
|
377
|
+
"items": {
|
|
378
|
+
"anyOf": [
|
|
379
|
+
{
|
|
380
|
+
"allOf": [
|
|
381
|
+
{
|
|
382
|
+
"$ref": "#/definitions/ActivatePluginStep"
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
"properties": {
|
|
386
|
+
"progress": {
|
|
387
|
+
"properties": {
|
|
388
|
+
"caption": {
|
|
389
|
+
"type": "string"
|
|
390
|
+
},
|
|
391
|
+
"weight": {
|
|
392
|
+
"type": "number"
|
|
393
|
+
}
|
|
394
|
+
},
|
|
395
|
+
"type": "object"
|
|
396
|
+
}
|
|
397
|
+
},
|
|
398
|
+
"type": "object"
|
|
399
|
+
}
|
|
400
|
+
]
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
"allOf": [
|
|
404
|
+
{
|
|
405
|
+
"$ref": "#/definitions/ActivateThemeStep"
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
"properties": {
|
|
409
|
+
"progress": {
|
|
410
|
+
"properties": {
|
|
411
|
+
"caption": {
|
|
412
|
+
"type": "string"
|
|
413
|
+
},
|
|
414
|
+
"weight": {
|
|
415
|
+
"type": "number"
|
|
416
|
+
}
|
|
417
|
+
},
|
|
418
|
+
"type": "object"
|
|
419
|
+
}
|
|
420
|
+
},
|
|
421
|
+
"type": "object"
|
|
422
|
+
}
|
|
423
|
+
]
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
"allOf": [
|
|
427
|
+
{
|
|
428
|
+
"$ref": "#/definitions/CpStep"
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
"properties": {
|
|
432
|
+
"progress": {
|
|
433
|
+
"properties": {
|
|
434
|
+
"caption": {
|
|
435
|
+
"type": "string"
|
|
436
|
+
},
|
|
437
|
+
"weight": {
|
|
438
|
+
"type": "number"
|
|
439
|
+
}
|
|
440
|
+
},
|
|
441
|
+
"type": "object"
|
|
442
|
+
}
|
|
443
|
+
},
|
|
444
|
+
"type": "object"
|
|
445
|
+
}
|
|
446
|
+
]
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
"allOf": [
|
|
450
|
+
{
|
|
451
|
+
"$ref": "#/definitions/DefineWpConfigConstsStep"
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
"properties": {
|
|
455
|
+
"progress": {
|
|
456
|
+
"properties": {
|
|
457
|
+
"caption": {
|
|
458
|
+
"type": "string"
|
|
459
|
+
},
|
|
460
|
+
"weight": {
|
|
461
|
+
"type": "number"
|
|
462
|
+
}
|
|
463
|
+
},
|
|
464
|
+
"type": "object"
|
|
465
|
+
}
|
|
466
|
+
},
|
|
467
|
+
"type": "object"
|
|
468
|
+
}
|
|
469
|
+
]
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
"allOf": [
|
|
473
|
+
{
|
|
474
|
+
"$ref": "#/definitions/DefineSiteUrlStep"
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
"properties": {
|
|
478
|
+
"progress": {
|
|
479
|
+
"properties": {
|
|
480
|
+
"caption": {
|
|
481
|
+
"type": "string"
|
|
482
|
+
},
|
|
483
|
+
"weight": {
|
|
484
|
+
"type": "number"
|
|
485
|
+
}
|
|
486
|
+
},
|
|
487
|
+
"type": "object"
|
|
488
|
+
}
|
|
489
|
+
},
|
|
490
|
+
"type": "object"
|
|
491
|
+
}
|
|
492
|
+
]
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
"allOf": [
|
|
496
|
+
{
|
|
497
|
+
"$ref": "#/definitions/EnableMultisiteStep"
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
"properties": {
|
|
501
|
+
"progress": {
|
|
502
|
+
"properties": {
|
|
503
|
+
"caption": {
|
|
504
|
+
"type": "string"
|
|
505
|
+
},
|
|
506
|
+
"weight": {
|
|
507
|
+
"type": "number"
|
|
508
|
+
}
|
|
509
|
+
},
|
|
510
|
+
"type": "object"
|
|
511
|
+
}
|
|
512
|
+
},
|
|
513
|
+
"type": "object"
|
|
514
|
+
}
|
|
515
|
+
]
|
|
516
|
+
},
|
|
517
|
+
{
|
|
518
|
+
"allOf": [
|
|
519
|
+
{
|
|
520
|
+
"$ref": "#/definitions/ImportThemeStarterContentStep"
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
"properties": {
|
|
524
|
+
"progress": {
|
|
525
|
+
"properties": {
|
|
526
|
+
"caption": {
|
|
527
|
+
"type": "string"
|
|
528
|
+
},
|
|
529
|
+
"weight": {
|
|
530
|
+
"type": "number"
|
|
531
|
+
}
|
|
532
|
+
},
|
|
533
|
+
"type": "object"
|
|
534
|
+
}
|
|
535
|
+
},
|
|
536
|
+
"type": "object"
|
|
537
|
+
}
|
|
538
|
+
]
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
"allOf": [
|
|
542
|
+
{
|
|
543
|
+
"description": "login",
|
|
544
|
+
"properties": {
|
|
545
|
+
"password": {
|
|
546
|
+
"type": "string"
|
|
547
|
+
},
|
|
548
|
+
"step": {
|
|
549
|
+
"const": "login",
|
|
550
|
+
"type": "string"
|
|
551
|
+
},
|
|
552
|
+
"username": {
|
|
553
|
+
"description": "The user to log in as. Defaults to 'admin'.",
|
|
554
|
+
"type": "string"
|
|
555
|
+
}
|
|
556
|
+
},
|
|
557
|
+
"required": [
|
|
558
|
+
"step"
|
|
559
|
+
],
|
|
560
|
+
"type": "object"
|
|
561
|
+
},
|
|
562
|
+
{
|
|
563
|
+
"properties": {
|
|
564
|
+
"progress": {
|
|
565
|
+
"properties": {
|
|
566
|
+
"caption": {
|
|
567
|
+
"type": "string"
|
|
568
|
+
},
|
|
569
|
+
"weight": {
|
|
570
|
+
"type": "number"
|
|
571
|
+
}
|
|
572
|
+
},
|
|
573
|
+
"type": "object"
|
|
574
|
+
}
|
|
575
|
+
},
|
|
576
|
+
"type": "object"
|
|
577
|
+
}
|
|
578
|
+
]
|
|
579
|
+
},
|
|
580
|
+
{
|
|
581
|
+
"allOf": [
|
|
582
|
+
{
|
|
583
|
+
"$ref": "#/definitions/MkdirStep"
|
|
584
|
+
},
|
|
585
|
+
{
|
|
586
|
+
"properties": {
|
|
587
|
+
"progress": {
|
|
588
|
+
"properties": {
|
|
589
|
+
"caption": {
|
|
590
|
+
"type": "string"
|
|
591
|
+
},
|
|
592
|
+
"weight": {
|
|
593
|
+
"type": "number"
|
|
594
|
+
}
|
|
595
|
+
},
|
|
596
|
+
"type": "object"
|
|
597
|
+
}
|
|
598
|
+
},
|
|
599
|
+
"type": "object"
|
|
600
|
+
}
|
|
601
|
+
]
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
"allOf": [
|
|
605
|
+
{
|
|
606
|
+
"$ref": "#/definitions/MvStep"
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
"properties": {
|
|
610
|
+
"progress": {
|
|
611
|
+
"properties": {
|
|
612
|
+
"caption": {
|
|
613
|
+
"type": "string"
|
|
614
|
+
},
|
|
615
|
+
"weight": {
|
|
616
|
+
"type": "number"
|
|
617
|
+
}
|
|
618
|
+
},
|
|
619
|
+
"type": "object"
|
|
620
|
+
}
|
|
621
|
+
},
|
|
622
|
+
"type": "object"
|
|
623
|
+
}
|
|
624
|
+
]
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
"allOf": [
|
|
628
|
+
{
|
|
629
|
+
"$ref": "#/definitions/ResetDataStep"
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
"properties": {
|
|
633
|
+
"progress": {
|
|
634
|
+
"properties": {
|
|
635
|
+
"caption": {
|
|
636
|
+
"type": "string"
|
|
637
|
+
},
|
|
638
|
+
"weight": {
|
|
639
|
+
"type": "number"
|
|
640
|
+
}
|
|
641
|
+
},
|
|
642
|
+
"type": "object"
|
|
643
|
+
}
|
|
644
|
+
},
|
|
645
|
+
"type": "object"
|
|
646
|
+
}
|
|
647
|
+
]
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
"allOf": [
|
|
651
|
+
{
|
|
652
|
+
"$ref": "#/definitions/RequestStep"
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
"properties": {
|
|
656
|
+
"progress": {
|
|
657
|
+
"properties": {
|
|
658
|
+
"caption": {
|
|
659
|
+
"type": "string"
|
|
660
|
+
},
|
|
661
|
+
"weight": {
|
|
662
|
+
"type": "number"
|
|
663
|
+
}
|
|
664
|
+
},
|
|
665
|
+
"type": "object"
|
|
666
|
+
}
|
|
667
|
+
},
|
|
668
|
+
"type": "object"
|
|
669
|
+
}
|
|
670
|
+
]
|
|
671
|
+
},
|
|
672
|
+
{
|
|
673
|
+
"allOf": [
|
|
674
|
+
{
|
|
675
|
+
"$ref": "#/definitions/RmStep"
|
|
676
|
+
},
|
|
677
|
+
{
|
|
678
|
+
"properties": {
|
|
679
|
+
"progress": {
|
|
680
|
+
"properties": {
|
|
681
|
+
"caption": {
|
|
682
|
+
"type": "string"
|
|
683
|
+
},
|
|
684
|
+
"weight": {
|
|
685
|
+
"type": "number"
|
|
686
|
+
}
|
|
687
|
+
},
|
|
688
|
+
"type": "object"
|
|
689
|
+
}
|
|
690
|
+
},
|
|
691
|
+
"type": "object"
|
|
692
|
+
}
|
|
693
|
+
]
|
|
694
|
+
},
|
|
695
|
+
{
|
|
696
|
+
"allOf": [
|
|
697
|
+
{
|
|
698
|
+
"$ref": "#/definitions/RmdirStep"
|
|
699
|
+
},
|
|
700
|
+
{
|
|
701
|
+
"properties": {
|
|
702
|
+
"progress": {
|
|
703
|
+
"properties": {
|
|
704
|
+
"caption": {
|
|
705
|
+
"type": "string"
|
|
706
|
+
},
|
|
707
|
+
"weight": {
|
|
708
|
+
"type": "number"
|
|
709
|
+
}
|
|
710
|
+
},
|
|
711
|
+
"type": "object"
|
|
712
|
+
}
|
|
713
|
+
},
|
|
714
|
+
"type": "object"
|
|
715
|
+
}
|
|
716
|
+
]
|
|
717
|
+
},
|
|
718
|
+
{
|
|
719
|
+
"allOf": [
|
|
720
|
+
{
|
|
721
|
+
"$ref": "#/definitions/RunPHPStep"
|
|
722
|
+
},
|
|
723
|
+
{
|
|
724
|
+
"properties": {
|
|
725
|
+
"progress": {
|
|
726
|
+
"properties": {
|
|
727
|
+
"caption": {
|
|
728
|
+
"type": "string"
|
|
729
|
+
},
|
|
730
|
+
"weight": {
|
|
731
|
+
"type": "number"
|
|
732
|
+
}
|
|
733
|
+
},
|
|
734
|
+
"type": "object"
|
|
735
|
+
}
|
|
736
|
+
},
|
|
737
|
+
"type": "object"
|
|
738
|
+
}
|
|
739
|
+
]
|
|
740
|
+
},
|
|
741
|
+
{
|
|
742
|
+
"allOf": [
|
|
743
|
+
{
|
|
744
|
+
"$ref": "#/definitions/RunPHPWithOptionsStep"
|
|
745
|
+
},
|
|
746
|
+
{
|
|
747
|
+
"properties": {
|
|
748
|
+
"progress": {
|
|
749
|
+
"properties": {
|
|
750
|
+
"caption": {
|
|
751
|
+
"type": "string"
|
|
752
|
+
},
|
|
753
|
+
"weight": {
|
|
754
|
+
"type": "number"
|
|
755
|
+
}
|
|
756
|
+
},
|
|
757
|
+
"type": "object"
|
|
758
|
+
}
|
|
759
|
+
},
|
|
760
|
+
"type": "object"
|
|
761
|
+
}
|
|
762
|
+
]
|
|
763
|
+
},
|
|
764
|
+
{
|
|
765
|
+
"allOf": [
|
|
766
|
+
{
|
|
767
|
+
"$ref": "#/definitions/RunWpInstallationWizardStep"
|
|
768
|
+
},
|
|
769
|
+
{
|
|
770
|
+
"properties": {
|
|
771
|
+
"progress": {
|
|
772
|
+
"properties": {
|
|
773
|
+
"caption": {
|
|
774
|
+
"type": "string"
|
|
775
|
+
},
|
|
776
|
+
"weight": {
|
|
777
|
+
"type": "number"
|
|
778
|
+
}
|
|
779
|
+
},
|
|
780
|
+
"type": "object"
|
|
781
|
+
}
|
|
782
|
+
},
|
|
783
|
+
"type": "object"
|
|
784
|
+
}
|
|
785
|
+
]
|
|
786
|
+
},
|
|
787
|
+
{
|
|
788
|
+
"allOf": [
|
|
789
|
+
{
|
|
790
|
+
"description": "setSiteOptions",
|
|
791
|
+
"properties": {
|
|
792
|
+
"options": {
|
|
793
|
+
"$ref": "#/definitions/Record%3Cstring%2Cunknown%3E",
|
|
794
|
+
"description": "The options to set on the site."
|
|
795
|
+
},
|
|
796
|
+
"step": {
|
|
797
|
+
"const": "setSiteOptions",
|
|
798
|
+
"description": "The name of the step. Must be \"setSiteOptions\".",
|
|
799
|
+
"type": "string"
|
|
800
|
+
}
|
|
801
|
+
},
|
|
802
|
+
"required": [
|
|
803
|
+
"options",
|
|
804
|
+
"step"
|
|
805
|
+
],
|
|
806
|
+
"type": "object"
|
|
807
|
+
},
|
|
808
|
+
{
|
|
809
|
+
"properties": {
|
|
810
|
+
"progress": {
|
|
811
|
+
"properties": {
|
|
812
|
+
"caption": {
|
|
813
|
+
"type": "string"
|
|
814
|
+
},
|
|
815
|
+
"weight": {
|
|
816
|
+
"type": "number"
|
|
817
|
+
}
|
|
818
|
+
},
|
|
819
|
+
"type": "object"
|
|
820
|
+
}
|
|
821
|
+
},
|
|
822
|
+
"type": "object"
|
|
823
|
+
}
|
|
824
|
+
]
|
|
825
|
+
},
|
|
826
|
+
{
|
|
827
|
+
"allOf": [
|
|
828
|
+
{
|
|
829
|
+
"$ref": "#/definitions/UpdateUserMetaStep"
|
|
830
|
+
},
|
|
831
|
+
{
|
|
832
|
+
"properties": {
|
|
833
|
+
"progress": {
|
|
834
|
+
"properties": {
|
|
835
|
+
"caption": {
|
|
836
|
+
"type": "string"
|
|
837
|
+
},
|
|
838
|
+
"weight": {
|
|
839
|
+
"type": "number"
|
|
840
|
+
}
|
|
841
|
+
},
|
|
842
|
+
"type": "object"
|
|
843
|
+
}
|
|
844
|
+
},
|
|
845
|
+
"type": "object"
|
|
846
|
+
}
|
|
847
|
+
]
|
|
848
|
+
},
|
|
849
|
+
{
|
|
850
|
+
"allOf": [
|
|
851
|
+
{
|
|
852
|
+
"$ref": "#/definitions/WPCLIStep"
|
|
853
|
+
},
|
|
854
|
+
{
|
|
855
|
+
"properties": {
|
|
856
|
+
"progress": {
|
|
857
|
+
"properties": {
|
|
858
|
+
"caption": {
|
|
859
|
+
"type": "string"
|
|
860
|
+
},
|
|
861
|
+
"weight": {
|
|
862
|
+
"type": "number"
|
|
863
|
+
}
|
|
864
|
+
},
|
|
865
|
+
"type": "object"
|
|
866
|
+
}
|
|
867
|
+
},
|
|
868
|
+
"type": "object"
|
|
869
|
+
}
|
|
870
|
+
]
|
|
871
|
+
},
|
|
872
|
+
{
|
|
873
|
+
"allOf": [
|
|
874
|
+
{
|
|
875
|
+
"$ref": "#/definitions/SetSiteLanguageStep"
|
|
876
|
+
},
|
|
877
|
+
{
|
|
878
|
+
"properties": {
|
|
879
|
+
"progress": {
|
|
880
|
+
"properties": {
|
|
881
|
+
"caption": {
|
|
882
|
+
"type": "string"
|
|
883
|
+
},
|
|
884
|
+
"weight": {
|
|
885
|
+
"type": "number"
|
|
886
|
+
}
|
|
887
|
+
},
|
|
888
|
+
"type": "object"
|
|
889
|
+
}
|
|
890
|
+
},
|
|
891
|
+
"type": "object"
|
|
892
|
+
}
|
|
893
|
+
]
|
|
894
|
+
},
|
|
895
|
+
{
|
|
896
|
+
"allOf": [
|
|
897
|
+
{
|
|
898
|
+
"$ref": "#/definitions/ImportWxrStep%3CFileReference%3E"
|
|
899
|
+
},
|
|
900
|
+
{
|
|
901
|
+
"properties": {
|
|
902
|
+
"progress": {
|
|
903
|
+
"properties": {
|
|
904
|
+
"caption": {
|
|
905
|
+
"type": "string"
|
|
906
|
+
},
|
|
907
|
+
"weight": {
|
|
908
|
+
"type": "number"
|
|
909
|
+
}
|
|
910
|
+
},
|
|
911
|
+
"type": "object"
|
|
912
|
+
}
|
|
913
|
+
},
|
|
914
|
+
"type": "object"
|
|
915
|
+
}
|
|
916
|
+
]
|
|
917
|
+
},
|
|
918
|
+
{
|
|
919
|
+
"allOf": [
|
|
920
|
+
{
|
|
921
|
+
"$ref": "#/definitions/ImportWordPressFilesStep%3CFileReference%3E"
|
|
922
|
+
},
|
|
923
|
+
{
|
|
924
|
+
"properties": {
|
|
925
|
+
"progress": {
|
|
926
|
+
"properties": {
|
|
927
|
+
"caption": {
|
|
928
|
+
"type": "string"
|
|
929
|
+
},
|
|
930
|
+
"weight": {
|
|
931
|
+
"type": "number"
|
|
932
|
+
}
|
|
933
|
+
},
|
|
934
|
+
"type": "object"
|
|
935
|
+
}
|
|
936
|
+
},
|
|
937
|
+
"type": "object"
|
|
938
|
+
}
|
|
939
|
+
]
|
|
940
|
+
},
|
|
941
|
+
{
|
|
942
|
+
"allOf": [
|
|
943
|
+
{
|
|
944
|
+
"$ref": "#/definitions/InstallPluginStep%3CFileReference%2CDirectoryReference%3E"
|
|
945
|
+
},
|
|
946
|
+
{
|
|
947
|
+
"properties": {
|
|
948
|
+
"progress": {
|
|
949
|
+
"properties": {
|
|
950
|
+
"caption": {
|
|
951
|
+
"type": "string"
|
|
952
|
+
},
|
|
953
|
+
"weight": {
|
|
954
|
+
"type": "number"
|
|
955
|
+
}
|
|
956
|
+
},
|
|
957
|
+
"type": "object"
|
|
958
|
+
}
|
|
959
|
+
},
|
|
960
|
+
"type": "object"
|
|
961
|
+
}
|
|
962
|
+
]
|
|
963
|
+
},
|
|
964
|
+
{
|
|
965
|
+
"allOf": [
|
|
966
|
+
{
|
|
967
|
+
"$ref": "#/definitions/InstallThemeStep%3CFileReference%2CDirectoryReference%3E"
|
|
968
|
+
},
|
|
969
|
+
{
|
|
970
|
+
"properties": {
|
|
971
|
+
"progress": {
|
|
972
|
+
"properties": {
|
|
973
|
+
"caption": {
|
|
974
|
+
"type": "string"
|
|
975
|
+
},
|
|
976
|
+
"weight": {
|
|
977
|
+
"type": "number"
|
|
978
|
+
}
|
|
979
|
+
},
|
|
980
|
+
"type": "object"
|
|
981
|
+
}
|
|
982
|
+
},
|
|
983
|
+
"type": "object"
|
|
984
|
+
}
|
|
985
|
+
]
|
|
986
|
+
},
|
|
987
|
+
{
|
|
988
|
+
"allOf": [
|
|
989
|
+
{
|
|
990
|
+
"$ref": "#/definitions/RunSqlStep%3CFileReference%3E"
|
|
991
|
+
},
|
|
992
|
+
{
|
|
993
|
+
"properties": {
|
|
994
|
+
"progress": {
|
|
995
|
+
"properties": {
|
|
996
|
+
"caption": {
|
|
997
|
+
"type": "string"
|
|
998
|
+
},
|
|
999
|
+
"weight": {
|
|
1000
|
+
"type": "number"
|
|
1001
|
+
}
|
|
1002
|
+
},
|
|
1003
|
+
"type": "object"
|
|
1004
|
+
}
|
|
1005
|
+
},
|
|
1006
|
+
"type": "object"
|
|
1007
|
+
}
|
|
1008
|
+
]
|
|
1009
|
+
},
|
|
1010
|
+
{
|
|
1011
|
+
"allOf": [
|
|
1012
|
+
{
|
|
1013
|
+
"$ref": "#/definitions/UnzipStep%3CFileReference%3E"
|
|
1014
|
+
},
|
|
1015
|
+
{
|
|
1016
|
+
"properties": {
|
|
1017
|
+
"progress": {
|
|
1018
|
+
"properties": {
|
|
1019
|
+
"caption": {
|
|
1020
|
+
"type": "string"
|
|
1021
|
+
},
|
|
1022
|
+
"weight": {
|
|
1023
|
+
"type": "number"
|
|
1024
|
+
}
|
|
1025
|
+
},
|
|
1026
|
+
"type": "object"
|
|
1027
|
+
}
|
|
1028
|
+
},
|
|
1029
|
+
"type": "object"
|
|
1030
|
+
}
|
|
1031
|
+
]
|
|
1032
|
+
},
|
|
1033
|
+
{
|
|
1034
|
+
"allOf": [
|
|
1035
|
+
{
|
|
1036
|
+
"$ref": "#/definitions/WriteFileStep%3CFileReference%3E"
|
|
1037
|
+
},
|
|
1038
|
+
{
|
|
1039
|
+
"properties": {
|
|
1040
|
+
"progress": {
|
|
1041
|
+
"properties": {
|
|
1042
|
+
"caption": {
|
|
1043
|
+
"type": "string"
|
|
1044
|
+
},
|
|
1045
|
+
"weight": {
|
|
1046
|
+
"type": "number"
|
|
1047
|
+
}
|
|
1048
|
+
},
|
|
1049
|
+
"type": "object"
|
|
1050
|
+
}
|
|
1051
|
+
},
|
|
1052
|
+
"type": "object"
|
|
1053
|
+
}
|
|
1054
|
+
]
|
|
1055
|
+
},
|
|
1056
|
+
{
|
|
1057
|
+
"allOf": [
|
|
1058
|
+
{
|
|
1059
|
+
"$ref": "#/definitions/WriteFilesStep%3CDirectoryReference%3E"
|
|
1060
|
+
},
|
|
1061
|
+
{
|
|
1062
|
+
"properties": {
|
|
1063
|
+
"progress": {
|
|
1064
|
+
"properties": {
|
|
1065
|
+
"caption": {
|
|
1066
|
+
"type": "string"
|
|
1067
|
+
},
|
|
1068
|
+
"weight": {
|
|
1069
|
+
"type": "number"
|
|
1070
|
+
}
|
|
1071
|
+
},
|
|
1072
|
+
"type": "object"
|
|
1073
|
+
}
|
|
1074
|
+
},
|
|
1075
|
+
"type": "object"
|
|
1076
|
+
}
|
|
1077
|
+
]
|
|
1078
|
+
},
|
|
1079
|
+
{
|
|
1080
|
+
"const": false,
|
|
1081
|
+
"type": "boolean"
|
|
1082
|
+
},
|
|
1083
|
+
{
|
|
1084
|
+
"type": [
|
|
1085
|
+
"null",
|
|
1086
|
+
"string"
|
|
1087
|
+
]
|
|
1088
|
+
}
|
|
1089
|
+
]
|
|
1090
|
+
},
|
|
1091
|
+
"type": "array"
|
|
1092
|
+
}
|
|
1093
|
+
},
|
|
1094
|
+
"type": "object"
|
|
1095
|
+
},
|
|
1096
|
+
{
|
|
1097
|
+
"type": "string"
|
|
1098
|
+
}
|
|
1099
|
+
],
|
|
1100
|
+
"description": "WordPress Playground Blueprint configuration.\nCan be either an inline blueprint object or a file path to a blueprint JSON file."
|
|
1101
|
+
},
|
|
1102
|
+
"CpStep": {
|
|
1103
|
+
"description": "cp",
|
|
1104
|
+
"properties": {
|
|
1105
|
+
"fromPath": {
|
|
1106
|
+
"description": "Source path",
|
|
1107
|
+
"type": "string"
|
|
1108
|
+
},
|
|
1109
|
+
"step": {
|
|
1110
|
+
"const": "cp",
|
|
1111
|
+
"type": "string"
|
|
1112
|
+
},
|
|
1113
|
+
"toPath": {
|
|
1114
|
+
"description": "Target path",
|
|
1115
|
+
"type": "string"
|
|
1116
|
+
}
|
|
1117
|
+
},
|
|
1118
|
+
"required": [
|
|
1119
|
+
"fromPath",
|
|
1120
|
+
"step",
|
|
1121
|
+
"toPath"
|
|
1122
|
+
],
|
|
1123
|
+
"type": "object"
|
|
1124
|
+
},
|
|
1125
|
+
"DefineSiteUrlStep": {
|
|
1126
|
+
"description": "Changes the site URL of the WordPress installation.defineSiteUrl",
|
|
1127
|
+
"properties": {
|
|
1128
|
+
"siteUrl": {
|
|
1129
|
+
"description": "The URL",
|
|
1130
|
+
"type": "string"
|
|
1131
|
+
},
|
|
1132
|
+
"step": {
|
|
1133
|
+
"const": "defineSiteUrl",
|
|
1134
|
+
"type": "string"
|
|
1135
|
+
}
|
|
1136
|
+
},
|
|
1137
|
+
"required": [
|
|
1138
|
+
"siteUrl",
|
|
1139
|
+
"step"
|
|
1140
|
+
],
|
|
1141
|
+
"type": "object"
|
|
1142
|
+
},
|
|
1143
|
+
"DefineWpConfigConstsStep": {
|
|
1144
|
+
"description": "defineWpConfigConsts",
|
|
1145
|
+
"properties": {
|
|
1146
|
+
"consts": {
|
|
1147
|
+
"$ref": "#/definitions/Record%3Cstring%2Cunknown%3E",
|
|
1148
|
+
"description": "The constants to define"
|
|
1149
|
+
},
|
|
1150
|
+
"method": {
|
|
1151
|
+
"description": "The method of defining the constants in wp-config.php. Possible values are:\n\n- rewrite-wp-config: Default. Rewrites the wp-config.php file to\n explicitly call define() with the requested\n name and value. This method alters the file\n on the disk, but it doesn't conflict with\n existing define() calls in wp-config.php.\n\n- define-before-run: Defines the constant before running the requested\n script. It doesn't alter any files on the disk, but\n constants defined this way may conflict with existing\n define() calls in wp-config.php.",
|
|
1152
|
+
"enum": [
|
|
1153
|
+
"define-before-run",
|
|
1154
|
+
"rewrite-wp-config"
|
|
1155
|
+
],
|
|
1156
|
+
"type": "string"
|
|
1157
|
+
},
|
|
1158
|
+
"step": {
|
|
1159
|
+
"const": "defineWpConfigConsts",
|
|
1160
|
+
"type": "string"
|
|
1161
|
+
},
|
|
1162
|
+
"virtualize": {
|
|
1163
|
+
"type": "boolean"
|
|
1164
|
+
}
|
|
1165
|
+
},
|
|
1166
|
+
"required": [
|
|
1167
|
+
"consts",
|
|
1168
|
+
"step"
|
|
1169
|
+
],
|
|
1170
|
+
"type": "object"
|
|
1171
|
+
},
|
|
1172
|
+
"Directory": {
|
|
1173
|
+
"properties": {
|
|
1174
|
+
"files": {
|
|
1175
|
+
"$ref": "#/definitions/FileTree"
|
|
1176
|
+
},
|
|
1177
|
+
"name": {
|
|
1178
|
+
"type": "string"
|
|
1179
|
+
}
|
|
1180
|
+
},
|
|
1181
|
+
"required": [
|
|
1182
|
+
"files",
|
|
1183
|
+
"name"
|
|
1184
|
+
],
|
|
1185
|
+
"type": "object"
|
|
1186
|
+
},
|
|
1187
|
+
"DirectoryLiteralReference": {
|
|
1188
|
+
"allOf": [
|
|
1189
|
+
{
|
|
1190
|
+
"$ref": "#/definitions/Directory"
|
|
1191
|
+
},
|
|
1192
|
+
{
|
|
1193
|
+
"properties": {
|
|
1194
|
+
"resource": {
|
|
1195
|
+
"const": "literal:directory",
|
|
1196
|
+
"description": "Identifies the file resource as a git directory",
|
|
1197
|
+
"type": "string"
|
|
1198
|
+
}
|
|
1199
|
+
},
|
|
1200
|
+
"required": [
|
|
1201
|
+
"resource"
|
|
1202
|
+
],
|
|
1203
|
+
"type": "object"
|
|
1204
|
+
}
|
|
1205
|
+
]
|
|
1206
|
+
},
|
|
1207
|
+
"DirectoryReference": {
|
|
1208
|
+
"anyOf": [
|
|
1209
|
+
{
|
|
1210
|
+
"properties": {
|
|
1211
|
+
".git": {
|
|
1212
|
+
"description": "When true, include a `.git` directory with Git metadata (experimental).",
|
|
1213
|
+
"type": "boolean"
|
|
1214
|
+
},
|
|
1215
|
+
"path": {
|
|
1216
|
+
"description": "The path to the directory in the git repository. Defaults to the repo root.",
|
|
1217
|
+
"type": "string"
|
|
1218
|
+
},
|
|
1219
|
+
"ref": {
|
|
1220
|
+
"description": "The ref (branch, tag, or commit) of the git repository",
|
|
1221
|
+
"type": "string"
|
|
1222
|
+
},
|
|
1223
|
+
"refType": {
|
|
1224
|
+
"description": "Explicit hint about the ref type (branch, tag, commit, refname)",
|
|
1225
|
+
"enum": [
|
|
1226
|
+
"branch",
|
|
1227
|
+
"commit",
|
|
1228
|
+
"refname",
|
|
1229
|
+
"tag"
|
|
1230
|
+
],
|
|
1231
|
+
"type": "string"
|
|
1232
|
+
},
|
|
1233
|
+
"resource": {
|
|
1234
|
+
"const": "git:directory",
|
|
1235
|
+
"description": "Identifies the file resource as a git directory",
|
|
1236
|
+
"type": "string"
|
|
1237
|
+
},
|
|
1238
|
+
"url": {
|
|
1239
|
+
"description": "The URL of the git repository",
|
|
1240
|
+
"type": "string"
|
|
1241
|
+
}
|
|
1242
|
+
},
|
|
1243
|
+
"required": [
|
|
1244
|
+
"ref",
|
|
1245
|
+
"resource",
|
|
1246
|
+
"url"
|
|
1247
|
+
],
|
|
1248
|
+
"type": "object"
|
|
1249
|
+
},
|
|
1250
|
+
{
|
|
1251
|
+
"$ref": "#/definitions/DirectoryLiteralReference"
|
|
1252
|
+
}
|
|
1253
|
+
]
|
|
1254
|
+
},
|
|
1255
|
+
"EnableMultisiteStep": {
|
|
1256
|
+
"description": "enableMultisite",
|
|
1257
|
+
"properties": {
|
|
1258
|
+
"step": {
|
|
1259
|
+
"const": "enableMultisite",
|
|
1260
|
+
"type": "string"
|
|
1261
|
+
},
|
|
1262
|
+
"wpCliPath": {
|
|
1263
|
+
"description": "wp-cli.phar path",
|
|
1264
|
+
"type": "string"
|
|
1265
|
+
}
|
|
1266
|
+
},
|
|
1267
|
+
"required": [
|
|
1268
|
+
"step"
|
|
1269
|
+
],
|
|
1270
|
+
"type": "object"
|
|
1271
|
+
},
|
|
1272
|
+
"Environment": {
|
|
1273
|
+
"description": "Test environment configuration.\nDefines a WordPress environment with specific versions and setup.",
|
|
1274
|
+
"properties": {
|
|
1275
|
+
"blueprint": {
|
|
1276
|
+
"$ref": "#/definitions/Blueprint",
|
|
1277
|
+
"description": "WordPress Playground Blueprint configuration.\nCan be an inline blueprint object or a file path to a blueprint JSON file."
|
|
1278
|
+
},
|
|
1279
|
+
"mounts": {
|
|
1280
|
+
"default": [],
|
|
1281
|
+
"description": "Filesystem mounts to apply to this environment",
|
|
1282
|
+
"items": {
|
|
1283
|
+
"$ref": "#/definitions/Mount"
|
|
1284
|
+
},
|
|
1285
|
+
"type": "array"
|
|
1286
|
+
},
|
|
1287
|
+
"name": {
|
|
1288
|
+
"description": "Optional descriptive name for this environment",
|
|
1289
|
+
"type": "string"
|
|
1290
|
+
}
|
|
1291
|
+
},
|
|
1292
|
+
"required": [
|
|
1293
|
+
"blueprint"
|
|
1294
|
+
],
|
|
1295
|
+
"type": "object"
|
|
1296
|
+
},
|
|
1297
|
+
"FileReference": {
|
|
1298
|
+
"anyOf": [
|
|
1299
|
+
{
|
|
1300
|
+
"properties": {
|
|
1301
|
+
"path": {
|
|
1302
|
+
"description": "The path to the file in the VFS",
|
|
1303
|
+
"type": "string"
|
|
1304
|
+
},
|
|
1305
|
+
"resource": {
|
|
1306
|
+
"const": "vfs",
|
|
1307
|
+
"description": "Identifies the file resource as Virtual File System (VFS)",
|
|
1308
|
+
"type": "string"
|
|
1309
|
+
}
|
|
1310
|
+
},
|
|
1311
|
+
"required": [
|
|
1312
|
+
"path",
|
|
1313
|
+
"resource"
|
|
1314
|
+
],
|
|
1315
|
+
"type": "object"
|
|
1316
|
+
},
|
|
1317
|
+
{
|
|
1318
|
+
"properties": {
|
|
1319
|
+
"contents": {
|
|
1320
|
+
"anyOf": [
|
|
1321
|
+
{
|
|
1322
|
+
"additionalProperties": false,
|
|
1323
|
+
"patternProperties": {
|
|
1324
|
+
"^[0-9]+$": {
|
|
1325
|
+
"type": "number"
|
|
1326
|
+
}
|
|
1327
|
+
},
|
|
1328
|
+
"properties": {
|
|
1329
|
+
"BYTES_PER_ELEMENT": {
|
|
1330
|
+
"type": "number"
|
|
1331
|
+
},
|
|
1332
|
+
"__@toStringTag@599": {
|
|
1333
|
+
"const": "Uint8Array",
|
|
1334
|
+
"type": "string"
|
|
1335
|
+
},
|
|
1336
|
+
"buffer": {
|
|
1337
|
+
"$ref": "#/definitions/ArrayBufferLike"
|
|
1338
|
+
},
|
|
1339
|
+
"byteLength": {
|
|
1340
|
+
"type": "number"
|
|
1341
|
+
},
|
|
1342
|
+
"byteOffset": {
|
|
1343
|
+
"type": "number"
|
|
1344
|
+
},
|
|
1345
|
+
"length": {
|
|
1346
|
+
"type": "number"
|
|
1347
|
+
}
|
|
1348
|
+
},
|
|
1349
|
+
"required": [
|
|
1350
|
+
"BYTES_PER_ELEMENT",
|
|
1351
|
+
"__@toStringTag@599",
|
|
1352
|
+
"buffer",
|
|
1353
|
+
"byteLength",
|
|
1354
|
+
"byteOffset",
|
|
1355
|
+
"length"
|
|
1356
|
+
],
|
|
1357
|
+
"type": "object"
|
|
1358
|
+
},
|
|
1359
|
+
{
|
|
1360
|
+
"type": "string"
|
|
1361
|
+
}
|
|
1362
|
+
],
|
|
1363
|
+
"description": "The contents of the file"
|
|
1364
|
+
},
|
|
1365
|
+
"name": {
|
|
1366
|
+
"description": "The name of the file",
|
|
1367
|
+
"type": "string"
|
|
1368
|
+
},
|
|
1369
|
+
"resource": {
|
|
1370
|
+
"const": "literal",
|
|
1371
|
+
"description": "Identifies the file resource as a literal file",
|
|
1372
|
+
"type": "string"
|
|
1373
|
+
}
|
|
1374
|
+
},
|
|
1375
|
+
"required": [
|
|
1376
|
+
"contents",
|
|
1377
|
+
"name",
|
|
1378
|
+
"resource"
|
|
1379
|
+
],
|
|
1380
|
+
"type": "object"
|
|
1381
|
+
},
|
|
1382
|
+
{
|
|
1383
|
+
"properties": {
|
|
1384
|
+
"resource": {
|
|
1385
|
+
"const": "wordpress.org/themes",
|
|
1386
|
+
"description": "Identifies the file resource as a WordPress Core theme",
|
|
1387
|
+
"type": "string"
|
|
1388
|
+
},
|
|
1389
|
+
"slug": {
|
|
1390
|
+
"description": "The slug of the WordPress Core theme",
|
|
1391
|
+
"type": "string"
|
|
1392
|
+
}
|
|
1393
|
+
},
|
|
1394
|
+
"required": [
|
|
1395
|
+
"resource",
|
|
1396
|
+
"slug"
|
|
1397
|
+
],
|
|
1398
|
+
"type": "object"
|
|
1399
|
+
},
|
|
1400
|
+
{
|
|
1401
|
+
"properties": {
|
|
1402
|
+
"resource": {
|
|
1403
|
+
"const": "wordpress.org/plugins",
|
|
1404
|
+
"description": "Identifies the file resource as a WordPress Core plugin",
|
|
1405
|
+
"type": "string"
|
|
1406
|
+
},
|
|
1407
|
+
"slug": {
|
|
1408
|
+
"description": "The slug of the WordPress Core plugin",
|
|
1409
|
+
"type": "string"
|
|
1410
|
+
}
|
|
1411
|
+
},
|
|
1412
|
+
"required": [
|
|
1413
|
+
"resource",
|
|
1414
|
+
"slug"
|
|
1415
|
+
],
|
|
1416
|
+
"type": "object"
|
|
1417
|
+
},
|
|
1418
|
+
{
|
|
1419
|
+
"properties": {
|
|
1420
|
+
"caption": {
|
|
1421
|
+
"description": "Optional caption for displaying a progress message",
|
|
1422
|
+
"type": "string"
|
|
1423
|
+
},
|
|
1424
|
+
"resource": {
|
|
1425
|
+
"const": "url",
|
|
1426
|
+
"description": "Identifies the file resource as a URL",
|
|
1427
|
+
"type": "string"
|
|
1428
|
+
},
|
|
1429
|
+
"url": {
|
|
1430
|
+
"description": "The URL of the file",
|
|
1431
|
+
"type": "string"
|
|
1432
|
+
}
|
|
1433
|
+
},
|
|
1434
|
+
"required": [
|
|
1435
|
+
"resource",
|
|
1436
|
+
"url"
|
|
1437
|
+
],
|
|
1438
|
+
"type": "object"
|
|
1439
|
+
},
|
|
1440
|
+
{
|
|
1441
|
+
"properties": {
|
|
1442
|
+
"path": {
|
|
1443
|
+
"description": "The path to the file in the Blueprint",
|
|
1444
|
+
"type": "string"
|
|
1445
|
+
},
|
|
1446
|
+
"resource": {
|
|
1447
|
+
"const": "bundled",
|
|
1448
|
+
"description": "Identifies the file resource as a Blueprint file",
|
|
1449
|
+
"type": "string"
|
|
1450
|
+
}
|
|
1451
|
+
},
|
|
1452
|
+
"required": [
|
|
1453
|
+
"path",
|
|
1454
|
+
"resource"
|
|
1455
|
+
],
|
|
1456
|
+
"type": "object"
|
|
1457
|
+
}
|
|
1458
|
+
]
|
|
1459
|
+
},
|
|
1460
|
+
"FileTree": {
|
|
1461
|
+
"type": "object"
|
|
1462
|
+
},
|
|
1463
|
+
"ImportThemeStarterContentStep": {
|
|
1464
|
+
"description": "importThemeStarterContent",
|
|
1465
|
+
"properties": {
|
|
1466
|
+
"step": {
|
|
1467
|
+
"const": "importThemeStarterContent",
|
|
1468
|
+
"description": "The step identifier.",
|
|
1469
|
+
"type": "string"
|
|
1470
|
+
},
|
|
1471
|
+
"themeSlug": {
|
|
1472
|
+
"description": "The name of the theme to import content from.",
|
|
1473
|
+
"type": "string"
|
|
1474
|
+
}
|
|
1475
|
+
},
|
|
1476
|
+
"required": [
|
|
1477
|
+
"step"
|
|
1478
|
+
],
|
|
1479
|
+
"type": "object"
|
|
1480
|
+
},
|
|
1481
|
+
"ImportWordPressFilesStep<FileReference>": {
|
|
1482
|
+
"description": "importWordPressFiles",
|
|
1483
|
+
"properties": {
|
|
1484
|
+
"pathInZip": {
|
|
1485
|
+
"description": "The path inside the zip file where the WordPress files are.",
|
|
1486
|
+
"type": "string"
|
|
1487
|
+
},
|
|
1488
|
+
"step": {
|
|
1489
|
+
"const": "importWordPressFiles",
|
|
1490
|
+
"type": "string"
|
|
1491
|
+
},
|
|
1492
|
+
"wordPressFilesZip": {
|
|
1493
|
+
"$ref": "#/definitions/FileReference",
|
|
1494
|
+
"description": "The zip file containing the top-level WordPress files and\ndirectories."
|
|
1495
|
+
}
|
|
1496
|
+
},
|
|
1497
|
+
"required": [
|
|
1498
|
+
"step",
|
|
1499
|
+
"wordPressFilesZip"
|
|
1500
|
+
],
|
|
1501
|
+
"type": "object"
|
|
1502
|
+
},
|
|
1503
|
+
"ImportWxrStep<FileReference>": {
|
|
1504
|
+
"description": "importWxr",
|
|
1505
|
+
"properties": {
|
|
1506
|
+
"file": {
|
|
1507
|
+
"$ref": "#/definitions/FileReference",
|
|
1508
|
+
"description": "The file to import"
|
|
1509
|
+
},
|
|
1510
|
+
"importer": {
|
|
1511
|
+
"description": "The importer to use. Possible values:\n\n- `default`: The importer from https://github.com/humanmade/WordPress-Importer\n- `data-liberation`: The experimental Data Liberation WXR importer developed at\n https://github.com/WordPress/wordpress-playground/issues/1894\n\nThis option is deprecated. The syntax will not be removed, but once the\nData Liberation importer matures, it will become the only supported\nimporter and the `importer` option will be ignored.",
|
|
1512
|
+
"enum": [
|
|
1513
|
+
"data-liberation",
|
|
1514
|
+
"default"
|
|
1515
|
+
],
|
|
1516
|
+
"type": "string"
|
|
1517
|
+
},
|
|
1518
|
+
"step": {
|
|
1519
|
+
"const": "importWxr",
|
|
1520
|
+
"type": "string"
|
|
1521
|
+
}
|
|
1522
|
+
},
|
|
1523
|
+
"required": [
|
|
1524
|
+
"file",
|
|
1525
|
+
"step"
|
|
1526
|
+
],
|
|
1527
|
+
"type": "object"
|
|
1528
|
+
},
|
|
1529
|
+
"InstallPluginOptions": {
|
|
1530
|
+
"properties": {
|
|
1531
|
+
"activate": {
|
|
1532
|
+
"description": "Whether to activate the plugin after installing it.",
|
|
1533
|
+
"type": "boolean"
|
|
1534
|
+
},
|
|
1535
|
+
"targetFolderName": {
|
|
1536
|
+
"description": "The name of the folder to install the plugin to. Defaults to guessing from pluginData",
|
|
1537
|
+
"type": "string"
|
|
1538
|
+
}
|
|
1539
|
+
},
|
|
1540
|
+
"type": "object"
|
|
1541
|
+
},
|
|
1542
|
+
"InstallPluginStep<FileReference,DirectoryReference>": {
|
|
1543
|
+
"description": "installPlugin",
|
|
1544
|
+
"properties": {
|
|
1545
|
+
"ifAlreadyInstalled": {
|
|
1546
|
+
"description": "What to do if the asset already exists.",
|
|
1547
|
+
"enum": [
|
|
1548
|
+
"error",
|
|
1549
|
+
"overwrite",
|
|
1550
|
+
"skip"
|
|
1551
|
+
],
|
|
1552
|
+
"type": "string"
|
|
1553
|
+
},
|
|
1554
|
+
"options": {
|
|
1555
|
+
"$ref": "#/definitions/InstallPluginOptions",
|
|
1556
|
+
"description": "Optional installation options."
|
|
1557
|
+
},
|
|
1558
|
+
"pluginData": {
|
|
1559
|
+
"anyOf": [
|
|
1560
|
+
{
|
|
1561
|
+
"properties": {
|
|
1562
|
+
"path": {
|
|
1563
|
+
"description": "The path to the file in the VFS",
|
|
1564
|
+
"type": "string"
|
|
1565
|
+
},
|
|
1566
|
+
"resource": {
|
|
1567
|
+
"const": "vfs",
|
|
1568
|
+
"description": "Identifies the file resource as Virtual File System (VFS)",
|
|
1569
|
+
"type": "string"
|
|
1570
|
+
}
|
|
1571
|
+
},
|
|
1572
|
+
"required": [
|
|
1573
|
+
"path",
|
|
1574
|
+
"resource"
|
|
1575
|
+
],
|
|
1576
|
+
"type": "object"
|
|
1577
|
+
},
|
|
1578
|
+
{
|
|
1579
|
+
"properties": {
|
|
1580
|
+
"contents": {
|
|
1581
|
+
"anyOf": [
|
|
1582
|
+
{
|
|
1583
|
+
"additionalProperties": false,
|
|
1584
|
+
"patternProperties": {
|
|
1585
|
+
"^[0-9]+$": {
|
|
1586
|
+
"type": "number"
|
|
1587
|
+
}
|
|
1588
|
+
},
|
|
1589
|
+
"properties": {
|
|
1590
|
+
"BYTES_PER_ELEMENT": {
|
|
1591
|
+
"type": "number"
|
|
1592
|
+
},
|
|
1593
|
+
"__@toStringTag@599": {
|
|
1594
|
+
"const": "Uint8Array",
|
|
1595
|
+
"type": "string"
|
|
1596
|
+
},
|
|
1597
|
+
"buffer": {
|
|
1598
|
+
"$ref": "#/definitions/ArrayBufferLike"
|
|
1599
|
+
},
|
|
1600
|
+
"byteLength": {
|
|
1601
|
+
"type": "number"
|
|
1602
|
+
},
|
|
1603
|
+
"byteOffset": {
|
|
1604
|
+
"type": "number"
|
|
1605
|
+
},
|
|
1606
|
+
"length": {
|
|
1607
|
+
"type": "number"
|
|
1608
|
+
}
|
|
1609
|
+
},
|
|
1610
|
+
"required": [
|
|
1611
|
+
"BYTES_PER_ELEMENT",
|
|
1612
|
+
"__@toStringTag@599",
|
|
1613
|
+
"buffer",
|
|
1614
|
+
"byteLength",
|
|
1615
|
+
"byteOffset",
|
|
1616
|
+
"length"
|
|
1617
|
+
],
|
|
1618
|
+
"type": "object"
|
|
1619
|
+
},
|
|
1620
|
+
{
|
|
1621
|
+
"type": "string"
|
|
1622
|
+
}
|
|
1623
|
+
],
|
|
1624
|
+
"description": "The contents of the file"
|
|
1625
|
+
},
|
|
1626
|
+
"name": {
|
|
1627
|
+
"description": "The name of the file",
|
|
1628
|
+
"type": "string"
|
|
1629
|
+
},
|
|
1630
|
+
"resource": {
|
|
1631
|
+
"const": "literal",
|
|
1632
|
+
"description": "Identifies the file resource as a literal file",
|
|
1633
|
+
"type": "string"
|
|
1634
|
+
}
|
|
1635
|
+
},
|
|
1636
|
+
"required": [
|
|
1637
|
+
"contents",
|
|
1638
|
+
"name",
|
|
1639
|
+
"resource"
|
|
1640
|
+
],
|
|
1641
|
+
"type": "object"
|
|
1642
|
+
},
|
|
1643
|
+
{
|
|
1644
|
+
"properties": {
|
|
1645
|
+
"resource": {
|
|
1646
|
+
"const": "wordpress.org/themes",
|
|
1647
|
+
"description": "Identifies the file resource as a WordPress Core theme",
|
|
1648
|
+
"type": "string"
|
|
1649
|
+
},
|
|
1650
|
+
"slug": {
|
|
1651
|
+
"description": "The slug of the WordPress Core theme",
|
|
1652
|
+
"type": "string"
|
|
1653
|
+
}
|
|
1654
|
+
},
|
|
1655
|
+
"required": [
|
|
1656
|
+
"resource",
|
|
1657
|
+
"slug"
|
|
1658
|
+
],
|
|
1659
|
+
"type": "object"
|
|
1660
|
+
},
|
|
1661
|
+
{
|
|
1662
|
+
"properties": {
|
|
1663
|
+
"resource": {
|
|
1664
|
+
"const": "wordpress.org/plugins",
|
|
1665
|
+
"description": "Identifies the file resource as a WordPress Core plugin",
|
|
1666
|
+
"type": "string"
|
|
1667
|
+
},
|
|
1668
|
+
"slug": {
|
|
1669
|
+
"description": "The slug of the WordPress Core plugin",
|
|
1670
|
+
"type": "string"
|
|
1671
|
+
}
|
|
1672
|
+
},
|
|
1673
|
+
"required": [
|
|
1674
|
+
"resource",
|
|
1675
|
+
"slug"
|
|
1676
|
+
],
|
|
1677
|
+
"type": "object"
|
|
1678
|
+
},
|
|
1679
|
+
{
|
|
1680
|
+
"properties": {
|
|
1681
|
+
"caption": {
|
|
1682
|
+
"description": "Optional caption for displaying a progress message",
|
|
1683
|
+
"type": "string"
|
|
1684
|
+
},
|
|
1685
|
+
"resource": {
|
|
1686
|
+
"const": "url",
|
|
1687
|
+
"description": "Identifies the file resource as a URL",
|
|
1688
|
+
"type": "string"
|
|
1689
|
+
},
|
|
1690
|
+
"url": {
|
|
1691
|
+
"description": "The URL of the file",
|
|
1692
|
+
"type": "string"
|
|
1693
|
+
}
|
|
1694
|
+
},
|
|
1695
|
+
"required": [
|
|
1696
|
+
"resource",
|
|
1697
|
+
"url"
|
|
1698
|
+
],
|
|
1699
|
+
"type": "object"
|
|
1700
|
+
},
|
|
1701
|
+
{
|
|
1702
|
+
"properties": {
|
|
1703
|
+
"path": {
|
|
1704
|
+
"description": "The path to the file in the Blueprint",
|
|
1705
|
+
"type": "string"
|
|
1706
|
+
},
|
|
1707
|
+
"resource": {
|
|
1708
|
+
"const": "bundled",
|
|
1709
|
+
"description": "Identifies the file resource as a Blueprint file",
|
|
1710
|
+
"type": "string"
|
|
1711
|
+
}
|
|
1712
|
+
},
|
|
1713
|
+
"required": [
|
|
1714
|
+
"path",
|
|
1715
|
+
"resource"
|
|
1716
|
+
],
|
|
1717
|
+
"type": "object"
|
|
1718
|
+
},
|
|
1719
|
+
{
|
|
1720
|
+
"properties": {
|
|
1721
|
+
".git": {
|
|
1722
|
+
"description": "When true, include a `.git` directory with Git metadata (experimental).",
|
|
1723
|
+
"type": "boolean"
|
|
1724
|
+
},
|
|
1725
|
+
"path": {
|
|
1726
|
+
"description": "The path to the directory in the git repository. Defaults to the repo root.",
|
|
1727
|
+
"type": "string"
|
|
1728
|
+
},
|
|
1729
|
+
"ref": {
|
|
1730
|
+
"description": "The ref (branch, tag, or commit) of the git repository",
|
|
1731
|
+
"type": "string"
|
|
1732
|
+
},
|
|
1733
|
+
"refType": {
|
|
1734
|
+
"description": "Explicit hint about the ref type (branch, tag, commit, refname)",
|
|
1735
|
+
"enum": [
|
|
1736
|
+
"branch",
|
|
1737
|
+
"commit",
|
|
1738
|
+
"refname",
|
|
1739
|
+
"tag"
|
|
1740
|
+
],
|
|
1741
|
+
"type": "string"
|
|
1742
|
+
},
|
|
1743
|
+
"resource": {
|
|
1744
|
+
"const": "git:directory",
|
|
1745
|
+
"description": "Identifies the file resource as a git directory",
|
|
1746
|
+
"type": "string"
|
|
1747
|
+
},
|
|
1748
|
+
"url": {
|
|
1749
|
+
"description": "The URL of the git repository",
|
|
1750
|
+
"type": "string"
|
|
1751
|
+
}
|
|
1752
|
+
},
|
|
1753
|
+
"required": [
|
|
1754
|
+
"ref",
|
|
1755
|
+
"resource",
|
|
1756
|
+
"url"
|
|
1757
|
+
],
|
|
1758
|
+
"type": "object"
|
|
1759
|
+
},
|
|
1760
|
+
{
|
|
1761
|
+
"$ref": "#/definitions/DirectoryLiteralReference"
|
|
1762
|
+
}
|
|
1763
|
+
],
|
|
1764
|
+
"description": "The plugin files to install. It can be a plugin zip file, a single PHP\nfile, or a directory containing all the plugin files at its root."
|
|
1765
|
+
},
|
|
1766
|
+
"pluginZipFile": {
|
|
1767
|
+
"anyOf": [
|
|
1768
|
+
{
|
|
1769
|
+
"properties": {
|
|
1770
|
+
"path": {
|
|
1771
|
+
"description": "The path to the file in the VFS",
|
|
1772
|
+
"type": "string"
|
|
1773
|
+
},
|
|
1774
|
+
"resource": {
|
|
1775
|
+
"const": "vfs",
|
|
1776
|
+
"description": "Identifies the file resource as Virtual File System (VFS)",
|
|
1777
|
+
"type": "string"
|
|
1778
|
+
}
|
|
1779
|
+
},
|
|
1780
|
+
"required": [
|
|
1781
|
+
"path",
|
|
1782
|
+
"resource"
|
|
1783
|
+
],
|
|
1784
|
+
"type": "object"
|
|
1785
|
+
},
|
|
1786
|
+
{
|
|
1787
|
+
"properties": {
|
|
1788
|
+
"contents": {
|
|
1789
|
+
"anyOf": [
|
|
1790
|
+
{
|
|
1791
|
+
"additionalProperties": false,
|
|
1792
|
+
"patternProperties": {
|
|
1793
|
+
"^[0-9]+$": {
|
|
1794
|
+
"type": "number"
|
|
1795
|
+
}
|
|
1796
|
+
},
|
|
1797
|
+
"properties": {
|
|
1798
|
+
"BYTES_PER_ELEMENT": {
|
|
1799
|
+
"type": "number"
|
|
1800
|
+
},
|
|
1801
|
+
"__@toStringTag@599": {
|
|
1802
|
+
"const": "Uint8Array",
|
|
1803
|
+
"type": "string"
|
|
1804
|
+
},
|
|
1805
|
+
"buffer": {
|
|
1806
|
+
"$ref": "#/definitions/ArrayBufferLike"
|
|
1807
|
+
},
|
|
1808
|
+
"byteLength": {
|
|
1809
|
+
"type": "number"
|
|
1810
|
+
},
|
|
1811
|
+
"byteOffset": {
|
|
1812
|
+
"type": "number"
|
|
1813
|
+
},
|
|
1814
|
+
"length": {
|
|
1815
|
+
"type": "number"
|
|
1816
|
+
}
|
|
1817
|
+
},
|
|
1818
|
+
"required": [
|
|
1819
|
+
"BYTES_PER_ELEMENT",
|
|
1820
|
+
"__@toStringTag@599",
|
|
1821
|
+
"buffer",
|
|
1822
|
+
"byteLength",
|
|
1823
|
+
"byteOffset",
|
|
1824
|
+
"length"
|
|
1825
|
+
],
|
|
1826
|
+
"type": "object"
|
|
1827
|
+
},
|
|
1828
|
+
{
|
|
1829
|
+
"type": "string"
|
|
1830
|
+
}
|
|
1831
|
+
],
|
|
1832
|
+
"description": "The contents of the file"
|
|
1833
|
+
},
|
|
1834
|
+
"name": {
|
|
1835
|
+
"description": "The name of the file",
|
|
1836
|
+
"type": "string"
|
|
1837
|
+
},
|
|
1838
|
+
"resource": {
|
|
1839
|
+
"const": "literal",
|
|
1840
|
+
"description": "Identifies the file resource as a literal file",
|
|
1841
|
+
"type": "string"
|
|
1842
|
+
}
|
|
1843
|
+
},
|
|
1844
|
+
"required": [
|
|
1845
|
+
"contents",
|
|
1846
|
+
"name",
|
|
1847
|
+
"resource"
|
|
1848
|
+
],
|
|
1849
|
+
"type": "object"
|
|
1850
|
+
},
|
|
1851
|
+
{
|
|
1852
|
+
"properties": {
|
|
1853
|
+
"resource": {
|
|
1854
|
+
"const": "wordpress.org/themes",
|
|
1855
|
+
"description": "Identifies the file resource as a WordPress Core theme",
|
|
1856
|
+
"type": "string"
|
|
1857
|
+
},
|
|
1858
|
+
"slug": {
|
|
1859
|
+
"description": "The slug of the WordPress Core theme",
|
|
1860
|
+
"type": "string"
|
|
1861
|
+
}
|
|
1862
|
+
},
|
|
1863
|
+
"required": [
|
|
1864
|
+
"resource",
|
|
1865
|
+
"slug"
|
|
1866
|
+
],
|
|
1867
|
+
"type": "object"
|
|
1868
|
+
},
|
|
1869
|
+
{
|
|
1870
|
+
"properties": {
|
|
1871
|
+
"resource": {
|
|
1872
|
+
"const": "wordpress.org/plugins",
|
|
1873
|
+
"description": "Identifies the file resource as a WordPress Core plugin",
|
|
1874
|
+
"type": "string"
|
|
1875
|
+
},
|
|
1876
|
+
"slug": {
|
|
1877
|
+
"description": "The slug of the WordPress Core plugin",
|
|
1878
|
+
"type": "string"
|
|
1879
|
+
}
|
|
1880
|
+
},
|
|
1881
|
+
"required": [
|
|
1882
|
+
"resource",
|
|
1883
|
+
"slug"
|
|
1884
|
+
],
|
|
1885
|
+
"type": "object"
|
|
1886
|
+
},
|
|
1887
|
+
{
|
|
1888
|
+
"properties": {
|
|
1889
|
+
"caption": {
|
|
1890
|
+
"description": "Optional caption for displaying a progress message",
|
|
1891
|
+
"type": "string"
|
|
1892
|
+
},
|
|
1893
|
+
"resource": {
|
|
1894
|
+
"const": "url",
|
|
1895
|
+
"description": "Identifies the file resource as a URL",
|
|
1896
|
+
"type": "string"
|
|
1897
|
+
},
|
|
1898
|
+
"url": {
|
|
1899
|
+
"description": "The URL of the file",
|
|
1900
|
+
"type": "string"
|
|
1901
|
+
}
|
|
1902
|
+
},
|
|
1903
|
+
"required": [
|
|
1904
|
+
"resource",
|
|
1905
|
+
"url"
|
|
1906
|
+
],
|
|
1907
|
+
"type": "object"
|
|
1908
|
+
},
|
|
1909
|
+
{
|
|
1910
|
+
"properties": {
|
|
1911
|
+
"path": {
|
|
1912
|
+
"description": "The path to the file in the Blueprint",
|
|
1913
|
+
"type": "string"
|
|
1914
|
+
},
|
|
1915
|
+
"resource": {
|
|
1916
|
+
"const": "bundled",
|
|
1917
|
+
"description": "Identifies the file resource as a Blueprint file",
|
|
1918
|
+
"type": "string"
|
|
1919
|
+
}
|
|
1920
|
+
},
|
|
1921
|
+
"required": [
|
|
1922
|
+
"path",
|
|
1923
|
+
"resource"
|
|
1924
|
+
],
|
|
1925
|
+
"type": "object"
|
|
1926
|
+
}
|
|
1927
|
+
]
|
|
1928
|
+
},
|
|
1929
|
+
"step": {
|
|
1930
|
+
"const": "installPlugin",
|
|
1931
|
+
"description": "The step identifier.",
|
|
1932
|
+
"type": "string"
|
|
1933
|
+
}
|
|
1934
|
+
},
|
|
1935
|
+
"required": [
|
|
1936
|
+
"pluginData",
|
|
1937
|
+
"step"
|
|
1938
|
+
],
|
|
1939
|
+
"type": "object"
|
|
1940
|
+
},
|
|
1941
|
+
"InstallThemeOptions": {
|
|
1942
|
+
"properties": {
|
|
1943
|
+
"activate": {
|
|
1944
|
+
"description": "Whether to activate the theme after installing it.",
|
|
1945
|
+
"type": "boolean"
|
|
1946
|
+
},
|
|
1947
|
+
"importStarterContent": {
|
|
1948
|
+
"description": "Whether to import the theme's starter content after installing it.",
|
|
1949
|
+
"type": "boolean"
|
|
1950
|
+
},
|
|
1951
|
+
"targetFolderName": {
|
|
1952
|
+
"description": "The name of the folder to install the theme to. Defaults to guessing from themeData",
|
|
1953
|
+
"type": "string"
|
|
1954
|
+
}
|
|
1955
|
+
},
|
|
1956
|
+
"type": "object"
|
|
1957
|
+
},
|
|
1958
|
+
"InstallThemeStep<FileReference,DirectoryReference>": {
|
|
1959
|
+
"description": "installTheme",
|
|
1960
|
+
"properties": {
|
|
1961
|
+
"ifAlreadyInstalled": {
|
|
1962
|
+
"description": "What to do if the asset already exists.",
|
|
1963
|
+
"enum": [
|
|
1964
|
+
"error",
|
|
1965
|
+
"overwrite",
|
|
1966
|
+
"skip"
|
|
1967
|
+
],
|
|
1968
|
+
"type": "string"
|
|
1969
|
+
},
|
|
1970
|
+
"options": {
|
|
1971
|
+
"$ref": "#/definitions/InstallThemeOptions",
|
|
1972
|
+
"description": "Optional installation options."
|
|
1973
|
+
},
|
|
1974
|
+
"step": {
|
|
1975
|
+
"const": "installTheme",
|
|
1976
|
+
"description": "The step identifier.",
|
|
1977
|
+
"type": "string"
|
|
1978
|
+
},
|
|
1979
|
+
"themeData": {
|
|
1980
|
+
"anyOf": [
|
|
1981
|
+
{
|
|
1982
|
+
"properties": {
|
|
1983
|
+
"path": {
|
|
1984
|
+
"description": "The path to the file in the VFS",
|
|
1985
|
+
"type": "string"
|
|
1986
|
+
},
|
|
1987
|
+
"resource": {
|
|
1988
|
+
"const": "vfs",
|
|
1989
|
+
"description": "Identifies the file resource as Virtual File System (VFS)",
|
|
1990
|
+
"type": "string"
|
|
1991
|
+
}
|
|
1992
|
+
},
|
|
1993
|
+
"required": [
|
|
1994
|
+
"path",
|
|
1995
|
+
"resource"
|
|
1996
|
+
],
|
|
1997
|
+
"type": "object"
|
|
1998
|
+
},
|
|
1999
|
+
{
|
|
2000
|
+
"properties": {
|
|
2001
|
+
"contents": {
|
|
2002
|
+
"anyOf": [
|
|
2003
|
+
{
|
|
2004
|
+
"additionalProperties": false,
|
|
2005
|
+
"patternProperties": {
|
|
2006
|
+
"^[0-9]+$": {
|
|
2007
|
+
"type": "number"
|
|
2008
|
+
}
|
|
2009
|
+
},
|
|
2010
|
+
"properties": {
|
|
2011
|
+
"BYTES_PER_ELEMENT": {
|
|
2012
|
+
"type": "number"
|
|
2013
|
+
},
|
|
2014
|
+
"__@toStringTag@599": {
|
|
2015
|
+
"const": "Uint8Array",
|
|
2016
|
+
"type": "string"
|
|
2017
|
+
},
|
|
2018
|
+
"buffer": {
|
|
2019
|
+
"$ref": "#/definitions/ArrayBufferLike"
|
|
2020
|
+
},
|
|
2021
|
+
"byteLength": {
|
|
2022
|
+
"type": "number"
|
|
2023
|
+
},
|
|
2024
|
+
"byteOffset": {
|
|
2025
|
+
"type": "number"
|
|
2026
|
+
},
|
|
2027
|
+
"length": {
|
|
2028
|
+
"type": "number"
|
|
2029
|
+
}
|
|
2030
|
+
},
|
|
2031
|
+
"required": [
|
|
2032
|
+
"BYTES_PER_ELEMENT",
|
|
2033
|
+
"__@toStringTag@599",
|
|
2034
|
+
"buffer",
|
|
2035
|
+
"byteLength",
|
|
2036
|
+
"byteOffset",
|
|
2037
|
+
"length"
|
|
2038
|
+
],
|
|
2039
|
+
"type": "object"
|
|
2040
|
+
},
|
|
2041
|
+
{
|
|
2042
|
+
"type": "string"
|
|
2043
|
+
}
|
|
2044
|
+
],
|
|
2045
|
+
"description": "The contents of the file"
|
|
2046
|
+
},
|
|
2047
|
+
"name": {
|
|
2048
|
+
"description": "The name of the file",
|
|
2049
|
+
"type": "string"
|
|
2050
|
+
},
|
|
2051
|
+
"resource": {
|
|
2052
|
+
"const": "literal",
|
|
2053
|
+
"description": "Identifies the file resource as a literal file",
|
|
2054
|
+
"type": "string"
|
|
2055
|
+
}
|
|
2056
|
+
},
|
|
2057
|
+
"required": [
|
|
2058
|
+
"contents",
|
|
2059
|
+
"name",
|
|
2060
|
+
"resource"
|
|
2061
|
+
],
|
|
2062
|
+
"type": "object"
|
|
2063
|
+
},
|
|
2064
|
+
{
|
|
2065
|
+
"properties": {
|
|
2066
|
+
"resource": {
|
|
2067
|
+
"const": "wordpress.org/themes",
|
|
2068
|
+
"description": "Identifies the file resource as a WordPress Core theme",
|
|
2069
|
+
"type": "string"
|
|
2070
|
+
},
|
|
2071
|
+
"slug": {
|
|
2072
|
+
"description": "The slug of the WordPress Core theme",
|
|
2073
|
+
"type": "string"
|
|
2074
|
+
}
|
|
2075
|
+
},
|
|
2076
|
+
"required": [
|
|
2077
|
+
"resource",
|
|
2078
|
+
"slug"
|
|
2079
|
+
],
|
|
2080
|
+
"type": "object"
|
|
2081
|
+
},
|
|
2082
|
+
{
|
|
2083
|
+
"properties": {
|
|
2084
|
+
"resource": {
|
|
2085
|
+
"const": "wordpress.org/plugins",
|
|
2086
|
+
"description": "Identifies the file resource as a WordPress Core plugin",
|
|
2087
|
+
"type": "string"
|
|
2088
|
+
},
|
|
2089
|
+
"slug": {
|
|
2090
|
+
"description": "The slug of the WordPress Core plugin",
|
|
2091
|
+
"type": "string"
|
|
2092
|
+
}
|
|
2093
|
+
},
|
|
2094
|
+
"required": [
|
|
2095
|
+
"resource",
|
|
2096
|
+
"slug"
|
|
2097
|
+
],
|
|
2098
|
+
"type": "object"
|
|
2099
|
+
},
|
|
2100
|
+
{
|
|
2101
|
+
"properties": {
|
|
2102
|
+
"caption": {
|
|
2103
|
+
"description": "Optional caption for displaying a progress message",
|
|
2104
|
+
"type": "string"
|
|
2105
|
+
},
|
|
2106
|
+
"resource": {
|
|
2107
|
+
"const": "url",
|
|
2108
|
+
"description": "Identifies the file resource as a URL",
|
|
2109
|
+
"type": "string"
|
|
2110
|
+
},
|
|
2111
|
+
"url": {
|
|
2112
|
+
"description": "The URL of the file",
|
|
2113
|
+
"type": "string"
|
|
2114
|
+
}
|
|
2115
|
+
},
|
|
2116
|
+
"required": [
|
|
2117
|
+
"resource",
|
|
2118
|
+
"url"
|
|
2119
|
+
],
|
|
2120
|
+
"type": "object"
|
|
2121
|
+
},
|
|
2122
|
+
{
|
|
2123
|
+
"properties": {
|
|
2124
|
+
"path": {
|
|
2125
|
+
"description": "The path to the file in the Blueprint",
|
|
2126
|
+
"type": "string"
|
|
2127
|
+
},
|
|
2128
|
+
"resource": {
|
|
2129
|
+
"const": "bundled",
|
|
2130
|
+
"description": "Identifies the file resource as a Blueprint file",
|
|
2131
|
+
"type": "string"
|
|
2132
|
+
}
|
|
2133
|
+
},
|
|
2134
|
+
"required": [
|
|
2135
|
+
"path",
|
|
2136
|
+
"resource"
|
|
2137
|
+
],
|
|
2138
|
+
"type": "object"
|
|
2139
|
+
},
|
|
2140
|
+
{
|
|
2141
|
+
"properties": {
|
|
2142
|
+
".git": {
|
|
2143
|
+
"description": "When true, include a `.git` directory with Git metadata (experimental).",
|
|
2144
|
+
"type": "boolean"
|
|
2145
|
+
},
|
|
2146
|
+
"path": {
|
|
2147
|
+
"description": "The path to the directory in the git repository. Defaults to the repo root.",
|
|
2148
|
+
"type": "string"
|
|
2149
|
+
},
|
|
2150
|
+
"ref": {
|
|
2151
|
+
"description": "The ref (branch, tag, or commit) of the git repository",
|
|
2152
|
+
"type": "string"
|
|
2153
|
+
},
|
|
2154
|
+
"refType": {
|
|
2155
|
+
"description": "Explicit hint about the ref type (branch, tag, commit, refname)",
|
|
2156
|
+
"enum": [
|
|
2157
|
+
"branch",
|
|
2158
|
+
"commit",
|
|
2159
|
+
"refname",
|
|
2160
|
+
"tag"
|
|
2161
|
+
],
|
|
2162
|
+
"type": "string"
|
|
2163
|
+
},
|
|
2164
|
+
"resource": {
|
|
2165
|
+
"const": "git:directory",
|
|
2166
|
+
"description": "Identifies the file resource as a git directory",
|
|
2167
|
+
"type": "string"
|
|
2168
|
+
},
|
|
2169
|
+
"url": {
|
|
2170
|
+
"description": "The URL of the git repository",
|
|
2171
|
+
"type": "string"
|
|
2172
|
+
}
|
|
2173
|
+
},
|
|
2174
|
+
"required": [
|
|
2175
|
+
"ref",
|
|
2176
|
+
"resource",
|
|
2177
|
+
"url"
|
|
2178
|
+
],
|
|
2179
|
+
"type": "object"
|
|
2180
|
+
},
|
|
2181
|
+
{
|
|
2182
|
+
"$ref": "#/definitions/DirectoryLiteralReference"
|
|
2183
|
+
}
|
|
2184
|
+
],
|
|
2185
|
+
"description": "The theme files to install. It can be either a theme zip file, or a\ndirectory containing all the theme files at its root."
|
|
2186
|
+
},
|
|
2187
|
+
"themeZipFile": {
|
|
2188
|
+
"anyOf": [
|
|
2189
|
+
{
|
|
2190
|
+
"properties": {
|
|
2191
|
+
"path": {
|
|
2192
|
+
"description": "The path to the file in the VFS",
|
|
2193
|
+
"type": "string"
|
|
2194
|
+
},
|
|
2195
|
+
"resource": {
|
|
2196
|
+
"const": "vfs",
|
|
2197
|
+
"description": "Identifies the file resource as Virtual File System (VFS)",
|
|
2198
|
+
"type": "string"
|
|
2199
|
+
}
|
|
2200
|
+
},
|
|
2201
|
+
"required": [
|
|
2202
|
+
"path",
|
|
2203
|
+
"resource"
|
|
2204
|
+
],
|
|
2205
|
+
"type": "object"
|
|
2206
|
+
},
|
|
2207
|
+
{
|
|
2208
|
+
"properties": {
|
|
2209
|
+
"contents": {
|
|
2210
|
+
"anyOf": [
|
|
2211
|
+
{
|
|
2212
|
+
"additionalProperties": false,
|
|
2213
|
+
"patternProperties": {
|
|
2214
|
+
"^[0-9]+$": {
|
|
2215
|
+
"type": "number"
|
|
2216
|
+
}
|
|
2217
|
+
},
|
|
2218
|
+
"properties": {
|
|
2219
|
+
"BYTES_PER_ELEMENT": {
|
|
2220
|
+
"type": "number"
|
|
2221
|
+
},
|
|
2222
|
+
"__@toStringTag@599": {
|
|
2223
|
+
"const": "Uint8Array",
|
|
2224
|
+
"type": "string"
|
|
2225
|
+
},
|
|
2226
|
+
"buffer": {
|
|
2227
|
+
"$ref": "#/definitions/ArrayBufferLike"
|
|
2228
|
+
},
|
|
2229
|
+
"byteLength": {
|
|
2230
|
+
"type": "number"
|
|
2231
|
+
},
|
|
2232
|
+
"byteOffset": {
|
|
2233
|
+
"type": "number"
|
|
2234
|
+
},
|
|
2235
|
+
"length": {
|
|
2236
|
+
"type": "number"
|
|
2237
|
+
}
|
|
2238
|
+
},
|
|
2239
|
+
"required": [
|
|
2240
|
+
"BYTES_PER_ELEMENT",
|
|
2241
|
+
"__@toStringTag@599",
|
|
2242
|
+
"buffer",
|
|
2243
|
+
"byteLength",
|
|
2244
|
+
"byteOffset",
|
|
2245
|
+
"length"
|
|
2246
|
+
],
|
|
2247
|
+
"type": "object"
|
|
2248
|
+
},
|
|
2249
|
+
{
|
|
2250
|
+
"type": "string"
|
|
2251
|
+
}
|
|
2252
|
+
],
|
|
2253
|
+
"description": "The contents of the file"
|
|
2254
|
+
},
|
|
2255
|
+
"name": {
|
|
2256
|
+
"description": "The name of the file",
|
|
2257
|
+
"type": "string"
|
|
2258
|
+
},
|
|
2259
|
+
"resource": {
|
|
2260
|
+
"const": "literal",
|
|
2261
|
+
"description": "Identifies the file resource as a literal file",
|
|
2262
|
+
"type": "string"
|
|
2263
|
+
}
|
|
2264
|
+
},
|
|
2265
|
+
"required": [
|
|
2266
|
+
"contents",
|
|
2267
|
+
"name",
|
|
2268
|
+
"resource"
|
|
2269
|
+
],
|
|
2270
|
+
"type": "object"
|
|
2271
|
+
},
|
|
2272
|
+
{
|
|
2273
|
+
"properties": {
|
|
2274
|
+
"resource": {
|
|
2275
|
+
"const": "wordpress.org/themes",
|
|
2276
|
+
"description": "Identifies the file resource as a WordPress Core theme",
|
|
2277
|
+
"type": "string"
|
|
2278
|
+
},
|
|
2279
|
+
"slug": {
|
|
2280
|
+
"description": "The slug of the WordPress Core theme",
|
|
2281
|
+
"type": "string"
|
|
2282
|
+
}
|
|
2283
|
+
},
|
|
2284
|
+
"required": [
|
|
2285
|
+
"resource",
|
|
2286
|
+
"slug"
|
|
2287
|
+
],
|
|
2288
|
+
"type": "object"
|
|
2289
|
+
},
|
|
2290
|
+
{
|
|
2291
|
+
"properties": {
|
|
2292
|
+
"resource": {
|
|
2293
|
+
"const": "wordpress.org/plugins",
|
|
2294
|
+
"description": "Identifies the file resource as a WordPress Core plugin",
|
|
2295
|
+
"type": "string"
|
|
2296
|
+
},
|
|
2297
|
+
"slug": {
|
|
2298
|
+
"description": "The slug of the WordPress Core plugin",
|
|
2299
|
+
"type": "string"
|
|
2300
|
+
}
|
|
2301
|
+
},
|
|
2302
|
+
"required": [
|
|
2303
|
+
"resource",
|
|
2304
|
+
"slug"
|
|
2305
|
+
],
|
|
2306
|
+
"type": "object"
|
|
2307
|
+
},
|
|
2308
|
+
{
|
|
2309
|
+
"properties": {
|
|
2310
|
+
"caption": {
|
|
2311
|
+
"description": "Optional caption for displaying a progress message",
|
|
2312
|
+
"type": "string"
|
|
2313
|
+
},
|
|
2314
|
+
"resource": {
|
|
2315
|
+
"const": "url",
|
|
2316
|
+
"description": "Identifies the file resource as a URL",
|
|
2317
|
+
"type": "string"
|
|
2318
|
+
},
|
|
2319
|
+
"url": {
|
|
2320
|
+
"description": "The URL of the file",
|
|
2321
|
+
"type": "string"
|
|
2322
|
+
}
|
|
2323
|
+
},
|
|
2324
|
+
"required": [
|
|
2325
|
+
"resource",
|
|
2326
|
+
"url"
|
|
2327
|
+
],
|
|
2328
|
+
"type": "object"
|
|
2329
|
+
},
|
|
2330
|
+
{
|
|
2331
|
+
"properties": {
|
|
2332
|
+
"path": {
|
|
2333
|
+
"description": "The path to the file in the Blueprint",
|
|
2334
|
+
"type": "string"
|
|
2335
|
+
},
|
|
2336
|
+
"resource": {
|
|
2337
|
+
"const": "bundled",
|
|
2338
|
+
"description": "Identifies the file resource as a Blueprint file",
|
|
2339
|
+
"type": "string"
|
|
2340
|
+
}
|
|
2341
|
+
},
|
|
2342
|
+
"required": [
|
|
2343
|
+
"path",
|
|
2344
|
+
"resource"
|
|
2345
|
+
],
|
|
2346
|
+
"type": "object"
|
|
2347
|
+
}
|
|
2348
|
+
]
|
|
2349
|
+
}
|
|
2350
|
+
},
|
|
2351
|
+
"required": [
|
|
2352
|
+
"step",
|
|
2353
|
+
"themeData"
|
|
2354
|
+
],
|
|
2355
|
+
"type": "object"
|
|
2356
|
+
},
|
|
2357
|
+
"JsonReporterOptions": {
|
|
2358
|
+
"description": "JSON reporter configuration options",
|
|
2359
|
+
"properties": {
|
|
2360
|
+
"outputFile": {
|
|
2361
|
+
"description": "Path where the JSON report file should be written",
|
|
2362
|
+
"type": "string"
|
|
2363
|
+
}
|
|
2364
|
+
},
|
|
2365
|
+
"required": [
|
|
2366
|
+
"outputFile"
|
|
2367
|
+
],
|
|
2368
|
+
"type": "object"
|
|
2369
|
+
},
|
|
2370
|
+
"MkdirStep": {
|
|
2371
|
+
"description": "mkdir",
|
|
2372
|
+
"properties": {
|
|
2373
|
+
"path": {
|
|
2374
|
+
"description": "The path of the directory you want to create",
|
|
2375
|
+
"type": "string"
|
|
2376
|
+
},
|
|
2377
|
+
"step": {
|
|
2378
|
+
"const": "mkdir",
|
|
2379
|
+
"type": "string"
|
|
2380
|
+
}
|
|
2381
|
+
},
|
|
2382
|
+
"required": [
|
|
2383
|
+
"path",
|
|
2384
|
+
"step"
|
|
2385
|
+
],
|
|
2386
|
+
"type": "object"
|
|
2387
|
+
},
|
|
2388
|
+
"Mount": {
|
|
2389
|
+
"description": "Filesystem mount configuration.\nMaps local filesystem paths to WordPress Playground virtual filesystem.\nExtends the base Mount type from",
|
|
2390
|
+
"properties": {
|
|
2391
|
+
"beforeInstall": {
|
|
2392
|
+
"default": false,
|
|
2393
|
+
"description": "Whether to mount before WordPress installation.\nWhen true, the mount happens before WordPress is installed.\nWhen false or omitted, the mount happens after WordPress is fully installed and booted.",
|
|
2394
|
+
"type": "boolean"
|
|
2395
|
+
},
|
|
2396
|
+
"hostPath": {
|
|
2397
|
+
"type": "string"
|
|
2398
|
+
},
|
|
2399
|
+
"vfsPath": {
|
|
2400
|
+
"type": "string"
|
|
2401
|
+
}
|
|
2402
|
+
},
|
|
2403
|
+
"required": [
|
|
2404
|
+
"hostPath",
|
|
2405
|
+
"vfsPath"
|
|
2406
|
+
],
|
|
2407
|
+
"type": "object"
|
|
2408
|
+
},
|
|
2409
|
+
"MvStep": {
|
|
2410
|
+
"description": "mv",
|
|
2411
|
+
"properties": {
|
|
2412
|
+
"fromPath": {
|
|
2413
|
+
"description": "Source path",
|
|
2414
|
+
"type": "string"
|
|
2415
|
+
},
|
|
2416
|
+
"step": {
|
|
2417
|
+
"const": "mv",
|
|
2418
|
+
"type": "string"
|
|
2419
|
+
},
|
|
2420
|
+
"toPath": {
|
|
2421
|
+
"description": "Target path",
|
|
2422
|
+
"type": "string"
|
|
2423
|
+
}
|
|
2424
|
+
},
|
|
2425
|
+
"required": [
|
|
2426
|
+
"fromPath",
|
|
2427
|
+
"step",
|
|
2428
|
+
"toPath"
|
|
2429
|
+
],
|
|
2430
|
+
"type": "object"
|
|
2431
|
+
},
|
|
2432
|
+
"PHPConstants": {
|
|
2433
|
+
"type": "object"
|
|
2434
|
+
},
|
|
2435
|
+
"PHPRequest": {
|
|
2436
|
+
"properties": {
|
|
2437
|
+
"body": {
|
|
2438
|
+
"anyOf": [
|
|
2439
|
+
{
|
|
2440
|
+
"additionalProperties": false,
|
|
2441
|
+
"patternProperties": {
|
|
2442
|
+
"^[0-9]+$": {
|
|
2443
|
+
"type": "number"
|
|
2444
|
+
}
|
|
2445
|
+
},
|
|
2446
|
+
"properties": {
|
|
2447
|
+
"BYTES_PER_ELEMENT": {
|
|
2448
|
+
"type": "number"
|
|
2449
|
+
},
|
|
2450
|
+
"__@toStringTag@599": {
|
|
2451
|
+
"const": "Uint8Array",
|
|
2452
|
+
"type": "string"
|
|
2453
|
+
},
|
|
2454
|
+
"buffer": {
|
|
2455
|
+
"$ref": "#/definitions/ArrayBufferLike"
|
|
2456
|
+
},
|
|
2457
|
+
"byteLength": {
|
|
2458
|
+
"type": "number"
|
|
2459
|
+
},
|
|
2460
|
+
"byteOffset": {
|
|
2461
|
+
"type": "number"
|
|
2462
|
+
},
|
|
2463
|
+
"length": {
|
|
2464
|
+
"type": "number"
|
|
2465
|
+
}
|
|
2466
|
+
},
|
|
2467
|
+
"required": [
|
|
2468
|
+
"BYTES_PER_ELEMENT",
|
|
2469
|
+
"__@toStringTag@599",
|
|
2470
|
+
"buffer",
|
|
2471
|
+
"byteLength",
|
|
2472
|
+
"byteOffset",
|
|
2473
|
+
"length"
|
|
2474
|
+
],
|
|
2475
|
+
"type": "object"
|
|
2476
|
+
},
|
|
2477
|
+
{
|
|
2478
|
+
"$ref": "#/definitions/Record%3Cstring%2Cstring%7CUint8Array%7CFile%3E"
|
|
2479
|
+
},
|
|
2480
|
+
{
|
|
2481
|
+
"type": "string"
|
|
2482
|
+
}
|
|
2483
|
+
],
|
|
2484
|
+
"description": "Request body.\nIf an object is given, the request will be encoded as multipart\nand sent with a `multipart/form-data` header."
|
|
2485
|
+
},
|
|
2486
|
+
"headers": {
|
|
2487
|
+
"$ref": "#/definitions/PHPRequestHeaders",
|
|
2488
|
+
"description": "Request headers."
|
|
2489
|
+
},
|
|
2490
|
+
"method": {
|
|
2491
|
+
"description": "Request method. Default: `GET`.",
|
|
2492
|
+
"enum": [
|
|
2493
|
+
"DELETE",
|
|
2494
|
+
"GET",
|
|
2495
|
+
"HEAD",
|
|
2496
|
+
"OPTIONS",
|
|
2497
|
+
"PATCH",
|
|
2498
|
+
"POST",
|
|
2499
|
+
"PUT"
|
|
2500
|
+
],
|
|
2501
|
+
"type": "string"
|
|
2502
|
+
},
|
|
2503
|
+
"url": {
|
|
2504
|
+
"description": "Request path or absolute URL.",
|
|
2505
|
+
"type": "string"
|
|
2506
|
+
}
|
|
2507
|
+
},
|
|
2508
|
+
"required": [
|
|
2509
|
+
"url"
|
|
2510
|
+
],
|
|
2511
|
+
"type": "object"
|
|
2512
|
+
},
|
|
2513
|
+
"PHPRequestHeaders": {
|
|
2514
|
+
"type": "object"
|
|
2515
|
+
},
|
|
2516
|
+
"PHPRunOptions": {
|
|
2517
|
+
"properties": {
|
|
2518
|
+
"$_SERVER": {
|
|
2519
|
+
"$ref": "#/definitions/Record%3Cstring%2Cstring%3E",
|
|
2520
|
+
"description": "$_SERVER entries to set for this run."
|
|
2521
|
+
},
|
|
2522
|
+
"body": {
|
|
2523
|
+
"anyOf": [
|
|
2524
|
+
{
|
|
2525
|
+
"additionalProperties": false,
|
|
2526
|
+
"patternProperties": {
|
|
2527
|
+
"^[0-9]+$": {
|
|
2528
|
+
"type": "number"
|
|
2529
|
+
}
|
|
2530
|
+
},
|
|
2531
|
+
"properties": {
|
|
2532
|
+
"BYTES_PER_ELEMENT": {
|
|
2533
|
+
"type": "number"
|
|
2534
|
+
},
|
|
2535
|
+
"__@toStringTag@599": {
|
|
2536
|
+
"const": "Uint8Array",
|
|
2537
|
+
"type": "string"
|
|
2538
|
+
},
|
|
2539
|
+
"buffer": {
|
|
2540
|
+
"$ref": "#/definitions/ArrayBufferLike"
|
|
2541
|
+
},
|
|
2542
|
+
"byteLength": {
|
|
2543
|
+
"type": "number"
|
|
2544
|
+
},
|
|
2545
|
+
"byteOffset": {
|
|
2546
|
+
"type": "number"
|
|
2547
|
+
},
|
|
2548
|
+
"length": {
|
|
2549
|
+
"type": "number"
|
|
2550
|
+
}
|
|
2551
|
+
},
|
|
2552
|
+
"required": [
|
|
2553
|
+
"BYTES_PER_ELEMENT",
|
|
2554
|
+
"__@toStringTag@599",
|
|
2555
|
+
"buffer",
|
|
2556
|
+
"byteLength",
|
|
2557
|
+
"byteOffset",
|
|
2558
|
+
"length"
|
|
2559
|
+
],
|
|
2560
|
+
"type": "object"
|
|
2561
|
+
},
|
|
2562
|
+
{
|
|
2563
|
+
"type": "string"
|
|
2564
|
+
}
|
|
2565
|
+
],
|
|
2566
|
+
"description": "Request body."
|
|
2567
|
+
},
|
|
2568
|
+
"code": {
|
|
2569
|
+
"description": "The code snippet to eval instead of a php file.",
|
|
2570
|
+
"type": "string"
|
|
2571
|
+
},
|
|
2572
|
+
"env": {
|
|
2573
|
+
"$ref": "#/definitions/Record%3Cstring%2Cstring%3E",
|
|
2574
|
+
"description": "Environment variables to set for this run."
|
|
2575
|
+
},
|
|
2576
|
+
"headers": {
|
|
2577
|
+
"$ref": "#/definitions/PHPRequestHeaders",
|
|
2578
|
+
"description": "Request headers."
|
|
2579
|
+
},
|
|
2580
|
+
"method": {
|
|
2581
|
+
"description": "Request method. Default: `GET`.",
|
|
2582
|
+
"enum": [
|
|
2583
|
+
"DELETE",
|
|
2584
|
+
"GET",
|
|
2585
|
+
"HEAD",
|
|
2586
|
+
"OPTIONS",
|
|
2587
|
+
"PATCH",
|
|
2588
|
+
"POST",
|
|
2589
|
+
"PUT"
|
|
2590
|
+
],
|
|
2591
|
+
"type": "string"
|
|
2592
|
+
},
|
|
2593
|
+
"protocol": {
|
|
2594
|
+
"description": "Request protocol.",
|
|
2595
|
+
"type": "string"
|
|
2596
|
+
},
|
|
2597
|
+
"relativeUri": {
|
|
2598
|
+
"description": "Request path following the domain:port part.",
|
|
2599
|
+
"type": "string"
|
|
2600
|
+
},
|
|
2601
|
+
"scriptPath": {
|
|
2602
|
+
"description": "Path of the .php file to execute.",
|
|
2603
|
+
"type": "string"
|
|
2604
|
+
}
|
|
2605
|
+
},
|
|
2606
|
+
"type": "object"
|
|
2607
|
+
},
|
|
2608
|
+
"PHPUnitConfig": {
|
|
2609
|
+
"description": "PHPUnit configuration for running PHP unit tests.",
|
|
2610
|
+
"properties": {
|
|
2611
|
+
"bootstrapPath": {
|
|
2612
|
+
"description": "Path to PHPUnit bootstrap file (relative to project root)\nIf not provided, only the custom wp-tester bootstrap will be used",
|
|
2613
|
+
"type": "string"
|
|
2614
|
+
},
|
|
2615
|
+
"configPath": {
|
|
2616
|
+
"description": "Path to PHPUnit configuration file (relative to project root)",
|
|
2617
|
+
"type": "string"
|
|
2618
|
+
},
|
|
2619
|
+
"phpunitPath": {
|
|
2620
|
+
"description": "Path to PHPUnit executable (relative to project root)",
|
|
2621
|
+
"type": "string"
|
|
2622
|
+
},
|
|
2623
|
+
"testMode": {
|
|
2624
|
+
"default": "unit",
|
|
2625
|
+
"description": "Test mode - determines whether WordPress is loaded during tests\n\n- \"unit\": WordPress is NOT loaded. Use for testing isolated PHP logic,\n pure functions, classes that don't depend on WordPress. (DEFAULT)\n\n- \"integration\": WordPress is loaded before tests run. Use for testing\n WordPress APIs, hooks, database interactions, etc.",
|
|
2626
|
+
"enum": [
|
|
2627
|
+
"integration",
|
|
2628
|
+
"unit"
|
|
2629
|
+
],
|
|
2630
|
+
"type": "string"
|
|
2631
|
+
}
|
|
2632
|
+
},
|
|
2633
|
+
"required": [
|
|
2634
|
+
"configPath",
|
|
2635
|
+
"phpunitPath"
|
|
2636
|
+
],
|
|
2637
|
+
"type": "object"
|
|
2638
|
+
},
|
|
2639
|
+
"Record<string,string>": {
|
|
2640
|
+
"type": "object"
|
|
2641
|
+
},
|
|
2642
|
+
"Record<string,string|Uint8Array|File>": {
|
|
2643
|
+
"type": "object"
|
|
2644
|
+
},
|
|
2645
|
+
"Record<string,unknown>": {
|
|
2646
|
+
"type": "object"
|
|
2647
|
+
},
|
|
2648
|
+
"Reporter": {
|
|
2649
|
+
"anyOf": [
|
|
2650
|
+
{
|
|
2651
|
+
"items": [
|
|
2652
|
+
{
|
|
2653
|
+
"const": "json",
|
|
2654
|
+
"type": "string"
|
|
2655
|
+
},
|
|
2656
|
+
{
|
|
2657
|
+
"$ref": "#/definitions/JsonReporterOptions"
|
|
2658
|
+
}
|
|
2659
|
+
],
|
|
2660
|
+
"maxItems": 2,
|
|
2661
|
+
"minItems": 2,
|
|
2662
|
+
"type": "array"
|
|
2663
|
+
},
|
|
2664
|
+
{
|
|
2665
|
+
"const": "default",
|
|
2666
|
+
"type": "string"
|
|
2667
|
+
}
|
|
2668
|
+
],
|
|
2669
|
+
"description": "Reporter configuration.\nCan be a simple string for reporters without options,\nor a tuple of [reporter name, options] for configurable reporters."
|
|
2670
|
+
},
|
|
2671
|
+
"RequestStep": {
|
|
2672
|
+
"description": "request",
|
|
2673
|
+
"properties": {
|
|
2674
|
+
"request": {
|
|
2675
|
+
"$ref": "#/definitions/PHPRequest",
|
|
2676
|
+
"description": "Request details (See\n/wordpress-playground/api/universal/interface/PHPRequest)"
|
|
2677
|
+
},
|
|
2678
|
+
"step": {
|
|
2679
|
+
"const": "request",
|
|
2680
|
+
"type": "string"
|
|
2681
|
+
}
|
|
2682
|
+
},
|
|
2683
|
+
"required": [
|
|
2684
|
+
"request",
|
|
2685
|
+
"step"
|
|
2686
|
+
],
|
|
2687
|
+
"type": "object"
|
|
2688
|
+
},
|
|
2689
|
+
"ResetDataStep": {
|
|
2690
|
+
"description": "resetData",
|
|
2691
|
+
"properties": {
|
|
2692
|
+
"step": {
|
|
2693
|
+
"const": "resetData",
|
|
2694
|
+
"type": "string"
|
|
2695
|
+
}
|
|
2696
|
+
},
|
|
2697
|
+
"required": [
|
|
2698
|
+
"step"
|
|
2699
|
+
],
|
|
2700
|
+
"type": "object"
|
|
2701
|
+
},
|
|
2702
|
+
"RmStep": {
|
|
2703
|
+
"description": "rm",
|
|
2704
|
+
"properties": {
|
|
2705
|
+
"path": {
|
|
2706
|
+
"description": "The path to remove",
|
|
2707
|
+
"type": "string"
|
|
2708
|
+
},
|
|
2709
|
+
"step": {
|
|
2710
|
+
"const": "rm",
|
|
2711
|
+
"type": "string"
|
|
2712
|
+
}
|
|
2713
|
+
},
|
|
2714
|
+
"required": [
|
|
2715
|
+
"path",
|
|
2716
|
+
"step"
|
|
2717
|
+
],
|
|
2718
|
+
"type": "object"
|
|
2719
|
+
},
|
|
2720
|
+
"RmdirStep": {
|
|
2721
|
+
"description": "rmdir",
|
|
2722
|
+
"properties": {
|
|
2723
|
+
"path": {
|
|
2724
|
+
"description": "The path to remove",
|
|
2725
|
+
"type": "string"
|
|
2726
|
+
},
|
|
2727
|
+
"step": {
|
|
2728
|
+
"const": "rmdir",
|
|
2729
|
+
"type": "string"
|
|
2730
|
+
}
|
|
2731
|
+
},
|
|
2732
|
+
"required": [
|
|
2733
|
+
"path",
|
|
2734
|
+
"step"
|
|
2735
|
+
],
|
|
2736
|
+
"type": "object"
|
|
2737
|
+
},
|
|
2738
|
+
"RunPHPStep": {
|
|
2739
|
+
"description": "runPHP",
|
|
2740
|
+
"properties": {
|
|
2741
|
+
"code": {
|
|
2742
|
+
"anyOf": [
|
|
2743
|
+
{
|
|
2744
|
+
"properties": {
|
|
2745
|
+
"content": {
|
|
2746
|
+
"type": "string"
|
|
2747
|
+
},
|
|
2748
|
+
"filename": {
|
|
2749
|
+
"description": "This property is ignored during Blueprint v1 execution but exists\nso the same runPHP step structure can be used for Blueprints v1 and v2.",
|
|
2750
|
+
"type": "string"
|
|
2751
|
+
}
|
|
2752
|
+
},
|
|
2753
|
+
"required": [
|
|
2754
|
+
"content",
|
|
2755
|
+
"filename"
|
|
2756
|
+
],
|
|
2757
|
+
"type": "object"
|
|
2758
|
+
},
|
|
2759
|
+
{
|
|
2760
|
+
"type": "string"
|
|
2761
|
+
}
|
|
2762
|
+
],
|
|
2763
|
+
"description": "The PHP code to run."
|
|
2764
|
+
},
|
|
2765
|
+
"step": {
|
|
2766
|
+
"const": "runPHP",
|
|
2767
|
+
"description": "The step identifier.",
|
|
2768
|
+
"type": "string"
|
|
2769
|
+
}
|
|
2770
|
+
},
|
|
2771
|
+
"required": [
|
|
2772
|
+
"code",
|
|
2773
|
+
"step"
|
|
2774
|
+
],
|
|
2775
|
+
"type": "object"
|
|
2776
|
+
},
|
|
2777
|
+
"RunPHPWithOptionsStep": {
|
|
2778
|
+
"description": "runPHP",
|
|
2779
|
+
"properties": {
|
|
2780
|
+
"options": {
|
|
2781
|
+
"$ref": "#/definitions/PHPRunOptions",
|
|
2782
|
+
"description": "Run options (See\n/wordpress-playground/api/universal/interface/PHPRunOptions/))"
|
|
2783
|
+
},
|
|
2784
|
+
"step": {
|
|
2785
|
+
"const": "runPHPWithOptions",
|
|
2786
|
+
"type": "string"
|
|
2787
|
+
}
|
|
2788
|
+
},
|
|
2789
|
+
"required": [
|
|
2790
|
+
"options",
|
|
2791
|
+
"step"
|
|
2792
|
+
],
|
|
2793
|
+
"type": "object"
|
|
2794
|
+
},
|
|
2795
|
+
"RunSqlStep<FileReference>": {
|
|
2796
|
+
"description": "runSql",
|
|
2797
|
+
"properties": {
|
|
2798
|
+
"sql": {
|
|
2799
|
+
"$ref": "#/definitions/FileReference",
|
|
2800
|
+
"description": "The SQL to run. Each non-empty line must contain a valid SQL query."
|
|
2801
|
+
},
|
|
2802
|
+
"step": {
|
|
2803
|
+
"const": "runSql",
|
|
2804
|
+
"description": "The step identifier.",
|
|
2805
|
+
"type": "string"
|
|
2806
|
+
}
|
|
2807
|
+
},
|
|
2808
|
+
"required": [
|
|
2809
|
+
"sql",
|
|
2810
|
+
"step"
|
|
2811
|
+
],
|
|
2812
|
+
"type": "object"
|
|
2813
|
+
},
|
|
2814
|
+
"RunWpInstallationWizardStep": {
|
|
2815
|
+
"properties": {
|
|
2816
|
+
"options": {
|
|
2817
|
+
"$ref": "#/definitions/WordPressInstallationOptions"
|
|
2818
|
+
},
|
|
2819
|
+
"step": {
|
|
2820
|
+
"const": "runWpInstallationWizard",
|
|
2821
|
+
"type": "string"
|
|
2822
|
+
}
|
|
2823
|
+
},
|
|
2824
|
+
"required": [
|
|
2825
|
+
"options",
|
|
2826
|
+
"step"
|
|
2827
|
+
],
|
|
2828
|
+
"type": "object"
|
|
2829
|
+
},
|
|
2830
|
+
"SetSiteLanguageStep": {
|
|
2831
|
+
"description": "setSiteLanguage",
|
|
2832
|
+
"properties": {
|
|
2833
|
+
"language": {
|
|
2834
|
+
"description": "The language to set, e.g. 'en_US'",
|
|
2835
|
+
"type": "string"
|
|
2836
|
+
},
|
|
2837
|
+
"step": {
|
|
2838
|
+
"const": "setSiteLanguage",
|
|
2839
|
+
"type": "string"
|
|
2840
|
+
}
|
|
2841
|
+
},
|
|
2842
|
+
"required": [
|
|
2843
|
+
"language",
|
|
2844
|
+
"step"
|
|
2845
|
+
],
|
|
2846
|
+
"type": "object"
|
|
2847
|
+
},
|
|
2848
|
+
"SharedArrayBuffer": {
|
|
2849
|
+
"properties": {
|
|
2850
|
+
"__@species@652": {
|
|
2851
|
+
"$ref": "#/definitions/SharedArrayBuffer"
|
|
2852
|
+
},
|
|
2853
|
+
"__@toStringTag@599": {
|
|
2854
|
+
"const": "SharedArrayBuffer",
|
|
2855
|
+
"type": "string"
|
|
2856
|
+
},
|
|
2857
|
+
"byteLength": {
|
|
2858
|
+
"type": "number"
|
|
2859
|
+
}
|
|
2860
|
+
},
|
|
2861
|
+
"required": [
|
|
2862
|
+
"__@species@652",
|
|
2863
|
+
"__@toStringTag@599",
|
|
2864
|
+
"byteLength"
|
|
2865
|
+
],
|
|
2866
|
+
"type": "object"
|
|
2867
|
+
},
|
|
2868
|
+
"Tests": {
|
|
2869
|
+
"description": "Test configuration specifying which test suites to run.",
|
|
2870
|
+
"properties": {
|
|
2871
|
+
"phpunit": {
|
|
2872
|
+
"$ref": "#/definitions/PHPUnitConfig",
|
|
2873
|
+
"description": "PHPUnit test configuration.\nWhen provided, runs PHPUnit tests with the specified paths.\nWhen undefined, PHPUnit tests are disabled."
|
|
2874
|
+
},
|
|
2875
|
+
"plugin": {
|
|
2876
|
+
"description": "Plugin slug to test.\nWhen provided, runs plugin-specific tests including activation, deactivation, and load tests.",
|
|
2877
|
+
"type": "string"
|
|
2878
|
+
},
|
|
2879
|
+
"theme": {
|
|
2880
|
+
"description": "Theme slug to test.\nWhen provided, runs theme-specific tests including activation and homepage load tests.",
|
|
2881
|
+
"type": "string"
|
|
2882
|
+
},
|
|
2883
|
+
"wp": {
|
|
2884
|
+
"default": false,
|
|
2885
|
+
"description": "Whether to run WordPress core tests.\nTests WordPress boot, admin dashboard, and REST API.",
|
|
2886
|
+
"type": "boolean"
|
|
2887
|
+
}
|
|
2888
|
+
},
|
|
2889
|
+
"type": "object"
|
|
2890
|
+
},
|
|
2891
|
+
"UnzipStep<FileReference>": {
|
|
2892
|
+
"description": "unzip",
|
|
2893
|
+
"properties": {
|
|
2894
|
+
"extractToPath": {
|
|
2895
|
+
"description": "The path to extract the zip file to",
|
|
2896
|
+
"type": "string"
|
|
2897
|
+
},
|
|
2898
|
+
"step": {
|
|
2899
|
+
"const": "unzip",
|
|
2900
|
+
"type": "string"
|
|
2901
|
+
},
|
|
2902
|
+
"zipFile": {
|
|
2903
|
+
"anyOf": [
|
|
2904
|
+
{
|
|
2905
|
+
"properties": {
|
|
2906
|
+
"path": {
|
|
2907
|
+
"description": "The path to the file in the VFS",
|
|
2908
|
+
"type": "string"
|
|
2909
|
+
},
|
|
2910
|
+
"resource": {
|
|
2911
|
+
"const": "vfs",
|
|
2912
|
+
"description": "Identifies the file resource as Virtual File System (VFS)",
|
|
2913
|
+
"type": "string"
|
|
2914
|
+
}
|
|
2915
|
+
},
|
|
2916
|
+
"required": [
|
|
2917
|
+
"path",
|
|
2918
|
+
"resource"
|
|
2919
|
+
],
|
|
2920
|
+
"type": "object"
|
|
2921
|
+
},
|
|
2922
|
+
{
|
|
2923
|
+
"properties": {
|
|
2924
|
+
"contents": {
|
|
2925
|
+
"anyOf": [
|
|
2926
|
+
{
|
|
2927
|
+
"additionalProperties": false,
|
|
2928
|
+
"patternProperties": {
|
|
2929
|
+
"^[0-9]+$": {
|
|
2930
|
+
"type": "number"
|
|
2931
|
+
}
|
|
2932
|
+
},
|
|
2933
|
+
"properties": {
|
|
2934
|
+
"BYTES_PER_ELEMENT": {
|
|
2935
|
+
"type": "number"
|
|
2936
|
+
},
|
|
2937
|
+
"__@toStringTag@599": {
|
|
2938
|
+
"const": "Uint8Array",
|
|
2939
|
+
"type": "string"
|
|
2940
|
+
},
|
|
2941
|
+
"buffer": {
|
|
2942
|
+
"$ref": "#/definitions/ArrayBufferLike"
|
|
2943
|
+
},
|
|
2944
|
+
"byteLength": {
|
|
2945
|
+
"type": "number"
|
|
2946
|
+
},
|
|
2947
|
+
"byteOffset": {
|
|
2948
|
+
"type": "number"
|
|
2949
|
+
},
|
|
2950
|
+
"length": {
|
|
2951
|
+
"type": "number"
|
|
2952
|
+
}
|
|
2953
|
+
},
|
|
2954
|
+
"required": [
|
|
2955
|
+
"BYTES_PER_ELEMENT",
|
|
2956
|
+
"__@toStringTag@599",
|
|
2957
|
+
"buffer",
|
|
2958
|
+
"byteLength",
|
|
2959
|
+
"byteOffset",
|
|
2960
|
+
"length"
|
|
2961
|
+
],
|
|
2962
|
+
"type": "object"
|
|
2963
|
+
},
|
|
2964
|
+
{
|
|
2965
|
+
"type": "string"
|
|
2966
|
+
}
|
|
2967
|
+
],
|
|
2968
|
+
"description": "The contents of the file"
|
|
2969
|
+
},
|
|
2970
|
+
"name": {
|
|
2971
|
+
"description": "The name of the file",
|
|
2972
|
+
"type": "string"
|
|
2973
|
+
},
|
|
2974
|
+
"resource": {
|
|
2975
|
+
"const": "literal",
|
|
2976
|
+
"description": "Identifies the file resource as a literal file",
|
|
2977
|
+
"type": "string"
|
|
2978
|
+
}
|
|
2979
|
+
},
|
|
2980
|
+
"required": [
|
|
2981
|
+
"contents",
|
|
2982
|
+
"name",
|
|
2983
|
+
"resource"
|
|
2984
|
+
],
|
|
2985
|
+
"type": "object"
|
|
2986
|
+
},
|
|
2987
|
+
{
|
|
2988
|
+
"properties": {
|
|
2989
|
+
"resource": {
|
|
2990
|
+
"const": "wordpress.org/themes",
|
|
2991
|
+
"description": "Identifies the file resource as a WordPress Core theme",
|
|
2992
|
+
"type": "string"
|
|
2993
|
+
},
|
|
2994
|
+
"slug": {
|
|
2995
|
+
"description": "The slug of the WordPress Core theme",
|
|
2996
|
+
"type": "string"
|
|
2997
|
+
}
|
|
2998
|
+
},
|
|
2999
|
+
"required": [
|
|
3000
|
+
"resource",
|
|
3001
|
+
"slug"
|
|
3002
|
+
],
|
|
3003
|
+
"type": "object"
|
|
3004
|
+
},
|
|
3005
|
+
{
|
|
3006
|
+
"properties": {
|
|
3007
|
+
"resource": {
|
|
3008
|
+
"const": "wordpress.org/plugins",
|
|
3009
|
+
"description": "Identifies the file resource as a WordPress Core plugin",
|
|
3010
|
+
"type": "string"
|
|
3011
|
+
},
|
|
3012
|
+
"slug": {
|
|
3013
|
+
"description": "The slug of the WordPress Core plugin",
|
|
3014
|
+
"type": "string"
|
|
3015
|
+
}
|
|
3016
|
+
},
|
|
3017
|
+
"required": [
|
|
3018
|
+
"resource",
|
|
3019
|
+
"slug"
|
|
3020
|
+
],
|
|
3021
|
+
"type": "object"
|
|
3022
|
+
},
|
|
3023
|
+
{
|
|
3024
|
+
"properties": {
|
|
3025
|
+
"caption": {
|
|
3026
|
+
"description": "Optional caption for displaying a progress message",
|
|
3027
|
+
"type": "string"
|
|
3028
|
+
},
|
|
3029
|
+
"resource": {
|
|
3030
|
+
"const": "url",
|
|
3031
|
+
"description": "Identifies the file resource as a URL",
|
|
3032
|
+
"type": "string"
|
|
3033
|
+
},
|
|
3034
|
+
"url": {
|
|
3035
|
+
"description": "The URL of the file",
|
|
3036
|
+
"type": "string"
|
|
3037
|
+
}
|
|
3038
|
+
},
|
|
3039
|
+
"required": [
|
|
3040
|
+
"resource",
|
|
3041
|
+
"url"
|
|
3042
|
+
],
|
|
3043
|
+
"type": "object"
|
|
3044
|
+
},
|
|
3045
|
+
{
|
|
3046
|
+
"properties": {
|
|
3047
|
+
"path": {
|
|
3048
|
+
"description": "The path to the file in the Blueprint",
|
|
3049
|
+
"type": "string"
|
|
3050
|
+
},
|
|
3051
|
+
"resource": {
|
|
3052
|
+
"const": "bundled",
|
|
3053
|
+
"description": "Identifies the file resource as a Blueprint file",
|
|
3054
|
+
"type": "string"
|
|
3055
|
+
}
|
|
3056
|
+
},
|
|
3057
|
+
"required": [
|
|
3058
|
+
"path",
|
|
3059
|
+
"resource"
|
|
3060
|
+
],
|
|
3061
|
+
"type": "object"
|
|
3062
|
+
}
|
|
3063
|
+
],
|
|
3064
|
+
"description": "The zip file to extract"
|
|
3065
|
+
},
|
|
3066
|
+
"zipPath": {
|
|
3067
|
+
"description": "The path of the zip file to extract",
|
|
3068
|
+
"type": "string"
|
|
3069
|
+
}
|
|
3070
|
+
},
|
|
3071
|
+
"required": [
|
|
3072
|
+
"extractToPath",
|
|
3073
|
+
"step"
|
|
3074
|
+
],
|
|
3075
|
+
"type": "object"
|
|
3076
|
+
},
|
|
3077
|
+
"UpdateUserMetaStep": {
|
|
3078
|
+
"description": "updateUserMeta",
|
|
3079
|
+
"properties": {
|
|
3080
|
+
"meta": {
|
|
3081
|
+
"$ref": "#/definitions/Record%3Cstring%2Cunknown%3E",
|
|
3082
|
+
"description": "An object of user meta values to set, e.g. { \"first_name\": \"John\" }"
|
|
3083
|
+
},
|
|
3084
|
+
"step": {
|
|
3085
|
+
"const": "updateUserMeta",
|
|
3086
|
+
"type": "string"
|
|
3087
|
+
},
|
|
3088
|
+
"userId": {
|
|
3089
|
+
"description": "User ID",
|
|
3090
|
+
"type": "number"
|
|
3091
|
+
}
|
|
3092
|
+
},
|
|
3093
|
+
"required": [
|
|
3094
|
+
"meta",
|
|
3095
|
+
"step",
|
|
3096
|
+
"userId"
|
|
3097
|
+
],
|
|
3098
|
+
"type": "object"
|
|
3099
|
+
},
|
|
3100
|
+
"WPCLIStep": {
|
|
3101
|
+
"description": "wpCLI",
|
|
3102
|
+
"properties": {
|
|
3103
|
+
"command": {
|
|
3104
|
+
"anyOf": [
|
|
3105
|
+
{
|
|
3106
|
+
"items": {
|
|
3107
|
+
"type": "string"
|
|
3108
|
+
},
|
|
3109
|
+
"type": "array"
|
|
3110
|
+
},
|
|
3111
|
+
{
|
|
3112
|
+
"type": "string"
|
|
3113
|
+
}
|
|
3114
|
+
],
|
|
3115
|
+
"description": "The WP CLI command to run."
|
|
3116
|
+
},
|
|
3117
|
+
"step": {
|
|
3118
|
+
"const": "wp-cli",
|
|
3119
|
+
"description": "The step identifier.",
|
|
3120
|
+
"type": "string"
|
|
3121
|
+
},
|
|
3122
|
+
"wpCliPath": {
|
|
3123
|
+
"description": "wp-cli.phar path",
|
|
3124
|
+
"type": "string"
|
|
3125
|
+
}
|
|
3126
|
+
},
|
|
3127
|
+
"required": [
|
|
3128
|
+
"command",
|
|
3129
|
+
"step"
|
|
3130
|
+
],
|
|
3131
|
+
"type": "object"
|
|
3132
|
+
},
|
|
3133
|
+
"WordPressInstallationOptions": {
|
|
3134
|
+
"properties": {
|
|
3135
|
+
"adminPassword": {
|
|
3136
|
+
"type": "string"
|
|
3137
|
+
},
|
|
3138
|
+
"adminUsername": {
|
|
3139
|
+
"type": "string"
|
|
3140
|
+
}
|
|
3141
|
+
},
|
|
3142
|
+
"type": "object"
|
|
3143
|
+
},
|
|
3144
|
+
"WriteFileStep<FileReference>": {
|
|
3145
|
+
"description": "writeFile",
|
|
3146
|
+
"properties": {
|
|
3147
|
+
"data": {
|
|
3148
|
+
"anyOf": [
|
|
3149
|
+
{
|
|
3150
|
+
"additionalProperties": false,
|
|
3151
|
+
"patternProperties": {
|
|
3152
|
+
"^[0-9]+$": {
|
|
3153
|
+
"type": "number"
|
|
3154
|
+
}
|
|
3155
|
+
},
|
|
3156
|
+
"properties": {
|
|
3157
|
+
"BYTES_PER_ELEMENT": {
|
|
3158
|
+
"type": "number"
|
|
3159
|
+
},
|
|
3160
|
+
"__@toStringTag@599": {
|
|
3161
|
+
"const": "Uint8Array",
|
|
3162
|
+
"type": "string"
|
|
3163
|
+
},
|
|
3164
|
+
"buffer": {
|
|
3165
|
+
"$ref": "#/definitions/ArrayBufferLike"
|
|
3166
|
+
},
|
|
3167
|
+
"byteLength": {
|
|
3168
|
+
"type": "number"
|
|
3169
|
+
},
|
|
3170
|
+
"byteOffset": {
|
|
3171
|
+
"type": "number"
|
|
3172
|
+
},
|
|
3173
|
+
"length": {
|
|
3174
|
+
"type": "number"
|
|
3175
|
+
}
|
|
3176
|
+
},
|
|
3177
|
+
"required": [
|
|
3178
|
+
"BYTES_PER_ELEMENT",
|
|
3179
|
+
"__@toStringTag@599",
|
|
3180
|
+
"buffer",
|
|
3181
|
+
"byteLength",
|
|
3182
|
+
"byteOffset",
|
|
3183
|
+
"length"
|
|
3184
|
+
],
|
|
3185
|
+
"type": "object"
|
|
3186
|
+
},
|
|
3187
|
+
{
|
|
3188
|
+
"properties": {
|
|
3189
|
+
"path": {
|
|
3190
|
+
"description": "The path to the file in the VFS",
|
|
3191
|
+
"type": "string"
|
|
3192
|
+
},
|
|
3193
|
+
"resource": {
|
|
3194
|
+
"const": "vfs",
|
|
3195
|
+
"description": "Identifies the file resource as Virtual File System (VFS)",
|
|
3196
|
+
"type": "string"
|
|
3197
|
+
}
|
|
3198
|
+
},
|
|
3199
|
+
"required": [
|
|
3200
|
+
"path",
|
|
3201
|
+
"resource"
|
|
3202
|
+
],
|
|
3203
|
+
"type": "object"
|
|
3204
|
+
},
|
|
3205
|
+
{
|
|
3206
|
+
"properties": {
|
|
3207
|
+
"contents": {
|
|
3208
|
+
"anyOf": [
|
|
3209
|
+
{
|
|
3210
|
+
"additionalProperties": false,
|
|
3211
|
+
"patternProperties": {
|
|
3212
|
+
"^[0-9]+$": {
|
|
3213
|
+
"type": "number"
|
|
3214
|
+
}
|
|
3215
|
+
},
|
|
3216
|
+
"properties": {
|
|
3217
|
+
"BYTES_PER_ELEMENT": {
|
|
3218
|
+
"type": "number"
|
|
3219
|
+
},
|
|
3220
|
+
"__@toStringTag@599": {
|
|
3221
|
+
"const": "Uint8Array",
|
|
3222
|
+
"type": "string"
|
|
3223
|
+
},
|
|
3224
|
+
"buffer": {
|
|
3225
|
+
"$ref": "#/definitions/ArrayBufferLike"
|
|
3226
|
+
},
|
|
3227
|
+
"byteLength": {
|
|
3228
|
+
"type": "number"
|
|
3229
|
+
},
|
|
3230
|
+
"byteOffset": {
|
|
3231
|
+
"type": "number"
|
|
3232
|
+
},
|
|
3233
|
+
"length": {
|
|
3234
|
+
"type": "number"
|
|
3235
|
+
}
|
|
3236
|
+
},
|
|
3237
|
+
"required": [
|
|
3238
|
+
"BYTES_PER_ELEMENT",
|
|
3239
|
+
"__@toStringTag@599",
|
|
3240
|
+
"buffer",
|
|
3241
|
+
"byteLength",
|
|
3242
|
+
"byteOffset",
|
|
3243
|
+
"length"
|
|
3244
|
+
],
|
|
3245
|
+
"type": "object"
|
|
3246
|
+
},
|
|
3247
|
+
{
|
|
3248
|
+
"type": "string"
|
|
3249
|
+
}
|
|
3250
|
+
],
|
|
3251
|
+
"description": "The contents of the file"
|
|
3252
|
+
},
|
|
3253
|
+
"name": {
|
|
3254
|
+
"description": "The name of the file",
|
|
3255
|
+
"type": "string"
|
|
3256
|
+
},
|
|
3257
|
+
"resource": {
|
|
3258
|
+
"const": "literal",
|
|
3259
|
+
"description": "Identifies the file resource as a literal file",
|
|
3260
|
+
"type": "string"
|
|
3261
|
+
}
|
|
3262
|
+
},
|
|
3263
|
+
"required": [
|
|
3264
|
+
"contents",
|
|
3265
|
+
"name",
|
|
3266
|
+
"resource"
|
|
3267
|
+
],
|
|
3268
|
+
"type": "object"
|
|
3269
|
+
},
|
|
3270
|
+
{
|
|
3271
|
+
"properties": {
|
|
3272
|
+
"resource": {
|
|
3273
|
+
"const": "wordpress.org/themes",
|
|
3274
|
+
"description": "Identifies the file resource as a WordPress Core theme",
|
|
3275
|
+
"type": "string"
|
|
3276
|
+
},
|
|
3277
|
+
"slug": {
|
|
3278
|
+
"description": "The slug of the WordPress Core theme",
|
|
3279
|
+
"type": "string"
|
|
3280
|
+
}
|
|
3281
|
+
},
|
|
3282
|
+
"required": [
|
|
3283
|
+
"resource",
|
|
3284
|
+
"slug"
|
|
3285
|
+
],
|
|
3286
|
+
"type": "object"
|
|
3287
|
+
},
|
|
3288
|
+
{
|
|
3289
|
+
"properties": {
|
|
3290
|
+
"resource": {
|
|
3291
|
+
"const": "wordpress.org/plugins",
|
|
3292
|
+
"description": "Identifies the file resource as a WordPress Core plugin",
|
|
3293
|
+
"type": "string"
|
|
3294
|
+
},
|
|
3295
|
+
"slug": {
|
|
3296
|
+
"description": "The slug of the WordPress Core plugin",
|
|
3297
|
+
"type": "string"
|
|
3298
|
+
}
|
|
3299
|
+
},
|
|
3300
|
+
"required": [
|
|
3301
|
+
"resource",
|
|
3302
|
+
"slug"
|
|
3303
|
+
],
|
|
3304
|
+
"type": "object"
|
|
3305
|
+
},
|
|
3306
|
+
{
|
|
3307
|
+
"properties": {
|
|
3308
|
+
"caption": {
|
|
3309
|
+
"description": "Optional caption for displaying a progress message",
|
|
3310
|
+
"type": "string"
|
|
3311
|
+
},
|
|
3312
|
+
"resource": {
|
|
3313
|
+
"const": "url",
|
|
3314
|
+
"description": "Identifies the file resource as a URL",
|
|
3315
|
+
"type": "string"
|
|
3316
|
+
},
|
|
3317
|
+
"url": {
|
|
3318
|
+
"description": "The URL of the file",
|
|
3319
|
+
"type": "string"
|
|
3320
|
+
}
|
|
3321
|
+
},
|
|
3322
|
+
"required": [
|
|
3323
|
+
"resource",
|
|
3324
|
+
"url"
|
|
3325
|
+
],
|
|
3326
|
+
"type": "object"
|
|
3327
|
+
},
|
|
3328
|
+
{
|
|
3329
|
+
"properties": {
|
|
3330
|
+
"path": {
|
|
3331
|
+
"description": "The path to the file in the Blueprint",
|
|
3332
|
+
"type": "string"
|
|
3333
|
+
},
|
|
3334
|
+
"resource": {
|
|
3335
|
+
"const": "bundled",
|
|
3336
|
+
"description": "Identifies the file resource as a Blueprint file",
|
|
3337
|
+
"type": "string"
|
|
3338
|
+
}
|
|
3339
|
+
},
|
|
3340
|
+
"required": [
|
|
3341
|
+
"path",
|
|
3342
|
+
"resource"
|
|
3343
|
+
],
|
|
3344
|
+
"type": "object"
|
|
3345
|
+
},
|
|
3346
|
+
{
|
|
3347
|
+
"type": "string"
|
|
3348
|
+
}
|
|
3349
|
+
],
|
|
3350
|
+
"description": "The data to write"
|
|
3351
|
+
},
|
|
3352
|
+
"path": {
|
|
3353
|
+
"description": "The path of the file to write to",
|
|
3354
|
+
"type": "string"
|
|
3355
|
+
},
|
|
3356
|
+
"step": {
|
|
3357
|
+
"const": "writeFile",
|
|
3358
|
+
"type": "string"
|
|
3359
|
+
}
|
|
3360
|
+
},
|
|
3361
|
+
"required": [
|
|
3362
|
+
"data",
|
|
3363
|
+
"path",
|
|
3364
|
+
"step"
|
|
3365
|
+
],
|
|
3366
|
+
"type": "object"
|
|
3367
|
+
},
|
|
3368
|
+
"WriteFilesStep<DirectoryReference>": {
|
|
3369
|
+
"description": "writeFiles",
|
|
3370
|
+
"properties": {
|
|
3371
|
+
"filesTree": {
|
|
3372
|
+
"$ref": "#/definitions/DirectoryReference",
|
|
3373
|
+
"description": "The 'filesTree' defines the directory structure, supporting 'literal:directory' or\n'git:directory' types. The 'name' represents the root directory, while 'files' is an object\nwhere keys are file paths, and values contain either file content as a string or nested objects\nfor subdirectories."
|
|
3374
|
+
},
|
|
3375
|
+
"step": {
|
|
3376
|
+
"const": "writeFiles",
|
|
3377
|
+
"type": "string"
|
|
3378
|
+
},
|
|
3379
|
+
"writeToPath": {
|
|
3380
|
+
"description": "The path of the file to write to",
|
|
3381
|
+
"type": "string"
|
|
3382
|
+
}
|
|
3383
|
+
},
|
|
3384
|
+
"required": [
|
|
3385
|
+
"filesTree",
|
|
3386
|
+
"step",
|
|
3387
|
+
"writeToPath"
|
|
3388
|
+
],
|
|
3389
|
+
"type": "object"
|
|
3390
|
+
}
|
|
3391
|
+
},
|
|
3392
|
+
"description": "Complete wp-tester configuration.\nThis is the root configuration object for wp-tester.json files.",
|
|
3393
|
+
"properties": {
|
|
3394
|
+
"$schema": {
|
|
3395
|
+
"type": "string",
|
|
3396
|
+
"description": "JSON Schema reference for IDE validation and autocomplete"
|
|
3397
|
+
},
|
|
3398
|
+
"environments": {
|
|
3399
|
+
"description": "Test environments to run.\nEach environment can have different PHP/WordPress versions and setup.\nTests will run against all defined environments (matrix testing).",
|
|
3400
|
+
"items": {
|
|
3401
|
+
"$ref": "#/definitions/Environment"
|
|
3402
|
+
},
|
|
3403
|
+
"minItems": 1,
|
|
3404
|
+
"type": "array"
|
|
3405
|
+
},
|
|
3406
|
+
"projectHostPath": {
|
|
3407
|
+
"default": "process.cwd()",
|
|
3408
|
+
"description": "Project root directory (host filesystem path).\nAll relative paths in the config are resolved from this directory.\nIf a relative path is provided, it is relative to the config file location.",
|
|
3409
|
+
"type": "string"
|
|
3410
|
+
},
|
|
3411
|
+
"projectType": {
|
|
3412
|
+
"description": "Detected WordPress project type.\nAutomatically detected during setup based on project structure.",
|
|
3413
|
+
"enum": [
|
|
3414
|
+
"plugin",
|
|
3415
|
+
"theme",
|
|
3416
|
+
"unknown",
|
|
3417
|
+
"wordpress-install",
|
|
3418
|
+
"wp-content"
|
|
3419
|
+
],
|
|
3420
|
+
"type": "string"
|
|
3421
|
+
},
|
|
3422
|
+
"reporters": {
|
|
3423
|
+
"default": [
|
|
3424
|
+
"default"
|
|
3425
|
+
],
|
|
3426
|
+
"description": "Output reporters for test results",
|
|
3427
|
+
"items": {
|
|
3428
|
+
"$ref": "#/definitions/Reporter"
|
|
3429
|
+
},
|
|
3430
|
+
"type": "array"
|
|
3431
|
+
},
|
|
3432
|
+
"tests": {
|
|
3433
|
+
"$ref": "#/definitions/Tests",
|
|
3434
|
+
"description": "Test suites to execute"
|
|
3435
|
+
}
|
|
3436
|
+
},
|
|
3437
|
+
"required": [
|
|
3438
|
+
"environments",
|
|
3439
|
+
"tests"
|
|
3440
|
+
],
|
|
3441
|
+
"type": "object",
|
|
3442
|
+
"$id": "https://raw.githubusercontent.com/bgrgicak/wp-tester/trunk/packages/config/src/schema.json"
|
|
3443
|
+
}
|