@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
|
@@ -3782,6 +3782,19 @@ var RegExpValidator = mod.instanceof(RegExp).or(
|
|
|
3782
3782
|
})
|
|
3783
3783
|
);
|
|
3784
3784
|
var StringQuery = mod.string().or(mod.object({ $in: mod.string().array() })).or(mod.object({ $regex: RegExpValidator }));
|
|
3785
|
+
var LCNProfileDisplayValidator = mod.object({
|
|
3786
|
+
backgroundColor: mod.string().optional(),
|
|
3787
|
+
backgroundImage: mod.string().optional(),
|
|
3788
|
+
fadeBackgroundImage: mod.boolean().optional(),
|
|
3789
|
+
repeatBackgroundImage: mod.boolean().optional(),
|
|
3790
|
+
fontColor: mod.string().optional(),
|
|
3791
|
+
accentColor: mod.string().optional(),
|
|
3792
|
+
accentFontColor: mod.string().optional(),
|
|
3793
|
+
idBackgroundImage: mod.string().optional(),
|
|
3794
|
+
fadeIdBackgroundImage: mod.boolean().optional(),
|
|
3795
|
+
idBackgroundColor: mod.string().optional(),
|
|
3796
|
+
repeatIdBackgroundImage: mod.boolean().optional()
|
|
3797
|
+
});
|
|
3785
3798
|
var LCNProfileValidator = mod.object({
|
|
3786
3799
|
profileId: mod.string().min(3).max(40),
|
|
3787
3800
|
displayName: mod.string().default(""),
|
|
@@ -3794,7 +3807,8 @@ var LCNProfileValidator = mod.object({
|
|
|
3794
3807
|
websiteLink: mod.string().optional(),
|
|
3795
3808
|
isServiceProfile: mod.boolean().default(false).optional(),
|
|
3796
3809
|
type: mod.string().optional(),
|
|
3797
|
-
notificationsWebhook: mod.string().url().startsWith("http").optional()
|
|
3810
|
+
notificationsWebhook: mod.string().url().startsWith("http").optional(),
|
|
3811
|
+
display: LCNProfileDisplayValidator.optional()
|
|
3798
3812
|
});
|
|
3799
3813
|
var LCNProfileQueryValidator = mod.object({
|
|
3800
3814
|
profileId: StringQuery,
|
|
@@ -3815,6 +3829,32 @@ var LCNProfileConnectionStatusEnum = mod.enum([
|
|
|
3815
3829
|
"PENDING_REQUEST_RECEIVED",
|
|
3816
3830
|
"NOT_CONNECTED"
|
|
3817
3831
|
]);
|
|
3832
|
+
var LCNProfileManagerValidator = mod.object({
|
|
3833
|
+
id: mod.string(),
|
|
3834
|
+
created: mod.string(),
|
|
3835
|
+
displayName: mod.string().default("").optional(),
|
|
3836
|
+
shortBio: mod.string().default("").optional(),
|
|
3837
|
+
bio: mod.string().default("").optional(),
|
|
3838
|
+
email: mod.string().optional(),
|
|
3839
|
+
image: mod.string().optional(),
|
|
3840
|
+
heroImage: mod.string().optional()
|
|
3841
|
+
});
|
|
3842
|
+
var PaginatedLCNProfileManagersValidator = PaginationResponseValidator.extend({
|
|
3843
|
+
records: LCNProfileManagerValidator.extend({ did: mod.string() }).array()
|
|
3844
|
+
});
|
|
3845
|
+
var LCNProfileManagerQueryValidator = mod.object({
|
|
3846
|
+
id: StringQuery,
|
|
3847
|
+
displayName: StringQuery,
|
|
3848
|
+
shortBio: StringQuery,
|
|
3849
|
+
bio: StringQuery,
|
|
3850
|
+
email: StringQuery
|
|
3851
|
+
}).partial();
|
|
3852
|
+
var PaginatedLCNProfilesAndManagersValidator = PaginationResponseValidator.extend({
|
|
3853
|
+
records: mod.object({
|
|
3854
|
+
profile: LCNProfileValidator,
|
|
3855
|
+
manager: LCNProfileManagerValidator.extend({ did: mod.string() }).optional()
|
|
3856
|
+
}).array()
|
|
3857
|
+
});
|
|
3818
3858
|
var SentCredentialInfoValidator = mod.object({
|
|
3819
3859
|
uri: mod.string(),
|
|
3820
3860
|
to: mod.string(),
|
|
@@ -3833,6 +3873,7 @@ var BoostPermissionsValidator = mod.object({
|
|
|
3833
3873
|
canEditChildren: mod.string(),
|
|
3834
3874
|
canRevokeChildren: mod.string(),
|
|
3835
3875
|
canManageChildrenPermissions: mod.string(),
|
|
3876
|
+
canManageChildrenProfiles: mod.boolean().default(false).optional(),
|
|
3836
3877
|
canViewAnalytics: mod.boolean()
|
|
3837
3878
|
});
|
|
3838
3879
|
var LCNBoostStatus = mod.enum(["DRAFT", "LIVE"]);
|