Skip to content

Commit

Permalink
refactor: export all in root
Browse files Browse the repository at this point in the history
  • Loading branch information
angeloashmore committed May 10, 2021
1 parent 38052d2 commit 2bdfd3f
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
export { getEndpoint } from './getEndpoint'
export { createClient, Client } from './client'
export { buildQueryURL } from './buildQueryURL'
// Primary library API.
export * from './getEndpoint'
export * from './buildQueryURL'
export * from './client'

// A collection of well-known cookies shared between Prismic libraries and systems.
export * as cookie from './cookie'
export * from './types'

export type { ClientConfig } from './client'
export type { QueryParams, BuildQueryURLArgs } from './buildQueryURL'
// General types used throughout the project. These are made public to allow users to better type their projects.
export * from './types'

0 comments on commit 2bdfd3f

Please sign in to comment.