@learncard/ceramic-plugin 1.0.20 → 1.0.22
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 +42 -1
- package/dist/ceramic-plugin.cjs.development.js.map +2 -2
- package/dist/ceramic-plugin.cjs.production.min.js +130 -130
- package/dist/ceramic-plugin.cjs.production.min.js.map +3 -3
- package/dist/ceramic-plugin.esm.js +42 -1
- package/dist/ceramic-plugin.esm.js.map +2 -2
- package/package.json +4 -4
|
@@ -53548,6 +53548,19 @@ var RegExpValidator = mod.instanceof(RegExp).or(
|
|
|
53548
53548
|
})
|
|
53549
53549
|
);
|
|
53550
53550
|
var StringQuery = mod.string().or(mod.object({ $in: mod.string().array() })).or(mod.object({ $regex: RegExpValidator }));
|
|
53551
|
+
var LCNProfileDisplayValidator = mod.object({
|
|
53552
|
+
backgroundColor: mod.string().optional(),
|
|
53553
|
+
backgroundImage: mod.string().optional(),
|
|
53554
|
+
fadeBackgroundImage: mod.boolean().optional(),
|
|
53555
|
+
repeatBackgroundImage: mod.boolean().optional(),
|
|
53556
|
+
fontColor: mod.string().optional(),
|
|
53557
|
+
accentColor: mod.string().optional(),
|
|
53558
|
+
accentFontColor: mod.string().optional(),
|
|
53559
|
+
idBackgroundImage: mod.string().optional(),
|
|
53560
|
+
fadeIdBackgroundImage: mod.boolean().optional(),
|
|
53561
|
+
idBackgroundColor: mod.string().optional(),
|
|
53562
|
+
repeatIdBackgroundImage: mod.boolean().optional()
|
|
53563
|
+
});
|
|
53551
53564
|
var LCNProfileValidator = mod.object({
|
|
53552
53565
|
profileId: mod.string().min(3).max(40),
|
|
53553
53566
|
displayName: mod.string().default(""),
|
|
@@ -53560,7 +53573,8 @@ var LCNProfileValidator = mod.object({
|
|
|
53560
53573
|
websiteLink: mod.string().optional(),
|
|
53561
53574
|
isServiceProfile: mod.boolean().default(false).optional(),
|
|
53562
53575
|
type: mod.string().optional(),
|
|
53563
|
-
notificationsWebhook: mod.string().url().startsWith("http").optional()
|
|
53576
|
+
notificationsWebhook: mod.string().url().startsWith("http").optional(),
|
|
53577
|
+
display: LCNProfileDisplayValidator.optional()
|
|
53564
53578
|
});
|
|
53565
53579
|
var LCNProfileQueryValidator = mod.object({
|
|
53566
53580
|
profileId: StringQuery,
|
|
@@ -53581,6 +53595,32 @@ var LCNProfileConnectionStatusEnum = mod.enum([
|
|
|
53581
53595
|
"PENDING_REQUEST_RECEIVED",
|
|
53582
53596
|
"NOT_CONNECTED"
|
|
53583
53597
|
]);
|
|
53598
|
+
var LCNProfileManagerValidator = mod.object({
|
|
53599
|
+
id: mod.string(),
|
|
53600
|
+
created: mod.string(),
|
|
53601
|
+
displayName: mod.string().default("").optional(),
|
|
53602
|
+
shortBio: mod.string().default("").optional(),
|
|
53603
|
+
bio: mod.string().default("").optional(),
|
|
53604
|
+
email: mod.string().optional(),
|
|
53605
|
+
image: mod.string().optional(),
|
|
53606
|
+
heroImage: mod.string().optional()
|
|
53607
|
+
});
|
|
53608
|
+
var PaginatedLCNProfileManagersValidator = PaginationResponseValidator.extend({
|
|
53609
|
+
records: LCNProfileManagerValidator.extend({ did: mod.string() }).array()
|
|
53610
|
+
});
|
|
53611
|
+
var LCNProfileManagerQueryValidator = mod.object({
|
|
53612
|
+
id: StringQuery,
|
|
53613
|
+
displayName: StringQuery,
|
|
53614
|
+
shortBio: StringQuery,
|
|
53615
|
+
bio: StringQuery,
|
|
53616
|
+
email: StringQuery
|
|
53617
|
+
}).partial();
|
|
53618
|
+
var PaginatedLCNProfilesAndManagersValidator = PaginationResponseValidator.extend({
|
|
53619
|
+
records: mod.object({
|
|
53620
|
+
profile: LCNProfileValidator,
|
|
53621
|
+
manager: LCNProfileManagerValidator.extend({ did: mod.string() }).optional()
|
|
53622
|
+
}).array()
|
|
53623
|
+
});
|
|
53584
53624
|
var SentCredentialInfoValidator = mod.object({
|
|
53585
53625
|
uri: mod.string(),
|
|
53586
53626
|
to: mod.string(),
|
|
@@ -53599,6 +53639,7 @@ var BoostPermissionsValidator = mod.object({
|
|
|
53599
53639
|
canEditChildren: mod.string(),
|
|
53600
53640
|
canRevokeChildren: mod.string(),
|
|
53601
53641
|
canManageChildrenPermissions: mod.string(),
|
|
53642
|
+
canManageChildrenProfiles: mod.boolean().default(false).optional(),
|
|
53602
53643
|
canViewAnalytics: mod.boolean()
|
|
53603
53644
|
});
|
|
53604
53645
|
var LCNBoostStatus = mod.enum(["DRAFT", "LIVE"]);
|