diff options
Diffstat (limited to 'stores')
| -rw-r--r-- | stores/session.ts | 8 |
1 files changed, 6 insertions, 2 deletions
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) { |
