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:
114
backend/node_modules/@alicloud/gateway-spi/dist/client.d.ts
generated
vendored
Normal file
114
backend/node_modules/@alicloud/gateway-spi/dist/client.d.ts
generated
vendored
Normal file
@@ -0,0 +1,114 @@
|
||||
/// <reference types="node" />
|
||||
import Credential from '@alicloud/credentials';
|
||||
import { Readable } from 'stream';
|
||||
import * as $tea from '@alicloud/tea-typescript';
|
||||
export declare class InterceptorContext extends $tea.Model {
|
||||
request: InterceptorContextRequest;
|
||||
configuration: InterceptorContextConfiguration;
|
||||
response: InterceptorContextResponse;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
export declare class AttributeMap extends $tea.Model {
|
||||
attributes: {
|
||||
[key: string]: any;
|
||||
};
|
||||
key: {
|
||||
[key: string]: string;
|
||||
};
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
export declare class InterceptorContextRequest extends $tea.Model {
|
||||
headers?: {
|
||||
[key: string]: string;
|
||||
};
|
||||
query?: {
|
||||
[key: string]: string;
|
||||
};
|
||||
body?: any;
|
||||
stream?: Readable;
|
||||
hostMap?: {
|
||||
[key: string]: string;
|
||||
};
|
||||
pathname: string;
|
||||
productId: string;
|
||||
action: string;
|
||||
version: string;
|
||||
protocol: string;
|
||||
method: string;
|
||||
authType: string;
|
||||
bodyType: string;
|
||||
reqBodyType: string;
|
||||
style?: string;
|
||||
credential: Credential;
|
||||
signatureVersion?: string;
|
||||
signatureAlgorithm?: string;
|
||||
userAgent: string;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
export declare class InterceptorContextConfiguration extends $tea.Model {
|
||||
regionId: string;
|
||||
endpoint?: string;
|
||||
endpointRule?: string;
|
||||
endpointMap?: {
|
||||
[key: string]: string;
|
||||
};
|
||||
endpointType?: string;
|
||||
network?: string;
|
||||
suffix?: string;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
export declare class InterceptorContextResponse extends $tea.Model {
|
||||
statusCode?: number;
|
||||
headers?: {
|
||||
[key: string]: string;
|
||||
};
|
||||
body?: Readable;
|
||||
deserializedBody?: any;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
export default abstract class Client {
|
||||
constructor();
|
||||
abstract modifyConfiguration(context: InterceptorContext, attributeMap: AttributeMap): Promise<void>;
|
||||
abstract modifyRequest(context: InterceptorContext, attributeMap: AttributeMap): Promise<void>;
|
||||
abstract modifyResponse(context: InterceptorContext, attributeMap: AttributeMap): Promise<void>;
|
||||
}
|
||||
Reference in New Issue
Block a user