@tager/admin-blog 1.0.3 → 2.0.0
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 +674 -4
- package/dist/hooks/useFetchCategories.d.ts +2 -2
- package/dist/hooks/useFetchCategory.d.ts +3 -3
- package/dist/hooks/useFetchModuleConfig.d.ts +2 -2
- package/dist/hooks/useFetchPosts.d.ts +2 -2
- package/dist/index.mjs +1418 -1653
- package/dist/services/requests.d.ts +4 -4
- package/dist/style.css +1 -1
- package/dist/typings/common.d.ts +1 -1
- package/dist/typings/model.d.ts +9 -9
- package/dist/views/Categories/CategoryForm/CategoryForm.helpers.d.ts +4 -4
- package/dist/views/Categories/CategoryForm/CategoryForm.vue.d.ts +3134 -9
- package/dist/views/Categories/CategoryList/CategoryList.helpers.d.ts +4 -4
- package/dist/views/Categories/CategoryList/CategoryList.vue.d.ts +2409 -11
- package/dist/views/Categories/CategoryList/hooks/useAdvancedSearch.d.ts +5 -5
- package/dist/views/Posts/PostForm/PostForm.helpers.d.ts +6 -6
- package/dist/views/Posts/PostForm/PostForm.vue.d.ts +28823 -1809
- package/dist/views/Posts/PostList/PostList.helpers.d.ts +4 -4
- package/dist/views/Posts/PostList/PostList.vue.d.ts +2512 -17
- package/dist/views/Posts/PostList/hooks/useAdvancedSearch.d.ts +5 -5
- package/package.json +29 -33
- package/src/dev/App.vue +1 -1
- package/src/dev/config.ts +0 -1
- package/src/dev/env.ts +11 -11
- package/src/hooks/useFetchCategories.ts +2 -2
- package/src/hooks/useFetchCategory.ts +3 -3
- package/src/hooks/useFetchModuleConfig.ts +2 -2
- package/src/hooks/useFetchPosts.ts +2 -2
- package/src/services/requests.ts +7 -7
- package/src/typings/model.ts +10 -10
- package/src/views/Categories/CategoryForm/CategoryForm.helpers.ts +6 -6
- package/src/views/Categories/CategoryForm/CategoryForm.vue +11 -11
- package/src/views/Categories/CategoryList/CategoryList.helpers.ts +4 -4
- package/src/views/Categories/CategoryList/CategoryList.vue +1 -1
- package/src/views/Categories/CategoryList/hooks/useAdvancedSearch.ts +6 -6
- package/src/views/Posts/PostForm/PostForm.helpers.ts +8 -8
- package/src/views/Posts/PostForm/PostForm.vue +13 -13
- package/src/views/Posts/PostList/PostList.helpers.ts +7 -7
- package/src/views/Posts/PostList/PostList.vue +7 -7
- package/src/views/Posts/PostList/hooks/useAdvancedSearch.ts +6 -6
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { TFunction } from 'i18next';
|
|
2
|
-
import { Nullable } from '@tager/admin-services';
|
|
3
|
-
import { ColumnDefinition, OptionType } from '@tager/admin-ui';
|
|
4
|
-
import { Category, ModuleConfig, Language, PostShort } from '../../../typings/model';
|
|
1
|
+
import { type TFunction } from 'i18next';
|
|
2
|
+
import { type Nullable } from '@tager/admin-services';
|
|
3
|
+
import { type ColumnDefinition, type OptionType } from '@tager/admin-ui';
|
|
4
|
+
import { type Category, type ModuleConfig, type Language, type PostShort } from '../../../typings/model';
|
|
5
5
|
export declare function convertPostList(postList: PostShort[], selectedCategory: Nullable<Category>, languages: Language[]): PostShort[];
|
|
6
6
|
export declare function getStatuses(t: TFunction): Record<string, string>;
|
|
7
7
|
export declare function getPostTableColumnDefs(moduleConfig: Nullable<ModuleConfig>, t: TFunction): ColumnDefinition<PostShort>[];
|