@learncard/network-plugin 2.5.19 → 2.5.21
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/lcn-plugin.cjs.development.js +18 -3
- package/dist/lcn-plugin.cjs.development.js.map +2 -2
- package/dist/lcn-plugin.cjs.production.min.js +2 -2
- package/dist/lcn-plugin.cjs.production.min.js.map +2 -2
- package/dist/lcn-plugin.esm.js +18 -3
- package/dist/lcn-plugin.esm.js.map +2 -2
- package/package.json +8 -8
|
@@ -6709,6 +6709,7 @@ var require_helpers_cjs_development = __commonJS({
|
|
|
6709
6709
|
type: z2.string().optional().describe('Profile type: e.g. "person", "organization", "service".'),
|
|
6710
6710
|
notificationsWebhook: z2.string().url().startsWith("http").optional().describe("URL to send notifications to."),
|
|
6711
6711
|
display: LCNProfileDisplayValidator2.optional().describe("Display settings for the profile."),
|
|
6712
|
+
highlightedCredentials: z2.array(z2.string()).max(5).optional().describe("Up to 5 unique boost URIs to highlight on the profile."),
|
|
6712
6713
|
role: z2.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
|
|
6713
6714
|
dob: z2.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
|
|
6714
6715
|
});
|
|
@@ -6792,7 +6793,7 @@ var require_helpers_cjs_development = __commonJS({
|
|
|
6792
6793
|
canManageChildrenProfiles: z2.boolean(),
|
|
6793
6794
|
canViewAnalytics: z2.boolean()
|
|
6794
6795
|
}).partial();
|
|
6795
|
-
var ClaimHookTypeValidator2 = z2.enum(["GRANT_PERMISSIONS", "ADD_ADMIN"]);
|
|
6796
|
+
var ClaimHookTypeValidator2 = z2.enum(["GRANT_PERMISSIONS", "ADD_ADMIN", "AUTO_CONNECT"]);
|
|
6796
6797
|
var ClaimHookValidator2 = z2.discriminatedUnion("type", [
|
|
6797
6798
|
z2.object({
|
|
6798
6799
|
type: z2.literal(ClaimHookTypeValidator2.Values.GRANT_PERMISSIONS),
|
|
@@ -6805,6 +6806,10 @@ var require_helpers_cjs_development = __commonJS({
|
|
|
6805
6806
|
z2.object({
|
|
6806
6807
|
type: z2.literal(ClaimHookTypeValidator2.Values.ADD_ADMIN),
|
|
6807
6808
|
data: z2.object({ claimUri: z2.string(), targetUri: z2.string() })
|
|
6809
|
+
}),
|
|
6810
|
+
z2.object({
|
|
6811
|
+
type: z2.literal(ClaimHookTypeValidator2.Values.AUTO_CONNECT),
|
|
6812
|
+
data: z2.object({ claimUri: z2.string(), targetUri: z2.string() })
|
|
6808
6813
|
})
|
|
6809
6814
|
]);
|
|
6810
6815
|
var ClaimHookQueryValidator2 = z2.object({
|
|
@@ -11859,6 +11864,7 @@ var LCNProfileValidator = z.object({
|
|
|
11859
11864
|
type: z.string().optional().describe('Profile type: e.g. "person", "organization", "service".'),
|
|
11860
11865
|
notificationsWebhook: z.string().url().startsWith("http").optional().describe("URL to send notifications to."),
|
|
11861
11866
|
display: LCNProfileDisplayValidator.optional().describe("Display settings for the profile."),
|
|
11867
|
+
highlightedCredentials: z.array(z.string()).max(5).optional().describe("Up to 5 unique boost URIs to highlight on the profile."),
|
|
11862
11868
|
role: z.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
|
|
11863
11869
|
dob: z.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
|
|
11864
11870
|
});
|
|
@@ -11942,7 +11948,7 @@ var BoostPermissionsQueryValidator = z.object({
|
|
|
11942
11948
|
canManageChildrenProfiles: z.boolean(),
|
|
11943
11949
|
canViewAnalytics: z.boolean()
|
|
11944
11950
|
}).partial();
|
|
11945
|
-
var ClaimHookTypeValidator = z.enum(["GRANT_PERMISSIONS", "ADD_ADMIN"]);
|
|
11951
|
+
var ClaimHookTypeValidator = z.enum(["GRANT_PERMISSIONS", "ADD_ADMIN", "AUTO_CONNECT"]);
|
|
11946
11952
|
var ClaimHookValidator = z.discriminatedUnion("type", [
|
|
11947
11953
|
z.object({
|
|
11948
11954
|
type: z.literal(ClaimHookTypeValidator.Values.GRANT_PERMISSIONS),
|
|
@@ -11955,6 +11961,10 @@ var ClaimHookValidator = z.discriminatedUnion("type", [
|
|
|
11955
11961
|
z.object({
|
|
11956
11962
|
type: z.literal(ClaimHookTypeValidator.Values.ADD_ADMIN),
|
|
11957
11963
|
data: z.object({ claimUri: z.string(), targetUri: z.string() })
|
|
11964
|
+
}),
|
|
11965
|
+
z.object({
|
|
11966
|
+
type: z.literal(ClaimHookTypeValidator.Values.AUTO_CONNECT),
|
|
11967
|
+
data: z.object({ claimUri: z.string(), targetUri: z.string() })
|
|
11958
11968
|
})
|
|
11959
11969
|
]);
|
|
11960
11970
|
var ClaimHookQueryValidator = z.object({
|
|
@@ -17080,6 +17090,7 @@ var require_types_cjs_development = __commonJS2({
|
|
|
17080
17090
|
type: z2.string().optional().describe('Profile type: e.g. "person", "organization", "service".'),
|
|
17081
17091
|
notificationsWebhook: z2.string().url().startsWith("http").optional().describe("URL to send notifications to."),
|
|
17082
17092
|
display: LCNProfileDisplayValidator2.optional().describe("Display settings for the profile."),
|
|
17093
|
+
highlightedCredentials: z2.array(z2.string()).max(5).optional().describe("Up to 5 unique boost URIs to highlight on the profile."),
|
|
17083
17094
|
role: z2.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
|
|
17084
17095
|
dob: z2.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
|
|
17085
17096
|
});
|
|
@@ -17163,7 +17174,7 @@ var require_types_cjs_development = __commonJS2({
|
|
|
17163
17174
|
canManageChildrenProfiles: z2.boolean(),
|
|
17164
17175
|
canViewAnalytics: z2.boolean()
|
|
17165
17176
|
}).partial();
|
|
17166
|
-
var ClaimHookTypeValidator2 = z2.enum(["GRANT_PERMISSIONS", "ADD_ADMIN"]);
|
|
17177
|
+
var ClaimHookTypeValidator2 = z2.enum(["GRANT_PERMISSIONS", "ADD_ADMIN", "AUTO_CONNECT"]);
|
|
17167
17178
|
var ClaimHookValidator2 = z2.discriminatedUnion("type", [
|
|
17168
17179
|
z2.object({
|
|
17169
17180
|
type: z2.literal(ClaimHookTypeValidator2.Values.GRANT_PERMISSIONS),
|
|
@@ -17176,6 +17187,10 @@ var require_types_cjs_development = __commonJS2({
|
|
|
17176
17187
|
z2.object({
|
|
17177
17188
|
type: z2.literal(ClaimHookTypeValidator2.Values.ADD_ADMIN),
|
|
17178
17189
|
data: z2.object({ claimUri: z2.string(), targetUri: z2.string() })
|
|
17190
|
+
}),
|
|
17191
|
+
z2.object({
|
|
17192
|
+
type: z2.literal(ClaimHookTypeValidator2.Values.AUTO_CONNECT),
|
|
17193
|
+
data: z2.object({ claimUri: z2.string(), targetUri: z2.string() })
|
|
17179
17194
|
})
|
|
17180
17195
|
]);
|
|
17181
17196
|
var ClaimHookQueryValidator2 = z2.object({
|