Browse Source

add: stores for pagination state

Aryan Kothari 9 months ago
parent
commit
49199819db
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/lib/stores/index.ts

+ 3 - 0
src/lib/stores/index.ts

@@ -41,6 +41,9 @@ export const showSettings = writable(false);
 export const showArchivedChats = writable(false);
 export const showChangelog = writable(false);
 export const showCallOverlay = writable(false);
+export const scrollPaginationEnabled = writable(true);
+export const pageSkip = writable(0);
+export const pageLimit = writable(-1);
 
 export type Model = OpenAIModel | OllamaModel;