@learncard/learn-card-plugin 1.1.22 → 1.1.24
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/learn-card-plugin.cjs.development.js +42 -1
- package/dist/learn-card-plugin.cjs.development.js.map +2 -2
- package/dist/learn-card-plugin.cjs.production.min.js +1 -1
- package/dist/learn-card-plugin.cjs.production.min.js.map +3 -3
- package/dist/learn-card-plugin.esm.js +42 -1
- package/dist/learn-card-plugin.esm.js.map +2 -2
- package/package.json +4 -4
|
@@ -3758,6 +3758,19 @@ var RegExpValidator = mod.instanceof(RegExp).or(
|
|
|
3758
3758
|
})
|
|
3759
3759
|
);
|
|
3760
3760
|
var StringQuery = mod.string().or(mod.object({ $in: mod.string().array() })).or(mod.object({ $regex: RegExpValidator }));
|
|
3761
|
+
var LCNProfileDisplayValidator = mod.object({
|
|
3762
|
+
backgroundColor: mod.string().optional(),
|
|
3763
|
+
backgroundImage: mod.string().optional(),
|
|
3764
|
+
fadeBackgroundImage: mod.boolean().optional(),
|
|
3765
|
+
repeatBackgroundImage: mod.boolean().optional(),
|
|
3766
|
+
fontColor: mod.string().optional(),
|
|
3767
|
+
accentColor: mod.string().optional(),
|
|
3768
|
+
accentFontColor: mod.string().optional(),
|
|
3769
|
+
idBackgroundImage: mod.string().optional(),
|
|
3770
|
+
fadeIdBackgroundImage: mod.boolean().optional(),
|
|
3771
|
+
idBackgroundColor: mod.string().optional(),
|
|
3772
|
+
repeatIdBackgroundImage: mod.boolean().optional()
|
|
3773
|
+
});
|
|
3761
3774
|
var LCNProfileValidator = mod.object({
|
|
3762
3775
|
profileId: mod.string().min(3).max(40),
|
|
3763
3776
|
displayName: mod.string().default(""),
|
|
@@ -3770,7 +3783,8 @@ var LCNProfileValidator = mod.object({
|
|
|
3770
3783
|
websiteLink: mod.string().optional(),
|
|
3771
3784
|
isServiceProfile: mod.boolean().default(false).optional(),
|
|
3772
3785
|
type: mod.string().optional(),
|
|
3773
|
-
notificationsWebhook: mod.string().url().startsWith("http").optional()
|
|
3786
|
+
notificationsWebhook: mod.string().url().startsWith("http").optional(),
|
|
3787
|
+
display: LCNProfileDisplayValidator.optional()
|
|
3774
3788
|
});
|
|
3775
3789
|
var LCNProfileQueryValidator = mod.object({
|
|
3776
3790
|
profileId: StringQuery,
|
|
@@ -3791,6 +3805,32 @@ var LCNProfileConnectionStatusEnum = mod.enum([
|
|
|
3791
3805
|
"PENDING_REQUEST_RECEIVED",
|
|
3792
3806
|
"NOT_CONNECTED"
|
|
3793
3807
|
]);
|
|
3808
|
+
var LCNProfileManagerValidator = mod.object({
|
|
3809
|
+
id: mod.string(),
|
|
3810
|
+
created: mod.string(),
|
|
3811
|
+
displayName: mod.string().default("").optional(),
|
|
3812
|
+
shortBio: mod.string().default("").optional(),
|
|
3813
|
+
bio: mod.string().default("").optional(),
|
|
3814
|
+
email: mod.string().optional(),
|
|
3815
|
+
image: mod.string().optional(),
|
|
3816
|
+
heroImage: mod.string().optional()
|
|
3817
|
+
});
|
|
3818
|
+
var PaginatedLCNProfileManagersValidator = PaginationResponseValidator.extend({
|
|
3819
|
+
records: LCNProfileManagerValidator.extend({ did: mod.string() }).array()
|
|
3820
|
+
});
|
|
3821
|
+
var LCNProfileManagerQueryValidator = mod.object({
|
|
3822
|
+
id: StringQuery,
|
|
3823
|
+
displayName: StringQuery,
|
|
3824
|
+
shortBio: StringQuery,
|
|
3825
|
+
bio: StringQuery,
|
|
3826
|
+
email: StringQuery
|
|
3827
|
+
}).partial();
|
|
3828
|
+
var PaginatedLCNProfilesAndManagersValidator = PaginationResponseValidator.extend({
|
|
3829
|
+
records: mod.object({
|
|
3830
|
+
profile: LCNProfileValidator,
|
|
3831
|
+
manager: LCNProfileManagerValidator.extend({ did: mod.string() }).optional()
|
|
3832
|
+
}).array()
|
|
3833
|
+
});
|
|
3794
3834
|
var SentCredentialInfoValidator = mod.object({
|
|
3795
3835
|
uri: mod.string(),
|
|
3796
3836
|
to: mod.string(),
|
|
@@ -3809,6 +3849,7 @@ var BoostPermissionsValidator = mod.object({
|
|
|
3809
3849
|
canEditChildren: mod.string(),
|
|
3810
3850
|
canRevokeChildren: mod.string(),
|
|
3811
3851
|
canManageChildrenPermissions: mod.string(),
|
|
3852
|
+
canManageChildrenProfiles: mod.boolean().default(false).optional(),
|
|
3812
3853
|
canViewAnalytics: mod.boolean()
|
|
3813
3854
|
});
|
|
3814
3855
|
var LCNBoostStatus = mod.enum(["DRAFT", "LIVE"]);
|