@getcommunity/gc-validators 0.0.98 → 0.0.100
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/index.cjs +24 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +28 -1
- package/dist/index.d.ts +28 -1
- package/dist/index.js +21 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -927,6 +927,18 @@ var QueryStrapiSearchCategories = v6__namespace.object({
|
|
|
927
927
|
slug: IsValidOrUndefinedShortString,
|
|
928
928
|
sort: QuerySortCategories
|
|
929
929
|
});
|
|
930
|
+
var SCreateCategoryDocument = v6__namespace.object({
|
|
931
|
+
label: IsValidShortString,
|
|
932
|
+
slug: IsValidSlug
|
|
933
|
+
});
|
|
934
|
+
var SUpdateCategoryDocument = v6__namespace.object({
|
|
935
|
+
label: IsValidOrUndefinedShortString,
|
|
936
|
+
slug: IsValidOrUndefinedSlug
|
|
937
|
+
});
|
|
938
|
+
var SUpdateCategoryDocumentRequest = v6__namespace.object({
|
|
939
|
+
documentId: IsValidReferenceDocumentId,
|
|
940
|
+
data: SUpdateCategoryDocument
|
|
941
|
+
});
|
|
930
942
|
var QuerySortClientContentPillars = v6__namespace.optional(
|
|
931
943
|
v6__namespace.object({
|
|
932
944
|
key: v6__namespace.picklist(["id", "is_active", "createdAt", "updatedAt"]),
|
|
@@ -1595,6 +1607,14 @@ var QueryStrapiUsersByIdentifier = v6__namespace.object({
|
|
|
1595
1607
|
v6__namespace.pipe(v6__namespace.number(), v6__namespace.minValue(1), v6__namespace.maxValue(LIMIT_USER_PAGINATION_MAX_SIZE))
|
|
1596
1608
|
)
|
|
1597
1609
|
});
|
|
1610
|
+
var SCreateUserDocument = v6__namespace.object({
|
|
1611
|
+
username: IsValidUsername,
|
|
1612
|
+
email: IsValidUserEmail,
|
|
1613
|
+
password: IsValidPassword,
|
|
1614
|
+
blocked: IsValidIsBoolean,
|
|
1615
|
+
confirmed: IsValidIsBoolean,
|
|
1616
|
+
role: IsValidReferenceId
|
|
1617
|
+
});
|
|
1598
1618
|
var SUtmLinkBuilderPartCampaignDateOptions = [
|
|
1599
1619
|
"annually",
|
|
1600
1620
|
"quarterly",
|
|
@@ -2251,6 +2271,7 @@ exports.SAuthRawAccessToken = SAuthRawAccessToken;
|
|
|
2251
2271
|
exports.SChangePassword = SChangePassword;
|
|
2252
2272
|
exports.SConnectManyEntityRelation = SConnectManyEntityRelation;
|
|
2253
2273
|
exports.SConnectOneEntityRelation = SConnectOneEntityRelation;
|
|
2274
|
+
exports.SCreateCategoryDocument = SCreateCategoryDocument;
|
|
2254
2275
|
exports.SCreateClientContentPillarDocument = SCreateClientContentPillarDocument;
|
|
2255
2276
|
exports.SCreateClientDocument = SCreateClientDocument;
|
|
2256
2277
|
exports.SCreateClientMediaPlatformDocument = SCreateClientMediaPlatformDocument;
|
|
@@ -2265,6 +2286,7 @@ exports.SCreateNewsletterSignup = SCreateNewsletterSignup;
|
|
|
2265
2286
|
exports.SCreateResume = SCreateResume;
|
|
2266
2287
|
exports.SCreateResumeInfo = SCreateResumeInfo;
|
|
2267
2288
|
exports.SCreateStrapiMediaUploadDocument = SCreateStrapiMediaUploadDocument;
|
|
2289
|
+
exports.SCreateUserDocument = SCreateUserDocument;
|
|
2268
2290
|
exports.SCreateUtmTrackingLinkDocument = SCreateUtmTrackingLinkDocument;
|
|
2269
2291
|
exports.SCreateUtmTrackingLinkParts = SCreateUtmTrackingLinkParts;
|
|
2270
2292
|
exports.SDisconnectManyEntityRelation = SDisconnectManyEntityRelation;
|
|
@@ -2287,6 +2309,8 @@ exports.SRequestConfirmEmail = SRequestConfirmEmail;
|
|
|
2287
2309
|
exports.SResetUserPassword = SResetUserPassword;
|
|
2288
2310
|
exports.SSetManyEntityRelation = SSetManyEntityRelation;
|
|
2289
2311
|
exports.SSetOneEntityRelation = SSetOneEntityRelation;
|
|
2312
|
+
exports.SUpdateCategoryDocument = SUpdateCategoryDocument;
|
|
2313
|
+
exports.SUpdateCategoryDocumentRequest = SUpdateCategoryDocumentRequest;
|
|
2290
2314
|
exports.SUpdateClientContentPillarDocument = SUpdateClientContentPillarDocument;
|
|
2291
2315
|
exports.SUpdateClientContentPillarDocumentRequest = SUpdateClientContentPillarDocumentRequest;
|
|
2292
2316
|
exports.SUpdateClientDocument = SUpdateClientDocument;
|