Skip to content

Commit 550edb8

Browse files
committed
feat: support grade
1 parent de90fee commit 550edb8

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/common/profile/import.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ export const importUserExperienceEducation = async ({
219219
location,
220220
subtitle,
221221
flags,
222+
grade,
222223
} = userExperience;
223224

224225
const insertResult = await con.getRepository(UserExperienceEducation).insert(
@@ -238,6 +239,7 @@ export const importUserExperienceEducation = async ({
238239
con: con,
239240
})),
240241
subtitle,
242+
grade,
241243
}),
242244
);
243245

src/common/schema/profile.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ export const userExperienceEducationImportSchema = z.object({
148148
.transform((n) => (n === null ? undefined : n)),
149149
subtitle: z.string().nullish(),
150150
flags: z.object({ import: z.string() }).partial().optional(),
151+
grade: z.string().nullish(),
151152
});
152153

153154
export const userExperienceCertificationImportSchema = z.object({

0 commit comments

Comments
 (0)