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:
@@ -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{
|
||||
|
||||
@@ -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
|
||||
'
|
||||
|
||||
Reference in New Issue
Block a user