@getcommunity/gc-validators 0.0.60 → 0.0.61
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 +13 -36
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +25 -357
- package/dist/index.d.ts +25 -357
- package/dist/index.js +13 -28
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -829,6 +829,18 @@ var QueryStrapiSearchBlogPostsBySlug = v3__namespace.object({
|
|
|
829
829
|
slug: v3__namespace.string(),
|
|
830
830
|
status: v3__namespace.optional(v3__namespace.picklist(["draft", "published"]), "published")
|
|
831
831
|
});
|
|
832
|
+
var QueryStrapiSearchClientMediaPlatforms = v3__namespace.object({
|
|
833
|
+
page: v3__namespace.fallback(v3__namespace.optional(v3__namespace.pipe(v3__namespace.number(), v3__namespace.minValue(1)), 1), 1),
|
|
834
|
+
size: v3__namespace.fallback(
|
|
835
|
+
v3__namespace.optional(
|
|
836
|
+
v3__namespace.pipe(v3__namespace.number(), v3__namespace.minValue(1), v3__namespace.maxValue(LIMIT_PAGINATION_MAX_SIZE)),
|
|
837
|
+
LIMIT_PAGINATION_DEFAULT_SIZE
|
|
838
|
+
),
|
|
839
|
+
LIMIT_PAGINATION_DEFAULT_SIZE
|
|
840
|
+
),
|
|
841
|
+
client_id: v3__namespace.optional(IsValidReferenceDocumentId),
|
|
842
|
+
media_platform_id: v3__namespace.optional(IsValidReferenceDocumentId)
|
|
843
|
+
});
|
|
832
844
|
|
|
833
845
|
// src/types/documents/client-project.document.ts
|
|
834
846
|
var ClientProjectStatusOptions = [
|
|
@@ -854,15 +866,6 @@ var QueryStrapiSearchClientProjects = v3__namespace.object({
|
|
|
854
866
|
project_status: v3__namespace.optional(v3__namespace.picklist(ClientProjectStatusOptions)),
|
|
855
867
|
client_id: v3__namespace.optional(IsValidReferenceDocumentId)
|
|
856
868
|
});
|
|
857
|
-
var SConnectClientProjects = v3__namespace.object({
|
|
858
|
-
client_projects: SConnectManyEntityRelation
|
|
859
|
-
});
|
|
860
|
-
var SDisconnectClientProjects = v3__namespace.object({
|
|
861
|
-
client_projects: SDisconnectManyEntityRelation
|
|
862
|
-
});
|
|
863
|
-
var SSetClientProjects = v3__namespace.object({
|
|
864
|
-
client_projects: SSetManyEntityRelation
|
|
865
|
-
});
|
|
866
869
|
var QueryStrapiSearchClientReports = v3__namespace.object({
|
|
867
870
|
page: v3__namespace.fallback(v3__namespace.optional(v3__namespace.pipe(v3__namespace.number(), v3__namespace.minValue(1)), 1), 1),
|
|
868
871
|
size: v3__namespace.fallback(
|
|
@@ -877,15 +880,6 @@ var QueryStrapiSearchClientReports = v3__namespace.object({
|
|
|
877
880
|
is_active: v3__namespace.optional(v3__namespace.boolean()),
|
|
878
881
|
client_id: v3__namespace.optional(IsValidReferenceDocumentId)
|
|
879
882
|
});
|
|
880
|
-
var SConnectClientReports = v3__namespace.object({
|
|
881
|
-
client_reports: SConnectManyEntityRelation
|
|
882
|
-
});
|
|
883
|
-
var SDisconnectClientReports = v3__namespace.object({
|
|
884
|
-
client_reports: SDisconnectManyEntityRelation
|
|
885
|
-
});
|
|
886
|
-
var SSetClientReports = v3__namespace.object({
|
|
887
|
-
client_reports: SSetManyEntityRelation
|
|
888
|
-
});
|
|
889
883
|
var QueryStrapiSearchClientStyleguide = v3__namespace.object({
|
|
890
884
|
page: v3__namespace.fallback(v3__namespace.optional(v3__namespace.pipe(v3__namespace.number(), v3__namespace.minValue(1)), 1), 1),
|
|
891
885
|
size: v3__namespace.fallback(
|
|
@@ -1017,15 +1011,6 @@ var QueryStrapiSearchMediaPlatforms = v3__namespace.object({
|
|
|
1017
1011
|
title: v3__namespace.optional(IsValidShortString),
|
|
1018
1012
|
slug: v3__namespace.optional(IsValidShortString)
|
|
1019
1013
|
});
|
|
1020
|
-
var SConnectMediaPlatforms = v3__namespace.object({
|
|
1021
|
-
client_reports: SConnectManyEntityRelation
|
|
1022
|
-
});
|
|
1023
|
-
var SDisconnectMediaPlatforms = v3__namespace.object({
|
|
1024
|
-
client_reports: SDisconnectManyEntityRelation
|
|
1025
|
-
});
|
|
1026
|
-
var SSetMediaPlatforms = v3__namespace.object({
|
|
1027
|
-
client_reports: SSetManyEntityRelation
|
|
1028
|
-
});
|
|
1029
1014
|
var SCreateNewsletterSignup = v3__namespace.object({
|
|
1030
1015
|
first_name: IsValidFirstName,
|
|
1031
1016
|
last_name: IsValidLastName,
|
|
@@ -1774,6 +1759,7 @@ exports.QueryStrapiPaginated = QueryStrapiPaginated;
|
|
|
1774
1759
|
exports.QueryStrapiPaginatedUrlRedirects = QueryStrapiPaginatedUrlRedirects;
|
|
1775
1760
|
exports.QueryStrapiSearchBlogPosts = QueryStrapiSearchBlogPosts;
|
|
1776
1761
|
exports.QueryStrapiSearchBlogPostsBySlug = QueryStrapiSearchBlogPostsBySlug;
|
|
1762
|
+
exports.QueryStrapiSearchClientMediaPlatforms = QueryStrapiSearchClientMediaPlatforms;
|
|
1777
1763
|
exports.QueryStrapiSearchClientProjects = QueryStrapiSearchClientProjects;
|
|
1778
1764
|
exports.QueryStrapiSearchClientReports = QueryStrapiSearchClientReports;
|
|
1779
1765
|
exports.QueryStrapiSearchClientStyleguide = QueryStrapiSearchClientStyleguide;
|
|
@@ -1791,10 +1777,7 @@ exports.SAuthConnectProviderConfirmation = SAuthConnectProviderConfirmation;
|
|
|
1791
1777
|
exports.SAuthConnectProviderRedirectSearch = SAuthConnectProviderRedirectSearch;
|
|
1792
1778
|
exports.SAuthRawAccessToken = SAuthRawAccessToken;
|
|
1793
1779
|
exports.SChangePassword = SChangePassword;
|
|
1794
|
-
exports.SConnectClientProjects = SConnectClientProjects;
|
|
1795
|
-
exports.SConnectClientReports = SConnectClientReports;
|
|
1796
1780
|
exports.SConnectManyEntityRelation = SConnectManyEntityRelation;
|
|
1797
|
-
exports.SConnectMediaPlatforms = SConnectMediaPlatforms;
|
|
1798
1781
|
exports.SConnectOneEntityRelation = SConnectOneEntityRelation;
|
|
1799
1782
|
exports.SCreateClientUserDocument = SCreateClientUserDocument;
|
|
1800
1783
|
exports.SCreateClientUserDocumentRequest = SCreateClientUserDocumentRequest;
|
|
@@ -1806,10 +1789,7 @@ exports.SCreateUtmTrackingLinkDocument = SCreateUtmTrackingLinkDocument;
|
|
|
1806
1789
|
exports.SCreateUtmTrackingLinkParts = SCreateUtmTrackingLinkParts;
|
|
1807
1790
|
exports.SDeleteClientUserDocument = SDeleteClientUserDocument;
|
|
1808
1791
|
exports.SDeleteUtmTrackingLinkDocument = SDeleteUtmTrackingLinkDocument;
|
|
1809
|
-
exports.SDisconnectClientProjects = SDisconnectClientProjects;
|
|
1810
|
-
exports.SDisconnectClientReports = SDisconnectClientReports;
|
|
1811
1792
|
exports.SDisconnectManyEntityRelation = SDisconnectManyEntityRelation;
|
|
1812
|
-
exports.SDisconnectMediaPlatforms = SDisconnectMediaPlatforms;
|
|
1813
1793
|
exports.SDisconnectOneEntityRelation = SDisconnectOneEntityRelation;
|
|
1814
1794
|
exports.SEntityRelation = SEntityRelation;
|
|
1815
1795
|
exports.SEntityRelationPosition = SEntityRelationPosition;
|
|
@@ -1832,10 +1812,7 @@ exports.SReadUtmTrackingLinkDocumentByUrl = SReadUtmTrackingLinkDocumentByUrl;
|
|
|
1832
1812
|
exports.SRegisterUser = SRegisterUser;
|
|
1833
1813
|
exports.SRequestConfirmEmail = SRequestConfirmEmail;
|
|
1834
1814
|
exports.SResetUserPassword = SResetUserPassword;
|
|
1835
|
-
exports.SSetClientProjects = SSetClientProjects;
|
|
1836
|
-
exports.SSetClientReports = SSetClientReports;
|
|
1837
1815
|
exports.SSetManyEntityRelation = SSetManyEntityRelation;
|
|
1838
|
-
exports.SSetMediaPlatforms = SSetMediaPlatforms;
|
|
1839
1816
|
exports.SSetOneEntityRelation = SSetOneEntityRelation;
|
|
1840
1817
|
exports.SUpdateClientUserDocument = SUpdateClientUserDocument;
|
|
1841
1818
|
exports.SUpdateClientUserDocumentRequest = SUpdateClientUserDocumentRequest;
|