chore(react/collections): calculate note Ids

This commit is contained in:
Elian Doran
2025-08-30 15:11:49 +03:00
parent 5fb843268f
commit ecf44deecf
9 changed files with 245 additions and 207 deletions

View File

@@ -1,5 +1,5 @@
import type { ViewModeArgs } from "../view_widgets/view_mode";
const allViewTypes = ["list", "grid", "calendar", "table", "geoMap", "board"] as const;
export const allViewTypes = ["list", "grid", "calendar", "table", "geoMap", "board"] as const;
export type ArgsWithoutNoteId = Omit<ViewModeArgs, "noteIds">;
export type ViewTypeOptions = typeof allViewTypes[number];