소스 검색

add: stores for pagination state

Aryan Kothari 9 달 전
부모
커밋
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;