@learncard/network-plugin 2.4.30 → 2.4.32

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.
@@ -5179,22 +5179,22 @@ var require_helpers_cjs_development = __commonJS({
5179
5179
  repeatIdBackgroundImage: mod2.boolean().optional()
5180
5180
  });
5181
5181
  var LCNProfileValidator2 = mod2.object({
5182
- profileId: mod2.string().min(3).max(40),
5183
- displayName: mod2.string().default(""),
5184
- shortBio: mod2.string().default(""),
5185
- bio: mod2.string().default(""),
5186
- did: mod2.string(),
5187
- isPrivate: mod2.boolean().optional(),
5188
- email: mod2.string().optional(),
5189
- image: mod2.string().optional(),
5190
- heroImage: mod2.string().optional(),
5191
- websiteLink: mod2.string().optional(),
5192
- isServiceProfile: mod2.boolean().default(false).optional(),
5193
- type: mod2.string().optional(),
5194
- notificationsWebhook: mod2.string().url().startsWith("http").optional(),
5195
- display: LCNProfileDisplayValidator2.optional(),
5196
- role: mod2.string().default("").optional(),
5197
- dob: mod2.string().default("").optional()
5182
+ profileId: mod2.string().min(3).max(40).describe("Unique, URL-safe identifier for the profile."),
5183
+ displayName: mod2.string().default("").describe("Human-readable display name for the profile."),
5184
+ shortBio: mod2.string().default("").describe("Short bio for the profile."),
5185
+ bio: mod2.string().default("").describe("Longer bio for the profile."),
5186
+ did: mod2.string().describe("Decentralized Identifier for the profile. (auto-assigned)"),
5187
+ isPrivate: mod2.boolean().optional().describe("Whether the profile is private or not and shows up in search results."),
5188
+ email: mod2.string().optional().describe("Contact email address for the profile."),
5189
+ image: mod2.string().optional().describe("Profile image URL for the profile."),
5190
+ heroImage: mod2.string().optional().describe("Hero image URL for the profile."),
5191
+ websiteLink: mod2.string().optional().describe("Website link for the profile."),
5192
+ isServiceProfile: mod2.boolean().default(false).optional().describe("Whether the profile is a service profile or not."),
5193
+ type: mod2.string().optional().describe('Profile type: e.g. "person", "organization", "service".'),
5194
+ notificationsWebhook: mod2.string().url().startsWith("http").optional().describe("URL to send notifications to."),
5195
+ display: LCNProfileDisplayValidator2.optional().describe("Display settings for the profile."),
5196
+ role: mod2.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
5197
+ dob: mod2.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
5198
5198
  });
5199
5199
  var LCNProfileQueryValidator2 = mod2.object({
5200
5200
  profileId: StringQuery2,
@@ -9500,22 +9500,22 @@ var LCNProfileDisplayValidator = mod.object({
9500
9500
  repeatIdBackgroundImage: mod.boolean().optional()
9501
9501
  });
9502
9502
  var LCNProfileValidator = mod.object({
9503
- profileId: mod.string().min(3).max(40),
9504
- displayName: mod.string().default(""),
9505
- shortBio: mod.string().default(""),
9506
- bio: mod.string().default(""),
9507
- did: mod.string(),
9508
- isPrivate: mod.boolean().optional(),
9509
- email: mod.string().optional(),
9510
- image: mod.string().optional(),
9511
- heroImage: mod.string().optional(),
9512
- websiteLink: mod.string().optional(),
9513
- isServiceProfile: mod.boolean().default(false).optional(),
9514
- type: mod.string().optional(),
9515
- notificationsWebhook: mod.string().url().startsWith("http").optional(),
9516
- display: LCNProfileDisplayValidator.optional(),
9517
- role: mod.string().default("").optional(),
9518
- dob: mod.string().default("").optional()
9503
+ profileId: mod.string().min(3).max(40).describe("Unique, URL-safe identifier for the profile."),
9504
+ displayName: mod.string().default("").describe("Human-readable display name for the profile."),
9505
+ shortBio: mod.string().default("").describe("Short bio for the profile."),
9506
+ bio: mod.string().default("").describe("Longer bio for the profile."),
9507
+ did: mod.string().describe("Decentralized Identifier for the profile. (auto-assigned)"),
9508
+ isPrivate: mod.boolean().optional().describe("Whether the profile is private or not and shows up in search results."),
9509
+ email: mod.string().optional().describe("Contact email address for the profile."),
9510
+ image: mod.string().optional().describe("Profile image URL for the profile."),
9511
+ heroImage: mod.string().optional().describe("Hero image URL for the profile."),
9512
+ websiteLink: mod.string().optional().describe("Website link for the profile."),
9513
+ isServiceProfile: mod.boolean().default(false).optional().describe("Whether the profile is a service profile or not."),
9514
+ type: mod.string().optional().describe('Profile type: e.g. "person", "organization", "service".'),
9515
+ notificationsWebhook: mod.string().url().startsWith("http").optional().describe("URL to send notifications to."),
9516
+ display: LCNProfileDisplayValidator.optional().describe("Display settings for the profile."),
9517
+ role: mod.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
9518
+ dob: mod.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
9519
9519
  });
9520
9520
  var LCNProfileQueryValidator = mod.object({
9521
9521
  profileId: StringQuery,