@tager/admin-blog 1.0.2 → 1.0.4
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 +4 -3
- 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 +1403 -1642
- 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 +3 -3
- package/dist/views/Categories/CategoryForm/CategoryForm.helpers.d.ts +4 -4
- package/dist/views/Categories/CategoryForm/CategoryForm.vue.d.ts +8 -7
- package/dist/views/Categories/CategoryList/CategoryList.helpers.d.ts +4 -4
- package/dist/views/Categories/CategoryList/CategoryList.vue.d.ts +5 -4
- 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 +1900 -417
- package/dist/views/Posts/PostList/PostList.helpers.d.ts +4 -4
- package/dist/views/Posts/PostList/PostList.vue.d.ts +6 -5
- package/dist/views/Posts/PostList/hooks/useAdvancedSearch.d.ts +5 -5
- package/package.json +24 -28
- package/src/dev/App.vue +1 -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 +7 -7
- package/src/views/Categories/CategoryForm/CategoryForm.helpers.ts +6 -6
- package/src/views/Categories/CategoryForm/CategoryForm.vue +7 -7
- 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 +12 -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
package/dist/dev/App.vue.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { MenuItemType } from '@tager/admin-layout';
|
|
2
|
-
declare const _default:
|
|
1
|
+
import { type MenuItemType } from '@tager/admin-layout';
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
4
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {
|
|
3
5
|
sidebarMenuList: MenuItemType[];
|
|
4
6
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
5
|
-
export default _default;
|
|
@@ -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[]>;
|