@learncard/helpers 1.0.18 → 1.0.19
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.
@@ -130,6 +130,7 @@ var require_types_cjs_development = __commonJS({
|
|
130
130
|
RubricCriterionValidator: () => RubricCriterionValidator,
|
131
131
|
SentCredentialInfoValidator: () => SentCredentialInfoValidator,
|
132
132
|
ServiceValidator: () => ServiceValidator,
|
133
|
+
StringQuery: () => StringQuery,
|
133
134
|
UnsignedAchievementCredentialValidator: () => UnsignedAchievementCredentialValidator,
|
134
135
|
UnsignedVCValidator: () => UnsignedVCValidator,
|
135
136
|
UnsignedVPValidator: () => UnsignedVPValidator,
|
@@ -3931,13 +3932,16 @@ var require_types_cjs_development = __commonJS({
|
|
3931
3932
|
category: mod.string().optional(),
|
3932
3933
|
status: LCNBoostStatus.optional(),
|
3933
3934
|
autoConnectRecipients: mod.boolean().optional(),
|
3935
|
+
meta: mod.record(mod.any()).optional(),
|
3934
3936
|
claimPermissions: BoostPermissionsValidator.optional()
|
3935
3937
|
});
|
3938
|
+
var StringQuery = mod.string().or(mod.object({ $in: mod.string().array() })).or(mod.object({ $regex: mod.instanceof(RegExp) }));
|
3936
3939
|
var BoostQueryValidator = mod.object({
|
3937
|
-
uri:
|
3938
|
-
name:
|
3939
|
-
type:
|
3940
|
-
category:
|
3940
|
+
uri: StringQuery,
|
3941
|
+
name: StringQuery,
|
3942
|
+
type: StringQuery,
|
3943
|
+
category: StringQuery,
|
3944
|
+
meta: mod.record(StringQuery),
|
3941
3945
|
status: LCNBoostStatus.or(mod.object({ $in: LCNBoostStatus.array() })),
|
3942
3946
|
autoConnectRecipients: mod.boolean()
|
3943
3947
|
}).partial();
|