- CTE approach

- Remove closure table usage
This commit is contained in:
Philipinho
2026-01-11 04:36:32 +00:00
parent 4c635b4faf
commit a5696bb8e8
11 changed files with 219 additions and 727 deletions
@@ -6,7 +6,6 @@ export enum QueueName {
FILE_TASK_QUEUE = '{file-task-queue}',
SEARCH_QUEUE = '{search-queue}',
AI_QUEUE = '{ai-queue}',
HIERARCHY_QUEUE = '{hierarchy-queue}',
}
export enum QueueJob {
@@ -59,8 +58,4 @@ export enum QueueJob {
GENERATE_PAGE_EMBEDDINGS = 'generate-page-embeddings',
DELETE_PAGE_EMBEDDINGS = 'delete-page-embeddings',
REBUILD_HIERARCHY_ALL = 'rebuild-hierarchy-all',
REBUILD_HIERARCHY_ALL_BY_SPACE = 'rebuild-hierarchy-all-by-space',
REBUILD_HIERARCHY_SPACE = 'rebuild-hierarchy-space',
}
@@ -1,5 +1,4 @@
import { MentionNode } from "../../../common/helpers/prosemirror/utils";
import { MentionNode } from '../../../common/helpers/prosemirror/utils';
export interface IPageBacklinkJob {
pageId: string;
@@ -9,8 +8,4 @@ export interface IPageBacklinkJob {
export interface IStripeSeatsSyncJob {
workspaceId: string;
}
export interface IRebuildHierarchyJob {
spaceId?: string;
}