fba87c1076
The subtitle has been removed because it's difficult to find and error prone to guess at. It is somewhat accessible from the post's previewContent field in GraphQL but that can be truncated.
15 lines
300 B
Crystal
15 lines
300 B
Crystal
class Page
|
|
getter nodes : Nodes::Children
|
|
getter title : String
|
|
getter author : PostResponse::Creator
|
|
getter created_at : Time
|
|
|
|
def initialize(
|
|
@title : String,
|
|
@author : PostResponse::Creator,
|
|
@created_at : Time,
|
|
@nodes : Nodes::Children = [] of Nodes::Child
|
|
)
|
|
end
|
|
end
|