@learncard/ceramic-plugin 1.0.19 → 1.0.21
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.
- package/dist/ceramic-plugin.cjs.development.js +17 -2
- package/dist/ceramic-plugin.cjs.development.js.map +2 -2
- package/dist/ceramic-plugin.cjs.production.min.js +105 -105
- package/dist/ceramic-plugin.cjs.production.min.js.map +3 -3
- package/dist/ceramic-plugin.esm.js +17 -2
- package/dist/ceramic-plugin.esm.js.map +2 -2
- package/package.json +4 -4
|
@@ -53544,6 +53544,19 @@ var RegExpValidator = mod.instanceof(RegExp).or(
|
|
|
53544
53544
|
})
|
|
53545
53545
|
);
|
|
53546
53546
|
var StringQuery = mod.string().or(mod.object({ $in: mod.string().array() })).or(mod.object({ $regex: RegExpValidator }));
|
|
53547
|
+
var LCNProfileDisplayValidator = mod.object({
|
|
53548
|
+
backgroundColor: mod.string().optional(),
|
|
53549
|
+
backgroundImage: mod.string().optional(),
|
|
53550
|
+
fadeBackgroundImage: mod.boolean().optional(),
|
|
53551
|
+
repeatBackgroundImage: mod.boolean().optional(),
|
|
53552
|
+
fontColor: mod.string().optional(),
|
|
53553
|
+
accentColor: mod.string().optional(),
|
|
53554
|
+
accentFontColor: mod.string().optional(),
|
|
53555
|
+
idBackgroundImage: mod.string().optional(),
|
|
53556
|
+
fadeIdBackgroundImage: mod.boolean().optional(),
|
|
53557
|
+
idBackgroundColor: mod.string().optional(),
|
|
53558
|
+
repeatIdBackgroundImage: mod.boolean().optional()
|
|
53559
|
+
});
|
|
53547
53560
|
var LCNProfileValidator = mod.object({
|
|
53548
53561
|
profileId: mod.string().min(3).max(40),
|
|
53549
53562
|
displayName: mod.string().default(""),
|
|
@@ -53556,7 +53569,8 @@ var LCNProfileValidator = mod.object({
|
|
|
53556
53569
|
websiteLink: mod.string().optional(),
|
|
53557
53570
|
isServiceProfile: mod.boolean().default(false).optional(),
|
|
53558
53571
|
type: mod.string().optional(),
|
|
53559
|
-
notificationsWebhook: mod.string().url().startsWith("http").optional()
|
|
53572
|
+
notificationsWebhook: mod.string().url().startsWith("http").optional(),
|
|
53573
|
+
display: LCNProfileDisplayValidator.optional()
|
|
53560
53574
|
});
|
|
53561
53575
|
var LCNProfileQueryValidator = mod.object({
|
|
53562
53576
|
profileId: StringQuery,
|
|
@@ -53623,7 +53637,8 @@ var PaginatedBoostsValidator = PaginationResponseValidator.extend({
|
|
|
53623
53637
|
var BoostRecipientValidator = mod.object({
|
|
53624
53638
|
to: LCNProfileValidator,
|
|
53625
53639
|
from: mod.string(),
|
|
53626
|
-
received: mod.string().optional()
|
|
53640
|
+
received: mod.string().optional(),
|
|
53641
|
+
uri: mod.string().optional()
|
|
53627
53642
|
});
|
|
53628
53643
|
var PaginatedBoostRecipientsValidator = PaginationResponseValidator.extend({
|
|
53629
53644
|
records: BoostRecipientValidator.array()
|