@learncard/network-brain-client 2.5.14 → 2.5.16
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/CHANGELOG.md +14 -0
- package/dist/brain-client.cjs.development.js +15 -3
- package/dist/brain-client.cjs.development.js.map +2 -2
- package/dist/brain-client.cjs.production.min.js +1 -1
- package/dist/brain-client.cjs.production.min.js.map +2 -2
- package/dist/brain-client.esm.js +15 -3
- package/dist/brain-client.esm.js.map +2 -2
- package/package.json +4 -4
package/dist/brain-client.esm.js
CHANGED
|
@@ -28610,6 +28610,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
28610
28610
|
});
|
|
28611
28611
|
var BoostPermissionsValidator = external_exports2.object({
|
|
28612
28612
|
role: external_exports2.string(),
|
|
28613
|
+
canView: external_exports2.boolean().default(true),
|
|
28613
28614
|
canEdit: external_exports2.boolean(),
|
|
28614
28615
|
canIssue: external_exports2.boolean(),
|
|
28615
28616
|
canRevoke: external_exports2.boolean(),
|
|
@@ -28624,6 +28625,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
28624
28625
|
});
|
|
28625
28626
|
var BoostPermissionsQueryValidator = external_exports2.object({
|
|
28626
28627
|
role: StringQuery,
|
|
28628
|
+
canView: external_exports2.boolean(),
|
|
28627
28629
|
canEdit: external_exports2.boolean(),
|
|
28628
28630
|
canIssue: external_exports2.boolean(),
|
|
28629
28631
|
canRevoke: external_exports2.boolean(),
|
|
@@ -28749,7 +28751,13 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
28749
28751
|
var SendBoostTemplateValidator = BoostValidator.partial().omit({ uri: true, claimPermissions: true }).extend({
|
|
28750
28752
|
credential: VCValidator.or(UnsignedVCValidator),
|
|
28751
28753
|
claimPermissions: BoostPermissionsValidator.partial().optional(),
|
|
28752
|
-
skills: external_exports2.array(
|
|
28754
|
+
skills: external_exports2.array(
|
|
28755
|
+
external_exports2.object({
|
|
28756
|
+
frameworkId: external_exports2.string(),
|
|
28757
|
+
id: external_exports2.string(),
|
|
28758
|
+
proficiencyLevel: external_exports2.number().optional()
|
|
28759
|
+
})
|
|
28760
|
+
).min(1).optional()
|
|
28753
28761
|
});
|
|
28754
28762
|
var SendBrandingOptionsValidator = external_exports2.object({
|
|
28755
28763
|
issuerName: external_exports2.string().optional().describe("Name of the issuing organization"),
|
|
@@ -29368,6 +29376,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
29368
29376
|
description: external_exports2.string().optional(),
|
|
29369
29377
|
image: external_exports2.string().optional(),
|
|
29370
29378
|
sourceURI: external_exports2.string().url().optional(),
|
|
29379
|
+
isPublic: external_exports2.boolean().default(false),
|
|
29371
29380
|
status: SkillFrameworkStatusEnum.default("active"),
|
|
29372
29381
|
createdAt: external_exports2.string().optional(),
|
|
29373
29382
|
updatedAt: external_exports2.string().optional()
|
|
@@ -29406,6 +29415,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
29406
29415
|
description: external_exports2.string().optional(),
|
|
29407
29416
|
image: external_exports2.string().optional(),
|
|
29408
29417
|
sourceURI: external_exports2.string().url().optional(),
|
|
29418
|
+
isPublic: external_exports2.boolean().optional(),
|
|
29409
29419
|
status: SkillFrameworkStatusEnum.optional(),
|
|
29410
29420
|
skills: external_exports2.array(SkillTreeNodeInputValidator).optional(),
|
|
29411
29421
|
boostUris: external_exports2.array(external_exports2.string()).optional()
|
|
@@ -29416,9 +29426,10 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
29416
29426
|
description: external_exports2.string().optional(),
|
|
29417
29427
|
image: external_exports2.string().optional(),
|
|
29418
29428
|
sourceURI: external_exports2.string().url().optional(),
|
|
29429
|
+
isPublic: external_exports2.boolean().optional(),
|
|
29419
29430
|
status: SkillFrameworkStatusEnum.optional()
|
|
29420
29431
|
}).refine(
|
|
29421
|
-
(data) => data.name !== void 0 || data.description !== void 0 || data.image !== void 0 || data.sourceURI !== void 0 || data.status !== void 0,
|
|
29432
|
+
(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,
|
|
29422
29433
|
{
|
|
29423
29434
|
message: "At least one field must be provided to update",
|
|
29424
29435
|
path: ["name"]
|
|
@@ -29598,7 +29609,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
29598
29609
|
"claim",
|
|
29599
29610
|
"inbox",
|
|
29600
29611
|
"claimLink",
|
|
29601
|
-
"acceptCredential"
|
|
29612
|
+
"acceptCredential",
|
|
29613
|
+
"appEvent"
|
|
29602
29614
|
]);
|
|
29603
29615
|
var CredentialActivityValidator = external_exports2.object({
|
|
29604
29616
|
id: external_exports2.string(),
|