mirror of
https://github.com/makeplane/plane.git
synced 2026-02-24 20:20:49 +01:00
fix: common initializer
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { registerProjectPageHandler } from "./project-page-handler";
|
||||
import { registerProjectPageHandler } from "./project-page";
|
||||
|
||||
export function initializeDocumentHandlers() {
|
||||
registerProjectPageHandler();
|
||||
|
||||
@@ -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();
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user