@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.
@@ -11369,22 +11369,22 @@ var LCNProfileDisplayValidator = mod.object({
11369
11369
  repeatIdBackgroundImage: mod.boolean().optional()
11370
11370
  });
11371
11371
  var LCNProfileValidator = mod.object({
11372
- profileId: mod.string().min(3).max(40),
11373
- displayName: mod.string().default(""),
11374
- shortBio: mod.string().default(""),
11375
- bio: mod.string().default(""),
11376
- did: mod.string(),
11377
- isPrivate: mod.boolean().optional(),
11378
- email: mod.string().optional(),
11379
- image: mod.string().optional(),
11380
- heroImage: mod.string().optional(),
11381
- websiteLink: mod.string().optional(),
11382
- isServiceProfile: mod.boolean().default(false).optional(),
11383
- type: mod.string().optional(),
11384
- notificationsWebhook: mod.string().url().startsWith("http").optional(),
11385
- display: LCNProfileDisplayValidator.optional(),
11386
- role: mod.string().default("").optional(),
11387
- dob: mod.string().default("").optional()
11372
+ profileId: mod.string().min(3).max(40).describe("Unique, URL-safe identifier for the profile."),
11373
+ displayName: mod.string().default("").describe("Human-readable display name for the profile."),
11374
+ shortBio: mod.string().default("").describe("Short bio for the profile."),
11375
+ bio: mod.string().default("").describe("Longer bio for the profile."),
11376
+ did: mod.string().describe("Decentralized Identifier for the profile. (auto-assigned)"),
11377
+ isPrivate: mod.boolean().optional().describe("Whether the profile is private or not and shows up in search results."),
11378
+ email: mod.string().optional().describe("Contact email address for the profile."),
11379
+ image: mod.string().optional().describe("Profile image URL for the profile."),
11380
+ heroImage: mod.string().optional().describe("Hero image URL for the profile."),
11381
+ websiteLink: mod.string().optional().describe("Website link for the profile."),
11382
+ isServiceProfile: mod.boolean().default(false).optional().describe("Whether the profile is a service profile or not."),
11383
+ type: mod.string().optional().describe('Profile type: e.g. "person", "organization", "service".'),
11384
+ notificationsWebhook: mod.string().url().startsWith("http").optional().describe("URL to send notifications to."),
11385
+ display: LCNProfileDisplayValidator.optional().describe("Display settings for the profile."),
11386
+ role: mod.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
11387
+ dob: mod.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
11388
11388
  });
11389
11389
  var LCNProfileQueryValidator = mod.object({
11390
11390
  profileId: StringQuery,
@@ -11580,7 +11580,8 @@ var ConsentFlowContractDetailsValidator = mod.object({
11580
11580
  createdAt: mod.string(),
11581
11581
  updatedAt: mod.string(),
11582
11582
  expiresAt: mod.string().optional(),
11583
- autoBoosts: mod.string().array().optional()
11583
+ autoBoosts: mod.string().array().optional(),
11584
+ writers: mod.array(LCNProfileValidator).optional()
11584
11585
  });
11585
11586
  var PaginatedConsentFlowContractsValidator = PaginationResponseValidator.extend({
11586
11587
  records: ConsentFlowContractDetailsValidator.omit({ owner: true }).array()
@@ -11621,7 +11622,8 @@ var ConsentFlowTermsValidator = mod.object({
11621
11622
  write: mod.object({
11622
11623
  credentials: mod.object({ categories: mod.record(mod.boolean()).default({}) }).default({}),
11623
11624
  personal: mod.record(mod.boolean()).default({})
11624
- }).default({})
11625
+ }).default({}),
11626
+ deniedWriters: mod.array(mod.string()).optional()
11625
11627
  });
11626
11628
  var PaginatedConsentFlowTermsValidator = PaginationResponseValidator.extend({
11627
11629
  records: mod.object({
@@ -66422,22 +66424,22 @@ var LCNProfileDisplayValidator2 = mod2.object({
66422
66424
  repeatIdBackgroundImage: mod2.boolean().optional()
66423
66425
  });
66424
66426
  var LCNProfileValidator2 = mod2.object({
66425
- profileId: mod2.string().min(3).max(40),
66426
- displayName: mod2.string().default(""),
66427
- shortBio: mod2.string().default(""),
66428
- bio: mod2.string().default(""),
66429
- did: mod2.string(),
66430
- isPrivate: mod2.boolean().optional(),
66431
- email: mod2.string().optional(),
66432
- image: mod2.string().optional(),
66433
- heroImage: mod2.string().optional(),
66434
- websiteLink: mod2.string().optional(),
66435
- isServiceProfile: mod2.boolean().default(false).optional(),
66436
- type: mod2.string().optional(),
66437
- notificationsWebhook: mod2.string().url().startsWith("http").optional(),
66438
- display: LCNProfileDisplayValidator2.optional(),
66439
- role: mod2.string().default("").optional(),
66440
- dob: mod2.string().default("").optional()
66427
+ profileId: mod2.string().min(3).max(40).describe("Unique, URL-safe identifier for the profile."),
66428
+ displayName: mod2.string().default("").describe("Human-readable display name for the profile."),
66429
+ shortBio: mod2.string().default("").describe("Short bio for the profile."),
66430
+ bio: mod2.string().default("").describe("Longer bio for the profile."),
66431
+ did: mod2.string().describe("Decentralized Identifier for the profile. (auto-assigned)"),
66432
+ isPrivate: mod2.boolean().optional().describe("Whether the profile is private or not and shows up in search results."),
66433
+ email: mod2.string().optional().describe("Contact email address for the profile."),
66434
+ image: mod2.string().optional().describe("Profile image URL for the profile."),
66435
+ heroImage: mod2.string().optional().describe("Hero image URL for the profile."),
66436
+ websiteLink: mod2.string().optional().describe("Website link for the profile."),
66437
+ isServiceProfile: mod2.boolean().default(false).optional().describe("Whether the profile is a service profile or not."),
66438
+ type: mod2.string().optional().describe('Profile type: e.g. "person", "organization", "service".'),
66439
+ notificationsWebhook: mod2.string().url().startsWith("http").optional().describe("URL to send notifications to."),
66440
+ display: LCNProfileDisplayValidator2.optional().describe("Display settings for the profile."),
66441
+ role: mod2.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
66442
+ dob: mod2.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
66441
66443
  });
66442
66444
  var LCNProfileQueryValidator2 = mod2.object({
66443
66445
  profileId: StringQuery2,
@@ -66633,7 +66635,8 @@ var ConsentFlowContractDetailsValidator2 = mod2.object({
66633
66635
  createdAt: mod2.string(),
66634
66636
  updatedAt: mod2.string(),
66635
66637
  expiresAt: mod2.string().optional(),
66636
- autoBoosts: mod2.string().array().optional()
66638
+ autoBoosts: mod2.string().array().optional(),
66639
+ writers: mod2.array(LCNProfileValidator2).optional()
66637
66640
  });
66638
66641
  var PaginatedConsentFlowContractsValidator2 = PaginationResponseValidator2.extend({
66639
66642
  records: ConsentFlowContractDetailsValidator2.omit({ owner: true }).array()
@@ -66674,7 +66677,8 @@ var ConsentFlowTermsValidator2 = mod2.object({
66674
66677
  write: mod2.object({
66675
66678
  credentials: mod2.object({ categories: mod2.record(mod2.boolean()).default({}) }).default({}),
66676
66679
  personal: mod2.record(mod2.boolean()).default({})
66677
- }).default({})
66680
+ }).default({}),
66681
+ deniedWriters: mod2.array(mod2.string()).optional()
66678
66682
  });
66679
66683
  var PaginatedConsentFlowTermsValidator2 = PaginationResponseValidator2.extend({
66680
66684
  records: mod2.object({