@wp-playground/blueprints 0.6.14 → 0.6.15
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 +10 -27
- package/index.cjs +14 -14
- package/index.d.ts +27 -11
- package/index.js +666 -653
- package/lib/steps/define-site-url.d.ts +6 -9
- package/lib/steps/install-asset.d.ts +5 -1
- package/lib/steps/install-plugin.d.ts +2 -1
- package/lib/steps/install-theme.d.ts +2 -1
- package/package.json +3 -3
package/blueprint-schema.json
CHANGED
|
@@ -546,33 +546,6 @@
|
|
|
546
546
|
},
|
|
547
547
|
"required": ["file", "step"]
|
|
548
548
|
},
|
|
549
|
-
{
|
|
550
|
-
"type": "object",
|
|
551
|
-
"additionalProperties": false,
|
|
552
|
-
"properties": {
|
|
553
|
-
"progress": {
|
|
554
|
-
"type": "object",
|
|
555
|
-
"properties": {
|
|
556
|
-
"weight": {
|
|
557
|
-
"type": "number"
|
|
558
|
-
},
|
|
559
|
-
"caption": {
|
|
560
|
-
"type": "string"
|
|
561
|
-
}
|
|
562
|
-
},
|
|
563
|
-
"additionalProperties": false
|
|
564
|
-
},
|
|
565
|
-
"step": {
|
|
566
|
-
"type": "string",
|
|
567
|
-
"const": "importFile"
|
|
568
|
-
},
|
|
569
|
-
"file": {
|
|
570
|
-
"$ref": "#/definitions/FileReference",
|
|
571
|
-
"description": "The file to import"
|
|
572
|
-
}
|
|
573
|
-
},
|
|
574
|
-
"required": ["file", "step"]
|
|
575
|
-
},
|
|
576
549
|
{
|
|
577
550
|
"type": "object",
|
|
578
551
|
"additionalProperties": false,
|
|
@@ -620,6 +593,11 @@
|
|
|
620
593
|
},
|
|
621
594
|
"additionalProperties": false
|
|
622
595
|
},
|
|
596
|
+
"ifAlreadyInstalled": {
|
|
597
|
+
"type": "string",
|
|
598
|
+
"enum": ["overwrite", "skip", "error"],
|
|
599
|
+
"description": "What to do if the asset already exists."
|
|
600
|
+
},
|
|
623
601
|
"step": {
|
|
624
602
|
"type": "string",
|
|
625
603
|
"const": "installPlugin",
|
|
@@ -652,6 +630,11 @@
|
|
|
652
630
|
},
|
|
653
631
|
"additionalProperties": false
|
|
654
632
|
},
|
|
633
|
+
"ifAlreadyInstalled": {
|
|
634
|
+
"type": "string",
|
|
635
|
+
"enum": ["overwrite", "skip", "error"],
|
|
636
|
+
"description": "What to do if the asset already exists."
|
|
637
|
+
},
|
|
655
638
|
"step": {
|
|
656
639
|
"type": "string",
|
|
657
640
|
"const": "installTheme",
|