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,252 @@
import * as $dara from '@darabonba/typescript';
export declare class DescribeEventRuleAttributeResponseBodyResultEventPatternEventTypeList extends $dara.Model {
eventTypeList?: string[];
static names(): {
[key: string]: string;
};
static types(): {
[key: string]: any;
};
validate(): void;
constructor(map?: {
[key: string]: any;
});
}
export declare class DescribeEventRuleAttributeResponseBodyResultEventPatternKeywordFilterObjKeywords extends $dara.Model {
keyword?: string[];
static names(): {
[key: string]: string;
};
static types(): {
[key: string]: any;
};
validate(): void;
constructor(map?: {
[key: string]: any;
});
}
export declare class DescribeEventRuleAttributeResponseBodyResultEventPatternKeywordFilterObj extends $dara.Model {
/**
* @remarks
* The keywords that are used to match events.
*/
keywords?: DescribeEventRuleAttributeResponseBodyResultEventPatternKeywordFilterObjKeywords;
/**
* @remarks
* The relationship between multiple keywords in a condition. Valid values:
*
* * OR: The relationship between keywords is OR.
* * NOT: The keyword is excluded. The value NOT indicates that all events that do not contain the keywords are matched.
*
* @example
* OR
*/
relation?: string;
static names(): {
[key: string]: string;
};
static types(): {
[key: string]: any;
};
validate(): void;
constructor(map?: {
[key: string]: any;
});
}
export declare class DescribeEventRuleAttributeResponseBodyResultEventPatternLevelList extends $dara.Model {
levelList?: string[];
static names(): {
[key: string]: string;
};
static types(): {
[key: string]: any;
};
validate(): void;
constructor(map?: {
[key: string]: any;
});
}
export declare class DescribeEventRuleAttributeResponseBodyResultEventPatternNameList extends $dara.Model {
nameList?: string[];
static names(): {
[key: string]: string;
};
static types(): {
[key: string]: any;
};
validate(): void;
constructor(map?: {
[key: string]: any;
});
}
export declare class DescribeEventRuleAttributeResponseBodyResultEventPatternStatusList extends $dara.Model {
statusList?: string[];
static names(): {
[key: string]: string;
};
static types(): {
[key: string]: any;
};
validate(): void;
constructor(map?: {
[key: string]: any;
});
}
export declare class DescribeEventRuleAttributeResponseBodyResultEventPattern extends $dara.Model {
/**
* @remarks
* The types of the event-triggered alert rules.
*/
eventTypeList?: DescribeEventRuleAttributeResponseBodyResultEventPatternEventTypeList;
/**
* @remarks
* The keyword for filtering.
*/
keywordFilterObj?: DescribeEventRuleAttributeResponseBodyResultEventPatternKeywordFilterObj;
levelList?: DescribeEventRuleAttributeResponseBodyResultEventPatternLevelList;
nameList?: DescribeEventRuleAttributeResponseBodyResultEventPatternNameList;
/**
* @remarks
* The name of the cloud service.
*
* @example
* CloudMonitor
*/
product?: string;
/**
* @remarks
* Indicates that logs are filtered based on the specified SQL statement. If the specified conditions are met, an alert is triggered.
*
* @example
* ycccluster1 and (i-23ij0o82612 or Executed1) or Asimulated not 222
*/
SQLFilter?: string;
statusList?: DescribeEventRuleAttributeResponseBodyResultEventPatternStatusList;
static names(): {
[key: string]: string;
};
static types(): {
[key: string]: any;
};
validate(): void;
constructor(map?: {
[key: string]: any;
});
}
export declare class DescribeEventRuleAttributeResponseBodyResult extends $dara.Model {
/**
* @remarks
* The description of the event-triggered alert rule.
*
* @example
* Default group event rule.
*/
description?: string;
/**
* @remarks
* The event pattern. This parameter describes the trigger conditions of an event.
*/
eventPattern?: DescribeEventRuleAttributeResponseBodyResultEventPattern;
/**
* @remarks
* The event type. Valid values:
*
* * SYSTEM: system event
* * CUSTOM: custom event
*
* @example
* SYSTEM
*/
eventType?: string;
/**
* @remarks
* The ID of the application group.
*
* @example
* 3607****
*/
groupId?: string;
/**
* @remarks
* The name of the event-triggered alert rule.
*
* @example
* test_DefaultEventRule_7378****
*/
name?: string;
/**
* @remarks
* The status of the event-triggered alert rule. Valid values:
*
* * ENABLED
* * DISABLED
*
* @example
* ENABLED
*/
state?: string;
static names(): {
[key: string]: string;
};
static types(): {
[key: string]: any;
};
validate(): void;
constructor(map?: {
[key: string]: any;
});
}
export declare class DescribeEventRuleAttributeResponseBody extends $dara.Model {
/**
* @remarks
* The HTTP status code.
*
* > The status code 200 indicates that the request was successful.
*
* @example
* 200
*/
code?: string;
/**
* @remarks
* The error message.
*
* @example
* The alert does not exist.
*/
message?: string;
/**
* @remarks
* The request ID.
*
* @example
* 9AA3F210-C03D-4C86-8DB6-21C84FF692A1
*/
requestId?: string;
/**
* @remarks
* The details of the event-triggered alert rule.
*/
result?: DescribeEventRuleAttributeResponseBodyResult;
/**
* @remarks
* Indicates whether the request was successful. Valid values:
*
* * true
* * false
*
* @example
* true
*/
success?: boolean;
static names(): {
[key: string]: string;
};
static types(): {
[key: string]: any;
};
validate(): void;
constructor(map?: {
[key: string]: any;
});
}