mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-15 19:30:38 +08:00
Update codeLocationSchema with required Oid
We where missing an update for CodeLocation introduced in heartwood commit 2dea54c6eeb7bf3a177fac77ae04fd4aeadd772d
This commit is contained in:
@@ -63,9 +63,10 @@ export const rangeSchema = union([
|
||||
export type Range = z.infer<typeof rangeSchema>;
|
||||
|
||||
export const codeLocationSchema = object({
|
||||
commit: string(),
|
||||
path: string(),
|
||||
old: rangeSchema.optional(),
|
||||
new: rangeSchema.optional(),
|
||||
old: rangeSchema.nullable(),
|
||||
new: rangeSchema.nullable(),
|
||||
});
|
||||
|
||||
export type CodeLocation = z.infer<typeof codeLocationSchema>;
|
||||
|
||||
Reference in New Issue
Block a user