@tager/admin-blog 1.0.4 → 2.0.1
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/dev/App.vue.d.ts +670 -1
- package/dist/index.mjs +106 -106
- package/dist/style.css +1 -1
- package/dist/typings/model.d.ts +6 -6
- package/dist/views/Categories/CategoryForm/CategoryForm.vue.d.ts +3129 -5
- package/dist/views/Categories/CategoryList/CategoryList.vue.d.ts +2404 -7
- package/dist/views/Posts/PostForm/PostForm.vue.d.ts +28422 -2889
- package/dist/views/Posts/PostList/PostList.vue.d.ts +2506 -12
- package/package.json +11 -10
- package/src/dev/config.ts +0 -1
- package/src/typings/model.ts +3 -3
- package/src/views/Categories/CategoryForm/CategoryForm.vue +4 -4
- package/src/views/Posts/PostForm/PostForm.vue +1 -1
package/dist/typings/model.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { type Nullable, type FileType } from '@tager/admin-services';
|
|
2
2
|
import { type FieldConfigUnion, type FieldShortType, type IncomingValueUnion } from '@tager/admin-dynamic-field';
|
|
3
3
|
import { type OptionType, type ShortCodeItemType, type SingleFileInputValueType } from '@tager/admin-ui';
|
|
4
|
-
export
|
|
4
|
+
export type SeoInfo = {
|
|
5
5
|
readonly pageTitle: Nullable<string>;
|
|
6
6
|
readonly pageDescription: Nullable<string>;
|
|
7
7
|
readonly pageKeywords: Nullable<string>;
|
|
8
8
|
readonly openGraphTitle: Nullable<string>;
|
|
9
9
|
readonly openGraphDescription: Nullable<string>;
|
|
10
10
|
readonly openGraphImage: Nullable<FileType>;
|
|
11
|
-
}
|
|
12
|
-
export
|
|
11
|
+
};
|
|
12
|
+
export type Category = SeoInfo & {
|
|
13
13
|
readonly id: number;
|
|
14
14
|
readonly name: string;
|
|
15
15
|
readonly isDefault: boolean;
|
|
@@ -23,8 +23,8 @@ export interface Category extends SeoInfo {
|
|
|
23
23
|
name: string;
|
|
24
24
|
}>;
|
|
25
25
|
readonly depth: number;
|
|
26
|
-
}
|
|
27
|
-
export
|
|
26
|
+
};
|
|
27
|
+
export type PostShort = {
|
|
28
28
|
readonly id: number;
|
|
29
29
|
readonly title: string;
|
|
30
30
|
readonly url: string;
|
|
@@ -34,7 +34,7 @@ export interface PostShort {
|
|
|
34
34
|
readonly categories: Category[];
|
|
35
35
|
readonly datetime: string;
|
|
36
36
|
readonly image: Nullable<FileType>;
|
|
37
|
-
}
|
|
37
|
+
};
|
|
38
38
|
export interface PostFull extends SeoInfo {
|
|
39
39
|
readonly id: number;
|
|
40
40
|
readonly language: string;
|