@getcommunity/gc-validators 0.0.288-alpha.2 → 0.0.288-alpha.4
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/base/index.cjs +1 -1
- package/dist/base/index.d.cts +2 -2
- package/dist/base/index.d.mts +2 -2
- package/dist/base/index.mjs +1 -1
- package/dist/constants/index.d.cts +1 -1
- package/dist/constants/index.d.mts +1 -1
- package/dist/{document-DKCXrhcv.mjs → document-CMD9cQiK.mjs} +9 -9
- package/dist/entities/audit-log/query.cjs +7 -6
- package/dist/entities/audit-log/query.d.cts +6 -25
- package/dist/entities/audit-log/query.d.mts +6 -25
- package/dist/entities/audit-log/query.mjs +2 -1
- package/dist/entities/blog-post/document.cjs +1 -1
- package/dist/entities/blog-post/document.mjs +1 -1
- package/dist/entities/blog-post/fields.cjs +1 -1
- package/dist/entities/blog-post/fields.mjs +1 -1
- package/dist/entities/blog-post/query.cjs +12 -8
- package/dist/entities/blog-post/query.d.cts +9 -21
- package/dist/entities/blog-post/query.d.mts +9 -21
- package/dist/entities/blog-post/query.mjs +6 -2
- package/dist/entities/category/document.cjs +1 -1
- package/dist/entities/category/document.mjs +1 -1
- package/dist/entities/category/query.cjs +7 -6
- package/dist/entities/category/query.d.cts +6 -12
- package/dist/entities/category/query.d.mts +6 -12
- package/dist/entities/category/query.mjs +2 -1
- package/dist/entities/client/query.cjs +6 -5
- package/dist/entities/client/query.d.cts +1 -1
- package/dist/entities/client/query.d.mts +1 -1
- package/dist/entities/client/query.mjs +2 -1
- package/dist/entities/client-content-pillar/query.cjs +1 -1
- package/dist/entities/client-content-pillar/query.d.cts +1 -1
- package/dist/entities/client-content-pillar/query.d.mts +1 -1
- package/dist/entities/client-content-pillar/query.mjs +1 -1
- package/dist/entities/client-media-platform/query.cjs +1 -1
- package/dist/entities/client-media-platform/query.d.cts +1 -1
- package/dist/entities/client-media-platform/query.d.mts +1 -1
- package/dist/entities/client-media-platform/query.mjs +1 -1
- package/dist/entities/client-project/query.cjs +12 -11
- package/dist/entities/client-project/query.d.cts +7 -29
- package/dist/entities/client-project/query.d.mts +7 -29
- package/dist/entities/client-project/query.mjs +2 -1
- package/dist/entities/client-report/query.cjs +6 -5
- package/dist/entities/client-report/query.d.cts +7 -18
- package/dist/entities/client-report/query.d.mts +7 -18
- package/dist/entities/client-report/query.mjs +2 -1
- package/dist/entities/client-styleguide/query.cjs +6 -5
- package/dist/entities/client-styleguide/query.d.cts +7 -14
- package/dist/entities/client-styleguide/query.d.mts +7 -14
- package/dist/entities/client-styleguide/query.mjs +2 -1
- package/dist/entities/client-user/query.cjs +1 -1
- package/dist/entities/client-user/query.d.cts +1 -1
- package/dist/entities/client-user/query.d.mts +1 -1
- package/dist/entities/client-user/query.mjs +1 -1
- package/dist/entities/content-pillar/query.cjs +1 -1
- package/dist/entities/content-pillar/query.d.cts +1 -1
- package/dist/entities/content-pillar/query.d.mts +1 -1
- package/dist/entities/content-pillar/query.mjs +1 -1
- package/dist/entities/formatter/constants.d.cts +1 -1
- package/dist/entities/formatter/constants.d.mts +1 -1
- package/dist/entities/formatter/fields.d.cts +4 -4
- package/dist/entities/formatter/fields.d.mts +4 -4
- package/dist/entities/gcflytour/query.cjs +1 -1
- package/dist/entities/gcflytour/query.d.cts +1 -1
- package/dist/entities/gcflytour/query.d.mts +1 -1
- package/dist/entities/gcflytour/query.mjs +1 -1
- package/dist/entities/gcflytour-snap/query.cjs +1 -1
- package/dist/entities/gcflytour-snap/query.d.cts +1 -1
- package/dist/entities/gcflytour-snap/query.d.mts +1 -1
- package/dist/entities/gcflytour-snap/query.mjs +1 -1
- package/dist/entities/media-content-type/query.cjs +1 -1
- package/dist/entities/media-content-type/query.d.cts +1 -1
- package/dist/entities/media-content-type/query.d.mts +1 -1
- package/dist/entities/media-content-type/query.mjs +1 -1
- package/dist/entities/media-creative-format/query.cjs +1 -1
- package/dist/entities/media-creative-format/query.d.cts +1 -1
- package/dist/entities/media-creative-format/query.d.mts +1 -1
- package/dist/entities/media-creative-format/query.mjs +1 -1
- package/dist/entities/media-medium/query.cjs +1 -1
- package/dist/entities/media-medium/query.d.cts +1 -1
- package/dist/entities/media-medium/query.d.mts +1 -1
- package/dist/entities/media-medium/query.mjs +1 -1
- package/dist/entities/media-platform/query.cjs +1 -1
- package/dist/entities/media-platform/query.d.cts +1 -1
- package/dist/entities/media-platform/query.d.mts +1 -1
- package/dist/entities/media-platform/query.mjs +1 -1
- package/dist/entities/monday-workspace/query.cjs +6 -5
- package/dist/entities/monday-workspace/query.d.cts +7 -14
- package/dist/entities/monday-workspace/query.d.mts +7 -14
- package/dist/entities/monday-workspace/query.mjs +2 -1
- package/dist/entities/tag/query.cjs +7 -6
- package/dist/entities/tag/query.d.cts +6 -12
- package/dist/entities/tag/query.d.mts +6 -12
- package/dist/entities/tag/query.mjs +2 -1
- package/dist/entities/team-member/document.cjs +1 -1
- package/dist/entities/team-member/document.mjs +1 -1
- package/dist/entities/team-member/query.cjs +8 -7
- package/dist/entities/team-member/query.d.cts +6 -17
- package/dist/entities/team-member/query.d.mts +6 -17
- package/dist/entities/team-member/query.mjs +2 -1
- package/dist/entities/trend/document.cjs +1 -1
- package/dist/entities/trend/document.mjs +1 -1
- package/dist/entities/up-permission/fields.d.cts +1 -1
- package/dist/entities/up-permission/fields.d.mts +1 -1
- package/dist/entities/up-role/query.cjs +6 -5
- package/dist/entities/up-role/query.d.cts +1 -1
- package/dist/entities/up-role/query.d.mts +1 -1
- package/dist/entities/up-role/query.mjs +2 -1
- package/dist/entities/up-user/query.cjs +1 -1
- package/dist/entities/up-user/query.d.cts +1 -1
- package/dist/entities/up-user/query.d.mts +1 -1
- package/dist/entities/up-user/query.mjs +1 -1
- package/dist/entities/url-redirect/query.cjs +6 -5
- package/dist/entities/url-redirect/query.d.cts +6 -15
- package/dist/entities/url-redirect/query.d.mts +6 -15
- package/dist/entities/url-redirect/query.mjs +2 -1
- package/dist/entities/user-account/query.cjs +1 -1
- package/dist/entities/user-account/query.d.cts +1 -1
- package/dist/entities/user-account/query.d.mts +1 -1
- package/dist/entities/user-account/query.mjs +1 -1
- package/dist/entities/utm-tracking-link/query.cjs +7 -6
- package/dist/entities/utm-tracking-link/query.d.cts +8 -30
- package/dist/entities/utm-tracking-link/query.d.mts +8 -30
- package/dist/entities/utm-tracking-link/query.mjs +3 -2
- package/dist/{fields-S54MmK9N.d.mts → fields-BoIWv7BD.d.mts} +1 -1
- package/dist/{fields-PCsCdBLK.d.cts → fields-DaAvm6kj.d.cts} +1 -1
- package/dist/filters/index.cjs +19 -18
- package/dist/filters/index.d.cts +109 -2
- package/dist/filters/index.d.mts +109 -2
- package/dist/filters/index.mjs +2 -1
- package/dist/{string-BzuFgUlq.mjs → identifier-CXlBnKdk.mjs} +1 -35
- package/dist/{string-CmrQCAO3.cjs → identifier-Dmax1xo2.cjs} +0 -52
- package/dist/{index-S6qdsw3U.d.mts → index-BKBU3KSE.d.mts} +9 -23
- package/dist/{index-B3eh9Z-Q.d.cts → index-BgZbDm41.d.cts} +6 -1
- package/dist/{index-B3eh9Z-Q.d.mts → index-BgZbDm41.d.mts} +6 -1
- package/dist/{index-G2dwQO5K.d.cts → index-C4ndicLs.d.cts} +9 -23
- package/dist/{query-C6GwPFXA.d.mts → query-9J5wmu64.d.mts} +12 -33
- package/dist/{query-B_0RzvVW.cjs → query-B-6-qAuN.cjs} +12 -11
- package/dist/{query-CZWKfQ2W.d.mts → query-BOv5YhYc.d.cts} +16 -26
- package/dist/{query-0Z9KdoGa.d.mts → query-BPwlZCZP.d.cts} +14 -32
- package/dist/{query-Db1jwzou.d.cts → query-BQkvCQDy.d.mts} +16 -26
- package/dist/{query-Du84-6vd.mjs → query-B_Kr4diZ.mjs} +1 -1
- package/dist/{query-DxEOf4Ya.d.cts → query-BdS6AzQM.d.mts} +27 -79
- package/dist/{query-DAmB2_nm.d.cts → query-BiM_LW7b.d.cts} +12 -33
- package/dist/{query-Bi8_XzuT.mjs → query-BkrbXapq.mjs} +2 -1
- package/dist/{query-BjiGq9-J.cjs → query-C1EUVVMT.cjs} +27 -26
- package/dist/{query-CZV-Qu8U.mjs → query-CQEN_HJN.mjs} +2 -1
- package/dist/{query-CJTbiRV2.mjs → query-CSOBMIJi.mjs} +2 -1
- package/dist/{query-Dzx1W_xi.cjs → query-CTqyKcbH.cjs} +11 -10
- package/dist/{query-X_l9YFS6.d.mts → query-CbCFSDNP.d.cts} +12 -27
- package/dist/{query-F1Pi5Frs.d.mts → query-Ck2SJ88F.d.cts} +9 -8
- package/dist/{query-gZEGybi3.d.cts → query-DHuJnqmE.d.mts} +14 -32
- package/dist/{query-hvHQxwdK.d.mts → query-DIQPfsSq.d.cts} +6 -22
- package/dist/{query-ohFZ5p3e.d.cts → query-DQvrkaL2.d.mts} +6 -22
- package/dist/{query-Ck0NC_9l.cjs → query-D_xMsBEz.cjs} +11 -10
- package/dist/{query-CEvYGQyI.d.cts → query-DlpZHcIM.d.mts} +12 -27
- package/dist/{query-BGz5Dj7o.d.cts → query-DzgCwtIj.d.mts} +9 -8
- package/dist/{query-C-G04KqP.d.mts → query-PKg23GyY.d.cts} +27 -79
- package/dist/{query-DV68iZaG.mjs → query-k67TaoJs.mjs} +2 -1
- package/dist/{query-CMOLb-qs.cjs → query-okrI1jn4.cjs} +8 -8
- package/dist/string-By4lqNB3.cjs +53 -0
- package/dist/string-CHEFvHQa.mjs +36 -0
- package/dist/utilities/index.d.cts +1 -1
- package/dist/utilities/index.d.mts +1 -1
- package/package.json +1 -1
- package/dist/index-Bk5hIBoB.d.cts +0 -108
- package/dist/index-Bk5hIBoB.d.mts +0 -108
- package/dist/{document-D-6H7hBf.cjs → document-C5i7ol4r.cjs} +8 -8
package/dist/base/index.cjs
CHANGED
|
@@ -3,7 +3,7 @@ const require_chunk = require("../chunk-D6vf50IK.cjs");
|
|
|
3
3
|
const require_component = require("../component-C1Babote.cjs");
|
|
4
4
|
const require_document = require("../document-ELoPkmwU.cjs");
|
|
5
5
|
const require_relationships = require("../relationships-BjJkIfbK.cjs");
|
|
6
|
-
const require_query = require("../query-
|
|
6
|
+
const require_query = require("../query-okrI1jn4.cjs");
|
|
7
7
|
const require_fonts = require("../fonts-STT8wGz3.cjs");
|
|
8
8
|
const require_json = require("../json-Tsc8HEYI.cjs");
|
|
9
9
|
const require_theme = require("../theme-BNknkRG9.cjs");
|
package/dist/base/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as FormSelectInputOption, A as StrapiErrorResult, B as AssociateManyEntitiesOptional, C as SortOrder, D as StrapiAttributeErrorResponse, E as StrapiAttributeErrorKey, F as StrapiSingleResponse, G as SSetEntityRelationshipRequest, H as AssociateOneEntityOptional, I as AssociateEntityPosition, J as STRAPI_LINK_REL, K as QueryStrapiPaginated, L as AssociateEntityPositionDocumentRequest, M as StrapiPagination, N as StrapiResponseMeta, O as StrapiErrorDetail, P as StrapiResponseMetaWithPagination, Q as StrapiLinkTarget, R as AssociateEntityRelationshipRequest, S as SORT_ORDER, T as StrapiAttributeErrorDetail, U as QueryManyEntities, V as AssociateOneEntity, W as SEntityPosition, X as StrapiLinkReferrerPolicy, Y as STRAPI_LINK_TARGET, Z as StrapiLinkRel, _ as ContentStatus, a as STRAPI_ICON_POSITION, at as WEBSAFE_FONT_SERIF, b as ValidStrapiSpecialEntity, c as STRAPI_THEME_OPTIONS, ct as WebSafeFontMono, d as StrapiGapSizes, dt as
|
|
1
|
+
import { $ as FormSelectInputOption, A as StrapiErrorResult, B as AssociateManyEntitiesOptional, C as SortOrder, D as StrapiAttributeErrorResponse, E as StrapiAttributeErrorKey, F as StrapiSingleResponse, G as SSetEntityRelationshipRequest, H as AssociateOneEntityOptional, I as AssociateEntityPosition, J as STRAPI_LINK_REL, K as QueryStrapiPaginated, L as AssociateEntityPositionDocumentRequest, M as StrapiPagination, N as StrapiResponseMeta, O as StrapiErrorDetail, P as StrapiResponseMetaWithPagination, Q as StrapiLinkTarget, R as AssociateEntityRelationshipRequest, S as SORT_ORDER, T as StrapiAttributeErrorDetail, U as QueryManyEntities, V as AssociateOneEntity, W as SEntityPosition, X as StrapiLinkReferrerPolicy, Y as STRAPI_LINK_TARGET, Z as StrapiLinkRel, _ as ContentStatus, a as STRAPI_ICON_POSITION, at as WEBSAFE_FONT_SERIF, b as ValidStrapiSpecialEntity, c as STRAPI_THEME_OPTIONS, ct as WebSafeFontMono, d as StrapiGapSizes, dt as BaseDocument, et as FONT_HEADER_SIZE, f as StrapiIconName, ft as BaseComponent, g as StrapiThemeOptions, h as StrapiTextColorOptions, i as STRAPI_ICON_NAME, it as WEBSAFE_FONT_SANS, j as StrapiListResponse, k as StrapiErrorResponse, l as StrapiBgColorOptions, lt as WebSafeFontSans, m as StrapiLinkType, n as STRAPI_DIRECTION, nt as WEBSAFE_FONT_DISPLAY, o as STRAPI_LINK_TYPE, ot as WebSafeFont, p as StrapiIconPosition, pt as BaseComponentId, q as STRAPI_LINK_REFERRER_POLICY, r as STRAPI_GAP_SIZES, rt as WEBSAFE_FONT_MONO, s as STRAPI_TEXT_COLOR_OPTIONS, st as WebSafeFontDisplay, t as STRAPI_BG_COLOR_OPTIONS, tt as FontHeaderSize, u as StrapiDirection, ut as WebSafeFontSerif, v as ValidStrapiCollectionEntity, w as SortString, x as QuerySortValues, y as ValidStrapiSingleEntity, z as AssociateManyEntities } from "../index-C4ndicLs.cjs";
|
|
2
|
+
import { a as QueryStrapiByPhone, i as QueryStrapiByName, n as QueryStrapiByEmail, o as QueryStrapiBySlug, r as QueryStrapiById, s as FilterStrapiBase, t as QueryStrapiByDocumentId } from "../query-BOv5YhYc.cjs";
|
|
2
3
|
import { n as JsonSchema, t as JsonData } from "../json-Ygk2txLN.cjs";
|
|
3
4
|
import { n as MediaFormats, r as MediaUploadDocument, t as MediaFormat } from "../media-upload-B8nH0XyP.cjs";
|
|
4
|
-
import { a as QueryStrapiByPhone, i as QueryStrapiByName, n as QueryStrapiByEmail, o as QueryStrapiBySlug, r as QueryStrapiById, t as QueryStrapiByDocumentId } from "../query-Db1jwzou.cjs";
|
|
5
5
|
export { AssociateEntityPosition, AssociateEntityPositionDocumentRequest, AssociateEntityRelationshipRequest, AssociateManyEntities, AssociateManyEntitiesOptional, AssociateOneEntity, AssociateOneEntityOptional, BaseComponent, BaseComponentId, BaseDocument, ContentStatus, FONT_HEADER_SIZE, FilterStrapiBase, FontHeaderSize, FormSelectInputOption, JsonData, JsonSchema, MediaFormat, MediaFormats, MediaUploadDocument, QueryManyEntities, QuerySortValues, QueryStrapiByDocumentId, QueryStrapiByEmail, QueryStrapiById, QueryStrapiByName, QueryStrapiByPhone, QueryStrapiBySlug, QueryStrapiPaginated, SEntityPosition, SORT_ORDER, SSetEntityRelationshipRequest, STRAPI_BG_COLOR_OPTIONS, STRAPI_DIRECTION, STRAPI_GAP_SIZES, STRAPI_ICON_NAME, STRAPI_ICON_POSITION, STRAPI_LINK_REFERRER_POLICY, STRAPI_LINK_REL, STRAPI_LINK_TARGET, STRAPI_LINK_TYPE, STRAPI_TEXT_COLOR_OPTIONS, STRAPI_THEME_OPTIONS, SortOrder, SortString, StrapiAttributeErrorDetail, StrapiAttributeErrorKey, StrapiAttributeErrorResponse, StrapiBgColorOptions, StrapiDirection, StrapiErrorDetail, StrapiErrorResponse, StrapiErrorResult, StrapiGapSizes, StrapiIconName, StrapiIconPosition, StrapiLinkReferrerPolicy, StrapiLinkRel, StrapiLinkTarget, StrapiLinkType, StrapiListResponse, StrapiPagination, StrapiResponseMeta, StrapiResponseMetaWithPagination, StrapiSingleResponse, StrapiTextColorOptions, StrapiThemeOptions, ValidStrapiCollectionEntity, ValidStrapiSingleEntity, ValidStrapiSpecialEntity, WEBSAFE_FONT_DISPLAY, WEBSAFE_FONT_MONO, WEBSAFE_FONT_SANS, WEBSAFE_FONT_SERIF, WebSafeFont, WebSafeFontDisplay, WebSafeFontMono, WebSafeFontSans, WebSafeFontSerif };
|
package/dist/base/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as FormSelectInputOption, A as StrapiErrorResult, B as AssociateManyEntitiesOptional, C as SortOrder, D as StrapiAttributeErrorResponse, E as StrapiAttributeErrorKey, F as StrapiSingleResponse, G as SSetEntityRelationshipRequest, H as AssociateOneEntityOptional, I as AssociateEntityPosition, J as STRAPI_LINK_REL, K as QueryStrapiPaginated, L as AssociateEntityPositionDocumentRequest, M as StrapiPagination, N as StrapiResponseMeta, O as StrapiErrorDetail, P as StrapiResponseMetaWithPagination, Q as StrapiLinkTarget, R as AssociateEntityRelationshipRequest, S as SORT_ORDER, T as StrapiAttributeErrorDetail, U as QueryManyEntities, V as AssociateOneEntity, W as SEntityPosition, X as StrapiLinkReferrerPolicy, Y as STRAPI_LINK_TARGET, Z as StrapiLinkRel, _ as ContentStatus, a as STRAPI_ICON_POSITION, at as WEBSAFE_FONT_SERIF, b as ValidStrapiSpecialEntity, c as STRAPI_THEME_OPTIONS, ct as WebSafeFontMono, d as StrapiGapSizes, dt as
|
|
1
|
+
import { $ as FormSelectInputOption, A as StrapiErrorResult, B as AssociateManyEntitiesOptional, C as SortOrder, D as StrapiAttributeErrorResponse, E as StrapiAttributeErrorKey, F as StrapiSingleResponse, G as SSetEntityRelationshipRequest, H as AssociateOneEntityOptional, I as AssociateEntityPosition, J as STRAPI_LINK_REL, K as QueryStrapiPaginated, L as AssociateEntityPositionDocumentRequest, M as StrapiPagination, N as StrapiResponseMeta, O as StrapiErrorDetail, P as StrapiResponseMetaWithPagination, Q as StrapiLinkTarget, R as AssociateEntityRelationshipRequest, S as SORT_ORDER, T as StrapiAttributeErrorDetail, U as QueryManyEntities, V as AssociateOneEntity, W as SEntityPosition, X as StrapiLinkReferrerPolicy, Y as STRAPI_LINK_TARGET, Z as StrapiLinkRel, _ as ContentStatus, a as STRAPI_ICON_POSITION, at as WEBSAFE_FONT_SERIF, b as ValidStrapiSpecialEntity, c as STRAPI_THEME_OPTIONS, ct as WebSafeFontMono, d as StrapiGapSizes, dt as BaseDocument, et as FONT_HEADER_SIZE, f as StrapiIconName, ft as BaseComponent, g as StrapiThemeOptions, h as StrapiTextColorOptions, i as STRAPI_ICON_NAME, it as WEBSAFE_FONT_SANS, j as StrapiListResponse, k as StrapiErrorResponse, l as StrapiBgColorOptions, lt as WebSafeFontSans, m as StrapiLinkType, n as STRAPI_DIRECTION, nt as WEBSAFE_FONT_DISPLAY, o as STRAPI_LINK_TYPE, ot as WebSafeFont, p as StrapiIconPosition, pt as BaseComponentId, q as STRAPI_LINK_REFERRER_POLICY, r as STRAPI_GAP_SIZES, rt as WEBSAFE_FONT_MONO, s as STRAPI_TEXT_COLOR_OPTIONS, st as WebSafeFontDisplay, t as STRAPI_BG_COLOR_OPTIONS, tt as FontHeaderSize, u as StrapiDirection, ut as WebSafeFontSerif, v as ValidStrapiCollectionEntity, w as SortString, x as QuerySortValues, y as ValidStrapiSingleEntity, z as AssociateManyEntities } from "../index-BKBU3KSE.mjs";
|
|
2
|
+
import { a as QueryStrapiByPhone, i as QueryStrapiByName, n as QueryStrapiByEmail, o as QueryStrapiBySlug, r as QueryStrapiById, s as FilterStrapiBase, t as QueryStrapiByDocumentId } from "../query-BQkvCQDy.mjs";
|
|
2
3
|
import { n as JsonSchema, t as JsonData } from "../json-Ygk2txLN.mjs";
|
|
3
4
|
import { n as MediaFormats, r as MediaUploadDocument, t as MediaFormat } from "../media-upload-B8nH0XyP.mjs";
|
|
4
|
-
import { a as QueryStrapiByPhone, i as QueryStrapiByName, n as QueryStrapiByEmail, o as QueryStrapiBySlug, r as QueryStrapiById, t as QueryStrapiByDocumentId } from "../query-CZWKfQ2W.mjs";
|
|
5
5
|
export { AssociateEntityPosition, AssociateEntityPositionDocumentRequest, AssociateEntityRelationshipRequest, AssociateManyEntities, AssociateManyEntitiesOptional, AssociateOneEntity, AssociateOneEntityOptional, BaseComponent, BaseComponentId, BaseDocument, ContentStatus, FONT_HEADER_SIZE, FilterStrapiBase, FontHeaderSize, FormSelectInputOption, JsonData, JsonSchema, MediaFormat, MediaFormats, MediaUploadDocument, QueryManyEntities, QuerySortValues, QueryStrapiByDocumentId, QueryStrapiByEmail, QueryStrapiById, QueryStrapiByName, QueryStrapiByPhone, QueryStrapiBySlug, QueryStrapiPaginated, SEntityPosition, SORT_ORDER, SSetEntityRelationshipRequest, STRAPI_BG_COLOR_OPTIONS, STRAPI_DIRECTION, STRAPI_GAP_SIZES, STRAPI_ICON_NAME, STRAPI_ICON_POSITION, STRAPI_LINK_REFERRER_POLICY, STRAPI_LINK_REL, STRAPI_LINK_TARGET, STRAPI_LINK_TYPE, STRAPI_TEXT_COLOR_OPTIONS, STRAPI_THEME_OPTIONS, SortOrder, SortString, StrapiAttributeErrorDetail, StrapiAttributeErrorKey, StrapiAttributeErrorResponse, StrapiBgColorOptions, StrapiDirection, StrapiErrorDetail, StrapiErrorResponse, StrapiErrorResult, StrapiGapSizes, StrapiIconName, StrapiIconPosition, StrapiLinkReferrerPolicy, StrapiLinkRel, StrapiLinkTarget, StrapiLinkType, StrapiListResponse, StrapiPagination, StrapiResponseMeta, StrapiResponseMetaWithPagination, StrapiSingleResponse, StrapiTextColorOptions, StrapiThemeOptions, ValidStrapiCollectionEntity, ValidStrapiSingleEntity, ValidStrapiSpecialEntity, WEBSAFE_FONT_DISPLAY, WEBSAFE_FONT_MONO, WEBSAFE_FONT_SANS, WEBSAFE_FONT_SERIF, WebSafeFont, WebSafeFontDisplay, WebSafeFontMono, WebSafeFontSans, WebSafeFontSerif };
|
package/dist/base/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as BaseComponentId, t as BaseComponent } from "../component-DmmlXZsZ.mjs";
|
|
2
2
|
import { t as BaseDocument } from "../document-CBGZr7I-.mjs";
|
|
3
3
|
import { a as AssociateManyEntitiesOptional, c as QueryManyEntities, d as ContentStatus, f as ValidStrapiCollectionEntity, i as AssociateManyEntities, l as SEntityPosition, m as ValidStrapiSpecialEntity, n as AssociateEntityPositionDocumentRequest, o as AssociateOneEntity, p as ValidStrapiSingleEntity, r as AssociateEntityRelationshipRequest, s as AssociateOneEntityOptional, t as AssociateEntityPosition, u as SSetEntityRelationshipRequest } from "../relationships-BFmesnzw.mjs";
|
|
4
|
-
import { a as QueryStrapiByPhone, c as FilterStrapiBase, i as QueryStrapiByName, n as QueryStrapiByEmail, o as QueryStrapiBySlug, r as QueryStrapiById, s as QueryStrapiPaginated, t as QueryStrapiByDocumentId } from "../query-
|
|
4
|
+
import { a as QueryStrapiByPhone, c as FilterStrapiBase, i as QueryStrapiByName, n as QueryStrapiByEmail, o as QueryStrapiBySlug, r as QueryStrapiById, s as QueryStrapiPaginated, t as QueryStrapiByDocumentId } from "../query-B_Kr4diZ.mjs";
|
|
5
5
|
import { a as WEBSAFE_FONT_SANS, c as WebSafeFontDisplay, d as WebSafeFontSerif, i as WEBSAFE_FONT_MONO, l as WebSafeFontMono, n as FontHeaderSize, o as WEBSAFE_FONT_SERIF, r as WEBSAFE_FONT_DISPLAY, s as WebSafeFont, t as FONT_HEADER_SIZE, u as WebSafeFontSans } from "../fonts-Xd1HQzm1.mjs";
|
|
6
6
|
import { t as JsonSchema } from "../json-BJPzCgmI.mjs";
|
|
7
7
|
import { S as StrapiLinkTarget, _ as STRAPI_LINK_REFERRER_POLICY, a as STRAPI_ICON_POSITION, b as StrapiLinkReferrerPolicy, c as STRAPI_THEME_OPTIONS, d as StrapiGapSizes, f as StrapiIconName, g as StrapiThemeOptions, h as StrapiTextColorOptions, i as STRAPI_ICON_NAME, l as StrapiBgColorOptions, m as StrapiLinkType, n as STRAPI_DIRECTION, o as STRAPI_LINK_TYPE, p as StrapiIconPosition, r as STRAPI_GAP_SIZES, s as STRAPI_TEXT_COLOR_OPTIONS, t as STRAPI_BG_COLOR_OPTIONS, u as StrapiDirection, v as STRAPI_LINK_REL, x as StrapiLinkRel, y as STRAPI_LINK_TARGET } from "../theme-Dtb4Jddr.mjs";
|
|
@@ -687,7 +687,7 @@ declare const STRAPI_ENTITY_UIDS: {
|
|
|
687
687
|
};
|
|
688
688
|
};
|
|
689
689
|
type StrapiEntity = (typeof STRAPI_ENTITY_UIDS)[keyof typeof STRAPI_ENTITY_UIDS];
|
|
690
|
-
declare const STRAPI_COLLECTION_ENTITY_ENDPOINTS: ("clients" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "client-media-platforms" | "client-projects" | "client-reports" | "client-styleguides" | "comments" | "comment-reports" | "content-pillars" | "gc-fly-tours" | "gc-fly-tour-snaps" | "leads" | "media-content-types" | "media-creative-formats" | "media-mediums" | "media-platforms" | "monday-workspaces" | "newsletter-signups" | "products" | "product-highlights" | "resumes" | "
|
|
690
|
+
declare const STRAPI_COLLECTION_ENTITY_ENDPOINTS: ("tags" | "clients" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "client-media-platforms" | "client-projects" | "client-reports" | "client-styleguides" | "comments" | "comment-reports" | "content-pillars" | "gc-fly-tours" | "gc-fly-tour-snaps" | "leads" | "media-content-types" | "media-creative-formats" | "media-mediums" | "media-platforms" | "monday-workspaces" | "newsletter-signups" | "products" | "product-highlights" | "resumes" | "team-members" | "trends" | "roles" | "user-accounts" | "url-redirections" | "utm-tracking-links")[];
|
|
691
691
|
declare const STRAPI_SINGLE_ENTITY_ENDPOINTS: ("faq" | "blog-page" | "careers-page" | "landing-page" | "privacy-policy" | "sms-policy" | "team-page" | "utm-meta")[];
|
|
692
692
|
//#endregion
|
|
693
693
|
export { CONTENT_STATUS, ERROR_MESSAGE_COMMA_SEPPARATED_URLS, ERROR_MESSAGE_INVALID_URL, ERROR_MESSAGE_ONE_PROJECT_STATUS, ERROR_MESSAGE_REGEX_PHONE, ERROR_MESSAGE_REGEX_URL_SLUG, ERROR_MESSAGE_REGEX_UTM_VALUE, ERROR_MESSAGE_ROBOT, ERROR_MESSAGE_URL_NO_QUERY_PARAMS, ERROR_MESSAGE_URL_PREFIX, ERROR_MESSAGE_UTM_URL, GC_DESIRED_CONTENT_OPTIONS, GC_SERVICE_OPTIONS, GC_VIDEO_SERVICE_OPTIONS, JOB_ROLE_GROUP, LIMIT_LONG_STRING_MAX_LENGTH, LIMIT_MAX_DESTINATION, LIMIT_MAX_EMAIL, LIMIT_MAX_PASSWORD, LIMIT_MAX_PHONE, LIMIT_MAX_USERNAME, LIMIT_MAX_UTM_CAMPAIGN, LIMIT_MAX_UTM_CONTENT, LIMIT_MAX_UTM_CREATIVE_FORMAT, LIMIT_MAX_UTM_ID, LIMIT_MAX_UTM_MEDIUM, LIMIT_MAX_UTM_SOURCE, LIMIT_MAX_UTM_TERM, LIMIT_MEDIUM_STRING_MAX_LENGTH, LIMIT_MIN_DESTINATION, LIMIT_MIN_EMAIL, LIMIT_MIN_PASSWORD, LIMIT_MIN_PHONE, LIMIT_MIN_USERNAME, LIMIT_MIN_UTM_CAMPAIGN, LIMIT_MIN_UTM_CONTENT, LIMIT_MIN_UTM_CREATIVE_FORMAT, LIMIT_MIN_UTM_ID, LIMIT_MIN_UTM_MEDIUM, LIMIT_MIN_UTM_SOURCE, LIMIT_MIN_UTM_TERM, LIMIT_MIN_VALUE, LIMIT_PAGINATION_DEFAULT_SIZE, LIMIT_PAGINATION_MAX_SIZE, LIMIT_SHORT_STRING_MAX_LENGTH, LIMIT_TABLE_PAGINATION_DEFAULT_SIZE, LIMIT_VAL_10, LIMIT_VAL_100, LIMIT_VAL_20, LIMIT_VAL_255, LIMIT_VAL_32, LIMIT_VAL_64, NUMBER_OF_EMPLOYEE_OPTIONS, RATING_RANGE_5, REGEX_BRAND_COLOR_SLUG, REGEX_NANP_PHONE, REGEX_URL_SLUG, REGEX_UTM_VALUE, STRAPI_COLLECTION_ENTITY_ENDPOINTS, STRAPI_ENTITY_UIDS, STRAPI_SINGLE_ENTITY_ENDPOINTS, STRAPI_SPECIAL_ENTITIES, StrapiEntity, getStrapiEntityValues };
|
|
@@ -687,7 +687,7 @@ declare const STRAPI_ENTITY_UIDS: {
|
|
|
687
687
|
};
|
|
688
688
|
};
|
|
689
689
|
type StrapiEntity = (typeof STRAPI_ENTITY_UIDS)[keyof typeof STRAPI_ENTITY_UIDS];
|
|
690
|
-
declare const STRAPI_COLLECTION_ENTITY_ENDPOINTS: ("clients" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "client-media-platforms" | "client-projects" | "client-reports" | "client-styleguides" | "comments" | "comment-reports" | "content-pillars" | "gc-fly-tours" | "gc-fly-tour-snaps" | "leads" | "media-content-types" | "media-creative-formats" | "media-mediums" | "media-platforms" | "monday-workspaces" | "newsletter-signups" | "products" | "product-highlights" | "resumes" | "
|
|
690
|
+
declare const STRAPI_COLLECTION_ENTITY_ENDPOINTS: ("tags" | "clients" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "client-media-platforms" | "client-projects" | "client-reports" | "client-styleguides" | "comments" | "comment-reports" | "content-pillars" | "gc-fly-tours" | "gc-fly-tour-snaps" | "leads" | "media-content-types" | "media-creative-formats" | "media-mediums" | "media-platforms" | "monday-workspaces" | "newsletter-signups" | "products" | "product-highlights" | "resumes" | "team-members" | "trends" | "roles" | "user-accounts" | "url-redirections" | "utm-tracking-links")[];
|
|
691
691
|
declare const STRAPI_SINGLE_ENTITY_ENDPOINTS: ("faq" | "blog-page" | "careers-page" | "landing-page" | "privacy-policy" | "sms-policy" | "team-page" | "utm-meta")[];
|
|
692
692
|
//#endregion
|
|
693
693
|
export { CONTENT_STATUS, ERROR_MESSAGE_COMMA_SEPPARATED_URLS, ERROR_MESSAGE_INVALID_URL, ERROR_MESSAGE_ONE_PROJECT_STATUS, ERROR_MESSAGE_REGEX_PHONE, ERROR_MESSAGE_REGEX_URL_SLUG, ERROR_MESSAGE_REGEX_UTM_VALUE, ERROR_MESSAGE_ROBOT, ERROR_MESSAGE_URL_NO_QUERY_PARAMS, ERROR_MESSAGE_URL_PREFIX, ERROR_MESSAGE_UTM_URL, GC_DESIRED_CONTENT_OPTIONS, GC_SERVICE_OPTIONS, GC_VIDEO_SERVICE_OPTIONS, JOB_ROLE_GROUP, LIMIT_LONG_STRING_MAX_LENGTH, LIMIT_MAX_DESTINATION, LIMIT_MAX_EMAIL, LIMIT_MAX_PASSWORD, LIMIT_MAX_PHONE, LIMIT_MAX_USERNAME, LIMIT_MAX_UTM_CAMPAIGN, LIMIT_MAX_UTM_CONTENT, LIMIT_MAX_UTM_CREATIVE_FORMAT, LIMIT_MAX_UTM_ID, LIMIT_MAX_UTM_MEDIUM, LIMIT_MAX_UTM_SOURCE, LIMIT_MAX_UTM_TERM, LIMIT_MEDIUM_STRING_MAX_LENGTH, LIMIT_MIN_DESTINATION, LIMIT_MIN_EMAIL, LIMIT_MIN_PASSWORD, LIMIT_MIN_PHONE, LIMIT_MIN_USERNAME, LIMIT_MIN_UTM_CAMPAIGN, LIMIT_MIN_UTM_CONTENT, LIMIT_MIN_UTM_CREATIVE_FORMAT, LIMIT_MIN_UTM_ID, LIMIT_MIN_UTM_MEDIUM, LIMIT_MIN_UTM_SOURCE, LIMIT_MIN_UTM_TERM, LIMIT_MIN_VALUE, LIMIT_PAGINATION_DEFAULT_SIZE, LIMIT_PAGINATION_MAX_SIZE, LIMIT_SHORT_STRING_MAX_LENGTH, LIMIT_TABLE_PAGINATION_DEFAULT_SIZE, LIMIT_VAL_10, LIMIT_VAL_100, LIMIT_VAL_20, LIMIT_VAL_255, LIMIT_VAL_32, LIMIT_VAL_64, NUMBER_OF_EMPLOYEE_OPTIONS, RATING_RANGE_5, REGEX_BRAND_COLOR_SLUG, REGEX_NANP_PHONE, REGEX_URL_SLUG, REGEX_UTM_VALUE, STRAPI_COLLECTION_ENTITY_ENDPOINTS, STRAPI_ENTITY_UIDS, STRAPI_SINGLE_ENTITY_ENDPOINTS, STRAPI_SPECIAL_ENTITIES, StrapiEntity, getStrapiEntityValues };
|
|
@@ -7,6 +7,14 @@ import { TagDocument } from "./entities/tag/document.mjs";
|
|
|
7
7
|
import { TeamMemberGroup, TeamMemberTier } from "./entities/team-member/fields.mjs";
|
|
8
8
|
import { BlogPostBlock, BlogPostLayout } from "./entities/blog-post/fields.mjs";
|
|
9
9
|
import * as v from "valibot";
|
|
10
|
+
//#region src/entities/category/document.ts
|
|
11
|
+
const CategoryDocument = v.object({
|
|
12
|
+
...BaseDocument.entries,
|
|
13
|
+
label: v.string(),
|
|
14
|
+
slug: v.string(),
|
|
15
|
+
blog_posts: VDocumentRelationMany(() => BlogPostDocument)
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
10
18
|
//#region src/entities/trend/document.ts
|
|
11
19
|
const TrendDocument = v.object({
|
|
12
20
|
...BaseDocument.entries,
|
|
@@ -56,12 +64,4 @@ const BlogPostDocument = v.object({
|
|
|
56
64
|
related_posts: VDocumentRelationMany(() => BlogPostDocument)
|
|
57
65
|
});
|
|
58
66
|
//#endregion
|
|
59
|
-
|
|
60
|
-
const CategoryDocument = v.object({
|
|
61
|
-
...BaseDocument.entries,
|
|
62
|
-
label: v.string(),
|
|
63
|
-
slug: v.string(),
|
|
64
|
-
blog_posts: VDocumentRelationMany(() => BlogPostDocument)
|
|
65
|
-
});
|
|
66
|
-
//#endregion
|
|
67
|
-
export { TrendDocument as i, BlogPostDocument as n, TeamMemberDocument as r, CategoryDocument as t };
|
|
67
|
+
export { CategoryDocument as i, TeamMemberDocument as n, TrendDocument as r, BlogPostDocument as t };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_chunk = require("../../chunk-D6vf50IK.cjs");
|
|
3
3
|
const require_logical_operators = require("../../logical-operators-Bku8NPDs.cjs");
|
|
4
|
-
const require_string = require("../../string-
|
|
4
|
+
const require_string = require("../../string-By4lqNB3.cjs");
|
|
5
|
+
const require_identifier = require("../../identifier-Dmax1xo2.cjs");
|
|
5
6
|
const require_picklist = require("../../picklist-DMZjp2EE.cjs");
|
|
6
7
|
const require_pagination = require("../../pagination-DhAgQr7d.cjs");
|
|
7
8
|
const require_sort = require("../../sort-CYllFl6q.cjs");
|
|
@@ -11,10 +12,10 @@ valibot = require_chunk.__toESM(valibot, 1);
|
|
|
11
12
|
//#region src/entities/audit-log/query.ts
|
|
12
13
|
const FilterAuditLogMethod = require_picklist.createPicklistFilter(require_entities_audit_log_fields.AuditLogMethod);
|
|
13
14
|
const FilterStrapiAuditLogs = require_logical_operators.createStrapiFilterSchema({
|
|
14
|
-
id:
|
|
15
|
-
documentId:
|
|
16
|
-
createdAt:
|
|
17
|
-
updatedAt:
|
|
15
|
+
id: require_identifier.IdFilter,
|
|
16
|
+
documentId: require_identifier.DocumentIdFilter,
|
|
17
|
+
createdAt: require_identifier.DateTimeFilter,
|
|
18
|
+
updatedAt: require_identifier.DateTimeFilter,
|
|
18
19
|
method: FilterAuditLogMethod,
|
|
19
20
|
url: require_string.LongStringFilter,
|
|
20
21
|
path: require_string.LongStringFilter,
|
|
@@ -25,7 +26,7 @@ const FilterStrapiAuditLogs = require_logical_operators.createStrapiFilterSchema
|
|
|
25
26
|
route_handler: require_string.StringFilter,
|
|
26
27
|
actor_type: require_string.StringFilter,
|
|
27
28
|
actor_id: require_string.StringFilter,
|
|
28
|
-
actor_email:
|
|
29
|
+
actor_email: require_identifier.EmailFilter,
|
|
29
30
|
entity_action: require_string.StringFilter,
|
|
30
31
|
entity_content_type: require_string.StringFilter,
|
|
31
32
|
entity_id: require_string.StringFilter,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { E as StrapiStrictFilterObjectSchema, T as StrapiLogicalFilter, d as DocumentIdFilter, f as EmailFilter, n as LongStringFilter, p as IdFilter, r as StringFilter, y as DateTimeFilter } from "../../index-BgZbDm41.cjs";
|
|
2
2
|
import * as v from "valibot";
|
|
3
3
|
|
|
4
4
|
//#region src/entities/audit-log/query.d.ts
|
|
@@ -20,7 +20,7 @@ declare const FilterAuditLogMethod: StrapiStrictFilterObjectSchema<{
|
|
|
20
20
|
}>;
|
|
21
21
|
}>;
|
|
22
22
|
type FilterAuditLogMethod = v.InferOutput<typeof FilterAuditLogMethod>;
|
|
23
|
-
|
|
23
|
+
type FilterStrapiAuditLogsFields = {
|
|
24
24
|
id?: IdFilter;
|
|
25
25
|
documentId?: DocumentIdFilter;
|
|
26
26
|
createdAt?: DateTimeFilter;
|
|
@@ -40,33 +40,14 @@ declare const FilterStrapiAuditLogs: v.GenericSchema<{
|
|
|
40
40
|
entity_content_type?: StringFilter;
|
|
41
41
|
entity_id?: StringFilter;
|
|
42
42
|
entity_label?: StringFilter;
|
|
43
|
-
}
|
|
44
|
-
type FilterStrapiAuditLogs =
|
|
43
|
+
};
|
|
44
|
+
type FilterStrapiAuditLogs = StrapiLogicalFilter<FilterStrapiAuditLogsFields>;
|
|
45
|
+
declare const FilterStrapiAuditLogs: v.GenericSchema<FilterStrapiAuditLogs>;
|
|
45
46
|
declare const QueryStrapiSearchAuditLogs: v.ObjectSchema<{
|
|
46
47
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
47
48
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
48
49
|
readonly sort: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, undefined>, v.SchemaWithPipe<readonly [v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, v.TransformAction<`${string}:asc` | `${string}:desc`, (`${string}:asc` | `${string}:desc`)[]>]>], undefined>, undefined>;
|
|
49
|
-
readonly f: v.OptionalSchema<v.GenericSchema<
|
|
50
|
-
id?: IdFilter;
|
|
51
|
-
documentId?: DocumentIdFilter;
|
|
52
|
-
createdAt?: DateTimeFilter;
|
|
53
|
-
updatedAt?: DateTimeFilter;
|
|
54
|
-
method?: FilterAuditLogMethod;
|
|
55
|
-
url?: LongStringFilter;
|
|
56
|
-
path?: StringFilter;
|
|
57
|
-
request_id?: StringFilter;
|
|
58
|
-
ipaddress?: StringFilter;
|
|
59
|
-
user_agent?: StringFilter;
|
|
60
|
-
route_path?: StringFilter;
|
|
61
|
-
route_handler?: StringFilter;
|
|
62
|
-
actor_type?: StringFilter;
|
|
63
|
-
actor_id?: StringFilter;
|
|
64
|
-
actor_email?: EmailFilter;
|
|
65
|
-
entity_action?: StringFilter;
|
|
66
|
-
entity_content_type?: StringFilter;
|
|
67
|
-
entity_id?: StringFilter;
|
|
68
|
-
entity_label?: StringFilter;
|
|
69
|
-
}>, undefined>;
|
|
50
|
+
readonly f: v.OptionalSchema<v.GenericSchema<FilterStrapiAuditLogs>, undefined>;
|
|
70
51
|
}, undefined>;
|
|
71
52
|
type QueryStrapiSearchAuditLogs = v.InferOutput<typeof QueryStrapiSearchAuditLogs>;
|
|
72
53
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { E as StrapiStrictFilterObjectSchema, T as StrapiLogicalFilter, d as DocumentIdFilter, f as EmailFilter, n as LongStringFilter, p as IdFilter, r as StringFilter, y as DateTimeFilter } from "../../index-BgZbDm41.mjs";
|
|
2
2
|
import * as v from "valibot";
|
|
3
3
|
|
|
4
4
|
//#region src/entities/audit-log/query.d.ts
|
|
@@ -20,7 +20,7 @@ declare const FilterAuditLogMethod: StrapiStrictFilterObjectSchema<{
|
|
|
20
20
|
}>;
|
|
21
21
|
}>;
|
|
22
22
|
type FilterAuditLogMethod = v.InferOutput<typeof FilterAuditLogMethod>;
|
|
23
|
-
|
|
23
|
+
type FilterStrapiAuditLogsFields = {
|
|
24
24
|
id?: IdFilter;
|
|
25
25
|
documentId?: DocumentIdFilter;
|
|
26
26
|
createdAt?: DateTimeFilter;
|
|
@@ -40,33 +40,14 @@ declare const FilterStrapiAuditLogs: v.GenericSchema<{
|
|
|
40
40
|
entity_content_type?: StringFilter;
|
|
41
41
|
entity_id?: StringFilter;
|
|
42
42
|
entity_label?: StringFilter;
|
|
43
|
-
}
|
|
44
|
-
type FilterStrapiAuditLogs =
|
|
43
|
+
};
|
|
44
|
+
type FilterStrapiAuditLogs = StrapiLogicalFilter<FilterStrapiAuditLogsFields>;
|
|
45
|
+
declare const FilterStrapiAuditLogs: v.GenericSchema<FilterStrapiAuditLogs>;
|
|
45
46
|
declare const QueryStrapiSearchAuditLogs: v.ObjectSchema<{
|
|
46
47
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
47
48
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
48
49
|
readonly sort: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, undefined>, v.SchemaWithPipe<readonly [v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, v.TransformAction<`${string}:asc` | `${string}:desc`, (`${string}:asc` | `${string}:desc`)[]>]>], undefined>, undefined>;
|
|
49
|
-
readonly f: v.OptionalSchema<v.GenericSchema<
|
|
50
|
-
id?: IdFilter;
|
|
51
|
-
documentId?: DocumentIdFilter;
|
|
52
|
-
createdAt?: DateTimeFilter;
|
|
53
|
-
updatedAt?: DateTimeFilter;
|
|
54
|
-
method?: FilterAuditLogMethod;
|
|
55
|
-
url?: LongStringFilter;
|
|
56
|
-
path?: StringFilter;
|
|
57
|
-
request_id?: StringFilter;
|
|
58
|
-
ipaddress?: StringFilter;
|
|
59
|
-
user_agent?: StringFilter;
|
|
60
|
-
route_path?: StringFilter;
|
|
61
|
-
route_handler?: StringFilter;
|
|
62
|
-
actor_type?: StringFilter;
|
|
63
|
-
actor_id?: StringFilter;
|
|
64
|
-
actor_email?: EmailFilter;
|
|
65
|
-
entity_action?: StringFilter;
|
|
66
|
-
entity_content_type?: StringFilter;
|
|
67
|
-
entity_id?: StringFilter;
|
|
68
|
-
entity_label?: StringFilter;
|
|
69
|
-
}>, undefined>;
|
|
50
|
+
readonly f: v.OptionalSchema<v.GenericSchema<FilterStrapiAuditLogs>, undefined>;
|
|
70
51
|
}, undefined>;
|
|
71
52
|
type QueryStrapiSearchAuditLogs = v.InferOutput<typeof QueryStrapiSearchAuditLogs>;
|
|
72
53
|
//#endregion
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { t as createStrapiFilterSchema } from "../../logical-operators-C0-wSK0P.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { n as LongStringFilter, r as StringFilter } from "../../string-CHEFvHQa.mjs";
|
|
3
|
+
import { m as DateTimeFilter, n as EmailFilter, r as IdFilter, t as DocumentIdFilter } from "../../identifier-CXlBnKdk.mjs";
|
|
3
4
|
import { n as createPicklistFilter } from "../../picklist-DayZlSoN.mjs";
|
|
4
5
|
import { n as VSize, t as VPage } from "../../pagination-CK-mJT5q.mjs";
|
|
5
6
|
import { t as QuerySortValues } from "../../sort-FYsWXlaD.mjs";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { t as BlogPostDocument } from "../../document-CMD9cQiK.mjs";
|
|
2
2
|
export { BlogPostDocument };
|
|
@@ -3,8 +3,8 @@ const require_chunk = require("../../chunk-D6vf50IK.cjs");
|
|
|
3
3
|
const require_components_shared_index = require("../../components/shared/index.cjs");
|
|
4
4
|
const require_components_blocks_index = require("../../components/blocks/index.cjs");
|
|
5
5
|
const require_components_forms_index = require("../../components/forms/index.cjs");
|
|
6
|
-
const require_components_slideshow_index = require("../../components/slideshow/index.cjs");
|
|
7
6
|
const require_entities_blog_post_constants = require("./constants.cjs");
|
|
7
|
+
const require_components_slideshow_index = require("../../components/slideshow/index.cjs");
|
|
8
8
|
let valibot = require("valibot");
|
|
9
9
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
10
10
|
//#region src/entities/blog-post/fields.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ComponentSharedRichTextBlock } from "../../components/shared/index.mjs";
|
|
2
2
|
import { ComponentBlockButtonGroup, ComponentBlockContact, ComponentBlockFaq, ComponentBlockFullscreenContent, ComponentBlockGraphicImage, ComponentBlockPullQuote, ComponentBlockSectionTitle, ComponentBlockVideo } from "../../components/blocks/index.mjs";
|
|
3
3
|
import { ComponentFormSelect } from "../../components/forms/index.mjs";
|
|
4
|
-
import { ComponentSlideshow } from "../../components/slideshow/index.mjs";
|
|
5
4
|
import { BLOG_POST_LAYOUT } from "./constants.mjs";
|
|
5
|
+
import { ComponentSlideshow } from "../../components/slideshow/index.mjs";
|
|
6
6
|
import * as v from "valibot";
|
|
7
7
|
//#region src/entities/blog-post/fields.ts
|
|
8
8
|
const BlogPostLayout = v.picklist(BLOG_POST_LAYOUT);
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_chunk = require("../../chunk-D6vf50IK.cjs");
|
|
3
3
|
const require_logical_operators = require("../../logical-operators-Bku8NPDs.cjs");
|
|
4
|
-
const require_string = require("../../string-
|
|
4
|
+
const require_string = require("../../string-By4lqNB3.cjs");
|
|
5
5
|
const require_boolean = require("../../boolean-BwqaNE9c.cjs");
|
|
6
|
+
const require_identifier = require("../../identifier-Dmax1xo2.cjs");
|
|
6
7
|
const require_relationships = require("../../relationships-BjJkIfbK.cjs");
|
|
7
8
|
const require_string$1 = require("../../string-AHrZ--r_.cjs");
|
|
8
9
|
const require_picklist = require("../../picklist-DMZjp2EE.cjs");
|
|
@@ -16,15 +17,15 @@ valibot = require_chunk.__toESM(valibot, 1);
|
|
|
16
17
|
//#region src/entities/blog-post/query.ts
|
|
17
18
|
const FilterBlogPostsStatus = require_picklist.createPicklistFilter(require_relationships.ContentStatus);
|
|
18
19
|
const FilterStrapiBlogPosts = require_logical_operators.createStrapiFilterSchema({
|
|
19
|
-
id:
|
|
20
|
-
documentId:
|
|
21
|
-
publishedAt:
|
|
22
|
-
createdAt:
|
|
23
|
-
updatedAt:
|
|
20
|
+
id: require_identifier.IdFilter,
|
|
21
|
+
documentId: require_identifier.DocumentIdFilter,
|
|
22
|
+
publishedAt: require_identifier.DateTimeFilter,
|
|
23
|
+
createdAt: require_identifier.DateTimeFilter,
|
|
24
|
+
updatedAt: require_identifier.DateTimeFilter,
|
|
24
25
|
title: require_string.StringFilter,
|
|
25
|
-
slug:
|
|
26
|
+
slug: require_identifier.SlugFilter,
|
|
26
27
|
excerpt: require_string.LongStringFilter,
|
|
27
|
-
published:
|
|
28
|
+
published: require_identifier.DateTimeFilter,
|
|
28
29
|
is_live: require_boolean.BooleanFilter,
|
|
29
30
|
is_featured: require_boolean.BooleanFilter,
|
|
30
31
|
is_public: require_boolean.BooleanFilter,
|
|
@@ -37,6 +38,9 @@ const QueryStrapiSearchBlogPosts = valibot.object({
|
|
|
37
38
|
size: require_pagination.VSize(),
|
|
38
39
|
sort: valibot.optional(require_sort.QuerySortValues),
|
|
39
40
|
status: valibot.optional(require_relationships.ContentStatus),
|
|
41
|
+
search: valibot.optional(require_string$1.VStringMax()),
|
|
42
|
+
category: valibot.optional(require_string$1.VStringMax()),
|
|
43
|
+
tags: valibot.optional(valibot.pipe(valibot.array(require_string$1.VStringMax()), valibot.minLength(1))),
|
|
40
44
|
f: valibot.optional(FilterStrapiBlogPosts)
|
|
41
45
|
});
|
|
42
46
|
const QueryStrapiSearchBlogPostsBySlug = valibot.object({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as BooleanFilter,
|
|
1
|
+
import { C as BooleanFilter, E as StrapiStrictFilterObjectSchema, T as StrapiLogicalFilter, d as DocumentIdFilter, h as SlugFilter, p as IdFilter, r as StringFilter, y as DateTimeFilter } from "../../index-BgZbDm41.cjs";
|
|
2
2
|
import { FilterStrapiCategories } from "../category/query.cjs";
|
|
3
3
|
import { FilterStrapiTags } from "../tag/query.cjs";
|
|
4
4
|
import { FilterStrapiTeamMembers } from "../team-member/query.cjs";
|
|
@@ -23,7 +23,7 @@ declare const FilterBlogPostsStatus: StrapiStrictFilterObjectSchema<{
|
|
|
23
23
|
}>;
|
|
24
24
|
}>;
|
|
25
25
|
type FilterBlogPostsStatus = v.InferOutput<typeof FilterBlogPostsStatus>;
|
|
26
|
-
|
|
26
|
+
type FilterStrapiBlogPostsFields = {
|
|
27
27
|
id?: IdFilter;
|
|
28
28
|
documentId?: DocumentIdFilter;
|
|
29
29
|
publishedAt?: DateTimeFilter;
|
|
@@ -39,30 +39,18 @@ declare const FilterStrapiBlogPosts: v.GenericSchema<{
|
|
|
39
39
|
category?: FilterStrapiCategories;
|
|
40
40
|
tags?: FilterStrapiTags;
|
|
41
41
|
authors?: FilterStrapiTeamMembers;
|
|
42
|
-
}
|
|
43
|
-
type FilterStrapiBlogPosts =
|
|
42
|
+
};
|
|
43
|
+
type FilterStrapiBlogPosts = StrapiLogicalFilter<FilterStrapiBlogPostsFields>;
|
|
44
|
+
declare const FilterStrapiBlogPosts: v.GenericSchema<FilterStrapiBlogPosts>;
|
|
44
45
|
declare const QueryStrapiSearchBlogPosts: v.ObjectSchema<{
|
|
45
46
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
46
47
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
47
48
|
readonly sort: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, undefined>, v.SchemaWithPipe<readonly [v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, v.TransformAction<`${string}:asc` | `${string}:desc`, (`${string}:asc` | `${string}:desc`)[]>]>], undefined>, undefined>;
|
|
48
49
|
readonly status: v.OptionalSchema<v.PicklistSchema<readonly ["draft", "published"], undefined>, undefined>;
|
|
49
|
-
readonly
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
createdAt?: DateTimeFilter;
|
|
54
|
-
updatedAt?: DateTimeFilter;
|
|
55
|
-
title?: StringFilter;
|
|
56
|
-
slug?: SlugFilter;
|
|
57
|
-
excerpt?: StringFilter;
|
|
58
|
-
published?: DateTimeFilter;
|
|
59
|
-
is_live?: BooleanFilter;
|
|
60
|
-
is_featured?: BooleanFilter;
|
|
61
|
-
is_public?: BooleanFilter;
|
|
62
|
-
category?: FilterStrapiCategories;
|
|
63
|
-
tags?: FilterStrapiTags;
|
|
64
|
-
authors?: FilterStrapiTeamMembers;
|
|
65
|
-
}>, undefined>;
|
|
50
|
+
readonly search: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
51
|
+
readonly category: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
52
|
+
readonly tags: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>, undefined>;
|
|
53
|
+
readonly f: v.OptionalSchema<v.GenericSchema<FilterStrapiBlogPosts>, undefined>;
|
|
66
54
|
}, undefined>;
|
|
67
55
|
type QueryStrapiSearchBlogPosts = v.InferOutput<typeof QueryStrapiSearchBlogPosts>;
|
|
68
56
|
declare const QueryStrapiSearchBlogPostsBySlug: v.ObjectSchema<{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as BooleanFilter,
|
|
1
|
+
import { C as BooleanFilter, E as StrapiStrictFilterObjectSchema, T as StrapiLogicalFilter, d as DocumentIdFilter, h as SlugFilter, p as IdFilter, r as StringFilter, y as DateTimeFilter } from "../../index-BgZbDm41.mjs";
|
|
2
2
|
import { FilterStrapiCategories } from "../category/query.mjs";
|
|
3
3
|
import { FilterStrapiTags } from "../tag/query.mjs";
|
|
4
4
|
import { FilterStrapiTeamMembers } from "../team-member/query.mjs";
|
|
@@ -23,7 +23,7 @@ declare const FilterBlogPostsStatus: StrapiStrictFilterObjectSchema<{
|
|
|
23
23
|
}>;
|
|
24
24
|
}>;
|
|
25
25
|
type FilterBlogPostsStatus = v.InferOutput<typeof FilterBlogPostsStatus>;
|
|
26
|
-
|
|
26
|
+
type FilterStrapiBlogPostsFields = {
|
|
27
27
|
id?: IdFilter;
|
|
28
28
|
documentId?: DocumentIdFilter;
|
|
29
29
|
publishedAt?: DateTimeFilter;
|
|
@@ -39,30 +39,18 @@ declare const FilterStrapiBlogPosts: v.GenericSchema<{
|
|
|
39
39
|
category?: FilterStrapiCategories;
|
|
40
40
|
tags?: FilterStrapiTags;
|
|
41
41
|
authors?: FilterStrapiTeamMembers;
|
|
42
|
-
}
|
|
43
|
-
type FilterStrapiBlogPosts =
|
|
42
|
+
};
|
|
43
|
+
type FilterStrapiBlogPosts = StrapiLogicalFilter<FilterStrapiBlogPostsFields>;
|
|
44
|
+
declare const FilterStrapiBlogPosts: v.GenericSchema<FilterStrapiBlogPosts>;
|
|
44
45
|
declare const QueryStrapiSearchBlogPosts: v.ObjectSchema<{
|
|
45
46
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
46
47
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
47
48
|
readonly sort: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, undefined>, v.SchemaWithPipe<readonly [v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, v.TransformAction<`${string}:asc` | `${string}:desc`, (`${string}:asc` | `${string}:desc`)[]>]>], undefined>, undefined>;
|
|
48
49
|
readonly status: v.OptionalSchema<v.PicklistSchema<readonly ["draft", "published"], undefined>, undefined>;
|
|
49
|
-
readonly
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
createdAt?: DateTimeFilter;
|
|
54
|
-
updatedAt?: DateTimeFilter;
|
|
55
|
-
title?: StringFilter;
|
|
56
|
-
slug?: SlugFilter;
|
|
57
|
-
excerpt?: StringFilter;
|
|
58
|
-
published?: DateTimeFilter;
|
|
59
|
-
is_live?: BooleanFilter;
|
|
60
|
-
is_featured?: BooleanFilter;
|
|
61
|
-
is_public?: BooleanFilter;
|
|
62
|
-
category?: FilterStrapiCategories;
|
|
63
|
-
tags?: FilterStrapiTags;
|
|
64
|
-
authors?: FilterStrapiTeamMembers;
|
|
65
|
-
}>, undefined>;
|
|
50
|
+
readonly search: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
51
|
+
readonly category: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
52
|
+
readonly tags: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>, undefined>;
|
|
53
|
+
readonly f: v.OptionalSchema<v.GenericSchema<FilterStrapiBlogPosts>, undefined>;
|
|
66
54
|
}, undefined>;
|
|
67
55
|
type QueryStrapiSearchBlogPosts = v.InferOutput<typeof QueryStrapiSearchBlogPosts>;
|
|
68
56
|
declare const QueryStrapiSearchBlogPostsBySlug: v.ObjectSchema<{
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { t as createStrapiFilterSchema } from "../../logical-operators-C0-wSK0P.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { n as LongStringFilter, r as StringFilter } from "../../string-CHEFvHQa.mjs";
|
|
3
3
|
import { t as BooleanFilter } from "../../boolean-cJxcC8gC.mjs";
|
|
4
|
+
import { a as SlugFilter, m as DateTimeFilter, r as IdFilter, t as DocumentIdFilter } from "../../identifier-CXlBnKdk.mjs";
|
|
4
5
|
import { d as ContentStatus } from "../../relationships-BFmesnzw.mjs";
|
|
5
|
-
import { s as VStringShort } from "../../string-v2gu3xz0.mjs";
|
|
6
|
+
import { i as VStringMax, s as VStringShort } from "../../string-v2gu3xz0.mjs";
|
|
6
7
|
import { n as createPicklistFilter } from "../../picklist-DayZlSoN.mjs";
|
|
7
8
|
import { n as VSize, t as VPage } from "../../pagination-CK-mJT5q.mjs";
|
|
8
9
|
import { t as QuerySortValues } from "../../sort-FYsWXlaD.mjs";
|
|
@@ -34,6 +35,9 @@ const QueryStrapiSearchBlogPosts = v.object({
|
|
|
34
35
|
size: VSize(),
|
|
35
36
|
sort: v.optional(QuerySortValues),
|
|
36
37
|
status: v.optional(ContentStatus),
|
|
38
|
+
search: v.optional(VStringMax()),
|
|
39
|
+
category: v.optional(VStringMax()),
|
|
40
|
+
tags: v.optional(v.pipe(v.array(VStringMax()), v.minLength(1))),
|
|
37
41
|
f: v.optional(FilterStrapiBlogPosts)
|
|
38
42
|
});
|
|
39
43
|
const QueryStrapiSearchBlogPostsBySlug = v.object({
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { i as CategoryDocument } from "../../document-CMD9cQiK.mjs";
|
|
2
2
|
export { CategoryDocument };
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_chunk = require("../../chunk-D6vf50IK.cjs");
|
|
3
3
|
const require_logical_operators = require("../../logical-operators-Bku8NPDs.cjs");
|
|
4
|
-
const require_string = require("../../string-
|
|
4
|
+
const require_string = require("../../string-By4lqNB3.cjs");
|
|
5
|
+
const require_identifier = require("../../identifier-Dmax1xo2.cjs");
|
|
5
6
|
const require_pagination = require("../../pagination-DhAgQr7d.cjs");
|
|
6
7
|
const require_sort = require("../../sort-CYllFl6q.cjs");
|
|
7
8
|
let valibot = require("valibot");
|
|
8
9
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
9
10
|
//#region src/entities/category/query.ts
|
|
10
11
|
const FilterStrapiCategories = require_logical_operators.createStrapiFilterSchema({
|
|
11
|
-
id:
|
|
12
|
-
documentId:
|
|
13
|
-
createdAt:
|
|
14
|
-
updatedAt:
|
|
12
|
+
id: require_identifier.IdFilter,
|
|
13
|
+
documentId: require_identifier.DocumentIdFilter,
|
|
14
|
+
createdAt: require_identifier.DateTimeFilter,
|
|
15
|
+
updatedAt: require_identifier.DateTimeFilter,
|
|
15
16
|
label: require_string.StringFilter,
|
|
16
|
-
slug:
|
|
17
|
+
slug: require_identifier.SlugFilter
|
|
17
18
|
});
|
|
18
19
|
const QueryStrapiSearchCategories = valibot.object({
|
|
19
20
|
page: require_pagination.VPage(),
|
|
@@ -1,28 +1,22 @@
|
|
|
1
|
-
import { d as DocumentIdFilter, h as SlugFilter, p as IdFilter, r as StringFilter, y as DateTimeFilter } from "../../index-
|
|
1
|
+
import { T as StrapiLogicalFilter, d as DocumentIdFilter, h as SlugFilter, p as IdFilter, r as StringFilter, y as DateTimeFilter } from "../../index-BgZbDm41.cjs";
|
|
2
2
|
import * as v from "valibot";
|
|
3
3
|
|
|
4
4
|
//#region src/entities/category/query.d.ts
|
|
5
|
-
|
|
5
|
+
type FilterStrapiCategoriesFields = {
|
|
6
6
|
id?: IdFilter;
|
|
7
7
|
documentId?: DocumentIdFilter;
|
|
8
8
|
createdAt?: DateTimeFilter;
|
|
9
9
|
updatedAt?: DateTimeFilter;
|
|
10
10
|
label?: StringFilter;
|
|
11
11
|
slug?: SlugFilter;
|
|
12
|
-
}
|
|
13
|
-
type FilterStrapiCategories =
|
|
12
|
+
};
|
|
13
|
+
type FilterStrapiCategories = StrapiLogicalFilter<FilterStrapiCategoriesFields>;
|
|
14
|
+
declare const FilterStrapiCategories: v.GenericSchema<FilterStrapiCategories>;
|
|
14
15
|
declare const QueryStrapiSearchCategories: v.ObjectSchema<{
|
|
15
16
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
16
17
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
17
18
|
readonly sort: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, undefined>, v.SchemaWithPipe<readonly [v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, v.TransformAction<`${string}:asc` | `${string}:desc`, (`${string}:asc` | `${string}:desc`)[]>]>], undefined>, undefined>;
|
|
18
|
-
readonly f: v.OptionalSchema<v.GenericSchema<
|
|
19
|
-
id?: IdFilter;
|
|
20
|
-
documentId?: DocumentIdFilter;
|
|
21
|
-
createdAt?: DateTimeFilter;
|
|
22
|
-
updatedAt?: DateTimeFilter;
|
|
23
|
-
label?: StringFilter;
|
|
24
|
-
slug?: SlugFilter;
|
|
25
|
-
}>, undefined>;
|
|
19
|
+
readonly f: v.OptionalSchema<v.GenericSchema<FilterStrapiCategories>, undefined>;
|
|
26
20
|
}, undefined>;
|
|
27
21
|
type QueryStrapiSearchCategories = v.InferOutput<typeof QueryStrapiSearchCategories>;
|
|
28
22
|
//#endregion
|
|
@@ -1,28 +1,22 @@
|
|
|
1
|
-
import { d as DocumentIdFilter, h as SlugFilter, p as IdFilter, r as StringFilter, y as DateTimeFilter } from "../../index-
|
|
1
|
+
import { T as StrapiLogicalFilter, d as DocumentIdFilter, h as SlugFilter, p as IdFilter, r as StringFilter, y as DateTimeFilter } from "../../index-BgZbDm41.mjs";
|
|
2
2
|
import * as v from "valibot";
|
|
3
3
|
|
|
4
4
|
//#region src/entities/category/query.d.ts
|
|
5
|
-
|
|
5
|
+
type FilterStrapiCategoriesFields = {
|
|
6
6
|
id?: IdFilter;
|
|
7
7
|
documentId?: DocumentIdFilter;
|
|
8
8
|
createdAt?: DateTimeFilter;
|
|
9
9
|
updatedAt?: DateTimeFilter;
|
|
10
10
|
label?: StringFilter;
|
|
11
11
|
slug?: SlugFilter;
|
|
12
|
-
}
|
|
13
|
-
type FilterStrapiCategories =
|
|
12
|
+
};
|
|
13
|
+
type FilterStrapiCategories = StrapiLogicalFilter<FilterStrapiCategoriesFields>;
|
|
14
|
+
declare const FilterStrapiCategories: v.GenericSchema<FilterStrapiCategories>;
|
|
14
15
|
declare const QueryStrapiSearchCategories: v.ObjectSchema<{
|
|
15
16
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
16
17
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
17
18
|
readonly sort: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, undefined>, v.SchemaWithPipe<readonly [v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, v.TransformAction<`${string}:asc` | `${string}:desc`, (`${string}:asc` | `${string}:desc`)[]>]>], undefined>, undefined>;
|
|
18
|
-
readonly f: v.OptionalSchema<v.GenericSchema<
|
|
19
|
-
id?: IdFilter;
|
|
20
|
-
documentId?: DocumentIdFilter;
|
|
21
|
-
createdAt?: DateTimeFilter;
|
|
22
|
-
updatedAt?: DateTimeFilter;
|
|
23
|
-
label?: StringFilter;
|
|
24
|
-
slug?: SlugFilter;
|
|
25
|
-
}>, undefined>;
|
|
19
|
+
readonly f: v.OptionalSchema<v.GenericSchema<FilterStrapiCategories>, undefined>;
|
|
26
20
|
}, undefined>;
|
|
27
21
|
type QueryStrapiSearchCategories = v.InferOutput<typeof QueryStrapiSearchCategories>;
|
|
28
22
|
//#endregion
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { t as createStrapiFilterSchema } from "../../logical-operators-C0-wSK0P.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { r as StringFilter } from "../../string-CHEFvHQa.mjs";
|
|
3
|
+
import { a as SlugFilter, m as DateTimeFilter, r as IdFilter, t as DocumentIdFilter } from "../../identifier-CXlBnKdk.mjs";
|
|
3
4
|
import { n as VSize, t as VPage } from "../../pagination-CK-mJT5q.mjs";
|
|
4
5
|
import { t as QuerySortValues } from "../../sort-FYsWXlaD.mjs";
|
|
5
6
|
import * as v from "valibot";
|