diff --git a/docs/pages/docs/apis/access-control.mdx b/docs/pages/docs/apis/access-control.mdx index 5c35e8722cb..0eb868ae858 100644 --- a/docs/pages/docs/apis/access-control.mdx +++ b/docs/pages/docs/apis/access-control.mdx @@ -56,7 +56,7 @@ If access is **denied** due to any of the access control methods, the following Operation-level access control lets you control which operations can be accessed by a user based on the `session` and `context`. Individual functions can be provided for each of the operations. -?> Each operation type *defaults to public* unless configured. +?> Each operation type _defaults to public_ unless configured. !> These functions must return `true` if the operation is allowed, or `false` if it is not allowed. @@ -93,7 +93,7 @@ Filter-level access control lets you restrict which items can be operated on by In general, the filter access control functions will return GraphQL filters. They can also return boolean values `true` or `false` to match or exclude all items. -?> Each `filter` type *defaults to an empty filter*, unless configured. +?> Each `filter` type _defaults to an empty filter_, unless configured. ```typescript import { config, list } from '@keystone-6/core'; @@ -138,7 +138,7 @@ Individual functions can be provided for each of the operations, with each funct - the **input data** of the mutation (for `create` and `update` operations), and/or - the **existing item** in the database (for `update` and `delete` operations). -?> Each `item` access type *defaults to public* unless configured. +?> Each `item` access type _defaults to public_ unless configured. !> These functions must return `true` if the operation is allowed, or `false` if it is not allowed. diff --git a/docs/pages/docs/apis/config.mdx b/docs/pages/docs/apis/config.mdx index 0c9af3d2561..ad0b1b71a50 100644 --- a/docs/pages/docs/apis/config.mdx +++ b/docs/pages/docs/apis/config.mdx @@ -447,7 +447,7 @@ S3 options: - `pathPrefix`: The prefix for the file, used to set the subfolder of your bucket files will be stored in. - `endpoint`: The endpoint to use - if provided, this endpoint will be used instead of the default amazon s3 endpoint - `forcePathStyle`: Force the old pathstyle of using the bucket name after the host -- `signed.expiry`: Use S3 URL signing to keep S3 assets private. `expiry` is in seconds +- `signed.expiry`: Use S3 URL signing to keep S3 assets private. `expiry` is in seconds ```typescript import { config } from '@keystone-6/core'; diff --git a/docs/pages/releases/2022-06-30.mdx b/docs/pages/releases/2022-06-30.mdx index fe4aba3b383..64301bda07b 100644 --- a/docs/pages/releases/2022-06-30.mdx +++ b/docs/pages/releases/2022-06-30.mdx @@ -31,6 +31,7 @@ Keystone now supports MySQL by setting `mysql` in your `db.provider` [see pull r - Fixes the generation of an invalid Prisma schema when `{field}.isIndexed: true` and `{field}.db.map` are set - [#7666](https://github.com/keystonejs/keystone/pull/7666) Thanks [@TonnyORG](https://github.com/TonnyORG)! ## Acknowledgements + Big shoutout to the following community members for their help in improving our documentation with their contributions: - [#7665](https://github.com/keystonejs/keystone/pull/7665) - [@EvonuX](https://github.com/EvonuX) diff --git a/examples/custom-session-validation/README.md b/examples/custom-session-validation/README.md index 074a869ab15..51a6e233270 100644 --- a/examples/custom-session-validation/README.md +++ b/examples/custom-session-validation/README.md @@ -137,4 +137,4 @@ export default myAuth( ## Try it out in CodeSandbox ๐Ÿงช -You can play with this example online in a web browser using the free [codesandbox.io](https://codesandbox.io/) service. To launch this example, open the URL https://githubbox.com/keystonejs/keystone/tree/main/examples/custom-session-validation. You can also fork this sandbox to make your own changes. +You can play with this example online in a web browser using the free [codesandbox.io](https://codesandbox.io/) service. To launch this example, open the URL . You can also fork this sandbox to make your own changes. diff --git a/examples/rest-api/routes/tasks.ts b/examples/rest-api/routes/tasks.ts index dc1101d0633..d800f2e445f 100644 --- a/examples/rest-api/routes/tasks.ts +++ b/examples/rest-api/routes/tasks.ts @@ -13,7 +13,7 @@ import type { Context } from '.keystone/types'; export async function getTasks(req: Request, res: Response) { // This was added by the context middleware in ../keystone.ts - const { context } = req as (typeof req & { context: Context }); + const { context } = req as typeof req & { context: Context }; // Let's map the `complete` query param to a where filter let isComplete;