mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-09-28 04:16:25 +02:00
26 lines
687 B
YAML
26 lines
687 B
YAML
|
---
|
||
|
Name: cmsgraphql
|
||
|
Except:
|
||
|
classexists: 'SilverStripe\GraphQL\Schema\Schema'
|
||
|
---
|
||
|
SilverStripe\GraphQL\Manager:
|
||
|
schemas:
|
||
|
admin:
|
||
|
scaffolding:
|
||
|
types:
|
||
|
Page:
|
||
|
fields: [ID, LastEdited, AbsoluteLink]
|
||
|
operations:
|
||
|
copyToStage: true
|
||
|
rollback: true
|
||
|
readOne:
|
||
|
args:
|
||
|
filter:
|
||
|
type: IDFilterType
|
||
|
required: true
|
||
|
resolver: ['SilverStripe\CMS\GraphQL\ReadOneResolver', 'resolve']
|
||
|
SilverStripe\Security\Member:
|
||
|
fields: [ID, FirstName, Surname]
|
||
|
operations:
|
||
|
readOne: true
|