@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,8 +1,8 @@
|
|
|
1
|
-
import { ComputedRef, Ref } from 'vue';
|
|
2
|
-
import { RouteLocationNormalizedLoaded } from 'vue-router';
|
|
3
|
-
import { TFunction } from 'i18next';
|
|
4
|
-
import { FilterTagType, OptionType } from '@tager/admin-ui';
|
|
5
|
-
import { Language } from '../../../../typings/model';
|
|
1
|
+
import { type ComputedRef, type Ref } from 'vue';
|
|
2
|
+
import { type RouteLocationNormalizedLoaded } from 'vue-router';
|
|
3
|
+
import { type TFunction } from 'i18next';
|
|
4
|
+
import { type FilterTagType, type OptionType } from '@tager/admin-ui';
|
|
5
|
+
import { type Language } from '../../../../typings/model';
|
|
6
6
|
interface Params {
|
|
7
7
|
t: TFunction;
|
|
8
8
|
languageList: ComputedRef<Language[]>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { TFunction } from 'i18next';
|
|
2
|
-
import { Nullable } from '@tager/admin-services';
|
|
3
|
-
import { OptionType, SingleFileInputValueType } from '@tager/admin-ui';
|
|
4
|
-
import { FieldConfigUnion, FieldUnion } from '@tager/admin-dynamic-field';
|
|
5
|
-
import { PostCreationPayload, PostUpdatePayload } from '../../../services/requests';
|
|
6
|
-
import { Category, PostFull } from '../../../typings/model';
|
|
1
|
+
import { type TFunction } from 'i18next';
|
|
2
|
+
import { type Nullable } from '@tager/admin-services';
|
|
3
|
+
import { type OptionType, type SingleFileInputValueType } from '@tager/admin-ui';
|
|
4
|
+
import { type FieldConfigUnion, type FieldUnion } from '@tager/admin-dynamic-field';
|
|
5
|
+
import { type PostCreationPayload, type PostUpdatePayload } from '../../../services/requests';
|
|
6
|
+
import { type Category, type PostFull } from '../../../typings/model';
|
|
7
7
|
export declare const getStatusOptions: (t: TFunction) => OptionType[];
|
|
8
8
|
export interface FormValues {
|
|
9
9
|
title: string;
|