migrate LSP data schemas to Effect Schema (#23745)

This commit is contained in:
Kit Langton 2026-04-21 17:26:50 -04:00 committed by GitHub
commit 7933657135
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 52 additions and 57 deletions

View file

@ -159,7 +159,7 @@ export const FileSource = FilePartSourceBase.extend({
export const SymbolSource = FilePartSourceBase.extend({
type: z.literal("symbol"),
path: z.string(),
range: LSP.Range,
range: LSP.Range.zod,
name: z.string(),
kind: z.number().int(),
}).meta({