feat: sharelink 资源下载管理插件 v1.1.0

- 下载资源管理与 /download/{slug} 下载链接
- 下载统计(次数/去重人数/明细/CSV 导出)
- 按资源邮箱验证(Halo 通知中心发信,互认评论插件已验证邮箱)
- 本地附件防直链(/upload/** 404)
- 文章引用扫描
- Console 前端:Vue3 + ui-plugin-bundler-kit
This commit is contained in:
shirainbown
2026-08-03 00:25:15 +08:00
commit aa4befa0ff
62 changed files with 7838 additions and 0 deletions
Vendored
+23
View File
@@ -0,0 +1,23 @@
/// <reference types="@rsbuild/core/types" />
// AttachmentSelectorModal 是 Halo Console 全局注册的业务组件(非 @halo-dev/components 导出),
// 见 https://docs.halo.run/developer-guide/plugin/api-reference/ui/components/attachment-selector-modal/
declare module 'vue' {
interface GlobalComponents {
AttachmentSelectorModal: import('vue').DefineComponent<
{ visible?: boolean },
{},
{},
{},
{},
import('vue').ComponentOptionsMixin,
import('vue').ComponentOptionsMixin,
{
'update:visible': (value: boolean) => void;
select: (attachments: unknown[]) => void;
}
>;
}
}
export {};