@learncard/learn-card-plugin 1.1.39 → 1.1.41
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 +20 -18
- 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 +2 -2
- package/dist/learn-card-plugin.esm.js +20 -18
- package/dist/learn-card-plugin.esm.js.map +2 -2
- package/package.json +4 -4
|
@@ -3810,22 +3810,22 @@ var LCNProfileDisplayValidator = mod.object({
|
|
|
3810
3810
|
repeatIdBackgroundImage: mod.boolean().optional()
|
|
3811
3811
|
});
|
|
3812
3812
|
var LCNProfileValidator = mod.object({
|
|
3813
|
-
profileId: mod.string().min(3).max(40),
|
|
3814
|
-
displayName: mod.string().default(""),
|
|
3815
|
-
shortBio: mod.string().default(""),
|
|
3816
|
-
bio: mod.string().default(""),
|
|
3817
|
-
did: mod.string(),
|
|
3818
|
-
isPrivate: mod.boolean().optional(),
|
|
3819
|
-
email: mod.string().optional(),
|
|
3820
|
-
image: mod.string().optional(),
|
|
3821
|
-
heroImage: mod.string().optional(),
|
|
3822
|
-
websiteLink: mod.string().optional(),
|
|
3823
|
-
isServiceProfile: mod.boolean().default(false).optional(),
|
|
3824
|
-
type: mod.string().optional(),
|
|
3825
|
-
notificationsWebhook: mod.string().url().startsWith("http").optional(),
|
|
3826
|
-
display: LCNProfileDisplayValidator.optional(),
|
|
3827
|
-
role: mod.string().default("").optional(),
|
|
3828
|
-
dob: mod.string().default("").optional()
|
|
3813
|
+
profileId: mod.string().min(3).max(40).describe("Unique, URL-safe identifier for the profile."),
|
|
3814
|
+
displayName: mod.string().default("").describe("Human-readable display name for the profile."),
|
|
3815
|
+
shortBio: mod.string().default("").describe("Short bio for the profile."),
|
|
3816
|
+
bio: mod.string().default("").describe("Longer bio for the profile."),
|
|
3817
|
+
did: mod.string().describe("Decentralized Identifier for the profile. (auto-assigned)"),
|
|
3818
|
+
isPrivate: mod.boolean().optional().describe("Whether the profile is private or not and shows up in search results."),
|
|
3819
|
+
email: mod.string().optional().describe("Contact email address for the profile."),
|
|
3820
|
+
image: mod.string().optional().describe("Profile image URL for the profile."),
|
|
3821
|
+
heroImage: mod.string().optional().describe("Hero image URL for the profile."),
|
|
3822
|
+
websiteLink: mod.string().optional().describe("Website link for the profile."),
|
|
3823
|
+
isServiceProfile: mod.boolean().default(false).optional().describe("Whether the profile is a service profile or not."),
|
|
3824
|
+
type: mod.string().optional().describe('Profile type: e.g. "person", "organization", "service".'),
|
|
3825
|
+
notificationsWebhook: mod.string().url().startsWith("http").optional().describe("URL to send notifications to."),
|
|
3826
|
+
display: LCNProfileDisplayValidator.optional().describe("Display settings for the profile."),
|
|
3827
|
+
role: mod.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
|
|
3828
|
+
dob: mod.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
|
|
3829
3829
|
});
|
|
3830
3830
|
var LCNProfileQueryValidator = mod.object({
|
|
3831
3831
|
profileId: StringQuery,
|
|
@@ -4021,7 +4021,8 @@ var ConsentFlowContractDetailsValidator = mod.object({
|
|
|
4021
4021
|
createdAt: mod.string(),
|
|
4022
4022
|
updatedAt: mod.string(),
|
|
4023
4023
|
expiresAt: mod.string().optional(),
|
|
4024
|
-
autoBoosts: mod.string().array().optional()
|
|
4024
|
+
autoBoosts: mod.string().array().optional(),
|
|
4025
|
+
writers: mod.array(LCNProfileValidator).optional()
|
|
4025
4026
|
});
|
|
4026
4027
|
var PaginatedConsentFlowContractsValidator = PaginationResponseValidator.extend({
|
|
4027
4028
|
records: ConsentFlowContractDetailsValidator.omit({ owner: true }).array()
|
|
@@ -4062,7 +4063,8 @@ var ConsentFlowTermsValidator = mod.object({
|
|
|
4062
4063
|
write: mod.object({
|
|
4063
4064
|
credentials: mod.object({ categories: mod.record(mod.boolean()).default({}) }).default({}),
|
|
4064
4065
|
personal: mod.record(mod.boolean()).default({})
|
|
4065
|
-
}).default({})
|
|
4066
|
+
}).default({}),
|
|
4067
|
+
deniedWriters: mod.array(mod.string()).optional()
|
|
4066
4068
|
});
|
|
4067
4069
|
var PaginatedConsentFlowTermsValidator = PaginationResponseValidator.extend({
|
|
4068
4070
|
records: mod.object({
|