From 49199819db69837f31227cfef3674fbaf8abca72 Mon Sep 17 00:00:00 2001 From: Aryan Kothari <87589047+thearyadev@users.noreply.github.com> Date: Thu, 1 Aug 2024 12:24:05 -0400 Subject: [PATCH] add: stores for pagination state --- src/lib/stores/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/stores/index.ts b/src/lib/stores/index.ts index 1b0257c4b..60a617185 100644 --- a/src/lib/stores/index.ts +++ b/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;