@learncard/learn-cloud-plugin 2.1.21 → 2.1.22

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.
@@ -11244,22 +11244,22 @@ var require_types_cjs_development = __commonJS2({
11244
11244
  repeatIdBackgroundImage: mod2.boolean().optional()
11245
11245
  });
11246
11246
  var LCNProfileValidator2 = mod2.object({
11247
- profileId: mod2.string().min(3).max(40),
11248
- displayName: mod2.string().default(""),
11249
- shortBio: mod2.string().default(""),
11250
- bio: mod2.string().default(""),
11251
- did: mod2.string(),
11252
- isPrivate: mod2.boolean().optional(),
11253
- email: mod2.string().optional(),
11254
- image: mod2.string().optional(),
11255
- heroImage: mod2.string().optional(),
11256
- websiteLink: mod2.string().optional(),
11257
- isServiceProfile: mod2.boolean().default(false).optional(),
11258
- type: mod2.string().optional(),
11259
- notificationsWebhook: mod2.string().url().startsWith("http").optional(),
11260
- display: LCNProfileDisplayValidator2.optional(),
11261
- role: mod2.string().default("").optional(),
11262
- dob: mod2.string().default("").optional()
11247
+ profileId: mod2.string().min(3).max(40).describe("Unique, URL-safe identifier for the profile."),
11248
+ displayName: mod2.string().default("").describe("Human-readable display name for the profile."),
11249
+ shortBio: mod2.string().default("").describe("Short bio for the profile."),
11250
+ bio: mod2.string().default("").describe("Longer bio for the profile."),
11251
+ did: mod2.string().describe("Decentralized Identifier for the profile. (auto-assigned)"),
11252
+ isPrivate: mod2.boolean().optional().describe("Whether the profile is private or not and shows up in search results."),
11253
+ email: mod2.string().optional().describe("Contact email address for the profile."),
11254
+ image: mod2.string().optional().describe("Profile image URL for the profile."),
11255
+ heroImage: mod2.string().optional().describe("Hero image URL for the profile."),
11256
+ websiteLink: mod2.string().optional().describe("Website link for the profile."),
11257
+ isServiceProfile: mod2.boolean().default(false).optional().describe("Whether the profile is a service profile or not."),
11258
+ type: mod2.string().optional().describe('Profile type: e.g. "person", "organization", "service".'),
11259
+ notificationsWebhook: mod2.string().url().startsWith("http").optional().describe("URL to send notifications to."),
11260
+ display: LCNProfileDisplayValidator2.optional().describe("Display settings for the profile."),
11261
+ role: mod2.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
11262
+ dob: mod2.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
11263
11263
  });
11264
11264
  var LCNProfileQueryValidator2 = mod2.object({
11265
11265
  profileId: StringQuery2,
@@ -15442,22 +15442,22 @@ var LCNProfileDisplayValidator = mod.object({
15442
15442
  repeatIdBackgroundImage: mod.boolean().optional()
15443
15443
  });
15444
15444
  var LCNProfileValidator = mod.object({
15445
- profileId: mod.string().min(3).max(40),
15446
- displayName: mod.string().default(""),
15447
- shortBio: mod.string().default(""),
15448
- bio: mod.string().default(""),
15449
- did: mod.string(),
15450
- isPrivate: mod.boolean().optional(),
15451
- email: mod.string().optional(),
15452
- image: mod.string().optional(),
15453
- heroImage: mod.string().optional(),
15454
- websiteLink: mod.string().optional(),
15455
- isServiceProfile: mod.boolean().default(false).optional(),
15456
- type: mod.string().optional(),
15457
- notificationsWebhook: mod.string().url().startsWith("http").optional(),
15458
- display: LCNProfileDisplayValidator.optional(),
15459
- role: mod.string().default("").optional(),
15460
- dob: mod.string().default("").optional()
15445
+ profileId: mod.string().min(3).max(40).describe("Unique, URL-safe identifier for the profile."),
15446
+ displayName: mod.string().default("").describe("Human-readable display name for the profile."),
15447
+ shortBio: mod.string().default("").describe("Short bio for the profile."),
15448
+ bio: mod.string().default("").describe("Longer bio for the profile."),
15449
+ did: mod.string().describe("Decentralized Identifier for the profile. (auto-assigned)"),
15450
+ isPrivate: mod.boolean().optional().describe("Whether the profile is private or not and shows up in search results."),
15451
+ email: mod.string().optional().describe("Contact email address for the profile."),
15452
+ image: mod.string().optional().describe("Profile image URL for the profile."),
15453
+ heroImage: mod.string().optional().describe("Hero image URL for the profile."),
15454
+ websiteLink: mod.string().optional().describe("Website link for the profile."),
15455
+ isServiceProfile: mod.boolean().default(false).optional().describe("Whether the profile is a service profile or not."),
15456
+ type: mod.string().optional().describe('Profile type: e.g. "person", "organization", "service".'),
15457
+ notificationsWebhook: mod.string().url().startsWith("http").optional().describe("URL to send notifications to."),
15458
+ display: LCNProfileDisplayValidator.optional().describe("Display settings for the profile."),
15459
+ role: mod.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
15460
+ dob: mod.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
15461
15461
  });
15462
15462
  var LCNProfileQueryValidator = mod.object({
15463
15463
  profileId: StringQuery,