> ## Documentation Index
> Fetch the complete documentation index at: https://uom-demo.vercel.app/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Utils

## Variables

### FrameworkInfo

```ts theme={null}
const FrameworkInfo: Record<FrameworkType, FrameworkInfoType>;
```

Defined in: [lib/utils.ts:28](https://github.com/corovcam/Universal-Object-Mapping/blob/main/frontend/uom-translator-ui/lib/utils.ts#L28)

Metadata registry mapping each FrameworkType to its execution properties:

* Human-readable name
* Backend runtime environment (LanguageType)
* Required Daytona sandbox container image (SandboxType)
* Directionality flag (whether it acts as migration source or target)

***

### getFrameworkTypeByName

```ts theme={null}
const getFrameworkTypeByName: (name: string) => FrameworkType | null;
```

Defined in: [lib/utils.ts:73](https://github.com/corovcam/Universal-Object-Mapping/blob/main/frontend/uom-translator-ui/lib/utils.ts#L73)

Helper function to retrieve a FrameworkType enum key by matching its human-readable name.
Useful for parsing responses from LangGraph agent state outputs.

#### Parameters

##### name

`string`

The human-readable name of the framework (e.g. "Java Spring Data Neo4j").

#### Returns

[`FrameworkType`](types.mdx#frameworktype) | `null`

The corresponding FrameworkType enum value, or null if no match is found.

## Functions

### cn()

```ts theme={null}
function cn(...inputs: ClassValue[]): string;
```

Defined in: [lib/utils.ts:17](https://github.com/corovcam/Universal-Object-Mapping/blob/main/frontend/uom-translator-ui/lib/utils.ts#L17)

Utility to merge Tailwind CSS classes dynamically without style conflicts.
Combines `clsx` for conditional class joining and `tailwind-merge` to handle overrides.

#### Parameters

##### inputs

...`ClassValue`\[]

List of class names, arrays, or conditional objects.

#### Returns

`string`

The resolved and merged class name string.
