Skip to content

Commit

Permalink
feat!: remove exports for query options
Browse files Browse the repository at this point in the history
These shouldn't be exposed as they're mostly related to implementation
details.
  • Loading branch information
achou11 committed Dec 19, 2024
1 parent 327cbf1 commit 6246253
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,11 @@ export {
useSingleProject,
} from './hooks/projects.js'
export {
deviceInfoQueryOptions,
getClientQueryKey,
getDeviceInfoQueryKey,
getIsArchiveDeviceQueryKey,
isArchiveDeviceQueryOptions,
} from './lib/react-query/client.js'
export {
documentByDocumentIdQueryOptions,
documentByVersionIdQueryOptions,
documentsQueryOptions,
getDocumentByDocIdQueryKey,
getDocumentByVersionIdQueryKey,
getDocumentsQueryKey,
Expand All @@ -40,16 +35,12 @@ export {
export {
getInvitesQueryKey,
getPendingInvitesQueryKey,
pendingInvitesQueryOptions,
} from './lib/react-query/invites.js'
export {
getMapsQueryKey,
getStyleJsonUrlQueryKey,
mapStyleJsonUrlQueryOptions,
} from './lib/react-query/maps.js'
export {
attachmentUrlQueryOptions,
documentCreatedByQueryOptions,
getAttachmentUrlQueryKey,
getDocumentCreatedByQueryKey,
getIconUrlQueryKey,
Expand All @@ -59,11 +50,5 @@ export {
getProjectRoleQueryKey,
getProjectSettingsQueryKey,
getProjectsQueryKey,
iconUrlQueryOptions,
projectByIdQueryOptions,
projectMembersQueryOptions,
projectOwnRoleQueryOptions,
projectSettingsQueryOptions,
projectsQueryOptions,
} from './lib/react-query/projects.js'
export { ROOT_QUERY_KEY, baseQueryOptions } from './lib/react-query/shared.js'
export { ROOT_QUERY_KEY } from './lib/react-query/shared.js'

0 comments on commit 6246253

Please sign in to comment.