-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update .access to be keyed by schemaName (#1604)
- Loading branch information
Showing
30 changed files
with
523 additions
and
201 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,168 @@ | ||
{ | ||
"releases": [ | ||
{ "name": "@keystone-alpha/field-content", "type": "major" }, | ||
{ "name": "@keystone-alpha/fields-auto-increment", "type": "major" }, | ||
{ "name": "@keystone-alpha/fields-datetime-utc", "type": "major" }, | ||
{ "name": "@keystone-alpha/fields", "type": "major" } | ||
], | ||
"dependents": [ | ||
{ | ||
"name": "@keystone-alpha/cypress-project-basic", | ||
"type": "patch", | ||
"dependencies": [ | ||
"@keystone-alpha/app-admin-ui", | ||
"@keystone-alpha/fields-markdown", | ||
"@keystone-alpha/keystone", | ||
"@keystone-alpha/field-content", | ||
"@keystone-alpha/fields" | ||
] | ||
}, | ||
{ | ||
"name": "@keystone-alpha/adapter-knex", | ||
"type": "patch", | ||
"dependencies": ["@keystone-alpha/keystone", "@keystone-alpha/fields-auto-increment"] | ||
}, | ||
{ | ||
"name": "@keystone-alpha/api-tests", | ||
"type": "patch", | ||
"dependencies": [ | ||
"@keystone-alpha/adapter-knex", | ||
"@keystone-alpha/auth-password", | ||
"@keystone-alpha/keystone", | ||
"@keystone-alpha/fields" | ||
] | ||
}, | ||
{ | ||
"name": "@keystone-alpha/demo-project-blog", | ||
"type": "patch", | ||
"dependencies": [ | ||
"@keystone-alpha/app-admin-ui", | ||
"@keystone-alpha/auth-password", | ||
"@keystone-alpha/fields-markdown", | ||
"@keystone-alpha/fields-wysiwyg-tinymce", | ||
"@keystone-alpha/keystone", | ||
"@keystone-alpha/fields" | ||
] | ||
}, | ||
{ | ||
"name": "@keystone-alpha/demo-project-meetup", | ||
"type": "patch", | ||
"dependencies": [ | ||
"@keystone-alpha/app-admin-ui", | ||
"@keystone-alpha/auth-password", | ||
"@keystone-alpha/fields-wysiwyg-tinymce", | ||
"@keystone-alpha/keystone", | ||
"@keystone-alpha/fields" | ||
] | ||
}, | ||
{ | ||
"name": "@keystone-alpha/demo-project-todo", | ||
"type": "patch", | ||
"dependencies": [ | ||
"@keystone-alpha/app-admin-ui", | ||
"@keystone-alpha/keystone", | ||
"@keystone-alpha/fields" | ||
] | ||
}, | ||
{ | ||
"name": "@keystone-alpha/app-admin-ui", | ||
"type": "patch", | ||
"dependencies": ["@keystone-alpha/fields"] | ||
}, | ||
{ | ||
"name": "@keystone-alpha/auth-passport", | ||
"type": "patch", | ||
"dependencies": ["@keystone-alpha/fields"] | ||
}, | ||
{ | ||
"name": "@keystone-alpha/auth-password", | ||
"type": "patch", | ||
"dependencies": ["@keystone-alpha/fields"] | ||
}, | ||
{ | ||
"name": "@keystone-alpha/example-projects-starter", | ||
"type": "patch", | ||
"dependencies": [ | ||
"@keystone-alpha/app-admin-ui", | ||
"@keystone-alpha/auth-password", | ||
"@keystone-alpha/keystone", | ||
"@keystone-alpha/fields" | ||
] | ||
}, | ||
{ | ||
"name": "@keystone-alpha/example-projects-todo", | ||
"type": "patch", | ||
"dependencies": [ | ||
"@keystone-alpha/app-admin-ui", | ||
"@keystone-alpha/keystone", | ||
"@keystone-alpha/fields" | ||
] | ||
}, | ||
{ | ||
"name": "@keystone-alpha/fields-markdown", | ||
"type": "patch", | ||
"dependencies": ["@keystone-alpha/fields"] | ||
}, | ||
{ | ||
"name": "@keystone-alpha/fields-mongoid", | ||
"type": "patch", | ||
"dependencies": ["@keystone-alpha/adapter-knex", "@keystone-alpha/fields"] | ||
}, | ||
{ | ||
"name": "@keystone-alpha/fields-wysiwyg-tinymce", | ||
"type": "patch", | ||
"dependencies": ["@keystone-alpha/fields"] | ||
}, | ||
{ | ||
"name": "@keystone-alpha/keystone", | ||
"type": "patch", | ||
"dependencies": ["@keystone-alpha/fields"] | ||
}, | ||
{ | ||
"name": "@keystone-alpha/list-plugins", | ||
"type": "patch", | ||
"dependencies": ["@keystone-alpha/fields"] | ||
}, | ||
{ | ||
"name": "@keystone-alpha/cypress-project-access-control", | ||
"type": "patch", | ||
"dependencies": [ | ||
"@keystone-alpha/app-admin-ui", | ||
"@keystone-alpha/auth-password", | ||
"@keystone-alpha/keystone", | ||
"@keystone-alpha/fields" | ||
] | ||
}, | ||
{ | ||
"name": "@keystone-alpha/cypress-project-client-validation", | ||
"type": "patch", | ||
"dependencies": [ | ||
"@keystone-alpha/app-admin-ui", | ||
"@keystone-alpha/keystone", | ||
"@keystone-alpha/fields" | ||
] | ||
}, | ||
{ | ||
"name": "@keystone-alpha/cypress-project-login", | ||
"type": "patch", | ||
"dependencies": [ | ||
"@keystone-alpha/app-admin-ui", | ||
"@keystone-alpha/auth-password", | ||
"@keystone-alpha/keystone", | ||
"@keystone-alpha/list-plugins", | ||
"@keystone-alpha/fields" | ||
] | ||
}, | ||
{ | ||
"name": "@keystone-alpha/cypress-project-social-login", | ||
"type": "patch", | ||
"dependencies": [ | ||
"@keystone-alpha/app-admin-ui", | ||
"@keystone-alpha/auth-passport", | ||
"@keystone-alpha/auth-password", | ||
"@keystone-alpha/keystone", | ||
"@keystone-alpha/fields" | ||
] | ||
} | ||
] | ||
} |
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,8 @@ | ||
The `.access` property of Fields is now keyed by `schemaName`. As such, a number of getters have been replaced with methods which take `{ schemaName }`. | ||
|
||
* `get gqlOutputFields()` -> `gqlOutputFields({ schemaName })` | ||
* `get gqlOutputFieldResolvers()` -> `gqlOutputFieldResolvers({ schemaName })` | ||
* `get gqlAuxFieldResolvers() -> gqlAuxFieldResolvers({ schemaName })` | ||
* `get gqlAuxQueryResolvers()` -> `gqlAuxQueryResolvers({ schemaName })` | ||
* `get gqlAuxMutationResolvers()` -> `gqlAuxMutationResolvers({ schemaName })` | ||
* `get gqlQueryInputFields()` -> `gqlQueryInputFields({ schemaName })` |
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,89 @@ | ||
{ | ||
"releases": [{ "name": "@keystone-alpha/keystone", "type": "major" }], | ||
"dependents": [ | ||
{ | ||
"name": "@keystone-alpha/api-tests", | ||
"type": "patch", | ||
"dependencies": [ | ||
"@keystone-alpha/adapter-knex", | ||
"@keystone-alpha/adapter-mongoose", | ||
"@keystone-alpha/test-utils", | ||
"@keystone-alpha/keystone" | ||
] | ||
}, | ||
{ | ||
"name": "@keystone-alpha/demo-project-blog", | ||
"type": "patch", | ||
"dependencies": ["@keystone-alpha/adapter-mongoose", "@keystone-alpha/keystone"] | ||
}, | ||
{ | ||
"name": "@keystone-alpha/demo-project-meetup", | ||
"type": "patch", | ||
"dependencies": ["@keystone-alpha/adapter-mongoose", "@keystone-alpha/keystone"] | ||
}, | ||
{ | ||
"name": "@keystone-alpha/demo-project-todo", | ||
"type": "patch", | ||
"dependencies": ["@keystone-alpha/adapter-mongoose", "@keystone-alpha/keystone"] | ||
}, | ||
{ | ||
"name": "@keystone-alpha/adapter-knex", | ||
"type": "patch", | ||
"dependencies": ["@keystone-alpha/keystone"] | ||
}, | ||
{ | ||
"name": "@keystone-alpha/adapter-mongoose", | ||
"type": "patch", | ||
"dependencies": ["@keystone-alpha/keystone"] | ||
}, | ||
{ | ||
"name": "@keystone-alpha/example-projects-blank", | ||
"type": "patch", | ||
"dependencies": ["@keystone-alpha/adapter-mongoose", "@keystone-alpha/keystone"] | ||
}, | ||
{ | ||
"name": "@keystone-alpha/example-projects-starter", | ||
"type": "patch", | ||
"dependencies": ["@keystone-alpha/adapter-mongoose", "@keystone-alpha/keystone"] | ||
}, | ||
{ | ||
"name": "@keystone-alpha/example-projects-todo", | ||
"type": "patch", | ||
"dependencies": ["@keystone-alpha/adapter-mongoose", "@keystone-alpha/keystone"] | ||
}, | ||
{ | ||
"name": "@keystone-alpha/test-utils", | ||
"type": "patch", | ||
"dependencies": [ | ||
"@keystone-alpha/adapter-knex", | ||
"@keystone-alpha/adapter-mongoose", | ||
"@keystone-alpha/keystone" | ||
] | ||
}, | ||
{ | ||
"name": "@keystone-alpha/cypress-project-access-control", | ||
"type": "patch", | ||
"dependencies": ["@keystone-alpha/adapter-mongoose", "@keystone-alpha/keystone"] | ||
}, | ||
{ | ||
"name": "@keystone-alpha/cypress-project-basic", | ||
"type": "patch", | ||
"dependencies": ["@keystone-alpha/adapter-mongoose", "@keystone-alpha/keystone"] | ||
}, | ||
{ | ||
"name": "@keystone-alpha/cypress-project-client-validation", | ||
"type": "patch", | ||
"dependencies": ["@keystone-alpha/adapter-mongoose", "@keystone-alpha/keystone"] | ||
}, | ||
{ | ||
"name": "@keystone-alpha/cypress-project-login", | ||
"type": "patch", | ||
"dependencies": ["@keystone-alpha/adapter-mongoose", "@keystone-alpha/keystone"] | ||
}, | ||
{ | ||
"name": "@keystone-alpha/cypress-project-social-login", | ||
"type": "patch", | ||
"dependencies": ["@keystone-alpha/adapter-mongoose", "@keystone-alpha/keystone"] | ||
} | ||
] | ||
} |
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,11 @@ | ||
The `.access` property of Lists is now keyed by `schemaName`. As such, a number of getters and methods have been replaced with methods which take `{ schemaName }`. | ||
|
||
* `getGqlTypes()` -> `getGqlTypes({ schemaName })` | ||
* `getGqlQueries()` -> `getGqlQueries({ schemaName })` | ||
* `get gqlFieldResolvers()` -> `gqlFieldResolvers({ schemaName })` | ||
* `get gqlAuxFieldResolvers()` -> `gqlAuxFieldResolvers({ schemaName })` | ||
* `get gqlAuxQueryResolvers()` -> `gqlAuxQueryResolvers({ schemaName })` | ||
* `get gqlAuxMutationResolvers()` -> `gqlAuxMutationResolvers({ schemaName })` | ||
* `getGqlMutations()` -> `getGqlMutations({ schemaName })` | ||
* `get gqlQueryResolvers()` -> `gqlQueryResolvers({ schemaName })` | ||
* `get gqlMutationResolvers()` -> `gqlMutationResolvers({ schemaName })` |
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.