diff --git a/.changeset/plenty-fireants-deliver.md b/.changeset/plenty-fireants-deliver.md new file mode 100644 index 00000000000..153eec3134f --- /dev/null +++ b/.changeset/plenty-fireants-deliver.md @@ -0,0 +1,5 @@ +--- +'@keystone-6/core': patch +--- + +Fixes the inputData field type for FieldCreateItemAccessArgs diff --git a/packages/core/src/types/config/access-control.ts b/packages/core/src/types/config/access-control.ts index 5be5d5f5220..a0046335316 100644 --- a/packages/core/src/types/config/access-control.ts +++ b/packages/core/src/types/config/access-control.ts @@ -130,7 +130,7 @@ export type FieldCreateItemAccessArgs = /** * The input passed in from the GraphQL API */ - inputData: ListTypeInfo['item']; + inputData: ListTypeInfo['inputs']['create']; }; export type FieldReadItemAccessArgs =