Some work on NSI

This commit is contained in:
Pieter Vander Vennet 2024-04-30 15:59:07 +02:00
parent 1dc7c2a45b
commit d719d0e1be
4 changed files with 112 additions and 77 deletions

View file

@ -1,4 +1,8 @@
import SvelteUIElement from "./UI/Base/SvelteUIElement"
import Test from "./UI/Test.svelte"
import NameSuggestionIndex from "./Logic/Web/NameSuggestionIndex"
const nsi = NameSuggestionIndex.get()
const secondhandshops = nsi.getSuggestionsFor("brands/shop/second_hand", ["be"])
console.log(secondhandshops)
new SvelteUIElement(Test).AttachTo("maindiv")