@veruna/api-contracts 1.0.17 → 1.0.19
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/build/controllers/ai-provider.controllers.d.ts +5 -0
- package/build/controllers/ai-provider.controllers.js +8 -0
- package/build/controllers/file.controllers.d.ts +5 -0
- package/build/controllers/file.controllers.js +8 -0
- package/build/controllers/index.d.ts +2 -0
- package/build/controllers/index.js +6 -1
- package/build/rest-api.d.ts +23 -0
- package/build/rest-api.js +28 -0
- package/build/routes/ai-provider-admin.routes.d.ts +11 -0
- package/build/routes/ai-provider-admin.routes.js +14 -0
- package/build/routes/ai-provider-public.routes.d.ts +7 -0
- package/build/routes/ai-provider-public.routes.js +10 -0
- package/build/routes/file.routes.d.ts +14 -0
- package/build/routes/file.routes.js +20 -0
- package/build/routes/index.d.ts +3 -0
- package/build/routes/index.js +7 -1
- package/build/routes/seo-pages-public.routes.d.ts +2 -0
- package/build/routes/seo-pages-public.routes.js +2 -0
- package/build/v1/ai-provider/admin/commands/create-provider.command.d.ts +23 -0
- package/build/v1/ai-provider/admin/commands/create-provider.command.js +13 -0
- package/build/v1/ai-provider/admin/commands/delete-provider.command.d.ts +14 -0
- package/build/v1/ai-provider/admin/commands/delete-provider.command.js +17 -0
- package/build/v1/ai-provider/admin/commands/index.d.ts +3 -0
- package/build/v1/ai-provider/admin/commands/index.js +19 -0
- package/build/v1/ai-provider/admin/commands/update-provider.command.d.ts +27 -0
- package/build/v1/ai-provider/admin/commands/update-provider.command.js +14 -0
- package/build/v1/ai-provider/admin/queries/get-provider.query.d.ts +20 -0
- package/build/v1/ai-provider/admin/queries/get-provider.query.js +13 -0
- package/build/v1/ai-provider/admin/queries/get-providers.query.d.ts +31 -0
- package/build/v1/ai-provider/admin/queries/get-providers.query.js +14 -0
- package/build/v1/ai-provider/admin/queries/index.d.ts +2 -0
- package/build/v1/ai-provider/admin/queries/index.js +18 -0
- package/build/v1/ai-provider/ai-provider.errors.d.ts +7 -0
- package/build/v1/ai-provider/ai-provider.errors.js +23 -0
- package/build/v1/ai-provider/index.d.ts +5 -0
- package/build/v1/ai-provider/index.js +21 -0
- package/build/v1/ai-provider/public/queries/get-active-providers.query.d.ts +18 -0
- package/build/v1/ai-provider/public/queries/get-active-providers.query.js +16 -0
- package/build/v1/ai-provider/public/queries/index.d.ts +1 -0
- package/build/v1/ai-provider/public/queries/index.js +17 -0
- package/build/v1/ai-provider/schemas/ai-provider-status.enum.d.ts +7 -0
- package/build/v1/ai-provider/schemas/ai-provider-status.enum.js +11 -0
- package/build/v1/ai-provider/schemas/create-provider-request.schema.d.ts +9 -0
- package/build/v1/ai-provider/schemas/create-provider-request.schema.js +16 -0
- package/build/v1/ai-provider/schemas/index.d.ts +5 -0
- package/build/v1/ai-provider/schemas/index.js +21 -0
- package/build/v1/ai-provider/schemas/provider-response.schema.d.ts +15 -0
- package/build/v1/ai-provider/schemas/provider-response.schema.js +18 -0
- package/build/v1/ai-provider/schemas/route-params.schema.d.ts +4 -0
- package/build/v1/ai-provider/schemas/route-params.schema.js +8 -0
- package/build/v1/ai-provider/schemas/update-provider-request.schema.d.ts +9 -0
- package/build/v1/ai-provider/schemas/update-provider-request.schema.js +17 -0
- package/build/v1/auth/auth.errors.d.ts +2 -1
- package/build/v1/auth/auth.errors.js +5 -0
- package/build/v1/blog/admin/commands/delete-category.command.d.ts +3 -1
- package/build/v1/blog/admin/commands/delete-category.command.js +4 -4
- package/build/v1/blog/admin/commands/delete-post.command.d.ts +3 -1
- package/build/v1/blog/admin/commands/delete-post.command.js +4 -4
- package/build/v1/blog/admin/queries/get-category.query.d.ts +3 -1
- package/build/v1/blog/admin/queries/get-category.query.js +1 -2
- package/build/v1/blog/admin/queries/get-post.query.d.ts +3 -1
- package/build/v1/blog/admin/queries/get-post.query.js +1 -2
- package/build/v1/blog/public/queries/get-post-by-alias.query.d.ts +3 -1
- package/build/v1/blog/public/queries/get-post-by-alias.query.js +1 -2
- package/build/v1/blog/schemas/create-post-request.schema.js +1 -1
- package/build/v1/blog/schemas/index.d.ts +1 -0
- package/build/v1/blog/schemas/index.js +1 -0
- package/build/v1/blog/schemas/route-params.schema.d.ts +17 -0
- package/build/v1/blog/schemas/route-params.schema.js +23 -0
- package/build/v1/blog/schemas/update-post-request.schema.js +1 -1
- package/build/v1/file/commands/delete-file-by-key.command.d.ts +15 -0
- package/build/v1/file/commands/delete-file-by-key.command.js +15 -0
- package/build/v1/file/commands/delete-file.command.d.ts +15 -0
- package/build/v1/file/commands/delete-file.command.js +18 -0
- package/build/v1/file/commands/index.d.ts +4 -0
- package/build/v1/file/commands/index.js +20 -0
- package/build/v1/file/commands/upload-file.command.d.ts +16 -0
- package/build/v1/file/commands/upload-file.command.js +15 -0
- package/build/v1/file/commands/upload-image.command.d.ts +19 -0
- package/build/v1/file/commands/upload-image.command.js +15 -0
- package/build/v1/file/file.errors.d.ts +15 -0
- package/build/v1/file/file.errors.js +73 -0
- package/build/v1/file/index.d.ts +6 -0
- package/build/v1/file/index.js +26 -0
- package/build/v1/file/queries/get-file.query.d.ts +33 -0
- package/build/v1/file/queries/get-file.query.js +18 -0
- package/build/v1/file/queries/index.d.ts +3 -0
- package/build/v1/file/queries/index.js +19 -0
- package/build/v1/file/queries/list-files.query.d.ts +38 -0
- package/build/v1/file/queries/list-files.query.js +15 -0
- package/build/v1/file/queries/list-folders.query.d.ts +17 -0
- package/build/v1/file/queries/list-folders.query.js +15 -0
- package/build/v1/file/schemas/delete-file-by-key-request.schema.d.ts +7 -0
- package/build/v1/file/schemas/delete-file-by-key-request.schema.js +10 -0
- package/build/v1/file/schemas/delete-file-response.schema.d.ts +15 -0
- package/build/v1/file/schemas/delete-file-response.schema.js +18 -0
- package/build/v1/file/schemas/file-category.enum.d.ts +9 -0
- package/build/v1/file/schemas/file-category.enum.js +13 -0
- package/build/v1/file/schemas/file-response.schema.d.ts +18 -0
- package/build/v1/file/schemas/file-response.schema.js +21 -0
- package/build/v1/file/schemas/file-status.enum.d.ts +10 -0
- package/build/v1/file/schemas/file-status.enum.js +14 -0
- package/build/v1/file/schemas/file-variant-response.schema.d.ts +13 -0
- package/build/v1/file/schemas/file-variant-response.schema.js +16 -0
- package/build/v1/file/schemas/file-with-variants-response.schema.d.ts +26 -0
- package/build/v1/file/schemas/file-with-variants-response.schema.js +13 -0
- package/build/v1/file/schemas/folder-response.schema.d.ts +17 -0
- package/build/v1/file/schemas/folder-response.schema.js +17 -0
- package/build/v1/file/schemas/image-format.enum.d.ts +7 -0
- package/build/v1/file/schemas/image-format.enum.js +11 -0
- package/build/v1/file/schemas/index.d.ts +16 -0
- package/build/v1/file/schemas/index.js +37 -0
- package/build/v1/file/schemas/list-files-request.schema.d.ts +14 -0
- package/build/v1/file/schemas/list-files-request.schema.js +17 -0
- package/build/v1/file/schemas/list-files-response.schema.d.ts +26 -0
- package/build/v1/file/schemas/list-files-response.schema.js +13 -0
- package/build/v1/file/schemas/list-folders-request.schema.d.ts +7 -0
- package/build/v1/file/schemas/list-folders-request.schema.js +10 -0
- package/build/v1/file/schemas/upload-file-request.schema.d.ts +7 -0
- package/build/v1/file/schemas/upload-file-request.schema.js +10 -0
- package/build/v1/file/schemas/upload-file-response.schema.d.ts +9 -0
- package/build/v1/file/schemas/upload-file-response.schema.js +12 -0
- package/build/v1/file/schemas/upload-image-request.schema.d.ts +18 -0
- package/build/v1/file/schemas/upload-image-request.schema.js +28 -0
- package/build/v1/file/schemas/upload-image-response.schema.d.ts +10 -0
- package/build/v1/file/schemas/upload-image-response.schema.js +19 -0
- package/build/v1/index.d.ts +1 -0
- package/build/v1/index.js +1 -0
- package/build/v1/seo-pages/admin/commands/create-page.command.d.ts +12 -0
- package/build/v1/seo-pages/admin/commands/update-page.command.d.ts +12 -0
- package/build/v1/seo-pages/admin/queries/get-page.query.d.ts +6 -0
- package/build/v1/seo-pages/admin/queries/get-pages.query.d.ts +6 -7
- package/build/v1/seo-pages/admin/queries/get-pages.query.js +1 -1
- package/build/v1/seo-pages/public/queries/get-hierarchy-list.query.d.ts +23 -0
- package/build/v1/seo-pages/public/queries/get-hierarchy-list.query.js +14 -0
- package/build/v1/seo-pages/public/queries/get-index-page.query.d.ts +33 -0
- package/build/v1/seo-pages/public/queries/get-index-page.query.js +14 -0
- package/build/v1/seo-pages/public/queries/get-page-by-alias.query.d.ts +6 -0
- package/build/v1/seo-pages/public/queries/index.d.ts +2 -0
- package/build/v1/seo-pages/public/queries/index.js +5 -1
- package/build/v1/seo-pages/schemas/create-page-request.schema.d.ts +6 -0
- package/build/v1/seo-pages/schemas/create-page-request.schema.js +14 -2
- package/build/v1/seo-pages/schemas/index.d.ts +2 -1
- package/build/v1/seo-pages/schemas/index.js +6 -1
- package/build/v1/seo-pages/schemas/page-hierarchy.schema.d.ts +48 -0
- package/build/v1/seo-pages/schemas/page-hierarchy.schema.js +30 -0
- package/build/v1/seo-pages/schemas/page-response.schema.d.ts +27 -1
- package/build/v1/seo-pages/schemas/page-response.schema.js +35 -7
- package/build/v1/seo-pages/schemas/page-type.enum.d.ts +6 -3
- package/build/v1/seo-pages/schemas/page-type.enum.js +6 -3
- package/build/v1/seo-pages/schemas/update-page-request.schema.d.ts +6 -0
- package/build/v1/seo-pages/schemas/update-page-request.schema.js +15 -2
- package/build/v1/seo-pages/seo-pages.errors.d.ts +8 -1
- package/build/v1/seo-pages/seo-pages.errors.js +37 -0
- package/package.json +1 -1
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* List files paginated response schema
|
|
4
|
+
*/
|
|
5
|
+
export declare const ListFilesResponseSchema: z.ZodObject<{
|
|
6
|
+
data: z.ZodArray<z.ZodObject<{
|
|
7
|
+
id: z.ZodString;
|
|
8
|
+
folder: z.ZodString;
|
|
9
|
+
filename: z.ZodString;
|
|
10
|
+
size: z.ZodNumber;
|
|
11
|
+
contentType: z.ZodString;
|
|
12
|
+
category: z.ZodEnum<typeof import("./file-category.enum").FileCategory>;
|
|
13
|
+
status: z.ZodEnum<typeof import("./file-status.enum").FileStatus>;
|
|
14
|
+
url: z.ZodOptional<z.ZodString>;
|
|
15
|
+
uploadedBy: z.ZodString;
|
|
16
|
+
uploadedAt: z.ZodString;
|
|
17
|
+
}, z.core.$strip>>;
|
|
18
|
+
meta: z.ZodObject<{
|
|
19
|
+
page: z.ZodNumber;
|
|
20
|
+
limit: z.ZodNumber;
|
|
21
|
+
total: z.ZodNumber;
|
|
22
|
+
totalPages: z.ZodNumber;
|
|
23
|
+
hasNext: z.ZodBoolean;
|
|
24
|
+
hasPrev: z.ZodBoolean;
|
|
25
|
+
}, z.core.$strip>;
|
|
26
|
+
}, z.core.$strip>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListFilesResponseSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const file_response_schema_1 = require("./file-response.schema");
|
|
6
|
+
const shared_1 = require("../../../shared");
|
|
7
|
+
/**
|
|
8
|
+
* List files paginated response schema
|
|
9
|
+
*/
|
|
10
|
+
exports.ListFilesResponseSchema = zod_1.z.object({
|
|
11
|
+
data: zod_1.z.array(file_response_schema_1.FileItemResponseSchema),
|
|
12
|
+
meta: shared_1.PaginationMetaSchema,
|
|
13
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListFoldersQuerySchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
/**
|
|
6
|
+
* List folders query parameters schema
|
|
7
|
+
*/
|
|
8
|
+
exports.ListFoldersQuerySchema = zod_1.z.object({
|
|
9
|
+
prefix: zod_1.z.string().optional(),
|
|
10
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UploadFileQuerySchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
/**
|
|
6
|
+
* Upload file query parameters schema
|
|
7
|
+
*/
|
|
8
|
+
exports.UploadFileQuerySchema = zod_1.z.object({
|
|
9
|
+
folder: zod_1.z.string().min(1),
|
|
10
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UploadFileResponseSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
/**
|
|
6
|
+
* Upload file response schema
|
|
7
|
+
*/
|
|
8
|
+
exports.UploadFileResponseSchema = zod_1.z.object({
|
|
9
|
+
key: zod_1.z.string(),
|
|
10
|
+
cdnUrl: zod_1.z.string().url(),
|
|
11
|
+
s3Url: zod_1.z.string().url(),
|
|
12
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { ImageFormat } from './image-format.enum';
|
|
3
|
+
/**
|
|
4
|
+
* Upload image query parameters schema
|
|
5
|
+
*/
|
|
6
|
+
export declare const UploadImageQuerySchema: z.ZodObject<{
|
|
7
|
+
folder: z.ZodString;
|
|
8
|
+
formats: z.ZodString;
|
|
9
|
+
sizes: z.ZodOptional<z.ZodString>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
/**
|
|
12
|
+
* Helper to parse formats string to array
|
|
13
|
+
*/
|
|
14
|
+
export declare function parseFormats(formats: string): ImageFormat[];
|
|
15
|
+
/**
|
|
16
|
+
* Helper to parse sizes string to array
|
|
17
|
+
*/
|
|
18
|
+
export declare function parseSizes(sizes: string | undefined): string[];
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UploadImageQuerySchema = void 0;
|
|
4
|
+
exports.parseFormats = parseFormats;
|
|
5
|
+
exports.parseSizes = parseSizes;
|
|
6
|
+
const zod_1 = require("zod");
|
|
7
|
+
/**
|
|
8
|
+
* Upload image query parameters schema
|
|
9
|
+
*/
|
|
10
|
+
exports.UploadImageQuerySchema = zod_1.z.object({
|
|
11
|
+
folder: zod_1.z.string().min(1),
|
|
12
|
+
formats: zod_1.z.string().min(1), // comma-separated: "webp" | "jpeg" | "webp,jpeg"
|
|
13
|
+
sizes: zod_1.z.string().optional(), // comma-separated: "1024x1024,512x512"
|
|
14
|
+
});
|
|
15
|
+
/**
|
|
16
|
+
* Helper to parse formats string to array
|
|
17
|
+
*/
|
|
18
|
+
function parseFormats(formats) {
|
|
19
|
+
return formats.split(',').map((f) => f.trim());
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Helper to parse sizes string to array
|
|
23
|
+
*/
|
|
24
|
+
function parseSizes(sizes) {
|
|
25
|
+
if (!sizes)
|
|
26
|
+
return [];
|
|
27
|
+
return sizes.split(',').map((s) => s.trim());
|
|
28
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* Upload image response schema
|
|
4
|
+
*/
|
|
5
|
+
export declare const UploadImageResponseSchema: z.ZodObject<{
|
|
6
|
+
id: z.ZodString;
|
|
7
|
+
variants: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
8
|
+
cdnUrl: z.ZodString;
|
|
9
|
+
s3Url: z.ZodString;
|
|
10
|
+
}, z.core.$strip>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UploadImageResponseSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
/**
|
|
6
|
+
* Variants map: size -> format -> path
|
|
7
|
+
* Example: { "1024x1024": { "webp": "path/to/file.webp", "jpeg": "path/to/file.jpg" } }
|
|
8
|
+
*/
|
|
9
|
+
const VariantsMapSchema = zod_1.z.record(zod_1.z.string(), // size name
|
|
10
|
+
zod_1.z.record(zod_1.z.string(), zod_1.z.string()));
|
|
11
|
+
/**
|
|
12
|
+
* Upload image response schema
|
|
13
|
+
*/
|
|
14
|
+
exports.UploadImageResponseSchema = zod_1.z.object({
|
|
15
|
+
id: zod_1.z.string().uuid(),
|
|
16
|
+
variants: VariantsMapSchema,
|
|
17
|
+
cdnUrl: zod_1.z.string().url(),
|
|
18
|
+
s3Url: zod_1.z.string().url(),
|
|
19
|
+
});
|
package/build/v1/index.d.ts
CHANGED
package/build/v1/index.js
CHANGED
|
@@ -9,12 +9,18 @@ export declare namespace AdminSeoPageCreatePageCommand {
|
|
|
9
9
|
content: z.ZodString;
|
|
10
10
|
alias: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
11
11
|
type: z.ZodEnum<typeof import("../../schemas").PageType>;
|
|
12
|
+
icon: z.ZodString;
|
|
12
13
|
faq: z.ZodOptional<z.ZodObject<{
|
|
13
14
|
items: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
14
15
|
question: z.ZodString;
|
|
15
16
|
answer: z.ZodString;
|
|
16
17
|
}, z.core.$strip>>>;
|
|
17
18
|
}, z.core.$strip>>;
|
|
19
|
+
parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
order: z.ZodDefault<z.ZodNumber>;
|
|
21
|
+
placeholder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
seoName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
marks: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
18
24
|
}, z.core.$strip>;
|
|
19
25
|
const Response: z.ZodObject<{
|
|
20
26
|
uuid: z.ZodString;
|
|
@@ -25,12 +31,18 @@ export declare namespace AdminSeoPageCreatePageCommand {
|
|
|
25
31
|
content: z.ZodString;
|
|
26
32
|
alias: z.ZodString;
|
|
27
33
|
type: z.ZodEnum<typeof import("../../schemas").PageType>;
|
|
34
|
+
icon: z.ZodString;
|
|
28
35
|
faq: z.ZodObject<{
|
|
29
36
|
items: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
30
37
|
question: z.ZodString;
|
|
31
38
|
answer: z.ZodString;
|
|
32
39
|
}, z.core.$strip>>>;
|
|
33
40
|
}, z.core.$strip>;
|
|
41
|
+
parentId: z.ZodNullable<z.ZodString>;
|
|
42
|
+
order: z.ZodNumber;
|
|
43
|
+
placeholder: z.ZodNullable<z.ZodString>;
|
|
44
|
+
seoName: z.ZodNullable<z.ZodString>;
|
|
45
|
+
marks: z.ZodArray<z.ZodString>;
|
|
34
46
|
createdAt: z.ZodString;
|
|
35
47
|
updatedAt: z.ZodString;
|
|
36
48
|
}, z.core.$strip>;
|
|
@@ -9,12 +9,18 @@ export declare namespace AdminSeoPageUpdatePageCommand {
|
|
|
9
9
|
content: z.ZodOptional<z.ZodString>;
|
|
10
10
|
alias: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
11
11
|
type: z.ZodOptional<z.ZodEnum<typeof import("../../schemas").PageType>>;
|
|
12
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
12
13
|
faq: z.ZodOptional<z.ZodObject<{
|
|
13
14
|
items: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
14
15
|
question: z.ZodString;
|
|
15
16
|
answer: z.ZodString;
|
|
16
17
|
}, z.core.$strip>>>;
|
|
17
18
|
}, z.core.$strip>>;
|
|
19
|
+
parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
21
|
+
placeholder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
seoName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
marks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18
24
|
}, z.core.$strip>;
|
|
19
25
|
const Response: z.ZodObject<{
|
|
20
26
|
uuid: z.ZodString;
|
|
@@ -25,12 +31,18 @@ export declare namespace AdminSeoPageUpdatePageCommand {
|
|
|
25
31
|
content: z.ZodString;
|
|
26
32
|
alias: z.ZodString;
|
|
27
33
|
type: z.ZodEnum<typeof import("../../schemas").PageType>;
|
|
34
|
+
icon: z.ZodString;
|
|
28
35
|
faq: z.ZodObject<{
|
|
29
36
|
items: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
30
37
|
question: z.ZodString;
|
|
31
38
|
answer: z.ZodString;
|
|
32
39
|
}, z.core.$strip>>>;
|
|
33
40
|
}, z.core.$strip>;
|
|
41
|
+
parentId: z.ZodNullable<z.ZodString>;
|
|
42
|
+
order: z.ZodNumber;
|
|
43
|
+
placeholder: z.ZodNullable<z.ZodString>;
|
|
44
|
+
seoName: z.ZodNullable<z.ZodString>;
|
|
45
|
+
marks: z.ZodArray<z.ZodString>;
|
|
34
46
|
createdAt: z.ZodString;
|
|
35
47
|
updatedAt: z.ZodString;
|
|
36
48
|
}, z.core.$strip>;
|
|
@@ -11,12 +11,18 @@ export declare namespace AdminSeoPageGetPageQuery {
|
|
|
11
11
|
content: z.ZodString;
|
|
12
12
|
alias: z.ZodString;
|
|
13
13
|
type: z.ZodEnum<typeof import("../../schemas").PageType>;
|
|
14
|
+
icon: z.ZodString;
|
|
14
15
|
faq: z.ZodObject<{
|
|
15
16
|
items: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
16
17
|
question: z.ZodString;
|
|
17
18
|
answer: z.ZodString;
|
|
18
19
|
}, z.core.$strip>>>;
|
|
19
20
|
}, z.core.$strip>;
|
|
21
|
+
parentId: z.ZodNullable<z.ZodString>;
|
|
22
|
+
order: z.ZodNumber;
|
|
23
|
+
placeholder: z.ZodNullable<z.ZodString>;
|
|
24
|
+
seoName: z.ZodNullable<z.ZodString>;
|
|
25
|
+
marks: z.ZodArray<z.ZodString>;
|
|
20
26
|
createdAt: z.ZodString;
|
|
21
27
|
updatedAt: z.ZodString;
|
|
22
28
|
}, z.core.$strip>;
|
|
@@ -12,15 +12,14 @@ export declare namespace AdminSeoPageGetPagesQuery {
|
|
|
12
12
|
metaDescription: z.ZodString;
|
|
13
13
|
title: z.ZodString;
|
|
14
14
|
description: z.ZodString;
|
|
15
|
-
content: z.ZodString;
|
|
16
15
|
alias: z.ZodString;
|
|
17
16
|
type: z.ZodEnum<typeof import("../../schemas").PageType>;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
17
|
+
icon: z.ZodString;
|
|
18
|
+
parentId: z.ZodNullable<z.ZodString>;
|
|
19
|
+
order: z.ZodNumber;
|
|
20
|
+
placeholder: z.ZodNullable<z.ZodString>;
|
|
21
|
+
seoName: z.ZodNullable<z.ZodString>;
|
|
22
|
+
marks: z.ZodArray<z.ZodString>;
|
|
24
23
|
createdAt: z.ZodString;
|
|
25
24
|
updatedAt: z.ZodString;
|
|
26
25
|
}, z.core.$strip>>;
|
|
@@ -7,7 +7,7 @@ const pagination_schema_1 = require("../../../../shared/pagination.schema");
|
|
|
7
7
|
const rest_api_1 = require("../../../../rest-api");
|
|
8
8
|
const http_method_1 = require("../../../../shared/http-method");
|
|
9
9
|
const PagesListAdminResponseSchema = zod_1.z.object({
|
|
10
|
-
data: zod_1.z.array(schemas_1.
|
|
10
|
+
data: zod_1.z.array(schemas_1.PageListItemSchema),
|
|
11
11
|
meta: pagination_schema_1.PaginationMetaSchema,
|
|
12
12
|
});
|
|
13
13
|
var AdminSeoPageGetPagesQuery;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { HttpMethod } from '../../../../shared/http-method';
|
|
3
|
+
export declare namespace SeoPageGetHierarchyListQuery {
|
|
4
|
+
const Request: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
const Response: z.ZodArray<z.ZodObject<{
|
|
6
|
+
uuid: z.ZodString;
|
|
7
|
+
alias: z.ZodString;
|
|
8
|
+
icon: z.ZodString;
|
|
9
|
+
seoText: z.ZodNullable<z.ZodString>;
|
|
10
|
+
marks: z.ZodArray<z.ZodString>;
|
|
11
|
+
sub: z.ZodArray<z.ZodObject<{
|
|
12
|
+
uuid: z.ZodString;
|
|
13
|
+
alias: z.ZodString;
|
|
14
|
+
icon: z.ZodString;
|
|
15
|
+
seoText: z.ZodNullable<z.ZodString>;
|
|
16
|
+
marks: z.ZodArray<z.ZodString>;
|
|
17
|
+
}, z.core.$strip>>;
|
|
18
|
+
}, z.core.$strip>>;
|
|
19
|
+
const URL: "/api/v1/seo-pages/list";
|
|
20
|
+
const METHOD = HttpMethod.GET;
|
|
21
|
+
type RequestType = z.infer<typeof Request>;
|
|
22
|
+
type ResponseType = z.infer<typeof Response>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SeoPageGetHierarchyListQuery = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const schemas_1 = require("../../schemas");
|
|
6
|
+
const rest_api_1 = require("../../../../rest-api");
|
|
7
|
+
const http_method_1 = require("../../../../shared/http-method");
|
|
8
|
+
var SeoPageGetHierarchyListQuery;
|
|
9
|
+
(function (SeoPageGetHierarchyListQuery) {
|
|
10
|
+
SeoPageGetHierarchyListQuery.Request = zod_1.z.object({});
|
|
11
|
+
SeoPageGetHierarchyListQuery.Response = schemas_1.PageHierarchyListSchema;
|
|
12
|
+
SeoPageGetHierarchyListQuery.URL = rest_api_1.REST_API.V1.SEO_PAGES.PUBLIC.GET_LIST;
|
|
13
|
+
SeoPageGetHierarchyListQuery.METHOD = http_method_1.HttpMethod.GET;
|
|
14
|
+
})(SeoPageGetHierarchyListQuery || (exports.SeoPageGetHierarchyListQuery = SeoPageGetHierarchyListQuery = {}));
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { HttpMethod } from '../../../../shared/http-method';
|
|
3
|
+
export declare namespace SeoPageGetIndexPageQuery {
|
|
4
|
+
const Request: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
const Response: z.ZodObject<{
|
|
6
|
+
uuid: z.ZodString;
|
|
7
|
+
metaTitle: z.ZodString;
|
|
8
|
+
metaDescription: z.ZodString;
|
|
9
|
+
title: z.ZodString;
|
|
10
|
+
description: z.ZodString;
|
|
11
|
+
content: z.ZodString;
|
|
12
|
+
alias: z.ZodString;
|
|
13
|
+
type: z.ZodEnum<typeof import("../../schemas").PageType>;
|
|
14
|
+
icon: z.ZodString;
|
|
15
|
+
faq: z.ZodObject<{
|
|
16
|
+
items: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
17
|
+
question: z.ZodString;
|
|
18
|
+
answer: z.ZodString;
|
|
19
|
+
}, z.core.$strip>>>;
|
|
20
|
+
}, z.core.$strip>;
|
|
21
|
+
parentId: z.ZodNullable<z.ZodString>;
|
|
22
|
+
order: z.ZodNumber;
|
|
23
|
+
placeholder: z.ZodNullable<z.ZodString>;
|
|
24
|
+
seoName: z.ZodNullable<z.ZodString>;
|
|
25
|
+
marks: z.ZodArray<z.ZodString>;
|
|
26
|
+
createdAt: z.ZodString;
|
|
27
|
+
updatedAt: z.ZodString;
|
|
28
|
+
}, z.core.$strip>;
|
|
29
|
+
const URL: "/api/v1/seo-pages";
|
|
30
|
+
const METHOD = HttpMethod.GET;
|
|
31
|
+
type RequestType = z.infer<typeof Request>;
|
|
32
|
+
type ResponseType = z.infer<typeof Response>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SeoPageGetIndexPageQuery = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const schemas_1 = require("../../schemas");
|
|
6
|
+
const rest_api_1 = require("../../../../rest-api");
|
|
7
|
+
const http_method_1 = require("../../../../shared/http-method");
|
|
8
|
+
var SeoPageGetIndexPageQuery;
|
|
9
|
+
(function (SeoPageGetIndexPageQuery) {
|
|
10
|
+
SeoPageGetIndexPageQuery.Request = zod_1.z.object({});
|
|
11
|
+
SeoPageGetIndexPageQuery.Response = schemas_1.PageResponseSchema;
|
|
12
|
+
SeoPageGetIndexPageQuery.URL = rest_api_1.REST_API.V1.SEO_PAGES.PUBLIC.GET_INDEX;
|
|
13
|
+
SeoPageGetIndexPageQuery.METHOD = http_method_1.HttpMethod.GET;
|
|
14
|
+
})(SeoPageGetIndexPageQuery || (exports.SeoPageGetIndexPageQuery = SeoPageGetIndexPageQuery = {}));
|
|
@@ -11,12 +11,18 @@ export declare namespace SeoPageGetPageByAliasQuery {
|
|
|
11
11
|
content: z.ZodString;
|
|
12
12
|
alias: z.ZodString;
|
|
13
13
|
type: z.ZodEnum<typeof import("../../schemas").PageType>;
|
|
14
|
+
icon: z.ZodString;
|
|
14
15
|
faq: z.ZodObject<{
|
|
15
16
|
items: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
16
17
|
question: z.ZodString;
|
|
17
18
|
answer: z.ZodString;
|
|
18
19
|
}, z.core.$strip>>>;
|
|
19
20
|
}, z.core.$strip>;
|
|
21
|
+
parentId: z.ZodNullable<z.ZodString>;
|
|
22
|
+
order: z.ZodNumber;
|
|
23
|
+
placeholder: z.ZodNullable<z.ZodString>;
|
|
24
|
+
seoName: z.ZodNullable<z.ZodString>;
|
|
25
|
+
marks: z.ZodArray<z.ZodString>;
|
|
20
26
|
createdAt: z.ZodString;
|
|
21
27
|
updatedAt: z.ZodString;
|
|
22
28
|
}, z.core.$strip>;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Centralized exports for SEO Pages public queries
|
|
3
3
|
*/
|
|
4
|
+
export { SeoPageGetIndexPageQuery } from './get-index-page.query';
|
|
5
|
+
export { SeoPageGetHierarchyListQuery } from './get-hierarchy-list.query';
|
|
4
6
|
export { SeoPageGetPageByAliasQuery } from './get-page-by-alias.query';
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SeoPageGetPageByAliasQuery = void 0;
|
|
3
|
+
exports.SeoPageGetPageByAliasQuery = exports.SeoPageGetHierarchyListQuery = exports.SeoPageGetIndexPageQuery = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* Centralized exports for SEO Pages public queries
|
|
6
6
|
*/
|
|
7
|
+
var get_index_page_query_1 = require("./get-index-page.query");
|
|
8
|
+
Object.defineProperty(exports, "SeoPageGetIndexPageQuery", { enumerable: true, get: function () { return get_index_page_query_1.SeoPageGetIndexPageQuery; } });
|
|
9
|
+
var get_hierarchy_list_query_1 = require("./get-hierarchy-list.query");
|
|
10
|
+
Object.defineProperty(exports, "SeoPageGetHierarchyListQuery", { enumerable: true, get: function () { return get_hierarchy_list_query_1.SeoPageGetHierarchyListQuery; } });
|
|
7
11
|
var get_page_by_alias_query_1 = require("./get-page-by-alias.query");
|
|
8
12
|
Object.defineProperty(exports, "SeoPageGetPageByAliasQuery", { enumerable: true, get: function () { return get_page_by_alias_query_1.SeoPageGetPageByAliasQuery; } });
|
|
@@ -11,10 +11,16 @@ export declare const CreatePageRequestSchema: z.ZodObject<{
|
|
|
11
11
|
content: z.ZodString;
|
|
12
12
|
alias: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
13
13
|
type: z.ZodEnum<typeof PageType>;
|
|
14
|
+
icon: z.ZodString;
|
|
14
15
|
faq: z.ZodOptional<z.ZodObject<{
|
|
15
16
|
items: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
16
17
|
question: z.ZodString;
|
|
17
18
|
answer: z.ZodString;
|
|
18
19
|
}, z.core.$strip>>>;
|
|
19
20
|
}, z.core.$strip>>;
|
|
21
|
+
parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
order: z.ZodDefault<z.ZodNumber>;
|
|
23
|
+
placeholder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
seoName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
marks: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
20
26
|
}, z.core.$strip>;
|
|
@@ -14,7 +14,19 @@ exports.CreatePageRequestSchema = zod_1.z.object({
|
|
|
14
14
|
title: zod_1.z.string().min(1).max(300),
|
|
15
15
|
description: zod_1.z.string().min(1),
|
|
16
16
|
content: zod_1.z.string().min(1),
|
|
17
|
-
alias: zod_1.z
|
|
18
|
-
|
|
17
|
+
alias: zod_1.z
|
|
18
|
+
.string()
|
|
19
|
+
.min(1)
|
|
20
|
+
.max(200)
|
|
21
|
+
.regex(shared_1.SLUG_REGEX)
|
|
22
|
+
.transform((val) => val.toLowerCase().trim()),
|
|
23
|
+
type: zod_1.z.enum(page_type_enum_1.PageType),
|
|
24
|
+
icon: zod_1.z.string().min(1).max(100),
|
|
19
25
|
faq: faq_schema_1.FaqSchema.optional(),
|
|
26
|
+
// Hierarchy & additional fields
|
|
27
|
+
parentId: zod_1.z.string().regex(shared_1.UUID_REGEX).nullable().optional(),
|
|
28
|
+
order: zod_1.z.number().int().min(0).default(0),
|
|
29
|
+
placeholder: zod_1.z.string().max(500).nullable().optional(),
|
|
30
|
+
seoName: zod_1.z.string().max(200).nullable().optional(),
|
|
31
|
+
marks: zod_1.z.array(zod_1.z.string().max(50)).default([]),
|
|
20
32
|
});
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
* Centralized exports for SEO Pages schemas
|
|
3
3
|
*/
|
|
4
4
|
export { PageType } from './page-type.enum';
|
|
5
|
-
export { PageResponseSchema } from './page-response.schema';
|
|
5
|
+
export { PageResponseSchema, PageListItemSchema } from './page-response.schema';
|
|
6
|
+
export { PageHierarchySubItemSchema, PageHierarchyItemSchema, PageHierarchyListSchema, type PageHierarchySubItem, type PageHierarchyItem, type PageHierarchyList, } from './page-hierarchy.schema';
|
|
6
7
|
export { CreatePageRequestSchema } from './create-page-request.schema';
|
|
7
8
|
export { UpdatePageRequestSchema } from './update-page-request.schema';
|
|
8
9
|
export { FaqSchema, FaqItemSchema, type Faq, type FaqItem } from './faq.schema';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FaqItemSchema = exports.FaqSchema = exports.UpdatePageRequestSchema = exports.CreatePageRequestSchema = exports.PageResponseSchema = exports.PageType = void 0;
|
|
3
|
+
exports.FaqItemSchema = exports.FaqSchema = exports.UpdatePageRequestSchema = exports.CreatePageRequestSchema = exports.PageHierarchyListSchema = exports.PageHierarchyItemSchema = exports.PageHierarchySubItemSchema = exports.PageListItemSchema = exports.PageResponseSchema = exports.PageType = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* Centralized exports for SEO Pages schemas
|
|
6
6
|
*/
|
|
@@ -8,6 +8,11 @@ var page_type_enum_1 = require("./page-type.enum");
|
|
|
8
8
|
Object.defineProperty(exports, "PageType", { enumerable: true, get: function () { return page_type_enum_1.PageType; } });
|
|
9
9
|
var page_response_schema_1 = require("./page-response.schema");
|
|
10
10
|
Object.defineProperty(exports, "PageResponseSchema", { enumerable: true, get: function () { return page_response_schema_1.PageResponseSchema; } });
|
|
11
|
+
Object.defineProperty(exports, "PageListItemSchema", { enumerable: true, get: function () { return page_response_schema_1.PageListItemSchema; } });
|
|
12
|
+
var page_hierarchy_schema_1 = require("./page-hierarchy.schema");
|
|
13
|
+
Object.defineProperty(exports, "PageHierarchySubItemSchema", { enumerable: true, get: function () { return page_hierarchy_schema_1.PageHierarchySubItemSchema; } });
|
|
14
|
+
Object.defineProperty(exports, "PageHierarchyItemSchema", { enumerable: true, get: function () { return page_hierarchy_schema_1.PageHierarchyItemSchema; } });
|
|
15
|
+
Object.defineProperty(exports, "PageHierarchyListSchema", { enumerable: true, get: function () { return page_hierarchy_schema_1.PageHierarchyListSchema; } });
|
|
11
16
|
var create_page_request_schema_1 = require("./create-page-request.schema");
|
|
12
17
|
Object.defineProperty(exports, "CreatePageRequestSchema", { enumerable: true, get: function () { return create_page_request_schema_1.CreatePageRequestSchema; } });
|
|
13
18
|
var update_page_request_schema_1 = require("./update-page-request.schema");
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* Sub page item in hierarchy (simplified view)
|
|
4
|
+
*/
|
|
5
|
+
export declare const PageHierarchySubItemSchema: z.ZodObject<{
|
|
6
|
+
uuid: z.ZodString;
|
|
7
|
+
alias: z.ZodString;
|
|
8
|
+
icon: z.ZodString;
|
|
9
|
+
seoText: z.ZodNullable<z.ZodString>;
|
|
10
|
+
marks: z.ZodArray<z.ZodString>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
/**
|
|
13
|
+
* Main page item with sub pages (simplified hierarchy view)
|
|
14
|
+
*/
|
|
15
|
+
export declare const PageHierarchyItemSchema: z.ZodObject<{
|
|
16
|
+
uuid: z.ZodString;
|
|
17
|
+
alias: z.ZodString;
|
|
18
|
+
icon: z.ZodString;
|
|
19
|
+
seoText: z.ZodNullable<z.ZodString>;
|
|
20
|
+
marks: z.ZodArray<z.ZodString>;
|
|
21
|
+
sub: z.ZodArray<z.ZodObject<{
|
|
22
|
+
uuid: z.ZodString;
|
|
23
|
+
alias: z.ZodString;
|
|
24
|
+
icon: z.ZodString;
|
|
25
|
+
seoText: z.ZodNullable<z.ZodString>;
|
|
26
|
+
marks: z.ZodArray<z.ZodString>;
|
|
27
|
+
}, z.core.$strip>>;
|
|
28
|
+
}, z.core.$strip>;
|
|
29
|
+
/**
|
|
30
|
+
* Full hierarchical list response
|
|
31
|
+
*/
|
|
32
|
+
export declare const PageHierarchyListSchema: z.ZodArray<z.ZodObject<{
|
|
33
|
+
uuid: z.ZodString;
|
|
34
|
+
alias: z.ZodString;
|
|
35
|
+
icon: z.ZodString;
|
|
36
|
+
seoText: z.ZodNullable<z.ZodString>;
|
|
37
|
+
marks: z.ZodArray<z.ZodString>;
|
|
38
|
+
sub: z.ZodArray<z.ZodObject<{
|
|
39
|
+
uuid: z.ZodString;
|
|
40
|
+
alias: z.ZodString;
|
|
41
|
+
icon: z.ZodString;
|
|
42
|
+
seoText: z.ZodNullable<z.ZodString>;
|
|
43
|
+
marks: z.ZodArray<z.ZodString>;
|
|
44
|
+
}, z.core.$strip>>;
|
|
45
|
+
}, z.core.$strip>>;
|
|
46
|
+
export type PageHierarchySubItem = z.infer<typeof PageHierarchySubItemSchema>;
|
|
47
|
+
export type PageHierarchyItem = z.infer<typeof PageHierarchyItemSchema>;
|
|
48
|
+
export type PageHierarchyList = z.infer<typeof PageHierarchyListSchema>;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PageHierarchyListSchema = exports.PageHierarchyItemSchema = exports.PageHierarchySubItemSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const shared_1 = require("../../../shared");
|
|
6
|
+
/**
|
|
7
|
+
* Sub page item in hierarchy (simplified view)
|
|
8
|
+
*/
|
|
9
|
+
exports.PageHierarchySubItemSchema = zod_1.z.object({
|
|
10
|
+
uuid: zod_1.z.string().regex(shared_1.UUID_REGEX),
|
|
11
|
+
alias: zod_1.z.string(),
|
|
12
|
+
icon: zod_1.z.string(),
|
|
13
|
+
seoText: zod_1.z.string().nullable(),
|
|
14
|
+
marks: zod_1.z.array(zod_1.z.string()),
|
|
15
|
+
});
|
|
16
|
+
/**
|
|
17
|
+
* Main page item with sub pages (simplified hierarchy view)
|
|
18
|
+
*/
|
|
19
|
+
exports.PageHierarchyItemSchema = zod_1.z.object({
|
|
20
|
+
uuid: zod_1.z.string().regex(shared_1.UUID_REGEX),
|
|
21
|
+
alias: zod_1.z.string(),
|
|
22
|
+
icon: zod_1.z.string(),
|
|
23
|
+
seoText: zod_1.z.string().nullable(),
|
|
24
|
+
marks: zod_1.z.array(zod_1.z.string()),
|
|
25
|
+
sub: zod_1.z.array(exports.PageHierarchySubItemSchema),
|
|
26
|
+
});
|
|
27
|
+
/**
|
|
28
|
+
* Full hierarchical list response
|
|
29
|
+
*/
|
|
30
|
+
exports.PageHierarchyListSchema = zod_1.z.array(exports.PageHierarchyItemSchema);
|