chore: Add FsListArg struct and update imports

- Add FsListArg struct with group_id and limit fields
- Uncomment lib/hero import
This commit is contained in:
Mahmoud-Emad
2025-10-12 19:32:04 +03:00
parent 6f6224f21b
commit 75b07aec93
2 changed files with 8 additions and 1 deletions

View File

@@ -110,6 +110,13 @@ pub mut:
messages []db.MessageArg
}
@[params]
pub struct FsListArg {
pub mut:
group_id u32
limit int = 100 // Default limit is 100
}
// get new filesystem, not from the DB
pub fn (mut self DBFs) new(args FsArg) !Fs {
mut o := Fs{

View File

@@ -169,7 +169,7 @@ lib/lang
lib/clients
lib/core
lib/develop
lib/hero
// lib/hero
// lib/vfs The vfs folder is not exists on the development branch, so we need to uncomment it after merging this PR https://github.com/incubaid/herolib/pull/68
// lib/crypt
'