MCPcopy Index your code
hub / github.com/callumalpass/tasknotes / registerBasesIntegration

Function registerBasesIntegration

src/bootstrap/pluginBootstrap.ts:228–244  ·  view source on GitHub ↗
(plugin: TaskNotesPlugin)

Source from the content-addressed store, hash-verified

226}
227
228export async function registerBasesIntegration(plugin: TaskNotesPlugin): Promise<void> {
229 if (!plugin.settings?.enableBases || plugin.basesRegistered) {
230 return;
231 }
232
233 try {
234 const { registerBasesTaskList } = await import("../bases/registration");
235 await registerBasesTaskList(plugin);
236 plugin.basesRegistered = true;
237 } catch (error) {
238 tasknotesLogger.debug("[TaskNotes][Bases] Registration failed:", {
239 category: "internal",
240 operation: "registration",
241 error: error,
242 });
243 }
244}
245
246export async function initializeHTTPAPI(plugin: TaskNotesPlugin): Promise<void> {
247 if (Platform.isMobile || !plugin.settings.enableAPI) {

Callers 2

onloadMethod · 0.90

Calls 2

registerBasesTaskListFunction · 0.85
debugMethod · 0.80

Tested by

no test coverage detected