@learncard/learn-card-plugin 1.1.22 → 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.
@@ -3758,6 +3758,19 @@ var RegExpValidator = mod.instanceof(RegExp).or(
3758
3758
  })
3759
3759
  );
3760
3760
  var StringQuery = mod.string().or(mod.object({ $in: mod.string().array() })).or(mod.object({ $regex: RegExpValidator }));
3761
+ var LCNProfileDisplayValidator = mod.object({
3762
+ backgroundColor: mod.string().optional(),
3763
+ backgroundImage: mod.string().optional(),
3764
+ fadeBackgroundImage: mod.boolean().optional(),
3765
+ repeatBackgroundImage: mod.boolean().optional(),
3766
+ fontColor: mod.string().optional(),
3767
+ accentColor: mod.string().optional(),
3768
+ accentFontColor: mod.string().optional(),
3769
+ idBackgroundImage: mod.string().optional(),
3770
+ fadeIdBackgroundImage: mod.boolean().optional(),
3771
+ idBackgroundColor: mod.string().optional(),
3772
+ repeatIdBackgroundImage: mod.boolean().optional()
3773
+ });
3761
3774
  var LCNProfileValidator = mod.object({
3762
3775
  profileId: mod.string().min(3).max(40),
3763
3776
  displayName: mod.string().default(""),
@@ -3770,7 +3783,8 @@ var LCNProfileValidator = mod.object({
3770
3783
  websiteLink: mod.string().optional(),
3771
3784
  isServiceProfile: mod.boolean().default(false).optional(),
3772
3785
  type: mod.string().optional(),
3773
- notificationsWebhook: mod.string().url().startsWith("http").optional()
3786
+ notificationsWebhook: mod.string().url().startsWith("http").optional(),
3787
+ display: LCNProfileDisplayValidator.optional()
3774
3788
  });
3775
3789
  var LCNProfileQueryValidator = mod.object({
3776
3790
  profileId: StringQuery,