@learncard/types 5.11.3 → 5.12.1
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 +62 -0
- package/dist/lcn.d.ts.map +1 -1
- package/dist/types.cjs.development.js +27 -2
- package/dist/types.cjs.development.js.map +2 -2
- package/dist/types.cjs.production.min.js +5 -5
- package/dist/types.cjs.production.min.js.map +3 -3
- package/dist/types.esm.js +27 -2
- package/dist/types.esm.js.map +2 -2
- package/package.json +2 -1
package/dist/types.esm.js
CHANGED
|
@@ -584,6 +584,7 @@ var SentCredentialInfoValidator = z9.object({
|
|
|
584
584
|
});
|
|
585
585
|
var BoostPermissionsValidator = z9.object({
|
|
586
586
|
role: z9.string(),
|
|
587
|
+
canView: z9.boolean().default(true),
|
|
587
588
|
canEdit: z9.boolean(),
|
|
588
589
|
canIssue: z9.boolean(),
|
|
589
590
|
canRevoke: z9.boolean(),
|
|
@@ -598,6 +599,7 @@ var BoostPermissionsValidator = z9.object({
|
|
|
598
599
|
});
|
|
599
600
|
var BoostPermissionsQueryValidator = z9.object({
|
|
600
601
|
role: StringQuery,
|
|
602
|
+
canView: z9.boolean(),
|
|
601
603
|
canEdit: z9.boolean(),
|
|
602
604
|
canIssue: z9.boolean(),
|
|
603
605
|
canRevoke: z9.boolean(),
|
|
@@ -723,7 +725,13 @@ var AutoBoostConfigValidator = z9.object({
|
|
|
723
725
|
var SendBoostTemplateValidator = BoostValidator.partial().omit({ uri: true, claimPermissions: true }).extend({
|
|
724
726
|
credential: VCValidator.or(UnsignedVCValidator),
|
|
725
727
|
claimPermissions: BoostPermissionsValidator.partial().optional(),
|
|
726
|
-
skills: z9.array(
|
|
728
|
+
skills: z9.array(
|
|
729
|
+
z9.object({
|
|
730
|
+
frameworkId: z9.string(),
|
|
731
|
+
id: z9.string(),
|
|
732
|
+
proficiencyLevel: z9.number().optional()
|
|
733
|
+
})
|
|
734
|
+
).min(1).optional()
|
|
727
735
|
});
|
|
728
736
|
var SendBrandingOptionsValidator = z9.object({
|
|
729
737
|
issuerName: z9.string().optional().describe("Name of the issuing organization"),
|
|
@@ -965,6 +973,7 @@ var PaginatedContractCredentialsValidator = PaginationResponseValidator.extend({
|
|
|
965
973
|
});
|
|
966
974
|
var LCNNotificationTypeEnumValidator = z9.enum([
|
|
967
975
|
"CONNECTION_REQUEST",
|
|
976
|
+
"CONNECTION_REQUEST_EXPIRED_INVITE",
|
|
968
977
|
"CONNECTION_ACCEPTED",
|
|
969
978
|
"CREDENTIAL_RECEIVED",
|
|
970
979
|
"CREDENTIAL_ACCEPTED",
|
|
@@ -1223,7 +1232,9 @@ var ClaimInboxCredentialValidator = z9.object({
|
|
|
1223
1232
|
credential: VCValidator.or(VPValidator).or(UnsignedVCValidator).describe("The credential to issue."),
|
|
1224
1233
|
configuration: z9.object({
|
|
1225
1234
|
publishableKey: z9.string(),
|
|
1226
|
-
signingAuthorityName: z9.string().optional()
|
|
1235
|
+
signingAuthorityName: z9.string().optional(),
|
|
1236
|
+
listingId: z9.string().optional(),
|
|
1237
|
+
listingSlug: z9.string().optional()
|
|
1227
1238
|
}).optional()
|
|
1228
1239
|
});
|
|
1229
1240
|
var LCNDomainOrOriginValidator = z9.union([
|
|
@@ -1321,6 +1332,17 @@ var SkillQueryValidator = z9.union([
|
|
|
1321
1332
|
}),
|
|
1322
1333
|
BaseSkillQueryValidator
|
|
1323
1334
|
]);
|
|
1335
|
+
var SkillSemanticSearchInputValidator = z9.object({
|
|
1336
|
+
text: z9.string().min(1),
|
|
1337
|
+
frameworkId: z9.string().optional(),
|
|
1338
|
+
limit: z9.number().int().min(1).max(200).default(50)
|
|
1339
|
+
});
|
|
1340
|
+
var SkillSemanticSearchResultItemValidator = SkillValidator.extend({
|
|
1341
|
+
score: z9.number()
|
|
1342
|
+
});
|
|
1343
|
+
var SkillSemanticSearchResultValidator = z9.object({
|
|
1344
|
+
records: SkillSemanticSearchResultItemValidator.array()
|
|
1345
|
+
});
|
|
1324
1346
|
var SkillFrameworkStatusEnum = z9.enum(["active", "archived"]);
|
|
1325
1347
|
var SkillFrameworkValidator = z9.object({
|
|
1326
1348
|
id: z9.string(),
|
|
@@ -1787,6 +1809,9 @@ export {
|
|
|
1787
1809
|
SkillFrameworkStatusEnum,
|
|
1788
1810
|
SkillFrameworkValidator,
|
|
1789
1811
|
SkillQueryValidator,
|
|
1812
|
+
SkillSemanticSearchInputValidator,
|
|
1813
|
+
SkillSemanticSearchResultItemValidator,
|
|
1814
|
+
SkillSemanticSearchResultValidator,
|
|
1790
1815
|
SkillStatusEnum,
|
|
1791
1816
|
SkillTreeNodeInputValidator,
|
|
1792
1817
|
SkillTreeNodeValidator,
|