[Refactor] Move zod schemas to schemas/ folder (#2753)

This commit is contained in:
Chenlei Hu
2025-02-27 13:05:01 -05:00
committed by GitHub
parent 96f02dbf80
commit cdf42d5ad7
71 changed files with 133 additions and 113 deletions

View File

@@ -1,7 +1,7 @@
import { createPinia, setActivePinia } from 'pinia'
import { useComboWidget } from '@/composables/widgets/useComboWidget'
import type { InputSpec } from '@/types/apiTypes'
import type { InputSpec } from '@/schemas/apiSchema'
jest.mock('@/scripts/widgets', () => ({
addValueControlWidgets: jest.fn()

View File

@@ -1,7 +1,7 @@
import axios from 'axios'
import { useRemoteWidget } from '@/composables/widgets/useRemoteWidget'
import type { ComboInputSpecV2 } from '@/types/apiTypes'
import type { ComboInputSpecV2 } from '@/schemas/apiSchema'
jest.mock('axios', () => ({
get: jest.fn()