@learncard/network-brain-client 2.1.1 → 2.1.2

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.
@@ -133,6 +133,7 @@ var require_helpers_cjs_development = __commonJS({
133
133
  LCNNotificationTypeEnumValidator: () => LCNNotificationTypeEnumValidator,
134
134
  LCNNotificationValidator: () => LCNNotificationValidator,
135
135
  LCNProfileConnectionStatusEnum: () => LCNProfileConnectionStatusEnum,
136
+ LCNProfileDisplayValidator: () => LCNProfileDisplayValidator,
136
137
  LCNProfileQueryValidator: () => LCNProfileQueryValidator,
137
138
  LCNProfileValidator: () => LCNProfileValidator,
138
139
  LCNSigningAuthorityForUserValidator: () => LCNSigningAuthorityForUserValidator,
@@ -3953,6 +3954,19 @@ var require_helpers_cjs_development = __commonJS({
3953
3954
  })
3954
3955
  );
3955
3956
  var StringQuery = mod.string().or(mod.object({ $in: mod.string().array() })).or(mod.object({ $regex: RegExpValidator }));
3957
+ var LCNProfileDisplayValidator = mod.object({
3958
+ backgroundColor: mod.string().optional(),
3959
+ backgroundImage: mod.string().optional(),
3960
+ fadeBackgroundImage: mod.boolean().optional(),
3961
+ repeatBackgroundImage: mod.boolean().optional(),
3962
+ fontColor: mod.string().optional(),
3963
+ accentColor: mod.string().optional(),
3964
+ accentFontColor: mod.string().optional(),
3965
+ idBackgroundImage: mod.string().optional(),
3966
+ fadeIdBackgroundImage: mod.boolean().optional(),
3967
+ idBackgroundColor: mod.string().optional(),
3968
+ repeatIdBackgroundImage: mod.boolean().optional()
3969
+ });
3956
3970
  var LCNProfileValidator = mod.object({
3957
3971
  profileId: mod.string().min(3).max(40),
3958
3972
  displayName: mod.string().default(""),
@@ -3965,7 +3979,8 @@ var require_helpers_cjs_development = __commonJS({
3965
3979
  websiteLink: mod.string().optional(),
3966
3980
  isServiceProfile: mod.boolean().default(false).optional(),
3967
3981
  type: mod.string().optional(),
3968
- notificationsWebhook: mod.string().url().startsWith("http").optional()
3982
+ notificationsWebhook: mod.string().url().startsWith("http").optional(),
3983
+ display: LCNProfileDisplayValidator.optional()
3969
3984
  });
3970
3985
  var LCNProfileQueryValidator = mod.object({
3971
3986
  profileId: StringQuery,