Skip to content

Commit

Permalink
Merge branch 'master' into bring-in-latest-website-changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bladey authored Oct 5, 2021
2 parents bb84006 + a7a4029 commit e853505
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/fields-document/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
]
},
"peerDependencies": {
"@keystone-next/keystone": "^26.0.0"
"@keystone-next/keystone": "^26.0.1"
},
"dependencies": {
"@babel/runtime": "^7.15.4",
Expand Down
6 changes: 6 additions & 0 deletions packages/keystone/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @keystone-next/keystone

## 26.0.1

### Patch Changes

- [#6711](https://github.com/keystonejs/keystone/pull/6711) [`1a0614351`](https://github.com/keystonejs/keystone/commit/1a0614351808d4cb024840308fcc8288860e1de5) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Fix `KeystoneContext` type exported from `.keystone/types`

## 26.0.0

### Major Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/keystone/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@keystone-next/keystone",
"version": "26.0.0",
"version": "26.0.1",
"license": "MIT",
"main": "dist/keystone.cjs.js",
"module": "dist/keystone.esm.js",
Expand Down
6 changes: 3 additions & 3 deletions packages/keystone/src/lib/schema-type-printer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,9 @@ export type ${listKey}ListFn = (
export type KeystoneListsAPI = GenericKeystoneListsAPI<KeystoneListsTypeInfo>;
export type KeystoneDbAPI = GenericKeystoneDbAPI<KeystoneListsTypeInfo>;
export type KeystoneContext = Omit<GenericKeystoneContext, 'db' | 'lists' | 'prisma'> & {
db: { lists: KeystoneDbAPI };
lists: KeystoneListsAPI;
export type KeystoneContext = Omit<GenericKeystoneContext, 'db' | 'query' | 'prisma'> & {
db: KeystoneDbAPI;
query: KeystoneListsAPI;
prisma: import('.prisma/client').PrismaClient;
};
`;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,10 @@ export type KeystoneDbAPI = GenericKeystoneDbAPI<KeystoneListsTypeInfo>;
export type KeystoneContext = Omit<
GenericKeystoneContext,
'db' | 'lists' | 'prisma'
'db' | 'query' | 'prisma'
> & {
db: { lists: KeystoneDbAPI };
lists: KeystoneListsAPI;
db: KeystoneDbAPI;
query: KeystoneListsAPI;
prisma: import('.prisma/client').PrismaClient;
};
Expand Down

0 comments on commit e853505

Please sign in to comment.