Skip to content

Commit

Permalink
Remove unused description from FieldConfig.ui type (#5575)
Browse files Browse the repository at this point in the history
  • Loading branch information
timleslie committed Apr 29, 2021
1 parent d216fd0 commit fdebf79
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/funny-rings-drum.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@keystone-next/types': patch
---

Removed unused `description` field from `FieldConfig.ui` type.
1 change: 0 additions & 1 deletion packages-next/types/src/config/fields.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ export type FieldConfig<TGeneratedListTypes extends BaseGeneratedListTypes> = {
label?: string;
ui?: {
views?: string;
description?: string;
createView?: { fieldMode?: MaybeSessionFunction<'edit' | 'hidden'> };
listView?: { fieldMode?: MaybeSessionFunction<'read' | 'hidden'> };
itemView?: { fieldMode?: MaybeItemFunction<'edit' | 'read' | 'hidden'> };
Expand Down

1 comment on commit fdebf79

@vercel
Copy link

@vercel vercel bot commented on fdebf79 Apr 30, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.