@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
|
@@ -3786,22 +3786,22 @@ var LCNProfileDisplayValidator = mod.object({
|
|
|
3786
3786
|
repeatIdBackgroundImage: mod.boolean().optional()
|
|
3787
3787
|
});
|
|
3788
3788
|
var LCNProfileValidator = mod.object({
|
|
3789
|
-
profileId: mod.string().min(3).max(40),
|
|
3790
|
-
displayName: mod.string().default(""),
|
|
3791
|
-
shortBio: mod.string().default(""),
|
|
3792
|
-
bio: mod.string().default(""),
|
|
3793
|
-
did: mod.string(),
|
|
3794
|
-
isPrivate: mod.boolean().optional(),
|
|
3795
|
-
email: mod.string().optional(),
|
|
3796
|
-
image: mod.string().optional(),
|
|
3797
|
-
heroImage: mod.string().optional(),
|
|
3798
|
-
websiteLink: mod.string().optional(),
|
|
3799
|
-
isServiceProfile: mod.boolean().default(false).optional(),
|
|
3800
|
-
type: mod.string().optional(),
|
|
3801
|
-
notificationsWebhook: mod.string().url().startsWith("http").optional(),
|
|
3802
|
-
display: LCNProfileDisplayValidator.optional(),
|
|
3803
|
-
role: mod.string().default("").optional(),
|
|
3804
|
-
dob: mod.string().default("").optional()
|
|
3789
|
+
profileId: mod.string().min(3).max(40).describe("Unique, URL-safe identifier for the profile."),
|
|
3790
|
+
displayName: mod.string().default("").describe("Human-readable display name for the profile."),
|
|
3791
|
+
shortBio: mod.string().default("").describe("Short bio for the profile."),
|
|
3792
|
+
bio: mod.string().default("").describe("Longer bio for the profile."),
|
|
3793
|
+
did: mod.string().describe("Decentralized Identifier for the profile. (auto-assigned)"),
|
|
3794
|
+
isPrivate: mod.boolean().optional().describe("Whether the profile is private or not and shows up in search results."),
|
|
3795
|
+
email: mod.string().optional().describe("Contact email address for the profile."),
|
|
3796
|
+
image: mod.string().optional().describe("Profile image URL for the profile."),
|
|
3797
|
+
heroImage: mod.string().optional().describe("Hero image URL for the profile."),
|
|
3798
|
+
websiteLink: mod.string().optional().describe("Website link for the profile."),
|
|
3799
|
+
isServiceProfile: mod.boolean().default(false).optional().describe("Whether the profile is a service profile or not."),
|
|
3800
|
+
type: mod.string().optional().describe('Profile type: e.g. "person", "organization", "service".'),
|
|
3801
|
+
notificationsWebhook: mod.string().url().startsWith("http").optional().describe("URL to send notifications to."),
|
|
3802
|
+
display: LCNProfileDisplayValidator.optional().describe("Display settings for the profile."),
|
|
3803
|
+
role: mod.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
|
|
3804
|
+
dob: mod.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
|
|
3805
3805
|
});
|
|
3806
3806
|
var LCNProfileQueryValidator = mod.object({
|
|
3807
3807
|
profileId: StringQuery,
|
|
@@ -3997,7 +3997,8 @@ var ConsentFlowContractDetailsValidator = mod.object({
|
|
|
3997
3997
|
createdAt: mod.string(),
|
|
3998
3998
|
updatedAt: mod.string(),
|
|
3999
3999
|
expiresAt: mod.string().optional(),
|
|
4000
|
-
autoBoosts: mod.string().array().optional()
|
|
4000
|
+
autoBoosts: mod.string().array().optional(),
|
|
4001
|
+
writers: mod.array(LCNProfileValidator).optional()
|
|
4001
4002
|
});
|
|
4002
4003
|
var PaginatedConsentFlowContractsValidator = PaginationResponseValidator.extend({
|
|
4003
4004
|
records: ConsentFlowContractDetailsValidator.omit({ owner: true }).array()
|
|
@@ -4038,7 +4039,8 @@ var ConsentFlowTermsValidator = mod.object({
|
|
|
4038
4039
|
write: mod.object({
|
|
4039
4040
|
credentials: mod.object({ categories: mod.record(mod.boolean()).default({}) }).default({}),
|
|
4040
4041
|
personal: mod.record(mod.boolean()).default({})
|
|
4041
|
-
}).default({})
|
|
4042
|
+
}).default({}),
|
|
4043
|
+
deniedWriters: mod.array(mod.string()).optional()
|
|
4042
4044
|
});
|
|
4043
4045
|
var PaginatedConsentFlowTermsValidator = PaginationResponseValidator.extend({
|
|
4044
4046
|
records: mod.object({
|