Auto-pruning of syncshell, added metrics for pruning, return of count of users in fullgroupdto.

This commit is contained in:
cake
2025-12-05 22:01:48 +01:00
parent 0170ac377d
commit b1d7ee5b34
3 changed files with 10 additions and 1 deletions

View File

@@ -68,6 +68,8 @@ public interface ILightlessHub
Task<GroupProfileDto> GroupGetProfile(GroupDto dto);
Task GroupSetProfile(GroupProfileDto dto);
Task GroupSetUserInfo(GroupPairUserInfoDto groupPair);
Task<GroupPruneSettingsDto?> GroupGetPruneSettings(GroupDto dto);
Task GroupSetPruneSettings(GroupPruneSettingsDto dto);
Task<List<GroupFullInfoDto>> GroupsGetAll();
Task GroupUnbanUser(GroupPairDto groupPair);
Task<int> GroupPrune(GroupDto group, int days, bool execute);