Skip to content

Commit

Permalink
refactor(csm): reuse root types
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan committed Apr 17, 2024
1 parent 3bf850f commit 4488dd0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sanity/client",
"version": "6.15.16-canary.0",
"version": "6.15.16-canary.1",
"description": "Client for retrieving, creating and patching data from Sanity.io",
"keywords": [
"sanity",
Expand Down
7 changes: 4 additions & 3 deletions src/csm/types.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import type {ContentSourceMap, ContentSourceMapDocuments, SanityDocument} from '../types'
import type {ContentSourceMap, ContentSourceMapDocuments, SanityDocument} from '@sanity/client'

import {Path} from './studioPath'

export type {IndexTuple, KeyedSegment, Path, PathSegment} from './studioPath'
export type {
Any,
ClientPerspective,
Expand All @@ -18,8 +20,7 @@ export type {
ContentSourceMapUnknownSource,
ContentSourceMapValueMapping,
SanityDocument,
} from '../types'
export type {IndexTuple, KeyedSegment, Path, PathSegment} from './studioPath'
} from '@sanity/client'

/**
* @alpha
Expand Down

0 comments on commit 4488dd0

Please sign in to comment.