type GuestbookEntry { name: String! message: String! createdAt: Time! # _id: Generated by Fauna as each document's unique identifier # _ts: Timestamp generated by Fauna upon object updating } # A query named 'entries' which returns an array of GuestbookEntry objects # Implicit arguments: _size (count) and _cursor (location within the Index) type Query { entries: [GuestbookEntry!] @resolver(name: "listLatestEntries", paginated: true) }