From 27b04933064b51e2295f1858b77b3ee0e386f972 Mon Sep 17 00:00:00 2001 From: Chenlei Hu Date: Fri, 22 Nov 2024 18:55:44 -0800 Subject: [PATCH] Move files to constants/ (#1650) --- src/{stores => constants}/coreKeybindings.ts | 0 src/{stores => constants}/coreSettings.ts | 0 src/stores/keybindingStore.ts | 2 +- src/stores/settingStore.ts | 2 +- 4 files changed, 2 insertions(+), 2 deletions(-) rename src/{stores => constants}/coreKeybindings.ts (100%) rename src/{stores => constants}/coreSettings.ts (100%) diff --git a/src/stores/coreKeybindings.ts b/src/constants/coreKeybindings.ts similarity index 100% rename from src/stores/coreKeybindings.ts rename to src/constants/coreKeybindings.ts diff --git a/src/stores/coreSettings.ts b/src/constants/coreSettings.ts similarity index 100% rename from src/stores/coreSettings.ts rename to src/constants/coreSettings.ts diff --git a/src/stores/keybindingStore.ts b/src/stores/keybindingStore.ts index 057e8c6ac7..5972bac348 100644 --- a/src/stores/keybindingStore.ts +++ b/src/stores/keybindingStore.ts @@ -2,7 +2,7 @@ import { defineStore } from 'pinia' import { computed, Ref, ref, toRaw } from 'vue' import { Keybinding, KeyCombo } from '@/types/keyBindingTypes' import { useSettingStore } from './settingStore' -import { CORE_KEYBINDINGS } from './coreKeybindings' +import { CORE_KEYBINDINGS } from '@/constants/coreKeybindings' import type { ComfyExtension } from '@/types/comfy' export class KeybindingImpl implements Keybinding { diff --git a/src/stores/settingStore.ts b/src/stores/settingStore.ts index a68a45fba9..5b67d9945d 100644 --- a/src/stores/settingStore.ts +++ b/src/stores/settingStore.ts @@ -16,7 +16,7 @@ import type { SettingParams } from '@/types/settingTypes' import type { TreeNode } from 'primevue/treenode' import type { ComfyExtension } from '@/types/comfy' import { buildTree } from '@/utils/treeUtil' -import { CORE_SETTINGS } from '@/stores/coreSettings' +import { CORE_SETTINGS } from '@/constants/coreSettings' export interface SettingTreeNode extends TreeNode { data?: SettingParams