Files
mixvideo-v2/apps/desktop/src-tauri/capabilities/default.json
imeepos 5c019b48df fix: resolve TypeScript iterator error in OutfitRecommendationTool
- Fixed type error where response.recommendations could be undefined
- Added null coalescing operator to ensure safe array spreading
- Updated OutfitRecommendationCard and capabilities configuration
2025-07-28 11:56:11 +08:00

24 lines
611 B
JSON

{
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "default",
"description": "Capability for the main window",
"windows": ["main"],
"permissions": [
"core:default",
"core:window:allow-set-size",
"core:window:allow-center",
"core:window:allow-set-position",
"core:window:allow-set-resizable",
"core:window:allow-set-min-size",
"opener:default",
"opener:allow-open-path",
"opener:allow-reveal-item-in-dir",
"fs:default",
"fs:allow-read-file",
"fs:allow-read-dir",
"dialog:default",
"dialog:allow-open",
"dialog:allow-save"
]
}