visual-blueprint-builder/build/steps/write-file/block.json
GitHub Action defbf3f0f4 Add files
2025-10-02 15:51:11 +00:00

43 lines
No EOL
907 B
JSON

{
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 3,
"name": "playground-step/write-file",
"version": "0.1.0",
"title": "Write File",
"category": "file-system",
"description": "Writes data to a file at the specified path.",
"example": {},
"supports": {
"html": false,
"customClassName": false
},
"attributes": {
"step": {
"type": "string",
"default": "writeFile"
},
"path": {
"type": "string"
},
"data": {
"type": [
"string",
"object"
],
"default": "",
"properties": {
"resource": {
"type": "string",
"default": "url"
},
"url": {
"type": "string",
"default": ""
}
},
"additionalProperties": false
}
},
"textdomain": "wp-playground-blueprint-editor",
"editorScript": "file:./index.js"
}