Initial release v1.0.0 — Nextcloud Collabora Node-RED sidecar
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,108 @@
|
||||
[
|
||||
{
|
||||
"id": "collab_tab",
|
||||
"type": "tab",
|
||||
"label": "NC Collabora — acceptans",
|
||||
"disabled": false,
|
||||
"info": "Version 1.0 — Hälsokoll + testkonvertering till /Dokument/OfficeOut/"
|
||||
},
|
||||
{
|
||||
"id": "nc_collab_cfg",
|
||||
"type": "nc-collab-config",
|
||||
"name": "cloud.hannesahlin.se",
|
||||
"nextcloudUrl": "https://cloud.hannesahlin.se",
|
||||
"collaboraUrl": "http://host.docker.internal:9980",
|
||||
"collaboraPublicUrl": "",
|
||||
"username": "FILL_IN_USER",
|
||||
"verifyTls": false
|
||||
},
|
||||
{
|
||||
"id": "inj_capabilities",
|
||||
"type": "inject",
|
||||
"z": "collab_tab",
|
||||
"name": "1. CODE capabilities",
|
||||
"props": [],
|
||||
"repeat": "",
|
||||
"crontab": "",
|
||||
"once": false,
|
||||
"topic": "",
|
||||
"x": 150,
|
||||
"y": 80,
|
||||
"wires": [["wopi_cap"]]
|
||||
},
|
||||
{
|
||||
"id": "wopi_cap",
|
||||
"type": "collabora-wopi",
|
||||
"z": "collab_tab",
|
||||
"name": "capabilities",
|
||||
"config": "nc_collab_cfg",
|
||||
"operation": "capabilities",
|
||||
"x": 380,
|
||||
"y": 80,
|
||||
"wires": [["dbg_cap"]]
|
||||
},
|
||||
{
|
||||
"id": "dbg_cap",
|
||||
"type": "debug",
|
||||
"z": "collab_tab",
|
||||
"name": "capabilities JSON",
|
||||
"active": true,
|
||||
"tosidebar": true,
|
||||
"console": false,
|
||||
"tostatus": false,
|
||||
"complete": "payload",
|
||||
"x": 590,
|
||||
"y": 80,
|
||||
"wires": []
|
||||
},
|
||||
{
|
||||
"id": "inj_pdf",
|
||||
"type": "inject",
|
||||
"z": "collab_tab",
|
||||
"name": "2. NC-fil → PDF",
|
||||
"props": [
|
||||
{
|
||||
"p": "ncPath",
|
||||
"v": "/Dokument/test.docx",
|
||||
"vt": "str"
|
||||
},
|
||||
{
|
||||
"p": "destNcPath",
|
||||
"v": "/Dokument/OfficeOut/test.pdf",
|
||||
"vt": "str"
|
||||
}
|
||||
],
|
||||
"repeat": "",
|
||||
"crontab": "",
|
||||
"once": false,
|
||||
"topic": "",
|
||||
"x": 150,
|
||||
"y": 160,
|
||||
"wires": [["bridge_pdf"]]
|
||||
},
|
||||
{
|
||||
"id": "bridge_pdf",
|
||||
"type": "collabora-bridge",
|
||||
"z": "collab_tab",
|
||||
"name": "ncFileToPdf",
|
||||
"config": "nc_collab_cfg",
|
||||
"operation": "ncFileToPdf",
|
||||
"x": 380,
|
||||
"y": 160,
|
||||
"wires": [["dbg_pdf"]]
|
||||
},
|
||||
{
|
||||
"id": "dbg_pdf",
|
||||
"type": "debug",
|
||||
"z": "collab_tab",
|
||||
"name": "destNcPath (inga hemligheter)",
|
||||
"active": true,
|
||||
"tosidebar": true,
|
||||
"console": false,
|
||||
"tostatus": false,
|
||||
"complete": "destNcPath",
|
||||
"x": 620,
|
||||
"y": 160,
|
||||
"wires": []
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user