-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* NEW GraphQL 3.5.0 compat Changed field names to lowercase for forwards compat with GraphQL v4 * NEW GraphQL v4 support * ESLint fixes * It's working Co-authored-by: Ingo Schommer <[email protected]>
- Loading branch information
Showing
33 changed files
with
451 additions
and
459 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
Name: versioned-snapshot-admin-graphql | ||
--- | ||
SilverStripe\GraphQL\Schema\Schema: | ||
schemas: | ||
admin: | ||
src: | ||
- 'silverstripe/versioned-snapshot-admin: _graphql' | ||
SilverStripe\Core\Injector\Injector: | ||
SilverStripe\GraphQL\Schema\Registry\PluginRegistry: | ||
constructor: | ||
- 'SilverStripe\SnapshotAdmin\SnapshotHistoryPlugin' | ||
|
||
--- | ||
Name: versioned-snapshot-admin-sitetree | ||
Only: | ||
moduleexists: silverstripe/cms | ||
--- | ||
SilverStripe\GraphQL\Schema\Schema: | ||
schemas: | ||
admin: | ||
models: | ||
SilverStripe\CMS\Model\SiteTree: | ||
fields: | ||
className: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
config: | ||
modelConfig: | ||
DataObject: | ||
plugins: | ||
snapshotHistory: true | ||
models: | ||
SilverStripe\Security\Member: | ||
fields: | ||
firstName: true | ||
surname: true | ||
enums: | ||
SnapshotActivityType: | ||
values: | ||
- ADDED | ||
- CREATED | ||
- DELETED | ||
- MODIFIED | ||
- PUBLISHED | ||
- UNPUBLISHED | ||
- REMOVED |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.