@learncard/network-plugin 2.2.1 → 2.2.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.
@@ -1289,6 +1289,7 @@ var require_helpers_cjs_development = __commonJS({
1289
1289
  LCNNotificationTypeEnumValidator: () => LCNNotificationTypeEnumValidator2,
1290
1290
  LCNNotificationValidator: () => LCNNotificationValidator2,
1291
1291
  LCNProfileConnectionStatusEnum: () => LCNProfileConnectionStatusEnum2,
1292
+ LCNProfileDisplayValidator: () => LCNProfileDisplayValidator2,
1292
1293
  LCNProfileQueryValidator: () => LCNProfileQueryValidator2,
1293
1294
  LCNProfileValidator: () => LCNProfileValidator2,
1294
1295
  LCNSigningAuthorityForUserValidator: () => LCNSigningAuthorityForUserValidator2,
@@ -5124,6 +5125,19 @@ var require_helpers_cjs_development = __commonJS({
5124
5125
  })
5125
5126
  );
5126
5127
  var StringQuery2 = mod2.string().or(mod2.object({ $in: mod2.string().array() })).or(mod2.object({ $regex: RegExpValidator2 }));
5128
+ var LCNProfileDisplayValidator2 = mod2.object({
5129
+ backgroundColor: mod2.string().optional(),
5130
+ backgroundImage: mod2.string().optional(),
5131
+ fadeBackgroundImage: mod2.boolean().optional(),
5132
+ repeatBackgroundImage: mod2.boolean().optional(),
5133
+ fontColor: mod2.string().optional(),
5134
+ accentColor: mod2.string().optional(),
5135
+ accentFontColor: mod2.string().optional(),
5136
+ idBackgroundImage: mod2.string().optional(),
5137
+ fadeIdBackgroundImage: mod2.boolean().optional(),
5138
+ idBackgroundColor: mod2.string().optional(),
5139
+ repeatIdBackgroundImage: mod2.boolean().optional()
5140
+ });
5127
5141
  var LCNProfileValidator2 = mod2.object({
5128
5142
  profileId: mod2.string().min(3).max(40),
5129
5143
  displayName: mod2.string().default(""),
@@ -5136,7 +5150,8 @@ var require_helpers_cjs_development = __commonJS({
5136
5150
  websiteLink: mod2.string().optional(),
5137
5151
  isServiceProfile: mod2.boolean().default(false).optional(),
5138
5152
  type: mod2.string().optional(),
5139
- notificationsWebhook: mod2.string().url().startsWith("http").optional()
5153
+ notificationsWebhook: mod2.string().url().startsWith("http").optional(),
5154
+ display: LCNProfileDisplayValidator2.optional()
5140
5155
  });
5141
5156
  var LCNProfileQueryValidator2 = mod2.object({
5142
5157
  profileId: StringQuery2,
@@ -9284,6 +9299,19 @@ var RegExpValidator = mod.instanceof(RegExp).or(
9284
9299
  })
9285
9300
  );
9286
9301
  var StringQuery = mod.string().or(mod.object({ $in: mod.string().array() })).or(mod.object({ $regex: RegExpValidator }));
9302
+ var LCNProfileDisplayValidator = mod.object({
9303
+ backgroundColor: mod.string().optional(),
9304
+ backgroundImage: mod.string().optional(),
9305
+ fadeBackgroundImage: mod.boolean().optional(),
9306
+ repeatBackgroundImage: mod.boolean().optional(),
9307
+ fontColor: mod.string().optional(),
9308
+ accentColor: mod.string().optional(),
9309
+ accentFontColor: mod.string().optional(),
9310
+ idBackgroundImage: mod.string().optional(),
9311
+ fadeIdBackgroundImage: mod.boolean().optional(),
9312
+ idBackgroundColor: mod.string().optional(),
9313
+ repeatIdBackgroundImage: mod.boolean().optional()
9314
+ });
9287
9315
  var LCNProfileValidator = mod.object({
9288
9316
  profileId: mod.string().min(3).max(40),
9289
9317
  displayName: mod.string().default(""),
@@ -9296,7 +9324,8 @@ var LCNProfileValidator = mod.object({
9296
9324
  websiteLink: mod.string().optional(),
9297
9325
  isServiceProfile: mod.boolean().default(false).optional(),
9298
9326
  type: mod.string().optional(),
9299
- notificationsWebhook: mod.string().url().startsWith("http").optional()
9327
+ notificationsWebhook: mod.string().url().startsWith("http").optional(),
9328
+ display: LCNProfileDisplayValidator.optional()
9300
9329
  });
9301
9330
  var LCNProfileQueryValidator = mod.object({
9302
9331
  profileId: StringQuery,