@getcommunity/gc-validators 0.0.271-alpha.7 → 0.0.271-alpha.8

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.
Files changed (155) hide show
  1. package/dist/base/index.d.cts +1 -2
  2. package/dist/base/index.d.mts +3 -4
  3. package/dist/components/blocks/index.d.cts +1 -1
  4. package/dist/components/blocks/index.d.mts +1 -1
  5. package/dist/components/brand/index.d.cts +1 -1
  6. package/dist/components/brand/index.d.mts +1 -1
  7. package/dist/components/shared/index.d.cts +1 -1
  8. package/dist/components/shared/index.d.mts +1 -1
  9. package/dist/components/utm/index.d.cts +1 -1
  10. package/dist/components/utm/index.d.mts +1 -1
  11. package/dist/{document-Dr5-pbqu.d.mts → document-BVhB_t1g.d.mts} +1 -1
  12. package/dist/{document-zu6-DmQT.cjs → document-BpfE6S21.cjs} +183 -87
  13. package/dist/{document-DUHPXtbm.mjs → document-dPYjuVEj.mjs} +136 -88
  14. package/dist/entities/audit-log/index.d.cts +2 -2
  15. package/dist/entities/audit-log/index.d.mts +3 -3
  16. package/dist/entities/blog-page/index.d.mts +1 -1
  17. package/dist/entities/blog-post/index.d.cts +1 -1
  18. package/dist/entities/blog-post/index.d.mts +1 -1
  19. package/dist/entities/careers-page/index.d.mts +1 -1
  20. package/dist/entities/category/index.d.cts +1 -1
  21. package/dist/entities/category/index.d.mts +1 -1
  22. package/dist/entities/client/index.cjs +1 -1
  23. package/dist/entities/client/index.d.cts +1 -1
  24. package/dist/entities/client/index.d.mts +1 -1
  25. package/dist/entities/client/index.mjs +1 -1
  26. package/dist/entities/client-content-pillar/index.cjs +1 -1
  27. package/dist/entities/client-content-pillar/index.d.cts +1 -1
  28. package/dist/entities/client-content-pillar/index.d.mts +1 -1
  29. package/dist/entities/client-content-pillar/index.mjs +1 -1
  30. package/dist/entities/client-media-platform/index.cjs +1 -1
  31. package/dist/entities/client-media-platform/index.d.cts +1 -1
  32. package/dist/entities/client-media-platform/index.d.mts +1 -1
  33. package/dist/entities/client-media-platform/index.mjs +1 -1
  34. package/dist/entities/client-project/index.cjs +1 -1
  35. package/dist/entities/client-project/index.d.cts +1 -1
  36. package/dist/entities/client-project/index.d.mts +1 -1
  37. package/dist/entities/client-project/index.mjs +1 -1
  38. package/dist/entities/client-report/index.cjs +1 -1
  39. package/dist/entities/client-report/index.d.cts +1 -1
  40. package/dist/entities/client-report/index.d.mts +1 -1
  41. package/dist/entities/client-report/index.mjs +1 -1
  42. package/dist/entities/client-styleguide/index.cjs +1 -1
  43. package/dist/entities/client-styleguide/index.d.cts +1 -1
  44. package/dist/entities/client-styleguide/index.d.mts +1 -1
  45. package/dist/entities/client-styleguide/index.mjs +1 -1
  46. package/dist/entities/client-user/index.cjs +1 -1
  47. package/dist/entities/client-user/index.d.cts +1 -1
  48. package/dist/entities/client-user/index.d.mts +1 -1
  49. package/dist/entities/client-user/index.mjs +1 -1
  50. package/dist/entities/comment/index.d.cts +1 -1
  51. package/dist/entities/comment/index.d.mts +1 -1
  52. package/dist/entities/content-pillar/index.cjs +1 -1
  53. package/dist/entities/content-pillar/index.d.cts +1 -1
  54. package/dist/entities/content-pillar/index.d.mts +1 -1
  55. package/dist/entities/content-pillar/index.mjs +1 -1
  56. package/dist/entities/faq-page/index.d.mts +1 -1
  57. package/dist/entities/gcflytour/index.cjs +1 -1
  58. package/dist/entities/gcflytour/index.d.cts +1 -1
  59. package/dist/entities/gcflytour/index.d.mts +1 -1
  60. package/dist/entities/gcflytour/index.mjs +1 -1
  61. package/dist/entities/gcflytour-snap/index.cjs +1 -1
  62. package/dist/entities/gcflytour-snap/index.d.cts +1 -1
  63. package/dist/entities/gcflytour-snap/index.d.mts +1 -1
  64. package/dist/entities/gcflytour-snap/index.mjs +1 -1
  65. package/dist/entities/landing-page/index.d.mts +1 -1
  66. package/dist/entities/media-content-type/index.cjs +1 -1
  67. package/dist/entities/media-content-type/index.d.cts +3 -3
  68. package/dist/entities/media-content-type/index.d.mts +3 -3
  69. package/dist/entities/media-content-type/index.mjs +1 -1
  70. package/dist/entities/media-creative-format/index.cjs +1 -1
  71. package/dist/entities/media-creative-format/index.d.cts +3 -3
  72. package/dist/entities/media-creative-format/index.d.mts +3 -3
  73. package/dist/entities/media-creative-format/index.mjs +1 -1
  74. package/dist/entities/media-medium/index.cjs +1 -1
  75. package/dist/entities/media-medium/index.d.cts +3 -3
  76. package/dist/entities/media-medium/index.d.mts +3 -3
  77. package/dist/entities/media-medium/index.mjs +1 -1
  78. package/dist/entities/media-platform/index.cjs +1 -1
  79. package/dist/entities/media-platform/index.d.cts +1 -1
  80. package/dist/entities/media-platform/index.d.mts +1 -1
  81. package/dist/entities/media-platform/index.mjs +1 -1
  82. package/dist/entities/monday-workspace/index.cjs +1 -1
  83. package/dist/entities/monday-workspace/index.d.cts +1 -1
  84. package/dist/entities/monday-workspace/index.d.mts +1 -1
  85. package/dist/entities/monday-workspace/index.mjs +1 -1
  86. package/dist/entities/policy-page/index.d.mts +1 -1
  87. package/dist/entities/product/index.d.cts +1 -1
  88. package/dist/entities/product/index.d.mts +1 -1
  89. package/dist/entities/product-highlight/index.cjs +1 -1
  90. package/dist/entities/product-highlight/index.d.cts +1 -1
  91. package/dist/entities/product-highlight/index.d.mts +1 -1
  92. package/dist/entities/product-highlight/index.mjs +1 -1
  93. package/dist/entities/tag/index.d.cts +1 -1
  94. package/dist/entities/tag/index.d.mts +1 -1
  95. package/dist/entities/team-member/index.d.cts +1 -1
  96. package/dist/entities/team-member/index.d.mts +1 -1
  97. package/dist/entities/team-page/index.d.mts +1 -1
  98. package/dist/entities/trend/index.d.cts +1 -1
  99. package/dist/entities/trend/index.d.mts +1 -1
  100. package/dist/entities/up-auth/index.d.cts +1 -1
  101. package/dist/entities/up-auth/index.d.mts +1 -1
  102. package/dist/entities/up-permission/index.cjs +1 -1
  103. package/dist/entities/up-permission/index.d.cts +1 -1
  104. package/dist/entities/up-permission/index.d.mts +1 -1
  105. package/dist/entities/up-permission/index.mjs +1 -1
  106. package/dist/entities/up-role/index.cjs +1 -1
  107. package/dist/entities/up-role/index.d.cts +1 -1
  108. package/dist/entities/up-role/index.d.mts +1 -1
  109. package/dist/entities/up-role/index.mjs +1 -1
  110. package/dist/entities/up-user/index.cjs +8 -51
  111. package/dist/entities/up-user/index.d.cts +1 -1
  112. package/dist/entities/up-user/index.d.mts +1 -1
  113. package/dist/entities/up-user/index.mjs +1 -42
  114. package/dist/entities/url-redirect/index.d.cts +2 -2
  115. package/dist/entities/url-redirect/index.d.mts +2 -2
  116. package/dist/entities/user-account/index.cjs +1 -1
  117. package/dist/entities/user-account/index.d.cts +2 -2
  118. package/dist/entities/user-account/index.d.mts +2 -2
  119. package/dist/entities/user-account/index.mjs +1 -1
  120. package/dist/entities/utm-tracking-link/index.cjs +1 -1
  121. package/dist/entities/utm-tracking-link/index.d.cts +1 -1
  122. package/dist/entities/utm-tracking-link/index.d.mts +1 -1
  123. package/dist/entities/utm-tracking-link/index.mjs +1 -1
  124. package/dist/{index-BCvKbd4C.d.cts → index-87puatMp.d.cts} +6 -6
  125. package/dist/{index-GUYqdxFh.d.mts → index-CAls2gHf.d.mts} +168 -155
  126. package/dist/{index-B-CQQO_E.d.mts → index-CJ2_Z1gW.d.mts} +40 -2
  127. package/dist/{index-COCNx5sv.d.cts → index-D3KnOYr7.d.mts} +3 -3
  128. package/dist/{index-DB45mxlG.d.mts → index-DJ-0EDJN.d.mts} +1 -1
  129. package/dist/{index-BIWFngsB.d.mts → index-D_YPjLxv.d.cts} +3 -3
  130. package/dist/{index-D0PCjo7e.d.mts → index-DnkNzEew.d.mts} +7 -7
  131. package/dist/{index-j2pTtcNX.d.cts → index-efk0FfOP.d.cts} +39 -1
  132. package/dist/{index-Cb8BnFcL.d.cts → index-ygBcXT6p.d.cts} +167 -154
  133. package/dist/permissions/index.d.cts +1 -1
  134. package/dist/permissions/index.d.mts +1 -1
  135. package/dist/utilities/index.d.cts +2 -2
  136. package/dist/utilities/index.d.mts +2 -2
  137. package/package.json +1 -1
  138. package/dist/document-BFPtEW5P.d.cts +0 -17
  139. package/dist/document-DamlTVm7.cjs +0 -19
  140. package/dist/document-DnA3Nwgh.mjs +0 -12
  141. package/dist/document-GovGVYRl.d.mts +0 -17
  142. package/dist/query-Cyv28Ggi.d.cts +0 -41
  143. package/dist/query-HXwJctNd.d.mts +0 -41
  144. /package/dist/{document-CH1Od98-.d.mts → document-CbE38CzE.d.mts} +0 -0
  145. /package/dist/{document-CnKWB70Z.d.cts → document-DtDSYDbn.d.cts} +0 -0
  146. /package/dist/{document-CpsxYzbB.d.cts → document-i-h3Orv7.d.cts} +0 -0
  147. /package/dist/{index-Cpbdnd9q.d.cts → index-B3VtiObV.d.mts} +0 -0
  148. /package/dist/{index-_eItTyFr.d.cts → index-BbwsFaWE.d.cts} +0 -0
  149. /package/dist/{index-Z_fJ28vW.d.mts → index-CQP_vcmO.d.cts} +0 -0
  150. /package/dist/{index-BQ_nheAt.d.mts → index-CRoWUxGV.d.cts} +0 -0
  151. /package/dist/{index-22laZYwt.d.mts → index-D11tQdCv.d.cts} +0 -0
  152. /package/dist/{index-NBz_zMvQ.d.cts → index-DLICmJ_-.d.mts} +0 -0
  153. /package/dist/{index-Df7ixqwa.d.cts → index-oCLNrzIj.d.mts} +0 -0
  154. /package/dist/{json-p1Yf7cEr.d.mts → json-CiA5ZRzc.d.mts} +0 -0
  155. /package/dist/{media-upload-BEfESsVb.d.mts → media-upload-DKeA1eD-.d.mts} +0 -0
@@ -1,2 +1,2 @@
1
- import { Dn as ClientEntityActions, En as CLIENT_ENTITY_SCOPES, On as ClientEntityKey, Tn as CLIENT_ENTITY_PERMISSIONS, d as Permissions, f as RolesWithPermissions, kn as ClientEntityScope, p as ROLE_PERMISSIONS, u as LCRUDActions, wn as CLIENT_ENTITY_KEYS } from "../index-Cb8BnFcL.cjs";
1
+ import { Sn as ClientEntityScope, _n as CLIENT_ENTITY_KEYS, bn as ClientEntityActions, d as Permissions, f as RolesWithPermissions, p as ROLE_PERMISSIONS, u as LCRUDActions, vn as CLIENT_ENTITY_PERMISSIONS, xn as ClientEntityKey, yn as CLIENT_ENTITY_SCOPES } from "../index-ygBcXT6p.cjs";
2
2
  export { CLIENT_ENTITY_KEYS, CLIENT_ENTITY_PERMISSIONS, CLIENT_ENTITY_SCOPES, ClientEntityActions, ClientEntityKey, ClientEntityScope, LCRUDActions, Permissions, ROLE_PERMISSIONS, RolesWithPermissions };
@@ -1,2 +1,2 @@
1
- import { Dn as ClientEntityActions, En as CLIENT_ENTITY_SCOPES, On as ClientEntityKey, Tn as CLIENT_ENTITY_PERMISSIONS, d as Permissions, f as RolesWithPermissions, kn as ClientEntityScope, p as ROLE_PERMISSIONS, u as LCRUDActions, wn as CLIENT_ENTITY_KEYS } from "../index-GUYqdxFh.mjs";
1
+ import { Sn as ClientEntityScope, _n as CLIENT_ENTITY_KEYS, bn as ClientEntityActions, d as Permissions, f as RolesWithPermissions, p as ROLE_PERMISSIONS, u as LCRUDActions, vn as CLIENT_ENTITY_PERMISSIONS, xn as ClientEntityKey, yn as CLIENT_ENTITY_SCOPES } from "../index-CAls2gHf.mjs";
2
2
  export { CLIENT_ENTITY_KEYS, CLIENT_ENTITY_PERMISSIONS, CLIENT_ENTITY_SCOPES, ClientEntityActions, ClientEntityKey, ClientEntityScope, LCRUDActions, Permissions, ROLE_PERMISSIONS, RolesWithPermissions };
@@ -1,5 +1,5 @@
1
- import { J as StrapiErrorResponse, K as StrapiAttributeErrorResponse } from "../index-j2pTtcNX.cjs";
2
- import { In as RoleType, Nn as AuthorizedUserDocument, d as Permissions, l as ClientUserDocumentStatus } from "../index-Cb8BnFcL.cjs";
1
+ import { J as StrapiErrorResponse, K as StrapiAttributeErrorResponse } from "../index-efk0FfOP.cjs";
2
+ import { En as AuthorizedUserDocument, d as Permissions, kn as RoleType, l as ClientUserDocumentStatus } from "../index-ygBcXT6p.cjs";
3
3
  import * as v from "valibot";
4
4
 
5
5
  //#region src/utilities/permissions.d.ts
@@ -1,5 +1,5 @@
1
- import { J as StrapiErrorResponse, K as StrapiAttributeErrorResponse } from "../index-B-CQQO_E.mjs";
2
- import { In as RoleType, Nn as AuthorizedUserDocument, d as Permissions, l as ClientUserDocumentStatus } from "../index-GUYqdxFh.mjs";
1
+ import { J as StrapiErrorResponse, K as StrapiAttributeErrorResponse } from "../index-CJ2_Z1gW.mjs";
2
+ import { En as AuthorizedUserDocument, d as Permissions, kn as RoleType, l as ClientUserDocumentStatus } from "../index-CAls2gHf.mjs";
3
3
  import * as v from "valibot";
4
4
 
5
5
  //#region src/utilities/permissions.d.ts
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@getcommunity/gc-validators",
3
3
  "description": "Schema Validator for GetCommunity web-stack types",
4
- "version": "0.0.271-alpha.7",
4
+ "version": "0.0.271-alpha.8",
5
5
  "author": "Joey Grable <joey@getcommunity.com> (https://joeygrable.com)",
6
6
  "contributors": [],
7
7
  "type": "module",
@@ -1,17 +0,0 @@
1
- import * as v from "valibot";
2
-
3
- //#region src/entities/user-account/document.d.ts
4
- declare const UserAccountDocument: v.GenericSchema<{
5
- id: number;
6
- documentId: string;
7
- publishedAt?: string;
8
- createdAt: string;
9
- updatedAt: string;
10
- preferred_name: string | null;
11
- first_name: string;
12
- last_name: string;
13
- user?: unknown;
14
- }>;
15
- type UserAccountDocument = v.InferOutput<typeof UserAccountDocument>;
16
- //#endregion
17
- export { UserAccountDocument as t };
@@ -1,19 +0,0 @@
1
- const require_chunk = require("./chunk-CKQMccvm.cjs");
2
- const require_document = require("./document-BAro2Mrj.cjs");
3
- let valibot = require("valibot");
4
- valibot = require_chunk.__toESM(valibot, 1);
5
- //#region src/entities/user-account/document.ts
6
- const UserAccountDocument = valibot.object({
7
- ...require_document.BaseDocument.entries,
8
- preferred_name: valibot.nullable(valibot.string()),
9
- first_name: valibot.string(),
10
- last_name: valibot.string(),
11
- user: valibot.optional(valibot.unknown())
12
- });
13
- //#endregion
14
- Object.defineProperty(exports, "UserAccountDocument", {
15
- enumerable: true,
16
- get: function() {
17
- return UserAccountDocument;
18
- }
19
- });
@@ -1,12 +0,0 @@
1
- import { t as BaseDocument } from "./document-Bqoi1MdT.mjs";
2
- import * as v from "valibot";
3
- //#region src/entities/user-account/document.ts
4
- const UserAccountDocument = v.object({
5
- ...BaseDocument.entries,
6
- preferred_name: v.nullable(v.string()),
7
- first_name: v.string(),
8
- last_name: v.string(),
9
- user: v.optional(v.unknown())
10
- });
11
- //#endregion
12
- export { UserAccountDocument as t };
@@ -1,17 +0,0 @@
1
- import * as v from "valibot";
2
-
3
- //#region src/entities/user-account/document.d.ts
4
- declare const UserAccountDocument: v.GenericSchema<{
5
- id: number;
6
- documentId: string;
7
- publishedAt?: string;
8
- createdAt: string;
9
- updatedAt: string;
10
- preferred_name: string | null;
11
- first_name: string;
12
- last_name: string;
13
- user?: unknown;
14
- }>;
15
- type UserAccountDocument = v.InferOutput<typeof UserAccountDocument>;
16
- //#endregion
17
- export { UserAccountDocument as t };
@@ -1,41 +0,0 @@
1
- import * as v from "valibot";
2
-
3
- //#region src/base/query.d.ts
4
- declare const QueryStrapiById: v.ObjectSchema<{
5
- readonly id: v.NumberSchema<undefined>;
6
- }, undefined>;
7
- type QueryStrapiById = v.InferOutput<typeof QueryStrapiById>;
8
- declare const QueryStrapiByDocumentId: v.ObjectSchema<{
9
- readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
10
- }, undefined>;
11
- type QueryStrapiByDocumentId = v.InferOutput<typeof QueryStrapiByDocumentId>;
12
- declare const QueryStrapiBySlug: v.ObjectSchema<{
13
- readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
14
- readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
15
- readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC")[], 3, undefined>]>, undefined>;
16
- readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
17
- }, undefined>;
18
- type QueryStrapiBySlug = v.InferOutput<typeof QueryStrapiBySlug>;
19
- declare const QueryStrapiByEmail: v.ObjectSchema<{
20
- readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
21
- readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
22
- readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC")[], 3, undefined>]>, undefined>;
23
- 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
- }, undefined>;
25
- type QueryStrapiByEmail = v.InferOutput<typeof QueryStrapiByEmail>;
26
- declare const QueryStrapiByPhone: v.ObjectSchema<{
27
- readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
28
- readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
29
- readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC")[], 3, undefined>]>, undefined>;
30
- 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
- }, undefined>;
32
- type QueryStrapiByPhone = v.InferOutput<typeof QueryStrapiByPhone>;
33
- declare const QueryStrapiByName: v.ObjectSchema<{
34
- readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
35
- readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
36
- readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC")[], 3, undefined>]>, undefined>;
37
- readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
38
- }, undefined>;
39
- type QueryStrapiByName = v.InferOutput<typeof QueryStrapiByName>;
40
- //#endregion
41
- export { QueryStrapiByPhone as a, QueryStrapiByName as i, QueryStrapiByEmail as n, QueryStrapiBySlug as o, QueryStrapiById as r, QueryStrapiByDocumentId as t };
@@ -1,41 +0,0 @@
1
- import * as v from "valibot";
2
-
3
- //#region src/base/query.d.ts
4
- declare const QueryStrapiById: v.ObjectSchema<{
5
- readonly id: v.NumberSchema<undefined>;
6
- }, undefined>;
7
- type QueryStrapiById = v.InferOutput<typeof QueryStrapiById>;
8
- declare const QueryStrapiByDocumentId: v.ObjectSchema<{
9
- readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
10
- }, undefined>;
11
- type QueryStrapiByDocumentId = v.InferOutput<typeof QueryStrapiByDocumentId>;
12
- declare const QueryStrapiBySlug: v.ObjectSchema<{
13
- readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
14
- readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
15
- readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC")[], 3, undefined>]>, undefined>;
16
- readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
17
- }, undefined>;
18
- type QueryStrapiBySlug = v.InferOutput<typeof QueryStrapiBySlug>;
19
- declare const QueryStrapiByEmail: v.ObjectSchema<{
20
- readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
21
- readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
22
- readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC")[], 3, undefined>]>, undefined>;
23
- 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
- }, undefined>;
25
- type QueryStrapiByEmail = v.InferOutput<typeof QueryStrapiByEmail>;
26
- declare const QueryStrapiByPhone: v.ObjectSchema<{
27
- readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
28
- readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
29
- readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC")[], 3, undefined>]>, undefined>;
30
- 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
- }, undefined>;
32
- type QueryStrapiByPhone = v.InferOutput<typeof QueryStrapiByPhone>;
33
- declare const QueryStrapiByName: v.ObjectSchema<{
34
- readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
35
- readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
36
- readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC")[], 3, undefined>]>, undefined>;
37
- readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
38
- }, undefined>;
39
- type QueryStrapiByName = v.InferOutput<typeof QueryStrapiByName>;
40
- //#endregion
41
- export { QueryStrapiByPhone as a, QueryStrapiByName as i, QueryStrapiByEmail as n, QueryStrapiBySlug as o, QueryStrapiById as r, QueryStrapiByDocumentId as t };