feat(widget): add restriction callback to restrict visibility and modification of widget kinds (#2658)

* feat(widget): add restriction callback to restrict visibility and modification of widget kinds

* fix: typecheck issue

* chore: address pull request feedback
This commit is contained in:
Meier Lukas
2025-03-28 10:16:46 +01:00
committed by GitHub
parent 78b55202e7
commit 84f73d33a0
16 changed files with 292 additions and 253 deletions

View File

@@ -1724,7 +1724,11 @@
"noIntegration": "No integration selected",
"noData": "No integration data available"
},
"option": {}
"option": {},
"restricted": {
"title": "Restricted",
"description": "You don't have access to the {name} widget."
}
},
"video": {
"name": "Video Stream",