mirror of
https://github.com/wismna/ModernKeePass.git
synced 2025-10-03 15:40:18 -04:00
WIP change to ids
This commit is contained in:
@@ -9,17 +9,16 @@ namespace ModernKeePass.Application.Common.Interfaces
|
||||
{
|
||||
bool IsOpen { get; }
|
||||
string Name { get; }
|
||||
GroupEntity RootGroup { get; }
|
||||
|
||||
GroupEntity RecycleBin { get; set; }
|
||||
string RootGroupId { get; }
|
||||
string RecycleBinId { get; set; }
|
||||
string CipherId { get; set; }
|
||||
string KeyDerivationId { get; set; }
|
||||
string Compression { get; set; }
|
||||
bool IsRecycleBinEnabled { get; set; }
|
||||
|
||||
Task<GroupEntity> Open(FileInfo fileInfo, Credentials credentials);
|
||||
Task<GroupEntity> ReOpen();
|
||||
Task<GroupEntity> Create(FileInfo fileInfo, Credentials credentials, DatabaseVersion version = DatabaseVersion.V2);
|
||||
Task Open(FileInfo fileInfo, Credentials credentials);
|
||||
Task ReOpen();
|
||||
Task Create(FileInfo fileInfo, Credentials credentials, DatabaseVersion version = DatabaseVersion.V2);
|
||||
Task SaveDatabase();
|
||||
Task SaveDatabase(string filePath);
|
||||
void SetRecycleBin(string id);
|
||||
@@ -31,14 +30,13 @@ namespace ModernKeePass.Application.Common.Interfaces
|
||||
Task AddGroup(string parentGroupId, string groupId);
|
||||
void UpdateEntry(string entryId, string fieldName, object fieldValue);
|
||||
void UpdateGroup(string groupId);
|
||||
Task RemoveEntry(string parentGroupId, string entryId);
|
||||
Task RemoveGroup(string parentGroupId, string groupId);
|
||||
Task RemoveEntry(string parentGroupId, string entryId, bool isToBeDeleted);
|
||||
Task RemoveGroup(string parentGroupId, string groupId, bool isToBeDeleted);
|
||||
EntryEntity CreateEntry(string parentGroupId);
|
||||
GroupEntity CreateGroup(string parentGroupId, string nameId, bool isRecycleBin = false);
|
||||
Task DeleteEntry(string entryId);
|
||||
Task DeleteGroup(string groupId);
|
||||
|
||||
void SortEntries(string groupId);
|
||||
void SortSubGroups(string groupId);
|
||||
EntryEntity GetEntry(string id);
|
||||
GroupEntity GetGroup(string id);
|
||||
}
|
||||
}
|
@@ -1,5 +1,4 @@
|
||||
using System.Collections.Generic;
|
||||
using ModernKeePass.Application.Group.Models;
|
||||
using ModernKeePass.Domain.Enums;
|
||||
|
||||
namespace ModernKeePass.Application.Common.Interfaces
|
||||
@@ -9,7 +8,7 @@ namespace ModernKeePass.Application.Common.Interfaces
|
||||
string Id { get; set; }
|
||||
string Title { get; set; }
|
||||
Icon Icon { get; set; }
|
||||
List<GroupVm> Breadcrumb { get; }
|
||||
GroupVm ParentGroup { get; set; }
|
||||
List<IEntityVm> Breadcrumb { get; }
|
||||
string ParentGroupId { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user