@learncard/learn-card-plugin 1.1.55 → 1.1.57
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 +6 -1
- 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 +6 -1
- package/dist/learn-card-plugin.esm.js.map +2 -2
- package/package.json +4 -4
|
@@ -4466,6 +4466,7 @@ var LCNProfileValidator = z.object({
|
|
|
4466
4466
|
type: z.string().optional().describe('Profile type: e.g. "person", "organization", "service".'),
|
|
4467
4467
|
notificationsWebhook: z.string().url().startsWith("http").optional().describe("URL to send notifications to."),
|
|
4468
4468
|
display: LCNProfileDisplayValidator.optional().describe("Display settings for the profile."),
|
|
4469
|
+
highlightedCredentials: z.array(z.string()).max(5).optional().describe("Up to 5 unique boost URIs to highlight on the profile."),
|
|
4469
4470
|
role: z.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
|
|
4470
4471
|
dob: z.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
|
|
4471
4472
|
});
|
|
@@ -4549,7 +4550,7 @@ var BoostPermissionsQueryValidator = z.object({
|
|
|
4549
4550
|
canManageChildrenProfiles: z.boolean(),
|
|
4550
4551
|
canViewAnalytics: z.boolean()
|
|
4551
4552
|
}).partial();
|
|
4552
|
-
var ClaimHookTypeValidator = z.enum(["GRANT_PERMISSIONS", "ADD_ADMIN"]);
|
|
4553
|
+
var ClaimHookTypeValidator = z.enum(["GRANT_PERMISSIONS", "ADD_ADMIN", "AUTO_CONNECT"]);
|
|
4553
4554
|
var ClaimHookValidator = z.discriminatedUnion("type", [
|
|
4554
4555
|
z.object({
|
|
4555
4556
|
type: z.literal(ClaimHookTypeValidator.Values.GRANT_PERMISSIONS),
|
|
@@ -4562,6 +4563,10 @@ var ClaimHookValidator = z.discriminatedUnion("type", [
|
|
|
4562
4563
|
z.object({
|
|
4563
4564
|
type: z.literal(ClaimHookTypeValidator.Values.ADD_ADMIN),
|
|
4564
4565
|
data: z.object({ claimUri: z.string(), targetUri: z.string() })
|
|
4566
|
+
}),
|
|
4567
|
+
z.object({
|
|
4568
|
+
type: z.literal(ClaimHookTypeValidator.Values.AUTO_CONNECT),
|
|
4569
|
+
data: z.object({ claimUri: z.string(), targetUri: z.string() })
|
|
4565
4570
|
})
|
|
4566
4571
|
]);
|
|
4567
4572
|
var ClaimHookQueryValidator = z.object({
|