@getcommunity/gc-validators 0.0.288-alpha.2 → 0.0.288-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/base/index.cjs +1 -1
- package/dist/base/index.d.cts +2 -2
- package/dist/base/index.d.mts +2 -2
- package/dist/base/index.mjs +1 -1
- package/dist/{document-DKCXrhcv.mjs → document-CMD9cQiK.mjs} +9 -9
- package/dist/entities/audit-log/query.cjs +7 -6
- package/dist/entities/audit-log/query.d.cts +6 -25
- package/dist/entities/audit-log/query.d.mts +6 -25
- package/dist/entities/audit-log/query.mjs +2 -1
- package/dist/entities/blog-post/document.cjs +1 -1
- package/dist/entities/blog-post/document.mjs +1 -1
- package/dist/entities/blog-post/query.cjs +9 -8
- package/dist/entities/blog-post/query.d.cts +6 -21
- package/dist/entities/blog-post/query.d.mts +6 -21
- package/dist/entities/blog-post/query.mjs +2 -1
- package/dist/entities/category/document.cjs +1 -1
- package/dist/entities/category/document.mjs +1 -1
- package/dist/entities/category/query.cjs +7 -6
- package/dist/entities/category/query.d.cts +6 -12
- package/dist/entities/category/query.d.mts +6 -12
- package/dist/entities/category/query.mjs +2 -1
- package/dist/entities/client/query.cjs +6 -5
- package/dist/entities/client/query.d.cts +1 -1
- package/dist/entities/client/query.d.mts +1 -1
- package/dist/entities/client/query.mjs +2 -1
- package/dist/entities/client-content-pillar/query.cjs +1 -1
- package/dist/entities/client-content-pillar/query.d.cts +1 -1
- package/dist/entities/client-content-pillar/query.d.mts +1 -1
- package/dist/entities/client-content-pillar/query.mjs +1 -1
- package/dist/entities/client-media-platform/query.cjs +1 -1
- package/dist/entities/client-media-platform/query.d.cts +1 -1
- package/dist/entities/client-media-platform/query.d.mts +1 -1
- package/dist/entities/client-media-platform/query.mjs +1 -1
- package/dist/entities/client-project/query.cjs +12 -11
- package/dist/entities/client-project/query.d.cts +7 -29
- package/dist/entities/client-project/query.d.mts +7 -29
- package/dist/entities/client-project/query.mjs +2 -1
- package/dist/entities/client-report/query.cjs +6 -5
- package/dist/entities/client-report/query.d.cts +7 -18
- package/dist/entities/client-report/query.d.mts +7 -18
- package/dist/entities/client-report/query.mjs +2 -1
- package/dist/entities/client-styleguide/query.cjs +6 -5
- package/dist/entities/client-styleguide/query.d.cts +7 -14
- package/dist/entities/client-styleguide/query.d.mts +7 -14
- package/dist/entities/client-styleguide/query.mjs +2 -1
- package/dist/entities/client-user/query.cjs +1 -1
- package/dist/entities/client-user/query.d.cts +1 -1
- package/dist/entities/client-user/query.d.mts +1 -1
- package/dist/entities/client-user/query.mjs +1 -1
- package/dist/entities/content-pillar/query.cjs +1 -1
- package/dist/entities/content-pillar/query.d.cts +1 -1
- package/dist/entities/content-pillar/query.d.mts +1 -1
- package/dist/entities/content-pillar/query.mjs +1 -1
- package/dist/entities/formatter/constants.d.cts +1 -1
- package/dist/entities/formatter/constants.d.mts +1 -1
- package/dist/entities/formatter/fields.d.cts +4 -4
- package/dist/entities/formatter/fields.d.mts +4 -4
- package/dist/entities/gcflytour/query.cjs +1 -1
- package/dist/entities/gcflytour/query.d.cts +1 -1
- package/dist/entities/gcflytour/query.d.mts +1 -1
- package/dist/entities/gcflytour/query.mjs +1 -1
- package/dist/entities/gcflytour-snap/query.cjs +1 -1
- package/dist/entities/gcflytour-snap/query.d.cts +1 -1
- package/dist/entities/gcflytour-snap/query.d.mts +1 -1
- package/dist/entities/gcflytour-snap/query.mjs +1 -1
- package/dist/entities/media-content-type/query.cjs +1 -1
- package/dist/entities/media-content-type/query.d.cts +1 -1
- package/dist/entities/media-content-type/query.d.mts +1 -1
- package/dist/entities/media-content-type/query.mjs +1 -1
- package/dist/entities/media-creative-format/query.cjs +1 -1
- package/dist/entities/media-creative-format/query.d.cts +1 -1
- package/dist/entities/media-creative-format/query.d.mts +1 -1
- package/dist/entities/media-creative-format/query.mjs +1 -1
- package/dist/entities/media-medium/query.cjs +1 -1
- package/dist/entities/media-medium/query.d.cts +1 -1
- package/dist/entities/media-medium/query.d.mts +1 -1
- package/dist/entities/media-medium/query.mjs +1 -1
- package/dist/entities/media-platform/query.cjs +1 -1
- package/dist/entities/media-platform/query.d.cts +1 -1
- package/dist/entities/media-platform/query.d.mts +1 -1
- package/dist/entities/media-platform/query.mjs +1 -1
- package/dist/entities/monday-workspace/query.cjs +6 -5
- package/dist/entities/monday-workspace/query.d.cts +7 -14
- package/dist/entities/monday-workspace/query.d.mts +7 -14
- package/dist/entities/monday-workspace/query.mjs +2 -1
- package/dist/entities/tag/query.cjs +7 -6
- package/dist/entities/tag/query.d.cts +6 -12
- package/dist/entities/tag/query.d.mts +6 -12
- package/dist/entities/tag/query.mjs +2 -1
- package/dist/entities/team-member/document.cjs +1 -1
- package/dist/entities/team-member/document.mjs +1 -1
- package/dist/entities/team-member/query.cjs +8 -7
- package/dist/entities/team-member/query.d.cts +6 -17
- package/dist/entities/team-member/query.d.mts +6 -17
- package/dist/entities/team-member/query.mjs +2 -1
- package/dist/entities/trend/document.cjs +1 -1
- package/dist/entities/trend/document.mjs +1 -1
- package/dist/entities/up-permission/fields.d.cts +1 -1
- package/dist/entities/up-permission/fields.d.mts +1 -1
- package/dist/entities/up-role/query.cjs +6 -5
- package/dist/entities/up-role/query.d.cts +1 -1
- package/dist/entities/up-role/query.d.mts +1 -1
- package/dist/entities/up-role/query.mjs +2 -1
- package/dist/entities/up-user/query.cjs +1 -1
- package/dist/entities/up-user/query.d.cts +1 -1
- package/dist/entities/up-user/query.d.mts +1 -1
- package/dist/entities/up-user/query.mjs +1 -1
- package/dist/entities/url-redirect/query.cjs +6 -5
- package/dist/entities/url-redirect/query.d.cts +6 -15
- package/dist/entities/url-redirect/query.d.mts +6 -15
- package/dist/entities/url-redirect/query.mjs +2 -1
- package/dist/entities/user-account/query.cjs +1 -1
- package/dist/entities/user-account/query.d.cts +1 -1
- package/dist/entities/user-account/query.d.mts +1 -1
- package/dist/entities/user-account/query.mjs +1 -1
- package/dist/entities/utm-tracking-link/query.cjs +7 -6
- package/dist/entities/utm-tracking-link/query.d.cts +8 -30
- package/dist/entities/utm-tracking-link/query.d.mts +8 -30
- package/dist/entities/utm-tracking-link/query.mjs +3 -2
- package/dist/{fields-S54MmK9N.d.mts → fields-BoIWv7BD.d.mts} +1 -1
- package/dist/{fields-PCsCdBLK.d.cts → fields-DaAvm6kj.d.cts} +1 -1
- package/dist/filters/index.cjs +19 -18
- package/dist/filters/index.d.cts +109 -2
- package/dist/filters/index.d.mts +109 -2
- package/dist/filters/index.mjs +2 -1
- package/dist/{string-BzuFgUlq.mjs → identifier-CXlBnKdk.mjs} +1 -35
- package/dist/{string-CmrQCAO3.cjs → identifier-Dmax1xo2.cjs} +0 -52
- package/dist/{index-B3eh9Z-Q.d.cts → index-BgZbDm41.d.cts} +6 -1
- package/dist/{index-B3eh9Z-Q.d.mts → index-BgZbDm41.d.mts} +6 -1
- package/dist/{index-G2dwQO5K.d.cts → index-CPxt9kfS.d.cts} +3 -17
- package/dist/{index-S6qdsw3U.d.mts → index-QwaC0W5H.d.mts} +3 -17
- package/dist/{query-F1Pi5Frs.d.mts → query-0MyyHYA2.d.mts} +9 -8
- package/dist/{query-C6GwPFXA.d.mts → query-9J5wmu64.d.mts} +12 -33
- package/dist/{query-B_0RzvVW.cjs → query-B-6-qAuN.cjs} +12 -11
- package/dist/{query-CZWKfQ2W.d.mts → query-BOv5YhYc.d.cts} +16 -26
- package/dist/{query-Db1jwzou.d.cts → query-BQkvCQDy.d.mts} +16 -26
- package/dist/{query-0Z9KdoGa.d.mts → query-BSphap4l.d.mts} +14 -32
- package/dist/{query-Du84-6vd.mjs → query-B_Kr4diZ.mjs} +1 -1
- package/dist/{query-DxEOf4Ya.d.cts → query-BdS6AzQM.d.mts} +27 -79
- package/dist/{query-DAmB2_nm.d.cts → query-BiM_LW7b.d.cts} +12 -33
- package/dist/{query-Bi8_XzuT.mjs → query-BkrbXapq.mjs} +2 -1
- package/dist/{query-BGz5Dj7o.d.cts → query-C0STzKW-.d.cts} +9 -8
- package/dist/{query-BjiGq9-J.cjs → query-C1EUVVMT.cjs} +27 -26
- package/dist/{query-gZEGybi3.d.cts → query-CCAKLxKT.d.cts} +14 -32
- package/dist/{query-CZV-Qu8U.mjs → query-CQEN_HJN.mjs} +2 -1
- package/dist/{query-CJTbiRV2.mjs → query-CSOBMIJi.mjs} +2 -1
- package/dist/{query-Dzx1W_xi.cjs → query-CTqyKcbH.cjs} +11 -10
- package/dist/{query-X_l9YFS6.d.mts → query-CbCFSDNP.d.cts} +12 -27
- package/dist/{query-hvHQxwdK.d.mts → query-DIQPfsSq.d.cts} +6 -22
- package/dist/{query-ohFZ5p3e.d.cts → query-DQvrkaL2.d.mts} +6 -22
- package/dist/{query-Ck0NC_9l.cjs → query-D_xMsBEz.cjs} +11 -10
- package/dist/{query-CEvYGQyI.d.cts → query-DlpZHcIM.d.mts} +12 -27
- package/dist/{query-C-G04KqP.d.mts → query-PKg23GyY.d.cts} +27 -79
- package/dist/{query-DV68iZaG.mjs → query-k67TaoJs.mjs} +2 -1
- package/dist/{query-CMOLb-qs.cjs → query-okrI1jn4.cjs} +8 -8
- package/dist/string-By4lqNB3.cjs +53 -0
- package/dist/string-CHEFvHQa.mjs +36 -0
- package/dist/utilities/index.d.cts +1 -1
- package/dist/utilities/index.d.mts +1 -1
- package/package.json +1 -1
- package/dist/index-Bk5hIBoB.d.cts +0 -108
- package/dist/index-Bk5hIBoB.d.mts +0 -108
- package/dist/{document-D-6H7hBf.cjs → document-C5i7ol4r.cjs} +8 -8
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-D6vf50IK.cjs");
|
|
2
2
|
const require_logical_operators = require("./logical-operators-Bku8NPDs.cjs");
|
|
3
|
-
const require_string = require("./string-
|
|
3
|
+
const require_string = require("./string-By4lqNB3.cjs");
|
|
4
4
|
const require_boolean = require("./boolean-BwqaNE9c.cjs");
|
|
5
|
+
const require_identifier = require("./identifier-Dmax1xo2.cjs");
|
|
5
6
|
const require_string$1 = require("./string-AHrZ--r_.cjs");
|
|
6
7
|
const require_pagination = require("./pagination-DhAgQr7d.cjs");
|
|
7
8
|
const require_sort = require("./sort-CYllFl6q.cjs");
|
|
@@ -12,12 +13,12 @@ let valibot = require("valibot");
|
|
|
12
13
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
13
14
|
//#region src/entities/up-user/query.ts
|
|
14
15
|
const FilterStrapiUsers = require_logical_operators.createStrapiFilterSchema({
|
|
15
|
-
id:
|
|
16
|
-
documentId:
|
|
17
|
-
createdAt:
|
|
18
|
-
updatedAt:
|
|
16
|
+
id: require_identifier.IdFilter,
|
|
17
|
+
documentId: require_identifier.DocumentIdFilter,
|
|
18
|
+
createdAt: require_identifier.DateTimeFilter,
|
|
19
|
+
updatedAt: require_identifier.DateTimeFilter,
|
|
19
20
|
username: require_string.StringFilter,
|
|
20
|
-
email:
|
|
21
|
+
email: require_identifier.EmailFilter,
|
|
21
22
|
confirmed: require_boolean.BooleanFilter,
|
|
22
23
|
blocked: require_boolean.BooleanFilter,
|
|
23
24
|
clerk_user_id: require_string.StringFilter,
|
|
@@ -38,10 +39,10 @@ const QueryStrapiSearchUsersByIdentifier = valibot.object({
|
|
|
38
39
|
//#endregion
|
|
39
40
|
//#region src/entities/client-user/query.ts
|
|
40
41
|
const FilterStrapiClientUsers = require_logical_operators.createStrapiFilterSchema({
|
|
41
|
-
id:
|
|
42
|
-
documentId:
|
|
43
|
-
createdAt:
|
|
44
|
-
updatedAt:
|
|
42
|
+
id: require_identifier.IdFilter,
|
|
43
|
+
documentId: require_identifier.DocumentIdFilter,
|
|
44
|
+
createdAt: require_identifier.DateTimeFilter,
|
|
45
|
+
updatedAt: require_identifier.DateTimeFilter,
|
|
45
46
|
scopes: require_entities_up_permission_fields.FilterScopes,
|
|
46
47
|
client: valibot.optional(valibot.lazy(() => require_entities_client_query.FilterStrapiClients)),
|
|
47
48
|
user: valibot.optional(valibot.lazy(() => FilterStrapiUsers))
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { C as BooleanFilter, d as DocumentIdFilter, h as SlugFilter, n as LongStringFilter, p as IdFilter, r as StringFilter, y as DateTimeFilter } from "./index-
|
|
2
|
-
import { n as FilterStrapiClients } from "./query-
|
|
1
|
+
import { C as BooleanFilter, T as StrapiLogicalFilter, d as DocumentIdFilter, h as SlugFilter, n as LongStringFilter, p as IdFilter, r as StringFilter, y as DateTimeFilter } from "./index-BgZbDm41.cjs";
|
|
2
|
+
import { n as FilterStrapiClients } from "./query-DIQPfsSq.cjs";
|
|
3
3
|
import * as v from "valibot";
|
|
4
4
|
|
|
5
5
|
//#region src/entities/content-pillar/query.d.ts
|
|
6
|
-
|
|
6
|
+
type FilterStrapiContentPillarsFields = {
|
|
7
7
|
id?: IdFilter;
|
|
8
8
|
documentId?: DocumentIdFilter;
|
|
9
9
|
createdAt?: DateTimeFilter;
|
|
@@ -12,27 +12,19 @@ declare const FilterStrapiContentPillars: v.GenericSchema<{
|
|
|
12
12
|
slug?: SlugFilter;
|
|
13
13
|
description?: LongStringFilter;
|
|
14
14
|
clients?: FilterStrapiClientContentPillars;
|
|
15
|
-
}
|
|
16
|
-
type FilterStrapiContentPillars =
|
|
15
|
+
};
|
|
16
|
+
type FilterStrapiContentPillars = StrapiLogicalFilter<FilterStrapiContentPillarsFields>;
|
|
17
|
+
declare const FilterStrapiContentPillars: v.GenericSchema<FilterStrapiContentPillars>;
|
|
17
18
|
declare const QueryStrapiSearchContentPillars: v.ObjectSchema<{
|
|
18
19
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
19
20
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
20
21
|
readonly sort: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, undefined>, v.SchemaWithPipe<readonly [v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, v.TransformAction<`${string}:asc` | `${string}:desc`, (`${string}:asc` | `${string}:desc`)[]>]>], undefined>, undefined>;
|
|
21
|
-
readonly f: v.OptionalSchema<v.GenericSchema<
|
|
22
|
-
id?: IdFilter;
|
|
23
|
-
documentId?: DocumentIdFilter;
|
|
24
|
-
createdAt?: DateTimeFilter;
|
|
25
|
-
updatedAt?: DateTimeFilter;
|
|
26
|
-
title?: StringFilter;
|
|
27
|
-
slug?: SlugFilter;
|
|
28
|
-
description?: LongStringFilter;
|
|
29
|
-
clients?: FilterStrapiClientContentPillars;
|
|
30
|
-
}>, undefined>;
|
|
22
|
+
readonly f: v.OptionalSchema<v.GenericSchema<FilterStrapiContentPillars>, undefined>;
|
|
31
23
|
}, undefined>;
|
|
32
24
|
type QueryStrapiSearchContentPillars = v.InferOutput<typeof QueryStrapiSearchContentPillars>;
|
|
33
25
|
//#endregion
|
|
34
26
|
//#region src/entities/client-content-pillar/query.d.ts
|
|
35
|
-
|
|
27
|
+
type FilterStrapiClientContentPillarsFields = {
|
|
36
28
|
id?: IdFilter;
|
|
37
29
|
documentId?: DocumentIdFilter;
|
|
38
30
|
createdAt?: DateTimeFilter;
|
|
@@ -40,21 +32,14 @@ declare const FilterStrapiClientContentPillars: v.GenericSchema<{
|
|
|
40
32
|
is_active?: BooleanFilter;
|
|
41
33
|
client?: FilterStrapiClients;
|
|
42
34
|
content_pillar?: FilterStrapiContentPillars;
|
|
43
|
-
}
|
|
44
|
-
type FilterStrapiClientContentPillars =
|
|
35
|
+
};
|
|
36
|
+
type FilterStrapiClientContentPillars = StrapiLogicalFilter<FilterStrapiClientContentPillarsFields>;
|
|
37
|
+
declare const FilterStrapiClientContentPillars: v.GenericSchema<FilterStrapiClientContentPillars>;
|
|
45
38
|
declare const QueryStrapiSearchClientContentPillars: v.ObjectSchema<{
|
|
46
39
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
47
40
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
48
41
|
readonly sort: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, undefined>, v.SchemaWithPipe<readonly [v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, v.TransformAction<`${string}:asc` | `${string}:desc`, (`${string}:asc` | `${string}:desc`)[]>]>], undefined>, undefined>;
|
|
49
|
-
readonly f: v.OptionalSchema<v.GenericSchema<
|
|
50
|
-
id?: IdFilter;
|
|
51
|
-
documentId?: DocumentIdFilter;
|
|
52
|
-
createdAt?: DateTimeFilter;
|
|
53
|
-
updatedAt?: DateTimeFilter;
|
|
54
|
-
is_active?: BooleanFilter;
|
|
55
|
-
client?: FilterStrapiClients;
|
|
56
|
-
content_pillar?: FilterStrapiContentPillars;
|
|
57
|
-
}>, undefined>;
|
|
42
|
+
readonly f: v.OptionalSchema<v.GenericSchema<FilterStrapiClientContentPillars>, undefined>;
|
|
58
43
|
}, undefined>;
|
|
59
44
|
type QueryStrapiSearchClientContentPillars = v.InferOutput<typeof QueryStrapiSearchClientContentPillars>;
|
|
60
45
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as BooleanFilter,
|
|
1
|
+
import { C as BooleanFilter, E as StrapiStrictFilterObjectSchema, T as StrapiLogicalFilter, d as DocumentIdFilter, p as IdFilter, r as StringFilter, y as DateTimeFilter } from "./index-BgZbDm41.cjs";
|
|
2
2
|
import * as v from "valibot";
|
|
3
3
|
|
|
4
4
|
//#region src/entities/client/query.d.ts
|
|
@@ -20,7 +20,7 @@ declare const FilterClientClassification: StrapiStrictFilterObjectSchema<{
|
|
|
20
20
|
}>;
|
|
21
21
|
}>;
|
|
22
22
|
type FilterClientClassification = v.InferOutput<typeof FilterClientClassification>;
|
|
23
|
-
|
|
23
|
+
type FilterStrapiClientsFields = {
|
|
24
24
|
id?: IdFilter;
|
|
25
25
|
documentId?: DocumentIdFilter;
|
|
26
26
|
createdAt?: DateTimeFilter;
|
|
@@ -37,30 +37,14 @@ declare const FilterStrapiClients: v.GenericSchema<{
|
|
|
37
37
|
is_active?: BooleanFilter;
|
|
38
38
|
is_hidden?: BooleanFilter;
|
|
39
39
|
classification?: FilterClientClassification;
|
|
40
|
-
}
|
|
41
|
-
type FilterStrapiClients =
|
|
40
|
+
};
|
|
41
|
+
type FilterStrapiClients = StrapiLogicalFilter<FilterStrapiClientsFields>;
|
|
42
|
+
declare const FilterStrapiClients: v.GenericSchema<FilterStrapiClients>;
|
|
42
43
|
declare const QueryStrapiSearchClients: v.ObjectSchema<{
|
|
43
44
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
44
45
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
45
46
|
readonly sort: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, undefined>, v.SchemaWithPipe<readonly [v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, v.TransformAction<`${string}:asc` | `${string}:desc`, (`${string}:asc` | `${string}:desc`)[]>]>], undefined>, undefined>;
|
|
46
|
-
readonly f: v.OptionalSchema<v.GenericSchema<
|
|
47
|
-
id?: IdFilter;
|
|
48
|
-
documentId?: DocumentIdFilter;
|
|
49
|
-
createdAt?: DateTimeFilter;
|
|
50
|
-
updatedAt?: DateTimeFilter;
|
|
51
|
-
title?: StringFilter;
|
|
52
|
-
is_featured?: BooleanFilter;
|
|
53
|
-
teamwork_id?: StringFilter;
|
|
54
|
-
teamwork_name?: StringFilter;
|
|
55
|
-
gainapp_id?: StringFilter;
|
|
56
|
-
utm_sheet_id?: StringFilter;
|
|
57
|
-
allow_create_utm_link?: BooleanFilter;
|
|
58
|
-
is_organic_social?: BooleanFilter;
|
|
59
|
-
is_paid_media?: BooleanFilter;
|
|
60
|
-
is_active?: BooleanFilter;
|
|
61
|
-
is_hidden?: BooleanFilter;
|
|
62
|
-
classification?: FilterClientClassification;
|
|
63
|
-
}>, undefined>;
|
|
47
|
+
readonly f: v.OptionalSchema<v.GenericSchema<FilterStrapiClients>, undefined>;
|
|
64
48
|
}, undefined>;
|
|
65
49
|
type QueryStrapiSearchClients = v.InferOutput<typeof QueryStrapiSearchClients>;
|
|
66
50
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as BooleanFilter,
|
|
1
|
+
import { C as BooleanFilter, E as StrapiStrictFilterObjectSchema, T as StrapiLogicalFilter, d as DocumentIdFilter, p as IdFilter, r as StringFilter, y as DateTimeFilter } from "./index-BgZbDm41.mjs";
|
|
2
2
|
import * as v from "valibot";
|
|
3
3
|
|
|
4
4
|
//#region src/entities/client/query.d.ts
|
|
@@ -20,7 +20,7 @@ declare const FilterClientClassification: StrapiStrictFilterObjectSchema<{
|
|
|
20
20
|
}>;
|
|
21
21
|
}>;
|
|
22
22
|
type FilterClientClassification = v.InferOutput<typeof FilterClientClassification>;
|
|
23
|
-
|
|
23
|
+
type FilterStrapiClientsFields = {
|
|
24
24
|
id?: IdFilter;
|
|
25
25
|
documentId?: DocumentIdFilter;
|
|
26
26
|
createdAt?: DateTimeFilter;
|
|
@@ -37,30 +37,14 @@ declare const FilterStrapiClients: v.GenericSchema<{
|
|
|
37
37
|
is_active?: BooleanFilter;
|
|
38
38
|
is_hidden?: BooleanFilter;
|
|
39
39
|
classification?: FilterClientClassification;
|
|
40
|
-
}
|
|
41
|
-
type FilterStrapiClients =
|
|
40
|
+
};
|
|
41
|
+
type FilterStrapiClients = StrapiLogicalFilter<FilterStrapiClientsFields>;
|
|
42
|
+
declare const FilterStrapiClients: v.GenericSchema<FilterStrapiClients>;
|
|
42
43
|
declare const QueryStrapiSearchClients: v.ObjectSchema<{
|
|
43
44
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
44
45
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
45
46
|
readonly sort: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, undefined>, v.SchemaWithPipe<readonly [v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, v.TransformAction<`${string}:asc` | `${string}:desc`, (`${string}:asc` | `${string}:desc`)[]>]>], undefined>, undefined>;
|
|
46
|
-
readonly f: v.OptionalSchema<v.GenericSchema<
|
|
47
|
-
id?: IdFilter;
|
|
48
|
-
documentId?: DocumentIdFilter;
|
|
49
|
-
createdAt?: DateTimeFilter;
|
|
50
|
-
updatedAt?: DateTimeFilter;
|
|
51
|
-
title?: StringFilter;
|
|
52
|
-
is_featured?: BooleanFilter;
|
|
53
|
-
teamwork_id?: StringFilter;
|
|
54
|
-
teamwork_name?: StringFilter;
|
|
55
|
-
gainapp_id?: StringFilter;
|
|
56
|
-
utm_sheet_id?: StringFilter;
|
|
57
|
-
allow_create_utm_link?: BooleanFilter;
|
|
58
|
-
is_organic_social?: BooleanFilter;
|
|
59
|
-
is_paid_media?: BooleanFilter;
|
|
60
|
-
is_active?: BooleanFilter;
|
|
61
|
-
is_hidden?: BooleanFilter;
|
|
62
|
-
classification?: FilterClientClassification;
|
|
63
|
-
}>, undefined>;
|
|
47
|
+
readonly f: v.OptionalSchema<v.GenericSchema<FilterStrapiClients>, undefined>;
|
|
64
48
|
}, undefined>;
|
|
65
49
|
type QueryStrapiSearchClients = v.InferOutput<typeof QueryStrapiSearchClients>;
|
|
66
50
|
//#endregion
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-D6vf50IK.cjs");
|
|
2
2
|
const require_logical_operators = require("./logical-operators-Bku8NPDs.cjs");
|
|
3
|
-
const require_string = require("./string-
|
|
3
|
+
const require_string = require("./string-By4lqNB3.cjs");
|
|
4
4
|
const require_boolean = require("./boolean-BwqaNE9c.cjs");
|
|
5
|
+
const require_identifier = require("./identifier-Dmax1xo2.cjs");
|
|
5
6
|
const require_pagination = require("./pagination-DhAgQr7d.cjs");
|
|
6
7
|
const require_sort = require("./sort-CYllFl6q.cjs");
|
|
7
8
|
const require_entities_client_query = require("./entities/client/query.cjs");
|
|
@@ -9,12 +10,12 @@ let valibot = require("valibot");
|
|
|
9
10
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
10
11
|
//#region src/entities/content-pillar/query.ts
|
|
11
12
|
const FilterStrapiContentPillars = require_logical_operators.createStrapiFilterSchema({
|
|
12
|
-
id:
|
|
13
|
-
documentId:
|
|
14
|
-
createdAt:
|
|
15
|
-
updatedAt:
|
|
13
|
+
id: require_identifier.IdFilter,
|
|
14
|
+
documentId: require_identifier.DocumentIdFilter,
|
|
15
|
+
createdAt: require_identifier.DateTimeFilter,
|
|
16
|
+
updatedAt: require_identifier.DateTimeFilter,
|
|
16
17
|
title: require_string.StringFilter,
|
|
17
|
-
slug:
|
|
18
|
+
slug: require_identifier.SlugFilter,
|
|
18
19
|
description: require_string.LongStringFilter,
|
|
19
20
|
clients: valibot.optional(valibot.lazy(() => FilterStrapiClientContentPillars))
|
|
20
21
|
});
|
|
@@ -27,10 +28,10 @@ const QueryStrapiSearchContentPillars = valibot.object({
|
|
|
27
28
|
//#endregion
|
|
28
29
|
//#region src/entities/client-content-pillar/query.ts
|
|
29
30
|
const FilterStrapiClientContentPillars = require_logical_operators.createStrapiFilterSchema({
|
|
30
|
-
id:
|
|
31
|
-
documentId:
|
|
32
|
-
createdAt:
|
|
33
|
-
updatedAt:
|
|
31
|
+
id: require_identifier.IdFilter,
|
|
32
|
+
documentId: require_identifier.DocumentIdFilter,
|
|
33
|
+
createdAt: require_identifier.DateTimeFilter,
|
|
34
|
+
updatedAt: require_identifier.DateTimeFilter,
|
|
34
35
|
is_active: require_boolean.BooleanFilter,
|
|
35
36
|
client: valibot.optional(valibot.lazy(() => require_entities_client_query.FilterStrapiClients)),
|
|
36
37
|
content_pillar: valibot.optional(valibot.lazy(() => FilterStrapiContentPillars))
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { C as BooleanFilter, d as DocumentIdFilter, h as SlugFilter, n as LongStringFilter, p as IdFilter, r as StringFilter, y as DateTimeFilter } from "./index-
|
|
2
|
-
import { n as FilterStrapiClients } from "./query-
|
|
1
|
+
import { C as BooleanFilter, T as StrapiLogicalFilter, d as DocumentIdFilter, h as SlugFilter, n as LongStringFilter, p as IdFilter, r as StringFilter, y as DateTimeFilter } from "./index-BgZbDm41.mjs";
|
|
2
|
+
import { n as FilterStrapiClients } from "./query-DQvrkaL2.mjs";
|
|
3
3
|
import * as v from "valibot";
|
|
4
4
|
|
|
5
5
|
//#region src/entities/content-pillar/query.d.ts
|
|
6
|
-
|
|
6
|
+
type FilterStrapiContentPillarsFields = {
|
|
7
7
|
id?: IdFilter;
|
|
8
8
|
documentId?: DocumentIdFilter;
|
|
9
9
|
createdAt?: DateTimeFilter;
|
|
@@ -12,27 +12,19 @@ declare const FilterStrapiContentPillars: v.GenericSchema<{
|
|
|
12
12
|
slug?: SlugFilter;
|
|
13
13
|
description?: LongStringFilter;
|
|
14
14
|
clients?: FilterStrapiClientContentPillars;
|
|
15
|
-
}
|
|
16
|
-
type FilterStrapiContentPillars =
|
|
15
|
+
};
|
|
16
|
+
type FilterStrapiContentPillars = StrapiLogicalFilter<FilterStrapiContentPillarsFields>;
|
|
17
|
+
declare const FilterStrapiContentPillars: v.GenericSchema<FilterStrapiContentPillars>;
|
|
17
18
|
declare const QueryStrapiSearchContentPillars: v.ObjectSchema<{
|
|
18
19
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
19
20
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
20
21
|
readonly sort: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, undefined>, v.SchemaWithPipe<readonly [v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, v.TransformAction<`${string}:asc` | `${string}:desc`, (`${string}:asc` | `${string}:desc`)[]>]>], undefined>, undefined>;
|
|
21
|
-
readonly f: v.OptionalSchema<v.GenericSchema<
|
|
22
|
-
id?: IdFilter;
|
|
23
|
-
documentId?: DocumentIdFilter;
|
|
24
|
-
createdAt?: DateTimeFilter;
|
|
25
|
-
updatedAt?: DateTimeFilter;
|
|
26
|
-
title?: StringFilter;
|
|
27
|
-
slug?: SlugFilter;
|
|
28
|
-
description?: LongStringFilter;
|
|
29
|
-
clients?: FilterStrapiClientContentPillars;
|
|
30
|
-
}>, undefined>;
|
|
22
|
+
readonly f: v.OptionalSchema<v.GenericSchema<FilterStrapiContentPillars>, undefined>;
|
|
31
23
|
}, undefined>;
|
|
32
24
|
type QueryStrapiSearchContentPillars = v.InferOutput<typeof QueryStrapiSearchContentPillars>;
|
|
33
25
|
//#endregion
|
|
34
26
|
//#region src/entities/client-content-pillar/query.d.ts
|
|
35
|
-
|
|
27
|
+
type FilterStrapiClientContentPillarsFields = {
|
|
36
28
|
id?: IdFilter;
|
|
37
29
|
documentId?: DocumentIdFilter;
|
|
38
30
|
createdAt?: DateTimeFilter;
|
|
@@ -40,21 +32,14 @@ declare const FilterStrapiClientContentPillars: v.GenericSchema<{
|
|
|
40
32
|
is_active?: BooleanFilter;
|
|
41
33
|
client?: FilterStrapiClients;
|
|
42
34
|
content_pillar?: FilterStrapiContentPillars;
|
|
43
|
-
}
|
|
44
|
-
type FilterStrapiClientContentPillars =
|
|
35
|
+
};
|
|
36
|
+
type FilterStrapiClientContentPillars = StrapiLogicalFilter<FilterStrapiClientContentPillarsFields>;
|
|
37
|
+
declare const FilterStrapiClientContentPillars: v.GenericSchema<FilterStrapiClientContentPillars>;
|
|
45
38
|
declare const QueryStrapiSearchClientContentPillars: v.ObjectSchema<{
|
|
46
39
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
47
40
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
48
41
|
readonly sort: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, undefined>, v.SchemaWithPipe<readonly [v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, v.TransformAction<`${string}:asc` | `${string}:desc`, (`${string}:asc` | `${string}:desc`)[]>]>], undefined>, undefined>;
|
|
49
|
-
readonly f: v.OptionalSchema<v.GenericSchema<
|
|
50
|
-
id?: IdFilter;
|
|
51
|
-
documentId?: DocumentIdFilter;
|
|
52
|
-
createdAt?: DateTimeFilter;
|
|
53
|
-
updatedAt?: DateTimeFilter;
|
|
54
|
-
is_active?: BooleanFilter;
|
|
55
|
-
client?: FilterStrapiClients;
|
|
56
|
-
content_pillar?: FilterStrapiContentPillars;
|
|
57
|
-
}>, undefined>;
|
|
42
|
+
readonly f: v.OptionalSchema<v.GenericSchema<FilterStrapiClientContentPillars>, undefined>;
|
|
58
43
|
}, undefined>;
|
|
59
44
|
type QueryStrapiSearchClientContentPillars = v.InferOutput<typeof QueryStrapiSearchClientContentPillars>;
|
|
60
45
|
//#endregion
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { C as BooleanFilter, d as DocumentIdFilter, h as SlugFilter, n as LongStringFilter, p as IdFilter, r as StringFilter, y as DateTimeFilter } from "./index-
|
|
2
|
-
import { n as FilterStrapiClients } from "./query-
|
|
1
|
+
import { C as BooleanFilter, T as StrapiLogicalFilter, d as DocumentIdFilter, h as SlugFilter, n as LongStringFilter, p as IdFilter, r as StringFilter, y as DateTimeFilter } from "./index-BgZbDm41.cjs";
|
|
2
|
+
import { n as FilterStrapiClients } from "./query-DIQPfsSq.cjs";
|
|
3
3
|
import * as v from "valibot";
|
|
4
4
|
|
|
5
5
|
//#region src/entities/media-creative-format/query.d.ts
|
|
6
|
-
|
|
6
|
+
type FilterStrapiMediaCreativeFormatsFields = {
|
|
7
7
|
id?: IdFilter;
|
|
8
8
|
documentId?: DocumentIdFilter;
|
|
9
9
|
createdAt?: DateTimeFilter;
|
|
@@ -14,29 +14,19 @@ declare const FilterStrapiMediaCreativeFormats: v.GenericSchema<{
|
|
|
14
14
|
is_universal?: BooleanFilter;
|
|
15
15
|
description?: LongStringFilter;
|
|
16
16
|
media_content_types?: FilterStrapiMediaContentTypes;
|
|
17
|
-
}
|
|
18
|
-
type FilterStrapiMediaCreativeFormats =
|
|
17
|
+
};
|
|
18
|
+
type FilterStrapiMediaCreativeFormats = StrapiLogicalFilter<FilterStrapiMediaCreativeFormatsFields>;
|
|
19
|
+
declare const FilterStrapiMediaCreativeFormats: v.GenericSchema<FilterStrapiMediaCreativeFormats>;
|
|
19
20
|
declare const QueryStrapiSearchMediaCreativeFormats: v.ObjectSchema<{
|
|
20
21
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
21
22
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
22
23
|
readonly sort: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, undefined>, v.SchemaWithPipe<readonly [v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, v.TransformAction<`${string}:asc` | `${string}:desc`, (`${string}:asc` | `${string}:desc`)[]>]>], undefined>, undefined>;
|
|
23
|
-
readonly f: v.OptionalSchema<v.GenericSchema<
|
|
24
|
-
id?: IdFilter;
|
|
25
|
-
documentId?: DocumentIdFilter;
|
|
26
|
-
createdAt?: DateTimeFilter;
|
|
27
|
-
updatedAt?: DateTimeFilter;
|
|
28
|
-
title?: StringFilter;
|
|
29
|
-
slug?: SlugFilter;
|
|
30
|
-
is_active?: BooleanFilter;
|
|
31
|
-
is_universal?: BooleanFilter;
|
|
32
|
-
description?: LongStringFilter;
|
|
33
|
-
media_content_types?: FilterStrapiMediaContentTypes;
|
|
34
|
-
}>, undefined>;
|
|
24
|
+
readonly f: v.OptionalSchema<v.GenericSchema<FilterStrapiMediaCreativeFormats>, undefined>;
|
|
35
25
|
}, undefined>;
|
|
36
26
|
type QueryStrapiSearchMediaCreativeFormats = v.InferOutput<typeof QueryStrapiSearchMediaCreativeFormats>;
|
|
37
27
|
//#endregion
|
|
38
28
|
//#region src/entities/media-content-type/query.d.ts
|
|
39
|
-
|
|
29
|
+
type FilterStrapiMediaContentTypesFields = {
|
|
40
30
|
id?: IdFilter;
|
|
41
31
|
documentId?: DocumentIdFilter;
|
|
42
32
|
createdAt?: DateTimeFilter;
|
|
@@ -48,30 +38,19 @@ declare const FilterStrapiMediaContentTypes: v.GenericSchema<{
|
|
|
48
38
|
is_paid_media?: BooleanFilter;
|
|
49
39
|
media_platforms?: FilterStrapiMediaPlatforms;
|
|
50
40
|
media_creative_formats?: FilterStrapiMediaCreativeFormats;
|
|
51
|
-
}
|
|
52
|
-
type FilterStrapiMediaContentTypes =
|
|
41
|
+
};
|
|
42
|
+
type FilterStrapiMediaContentTypes = StrapiLogicalFilter<FilterStrapiMediaContentTypesFields>;
|
|
43
|
+
declare const FilterStrapiMediaContentTypes: v.GenericSchema<FilterStrapiMediaContentTypes>;
|
|
53
44
|
declare const QueryStrapiSearchMediaContentTypes: v.ObjectSchema<{
|
|
54
45
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
55
46
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
56
47
|
readonly sort: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, undefined>, v.SchemaWithPipe<readonly [v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, v.TransformAction<`${string}:asc` | `${string}:desc`, (`${string}:asc` | `${string}:desc`)[]>]>], undefined>, undefined>;
|
|
57
|
-
readonly f: v.OptionalSchema<v.GenericSchema<
|
|
58
|
-
id?: IdFilter;
|
|
59
|
-
documentId?: DocumentIdFilter;
|
|
60
|
-
createdAt?: DateTimeFilter;
|
|
61
|
-
updatedAt?: DateTimeFilter;
|
|
62
|
-
title?: StringFilter;
|
|
63
|
-
slug?: SlugFilter;
|
|
64
|
-
is_active?: BooleanFilter;
|
|
65
|
-
is_organic_social?: BooleanFilter;
|
|
66
|
-
is_paid_media?: BooleanFilter;
|
|
67
|
-
media_platforms?: FilterStrapiMediaPlatforms;
|
|
68
|
-
media_creative_formats?: FilterStrapiMediaCreativeFormats;
|
|
69
|
-
}>, undefined>;
|
|
48
|
+
readonly f: v.OptionalSchema<v.GenericSchema<FilterStrapiMediaContentTypes>, undefined>;
|
|
70
49
|
}, undefined>;
|
|
71
50
|
type QueryStrapiSearchMediaContentTypes = v.InferOutput<typeof QueryStrapiSearchMediaContentTypes>;
|
|
72
51
|
//#endregion
|
|
73
52
|
//#region src/entities/media-medium/query.d.ts
|
|
74
|
-
|
|
53
|
+
type FilterStrapiMediaMediumsFields = {
|
|
75
54
|
id?: IdFilter;
|
|
76
55
|
documentId?: DocumentIdFilter;
|
|
77
56
|
createdAt?: DateTimeFilter;
|
|
@@ -82,29 +61,19 @@ declare const FilterStrapiMediaMediums: v.GenericSchema<{
|
|
|
82
61
|
is_organic_social?: BooleanFilter;
|
|
83
62
|
is_paid_media?: BooleanFilter;
|
|
84
63
|
media_platforms?: FilterStrapiMediaPlatforms;
|
|
85
|
-
}
|
|
86
|
-
type FilterStrapiMediaMediums =
|
|
64
|
+
};
|
|
65
|
+
type FilterStrapiMediaMediums = StrapiLogicalFilter<FilterStrapiMediaMediumsFields>;
|
|
66
|
+
declare const FilterStrapiMediaMediums: v.GenericSchema<FilterStrapiMediaMediums>;
|
|
87
67
|
declare const QueryStrapiSearchMediaMediums: v.ObjectSchema<{
|
|
88
68
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
89
69
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
90
70
|
readonly sort: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, undefined>, v.SchemaWithPipe<readonly [v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, v.TransformAction<`${string}:asc` | `${string}:desc`, (`${string}:asc` | `${string}:desc`)[]>]>], undefined>, undefined>;
|
|
91
|
-
readonly f: v.OptionalSchema<v.GenericSchema<
|
|
92
|
-
id?: IdFilter;
|
|
93
|
-
documentId?: DocumentIdFilter;
|
|
94
|
-
createdAt?: DateTimeFilter;
|
|
95
|
-
updatedAt?: DateTimeFilter;
|
|
96
|
-
title?: StringFilter;
|
|
97
|
-
slug?: SlugFilter;
|
|
98
|
-
is_active?: BooleanFilter;
|
|
99
|
-
is_organic_social?: BooleanFilter;
|
|
100
|
-
is_paid_media?: BooleanFilter;
|
|
101
|
-
media_platforms?: FilterStrapiMediaPlatforms;
|
|
102
|
-
}>, undefined>;
|
|
71
|
+
readonly f: v.OptionalSchema<v.GenericSchema<FilterStrapiMediaMediums>, undefined>;
|
|
103
72
|
}, undefined>;
|
|
104
73
|
type QueryStrapiSearchMediaMediums = v.InferOutput<typeof QueryStrapiSearchMediaMediums>;
|
|
105
74
|
//#endregion
|
|
106
75
|
//#region src/entities/media-platform/query.d.ts
|
|
107
|
-
|
|
76
|
+
type FilterStrapiMediaPlatformsFields = {
|
|
108
77
|
id?: IdFilter;
|
|
109
78
|
documentId?: DocumentIdFilter;
|
|
110
79
|
createdAt?: DateTimeFilter;
|
|
@@ -118,32 +87,19 @@ declare const FilterStrapiMediaPlatforms: v.GenericSchema<{
|
|
|
118
87
|
clients?: FilterStrapiClientMediaPlatforms;
|
|
119
88
|
media_content_types?: FilterStrapiMediaContentTypes;
|
|
120
89
|
media_mediums?: FilterStrapiMediaMediums;
|
|
121
|
-
}
|
|
122
|
-
type FilterStrapiMediaPlatforms =
|
|
90
|
+
};
|
|
91
|
+
type FilterStrapiMediaPlatforms = StrapiLogicalFilter<FilterStrapiMediaPlatformsFields>;
|
|
92
|
+
declare const FilterStrapiMediaPlatforms: v.GenericSchema<FilterStrapiMediaPlatforms>;
|
|
123
93
|
declare const QueryStrapiSearchMediaPlatforms: v.ObjectSchema<{
|
|
124
94
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
125
95
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
126
96
|
readonly sort: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, undefined>, v.SchemaWithPipe<readonly [v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, v.TransformAction<`${string}:asc` | `${string}:desc`, (`${string}:asc` | `${string}:desc`)[]>]>], undefined>, undefined>;
|
|
127
|
-
readonly f: v.OptionalSchema<v.GenericSchema<
|
|
128
|
-
id?: IdFilter;
|
|
129
|
-
documentId?: DocumentIdFilter;
|
|
130
|
-
createdAt?: DateTimeFilter;
|
|
131
|
-
updatedAt?: DateTimeFilter;
|
|
132
|
-
title?: StringFilter;
|
|
133
|
-
slug?: SlugFilter;
|
|
134
|
-
utm_key?: SlugFilter;
|
|
135
|
-
is_active?: BooleanFilter;
|
|
136
|
-
is_organic_social?: BooleanFilter;
|
|
137
|
-
is_paid_media?: BooleanFilter;
|
|
138
|
-
clients?: FilterStrapiClientMediaPlatforms;
|
|
139
|
-
media_content_types?: FilterStrapiMediaContentTypes;
|
|
140
|
-
media_mediums?: FilterStrapiMediaMediums;
|
|
141
|
-
}>, undefined>;
|
|
97
|
+
readonly f: v.OptionalSchema<v.GenericSchema<FilterStrapiMediaPlatforms>, undefined>;
|
|
142
98
|
}, undefined>;
|
|
143
99
|
type QueryStrapiSearchMediaPlatforms = v.InferOutput<typeof QueryStrapiSearchMediaPlatforms>;
|
|
144
100
|
//#endregion
|
|
145
101
|
//#region src/entities/client-media-platform/query.d.ts
|
|
146
|
-
|
|
102
|
+
type FilterStrapiClientMediaPlatformsFields = {
|
|
147
103
|
id?: IdFilter;
|
|
148
104
|
documentId?: DocumentIdFilter;
|
|
149
105
|
createdAt?: DateTimeFilter;
|
|
@@ -152,22 +108,14 @@ declare const FilterStrapiClientMediaPlatforms: v.GenericSchema<{
|
|
|
152
108
|
is_active?: BooleanFilter;
|
|
153
109
|
client?: FilterStrapiClients;
|
|
154
110
|
media_platform?: FilterStrapiMediaPlatforms;
|
|
155
|
-
}
|
|
156
|
-
type FilterStrapiClientMediaPlatforms =
|
|
111
|
+
};
|
|
112
|
+
type FilterStrapiClientMediaPlatforms = StrapiLogicalFilter<FilterStrapiClientMediaPlatformsFields>;
|
|
113
|
+
declare const FilterStrapiClientMediaPlatforms: v.GenericSchema<FilterStrapiClientMediaPlatforms>;
|
|
157
114
|
declare const QueryStrapiSearchClientMediaPlatforms: v.ObjectSchema<{
|
|
158
115
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
159
116
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
160
117
|
readonly sort: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, undefined>, v.SchemaWithPipe<readonly [v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, v.TransformAction<`${string}:asc` | `${string}:desc`, (`${string}:asc` | `${string}:desc`)[]>]>], undefined>, undefined>;
|
|
161
|
-
readonly f: v.OptionalSchema<v.GenericSchema<
|
|
162
|
-
id?: IdFilter;
|
|
163
|
-
documentId?: DocumentIdFilter;
|
|
164
|
-
createdAt?: DateTimeFilter;
|
|
165
|
-
updatedAt?: DateTimeFilter;
|
|
166
|
-
url?: LongStringFilter;
|
|
167
|
-
is_active?: BooleanFilter;
|
|
168
|
-
client?: FilterStrapiClients;
|
|
169
|
-
media_platform?: FilterStrapiMediaPlatforms;
|
|
170
|
-
}>, undefined>;
|
|
118
|
+
readonly f: v.OptionalSchema<v.GenericSchema<FilterStrapiClientMediaPlatforms>, undefined>;
|
|
171
119
|
}, undefined>;
|
|
172
120
|
type QueryStrapiSearchClientMediaPlatforms = v.InferOutput<typeof QueryStrapiSearchClientMediaPlatforms>;
|
|
173
121
|
//#endregion
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { t as createStrapiFilterSchema } from "./logical-operators-C0-wSK0P.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { n as LongStringFilter, r as StringFilter } from "./string-CHEFvHQa.mjs";
|
|
3
3
|
import { t as BooleanFilter } from "./boolean-cJxcC8gC.mjs";
|
|
4
|
+
import { a as SlugFilter, m as DateTimeFilter, r as IdFilter, t as DocumentIdFilter } from "./identifier-CXlBnKdk.mjs";
|
|
4
5
|
import { n as VSize, t as VPage } from "./pagination-CK-mJT5q.mjs";
|
|
5
6
|
import { t as QuerySortValues } from "./sort-FYsWXlaD.mjs";
|
|
6
7
|
import { FilterStrapiClients } from "./entities/client/query.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-D6vf50IK.cjs");
|
|
2
2
|
const require_logical_operators = require("./logical-operators-Bku8NPDs.cjs");
|
|
3
|
-
const
|
|
3
|
+
const require_identifier = require("./identifier-Dmax1xo2.cjs");
|
|
4
4
|
const require_relationships = require("./relationships-BjJkIfbK.cjs");
|
|
5
|
-
const require_string
|
|
5
|
+
const require_string = require("./string-AHrZ--r_.cjs");
|
|
6
6
|
const require_email = require("./email-dsbWKuhH.cjs");
|
|
7
7
|
const require_pagination = require("./pagination-DhAgQr7d.cjs");
|
|
8
8
|
const require_sort = require("./sort-CYllFl6q.cjs");
|
|
@@ -11,10 +11,10 @@ let valibot = require("valibot");
|
|
|
11
11
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
12
12
|
//#region src/base/filters.ts
|
|
13
13
|
const FilterStrapiBase = require_logical_operators.createStrapiFilterSchema({
|
|
14
|
-
id:
|
|
15
|
-
documentId:
|
|
16
|
-
createdAt:
|
|
17
|
-
updatedAt:
|
|
14
|
+
id: require_identifier.IdFilter,
|
|
15
|
+
documentId: require_identifier.DocumentIdFilter,
|
|
16
|
+
createdAt: require_identifier.DateTimeFilter,
|
|
17
|
+
updatedAt: require_identifier.DateTimeFilter
|
|
18
18
|
});
|
|
19
19
|
//#endregion
|
|
20
20
|
//#region src/base/pagination.ts
|
|
@@ -29,7 +29,7 @@ const QueryStrapiPaginated = valibot.object({
|
|
|
29
29
|
const QueryStrapiById = valibot.object({ id: valibot.number() });
|
|
30
30
|
const QueryStrapiByDocumentId = valibot.object({ documentId: require_relationships.AssociateOneEntity });
|
|
31
31
|
const QueryStrapiBySlug = valibot.object({
|
|
32
|
-
slug: require_string
|
|
32
|
+
slug: require_string.VStringShort(),
|
|
33
33
|
...QueryStrapiPaginated.entries
|
|
34
34
|
});
|
|
35
35
|
const QueryStrapiByEmail = valibot.object({
|
|
@@ -41,7 +41,7 @@ const QueryStrapiByPhone = valibot.object({
|
|
|
41
41
|
...QueryStrapiPaginated.entries
|
|
42
42
|
});
|
|
43
43
|
const QueryStrapiByName = valibot.object({
|
|
44
|
-
name: require_string
|
|
44
|
+
name: require_string.VStringShort(),
|
|
45
45
|
...QueryStrapiPaginated.entries
|
|
46
46
|
});
|
|
47
47
|
//#endregion
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
const require_null_operators = require("./null-operators-CyK5Nxn3.cjs");
|
|
2
|
+
const require_limits = require("./limits-Drbhufdn.cjs");
|
|
3
|
+
const require_string = require("./string-AHrZ--r_.cjs");
|
|
4
|
+
//#region src/filters/primitives/string-matching-operators.ts
|
|
5
|
+
const createStrapiStringMatchingOperatorEntries = (value) => ({
|
|
6
|
+
$contains: value,
|
|
7
|
+
$containsi: value,
|
|
8
|
+
$endsWith: value,
|
|
9
|
+
$endsWithi: value,
|
|
10
|
+
$notContains: value,
|
|
11
|
+
$notContainsi: value,
|
|
12
|
+
$startsWith: value,
|
|
13
|
+
$startsWithi: value
|
|
14
|
+
});
|
|
15
|
+
//#endregion
|
|
16
|
+
//#region src/filters/generics/string.ts
|
|
17
|
+
const StringFilter = require_null_operators.createStrapiFieldOperatorSchema({
|
|
18
|
+
...require_null_operators.createStrapiEqualityOperatorEntries(require_string.VStringMax()),
|
|
19
|
+
...require_null_operators.createStrapiCaseInsensitiveEqualityOperatorEntries(require_string.VStringMax()),
|
|
20
|
+
...createStrapiStringMatchingOperatorEntries(require_string.VStringMax()),
|
|
21
|
+
...require_null_operators.StrapiNullOperatorEntries
|
|
22
|
+
});
|
|
23
|
+
const LongStringFilter = require_null_operators.createStrapiFieldOperatorSchema({
|
|
24
|
+
...require_null_operators.createStrapiEqualityOperatorEntries(require_string.VStringMax(require_limits.LIMIT_LONG_STRING_MAX_LENGTH)),
|
|
25
|
+
...require_null_operators.createStrapiCaseInsensitiveEqualityOperatorEntries(require_string.VStringMax(require_limits.LIMIT_LONG_STRING_MAX_LENGTH)),
|
|
26
|
+
...createStrapiStringMatchingOperatorEntries(require_string.VStringMax(require_limits.LIMIT_LONG_STRING_MAX_LENGTH)),
|
|
27
|
+
...require_null_operators.StrapiNullOperatorEntries
|
|
28
|
+
});
|
|
29
|
+
const ExactStringFilter = require_null_operators.createStrapiFieldOperatorSchema({
|
|
30
|
+
...require_null_operators.createStrapiEqualityOperatorEntries(require_string.VStringMax()),
|
|
31
|
+
...require_null_operators.createStrapiCaseInsensitiveEqualityOperatorEntries(require_string.VStringMax()),
|
|
32
|
+
...require_null_operators.createStrapiArrayMembershipOperatorEntries(require_string.VStringMax()),
|
|
33
|
+
...require_null_operators.StrapiNullOperatorEntries
|
|
34
|
+
});
|
|
35
|
+
//#endregion
|
|
36
|
+
Object.defineProperty(exports, "ExactStringFilter", {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function() {
|
|
39
|
+
return ExactStringFilter;
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
Object.defineProperty(exports, "LongStringFilter", {
|
|
43
|
+
enumerable: true,
|
|
44
|
+
get: function() {
|
|
45
|
+
return LongStringFilter;
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
Object.defineProperty(exports, "StringFilter", {
|
|
49
|
+
enumerable: true,
|
|
50
|
+
get: function() {
|
|
51
|
+
return StringFilter;
|
|
52
|
+
}
|
|
53
|
+
});
|