feat(admin-ui): codemod @nstart/ui → @/ui (Stage 2.2)

This commit is contained in:
Александр Зимин
2026-05-10 22:17:06 +00:00
parent 0710efb8ce
commit b7d2fbd7ce
34 changed files with 398 additions and 92 deletions
@@ -14,7 +14,7 @@ import {
TextInput,
type SelectOption,
type TabItem,
} from '@nstart/ui'
} from '@/ui'
import { useCreateDictionary, useUpdateDictionary } from '@/api/mutations'
import { dictionaryDetailQuery, useDictionaries } from '@/api/queries'
import type { CreateDictionaryRequest, DataScope, DictionaryDetail } from '@/api/client'
@@ -1,6 +1,6 @@
import { useState } from 'react'
import { useTranslation } from 'react-i18next'
import { Badge, Tabs, type TabItem } from '@nstart/ui'
import { Badge, Tabs, type TabItem } from '@/ui'
import { generateEventPreviews } from './eventPreview'
import type { DataScope, JsonSchema } from '@/api/client'
@@ -9,7 +9,7 @@ import {
TextInput,
TextArea,
type SelectOption,
} from '@nstart/ui'
} from '@/ui'
import { TrashIcon, ArrowUpIcon, ArrowDownIcon } from '@phosphor-icons/react'
import type { PropertyDef, PropertyKind } from './types'
import { PROPERTY_KINDS } from './types'
@@ -1,5 +1,5 @@
import { useTranslation } from 'react-i18next'
import { Button, EmptyState } from '@nstart/ui'
import { Button, EmptyState } from '@/ui'
import { PlusIcon } from '@phosphor-icons/react'
import { PropertyEditor } from './PropertyEditor'
import { newPropertyDef, type PropertyDef } from './types'