mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-26 06:44:58 +00:00
code: nextjs,frontends,config (3 files)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { getAdapter } from '../dbal-client'
|
||||
import { getAdapter } from '../../../../core/dbal-client'
|
||||
import type { ComponentConfig } from '../types'
|
||||
|
||||
export async function addComponentConfig(config: ComponentConfig): Promise<void> {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { getAdapter } from '../dbal-client'
|
||||
import { getAdapter } from '../../../../core/dbal-client'
|
||||
|
||||
export async function deleteComponentConfig(configId: string): Promise<void> {
|
||||
const adapter = getAdapter()
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { getAdapter } from '../dbal-client'
|
||||
import { getAdapter } from '../../../../core/dbal-client'
|
||||
import type { ComponentConfig } from '../types'
|
||||
|
||||
export async function updateComponentConfig(configId: string, updates: Partial<ComponentConfig>): Promise<void> {
|
||||
|
||||
Reference in New Issue
Block a user