fix(client): c# cert id (#62858)

This commit is contained in:
Tom
2025-10-18 11:56:19 -05:00
committed by GitHub
parent 05d61044ef
commit d53e88ac14
4 changed files with 109 additions and 9 deletions
+10 -4
View File
@@ -793,7 +793,7 @@ const allStandardCerts = [
]
},
{
id: '647e3159823e0ef219c7359b',
id: '647f7da207d29547b3bee1ba',
title: 'Foundational C# with Microsoft',
certSlug: Certification.FoundationalCSharp,
projects: [
@@ -952,12 +952,12 @@ const allStandardCerts = [
]
},
{
id: '682c3153086dd7cabe7f48bc',
id: '68f1268149f045a650d4229e',
title: 'A1 Professional Chinese',
certSlug: Certification.A1Chinese,
projects: [
{
id: '682c2753317b88f1ecdad894',
id: '688f1daf0133dbe2a36b140b',
title: 'Dialogue 1: PLACEHOLDER',
link: `${a1ChineseBase}/learn-essential-courtesies-at-the-office
/text-1`,
@@ -1008,6 +1008,12 @@ const upcomingCerts = allStandardCerts.filter((cert): cert is UpcomingCert =>
const liveCerts = showUpcomingChanges
? [...currentCerts, ...legacyCerts, fullstackCert, ...upcomingCerts]
: [...currentCerts, ...legacyCerts, fullstackCert];
const allCerts = [
...currentCerts,
...legacyCerts,
fullstackCert,
...upcomingCerts
];
type CertsToProjects = Record<
(typeof allStandardCerts)[number]['certSlug'],
@@ -1025,4 +1031,4 @@ export type CertTitle =
| (typeof liveCerts)[number]['title']
| 'Legacy Full Stack';
export { liveCerts, certsToProjects };
export { liveCerts, certsToProjects, allCerts };