@learncard/learn-cloud-plugin 2.1.20 → 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,
@@ -11468,7 +11468,8 @@ var require_types_cjs_development = __commonJS2({
11468
11468
  createdAt: mod2.string(),
11469
11469
  updatedAt: mod2.string(),
11470
11470
  expiresAt: mod2.string().optional(),
11471
- autoBoosts: mod2.string().array().optional()
11471
+ autoBoosts: mod2.string().array().optional(),
11472
+ writers: mod2.array(LCNProfileValidator2).optional()
11472
11473
  });
11473
11474
  var PaginatedConsentFlowContractsValidator2 = PaginationResponseValidator2.extend({
11474
11475
  records: ConsentFlowContractDetailsValidator2.omit({ owner: true }).array()
@@ -11509,7 +11510,8 @@ var require_types_cjs_development = __commonJS2({
11509
11510
  write: mod2.object({
11510
11511
  credentials: mod2.object({ categories: mod2.record(mod2.boolean()).default({}) }).default({}),
11511
11512
  personal: mod2.record(mod2.boolean()).default({})
11512
- }).default({})
11513
+ }).default({}),
11514
+ deniedWriters: mod2.array(mod2.string()).optional()
11513
11515
  });
11514
11516
  var PaginatedConsentFlowTermsValidator2 = PaginationResponseValidator2.extend({
11515
11517
  records: mod2.object({
@@ -15453,22 +15455,22 @@ var LCNProfileDisplayValidator = mod.object({
15453
15455
  repeatIdBackgroundImage: mod.boolean().optional()
15454
15456
  });
15455
15457
  var LCNProfileValidator = mod.object({
15456
- profileId: mod.string().min(3).max(40),
15457
- displayName: mod.string().default(""),
15458
- shortBio: mod.string().default(""),
15459
- bio: mod.string().default(""),
15460
- did: mod.string(),
15461
- isPrivate: mod.boolean().optional(),
15462
- email: mod.string().optional(),
15463
- image: mod.string().optional(),
15464
- heroImage: mod.string().optional(),
15465
- websiteLink: mod.string().optional(),
15466
- isServiceProfile: mod.boolean().default(false).optional(),
15467
- type: mod.string().optional(),
15468
- notificationsWebhook: mod.string().url().startsWith("http").optional(),
15469
- display: LCNProfileDisplayValidator.optional(),
15470
- role: mod.string().default("").optional(),
15471
- 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".')
15472
15474
  });
15473
15475
  var LCNProfileQueryValidator = mod.object({
15474
15476
  profileId: StringQuery,
@@ -15664,7 +15666,8 @@ var ConsentFlowContractDetailsValidator = mod.object({
15664
15666
  createdAt: mod.string(),
15665
15667
  updatedAt: mod.string(),
15666
15668
  expiresAt: mod.string().optional(),
15667
- autoBoosts: mod.string().array().optional()
15669
+ autoBoosts: mod.string().array().optional(),
15670
+ writers: mod.array(LCNProfileValidator).optional()
15668
15671
  });
15669
15672
  var PaginatedConsentFlowContractsValidator = PaginationResponseValidator.extend({
15670
15673
  records: ConsentFlowContractDetailsValidator.omit({ owner: true }).array()
@@ -15705,7 +15708,8 @@ var ConsentFlowTermsValidator = mod.object({
15705
15708
  write: mod.object({
15706
15709
  credentials: mod.object({ categories: mod.record(mod.boolean()).default({}) }).default({}),
15707
15710
  personal: mod.record(mod.boolean()).default({})
15708
- }).default({})
15711
+ }).default({}),
15712
+ deniedWriters: mod.array(mod.string()).optional()
15709
15713
  });
15710
15714
  var PaginatedConsentFlowTermsValidator = PaginationResponseValidator.extend({
15711
15715
  records: mod.object({