@hellowearemito/payload-plugin-recently-visited
Version:
A plugin for Payload CMS to list recently visited items on the admin dashboard
21 lines (20 loc) • 618 B
TypeScript
import type { Plugin } from 'payload';
export interface RecentlyVisitedPluginOptions {
/**
* Enable or disable plugin
* @default undefined
*/
enabled: boolean;
/**
* Admin user collection slug
* @default 'users'
*/
adminUsersCollectionSlug?: string;
/**
* CSS class for the breadcrumb last element
* – its useful if you have custom navigation, it expects the last item of the breadcrumb
* @default '.step-nav__last'
*/
breadcrumbClass?: string;
}
export declare const recentlyVisited: (pluginOptions: RecentlyVisitedPluginOptions) => Plugin;