@learncard/idx-plugin 1.0.36 → 1.0.38

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.
@@ -11375,22 +11375,22 @@ var LCNProfileDisplayValidator = mod.object({
11375
11375
  repeatIdBackgroundImage: mod.boolean().optional()
11376
11376
  });
11377
11377
  var LCNProfileValidator = mod.object({
11378
- profileId: mod.string().min(3).max(40),
11379
- displayName: mod.string().default(""),
11380
- shortBio: mod.string().default(""),
11381
- bio: mod.string().default(""),
11382
- did: mod.string(),
11383
- isPrivate: mod.boolean().optional(),
11384
- email: mod.string().optional(),
11385
- image: mod.string().optional(),
11386
- heroImage: mod.string().optional(),
11387
- websiteLink: mod.string().optional(),
11388
- isServiceProfile: mod.boolean().default(false).optional(),
11389
- type: mod.string().optional(),
11390
- notificationsWebhook: mod.string().url().startsWith("http").optional(),
11391
- display: LCNProfileDisplayValidator.optional(),
11392
- role: mod.string().default("").optional(),
11393
- dob: mod.string().default("").optional()
11378
+ profileId: mod.string().min(3).max(40).describe("Unique, URL-safe identifier for the profile."),
11379
+ displayName: mod.string().default("").describe("Human-readable display name for the profile."),
11380
+ shortBio: mod.string().default("").describe("Short bio for the profile."),
11381
+ bio: mod.string().default("").describe("Longer bio for the profile."),
11382
+ did: mod.string().describe("Decentralized Identifier for the profile. (auto-assigned)"),
11383
+ isPrivate: mod.boolean().optional().describe("Whether the profile is private or not and shows up in search results."),
11384
+ email: mod.string().optional().describe("Contact email address for the profile."),
11385
+ image: mod.string().optional().describe("Profile image URL for the profile."),
11386
+ heroImage: mod.string().optional().describe("Hero image URL for the profile."),
11387
+ websiteLink: mod.string().optional().describe("Website link for the profile."),
11388
+ isServiceProfile: mod.boolean().default(false).optional().describe("Whether the profile is a service profile or not."),
11389
+ type: mod.string().optional().describe('Profile type: e.g. "person", "organization", "service".'),
11390
+ notificationsWebhook: mod.string().url().startsWith("http").optional().describe("URL to send notifications to."),
11391
+ display: LCNProfileDisplayValidator.optional().describe("Display settings for the profile."),
11392
+ role: mod.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
11393
+ dob: mod.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
11394
11394
  });
11395
11395
  var LCNProfileQueryValidator = mod.object({
11396
11396
  profileId: StringQuery,
@@ -11586,7 +11586,8 @@ var ConsentFlowContractDetailsValidator = mod.object({
11586
11586
  createdAt: mod.string(),
11587
11587
  updatedAt: mod.string(),
11588
11588
  expiresAt: mod.string().optional(),
11589
- autoBoosts: mod.string().array().optional()
11589
+ autoBoosts: mod.string().array().optional(),
11590
+ writers: mod.array(LCNProfileValidator).optional()
11590
11591
  });
11591
11592
  var PaginatedConsentFlowContractsValidator = PaginationResponseValidator.extend({
11592
11593
  records: ConsentFlowContractDetailsValidator.omit({ owner: true }).array()
@@ -11627,7 +11628,8 @@ var ConsentFlowTermsValidator = mod.object({
11627
11628
  write: mod.object({
11628
11629
  credentials: mod.object({ categories: mod.record(mod.boolean()).default({}) }).default({}),
11629
11630
  personal: mod.record(mod.boolean()).default({})
11630
- }).default({})
11631
+ }).default({}),
11632
+ deniedWriters: mod.array(mod.string()).optional()
11631
11633
  });
11632
11634
  var PaginatedConsentFlowTermsValidator = PaginationResponseValidator.extend({
11633
11635
  records: mod.object({
@@ -66428,22 +66430,22 @@ var LCNProfileDisplayValidator2 = mod2.object({
66428
66430
  repeatIdBackgroundImage: mod2.boolean().optional()
66429
66431
  });
66430
66432
  var LCNProfileValidator2 = mod2.object({
66431
- profileId: mod2.string().min(3).max(40),
66432
- displayName: mod2.string().default(""),
66433
- shortBio: mod2.string().default(""),
66434
- bio: mod2.string().default(""),
66435
- did: mod2.string(),
66436
- isPrivate: mod2.boolean().optional(),
66437
- email: mod2.string().optional(),
66438
- image: mod2.string().optional(),
66439
- heroImage: mod2.string().optional(),
66440
- websiteLink: mod2.string().optional(),
66441
- isServiceProfile: mod2.boolean().default(false).optional(),
66442
- type: mod2.string().optional(),
66443
- notificationsWebhook: mod2.string().url().startsWith("http").optional(),
66444
- display: LCNProfileDisplayValidator2.optional(),
66445
- role: mod2.string().default("").optional(),
66446
- dob: mod2.string().default("").optional()
66433
+ profileId: mod2.string().min(3).max(40).describe("Unique, URL-safe identifier for the profile."),
66434
+ displayName: mod2.string().default("").describe("Human-readable display name for the profile."),
66435
+ shortBio: mod2.string().default("").describe("Short bio for the profile."),
66436
+ bio: mod2.string().default("").describe("Longer bio for the profile."),
66437
+ did: mod2.string().describe("Decentralized Identifier for the profile. (auto-assigned)"),
66438
+ isPrivate: mod2.boolean().optional().describe("Whether the profile is private or not and shows up in search results."),
66439
+ email: mod2.string().optional().describe("Contact email address for the profile."),
66440
+ image: mod2.string().optional().describe("Profile image URL for the profile."),
66441
+ heroImage: mod2.string().optional().describe("Hero image URL for the profile."),
66442
+ websiteLink: mod2.string().optional().describe("Website link for the profile."),
66443
+ isServiceProfile: mod2.boolean().default(false).optional().describe("Whether the profile is a service profile or not."),
66444
+ type: mod2.string().optional().describe('Profile type: e.g. "person", "organization", "service".'),
66445
+ notificationsWebhook: mod2.string().url().startsWith("http").optional().describe("URL to send notifications to."),
66446
+ display: LCNProfileDisplayValidator2.optional().describe("Display settings for the profile."),
66447
+ role: mod2.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
66448
+ dob: mod2.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
66447
66449
  });
66448
66450
  var LCNProfileQueryValidator2 = mod2.object({
66449
66451
  profileId: StringQuery2,
@@ -66639,7 +66641,8 @@ var ConsentFlowContractDetailsValidator2 = mod2.object({
66639
66641
  createdAt: mod2.string(),
66640
66642
  updatedAt: mod2.string(),
66641
66643
  expiresAt: mod2.string().optional(),
66642
- autoBoosts: mod2.string().array().optional()
66644
+ autoBoosts: mod2.string().array().optional(),
66645
+ writers: mod2.array(LCNProfileValidator2).optional()
66643
66646
  });
66644
66647
  var PaginatedConsentFlowContractsValidator2 = PaginationResponseValidator2.extend({
66645
66648
  records: ConsentFlowContractDetailsValidator2.omit({ owner: true }).array()
@@ -66680,7 +66683,8 @@ var ConsentFlowTermsValidator2 = mod2.object({
66680
66683
  write: mod2.object({
66681
66684
  credentials: mod2.object({ categories: mod2.record(mod2.boolean()).default({}) }).default({}),
66682
66685
  personal: mod2.record(mod2.boolean()).default({})
66683
- }).default({})
66686
+ }).default({}),
66687
+ deniedWriters: mod2.array(mod2.string()).optional()
66684
66688
  });
66685
66689
  var PaginatedConsentFlowTermsValidator2 = PaginationResponseValidator2.extend({
66686
66690
  records: mod2.object({