This module provides a special doc type manager for the
apostrophe-page type, which
actually refers to any page in the tree, regardless of type. This
allows you to create apostrophe-schemas that can link to
any page in the page tree, rather than one specific page type.
Return a cursor for finding pages of any type (but only pages, never pieces).
apostrophe-pages-cursor takes care of ensuring that pieces don't creep in.
Returns a string to represent the given
doc in an
doc will contain only the fields returned
query.field will contain
the schema field definition for the join the user is attempting
to match titles from. The default behavior is to return
title property, but since this is a page we are including
the slug as well.