mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-08 22:22:17 +02:00
- Eliminated references to document editing in DocumentNode, FolderTreeView, and DocumentsSidebar for a cleaner interface. - Updated DocumentNode to enhance accessibility with keyboard interactions and improved click handling. - Adjusted layout in AllChatsSidebar and MobileSidebar for better user experience and consistency across components.
18 lines
475 B
TypeScript
18 lines
475 B
TypeScript
import { atom } from "jotai";
|
|
import type { GetDocumentsRequest } from "@/contracts/types/document.types";
|
|
|
|
export const globalDocumentsQueryParamsAtom = atom<GetDocumentsRequest["queryParams"]>({
|
|
page_size: 10,
|
|
page: 0,
|
|
});
|
|
|
|
export interface AgentCreatedDocument {
|
|
id: number;
|
|
title: string;
|
|
documentType: string;
|
|
workspaceId: number;
|
|
folderId: number | null;
|
|
createdById: string | null;
|
|
}
|
|
|
|
export const agentCreatedDocumentsAtom = atom<AgentCreatedDocument[]>([]);
|