@learncard/core 6.3.1 → 6.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core.cjs.development.js +4 -3
- package/dist/core.cjs.development.js.map +2 -2
- package/dist/core.cjs.production.min.js +24 -24
- package/dist/core.cjs.production.min.js.map +2 -2
- package/dist/core.d.ts +18 -49
- package/dist/core.esm.js +4 -3
- package/dist/core.esm.js.map +2 -2
- package/package.json +2 -2
@@ -42192,7 +42192,7 @@ var AlignmentValidator = mod.object({
|
|
42192
42192
|
targetType: AlignmentTargetTypeValidator.optional(),
|
42193
42193
|
targetUrl: mod.string()
|
42194
42194
|
});
|
42195
|
-
var
|
42195
|
+
var KnownAchievementTypeValidator = mod.enum([
|
42196
42196
|
"Achievement",
|
42197
42197
|
"ApprenticeshipCertificate",
|
42198
42198
|
"Assessment",
|
@@ -42224,7 +42224,8 @@ var AchievementTypeValidator = mod.enum([
|
|
42224
42224
|
"MicroCredential",
|
42225
42225
|
"ResearchDoctorate",
|
42226
42226
|
"SecondarySchoolDiploma"
|
42227
|
-
])
|
42227
|
+
]);
|
42228
|
+
var AchievementTypeValidator = KnownAchievementTypeValidator.or(mod.string());
|
42228
42229
|
var CriteriaValidator = mod.object({ id: mod.string().optional(), narrative: mod.string().optional() }).catchall(mod.any());
|
42229
42230
|
var EndorsementSubjectValidator = mod.object({
|
42230
42231
|
id: mod.string(),
|
@@ -42383,7 +42384,7 @@ var IDXCredentialValidator = mod.object({
|
|
42383
42384
|
id: mod.string(),
|
42384
42385
|
title: mod.string(),
|
42385
42386
|
storageType: StorageTypeValidator.optional()
|
42386
|
-
});
|
42387
|
+
}).catchall(mod.any());
|
42387
42388
|
var JWKValidator = mod.object({
|
42388
42389
|
kty: mod.string(),
|
42389
42390
|
crv: mod.string(),
|