@learncard/network-brain-client 2.2.30 → 2.2.32

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @learncard/network-brain-client
2
2
 
3
+ ## 2.2.32
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`b04788beded98db2fb3827c94e0810943b7f698a`](https://github.com/learningeconomy/LearnCard/commit/b04788beded98db2fb3827c94e0810943b7f698a)]:
8
+ - @learncard/network-brain-service@3.3.31
9
+
10
+ ## 2.2.31
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [[`319bd3a589e3529d162825d8f6b97268c44060f4`](https://github.com/learningeconomy/LearnCard/commit/319bd3a589e3529d162825d8f6b97268c44060f4), [`319bd3a589e3529d162825d8f6b97268c44060f4`](https://github.com/learningeconomy/LearnCard/commit/319bd3a589e3529d162825d8f6b97268c44060f4)]:
15
+ - @learncard/network-brain-service@3.3.30
16
+
3
17
  ## 2.2.30
4
18
 
5
19
  ### Patch Changes
@@ -4013,22 +4013,22 @@ var require_helpers_cjs_development = __commonJS({
4013
4013
  repeatIdBackgroundImage: mod.boolean().optional()
4014
4014
  });
4015
4015
  var LCNProfileValidator = mod.object({
4016
- profileId: mod.string().min(3).max(40),
4017
- displayName: mod.string().default(""),
4018
- shortBio: mod.string().default(""),
4019
- bio: mod.string().default(""),
4020
- did: mod.string(),
4021
- isPrivate: mod.boolean().optional(),
4022
- email: mod.string().optional(),
4023
- image: mod.string().optional(),
4024
- heroImage: mod.string().optional(),
4025
- websiteLink: mod.string().optional(),
4026
- isServiceProfile: mod.boolean().default(false).optional(),
4027
- type: mod.string().optional(),
4028
- notificationsWebhook: mod.string().url().startsWith("http").optional(),
4029
- display: LCNProfileDisplayValidator.optional(),
4030
- role: mod.string().default("").optional(),
4031
- dob: mod.string().default("").optional()
4016
+ profileId: mod.string().min(3).max(40).describe("Unique, URL-safe identifier for the profile."),
4017
+ displayName: mod.string().default("").describe("Human-readable display name for the profile."),
4018
+ shortBio: mod.string().default("").describe("Short bio for the profile."),
4019
+ bio: mod.string().default("").describe("Longer bio for the profile."),
4020
+ did: mod.string().describe("Decentralized Identifier for the profile. (auto-assigned)"),
4021
+ isPrivate: mod.boolean().optional().describe("Whether the profile is private or not and shows up in search results."),
4022
+ email: mod.string().optional().describe("Contact email address for the profile."),
4023
+ image: mod.string().optional().describe("Profile image URL for the profile."),
4024
+ heroImage: mod.string().optional().describe("Hero image URL for the profile."),
4025
+ websiteLink: mod.string().optional().describe("Website link for the profile."),
4026
+ isServiceProfile: mod.boolean().default(false).optional().describe("Whether the profile is a service profile or not."),
4027
+ type: mod.string().optional().describe('Profile type: e.g. "person", "organization", "service".'),
4028
+ notificationsWebhook: mod.string().url().startsWith("http").optional().describe("URL to send notifications to."),
4029
+ display: LCNProfileDisplayValidator.optional().describe("Display settings for the profile."),
4030
+ role: mod.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
4031
+ dob: mod.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
4032
4032
  });
4033
4033
  var LCNProfileQueryValidator = mod.object({
4034
4034
  profileId: StringQuery,
@@ -4224,7 +4224,8 @@ var require_helpers_cjs_development = __commonJS({
4224
4224
  createdAt: mod.string(),
4225
4225
  updatedAt: mod.string(),
4226
4226
  expiresAt: mod.string().optional(),
4227
- autoBoosts: mod.string().array().optional()
4227
+ autoBoosts: mod.string().array().optional(),
4228
+ writers: mod.array(LCNProfileValidator).optional()
4228
4229
  });
4229
4230
  var PaginatedConsentFlowContractsValidator = PaginationResponseValidator.extend({
4230
4231
  records: ConsentFlowContractDetailsValidator.omit({ owner: true }).array()
@@ -4265,7 +4266,8 @@ var require_helpers_cjs_development = __commonJS({
4265
4266
  write: mod.object({
4266
4267
  credentials: mod.object({ categories: mod.record(mod.boolean()).default({}) }).default({}),
4267
4268
  personal: mod.record(mod.boolean()).default({})
4268
- }).default({})
4269
+ }).default({}),
4270
+ deniedWriters: mod.array(mod.string()).optional()
4269
4271
  });
4270
4272
  var PaginatedConsentFlowTermsValidator = PaginationResponseValidator.extend({
4271
4273
  records: mod.object({