mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-23 10:58:13 +08:00
31 lines
661 B
TypeScript
31 lines
661 B
TypeScript
import type {
|
|
NotesDataOptions,
|
|
NotesItemOptions,
|
|
} from '@vuepress-plume/plugin-notes-data'
|
|
import type { NavItem } from '../shared/index.js'
|
|
|
|
export function definePlumeNotesConfig(notes: NotesDataOptions): NotesDataOptions {
|
|
return notes
|
|
}
|
|
|
|
export function definePlumeNotesItemConfig(item: NotesItemOptions): NotesItemOptions {
|
|
return item
|
|
}
|
|
|
|
export function defineNavbarConfig(navbar: NavItem[]): NavItem[] {
|
|
return navbar
|
|
}
|
|
|
|
/**
|
|
* @deprecated move to `defineNavbarConfig`
|
|
*/
|
|
export function defineNavbar(navbar: NavItem[]): NavItem[] {
|
|
return navbar
|
|
}
|
|
|
|
export type {
|
|
NotesDataOptions,
|
|
NotesItemOptions,
|
|
NotesItemOptions as NotesItem,
|
|
}
|