From fcfead59a9137457d2e6134d5a2e25ab58aa581f Mon Sep 17 00:00:00 2001 From: Ash Date: Fri, 13 Sep 2024 11:46:38 +0100 Subject: [PATCH] fix: import/export --- packages/sanity/src/core/util/index.ts | 1 + .../src/structure/panes/documentList/listenSearchQuery.ts | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/sanity/src/core/util/index.ts b/packages/sanity/src/core/util/index.ts index 15ead1cc1903..a34f563d5d6e 100644 --- a/packages/sanity/src/core/util/index.ts +++ b/packages/sanity/src/core/util/index.ts @@ -9,6 +9,7 @@ export * from './isString' export * from './isTruthy' export * from './PartialExcept' export * from './resizeObserver' +export * from './resolvePerspective' export * from './schemaUtils' export * from './searchUtils' export * from './supportsTouch' diff --git a/packages/sanity/src/structure/panes/documentList/listenSearchQuery.ts b/packages/sanity/src/structure/panes/documentList/listenSearchQuery.ts index 5c817912e56b..b7eec40db0fc 100644 --- a/packages/sanity/src/structure/panes/documentList/listenSearchQuery.ts +++ b/packages/sanity/src/structure/panes/documentList/listenSearchQuery.ts @@ -19,12 +19,12 @@ import { createSearch, DRAFTS_FOLDER, getSearchableTypes, + resolvePerspective, type SanityDocumentLike, type Schema, + type SearchOptions, } from 'sanity' -import {type SearchOptions} from '../../../core/search' -import {resolvePerspective} from '../../../core/util/resolvePerspective' import {getExtendedProjection} from '../../structureBuilder/util/getExtendedProjection' // FIXME // eslint-disable-next-line boundaries/element-types