@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,25 +1,11 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-D6vf50IK.cjs");
|
|
2
2
|
const require_null_operators = require("./null-operators-CyK5Nxn3.cjs");
|
|
3
3
|
const require_relationships = require("./relationships-BjJkIfbK.cjs");
|
|
4
|
-
const require_limits = require("./limits-Drbhufdn.cjs");
|
|
5
|
-
const require_string = require("./string-AHrZ--r_.cjs");
|
|
6
4
|
const require_email = require("./email-dsbWKuhH.cjs");
|
|
7
5
|
const require_slug = require("./slug-BcLLMLTX.cjs");
|
|
8
6
|
const require_urls = require("./urls-J0K4TM4q.cjs");
|
|
9
7
|
let valibot = require("valibot");
|
|
10
8
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
11
|
-
//#region src/filters/primitives/string-matching-operators.ts
|
|
12
|
-
const createStrapiStringMatchingOperatorEntries = (value) => ({
|
|
13
|
-
$contains: value,
|
|
14
|
-
$containsi: value,
|
|
15
|
-
$endsWith: value,
|
|
16
|
-
$endsWithi: value,
|
|
17
|
-
$notContains: value,
|
|
18
|
-
$notContainsi: value,
|
|
19
|
-
$startsWith: value,
|
|
20
|
-
$startsWithi: value
|
|
21
|
-
});
|
|
22
|
-
//#endregion
|
|
23
9
|
//#region src/filters/generics/date-time.ts
|
|
24
10
|
const DATE_PART_PATTERN = /^\d{4}-\d{2}-\d{2}/;
|
|
25
11
|
const TIME_PATTERN = /^\d{2}:\d{2}:\d{2}(?:\.\d{1,3})?$/;
|
|
@@ -85,26 +71,6 @@ const SlugFilter = createExactIdentifierFilter(require_slug.VStringSlug());
|
|
|
85
71
|
const EmailFilter = createExactIdentifierFilter(require_email.VStringEmail());
|
|
86
72
|
const UrlFilter = createExactIdentifierFilter(require_urls.VStringUrl());
|
|
87
73
|
//#endregion
|
|
88
|
-
//#region src/filters/generics/string.ts
|
|
89
|
-
const StringFilter = require_null_operators.createStrapiFieldOperatorSchema({
|
|
90
|
-
...require_null_operators.createStrapiEqualityOperatorEntries(require_string.VStringMax()),
|
|
91
|
-
...require_null_operators.createStrapiCaseInsensitiveEqualityOperatorEntries(require_string.VStringMax()),
|
|
92
|
-
...createStrapiStringMatchingOperatorEntries(require_string.VStringMax()),
|
|
93
|
-
...require_null_operators.StrapiNullOperatorEntries
|
|
94
|
-
});
|
|
95
|
-
const LongStringFilter = require_null_operators.createStrapiFieldOperatorSchema({
|
|
96
|
-
...require_null_operators.createStrapiEqualityOperatorEntries(require_string.VStringMax(require_limits.LIMIT_LONG_STRING_MAX_LENGTH)),
|
|
97
|
-
...require_null_operators.createStrapiCaseInsensitiveEqualityOperatorEntries(require_string.VStringMax(require_limits.LIMIT_LONG_STRING_MAX_LENGTH)),
|
|
98
|
-
...createStrapiStringMatchingOperatorEntries(require_string.VStringMax(require_limits.LIMIT_LONG_STRING_MAX_LENGTH)),
|
|
99
|
-
...require_null_operators.StrapiNullOperatorEntries
|
|
100
|
-
});
|
|
101
|
-
const ExactStringFilter = require_null_operators.createStrapiFieldOperatorSchema({
|
|
102
|
-
...require_null_operators.createStrapiEqualityOperatorEntries(require_string.VStringMax()),
|
|
103
|
-
...require_null_operators.createStrapiCaseInsensitiveEqualityOperatorEntries(require_string.VStringMax()),
|
|
104
|
-
...require_null_operators.createStrapiArrayMembershipOperatorEntries(require_string.VStringMax()),
|
|
105
|
-
...require_null_operators.StrapiNullOperatorEntries
|
|
106
|
-
});
|
|
107
|
-
//#endregion
|
|
108
74
|
Object.defineProperty(exports, "DateFilter", {
|
|
109
75
|
enumerable: true,
|
|
110
76
|
get: function() {
|
|
@@ -141,12 +107,6 @@ Object.defineProperty(exports, "EmailFilter", {
|
|
|
141
107
|
return EmailFilter;
|
|
142
108
|
}
|
|
143
109
|
});
|
|
144
|
-
Object.defineProperty(exports, "ExactStringFilter", {
|
|
145
|
-
enumerable: true,
|
|
146
|
-
get: function() {
|
|
147
|
-
return ExactStringFilter;
|
|
148
|
-
}
|
|
149
|
-
});
|
|
150
110
|
Object.defineProperty(exports, "IdFilter", {
|
|
151
111
|
enumerable: true,
|
|
152
112
|
get: function() {
|
|
@@ -171,12 +131,6 @@ Object.defineProperty(exports, "IntegerFilterValue", {
|
|
|
171
131
|
return IntegerFilterValue;
|
|
172
132
|
}
|
|
173
133
|
});
|
|
174
|
-
Object.defineProperty(exports, "LongStringFilter", {
|
|
175
|
-
enumerable: true,
|
|
176
|
-
get: function() {
|
|
177
|
-
return LongStringFilter;
|
|
178
|
-
}
|
|
179
|
-
});
|
|
180
134
|
Object.defineProperty(exports, "NUMBER_STRING_PATTERN", {
|
|
181
135
|
enumerable: true,
|
|
182
136
|
get: function() {
|
|
@@ -201,12 +155,6 @@ Object.defineProperty(exports, "SlugFilter", {
|
|
|
201
155
|
return SlugFilter;
|
|
202
156
|
}
|
|
203
157
|
});
|
|
204
|
-
Object.defineProperty(exports, "StringFilter", {
|
|
205
|
-
enumerable: true,
|
|
206
|
-
get: function() {
|
|
207
|
-
return StringFilter;
|
|
208
|
-
}
|
|
209
|
-
});
|
|
210
158
|
Object.defineProperty(exports, "TimeFilter", {
|
|
211
159
|
enumerable: true,
|
|
212
160
|
get: function() {
|
|
@@ -6,6 +6,11 @@ type StrapiFilterEntries = Record<string, v.GenericSchema>;
|
|
|
6
6
|
type StrapiStrictFilterObjectInput<TEntries extends StrapiFilterEntries> = Simplify<Partial<{ [TKey in keyof TEntries]: v.InferInput<TEntries[TKey]> }>>;
|
|
7
7
|
type StrapiStrictFilterObjectOutput<TEntries extends StrapiFilterEntries> = Simplify<Partial<{ [TKey in keyof TEntries]: v.InferOutput<TEntries[TKey]> }>>;
|
|
8
8
|
type StrapiStrictFilterObjectSchema<TEntries extends StrapiFilterEntries> = v.GenericSchema<StrapiStrictFilterObjectInput<TEntries>, StrapiStrictFilterObjectOutput<TEntries>>;
|
|
9
|
+
type StrapiLogicalFilter<TFields extends object> = TFields & {
|
|
10
|
+
$and?: StrapiLogicalFilter<TFields>[];
|
|
11
|
+
$not?: StrapiLogicalFilter<TFields>;
|
|
12
|
+
$or?: StrapiLogicalFilter<TFields>[];
|
|
13
|
+
};
|
|
9
14
|
//#endregion
|
|
10
15
|
//#region src/filters/generics/boolean.d.ts
|
|
11
16
|
declare const BooleanFilterValue: v.UnionSchema<[v.BooleanSchema<undefined>], undefined>;
|
|
@@ -398,4 +403,4 @@ declare const ExactStringFilter: StrapiStrictFilterObjectSchema<{
|
|
|
398
403
|
}>;
|
|
399
404
|
type ExactStringFilter = v.InferOutput<typeof ExactStringFilter>;
|
|
400
405
|
//#endregion
|
|
401
|
-
export { BooleanFilter as C, TimeFilterValue as S,
|
|
406
|
+
export { BooleanFilter as C, StrapiStrictFilterObjectSchema as E, TimeFilterValue as S, StrapiLogicalFilter as T, DateFilter as _, createPicklistFilter as a, DateTimeFilterValue as b, NUMBER_STRING_PATTERN as c, DocumentIdFilter as d, EmailFilter as f, UrlFilter as g, SlugFilter as h, createPicklistArrayFilter as i, NumberFilter as l, IdFilterValue as m, LongStringFilter as n, IntegerFilter as o, IdFilter as p, StringFilter as r, IntegerFilterValue as s, ExactStringFilter as t, NumberFilterValue as u, DateFilterValue as v, BooleanFilterValue as w, TimeFilter as x, DateTimeFilter as y };
|
|
@@ -6,6 +6,11 @@ type StrapiFilterEntries = Record<string, v.GenericSchema>;
|
|
|
6
6
|
type StrapiStrictFilterObjectInput<TEntries extends StrapiFilterEntries> = Simplify<Partial<{ [TKey in keyof TEntries]: v.InferInput<TEntries[TKey]> }>>;
|
|
7
7
|
type StrapiStrictFilterObjectOutput<TEntries extends StrapiFilterEntries> = Simplify<Partial<{ [TKey in keyof TEntries]: v.InferOutput<TEntries[TKey]> }>>;
|
|
8
8
|
type StrapiStrictFilterObjectSchema<TEntries extends StrapiFilterEntries> = v.GenericSchema<StrapiStrictFilterObjectInput<TEntries>, StrapiStrictFilterObjectOutput<TEntries>>;
|
|
9
|
+
type StrapiLogicalFilter<TFields extends object> = TFields & {
|
|
10
|
+
$and?: StrapiLogicalFilter<TFields>[];
|
|
11
|
+
$not?: StrapiLogicalFilter<TFields>;
|
|
12
|
+
$or?: StrapiLogicalFilter<TFields>[];
|
|
13
|
+
};
|
|
9
14
|
//#endregion
|
|
10
15
|
//#region src/filters/generics/boolean.d.ts
|
|
11
16
|
declare const BooleanFilterValue: v.UnionSchema<[v.BooleanSchema<undefined>], undefined>;
|
|
@@ -398,4 +403,4 @@ declare const ExactStringFilter: StrapiStrictFilterObjectSchema<{
|
|
|
398
403
|
}>;
|
|
399
404
|
type ExactStringFilter = v.InferOutput<typeof ExactStringFilter>;
|
|
400
405
|
//#endregion
|
|
401
|
-
export { BooleanFilter as C, TimeFilterValue as S,
|
|
406
|
+
export { BooleanFilter as C, StrapiStrictFilterObjectSchema as E, TimeFilterValue as S, StrapiLogicalFilter as T, DateFilter as _, createPicklistFilter as a, DateTimeFilterValue as b, NUMBER_STRING_PATTERN as c, DocumentIdFilter as d, EmailFilter as f, UrlFilter as g, SlugFilter as h, createPicklistArrayFilter as i, NumberFilter as l, IdFilterValue as m, LongStringFilter as n, IntegerFilter as o, IdFilter as p, StringFilter as r, IntegerFilterValue as s, ExactStringFilter as t, NumberFilterValue as u, DateFilterValue as v, BooleanFilterValue as w, TimeFilter as x, DateTimeFilter as y };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { s as FilterStrapiBase } from "./query-BOv5YhYc.cjs";
|
|
2
2
|
import { t as JsonData } from "./json-Ygk2txLN.cjs";
|
|
3
3
|
import * as v from "valibot";
|
|
4
4
|
|
|
@@ -22,15 +22,6 @@ declare const BaseDocument: v.ObjectSchema<{
|
|
|
22
22
|
}, undefined>;
|
|
23
23
|
type BaseDocument = v.InferOutput<typeof BaseDocument>;
|
|
24
24
|
//#endregion
|
|
25
|
-
//#region src/base/filters.d.ts
|
|
26
|
-
declare const FilterStrapiBase: v.GenericSchema<{
|
|
27
|
-
id?: IdFilter;
|
|
28
|
-
documentId?: DocumentIdFilter;
|
|
29
|
-
createdAt?: DateTimeFilter;
|
|
30
|
-
updatedAt?: DateTimeFilter;
|
|
31
|
-
}>;
|
|
32
|
-
type FilterStrapiBase = v.InferOutput<typeof FilterStrapiBase>;
|
|
33
|
-
//#endregion
|
|
34
25
|
//#region src/base/fonts.d.ts
|
|
35
26
|
declare const FONT_HEADER_SIZE: readonly ["h1", "h2", "h3", "h4", "h5", "h6"];
|
|
36
27
|
declare const FontHeaderSize: v.PicklistSchema<readonly ["h1", "h2", "h3", "h4", "h5", "h6"], undefined>;
|
|
@@ -76,12 +67,7 @@ declare const QueryStrapiPaginated: v.ObjectSchema<{
|
|
|
76
67
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
77
68
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
78
69
|
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>;
|
|
79
|
-
readonly f: v.OptionalSchema<v.GenericSchema<
|
|
80
|
-
id?: IdFilter;
|
|
81
|
-
documentId?: DocumentIdFilter;
|
|
82
|
-
createdAt?: DateTimeFilter;
|
|
83
|
-
updatedAt?: DateTimeFilter;
|
|
84
|
-
}>, undefined>;
|
|
70
|
+
readonly f: v.OptionalSchema<v.GenericSchema<FilterStrapiBase>, undefined>;
|
|
85
71
|
}, undefined>;
|
|
86
72
|
type QueryStrapiPaginated = v.InferOutput<typeof QueryStrapiPaginated>;
|
|
87
73
|
//#endregion
|
|
@@ -275,4 +261,4 @@ declare const STRAPI_ICON_NAME: readonly ["link", "email", "phone", "facebook",
|
|
|
275
261
|
declare const StrapiIconName: v.NullableSchema<v.PicklistSchema<readonly ["link", "email", "phone", "facebook", "instagram", "linkedin", "tiktok", "pinterest", "twitter"], undefined>, undefined>;
|
|
276
262
|
type StrapiIconName = v.InferOutput<typeof StrapiIconName>;
|
|
277
263
|
//#endregion
|
|
278
|
-
export { FormSelectInputOption as $, StrapiErrorResult as A, AssociateManyEntitiesOptional as B, SortOrder as C, StrapiAttributeErrorResponse as D, StrapiAttributeErrorKey as E, StrapiSingleResponse as F, SSetEntityRelationshipRequest as G, AssociateOneEntityOptional as H, AssociateEntityPosition as I, STRAPI_LINK_REL as J, QueryStrapiPaginated as K, AssociateEntityPositionDocumentRequest as L, StrapiPagination as M, StrapiResponseMeta as N, StrapiErrorDetail as O, StrapiResponseMetaWithPagination as P, StrapiLinkTarget as Q, AssociateEntityRelationshipRequest as R, SORT_ORDER as S, StrapiAttributeErrorDetail as T, QueryManyEntities as U, AssociateOneEntity as V, SEntityPosition as W, StrapiLinkReferrerPolicy as X, STRAPI_LINK_TARGET as Y, StrapiLinkRel as Z, ContentStatus as _, STRAPI_ICON_POSITION as a, WEBSAFE_FONT_SERIF as at, ValidStrapiSpecialEntity as b, STRAPI_THEME_OPTIONS as c, WebSafeFontMono as ct, StrapiGapSizes as d,
|
|
264
|
+
export { FormSelectInputOption as $, StrapiErrorResult as A, AssociateManyEntitiesOptional as B, SortOrder as C, StrapiAttributeErrorResponse as D, StrapiAttributeErrorKey as E, StrapiSingleResponse as F, SSetEntityRelationshipRequest as G, AssociateOneEntityOptional as H, AssociateEntityPosition as I, STRAPI_LINK_REL as J, QueryStrapiPaginated as K, AssociateEntityPositionDocumentRequest as L, StrapiPagination as M, StrapiResponseMeta as N, StrapiErrorDetail as O, StrapiResponseMetaWithPagination as P, StrapiLinkTarget as Q, AssociateEntityRelationshipRequest as R, SORT_ORDER as S, StrapiAttributeErrorDetail as T, QueryManyEntities as U, AssociateOneEntity as V, SEntityPosition as W, StrapiLinkReferrerPolicy as X, STRAPI_LINK_TARGET as Y, StrapiLinkRel as Z, ContentStatus as _, STRAPI_ICON_POSITION as a, WEBSAFE_FONT_SERIF as at, ValidStrapiSpecialEntity as b, STRAPI_THEME_OPTIONS as c, WebSafeFontMono as ct, StrapiGapSizes as d, BaseDocument as dt, FONT_HEADER_SIZE as et, StrapiIconName as f, BaseComponent as ft, StrapiThemeOptions as g, StrapiTextColorOptions as h, STRAPI_ICON_NAME as i, WEBSAFE_FONT_SANS as it, StrapiListResponse as j, StrapiErrorResponse as k, StrapiBgColorOptions as l, WebSafeFontSans as lt, StrapiLinkType as m, STRAPI_DIRECTION as n, WEBSAFE_FONT_DISPLAY as nt, STRAPI_LINK_TYPE as o, WebSafeFont as ot, StrapiIconPosition as p, BaseComponentId as pt, STRAPI_LINK_REFERRER_POLICY as q, STRAPI_GAP_SIZES as r, WEBSAFE_FONT_MONO as rt, STRAPI_TEXT_COLOR_OPTIONS as s, WebSafeFontDisplay as st, STRAPI_BG_COLOR_OPTIONS as t, FontHeaderSize as tt, StrapiDirection as u, WebSafeFontSerif as ut, ValidStrapiCollectionEntity as v, SortString as w, QuerySortValues as x, ValidStrapiSingleEntity as y, AssociateManyEntities as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { s as FilterStrapiBase } from "./query-BQkvCQDy.mjs";
|
|
2
2
|
import { t as JsonData } from "./json-Ygk2txLN.mjs";
|
|
3
3
|
import * as v from "valibot";
|
|
4
4
|
|
|
@@ -22,15 +22,6 @@ declare const BaseDocument: v.ObjectSchema<{
|
|
|
22
22
|
}, undefined>;
|
|
23
23
|
type BaseDocument = v.InferOutput<typeof BaseDocument>;
|
|
24
24
|
//#endregion
|
|
25
|
-
//#region src/base/filters.d.ts
|
|
26
|
-
declare const FilterStrapiBase: v.GenericSchema<{
|
|
27
|
-
id?: IdFilter;
|
|
28
|
-
documentId?: DocumentIdFilter;
|
|
29
|
-
createdAt?: DateTimeFilter;
|
|
30
|
-
updatedAt?: DateTimeFilter;
|
|
31
|
-
}>;
|
|
32
|
-
type FilterStrapiBase = v.InferOutput<typeof FilterStrapiBase>;
|
|
33
|
-
//#endregion
|
|
34
25
|
//#region src/base/fonts.d.ts
|
|
35
26
|
declare const FONT_HEADER_SIZE: readonly ["h1", "h2", "h3", "h4", "h5", "h6"];
|
|
36
27
|
declare const FontHeaderSize: v.PicklistSchema<readonly ["h1", "h2", "h3", "h4", "h5", "h6"], undefined>;
|
|
@@ -76,12 +67,7 @@ declare const QueryStrapiPaginated: v.ObjectSchema<{
|
|
|
76
67
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
77
68
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
78
69
|
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>;
|
|
79
|
-
readonly f: v.OptionalSchema<v.GenericSchema<
|
|
80
|
-
id?: IdFilter;
|
|
81
|
-
documentId?: DocumentIdFilter;
|
|
82
|
-
createdAt?: DateTimeFilter;
|
|
83
|
-
updatedAt?: DateTimeFilter;
|
|
84
|
-
}>, undefined>;
|
|
70
|
+
readonly f: v.OptionalSchema<v.GenericSchema<FilterStrapiBase>, undefined>;
|
|
85
71
|
}, undefined>;
|
|
86
72
|
type QueryStrapiPaginated = v.InferOutput<typeof QueryStrapiPaginated>;
|
|
87
73
|
//#endregion
|
|
@@ -275,4 +261,4 @@ declare const STRAPI_ICON_NAME: readonly ["link", "email", "phone", "facebook",
|
|
|
275
261
|
declare const StrapiIconName: v.NullableSchema<v.PicklistSchema<readonly ["link", "email", "phone", "facebook", "instagram", "linkedin", "tiktok", "pinterest", "twitter"], undefined>, undefined>;
|
|
276
262
|
type StrapiIconName = v.InferOutput<typeof StrapiIconName>;
|
|
277
263
|
//#endregion
|
|
278
|
-
export { FormSelectInputOption as $, StrapiErrorResult as A, AssociateManyEntitiesOptional as B, SortOrder as C, StrapiAttributeErrorResponse as D, StrapiAttributeErrorKey as E, StrapiSingleResponse as F, SSetEntityRelationshipRequest as G, AssociateOneEntityOptional as H, AssociateEntityPosition as I, STRAPI_LINK_REL as J, QueryStrapiPaginated as K, AssociateEntityPositionDocumentRequest as L, StrapiPagination as M, StrapiResponseMeta as N, StrapiErrorDetail as O, StrapiResponseMetaWithPagination as P, StrapiLinkTarget as Q, AssociateEntityRelationshipRequest as R, SORT_ORDER as S, StrapiAttributeErrorDetail as T, QueryManyEntities as U, AssociateOneEntity as V, SEntityPosition as W, StrapiLinkReferrerPolicy as X, STRAPI_LINK_TARGET as Y, StrapiLinkRel as Z, ContentStatus as _, STRAPI_ICON_POSITION as a, WEBSAFE_FONT_SERIF as at, ValidStrapiSpecialEntity as b, STRAPI_THEME_OPTIONS as c, WebSafeFontMono as ct, StrapiGapSizes as d,
|
|
264
|
+
export { FormSelectInputOption as $, StrapiErrorResult as A, AssociateManyEntitiesOptional as B, SortOrder as C, StrapiAttributeErrorResponse as D, StrapiAttributeErrorKey as E, StrapiSingleResponse as F, SSetEntityRelationshipRequest as G, AssociateOneEntityOptional as H, AssociateEntityPosition as I, STRAPI_LINK_REL as J, QueryStrapiPaginated as K, AssociateEntityPositionDocumentRequest as L, StrapiPagination as M, StrapiResponseMeta as N, StrapiErrorDetail as O, StrapiResponseMetaWithPagination as P, StrapiLinkTarget as Q, AssociateEntityRelationshipRequest as R, SORT_ORDER as S, StrapiAttributeErrorDetail as T, QueryManyEntities as U, AssociateOneEntity as V, SEntityPosition as W, StrapiLinkReferrerPolicy as X, STRAPI_LINK_TARGET as Y, StrapiLinkRel as Z, ContentStatus as _, STRAPI_ICON_POSITION as a, WEBSAFE_FONT_SERIF as at, ValidStrapiSpecialEntity as b, STRAPI_THEME_OPTIONS as c, WebSafeFontMono as ct, StrapiGapSizes as d, BaseDocument as dt, FONT_HEADER_SIZE as et, StrapiIconName as f, BaseComponent as ft, StrapiThemeOptions as g, StrapiTextColorOptions as h, STRAPI_ICON_NAME as i, WEBSAFE_FONT_SANS as it, StrapiListResponse as j, StrapiErrorResponse as k, StrapiBgColorOptions as l, WebSafeFontSans as lt, StrapiLinkType as m, STRAPI_DIRECTION as n, WEBSAFE_FONT_DISPLAY as nt, STRAPI_LINK_TYPE as o, WebSafeFont as ot, StrapiIconPosition as p, BaseComponentId as pt, STRAPI_LINK_REFERRER_POLICY as q, STRAPI_GAP_SIZES as r, WEBSAFE_FONT_MONO as rt, STRAPI_TEXT_COLOR_OPTIONS as s, WebSafeFontDisplay as st, STRAPI_BG_COLOR_OPTIONS as t, FontHeaderSize as tt, StrapiDirection as u, WebSafeFontSerif as ut, ValidStrapiCollectionEntity as v, SortString as w, QuerySortValues as x, ValidStrapiSingleEntity as y, AssociateManyEntities as z };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { E as StrapiStrictFilterObjectSchema, T as StrapiLogicalFilter, d as DocumentIdFilter, n as LongStringFilter, p as IdFilter, r as StringFilter, y as DateTimeFilter } from "./index-BgZbDm41.mjs";
|
|
2
2
|
import * as v from "valibot";
|
|
3
3
|
|
|
4
4
|
//#region src/entities/up-role/query.d.ts
|
|
5
5
|
declare const FilterRoleType: StrapiStrictFilterObjectSchema<{
|
|
6
6
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
7
7
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
8
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, v.MinLengthAction<("
|
|
9
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, v.MinLengthAction<("
|
|
8
|
+
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, v.MinLengthAction<("manager" | "client" | "authenticated" | "public" | "employee")[], 1, undefined>]>;
|
|
9
|
+
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, v.MinLengthAction<("manager" | "client" | "authenticated" | "public" | "employee")[], 1, undefined>]>;
|
|
10
10
|
readonly $eq: v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>;
|
|
11
11
|
readonly $ne: v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>;
|
|
12
12
|
} & {
|
|
13
13
|
readonly $not: StrapiStrictFilterObjectSchema<{
|
|
14
14
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
15
15
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
16
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, v.MinLengthAction<("
|
|
17
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, v.MinLengthAction<("
|
|
16
|
+
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, v.MinLengthAction<("manager" | "client" | "authenticated" | "public" | "employee")[], 1, undefined>]>;
|
|
17
|
+
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, v.MinLengthAction<("manager" | "client" | "authenticated" | "public" | "employee")[], 1, undefined>]>;
|
|
18
18
|
readonly $eq: v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>;
|
|
19
19
|
readonly $ne: v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>;
|
|
20
20
|
}>;
|
|
21
21
|
}>;
|
|
22
22
|
type FilterRoleType = v.InferOutput<typeof FilterRoleType>;
|
|
23
|
-
|
|
23
|
+
type FilterStrapiRolesFields = {
|
|
24
24
|
id?: IdFilter;
|
|
25
25
|
documentId?: DocumentIdFilter;
|
|
26
26
|
createdAt?: DateTimeFilter;
|
|
@@ -28,7 +28,8 @@ declare const FilterStrapiRoles: v.GenericSchema<{
|
|
|
28
28
|
type?: FilterRoleType;
|
|
29
29
|
name?: StringFilter;
|
|
30
30
|
description?: LongStringFilter;
|
|
31
|
-
}
|
|
32
|
-
type FilterStrapiRoles =
|
|
31
|
+
};
|
|
32
|
+
type FilterStrapiRoles = StrapiLogicalFilter<FilterStrapiRolesFields>;
|
|
33
|
+
declare const FilterStrapiRoles: v.GenericSchema<FilterStrapiRoles>;
|
|
33
34
|
//#endregion
|
|
34
35
|
export { FilterStrapiRoles as n, FilterRoleType as t };
|
|
@@ -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/gcflytour/query.d.ts
|
|
6
|
-
|
|
6
|
+
type FilterStrapiGCFlyToursFields = {
|
|
7
7
|
id?: IdFilter;
|
|
8
8
|
documentId?: DocumentIdFilter;
|
|
9
9
|
createdAt?: DateTimeFilter;
|
|
@@ -15,30 +15,19 @@ declare const FilterStrapiGCFlyTours: v.GenericSchema<{
|
|
|
15
15
|
is_hidden?: BooleanFilter;
|
|
16
16
|
gcflytour_snaps?: FilterStrapiGCFlyTourSnaps;
|
|
17
17
|
clients?: FilterStrapiClients;
|
|
18
|
-
}
|
|
19
|
-
type FilterStrapiGCFlyTours =
|
|
18
|
+
};
|
|
19
|
+
type FilterStrapiGCFlyTours = StrapiLogicalFilter<FilterStrapiGCFlyToursFields>;
|
|
20
|
+
declare const FilterStrapiGCFlyTours: v.GenericSchema<FilterStrapiGCFlyTours>;
|
|
20
21
|
declare const QueryStrapiSearchGCFlyTours: v.ObjectSchema<{
|
|
21
22
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
22
23
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
23
24
|
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>;
|
|
24
|
-
readonly f: v.OptionalSchema<v.GenericSchema<
|
|
25
|
-
id?: IdFilter;
|
|
26
|
-
documentId?: DocumentIdFilter;
|
|
27
|
-
createdAt?: DateTimeFilter;
|
|
28
|
-
updatedAt?: DateTimeFilter;
|
|
29
|
-
title?: StringFilter;
|
|
30
|
-
description?: LongStringFilter;
|
|
31
|
-
slug?: SlugFilter;
|
|
32
|
-
is_active?: BooleanFilter;
|
|
33
|
-
is_hidden?: BooleanFilter;
|
|
34
|
-
gcflytour_snaps?: FilterStrapiGCFlyTourSnaps;
|
|
35
|
-
clients?: FilterStrapiClients;
|
|
36
|
-
}>, undefined>;
|
|
25
|
+
readonly f: v.OptionalSchema<v.GenericSchema<FilterStrapiGCFlyTours>, undefined>;
|
|
37
26
|
}, undefined>;
|
|
38
27
|
type QueryStrapiSearchGCFlyTours = v.InferOutput<typeof QueryStrapiSearchGCFlyTours>;
|
|
39
28
|
//#endregion
|
|
40
29
|
//#region src/entities/gcflytour-snap/query.d.ts
|
|
41
|
-
|
|
30
|
+
type FilterStrapiGCFlyTourSnapsFields = {
|
|
42
31
|
id?: IdFilter;
|
|
43
32
|
documentId?: DocumentIdFilter;
|
|
44
33
|
createdAt?: DateTimeFilter;
|
|
@@ -49,24 +38,14 @@ declare const FilterStrapiGCFlyTourSnaps: v.GenericSchema<{
|
|
|
49
38
|
is_active?: BooleanFilter;
|
|
50
39
|
is_hidden?: BooleanFilter;
|
|
51
40
|
gcflytour?: FilterStrapiGCFlyTours;
|
|
52
|
-
}
|
|
53
|
-
type FilterStrapiGCFlyTourSnaps =
|
|
41
|
+
};
|
|
42
|
+
type FilterStrapiGCFlyTourSnaps = StrapiLogicalFilter<FilterStrapiGCFlyTourSnapsFields>;
|
|
43
|
+
declare const FilterStrapiGCFlyTourSnaps: v.GenericSchema<FilterStrapiGCFlyTourSnaps>;
|
|
54
44
|
declare const QueryStrapiSearchGCFlyTourSnaps: v.ObjectSchema<{
|
|
55
45
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
56
46
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
57
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>;
|
|
58
|
-
readonly f: v.OptionalSchema<v.GenericSchema<
|
|
59
|
-
id?: IdFilter;
|
|
60
|
-
documentId?: DocumentIdFilter;
|
|
61
|
-
createdAt?: DateTimeFilter;
|
|
62
|
-
updatedAt?: DateTimeFilter;
|
|
63
|
-
title?: StringFilter;
|
|
64
|
-
description?: LongStringFilter;
|
|
65
|
-
slug?: SlugFilter;
|
|
66
|
-
is_active?: BooleanFilter;
|
|
67
|
-
is_hidden?: BooleanFilter;
|
|
68
|
-
gcflytour?: FilterStrapiGCFlyTours;
|
|
69
|
-
}>, undefined>;
|
|
48
|
+
readonly f: v.OptionalSchema<v.GenericSchema<FilterStrapiGCFlyTourSnaps>, undefined>;
|
|
70
49
|
}, undefined>;
|
|
71
50
|
type QueryStrapiSearchGCFlyTourSnaps = v.InferOutput<typeof QueryStrapiSearchGCFlyTourSnaps>;
|
|
72
51
|
//#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,13 +10,13 @@ let valibot = require("valibot");
|
|
|
9
10
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
10
11
|
//#region src/entities/gcflytour-snap/query.ts
|
|
11
12
|
const FilterStrapiGCFlyTourSnaps = 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
18
|
description: require_string.LongStringFilter,
|
|
18
|
-
slug:
|
|
19
|
+
slug: require_identifier.SlugFilter,
|
|
19
20
|
is_active: require_boolean.BooleanFilter,
|
|
20
21
|
is_hidden: require_boolean.BooleanFilter,
|
|
21
22
|
gcflytour: valibot.optional(valibot.lazy(() => FilterStrapiGCFlyTours))
|
|
@@ -29,13 +30,13 @@ const QueryStrapiSearchGCFlyTourSnaps = valibot.object({
|
|
|
29
30
|
//#endregion
|
|
30
31
|
//#region src/entities/gcflytour/query.ts
|
|
31
32
|
const FilterStrapiGCFlyTours = require_logical_operators.createStrapiFilterSchema({
|
|
32
|
-
id:
|
|
33
|
-
documentId:
|
|
34
|
-
createdAt:
|
|
35
|
-
updatedAt:
|
|
33
|
+
id: require_identifier.IdFilter,
|
|
34
|
+
documentId: require_identifier.DocumentIdFilter,
|
|
35
|
+
createdAt: require_identifier.DateTimeFilter,
|
|
36
|
+
updatedAt: require_identifier.DateTimeFilter,
|
|
36
37
|
title: require_string.StringFilter,
|
|
37
38
|
description: require_string.LongStringFilter,
|
|
38
|
-
slug:
|
|
39
|
+
slug: require_identifier.SlugFilter,
|
|
39
40
|
is_active: require_boolean.BooleanFilter,
|
|
40
41
|
is_hidden: require_boolean.BooleanFilter,
|
|
41
42
|
gcflytour_snaps: valibot.optional(valibot.lazy(() => FilterStrapiGCFlyTourSnaps)),
|
|
@@ -1,6 +1,16 @@
|
|
|
1
|
-
import { d as DocumentIdFilter, p as IdFilter, y as DateTimeFilter } from "./index-
|
|
1
|
+
import { T as StrapiLogicalFilter, d as DocumentIdFilter, p as IdFilter, y as DateTimeFilter } from "./index-BgZbDm41.cjs";
|
|
2
2
|
import * as v from "valibot";
|
|
3
3
|
|
|
4
|
+
//#region src/base/filters.d.ts
|
|
5
|
+
type FilterStrapiBaseFields = {
|
|
6
|
+
id?: IdFilter;
|
|
7
|
+
documentId?: DocumentIdFilter;
|
|
8
|
+
createdAt?: DateTimeFilter;
|
|
9
|
+
updatedAt?: DateTimeFilter;
|
|
10
|
+
};
|
|
11
|
+
type FilterStrapiBase = StrapiLogicalFilter<FilterStrapiBaseFields>;
|
|
12
|
+
declare const FilterStrapiBase: v.GenericSchema<FilterStrapiBase>;
|
|
13
|
+
//#endregion
|
|
4
14
|
//#region src/base/query.d.ts
|
|
5
15
|
declare const QueryStrapiById: v.ObjectSchema<{
|
|
6
16
|
readonly id: v.NumberSchema<undefined>;
|
|
@@ -14,12 +24,7 @@ declare const QueryStrapiBySlug: v.ObjectSchema<{
|
|
|
14
24
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
15
25
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
16
26
|
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>;
|
|
17
|
-
readonly f: v.OptionalSchema<v.GenericSchema<
|
|
18
|
-
id?: IdFilter;
|
|
19
|
-
documentId?: DocumentIdFilter;
|
|
20
|
-
createdAt?: DateTimeFilter;
|
|
21
|
-
updatedAt?: DateTimeFilter;
|
|
22
|
-
}>, undefined>;
|
|
27
|
+
readonly f: v.OptionalSchema<v.GenericSchema<FilterStrapiBase>, undefined>;
|
|
23
28
|
readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
24
29
|
}, undefined>;
|
|
25
30
|
type QueryStrapiBySlug = v.InferOutput<typeof QueryStrapiBySlug>;
|
|
@@ -27,12 +32,7 @@ declare const QueryStrapiByEmail: v.ObjectSchema<{
|
|
|
27
32
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
28
33
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
29
34
|
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>;
|
|
30
|
-
readonly f: v.OptionalSchema<v.GenericSchema<
|
|
31
|
-
id?: IdFilter;
|
|
32
|
-
documentId?: DocumentIdFilter;
|
|
33
|
-
createdAt?: DateTimeFilter;
|
|
34
|
-
updatedAt?: DateTimeFilter;
|
|
35
|
-
}>, undefined>;
|
|
35
|
+
readonly f: v.OptionalSchema<v.GenericSchema<FilterStrapiBase>, undefined>;
|
|
36
36
|
readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
37
37
|
}, undefined>;
|
|
38
38
|
type QueryStrapiByEmail = v.InferOutput<typeof QueryStrapiByEmail>;
|
|
@@ -40,12 +40,7 @@ declare const QueryStrapiByPhone: v.ObjectSchema<{
|
|
|
40
40
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
41
41
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
42
42
|
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>;
|
|
43
|
-
readonly f: v.OptionalSchema<v.GenericSchema<
|
|
44
|
-
id?: IdFilter;
|
|
45
|
-
documentId?: DocumentIdFilter;
|
|
46
|
-
createdAt?: DateTimeFilter;
|
|
47
|
-
updatedAt?: DateTimeFilter;
|
|
48
|
-
}>, undefined>;
|
|
43
|
+
readonly f: v.OptionalSchema<v.GenericSchema<FilterStrapiBase>, undefined>;
|
|
49
44
|
readonly phone: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 7, undefined>, v.MaxLengthAction<string, 24, undefined>, v.RegexAction<string, "Please provide a valid phone number.">]>;
|
|
50
45
|
}, undefined>;
|
|
51
46
|
type QueryStrapiByPhone = v.InferOutput<typeof QueryStrapiByPhone>;
|
|
@@ -53,14 +48,9 @@ declare const QueryStrapiByName: v.ObjectSchema<{
|
|
|
53
48
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
54
49
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
55
50
|
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>;
|
|
56
|
-
readonly f: v.OptionalSchema<v.GenericSchema<
|
|
57
|
-
id?: IdFilter;
|
|
58
|
-
documentId?: DocumentIdFilter;
|
|
59
|
-
createdAt?: DateTimeFilter;
|
|
60
|
-
updatedAt?: DateTimeFilter;
|
|
61
|
-
}>, undefined>;
|
|
51
|
+
readonly f: v.OptionalSchema<v.GenericSchema<FilterStrapiBase>, undefined>;
|
|
62
52
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
63
53
|
}, undefined>;
|
|
64
54
|
type QueryStrapiByName = v.InferOutput<typeof QueryStrapiByName>;
|
|
65
55
|
//#endregion
|
|
66
|
-
export { QueryStrapiByPhone as a, QueryStrapiByName as i, QueryStrapiByEmail as n, QueryStrapiBySlug as o, QueryStrapiById as r, QueryStrapiByDocumentId as t };
|
|
56
|
+
export { QueryStrapiByPhone as a, QueryStrapiByName as i, QueryStrapiByEmail as n, QueryStrapiBySlug as o, QueryStrapiById as r, FilterStrapiBase as s, QueryStrapiByDocumentId as t };
|
|
@@ -1,6 +1,16 @@
|
|
|
1
|
-
import { d as DocumentIdFilter, p as IdFilter, y as DateTimeFilter } from "./index-
|
|
1
|
+
import { T as StrapiLogicalFilter, d as DocumentIdFilter, p as IdFilter, y as DateTimeFilter } from "./index-BgZbDm41.mjs";
|
|
2
2
|
import * as v from "valibot";
|
|
3
3
|
|
|
4
|
+
//#region src/base/filters.d.ts
|
|
5
|
+
type FilterStrapiBaseFields = {
|
|
6
|
+
id?: IdFilter;
|
|
7
|
+
documentId?: DocumentIdFilter;
|
|
8
|
+
createdAt?: DateTimeFilter;
|
|
9
|
+
updatedAt?: DateTimeFilter;
|
|
10
|
+
};
|
|
11
|
+
type FilterStrapiBase = StrapiLogicalFilter<FilterStrapiBaseFields>;
|
|
12
|
+
declare const FilterStrapiBase: v.GenericSchema<FilterStrapiBase>;
|
|
13
|
+
//#endregion
|
|
4
14
|
//#region src/base/query.d.ts
|
|
5
15
|
declare const QueryStrapiById: v.ObjectSchema<{
|
|
6
16
|
readonly id: v.NumberSchema<undefined>;
|
|
@@ -14,12 +24,7 @@ declare const QueryStrapiBySlug: v.ObjectSchema<{
|
|
|
14
24
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
15
25
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
16
26
|
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>;
|
|
17
|
-
readonly f: v.OptionalSchema<v.GenericSchema<
|
|
18
|
-
id?: IdFilter;
|
|
19
|
-
documentId?: DocumentIdFilter;
|
|
20
|
-
createdAt?: DateTimeFilter;
|
|
21
|
-
updatedAt?: DateTimeFilter;
|
|
22
|
-
}>, undefined>;
|
|
27
|
+
readonly f: v.OptionalSchema<v.GenericSchema<FilterStrapiBase>, undefined>;
|
|
23
28
|
readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
24
29
|
}, undefined>;
|
|
25
30
|
type QueryStrapiBySlug = v.InferOutput<typeof QueryStrapiBySlug>;
|
|
@@ -27,12 +32,7 @@ declare const QueryStrapiByEmail: v.ObjectSchema<{
|
|
|
27
32
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
28
33
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
29
34
|
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>;
|
|
30
|
-
readonly f: v.OptionalSchema<v.GenericSchema<
|
|
31
|
-
id?: IdFilter;
|
|
32
|
-
documentId?: DocumentIdFilter;
|
|
33
|
-
createdAt?: DateTimeFilter;
|
|
34
|
-
updatedAt?: DateTimeFilter;
|
|
35
|
-
}>, undefined>;
|
|
35
|
+
readonly f: v.OptionalSchema<v.GenericSchema<FilterStrapiBase>, undefined>;
|
|
36
36
|
readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
37
37
|
}, undefined>;
|
|
38
38
|
type QueryStrapiByEmail = v.InferOutput<typeof QueryStrapiByEmail>;
|
|
@@ -40,12 +40,7 @@ declare const QueryStrapiByPhone: v.ObjectSchema<{
|
|
|
40
40
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
41
41
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
42
42
|
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>;
|
|
43
|
-
readonly f: v.OptionalSchema<v.GenericSchema<
|
|
44
|
-
id?: IdFilter;
|
|
45
|
-
documentId?: DocumentIdFilter;
|
|
46
|
-
createdAt?: DateTimeFilter;
|
|
47
|
-
updatedAt?: DateTimeFilter;
|
|
48
|
-
}>, undefined>;
|
|
43
|
+
readonly f: v.OptionalSchema<v.GenericSchema<FilterStrapiBase>, undefined>;
|
|
49
44
|
readonly phone: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 7, undefined>, v.MaxLengthAction<string, 24, undefined>, v.RegexAction<string, "Please provide a valid phone number.">]>;
|
|
50
45
|
}, undefined>;
|
|
51
46
|
type QueryStrapiByPhone = v.InferOutput<typeof QueryStrapiByPhone>;
|
|
@@ -53,14 +48,9 @@ declare const QueryStrapiByName: v.ObjectSchema<{
|
|
|
53
48
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
54
49
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
55
50
|
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>;
|
|
56
|
-
readonly f: v.OptionalSchema<v.GenericSchema<
|
|
57
|
-
id?: IdFilter;
|
|
58
|
-
documentId?: DocumentIdFilter;
|
|
59
|
-
createdAt?: DateTimeFilter;
|
|
60
|
-
updatedAt?: DateTimeFilter;
|
|
61
|
-
}>, undefined>;
|
|
51
|
+
readonly f: v.OptionalSchema<v.GenericSchema<FilterStrapiBase>, undefined>;
|
|
62
52
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
63
53
|
}, undefined>;
|
|
64
54
|
type QueryStrapiByName = v.InferOutput<typeof QueryStrapiByName>;
|
|
65
55
|
//#endregion
|
|
66
|
-
export { QueryStrapiByPhone as a, QueryStrapiByName as i, QueryStrapiByEmail as n, QueryStrapiBySlug as o, QueryStrapiById as r, QueryStrapiByDocumentId as t };
|
|
56
|
+
export { QueryStrapiByPhone as a, QueryStrapiByName as i, QueryStrapiByEmail as n, QueryStrapiBySlug as o, QueryStrapiById as r, FilterStrapiBase as s, QueryStrapiByDocumentId as t };
|