recent-notes/dist/index.d.ts
saberzero1 730f91b271
chore: commit dist/ and remove prepare script
Pre-built output is now committed to the repository so that
Quartz can skip the build step during plugin installation.
The prepare script is removed to prevent redundant builds
when installing from npm/git.
2026-03-14 22:00:53 +01:00

25 lines
786 B
TypeScript

import { QuartzComponent } from '@quartz-community/types';
export { QuartzComponent, QuartzComponentProps, StringResource } from '@quartz-community/types';
interface QuartzPluginData {
slug?: string;
filePath?: string;
dates?: Record<string, Date>;
frontmatter?: {
title?: string;
tags?: string[];
[key: string]: unknown;
};
[key: string]: unknown;
}
interface RecentNotesOptions {
title?: string;
limit: number;
linkToMore: string | false;
showTags: boolean;
filter: (f: QuartzPluginData) => boolean;
sort: (f1: QuartzPluginData, f2: QuartzPluginData) => number;
}
declare const _default: (userOpts?: Partial<RecentNotesOptions>) => QuartzComponent;
export { _default as RecentNotes, type RecentNotesOptions };