improve: add filepath in editoutcome dev data

This commit is contained in:
uinstinct 2025-07-24 19:52:53 +05:30
parent 13c1b0c5c0
commit 90f703724d
3 changed files with 3 additions and 0 deletions

View file

@ -65,6 +65,7 @@ class EditOutcomeTracker {
newCodeLines: pendingEdit.newCodeLines,
lineChange: pendingEdit.lineChange,
accepted,
filepath: pendingEdit.filepath,
},
});

View file

@ -12,4 +12,5 @@ export const editOutcomeEventAllSchema = baseDevDataAllSchema.extend({
newCodeLines: z.number(),
lineChange: z.number(),
accepted: z.boolean(),
filepath: z.string(),
});

View file

@ -20,6 +20,7 @@ export const editOutcomeEventSchema_0_2_0 = editOutcomeEventAllSchema.pick({
previousCodeLines: true,
newCodeLines: true,
lineChange: true,
filepath: true,
});
export const editOutcomeEventSchema_0_2_0_noCode =