@getcommunity/gc-validators 0.0.123 → 0.0.124
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 +32 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +19 -17
- package/dist/index.d.ts +19 -17
- package/dist/index.js +30 -12
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1450,7 +1450,14 @@ var SUpdateCategoryDocumentRequest = v6__namespace.object({
|
|
|
1450
1450
|
});
|
|
1451
1451
|
var QuerySortClientContentPillars = v6__namespace.optional(
|
|
1452
1452
|
v6__namespace.object({
|
|
1453
|
-
key: v6__namespace.picklist([
|
|
1453
|
+
key: v6__namespace.picklist([
|
|
1454
|
+
"id",
|
|
1455
|
+
"is_active",
|
|
1456
|
+
"content_pillar.title",
|
|
1457
|
+
"content_pillar.slug",
|
|
1458
|
+
"createdAt",
|
|
1459
|
+
"updatedAt"
|
|
1460
|
+
]),
|
|
1454
1461
|
order: v6__namespace.picklist(["ASC", "DESC"])
|
|
1455
1462
|
})
|
|
1456
1463
|
);
|
|
@@ -1480,13 +1487,16 @@ var SUpdateClientContentPillarDocumentRequest = v6__namespace.object({
|
|
|
1480
1487
|
documentId: IsValidReferenceDocumentId,
|
|
1481
1488
|
data: SUpdateClientContentPillarDocument
|
|
1482
1489
|
});
|
|
1483
|
-
var SVerifyClientContentPillarDocument = v6__namespace.object({
|
|
1484
|
-
client: IsValidReferenceDocumentId,
|
|
1485
|
-
content_pillar: IsValidReferenceDocumentId
|
|
1486
|
-
});
|
|
1487
1490
|
var QuerySortClientMediaPlatforms = v6__namespace.optional(
|
|
1488
1491
|
v6__namespace.object({
|
|
1489
|
-
key: v6__namespace.picklist([
|
|
1492
|
+
key: v6__namespace.picklist([
|
|
1493
|
+
"id",
|
|
1494
|
+
"is_active",
|
|
1495
|
+
"media_platform.title",
|
|
1496
|
+
"media_platform.slug",
|
|
1497
|
+
"createdAt",
|
|
1498
|
+
"updatedAt"
|
|
1499
|
+
]),
|
|
1490
1500
|
order: v6__namespace.picklist(["ASC", "DESC"])
|
|
1491
1501
|
})
|
|
1492
1502
|
);
|
|
@@ -1516,10 +1526,6 @@ var SUpdateClientMediaPlatformDocumentRequest = v6__namespace.object({
|
|
|
1516
1526
|
documentId: IsValidReferenceDocumentId,
|
|
1517
1527
|
data: SUpdateClientMediaPlatformDocument
|
|
1518
1528
|
});
|
|
1519
|
-
var SVerifyClientMediaPlatformDocument = v6__namespace.object({
|
|
1520
|
-
client: IsValidReferenceDocumentId,
|
|
1521
|
-
media_platform: IsValidReferenceDocumentId
|
|
1522
|
-
});
|
|
1523
1529
|
var QuerySortClientProjects = v6__namespace.optional(
|
|
1524
1530
|
v6__namespace.object({
|
|
1525
1531
|
key: v6__namespace.picklist(["id", "title", "slug", "project_phase", "createdAt", "updatedAt"]),
|
|
@@ -1839,7 +1845,7 @@ var QuerySortMediaContentType = v6__namespace.optional(
|
|
|
1839
1845
|
order: v6__namespace.picklist(["ASC", "DESC"])
|
|
1840
1846
|
})
|
|
1841
1847
|
);
|
|
1842
|
-
var
|
|
1848
|
+
var QueryStrapiSearchMediaContentTypes = v6__namespace.object({
|
|
1843
1849
|
page: v6__namespace.optional(v6__namespace.pipe(v6__namespace.number(), v6__namespace.minValue(1))),
|
|
1844
1850
|
size: v6__namespace.optional(
|
|
1845
1851
|
v6__namespace.pipe(v6__namespace.number(), v6__namespace.minValue(1), v6__namespace.maxValue(LIMIT_PAGINATION_MAX_SIZE))
|
|
@@ -1847,6 +1853,7 @@ var QueryStrapiSearchMediaContentType = v6__namespace.object({
|
|
|
1847
1853
|
title: IsValidOrUndefinedShortString,
|
|
1848
1854
|
slug: IsValidOrUndefinedShortString,
|
|
1849
1855
|
utm_key: IsValidOrUndefinedUrlUtmKey,
|
|
1856
|
+
platforms: v6__namespace.optional(v6__namespace.pipe(v6__namespace.array(IsValidReferenceDocumentId), v6__namespace.minLength(1))),
|
|
1850
1857
|
sort: QuerySortMediaContentType
|
|
1851
1858
|
});
|
|
1852
1859
|
var SCreateMediaContentTypeDocument = v6__namespace.object({
|
|
@@ -1865,6 +1872,10 @@ var SUpdateMediaContentTypeDocumentRequest = v6__namespace.object({
|
|
|
1865
1872
|
documentId: IsValidReferenceDocumentId,
|
|
1866
1873
|
data: SUpdateMediaContentTypeDocument
|
|
1867
1874
|
});
|
|
1875
|
+
var SAssociateMediaPlatformsToMediaContentType = v6__namespace.object({
|
|
1876
|
+
content_type: IsValidReferenceDocumentId,
|
|
1877
|
+
platforms: v6__namespace.pipe(v6__namespace.array(IsValidReferenceDocumentId), v6__namespace.minLength(1))
|
|
1878
|
+
});
|
|
1868
1879
|
var QuerySortMediaPlatforms = v6__namespace.optional(
|
|
1869
1880
|
v6__namespace.object({
|
|
1870
1881
|
key: v6__namespace.picklist(["id", "title", "slug", "utm_key", "createdAt", "updatedAt"]),
|
|
@@ -1879,6 +1890,9 @@ var QueryStrapiSearchMediaPlatforms = v6__namespace.object({
|
|
|
1879
1890
|
title: IsValidOrUndefinedShortString,
|
|
1880
1891
|
slug: IsValidOrUndefinedShortString,
|
|
1881
1892
|
utm_key: IsValidUrlUtmKey,
|
|
1893
|
+
content_types: v6__namespace.optional(
|
|
1894
|
+
v6__namespace.pipe(v6__namespace.array(IsValidReferenceDocumentId), v6__namespace.minLength(1))
|
|
1895
|
+
),
|
|
1882
1896
|
sort: QuerySortMediaPlatforms
|
|
1883
1897
|
});
|
|
1884
1898
|
var SCreateMediaPlatformDocument = v6__namespace.object({
|
|
@@ -1897,6 +1911,10 @@ var SUpdateMediaPlatformDocumentRequest = v6__namespace.object({
|
|
|
1897
1911
|
documentId: IsValidReferenceDocumentId,
|
|
1898
1912
|
data: SUpdateMediaPlatformDocument
|
|
1899
1913
|
});
|
|
1914
|
+
var SAssociateMediaContentTypesToMediaPlatform = v6__namespace.object({
|
|
1915
|
+
platform: IsValidReferenceDocumentId,
|
|
1916
|
+
content_types: v6__namespace.pipe(v6__namespace.array(IsValidReferenceDocumentId), v6__namespace.minLength(1))
|
|
1917
|
+
});
|
|
1900
1918
|
var SCreateNewsletterSignup = v6__namespace.object({
|
|
1901
1919
|
first_name: IsValidFirstName,
|
|
1902
1920
|
last_name: IsValidLastName,
|
|
@@ -2959,7 +2977,7 @@ exports.QueryStrapiSearchClientReports = QueryStrapiSearchClientReports;
|
|
|
2959
2977
|
exports.QueryStrapiSearchClientStyleguide = QueryStrapiSearchClientStyleguide;
|
|
2960
2978
|
exports.QueryStrapiSearchClients = QueryStrapiSearchClients;
|
|
2961
2979
|
exports.QueryStrapiSearchContentPillars = QueryStrapiSearchContentPillars;
|
|
2962
|
-
exports.
|
|
2980
|
+
exports.QueryStrapiSearchMediaContentTypes = QueryStrapiSearchMediaContentTypes;
|
|
2963
2981
|
exports.QueryStrapiSearchMediaPlatforms = QueryStrapiSearchMediaPlatforms;
|
|
2964
2982
|
exports.QueryStrapiSearchTeamMembers = QueryStrapiSearchTeamMembers;
|
|
2965
2983
|
exports.QueryStrapiSearchUtmTrackingLinks = QueryStrapiSearchUtmTrackingLinks;
|
|
@@ -2973,6 +2991,8 @@ exports.REGEX_URL_SLUG = REGEX_URL_SLUG;
|
|
|
2973
2991
|
exports.REGEX_UTM_VALUE = REGEX_UTM_VALUE;
|
|
2974
2992
|
exports.ROLE_PERMISSIONS = ROLE_PERMISSIONS;
|
|
2975
2993
|
exports.SAssociateClientToClientProjectDocument = SAssociateClientToClientProjectDocument;
|
|
2994
|
+
exports.SAssociateMediaContentTypesToMediaPlatform = SAssociateMediaContentTypesToMediaPlatform;
|
|
2995
|
+
exports.SAssociateMediaPlatformsToMediaContentType = SAssociateMediaPlatformsToMediaContentType;
|
|
2976
2996
|
exports.SAuthConnectProviderConfirmation = SAuthConnectProviderConfirmation;
|
|
2977
2997
|
exports.SAuthConnectProviderRedirectSearch = SAuthConnectProviderRedirectSearch;
|
|
2978
2998
|
exports.SAuthRawAccessToken = SAuthRawAccessToken;
|
|
@@ -3062,8 +3082,6 @@ exports.SUpdateUtmTrackingLinkDocumentRequest = SUpdateUtmTrackingLinkDocumentRe
|
|
|
3062
3082
|
exports.SUserToken = SUserToken;
|
|
3063
3083
|
exports.SUtmLinkBuilderPartCampaignDateOptions = SUtmLinkBuilderPartCampaignDateOptions;
|
|
3064
3084
|
exports.SUtmLinkBuilderTableForm = SUtmLinkBuilderTableForm;
|
|
3065
|
-
exports.SVerifyClientContentPillarDocument = SVerifyClientContentPillarDocument;
|
|
3066
|
-
exports.SVerifyClientMediaPlatformDocument = SVerifyClientMediaPlatformDocument;
|
|
3067
3085
|
exports.SVerifyClientUserDocument = SVerifyClientUserDocument;
|
|
3068
3086
|
exports.SharpSpringSignUpToDownload = SharpSpringSignUpToDownload;
|
|
3069
3087
|
exports.ValidGcDesiredContentOptions = ValidGcDesiredContentOptions;
|