@learncard/didkey-plugin 1.0.36 → 1.0.38

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.
@@ -4014,22 +4014,22 @@ var require_types_cjs_development = __commonJS({
4014
4014
  repeatIdBackgroundImage: mod.boolean().optional()
4015
4015
  });
4016
4016
  var LCNProfileValidator = mod.object({
4017
- profileId: mod.string().min(3).max(40),
4018
- displayName: mod.string().default(""),
4019
- shortBio: mod.string().default(""),
4020
- bio: mod.string().default(""),
4021
- did: mod.string(),
4022
- isPrivate: mod.boolean().optional(),
4023
- email: mod.string().optional(),
4024
- image: mod.string().optional(),
4025
- heroImage: mod.string().optional(),
4026
- websiteLink: mod.string().optional(),
4027
- isServiceProfile: mod.boolean().default(false).optional(),
4028
- type: mod.string().optional(),
4029
- notificationsWebhook: mod.string().url().startsWith("http").optional(),
4030
- display: LCNProfileDisplayValidator.optional(),
4031
- role: mod.string().default("").optional(),
4032
- dob: mod.string().default("").optional()
4017
+ profileId: mod.string().min(3).max(40).describe("Unique, URL-safe identifier for the profile."),
4018
+ displayName: mod.string().default("").describe("Human-readable display name for the profile."),
4019
+ shortBio: mod.string().default("").describe("Short bio for the profile."),
4020
+ bio: mod.string().default("").describe("Longer bio for the profile."),
4021
+ did: mod.string().describe("Decentralized Identifier for the profile. (auto-assigned)"),
4022
+ isPrivate: mod.boolean().optional().describe("Whether the profile is private or not and shows up in search results."),
4023
+ email: mod.string().optional().describe("Contact email address for the profile."),
4024
+ image: mod.string().optional().describe("Profile image URL for the profile."),
4025
+ heroImage: mod.string().optional().describe("Hero image URL for the profile."),
4026
+ websiteLink: mod.string().optional().describe("Website link for the profile."),
4027
+ isServiceProfile: mod.boolean().default(false).optional().describe("Whether the profile is a service profile or not."),
4028
+ type: mod.string().optional().describe('Profile type: e.g. "person", "organization", "service".'),
4029
+ notificationsWebhook: mod.string().url().startsWith("http").optional().describe("URL to send notifications to."),
4030
+ display: LCNProfileDisplayValidator.optional().describe("Display settings for the profile."),
4031
+ role: mod.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
4032
+ dob: mod.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
4033
4033
  });
4034
4034
  var LCNProfileQueryValidator = mod.object({
4035
4035
  profileId: StringQuery,
@@ -4225,7 +4225,8 @@ var require_types_cjs_development = __commonJS({
4225
4225
  createdAt: mod.string(),
4226
4226
  updatedAt: mod.string(),
4227
4227
  expiresAt: mod.string().optional(),
4228
- autoBoosts: mod.string().array().optional()
4228
+ autoBoosts: mod.string().array().optional(),
4229
+ writers: mod.array(LCNProfileValidator).optional()
4229
4230
  });
4230
4231
  var PaginatedConsentFlowContractsValidator = PaginationResponseValidator.extend({
4231
4232
  records: ConsentFlowContractDetailsValidator.omit({ owner: true }).array()
@@ -4266,7 +4267,8 @@ var require_types_cjs_development = __commonJS({
4266
4267
  write: mod.object({
4267
4268
  credentials: mod.object({ categories: mod.record(mod.boolean()).default({}) }).default({}),
4268
4269
  personal: mod.record(mod.boolean()).default({})
4269
- }).default({})
4270
+ }).default({}),
4271
+ deniedWriters: mod.array(mod.string()).optional()
4270
4272
  });
4271
4273
  var PaginatedConsentFlowTermsValidator = PaginationResponseValidator.extend({
4272
4274
  records: mod.object({