Merge Task 5: Extract CONFIG/GET_CONFIG to constants.ts

This commit is contained in:
Alexander Brown
2026-01-26 22:32:16 -08:00
2 changed files with 3 additions and 4 deletions

View File

@@ -19,7 +19,7 @@ import {
addValueControlWidgets,
isValidWidgetType
} from '@/scripts/widgets'
import { CONFIG, GET_CONFIG } from '@/services/litegraphService'
import { CONFIG, GET_CONFIG } from '@/lib/litegraph/constants'
import { mergeInputSpec } from '@/utils/nodeDefUtil'
import { applyTextReplacements } from '@/utils/searchAndReplace'
import { isPrimitiveNode } from '@/renderer/utils/nodeTypeGuards'

View File

@@ -1,5 +1,7 @@
import _ from 'es-toolkit/compat'
import { CONFIG, GET_CONFIG } from '@/lib/litegraph/constants'
export { CONFIG, GET_CONFIG }
import { downloadFile } from '@/base/common/downloadUtil'
import { useSelectedLiteGraphItems } from '@/composables/canvas/useSelectedLiteGraphItems'
import { useSubgraphOperations } from '@/composables/graph/useSubgraphOperations'
@@ -68,9 +70,6 @@ export interface HasInitialMinSize {
_initialMinSize: { width: number; height: number }
}
export const CONFIG = Symbol()
export const GET_CONFIG = Symbol()
/**
* Service that augments litegraph with ComfyUI specific functionality.
*/