ignore classes feature

This commit is contained in:
Joe 2025-12-19 01:15:14 -06:00
parent 929bc254fa
commit db87fa010f
4 changed files with 81 additions and 2 deletions

View file

@ -385,6 +385,10 @@ pub struct SyncbackRules {
/// syncback.
#[serde(default, skip_serializing_if = "IndexMap::is_empty")]
ignore_properties: IndexMap<Ustr, Vec<Ustr>>,
/// A list of class names to ignore entirely during syncback.
/// Instances of these classes will not be added, removed, or synced.
#[serde(default, skip_serializing_if = "Vec::is_empty")]
ignore_classes: Vec<String>,
/// Whether or not the `CurrentCamera` of `Workspace` is included in the
/// syncback or not. Defaults to `false`.
#[serde(skip_serializing_if = "Option::is_none")]