@@ -38,15 +38,19 @@ Here's `sur/post.hoon`
3838 contents=(list content)
3939 ==
4040::
41++$ reference
42+ $% [%graph group=resource =uid]
43+ [%group group=resource]
44+ ==
45+::
4146+$ content
4247 $% [%text text=cord]
4348 [%mention =ship]
4449 [%url url=cord]
4550 [%code expression=cord output=(list tank)]
46− [%reference =uid]
47− :: TODO: maybe use a cask?
48− ::[%cage =cage]
51+ [%reference =reference]
4952 ==
53+--
5054```
5155
5256
@@ -75,27 +79,32 @@ These types are used to cryptographically sign a given post, so that the host of
7579
7680### Content Types
7781```
82++$ reference
83+ $% [%graph group=resource =uid]
84+ [%group group=resource]
85+ ==
86+::
7887+$ content
7988 $% [%text text=cord]
8089 [%mention =ship]
8190 [%url url=cord]
8291 [%code expression=cord output=(list tank)]
83− [%reference =uid]
84− :: TODO: maybe use a cask?
85− ::[%cage =cage]
92+ [%reference =reference]
8693 ==
87−--
94+::
8895```
8996
97+`reference` is a type that models a reference to a graph object. Currently, the valid types of references are either a reference to a specific node in a graph, or a specific group.
98+
9099`content` enumerates all the possible content types that a post can have. The possible content types can be:
91100
92101- **Text** - representing plain text content
93102- **Url** - specific data type for urls
94103- **Mention** - mentioning another ship
95104- **Code** - a pair of a piece of code that was executed and its result (static data, no execution takes place inside of Graph Store)
96−- **Reference** - a reference to another post. Uses the `uid` type under the hood
105+- **Reference** - a reference to another post, using the `reference` type
97106
98−Currently, these are the only content types supported by Graph Store, although there is potential for dynamic content support in the form of a `cage`.
107+Currently, these are the only content types supported by Graph Store.
99108
100109### Post
101110```