@learncard/learn-cloud-plugin 2.1.20 → 2.1.22
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-cloud-plugin.cjs.development.js +40 -36
- package/dist/learn-cloud-plugin.cjs.development.js.map +2 -2
- package/dist/learn-cloud-plugin.cjs.production.min.js +15 -15
- package/dist/learn-cloud-plugin.cjs.production.min.js.map +3 -3
- package/dist/learn-cloud-plugin.esm.js +40 -36
- package/dist/learn-cloud-plugin.esm.js.map +2 -2
- package/package.json +7 -7
|
@@ -11244,22 +11244,22 @@ var require_types_cjs_development = __commonJS2({
|
|
|
11244
11244
|
repeatIdBackgroundImage: mod2.boolean().optional()
|
|
11245
11245
|
});
|
|
11246
11246
|
var LCNProfileValidator2 = mod2.object({
|
|
11247
|
-
profileId: mod2.string().min(3).max(40),
|
|
11248
|
-
displayName: mod2.string().default(""),
|
|
11249
|
-
shortBio: mod2.string().default(""),
|
|
11250
|
-
bio: mod2.string().default(""),
|
|
11251
|
-
did: mod2.string(),
|
|
11252
|
-
isPrivate: mod2.boolean().optional(),
|
|
11253
|
-
email: mod2.string().optional(),
|
|
11254
|
-
image: mod2.string().optional(),
|
|
11255
|
-
heroImage: mod2.string().optional(),
|
|
11256
|
-
websiteLink: mod2.string().optional(),
|
|
11257
|
-
isServiceProfile: mod2.boolean().default(false).optional(),
|
|
11258
|
-
type: mod2.string().optional(),
|
|
11259
|
-
notificationsWebhook: mod2.string().url().startsWith("http").optional(),
|
|
11260
|
-
display: LCNProfileDisplayValidator2.optional(),
|
|
11261
|
-
role: mod2.string().default("").optional(),
|
|
11262
|
-
dob: mod2.string().default("").optional()
|
|
11247
|
+
profileId: mod2.string().min(3).max(40).describe("Unique, URL-safe identifier for the profile."),
|
|
11248
|
+
displayName: mod2.string().default("").describe("Human-readable display name for the profile."),
|
|
11249
|
+
shortBio: mod2.string().default("").describe("Short bio for the profile."),
|
|
11250
|
+
bio: mod2.string().default("").describe("Longer bio for the profile."),
|
|
11251
|
+
did: mod2.string().describe("Decentralized Identifier for the profile. (auto-assigned)"),
|
|
11252
|
+
isPrivate: mod2.boolean().optional().describe("Whether the profile is private or not and shows up in search results."),
|
|
11253
|
+
email: mod2.string().optional().describe("Contact email address for the profile."),
|
|
11254
|
+
image: mod2.string().optional().describe("Profile image URL for the profile."),
|
|
11255
|
+
heroImage: mod2.string().optional().describe("Hero image URL for the profile."),
|
|
11256
|
+
websiteLink: mod2.string().optional().describe("Website link for the profile."),
|
|
11257
|
+
isServiceProfile: mod2.boolean().default(false).optional().describe("Whether the profile is a service profile or not."),
|
|
11258
|
+
type: mod2.string().optional().describe('Profile type: e.g. "person", "organization", "service".'),
|
|
11259
|
+
notificationsWebhook: mod2.string().url().startsWith("http").optional().describe("URL to send notifications to."),
|
|
11260
|
+
display: LCNProfileDisplayValidator2.optional().describe("Display settings for the profile."),
|
|
11261
|
+
role: mod2.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
|
|
11262
|
+
dob: mod2.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
|
|
11263
11263
|
});
|
|
11264
11264
|
var LCNProfileQueryValidator2 = mod2.object({
|
|
11265
11265
|
profileId: StringQuery2,
|
|
@@ -11455,7 +11455,8 @@ var require_types_cjs_development = __commonJS2({
|
|
|
11455
11455
|
createdAt: mod2.string(),
|
|
11456
11456
|
updatedAt: mod2.string(),
|
|
11457
11457
|
expiresAt: mod2.string().optional(),
|
|
11458
|
-
autoBoosts: mod2.string().array().optional()
|
|
11458
|
+
autoBoosts: mod2.string().array().optional(),
|
|
11459
|
+
writers: mod2.array(LCNProfileValidator2).optional()
|
|
11459
11460
|
});
|
|
11460
11461
|
var PaginatedConsentFlowContractsValidator2 = PaginationResponseValidator2.extend({
|
|
11461
11462
|
records: ConsentFlowContractDetailsValidator2.omit({ owner: true }).array()
|
|
@@ -11496,7 +11497,8 @@ var require_types_cjs_development = __commonJS2({
|
|
|
11496
11497
|
write: mod2.object({
|
|
11497
11498
|
credentials: mod2.object({ categories: mod2.record(mod2.boolean()).default({}) }).default({}),
|
|
11498
11499
|
personal: mod2.record(mod2.boolean()).default({})
|
|
11499
|
-
}).default({})
|
|
11500
|
+
}).default({}),
|
|
11501
|
+
deniedWriters: mod2.array(mod2.string()).optional()
|
|
11500
11502
|
});
|
|
11501
11503
|
var PaginatedConsentFlowTermsValidator2 = PaginationResponseValidator2.extend({
|
|
11502
11504
|
records: mod2.object({
|
|
@@ -15440,22 +15442,22 @@ var LCNProfileDisplayValidator = mod.object({
|
|
|
15440
15442
|
repeatIdBackgroundImage: mod.boolean().optional()
|
|
15441
15443
|
});
|
|
15442
15444
|
var LCNProfileValidator = mod.object({
|
|
15443
|
-
profileId: mod.string().min(3).max(40),
|
|
15444
|
-
displayName: mod.string().default(""),
|
|
15445
|
-
shortBio: mod.string().default(""),
|
|
15446
|
-
bio: mod.string().default(""),
|
|
15447
|
-
did: mod.string(),
|
|
15448
|
-
isPrivate: mod.boolean().optional(),
|
|
15449
|
-
email: mod.string().optional(),
|
|
15450
|
-
image: mod.string().optional(),
|
|
15451
|
-
heroImage: mod.string().optional(),
|
|
15452
|
-
websiteLink: mod.string().optional(),
|
|
15453
|
-
isServiceProfile: mod.boolean().default(false).optional(),
|
|
15454
|
-
type: mod.string().optional(),
|
|
15455
|
-
notificationsWebhook: mod.string().url().startsWith("http").optional(),
|
|
15456
|
-
display: LCNProfileDisplayValidator.optional(),
|
|
15457
|
-
role: mod.string().default("").optional(),
|
|
15458
|
-
dob: mod.string().default("").optional()
|
|
15445
|
+
profileId: mod.string().min(3).max(40).describe("Unique, URL-safe identifier for the profile."),
|
|
15446
|
+
displayName: mod.string().default("").describe("Human-readable display name for the profile."),
|
|
15447
|
+
shortBio: mod.string().default("").describe("Short bio for the profile."),
|
|
15448
|
+
bio: mod.string().default("").describe("Longer bio for the profile."),
|
|
15449
|
+
did: mod.string().describe("Decentralized Identifier for the profile. (auto-assigned)"),
|
|
15450
|
+
isPrivate: mod.boolean().optional().describe("Whether the profile is private or not and shows up in search results."),
|
|
15451
|
+
email: mod.string().optional().describe("Contact email address for the profile."),
|
|
15452
|
+
image: mod.string().optional().describe("Profile image URL for the profile."),
|
|
15453
|
+
heroImage: mod.string().optional().describe("Hero image URL for the profile."),
|
|
15454
|
+
websiteLink: mod.string().optional().describe("Website link for the profile."),
|
|
15455
|
+
isServiceProfile: mod.boolean().default(false).optional().describe("Whether the profile is a service profile or not."),
|
|
15456
|
+
type: mod.string().optional().describe('Profile type: e.g. "person", "organization", "service".'),
|
|
15457
|
+
notificationsWebhook: mod.string().url().startsWith("http").optional().describe("URL to send notifications to."),
|
|
15458
|
+
display: LCNProfileDisplayValidator.optional().describe("Display settings for the profile."),
|
|
15459
|
+
role: mod.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
|
|
15460
|
+
dob: mod.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
|
|
15459
15461
|
});
|
|
15460
15462
|
var LCNProfileQueryValidator = mod.object({
|
|
15461
15463
|
profileId: StringQuery,
|
|
@@ -15651,7 +15653,8 @@ var ConsentFlowContractDetailsValidator = mod.object({
|
|
|
15651
15653
|
createdAt: mod.string(),
|
|
15652
15654
|
updatedAt: mod.string(),
|
|
15653
15655
|
expiresAt: mod.string().optional(),
|
|
15654
|
-
autoBoosts: mod.string().array().optional()
|
|
15656
|
+
autoBoosts: mod.string().array().optional(),
|
|
15657
|
+
writers: mod.array(LCNProfileValidator).optional()
|
|
15655
15658
|
});
|
|
15656
15659
|
var PaginatedConsentFlowContractsValidator = PaginationResponseValidator.extend({
|
|
15657
15660
|
records: ConsentFlowContractDetailsValidator.omit({ owner: true }).array()
|
|
@@ -15692,7 +15695,8 @@ var ConsentFlowTermsValidator = mod.object({
|
|
|
15692
15695
|
write: mod.object({
|
|
15693
15696
|
credentials: mod.object({ categories: mod.record(mod.boolean()).default({}) }).default({}),
|
|
15694
15697
|
personal: mod.record(mod.boolean()).default({})
|
|
15695
|
-
}).default({})
|
|
15698
|
+
}).default({}),
|
|
15699
|
+
deniedWriters: mod.array(mod.string()).optional()
|
|
15696
15700
|
});
|
|
15697
15701
|
var PaginatedConsentFlowTermsValidator = PaginationResponseValidator.extend({
|
|
15698
15702
|
records: mod.object({
|