chore(react/collections): fix imports of ViewTypeOptions

This commit is contained in:
Elian Doran
2025-08-30 14:32:06 +03:00
parent ffb90c2b4b
commit 5fb843268f
10 changed files with 13 additions and 13 deletions

View 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];