@learncard/helpers 1.2.6 → 1.2.7

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.
@@ -14188,6 +14188,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
14188
14188
  });
14189
14189
  var BoostPermissionsValidator = external_exports.object({
14190
14190
  role: external_exports.string(),
14191
+ canView: external_exports.boolean().default(true),
14191
14192
  canEdit: external_exports.boolean(),
14192
14193
  canIssue: external_exports.boolean(),
14193
14194
  canRevoke: external_exports.boolean(),
@@ -14202,6 +14203,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
14202
14203
  });
14203
14204
  var BoostPermissionsQueryValidator = external_exports.object({
14204
14205
  role: StringQuery,
14206
+ canView: external_exports.boolean(),
14205
14207
  canEdit: external_exports.boolean(),
14206
14208
  canIssue: external_exports.boolean(),
14207
14209
  canRevoke: external_exports.boolean(),
@@ -14327,7 +14329,13 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
14327
14329
  var SendBoostTemplateValidator = BoostValidator.partial().omit({ uri: true, claimPermissions: true }).extend({
14328
14330
  credential: VCValidator.or(UnsignedVCValidator),
14329
14331
  claimPermissions: BoostPermissionsValidator.partial().optional(),
14330
- skills: external_exports.array(external_exports.object({ frameworkId: external_exports.string(), id: external_exports.string() })).min(1).optional()
14332
+ skills: external_exports.array(
14333
+ external_exports.object({
14334
+ frameworkId: external_exports.string(),
14335
+ id: external_exports.string(),
14336
+ proficiencyLevel: external_exports.number().optional()
14337
+ })
14338
+ ).min(1).optional()
14331
14339
  });
14332
14340
  var SendBrandingOptionsValidator = external_exports.object({
14333
14341
  issuerName: external_exports.string().optional().describe("Name of the issuing organization"),