24 lines
523 B
TypeScript
24 lines
523 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 defineNavbar(navbar: NavItem[]): NavItem[] {
|
|
return navbar
|
|
}
|
|
|
|
export type {
|
|
NotesDataOptions,
|
|
NotesItemOptions,
|
|
NotesItemOptions as NotesItem,
|
|
}
|