@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
|
@@ -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,
|
|
@@ -53577,6 +53591,32 @@ var LCNProfileConnectionStatusEnum = mod.enum([
|
|
|
53577
53591
|
"PENDING_REQUEST_RECEIVED",
|
|
53578
53592
|
"NOT_CONNECTED"
|
|
53579
53593
|
]);
|
|
53594
|
+
var LCNProfileManagerValidator = mod.object({
|
|
53595
|
+
id: mod.string(),
|
|
53596
|
+
created: mod.string(),
|
|
53597
|
+
displayName: mod.string().default("").optional(),
|
|
53598
|
+
shortBio: mod.string().default("").optional(),
|
|
53599
|
+
bio: mod.string().default("").optional(),
|
|
53600
|
+
email: mod.string().optional(),
|
|
53601
|
+
image: mod.string().optional(),
|
|
53602
|
+
heroImage: mod.string().optional()
|
|
53603
|
+
});
|
|
53604
|
+
var PaginatedLCNProfileManagersValidator = PaginationResponseValidator.extend({
|
|
53605
|
+
records: LCNProfileManagerValidator.extend({ did: mod.string() }).array()
|
|
53606
|
+
});
|
|
53607
|
+
var LCNProfileManagerQueryValidator = mod.object({
|
|
53608
|
+
id: StringQuery,
|
|
53609
|
+
displayName: StringQuery,
|
|
53610
|
+
shortBio: StringQuery,
|
|
53611
|
+
bio: StringQuery,
|
|
53612
|
+
email: StringQuery
|
|
53613
|
+
}).partial();
|
|
53614
|
+
var PaginatedLCNProfilesAndManagersValidator = PaginationResponseValidator.extend({
|
|
53615
|
+
records: mod.object({
|
|
53616
|
+
profile: LCNProfileValidator,
|
|
53617
|
+
manager: LCNProfileManagerValidator.extend({ did: mod.string() }).optional()
|
|
53618
|
+
}).array()
|
|
53619
|
+
});
|
|
53580
53620
|
var SentCredentialInfoValidator = mod.object({
|
|
53581
53621
|
uri: mod.string(),
|
|
53582
53622
|
to: mod.string(),
|
|
@@ -53595,6 +53635,7 @@ var BoostPermissionsValidator = mod.object({
|
|
|
53595
53635
|
canEditChildren: mod.string(),
|
|
53596
53636
|
canRevokeChildren: mod.string(),
|
|
53597
53637
|
canManageChildrenPermissions: mod.string(),
|
|
53638
|
+
canManageChildrenProfiles: mod.boolean().default(false).optional(),
|
|
53598
53639
|
canViewAnalytics: mod.boolean()
|
|
53599
53640
|
});
|
|
53600
53641
|
var LCNBoostStatus = mod.enum(["DRAFT", "LIVE"]);
|