@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,3 +1,3 @@
|
|
|
1
|
-
import { ResourceRef } from '@tager/admin-services';
|
|
2
|
-
import { Category } from '../typings/model';
|
|
1
|
+
import { type ResourceRef } from '@tager/admin-services';
|
|
2
|
+
import { type Category } from '../typings/model';
|
|
3
3
|
export declare function useFetchCategories(): ResourceRef<Category[]>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Ref } from 'vue';
|
|
2
|
-
import { Nullable, ResourceRef } from '@tager/admin-services';
|
|
3
|
-
import { Category } from '../typings/model';
|
|
1
|
+
import { type Ref } from 'vue';
|
|
2
|
+
import { type Nullable, type ResourceRef } from '@tager/admin-services';
|
|
3
|
+
import { type Category } from '../typings/model';
|
|
4
4
|
export declare function useFetchCategory({ categoryId, isCreation, }: {
|
|
5
5
|
categoryId: Ref<string>;
|
|
6
6
|
isCreation: Ref<boolean>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Nullable, ResourceRef } from '@tager/admin-services';
|
|
2
|
-
import { ModuleConfig } from '../typings/model';
|
|
1
|
+
import { type Nullable, type ResourceRef } from '@tager/admin-services';
|
|
2
|
+
import { type ModuleConfig } from '../typings/model';
|
|
3
3
|
export declare function useFetchModuleConfig(): ResourceRef<Nullable<ModuleConfig>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ResourceRef } from '@tager/admin-services';
|
|
2
|
-
import { PostShort } from '../typings/model';
|
|
1
|
+
import { type ResourceRef } from '@tager/admin-services';
|
|
2
|
+
import { type PostShort } from '../typings/model';
|
|
3
3
|
export declare function useFetchPosts(): ResourceRef<PostShort[]>;
|