Refactor documents page

Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
Émile Ré
2026-01-26 15:31:08 +04:00
parent a05ba46f82
commit 3f96869b6b
21 changed files with 1441 additions and 636 deletions

View File

@@ -8,18 +8,6 @@ import type { DocumentGraphSendSigningNotificationsMutation } from "#/__generate
import { useMutationWithToasts } from "../useMutationWithToasts";
export const documentsQuery = graphql`
query DocumentGraphListQuery($organizationId: ID!) {
organization: node(id: $organizationId) {
id
... on Organization {
canCreateDocument: permission(action: "core:document:create")
...DocumentsPageListFragment
}
}
}
`;
export const DocumentsConnectionKey = "DocumentsListQuery_documents";
const deleteDocumentMutation = graphql`