Skip to content

Commit

Permalink
chore(plugin-nested-docs): export the getParents utility (#6325)
Browse files Browse the repository at this point in the history
  • Loading branch information
Livog authored and JessChowdhury committed May 13, 2024
1 parent be23ffa commit a8a9773
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/plugin-nested-docs/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ import { createParentField } from './fields/parent.js'
import { parentFilterOptions } from './fields/parentFilterOptions.js'
import { resaveChildren } from './hooks/resaveChildren.js'
import { resaveSelfAfterCreate } from './hooks/resaveSelfAfterCreate.js'
import { getParents } from './utilities/getParents.js'
import { populateBreadcrumbs } from './utilities/populateBreadcrumbs.js'

export { createBreadcrumbsField, createParentField }
export { createBreadcrumbsField, createParentField, getParents }

export const nestedDocsPlugin =
(pluginConfig: NestedDocsPluginConfig): Plugin =>
Expand Down

0 comments on commit a8a9773

Please sign in to comment.