@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.
@@ -11257,22 +11257,22 @@ var require_types_cjs_development = __commonJS2({
11257
11257
  repeatIdBackgroundImage: mod2.boolean().optional()
11258
11258
  });
11259
11259
  var LCNProfileValidator2 = mod2.object({
11260
- profileId: mod2.string().min(3).max(40),
11261
- displayName: mod2.string().default(""),
11262
- shortBio: mod2.string().default(""),
11263
- bio: mod2.string().default(""),
11264
- did: mod2.string(),
11265
- isPrivate: mod2.boolean().optional(),
11266
- email: mod2.string().optional(),
11267
- image: mod2.string().optional(),
11268
- heroImage: mod2.string().optional(),
11269
- websiteLink: mod2.string().optional(),
11270
- isServiceProfile: mod2.boolean().default(false).optional(),
11271
- type: mod2.string().optional(),
11272
- notificationsWebhook: mod2.string().url().startsWith("http").optional(),
11273
- display: LCNProfileDisplayValidator2.optional(),
11274
- role: mod2.string().default("").optional(),
11275
- dob: mod2.string().default("").optional()
11260
+ profileId: mod2.string().min(3).max(40).describe("Unique, URL-safe identifier for the profile."),
11261
+ displayName: mod2.string().default("").describe("Human-readable display name for the profile."),
11262
+ shortBio: mod2.string().default("").describe("Short bio for the profile."),
11263
+ bio: mod2.string().default("").describe("Longer bio for the profile."),
11264
+ did: mod2.string().describe("Decentralized Identifier for the profile. (auto-assigned)"),
11265
+ isPrivate: mod2.boolean().optional().describe("Whether the profile is private or not and shows up in search results."),
11266
+ email: mod2.string().optional().describe("Contact email address for the profile."),
11267
+ image: mod2.string().optional().describe("Profile image URL for the profile."),
11268
+ heroImage: mod2.string().optional().describe("Hero image URL for the profile."),
11269
+ websiteLink: mod2.string().optional().describe("Website link for the profile."),
11270
+ isServiceProfile: mod2.boolean().default(false).optional().describe("Whether the profile is a service profile or not."),
11271
+ type: mod2.string().optional().describe('Profile type: e.g. "person", "organization", "service".'),
11272
+ notificationsWebhook: mod2.string().url().startsWith("http").optional().describe("URL to send notifications to."),
11273
+ display: LCNProfileDisplayValidator2.optional().describe("Display settings for the profile."),
11274
+ role: mod2.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
11275
+ dob: mod2.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
11276
11276
  });
11277
11277
  var LCNProfileQueryValidator2 = mod2.object({
11278
11278
  profileId: StringQuery2,
@@ -15455,22 +15455,22 @@ var LCNProfileDisplayValidator = mod.object({
15455
15455
  repeatIdBackgroundImage: mod.boolean().optional()
15456
15456
  });
15457
15457
  var LCNProfileValidator = mod.object({
15458
- profileId: mod.string().min(3).max(40),
15459
- displayName: mod.string().default(""),
15460
- shortBio: mod.string().default(""),
15461
- bio: mod.string().default(""),
15462
- did: mod.string(),
15463
- isPrivate: mod.boolean().optional(),
15464
- email: mod.string().optional(),
15465
- image: mod.string().optional(),
15466
- heroImage: mod.string().optional(),
15467
- websiteLink: mod.string().optional(),
15468
- isServiceProfile: mod.boolean().default(false).optional(),
15469
- type: mod.string().optional(),
15470
- notificationsWebhook: mod.string().url().startsWith("http").optional(),
15471
- display: LCNProfileDisplayValidator.optional(),
15472
- role: mod.string().default("").optional(),
15473
- dob: mod.string().default("").optional()
15458
+ profileId: mod.string().min(3).max(40).describe("Unique, URL-safe identifier for the profile."),
15459
+ displayName: mod.string().default("").describe("Human-readable display name for the profile."),
15460
+ shortBio: mod.string().default("").describe("Short bio for the profile."),
15461
+ bio: mod.string().default("").describe("Longer bio for the profile."),
15462
+ did: mod.string().describe("Decentralized Identifier for the profile. (auto-assigned)"),
15463
+ isPrivate: mod.boolean().optional().describe("Whether the profile is private or not and shows up in search results."),
15464
+ email: mod.string().optional().describe("Contact email address for the profile."),
15465
+ image: mod.string().optional().describe("Profile image URL for the profile."),
15466
+ heroImage: mod.string().optional().describe("Hero image URL for the profile."),
15467
+ websiteLink: mod.string().optional().describe("Website link for the profile."),
15468
+ isServiceProfile: mod.boolean().default(false).optional().describe("Whether the profile is a service profile or not."),
15469
+ type: mod.string().optional().describe('Profile type: e.g. "person", "organization", "service".'),
15470
+ notificationsWebhook: mod.string().url().startsWith("http").optional().describe("URL to send notifications to."),
15471
+ display: LCNProfileDisplayValidator.optional().describe("Display settings for the profile."),
15472
+ role: mod.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
15473
+ dob: mod.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
15474
15474
  });
15475
15475
  var LCNProfileQueryValidator = mod.object({
15476
15476
  profileId: StringQuery,