@learncard/helpers 1.1.14 → 1.1.16

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.
@@ -3965,22 +3965,22 @@ var require_types_cjs_development = __commonJS({
3965
3965
  repeatIdBackgroundImage: mod.boolean().optional()
3966
3966
  });
3967
3967
  var LCNProfileValidator = mod.object({
3968
- profileId: mod.string().min(3).max(40),
3969
- displayName: mod.string().default(""),
3970
- shortBio: mod.string().default(""),
3971
- bio: mod.string().default(""),
3972
- did: mod.string(),
3973
- isPrivate: mod.boolean().optional(),
3974
- email: mod.string().optional(),
3975
- image: mod.string().optional(),
3976
- heroImage: mod.string().optional(),
3977
- websiteLink: mod.string().optional(),
3978
- isServiceProfile: mod.boolean().default(false).optional(),
3979
- type: mod.string().optional(),
3980
- notificationsWebhook: mod.string().url().startsWith("http").optional(),
3981
- display: LCNProfileDisplayValidator.optional(),
3982
- role: mod.string().default("").optional(),
3983
- dob: mod.string().default("").optional()
3968
+ profileId: mod.string().min(3).max(40).describe("Unique, URL-safe identifier for the profile."),
3969
+ displayName: mod.string().default("").describe("Human-readable display name for the profile."),
3970
+ shortBio: mod.string().default("").describe("Short bio for the profile."),
3971
+ bio: mod.string().default("").describe("Longer bio for the profile."),
3972
+ did: mod.string().describe("Decentralized Identifier for the profile. (auto-assigned)"),
3973
+ isPrivate: mod.boolean().optional().describe("Whether the profile is private or not and shows up in search results."),
3974
+ email: mod.string().optional().describe("Contact email address for the profile."),
3975
+ image: mod.string().optional().describe("Profile image URL for the profile."),
3976
+ heroImage: mod.string().optional().describe("Hero image URL for the profile."),
3977
+ websiteLink: mod.string().optional().describe("Website link for the profile."),
3978
+ isServiceProfile: mod.boolean().default(false).optional().describe("Whether the profile is a service profile or not."),
3979
+ type: mod.string().optional().describe('Profile type: e.g. "person", "organization", "service".'),
3980
+ notificationsWebhook: mod.string().url().startsWith("http").optional().describe("URL to send notifications to."),
3981
+ display: LCNProfileDisplayValidator.optional().describe("Display settings for the profile."),
3982
+ role: mod.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
3983
+ dob: mod.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
3984
3984
  });
3985
3985
  var LCNProfileQueryValidator = mod.object({
3986
3986
  profileId: StringQuery,
@@ -4176,7 +4176,8 @@ var require_types_cjs_development = __commonJS({
4176
4176
  createdAt: mod.string(),
4177
4177
  updatedAt: mod.string(),
4178
4178
  expiresAt: mod.string().optional(),
4179
- autoBoosts: mod.string().array().optional()
4179
+ autoBoosts: mod.string().array().optional(),
4180
+ writers: mod.array(LCNProfileValidator).optional()
4180
4181
  });
4181
4182
  var PaginatedConsentFlowContractsValidator = PaginationResponseValidator.extend({
4182
4183
  records: ConsentFlowContractDetailsValidator.omit({ owner: true }).array()
@@ -4217,7 +4218,8 @@ var require_types_cjs_development = __commonJS({
4217
4218
  write: mod.object({
4218
4219
  credentials: mod.object({ categories: mod.record(mod.boolean()).default({}) }).default({}),
4219
4220
  personal: mod.record(mod.boolean()).default({})
4220
- }).default({})
4221
+ }).default({}),
4222
+ deniedWriters: mod.array(mod.string()).optional()
4221
4223
  });
4222
4224
  var PaginatedConsentFlowTermsValidator = PaginationResponseValidator.extend({
4223
4225
  records: mod.object({