@learncard/ceramic-plugin 1.0.36 → 1.0.38
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 +20 -18
- package/dist/ceramic-plugin.cjs.development.js.map +2 -2
- package/dist/ceramic-plugin.cjs.production.min.js +18 -18
- package/dist/ceramic-plugin.cjs.production.min.js.map +2 -2
- package/dist/ceramic-plugin.esm.js +20 -18
- package/dist/ceramic-plugin.esm.js.map +2 -2
- package/package.json +4 -4
|
@@ -53707,22 +53707,22 @@ var LCNProfileDisplayValidator = mod.object({
|
|
|
53707
53707
|
repeatIdBackgroundImage: mod.boolean().optional()
|
|
53708
53708
|
});
|
|
53709
53709
|
var LCNProfileValidator = mod.object({
|
|
53710
|
-
profileId: mod.string().min(3).max(40),
|
|
53711
|
-
displayName: mod.string().default(""),
|
|
53712
|
-
shortBio: mod.string().default(""),
|
|
53713
|
-
bio: mod.string().default(""),
|
|
53714
|
-
did: mod.string(),
|
|
53715
|
-
isPrivate: mod.boolean().optional(),
|
|
53716
|
-
email: mod.string().optional(),
|
|
53717
|
-
image: mod.string().optional(),
|
|
53718
|
-
heroImage: mod.string().optional(),
|
|
53719
|
-
websiteLink: mod.string().optional(),
|
|
53720
|
-
isServiceProfile: mod.boolean().default(false).optional(),
|
|
53721
|
-
type: mod.string().optional(),
|
|
53722
|
-
notificationsWebhook: mod.string().url().startsWith("http").optional(),
|
|
53723
|
-
display: LCNProfileDisplayValidator.optional(),
|
|
53724
|
-
role: mod.string().default("").optional(),
|
|
53725
|
-
dob: mod.string().default("").optional()
|
|
53710
|
+
profileId: mod.string().min(3).max(40).describe("Unique, URL-safe identifier for the profile."),
|
|
53711
|
+
displayName: mod.string().default("").describe("Human-readable display name for the profile."),
|
|
53712
|
+
shortBio: mod.string().default("").describe("Short bio for the profile."),
|
|
53713
|
+
bio: mod.string().default("").describe("Longer bio for the profile."),
|
|
53714
|
+
did: mod.string().describe("Decentralized Identifier for the profile. (auto-assigned)"),
|
|
53715
|
+
isPrivate: mod.boolean().optional().describe("Whether the profile is private or not and shows up in search results."),
|
|
53716
|
+
email: mod.string().optional().describe("Contact email address for the profile."),
|
|
53717
|
+
image: mod.string().optional().describe("Profile image URL for the profile."),
|
|
53718
|
+
heroImage: mod.string().optional().describe("Hero image URL for the profile."),
|
|
53719
|
+
websiteLink: mod.string().optional().describe("Website link for the profile."),
|
|
53720
|
+
isServiceProfile: mod.boolean().default(false).optional().describe("Whether the profile is a service profile or not."),
|
|
53721
|
+
type: mod.string().optional().describe('Profile type: e.g. "person", "organization", "service".'),
|
|
53722
|
+
notificationsWebhook: mod.string().url().startsWith("http").optional().describe("URL to send notifications to."),
|
|
53723
|
+
display: LCNProfileDisplayValidator.optional().describe("Display settings for the profile."),
|
|
53724
|
+
role: mod.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
|
|
53725
|
+
dob: mod.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
|
|
53726
53726
|
});
|
|
53727
53727
|
var LCNProfileQueryValidator = mod.object({
|
|
53728
53728
|
profileId: StringQuery,
|
|
@@ -53918,7 +53918,8 @@ var ConsentFlowContractDetailsValidator = mod.object({
|
|
|
53918
53918
|
createdAt: mod.string(),
|
|
53919
53919
|
updatedAt: mod.string(),
|
|
53920
53920
|
expiresAt: mod.string().optional(),
|
|
53921
|
-
autoBoosts: mod.string().array().optional()
|
|
53921
|
+
autoBoosts: mod.string().array().optional(),
|
|
53922
|
+
writers: mod.array(LCNProfileValidator).optional()
|
|
53922
53923
|
});
|
|
53923
53924
|
var PaginatedConsentFlowContractsValidator = PaginationResponseValidator.extend({
|
|
53924
53925
|
records: ConsentFlowContractDetailsValidator.omit({ owner: true }).array()
|
|
@@ -53959,7 +53960,8 @@ var ConsentFlowTermsValidator = mod.object({
|
|
|
53959
53960
|
write: mod.object({
|
|
53960
53961
|
credentials: mod.object({ categories: mod.record(mod.boolean()).default({}) }).default({}),
|
|
53961
53962
|
personal: mod.record(mod.boolean()).default({})
|
|
53962
|
-
}).default({})
|
|
53963
|
+
}).default({}),
|
|
53964
|
+
deniedWriters: mod.array(mod.string()).optional()
|
|
53963
53965
|
});
|
|
53964
53966
|
var PaginatedConsentFlowTermsValidator = PaginationResponseValidator.extend({
|
|
53965
53967
|
records: mod.object({
|