feat: 添加多项功能和修复

功能新增:
- OSS 存储使用情况显示(文件页面)
- OSS 当日流量统计(阿里云云监控API)
- 分享页面路由修复(/s/xxx 格式支持)

Bug修复:
- 修复分享页面资源路径(相对路径改绝对路径)
- 修复分享码获取逻辑(支持路径格式)
- 修复OSS配额undefined显示问题
- 修复登录流程OSS配置检查
- 修复文件数为null时的显示问题

依赖更新:
- 添加 @alicloud/cms20190101 云监控SDK
- 添加 @alicloud/openapi-client

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-22 21:04:22 +08:00
parent a86903fcdc
commit b135987fe8
3410 changed files with 494007 additions and 11 deletions

View File

@@ -0,0 +1,132 @@
import * as $dara from '@darabonba/typescript';
export declare class DescribeProjectMetaResponseBodyResourcesResource extends $dara.Model {
/**
* @remarks
* The description.
*
* @example
* CDN
*/
description?: string;
/**
* @remarks
* The tags. Tags are used to filter services.
*
* Tags are returned in the following format: `[{"name":"Tag key","value":"Tag value"}, {"name":"Tag key","value":"Tag value"}]`. The following tags are commonly used:
*
* * alertUnit: the unit of the metric value in alerts. If the unit is small, the original metric value may be too large. In this case, you can use the `alertUnit` tag to specify an appropriate unit. This tag is used in CloudMonitor.
* * minAlertPeriod: the minimum time interval to report a new alert. The interval at which monitoring data is reported. The value is usually 1 minute.
* * metricCategory: the service specification. Example: kvstore_sharding. Some Alibaba Cloud services have multiple specifications that are defined in the same namespace. This parameter is used to identify the specifications.
* * is_alarm: indicates whether an alert rule can be configured. We recommend that you do not use the special tags in the CloudMonitor console.
*
* @example
* [{"groupFlag":true}]
*/
labels?: string;
/**
* @remarks
* The namespace of the cloud service. Format: `acs_Service name abbreviation`. For more information about namespaces, see [Appendix 1: Metrics](https://help.aliyun.com/document_detail/163515.html).
*
* @example
* acs_cdn
*/
namespace?: string;
static names(): {
[key: string]: string;
};
static types(): {
[key: string]: any;
};
validate(): void;
constructor(map?: {
[key: string]: any;
});
}
export declare class DescribeProjectMetaResponseBodyResources extends $dara.Model {
resource?: DescribeProjectMetaResponseBodyResourcesResource[];
static names(): {
[key: string]: string;
};
static types(): {
[key: string]: any;
};
validate(): void;
constructor(map?: {
[key: string]: any;
});
}
export declare class DescribeProjectMetaResponseBody extends $dara.Model {
/**
* @remarks
* The status code.
*
* > The status code 200 indicates that the request was successful.
*
* @example
* 200
*/
code?: string;
/**
* @remarks
* The error message.
*
* @example
* The Request is not authorization.
*/
message?: string;
/**
* @remarks
* The page number.
*
* @example
* 1
*/
pageNumber?: string;
/**
* @remarks
* The number of entries per page.
*
* @example
* 5
*/
pageSize?: string;
/**
* @remarks
* The request ID.
*
* @example
* 4C2061B2-3B1B-43BF-A4A4-C53426F479C0
*/
requestId?: string;
/**
* @remarks
* The details of the cloud service.
*/
resources?: DescribeProjectMetaResponseBodyResources;
/**
* @remarks
* Indicates whether the request was successful. Valid values: true: The request was successful. false: The request failed.
*
* @example
* true
*/
success?: boolean;
/**
* @remarks
* The total number of entries returned.
*
* @example
* 12
*/
total?: string;
static names(): {
[key: string]: string;
};
static types(): {
[key: string]: any;
};
validate(): void;
constructor(map?: {
[key: string]: any;
});
}