From 435b84215e0278965e593998cee0f7af5ededa02 Mon Sep 17 00:00:00 2001 From: CREDO23 Date: Fri, 19 Jun 2026 15:31:44 +0200 Subject: [PATCH] feat: expose chunk char spans on ChunkRead --- surfsense_backend/app/schemas/chunks.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/surfsense_backend/app/schemas/chunks.py b/surfsense_backend/app/schemas/chunks.py index 7fec0d445..685aa4762 100644 --- a/surfsense_backend/app/schemas/chunks.py +++ b/surfsense_backend/app/schemas/chunks.py @@ -17,4 +17,7 @@ class ChunkUpdate(ChunkBase): class ChunkRead(ChunkBase, IDModel, TimestampModel): + start_char: int | None = None + end_char: int | None = None + model_config = ConfigDict(from_attributes=True)