From a072c91cc0dc26e417c51f666e8547e08ef40942 Mon Sep 17 00:00:00 2001
From: Leonardo Bishop <me@leonardobishop.com>
Date: Tue, 12 Mar 2024 23:18:23 +0000
Subject: Add import from file system

---
 layouts/editor.vue | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

(limited to 'layouts/editor.vue')

diff --git a/layouts/editor.vue b/layouts/editor.vue
index 7275651..d37a285 100644
--- a/layouts/editor.vue
+++ b/layouts/editor.vue
@@ -1,19 +1,11 @@
 <script setup lang="ts">
 import { useSessionStore } from '@/stores/session';
-import { loadQuestsFromJson, loadCategoriesFromJson, loadItemsFromJson } from '@/lib/questsLoader';
-import testData from '@/data/testData.json';
 import taskDefinitions from '@/data/taskDefinitions.json';
 
 const sessionStore = useSessionStore();
 
-const quests = loadQuestsFromJson(testData.quests);
-const categories = loadCategoriesFromJson(testData.categories);
-const items = loadItemsFromJson(testData.items);
-
-sessionStore.setQuests(quests);
-sessionStore.setCategories(categories);
-sessionStore.setItems(items);
 sessionStore.setTaskDefinitions(taskDefinitions.taskTypes);
+sessionStore.setTaskTypeAliases(taskDefinitions.aliases);
 // sessionStore.updateEditorCategories();
 </script>
 
-- 
cgit v1.2.3-70-g09d2

