mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
Refactoring collections handler
This commit is contained in:
42
docs/Automated Collections.html
Normal file
42
docs/Automated Collections.html
Normal file
@@ -0,0 +1,42 @@
|
||||
<!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. #8f46262c
|
||||
<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>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user