Просмотр исходного кода

add: stores for pagination state

Aryan Kothari 9 месяцев назад
Родитель
Сommit
49199819db
1 измененных файлов с 3 добавлено и 0 удалено
  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;