@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
|
@@ -4490,6 +4490,7 @@ var LCNProfileValidator = z.object({
|
|
|
4490
4490
|
type: z.string().optional().describe('Profile type: e.g. "person", "organization", "service".'),
|
|
4491
4491
|
notificationsWebhook: z.string().url().startsWith("http").optional().describe("URL to send notifications to."),
|
|
4492
4492
|
display: LCNProfileDisplayValidator.optional().describe("Display settings for the profile."),
|
|
4493
|
+
highlightedCredentials: z.array(z.string()).max(5).optional().describe("Up to 5 unique boost URIs to highlight on the profile."),
|
|
4493
4494
|
role: z.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
|
|
4494
4495
|
dob: z.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
|
|
4495
4496
|
});
|
|
@@ -4573,7 +4574,7 @@ var BoostPermissionsQueryValidator = z.object({
|
|
|
4573
4574
|
canManageChildrenProfiles: z.boolean(),
|
|
4574
4575
|
canViewAnalytics: z.boolean()
|
|
4575
4576
|
}).partial();
|
|
4576
|
-
var ClaimHookTypeValidator = z.enum(["GRANT_PERMISSIONS", "ADD_ADMIN"]);
|
|
4577
|
+
var ClaimHookTypeValidator = z.enum(["GRANT_PERMISSIONS", "ADD_ADMIN", "AUTO_CONNECT"]);
|
|
4577
4578
|
var ClaimHookValidator = z.discriminatedUnion("type", [
|
|
4578
4579
|
z.object({
|
|
4579
4580
|
type: z.literal(ClaimHookTypeValidator.Values.GRANT_PERMISSIONS),
|
|
@@ -4586,6 +4587,10 @@ var ClaimHookValidator = z.discriminatedUnion("type", [
|
|
|
4586
4587
|
z.object({
|
|
4587
4588
|
type: z.literal(ClaimHookTypeValidator.Values.ADD_ADMIN),
|
|
4588
4589
|
data: z.object({ claimUri: z.string(), targetUri: z.string() })
|
|
4590
|
+
}),
|
|
4591
|
+
z.object({
|
|
4592
|
+
type: z.literal(ClaimHookTypeValidator.Values.AUTO_CONNECT),
|
|
4593
|
+
data: z.object({ claimUri: z.string(), targetUri: z.string() })
|
|
4589
4594
|
})
|
|
4590
4595
|
]);
|
|
4591
4596
|
var ClaimHookQueryValidator = z.object({
|