diff --git a/packages/@sanity/schema/package.json b/packages/@sanity/schema/package.json index cbd192d2c6a..2ee2314dfe7 100644 --- a/packages/@sanity/schema/package.json +++ b/packages/@sanity/schema/package.json @@ -31,6 +31,7 @@ "license": "MIT", "dependencies": { "@sanity/generate-help-url": "^3.0.0", + "@sanity/types": "2.35.0", "arrify": "^1.0.1", "humanize-list": "^1.0.1", "leven": "^3.1.0", diff --git a/packages/@sanity/schema/src/legacy/searchConfig/resolve.ts b/packages/@sanity/schema/src/legacy/searchConfig/resolve.ts index aba632cc0d5..b7f83073619 100644 --- a/packages/@sanity/schema/src/legacy/searchConfig/resolve.ts +++ b/packages/@sanity/schema/src/legacy/searchConfig/resolve.ts @@ -7,7 +7,7 @@ import { isReferenceSchemaType, ObjectSchemaType, SchemaType, -} from '../../../../types' +} from '@sanity/types' import {stringsToNumbers} from './normalize' interface SearchPath {