mirror of
https://github.com/jcreek/OpenNetworkDiagram.git
synced 2026-07-12 18:43:44 +00:00
fix(#5): re-enable unresolved import checks with TS resolver
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import { json } from '@sveltejs/kit';
|
||||
import type { RequestHandler } from './$types';
|
||||
|
||||
import { validateNetworkData } from '$lib/data/networkSchema';
|
||||
import {
|
||||
@@ -8,6 +7,7 @@ import {
|
||||
readNetworkFile,
|
||||
writeNetworkFile
|
||||
} from '$lib/server/networkPersistence';
|
||||
import type { RequestHandler } from './$types';
|
||||
|
||||
function serializeValidationErrors(errors: Array<{ path: string; message: string }>) {
|
||||
return errors.map((issue) => ({
|
||||
|
||||
Reference in New Issue
Block a user