chore(admin-ui): fix pre-existing TypeScript errors
5 ошибок TS, накопленных за прошлые итерации — теперь pnpm tsc зелёный: - SchemaDrivenForm: убран unused import formatIsoDateTime + unused prop `path` (передавался в FieldRenderer, но FieldRendererProps его не объявлял и FieldBody не использовал) - dictionaries.$name: удалена неиспользуемая функция toIsoDate - api/client.ts: добавлен `$schema?: string` в JsonSchema type (используется в buildSchemaJson и тестируется в types.test.ts)
This commit is contained in:
@@ -41,6 +41,7 @@ export type DictionaryDefinition = {
|
||||
}
|
||||
|
||||
export type JsonSchema = {
|
||||
$schema?: string
|
||||
type?: string
|
||||
title?: string
|
||||
description?: string
|
||||
|
||||
Reference in New Issue
Block a user