fix: common initializer

This commit is contained in:
Palanikannan M
2025-04-02 15:44:52 +05:30
parent 9f441ef136
commit a74fdf235b
3 changed files with 8 additions and 4 deletions

View File

@@ -1,4 +1,3 @@
import {
DocumentHandler,
DocumentFetchParams,
@@ -6,7 +5,12 @@ import {
HandlerDefinition,
} from "@/core/types/document-handler";
import { handlerFactory } from "@/core/handlers/document-handlers/handler-factory";
import { fetchPageDescriptionBinary, updatePageDescription ,fetchProjectPageTitle, updateProjectPageTitle } from "./handlers";
import {
fetchPageDescriptionBinary,
updatePageDescription,
fetchProjectPageTitle,
updateProjectPageTitle,
} from "./handlers";
/**
* Handler for "project_page" document type

View File

@@ -1,4 +1,4 @@
import { registerProjectPageHandler } from "./project-page-handler";
import { registerProjectPageHandler } from "./project-page";
export function initializeDocumentHandlers() {
registerProjectPageHandler();

View File

@@ -4,7 +4,7 @@ import { handlerFactory } from "@/core/handlers/document-handlers/handler-factor
import { HocusPocusServerContext } from "@/core/types/common";
import { initializeDocumentHandlers } from "@/plane-live/document-types";
// Initialize all CE document handlers
// initialize all document handlers
initializeDocumentHandlers();
/**