@learncard/helpers 1.2.6 → 1.2.8
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.
|
@@ -14188,6 +14188,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14188
14188
|
});
|
|
14189
14189
|
var BoostPermissionsValidator = external_exports.object({
|
|
14190
14190
|
role: external_exports.string(),
|
|
14191
|
+
canView: external_exports.boolean().default(true),
|
|
14191
14192
|
canEdit: external_exports.boolean(),
|
|
14192
14193
|
canIssue: external_exports.boolean(),
|
|
14193
14194
|
canRevoke: external_exports.boolean(),
|
|
@@ -14202,6 +14203,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14202
14203
|
});
|
|
14203
14204
|
var BoostPermissionsQueryValidator = external_exports.object({
|
|
14204
14205
|
role: StringQuery,
|
|
14206
|
+
canView: external_exports.boolean(),
|
|
14205
14207
|
canEdit: external_exports.boolean(),
|
|
14206
14208
|
canIssue: external_exports.boolean(),
|
|
14207
14209
|
canRevoke: external_exports.boolean(),
|
|
@@ -14327,7 +14329,13 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14327
14329
|
var SendBoostTemplateValidator = BoostValidator.partial().omit({ uri: true, claimPermissions: true }).extend({
|
|
14328
14330
|
credential: VCValidator.or(UnsignedVCValidator),
|
|
14329
14331
|
claimPermissions: BoostPermissionsValidator.partial().optional(),
|
|
14330
|
-
skills: external_exports.array(
|
|
14332
|
+
skills: external_exports.array(
|
|
14333
|
+
external_exports.object({
|
|
14334
|
+
frameworkId: external_exports.string(),
|
|
14335
|
+
id: external_exports.string(),
|
|
14336
|
+
proficiencyLevel: external_exports.number().optional()
|
|
14337
|
+
})
|
|
14338
|
+
).min(1).optional()
|
|
14331
14339
|
});
|
|
14332
14340
|
var SendBrandingOptionsValidator = external_exports.object({
|
|
14333
14341
|
issuerName: external_exports.string().optional().describe("Name of the issuing organization"),
|
|
@@ -14946,6 +14954,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14946
14954
|
description: external_exports.string().optional(),
|
|
14947
14955
|
image: external_exports.string().optional(),
|
|
14948
14956
|
sourceURI: external_exports.string().url().optional(),
|
|
14957
|
+
isPublic: external_exports.boolean().default(false),
|
|
14949
14958
|
status: SkillFrameworkStatusEnum.default("active"),
|
|
14950
14959
|
createdAt: external_exports.string().optional(),
|
|
14951
14960
|
updatedAt: external_exports.string().optional()
|
|
@@ -14984,6 +14993,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14984
14993
|
description: external_exports.string().optional(),
|
|
14985
14994
|
image: external_exports.string().optional(),
|
|
14986
14995
|
sourceURI: external_exports.string().url().optional(),
|
|
14996
|
+
isPublic: external_exports.boolean().optional(),
|
|
14987
14997
|
status: SkillFrameworkStatusEnum.optional(),
|
|
14988
14998
|
skills: external_exports.array(SkillTreeNodeInputValidator).optional(),
|
|
14989
14999
|
boostUris: external_exports.array(external_exports.string()).optional()
|
|
@@ -14994,9 +15004,10 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14994
15004
|
description: external_exports.string().optional(),
|
|
14995
15005
|
image: external_exports.string().optional(),
|
|
14996
15006
|
sourceURI: external_exports.string().url().optional(),
|
|
15007
|
+
isPublic: external_exports.boolean().optional(),
|
|
14997
15008
|
status: SkillFrameworkStatusEnum.optional()
|
|
14998
15009
|
}).refine(
|
|
14999
|
-
(data) => data.name !== void 0 || data.description !== void 0 || data.image !== void 0 || data.sourceURI !== void 0 || data.status !== void 0,
|
|
15010
|
+
(data) => data.name !== void 0 || data.description !== void 0 || data.image !== void 0 || data.sourceURI !== void 0 || data.isPublic !== void 0 || data.status !== void 0,
|
|
15000
15011
|
{
|
|
15001
15012
|
message: "At least one field must be provided to update",
|
|
15002
15013
|
path: ["name"]
|
|
@@ -15176,7 +15187,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15176
15187
|
"claim",
|
|
15177
15188
|
"inbox",
|
|
15178
15189
|
"claimLink",
|
|
15179
|
-
"acceptCredential"
|
|
15190
|
+
"acceptCredential",
|
|
15191
|
+
"appEvent"
|
|
15180
15192
|
]);
|
|
15181
15193
|
var CredentialActivityValidator = external_exports.object({
|
|
15182
15194
|
id: external_exports.string(),
|