improve: add filepath in editoutcome dev data
This commit is contained in:
parent
13c1b0c5c0
commit
90f703724d
3 changed files with 3 additions and 0 deletions
|
|
@ -65,6 +65,7 @@ class EditOutcomeTracker {
|
|||
newCodeLines: pendingEdit.newCodeLines,
|
||||
lineChange: pendingEdit.lineChange,
|
||||
accepted,
|
||||
filepath: pendingEdit.filepath,
|
||||
},
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -12,4 +12,5 @@ export const editOutcomeEventAllSchema = baseDevDataAllSchema.extend({
|
|||
newCodeLines: z.number(),
|
||||
lineChange: z.number(),
|
||||
accepted: z.boolean(),
|
||||
filepath: z.string(),
|
||||
});
|
||||
|
|
|
|||
|
|
@ -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 =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue