@getcommunity/gc-validators 0.0.59 → 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 -42
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +30 -363
- package/dist/index.d.ts +30 -363
- package/dist/index.js +13 -33
- 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(
|
|
@@ -943,11 +937,6 @@ var SVerifyClientUserDocument = v3__namespace.object({
|
|
|
943
937
|
client: IsValidReferenceDocumentId,
|
|
944
938
|
user: IsValidReferenceDocumentId
|
|
945
939
|
});
|
|
946
|
-
var SReadClientUserStatusDocument = v3__namespace.object({
|
|
947
|
-
verified: v3__namespace.fallback(v3__namespace.boolean(), false),
|
|
948
|
-
clientUser: v3__namespace.nullable(IsValidReferenceDocumentId),
|
|
949
|
-
scopes: IsValidClientUserScopes
|
|
950
|
-
});
|
|
951
940
|
var QueryStrapiSearchClients = v3__namespace.object({
|
|
952
941
|
page: v3__namespace.fallback(v3__namespace.optional(v3__namespace.pipe(v3__namespace.number(), v3__namespace.minValue(1)), 1), 1),
|
|
953
942
|
size: v3__namespace.fallback(
|
|
@@ -1022,15 +1011,6 @@ var QueryStrapiSearchMediaPlatforms = v3__namespace.object({
|
|
|
1022
1011
|
title: v3__namespace.optional(IsValidShortString),
|
|
1023
1012
|
slug: v3__namespace.optional(IsValidShortString)
|
|
1024
1013
|
});
|
|
1025
|
-
var SConnectMediaPlatforms = v3__namespace.object({
|
|
1026
|
-
client_reports: SConnectManyEntityRelation
|
|
1027
|
-
});
|
|
1028
|
-
var SDisconnectMediaPlatforms = v3__namespace.object({
|
|
1029
|
-
client_reports: SDisconnectManyEntityRelation
|
|
1030
|
-
});
|
|
1031
|
-
var SSetMediaPlatforms = v3__namespace.object({
|
|
1032
|
-
client_reports: SSetManyEntityRelation
|
|
1033
|
-
});
|
|
1034
1014
|
var SCreateNewsletterSignup = v3__namespace.object({
|
|
1035
1015
|
first_name: IsValidFirstName,
|
|
1036
1016
|
last_name: IsValidLastName,
|
|
@@ -1779,6 +1759,7 @@ exports.QueryStrapiPaginated = QueryStrapiPaginated;
|
|
|
1779
1759
|
exports.QueryStrapiPaginatedUrlRedirects = QueryStrapiPaginatedUrlRedirects;
|
|
1780
1760
|
exports.QueryStrapiSearchBlogPosts = QueryStrapiSearchBlogPosts;
|
|
1781
1761
|
exports.QueryStrapiSearchBlogPostsBySlug = QueryStrapiSearchBlogPostsBySlug;
|
|
1762
|
+
exports.QueryStrapiSearchClientMediaPlatforms = QueryStrapiSearchClientMediaPlatforms;
|
|
1782
1763
|
exports.QueryStrapiSearchClientProjects = QueryStrapiSearchClientProjects;
|
|
1783
1764
|
exports.QueryStrapiSearchClientReports = QueryStrapiSearchClientReports;
|
|
1784
1765
|
exports.QueryStrapiSearchClientStyleguide = QueryStrapiSearchClientStyleguide;
|
|
@@ -1796,10 +1777,7 @@ exports.SAuthConnectProviderConfirmation = SAuthConnectProviderConfirmation;
|
|
|
1796
1777
|
exports.SAuthConnectProviderRedirectSearch = SAuthConnectProviderRedirectSearch;
|
|
1797
1778
|
exports.SAuthRawAccessToken = SAuthRawAccessToken;
|
|
1798
1779
|
exports.SChangePassword = SChangePassword;
|
|
1799
|
-
exports.SConnectClientProjects = SConnectClientProjects;
|
|
1800
|
-
exports.SConnectClientReports = SConnectClientReports;
|
|
1801
1780
|
exports.SConnectManyEntityRelation = SConnectManyEntityRelation;
|
|
1802
|
-
exports.SConnectMediaPlatforms = SConnectMediaPlatforms;
|
|
1803
1781
|
exports.SConnectOneEntityRelation = SConnectOneEntityRelation;
|
|
1804
1782
|
exports.SCreateClientUserDocument = SCreateClientUserDocument;
|
|
1805
1783
|
exports.SCreateClientUserDocumentRequest = SCreateClientUserDocumentRequest;
|
|
@@ -1811,10 +1789,7 @@ exports.SCreateUtmTrackingLinkDocument = SCreateUtmTrackingLinkDocument;
|
|
|
1811
1789
|
exports.SCreateUtmTrackingLinkParts = SCreateUtmTrackingLinkParts;
|
|
1812
1790
|
exports.SDeleteClientUserDocument = SDeleteClientUserDocument;
|
|
1813
1791
|
exports.SDeleteUtmTrackingLinkDocument = SDeleteUtmTrackingLinkDocument;
|
|
1814
|
-
exports.SDisconnectClientProjects = SDisconnectClientProjects;
|
|
1815
|
-
exports.SDisconnectClientReports = SDisconnectClientReports;
|
|
1816
1792
|
exports.SDisconnectManyEntityRelation = SDisconnectManyEntityRelation;
|
|
1817
|
-
exports.SDisconnectMediaPlatforms = SDisconnectMediaPlatforms;
|
|
1818
1793
|
exports.SDisconnectOneEntityRelation = SDisconnectOneEntityRelation;
|
|
1819
1794
|
exports.SEntityRelation = SEntityRelation;
|
|
1820
1795
|
exports.SEntityRelationPosition = SEntityRelationPosition;
|
|
@@ -1828,7 +1803,6 @@ exports.SLoginUser = SLoginUser;
|
|
|
1828
1803
|
exports.SQueryListClientUserDocuments = SQueryListClientUserDocuments;
|
|
1829
1804
|
exports.SReadClientUserDocumentByDocumentId = SReadClientUserDocumentByDocumentId;
|
|
1830
1805
|
exports.SReadClientUserDocumentById = SReadClientUserDocumentById;
|
|
1831
|
-
exports.SReadClientUserStatusDocument = SReadClientUserStatusDocument;
|
|
1832
1806
|
exports.SReadUserAccountByDocumentId = SReadUserAccountByDocumentId;
|
|
1833
1807
|
exports.SReadUserAccountById = SReadUserAccountById;
|
|
1834
1808
|
exports.SReadUserByDocumentId = SReadUserByDocumentId;
|
|
@@ -1838,10 +1812,7 @@ exports.SReadUtmTrackingLinkDocumentByUrl = SReadUtmTrackingLinkDocumentByUrl;
|
|
|
1838
1812
|
exports.SRegisterUser = SRegisterUser;
|
|
1839
1813
|
exports.SRequestConfirmEmail = SRequestConfirmEmail;
|
|
1840
1814
|
exports.SResetUserPassword = SResetUserPassword;
|
|
1841
|
-
exports.SSetClientProjects = SSetClientProjects;
|
|
1842
|
-
exports.SSetClientReports = SSetClientReports;
|
|
1843
1815
|
exports.SSetManyEntityRelation = SSetManyEntityRelation;
|
|
1844
|
-
exports.SSetMediaPlatforms = SSetMediaPlatforms;
|
|
1845
1816
|
exports.SSetOneEntityRelation = SSetOneEntityRelation;
|
|
1846
1817
|
exports.SUpdateClientUserDocument = SUpdateClientUserDocument;
|
|
1847
1818
|
exports.SUpdateClientUserDocumentRequest = SUpdateClientUserDocumentRequest;
|