@learncard/types 5.11.3 → 5.12.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/lcn.d.ts +46 -0
- package/dist/lcn.d.ts.map +1 -1
- package/dist/types.cjs.development.js +18 -1
- 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 +18 -1
- package/dist/types.esm.js.map +2 -2
- package/package.json +1 -1
package/dist/types.esm.js
CHANGED
|
@@ -965,6 +965,7 @@ var PaginatedContractCredentialsValidator = PaginationResponseValidator.extend({
|
|
|
965
965
|
});
|
|
966
966
|
var LCNNotificationTypeEnumValidator = z9.enum([
|
|
967
967
|
"CONNECTION_REQUEST",
|
|
968
|
+
"CONNECTION_REQUEST_EXPIRED_INVITE",
|
|
968
969
|
"CONNECTION_ACCEPTED",
|
|
969
970
|
"CREDENTIAL_RECEIVED",
|
|
970
971
|
"CREDENTIAL_ACCEPTED",
|
|
@@ -1223,7 +1224,9 @@ var ClaimInboxCredentialValidator = z9.object({
|
|
|
1223
1224
|
credential: VCValidator.or(VPValidator).or(UnsignedVCValidator).describe("The credential to issue."),
|
|
1224
1225
|
configuration: z9.object({
|
|
1225
1226
|
publishableKey: z9.string(),
|
|
1226
|
-
signingAuthorityName: z9.string().optional()
|
|
1227
|
+
signingAuthorityName: z9.string().optional(),
|
|
1228
|
+
listingId: z9.string().optional(),
|
|
1229
|
+
listingSlug: z9.string().optional()
|
|
1227
1230
|
}).optional()
|
|
1228
1231
|
});
|
|
1229
1232
|
var LCNDomainOrOriginValidator = z9.union([
|
|
@@ -1321,6 +1324,17 @@ var SkillQueryValidator = z9.union([
|
|
|
1321
1324
|
}),
|
|
1322
1325
|
BaseSkillQueryValidator
|
|
1323
1326
|
]);
|
|
1327
|
+
var SkillSemanticSearchInputValidator = z9.object({
|
|
1328
|
+
text: z9.string().min(1),
|
|
1329
|
+
frameworkId: z9.string().optional(),
|
|
1330
|
+
limit: z9.number().int().min(1).max(200).default(50)
|
|
1331
|
+
});
|
|
1332
|
+
var SkillSemanticSearchResultItemValidator = SkillValidator.extend({
|
|
1333
|
+
score: z9.number()
|
|
1334
|
+
});
|
|
1335
|
+
var SkillSemanticSearchResultValidator = z9.object({
|
|
1336
|
+
records: SkillSemanticSearchResultItemValidator.array()
|
|
1337
|
+
});
|
|
1324
1338
|
var SkillFrameworkStatusEnum = z9.enum(["active", "archived"]);
|
|
1325
1339
|
var SkillFrameworkValidator = z9.object({
|
|
1326
1340
|
id: z9.string(),
|
|
@@ -1787,6 +1801,9 @@ export {
|
|
|
1787
1801
|
SkillFrameworkStatusEnum,
|
|
1788
1802
|
SkillFrameworkValidator,
|
|
1789
1803
|
SkillQueryValidator,
|
|
1804
|
+
SkillSemanticSearchInputValidator,
|
|
1805
|
+
SkillSemanticSearchResultItemValidator,
|
|
1806
|
+
SkillSemanticSearchResultValidator,
|
|
1790
1807
|
SkillStatusEnum,
|
|
1791
1808
|
SkillTreeNodeInputValidator,
|
|
1792
1809
|
SkillTreeNodeValidator,
|