Adds Delete verb

This commit is contained in:
Mouse Reeve 2020-10-14 08:38:51 -07:00
parent 10a0a6ac37
commit d689b6e7c4
2 changed files with 10 additions and 1 deletions

View file

@ -9,7 +9,7 @@ from .interaction import Boost, Like
from .ordered_collection import OrderedCollection, OrderedCollectionPage
from .person import Person
from .book import Edition, Work, Author
from .verbs import Create, Undo, Update
from .verbs import Create, Delete, Undo, Update
from .verbs import Follow, Accept, Reject
from .verbs import Add, Remove

View file

@ -21,6 +21,15 @@ class Create(Verb):
type: str = 'Create'
@dataclass(init=False)
class Delete(Verb):
''' Create activity '''
to: List
cc: List
signature: Signature
type: str = 'Delete'
@dataclass(init=False)
class Update(Verb):
''' Update activity '''