mirror of
https://github.com/zadam/trilium.git
synced 2025-11-15 01:35:51 +01:00
chore(react/collections): fix imports of ViewTypeOptions
This commit is contained in:
5
apps/client/src/widgets/collections/interface.ts
Normal file
5
apps/client/src/widgets/collections/interface.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import type { ViewModeArgs } from "../view_widgets/view_mode";
|
||||
|
||||
const allViewTypes = ["list", "grid", "calendar", "table", "geoMap", "board"] as const;
|
||||
export type ArgsWithoutNoteId = Omit<ViewModeArgs, "noteIds">;
|
||||
export type ViewTypeOptions = typeof allViewTypes[number];
|
||||
Reference in New Issue
Block a user