@vitnode/blog 1.2.0-canary.55 → 1.2.0-canary.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/api/modules/admin/admin.module.d.ts +161 -309
- package/dist/src/api/modules/admin/admin.module.d.ts.map +1 -1
- package/dist/src/api/modules/admin/categories/categories.admin.module.d.ts +75 -143
- package/dist/src/api/modules/admin/categories/categories.admin.module.d.ts.map +1 -1
- package/dist/src/api/modules/admin/categories/routes/create.route.d.ts +28 -49
- package/dist/src/api/modules/admin/categories/routes/create.route.d.ts.map +1 -1
- package/dist/src/api/modules/admin/categories/routes/delete.route.d.ts +16 -31
- package/dist/src/api/modules/admin/categories/routes/delete.route.d.ts.map +1 -1
- package/dist/src/api/modules/admin/categories/routes/edit.route.d.ts +34 -66
- package/dist/src/api/modules/admin/categories/routes/edit.route.d.ts.map +1 -1
- package/dist/src/api/modules/admin/posts/posts.admin.module.d.ts +87 -167
- package/dist/src/api/modules/admin/posts/posts.admin.module.d.ts.map +1 -1
- package/dist/src/api/modules/admin/posts/routes/create.route.d.ts +36 -63
- package/dist/src/api/modules/admin/posts/routes/create.route.d.ts.map +1 -1
- package/dist/src/api/modules/admin/posts/routes/delete.route.d.ts +16 -31
- package/dist/src/api/modules/admin/posts/routes/delete.route.d.ts.map +1 -1
- package/dist/src/api/modules/admin/posts/routes/edit.route.d.ts +39 -77
- package/dist/src/api/modules/admin/posts/routes/edit.route.d.ts.map +1 -1
- package/dist/src/api/modules/categories/categories.module.d.ts +59 -104
- package/dist/src/api/modules/categories/categories.module.d.ts.map +1 -1
- package/dist/src/api/modules/categories/routes/get.route.d.ts +41 -82
- package/dist/src/api/modules/categories/routes/get.route.d.ts.map +1 -1
- package/dist/src/api/modules/categories/test.route.d.ts +19 -23
- package/dist/src/api/modules/categories/test.route.d.ts.map +1 -1
- package/dist/src/api/modules/posts/posts.module.d.ts +46 -94
- package/dist/src/api/modules/posts/posts.module.d.ts.map +1 -1
- package/dist/src/api/modules/posts/routes/get.route.d.ts +46 -94
- package/dist/src/api/modules/posts/routes/get.route.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +20 -20
|
@@ -13,107 +13,59 @@ export declare const zodPostSchema: z.ZodObject<{
|
|
|
13
13
|
titleSeo: z.ZodString;
|
|
14
14
|
}, z.core.$strip>;
|
|
15
15
|
}, z.core.$strip>;
|
|
16
|
-
export declare const postsRoute: {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
title: string;
|
|
50
|
-
titleSeo: string;
|
|
51
|
-
};
|
|
52
|
-
}[];
|
|
53
|
-
pageInfo: {
|
|
54
|
-
count: number;
|
|
55
|
-
endCursor: null | number;
|
|
56
|
-
hasNextPage: boolean;
|
|
57
|
-
hasPreviousPage: boolean;
|
|
58
|
-
startCursor: null | number;
|
|
59
|
-
totalCount: number;
|
|
60
|
-
};
|
|
61
|
-
}, 200, "json">>;
|
|
62
|
-
pluginId: "@vitnode/blog";
|
|
63
|
-
route: {
|
|
64
|
-
method: "get";
|
|
65
|
-
path: "/";
|
|
66
|
-
request: {
|
|
67
|
-
query: z.ZodObject<{
|
|
68
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
69
|
-
first: z.ZodOptional<z.ZodString>;
|
|
70
|
-
last: z.ZodOptional<z.ZodString>;
|
|
71
|
-
order: z.ZodOptional<z.ZodEnum<{
|
|
72
|
-
asc: "asc";
|
|
73
|
-
desc: "desc";
|
|
74
|
-
}>>;
|
|
75
|
-
orderBy: z.ZodOptional<z.ZodEnum<{
|
|
76
|
-
createdAt: "createdAt";
|
|
77
|
-
updatedAt: "updatedAt";
|
|
78
|
-
}>>;
|
|
79
|
-
categoryId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>>;
|
|
80
|
-
}, z.core.$strip>;
|
|
81
|
-
};
|
|
82
|
-
responses: {
|
|
83
|
-
200: {
|
|
84
|
-
content: {
|
|
85
|
-
"application/json": {
|
|
86
|
-
schema: z.ZodObject<{
|
|
87
|
-
edges: z.ZodArray<z.ZodObject<{
|
|
16
|
+
export declare const postsRoute: import("@vitnode/core/api/lib/route").Route<"@vitnode/blog", {
|
|
17
|
+
method: "get";
|
|
18
|
+
path: "/";
|
|
19
|
+
request: {
|
|
20
|
+
query: z.ZodObject<{
|
|
21
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
22
|
+
first: z.ZodOptional<z.ZodString>;
|
|
23
|
+
last: z.ZodOptional<z.ZodString>;
|
|
24
|
+
order: z.ZodOptional<z.ZodEnum<{
|
|
25
|
+
asc: "asc";
|
|
26
|
+
desc: "desc";
|
|
27
|
+
}>>;
|
|
28
|
+
orderBy: z.ZodOptional<z.ZodEnum<{
|
|
29
|
+
createdAt: "createdAt";
|
|
30
|
+
updatedAt: "updatedAt";
|
|
31
|
+
}>>;
|
|
32
|
+
categoryId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>>;
|
|
33
|
+
}, z.core.$strip>;
|
|
34
|
+
};
|
|
35
|
+
responses: {
|
|
36
|
+
200: {
|
|
37
|
+
content: {
|
|
38
|
+
"application/json": {
|
|
39
|
+
schema: z.ZodObject<{
|
|
40
|
+
edges: z.ZodArray<z.ZodObject<{
|
|
41
|
+
id: z.ZodNumber;
|
|
42
|
+
title: z.ZodString;
|
|
43
|
+
titleSeo: z.ZodString;
|
|
44
|
+
content: z.ZodString;
|
|
45
|
+
categoryId: z.ZodNumber;
|
|
46
|
+
createdAt: z.ZodDate;
|
|
47
|
+
updatedAt: z.ZodDate;
|
|
48
|
+
category: z.ZodObject<{
|
|
88
49
|
id: z.ZodNumber;
|
|
89
50
|
title: z.ZodString;
|
|
90
51
|
titleSeo: z.ZodString;
|
|
91
|
-
content: z.ZodString;
|
|
92
|
-
categoryId: z.ZodNumber;
|
|
93
|
-
createdAt: z.ZodDate;
|
|
94
|
-
updatedAt: z.ZodDate;
|
|
95
|
-
category: z.ZodObject<{
|
|
96
|
-
id: z.ZodNumber;
|
|
97
|
-
title: z.ZodString;
|
|
98
|
-
titleSeo: z.ZodString;
|
|
99
|
-
}, z.core.$strip>;
|
|
100
|
-
}, z.core.$strip>>;
|
|
101
|
-
pageInfo: z.ZodObject<{
|
|
102
|
-
totalCount: z.ZodNumber;
|
|
103
|
-
count: z.ZodNumber;
|
|
104
|
-
hasNextPage: z.ZodBoolean;
|
|
105
|
-
hasPreviousPage: z.ZodBoolean;
|
|
106
|
-
startCursor: z.ZodNullable<z.ZodNumber>;
|
|
107
|
-
endCursor: z.ZodNullable<z.ZodNumber>;
|
|
108
52
|
}, z.core.$strip>;
|
|
53
|
+
}, z.core.$strip>>;
|
|
54
|
+
pageInfo: z.ZodObject<{
|
|
55
|
+
totalCount: z.ZodNumber;
|
|
56
|
+
count: z.ZodNumber;
|
|
57
|
+
hasNextPage: z.ZodBoolean;
|
|
58
|
+
hasPreviousPage: z.ZodBoolean;
|
|
59
|
+
startCursor: z.ZodNullable<z.ZodNumber>;
|
|
60
|
+
endCursor: z.ZodNullable<z.ZodNumber>;
|
|
109
61
|
}, z.core.$strip>;
|
|
110
|
-
}
|
|
62
|
+
}, z.core.$strip>;
|
|
111
63
|
};
|
|
112
|
-
description: string;
|
|
113
64
|
};
|
|
65
|
+
description: string;
|
|
114
66
|
};
|
|
115
|
-
} & {
|
|
116
|
-
getRoutingPath: () => "/";
|
|
117
67
|
};
|
|
118
|
-
}
|
|
68
|
+
} & {
|
|
69
|
+
path: string;
|
|
70
|
+
}>;
|
|
119
71
|
//# sourceMappingURL=get.route.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.route.d.ts","sourceRoot":"","sources":["../../../../../../src/api/modules/posts/routes/get.route.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AAatC,eAAO,MAAM,aAAa;;;;;;;;;;;;;iBAaxB,CAAC;AAEH,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"get.route.d.ts","sourceRoot":"","sources":["../../../../../../src/api/modules/posts/routes/get.route.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AAatC,eAAO,MAAM,aAAa;;;;;;;;;;;;;iBAaxB,CAAC;AAEH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2ErB,CAAC"}
|