@learncard/network-plugin 2.4.30 → 2.4.31

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.
@@ -5154,22 +5154,22 @@ var require_helpers_cjs_development = __commonJS({
5154
5154
  repeatIdBackgroundImage: mod2.boolean().optional()
5155
5155
  });
5156
5156
  var LCNProfileValidator2 = mod2.object({
5157
- profileId: mod2.string().min(3).max(40),
5158
- displayName: mod2.string().default(""),
5159
- shortBio: mod2.string().default(""),
5160
- bio: mod2.string().default(""),
5161
- did: mod2.string(),
5162
- isPrivate: mod2.boolean().optional(),
5163
- email: mod2.string().optional(),
5164
- image: mod2.string().optional(),
5165
- heroImage: mod2.string().optional(),
5166
- websiteLink: mod2.string().optional(),
5167
- isServiceProfile: mod2.boolean().default(false).optional(),
5168
- type: mod2.string().optional(),
5169
- notificationsWebhook: mod2.string().url().startsWith("http").optional(),
5170
- display: LCNProfileDisplayValidator2.optional(),
5171
- role: mod2.string().default("").optional(),
5172
- dob: mod2.string().default("").optional()
5157
+ profileId: mod2.string().min(3).max(40).describe("Unique, URL-safe identifier for the profile."),
5158
+ displayName: mod2.string().default("").describe("Human-readable display name for the profile."),
5159
+ shortBio: mod2.string().default("").describe("Short bio for the profile."),
5160
+ bio: mod2.string().default("").describe("Longer bio for the profile."),
5161
+ did: mod2.string().describe("Decentralized Identifier for the profile. (auto-assigned)"),
5162
+ isPrivate: mod2.boolean().optional().describe("Whether the profile is private or not and shows up in search results."),
5163
+ email: mod2.string().optional().describe("Contact email address for the profile."),
5164
+ image: mod2.string().optional().describe("Profile image URL for the profile."),
5165
+ heroImage: mod2.string().optional().describe("Hero image URL for the profile."),
5166
+ websiteLink: mod2.string().optional().describe("Website link for the profile."),
5167
+ isServiceProfile: mod2.boolean().default(false).optional().describe("Whether the profile is a service profile or not."),
5168
+ type: mod2.string().optional().describe('Profile type: e.g. "person", "organization", "service".'),
5169
+ notificationsWebhook: mod2.string().url().startsWith("http").optional().describe("URL to send notifications to."),
5170
+ display: LCNProfileDisplayValidator2.optional().describe("Display settings for the profile."),
5171
+ role: mod2.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
5172
+ dob: mod2.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
5173
5173
  });
5174
5174
  var LCNProfileQueryValidator2 = mod2.object({
5175
5175
  profileId: StringQuery2,
@@ -9475,22 +9475,22 @@ var LCNProfileDisplayValidator = mod.object({
9475
9475
  repeatIdBackgroundImage: mod.boolean().optional()
9476
9476
  });
9477
9477
  var LCNProfileValidator = mod.object({
9478
- profileId: mod.string().min(3).max(40),
9479
- displayName: mod.string().default(""),
9480
- shortBio: mod.string().default(""),
9481
- bio: mod.string().default(""),
9482
- did: mod.string(),
9483
- isPrivate: mod.boolean().optional(),
9484
- email: mod.string().optional(),
9485
- image: mod.string().optional(),
9486
- heroImage: mod.string().optional(),
9487
- websiteLink: mod.string().optional(),
9488
- isServiceProfile: mod.boolean().default(false).optional(),
9489
- type: mod.string().optional(),
9490
- notificationsWebhook: mod.string().url().startsWith("http").optional(),
9491
- display: LCNProfileDisplayValidator.optional(),
9492
- role: mod.string().default("").optional(),
9493
- dob: mod.string().default("").optional()
9478
+ profileId: mod.string().min(3).max(40).describe("Unique, URL-safe identifier for the profile."),
9479
+ displayName: mod.string().default("").describe("Human-readable display name for the profile."),
9480
+ shortBio: mod.string().default("").describe("Short bio for the profile."),
9481
+ bio: mod.string().default("").describe("Longer bio for the profile."),
9482
+ did: mod.string().describe("Decentralized Identifier for the profile. (auto-assigned)"),
9483
+ isPrivate: mod.boolean().optional().describe("Whether the profile is private or not and shows up in search results."),
9484
+ email: mod.string().optional().describe("Contact email address for the profile."),
9485
+ image: mod.string().optional().describe("Profile image URL for the profile."),
9486
+ heroImage: mod.string().optional().describe("Hero image URL for the profile."),
9487
+ websiteLink: mod.string().optional().describe("Website link for the profile."),
9488
+ isServiceProfile: mod.boolean().default(false).optional().describe("Whether the profile is a service profile or not."),
9489
+ type: mod.string().optional().describe('Profile type: e.g. "person", "organization", "service".'),
9490
+ notificationsWebhook: mod.string().url().startsWith("http").optional().describe("URL to send notifications to."),
9491
+ display: LCNProfileDisplayValidator.optional().describe("Display settings for the profile."),
9492
+ role: mod.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
9493
+ dob: mod.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
9494
9494
  });
9495
9495
  var LCNProfileQueryValidator = mod.object({
9496
9496
  profileId: StringQuery,