@getcommunity/gc-validators 0.0.271-alpha.1 → 0.0.271-alpha.3
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/abac-BeKQtxIF.cjs +648 -0
- package/dist/abac-DPd9oLKR.mjs +643 -0
- package/dist/base/index.d.mts +4 -4
- package/dist/components/shared/index.d.mts +1 -1
- package/dist/{document-D4fJt3zX.d.cts → document-AkydjorI.d.cts} +2 -6
- package/dist/{document-DdRo9TdG.d.mts → document-CIAPAAjK.d.mts} +18 -22
- package/dist/entities/audit-log/index.d.cts +2 -2
- package/dist/entities/audit-log/index.d.mts +3 -3
- package/dist/entities/blog-page/index.d.mts +1 -1
- package/dist/entities/blog-post/index.cjs +1 -1
- package/dist/entities/blog-post/index.d.cts +3 -3
- package/dist/entities/blog-post/index.d.mts +4 -4
- package/dist/entities/blog-post/index.mjs +1 -1
- package/dist/entities/careers-page/index.d.mts +1 -1
- package/dist/entities/category/index.cjs +1 -1
- package/dist/entities/category/index.d.cts +2 -2
- package/dist/entities/category/index.d.mts +3 -3
- package/dist/entities/category/index.mjs +1 -1
- package/dist/entities/client/index.cjs +1 -1
- package/dist/entities/client/index.d.cts +2 -2
- package/dist/entities/client/index.d.mts +3 -3
- package/dist/entities/client/index.mjs +1 -1
- package/dist/entities/client-content-pillar/index.cjs +2 -2
- package/dist/entities/client-content-pillar/index.d.cts +2 -2
- package/dist/entities/client-content-pillar/index.d.mts +3 -3
- package/dist/entities/client-content-pillar/index.mjs +2 -2
- package/dist/entities/client-media-platform/index.d.cts +2 -2
- package/dist/entities/client-media-platform/index.d.mts +3 -3
- package/dist/entities/client-project/index.d.cts +2 -2
- package/dist/entities/client-project/index.d.mts +3 -3
- package/dist/entities/client-report/index.d.cts +2 -2
- package/dist/entities/client-report/index.d.mts +3 -3
- package/dist/entities/client-styleguide/index.d.mts +1 -1
- package/dist/entities/client-user/index.cjs +1 -1
- package/dist/entities/client-user/index.d.cts +1 -1
- package/dist/entities/client-user/index.d.mts +1 -1
- package/dist/entities/client-user/index.mjs +1 -1
- package/dist/entities/comment/index.d.cts +1 -1
- package/dist/entities/comment/index.d.mts +1 -1
- package/dist/entities/content-pillar/index.cjs +1 -1
- package/dist/entities/content-pillar/index.d.cts +2 -2
- package/dist/entities/content-pillar/index.d.mts +3 -3
- package/dist/entities/content-pillar/index.mjs +1 -1
- package/dist/entities/faq-page/index.d.mts +1 -1
- package/dist/entities/gcflytour/index.d.cts +2 -2
- package/dist/entities/gcflytour/index.d.mts +3 -3
- package/dist/entities/gcflytour-snap/index.d.cts +2 -2
- package/dist/entities/gcflytour-snap/index.d.mts +3 -3
- package/dist/entities/landing-page/index.d.mts +1 -1
- package/dist/entities/media-content-type/index.d.cts +2 -2
- package/dist/entities/media-content-type/index.d.mts +3 -3
- package/dist/entities/media-creative-format/index.d.cts +2 -2
- package/dist/entities/media-creative-format/index.d.mts +3 -3
- package/dist/entities/media-medium/index.d.cts +2 -2
- package/dist/entities/media-medium/index.d.mts +2 -2
- package/dist/entities/media-platform/index.d.cts +2 -2
- package/dist/entities/media-platform/index.d.mts +3 -3
- package/dist/entities/monday-workspace/index.d.cts +2 -2
- package/dist/entities/monday-workspace/index.d.mts +3 -3
- package/dist/entities/policy-page/index.d.mts +1 -1
- package/dist/entities/product/index.d.mts +1 -1
- package/dist/entities/tag/index.d.cts +2 -2
- package/dist/entities/tag/index.d.mts +2 -2
- package/dist/entities/team-member/index.cjs +1 -1
- package/dist/entities/team-member/index.d.cts +2 -2
- package/dist/entities/team-member/index.d.mts +2 -2
- package/dist/entities/team-member/index.mjs +1 -1
- package/dist/entities/team-page/index.d.mts +1 -1
- package/dist/entities/trend/index.cjs +2 -2
- package/dist/entities/trend/index.d.cts +2 -2
- package/dist/entities/trend/index.d.mts +2 -2
- package/dist/entities/trend/index.mjs +2 -2
- package/dist/entities/up-auth/index.d.mts +1 -1
- package/dist/entities/up-role/index.d.mts +2 -2
- package/dist/entities/up-user/index.d.cts +2 -2
- package/dist/entities/up-user/index.d.mts +3 -3
- package/dist/entities/url-redirect/index.d.cts +2 -2
- package/dist/entities/url-redirect/index.d.mts +2 -2
- package/dist/entities/user-account/index.d.mts +2 -2
- package/dist/entities/utm-tracking-link/index.d.cts +2 -2
- package/dist/entities/utm-tracking-link/index.d.mts +2 -2
- package/dist/{index-Bht1Jd5l.d.mts → index-BL9VfVD4.d.mts} +1 -1
- package/dist/{index-BLE_fX1Q.d.cts → index-Bwlq5D5d.d.mts} +3 -3
- package/dist/{index-DYPjS1qh.d.mts → index-D4Mm4D2d.d.cts} +3 -3
- package/dist/{index-BI8tN-QZ.d.mts → index-r0hGcq70.d.mts} +3 -3
- package/dist/permissions/index.cjs +3 -663
- package/dist/permissions/index.d.cts +2 -2
- package/dist/permissions/index.d.mts +2 -2
- package/dist/permissions/index.mjs +3 -661
- package/dist/utilities/index.cjs +20 -0
- package/dist/utilities/index.d.cts +8 -1
- package/dist/utilities/index.d.mts +9 -2
- package/dist/utilities/index.mjs +19 -1
- package/package.json +1 -1
- /package/dist/{constants-L2goO7Eg.mjs → constants-Htf-MeCA.mjs} +0 -0
- /package/dist/{constants-PBZKggHL.cjs → constants-f1GP2eiq.cjs} +0 -0
- /package/dist/{document-DsIPBTG8.cjs → document-2o5WNt6V.cjs} +0 -0
- /package/dist/{document-D5yDIDIx.d.mts → document-6ONY7xJm.d.mts} +0 -0
- /package/dist/{document-Gx2Vrg_w.d.mts → document-B0j6d1nH.d.mts} +0 -0
- /package/dist/{document-Ccszj8lR.cjs → document-BVPXeweR.cjs} +0 -0
- /package/dist/{document-WHS8GHY5.d.mts → document-Bh0a7Y8h.d.mts} +0 -0
- /package/dist/{document-Cu_HUDC5.mjs → document-Bpgteig6.mjs} +0 -0
- /package/dist/{document-CTTDXzOF.mjs → document-C21JZnEl.mjs} +0 -0
- /package/dist/{document-CUl_Ys6-.mjs → document-COaupB1r.mjs} +0 -0
- /package/dist/{document-Bd2AyLs8.d.mts → document-CQ9bUL-1.d.mts} +0 -0
- /package/dist/{document-rbMXLGxt.cjs → document-Coz4Rm8I.cjs} +0 -0
- /package/dist/{document-si7GYS5g.d.mts → document-CsGd8QmZ.d.mts} +0 -0
- /package/dist/{document-Bpr9mbCs.d.mts → document-D7nCeVSn.d.mts} +0 -0
- /package/dist/{document-C0c7azOe.d.mts → document-DAnzPqTm.d.mts} +0 -0
- /package/dist/{document-B_pJW777.d.mts → document-DCIBlMpe.d.mts} +0 -0
- /package/dist/{document-DYzRVV1C.d.mts → document-DCtr8pVh.d.mts} +0 -0
- /package/dist/{document-Bo869pZx.d.mts → document-DSUxqMD4.d.mts} +0 -0
- /package/dist/{document-vq-7rcU5.d.mts → document-Db-z1nIm.d.mts} +0 -0
- /package/dist/{document-DsSaMVGb.cjs → document-DgG9DIT2.cjs} +0 -0
- /package/dist/{document-DeoRGh7p.d.mts → document-DgQnMgCD.d.mts} +0 -0
- /package/dist/{document-BFukanLe.mjs → document-DiOskbh3.mjs} +0 -0
- /package/dist/{document-D2nLVGig.d.mts → document-DmZ3XRi8.d.mts} +0 -0
- /package/dist/{document-BAzLIprH.d.mts → document-TK2UUOF9.d.mts} +0 -0
- /package/dist/{document-BNoXPGwF.d.mts → document-W-NILXQV.d.mts} +0 -0
- /package/dist/{document-DMHIUE3J.d.mts → document-gwpNlSBm.d.mts} +0 -0
- /package/dist/{fields-qx-5saY5.d.mts → fields-DUuJ_1V0.d.mts} +0 -0
- /package/dist/{json-CqAaKeHA.d.mts → json-CiA5ZRzc.d.mts} +0 -0
- /package/dist/{query.schema-BOn5Kk_p.d.mts → query.schema-oOG7BmVm.d.mts} +0 -0
- /package/dist/{response-C-7nyNVD.d.mts → response-I41vWpVZ.d.mts} +0 -0
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { t as ClientContentPillarDocument } from "./document-
|
|
2
|
-
import { t as ClientMediaPlatformDocument } from "./document-
|
|
3
|
-
import { t as ClientProjectDocument } from "./document-
|
|
4
|
-
import { t as ClientReportDocument } from "./document-
|
|
5
|
-
import { t as ClientStyleguideDocument } from "./document-
|
|
6
|
-
import { t as AuthorizedUserDocument } from "./index-
|
|
7
|
-
import { t as UserAccountDocument } from "./document-
|
|
8
|
-
import { c as CommentAuthor, d as CommentThread, f as CommentApprovalStatus, l as CommentDocument } from "./index-
|
|
9
|
-
import { t as ClientDocument } from "./document-
|
|
10
|
-
import { t as ContentPillarDocument } from "./document-
|
|
11
|
-
import { t as GCFlyTourSnapDocument } from "./document-
|
|
12
|
-
import { t as GCFlyTourDocument } from "./document-
|
|
13
|
-
import { t as MediaContentTypeDocument } from "./document-
|
|
14
|
-
import { t as MediaCreativeFormatDocument } from "./document-
|
|
15
|
-
import { t as MediaPlatformDocument } from "./document-
|
|
16
|
-
import { t as MondayWorkspaceDocument } from "./document-
|
|
17
|
-
import { t as RoleType } from "./fields-
|
|
1
|
+
import { t as ClientContentPillarDocument } from "./document-B0j6d1nH.mjs";
|
|
2
|
+
import { t as ClientMediaPlatformDocument } from "./document-6ONY7xJm.mjs";
|
|
3
|
+
import { t as ClientProjectDocument } from "./document-TK2UUOF9.mjs";
|
|
4
|
+
import { t as ClientReportDocument } from "./document-DgQnMgCD.mjs";
|
|
5
|
+
import { t as ClientStyleguideDocument } from "./document-DAnzPqTm.mjs";
|
|
6
|
+
import { t as AuthorizedUserDocument } from "./index-r0hGcq70.mjs";
|
|
7
|
+
import { t as UserAccountDocument } from "./document-CQ9bUL-1.mjs";
|
|
8
|
+
import { c as CommentAuthor, d as CommentThread, f as CommentApprovalStatus, l as CommentDocument } from "./index-Bwlq5D5d.mjs";
|
|
9
|
+
import { t as ClientDocument } from "./document-DmZ3XRi8.mjs";
|
|
10
|
+
import { t as ContentPillarDocument } from "./document-W-NILXQV.mjs";
|
|
11
|
+
import { t as GCFlyTourSnapDocument } from "./document-Bh0a7Y8h.mjs";
|
|
12
|
+
import { t as GCFlyTourDocument } from "./document-DSUxqMD4.mjs";
|
|
13
|
+
import { t as MediaContentTypeDocument } from "./document-DCIBlMpe.mjs";
|
|
14
|
+
import { t as MediaCreativeFormatDocument } from "./document-gwpNlSBm.mjs";
|
|
15
|
+
import { t as MediaPlatformDocument } from "./document-Db-z1nIm.mjs";
|
|
16
|
+
import { t as MondayWorkspaceDocument } from "./document-D7nCeVSn.mjs";
|
|
17
|
+
import { t as RoleType } from "./fields-DUuJ_1V0.mjs";
|
|
18
18
|
import * as v from "valibot";
|
|
19
19
|
|
|
20
20
|
//#region src/permissions/constants.d.ts
|
|
@@ -12192,10 +12192,6 @@ type Permissions = {
|
|
|
12192
12192
|
};
|
|
12193
12193
|
};
|
|
12194
12194
|
//#endregion
|
|
12195
|
-
//#region src/permissions/utilities.d.ts
|
|
12196
|
-
declare function hasPermission<Resource extends keyof Permissions>(user: AuthorizedUserDocument | null, permissions: ClientUserDocumentStatus, resource: Resource, action: Permissions[Resource]["action"], data?: Permissions[Resource]["dataType"]): boolean;
|
|
12197
|
-
declare function canAssignPermission<Resource extends keyof Permissions>(userRole: RoleType, resource: Resource, action: Permissions[Resource]["action"]): boolean;
|
|
12198
|
-
//#endregion
|
|
12199
12195
|
//#region src/entities/client-user/document.d.ts
|
|
12200
12196
|
declare const ClientUserDocument: v.ObjectSchema<{
|
|
12201
12197
|
readonly scopes: v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<ClientEntityScope[], undefined>]>, "Please provide a valid list of scopes.">, v.MaxLengthAction<ClientEntityScope[], number, "You cannot provide more scopes than there are available.">]>, undefined>;
|
|
@@ -12220,4 +12216,4 @@ declare const ClientUserDocumentStatus: v.ObjectSchema<{
|
|
|
12220
12216
|
}, undefined>;
|
|
12221
12217
|
type ClientUserDocumentStatus = v.InferOutput<typeof ClientUserDocumentStatus>;
|
|
12222
12218
|
//#endregion
|
|
12223
|
-
export {
|
|
12219
|
+
export { RolesWithPermissions as a, CLIENT_ENTITY_PERMISSIONS as c, ClientEntityKey as d, ClientEntityScope as f, Permissions as i, CLIENT_ENTITY_SCOPES as l, ClientUserDocumentStatus as n, ROLE_PERMISSIONS as o, LCRUDActions as r, CLIENT_ENTITY_KEYS as s, ClientUserDocument as t, ClientEntityActions as u };
|
|
@@ -35,7 +35,7 @@ declare const AuditLogDocument: v.ObjectSchema<{
|
|
|
35
35
|
type AuditLogDocument = v.InferOutput<typeof AuditLogDocument>;
|
|
36
36
|
//#endregion
|
|
37
37
|
//#region src/entities/audit-log/fields.d.ts
|
|
38
|
-
declare const QuerySortAuditLogs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "
|
|
38
|
+
declare const QuerySortAuditLogs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "url:ASC" | "url:DESC" | "path:ASC" | "method:ASC" | "request_id:ASC" | "ipaddress:ASC" | "user_agent:ASC" | "route_path:ASC" | "route_handler:ASC" | "actor_type:ASC" | "actor_id:ASC" | "actor_email:ASC" | "entity_action:ASC" | "entity_content_type:ASC" | "entity_id:ASC" | "entity_label:ASC" | "path:DESC" | "method:DESC" | "request_id:DESC" | "ipaddress:DESC" | "user_agent:DESC" | "route_path:DESC" | "route_handler:DESC" | "actor_type:DESC" | "actor_id:DESC" | "actor_email:DESC" | "entity_action:DESC" | "entity_content_type:DESC" | "entity_id:DESC" | "entity_label:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "url:ASC" | "url:DESC" | "path:ASC" | "method:ASC" | "request_id:ASC" | "ipaddress:ASC" | "user_agent:ASC" | "route_path:ASC" | "route_handler:ASC" | "actor_type:ASC" | "actor_id:ASC" | "actor_email:ASC" | "entity_action:ASC" | "entity_content_type:ASC" | "entity_id:ASC" | "entity_label:ASC" | "path:DESC" | "method:DESC" | "request_id:DESC" | "ipaddress:DESC" | "user_agent:DESC" | "route_path:DESC" | "route_handler:DESC" | "actor_type:DESC" | "actor_id:DESC" | "actor_email:DESC" | "entity_action:DESC" | "entity_content_type:DESC" | "entity_id:DESC" | "entity_label:DESC")[], 18, undefined>]>, undefined>;
|
|
39
39
|
type QuerySortAuditLogs = v.InferOutput<typeof QuerySortAuditLogs>;
|
|
40
40
|
declare const AuditLogMethod: v.PicklistSchema<readonly ["GET", "POST", "PUT", "PATCH", "DELETE", "UNKNOWN"], undefined>;
|
|
41
41
|
type AuditLogMethod = v.InferOutput<typeof AuditLogMethod>;
|
|
@@ -127,7 +127,7 @@ declare const QueryStrapiSearchAuditLogs: v.ObjectSchema<{
|
|
|
127
127
|
readonly entity_content_type: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
128
128
|
readonly entity_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
129
129
|
readonly entity_label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
130
|
-
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "
|
|
130
|
+
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "url:ASC" | "url:DESC" | "path:ASC" | "method:ASC" | "request_id:ASC" | "ipaddress:ASC" | "user_agent:ASC" | "route_path:ASC" | "route_handler:ASC" | "actor_type:ASC" | "actor_id:ASC" | "actor_email:ASC" | "entity_action:ASC" | "entity_content_type:ASC" | "entity_id:ASC" | "entity_label:ASC" | "path:DESC" | "method:DESC" | "request_id:DESC" | "ipaddress:DESC" | "user_agent:DESC" | "route_path:DESC" | "route_handler:DESC" | "actor_type:DESC" | "actor_id:DESC" | "actor_email:DESC" | "entity_action:DESC" | "entity_content_type:DESC" | "entity_id:DESC" | "entity_label:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "url:ASC" | "url:DESC" | "path:ASC" | "method:ASC" | "request_id:ASC" | "ipaddress:ASC" | "user_agent:ASC" | "route_path:ASC" | "route_handler:ASC" | "actor_type:ASC" | "actor_id:ASC" | "actor_email:ASC" | "entity_action:ASC" | "entity_content_type:ASC" | "entity_id:ASC" | "entity_label:ASC" | "path:DESC" | "method:DESC" | "request_id:DESC" | "ipaddress:DESC" | "user_agent:DESC" | "route_path:DESC" | "route_handler:DESC" | "actor_type:DESC" | "actor_id:DESC" | "actor_email:DESC" | "entity_action:DESC" | "entity_content_type:DESC" | "entity_id:DESC" | "entity_label:DESC")[], 18, undefined>]>, undefined>;
|
|
131
131
|
}, undefined>;
|
|
132
132
|
type QueryStrapiSearchAuditLogs = v.InferOutput<typeof QueryStrapiSearchAuditLogs>;
|
|
133
133
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as JsonData } from "../../json-
|
|
1
|
+
import { t as JsonData } from "../../json-CiA5ZRzc.mjs";
|
|
2
2
|
import * as v from "valibot";
|
|
3
3
|
|
|
4
4
|
//#region src/entities/audit-log/constants.d.ts
|
|
@@ -35,7 +35,7 @@ declare const AuditLogDocument: v.ObjectSchema<{
|
|
|
35
35
|
type AuditLogDocument = v.InferOutput<typeof AuditLogDocument>;
|
|
36
36
|
//#endregion
|
|
37
37
|
//#region src/entities/audit-log/fields.d.ts
|
|
38
|
-
declare const QuerySortAuditLogs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "
|
|
38
|
+
declare const QuerySortAuditLogs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "url:ASC" | "url:DESC" | "path:ASC" | "method:ASC" | "request_id:ASC" | "ipaddress:ASC" | "user_agent:ASC" | "route_path:ASC" | "route_handler:ASC" | "actor_type:ASC" | "actor_id:ASC" | "actor_email:ASC" | "entity_action:ASC" | "entity_content_type:ASC" | "entity_id:ASC" | "entity_label:ASC" | "path:DESC" | "method:DESC" | "request_id:DESC" | "ipaddress:DESC" | "user_agent:DESC" | "route_path:DESC" | "route_handler:DESC" | "actor_type:DESC" | "actor_id:DESC" | "actor_email:DESC" | "entity_action:DESC" | "entity_content_type:DESC" | "entity_id:DESC" | "entity_label:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "url:ASC" | "url:DESC" | "path:ASC" | "method:ASC" | "request_id:ASC" | "ipaddress:ASC" | "user_agent:ASC" | "route_path:ASC" | "route_handler:ASC" | "actor_type:ASC" | "actor_id:ASC" | "actor_email:ASC" | "entity_action:ASC" | "entity_content_type:ASC" | "entity_id:ASC" | "entity_label:ASC" | "path:DESC" | "method:DESC" | "request_id:DESC" | "ipaddress:DESC" | "user_agent:DESC" | "route_path:DESC" | "route_handler:DESC" | "actor_type:DESC" | "actor_id:DESC" | "actor_email:DESC" | "entity_action:DESC" | "entity_content_type:DESC" | "entity_id:DESC" | "entity_label:DESC")[], 18, undefined>]>, undefined>;
|
|
39
39
|
type QuerySortAuditLogs = v.InferOutput<typeof QuerySortAuditLogs>;
|
|
40
40
|
declare const AuditLogMethod: v.PicklistSchema<readonly ["GET", "POST", "PUT", "PATCH", "DELETE", "UNKNOWN"], undefined>;
|
|
41
41
|
type AuditLogMethod = v.InferOutput<typeof AuditLogMethod>;
|
|
@@ -127,7 +127,7 @@ declare const QueryStrapiSearchAuditLogs: v.ObjectSchema<{
|
|
|
127
127
|
readonly entity_content_type: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
128
128
|
readonly entity_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
129
129
|
readonly entity_label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
130
|
-
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "
|
|
130
|
+
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "url:ASC" | "url:DESC" | "path:ASC" | "method:ASC" | "request_id:ASC" | "ipaddress:ASC" | "user_agent:ASC" | "route_path:ASC" | "route_handler:ASC" | "actor_type:ASC" | "actor_id:ASC" | "actor_email:ASC" | "entity_action:ASC" | "entity_content_type:ASC" | "entity_id:ASC" | "entity_label:ASC" | "path:DESC" | "method:DESC" | "request_id:DESC" | "ipaddress:DESC" | "user_agent:DESC" | "route_path:DESC" | "route_handler:DESC" | "actor_type:DESC" | "actor_id:DESC" | "actor_email:DESC" | "entity_action:DESC" | "entity_content_type:DESC" | "entity_id:DESC" | "entity_label:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "url:ASC" | "url:DESC" | "path:ASC" | "method:ASC" | "request_id:ASC" | "ipaddress:ASC" | "user_agent:ASC" | "route_path:ASC" | "route_handler:ASC" | "actor_type:ASC" | "actor_id:ASC" | "actor_email:ASC" | "entity_action:ASC" | "entity_content_type:ASC" | "entity_id:ASC" | "entity_label:ASC" | "path:DESC" | "method:DESC" | "request_id:DESC" | "ipaddress:DESC" | "user_agent:DESC" | "route_path:DESC" | "route_handler:DESC" | "actor_type:DESC" | "actor_id:DESC" | "actor_email:DESC" | "entity_action:DESC" | "entity_content_type:DESC" | "entity_id:DESC" | "entity_label:DESC")[], 18, undefined>]>, undefined>;
|
|
131
131
|
}, undefined>;
|
|
132
132
|
type QueryStrapiSearchAuditLogs = v.InferOutput<typeof QueryStrapiSearchAuditLogs>;
|
|
133
133
|
//#endregion
|
|
@@ -2,7 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
2
2
|
const require_chunk = require("../../chunk-CKQMccvm.cjs");
|
|
3
3
|
const require_validators = require("../../validators-Bc9Is5Sr.cjs");
|
|
4
4
|
const require_strapi = require("../../strapi-C7POOPEf.cjs");
|
|
5
|
-
const require_document = require("../../document-
|
|
5
|
+
const require_document = require("../../document-Coz4Rm8I.cjs");
|
|
6
6
|
let valibot = require("valibot");
|
|
7
7
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
8
8
|
//#region src/entities/blog-post/query.ts
|
|
@@ -256,7 +256,7 @@ declare const BlogPostDocument: v.ObjectSchema<{
|
|
|
256
256
|
type BlogPostDocument = v.InferOutput<typeof BlogPostDocument>;
|
|
257
257
|
//#endregion
|
|
258
258
|
//#region src/entities/blog-post/fields.d.ts
|
|
259
|
-
declare const QuerySortBlogPosts: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "
|
|
259
|
+
declare const QuerySortBlogPosts: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:ASC" | "slug:ASC" | "title:DESC" | "slug:DESC" | "is_featured:ASC" | "is_featured:DESC" | "published:ASC" | "is_live:ASC" | "is_public:ASC" | "published:DESC" | "is_live:DESC" | "is_public:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:ASC" | "slug:ASC" | "title:DESC" | "slug:DESC" | "is_featured:ASC" | "is_featured:DESC" | "published:ASC" | "is_live:ASC" | "is_public:ASC" | "published:DESC" | "is_live:DESC" | "is_public:DESC")[], 9, undefined>]>, undefined>;
|
|
260
260
|
type QuerySortBlogPosts = v.InferOutput<typeof QuerySortBlogPosts>;
|
|
261
261
|
declare const BlogPostLayout: v.PicklistSchema<readonly ["main-aside", "center-column"], undefined>;
|
|
262
262
|
type BlogPostLayout = v.InferOutput<typeof BlogPostLayout>;
|
|
@@ -904,13 +904,13 @@ declare const QueryStrapiSearchBlogPosts: v.ObjectSchema<{
|
|
|
904
904
|
readonly category: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
905
905
|
readonly tags: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
906
906
|
readonly status: v.OptionalSchema<v.PicklistSchema<readonly ["draft", "published"], undefined>, undefined>;
|
|
907
|
-
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "
|
|
907
|
+
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:ASC" | "slug:ASC" | "title:DESC" | "slug:DESC" | "is_featured:ASC" | "is_featured:DESC" | "published:ASC" | "is_live:ASC" | "is_public:ASC" | "published:DESC" | "is_live:DESC" | "is_public:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:ASC" | "slug:ASC" | "title:DESC" | "slug:DESC" | "is_featured:ASC" | "is_featured:DESC" | "published:ASC" | "is_live:ASC" | "is_public:ASC" | "published:DESC" | "is_live:DESC" | "is_public:DESC")[], 9, undefined>]>, undefined>;
|
|
908
908
|
}, undefined>;
|
|
909
909
|
type QueryStrapiSearchBlogPosts = v.InferOutput<typeof QueryStrapiSearchBlogPosts>;
|
|
910
910
|
declare const QueryStrapiSearchBlogPostsBySlug: v.ObjectSchema<{
|
|
911
911
|
readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
912
912
|
readonly status: v.OptionalSchema<v.PicklistSchema<readonly ["draft", "published"], undefined>, "published">;
|
|
913
|
-
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "
|
|
913
|
+
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:ASC" | "slug:ASC" | "title:DESC" | "slug:DESC" | "is_featured:ASC" | "is_featured:DESC" | "published:ASC" | "is_live:ASC" | "is_public:ASC" | "published:DESC" | "is_live:DESC" | "is_public:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:ASC" | "slug:ASC" | "title:DESC" | "slug:DESC" | "is_featured:ASC" | "is_featured:DESC" | "published:ASC" | "is_live:ASC" | "is_public:ASC" | "published:DESC" | "is_live:DESC" | "is_public:DESC")[], 9, undefined>]>, undefined>;
|
|
914
914
|
}, undefined>;
|
|
915
915
|
type QueryStrapiSearchBlogPostsBySlug = v.InferOutput<typeof QueryStrapiSearchBlogPostsBySlug>;
|
|
916
916
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as JsonData } from "../../json-
|
|
1
|
+
import { t as JsonData } from "../../json-CiA5ZRzc.mjs";
|
|
2
2
|
import * as v from "valibot";
|
|
3
3
|
|
|
4
4
|
//#region src/entities/blog-post/constants.d.ts
|
|
@@ -256,7 +256,7 @@ declare const BlogPostDocument: v.ObjectSchema<{
|
|
|
256
256
|
type BlogPostDocument = v.InferOutput<typeof BlogPostDocument>;
|
|
257
257
|
//#endregion
|
|
258
258
|
//#region src/entities/blog-post/fields.d.ts
|
|
259
|
-
declare const QuerySortBlogPosts: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "
|
|
259
|
+
declare const QuerySortBlogPosts: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:ASC" | "slug:ASC" | "title:DESC" | "slug:DESC" | "is_featured:ASC" | "is_featured:DESC" | "published:ASC" | "is_live:ASC" | "is_public:ASC" | "published:DESC" | "is_live:DESC" | "is_public:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:ASC" | "slug:ASC" | "title:DESC" | "slug:DESC" | "is_featured:ASC" | "is_featured:DESC" | "published:ASC" | "is_live:ASC" | "is_public:ASC" | "published:DESC" | "is_live:DESC" | "is_public:DESC")[], 9, undefined>]>, undefined>;
|
|
260
260
|
type QuerySortBlogPosts = v.InferOutput<typeof QuerySortBlogPosts>;
|
|
261
261
|
declare const BlogPostLayout: v.PicklistSchema<readonly ["main-aside", "center-column"], undefined>;
|
|
262
262
|
type BlogPostLayout = v.InferOutput<typeof BlogPostLayout>;
|
|
@@ -904,13 +904,13 @@ declare const QueryStrapiSearchBlogPosts: v.ObjectSchema<{
|
|
|
904
904
|
readonly category: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
905
905
|
readonly tags: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
906
906
|
readonly status: v.OptionalSchema<v.PicklistSchema<readonly ["draft", "published"], undefined>, undefined>;
|
|
907
|
-
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "
|
|
907
|
+
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:ASC" | "slug:ASC" | "title:DESC" | "slug:DESC" | "is_featured:ASC" | "is_featured:DESC" | "published:ASC" | "is_live:ASC" | "is_public:ASC" | "published:DESC" | "is_live:DESC" | "is_public:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:ASC" | "slug:ASC" | "title:DESC" | "slug:DESC" | "is_featured:ASC" | "is_featured:DESC" | "published:ASC" | "is_live:ASC" | "is_public:ASC" | "published:DESC" | "is_live:DESC" | "is_public:DESC")[], 9, undefined>]>, undefined>;
|
|
908
908
|
}, undefined>;
|
|
909
909
|
type QueryStrapiSearchBlogPosts = v.InferOutput<typeof QueryStrapiSearchBlogPosts>;
|
|
910
910
|
declare const QueryStrapiSearchBlogPostsBySlug: v.ObjectSchema<{
|
|
911
911
|
readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
912
912
|
readonly status: v.OptionalSchema<v.PicklistSchema<readonly ["draft", "published"], undefined>, "published">;
|
|
913
|
-
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "
|
|
913
|
+
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:ASC" | "slug:ASC" | "title:DESC" | "slug:DESC" | "is_featured:ASC" | "is_featured:DESC" | "published:ASC" | "is_live:ASC" | "is_public:ASC" | "published:DESC" | "is_live:DESC" | "is_public:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:ASC" | "slug:ASC" | "title:DESC" | "slug:DESC" | "is_featured:ASC" | "is_featured:DESC" | "published:ASC" | "is_live:ASC" | "is_public:ASC" | "published:DESC" | "is_live:DESC" | "is_public:DESC")[], 9, undefined>]>, undefined>;
|
|
914
914
|
}, undefined>;
|
|
915
915
|
type QueryStrapiSearchBlogPostsBySlug = v.InferOutput<typeof QueryStrapiSearchBlogPostsBySlug>;
|
|
916
916
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h as VStringShort, i as VSize, r as VPage } from "../../validators-P5E_3qzc.mjs";
|
|
2
2
|
import { t as ContentStatus } from "../../strapi-C0DtxJLD.mjs";
|
|
3
|
-
import { a as BLOG_POST_LAYOUT, c as LIMIT_BLOG_POST_PAGINATION_MAX_SIZE, i as QuerySortBlogPosts, n as BlogPostBlock, o as BLOG_POST_SORT_KEYS, r as BlogPostLayout, s as LIMIT_BLOG_POST_PAGINATION_DEFAULT_SIZE, t as BlogPostDocument } from "../../document-
|
|
3
|
+
import { a as BLOG_POST_LAYOUT, c as LIMIT_BLOG_POST_PAGINATION_MAX_SIZE, i as QuerySortBlogPosts, n as BlogPostBlock, o as BLOG_POST_SORT_KEYS, r as BlogPostLayout, s as LIMIT_BLOG_POST_PAGINATION_DEFAULT_SIZE, t as BlogPostDocument } from "../../document-DiOskbh3.mjs";
|
|
4
4
|
import * as v from "valibot";
|
|
5
5
|
//#region src/entities/blog-post/query.ts
|
|
6
6
|
const QueryStrapiSearchBlogPosts = v.object({
|
|
@@ -4,7 +4,7 @@ const require_document = require("../../document-BAro2Mrj.cjs");
|
|
|
4
4
|
const require_regex = require("../../regex-Cl5goNwp.cjs");
|
|
5
5
|
const require_validators = require("../../validators-Bc9Is5Sr.cjs");
|
|
6
6
|
const require_relations = require("../../relations-CGu18hfT.cjs");
|
|
7
|
-
const require_document$1 = require("../../document-
|
|
7
|
+
const require_document$1 = require("../../document-Coz4Rm8I.cjs");
|
|
8
8
|
let valibot = require("valibot");
|
|
9
9
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
10
10
|
//#region src/entities/category/constants.ts
|
|
@@ -264,7 +264,7 @@ declare const CategoryDocument: v.ObjectSchema<{
|
|
|
264
264
|
type CategoryDocument = v.InferOutput<typeof CategoryDocument>;
|
|
265
265
|
//#endregion
|
|
266
266
|
//#region src/entities/category/fields.d.ts
|
|
267
|
-
declare const QuerySortCategories: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:ASC" | "
|
|
267
|
+
declare const QuerySortCategories: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:ASC" | "slug:DESC" | "label:ASC" | "label:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:ASC" | "slug:DESC" | "label:ASC" | "label:DESC")[], 5, undefined>]>, undefined>;
|
|
268
268
|
type QuerySortCategories = v.InferOutput<typeof QuerySortCategories>;
|
|
269
269
|
//#endregion
|
|
270
270
|
//#region src/entities/category/mutation.d.ts
|
|
@@ -293,7 +293,7 @@ declare const QueryStrapiSearchCategories: v.ObjectSchema<{
|
|
|
293
293
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
294
294
|
readonly label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
295
295
|
readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
296
|
-
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:ASC" | "
|
|
296
|
+
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:ASC" | "slug:DESC" | "label:ASC" | "label:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:ASC" | "slug:DESC" | "label:ASC" | "label:DESC")[], 5, undefined>]>, undefined>;
|
|
297
297
|
}, undefined>;
|
|
298
298
|
type QueryStrapiSearchCategories = v.InferOutput<typeof QueryStrapiSearchCategories>;
|
|
299
299
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as JsonData } from "../../json-
|
|
1
|
+
import { t as JsonData } from "../../json-CiA5ZRzc.mjs";
|
|
2
2
|
import * as v from "valibot";
|
|
3
3
|
|
|
4
4
|
//#region src/entities/category/constants.d.ts
|
|
@@ -264,7 +264,7 @@ declare const CategoryDocument: v.ObjectSchema<{
|
|
|
264
264
|
type CategoryDocument = v.InferOutput<typeof CategoryDocument>;
|
|
265
265
|
//#endregion
|
|
266
266
|
//#region src/entities/category/fields.d.ts
|
|
267
|
-
declare const QuerySortCategories: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:ASC" | "
|
|
267
|
+
declare const QuerySortCategories: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:ASC" | "slug:DESC" | "label:ASC" | "label:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:ASC" | "slug:DESC" | "label:ASC" | "label:DESC")[], 5, undefined>]>, undefined>;
|
|
268
268
|
type QuerySortCategories = v.InferOutput<typeof QuerySortCategories>;
|
|
269
269
|
//#endregion
|
|
270
270
|
//#region src/entities/category/mutation.d.ts
|
|
@@ -293,7 +293,7 @@ declare const QueryStrapiSearchCategories: v.ObjectSchema<{
|
|
|
293
293
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
294
294
|
readonly label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
295
295
|
readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
296
|
-
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:ASC" | "
|
|
296
|
+
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:ASC" | "slug:DESC" | "label:ASC" | "label:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:ASC" | "slug:DESC" | "label:ASC" | "label:DESC")[], 5, undefined>]>, undefined>;
|
|
297
297
|
}, undefined>;
|
|
298
298
|
type QueryStrapiSearchCategories = v.InferOutput<typeof QueryStrapiSearchCategories>;
|
|
299
299
|
//#endregion
|
|
@@ -2,7 +2,7 @@ import { t as BaseDocument } from "../../document-Bqoi1MdT.mjs";
|
|
|
2
2
|
import { n as ERROR_MESSAGE_REGEX_URL_SLUG, o as REGEX_URL_SLUG } from "../../regex-BnKGcdS4.mjs";
|
|
3
3
|
import { d as VStringMinMax, f as VStringMinMaxRegex, i as VSize, l as VStringMax, r as VPage } from "../../validators-P5E_3qzc.mjs";
|
|
4
4
|
import { a as SAssociateOneEntity } from "../../relations-C04F46xL.mjs";
|
|
5
|
-
import { t as BlogPostDocument } from "../../document-
|
|
5
|
+
import { t as BlogPostDocument } from "../../document-DiOskbh3.mjs";
|
|
6
6
|
import * as v from "valibot";
|
|
7
7
|
//#region src/entities/category/constants.ts
|
|
8
8
|
const LIMIT_CATEGORIES_PAGINATION_DEFAULT_SIZE = 100;
|
|
@@ -3,7 +3,7 @@ const require_chunk = require("../../chunk-CKQMccvm.cjs");
|
|
|
3
3
|
require("../../regex-Cl5goNwp.cjs");
|
|
4
4
|
const require_validators = require("../../validators-Bc9Is5Sr.cjs");
|
|
5
5
|
const require_relations = require("../../relations-CGu18hfT.cjs");
|
|
6
|
-
const require_document = require("../../document-
|
|
6
|
+
const require_document = require("../../document-2o5WNt6V.cjs");
|
|
7
7
|
let valibot = require("valibot");
|
|
8
8
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
9
9
|
//#region src/entities/client/constants.ts
|
|
@@ -8,7 +8,7 @@ declare const CLIENT_SORT_KEYS: readonly ["id", "title", "teamwork_id", "teamwor
|
|
|
8
8
|
declare const CLIENT_CLASSIFICATIONS: readonly ["organic", "paid"];
|
|
9
9
|
//#endregion
|
|
10
10
|
//#region src/entities/client/fields.d.ts
|
|
11
|
-
declare const QuerySortClients: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "
|
|
11
|
+
declare const QuerySortClients: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "title:ASC" | "is_organic_social:ASC" | "is_paid_media:ASC" | "title:DESC" | "is_organic_social:DESC" | "is_paid_media:DESC" | "is_hidden:ASC" | "is_hidden:DESC" | "is_featured:ASC" | "teamwork_id:ASC" | "teamwork_name:ASC" | "utm_sheet_id:ASC" | "allow_create_utm_link:ASC" | "is_featured:DESC" | "teamwork_id:DESC" | "teamwork_name:DESC" | "utm_sheet_id:DESC" | "allow_create_utm_link:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "title:ASC" | "is_organic_social:ASC" | "is_paid_media:ASC" | "title:DESC" | "is_organic_social:DESC" | "is_paid_media:DESC" | "is_hidden:ASC" | "is_hidden:DESC" | "is_featured:ASC" | "teamwork_id:ASC" | "teamwork_name:ASC" | "utm_sheet_id:ASC" | "allow_create_utm_link:ASC" | "is_featured:DESC" | "teamwork_id:DESC" | "teamwork_name:DESC" | "utm_sheet_id:DESC" | "allow_create_utm_link:DESC")[], 13, undefined>]>, undefined>;
|
|
12
12
|
type QuerySortClients = v.InferOutput<typeof QuerySortClients>;
|
|
13
13
|
declare const ClientClassification: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>, v.MaxLengthAction<("organic" | "paid")[], 2, undefined>]>;
|
|
14
14
|
//#endregion
|
|
@@ -78,7 +78,7 @@ declare const QueryStrapiSearchClients: v.ObjectSchema<{
|
|
|
78
78
|
readonly is_paid_media: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
79
79
|
readonly is_organic_social: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
80
80
|
readonly classification: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>, v.MaxLengthAction<("organic" | "paid")[], 2, undefined>]>, undefined>;
|
|
81
|
-
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "
|
|
81
|
+
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "title:ASC" | "is_organic_social:ASC" | "is_paid_media:ASC" | "title:DESC" | "is_organic_social:DESC" | "is_paid_media:DESC" | "is_hidden:ASC" | "is_hidden:DESC" | "is_featured:ASC" | "teamwork_id:ASC" | "teamwork_name:ASC" | "utm_sheet_id:ASC" | "allow_create_utm_link:ASC" | "is_featured:DESC" | "teamwork_id:DESC" | "teamwork_name:DESC" | "utm_sheet_id:DESC" | "allow_create_utm_link:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "title:ASC" | "is_organic_social:ASC" | "is_paid_media:ASC" | "title:DESC" | "is_organic_social:DESC" | "is_paid_media:DESC" | "is_hidden:ASC" | "is_hidden:DESC" | "is_featured:ASC" | "teamwork_id:ASC" | "teamwork_name:ASC" | "utm_sheet_id:ASC" | "allow_create_utm_link:ASC" | "is_featured:DESC" | "teamwork_id:DESC" | "teamwork_name:DESC" | "utm_sheet_id:DESC" | "allow_create_utm_link:DESC")[], 13, undefined>]>, undefined>;
|
|
82
82
|
}, undefined>;
|
|
83
83
|
type QueryStrapiSearchClients = v.InferOutput<typeof QueryStrapiSearchClients>;
|
|
84
84
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as ClientDocument } from "../../document-
|
|
1
|
+
import { t as ClientDocument } from "../../document-DmZ3XRi8.mjs";
|
|
2
2
|
import * as v from "valibot";
|
|
3
3
|
|
|
4
4
|
//#region src/entities/client/constants.d.ts
|
|
@@ -8,7 +8,7 @@ declare const CLIENT_SORT_KEYS: readonly ["id", "title", "teamwork_id", "teamwor
|
|
|
8
8
|
declare const CLIENT_CLASSIFICATIONS: readonly ["organic", "paid"];
|
|
9
9
|
//#endregion
|
|
10
10
|
//#region src/entities/client/fields.d.ts
|
|
11
|
-
declare const QuerySortClients: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "
|
|
11
|
+
declare const QuerySortClients: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "title:ASC" | "is_organic_social:ASC" | "is_paid_media:ASC" | "title:DESC" | "is_organic_social:DESC" | "is_paid_media:DESC" | "is_hidden:ASC" | "is_hidden:DESC" | "is_featured:ASC" | "teamwork_id:ASC" | "teamwork_name:ASC" | "utm_sheet_id:ASC" | "allow_create_utm_link:ASC" | "is_featured:DESC" | "teamwork_id:DESC" | "teamwork_name:DESC" | "utm_sheet_id:DESC" | "allow_create_utm_link:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "title:ASC" | "is_organic_social:ASC" | "is_paid_media:ASC" | "title:DESC" | "is_organic_social:DESC" | "is_paid_media:DESC" | "is_hidden:ASC" | "is_hidden:DESC" | "is_featured:ASC" | "teamwork_id:ASC" | "teamwork_name:ASC" | "utm_sheet_id:ASC" | "allow_create_utm_link:ASC" | "is_featured:DESC" | "teamwork_id:DESC" | "teamwork_name:DESC" | "utm_sheet_id:DESC" | "allow_create_utm_link:DESC")[], 13, undefined>]>, undefined>;
|
|
12
12
|
type QuerySortClients = v.InferOutput<typeof QuerySortClients>;
|
|
13
13
|
declare const ClientClassification: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>, v.MaxLengthAction<("organic" | "paid")[], 2, undefined>]>;
|
|
14
14
|
//#endregion
|
|
@@ -78,7 +78,7 @@ declare const QueryStrapiSearchClients: v.ObjectSchema<{
|
|
|
78
78
|
readonly is_paid_media: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
79
79
|
readonly is_organic_social: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
80
80
|
readonly classification: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>, v.MaxLengthAction<("organic" | "paid")[], 2, undefined>]>, undefined>;
|
|
81
|
-
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "
|
|
81
|
+
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "title:ASC" | "is_organic_social:ASC" | "is_paid_media:ASC" | "title:DESC" | "is_organic_social:DESC" | "is_paid_media:DESC" | "is_hidden:ASC" | "is_hidden:DESC" | "is_featured:ASC" | "teamwork_id:ASC" | "teamwork_name:ASC" | "utm_sheet_id:ASC" | "allow_create_utm_link:ASC" | "is_featured:DESC" | "teamwork_id:DESC" | "teamwork_name:DESC" | "utm_sheet_id:DESC" | "allow_create_utm_link:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "title:ASC" | "is_organic_social:ASC" | "is_paid_media:ASC" | "title:DESC" | "is_organic_social:DESC" | "is_paid_media:DESC" | "is_hidden:ASC" | "is_hidden:DESC" | "is_featured:ASC" | "teamwork_id:ASC" | "teamwork_name:ASC" | "utm_sheet_id:ASC" | "allow_create_utm_link:ASC" | "is_featured:DESC" | "teamwork_id:DESC" | "teamwork_name:DESC" | "utm_sheet_id:DESC" | "allow_create_utm_link:DESC")[], 13, undefined>]>, undefined>;
|
|
82
82
|
}, undefined>;
|
|
83
83
|
type QueryStrapiSearchClients = v.InferOutput<typeof QueryStrapiSearchClients>;
|
|
84
84
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../regex-BnKGcdS4.mjs";
|
|
2
2
|
import { d as VStringMinMax, i as VSize, l as VStringMax, r as VPage } from "../../validators-P5E_3qzc.mjs";
|
|
3
3
|
import { a as SAssociateOneEntity } from "../../relations-C04F46xL.mjs";
|
|
4
|
-
import { t as ClientDocument } from "../../document-
|
|
4
|
+
import { t as ClientDocument } from "../../document-COaupB1r.mjs";
|
|
5
5
|
import * as v from "valibot";
|
|
6
6
|
//#region src/entities/client/constants.ts
|
|
7
7
|
const LIMIT_CLIENT_PAGINATION_DEFAULT_SIZE = 20;
|
|
@@ -4,8 +4,8 @@ const require_document = require("../../document-BAro2Mrj.cjs");
|
|
|
4
4
|
require("../../regex-Cl5goNwp.cjs");
|
|
5
5
|
const require_validators = require("../../validators-Bc9Is5Sr.cjs");
|
|
6
6
|
const require_relations = require("../../relations-CGu18hfT.cjs");
|
|
7
|
-
const require_document$1 = require("../../document-
|
|
8
|
-
const require_document$2 = require("../../document-
|
|
7
|
+
const require_document$1 = require("../../document-2o5WNt6V.cjs");
|
|
8
|
+
const require_document$2 = require("../../document-BVPXeweR.cjs");
|
|
9
9
|
let valibot = require("valibot");
|
|
10
10
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
11
11
|
//#region src/entities/client-content-pillar/constants.ts
|
|
@@ -7,7 +7,7 @@ declare const LIMIT_CLIENT_CONTENT_PILLAR_PAGINATION_MAX_SIZE = 100;
|
|
|
7
7
|
declare const CLIENT_CONTENT_PILLAR_SORT_KEYS: readonly ["id", "is_active", "content_pillar.title", "content_pillar.slug", "createdAt", "updatedAt"];
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/entities/client-content-pillar/fields.d.ts
|
|
10
|
-
declare const QuerySortClientContentPillars: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "
|
|
10
|
+
declare const QuerySortClientContentPillars: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "content_pillar.title:ASC" | "content_pillar.slug:ASC" | "content_pillar.title:DESC" | "content_pillar.slug:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "content_pillar.title:ASC" | "content_pillar.slug:ASC" | "content_pillar.title:DESC" | "content_pillar.slug:DESC")[], 6, undefined>]>, undefined>;
|
|
11
11
|
type QuerySortClientContentPillars = v.InferOutput<typeof QuerySortClientContentPillars>;
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/entities/client-content-pillar/mutation.d.ts
|
|
@@ -42,7 +42,7 @@ declare const QueryStrapiSearchClientContentPillars: v.ObjectSchema<{
|
|
|
42
42
|
readonly clients: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>]>, undefined>;
|
|
43
43
|
readonly content_pillar_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
44
44
|
readonly content_pillars: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>]>, undefined>;
|
|
45
|
-
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "
|
|
45
|
+
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "content_pillar.title:ASC" | "content_pillar.slug:ASC" | "content_pillar.title:DESC" | "content_pillar.slug:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "content_pillar.title:ASC" | "content_pillar.slug:ASC" | "content_pillar.title:DESC" | "content_pillar.slug:DESC")[], 6, undefined>]>, undefined>;
|
|
46
46
|
}, undefined>;
|
|
47
47
|
type QueryStrapiSearchClientContentPillars = v.InferOutput<typeof QueryStrapiSearchClientContentPillars>;
|
|
48
48
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as ClientContentPillarDocument } from "../../document-
|
|
1
|
+
import { t as ClientContentPillarDocument } from "../../document-B0j6d1nH.mjs";
|
|
2
2
|
import * as v from "valibot";
|
|
3
3
|
|
|
4
4
|
//#region src/entities/client-content-pillar/constants.d.ts
|
|
@@ -7,7 +7,7 @@ declare const LIMIT_CLIENT_CONTENT_PILLAR_PAGINATION_MAX_SIZE = 100;
|
|
|
7
7
|
declare const CLIENT_CONTENT_PILLAR_SORT_KEYS: readonly ["id", "is_active", "content_pillar.title", "content_pillar.slug", "createdAt", "updatedAt"];
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/entities/client-content-pillar/fields.d.ts
|
|
10
|
-
declare const QuerySortClientContentPillars: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "
|
|
10
|
+
declare const QuerySortClientContentPillars: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "content_pillar.title:ASC" | "content_pillar.slug:ASC" | "content_pillar.title:DESC" | "content_pillar.slug:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "content_pillar.title:ASC" | "content_pillar.slug:ASC" | "content_pillar.title:DESC" | "content_pillar.slug:DESC")[], 6, undefined>]>, undefined>;
|
|
11
11
|
type QuerySortClientContentPillars = v.InferOutput<typeof QuerySortClientContentPillars>;
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/entities/client-content-pillar/mutation.d.ts
|
|
@@ -42,7 +42,7 @@ declare const QueryStrapiSearchClientContentPillars: v.ObjectSchema<{
|
|
|
42
42
|
readonly clients: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>]>, undefined>;
|
|
43
43
|
readonly content_pillar_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
44
44
|
readonly content_pillars: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>]>, undefined>;
|
|
45
|
-
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "
|
|
45
|
+
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "content_pillar.title:ASC" | "content_pillar.slug:ASC" | "content_pillar.title:DESC" | "content_pillar.slug:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "content_pillar.title:ASC" | "content_pillar.slug:ASC" | "content_pillar.title:DESC" | "content_pillar.slug:DESC")[], 6, undefined>]>, undefined>;
|
|
46
46
|
}, undefined>;
|
|
47
47
|
type QueryStrapiSearchClientContentPillars = v.InferOutput<typeof QueryStrapiSearchClientContentPillars>;
|
|
48
48
|
//#endregion
|
|
@@ -2,8 +2,8 @@ import { t as BaseDocument } from "../../document-Bqoi1MdT.mjs";
|
|
|
2
2
|
import "../../regex-BnKGcdS4.mjs";
|
|
3
3
|
import { d as VStringMinMax, i as VSize, r as VPage } from "../../validators-P5E_3qzc.mjs";
|
|
4
4
|
import { a as SAssociateOneEntity, s as SQueryManyEntities } from "../../relations-C04F46xL.mjs";
|
|
5
|
-
import { t as ClientDocument } from "../../document-
|
|
6
|
-
import { t as ContentPillarDocument } from "../../document-
|
|
5
|
+
import { t as ClientDocument } from "../../document-COaupB1r.mjs";
|
|
6
|
+
import { t as ContentPillarDocument } from "../../document-C21JZnEl.mjs";
|
|
7
7
|
import * as v from "valibot";
|
|
8
8
|
//#region src/entities/client-content-pillar/constants.ts
|
|
9
9
|
const LIMIT_CLIENT_CONTENT_PILLAR_PAGINATION_DEFAULT_SIZE = 10;
|
|
@@ -7,7 +7,7 @@ declare const LIMIT_CLIENT_MEDIA_PLATFORM_PAGINATION_MAX_SIZE = 100;
|
|
|
7
7
|
declare const CLIENT_MEDIA_PLATFORM_SORT_KEYS: readonly ["id", "is_active", "is_organic_social", "is_paid_media", "createdAt", "updatedAt", "media_platform.title", "media_platform.slug", "media_platform.createdAt", "media_platform.updatedAt"];
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/entities/client-media-platform/fields.d.ts
|
|
10
|
-
declare const QuerySortClientMediaPlatforms: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "
|
|
10
|
+
declare const QuerySortClientMediaPlatforms: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "is_organic_social:ASC" | "is_paid_media:ASC" | "is_organic_social:DESC" | "is_paid_media:DESC" | "media_platform.title:ASC" | "media_platform.slug:ASC" | "media_platform.createdAt:ASC" | "media_platform.updatedAt:ASC" | "media_platform.title:DESC" | "media_platform.slug:DESC" | "media_platform.createdAt:DESC" | "media_platform.updatedAt:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "is_organic_social:ASC" | "is_paid_media:ASC" | "is_organic_social:DESC" | "is_paid_media:DESC" | "media_platform.title:ASC" | "media_platform.slug:ASC" | "media_platform.createdAt:ASC" | "media_platform.updatedAt:ASC" | "media_platform.title:DESC" | "media_platform.slug:DESC" | "media_platform.createdAt:DESC" | "media_platform.updatedAt:DESC")[], 10, undefined>]>, undefined>;
|
|
11
11
|
type QuerySortClientMediaPlatforms = v.InferOutput<typeof QuerySortClientMediaPlatforms>;
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/entities/client-media-platform/mutation.d.ts
|
|
@@ -46,7 +46,7 @@ declare const QueryStrapiSearchClientMediaPlatforms: v.ObjectSchema<{
|
|
|
46
46
|
readonly clients: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>]>, undefined>;
|
|
47
47
|
readonly media_platform_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
48
48
|
readonly media_platforms: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>]>, undefined>;
|
|
49
|
-
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "
|
|
49
|
+
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "is_organic_social:ASC" | "is_paid_media:ASC" | "is_organic_social:DESC" | "is_paid_media:DESC" | "media_platform.title:ASC" | "media_platform.slug:ASC" | "media_platform.createdAt:ASC" | "media_platform.updatedAt:ASC" | "media_platform.title:DESC" | "media_platform.slug:DESC" | "media_platform.createdAt:DESC" | "media_platform.updatedAt:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "is_organic_social:ASC" | "is_paid_media:ASC" | "is_organic_social:DESC" | "is_paid_media:DESC" | "media_platform.title:ASC" | "media_platform.slug:ASC" | "media_platform.createdAt:ASC" | "media_platform.updatedAt:ASC" | "media_platform.title:DESC" | "media_platform.slug:DESC" | "media_platform.createdAt:DESC" | "media_platform.updatedAt:DESC")[], 10, undefined>]>, undefined>;
|
|
50
50
|
}, undefined>;
|
|
51
51
|
type QueryStrapiSearchClientMediaPlatforms = v.InferOutput<typeof QueryStrapiSearchClientMediaPlatforms>;
|
|
52
52
|
//#endregion
|