alinea
Version:
[](https://npmjs.org/package/alinea) [](https://packagephobia.com/result?p=alinea)
11 lines (10 loc) • 545 B
TypeScript
export declare const useNav: () => {
matchEntry: "/entry/*";
matchEntryId: "/:action/:workspace/:root?/:entryId?";
matchWorkspace: "/:action/:workspace";
matchRoot: "/:action/:workspace/:root";
root: ({ entryId, i18nId, ...location }: import("../DashboardNav.js").EntryLocation) => string;
entry: (location: import("../DashboardNav.js").EntryLocation) => string;
draft: (location: import("../DashboardNav.js").EntryLocation) => string;
create: (location: import("../DashboardNav.js").EntryLocation) => string;
};