mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2025-09-10 00:09:04 +00:00
Include entry type in search results
This commit is contained in:
@@ -17,6 +17,7 @@ from pydantic import BaseModel
|
||||
|
||||
from .manager import PasswordManager
|
||||
from .pubsub import bus
|
||||
from .entry_types import EntryType
|
||||
|
||||
|
||||
class VaultExportRequest(BaseModel):
|
||||
@@ -274,7 +275,7 @@ class EntryService:
|
||||
|
||||
def search_entries(
|
||||
self, query: str, kinds: list[str] | None = None
|
||||
) -> list[tuple[int, str, str | None, str | None, bool]]:
|
||||
) -> list[tuple[int, str, str | None, str | None, bool, EntryType]]:
|
||||
"""Search entries optionally filtering by ``kinds``.
|
||||
|
||||
Parameters
|
||||
|
Reference in New Issue
Block a user