pub struct TeamConfigManager { /* private fields */ }Expand description
Manages team-level configuration storage and inheritance
Implementations§
Source§impl TeamConfigManager
impl TeamConfigManager
Sourcepub async fn store_standards(
&self,
team_id: &str,
standards: TeamStandards,
) -> Result<()>
pub async fn store_standards( &self, team_id: &str, standards: TeamStandards, ) -> Result<()>
Store standards for a team using ricecoder-storage in YAML format
Sourcepub async fn get_standards(&self, team_id: &str) -> Result<TeamStandards>
pub async fn get_standards(&self, team_id: &str) -> Result<TeamStandards>
Retrieve standards for a team using PathResolver with caching
Sourcepub async fn apply_hierarchy(
&self,
org_id: &str,
team_id: &str,
project_id: &str,
) -> Result<MergedStandards>
pub async fn apply_hierarchy( &self, org_id: &str, team_id: &str, project_id: &str, ) -> Result<MergedStandards>
Apply hierarchy: Organization → Team → Project using ConfigMerger
Sourcepub async fn override_standards(
&self,
project_id: &str,
overrides: StandardsOverride,
) -> Result<()>
pub async fn override_standards( &self, project_id: &str, overrides: StandardsOverride, ) -> Result<()>
Override standards at project level with validation
Sourcepub async fn track_changes(
&self,
team_id: &str,
change_description: &str,
) -> Result<()>
pub async fn track_changes( &self, team_id: &str, change_description: &str, ) -> Result<()>
Track changes to standards with timestamps and version identifiers
Sourcepub async fn get_change_history(
&self,
team_id: &str,
) -> Result<Vec<ChangeHistoryEntry>>
pub async fn get_change_history( &self, team_id: &str, ) -> Result<Vec<ChangeHistoryEntry>>
Get change history for a team
Sourcepub fn merge_standards_hierarchy(
org_standards: Option<TeamStandards>,
team_standards: Option<TeamStandards>,
project_standards: Option<TeamStandards>,
) -> Result<TeamStandards>
pub fn merge_standards_hierarchy( org_standards: Option<TeamStandards>, team_standards: Option<TeamStandards>, project_standards: Option<TeamStandards>, ) -> Result<TeamStandards>
Merge standards from hierarchy with project overrides taking precedence
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TeamConfigManager
impl !RefUnwindSafe for TeamConfigManager
impl Send for TeamConfigManager
impl Sync for TeamConfigManager
impl Unpin for TeamConfigManager
impl !UnwindSafe for TeamConfigManager
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more