@getcommunity/gc-validators 0.0.287 → 0.0.288-alpha.1
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 +6 -7
- package/dist/base/index.d.cts +1 -1
- package/dist/base/index.d.mts +1 -1
- package/dist/base/index.mjs +2 -3
- package/dist/boolean-BwqaNE9c.cjs +23 -0
- package/dist/boolean-cJxcC8gC.mjs +10 -0
- package/dist/constants/index.d.cts +1 -1
- package/dist/constants/index.d.mts +1 -1
- package/dist/{document-Cv0UyYmb.d.cts → document-CPHhI3jF.d.cts} +118 -19
- package/dist/{document-Cxhs9JXi.d.mts → document-DHJf5HxE.d.mts} +118 -19
- package/dist/entities/audit-log/mutation.cjs +1 -1
- package/dist/entities/audit-log/mutation.mjs +1 -1
- package/dist/entities/audit-log/query.cjs +29 -18
- package/dist/entities/audit-log/query.d.cts +64 -16
- package/dist/entities/audit-log/query.d.mts +64 -16
- package/dist/entities/audit-log/query.mjs +28 -19
- 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 +32 -7
- package/dist/entities/blog-post/query.d.cts +60 -5
- package/dist/entities/blog-post/query.d.mts +60 -5
- package/dist/entities/blog-post/query.mjs +29 -6
- package/dist/entities/category/mutation.cjs +1 -1
- package/dist/entities/category/mutation.mjs +1 -1
- package/dist/entities/category/query.cjs +13 -4
- package/dist/entities/category/query.d.cts +19 -3
- package/dist/entities/category/query.d.mts +19 -3
- package/dist/entities/category/query.mjs +13 -5
- package/dist/entities/client/document.d.cts +1 -1
- package/dist/entities/client/document.d.mts +1 -1
- package/dist/entities/client/fields.cjs +3 -1
- package/dist/entities/client/fields.d.cts +3 -1
- package/dist/entities/client/fields.d.mts +3 -1
- package/dist/entities/client/fields.mjs +3 -2
- package/dist/entities/client/mutation.cjs +1 -1
- package/dist/entities/client/mutation.mjs +1 -1
- package/dist/entities/client/query.cjs +27 -14
- package/dist/entities/client/query.d.cts +2 -23
- package/dist/entities/client/query.d.mts +2 -23
- package/dist/entities/client/query.mjs +27 -16
- package/dist/entities/client-content-pillar/document.d.cts +1 -1
- package/dist/entities/client-content-pillar/document.d.mts +1 -1
- package/dist/entities/client-content-pillar/mutation.cjs +1 -1
- package/dist/entities/client-content-pillar/mutation.mjs +1 -1
- package/dist/entities/client-content-pillar/query.cjs +3 -20
- package/dist/entities/client-content-pillar/query.d.cts +2 -16
- package/dist/entities/client-content-pillar/query.d.mts +2 -16
- package/dist/entities/client-content-pillar/query.mjs +2 -18
- package/dist/entities/client-media-platform/document.d.cts +1 -1
- package/dist/entities/client-media-platform/document.d.mts +1 -1
- package/dist/entities/client-media-platform/mutation.cjs +1 -1
- package/dist/entities/client-media-platform/mutation.mjs +1 -1
- package/dist/entities/client-media-platform/query.cjs +3 -22
- package/dist/entities/client-media-platform/query.d.cts +2 -17
- package/dist/entities/client-media-platform/query.d.mts +2 -17
- package/dist/entities/client-media-platform/query.mjs +2 -20
- package/dist/entities/client-project/document.d.cts +1 -1
- package/dist/entities/client-project/document.d.mts +1 -1
- package/dist/entities/client-project/mutation.cjs +2 -2
- package/dist/entities/client-project/mutation.mjs +2 -2
- package/dist/entities/client-project/query.cjs +36 -26
- package/dist/entities/client-project/query.d.cts +89 -19
- package/dist/entities/client-project/query.d.mts +89 -19
- package/dist/entities/client-project/query.mjs +34 -27
- package/dist/entities/client-report/document.d.cts +1 -1
- package/dist/entities/client-report/document.d.mts +1 -1
- package/dist/entities/client-report/mutation.cjs +1 -1
- package/dist/entities/client-report/mutation.mjs +1 -1
- package/dist/entities/client-report/query.cjs +23 -10
- package/dist/entities/client-report/query.d.cts +49 -8
- package/dist/entities/client-report/query.d.mts +49 -8
- package/dist/entities/client-report/query.mjs +22 -11
- package/dist/entities/client-styleguide/document.d.cts +1 -1
- package/dist/entities/client-styleguide/document.d.mts +1 -1
- package/dist/entities/client-styleguide/mutation.cjs +1 -1
- package/dist/entities/client-styleguide/mutation.mjs +1 -1
- package/dist/entities/client-styleguide/query.cjs +16 -7
- package/dist/entities/client-styleguide/query.d.cts +22 -5
- package/dist/entities/client-styleguide/query.d.mts +22 -5
- package/dist/entities/client-styleguide/query.mjs +16 -8
- package/dist/entities/client-user/document.d.cts +1 -1
- package/dist/entities/client-user/document.d.mts +1 -1
- package/dist/entities/client-user/fields.cjs +2 -0
- package/dist/entities/client-user/fields.d.cts +2 -2
- package/dist/entities/client-user/fields.d.mts +2 -2
- package/dist/entities/client-user/fields.mjs +2 -1
- package/dist/entities/client-user/mutation.cjs +1 -1
- package/dist/entities/client-user/mutation.d.cts +1 -1
- package/dist/entities/client-user/mutation.d.mts +1 -1
- package/dist/entities/client-user/mutation.mjs +1 -1
- package/dist/entities/client-user/query.cjs +3 -13
- package/dist/entities/client-user/query.d.cts +2 -11
- package/dist/entities/client-user/query.d.mts +2 -11
- package/dist/entities/client-user/query.mjs +2 -11
- package/dist/entities/content-pillar/document.d.cts +1 -1
- package/dist/entities/content-pillar/document.d.mts +1 -1
- package/dist/entities/content-pillar/mutation.cjs +1 -1
- package/dist/entities/content-pillar/mutation.mjs +1 -1
- package/dist/entities/content-pillar/query.cjs +3 -17
- package/dist/entities/content-pillar/query.d.cts +2 -14
- package/dist/entities/content-pillar/query.d.mts +2 -14
- package/dist/entities/content-pillar/query.mjs +2 -15
- 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/document.d.cts +1 -1
- package/dist/entities/gcflytour/document.d.mts +1 -1
- package/dist/entities/gcflytour/mutation.cjs +1 -1
- package/dist/entities/gcflytour/mutation.mjs +1 -1
- package/dist/entities/gcflytour/query.cjs +3 -20
- package/dist/entities/gcflytour/query.d.cts +2 -16
- package/dist/entities/gcflytour/query.d.mts +2 -16
- package/dist/entities/gcflytour/query.mjs +2 -18
- package/dist/entities/gcflytour-snap/document.d.cts +1 -1
- package/dist/entities/gcflytour-snap/document.d.mts +1 -1
- package/dist/entities/gcflytour-snap/mutation.cjs +1 -1
- package/dist/entities/gcflytour-snap/mutation.mjs +1 -1
- package/dist/entities/gcflytour-snap/query.cjs +3 -21
- package/dist/entities/gcflytour-snap/query.d.cts +2 -17
- package/dist/entities/gcflytour-snap/query.d.mts +2 -17
- package/dist/entities/gcflytour-snap/query.mjs +2 -19
- package/dist/entities/lead/mutation.cjs +1 -1
- package/dist/entities/lead/mutation.mjs +1 -1
- package/dist/entities/media-content-type/document.d.cts +1 -1
- package/dist/entities/media-content-type/document.d.mts +1 -1
- package/dist/entities/media-content-type/mutation.cjs +1 -1
- package/dist/entities/media-content-type/mutation.mjs +1 -1
- package/dist/entities/media-content-type/query.cjs +3 -22
- package/dist/entities/media-content-type/query.d.cts +2 -18
- package/dist/entities/media-content-type/query.d.mts +2 -18
- package/dist/entities/media-content-type/query.mjs +2 -20
- package/dist/entities/media-creative-format/document.d.cts +1 -1
- package/dist/entities/media-creative-format/document.d.mts +1 -1
- package/dist/entities/media-creative-format/mutation.cjs +1 -1
- package/dist/entities/media-creative-format/mutation.mjs +1 -1
- package/dist/entities/media-creative-format/query.cjs +3 -20
- package/dist/entities/media-creative-format/query.d.cts +2 -16
- package/dist/entities/media-creative-format/query.d.mts +2 -16
- package/dist/entities/media-creative-format/query.mjs +2 -18
- package/dist/entities/media-medium/document.d.cts +1 -1
- package/dist/entities/media-medium/document.d.mts +1 -1
- package/dist/entities/media-medium/mutation.cjs +1 -1
- package/dist/entities/media-medium/mutation.mjs +1 -1
- package/dist/entities/media-medium/query.cjs +3 -21
- package/dist/entities/media-medium/query.d.cts +2 -17
- package/dist/entities/media-medium/query.d.mts +2 -17
- package/dist/entities/media-medium/query.mjs +2 -19
- package/dist/entities/media-platform/document.d.cts +1 -1
- package/dist/entities/media-platform/document.d.mts +1 -1
- package/dist/entities/media-platform/mutation.cjs +1 -1
- package/dist/entities/media-platform/mutation.mjs +1 -1
- package/dist/entities/media-platform/query.cjs +3 -25
- package/dist/entities/media-platform/query.d.cts +2 -20
- package/dist/entities/media-platform/query.d.mts +2 -20
- package/dist/entities/media-platform/query.mjs +2 -23
- package/dist/entities/monday-workspace/document.d.cts +1 -1
- package/dist/entities/monday-workspace/document.d.mts +1 -1
- package/dist/entities/monday-workspace/mutation.cjs +1 -1
- package/dist/entities/monday-workspace/mutation.mjs +1 -1
- package/dist/entities/monday-workspace/query.cjs +15 -6
- package/dist/entities/monday-workspace/query.d.cts +22 -4
- package/dist/entities/monday-workspace/query.d.mts +22 -4
- package/dist/entities/monday-workspace/query.mjs +15 -7
- package/dist/entities/newsletter-signup/mutation.cjs +1 -1
- package/dist/entities/newsletter-signup/mutation.mjs +1 -1
- package/dist/entities/product-highlight/document.d.cts +1 -1
- package/dist/entities/product-highlight/document.d.mts +1 -1
- package/dist/entities/resume/mutation.cjs +1 -1
- package/dist/entities/resume/mutation.mjs +1 -1
- package/dist/entities/tag/mutation.cjs +1 -1
- package/dist/entities/tag/mutation.mjs +1 -1
- package/dist/entities/tag/query.cjs +13 -4
- package/dist/entities/tag/query.d.cts +19 -3
- package/dist/entities/tag/query.d.mts +19 -3
- package/dist/entities/tag/query.mjs +13 -5
- package/dist/entities/team-member/query.cjs +24 -9
- package/dist/entities/team-member/query.d.cts +66 -7
- package/dist/entities/team-member/query.d.mts +66 -7
- package/dist/entities/team-member/query.mjs +22 -10
- package/dist/entities/teamwork/query.cjs +0 -1
- package/dist/entities/teamwork/query.mjs +0 -1
- package/dist/entities/trend/mutation.cjs +1 -1
- package/dist/entities/trend/mutation.mjs +1 -1
- package/dist/entities/up-auth/mutation.d.cts +1 -103
- package/dist/entities/up-auth/mutation.d.mts +1 -103
- package/dist/entities/up-permission/document.d.cts +1 -1
- package/dist/entities/up-permission/document.d.mts +1 -1
- package/dist/entities/up-permission/fields.cjs +7 -0
- package/dist/entities/up-permission/fields.d.cts +2 -0
- package/dist/entities/up-permission/fields.d.mts +2 -0
- package/dist/entities/up-permission/fields.mjs +6 -0
- package/dist/entities/up-role/document.d.cts +1 -1
- package/dist/entities/up-role/document.d.mts +1 -1
- package/dist/entities/up-role/query.cjs +19 -0
- package/dist/entities/up-role/query.d.cts +2 -0
- package/dist/entities/up-role/query.d.mts +2 -0
- package/dist/entities/up-role/query.mjs +17 -0
- package/dist/entities/up-user/document.d.cts +1 -1
- package/dist/entities/up-user/document.d.mts +1 -1
- package/dist/entities/up-user/query.cjs +4 -20
- package/dist/entities/up-user/query.d.cts +2 -17
- package/dist/entities/up-user/query.d.mts +2 -17
- package/dist/entities/up-user/query.mjs +2 -17
- package/dist/entities/url-redirect/query.cjs +25 -3
- package/dist/entities/url-redirect/query.d.cts +64 -3
- package/dist/entities/url-redirect/query.d.mts +64 -3
- package/dist/entities/url-redirect/query.mjs +22 -3
- package/dist/entities/user-account/document.d.cts +1 -1
- package/dist/entities/user-account/document.d.mts +1 -1
- package/dist/entities/user-account/mutation.cjs +1 -1
- package/dist/entities/user-account/mutation.mjs +1 -1
- package/dist/entities/user-account/query.cjs +1 -1
- package/dist/entities/user-account/query.mjs +1 -1
- package/dist/entities/utm-link-builder/mutation.cjs +1 -1
- package/dist/entities/utm-link-builder/mutation.mjs +1 -1
- package/dist/entities/utm-tracking-link/document.d.cts +1 -1
- package/dist/entities/utm-tracking-link/document.d.mts +1 -1
- package/dist/entities/utm-tracking-link/mutation.cjs +1 -1
- package/dist/entities/utm-tracking-link/mutation.mjs +1 -1
- package/dist/entities/utm-tracking-link/query.cjs +32 -25
- package/dist/entities/utm-tracking-link/query.d.cts +53 -21
- package/dist/entities/utm-tracking-link/query.d.mts +53 -21
- package/dist/entities/utm-tracking-link/query.mjs +32 -26
- package/dist/fields-BN1MQEFa.d.mts +25 -0
- package/dist/{fields-BNrM_SmR.d.cts → fields-CPhXlK2H.d.cts} +3 -1
- package/dist/{fields-BNrM_SmR.d.mts → fields-CPhXlK2H.d.mts} +3 -1
- package/dist/fields-KhJJEwDn.d.cts +25 -0
- package/dist/filters/index.cjs +173 -0
- package/dist/filters/index.d.cts +110 -0
- package/dist/filters/index.d.mts +110 -0
- package/dist/filters/index.mjs +148 -0
- package/dist/{index-DHHJwRNf.d.mts → index-26DCj3kM.d.mts} +6 -6
- package/dist/index-CJnvK9aa.d.cts +395 -0
- package/dist/index-CJoIbrN-.d.mts +395 -0
- package/dist/index-CstRGKNl.d.cts +10 -0
- package/dist/index-CstRGKNl.d.mts +10 -0
- package/dist/{index-zDQP0gcQ.d.cts → index-RcVef_Z2.d.cts} +6 -6
- package/dist/logical-operators-Bku8NPDs.cjs +24 -0
- package/dist/logical-operators-C0-wSK0P.mjs +17 -0
- package/dist/null-operators-CyK5Nxn3.cjs +96 -0
- package/dist/null-operators-DvwH8j8n.mjs +47 -0
- package/dist/permissions/index.d.cts +2 -2
- package/dist/permissions/index.d.mts +2 -2
- package/dist/picklist-DMZjp2EE.cjs +29 -0
- package/dist/picklist-DayZlSoN.mjs +16 -0
- package/dist/query-7_zddNOX.d.mts +68 -0
- package/dist/query-9XKj-s81.d.mts +75 -0
- package/dist/query-CI3ZWJqL2.cjs +74 -0
- package/dist/query-CI5JQhH_.d.cts +73 -0
- package/dist/query-CY7W3BZ5.mjs +49 -0
- package/dist/query-CeillfBr.d.cts +35 -0
- package/dist/query-CgWG7dSl.mjs +43 -0
- package/dist/query-CtCcNIyW.d.cts +75 -0
- package/dist/query-CyYPluP3.d.mts +73 -0
- package/dist/query-D1mBqALL.cjs +68 -0
- package/dist/query-DD39dkbH.d.cts +174 -0
- package/dist/query-DVcH4-JK.cjs +171 -0
- package/dist/query-DZdytwSD.d.cts +61 -0
- package/dist/query-Do-3hcZD.d.mts +35 -0
- package/dist/{query-iF2acn2f.cjs → query-DqwF7V2G.cjs} +1 -1
- package/dist/{query-Bflh6Vd8.mjs → query-DuuwYQWE.mjs} +1 -1
- package/dist/query-Q18zizCQ.mjs +110 -0
- package/dist/query-Wt8Cx9OF.mjs +54 -0
- package/dist/query-emzTCCDq.d.mts +174 -0
- package/dist/query-qb1G3OKt.cjs +85 -0
- package/dist/query-vsyN6YiK.d.mts +61 -0
- package/dist/query-y7Fuj2mF.d.cts +68 -0
- package/dist/{relationships-yGO2L8BR.cjs → relationships-B7XakNhb.cjs} +34 -4
- package/dist/{relationships-fCFeEt1G.mjs → relationships-DYr9eF1a.mjs} +8 -2
- package/dist/string-DnXY8Tir.cjs +227 -0
- package/dist/string-cbk3BUGq.mjs +106 -0
- package/dist/utilities/index.d.cts +2 -3
- package/dist/utilities/index.d.mts +2 -3
- package/dist/validators/index.cjs +2 -2
- package/dist/validators/index.mjs +2 -2
- package/package.json +20 -6
- package/dist/strapi-B79JabkQ.cjs +0 -34
- package/dist/strapi-BgfOZjWn.mjs +0 -9
package/dist/base/index.cjs
CHANGED
|
@@ -7,9 +7,8 @@ const require_json = require("../json-Tsc8HEYI.cjs");
|
|
|
7
7
|
const require_theme = require("../theme-BNknkRG9.cjs");
|
|
8
8
|
const require_media_upload = require("../media-upload-CZiaeBiQ.cjs");
|
|
9
9
|
const require_sort = require("../sort-CYllFl6q.cjs");
|
|
10
|
-
const require_query = require("../query-
|
|
11
|
-
const
|
|
12
|
-
const require_relationships = require("../relationships-yGO2L8BR.cjs");
|
|
10
|
+
const require_query = require("../query-DqwF7V2G.cjs");
|
|
11
|
+
const require_relationships = require("../relationships-B7XakNhb.cjs");
|
|
13
12
|
let valibot = require("valibot");
|
|
14
13
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
15
14
|
//#region src/base/forms.ts
|
|
@@ -31,7 +30,7 @@ exports.AssociateOneEntityOptional = require_relationships.AssociateOneEntityOpt
|
|
|
31
30
|
exports.BaseComponent = require_component.BaseComponent;
|
|
32
31
|
exports.BaseComponentId = require_component.BaseComponentId;
|
|
33
32
|
exports.BaseDocument = require_document.BaseDocument;
|
|
34
|
-
exports.ContentStatus =
|
|
33
|
+
exports.ContentStatus = require_relationships.ContentStatus;
|
|
35
34
|
exports.FONT_HEADER_SIZE = require_fonts.FONT_HEADER_SIZE;
|
|
36
35
|
exports.FontHeaderSize = require_fonts.FontHeaderSize;
|
|
37
36
|
exports.FormSelectInputOption = FormSelectInputOption;
|
|
@@ -74,9 +73,9 @@ exports.StrapiLinkTarget = require_theme.StrapiLinkTarget;
|
|
|
74
73
|
exports.StrapiLinkType = require_theme.StrapiLinkType;
|
|
75
74
|
exports.StrapiTextColorOptions = require_theme.StrapiTextColorOptions;
|
|
76
75
|
exports.StrapiThemeOptions = require_theme.StrapiThemeOptions;
|
|
77
|
-
exports.ValidStrapiCollectionEntity =
|
|
78
|
-
exports.ValidStrapiSingleEntity =
|
|
79
|
-
exports.ValidStrapiSpecialEntity =
|
|
76
|
+
exports.ValidStrapiCollectionEntity = require_relationships.ValidStrapiCollectionEntity;
|
|
77
|
+
exports.ValidStrapiSingleEntity = require_relationships.ValidStrapiSingleEntity;
|
|
78
|
+
exports.ValidStrapiSpecialEntity = require_relationships.ValidStrapiSpecialEntity;
|
|
80
79
|
exports.WEBSAFE_FONT_DISPLAY = require_fonts.WEBSAFE_FONT_DISPLAY;
|
|
81
80
|
exports.WEBSAFE_FONT_MONO = require_fonts.WEBSAFE_FONT_MONO;
|
|
82
81
|
exports.WEBSAFE_FONT_SANS = require_fonts.WEBSAFE_FONT_SANS;
|
package/dist/base/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-RcVef_Z2.cjs";
|
|
2
2
|
import { n as JsonSchema, t as JsonData } from "../json-Ygk2txLN.cjs";
|
|
3
3
|
import { n as MediaFormats, r as MediaUploadDocument, t as MediaFormat } from "../media-upload-B8nH0XyP.cjs";
|
|
4
4
|
import { a as QueryStrapiByPhone, i as QueryStrapiByName, n as QueryStrapiByEmail, o as QueryStrapiBySlug, r as QueryStrapiById, t as QueryStrapiByDocumentId } from "../query-DPFgSbu5.cjs";
|
package/dist/base/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-26DCj3kM.mjs";
|
|
2
2
|
import { n as JsonSchema, t as JsonData } from "../json-Ygk2txLN.mjs";
|
|
3
3
|
import { n as MediaFormats, r as MediaUploadDocument, t as MediaFormat } from "../media-upload-B8nH0XyP.mjs";
|
|
4
4
|
import { a as QueryStrapiByPhone, i as QueryStrapiByName, n as QueryStrapiByEmail, o as QueryStrapiBySlug, r as QueryStrapiById, t as QueryStrapiByDocumentId } from "../query-DPFgSbu5.mjs";
|
package/dist/base/index.mjs
CHANGED
|
@@ -5,9 +5,8 @@ import { t as JsonSchema } from "../json-BJPzCgmI.mjs";
|
|
|
5
5
|
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";
|
|
6
6
|
import { n as MediaFormats, r as MediaUploadDocument, t as MediaFormat } from "../media-upload-CnRvtycg.mjs";
|
|
7
7
|
import { n as SORT_ORDER, r as SortOrder, t as QuerySortValues } from "../sort-FYsWXlaD.mjs";
|
|
8
|
-
import { a as QueryStrapiByPhone, i as QueryStrapiByName, n as QueryStrapiByEmail, o as QueryStrapiBySlug, r as QueryStrapiById, s as QueryStrapiPaginated, t as QueryStrapiByDocumentId } from "../query-
|
|
9
|
-
import { i as ValidStrapiSpecialEntity, n as
|
|
10
|
-
import { a as AssociateManyEntitiesOptional, c as QueryManyEntities, i as AssociateManyEntities, l as SEntityPosition, n as AssociateEntityPositionDocumentRequest, o as AssociateOneEntity, r as AssociateEntityRelationshipRequest, s as AssociateOneEntityOptional, t as AssociateEntityPosition, u as SSetEntityRelationshipRequest } from "../relationships-fCFeEt1G.mjs";
|
|
8
|
+
import { a as QueryStrapiByPhone, i as QueryStrapiByName, n as QueryStrapiByEmail, o as QueryStrapiBySlug, r as QueryStrapiById, s as QueryStrapiPaginated, t as QueryStrapiByDocumentId } from "../query-DuuwYQWE.mjs";
|
|
9
|
+
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-DYr9eF1a.mjs";
|
|
11
10
|
import * as v from "valibot";
|
|
12
11
|
//#region src/base/forms.ts
|
|
13
12
|
const FormSelectInputOption = v.object({
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const require_chunk = require("./chunk-D6vf50IK.cjs");
|
|
2
|
+
const require_null_operators = require("./null-operators-CyK5Nxn3.cjs");
|
|
3
|
+
let valibot = require("valibot");
|
|
4
|
+
valibot = require_chunk.__toESM(valibot, 1);
|
|
5
|
+
//#region src/filters/generics/boolean.ts
|
|
6
|
+
const BooleanFilterValue = valibot.union([valibot.boolean()]);
|
|
7
|
+
const BooleanFilter = require_null_operators.createStrapiFieldOperatorSchema({
|
|
8
|
+
...require_null_operators.createStrapiEqualityOperatorEntries(BooleanFilterValue),
|
|
9
|
+
...require_null_operators.StrapiNullOperatorEntries
|
|
10
|
+
});
|
|
11
|
+
//#endregion
|
|
12
|
+
Object.defineProperty(exports, "BooleanFilter", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function() {
|
|
15
|
+
return BooleanFilter;
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "BooleanFilterValue", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function() {
|
|
21
|
+
return BooleanFilterValue;
|
|
22
|
+
}
|
|
23
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { i as createStrapiFieldOperatorSchema, s as createStrapiEqualityOperatorEntries, t as StrapiNullOperatorEntries } from "./null-operators-DvwH8j8n.mjs";
|
|
2
|
+
import * as v from "valibot";
|
|
3
|
+
//#region src/filters/generics/boolean.ts
|
|
4
|
+
const BooleanFilterValue = v.union([v.boolean()]);
|
|
5
|
+
const BooleanFilter = createStrapiFieldOperatorSchema({
|
|
6
|
+
...createStrapiEqualityOperatorEntries(BooleanFilterValue),
|
|
7
|
+
...StrapiNullOperatorEntries
|
|
8
|
+
});
|
|
9
|
+
//#endregion
|
|
10
|
+
export { BooleanFilterValue as n, BooleanFilter as t };
|
|
@@ -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: ("
|
|
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" | "tags" | "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: ("
|
|
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" | "tags" | "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 };
|
|
@@ -5,13 +5,12 @@ import { l as RichTextBlock } from "./index-NJAGJcxy.cjs";
|
|
|
5
5
|
import { n as UtmClassificationKey } from "./index-CBmZNWdq.cjs";
|
|
6
6
|
import { t as TagDocument } from "./document-CN3W2Y2X.cjs";
|
|
7
7
|
import { n as ClientProjectStatus, t as ClientProjectPhase } from "./fields-CX223AFm.cjs";
|
|
8
|
-
import { r as CLIENT_ENTITY_PERMISSIONS, s as ClientEntityScope, t as ClientUserScopes } from "./fields-BNrM_SmR.cjs";
|
|
9
8
|
import { t as RoleType } from "./fields-DNmK-PPG.cjs";
|
|
9
|
+
import { c as ClientEntityScope, i as CLIENT_ENTITY_PERMISSIONS, n as ClientUserScopes } from "./fields-CPhXlK2H.cjs";
|
|
10
10
|
import { t as CommentApprovalStatus } from "./fields-IINGC54h.cjs";
|
|
11
11
|
import { i as CommentThread, n as CommentDocument, t as CommentAuthor } from "./document-B-RLH3la.cjs";
|
|
12
12
|
import { t as ProductDocument } from "./document-C9FkMgj3.cjs";
|
|
13
13
|
import * as v from "valibot";
|
|
14
|
-
import { AuthorizedUserDocument as AuthorizedUserDocument$1 } from "~/entities/up-auth/types";
|
|
15
14
|
|
|
16
15
|
//#region src/entities/media-creative-format/document.d.ts
|
|
17
16
|
declare const MediaCreativeFormatDocument: v.GenericSchema<{
|
|
@@ -182,21 +181,6 @@ declare const PermissionDocument: v.GenericSchema<{
|
|
|
182
181
|
}>;
|
|
183
182
|
type PermissionDocument = v.InferOutput<typeof PermissionDocument>;
|
|
184
183
|
//#endregion
|
|
185
|
-
//#region src/entities/up-role/document.d.ts
|
|
186
|
-
declare const RoleDocument: v.GenericSchema<{
|
|
187
|
-
id: number;
|
|
188
|
-
documentId: string;
|
|
189
|
-
publishedAt?: string;
|
|
190
|
-
createdAt: string;
|
|
191
|
-
updatedAt: string;
|
|
192
|
-
type: RoleType;
|
|
193
|
-
name: string;
|
|
194
|
-
description: string | null;
|
|
195
|
-
permissions?: PermissionDocument[] | null;
|
|
196
|
-
users?: UserDocument[] | null;
|
|
197
|
-
}>;
|
|
198
|
-
type RoleDocument = v.InferOutput<typeof RoleDocument>;
|
|
199
|
-
//#endregion
|
|
200
184
|
//#region src/entities/user-account/document.d.ts
|
|
201
185
|
declare const UserAccountDocument: v.GenericSchema<{
|
|
202
186
|
id: number;
|
|
@@ -259,6 +243,121 @@ declare const UserDocument: v.GenericSchema<{
|
|
|
259
243
|
}>;
|
|
260
244
|
type UserDocument = v.InferOutput<typeof UserDocument>;
|
|
261
245
|
//#endregion
|
|
246
|
+
//#region src/entities/up-role/document.d.ts
|
|
247
|
+
declare const RoleDocument: v.GenericSchema<{
|
|
248
|
+
id: number;
|
|
249
|
+
documentId: string;
|
|
250
|
+
publishedAt?: string;
|
|
251
|
+
createdAt: string;
|
|
252
|
+
updatedAt: string;
|
|
253
|
+
type: RoleType;
|
|
254
|
+
name: string;
|
|
255
|
+
description: string | null;
|
|
256
|
+
permissions?: PermissionDocument[] | null;
|
|
257
|
+
users?: UserDocument[] | null;
|
|
258
|
+
}>;
|
|
259
|
+
type RoleDocument = v.InferOutput<typeof RoleDocument>;
|
|
260
|
+
//#endregion
|
|
261
|
+
//#region src/entities/up-auth/mutation.d.ts
|
|
262
|
+
type AuthorizedUserDocument = Omit<UserDocument, "role" | "account" | "clients" | "utm_tracking_links"> & {
|
|
263
|
+
account: Omit<UserAccountDocument, "user">;
|
|
264
|
+
role: Omit<RoleDocument, "users" | "permissions">;
|
|
265
|
+
};
|
|
266
|
+
type UserAuthorizationSuccessResponse = {
|
|
267
|
+
jwt: string;
|
|
268
|
+
refreshToken?: string;
|
|
269
|
+
user: Omit<UserDocument, "role" | "account" | "clients" | "utm_tracking_links">;
|
|
270
|
+
};
|
|
271
|
+
type UserRefreshAuthorizationSuccessResponse = {
|
|
272
|
+
jwt: string;
|
|
273
|
+
refreshToken: string;
|
|
274
|
+
};
|
|
275
|
+
declare const SUserToken: v.ObjectSchema<{
|
|
276
|
+
readonly token: v.StringSchema<undefined>;
|
|
277
|
+
}, undefined>;
|
|
278
|
+
type SUserToken = v.InferOutput<typeof SUserToken>;
|
|
279
|
+
declare const SRefreshUserToken: v.ObjectSchema<{
|
|
280
|
+
readonly refreshToken: v.StringSchema<undefined>;
|
|
281
|
+
}, undefined>;
|
|
282
|
+
type SRefreshUserToken = v.InferOutput<typeof SRefreshUserToken>;
|
|
283
|
+
declare const SLoginUser: v.ObjectSchema<{
|
|
284
|
+
readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
285
|
+
readonly password: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
286
|
+
}, undefined>;
|
|
287
|
+
type SLoginUser = v.InferOutput<typeof SLoginUser>;
|
|
288
|
+
declare const SRegisterUser: v.ObjectSchema<{
|
|
289
|
+
readonly username: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
|
|
290
|
+
readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
291
|
+
readonly password: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
292
|
+
}, undefined>;
|
|
293
|
+
type SRegisterUser = v.InferOutput<typeof SRegisterUser>;
|
|
294
|
+
declare const SForgotUserPassword: v.ObjectSchema<{
|
|
295
|
+
readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
296
|
+
}, undefined>;
|
|
297
|
+
type SForgotUserPassword = v.InferOutput<typeof SForgotUserPassword>;
|
|
298
|
+
declare const SRequestConfirmEmail: v.ObjectSchema<{
|
|
299
|
+
readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
300
|
+
}, undefined>;
|
|
301
|
+
type SRequestConfirmEmail = v.InferOutput<typeof SRequestConfirmEmail>;
|
|
302
|
+
declare const SResetUserPassword: v.ObjectSchema<{
|
|
303
|
+
readonly password: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
304
|
+
readonly passwordConfirmation: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
305
|
+
readonly code: v.StringSchema<undefined>;
|
|
306
|
+
}, undefined>;
|
|
307
|
+
type SResetUserPassword = v.InferOutput<typeof SResetUserPassword>;
|
|
308
|
+
declare const SChangePassword: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
309
|
+
readonly currentPassword: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
310
|
+
readonly password: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
311
|
+
readonly passwordConfirmation: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
312
|
+
}, undefined>, v.BaseValidation<{
|
|
313
|
+
currentPassword: string;
|
|
314
|
+
password: string;
|
|
315
|
+
passwordConfirmation: string;
|
|
316
|
+
}, {
|
|
317
|
+
currentPassword: string;
|
|
318
|
+
password: string;
|
|
319
|
+
passwordConfirmation: string;
|
|
320
|
+
}, v.PartialCheckIssue<{
|
|
321
|
+
password: string;
|
|
322
|
+
passwordConfirmation: string;
|
|
323
|
+
}>>]>;
|
|
324
|
+
type SChangePassword = v.InferOutput<typeof SChangePassword>;
|
|
325
|
+
declare const SAuthRawAccessToken: v.ObjectSchema<{
|
|
326
|
+
readonly access_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
327
|
+
readonly expires_in: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
328
|
+
readonly scope: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
329
|
+
readonly token_type: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
330
|
+
readonly id_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
331
|
+
}, undefined>;
|
|
332
|
+
type SAuthRawAccessToken = v.InferOutput<typeof SAuthRawAccessToken>;
|
|
333
|
+
declare const SAuthConnectProviderRedirectSearch: v.ObjectSchema<{
|
|
334
|
+
readonly id_token: v.StringSchema<undefined>;
|
|
335
|
+
readonly access_token: v.StringSchema<undefined>;
|
|
336
|
+
readonly raw: v.OptionalSchema<v.ObjectSchema<{
|
|
337
|
+
readonly access_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
338
|
+
readonly expires_in: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
339
|
+
readonly scope: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
340
|
+
readonly token_type: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
341
|
+
readonly id_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
342
|
+
}, undefined>, undefined>;
|
|
343
|
+
}, undefined>;
|
|
344
|
+
type SAuthConnectProviderRedirectSearch = v.InferOutput<typeof SAuthConnectProviderRedirectSearch>;
|
|
345
|
+
declare const SAuthConnectProviderConfirmation: v.ObjectSchema<{
|
|
346
|
+
readonly provider: v.StringSchema<undefined>;
|
|
347
|
+
readonly search: v.ObjectSchema<{
|
|
348
|
+
readonly id_token: v.StringSchema<undefined>;
|
|
349
|
+
readonly access_token: v.StringSchema<undefined>;
|
|
350
|
+
readonly raw: v.OptionalSchema<v.ObjectSchema<{
|
|
351
|
+
readonly access_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
352
|
+
readonly expires_in: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
353
|
+
readonly scope: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
354
|
+
readonly token_type: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
355
|
+
readonly id_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
356
|
+
}, undefined>, undefined>;
|
|
357
|
+
}, undefined>;
|
|
358
|
+
}, undefined>;
|
|
359
|
+
type SAuthConnectProviderConfirmation = v.InferOutput<typeof SAuthConnectProviderConfirmation>;
|
|
360
|
+
//#endregion
|
|
262
361
|
//#region src/entities/product-highlight/document.d.ts
|
|
263
362
|
declare const ProductHighlightDocument: v.GenericSchema<{
|
|
264
363
|
id: number;
|
|
@@ -3497,7 +3596,7 @@ declare const ROLE_PERMISSIONS: {
|
|
|
3497
3596
|
//#endregion
|
|
3498
3597
|
//#region src/permissions/types.d.ts
|
|
3499
3598
|
type LCRUDActions = "list" | "create" | "read" | "update" | "delete";
|
|
3500
|
-
type PermissionCheck<Key extends keyof Permissions> = boolean | ((user: AuthorizedUserDocument
|
|
3599
|
+
type PermissionCheck<Key extends keyof Permissions> = boolean | ((user: AuthorizedUserDocument, permissions: ClientUserDocumentStatus, data?: Permissions[Key]["dataType"]) => boolean);
|
|
3501
3600
|
type RolesWithPermissions = { [R in RoleType]: Partial<{ [Key in keyof Permissions]: Partial<{ [Action in Permissions[Key]["action"]]: PermissionCheck<Key> }> }> };
|
|
3502
3601
|
type Permissions = {
|
|
3503
3602
|
"user-account": {
|
|
@@ -3646,4 +3745,4 @@ declare const ClientContentPillarDocument: v.GenericSchema<{
|
|
|
3646
3745
|
}>;
|
|
3647
3746
|
type ClientContentPillarDocument = v.InferOutput<typeof ClientContentPillarDocument>;
|
|
3648
3747
|
//#endregion
|
|
3649
|
-
export {
|
|
3748
|
+
export { RoleDocument as A, MediaMediumDocument as B, SRefreshUserToken as C, SUserToken as D, SResetUserPassword as E, ClientStyleguideDocument as F, MediaCreativeFormatDocument as H, ClientReportDocument as I, ClientProjectDocument as L, UtmTrackingLinkDocument as M, UserAccountDocument as N, UserAuthorizationSuccessResponse as O, PermissionDocument as P, ClientMediaPlatformDocument as R, SLoginUser as S, SRequestConfirmEmail as T, MediaContentTypeDocument as V, SAuthConnectProviderConfirmation as _, LCRUDActions as a, SChangePassword as b, PermissionsEntity as c, ContentPillarDocument as d, GCFlyTourDocument as f, AuthorizedUserDocument as g, ProductHighlightDocument as h, ClientUserDocumentStatus as i, UserDocument as j, UserRefreshAuthorizationSuccessResponse as k, RolesWithPermissions as l, MondayWorkspaceDocument as m, ClientDocument as n, Permissions as o, GCFlyTourSnapDocument as p, ClientUserDocument as r, PermissionsAction as s, ClientContentPillarDocument as t, ROLE_PERMISSIONS as u, SAuthConnectProviderRedirectSearch as v, SRegisterUser as w, SForgotUserPassword as x, SAuthRawAccessToken as y, MediaPlatformDocument as z };
|
|
@@ -5,13 +5,12 @@ import { l as RichTextBlock } from "./index-FZTP1wfp.mjs";
|
|
|
5
5
|
import { n as UtmClassificationKey } from "./index-CBmZNWdq.mjs";
|
|
6
6
|
import { t as TagDocument } from "./document-CN3W2Y2X.mjs";
|
|
7
7
|
import { n as ClientProjectStatus, t as ClientProjectPhase } from "./fields-CX223AFm.mjs";
|
|
8
|
-
import { r as CLIENT_ENTITY_PERMISSIONS, s as ClientEntityScope, t as ClientUserScopes } from "./fields-BNrM_SmR.mjs";
|
|
9
8
|
import { t as RoleType } from "./fields-DNmK-PPG.mjs";
|
|
9
|
+
import { c as ClientEntityScope, i as CLIENT_ENTITY_PERMISSIONS, n as ClientUserScopes } from "./fields-CPhXlK2H.mjs";
|
|
10
10
|
import { t as CommentApprovalStatus } from "./fields-IINGC54h.mjs";
|
|
11
11
|
import { i as CommentThread, n as CommentDocument, t as CommentAuthor } from "./document-DZvXiHqY.mjs";
|
|
12
12
|
import { t as ProductDocument } from "./document-B_ZXYnh3.mjs";
|
|
13
13
|
import * as v from "valibot";
|
|
14
|
-
import { AuthorizedUserDocument as AuthorizedUserDocument$1 } from "~/entities/up-auth/types";
|
|
15
14
|
|
|
16
15
|
//#region src/entities/media-creative-format/document.d.ts
|
|
17
16
|
declare const MediaCreativeFormatDocument: v.GenericSchema<{
|
|
@@ -182,21 +181,6 @@ declare const PermissionDocument: v.GenericSchema<{
|
|
|
182
181
|
}>;
|
|
183
182
|
type PermissionDocument = v.InferOutput<typeof PermissionDocument>;
|
|
184
183
|
//#endregion
|
|
185
|
-
//#region src/entities/up-role/document.d.ts
|
|
186
|
-
declare const RoleDocument: v.GenericSchema<{
|
|
187
|
-
id: number;
|
|
188
|
-
documentId: string;
|
|
189
|
-
publishedAt?: string;
|
|
190
|
-
createdAt: string;
|
|
191
|
-
updatedAt: string;
|
|
192
|
-
type: RoleType;
|
|
193
|
-
name: string;
|
|
194
|
-
description: string | null;
|
|
195
|
-
permissions?: PermissionDocument[] | null;
|
|
196
|
-
users?: UserDocument[] | null;
|
|
197
|
-
}>;
|
|
198
|
-
type RoleDocument = v.InferOutput<typeof RoleDocument>;
|
|
199
|
-
//#endregion
|
|
200
184
|
//#region src/entities/user-account/document.d.ts
|
|
201
185
|
declare const UserAccountDocument: v.GenericSchema<{
|
|
202
186
|
id: number;
|
|
@@ -259,6 +243,121 @@ declare const UserDocument: v.GenericSchema<{
|
|
|
259
243
|
}>;
|
|
260
244
|
type UserDocument = v.InferOutput<typeof UserDocument>;
|
|
261
245
|
//#endregion
|
|
246
|
+
//#region src/entities/up-role/document.d.ts
|
|
247
|
+
declare const RoleDocument: v.GenericSchema<{
|
|
248
|
+
id: number;
|
|
249
|
+
documentId: string;
|
|
250
|
+
publishedAt?: string;
|
|
251
|
+
createdAt: string;
|
|
252
|
+
updatedAt: string;
|
|
253
|
+
type: RoleType;
|
|
254
|
+
name: string;
|
|
255
|
+
description: string | null;
|
|
256
|
+
permissions?: PermissionDocument[] | null;
|
|
257
|
+
users?: UserDocument[] | null;
|
|
258
|
+
}>;
|
|
259
|
+
type RoleDocument = v.InferOutput<typeof RoleDocument>;
|
|
260
|
+
//#endregion
|
|
261
|
+
//#region src/entities/up-auth/mutation.d.ts
|
|
262
|
+
type AuthorizedUserDocument = Omit<UserDocument, "role" | "account" | "clients" | "utm_tracking_links"> & {
|
|
263
|
+
account: Omit<UserAccountDocument, "user">;
|
|
264
|
+
role: Omit<RoleDocument, "users" | "permissions">;
|
|
265
|
+
};
|
|
266
|
+
type UserAuthorizationSuccessResponse = {
|
|
267
|
+
jwt: string;
|
|
268
|
+
refreshToken?: string;
|
|
269
|
+
user: Omit<UserDocument, "role" | "account" | "clients" | "utm_tracking_links">;
|
|
270
|
+
};
|
|
271
|
+
type UserRefreshAuthorizationSuccessResponse = {
|
|
272
|
+
jwt: string;
|
|
273
|
+
refreshToken: string;
|
|
274
|
+
};
|
|
275
|
+
declare const SUserToken: v.ObjectSchema<{
|
|
276
|
+
readonly token: v.StringSchema<undefined>;
|
|
277
|
+
}, undefined>;
|
|
278
|
+
type SUserToken = v.InferOutput<typeof SUserToken>;
|
|
279
|
+
declare const SRefreshUserToken: v.ObjectSchema<{
|
|
280
|
+
readonly refreshToken: v.StringSchema<undefined>;
|
|
281
|
+
}, undefined>;
|
|
282
|
+
type SRefreshUserToken = v.InferOutput<typeof SRefreshUserToken>;
|
|
283
|
+
declare const SLoginUser: v.ObjectSchema<{
|
|
284
|
+
readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
285
|
+
readonly password: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
286
|
+
}, undefined>;
|
|
287
|
+
type SLoginUser = v.InferOutput<typeof SLoginUser>;
|
|
288
|
+
declare const SRegisterUser: v.ObjectSchema<{
|
|
289
|
+
readonly username: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
|
|
290
|
+
readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
291
|
+
readonly password: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
292
|
+
}, undefined>;
|
|
293
|
+
type SRegisterUser = v.InferOutput<typeof SRegisterUser>;
|
|
294
|
+
declare const SForgotUserPassword: v.ObjectSchema<{
|
|
295
|
+
readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
296
|
+
}, undefined>;
|
|
297
|
+
type SForgotUserPassword = v.InferOutput<typeof SForgotUserPassword>;
|
|
298
|
+
declare const SRequestConfirmEmail: v.ObjectSchema<{
|
|
299
|
+
readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
300
|
+
}, undefined>;
|
|
301
|
+
type SRequestConfirmEmail = v.InferOutput<typeof SRequestConfirmEmail>;
|
|
302
|
+
declare const SResetUserPassword: v.ObjectSchema<{
|
|
303
|
+
readonly password: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
304
|
+
readonly passwordConfirmation: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
305
|
+
readonly code: v.StringSchema<undefined>;
|
|
306
|
+
}, undefined>;
|
|
307
|
+
type SResetUserPassword = v.InferOutput<typeof SResetUserPassword>;
|
|
308
|
+
declare const SChangePassword: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
309
|
+
readonly currentPassword: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
310
|
+
readonly password: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
311
|
+
readonly passwordConfirmation: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
312
|
+
}, undefined>, v.BaseValidation<{
|
|
313
|
+
currentPassword: string;
|
|
314
|
+
password: string;
|
|
315
|
+
passwordConfirmation: string;
|
|
316
|
+
}, {
|
|
317
|
+
currentPassword: string;
|
|
318
|
+
password: string;
|
|
319
|
+
passwordConfirmation: string;
|
|
320
|
+
}, v.PartialCheckIssue<{
|
|
321
|
+
password: string;
|
|
322
|
+
passwordConfirmation: string;
|
|
323
|
+
}>>]>;
|
|
324
|
+
type SChangePassword = v.InferOutput<typeof SChangePassword>;
|
|
325
|
+
declare const SAuthRawAccessToken: v.ObjectSchema<{
|
|
326
|
+
readonly access_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
327
|
+
readonly expires_in: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
328
|
+
readonly scope: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
329
|
+
readonly token_type: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
330
|
+
readonly id_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
331
|
+
}, undefined>;
|
|
332
|
+
type SAuthRawAccessToken = v.InferOutput<typeof SAuthRawAccessToken>;
|
|
333
|
+
declare const SAuthConnectProviderRedirectSearch: v.ObjectSchema<{
|
|
334
|
+
readonly id_token: v.StringSchema<undefined>;
|
|
335
|
+
readonly access_token: v.StringSchema<undefined>;
|
|
336
|
+
readonly raw: v.OptionalSchema<v.ObjectSchema<{
|
|
337
|
+
readonly access_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
338
|
+
readonly expires_in: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
339
|
+
readonly scope: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
340
|
+
readonly token_type: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
341
|
+
readonly id_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
342
|
+
}, undefined>, undefined>;
|
|
343
|
+
}, undefined>;
|
|
344
|
+
type SAuthConnectProviderRedirectSearch = v.InferOutput<typeof SAuthConnectProviderRedirectSearch>;
|
|
345
|
+
declare const SAuthConnectProviderConfirmation: v.ObjectSchema<{
|
|
346
|
+
readonly provider: v.StringSchema<undefined>;
|
|
347
|
+
readonly search: v.ObjectSchema<{
|
|
348
|
+
readonly id_token: v.StringSchema<undefined>;
|
|
349
|
+
readonly access_token: v.StringSchema<undefined>;
|
|
350
|
+
readonly raw: v.OptionalSchema<v.ObjectSchema<{
|
|
351
|
+
readonly access_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
352
|
+
readonly expires_in: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
353
|
+
readonly scope: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
354
|
+
readonly token_type: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
355
|
+
readonly id_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
356
|
+
}, undefined>, undefined>;
|
|
357
|
+
}, undefined>;
|
|
358
|
+
}, undefined>;
|
|
359
|
+
type SAuthConnectProviderConfirmation = v.InferOutput<typeof SAuthConnectProviderConfirmation>;
|
|
360
|
+
//#endregion
|
|
262
361
|
//#region src/entities/product-highlight/document.d.ts
|
|
263
362
|
declare const ProductHighlightDocument: v.GenericSchema<{
|
|
264
363
|
id: number;
|
|
@@ -3497,7 +3596,7 @@ declare const ROLE_PERMISSIONS: {
|
|
|
3497
3596
|
//#endregion
|
|
3498
3597
|
//#region src/permissions/types.d.ts
|
|
3499
3598
|
type LCRUDActions = "list" | "create" | "read" | "update" | "delete";
|
|
3500
|
-
type PermissionCheck<Key extends keyof Permissions> = boolean | ((user: AuthorizedUserDocument
|
|
3599
|
+
type PermissionCheck<Key extends keyof Permissions> = boolean | ((user: AuthorizedUserDocument, permissions: ClientUserDocumentStatus, data?: Permissions[Key]["dataType"]) => boolean);
|
|
3501
3600
|
type RolesWithPermissions = { [R in RoleType]: Partial<{ [Key in keyof Permissions]: Partial<{ [Action in Permissions[Key]["action"]]: PermissionCheck<Key> }> }> };
|
|
3502
3601
|
type Permissions = {
|
|
3503
3602
|
"user-account": {
|
|
@@ -3646,4 +3745,4 @@ declare const ClientContentPillarDocument: v.GenericSchema<{
|
|
|
3646
3745
|
}>;
|
|
3647
3746
|
type ClientContentPillarDocument = v.InferOutput<typeof ClientContentPillarDocument>;
|
|
3648
3747
|
//#endregion
|
|
3649
|
-
export {
|
|
3748
|
+
export { RoleDocument as A, MediaMediumDocument as B, SRefreshUserToken as C, SUserToken as D, SResetUserPassword as E, ClientStyleguideDocument as F, MediaCreativeFormatDocument as H, ClientReportDocument as I, ClientProjectDocument as L, UtmTrackingLinkDocument as M, UserAccountDocument as N, UserAuthorizationSuccessResponse as O, PermissionDocument as P, ClientMediaPlatformDocument as R, SLoginUser as S, SRequestConfirmEmail as T, MediaContentTypeDocument as V, SAuthConnectProviderConfirmation as _, LCRUDActions as a, SChangePassword as b, PermissionsEntity as c, ContentPillarDocument as d, GCFlyTourDocument as f, AuthorizedUserDocument as g, ProductHighlightDocument as h, ClientUserDocumentStatus as i, UserDocument as j, UserRefreshAuthorizationSuccessResponse as k, RolesWithPermissions as l, MondayWorkspaceDocument as m, ClientDocument as n, Permissions as o, GCFlyTourSnapDocument as p, ClientUserDocument as r, PermissionsAction as s, ClientContentPillarDocument as t, ROLE_PERMISSIONS as u, SAuthConnectProviderRedirectSearch as v, SRegisterUser as w, SForgotUserPassword as x, SAuthRawAccessToken as y, MediaPlatformDocument as z };
|
|
@@ -3,7 +3,7 @@ const require_chunk = require("../../chunk-D6vf50IK.cjs");
|
|
|
3
3
|
const require_json = require("../../json-Tsc8HEYI.cjs");
|
|
4
4
|
const require_email = require("../../email-dsbWKuhH.cjs");
|
|
5
5
|
const require_string = require("../../string-AHrZ--r_.cjs");
|
|
6
|
-
const require_relationships = require("../../relationships-
|
|
6
|
+
const require_relationships = require("../../relationships-B7XakNhb.cjs");
|
|
7
7
|
const require_entities_audit_log_fields = require("./fields.cjs");
|
|
8
8
|
let valibot = require("valibot");
|
|
9
9
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as JsonSchema } from "../../json-BJPzCgmI.mjs";
|
|
2
2
|
import { t as VStringEmail } from "../../email-FSLftR8P.mjs";
|
|
3
3
|
import { i as VStringMax } from "../../string-v2gu3xz0.mjs";
|
|
4
|
-
import { o as AssociateOneEntity } from "../../relationships-
|
|
4
|
+
import { o as AssociateOneEntity } from "../../relationships-DYr9eF1a.mjs";
|
|
5
5
|
import { AuditLogMethod } from "./fields.mjs";
|
|
6
6
|
import * as v from "valibot";
|
|
7
7
|
//#region src/entities/audit-log/mutation.ts
|
|
@@ -2,31 +2,42 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
2
2
|
const require_chunk = require("../../chunk-D6vf50IK.cjs");
|
|
3
3
|
const require_pagination = require("../../pagination-DhAgQr7d.cjs");
|
|
4
4
|
const require_sort = require("../../sort-CYllFl6q.cjs");
|
|
5
|
-
const
|
|
6
|
-
const require_string = require("../../string-
|
|
5
|
+
const require_logical_operators = require("../../logical-operators-Bku8NPDs.cjs");
|
|
6
|
+
const require_string = require("../../string-DnXY8Tir.cjs");
|
|
7
|
+
const require_picklist = require("../../picklist-DMZjp2EE.cjs");
|
|
7
8
|
const require_entities_audit_log_fields = require("./fields.cjs");
|
|
8
9
|
let valibot = require("valibot");
|
|
9
10
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
10
11
|
//#region src/entities/audit-log/query.ts
|
|
12
|
+
const FilterAuditLogMethod = require_picklist.createPicklistFilter(require_entities_audit_log_fields.AuditLogMethod);
|
|
13
|
+
const FilterStrapiAuditLogs = require_logical_operators.createStrapiFilterSchema({
|
|
14
|
+
id: require_string.IdFilter,
|
|
15
|
+
documentId: require_string.DocumentIdFilter,
|
|
16
|
+
createdAt: require_string.DateTimeFilter,
|
|
17
|
+
updatedAt: require_string.DateTimeFilter,
|
|
18
|
+
method: FilterAuditLogMethod,
|
|
19
|
+
url: require_string.LongStringFilter,
|
|
20
|
+
path: require_string.LongStringFilter,
|
|
21
|
+
request_id: require_string.StringFilter,
|
|
22
|
+
ipaddress: require_string.StringFilter,
|
|
23
|
+
user_agent: require_string.StringFilter,
|
|
24
|
+
route_path: require_string.StringFilter,
|
|
25
|
+
route_handler: require_string.StringFilter,
|
|
26
|
+
actor_type: require_string.StringFilter,
|
|
27
|
+
actor_id: require_string.StringFilter,
|
|
28
|
+
actor_email: require_string.EmailFilter,
|
|
29
|
+
entity_action: require_string.StringFilter,
|
|
30
|
+
entity_content_type: require_string.StringFilter,
|
|
31
|
+
entity_id: require_string.StringFilter,
|
|
32
|
+
entity_label: require_string.StringFilter
|
|
33
|
+
});
|
|
11
34
|
const QueryStrapiSearchAuditLogs = valibot.object({
|
|
12
35
|
page: require_pagination.VPage(),
|
|
13
36
|
size: require_pagination.VSize(),
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
path: valibot.optional(valibot.string()),
|
|
17
|
-
request_id: valibot.optional(require_string.VStringMax()),
|
|
18
|
-
ipaddress: valibot.optional(require_string.VStringMax(64)),
|
|
19
|
-
user_agent: valibot.optional(require_string.VStringMax()),
|
|
20
|
-
route_path: valibot.optional(require_string.VStringMax()),
|
|
21
|
-
route_handler: valibot.optional(require_string.VStringMax()),
|
|
22
|
-
actor_type: valibot.optional(require_string.VStringMax()),
|
|
23
|
-
actor_id: valibot.optional(require_string.VStringMax()),
|
|
24
|
-
actor_email: valibot.optional(require_email.VStringEmail()),
|
|
25
|
-
entity_action: valibot.optional(require_string.VStringMax()),
|
|
26
|
-
entity_content_type: valibot.optional(require_string.VStringMax()),
|
|
27
|
-
entity_id: valibot.optional(require_string.VStringMax()),
|
|
28
|
-
entity_label: valibot.optional(require_string.VStringMax()),
|
|
29
|
-
sort: valibot.optional(require_sort.QuerySortValues)
|
|
37
|
+
sort: valibot.optional(require_sort.QuerySortValues),
|
|
38
|
+
f: valibot.optional(FilterStrapiAuditLogs)
|
|
30
39
|
});
|
|
31
40
|
//#endregion
|
|
41
|
+
exports.FilterAuditLogMethod = FilterAuditLogMethod;
|
|
42
|
+
exports.FilterStrapiAuditLogs = FilterStrapiAuditLogs;
|
|
32
43
|
exports.QueryStrapiSearchAuditLogs = QueryStrapiSearchAuditLogs;
|