mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
48 lines
1.2 KiB
HTML
48 lines
1.2 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<link rel="Stylesheet" type="text/css" href="style.css">
|
|
<link rel="alternate" type="application/rss+xml" title="RSS" href="rss.xml">
|
|
<title>Automated Collections</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
</head>
|
|
<body>
|
|
|
|
<div id="Automated Collection Management System"><h1 id="Automated Collection Management System" class="header"><a href="#Automated Collection Management System">Automated Collection Management System</a></h1></div>
|
|
<p>
|
|
The collection management system needs rewritten from the ground up.
|
|
The model should look something like this.
|
|
</p>
|
|
<ul>
|
|
<li class="done0">
|
|
<span class="todo">TODO</span> :: Refactor collections algorithm. #aebaee91
|
|
<pre python>
|
|
Collection {
|
|
id: int
|
|
name: String
|
|
books: list(Book)
|
|
}
|
|
</pre>
|
|
|
|
</ul>
|
|
<p>
|
|
it is likely the book object will need rewritten as well.
|
|
</p>
|
|
<pre python>
|
|
Book {
|
|
id: int
|
|
title: String
|
|
# other book metadata
|
|
collection: list(Collection.id)
|
|
}
|
|
</pre>
|
|
|
|
<p>
|
|
<img src="/home/th3r00t/.local/builds/pyShelf/src/backend/lib/storage.py" />
|
|
<img src="/home/th3r00t/.local/builds/pyShelf/src/backend/pyShelf_ScanLibrary.py" />
|
|
</p>
|
|
|
|
</body>
|
|
</html>
|