@learncard/helpers 1.1.14 → 1.1.16
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/helpers.cjs.development.js +20 -18
- package/dist/helpers.cjs.development.js.map +2 -2
- package/dist/helpers.cjs.production.min.js +1 -1
- package/dist/helpers.cjs.production.min.js.map +3 -3
- package/dist/helpers.esm.js +20 -18
- package/dist/helpers.esm.js.map +2 -2
- package/package.json +2 -2
package/dist/helpers.esm.js
CHANGED
@@ -3960,22 +3960,22 @@ var require_types_cjs_development = __commonJS({
|
|
3960
3960
|
repeatIdBackgroundImage: mod.boolean().optional()
|
3961
3961
|
});
|
3962
3962
|
var LCNProfileValidator = mod.object({
|
3963
|
-
profileId: mod.string().min(3).max(40),
|
3964
|
-
displayName: mod.string().default(""),
|
3965
|
-
shortBio: mod.string().default(""),
|
3966
|
-
bio: mod.string().default(""),
|
3967
|
-
did: mod.string(),
|
3968
|
-
isPrivate: mod.boolean().optional(),
|
3969
|
-
email: mod.string().optional(),
|
3970
|
-
image: mod.string().optional(),
|
3971
|
-
heroImage: mod.string().optional(),
|
3972
|
-
websiteLink: mod.string().optional(),
|
3973
|
-
isServiceProfile: mod.boolean().default(false).optional(),
|
3974
|
-
type: mod.string().optional(),
|
3975
|
-
notificationsWebhook: mod.string().url().startsWith("http").optional(),
|
3976
|
-
display: LCNProfileDisplayValidator.optional(),
|
3977
|
-
role: mod.string().default("").optional(),
|
3978
|
-
dob: mod.string().default("").optional()
|
3963
|
+
profileId: mod.string().min(3).max(40).describe("Unique, URL-safe identifier for the profile."),
|
3964
|
+
displayName: mod.string().default("").describe("Human-readable display name for the profile."),
|
3965
|
+
shortBio: mod.string().default("").describe("Short bio for the profile."),
|
3966
|
+
bio: mod.string().default("").describe("Longer bio for the profile."),
|
3967
|
+
did: mod.string().describe("Decentralized Identifier for the profile. (auto-assigned)"),
|
3968
|
+
isPrivate: mod.boolean().optional().describe("Whether the profile is private or not and shows up in search results."),
|
3969
|
+
email: mod.string().optional().describe("Contact email address for the profile."),
|
3970
|
+
image: mod.string().optional().describe("Profile image URL for the profile."),
|
3971
|
+
heroImage: mod.string().optional().describe("Hero image URL for the profile."),
|
3972
|
+
websiteLink: mod.string().optional().describe("Website link for the profile."),
|
3973
|
+
isServiceProfile: mod.boolean().default(false).optional().describe("Whether the profile is a service profile or not."),
|
3974
|
+
type: mod.string().optional().describe('Profile type: e.g. "person", "organization", "service".'),
|
3975
|
+
notificationsWebhook: mod.string().url().startsWith("http").optional().describe("URL to send notifications to."),
|
3976
|
+
display: LCNProfileDisplayValidator.optional().describe("Display settings for the profile."),
|
3977
|
+
role: mod.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
|
3978
|
+
dob: mod.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
|
3979
3979
|
});
|
3980
3980
|
var LCNProfileQueryValidator = mod.object({
|
3981
3981
|
profileId: StringQuery,
|
@@ -4171,7 +4171,8 @@ var require_types_cjs_development = __commonJS({
|
|
4171
4171
|
createdAt: mod.string(),
|
4172
4172
|
updatedAt: mod.string(),
|
4173
4173
|
expiresAt: mod.string().optional(),
|
4174
|
-
autoBoosts: mod.string().array().optional()
|
4174
|
+
autoBoosts: mod.string().array().optional(),
|
4175
|
+
writers: mod.array(LCNProfileValidator).optional()
|
4175
4176
|
});
|
4176
4177
|
var PaginatedConsentFlowContractsValidator = PaginationResponseValidator.extend({
|
4177
4178
|
records: ConsentFlowContractDetailsValidator.omit({ owner: true }).array()
|
@@ -4212,7 +4213,8 @@ var require_types_cjs_development = __commonJS({
|
|
4212
4213
|
write: mod.object({
|
4213
4214
|
credentials: mod.object({ categories: mod.record(mod.boolean()).default({}) }).default({}),
|
4214
4215
|
personal: mod.record(mod.boolean()).default({})
|
4215
|
-
}).default({})
|
4216
|
+
}).default({}),
|
4217
|
+
deniedWriters: mod.array(mod.string()).optional()
|
4216
4218
|
});
|
4217
4219
|
var PaginatedConsentFlowTermsValidator = PaginationResponseValidator.extend({
|
4218
4220
|
records: mod.object({
|