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>;
|
||||
}
|
||||
174
backend/node_modules/@alicloud/gateway-spi/dist/client.js
generated
vendored
Normal file
174
backend/node_modules/@alicloud/gateway-spi/dist/client.js
generated
vendored
Normal file
@@ -0,0 +1,174 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.InterceptorContextResponse = exports.InterceptorContextConfiguration = exports.InterceptorContextRequest = exports.AttributeMap = exports.InterceptorContext = void 0;
|
||||
// This file is auto-generated, don't edit it
|
||||
const credentials_1 = __importDefault(require("@alicloud/credentials"));
|
||||
const $tea = __importStar(require("@alicloud/tea-typescript"));
|
||||
class InterceptorContext extends $tea.Model {
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
static names() {
|
||||
return {
|
||||
request: 'request',
|
||||
configuration: 'configuration',
|
||||
response: 'response',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
request: InterceptorContextRequest,
|
||||
configuration: InterceptorContextConfiguration,
|
||||
response: InterceptorContextResponse,
|
||||
};
|
||||
}
|
||||
}
|
||||
exports.InterceptorContext = InterceptorContext;
|
||||
class AttributeMap extends $tea.Model {
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
static names() {
|
||||
return {
|
||||
attributes: 'attributes',
|
||||
key: 'key',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
attributes: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
||||
key: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
||||
};
|
||||
}
|
||||
}
|
||||
exports.AttributeMap = AttributeMap;
|
||||
class InterceptorContextRequest extends $tea.Model {
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
static names() {
|
||||
return {
|
||||
headers: 'headers',
|
||||
query: 'query',
|
||||
body: 'body',
|
||||
stream: 'stream',
|
||||
hostMap: 'hostMap',
|
||||
pathname: 'pathname',
|
||||
productId: 'productId',
|
||||
action: 'action',
|
||||
version: 'version',
|
||||
protocol: 'protocol',
|
||||
method: 'method',
|
||||
authType: 'authType',
|
||||
bodyType: 'bodyType',
|
||||
reqBodyType: 'reqBodyType',
|
||||
style: 'style',
|
||||
credential: 'credential',
|
||||
signatureVersion: 'signatureVersion',
|
||||
signatureAlgorithm: 'signatureAlgorithm',
|
||||
userAgent: 'userAgent',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
||||
query: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
||||
body: 'any',
|
||||
stream: 'Readable',
|
||||
hostMap: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
||||
pathname: 'string',
|
||||
productId: 'string',
|
||||
action: 'string',
|
||||
version: 'string',
|
||||
protocol: 'string',
|
||||
method: 'string',
|
||||
authType: 'string',
|
||||
bodyType: 'string',
|
||||
reqBodyType: 'string',
|
||||
style: 'string',
|
||||
credential: credentials_1.default,
|
||||
signatureVersion: 'string',
|
||||
signatureAlgorithm: 'string',
|
||||
userAgent: 'string',
|
||||
};
|
||||
}
|
||||
}
|
||||
exports.InterceptorContextRequest = InterceptorContextRequest;
|
||||
class InterceptorContextConfiguration extends $tea.Model {
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
static names() {
|
||||
return {
|
||||
regionId: 'regionId',
|
||||
endpoint: 'endpoint',
|
||||
endpointRule: 'endpointRule',
|
||||
endpointMap: 'endpointMap',
|
||||
endpointType: 'endpointType',
|
||||
network: 'network',
|
||||
suffix: 'suffix',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
regionId: 'string',
|
||||
endpoint: 'string',
|
||||
endpointRule: 'string',
|
||||
endpointMap: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
||||
endpointType: 'string',
|
||||
network: 'string',
|
||||
suffix: 'string',
|
||||
};
|
||||
}
|
||||
}
|
||||
exports.InterceptorContextConfiguration = InterceptorContextConfiguration;
|
||||
class InterceptorContextResponse extends $tea.Model {
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
static names() {
|
||||
return {
|
||||
statusCode: 'statusCode',
|
||||
headers: 'headers',
|
||||
body: 'body',
|
||||
deserializedBody: 'deserializedBody',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
statusCode: 'number',
|
||||
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
||||
body: 'Readable',
|
||||
deserializedBody: 'any',
|
||||
};
|
||||
}
|
||||
}
|
||||
exports.InterceptorContextResponse = InterceptorContextResponse;
|
||||
class Client {
|
||||
constructor() {
|
||||
}
|
||||
}
|
||||
exports.default = Client;
|
||||
//# sourceMappingURL=client.js.map
|
||||
1
backend/node_modules/@alicloud/gateway-spi/dist/client.js.map
generated
vendored
Normal file
1
backend/node_modules/@alicloud/gateway-spi/dist/client.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"client.js","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,wEAA+C;AAE/C,+DAAiD;AAEjD,MAAa,kBAAmB,SAAQ,IAAI,CAAC,KAAK;IAoBhD,YAAY,GAA4B;QACtC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