@learncard/didkey-plugin 1.0.20 → 1.0.21

Sign up to get free protection for your applications and to get access to all the features.
@@ -139,6 +139,7 @@ var require_types_cjs_development = __commonJS({
139
139
  LCNNotificationTypeEnumValidator: () => LCNNotificationTypeEnumValidator,
140
140
  LCNNotificationValidator: () => LCNNotificationValidator,
141
141
  LCNProfileConnectionStatusEnum: () => LCNProfileConnectionStatusEnum,
142
+ LCNProfileDisplayValidator: () => LCNProfileDisplayValidator,
142
143
  LCNProfileQueryValidator: () => LCNProfileQueryValidator,
143
144
  LCNProfileValidator: () => LCNProfileValidator,
144
145
  LCNSigningAuthorityForUserValidator: () => LCNSigningAuthorityForUserValidator,
@@ -3959,6 +3960,19 @@ var require_types_cjs_development = __commonJS({
3959
3960
  })
3960
3961
  );
3961
3962
  var StringQuery = mod.string().or(mod.object({ $in: mod.string().array() })).or(mod.object({ $regex: RegExpValidator }));
3963
+ var LCNProfileDisplayValidator = mod.object({
3964
+ backgroundColor: mod.string().optional(),
3965
+ backgroundImage: mod.string().optional(),
3966
+ fadeBackgroundImage: mod.boolean().optional(),
3967
+ repeatBackgroundImage: mod.boolean().optional(),
3968
+ fontColor: mod.string().optional(),
3969
+ accentColor: mod.string().optional(),
3970
+ accentFontColor: mod.string().optional(),
3971
+ idBackgroundImage: mod.string().optional(),
3972
+ fadeIdBackgroundImage: mod.boolean().optional(),
3973
+ idBackgroundColor: mod.string().optional(),
3974
+ repeatIdBackgroundImage: mod.boolean().optional()
3975
+ });
3962
3976
  var LCNProfileValidator = mod.object({
3963
3977
  profileId: mod.string().min(3).max(40),
3964
3978
  displayName: mod.string().default(""),
@@ -3971,7 +3985,8 @@ var require_types_cjs_development = __commonJS({
3971
3985
  websiteLink: mod.string().optional(),
3972
3986
  isServiceProfile: mod.boolean().default(false).optional(),
3973
3987
  type: mod.string().optional(),
3974
- notificationsWebhook: mod.string().url().startsWith("http").optional()
3988
+ notificationsWebhook: mod.string().url().startsWith("http").optional(),
3989
+ display: LCNProfileDisplayValidator.optional()
3975
3990
  });
3976
3991
  var LCNProfileQueryValidator = mod.object({
3977
3992
  profileId: StringQuery,