mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-25 22:34:56 +00:00
code: nextjs,frontends,component (3 files)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { getAdapter } from '../../dbal-client'
|
||||
import { getAdapter } from '../../core/dbal-client'
|
||||
import type { ComponentNode } from '../types'
|
||||
|
||||
export async function getComponentHierarchy(): Promise<Record<string, ComponentNode>> {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { getAdapter } from '../dbal-client'
|
||||
import { getAdapter } from '../../dbal-client'
|
||||
import type { ComponentNode } from '../types'
|
||||
|
||||
export async function setComponentHierarchy(hierarchy: Record<string, ComponentNode>): Promise<void> {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { getAdapter } from '../dbal-client'
|
||||
import { getAdapter } from '../../dbal-client'
|
||||
import type { ComponentNode } from '../types'
|
||||
|
||||
export async function addComponentNode(node: ComponentNode): Promise<void> {
|
||||
|
||||
Reference in New Issue
Block a user