fresh_core/file_explorer.rs
1use serde::{Deserialize, Serialize};
2use std::path::PathBuf;
3use ts_rs::TS;
4
5/// Decoration metadata for a file explorer entry.
6#[derive(Debug, Clone, Serialize, Deserialize, TS)]
7#[ts(export)]
8pub struct FileExplorerDecoration {
9 pub path: PathBuf,
10 pub symbol: String,
11 pub color: (u8, u8, u8),
12 pub priority: i32,
13}