@veruna/api-contracts 1.0.8 → 1.0.10

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 (153) hide show
  1. package/build/controllers/auth.controllers.d.ts +4 -0
  2. package/build/controllers/blog.controllers.d.ts +7 -0
  3. package/build/controllers/index.d.ts +7 -0
  4. package/build/controllers/index.js +17 -0
  5. package/build/controllers/unreg-users.controllers.d.ts +4 -0
  6. package/build/controllers/users.controllers.d.ts +4 -0
  7. package/build/index.d.ts +5 -0
  8. package/build/index.js +1 -0
  9. package/build/locales/en.d.ts +31 -0
  10. package/build/locales/index.d.ts +66 -0
  11. package/build/locales/ru.d.ts +30 -0
  12. package/build/rest-api.d.ts +52 -0
  13. package/build/rest-api.js +12 -18
  14. package/build/routes/auth.routes.d.ts +12 -0
  15. package/build/{v1/auth/routes → routes}/auth.routes.js +1 -1
  16. package/build/routes/blog-admin-categories.routes.d.ts +11 -0
  17. package/build/routes/blog-admin-posts.routes.d.ts +10 -0
  18. package/build/routes/blog-public.routes.d.ts +10 -0
  19. package/build/routes/index.d.ts +9 -0
  20. package/build/routes/index.js +19 -0
  21. package/build/routes/unreg-users.routes.d.ts +6 -0
  22. package/build/routes/users.routes.d.ts +9 -0
  23. package/build/shared/common-schemas.d.ts +12 -0
  24. package/build/shared/error-response.schema.d.ts +25 -0
  25. package/build/shared/http-method.d.ts +10 -0
  26. package/build/shared/index.d.ts +2 -0
  27. package/build/shared/pagination.schema.d.ts +35 -0
  28. package/build/shared/regex.d.ts +8 -0
  29. package/build/utils/index.d.ts +1 -0
  30. package/build/utils/path-builder.d.ts +20 -0
  31. package/build/v1/auth/auth.errors.d.ts +12 -0
  32. package/build/v1/auth/auth.paths.d.ts +17 -0
  33. package/build/v1/auth/auth.paths.js +2 -2
  34. package/build/v1/auth/auth.types.d.ts +8 -0
  35. package/build/v1/auth/commands/delete-session.command.d.ts +12 -0
  36. package/build/v1/auth/commands/delete-session.command.js +1 -3
  37. package/build/v1/auth/commands/index.d.ts +5 -0
  38. package/build/v1/auth/commands/index.js +1 -1
  39. package/build/v1/auth/commands/logout-all.command.d.ts +12 -0
  40. package/build/v1/auth/commands/logout-all.command.js +1 -3
  41. package/build/v1/auth/commands/logout.command.d.ts +12 -0
  42. package/build/v1/auth/commands/logout.command.js +1 -3
  43. package/build/v1/auth/commands/signin.command.d.ts +31 -0
  44. package/build/v1/auth/commands/signin.command.js +16 -0
  45. package/build/v1/auth/commands/signup.command.d.ts +33 -0
  46. package/build/v1/auth/commands/signup.command.js +1 -3
  47. package/build/v1/auth/index.d.ts +8 -0
  48. package/build/v1/auth/index.js +6 -2
  49. package/build/v1/auth/queries/get-sessions.query.d.ts +19 -0
  50. package/build/v1/auth/queries/get-sessions.query.js +1 -3
  51. package/build/v1/auth/queries/index.d.ts +1 -0
  52. package/build/v1/auth/schemas/auth-response.schema.d.ts +36 -0
  53. package/build/v1/auth/schemas/index.d.ts +5 -0
  54. package/build/v1/auth/schemas/index.js +1 -1
  55. package/build/v1/auth/schemas/session-response.schema.d.ts +13 -0
  56. package/build/v1/auth/schemas/signin-request.schema.d.ts +9 -0
  57. package/build/v1/auth/schemas/{login-request.schema.js → signin-request.schema.js} +3 -3
  58. package/build/v1/auth/schemas/signup-request.schema.d.ts +11 -0
  59. package/build/v1/auth/schemas/signup-request.schema.js +1 -12
  60. package/build/v1/auth/schemas/user-role.enum.d.ts +7 -0
  61. package/build/v1/blog/admin/commands/create-category.command.d.ts +23 -0
  62. package/build/v1/blog/admin/commands/create-category.command.js +0 -2
  63. package/build/v1/blog/admin/commands/create-post.command.d.ts +42 -0
  64. package/build/v1/blog/admin/commands/create-post.command.js +0 -2
  65. package/build/v1/blog/admin/commands/delete-category.command.d.ts +10 -0
  66. package/build/v1/blog/admin/commands/delete-category.command.js +0 -2
  67. package/build/v1/blog/admin/commands/delete-post.command.d.ts +10 -0
  68. package/build/v1/blog/admin/commands/delete-post.command.js +0 -2
  69. package/build/v1/blog/admin/commands/index.d.ts +6 -0
  70. package/build/v1/blog/admin/commands/update-category.command.d.ts +23 -0
  71. package/build/v1/blog/admin/commands/update-category.command.js +0 -2
  72. package/build/v1/blog/admin/commands/update-post.command.d.ts +42 -0
  73. package/build/v1/blog/admin/commands/update-post.command.js +0 -2
  74. package/build/v1/blog/admin/queries/get-categories.query.d.ts +23 -0
  75. package/build/v1/blog/admin/queries/get-categories.query.js +0 -2
  76. package/build/v1/blog/admin/queries/get-category.query.d.ts +18 -0
  77. package/build/v1/blog/admin/queries/get-category.query.js +0 -2
  78. package/build/v1/blog/admin/queries/get-post.query.d.ts +32 -0
  79. package/build/v1/blog/admin/queries/get-post.query.js +0 -2
  80. package/build/v1/blog/admin/queries/get-posts.query.d.ts +47 -0
  81. package/build/v1/blog/admin/queries/get-posts.query.js +0 -2
  82. package/build/v1/blog/admin/queries/index.d.ts +4 -0
  83. package/build/v1/blog/blog.paths.d.ts +36 -0
  84. package/build/v1/blog/blog.types.d.ts +12 -0
  85. package/build/v1/blog/index.d.ts +8 -0
  86. package/build/v1/blog/index.js +12 -2
  87. package/build/v1/blog/public/queries/get-categories.query.d.ts +20 -0
  88. package/build/v1/blog/public/queries/get-categories.query.js +0 -2
  89. package/build/v1/blog/public/queries/get-post-by-alias.query.d.ts +32 -0
  90. package/build/v1/blog/public/queries/get-post-by-alias.query.js +0 -2
  91. package/build/v1/blog/public/queries/get-posts.query.d.ts +46 -0
  92. package/build/v1/blog/public/queries/get-posts.query.js +0 -2
  93. package/build/v1/blog/public/queries/index.d.ts +3 -0
  94. package/build/v1/blog/schemas/blog-category-status.enum.d.ts +8 -0
  95. package/build/v1/blog/schemas/blog-post-status.enum.d.ts +8 -0
  96. package/build/v1/blog/schemas/category-response.schema.d.ts +14 -0
  97. package/build/v1/blog/schemas/create-category-request.schema.d.ts +8 -0
  98. package/build/v1/blog/schemas/create-post-request.schema.d.ts +13 -0
  99. package/build/v1/blog/schemas/get-posts-query.schema.d.ts +13 -0
  100. package/build/v1/blog/schemas/index.d.ts +9 -0
  101. package/build/v1/blog/schemas/post-response.schema.d.ts +28 -0
  102. package/build/v1/blog/schemas/update-category-request.schema.d.ts +8 -0
  103. package/build/v1/blog/schemas/update-post-request.schema.d.ts +13 -0
  104. package/build/v1/index.d.ts +2 -0
  105. package/build/v1/unregistered-users/commands/authenticate.command.d.ts +24 -0
  106. package/build/v1/unregistered-users/commands/authenticate.command.js +0 -2
  107. package/build/v1/unregistered-users/commands/index.d.ts +1 -0
  108. package/build/v1/unregistered-users/index.d.ts +7 -0
  109. package/build/v1/unregistered-users/index.js +6 -0
  110. package/build/v1/unregistered-users/schemas/authenticate-request.schema.d.ts +24 -0
  111. package/build/v1/unregistered-users/schemas/authenticate-request.schema.js +12 -1
  112. package/build/v1/unregistered-users/schemas/authenticate-response.schema.d.ts +11 -0
  113. package/build/v1/unregistered-users/schemas/index.d.ts +3 -0
  114. package/build/v1/unregistered-users/schemas/unreg-user-status.enum.d.ts +8 -0
  115. package/build/v1/unregistered-users/unregistered-users.errors.d.ts +15 -0
  116. package/build/v1/unregistered-users/unregistered-users.paths.d.ts +15 -0
  117. package/build/v1/unregistered-users/unregistered-users.types.d.ts +9 -0
  118. package/build/v1/users/commands/change-password.command.d.ts +16 -0
  119. package/build/v1/users/commands/change-password.command.js +7 -6
  120. package/build/v1/users/commands/delete-account.command.d.ts +12 -0
  121. package/build/v1/users/commands/delete-account.command.js +4 -4
  122. package/build/v1/users/commands/index.d.ts +4 -0
  123. package/build/v1/users/commands/toggle-marketing-consent.command.d.ts +19 -0
  124. package/build/v1/users/commands/toggle-marketing-consent.command.js +2 -4
  125. package/build/v1/users/commands/update-profile.command.d.ts +19 -0
  126. package/build/v1/users/commands/update-profile.command.js +2 -4
  127. package/build/v1/users/index.d.ts +7 -0
  128. package/build/v1/users/index.js +6 -2
  129. package/build/v1/users/queries/get-current-user.query.d.ts +17 -0
  130. package/build/v1/users/queries/get-current-user.query.js +0 -2
  131. package/build/v1/users/queries/index.d.ts +1 -0
  132. package/build/v1/users/schemas/change-password-request.schema.d.ts +10 -0
  133. package/build/v1/users/schemas/delete-account-request.schema.d.ts +5 -0
  134. package/build/v1/users/schemas/index.d.ts +6 -0
  135. package/build/v1/users/schemas/response-unions.schema.d.ts +34 -0
  136. package/build/v1/users/schemas/response-unions.schema.js +6 -6
  137. package/build/v1/users/schemas/toggle-marketing-consent-request.schema.d.ts +7 -0
  138. package/build/v1/users/schemas/update-profile-request.schema.d.ts +8 -0
  139. package/build/v1/users/schemas/user-response.schema.d.ts +12 -0
  140. package/build/v1/users/users.paths.d.ts +11 -0
  141. package/build/v1/users/users.types.d.ts +11 -0
  142. package/package.json +1 -1
  143. package/build/v1/auth/commands/login.command.js +0 -18
  144. package/build/v1/blog/routes/index.js +0 -19
  145. /package/build/{v1/auth/controllers.js → controllers/auth.controllers.js} +0 -0
  146. /package/build/{v1/blog/controllers.js → controllers/blog.controllers.js} +0 -0
  147. /package/build/{v1/unregistered-users/controllers.js → controllers/unreg-users.controllers.js} +0 -0
  148. /package/build/{v1/users/controllers.js → controllers/users.controllers.js} +0 -0
  149. /package/build/{v1/blog/routes → routes}/blog-admin-categories.routes.js +0 -0
  150. /package/build/{v1/blog/routes → routes}/blog-admin-posts.routes.js +0 -0
  151. /package/build/{v1/blog/routes → routes}/blog-public.routes.js +0 -0
  152. /package/build/{v1/unregistered-users/routes → routes}/unreg-users.routes.js +0 -0
  153. /package/build/{v1/users/routes → routes}/users.routes.js +0 -0
@@ -0,0 +1,42 @@
1
+ import { z } from 'zod';
2
+ import { HttpMethod } from '../../../../shared/http-method';
3
+ export declare namespace AdminBlogUpdatePostCommand {
4
+ const Request: z.ZodObject<{
5
+ alias: z.ZodOptional<z.ZodString>;
6
+ title: z.ZodOptional<z.ZodString>;
7
+ metaTitle: z.ZodOptional<z.ZodString>;
8
+ metaDescription: z.ZodOptional<z.ZodString>;
9
+ content: z.ZodOptional<z.ZodString>;
10
+ image: z.ZodOptional<z.ZodString>;
11
+ author: z.ZodOptional<z.ZodString>;
12
+ categoryIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
13
+ status: z.ZodOptional<z.ZodEnum<typeof import("../../schemas").BlogPostStatus>>;
14
+ }, z.core.$strip>;
15
+ const Response: z.ZodObject<{
16
+ uuid: z.ZodString;
17
+ alias: z.ZodString;
18
+ title: z.ZodString;
19
+ metaTitle: z.ZodString;
20
+ metaDescription: z.ZodString;
21
+ content: z.ZodString;
22
+ image: z.ZodString;
23
+ author: z.ZodString;
24
+ categories: z.ZodArray<z.ZodObject<{
25
+ uuid: z.ZodString;
26
+ alias: z.ZodString;
27
+ title: z.ZodString;
28
+ order: z.ZodNumber;
29
+ status: z.ZodEnum<typeof import("../../schemas").BlogCategoryStatus>;
30
+ createdAt: z.ZodString;
31
+ updatedAt: z.ZodString;
32
+ }, z.core.$strip>>;
33
+ viewsCount: z.ZodNumber;
34
+ status: z.ZodEnum<typeof import("../../schemas").BlogPostStatus>;
35
+ createdAt: z.ZodString;
36
+ updatedAt: z.ZodString;
37
+ }, z.core.$strip>;
38
+ const URL: (uuid: string) => string;
39
+ const METHOD = HttpMethod.PATCH;
40
+ type RequestType = z.infer<typeof Request>;
41
+ type ResponseType = z.infer<typeof Response>;
42
+ }
@@ -2,14 +2,12 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AdminBlogUpdatePostCommand = void 0;
4
4
  const schemas_1 = require("../../schemas");
5
- const blog_admin_posts_routes_1 = require("../../routes/blog-admin-posts.routes");
6
5
  const rest_api_1 = require("../../../../rest-api");
7
6
  const http_method_1 = require("../../../../shared/http-method");
8
7
  var AdminBlogUpdatePostCommand;
9
8
  (function (AdminBlogUpdatePostCommand) {
10
9
  AdminBlogUpdatePostCommand.Request = schemas_1.UpdatePostRequestSchema;
11
10
  AdminBlogUpdatePostCommand.Response = schemas_1.PostResponseSchema;
12
- AdminBlogUpdatePostCommand.PATH = blog_admin_posts_routes_1.BLOG_ADMIN_POSTS_ROUTES.UPDATE;
13
11
  AdminBlogUpdatePostCommand.URL = (uuid) => rest_api_1.REST_API.V1.BLOG.ADMIN.POSTS.UPDATE(uuid);
14
12
  AdminBlogUpdatePostCommand.METHOD = http_method_1.HttpMethod.PATCH;
15
13
  })(AdminBlogUpdatePostCommand || (exports.AdminBlogUpdatePostCommand = AdminBlogUpdatePostCommand = {}));
@@ -0,0 +1,23 @@
1
+ import { z } from 'zod';
2
+ import { BlogCategoryStatus } from '../../schemas';
3
+ import { HttpMethod } from '../../../../shared/http-method';
4
+ export declare namespace AdminBlogGetCategoriesQuery {
5
+ const Request: z.ZodObject<{
6
+ status: z.ZodOptional<z.ZodEnum<typeof BlogCategoryStatus>>;
7
+ }, z.core.$strip>;
8
+ const Response: z.ZodObject<{
9
+ categories: z.ZodArray<z.ZodObject<{
10
+ uuid: z.ZodString;
11
+ alias: z.ZodString;
12
+ title: z.ZodString;
13
+ order: z.ZodNumber;
14
+ status: z.ZodEnum<typeof BlogCategoryStatus>;
15
+ createdAt: z.ZodString;
16
+ updatedAt: z.ZodString;
17
+ }, z.core.$strip>>;
18
+ }, z.core.$strip>;
19
+ const URL: "/api/v1/admin/blog/categories/";
20
+ const METHOD = HttpMethod.GET;
21
+ type RequestType = z.infer<typeof Request>;
22
+ type ResponseType = z.infer<typeof Response>;
23
+ }
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AdminBlogGetCategoriesQuery = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const schemas_1 = require("../../schemas");
6
- const blog_admin_categories_routes_1 = require("../../routes/blog-admin-categories.routes");
7
6
  const rest_api_1 = require("../../../../rest-api");
8
7
  const http_method_1 = require("../../../../shared/http-method");
9
8
  const CategoriesListAdminResponseSchema = zod_1.z.object({
@@ -16,7 +15,6 @@ var AdminBlogGetCategoriesQuery;
16
15
  (function (AdminBlogGetCategoriesQuery) {
17
16
  AdminBlogGetCategoriesQuery.Request = GetCategoriesQueryAdminSchema;
18
17
  AdminBlogGetCategoriesQuery.Response = CategoriesListAdminResponseSchema;
19
- AdminBlogGetCategoriesQuery.PATH = blog_admin_categories_routes_1.BLOG_ADMIN_CATEGORIES_ROUTES.GET_ALL;
20
18
  AdminBlogGetCategoriesQuery.URL = rest_api_1.REST_API.V1.BLOG.ADMIN.CATEGORIES.GET_ALL;
21
19
  AdminBlogGetCategoriesQuery.METHOD = http_method_1.HttpMethod.GET;
22
20
  })(AdminBlogGetCategoriesQuery || (exports.AdminBlogGetCategoriesQuery = AdminBlogGetCategoriesQuery = {}));
@@ -0,0 +1,18 @@
1
+ import { z } from 'zod';
2
+ import { HttpMethod } from '../../../../shared/http-method';
3
+ export declare namespace AdminBlogGetCategoryQuery {
4
+ const Request: z.ZodObject<{}, z.core.$strip>;
5
+ const Response: z.ZodObject<{
6
+ uuid: z.ZodString;
7
+ alias: z.ZodString;
8
+ title: z.ZodString;
9
+ order: z.ZodNumber;
10
+ status: z.ZodEnum<typeof import("../../schemas").BlogCategoryStatus>;
11
+ createdAt: z.ZodString;
12
+ updatedAt: z.ZodString;
13
+ }, z.core.$strip>;
14
+ const URL: (uuid: string) => string;
15
+ const METHOD = HttpMethod.GET;
16
+ type RequestType = z.infer<typeof Request>;
17
+ type ResponseType = z.infer<typeof Response>;
18
+ }
@@ -3,14 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AdminBlogGetCategoryQuery = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const schemas_1 = require("../../schemas");
6
- const blog_admin_categories_routes_1 = require("../../routes/blog-admin-categories.routes");
7
6
  const rest_api_1 = require("../../../../rest-api");
8
7
  const http_method_1 = require("../../../../shared/http-method");
9
8
  var AdminBlogGetCategoryQuery;
10
9
  (function (AdminBlogGetCategoryQuery) {
11
10
  AdminBlogGetCategoryQuery.Request = zod_1.z.object({});
12
11
  AdminBlogGetCategoryQuery.Response = schemas_1.CategoryResponseSchema;
13
- AdminBlogGetCategoryQuery.PATH = blog_admin_categories_routes_1.BLOG_ADMIN_CATEGORIES_ROUTES.GET_BY_UUID;
14
12
  AdminBlogGetCategoryQuery.URL = (uuid) => rest_api_1.REST_API.V1.BLOG.ADMIN.CATEGORIES.GET_BY_UUID(uuid);
15
13
  AdminBlogGetCategoryQuery.METHOD = http_method_1.HttpMethod.GET;
16
14
  })(AdminBlogGetCategoryQuery || (exports.AdminBlogGetCategoryQuery = AdminBlogGetCategoryQuery = {}));
@@ -0,0 +1,32 @@
1
+ import { z } from 'zod';
2
+ import { HttpMethod } from '../../../../shared/http-method';
3
+ export declare namespace AdminBlogGetPostQuery {
4
+ const Request: z.ZodObject<{}, z.core.$strip>;
5
+ const Response: z.ZodObject<{
6
+ uuid: z.ZodString;
7
+ alias: z.ZodString;
8
+ title: z.ZodString;
9
+ metaTitle: z.ZodString;
10
+ metaDescription: z.ZodString;
11
+ content: z.ZodString;
12
+ image: z.ZodString;
13
+ author: z.ZodString;
14
+ categories: z.ZodArray<z.ZodObject<{
15
+ uuid: z.ZodString;
16
+ alias: z.ZodString;
17
+ title: z.ZodString;
18
+ order: z.ZodNumber;
19
+ status: z.ZodEnum<typeof import("../../schemas").BlogCategoryStatus>;
20
+ createdAt: z.ZodString;
21
+ updatedAt: z.ZodString;
22
+ }, z.core.$strip>>;
23
+ viewsCount: z.ZodNumber;
24
+ status: z.ZodEnum<typeof import("../../schemas").BlogPostStatus>;
25
+ createdAt: z.ZodString;
26
+ updatedAt: z.ZodString;
27
+ }, z.core.$strip>;
28
+ const URL: (uuid: string) => string;
29
+ const METHOD = HttpMethod.GET;
30
+ type RequestType = z.infer<typeof Request>;
31
+ type ResponseType = z.infer<typeof Response>;
32
+ }
@@ -3,14 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AdminBlogGetPostQuery = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const schemas_1 = require("../../schemas");
6
- const blog_admin_posts_routes_1 = require("../../routes/blog-admin-posts.routes");
7
6
  const rest_api_1 = require("../../../../rest-api");
8
7
  const http_method_1 = require("../../../../shared/http-method");
9
8
  var AdminBlogGetPostQuery;
10
9
  (function (AdminBlogGetPostQuery) {
11
10
  AdminBlogGetPostQuery.Request = zod_1.z.object({});
12
11
  AdminBlogGetPostQuery.Response = schemas_1.PostResponseSchema;
13
- AdminBlogGetPostQuery.PATH = blog_admin_posts_routes_1.BLOG_ADMIN_POSTS_ROUTES.GET_BY_UUID;
14
12
  AdminBlogGetPostQuery.URL = (uuid) => rest_api_1.REST_API.V1.BLOG.ADMIN.POSTS.GET_BY_UUID(uuid);
15
13
  AdminBlogGetPostQuery.METHOD = http_method_1.HttpMethod.GET;
16
14
  })(AdminBlogGetPostQuery || (exports.AdminBlogGetPostQuery = AdminBlogGetPostQuery = {}));
@@ -0,0 +1,47 @@
1
+ import { z } from 'zod';
2
+ import { HttpMethod } from '../../../../shared/http-method';
3
+ export declare namespace AdminBlogGetPostsQuery {
4
+ const Request: z.ZodObject<{
5
+ page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
6
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
7
+ status: z.ZodOptional<z.ZodEnum<typeof import("../../schemas").BlogPostStatus>>;
8
+ categoryAliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
9
+ }, z.core.$strip>;
10
+ const Response: z.ZodObject<{
11
+ data: z.ZodArray<z.ZodObject<{
12
+ uuid: z.ZodString;
13
+ alias: z.ZodString;
14
+ title: z.ZodString;
15
+ metaTitle: z.ZodString;
16
+ metaDescription: z.ZodString;
17
+ content: z.ZodString;
18
+ image: z.ZodString;
19
+ author: z.ZodString;
20
+ categories: z.ZodArray<z.ZodObject<{
21
+ uuid: z.ZodString;
22
+ alias: z.ZodString;
23
+ title: z.ZodString;
24
+ order: z.ZodNumber;
25
+ status: z.ZodEnum<typeof import("../../schemas").BlogCategoryStatus>;
26
+ createdAt: z.ZodString;
27
+ updatedAt: z.ZodString;
28
+ }, z.core.$strip>>;
29
+ viewsCount: z.ZodNumber;
30
+ status: z.ZodEnum<typeof import("../../schemas").BlogPostStatus>;
31
+ createdAt: z.ZodString;
32
+ updatedAt: z.ZodString;
33
+ }, z.core.$strip>>;
34
+ meta: z.ZodObject<{
35
+ page: z.ZodNumber;
36
+ limit: z.ZodNumber;
37
+ total: z.ZodNumber;
38
+ totalPages: z.ZodNumber;
39
+ hasNext: z.ZodBoolean;
40
+ hasPrev: z.ZodBoolean;
41
+ }, z.core.$strip>;
42
+ }, z.core.$strip>;
43
+ const URL: "/api/v1/admin/blog/posts/";
44
+ const METHOD = HttpMethod.GET;
45
+ type RequestType = z.infer<typeof Request>;
46
+ type ResponseType = z.infer<typeof Response>;
47
+ }
@@ -4,7 +4,6 @@ exports.AdminBlogGetPostsQuery = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const schemas_1 = require("../../schemas");
6
6
  const pagination_schema_1 = require("../../../../shared/pagination.schema");
7
- const blog_admin_posts_routes_1 = require("../../routes/blog-admin-posts.routes");
8
7
  const rest_api_1 = require("../../../../rest-api");
9
8
  const http_method_1 = require("../../../../shared/http-method");
10
9
  const PostsListAdminResponseSchema = zod_1.z.object({
@@ -15,7 +14,6 @@ var AdminBlogGetPostsQuery;
15
14
  (function (AdminBlogGetPostsQuery) {
16
15
  AdminBlogGetPostsQuery.Request = schemas_1.GetPostsQueryAdminSchema;
17
16
  AdminBlogGetPostsQuery.Response = PostsListAdminResponseSchema;
18
- AdminBlogGetPostsQuery.PATH = blog_admin_posts_routes_1.BLOG_ADMIN_POSTS_ROUTES.GET_ALL;
19
17
  AdminBlogGetPostsQuery.URL = rest_api_1.REST_API.V1.BLOG.ADMIN.POSTS.GET_ALL;
20
18
  AdminBlogGetPostsQuery.METHOD = http_method_1.HttpMethod.GET;
21
19
  })(AdminBlogGetPostsQuery || (exports.AdminBlogGetPostsQuery = AdminBlogGetPostsQuery = {}));
@@ -0,0 +1,4 @@
1
+ export * from './get-category.query';
2
+ export * from './get-categories.query';
3
+ export * from './get-post.query';
4
+ export * from './get-posts.query';
@@ -0,0 +1,36 @@
1
+ /**
2
+ * Blog Admin API Paths (UUID-based, requires admin role)
3
+ */
4
+ export declare const BLOG_ADMIN_PATHS: {
5
+ readonly BASE: "v1/admin/blog";
6
+ readonly CATEGORIES: "categories";
7
+ readonly CATEGORY_BY_UUID: "categories/:uuid";
8
+ readonly POSTS: "posts";
9
+ readonly POST_BY_UUID: "posts/:uuid";
10
+ };
11
+ /**
12
+ * Blog Public API Paths (alias-based, public access)
13
+ */
14
+ export declare const BLOG_PUBLIC_PATHS: {
15
+ readonly BASE: "v1/blog";
16
+ readonly CATEGORIES: "categories";
17
+ readonly POSTS: "posts";
18
+ readonly POST_BY_ALIAS: "posts/:alias";
19
+ };
20
+ /**
21
+ * Full Admin API URLs
22
+ */
23
+ export declare const BLOG_ADMIN_API_PATHS: {
24
+ readonly CATEGORIES: "/api/v1/admin/blog/categories";
25
+ readonly CATEGORY_BY_UUID: (uuid: string) => string;
26
+ readonly POSTS: "/api/v1/admin/blog/posts";
27
+ readonly POST_BY_UUID: (uuid: string) => string;
28
+ };
29
+ /**
30
+ * Full Public API URLs
31
+ */
32
+ export declare const BLOG_PUBLIC_API_PATHS: {
33
+ readonly CATEGORIES: "/api/v1/blog/categories";
34
+ readonly POSTS: "/api/v1/blog/posts";
35
+ readonly POST_BY_ALIAS: (alias: string) => string;
36
+ };
@@ -0,0 +1,12 @@
1
+ import { z } from 'zod';
2
+ import { CategoryResponseSchema, CreateCategoryRequestSchema, UpdateCategoryRequestSchema, PostResponseSchema, CreatePostRequestSchema, UpdatePostRequestSchema, GetPostsQueryAdminSchema, GetPostsQueryPublicSchema } from './schemas';
3
+ export { BlogCategoryStatus } from './schemas/blog-category-status.enum';
4
+ export { BlogPostStatus } from './schemas/blog-post-status.enum';
5
+ export type CategoryResponse = z.infer<typeof CategoryResponseSchema>;
6
+ export type CreateCategoryRequest = z.infer<typeof CreateCategoryRequestSchema>;
7
+ export type UpdateCategoryRequest = z.infer<typeof UpdateCategoryRequestSchema>;
8
+ export type PostResponse = z.infer<typeof PostResponseSchema>;
9
+ export type CreatePostRequest = z.infer<typeof CreatePostRequestSchema>;
10
+ export type UpdatePostRequest = z.infer<typeof UpdatePostRequestSchema>;
11
+ export type GetPostsQueryAdmin = z.infer<typeof GetPostsQueryAdminSchema>;
12
+ export type GetPostsQueryPublic = z.infer<typeof GetPostsQueryPublicSchema>;
@@ -0,0 +1,8 @@
1
+ export * from './schemas';
2
+ export * from './blog.types';
3
+ export * from './blog.paths';
4
+ export * from './admin/commands';
5
+ export * from './admin/queries';
6
+ export * from './public/queries';
7
+ export { BLOG_ADMIN_CATEGORIES_CONTROLLER, BLOG_ADMIN_POSTS_CONTROLLER, BLOG_PUBLIC_CATEGORIES_CONTROLLER, BLOG_PUBLIC_POSTS_CONTROLLER, } from '../../controllers';
8
+ export { BLOG_ADMIN_CATEGORIES_ROUTES, BLOG_ADMIN_POSTS_ROUTES, BLOG_PUBLIC_CATEGORIES_ROUTES, BLOG_PUBLIC_POSTS_ROUTES, } from '../../routes';
@@ -14,11 +14,21 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.BLOG_PUBLIC_POSTS_ROUTES = exports.BLOG_PUBLIC_CATEGORIES_ROUTES = exports.BLOG_ADMIN_POSTS_ROUTES = exports.BLOG_ADMIN_CATEGORIES_ROUTES = exports.BLOG_PUBLIC_POSTS_CONTROLLER = exports.BLOG_PUBLIC_CATEGORIES_CONTROLLER = exports.BLOG_ADMIN_POSTS_CONTROLLER = exports.BLOG_ADMIN_CATEGORIES_CONTROLLER = void 0;
17
18
  __exportStar(require("./schemas"), exports);
18
19
  __exportStar(require("./blog.types"), exports);
19
20
  __exportStar(require("./blog.paths"), exports);
20
- __exportStar(require("./controllers"), exports);
21
- __exportStar(require("./routes"), exports);
22
21
  __exportStar(require("./admin/commands"), exports);
23
22
  __exportStar(require("./admin/queries"), exports);
24
23
  __exportStar(require("./public/queries"), exports);
24
+ // Re-export from centralized locations
25
+ var controllers_1 = require("../../controllers");
26
+ Object.defineProperty(exports, "BLOG_ADMIN_CATEGORIES_CONTROLLER", { enumerable: true, get: function () { return controllers_1.BLOG_ADMIN_CATEGORIES_CONTROLLER; } });
27
+ Object.defineProperty(exports, "BLOG_ADMIN_POSTS_CONTROLLER", { enumerable: true, get: function () { return controllers_1.BLOG_ADMIN_POSTS_CONTROLLER; } });
28
+ Object.defineProperty(exports, "BLOG_PUBLIC_CATEGORIES_CONTROLLER", { enumerable: true, get: function () { return controllers_1.BLOG_PUBLIC_CATEGORIES_CONTROLLER; } });
29
+ Object.defineProperty(exports, "BLOG_PUBLIC_POSTS_CONTROLLER", { enumerable: true, get: function () { return controllers_1.BLOG_PUBLIC_POSTS_CONTROLLER; } });
30
+ var routes_1 = require("../../routes");
31
+ Object.defineProperty(exports, "BLOG_ADMIN_CATEGORIES_ROUTES", { enumerable: true, get: function () { return routes_1.BLOG_ADMIN_CATEGORIES_ROUTES; } });
32
+ Object.defineProperty(exports, "BLOG_ADMIN_POSTS_ROUTES", { enumerable: true, get: function () { return routes_1.BLOG_ADMIN_POSTS_ROUTES; } });
33
+ Object.defineProperty(exports, "BLOG_PUBLIC_CATEGORIES_ROUTES", { enumerable: true, get: function () { return routes_1.BLOG_PUBLIC_CATEGORIES_ROUTES; } });
34
+ Object.defineProperty(exports, "BLOG_PUBLIC_POSTS_ROUTES", { enumerable: true, get: function () { return routes_1.BLOG_PUBLIC_POSTS_ROUTES; } });
@@ -0,0 +1,20 @@
1
+ import { z } from 'zod';
2
+ import { HttpMethod } from '../../../../shared/http-method';
3
+ export declare namespace BlogGetCategoriesQuery {
4
+ const Request: z.ZodObject<{}, z.core.$strip>;
5
+ const Response: z.ZodObject<{
6
+ categories: z.ZodArray<z.ZodObject<{
7
+ uuid: z.ZodString;
8
+ alias: z.ZodString;
9
+ title: z.ZodString;
10
+ order: z.ZodNumber;
11
+ status: z.ZodEnum<typeof import("../../schemas").BlogCategoryStatus>;
12
+ createdAt: z.ZodString;
13
+ updatedAt: z.ZodString;
14
+ }, z.core.$strip>>;
15
+ }, z.core.$strip>;
16
+ const URL: "/api/v1/blog/categories/";
17
+ const METHOD = HttpMethod.GET;
18
+ type RequestType = z.infer<typeof Request>;
19
+ type ResponseType = z.infer<typeof Response>;
20
+ }
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.BlogGetCategoriesQuery = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const schemas_1 = require("../../schemas");
6
- const blog_public_routes_1 = require("../../routes/blog-public.routes");
7
6
  const rest_api_1 = require("../../../../rest-api");
8
7
  const http_method_1 = require("../../../../shared/http-method");
9
8
  const CategoriesListPublicResponseSchema = zod_1.z.object({
@@ -13,7 +12,6 @@ var BlogGetCategoriesQuery;
13
12
  (function (BlogGetCategoriesQuery) {
14
13
  BlogGetCategoriesQuery.Request = zod_1.z.object({});
15
14
  BlogGetCategoriesQuery.Response = CategoriesListPublicResponseSchema;
16
- BlogGetCategoriesQuery.PATH = blog_public_routes_1.BLOG_PUBLIC_CATEGORIES_ROUTES.GET_ALL;
17
15
  BlogGetCategoriesQuery.URL = rest_api_1.REST_API.V1.BLOG.PUBLIC.CATEGORIES.GET_ALL;
18
16
  BlogGetCategoriesQuery.METHOD = http_method_1.HttpMethod.GET;
19
17
  })(BlogGetCategoriesQuery || (exports.BlogGetCategoriesQuery = BlogGetCategoriesQuery = {}));
@@ -0,0 +1,32 @@
1
+ import { z } from 'zod';
2
+ import { HttpMethod } from '../../../../shared/http-method';
3
+ export declare namespace BlogGetPostByAliasQuery {
4
+ const Request: z.ZodObject<{}, z.core.$strip>;
5
+ const Response: z.ZodObject<{
6
+ uuid: z.ZodString;
7
+ alias: z.ZodString;
8
+ title: z.ZodString;
9
+ metaTitle: z.ZodString;
10
+ metaDescription: z.ZodString;
11
+ content: z.ZodString;
12
+ image: z.ZodString;
13
+ author: z.ZodString;
14
+ categories: z.ZodArray<z.ZodObject<{
15
+ uuid: z.ZodString;
16
+ alias: z.ZodString;
17
+ title: z.ZodString;
18
+ order: z.ZodNumber;
19
+ status: z.ZodEnum<typeof import("../../schemas").BlogCategoryStatus>;
20
+ createdAt: z.ZodString;
21
+ updatedAt: z.ZodString;
22
+ }, z.core.$strip>>;
23
+ viewsCount: z.ZodNumber;
24
+ status: z.ZodEnum<typeof import("../../schemas").BlogPostStatus>;
25
+ createdAt: z.ZodString;
26
+ updatedAt: z.ZodString;
27
+ }, z.core.$strip>;
28
+ const URL: (alias: string) => string;
29
+ const METHOD = HttpMethod.GET;
30
+ type RequestType = z.infer<typeof Request>;
31
+ type ResponseType = z.infer<typeof Response>;
32
+ }
@@ -3,14 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.BlogGetPostByAliasQuery = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const schemas_1 = require("../../schemas");
6
- const blog_public_routes_1 = require("../../routes/blog-public.routes");
7
6
  const rest_api_1 = require("../../../../rest-api");
8
7
  const http_method_1 = require("../../../../shared/http-method");
9
8
  var BlogGetPostByAliasQuery;
10
9
  (function (BlogGetPostByAliasQuery) {
11
10
  BlogGetPostByAliasQuery.Request = zod_1.z.object({});
12
11
  BlogGetPostByAliasQuery.Response = schemas_1.PostResponseSchema;
13
- BlogGetPostByAliasQuery.PATH = blog_public_routes_1.BLOG_PUBLIC_POSTS_ROUTES.GET_BY_ALIAS;
14
12
  BlogGetPostByAliasQuery.URL = (alias) => rest_api_1.REST_API.V1.BLOG.PUBLIC.POSTS.GET_BY_ALIAS(alias);
15
13
  BlogGetPostByAliasQuery.METHOD = http_method_1.HttpMethod.GET;
16
14
  })(BlogGetPostByAliasQuery || (exports.BlogGetPostByAliasQuery = BlogGetPostByAliasQuery = {}));
@@ -0,0 +1,46 @@
1
+ import { z } from 'zod';
2
+ import { HttpMethod } from '../../../../shared/http-method';
3
+ export declare namespace BlogGetPostsQuery {
4
+ const Request: z.ZodObject<{
5
+ page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
6
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
7
+ categoryAliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
8
+ }, z.core.$strip>;
9
+ const Response: z.ZodObject<{
10
+ data: z.ZodArray<z.ZodObject<{
11
+ uuid: z.ZodString;
12
+ alias: z.ZodString;
13
+ title: z.ZodString;
14
+ metaTitle: z.ZodString;
15
+ metaDescription: z.ZodString;
16
+ content: z.ZodString;
17
+ image: z.ZodString;
18
+ author: z.ZodString;
19
+ categories: z.ZodArray<z.ZodObject<{
20
+ uuid: z.ZodString;
21
+ alias: z.ZodString;
22
+ title: z.ZodString;
23
+ order: z.ZodNumber;
24
+ status: z.ZodEnum<typeof import("../../schemas").BlogCategoryStatus>;
25
+ createdAt: z.ZodString;
26
+ updatedAt: z.ZodString;
27
+ }, z.core.$strip>>;
28
+ viewsCount: z.ZodNumber;
29
+ status: z.ZodEnum<typeof import("../../schemas").BlogPostStatus>;
30
+ createdAt: z.ZodString;
31
+ updatedAt: z.ZodString;
32
+ }, z.core.$strip>>;
33
+ meta: z.ZodObject<{
34
+ page: z.ZodNumber;
35
+ limit: z.ZodNumber;
36
+ total: z.ZodNumber;
37
+ totalPages: z.ZodNumber;
38
+ hasNext: z.ZodBoolean;
39
+ hasPrev: z.ZodBoolean;
40
+ }, z.core.$strip>;
41
+ }, z.core.$strip>;
42
+ const URL: "/api/v1/blog/posts/";
43
+ const METHOD = HttpMethod.GET;
44
+ type RequestType = z.infer<typeof Request>;
45
+ type ResponseType = z.infer<typeof Response>;
46
+ }
@@ -4,7 +4,6 @@ exports.BlogGetPostsQuery = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const schemas_1 = require("../../schemas");
6
6
  const pagination_schema_1 = require("../../../../shared/pagination.schema");
7
- const blog_public_routes_1 = require("../../routes/blog-public.routes");
8
7
  const rest_api_1 = require("../../../../rest-api");
9
8
  const http_method_1 = require("../../../../shared/http-method");
10
9
  const PostsListResponseSchema = zod_1.z.object({
@@ -15,7 +14,6 @@ var BlogGetPostsQuery;
15
14
  (function (BlogGetPostsQuery) {
16
15
  BlogGetPostsQuery.Request = schemas_1.GetPostsQueryPublicSchema;
17
16
  BlogGetPostsQuery.Response = PostsListResponseSchema;
18
- BlogGetPostsQuery.PATH = blog_public_routes_1.BLOG_PUBLIC_POSTS_ROUTES.GET_ALL;
19
17
  BlogGetPostsQuery.URL = rest_api_1.REST_API.V1.BLOG.PUBLIC.POSTS.GET_ALL;
20
18
  BlogGetPostsQuery.METHOD = http_method_1.HttpMethod.GET;
21
19
  })(BlogGetPostsQuery || (exports.BlogGetPostsQuery = BlogGetPostsQuery = {}));
@@ -0,0 +1,3 @@
1
+ export * from './get-categories.query';
2
+ export * from './get-posts.query';
3
+ export * from './get-post-by-alias.query';
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Blog Category Status
3
+ */
4
+ export declare enum BlogCategoryStatus {
5
+ DRAFT = "draft",
6
+ PUBLISHED = "published",
7
+ ARCHIVED = "archived"
8
+ }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Blog Post Status
3
+ */
4
+ export declare enum BlogPostStatus {
5
+ DRAFT = "draft",
6
+ PUBLISHED = "published",
7
+ ARCHIVED = "archived"
8
+ }
@@ -0,0 +1,14 @@
1
+ import { z } from 'zod';
2
+ import { BlogCategoryStatus } from './blog-category-status.enum';
3
+ /**
4
+ * Category Response Schema
5
+ */
6
+ export declare const CategoryResponseSchema: z.ZodObject<{
7
+ uuid: z.ZodString;
8
+ alias: z.ZodString;
9
+ title: z.ZodString;
10
+ order: z.ZodNumber;
11
+ status: z.ZodEnum<typeof BlogCategoryStatus>;
12
+ createdAt: z.ZodString;
13
+ updatedAt: z.ZodString;
14
+ }, z.core.$strip>;
@@ -0,0 +1,8 @@
1
+ import { z } from 'zod';
2
+ import { BlogCategoryStatus } from './blog-category-status.enum';
3
+ export declare const CreateCategoryRequestSchema: z.ZodObject<{
4
+ alias: z.ZodString;
5
+ title: z.ZodString;
6
+ order: z.ZodDefault<z.ZodNumber>;
7
+ status: z.ZodDefault<z.ZodEnum<typeof BlogCategoryStatus>>;
8
+ }, z.core.$strip>;
@@ -0,0 +1,13 @@
1
+ import { z } from 'zod';
2
+ import { BlogPostStatus } from './blog-post-status.enum';
3
+ export declare const CreatePostRequestSchema: z.ZodObject<{
4
+ alias: z.ZodString;
5
+ title: z.ZodString;
6
+ metaTitle: z.ZodString;
7
+ metaDescription: z.ZodString;
8
+ content: z.ZodString;
9
+ image: z.ZodString;
10
+ author: z.ZodString;
11
+ categoryIds: z.ZodArray<z.ZodString>;
12
+ status: z.ZodDefault<z.ZodEnum<typeof BlogPostStatus>>;
13
+ }, z.core.$strip>;
@@ -0,0 +1,13 @@
1
+ import { z } from 'zod';
2
+ import { BlogPostStatus } from './blog-post-status.enum';
3
+ export declare const GetPostsQueryAdminSchema: z.ZodObject<{
4
+ page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
5
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
6
+ status: z.ZodOptional<z.ZodEnum<typeof BlogPostStatus>>;
7
+ categoryAliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
8
+ }, z.core.$strip>;
9
+ export declare const GetPostsQueryPublicSchema: z.ZodObject<{
10
+ page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
11
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
12
+ categoryAliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
13
+ }, z.core.$strip>;
@@ -0,0 +1,9 @@
1
+ export * from './blog-category-status.enum';
2
+ export * from './blog-post-status.enum';
3
+ export * from './category-response.schema';
4
+ export * from './create-category-request.schema';
5
+ export * from './update-category-request.schema';
6
+ export * from './post-response.schema';
7
+ export * from './create-post-request.schema';
8
+ export * from './update-post-request.schema';
9
+ export * from './get-posts-query.schema';
@@ -0,0 +1,28 @@
1
+ import { z } from 'zod';
2
+ import { BlogPostStatus } from './blog-post-status.enum';
3
+ /**
4
+ * Post Response Schema
5
+ */
6
+ export declare const PostResponseSchema: z.ZodObject<{
7
+ uuid: z.ZodString;
8
+ alias: z.ZodString;
9
+ title: z.ZodString;
10
+ metaTitle: z.ZodString;
11
+ metaDescription: z.ZodString;
12
+ content: z.ZodString;
13
+ image: z.ZodString;
14
+ author: z.ZodString;
15
+ categories: z.ZodArray<z.ZodObject<{
16
+ uuid: z.ZodString;
17
+ alias: z.ZodString;
18
+ title: z.ZodString;
19
+ order: z.ZodNumber;
20
+ status: z.ZodEnum<typeof import("./blog-category-status.enum").BlogCategoryStatus>;
21
+ createdAt: z.ZodString;
22
+ updatedAt: z.ZodString;
23
+ }, z.core.$strip>>;
24
+ viewsCount: z.ZodNumber;
25
+ status: z.ZodEnum<typeof BlogPostStatus>;
26
+ createdAt: z.ZodString;
27
+ updatedAt: z.ZodString;
28
+ }, z.core.$strip>;
@@ -0,0 +1,8 @@
1
+ import { z } from 'zod';
2
+ import { BlogCategoryStatus } from './blog-category-status.enum';
3
+ export declare const UpdateCategoryRequestSchema: z.ZodObject<{
4
+ alias: z.ZodOptional<z.ZodString>;
5
+ title: z.ZodOptional<z.ZodString>;
6
+ order: z.ZodOptional<z.ZodNumber>;
7
+ status: z.ZodOptional<z.ZodEnum<typeof BlogCategoryStatus>>;
8
+ }, z.core.$strip>;
@@ -0,0 +1,13 @@
1
+ import { z } from 'zod';
2
+ import { BlogPostStatus } from './blog-post-status.enum';
3
+ export declare const UpdatePostRequestSchema: z.ZodObject<{
4
+ alias: z.ZodOptional<z.ZodString>;
5
+ title: z.ZodOptional<z.ZodString>;
6
+ metaTitle: z.ZodOptional<z.ZodString>;
7
+ metaDescription: z.ZodOptional<z.ZodString>;
8
+ content: z.ZodOptional<z.ZodString>;
9
+ image: z.ZodOptional<z.ZodString>;
10
+ author: z.ZodOptional<z.ZodString>;
11
+ categoryIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
12
+ status: z.ZodOptional<z.ZodEnum<typeof BlogPostStatus>>;
13
+ }, z.core.$strip>;
@@ -0,0 +1,2 @@
1
+ export * from './auth';
2
+ export * from './unregistered-users';