@getcommunity/gc-validators 0.0.246 → 0.0.248
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-D9hvilHU.d.cts → index-BOPBkJ62.d.cts} +60 -9
- package/dist/{index-BhQMQRvl.d.mts → index-DFRu32-L.d.mts} +60 -9
- package/dist/index.cjs +10 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +2 -2
- package/dist/permissions.d.cts +1 -1
- package/dist/permissions.d.mts +1 -1
- package/dist/schemas.cjs +169 -12
- package/dist/schemas.d.cts +2 -2
- package/dist/schemas.d.mts +2 -2
- package/dist/schemas.mjs +160 -12
- package/dist/types.d.cts +1 -1
- package/dist/types.d.mts +1 -1
- package/dist/utilities.d.cts +1 -1
- package/dist/utilities.d.mts +1 -1
- package/package.json +1 -1
package/dist/schemas.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as TeamworkProjectHealthSelectSortOptions, $n as
|
|
2
|
-
export { BlogPostSortKeys, BracketStyle, CategorySortKeys, ClientContentPillarSortKeys, ClientMediaPlatformSortKeys, ClientProjectSortKeys, ClientReportSortKeys, ClientSortKeys, ClientStyleguideSortKeys, ClientUserSortKeys, ContentPillarSortKeys, EntitySortKeys, FORMATTER_TEXT_MAX_LENGTH, FormatterMode, GCFlyTourSnapSortKeys, GCFlyTourSortKeys, IndentLevel, MediaContentTypeSortKeys, MediaCreativeFormatSortKeys, MediaMediumSortKeys, MediaPlatformSortKeys, MondayWorkspaceSortKeys, QueryFilterStrapiComments, QuerySortBlogPosts, QuerySortCategories, QuerySortClientContentPillars, QuerySortClientMediaPlatforms, QuerySortClientProjects, QuerySortClientReports, QuerySortClientStyleguides, QuerySortClientUsers, QuerySortClients, QuerySortContentPillars, QuerySortEntities, QuerySortGCFlyTourSnaps, QuerySortGCFlyTours, QuerySortMediaContentType, QuerySortMediaCreativeFormat, QuerySortMediaMedium, QuerySortMediaPlatforms, QuerySortMondayWorkspaces, QuerySortStrapiComments, QuerySortTags, QuerySortTeamMembers, QuerySortTeamworkProjectHealth, QuerySortUrlRedirects, QuerySortUsers, QuerySortUtmTrackingLinks, QueryStrapiByDocumentId, QueryStrapiByEmail, QueryStrapiById, QueryStrapiByName, QueryStrapiByPhone, QueryStrapiBySlug, QueryStrapiCommentsFlat, QueryStrapiCommentsInHeirarchy, QueryStrapiPaginated, QueryStrapiPaginatedUrlRedirects, QueryStrapiSearchBlogPosts, QueryStrapiSearchBlogPostsBySlug, QueryStrapiSearchCategories, QueryStrapiSearchClientContentPillars, QueryStrapiSearchClientMediaPlatforms, QueryStrapiSearchClientProjects, QueryStrapiSearchClientReports, QueryStrapiSearchClientStyleguide, QueryStrapiSearchClients, QueryStrapiSearchContentPillars, QueryStrapiSearchGCFlyTourSnaps, QueryStrapiSearchGCFlyTours, QueryStrapiSearchMediaContentTypes, QueryStrapiSearchMediaCreativeFormats, QueryStrapiSearchMediaMediums, QueryStrapiSearchMediaPlatforms, QueryStrapiSearchMondayWorkspaces, QueryStrapiSearchTags, QueryStrapiSearchTeamMembers, QueryStrapiSearchTeamworkProjectHealth, QueryStrapiSearchUtmTrackingLinks, QueryStrapiUrlRedirectsByFrom, QueryStrapiUsers, QueryStrapiUsersByIdentifier, SAssociateClientToClientProjectDocument, SAssociateEntityPosition, SAssociateEntityPositionDocumentRequest, SAssociateEntityRelationshipRequest, SAssociateManyEntities, SAssociateOneEntity, SAuthConnectProviderConfirmation, SAuthConnectProviderRedirectSearch, SAuthRawAccessToken, SBracketStyle, SChangePassword, SContentFile,
|
|
1
|
+
import { $ as TeamworkProjectHealthSelectSortOptions, $n as VStringEmail, $r as QueryStrapiSearchClients, $t as SUpdateMediaContentTypeDocument, A as SAuthRawAccessToken, Ai as QuerySortClientMediaPlatforms, An as TXTMimeTypes, Ar as QueryStrapiBySlug, At as SUpdateMondayWorkspaceDocumentRequest, B as SUpdateUserAccount, Bi as SUpdateClientContentPillarDocumentRequest, Bn as HtmlConfig, Br as SUpdateContentPillarDocument, Bt as SCreateMediaMediumDocument, C as QuerySortUsers, Ci as QuerySortClientProjects, Cn as SBracketStyle, Cr as EntitySortKeys, Ct as SUpdateNewsletterSignupDocument, D as UserSortKeys, Di as SUpdateClientProjectDocument, Dn as SFormatterMode, Dr as QueryStrapiById, Dt as QueryStrapiSearchMondayWorkspaces, E as SCreateUserDocument, Ei as SCreateClientProjectDocument, En as SFormatterForm, Er as QueryStrapiByEmail, Et as QuerySortMondayWorkspaces, F as SRequestConfirmEmail, Fi as ClientContentPillarSortKeys, Fn as formatterModeOptions, Fr as ValidStrapiSingleEntity, Ft as SUpdateMediaPlatformDocument, G as QueryStrapiPaginatedUrlRedirects, Gi as SUpdateCategoryDocument, Gn as XmlConfig, Gr as QueryStrapiCommentsInHeirarchy, Gt as QueryStrapiSearchMediaCreativeFormats, H as SUpdateUserAccountLastName, Hi as QuerySortCategories, Hn as INLINE_FIRST_PRINT_WIDTH, Hr as QueryFilterStrapiComments, Ht as SUpdateMediaMediumDocumentRequest, I as SResetUserPassword, Ii as QuerySortClientContentPillars, In as formatterModeValues, Ir as ContentPillarSortKeys, It as SUpdateMediaPlatformDocumentRequest, J as SUpdateTrendsLikes, Ji as QuerySortBlogPosts, Jn as VIntegerNullable, Jr as SReportCommentDocument, Jt as SUpdateMediaCreativeFormatDocumentRequest, K as QueryStrapiUrlRedirectsByFrom, Ki as SUpdateCategoryDocumentRequest, Kn as XmlConfigSchema, Kr as SCreateCommentDocument, Kt as SCreateMediaCreativeFormatDocument, L as SUserToken, Li as QueryStrapiSearchClientContentPillars, Ln as indentLevelOptions, Lr as QuerySortContentPillars, Lt as MediaMediumSortKeys, M as SForgotUserPassword, Mi as SCreateClientMediaPlatformDocument, Mn as allowedMimeTypes, Mr as StrapiCollectionEntities, Mt as QuerySortMediaPlatforms, N as SLoginUser, Ni as SUpdateClientMediaPlatformDocument, Nn as bracketStyleOptions, Nr as StrapiSingleEntities, Nt as QueryStrapiSearchMediaPlatforms, O as SAuthConnectProviderConfirmation, Oi as SUpdateClientProjectDocumentRequest, On as SFormatterRequest, Or as QueryStrapiByName, Ot as SCreateMondayWorkspaceDocument, P as SRegisterUser, Pi as SUpdateClientMediaPlatformDocumentRequest, Pn as bracketStyleValues, Pr as ValidStrapiCollectionEntity, Pt as SCreateMediaPlatformDocument, Q as TeamworkProjectHealthProjectStatusOptions, Qn as VString, Qr as QuerySortClients, Qt as SCreateMediaContentTypeDocument, R as SReadUserAccountByDocumentId, Ri as SCreateClientContentPillarDocument, Rn as indentLevelValues, Rr as QueryStrapiSearchContentPillars, Rt as QuerySortMediaMedium, S as SUtmLinkBuilderTableFormInput, Si as ClientProjectSortKeys, Sn as MimeType, Sr as SSetEntityRelationshipRequest, St as SCreateNewsletterSignupDocument, T as QueryStrapiUsersByIdentifier, Ti as SAssociateClientToClientProjectDocument, Tn as SContentText, Tr as QueryStrapiByDocumentId, Tt as MondayWorkspaceSortKeys, U as SUpdateUserAccountPreferredName, Ui as QueryStrapiSearchCategories, Un as JsonConfig, Ur as QuerySortStrapiComments, Ut as MediaCreativeFormatSortKeys, V as SUpdateUserAccountFirstName, Vi as CategorySortKeys, Vn as HtmlConfigSchema, Vr as SUpdateContentPillarDocumentRequest, Vt as SUpdateMediaMediumDocument, W as QuerySortUrlRedirects, Wi as SCreateCategoryDocument, Wn as JsonConfigSchema, Wr as QueryStrapiCommentsFlat, Wt as QuerySortMediaCreativeFormat, X as QueryStrapiSearchTeamworkProjectHealth, Xi as QueryStrapiSearchBlogPostsBySlug, Xn as VPage, Xr as StrapiCommentSortKeys, Xt as QuerySortMediaContentType, Y as QuerySortTeamworkProjectHealth, Yi as QueryStrapiSearchBlogPosts, Yn as VNumberNullable, Yr as SUpdateCommentDocument, Yt as MediaContentTypeSortKeys, Z as TeamworkProjectHealthProjectStatus, Zn as VSize, Zr as ClientSortKeys, Zt as QueryStrapiSearchMediaContentTypes, _ as SUpdateUtmTrackingLinkDocumentRequest, _i as QuerySortClientReports, _n as FORMATTER_TEXT_MAX_LENGTH, _r as SAssociateEntityRelationshipRequest, _t as SUpdateResumeInfo, ai as SCreateClientUserDocument, an as QuerySortGCFlyTours, ar as VStringMinMaxRegex, at as QueryStrapiSearchTags, b as SUtmLinkBuilderPartCampaignDateValue, bi as SUpdateClientReportDocument, bn as IndentLevel, br as SEntityPosition, bt as checkIsValidUrlList, ci as SUpdateClientUserDocumentRequest, cn as SUpdateGCFlyTourDocument, cr as VStringShort, ct as SUpdateTagDocumentRequest, d as SCreateUtmTrackingLinkDocument, di as QuerySortClientStyleguides, dn as QuerySortGCFlyTourSnaps, dr as VStringUrl, dt as SCreateStrapiMediaUploadDocument, ei as SCreateClientDocument, en as SUpdateMediaContentTypeDocumentRequest, er as VStringLong, et as TeamworkProjectHealthSortKey, f as SCreateUtmTrackingLinkDocumentRequest, fi as QueryStrapiSearchClientStyleguide, fn as QueryStrapiSearchGCFlyTourSnaps, fr as VStringUrlNoUtm, ft as SUpdateStrapiMediaFileInfo, g as SUpdateUtmTrackingLinkDocument, gi as ClientReportSortKeys, gn as BracketStyle, gr as SAssociateEntityPositionDocumentRequest, gt as SCreateResumeInfoDocument, h as SReadUtmTrackingLinkDocumentByUrl, hi as SUpdateClientStyleguideDocumentRequest, hn as SUpdateGCFlyTourSnapDocumentRequest, hr as SAssociateEntityPosition, ht as SCreateResumeInfo, ii as QuerySortClientUsers, in as GCFlyTourSortKeys, ir as VStringMinMax, it as QuerySortTags, j as SChangePassword, ji as QueryStrapiSearchClientMediaPlatforms, jn as XMLMimeTypes, jr as QueryStrapiPaginated, jt as MediaPlatformSortKeys, k as SAuthConnectProviderRedirectSearch, ki as ClientMediaPlatformSortKeys, kn as SIndentLevel, kr as QueryStrapiByPhone, kt as SUpdateMondayWorkspaceDocument, l as QuerySortUtmTrackingLinks, li as SVerifyClientUserDocument, ln as SUpdateGCFlyTourDocumentRequest, lr as VStringShortNullable, lt as TagSortKeys, m as SFormCreateMultipleUtmTrackingLinkDocuments, mi as SUpdateClientStyleguideDocument, mn as SUpdateGCFlyTourSnapDocument, mr as VStringUrlUtm, mt as SCreateResume, ni as SUpdateClientDocumentRequest, nn as SUpdateLeadDocument, nr as VStringMax, nt as QueryStrapiSearchTeamMembers, oi as SQueryListClientUserDocuments, on as QueryStrapiSearchGCFlyTours, or as VStringPhone, ot as SCreateTagDocument, p as SCreateUtmTrackingLinkParts, pi as SCreateClientStyleguideDocument, pn as SCreateGCFlyTourSnapDocument, pr as VStringUrlNullable, pt as SharpSpringSignUpToDownload, q as UrlRedirectSortKeys, qi as BlogPostSortKeys, qn as buildPrettierConfig, qr as SDeleteCommentDocument, qt as SUpdateMediaCreativeFormatDocument, ri as ClientUserSortKeys, rn as SUpdateLeadRequest, rr as VStringMaxRegex, rt as TeamMemberSortKeys, si as SUpdateClientUserDocument, sn as SCreateGCFlyTourDocument, sr as VStringPhoneNullable, st as SUpdateTagDocument, ti as SUpdateClientDocument, tn as SCreateLeadDocument, tr as VStringLongNullable, tt as QuerySortTeamMembers, u as QueryStrapiSearchUtmTrackingLinks, ui as ClientStyleguideSortKeys, un as GCFlyTourSnapSortKeys, ur as VStringSlug, ut as SCreateMultipleStrapiMediaUploadDocument, v as UtmTrackingLinkSortKeys, vi as QueryStrapiSearchClientReports, vn as FormatterMode, vr as SAssociateManyEntities, vt as SUpdateResumeInfoDocument, w as QueryStrapiUsers, wi as QueryStrapiSearchClientProjects, wn as SContentFile, wr as QuerySortEntities, wt as SUpdateNewsletterSignupRequest, x as SUtmLinkBuilderTableForm, xi as SUpdateClientReportDocumentRequest, xn as JSONMimeTypes, xr as SQueryManyEntities, xt as SCreateNewsletterSignup, y as SUtmLinkBuilderPartCampaignDateOptions, yi as SCreateClientReportDocument, yn as HTMLMimeTypes, yr as SAssociateOneEntity, yt as SUpdateResumeInfoRequest, z as SReadUserAccountById, zi as SUpdateClientContentPillarDocument, zn as FileType, zr as SCreateContentPillarDocument, zt as QueryStrapiSearchMediaMediums } from "./index-DFRu32-L.mjs";
|
|
2
|
+
export { BlogPostSortKeys, BracketStyle, CategorySortKeys, ClientContentPillarSortKeys, ClientMediaPlatformSortKeys, ClientProjectSortKeys, ClientReportSortKeys, ClientSortKeys, ClientStyleguideSortKeys, ClientUserSortKeys, ContentPillarSortKeys, EntitySortKeys, FORMATTER_TEXT_MAX_LENGTH, FileType, FormatterMode, GCFlyTourSnapSortKeys, GCFlyTourSortKeys, HTMLMimeTypes, HtmlConfig, HtmlConfigSchema, INLINE_FIRST_PRINT_WIDTH, IndentLevel, JSONMimeTypes, JsonConfig, JsonConfigSchema, MediaContentTypeSortKeys, MediaCreativeFormatSortKeys, MediaMediumSortKeys, MediaPlatformSortKeys, MimeType, MondayWorkspaceSortKeys, QueryFilterStrapiComments, QuerySortBlogPosts, QuerySortCategories, QuerySortClientContentPillars, QuerySortClientMediaPlatforms, QuerySortClientProjects, QuerySortClientReports, QuerySortClientStyleguides, QuerySortClientUsers, QuerySortClients, QuerySortContentPillars, QuerySortEntities, QuerySortGCFlyTourSnaps, QuerySortGCFlyTours, QuerySortMediaContentType, QuerySortMediaCreativeFormat, QuerySortMediaMedium, QuerySortMediaPlatforms, QuerySortMondayWorkspaces, QuerySortStrapiComments, QuerySortTags, QuerySortTeamMembers, QuerySortTeamworkProjectHealth, QuerySortUrlRedirects, QuerySortUsers, QuerySortUtmTrackingLinks, QueryStrapiByDocumentId, QueryStrapiByEmail, QueryStrapiById, QueryStrapiByName, QueryStrapiByPhone, QueryStrapiBySlug, QueryStrapiCommentsFlat, QueryStrapiCommentsInHeirarchy, QueryStrapiPaginated, QueryStrapiPaginatedUrlRedirects, QueryStrapiSearchBlogPosts, QueryStrapiSearchBlogPostsBySlug, QueryStrapiSearchCategories, QueryStrapiSearchClientContentPillars, QueryStrapiSearchClientMediaPlatforms, QueryStrapiSearchClientProjects, QueryStrapiSearchClientReports, QueryStrapiSearchClientStyleguide, QueryStrapiSearchClients, QueryStrapiSearchContentPillars, QueryStrapiSearchGCFlyTourSnaps, QueryStrapiSearchGCFlyTours, QueryStrapiSearchMediaContentTypes, QueryStrapiSearchMediaCreativeFormats, QueryStrapiSearchMediaMediums, QueryStrapiSearchMediaPlatforms, QueryStrapiSearchMondayWorkspaces, QueryStrapiSearchTags, QueryStrapiSearchTeamMembers, QueryStrapiSearchTeamworkProjectHealth, QueryStrapiSearchUtmTrackingLinks, QueryStrapiUrlRedirectsByFrom, QueryStrapiUsers, QueryStrapiUsersByIdentifier, SAssociateClientToClientProjectDocument, SAssociateEntityPosition, SAssociateEntityPositionDocumentRequest, SAssociateEntityRelationshipRequest, SAssociateManyEntities, SAssociateOneEntity, SAuthConnectProviderConfirmation, SAuthConnectProviderRedirectSearch, SAuthRawAccessToken, SBracketStyle, SChangePassword, SContentFile, SContentText, SCreateCategoryDocument, SCreateClientContentPillarDocument, SCreateClientDocument, SCreateClientMediaPlatformDocument, SCreateClientProjectDocument, SCreateClientReportDocument, SCreateClientStyleguideDocument, SCreateClientUserDocument, SCreateCommentDocument, SCreateContentPillarDocument, SCreateGCFlyTourDocument, SCreateGCFlyTourSnapDocument, SCreateLeadDocument, SCreateMediaContentTypeDocument, SCreateMediaCreativeFormatDocument, SCreateMediaMediumDocument, SCreateMediaPlatformDocument, SCreateMondayWorkspaceDocument, SCreateMultipleStrapiMediaUploadDocument, SCreateNewsletterSignup, SCreateNewsletterSignupDocument, SCreateResume, SCreateResumeInfo, SCreateResumeInfoDocument, SCreateStrapiMediaUploadDocument, SCreateTagDocument, SCreateUserDocument, SCreateUtmTrackingLinkDocument, SCreateUtmTrackingLinkDocumentRequest, SCreateUtmTrackingLinkParts, SDeleteCommentDocument, SEntityPosition, SForgotUserPassword, SFormCreateMultipleUtmTrackingLinkDocuments, SFormatterForm, SFormatterMode, SFormatterRequest, SIndentLevel, SLoginUser, SQueryListClientUserDocuments, SQueryManyEntities, SReadUserAccountByDocumentId, SReadUserAccountById, SReadUtmTrackingLinkDocumentByUrl, SRegisterUser, SReportCommentDocument, SRequestConfirmEmail, SResetUserPassword, SSetEntityRelationshipRequest, SUpdateCategoryDocument, SUpdateCategoryDocumentRequest, SUpdateClientContentPillarDocument, SUpdateClientContentPillarDocumentRequest, SUpdateClientDocument, SUpdateClientDocumentRequest, SUpdateClientMediaPlatformDocument, SUpdateClientMediaPlatformDocumentRequest, SUpdateClientProjectDocument, SUpdateClientProjectDocumentRequest, SUpdateClientReportDocument, SUpdateClientReportDocumentRequest, SUpdateClientStyleguideDocument, SUpdateClientStyleguideDocumentRequest, SUpdateClientUserDocument, SUpdateClientUserDocumentRequest, SUpdateCommentDocument, SUpdateContentPillarDocument, SUpdateContentPillarDocumentRequest, SUpdateGCFlyTourDocument, SUpdateGCFlyTourDocumentRequest, SUpdateGCFlyTourSnapDocument, SUpdateGCFlyTourSnapDocumentRequest, SUpdateLeadDocument, SUpdateLeadRequest, SUpdateMediaContentTypeDocument, SUpdateMediaContentTypeDocumentRequest, SUpdateMediaCreativeFormatDocument, SUpdateMediaCreativeFormatDocumentRequest, SUpdateMediaMediumDocument, SUpdateMediaMediumDocumentRequest, SUpdateMediaPlatformDocument, SUpdateMediaPlatformDocumentRequest, SUpdateMondayWorkspaceDocument, SUpdateMondayWorkspaceDocumentRequest, SUpdateNewsletterSignupDocument, SUpdateNewsletterSignupRequest, SUpdateResumeInfo, SUpdateResumeInfoDocument, SUpdateResumeInfoRequest, SUpdateStrapiMediaFileInfo, SUpdateTagDocument, SUpdateTagDocumentRequest, SUpdateTrendsLikes, SUpdateUserAccount, SUpdateUserAccountFirstName, SUpdateUserAccountLastName, SUpdateUserAccountPreferredName, SUpdateUtmTrackingLinkDocument, SUpdateUtmTrackingLinkDocumentRequest, SUserToken, SUtmLinkBuilderPartCampaignDateOptions, SUtmLinkBuilderPartCampaignDateValue, SUtmLinkBuilderTableForm, SUtmLinkBuilderTableFormInput, SVerifyClientUserDocument, SharpSpringSignUpToDownload, StrapiCollectionEntities, StrapiCommentSortKeys, StrapiSingleEntities, TXTMimeTypes, TagSortKeys, TeamMemberSortKeys, TeamworkProjectHealthProjectStatus, TeamworkProjectHealthProjectStatusOptions, TeamworkProjectHealthSelectSortOptions, TeamworkProjectHealthSortKey, UrlRedirectSortKeys, UserSortKeys, UtmTrackingLinkSortKeys, VIntegerNullable, VNumberNullable, VPage, VSize, VString, VStringEmail, VStringLong, VStringLongNullable, VStringMax, VStringMaxRegex, VStringMinMax, VStringMinMaxRegex, VStringPhone, VStringPhoneNullable, VStringShort, VStringShortNullable, VStringSlug, VStringUrl, VStringUrlNoUtm, VStringUrlNullable, VStringUrlUtm, ValidStrapiCollectionEntity, ValidStrapiSingleEntity, XMLMimeTypes, XmlConfig, XmlConfigSchema, allowedMimeTypes, bracketStyleOptions, bracketStyleValues, buildPrettierConfig, checkIsValidUrlList, formatterModeOptions, formatterModeValues, indentLevelOptions, indentLevelValues };
|
package/dist/schemas.mjs
CHANGED
|
@@ -712,6 +712,143 @@ const QueryStrapiByName = v.object({
|
|
|
712
712
|
sort: QuerySortEntities
|
|
713
713
|
});
|
|
714
714
|
//#endregion
|
|
715
|
+
//#region src/schemas/formatter-prettier.schemas.ts
|
|
716
|
+
/**
|
|
717
|
+
* Prettier requires a numeric printWidth.
|
|
718
|
+
* To get "inline unless structurally broken", use a very large default.
|
|
719
|
+
*/
|
|
720
|
+
const INLINE_FIRST_PRINT_WIDTH = 80;
|
|
721
|
+
const EndOfLineSchema = v.picklist([
|
|
722
|
+
"lf",
|
|
723
|
+
"crlf",
|
|
724
|
+
"cr",
|
|
725
|
+
"auto"
|
|
726
|
+
]);
|
|
727
|
+
const ProseWrapSchema = v.picklist([
|
|
728
|
+
"always",
|
|
729
|
+
"never",
|
|
730
|
+
"preserve"
|
|
731
|
+
]);
|
|
732
|
+
const HtmlWhitespaceSensitivitySchema = v.picklist([
|
|
733
|
+
"css",
|
|
734
|
+
"strict",
|
|
735
|
+
"ignore"
|
|
736
|
+
]);
|
|
737
|
+
const XmlWhitespaceSensitivitySchema = v.picklist([
|
|
738
|
+
"strict",
|
|
739
|
+
"preserve",
|
|
740
|
+
"ignore"
|
|
741
|
+
]);
|
|
742
|
+
const XmlQuoteAttributesSchema = v.picklist([
|
|
743
|
+
"preserve",
|
|
744
|
+
"single",
|
|
745
|
+
"double"
|
|
746
|
+
]);
|
|
747
|
+
const EmbeddedLanguageFormattingSchema = v.picklist(["off", "auto"]);
|
|
748
|
+
const JsonParserSchema = v.picklist([
|
|
749
|
+
"json",
|
|
750
|
+
"jsonc",
|
|
751
|
+
"json5"
|
|
752
|
+
]);
|
|
753
|
+
const SharedConfigSchema = v.object({
|
|
754
|
+
printWidth: v.number(),
|
|
755
|
+
tabWidth: v.number(),
|
|
756
|
+
useTabs: v.boolean(),
|
|
757
|
+
endOfLine: EndOfLineSchema
|
|
758
|
+
});
|
|
759
|
+
const HtmlConfigSchema = v.object({
|
|
760
|
+
...SharedConfigSchema.entries,
|
|
761
|
+
parser: v.literal("html"),
|
|
762
|
+
bracketSameLine: v.boolean(),
|
|
763
|
+
singleAttributePerLine: v.boolean(),
|
|
764
|
+
htmlWhitespaceSensitivity: HtmlWhitespaceSensitivitySchema,
|
|
765
|
+
proseWrap: ProseWrapSchema,
|
|
766
|
+
embeddedLanguageFormatting: EmbeddedLanguageFormattingSchema
|
|
767
|
+
});
|
|
768
|
+
const XmlConfigSchema = v.object({
|
|
769
|
+
...SharedConfigSchema.entries,
|
|
770
|
+
bracketSameLine: v.boolean(),
|
|
771
|
+
singleAttributePerLine: v.boolean(),
|
|
772
|
+
xmlWhitespaceSensitivity: XmlWhitespaceSensitivitySchema,
|
|
773
|
+
xmlQuoteAttributes: XmlQuoteAttributesSchema,
|
|
774
|
+
xmlSelfClosingSpace: v.boolean(),
|
|
775
|
+
xmlSortAttributesByKey: v.boolean()
|
|
776
|
+
});
|
|
777
|
+
const JsonConfigSchema = v.object({
|
|
778
|
+
...SharedConfigSchema.entries,
|
|
779
|
+
parser: JsonParserSchema
|
|
780
|
+
});
|
|
781
|
+
const HtmlOverridesSchema = v.partial(HtmlConfigSchema);
|
|
782
|
+
const XmlOverridesSchema = v.partial(XmlConfigSchema);
|
|
783
|
+
const JsonOverridesSchema = v.partial(JsonConfigSchema);
|
|
784
|
+
const sharedDefaults = {
|
|
785
|
+
printWidth: 80,
|
|
786
|
+
tabWidth: 2,
|
|
787
|
+
useTabs: false,
|
|
788
|
+
endOfLine: "lf"
|
|
789
|
+
};
|
|
790
|
+
const htmlDefaults = {
|
|
791
|
+
...sharedDefaults,
|
|
792
|
+
parser: "html",
|
|
793
|
+
bracketSameLine: false,
|
|
794
|
+
singleAttributePerLine: false,
|
|
795
|
+
htmlWhitespaceSensitivity: "css",
|
|
796
|
+
proseWrap: "preserve",
|
|
797
|
+
embeddedLanguageFormatting: "auto"
|
|
798
|
+
};
|
|
799
|
+
const xmlDefaults = {
|
|
800
|
+
...sharedDefaults,
|
|
801
|
+
bracketSameLine: false,
|
|
802
|
+
singleAttributePerLine: false,
|
|
803
|
+
xmlWhitespaceSensitivity: "strict",
|
|
804
|
+
xmlQuoteAttributes: "double",
|
|
805
|
+
xmlSelfClosingSpace: true,
|
|
806
|
+
xmlSortAttributesByKey: false
|
|
807
|
+
};
|
|
808
|
+
const jsonDefaultsByParser = {
|
|
809
|
+
json: {
|
|
810
|
+
...sharedDefaults,
|
|
811
|
+
parser: "json"
|
|
812
|
+
},
|
|
813
|
+
jsonc: {
|
|
814
|
+
...sharedDefaults,
|
|
815
|
+
parser: "jsonc"
|
|
816
|
+
},
|
|
817
|
+
json5: {
|
|
818
|
+
...sharedDefaults,
|
|
819
|
+
parser: "json5"
|
|
820
|
+
}
|
|
821
|
+
};
|
|
822
|
+
function buildPrettierConfig(fileType, overrides = {}) {
|
|
823
|
+
switch (fileType) {
|
|
824
|
+
case "html": {
|
|
825
|
+
const safeOverrides = v.parse(HtmlOverridesSchema, overrides);
|
|
826
|
+
return v.parse(HtmlConfigSchema, {
|
|
827
|
+
...htmlDefaults,
|
|
828
|
+
...safeOverrides,
|
|
829
|
+
parser: "html"
|
|
830
|
+
});
|
|
831
|
+
}
|
|
832
|
+
case "xml": {
|
|
833
|
+
const safeOverrides = v.parse(XmlOverridesSchema, overrides);
|
|
834
|
+
return v.parse(XmlConfigSchema, {
|
|
835
|
+
...xmlDefaults,
|
|
836
|
+
...safeOverrides
|
|
837
|
+
});
|
|
838
|
+
}
|
|
839
|
+
case "json":
|
|
840
|
+
case "jsonc":
|
|
841
|
+
case "json5": {
|
|
842
|
+
const safeOverrides = v.parse(JsonOverridesSchema, overrides);
|
|
843
|
+
return v.parse(JsonConfigSchema, {
|
|
844
|
+
...jsonDefaultsByParser[fileType],
|
|
845
|
+
...safeOverrides,
|
|
846
|
+
parser: fileType
|
|
847
|
+
});
|
|
848
|
+
}
|
|
849
|
+
}
|
|
850
|
+
}
|
|
851
|
+
//#endregion
|
|
715
852
|
//#region src/schemas/formatter.schemas.ts
|
|
716
853
|
const FORMATTER_TEXT_MAX_LENGTH = 5e4;
|
|
717
854
|
const formatterModeOptions = [
|
|
@@ -770,23 +907,33 @@ const bracketStyleOptions = [{
|
|
|
770
907
|
}];
|
|
771
908
|
const bracketStyleValues = bracketStyleOptions.map((option) => option.value);
|
|
772
909
|
const SBracketStyle = v.optional(v.picklist(bracketStyleValues), "COLLAPSE");
|
|
773
|
-
const SContentText = v.optional(v.pipe(v.string(), v.trim(), v.maxLength(FORMATTER_TEXT_MAX_LENGTH, `Text cannot exceed ${FORMATTER_TEXT_MAX_LENGTH.toLocaleString()} characters
|
|
774
|
-
const
|
|
775
|
-
|
|
776
|
-
"application/xhtml+xml",
|
|
777
|
-
"application/xml",
|
|
910
|
+
const SContentText = v.optional(v.pipe(v.string(), v.trim(), v.maxLength(FORMATTER_TEXT_MAX_LENGTH, `Text cannot exceed ${FORMATTER_TEXT_MAX_LENGTH.toLocaleString()} characters. Please upload a file instead if your content exceeds this limit.`)));
|
|
911
|
+
const HTMLMimeTypes = ["text/html", "application/xhtml+xml"];
|
|
912
|
+
const XMLMimeTypes = [
|
|
778
913
|
"text/xml",
|
|
914
|
+
"application/xml",
|
|
779
915
|
"application/rss+xml",
|
|
780
|
-
"application/atom+xml"
|
|
781
|
-
|
|
916
|
+
"application/atom+xml"
|
|
917
|
+
];
|
|
918
|
+
const JSONMimeTypes = [
|
|
782
919
|
"text/json",
|
|
920
|
+
"application/json",
|
|
783
921
|
"application/ld+json",
|
|
784
|
-
"
|
|
785
|
-
"application/
|
|
786
|
-
|
|
787
|
-
|
|
922
|
+
"application/json5",
|
|
923
|
+
"application/x-ndjson",
|
|
924
|
+
"application/jsonlines"
|
|
925
|
+
];
|
|
926
|
+
const TXTMimeTypes = ["text/plain", "application/octet-stream"];
|
|
927
|
+
const allowedMimeTypes = [
|
|
928
|
+
...HTMLMimeTypes,
|
|
929
|
+
...XMLMimeTypes,
|
|
930
|
+
...JSONMimeTypes,
|
|
931
|
+
...TXTMimeTypes
|
|
932
|
+
];
|
|
933
|
+
const SContentFile = v.optional(v.pipe(v.file("Please upload a file."), v.maxSize(2 * 1024 * 1024, "File must be smaller than 2 MB."), v.mimeType(allowedMimeTypes, "Please upload a valid file: text, HTML, XML, or JSON.")));
|
|
788
934
|
const SFormatterForm = v.pipe(v.object({
|
|
789
935
|
formatter_mode: SFormatterMode,
|
|
936
|
+
chars_per_line: v.optional(v.number()),
|
|
790
937
|
indent_level: SIndentLevel,
|
|
791
938
|
bracket_style: SBracketStyle,
|
|
792
939
|
text_content: SContentText,
|
|
@@ -794,6 +941,7 @@ const SFormatterForm = v.pipe(v.object({
|
|
|
794
941
|
}), v.check((input) => !!(input.text_content || input.files), "You must provide text content or a text file."));
|
|
795
942
|
const SFormatterRequest = v.pipe(v.object({
|
|
796
943
|
formatter_mode: SFormatterMode,
|
|
944
|
+
chars_per_line: v.optional(v.number()),
|
|
797
945
|
indent_level: SIndentLevel,
|
|
798
946
|
bracket_style: SBracketStyle,
|
|
799
947
|
content: v.string()
|
|
@@ -1790,4 +1938,4 @@ const SUpdateUtmTrackingLinkDocumentRequest = v.object({
|
|
|
1790
1938
|
data: SUpdateUtmTrackingLinkDocument
|
|
1791
1939
|
});
|
|
1792
1940
|
//#endregion
|
|
1793
|
-
export { BlogPostSortKeys, CategorySortKeys, ClientContentPillarSortKeys, ClientMediaPlatformSortKeys, ClientProjectSortKeys, ClientReportSortKeys, ClientSortKeys, ClientStyleguideSortKeys, ClientUserSortKeys, ContentPillarSortKeys, EntitySortKeys, FORMATTER_TEXT_MAX_LENGTH, GCFlyTourSnapSortKeys, GCFlyTourSortKeys, MediaContentTypeSortKeys, MediaCreativeFormatSortKeys, MediaMediumSortKeys, MediaPlatformSortKeys, MondayWorkspaceSortKeys, QueryFilterStrapiComments, QuerySortBlogPosts, QuerySortCategories, QuerySortClientContentPillars, QuerySortClientMediaPlatforms, QuerySortClientProjects, QuerySortClientReports, QuerySortClientStyleguides, QuerySortClientUsers, QuerySortClients, QuerySortContentPillars, QuerySortEntities, QuerySortGCFlyTourSnaps, QuerySortGCFlyTours, QuerySortMediaContentType, QuerySortMediaCreativeFormat, QuerySortMediaMedium, QuerySortMediaPlatforms, QuerySortMondayWorkspaces, QuerySortStrapiComments, QuerySortTags, QuerySortTeamMembers, QuerySortTeamworkProjectHealth, QuerySortUrlRedirects, QuerySortUsers, QuerySortUtmTrackingLinks, QueryStrapiByDocumentId, QueryStrapiByEmail, QueryStrapiById, QueryStrapiByName, QueryStrapiByPhone, QueryStrapiBySlug, QueryStrapiCommentsFlat, QueryStrapiCommentsInHeirarchy, QueryStrapiPaginated, QueryStrapiPaginatedUrlRedirects, QueryStrapiSearchBlogPosts, QueryStrapiSearchBlogPostsBySlug, QueryStrapiSearchCategories, QueryStrapiSearchClientContentPillars, QueryStrapiSearchClientMediaPlatforms, QueryStrapiSearchClientProjects, QueryStrapiSearchClientReports, QueryStrapiSearchClientStyleguide, QueryStrapiSearchClients, QueryStrapiSearchContentPillars, QueryStrapiSearchGCFlyTourSnaps, QueryStrapiSearchGCFlyTours, QueryStrapiSearchMediaContentTypes, QueryStrapiSearchMediaCreativeFormats, QueryStrapiSearchMediaMediums, QueryStrapiSearchMediaPlatforms, QueryStrapiSearchMondayWorkspaces, QueryStrapiSearchTags, QueryStrapiSearchTeamMembers, QueryStrapiSearchTeamworkProjectHealth, QueryStrapiSearchUtmTrackingLinks, QueryStrapiUrlRedirectsByFrom, QueryStrapiUsers, QueryStrapiUsersByIdentifier, SAssociateClientToClientProjectDocument, SAssociateEntityPosition, SAssociateEntityPositionDocumentRequest, SAssociateEntityRelationshipRequest, SAssociateManyEntities, SAssociateOneEntity, SAuthConnectProviderConfirmation, SAuthConnectProviderRedirectSearch, SAuthRawAccessToken, SBracketStyle, SChangePassword, SContentFile,
|
|
1941
|
+
export { BlogPostSortKeys, CategorySortKeys, ClientContentPillarSortKeys, ClientMediaPlatformSortKeys, ClientProjectSortKeys, ClientReportSortKeys, ClientSortKeys, ClientStyleguideSortKeys, ClientUserSortKeys, ContentPillarSortKeys, EntitySortKeys, FORMATTER_TEXT_MAX_LENGTH, GCFlyTourSnapSortKeys, GCFlyTourSortKeys, HTMLMimeTypes, HtmlConfigSchema, INLINE_FIRST_PRINT_WIDTH, JSONMimeTypes, JsonConfigSchema, MediaContentTypeSortKeys, MediaCreativeFormatSortKeys, MediaMediumSortKeys, MediaPlatformSortKeys, MondayWorkspaceSortKeys, QueryFilterStrapiComments, QuerySortBlogPosts, QuerySortCategories, QuerySortClientContentPillars, QuerySortClientMediaPlatforms, QuerySortClientProjects, QuerySortClientReports, QuerySortClientStyleguides, QuerySortClientUsers, QuerySortClients, QuerySortContentPillars, QuerySortEntities, QuerySortGCFlyTourSnaps, QuerySortGCFlyTours, QuerySortMediaContentType, QuerySortMediaCreativeFormat, QuerySortMediaMedium, QuerySortMediaPlatforms, QuerySortMondayWorkspaces, QuerySortStrapiComments, QuerySortTags, QuerySortTeamMembers, QuerySortTeamworkProjectHealth, QuerySortUrlRedirects, QuerySortUsers, QuerySortUtmTrackingLinks, QueryStrapiByDocumentId, QueryStrapiByEmail, QueryStrapiById, QueryStrapiByName, QueryStrapiByPhone, QueryStrapiBySlug, QueryStrapiCommentsFlat, QueryStrapiCommentsInHeirarchy, QueryStrapiPaginated, QueryStrapiPaginatedUrlRedirects, QueryStrapiSearchBlogPosts, QueryStrapiSearchBlogPostsBySlug, QueryStrapiSearchCategories, QueryStrapiSearchClientContentPillars, QueryStrapiSearchClientMediaPlatforms, QueryStrapiSearchClientProjects, QueryStrapiSearchClientReports, QueryStrapiSearchClientStyleguide, QueryStrapiSearchClients, QueryStrapiSearchContentPillars, QueryStrapiSearchGCFlyTourSnaps, QueryStrapiSearchGCFlyTours, QueryStrapiSearchMediaContentTypes, QueryStrapiSearchMediaCreativeFormats, QueryStrapiSearchMediaMediums, QueryStrapiSearchMediaPlatforms, QueryStrapiSearchMondayWorkspaces, QueryStrapiSearchTags, QueryStrapiSearchTeamMembers, QueryStrapiSearchTeamworkProjectHealth, QueryStrapiSearchUtmTrackingLinks, QueryStrapiUrlRedirectsByFrom, QueryStrapiUsers, QueryStrapiUsersByIdentifier, SAssociateClientToClientProjectDocument, SAssociateEntityPosition, SAssociateEntityPositionDocumentRequest, SAssociateEntityRelationshipRequest, SAssociateManyEntities, SAssociateOneEntity, SAuthConnectProviderConfirmation, SAuthConnectProviderRedirectSearch, SAuthRawAccessToken, SBracketStyle, SChangePassword, SContentFile, SContentText, SCreateCategoryDocument, SCreateClientContentPillarDocument, SCreateClientDocument, SCreateClientMediaPlatformDocument, SCreateClientProjectDocument, SCreateClientReportDocument, SCreateClientStyleguideDocument, SCreateClientUserDocument, SCreateCommentDocument, SCreateContentPillarDocument, SCreateGCFlyTourDocument, SCreateGCFlyTourSnapDocument, SCreateLeadDocument, SCreateMediaContentTypeDocument, SCreateMediaCreativeFormatDocument, SCreateMediaMediumDocument, SCreateMediaPlatformDocument, SCreateMondayWorkspaceDocument, SCreateMultipleStrapiMediaUploadDocument, SCreateNewsletterSignup, SCreateNewsletterSignupDocument, SCreateResume, SCreateResumeInfo, SCreateResumeInfoDocument, SCreateStrapiMediaUploadDocument, SCreateTagDocument, SCreateUserDocument, SCreateUtmTrackingLinkDocument, SCreateUtmTrackingLinkDocumentRequest, SCreateUtmTrackingLinkParts, SDeleteCommentDocument, SEntityPosition, SForgotUserPassword, SFormCreateMultipleUtmTrackingLinkDocuments, SFormatterForm, SFormatterMode, SFormatterRequest, SIndentLevel, SLoginUser, SQueryListClientUserDocuments, SQueryManyEntities, SReadUserAccountByDocumentId, SReadUserAccountById, SReadUtmTrackingLinkDocumentByUrl, SRegisterUser, SReportCommentDocument, SRequestConfirmEmail, SResetUserPassword, SSetEntityRelationshipRequest, SUpdateCategoryDocument, SUpdateCategoryDocumentRequest, SUpdateClientContentPillarDocument, SUpdateClientContentPillarDocumentRequest, SUpdateClientDocument, SUpdateClientDocumentRequest, SUpdateClientMediaPlatformDocument, SUpdateClientMediaPlatformDocumentRequest, SUpdateClientProjectDocument, SUpdateClientProjectDocumentRequest, SUpdateClientReportDocument, SUpdateClientReportDocumentRequest, SUpdateClientStyleguideDocument, SUpdateClientStyleguideDocumentRequest, SUpdateClientUserDocument, SUpdateClientUserDocumentRequest, SUpdateCommentDocument, SUpdateContentPillarDocument, SUpdateContentPillarDocumentRequest, SUpdateGCFlyTourDocument, SUpdateGCFlyTourDocumentRequest, SUpdateGCFlyTourSnapDocument, SUpdateGCFlyTourSnapDocumentRequest, SUpdateLeadDocument, SUpdateLeadRequest, SUpdateMediaContentTypeDocument, SUpdateMediaContentTypeDocumentRequest, SUpdateMediaCreativeFormatDocument, SUpdateMediaCreativeFormatDocumentRequest, SUpdateMediaMediumDocument, SUpdateMediaMediumDocumentRequest, SUpdateMediaPlatformDocument, SUpdateMediaPlatformDocumentRequest, SUpdateMondayWorkspaceDocument, SUpdateMondayWorkspaceDocumentRequest, SUpdateNewsletterSignupDocument, SUpdateNewsletterSignupRequest, SUpdateResumeInfo, SUpdateResumeInfoDocument, SUpdateResumeInfoRequest, SUpdateStrapiMediaFileInfo, SUpdateTagDocument, SUpdateTagDocumentRequest, SUpdateTrendsLikes, SUpdateUserAccount, SUpdateUserAccountFirstName, SUpdateUserAccountLastName, SUpdateUserAccountPreferredName, SUpdateUtmTrackingLinkDocument, SUpdateUtmTrackingLinkDocumentRequest, SUserToken, SUtmLinkBuilderPartCampaignDateOptions, SUtmLinkBuilderTableForm, SVerifyClientUserDocument, SharpSpringSignUpToDownload, StrapiCollectionEntities, StrapiCommentSortKeys, StrapiSingleEntities, TXTMimeTypes, TagSortKeys, TeamMemberSortKeys, TeamworkProjectHealthProjectStatusOptions, TeamworkProjectHealthSelectSortOptions, UrlRedirectSortKeys, UserSortKeys, UtmTrackingLinkSortKeys, VIntegerNullable, VNumberNullable, VPage, VSize, VString, VStringEmail, VStringLong, VStringLongNullable, VStringMax, VStringMaxRegex, VStringMinMax, VStringMinMaxRegex, VStringPhone, VStringPhoneNullable, VStringShort, VStringShortNullable, VStringSlug, VStringUrl, VStringUrlNoUtm, VStringUrlNullable, VStringUrlUtm, ValidStrapiCollectionEntity, ValidStrapiSingleEntity, XMLMimeTypes, XmlConfigSchema, allowedMimeTypes, bracketStyleOptions, bracketStyleValues, buildPrettierConfig, checkIsValidUrlList, formatterModeOptions, formatterModeValues, indentLevelOptions, indentLevelValues };
|
package/dist/types.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $a as
|
|
1
|
+
import { $a as ProductDocument, $o as FormDownload, $s as StrapiListResponse, Aa as TeamworkLockdown, Ao as ComponentUtmOption, As as ComponentMetaSocial, Ba as BlogPageDocument, Bo as SlideshowComponentSlideSettings, Bs as RichTextBlock, Ca as TeamworkProjectTaskStat, Co as BlogPostDocument, Cs as ComponentBlockContact, Da as TeamworkCurrency, Do as TrendDocument, Ds as ComponentBlockBrandLogos, Ea as TeamworkCustomField, Eo as TeamMemberTier, Es as BlockBrandLogos, Fa as TeamPageDocument, Fo as Slideshow, Fs as OpenGraph, Ga as NewsletterSignupDocument, Go as SliderBreakpoint, Gs as ComponentSharedLink, Ha as UrlRedirectQueryParams, Ho as SlideshowMode, Hs as SharedRichTextBlock, Ia as PolicyPageDocument, Io as ComponentSlideContent, Is as SeoMeta, Ja as CommentReportDocument, Jo as SliderSpacing, Js as StrapiAttributeErrorKey, Ka as LeadDocument, Ko as SliderOrigin, Ks as SharedLink, La as LandingPageDocument, Lo as SlideContent, Ls as ComponentSharedQuestionAnswer, Ma as TeamworkResponseMeta, Mo as UtmOption, Ms as ComponentSeoMeta, Na as TeamworkResponseMetaPagination, No as UtmSourceKey, Ns as MetaSocial, Oa as TeamworkCompany, Oo as TagDocument, Os as BlockAnnouncementBar, Pa as UtmMetaPageDocument, Po as ComponentSlideshow, Ps as MetaSocialNetwork, Qa as ProductHighlightDocument, Qo as ComponentFormDownload, Qs as StrapiErrorResult, Ra as FAQPageDocument, Ro as SlideType, Rs as SharedQuestionAnswer, Sa as TeamworkProjectUpdate, So as BlogPostBlock, Ss as BlockContact, Ta as TeamworkProjectCategory, To as TeamMemberGroup, Ts as ComponentBlockButtonGroup, Ua as UrlRedirectStatusCode, Uo as SlideshowSettings, Us as ComponentSharedButton, Va as UrlRedirectDocument, Vo as ComponentSlideshowSettings, Vs as RichTextBlockChildren, Wa as ResumeDocument, Wo as ComponentSliderSettings, Ws as SharedButton, Xa as ContentPillarDocument, Xo as FormSelect, Xs as StrapiErrorDetail, Ya as ClientContentPillarDocument, Yo as ComponentFormSelect, Ys as StrapiAttributeErrorResponse, Za as ClientDocument, Zo as FormUID, Zs as StrapiErrorResponse, _a as TeamworkUserAccount, _c as StrapiTextColorOptions, _o as ClientMediaPlatformDocument, _s as ComponentBlockVideo, aa as TeamworkTasklistsResponse, ac as MediaFormats, ao as AuthorizedUserDocument, as as BlockTextDetails, ba as TeamworkTagResponseMeta, bo as MediaContentTypeDocument, bs as BlockCtaLink, ca as TeamworkTaskResponse, cc as StrapiBgColorOptions, co as UserDocument, cs as ComponentBlockSectionTitle, da as TeamworkTasksResponse, dc as StrapiIconName, do as RoleDocument, ds as BlockGraphicImage, ec as StrapiPagination, eo as MondayWorkspaceDocument, es as FormDownloadKeys, fa as TeamworkProject, fc as StrapiIconPosition, fo as RoleType, fs as ComponentBlockGraphicImage, ga as TeamworkResponseMetaProjectStats, gc as StrapiLinkType, go as ClientProjectDocument, gs as BlockVideoEmbed, ha as TeamworkProjectsResponse, hc as StrapiLinkTarget, ho as ClientReportDocument, hs as ComponentBlockFullscreenContent, ia as TeamworkTasklistResponseMeta, ic as MediaFormat, io as ClientUserDocumentStatus, is as ComponentBrandStyleguideColor, ja as TeamworkRelatedMeta, jo as UtmClassificationKey, js as ComponentOpenGraph, ka as TeamworkActivePages, ko as CategoryDocument, ks as ComponentBlockAnnouncementBar, la as TeamworkTaskResponseMeta, lc as StrapiDirection, lo as UtmTrackingLinkDocument, ls as BlockPullQuote, ma as TeamworkProjectResponseMeta, mc as StrapiLinkRel, mo as ClientStyleguideDocument, ms as BlockFullscreenContentType, na as TeamworkTasklist, nc as StrapiResponseMetaWithPagination, no as GCFlyTourSnapDocument, ns as ComponentBrandStyleguideFont, oa as TeamworkTask, oc as MediaUploadDocument, oo as UserAuthorizationLoginResponse, os as ComponentBlockTextDetails, pa as TeamworkProjectResponse, pc as StrapiLinkReferrerPolicy, po as PermissionDocument, ps as BlockFullscreenContent, qa as CommentDocument, qo as SliderSettings, qs as StrapiAttributeErrorDetail, ra as TeamworkTasklistResponse, rc as StrapiSingleResponse, ro as ClientUserDocument, rs as BrandStyleguideColor, sa as TeamworkTaskCard, sc as FormSelectInputOption, so as UserAuthorizationSuccessResponse, ss as BlockSectionTitle, tc as StrapiResponseMeta, to as GCFlyTourDocument, ts as BrandStyleguideFont, ua as TeamworkTaskUserPermissions, uc as StrapiGapSizes, uo as UserAccountDocument, us as ComponentBlockPullQuote, va as TeamworkTag, vc as StrapiThemeOptions, vo as MediaPlatformDocument, vs as BlockFaq, wa as TeamworkProjectCustomField, wo as TeamMemberDocument, ws as BlockButtonGroup, xa as TeamworkTagsResponse, xo as MediaCreativeFormatDocument, xs as ComponentBlockCtaLink, ya as TeamworkTagResponse, yc as BaseDocument, yo as MediaMediumDocument, ys as ComponentBlockFaq, za as CareersPageDocument, zo as SlideshowComponentProps, zs as ComponentSharedRichTextBlock } from "./index-BOPBkJ62.cjs";
|
|
2
2
|
export { AuthorizedUserDocument, BaseDocument, BlockAnnouncementBar, BlockBrandLogos, BlockButtonGroup, BlockContact, BlockCtaLink, BlockFaq, BlockFullscreenContent, BlockFullscreenContentType, BlockGraphicImage, BlockPullQuote, BlockSectionTitle, BlockTextDetails, BlockVideoEmbed, BlogPageDocument, BlogPostBlock, BlogPostDocument, BrandStyleguideColor, BrandStyleguideFont, CareersPageDocument, CategoryDocument, ClientContentPillarDocument, ClientDocument, ClientMediaPlatformDocument, ClientProjectDocument, ClientReportDocument, ClientStyleguideDocument, ClientUserDocument, ClientUserDocumentStatus, CommentDocument, CommentReportDocument, ComponentBlockAnnouncementBar, ComponentBlockBrandLogos, ComponentBlockButtonGroup, ComponentBlockContact, ComponentBlockCtaLink, ComponentBlockFaq, ComponentBlockFullscreenContent, ComponentBlockGraphicImage, ComponentBlockPullQuote, ComponentBlockSectionTitle, ComponentBlockTextDetails, ComponentBlockVideo, ComponentBrandStyleguideColor, ComponentBrandStyleguideFont, ComponentFormDownload, ComponentFormSelect, ComponentMetaSocial, ComponentOpenGraph, ComponentSeoMeta, ComponentSharedButton, ComponentSharedLink, ComponentSharedQuestionAnswer, ComponentSharedRichTextBlock, ComponentSlideContent, ComponentSliderSettings, ComponentSlideshow, ComponentSlideshowSettings, ComponentUtmOption, ContentPillarDocument, FAQPageDocument, FormDownload, FormDownloadKeys, FormSelect, FormSelectInputOption, FormUID, GCFlyTourDocument, GCFlyTourSnapDocument, LandingPageDocument, LeadDocument, MediaContentTypeDocument, MediaCreativeFormatDocument, MediaFormat, MediaFormats, MediaMediumDocument, MediaPlatformDocument, MediaUploadDocument, MetaSocial, MetaSocialNetwork, MondayWorkspaceDocument, NewsletterSignupDocument, OpenGraph, PermissionDocument, PolicyPageDocument, ProductDocument, ProductHighlightDocument, ResumeDocument, RichTextBlock, RichTextBlockChildren, RoleDocument, RoleType, SeoMeta, SharedButton, SharedLink, SharedQuestionAnswer, SharedRichTextBlock, SlideContent, SlideType, SliderBreakpoint, SliderOrigin, SliderSettings, SliderSpacing, Slideshow, SlideshowComponentProps, SlideshowComponentSlideSettings, SlideshowMode, SlideshowSettings, StrapiAttributeErrorDetail, StrapiAttributeErrorKey, StrapiAttributeErrorResponse, StrapiBgColorOptions, StrapiDirection, StrapiErrorDetail, StrapiErrorResponse, StrapiErrorResult, StrapiGapSizes, StrapiIconName, StrapiIconPosition, StrapiLinkReferrerPolicy, StrapiLinkRel, StrapiLinkTarget, StrapiLinkType, StrapiListResponse, StrapiPagination, StrapiResponseMeta, StrapiResponseMetaWithPagination, StrapiSingleResponse, StrapiTextColorOptions, StrapiThemeOptions, TagDocument, TeamMemberDocument, TeamMemberGroup, TeamMemberTier, TeamPageDocument, TeamworkActivePages, TeamworkCompany, TeamworkCurrency, TeamworkCustomField, TeamworkLockdown, TeamworkProject, TeamworkProjectCategory, TeamworkProjectCustomField, TeamworkProjectResponse, TeamworkProjectResponseMeta, TeamworkProjectTaskStat, TeamworkProjectUpdate, TeamworkProjectsResponse, TeamworkRelatedMeta, TeamworkResponseMeta, TeamworkResponseMetaPagination, TeamworkResponseMetaProjectStats, TeamworkTag, TeamworkTagResponse, TeamworkTagResponseMeta, TeamworkTagsResponse, TeamworkTask, TeamworkTaskCard, TeamworkTaskResponse, TeamworkTaskResponseMeta, TeamworkTaskUserPermissions, TeamworkTasklist, TeamworkTasklistResponse, TeamworkTasklistResponseMeta, TeamworkTasklistsResponse, TeamworkTasksResponse, TeamworkUserAccount, TrendDocument, UrlRedirectDocument, UrlRedirectQueryParams, UrlRedirectStatusCode, UserAccountDocument, UserAuthorizationLoginResponse, UserAuthorizationSuccessResponse, UserDocument, UtmClassificationKey, UtmMetaPageDocument, UtmOption, UtmSourceKey, UtmTrackingLinkDocument };
|
package/dist/types.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $a as
|
|
1
|
+
import { $a as ProductDocument, $o as FormDownload, $s as StrapiListResponse, Aa as TeamworkLockdown, Ao as ComponentUtmOption, As as ComponentMetaSocial, Ba as BlogPageDocument, Bo as SlideshowComponentSlideSettings, Bs as RichTextBlock, Ca as TeamworkProjectTaskStat, Co as BlogPostDocument, Cs as ComponentBlockContact, Da as TeamworkCurrency, Do as TrendDocument, Ds as ComponentBlockBrandLogos, Ea as TeamworkCustomField, Eo as TeamMemberTier, Es as BlockBrandLogos, Fa as TeamPageDocument, Fo as Slideshow, Fs as OpenGraph, Ga as NewsletterSignupDocument, Go as SliderBreakpoint, Gs as ComponentSharedLink, Ha as UrlRedirectQueryParams, Ho as SlideshowMode, Hs as SharedRichTextBlock, Ia as PolicyPageDocument, Io as ComponentSlideContent, Is as SeoMeta, Ja as CommentReportDocument, Jo as SliderSpacing, Js as StrapiAttributeErrorKey, Ka as LeadDocument, Ko as SliderOrigin, Ks as SharedLink, La as LandingPageDocument, Lo as SlideContent, Ls as ComponentSharedQuestionAnswer, Ma as TeamworkResponseMeta, Mo as UtmOption, Ms as ComponentSeoMeta, Na as TeamworkResponseMetaPagination, No as UtmSourceKey, Ns as MetaSocial, Oa as TeamworkCompany, Oo as TagDocument, Os as BlockAnnouncementBar, Pa as UtmMetaPageDocument, Po as ComponentSlideshow, Ps as MetaSocialNetwork, Qa as ProductHighlightDocument, Qo as ComponentFormDownload, Qs as StrapiErrorResult, Ra as FAQPageDocument, Ro as SlideType, Rs as SharedQuestionAnswer, Sa as TeamworkProjectUpdate, So as BlogPostBlock, Ss as BlockContact, Ta as TeamworkProjectCategory, To as TeamMemberGroup, Ts as ComponentBlockButtonGroup, Ua as UrlRedirectStatusCode, Uo as SlideshowSettings, Us as ComponentSharedButton, Va as UrlRedirectDocument, Vo as ComponentSlideshowSettings, Vs as RichTextBlockChildren, Wa as ResumeDocument, Wo as ComponentSliderSettings, Ws as SharedButton, Xa as ContentPillarDocument, Xo as FormSelect, Xs as StrapiErrorDetail, Ya as ClientContentPillarDocument, Yo as ComponentFormSelect, Ys as StrapiAttributeErrorResponse, Za as ClientDocument, Zo as FormUID, Zs as StrapiErrorResponse, _a as TeamworkUserAccount, _c as StrapiTextColorOptions, _o as ClientMediaPlatformDocument, _s as ComponentBlockVideo, aa as TeamworkTasklistsResponse, ac as MediaFormats, ao as AuthorizedUserDocument, as as BlockTextDetails, ba as TeamworkTagResponseMeta, bo as MediaContentTypeDocument, bs as BlockCtaLink, ca as TeamworkTaskResponse, cc as StrapiBgColorOptions, co as UserDocument, cs as ComponentBlockSectionTitle, da as TeamworkTasksResponse, dc as StrapiIconName, do as RoleDocument, ds as BlockGraphicImage, ec as StrapiPagination, eo as MondayWorkspaceDocument, es as FormDownloadKeys, fa as TeamworkProject, fc as StrapiIconPosition, fo as RoleType, fs as ComponentBlockGraphicImage, ga as TeamworkResponseMetaProjectStats, gc as StrapiLinkType, go as ClientProjectDocument, gs as BlockVideoEmbed, ha as TeamworkProjectsResponse, hc as StrapiLinkTarget, ho as ClientReportDocument, hs as ComponentBlockFullscreenContent, ia as TeamworkTasklistResponseMeta, ic as MediaFormat, io as ClientUserDocumentStatus, is as ComponentBrandStyleguideColor, ja as TeamworkRelatedMeta, jo as UtmClassificationKey, js as ComponentOpenGraph, ka as TeamworkActivePages, ko as CategoryDocument, ks as ComponentBlockAnnouncementBar, la as TeamworkTaskResponseMeta, lc as StrapiDirection, lo as UtmTrackingLinkDocument, ls as BlockPullQuote, ma as TeamworkProjectResponseMeta, mc as StrapiLinkRel, mo as ClientStyleguideDocument, ms as BlockFullscreenContentType, na as TeamworkTasklist, nc as StrapiResponseMetaWithPagination, no as GCFlyTourSnapDocument, ns as ComponentBrandStyleguideFont, oa as TeamworkTask, oc as MediaUploadDocument, oo as UserAuthorizationLoginResponse, os as ComponentBlockTextDetails, pa as TeamworkProjectResponse, pc as StrapiLinkReferrerPolicy, po as PermissionDocument, ps as BlockFullscreenContent, qa as CommentDocument, qo as SliderSettings, qs as StrapiAttributeErrorDetail, ra as TeamworkTasklistResponse, rc as StrapiSingleResponse, ro as ClientUserDocument, rs as BrandStyleguideColor, sa as TeamworkTaskCard, sc as FormSelectInputOption, so as UserAuthorizationSuccessResponse, ss as BlockSectionTitle, tc as StrapiResponseMeta, to as GCFlyTourDocument, ts as BrandStyleguideFont, ua as TeamworkTaskUserPermissions, uc as StrapiGapSizes, uo as UserAccountDocument, us as ComponentBlockPullQuote, va as TeamworkTag, vc as StrapiThemeOptions, vo as MediaPlatformDocument, vs as BlockFaq, wa as TeamworkProjectCustomField, wo as TeamMemberDocument, ws as BlockButtonGroup, xa as TeamworkTagsResponse, xo as MediaCreativeFormatDocument, xs as ComponentBlockCtaLink, ya as TeamworkTagResponse, yc as BaseDocument, yo as MediaMediumDocument, ys as ComponentBlockFaq, za as CareersPageDocument, zo as SlideshowComponentProps, zs as ComponentSharedRichTextBlock } from "./index-DFRu32-L.mjs";
|
|
2
2
|
export { AuthorizedUserDocument, BaseDocument, BlockAnnouncementBar, BlockBrandLogos, BlockButtonGroup, BlockContact, BlockCtaLink, BlockFaq, BlockFullscreenContent, BlockFullscreenContentType, BlockGraphicImage, BlockPullQuote, BlockSectionTitle, BlockTextDetails, BlockVideoEmbed, BlogPageDocument, BlogPostBlock, BlogPostDocument, BrandStyleguideColor, BrandStyleguideFont, CareersPageDocument, CategoryDocument, ClientContentPillarDocument, ClientDocument, ClientMediaPlatformDocument, ClientProjectDocument, ClientReportDocument, ClientStyleguideDocument, ClientUserDocument, ClientUserDocumentStatus, CommentDocument, CommentReportDocument, ComponentBlockAnnouncementBar, ComponentBlockBrandLogos, ComponentBlockButtonGroup, ComponentBlockContact, ComponentBlockCtaLink, ComponentBlockFaq, ComponentBlockFullscreenContent, ComponentBlockGraphicImage, ComponentBlockPullQuote, ComponentBlockSectionTitle, ComponentBlockTextDetails, ComponentBlockVideo, ComponentBrandStyleguideColor, ComponentBrandStyleguideFont, ComponentFormDownload, ComponentFormSelect, ComponentMetaSocial, ComponentOpenGraph, ComponentSeoMeta, ComponentSharedButton, ComponentSharedLink, ComponentSharedQuestionAnswer, ComponentSharedRichTextBlock, ComponentSlideContent, ComponentSliderSettings, ComponentSlideshow, ComponentSlideshowSettings, ComponentUtmOption, ContentPillarDocument, FAQPageDocument, FormDownload, FormDownloadKeys, FormSelect, FormSelectInputOption, FormUID, GCFlyTourDocument, GCFlyTourSnapDocument, LandingPageDocument, LeadDocument, MediaContentTypeDocument, MediaCreativeFormatDocument, MediaFormat, MediaFormats, MediaMediumDocument, MediaPlatformDocument, MediaUploadDocument, MetaSocial, MetaSocialNetwork, MondayWorkspaceDocument, NewsletterSignupDocument, OpenGraph, PermissionDocument, PolicyPageDocument, ProductDocument, ProductHighlightDocument, ResumeDocument, RichTextBlock, RichTextBlockChildren, RoleDocument, RoleType, SeoMeta, SharedButton, SharedLink, SharedQuestionAnswer, SharedRichTextBlock, SlideContent, SlideType, SliderBreakpoint, SliderOrigin, SliderSettings, SliderSpacing, Slideshow, SlideshowComponentProps, SlideshowComponentSlideSettings, SlideshowMode, SlideshowSettings, StrapiAttributeErrorDetail, StrapiAttributeErrorKey, StrapiAttributeErrorResponse, StrapiBgColorOptions, StrapiDirection, StrapiErrorDetail, StrapiErrorResponse, StrapiErrorResult, StrapiGapSizes, StrapiIconName, StrapiIconPosition, StrapiLinkReferrerPolicy, StrapiLinkRel, StrapiLinkTarget, StrapiLinkType, StrapiListResponse, StrapiPagination, StrapiResponseMeta, StrapiResponseMetaWithPagination, StrapiSingleResponse, StrapiTextColorOptions, StrapiThemeOptions, TagDocument, TeamMemberDocument, TeamMemberGroup, TeamMemberTier, TeamPageDocument, TeamworkActivePages, TeamworkCompany, TeamworkCurrency, TeamworkCustomField, TeamworkLockdown, TeamworkProject, TeamworkProjectCategory, TeamworkProjectCustomField, TeamworkProjectResponse, TeamworkProjectResponseMeta, TeamworkProjectTaskStat, TeamworkProjectUpdate, TeamworkProjectsResponse, TeamworkRelatedMeta, TeamworkResponseMeta, TeamworkResponseMetaPagination, TeamworkResponseMetaProjectStats, TeamworkTag, TeamworkTagResponse, TeamworkTagResponseMeta, TeamworkTagsResponse, TeamworkTask, TeamworkTaskCard, TeamworkTaskResponse, TeamworkTaskResponseMeta, TeamworkTaskUserPermissions, TeamworkTasklist, TeamworkTasklistResponse, TeamworkTasklistResponseMeta, TeamworkTasklistsResponse, TeamworkTasksResponse, TeamworkUserAccount, TrendDocument, UrlRedirectDocument, UrlRedirectQueryParams, UrlRedirectStatusCode, UserAccountDocument, UserAuthorizationLoginResponse, UserAuthorizationSuccessResponse, UserDocument, UtmClassificationKey, UtmMetaPageDocument, UtmOption, UtmSourceKey, UtmTrackingLinkDocument };
|
package/dist/utilities.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as isStrapiAttributeError, c as dateToday, i as validateAndClean, n as isValidationSuccess, o as isStrapiStandardError, r as omitUndefined, s as datePlusDays, t as isValidationFailure } from "./index-
|
|
1
|
+
import { a as isStrapiAttributeError, c as dateToday, i as validateAndClean, n as isValidationSuccess, o as isStrapiStandardError, r as omitUndefined, s as datePlusDays, t as isValidationFailure } from "./index-BOPBkJ62.cjs";
|
|
2
2
|
export { datePlusDays, dateToday, isStrapiAttributeError, isStrapiStandardError, isValidationFailure, isValidationSuccess, omitUndefined, validateAndClean };
|
package/dist/utilities.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as isStrapiAttributeError, c as dateToday, i as validateAndClean, n as isValidationSuccess, o as isStrapiStandardError, r as omitUndefined, s as datePlusDays, t as isValidationFailure } from "./index-
|
|
1
|
+
import { a as isStrapiAttributeError, c as dateToday, i as validateAndClean, n as isValidationSuccess, o as isStrapiStandardError, r as omitUndefined, s as datePlusDays, t as isValidationFailure } from "./index-DFRu32-L.mjs";
|
|
2
2
|
export { datePlusDays, dateToday, isStrapiAttributeError, isStrapiStandardError, isValidationFailure, isValidationSuccess, omitUndefined, validateAndClean };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getcommunity/gc-validators",
|
|
3
3
|
"description": "Schema Validator for GetCommunity web-stack types",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.248",
|
|
5
5
|
"author": "Joey Grable <joey@getcommunity.com> (https://joeygrable.com)",
|
|
6
6
|
"contributors": [],
|
|
7
7
|
"type": "module",
|