@getcommunity/gc-validators 0.0.288-alpha.1 → 0.0.288-alpha.2
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 +3 -2
- package/dist/base/index.d.cts +3 -3
- package/dist/base/index.d.mts +3 -3
- package/dist/base/index.mjs +3 -3
- package/dist/constants/index.cjs +2 -2
- package/dist/constants/index.mjs +2 -2
- package/dist/{document-CMD9cQiK.mjs → document-DKCXrhcv.mjs} +9 -9
- package/dist/entities/audit-log/mutation.cjs +3 -3
- package/dist/entities/audit-log/mutation.mjs +3 -3
- package/dist/entities/audit-log/query.cjs +3 -3
- package/dist/entities/audit-log/query.d.cts +1 -2
- package/dist/entities/audit-log/query.d.mts +1 -2
- package/dist/entities/audit-log/query.mjs +3 -3
- package/dist/entities/blog-post/document.cjs +1 -1
- package/dist/entities/blog-post/document.mjs +1 -1
- package/dist/entities/blog-post/fields.cjs +1 -1
- package/dist/entities/blog-post/fields.mjs +1 -1
- package/dist/entities/blog-post/query.cjs +15 -15
- package/dist/entities/blog-post/query.d.cts +1 -2
- package/dist/entities/blog-post/query.d.mts +1 -2
- package/dist/entities/blog-post/query.mjs +5 -5
- package/dist/entities/category/document.cjs +1 -1
- package/dist/entities/category/document.mjs +1 -1
- package/dist/entities/category/mutation.cjs +1 -1
- package/dist/entities/category/mutation.mjs +1 -1
- package/dist/entities/category/query.cjs +2 -2
- package/dist/entities/category/query.d.cts +1 -1
- package/dist/entities/category/query.d.mts +1 -1
- package/dist/entities/category/query.mjs +2 -2
- package/dist/entities/client/mutation.cjs +1 -1
- package/dist/entities/client/mutation.mjs +1 -1
- package/dist/entities/client/query.cjs +3 -3
- package/dist/entities/client/query.d.cts +1 -1
- package/dist/entities/client/query.d.mts +1 -1
- package/dist/entities/client/query.mjs +3 -3
- package/dist/entities/client-content-pillar/mutation.cjs +1 -1
- package/dist/entities/client-content-pillar/mutation.mjs +1 -1
- package/dist/entities/client-content-pillar/query.cjs +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/mutation.cjs +1 -1
- package/dist/entities/client-media-platform/mutation.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/mutation.cjs +3 -3
- package/dist/entities/client-project/mutation.mjs +3 -3
- package/dist/entities/client-project/query.cjs +3 -3
- package/dist/entities/client-project/query.d.cts +2 -3
- package/dist/entities/client-project/query.d.mts +2 -3
- package/dist/entities/client-project/query.mjs +3 -3
- package/dist/entities/client-report/mutation.cjs +1 -1
- package/dist/entities/client-report/mutation.mjs +1 -1
- package/dist/entities/client-report/query.cjs +3 -3
- package/dist/entities/client-report/query.d.cts +2 -3
- package/dist/entities/client-report/query.d.mts +2 -3
- package/dist/entities/client-report/query.mjs +3 -3
- package/dist/entities/client-styleguide/mutation.cjs +1 -1
- package/dist/entities/client-styleguide/mutation.mjs +1 -1
- package/dist/entities/client-styleguide/query.cjs +3 -3
- package/dist/entities/client-styleguide/query.d.cts +2 -2
- package/dist/entities/client-styleguide/query.d.mts +2 -2
- package/dist/entities/client-styleguide/query.mjs +3 -3
- package/dist/entities/client-user/mutation.cjs +1 -1
- package/dist/entities/client-user/mutation.mjs +1 -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/comment/query.cjs +2 -2
- package/dist/entities/comment/query.mjs +2 -2
- package/dist/entities/content-pillar/mutation.cjs +1 -1
- package/dist/entities/content-pillar/mutation.mjs +1 -1
- package/dist/entities/content-pillar/query.cjs +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/mutation.cjs +1 -1
- package/dist/entities/gcflytour/mutation.mjs +1 -1
- 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/mutation.cjs +1 -1
- package/dist/entities/gcflytour-snap/mutation.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/lead/mutation.cjs +2 -2
- package/dist/entities/lead/mutation.mjs +2 -2
- package/dist/entities/media-content-type/mutation.cjs +1 -1
- package/dist/entities/media-content-type/mutation.mjs +1 -1
- package/dist/entities/media-content-type/query.cjs +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/mutation.cjs +1 -1
- package/dist/entities/media-creative-format/mutation.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/mutation.cjs +1 -1
- package/dist/entities/media-medium/mutation.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/mutation.cjs +2 -2
- package/dist/entities/media-platform/mutation.mjs +2 -2
- 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/mutation.cjs +1 -1
- package/dist/entities/monday-workspace/mutation.mjs +1 -1
- package/dist/entities/monday-workspace/query.cjs +2 -2
- package/dist/entities/monday-workspace/query.d.cts +2 -2
- package/dist/entities/monday-workspace/query.d.mts +2 -2
- package/dist/entities/monday-workspace/query.mjs +2 -2
- package/dist/entities/newsletter-signup/mutation.cjs +2 -2
- package/dist/entities/newsletter-signup/mutation.mjs +2 -2
- package/dist/entities/resume/mutation.cjs +3 -3
- package/dist/entities/resume/mutation.mjs +3 -3
- package/dist/entities/sharpspring/mutation.cjs +1 -1
- package/dist/entities/sharpspring/mutation.mjs +1 -1
- package/dist/entities/tag/mutation.cjs +1 -1
- package/dist/entities/tag/mutation.mjs +1 -1
- package/dist/entities/tag/query.cjs +2 -2
- package/dist/entities/tag/query.d.cts +1 -1
- package/dist/entities/tag/query.d.mts +1 -1
- package/dist/entities/tag/query.mjs +2 -2
- 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 +3 -3
- package/dist/entities/team-member/query.d.cts +1 -2
- package/dist/entities/team-member/query.d.mts +1 -2
- package/dist/entities/team-member/query.mjs +3 -3
- package/dist/entities/teamwork/query.cjs +1 -1
- package/dist/entities/teamwork/query.mjs +1 -1
- package/dist/entities/trend/document.cjs +1 -1
- package/dist/entities/trend/document.mjs +1 -1
- package/dist/entities/trend/mutation.cjs +1 -1
- package/dist/entities/trend/mutation.mjs +1 -1
- package/dist/entities/up-auth/mutation.cjs +1 -1
- package/dist/entities/up-auth/mutation.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 +1 -1
- 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 +1 -1
- package/dist/entities/up-user/fields.cjs +2 -1
- package/dist/entities/up-user/fields.mjs +1 -1
- package/dist/entities/up-user/mutation.cjs +1 -1
- package/dist/entities/up-user/mutation.mjs +1 -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 +3 -3
- package/dist/entities/url-redirect/query.d.cts +1 -2
- package/dist/entities/url-redirect/query.d.mts +1 -2
- package/dist/entities/url-redirect/query.mjs +3 -3
- package/dist/entities/user-account/mutation.cjs +1 -1
- package/dist/entities/user-account/mutation.mjs +1 -1
- package/dist/entities/user-account/query.cjs +1 -1
- package/dist/entities/user-account/query.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-link-builder/mutation.cjs +2 -2
- package/dist/entities/utm-link-builder/mutation.mjs +2 -2
- package/dist/entities/utm-tracking-link/fields.cjs +1 -1
- package/dist/entities/utm-tracking-link/fields.mjs +1 -1
- package/dist/entities/utm-tracking-link/mutation.cjs +2 -2
- package/dist/entities/utm-tracking-link/mutation.mjs +2 -2
- package/dist/entities/utm-tracking-link/query.cjs +4 -4
- package/dist/entities/utm-tracking-link/query.d.cts +3 -3
- package/dist/entities/utm-tracking-link/query.d.mts +3 -3
- package/dist/entities/utm-tracking-link/query.mjs +4 -4
- package/dist/{fields-KhJJEwDn.d.cts → fields-PCsCdBLK.d.cts} +1 -1
- package/dist/{fields-BN1MQEFa.d.mts → fields-S54MmK9N.d.mts} +1 -1
- package/dist/filters/index.cjs +1 -1
- package/dist/filters/index.d.cts +2 -109
- package/dist/filters/index.d.mts +2 -109
- package/dist/filters/index.mjs +1 -1
- package/dist/{index-CJnvK9aa.d.cts → index-B3eh9Z-Q.d.cts} +8 -2
- package/dist/{index-CJoIbrN-.d.mts → index-B3eh9Z-Q.d.mts} +8 -2
- package/dist/index-Bk5hIBoB.d.cts +108 -0
- package/dist/index-Bk5hIBoB.d.mts +108 -0
- package/dist/{index-RcVef_Z2.d.cts → index-G2dwQO5K.d.cts} +17 -1
- package/dist/{index-26DCj3kM.d.mts → index-S6qdsw3U.d.mts} +17 -1
- package/dist/{query-CtCcNIyW.d.cts → query-0Z9KdoGa.d.mts} +4 -4
- package/dist/{query-Do-3hcZD.d.mts → query-BGz5Dj7o.d.cts} +5 -6
- package/dist/{query-CI3ZWJqL2.cjs → query-B_0RzvVW.cjs} +14 -14
- package/dist/{query-Wt8Cx9OF.mjs → query-Bi8_XzuT.mjs} +4 -4
- package/dist/{query-DVcH4-JK.cjs → query-BjiGq9-J.cjs} +3 -3
- package/dist/{query-DD39dkbH.d.cts → query-C-G04KqP.d.mts} +2 -2
- package/dist/{query-CyYPluP3.d.mts → query-C6GwPFXA.d.mts} +2 -2
- package/dist/{query-DZdytwSD.d.cts → query-CEvYGQyI.d.cts} +2 -2
- package/dist/{query-CgWG7dSl.mjs → query-CJTbiRV2.mjs} +3 -3
- package/dist/{query-DqwF7V2G.cjs → query-CMOLb-qs.cjs} +23 -6
- package/dist/{query-Q18zizCQ.mjs → query-CZV-Qu8U.mjs} +3 -3
- package/dist/{query-DPFgSbu5.d.mts → query-CZWKfQ2W.d.mts} +25 -0
- package/dist/{query-D1mBqALL.cjs → query-Ck0NC_9l.cjs} +3 -3
- package/dist/{query-CI5JQhH_.d.cts → query-DAmB2_nm.d.cts} +2 -2
- package/dist/{query-CY7W3BZ5.mjs → query-DV68iZaG.mjs} +15 -15
- package/dist/{query-DPFgSbu5.d.cts → query-Db1jwzou.d.cts} +25 -0
- package/dist/{query-DuuwYQWE.mjs → query-Du84-6vd.mjs} +16 -5
- package/dist/{query-emzTCCDq.d.mts → query-DxEOf4Ya.d.cts} +2 -2
- package/dist/{query-qb1G3OKt.cjs → query-Dzx1W_xi.cjs} +16 -16
- package/dist/{query-CeillfBr.d.cts → query-F1Pi5Frs.d.mts} +5 -6
- package/dist/{query-vsyN6YiK.d.mts → query-X_l9YFS6.d.mts} +2 -2
- package/dist/{query-9XKj-s81.d.mts → query-gZEGybi3.d.cts} +4 -4
- package/dist/{query-7_zddNOX.d.mts → query-hvHQxwdK.d.mts} +1 -2
- package/dist/{query-y7Fuj2mF.d.cts → query-ohFZ5p3e.d.cts} +1 -2
- package/dist/{string-cbk3BUGq.mjs → string-BzuFgUlq.mjs} +3 -3
- package/dist/{string-DnXY8Tir.cjs → string-CmrQCAO3.cjs} +3 -3
- package/dist/utilities/index.d.cts +1 -1
- package/dist/utilities/index.d.mts +1 -1
- package/dist/validators/index.cjs +4 -4
- package/dist/validators/index.mjs +4 -4
- package/package.json +1 -1
- package/dist/index-CstRGKNl.d.cts +0 -10
- package/dist/index-CstRGKNl.d.mts +0 -10
- package/dist/{document-C5i7ol4r.cjs → document-D-6H7hBf.cjs} +8 -8
- package/dist/{relationships-DYr9eF1a.mjs → relationships-BFmesnzw.mjs} +1 -1
- package/dist/{relationships-B7XakNhb.cjs → relationships-BjJkIfbK.cjs} +1 -1
- package/dist/{utm-B6km5JHd.mjs → utm-Bt8jPpRI.mjs} +1 -1
- package/dist/{utm-DxODH4Ry.cjs → utm-Dt4mu8AU.cjs} +1 -1
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
//#region src/filters/constants.d.ts
|
|
2
|
+
declare const STRAPI_FILTER_OPERATORS: {
|
|
3
|
+
readonly $eq: {
|
|
4
|
+
readonly type: "comparison";
|
|
5
|
+
readonly valueType: readonly ["string", "number", "boolean", "date", "datetime", "picklist"];
|
|
6
|
+
};
|
|
7
|
+
readonly $ne: {
|
|
8
|
+
readonly type: "comparison";
|
|
9
|
+
readonly valueType: readonly ["string", "number", "boolean", "date", "datetime", "picklist"];
|
|
10
|
+
};
|
|
11
|
+
readonly $eqi: {
|
|
12
|
+
readonly type: "comparison";
|
|
13
|
+
readonly valueType: readonly ["string"];
|
|
14
|
+
};
|
|
15
|
+
readonly $nei: {
|
|
16
|
+
readonly type: "comparison";
|
|
17
|
+
readonly valueType: readonly ["string"];
|
|
18
|
+
};
|
|
19
|
+
readonly $gt: {
|
|
20
|
+
readonly type: "comparison";
|
|
21
|
+
readonly valueType: readonly ["number", "date", "datetime"];
|
|
22
|
+
};
|
|
23
|
+
readonly $gte: {
|
|
24
|
+
readonly type: "comparison";
|
|
25
|
+
readonly valueType: readonly ["number", "date", "datetime"];
|
|
26
|
+
};
|
|
27
|
+
readonly $lt: {
|
|
28
|
+
readonly type: "comparison";
|
|
29
|
+
readonly valueType: readonly ["number", "date", "datetime"];
|
|
30
|
+
};
|
|
31
|
+
readonly $lte: {
|
|
32
|
+
readonly type: "comparison";
|
|
33
|
+
readonly valueType: readonly ["number", "date", "datetime"];
|
|
34
|
+
};
|
|
35
|
+
readonly $contains: {
|
|
36
|
+
readonly type: "string";
|
|
37
|
+
readonly valueType: readonly ["string"];
|
|
38
|
+
};
|
|
39
|
+
readonly $containsi: {
|
|
40
|
+
readonly type: "string";
|
|
41
|
+
readonly valueType: readonly ["string"];
|
|
42
|
+
};
|
|
43
|
+
readonly $endsWith: {
|
|
44
|
+
readonly type: "string";
|
|
45
|
+
readonly valueType: readonly ["string"];
|
|
46
|
+
};
|
|
47
|
+
readonly $endsWithi: {
|
|
48
|
+
readonly type: "string";
|
|
49
|
+
readonly valueType: readonly ["string"];
|
|
50
|
+
};
|
|
51
|
+
readonly $notContains: {
|
|
52
|
+
readonly type: "string";
|
|
53
|
+
readonly valueType: readonly ["string"];
|
|
54
|
+
};
|
|
55
|
+
readonly $notContainsi: {
|
|
56
|
+
readonly type: "string";
|
|
57
|
+
readonly valueType: readonly ["string"];
|
|
58
|
+
};
|
|
59
|
+
readonly $startsWith: {
|
|
60
|
+
readonly type: "string";
|
|
61
|
+
readonly valueType: readonly ["string"];
|
|
62
|
+
};
|
|
63
|
+
readonly $startsWithi: {
|
|
64
|
+
readonly type: "string";
|
|
65
|
+
readonly valueType: readonly ["string"];
|
|
66
|
+
};
|
|
67
|
+
readonly $in: {
|
|
68
|
+
readonly type: "array";
|
|
69
|
+
readonly valueType: readonly ["string", "number", "date", "picklist"];
|
|
70
|
+
};
|
|
71
|
+
readonly $notIn: {
|
|
72
|
+
readonly type: "array";
|
|
73
|
+
readonly valueType: readonly ["string", "number", "date", "picklist"];
|
|
74
|
+
};
|
|
75
|
+
readonly $between: {
|
|
76
|
+
readonly type: "array";
|
|
77
|
+
readonly valueType: readonly ["number", "date", "datetime"];
|
|
78
|
+
};
|
|
79
|
+
readonly $notNull: {
|
|
80
|
+
readonly type: "null";
|
|
81
|
+
readonly valueType: readonly ["nullable"];
|
|
82
|
+
};
|
|
83
|
+
readonly $null: {
|
|
84
|
+
readonly type: "null";
|
|
85
|
+
readonly valueType: readonly ["nullable"];
|
|
86
|
+
};
|
|
87
|
+
readonly $and: {
|
|
88
|
+
readonly type: "logical";
|
|
89
|
+
readonly valueType: readonly ["join"];
|
|
90
|
+
};
|
|
91
|
+
readonly $not: {
|
|
92
|
+
readonly type: "logical";
|
|
93
|
+
readonly valueType: readonly ["join"];
|
|
94
|
+
};
|
|
95
|
+
readonly $or: {
|
|
96
|
+
readonly type: "logical";
|
|
97
|
+
readonly valueType: readonly ["join"];
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
type StrapiFilterOperandKey = keyof typeof STRAPI_FILTER_OPERATORS;
|
|
101
|
+
type StrapiFilterOperandType = (typeof STRAPI_FILTER_OPERATORS)[StrapiFilterOperandKey]["type"];
|
|
102
|
+
type StrapiFilterOperandValueType = (typeof STRAPI_FILTER_OPERATORS)[StrapiFilterOperandKey]["valueType"];
|
|
103
|
+
type StrapiFilterOperationDef = {
|
|
104
|
+
type: StrapiFilterOperandType;
|
|
105
|
+
valueType: Array<StrapiFilterOperandValueType>;
|
|
106
|
+
};
|
|
107
|
+
//#endregion
|
|
108
|
+
export { StrapiFilterOperationDef as a, StrapiFilterOperandValueType as i, StrapiFilterOperandKey as n, StrapiFilterOperandType as r, STRAPI_FILTER_OPERATORS as t };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { d as DocumentIdFilter, p as IdFilter, y as DateTimeFilter } from "./index-B3eh9Z-Q.cjs";
|
|
1
2
|
import { t as JsonData } from "./json-Ygk2txLN.cjs";
|
|
2
3
|
import * as v from "valibot";
|
|
3
4
|
|
|
@@ -21,6 +22,15 @@ declare const BaseDocument: v.ObjectSchema<{
|
|
|
21
22
|
}, undefined>;
|
|
22
23
|
type BaseDocument = v.InferOutput<typeof BaseDocument>;
|
|
23
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
|
|
24
34
|
//#region src/base/fonts.d.ts
|
|
25
35
|
declare const FONT_HEADER_SIZE: readonly ["h1", "h2", "h3", "h4", "h5", "h6"];
|
|
26
36
|
declare const FontHeaderSize: v.PicklistSchema<readonly ["h1", "h2", "h3", "h4", "h5", "h6"], undefined>;
|
|
@@ -66,6 +76,12 @@ declare const QueryStrapiPaginated: v.ObjectSchema<{
|
|
|
66
76
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
67
77
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
68
78
|
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>;
|
|
69
85
|
}, undefined>;
|
|
70
86
|
type QueryStrapiPaginated = v.InferOutput<typeof QueryStrapiPaginated>;
|
|
71
87
|
//#endregion
|
|
@@ -259,4 +275,4 @@ declare const STRAPI_ICON_NAME: readonly ["link", "email", "phone", "facebook",
|
|
|
259
275
|
declare const StrapiIconName: v.NullableSchema<v.PicklistSchema<readonly ["link", "email", "phone", "facebook", "instagram", "linkedin", "tiktok", "pinterest", "twitter"], undefined>, undefined>;
|
|
260
276
|
type StrapiIconName = v.InferOutput<typeof StrapiIconName>;
|
|
261
277
|
//#endregion
|
|
262
|
-
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,
|
|
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, FilterStrapiBase as dt, FONT_HEADER_SIZE as et, StrapiIconName as f, BaseDocument 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, BaseComponentId as mt, STRAPI_DIRECTION as n, WEBSAFE_FONT_DISPLAY as nt, STRAPI_LINK_TYPE as o, WebSafeFont as ot, StrapiIconPosition as p, BaseComponent 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,3 +1,4 @@
|
|
|
1
|
+
import { d as DocumentIdFilter, p as IdFilter, y as DateTimeFilter } from "./index-B3eh9Z-Q.mjs";
|
|
1
2
|
import { t as JsonData } from "./json-Ygk2txLN.mjs";
|
|
2
3
|
import * as v from "valibot";
|
|
3
4
|
|
|
@@ -21,6 +22,15 @@ declare const BaseDocument: v.ObjectSchema<{
|
|
|
21
22
|
}, undefined>;
|
|
22
23
|
type BaseDocument = v.InferOutput<typeof BaseDocument>;
|
|
23
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
|
|
24
34
|
//#region src/base/fonts.d.ts
|
|
25
35
|
declare const FONT_HEADER_SIZE: readonly ["h1", "h2", "h3", "h4", "h5", "h6"];
|
|
26
36
|
declare const FontHeaderSize: v.PicklistSchema<readonly ["h1", "h2", "h3", "h4", "h5", "h6"], undefined>;
|
|
@@ -66,6 +76,12 @@ declare const QueryStrapiPaginated: v.ObjectSchema<{
|
|
|
66
76
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
67
77
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
68
78
|
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>;
|
|
69
85
|
}, undefined>;
|
|
70
86
|
type QueryStrapiPaginated = v.InferOutput<typeof QueryStrapiPaginated>;
|
|
71
87
|
//#endregion
|
|
@@ -259,4 +275,4 @@ declare const STRAPI_ICON_NAME: readonly ["link", "email", "phone", "facebook",
|
|
|
259
275
|
declare const StrapiIconName: v.NullableSchema<v.PicklistSchema<readonly ["link", "email", "phone", "facebook", "instagram", "linkedin", "tiktok", "pinterest", "twitter"], undefined>, undefined>;
|
|
260
276
|
type StrapiIconName = v.InferOutput<typeof StrapiIconName>;
|
|
261
277
|
//#endregion
|
|
262
|
-
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,
|
|
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, FilterStrapiBase as dt, FONT_HEADER_SIZE as et, StrapiIconName as f, BaseDocument 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, BaseComponentId as mt, STRAPI_DIRECTION as n, WEBSAFE_FONT_DISPLAY as nt, STRAPI_LINK_TYPE as o, WebSafeFont as ot, StrapiIconPosition as p, BaseComponent 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,7 +1,7 @@
|
|
|
1
|
-
import { C as BooleanFilter, d as DocumentIdFilter, f as EmailFilter, p as IdFilter, r as StringFilter, y as DateTimeFilter } from "./index-
|
|
2
|
-
import { n as FilterStrapiClients } from "./query-
|
|
3
|
-
import { t as FilterScopes } from "./fields-
|
|
4
|
-
import { n as FilterStrapiRoles } from "./query-
|
|
1
|
+
import { C as BooleanFilter, d as DocumentIdFilter, f as EmailFilter, p as IdFilter, r as StringFilter, y as DateTimeFilter } from "./index-B3eh9Z-Q.mjs";
|
|
2
|
+
import { n as FilterStrapiClients } from "./query-hvHQxwdK.mjs";
|
|
3
|
+
import { t as FilterScopes } from "./fields-S54MmK9N.mjs";
|
|
4
|
+
import { n as FilterStrapiRoles } from "./query-F1Pi5Frs.mjs";
|
|
5
5
|
import * as v from "valibot";
|
|
6
6
|
|
|
7
7
|
//#region src/entities/up-user/query.d.ts
|
|
@@ -1,21 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { d as DocumentIdFilter, n as LongStringFilter, p as IdFilter, r as StringFilter, y as DateTimeFilter } from "./index-CJoIbrN-.mjs";
|
|
1
|
+
import { T as StrapiStrictFilterObjectSchema, d as DocumentIdFilter, n as LongStringFilter, p as IdFilter, r as StringFilter, y as DateTimeFilter } from "./index-B3eh9Z-Q.cjs";
|
|
3
2
|
import * as v from "valibot";
|
|
4
3
|
|
|
5
4
|
//#region src/entities/up-role/query.d.ts
|
|
6
5
|
declare const FilterRoleType: StrapiStrictFilterObjectSchema<{
|
|
7
6
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
8
7
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
9
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, v.MinLengthAction<("client" | "manager" | "
|
|
10
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, v.MinLengthAction<("client" | "manager" | "
|
|
8
|
+
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, v.MinLengthAction<("client" | "manager" | "employee" | "authenticated" | "public")[], 1, undefined>]>;
|
|
9
|
+
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, v.MinLengthAction<("client" | "manager" | "employee" | "authenticated" | "public")[], 1, undefined>]>;
|
|
11
10
|
readonly $eq: v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>;
|
|
12
11
|
readonly $ne: v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>;
|
|
13
12
|
} & {
|
|
14
13
|
readonly $not: StrapiStrictFilterObjectSchema<{
|
|
15
14
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
16
15
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
17
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, v.MinLengthAction<("client" | "manager" | "
|
|
18
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, v.MinLengthAction<("client" | "manager" | "
|
|
16
|
+
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, v.MinLengthAction<("client" | "manager" | "employee" | "authenticated" | "public")[], 1, undefined>]>;
|
|
17
|
+
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, v.MinLengthAction<("client" | "manager" | "employee" | "authenticated" | "public")[], 1, undefined>]>;
|
|
19
18
|
readonly $eq: v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>;
|
|
20
19
|
readonly $ne: v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>;
|
|
21
20
|
}>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-D6vf50IK.cjs");
|
|
2
|
-
const require_pagination = require("./pagination-DhAgQr7d.cjs");
|
|
3
|
-
const require_sort = require("./sort-CYllFl6q.cjs");
|
|
4
2
|
const require_logical_operators = require("./logical-operators-Bku8NPDs.cjs");
|
|
5
|
-
const require_string = require("./string-
|
|
3
|
+
const require_string = require("./string-CmrQCAO3.cjs");
|
|
6
4
|
const require_boolean = require("./boolean-BwqaNE9c.cjs");
|
|
5
|
+
const require_pagination = require("./pagination-DhAgQr7d.cjs");
|
|
6
|
+
const require_sort = require("./sort-CYllFl6q.cjs");
|
|
7
7
|
const require_entities_client_query = require("./entities/client/query.cjs");
|
|
8
8
|
let valibot = require("valibot");
|
|
9
9
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
10
|
-
//#region src/entities/gcflytour/query.ts
|
|
11
|
-
const
|
|
10
|
+
//#region src/entities/gcflytour-snap/query.ts
|
|
11
|
+
const FilterStrapiGCFlyTourSnaps = require_logical_operators.createStrapiFilterSchema({
|
|
12
12
|
id: require_string.IdFilter,
|
|
13
13
|
documentId: require_string.DocumentIdFilter,
|
|
14
14
|
createdAt: require_string.DateTimeFilter,
|
|
@@ -18,18 +18,17 @@ const FilterStrapiGCFlyTours = require_logical_operators.createStrapiFilterSchem
|
|
|
18
18
|
slug: require_string.SlugFilter,
|
|
19
19
|
is_active: require_boolean.BooleanFilter,
|
|
20
20
|
is_hidden: require_boolean.BooleanFilter,
|
|
21
|
-
|
|
22
|
-
clients: valibot.optional(valibot.lazy(() => require_entities_client_query.FilterStrapiClients))
|
|
21
|
+
gcflytour: valibot.optional(valibot.lazy(() => FilterStrapiGCFlyTours))
|
|
23
22
|
});
|
|
24
|
-
const
|
|
23
|
+
const QueryStrapiSearchGCFlyTourSnaps = valibot.object({
|
|
25
24
|
page: require_pagination.VPage(),
|
|
26
25
|
size: require_pagination.VSize(),
|
|
27
26
|
sort: valibot.optional(require_sort.QuerySortValues),
|
|
28
|
-
f: valibot.optional(
|
|
27
|
+
f: valibot.optional(FilterStrapiGCFlyTourSnaps)
|
|
29
28
|
});
|
|
30
29
|
//#endregion
|
|
31
|
-
//#region src/entities/gcflytour
|
|
32
|
-
const
|
|
30
|
+
//#region src/entities/gcflytour/query.ts
|
|
31
|
+
const FilterStrapiGCFlyTours = require_logical_operators.createStrapiFilterSchema({
|
|
33
32
|
id: require_string.IdFilter,
|
|
34
33
|
documentId: require_string.DocumentIdFilter,
|
|
35
34
|
createdAt: require_string.DateTimeFilter,
|
|
@@ -39,13 +38,14 @@ const FilterStrapiGCFlyTourSnaps = require_logical_operators.createStrapiFilterS
|
|
|
39
38
|
slug: require_string.SlugFilter,
|
|
40
39
|
is_active: require_boolean.BooleanFilter,
|
|
41
40
|
is_hidden: require_boolean.BooleanFilter,
|
|
42
|
-
|
|
41
|
+
gcflytour_snaps: valibot.optional(valibot.lazy(() => FilterStrapiGCFlyTourSnaps)),
|
|
42
|
+
clients: valibot.optional(valibot.lazy(() => require_entities_client_query.FilterStrapiClients))
|
|
43
43
|
});
|
|
44
|
-
const
|
|
44
|
+
const QueryStrapiSearchGCFlyTours = valibot.object({
|
|
45
45
|
page: require_pagination.VPage(),
|
|
46
46
|
size: require_pagination.VSize(),
|
|
47
47
|
sort: valibot.optional(require_sort.QuerySortValues),
|
|
48
|
-
f: valibot.optional(
|
|
48
|
+
f: valibot.optional(FilterStrapiGCFlyTours)
|
|
49
49
|
});
|
|
50
50
|
//#endregion
|
|
51
51
|
Object.defineProperty(exports, "FilterStrapiGCFlyTourSnaps", {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as VSize, t as VPage } from "./pagination-CK-mJT5q.mjs";
|
|
2
|
-
import { t as QuerySortValues } from "./sort-FYsWXlaD.mjs";
|
|
3
|
-
import { s as VStringShort } from "./string-v2gu3xz0.mjs";
|
|
4
1
|
import { t as createStrapiFilterSchema } from "./logical-operators-C0-wSK0P.mjs";
|
|
5
|
-
import { _ as DateTimeFilter, a as EmailFilter, i as DocumentIdFilter, o as IdFilter, r as StringFilter } from "./string-
|
|
2
|
+
import { _ as DateTimeFilter, a as EmailFilter, i as DocumentIdFilter, o as IdFilter, r as StringFilter } from "./string-BzuFgUlq.mjs";
|
|
6
3
|
import { t as BooleanFilter } from "./boolean-cJxcC8gC.mjs";
|
|
4
|
+
import { s as VStringShort } from "./string-v2gu3xz0.mjs";
|
|
5
|
+
import { n as VSize, t as VPage } from "./pagination-CK-mJT5q.mjs";
|
|
6
|
+
import { t as QuerySortValues } from "./sort-FYsWXlaD.mjs";
|
|
7
7
|
import { FilterStrapiClients } from "./entities/client/query.mjs";
|
|
8
8
|
import { FilterScopes } from "./entities/up-permission/fields.mjs";
|
|
9
9
|
import { FilterStrapiRoles } from "./entities/up-role/query.mjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-D6vf50IK.cjs");
|
|
2
|
-
const require_pagination = require("./pagination-DhAgQr7d.cjs");
|
|
3
|
-
const require_sort = require("./sort-CYllFl6q.cjs");
|
|
4
2
|
const require_logical_operators = require("./logical-operators-Bku8NPDs.cjs");
|
|
5
|
-
const require_string = require("./string-
|
|
3
|
+
const require_string = require("./string-CmrQCAO3.cjs");
|
|
6
4
|
const require_boolean = require("./boolean-BwqaNE9c.cjs");
|
|
5
|
+
const require_pagination = require("./pagination-DhAgQr7d.cjs");
|
|
6
|
+
const require_sort = require("./sort-CYllFl6q.cjs");
|
|
7
7
|
const require_entities_client_query = require("./entities/client/query.cjs");
|
|
8
8
|
let valibot = require("valibot");
|
|
9
9
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
@@ -1,5 +1,5 @@
|
|
|
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, d as DocumentIdFilter, h as SlugFilter, n as LongStringFilter, p as IdFilter, r as StringFilter, y as DateTimeFilter } from "./index-B3eh9Z-Q.mjs";
|
|
2
|
+
import { n as FilterStrapiClients } from "./query-hvHQxwdK.mjs";
|
|
3
3
|
import * as v from "valibot";
|
|
4
4
|
|
|
5
5
|
//#region src/entities/media-creative-format/query.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
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, d as DocumentIdFilter, h as SlugFilter, n as LongStringFilter, p as IdFilter, r as StringFilter, y as DateTimeFilter } from "./index-B3eh9Z-Q.mjs";
|
|
2
|
+
import { n as FilterStrapiClients } from "./query-hvHQxwdK.mjs";
|
|
3
3
|
import * as v from "valibot";
|
|
4
4
|
|
|
5
5
|
//#region src/entities/gcflytour/query.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
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, d as DocumentIdFilter, h as SlugFilter, n as LongStringFilter, p as IdFilter, r as StringFilter, y as DateTimeFilter } from "./index-B3eh9Z-Q.cjs";
|
|
2
|
+
import { n as FilterStrapiClients } from "./query-ohFZ5p3e.cjs";
|
|
3
3
|
import * as v from "valibot";
|
|
4
4
|
|
|
5
5
|
//#region src/entities/content-pillar/query.d.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as VSize, t as VPage } from "./pagination-CK-mJT5q.mjs";
|
|
2
|
-
import { t as QuerySortValues } from "./sort-FYsWXlaD.mjs";
|
|
3
1
|
import { t as createStrapiFilterSchema } from "./logical-operators-C0-wSK0P.mjs";
|
|
4
|
-
import { _ as DateTimeFilter, c as SlugFilter, i as DocumentIdFilter, n as LongStringFilter, o as IdFilter, r as StringFilter } from "./string-
|
|
2
|
+
import { _ as DateTimeFilter, c as SlugFilter, i as DocumentIdFilter, n as LongStringFilter, o as IdFilter, r as StringFilter } from "./string-BzuFgUlq.mjs";
|
|
5
3
|
import { t as BooleanFilter } from "./boolean-cJxcC8gC.mjs";
|
|
4
|
+
import { n as VSize, t as VPage } from "./pagination-CK-mJT5q.mjs";
|
|
5
|
+
import { t as QuerySortValues } from "./sort-FYsWXlaD.mjs";
|
|
6
6
|
import { FilterStrapiClients } from "./entities/client/query.mjs";
|
|
7
7
|
import * as v from "valibot";
|
|
8
8
|
//#region src/entities/content-pillar/query.ts
|
|
@@ -1,24 +1,35 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-D6vf50IK.cjs");
|
|
2
|
+
const require_logical_operators = require("./logical-operators-Bku8NPDs.cjs");
|
|
3
|
+
const require_string = require("./string-CmrQCAO3.cjs");
|
|
4
|
+
const require_relationships = require("./relationships-BjJkIfbK.cjs");
|
|
5
|
+
const require_string$1 = require("./string-AHrZ--r_.cjs");
|
|
6
|
+
const require_email = require("./email-dsbWKuhH.cjs");
|
|
2
7
|
const require_pagination = require("./pagination-DhAgQr7d.cjs");
|
|
3
8
|
const require_sort = require("./sort-CYllFl6q.cjs");
|
|
4
|
-
const require_email = require("./email-dsbWKuhH.cjs");
|
|
5
9
|
const require_phone = require("./phone-B2YdOU4g.cjs");
|
|
6
|
-
const require_string = require("./string-AHrZ--r_.cjs");
|
|
7
|
-
const require_relationships = require("./relationships-B7XakNhb.cjs");
|
|
8
10
|
let valibot = require("valibot");
|
|
9
11
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
12
|
+
//#region src/base/filters.ts
|
|
13
|
+
const FilterStrapiBase = require_logical_operators.createStrapiFilterSchema({
|
|
14
|
+
id: require_string.IdFilter,
|
|
15
|
+
documentId: require_string.DocumentIdFilter,
|
|
16
|
+
createdAt: require_string.DateTimeFilter,
|
|
17
|
+
updatedAt: require_string.DateTimeFilter
|
|
18
|
+
});
|
|
19
|
+
//#endregion
|
|
10
20
|
//#region src/base/pagination.ts
|
|
11
21
|
const QueryStrapiPaginated = valibot.object({
|
|
12
22
|
page: require_pagination.VPage(),
|
|
13
23
|
size: require_pagination.VSize(),
|
|
14
|
-
sort: valibot.optional(require_sort.QuerySortValues)
|
|
24
|
+
sort: valibot.optional(require_sort.QuerySortValues),
|
|
25
|
+
f: valibot.optional(FilterStrapiBase)
|
|
15
26
|
});
|
|
16
27
|
//#endregion
|
|
17
28
|
//#region src/base/query.ts
|
|
18
29
|
const QueryStrapiById = valibot.object({ id: valibot.number() });
|
|
19
30
|
const QueryStrapiByDocumentId = valibot.object({ documentId: require_relationships.AssociateOneEntity });
|
|
20
31
|
const QueryStrapiBySlug = valibot.object({
|
|
21
|
-
slug: require_string.VStringShort(),
|
|
32
|
+
slug: require_string$1.VStringShort(),
|
|
22
33
|
...QueryStrapiPaginated.entries
|
|
23
34
|
});
|
|
24
35
|
const QueryStrapiByEmail = valibot.object({
|
|
@@ -30,10 +41,16 @@ const QueryStrapiByPhone = valibot.object({
|
|
|
30
41
|
...QueryStrapiPaginated.entries
|
|
31
42
|
});
|
|
32
43
|
const QueryStrapiByName = valibot.object({
|
|
33
|
-
name: require_string.VStringShort(),
|
|
44
|
+
name: require_string$1.VStringShort(),
|
|
34
45
|
...QueryStrapiPaginated.entries
|
|
35
46
|
});
|
|
36
47
|
//#endregion
|
|
48
|
+
Object.defineProperty(exports, "FilterStrapiBase", {
|
|
49
|
+
enumerable: true,
|
|
50
|
+
get: function() {
|
|
51
|
+
return FilterStrapiBase;
|
|
52
|
+
}
|
|
53
|
+
});
|
|
37
54
|
Object.defineProperty(exports, "QueryStrapiByDocumentId", {
|
|
38
55
|
enumerable: true,
|
|
39
56
|
get: function() {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as VSize, t as VPage } from "./pagination-CK-mJT5q.mjs";
|
|
2
|
-
import { t as QuerySortValues } from "./sort-FYsWXlaD.mjs";
|
|
3
1
|
import { t as createStrapiFilterSchema } from "./logical-operators-C0-wSK0P.mjs";
|
|
4
|
-
import { _ as DateTimeFilter, c as SlugFilter, i as DocumentIdFilter, n as LongStringFilter, o as IdFilter, r as StringFilter } from "./string-
|
|
2
|
+
import { _ as DateTimeFilter, c as SlugFilter, i as DocumentIdFilter, n as LongStringFilter, o as IdFilter, r as StringFilter } from "./string-BzuFgUlq.mjs";
|
|
5
3
|
import { t as BooleanFilter } from "./boolean-cJxcC8gC.mjs";
|
|
4
|
+
import { n as VSize, t as VPage } from "./pagination-CK-mJT5q.mjs";
|
|
5
|
+
import { t as QuerySortValues } from "./sort-FYsWXlaD.mjs";
|
|
6
6
|
import { FilterStrapiClients } from "./entities/client/query.mjs";
|
|
7
7
|
import * as v from "valibot";
|
|
8
8
|
//#region src/entities/media-creative-format/query.ts
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { d as DocumentIdFilter, p as IdFilter, y as DateTimeFilter } from "./index-B3eh9Z-Q.mjs";
|
|
1
2
|
import * as v from "valibot";
|
|
2
3
|
|
|
3
4
|
//#region src/base/query.d.ts
|
|
@@ -13,6 +14,12 @@ declare const QueryStrapiBySlug: v.ObjectSchema<{
|
|
|
13
14
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
14
15
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
15
16
|
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>;
|
|
16
23
|
readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
17
24
|
}, undefined>;
|
|
18
25
|
type QueryStrapiBySlug = v.InferOutput<typeof QueryStrapiBySlug>;
|
|
@@ -20,6 +27,12 @@ declare const QueryStrapiByEmail: v.ObjectSchema<{
|
|
|
20
27
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
21
28
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
22
29
|
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>;
|
|
23
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>]>;
|
|
24
37
|
}, undefined>;
|
|
25
38
|
type QueryStrapiByEmail = v.InferOutput<typeof QueryStrapiByEmail>;
|
|
@@ -27,6 +40,12 @@ declare const QueryStrapiByPhone: v.ObjectSchema<{
|
|
|
27
40
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
28
41
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
29
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>;
|
|
30
49
|
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.">]>;
|
|
31
50
|
}, undefined>;
|
|
32
51
|
type QueryStrapiByPhone = v.InferOutput<typeof QueryStrapiByPhone>;
|
|
@@ -34,6 +53,12 @@ declare const QueryStrapiByName: v.ObjectSchema<{
|
|
|
34
53
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
35
54
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
36
55
|
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>;
|
|
37
62
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
38
63
|
}, undefined>;
|
|
39
64
|
type QueryStrapiByName = v.InferOutput<typeof QueryStrapiByName>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-D6vf50IK.cjs");
|
|
2
|
-
const require_pagination = require("./pagination-DhAgQr7d.cjs");
|
|
3
|
-
const require_sort = require("./sort-CYllFl6q.cjs");
|
|
4
2
|
const require_logical_operators = require("./logical-operators-Bku8NPDs.cjs");
|
|
5
|
-
const require_string = require("./string-
|
|
3
|
+
const require_string = require("./string-CmrQCAO3.cjs");
|
|
6
4
|
const require_boolean = require("./boolean-BwqaNE9c.cjs");
|
|
5
|
+
const require_pagination = require("./pagination-DhAgQr7d.cjs");
|
|
6
|
+
const require_sort = require("./sort-CYllFl6q.cjs");
|
|
7
7
|
const require_entities_client_query = require("./entities/client/query.cjs");
|
|
8
8
|
let valibot = require("valibot");
|
|
9
9
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
@@ -1,5 +1,5 @@
|
|
|
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, d as DocumentIdFilter, h as SlugFilter, n as LongStringFilter, p as IdFilter, r as StringFilter, y as DateTimeFilter } from "./index-B3eh9Z-Q.cjs";
|
|
2
|
+
import { n as FilterStrapiClients } from "./query-ohFZ5p3e.cjs";
|
|
3
3
|
import * as v from "valibot";
|
|
4
4
|
|
|
5
5
|
//#region src/entities/gcflytour/query.d.ts
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { n as VSize, t as VPage } from "./pagination-CK-mJT5q.mjs";
|
|
2
|
-
import { t as QuerySortValues } from "./sort-FYsWXlaD.mjs";
|
|
3
1
|
import { t as createStrapiFilterSchema } from "./logical-operators-C0-wSK0P.mjs";
|
|
4
|
-
import { _ as DateTimeFilter, c as SlugFilter, i as DocumentIdFilter, n as LongStringFilter, o as IdFilter, r as StringFilter } from "./string-
|
|
2
|
+
import { _ as DateTimeFilter, c as SlugFilter, i as DocumentIdFilter, n as LongStringFilter, o as IdFilter, r as StringFilter } from "./string-BzuFgUlq.mjs";
|
|
5
3
|
import { t as BooleanFilter } from "./boolean-cJxcC8gC.mjs";
|
|
4
|
+
import { n as VSize, t as VPage } from "./pagination-CK-mJT5q.mjs";
|
|
5
|
+
import { t as QuerySortValues } from "./sort-FYsWXlaD.mjs";
|
|
6
6
|
import { FilterStrapiClients } from "./entities/client/query.mjs";
|
|
7
7
|
import * as v from "valibot";
|
|
8
|
-
//#region src/entities/gcflytour/query.ts
|
|
9
|
-
const
|
|
8
|
+
//#region src/entities/gcflytour-snap/query.ts
|
|
9
|
+
const FilterStrapiGCFlyTourSnaps = createStrapiFilterSchema({
|
|
10
10
|
id: IdFilter,
|
|
11
11
|
documentId: DocumentIdFilter,
|
|
12
12
|
createdAt: DateTimeFilter,
|
|
@@ -16,18 +16,17 @@ const FilterStrapiGCFlyTours = createStrapiFilterSchema({
|
|
|
16
16
|
slug: SlugFilter,
|
|
17
17
|
is_active: BooleanFilter,
|
|
18
18
|
is_hidden: BooleanFilter,
|
|
19
|
-
|
|
20
|
-
clients: v.optional(v.lazy(() => FilterStrapiClients))
|
|
19
|
+
gcflytour: v.optional(v.lazy(() => FilterStrapiGCFlyTours))
|
|
21
20
|
});
|
|
22
|
-
const
|
|
21
|
+
const QueryStrapiSearchGCFlyTourSnaps = v.object({
|
|
23
22
|
page: VPage(),
|
|
24
23
|
size: VSize(),
|
|
25
24
|
sort: v.optional(QuerySortValues),
|
|
26
|
-
f: v.optional(
|
|
25
|
+
f: v.optional(FilterStrapiGCFlyTourSnaps)
|
|
27
26
|
});
|
|
28
27
|
//#endregion
|
|
29
|
-
//#region src/entities/gcflytour
|
|
30
|
-
const
|
|
28
|
+
//#region src/entities/gcflytour/query.ts
|
|
29
|
+
const FilterStrapiGCFlyTours = createStrapiFilterSchema({
|
|
31
30
|
id: IdFilter,
|
|
32
31
|
documentId: DocumentIdFilter,
|
|
33
32
|
createdAt: DateTimeFilter,
|
|
@@ -37,13 +36,14 @@ const FilterStrapiGCFlyTourSnaps = createStrapiFilterSchema({
|
|
|
37
36
|
slug: SlugFilter,
|
|
38
37
|
is_active: BooleanFilter,
|
|
39
38
|
is_hidden: BooleanFilter,
|
|
40
|
-
|
|
39
|
+
gcflytour_snaps: v.optional(v.lazy(() => FilterStrapiGCFlyTourSnaps)),
|
|
40
|
+
clients: v.optional(v.lazy(() => FilterStrapiClients))
|
|
41
41
|
});
|
|
42
|
-
const
|
|
42
|
+
const QueryStrapiSearchGCFlyTours = v.object({
|
|
43
43
|
page: VPage(),
|
|
44
44
|
size: VSize(),
|
|
45
45
|
sort: v.optional(QuerySortValues),
|
|
46
|
-
f: v.optional(
|
|
46
|
+
f: v.optional(FilterStrapiGCFlyTours)
|
|
47
47
|
});
|
|
48
48
|
//#endregion
|
|
49
|
-
export {
|
|
49
|
+
export { QueryStrapiSearchGCFlyTourSnaps as i, QueryStrapiSearchGCFlyTours as n, FilterStrapiGCFlyTourSnaps as r, FilterStrapiGCFlyTours as t };
|