silverstripe-cms/_config/graphql.yml

19 lines
455 B
YAML

---
Name: cmsgraphql
---
SilverStripe\GraphQL\Manager:
schemas:
admin:
scaffolding:
types:
SilverStripe\CMS\Model\SiteTree:
fields: [ID, LastEdited, AbsoluteLink]
operations:
copyToStage: true
rollback: true
readOne: true
SilverStripe\Security\Member:
fields: [ID, FirstName, Surname]
operations:
readOne: true