mirror of
https://github.com/silverstripe/silverstripe-frameworktest
synced 2024-10-22 11:06:02 +02:00
Merge pull request #197 from creative-commoners/pulls/2/remove-graphql
API Remove GraphQL
This commit is contained in:
commit
d9c5f8c658
@ -1,59 +0,0 @@
|
|||||||
---
|
|
||||||
Name: frameworktestgraphql-legacy
|
|
||||||
After: '#graphqlconfig'
|
|
||||||
Except:
|
|
||||||
classexists: 'SilverStripe\GraphQL\Schema\Schema'
|
|
||||||
---
|
|
||||||
|
|
||||||
SilverStripe\Core\Injector\Injector:
|
|
||||||
SilverStripe\GraphQL\Manager.frameworktest:
|
|
||||||
class: SilverStripe\GraphQL\Manager
|
|
||||||
constructor:
|
|
||||||
identifier: frameworktest
|
|
||||||
SilverStripe\GraphQL\Controller.frameworktest:
|
|
||||||
class: SilverStripe\GraphQL\Controller
|
|
||||||
constructor:
|
|
||||||
manager: '%$SilverStripe\GraphQL\Manager.frameworktest'
|
|
||||||
|
|
||||||
SilverStripe\Control\Director:
|
|
||||||
rules:
|
|
||||||
'frameworktest/graphql':
|
|
||||||
Controller: '%$SilverStripe\GraphQL\Controller.frameworktest'
|
|
||||||
|
|
||||||
SilverStripe\GraphQL\Manager:
|
|
||||||
schemas:
|
|
||||||
frameworktest:
|
|
||||||
typeNames:
|
|
||||||
SilverStripe\FrameworkTest\Model\Company: Company
|
|
||||||
SilverStripe\FrameworkTest\Model\Employee: Employee
|
|
||||||
scaffolding:
|
|
||||||
types:
|
|
||||||
SilverStripe\FrameworkTest\Model\Company:
|
|
||||||
fields:
|
|
||||||
- ID
|
|
||||||
- Name
|
|
||||||
- Category
|
|
||||||
- Revenue
|
|
||||||
- CEO
|
|
||||||
operations:
|
|
||||||
read: true
|
|
||||||
update: true
|
|
||||||
create: true
|
|
||||||
delete: true
|
|
||||||
readOne: true
|
|
||||||
nestedQueries:
|
|
||||||
Employees: true
|
|
||||||
PastEmployees: true
|
|
||||||
SilverStripe\FrameworkTest\Model\Employee:
|
|
||||||
fields:
|
|
||||||
- ID
|
|
||||||
- Name
|
|
||||||
- Biography
|
|
||||||
- DateOfBirth
|
|
||||||
- Category
|
|
||||||
operations:
|
|
||||||
read: true
|
|
||||||
update: true
|
|
||||||
create: true
|
|
||||||
delete: true
|
|
||||||
readOne: true
|
|
@ -1,59 +0,0 @@
|
|||||||
---
|
|
||||||
Name: frameworktestgraphql
|
|
||||||
After: '#graphqlconfig'
|
|
||||||
Only:
|
|
||||||
classexists: 'SilverStripe\GraphQL\Schema\Schema'
|
|
||||||
---
|
|
||||||
|
|
||||||
SilverStripe\Core\Injector\Injector:
|
|
||||||
SilverStripe\GraphQL\Schema\Schema.frameworktest:
|
|
||||||
class: SilverStripe\GraphQL\Schema\Schema
|
|
||||||
constructor:
|
|
||||||
schemaKey: frameworktest
|
|
||||||
SilverStripe\GraphQL\Controller.frameworktest:
|
|
||||||
class: SilverStripe\GraphQL\Controller
|
|
||||||
constructor:
|
|
||||||
schema: frameworktest
|
|
||||||
|
|
||||||
SilverStripe\Control\Director:
|
|
||||||
rules:
|
|
||||||
'frameworktest/graphql':
|
|
||||||
Controller: '%$SilverStripe\GraphQL\Controller.frameworktest'
|
|
||||||
|
|
||||||
SilverStripe\GraphQL\Schema\Schema:
|
|
||||||
schemas:
|
|
||||||
frameworktest:
|
|
||||||
config:
|
|
||||||
modelConfig:
|
|
||||||
type_mapping:
|
|
||||||
SilverStripe\FrameworkTest\Model\Company: Company
|
|
||||||
SilverStripe\FrameworkTest\Model\Employee: Employee
|
|
||||||
models:
|
|
||||||
SilverStripe\FrameworkTest\Model\Company:
|
|
||||||
fields:
|
|
||||||
ID: true
|
|
||||||
Name: true
|
|
||||||
Category: true
|
|
||||||
Revenue: true
|
|
||||||
CEO: true
|
|
||||||
Employees: true
|
|
||||||
PastEmployees: true
|
|
||||||
operations:
|
|
||||||
read: true
|
|
||||||
update: true
|
|
||||||
create: true
|
|
||||||
delete: true
|
|
||||||
readOne: true
|
|
||||||
SilverStripe\FrameworkTest\Model\Employee:
|
|
||||||
fields:
|
|
||||||
ID: true
|
|
||||||
Name: true
|
|
||||||
Biography: true
|
|
||||||
DateOfBirth: true
|
|
||||||
Category: true
|
|
||||||
operations:
|
|
||||||
read: true
|
|
||||||
update: true
|
|
||||||
create: true
|
|
||||||
delete: true
|
|
||||||
readOne: true
|
|
@ -52,7 +52,7 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@silverstripe/eslint-config": "^1.3.0",
|
"@silverstripe/eslint-config": "^1.3.0",
|
||||||
"@silverstripe/webpack-config": "^2.1.0",
|
"@silverstripe/webpack-config": "^3.0.0-alpha1",
|
||||||
"babel-jest": "^20.0.3",
|
"babel-jest": "^20.0.3",
|
||||||
"jest-cli": "^19.0.2",
|
"jest-cli": "^19.0.2",
|
||||||
"webpack": "^5.76.0",
|
"webpack": "^5.76.0",
|
||||||
|
@ -1362,10 +1362,10 @@
|
|||||||
stylelint-config-standard "^36.0.0"
|
stylelint-config-standard "^36.0.0"
|
||||||
stylelint-scss "^6.2.1"
|
stylelint-scss "^6.2.1"
|
||||||
|
|
||||||
"@silverstripe/webpack-config@^2.1.0":
|
"@silverstripe/webpack-config@^3.0.0-alpha1":
|
||||||
version "2.1.0"
|
version "3.0.0-alpha1"
|
||||||
resolved "https://registry.yarnpkg.com/@silverstripe/webpack-config/-/webpack-config-2.1.0.tgz#9d6409498126db766299fa40f209f618515932a4"
|
resolved "https://registry.yarnpkg.com/@silverstripe/webpack-config/-/webpack-config-3.0.0-alpha1.tgz#9576b8b1deac92ea96636e149b051b513ce14ab6"
|
||||||
integrity sha512-8rE2K3AXkIP6crDTBXdHz/3hiNVp2XpINkWGDBKzvMS6sGRcVTluPs12BdOXYo1aUZEeqDk9QYOLLGGgZxnOdw==
|
integrity sha512-xBsiewBVAUIGdshWSs8ChAg4JXNNpHMwBLhjhYJCPFKe2HpNx3OqFEIqjR9YgSbCVSxkNh4x5yvYklu6+k+YpA==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@babel/core" "^7.19.6"
|
"@babel/core" "^7.19.6"
|
||||||
"@babel/preset-env" "^7.19.4"
|
"@babel/preset-env" "^7.19.4"
|
||||||
|
Loading…
Reference in New Issue
Block a user