import { markRaw } from "vue";
import FieldSeoInput from "./components/FieldSeoInput.vue";
import FieldMediaUrlInput from "./components/FieldMediaUrlInput.vue";

interface BuilderRegistry {
  registerComponent: (name: string, component: unknown) => void;
}

export function register(registry: BuilderRegistry): void {
  registry.registerComponent("FieldSeoInput", markRaw(FieldSeoInput));
  registry.registerComponent("FieldMediaUrlInput", markRaw(FieldMediaUrlInput));
}
