@learncard/types 5.12.1 → 5.12.2
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/lcn.d.ts +10 -0
- package/dist/lcn.d.ts.map +1 -1
- package/dist/types.cjs.development.js +6 -2
- package/dist/types.cjs.development.js.map +2 -2
- package/dist/types.cjs.production.min.js +1 -1
- package/dist/types.cjs.production.min.js.map +2 -2
- package/dist/types.esm.js +6 -2
- package/dist/types.esm.js.map +2 -2
- package/package.json +1 -1
package/dist/types.esm.js
CHANGED
|
@@ -1350,6 +1350,7 @@ var SkillFrameworkValidator = z9.object({
|
|
|
1350
1350
|
description: z9.string().optional(),
|
|
1351
1351
|
image: z9.string().optional(),
|
|
1352
1352
|
sourceURI: z9.string().url().optional(),
|
|
1353
|
+
isPublic: z9.boolean().default(false),
|
|
1353
1354
|
status: SkillFrameworkStatusEnum.default("active"),
|
|
1354
1355
|
createdAt: z9.string().optional(),
|
|
1355
1356
|
updatedAt: z9.string().optional()
|
|
@@ -1388,6 +1389,7 @@ var CreateManagedFrameworkInputValidator = z9.object({
|
|
|
1388
1389
|
description: z9.string().optional(),
|
|
1389
1390
|
image: z9.string().optional(),
|
|
1390
1391
|
sourceURI: z9.string().url().optional(),
|
|
1392
|
+
isPublic: z9.boolean().optional(),
|
|
1391
1393
|
status: SkillFrameworkStatusEnum.optional(),
|
|
1392
1394
|
skills: z9.array(SkillTreeNodeInputValidator).optional(),
|
|
1393
1395
|
boostUris: z9.array(z9.string()).optional()
|
|
@@ -1398,9 +1400,10 @@ var UpdateFrameworkInputValidator = z9.object({
|
|
|
1398
1400
|
description: z9.string().optional(),
|
|
1399
1401
|
image: z9.string().optional(),
|
|
1400
1402
|
sourceURI: z9.string().url().optional(),
|
|
1403
|
+
isPublic: z9.boolean().optional(),
|
|
1401
1404
|
status: SkillFrameworkStatusEnum.optional()
|
|
1402
1405
|
}).refine(
|
|
1403
|
-
(data) => data.name !== void 0 || data.description !== void 0 || data.image !== void 0 || data.sourceURI !== void 0 || data.status !== void 0,
|
|
1406
|
+
(data) => data.name !== void 0 || data.description !== void 0 || data.image !== void 0 || data.sourceURI !== void 0 || data.isPublic !== void 0 || data.status !== void 0,
|
|
1404
1407
|
{
|
|
1405
1408
|
message: "At least one field must be provided to update",
|
|
1406
1409
|
path: ["name"]
|
|
@@ -1580,7 +1583,8 @@ var CredentialActivitySourceTypeValidator = z9.enum([
|
|
|
1580
1583
|
"claim",
|
|
1581
1584
|
"inbox",
|
|
1582
1585
|
"claimLink",
|
|
1583
|
-
"acceptCredential"
|
|
1586
|
+
"acceptCredential",
|
|
1587
|
+
"appEvent"
|
|
1584
1588
|
]);
|
|
1585
1589
|
var CredentialActivityValidator = z9.object({
|
|
1586
1590
|
id: z9.string(),
|