@wp-playground/blueprints 0.6.8 → 0.6.10
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/blueprint-schema.json +28 -5
- package/index.cjs +33 -23
- package/index.d.ts +11 -25
- package/index.js +1021 -1002
- package/lib/steps/handlers.d.ts +1 -2
- package/lib/steps/import-wxr.d.ts +27 -0
- package/lib/steps/index.d.ts +3 -3
- package/lib/steps/wp-cli.d.ts +1 -1
- package/package.json +2 -2
- package/schema-readme.md +1 -1
- package/lib/steps/export-wxz.d.ts +0 -9
- package/lib/steps/import-file.d.ts +0 -29
package/blueprint-schema.json
CHANGED
|
@@ -334,7 +334,7 @@
|
|
|
334
334
|
},
|
|
335
335
|
"SupportedPHPExtensionBundle": {
|
|
336
336
|
"type": "string",
|
|
337
|
-
"
|
|
337
|
+
"enum": ["kitchen-sink", "light"]
|
|
338
338
|
},
|
|
339
339
|
"StepDefinition": {
|
|
340
340
|
"type": "object",
|
|
@@ -519,6 +519,33 @@
|
|
|
519
519
|
},
|
|
520
520
|
"required": ["step"]
|
|
521
521
|
},
|
|
522
|
+
{
|
|
523
|
+
"type": "object",
|
|
524
|
+
"additionalProperties": false,
|
|
525
|
+
"properties": {
|
|
526
|
+
"progress": {
|
|
527
|
+
"type": "object",
|
|
528
|
+
"properties": {
|
|
529
|
+
"weight": {
|
|
530
|
+
"type": "number"
|
|
531
|
+
},
|
|
532
|
+
"caption": {
|
|
533
|
+
"type": "string"
|
|
534
|
+
}
|
|
535
|
+
},
|
|
536
|
+
"additionalProperties": false
|
|
537
|
+
},
|
|
538
|
+
"step": {
|
|
539
|
+
"type": "string",
|
|
540
|
+
"const": "importWxr"
|
|
541
|
+
},
|
|
542
|
+
"file": {
|
|
543
|
+
"$ref": "#/definitions/FileReference",
|
|
544
|
+
"description": "The file to import"
|
|
545
|
+
}
|
|
546
|
+
},
|
|
547
|
+
"required": ["file", "step"]
|
|
548
|
+
},
|
|
522
549
|
{
|
|
523
550
|
"type": "object",
|
|
524
551
|
"additionalProperties": false,
|
|
@@ -1411,10 +1438,6 @@
|
|
|
1411
1438
|
"code": {
|
|
1412
1439
|
"type": "string",
|
|
1413
1440
|
"description": "The code snippet to eval instead of a php file."
|
|
1414
|
-
},
|
|
1415
|
-
"throwOnError": {
|
|
1416
|
-
"type": "boolean",
|
|
1417
|
-
"description": "Whether to throw an error if the PHP process exits with a non-zero code or outputs to stderr."
|
|
1418
1441
|
}
|
|
1419
1442
|
},
|
|
1420
1443
|
"additionalProperties": false
|