Refactoring collections handler

This commit is contained in:
th3r00t
2023-03-20 12:12:55 -04:00
parent 11c0c89624
commit 3e89273cbc
10 changed files with 289 additions and 49 deletions

21
wiki/Automated Collections.wiki vendored Normal file
View File

@@ -0,0 +1,21 @@
= Automated Collection Management System =
The collection management system needs rewritten from the ground up.
The model should look something like this.
* [ ] TODO :: Refactor collections algorithm. #8f46262c
{{{python
Collection {
id: int
name: String
books: list(Book)
}
}}}
it is likely the book object will need rewritten as well.
{{{python
Book {
id: int
title: String
# other book metadata
collection: list(Collection.id)
}
}}}