gotta simplify the add activity

This commit is contained in:
Mouse Reeve
2021-02-23 15:51:02 -08:00
parent cbccdea468
commit 6e6bcb2f48
4 changed files with 80 additions and 10 deletions

View File

@ -121,6 +121,9 @@ class Add(Verb):
target: str
object: Edition
type: str = 'Add'
notes: str = None
order: int = 0
approved: bool = True
def action(self):
''' add obj to collection '''
@ -131,14 +134,6 @@ class Add(Verb):
self.to_model(model=model)
@dataclass(init=False)
class AddListItem(Add):
'''Add activity that's aware of the book obj '''
notes: str = None
order: int = 0
approved: bool = True
@dataclass(init=False)
class Remove(Verb):
'''Remove activity '''