We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
name
1 parent 1e30572 commit 43b39cfCopy full SHA for 43b39cf
1 file changed
plugins/@sanity/presets/src/types.ts
@@ -2,4 +2,5 @@ import type {DefineSchemaBase, IntrinsicTypeName, PreviewConfig} from 'sanity'
2
3
export type PartialSchemaDefinition<TypeName extends IntrinsicTypeName> = Partial<
4
DefineSchemaBase<TypeName, TypeName> & {preview: PreviewConfig}
5
->
+> &
6
+ Pick<DefineSchemaBase<TypeName, TypeName>, 'name'>
0 commit comments