From b0ab01ef6b715cafb12ecb2aa844a29c59c8a027 Mon Sep 17 00:00:00 2001 From: Leonardo Bishop Date: Mon, 11 Mar 2024 22:54:22 +0000 Subject: Update styles, add task type icons --- stores/session.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'stores') diff --git a/stores/session.ts b/stores/session.ts index 1938b63..acd2c66 100644 --- a/stores/session.ts +++ b/stores/session.ts @@ -14,7 +14,7 @@ export interface EditorQuest { rewards: string[]; startCommands?: string[]; startString?: string[]; - rewardString?: string[]; + rewardString?: string[]; placeholders?: { [key: string]: string }; options: { category: string; @@ -60,6 +60,10 @@ export interface EditorCategory { export interface TaskDefinition { description: string; + icon: { + style: string; + name: string; + } configuration: { [key: string]: { type: string | string[]; @@ -141,7 +145,7 @@ export const useSessionStore = defineStore('session', { changeQuestId(oldId: string, newId: string) { const quest = this.getQuestById(oldId); if (!quest) return; - + quest.id = newId }, deleteQuest(id: string) { -- cgit v1.2.3-70-g09d2