MCPcopy Create free account
hub / github.com/TabularisDB/tabularis / validateSlotName

Function validateSlotName

src/utils/pluginModuleLoader.ts:6–8  ·  view source on GitHub ↗
(slot: string)

Source from the content-addressed store, hash-verified

4import { VALID_SLOTS } from "../types/pluginSlots";
5
6function validateSlotName(slot: string): SlotName | null {
7 return VALID_SLOTS.has(slot) ? (slot as SlotName) : null;
8}
9
10/**
11 * Loads a single UI extension module dynamically.

Callers 1

loadUIExtensionModuleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected