Skip to content

Commit

Permalink
fix: cleanup main exports
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoerge committed Nov 6, 2023
1 parent 3d0b12f commit a25b833
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
export type * from './mutations/types'
export * from './mutations/creators'
export * from './mutations/autoKeys'
export type * from './mutations/operations/types'
export * from './mutations/operations/creators'

export type * from './path'
import * as SanityEncoder from './encoders/sanity'
import * as CompactEncoder from './encoders/compact'
export {SanityEncoder, CompactEncoder}

import * as CompactFormatter from './formatters/compact'
export {CompactFormatter}

// -- support types --
export type * from './mutations/operations/types'
export type * from './mutations/types'
export type * from './path/types'
export type * from './path/get/types'
export type * from './path/parser/types'

export type {Arrify} from './utils/arrify'
export type {
Expand All @@ -14,10 +24,4 @@ export type {
NormalizeReadOnlyArray,
AnyArray,
} from './utils/typeUtils'

import * as SanityEncoder from './encoders/sanity'
import * as CompactEncoder from './encoders/compact'
export {SanityEncoder, CompactEncoder}

import * as CompactFormatter from './formatters/compact'
export {CompactFormatter}
// /-- support types --

0 comments on commit a25b833

Please sign in to comment.