@learncard/learn-card-plugin 1.1.21 → 1.1.23

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.
@@ -3782,6 +3782,19 @@ var RegExpValidator = mod.instanceof(RegExp).or(
3782
3782
  })
3783
3783
  );
3784
3784
  var StringQuery = mod.string().or(mod.object({ $in: mod.string().array() })).or(mod.object({ $regex: RegExpValidator }));
3785
+ var LCNProfileDisplayValidator = mod.object({
3786
+ backgroundColor: mod.string().optional(),
3787
+ backgroundImage: mod.string().optional(),
3788
+ fadeBackgroundImage: mod.boolean().optional(),
3789
+ repeatBackgroundImage: mod.boolean().optional(),
3790
+ fontColor: mod.string().optional(),
3791
+ accentColor: mod.string().optional(),
3792
+ accentFontColor: mod.string().optional(),
3793
+ idBackgroundImage: mod.string().optional(),
3794
+ fadeIdBackgroundImage: mod.boolean().optional(),
3795
+ idBackgroundColor: mod.string().optional(),
3796
+ repeatIdBackgroundImage: mod.boolean().optional()
3797
+ });
3785
3798
  var LCNProfileValidator = mod.object({
3786
3799
  profileId: mod.string().min(3).max(40),
3787
3800
  displayName: mod.string().default(""),
@@ -3794,7 +3807,8 @@ var LCNProfileValidator = mod.object({
3794
3807
  websiteLink: mod.string().optional(),
3795
3808
  isServiceProfile: mod.boolean().default(false).optional(),
3796
3809
  type: mod.string().optional(),
3797
- notificationsWebhook: mod.string().url().startsWith("http").optional()
3810
+ notificationsWebhook: mod.string().url().startsWith("http").optional(),
3811
+ display: LCNProfileDisplayValidator.optional()
3798
3812
  });
3799
3813
  var LCNProfileQueryValidator = mod.object({
3800
3814
  profileId: StringQuery,
@@ -3861,7 +3875,8 @@ var PaginatedBoostsValidator = PaginationResponseValidator.extend({
3861
3875
  var BoostRecipientValidator = mod.object({
3862
3876
  to: LCNProfileValidator,
3863
3877
  from: mod.string(),
3864
- received: mod.string().optional()
3878
+ received: mod.string().optional(),
3879
+ uri: mod.string().optional()
3865
3880
  });
3866
3881
  var PaginatedBoostRecipientsValidator = PaginationResponseValidator.extend({
3867
3882
  records: BoostRecipientValidator.array()