blob: 37e08d8afc5f975128e1aafd9ce2dbee585551fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
Forum.Models.Post
+glyphs <Array<String>>
-id <UUID>
-created_at <Date>
-parent_id <UUID>
-text <String>
-author <Author>
// Comments are also
// Allowed in the middle
~>textUpdated(text <String>)
->authorUpdated(author <Author>)
<~textWillUpdate(text <String>)
<-postWillRender(post <Forum.Models.Post>)
+>authorUpdated(author <Author>)
<+textWillUpdate(text <String>)
::getAll(parent_id <UUID>) => Promise<Array<Forum.Models.Post>> #> NotFoundError,DisplayError
::get(id <UUID>) => Promise<Forum.Models.Post>
#update(text <String>) => Promise<void>
#transform([transformer] <Function<T>(T) => boolean>)
|