@wp-playground/blueprints 2.0.4 → 2.0.7
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-validator.js +1196 -882
- package/blueprint-schema.json +19 -1
- package/index.cjs +33 -33
- package/index.js +1630 -1487
- package/index.js.map +1 -1
- package/lib/steps/login.d.ts +2 -2
- package/lib/steps/run-php.d.ts +9 -4
- package/package.json +13 -13
package/blueprint-schema.json
CHANGED
|
@@ -942,7 +942,25 @@
|
|
|
942
942
|
"description": "The step identifier."
|
|
943
943
|
},
|
|
944
944
|
"code": {
|
|
945
|
-
"
|
|
945
|
+
"anyOf": [
|
|
946
|
+
{
|
|
947
|
+
"type": "string"
|
|
948
|
+
},
|
|
949
|
+
{
|
|
950
|
+
"type": "object",
|
|
951
|
+
"properties": {
|
|
952
|
+
"filename": {
|
|
953
|
+
"type": "string",
|
|
954
|
+
"description": "This property is ignored during Blueprint v1 execution but exists so the same runPHP step structure can be used for Blueprints v1 and v2."
|
|
955
|
+
},
|
|
956
|
+
"content": {
|
|
957
|
+
"type": "string"
|
|
958
|
+
}
|
|
959
|
+
},
|
|
960
|
+
"required": ["filename", "content"],
|
|
961
|
+
"additionalProperties": false
|
|
962
|
+
}
|
|
963
|
+
],
|
|
946
964
|
"description": "The PHP code to run."
|
|
947
965
|
}
|
|
948
966
|
},
|