@learncard/network-brain-client 2.3.24 → 2.3.26
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/CHANGELOG.md +14 -0
- package/dist/brain-client.cjs.development.js +6 -1
- package/dist/brain-client.cjs.development.js.map +2 -2
- package/dist/brain-client.cjs.production.min.js +1 -1
- package/dist/brain-client.cjs.production.min.js.map +3 -3
- package/dist/brain-client.esm.js +6 -1
- package/dist/brain-client.esm.js.map +2 -2
- package/package.json +4 -4
package/dist/brain-client.esm.js
CHANGED
|
@@ -4716,6 +4716,7 @@ var require_helpers_cjs_development = __commonJS({
|
|
|
4716
4716
|
type: z.string().optional().describe('Profile type: e.g. "person", "organization", "service".'),
|
|
4717
4717
|
notificationsWebhook: z.string().url().startsWith("http").optional().describe("URL to send notifications to."),
|
|
4718
4718
|
display: LCNProfileDisplayValidator.optional().describe("Display settings for the profile."),
|
|
4719
|
+
highlightedCredentials: z.array(z.string()).max(5).optional().describe("Up to 5 unique boost URIs to highlight on the profile."),
|
|
4719
4720
|
role: z.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
|
|
4720
4721
|
dob: z.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
|
|
4721
4722
|
});
|
|
@@ -4799,7 +4800,7 @@ var require_helpers_cjs_development = __commonJS({
|
|
|
4799
4800
|
canManageChildrenProfiles: z.boolean(),
|
|
4800
4801
|
canViewAnalytics: z.boolean()
|
|
4801
4802
|
}).partial();
|
|
4802
|
-
var ClaimHookTypeValidator = z.enum(["GRANT_PERMISSIONS", "ADD_ADMIN"]);
|
|
4803
|
+
var ClaimHookTypeValidator = z.enum(["GRANT_PERMISSIONS", "ADD_ADMIN", "AUTO_CONNECT"]);
|
|
4803
4804
|
var ClaimHookValidator = z.discriminatedUnion("type", [
|
|
4804
4805
|
z.object({
|
|
4805
4806
|
type: z.literal(ClaimHookTypeValidator.Values.GRANT_PERMISSIONS),
|
|
@@ -4812,6 +4813,10 @@ var require_helpers_cjs_development = __commonJS({
|
|
|
4812
4813
|
z.object({
|
|
4813
4814
|
type: z.literal(ClaimHookTypeValidator.Values.ADD_ADMIN),
|
|
4814
4815
|
data: z.object({ claimUri: z.string(), targetUri: z.string() })
|
|
4816
|
+
}),
|
|
4817
|
+
z.object({
|
|
4818
|
+
type: z.literal(ClaimHookTypeValidator.Values.AUTO_CONNECT),
|
|
4819
|
+
data: z.object({ claimUri: z.string(), targetUri: z.string() })
|
|
4815
4820
|
})
|
|
4816
4821
|
]);
|
|
4817
4822
|
var ClaimHookQueryValidator = z.object({
|