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:
622
backend/node_modules/@alicloud/cms20190101/dist/models/MigrationJob.js
generated
vendored
Normal file
622
backend/node_modules/@alicloud/cms20190101/dist/models/MigrationJob.js
generated
vendored
Normal file
@@ -0,0 +1,622 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (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 () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.MigrationJob = exports.MigrationJobSource = exports.MigrationJobSourceTargets = exports.MigrationJobSourceTargetsContent = exports.MigrationJobSourceRule = exports.MigrationJobSourceRulePrimaryFilters = exports.MigrationJobSourceRuleKeywordFilter = exports.MigrationJobPlan = exports.MigrationJobPlanTargets = exports.MigrationJobPlanTargetsHttpRequestTarget = exports.MigrationJobPlanSubscriptions = exports.MigrationJobPlanSubscriptionsConditions = exports.MigrationJobPlanStrategies = exports.MigrationJobPlanStrategiesPushingSetting = exports.MigrationJobPlanStrategiesEscalationSetting = exports.MigrationJobPlanGroups = exports.MigrationJobPlanEscalations = exports.MigrationJobPlanEscalationsEscalations = exports.MigrationJobPlanEscalationsEscalationsLevelGroups = exports.MigrationJobPlanContacts = exports.MigrationJobPlanContactsChannels = void 0;
|
||||
// This file is auto-generated, don't edit it
|
||||
const $dara = __importStar(require("@darabonba/typescript"));
|
||||
class MigrationJobPlanContactsChannels extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
level: 'Level',
|
||||
type: 'Type',
|
||||
value: 'Value',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
level: 'number',
|
||||
type: 'string',
|
||||
value: 'string',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.MigrationJobPlanContactsChannels = MigrationJobPlanContactsChannels;
|
||||
class MigrationJobPlanContacts extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
channels: 'Channels',
|
||||
name: 'Name',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
channels: { 'type': 'array', 'itemType': MigrationJobPlanContactsChannels },
|
||||
name: 'string',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
if (Array.isArray(this.channels)) {
|
||||
$dara.Model.validateArray(this.channels);
|
||||
}
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.MigrationJobPlanContacts = MigrationJobPlanContacts;
|
||||
class MigrationJobPlanEscalationsEscalationsLevelGroups extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
critical: 'Critical',
|
||||
info: 'Info',
|
||||
resolved: 'Resolved',
|
||||
warning: 'Warning',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
critical: { 'type': 'array', 'itemType': 'string' },
|
||||
info: { 'type': 'array', 'itemType': 'string' },
|
||||
resolved: { 'type': 'array', 'itemType': 'string' },
|
||||
warning: { 'type': 'array', 'itemType': 'string' },
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
if (Array.isArray(this.critical)) {
|
||||
$dara.Model.validateArray(this.critical);
|
||||
}
|
||||
if (Array.isArray(this.info)) {
|
||||
$dara.Model.validateArray(this.info);
|
||||
}
|
||||
if (Array.isArray(this.resolved)) {
|
||||
$dara.Model.validateArray(this.resolved);
|
||||
}
|
||||
if (Array.isArray(this.warning)) {
|
||||
$dara.Model.validateArray(this.warning);
|
||||
}
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.MigrationJobPlanEscalationsEscalationsLevelGroups = MigrationJobPlanEscalationsEscalationsLevelGroups;
|
||||
class MigrationJobPlanEscalationsEscalations extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
groups: 'Groups',
|
||||
levelGroups: 'LevelGroups',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
groups: { 'type': 'array', 'itemType': 'string' },
|
||||
levelGroups: MigrationJobPlanEscalationsEscalationsLevelGroups,
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
if (Array.isArray(this.groups)) {
|
||||
$dara.Model.validateArray(this.groups);
|
||||
}
|
||||
if (this.levelGroups && typeof this.levelGroups.validate === 'function') {
|
||||
this.levelGroups.validate();
|
||||
}
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.MigrationJobPlanEscalationsEscalations = MigrationJobPlanEscalationsEscalations;
|
||||
class MigrationJobPlanEscalations extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
escalations: 'Escalations',
|
||||
name: 'Name',
|
||||
uuid: 'Uuid',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
escalations: { 'type': 'array', 'itemType': MigrationJobPlanEscalationsEscalations },
|
||||
name: 'string',
|
||||
uuid: 'string',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
if (Array.isArray(this.escalations)) {
|
||||
$dara.Model.validateArray(this.escalations);
|
||||
}
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.MigrationJobPlanEscalations = MigrationJobPlanEscalations;
|
||||
class MigrationJobPlanGroups extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
contacts: 'Contacts',
|
||||
name: 'Name',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
contacts: { 'type': 'array', 'itemType': 'string' },
|
||||
name: 'string',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
if (Array.isArray(this.contacts)) {
|
||||
$dara.Model.validateArray(this.contacts);
|
||||
}
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.MigrationJobPlanGroups = MigrationJobPlanGroups;
|
||||
class MigrationJobPlanStrategiesEscalationSetting extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
escalationUuid: 'escalationUuid',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
escalationUuid: 'string',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.MigrationJobPlanStrategiesEscalationSetting = MigrationJobPlanStrategiesEscalationSetting;
|
||||
class MigrationJobPlanStrategiesPushingSetting extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
targetUuids: 'TargetUuids',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
targetUuids: { 'type': 'array', 'itemType': 'string' },
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
if (Array.isArray(this.targetUuids)) {
|
||||
$dara.Model.validateArray(this.targetUuids);
|
||||
}
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.MigrationJobPlanStrategiesPushingSetting = MigrationJobPlanStrategiesPushingSetting;
|
||||
class MigrationJobPlanStrategies extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
escalationSetting: 'EscalationSetting',
|
||||
name: 'Name',
|
||||
pushingSetting: 'PushingSetting',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
escalationSetting: MigrationJobPlanStrategiesEscalationSetting,
|
||||
name: 'string',
|
||||
pushingSetting: MigrationJobPlanStrategiesPushingSetting,
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
if (this.escalationSetting && typeof this.escalationSetting.validate === 'function') {
|
||||
this.escalationSetting.validate();
|
||||
}
|
||||
if (this.pushingSetting && typeof this.pushingSetting.validate === 'function') {
|
||||
this.pushingSetting.validate();
|
||||
}
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.MigrationJobPlanStrategies = MigrationJobPlanStrategies;
|
||||
class MigrationJobPlanSubscriptionsConditions extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
field: 'Field',
|
||||
op: 'Op',
|
||||
value: 'Value',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
field: 'string',
|
||||
op: 'string',
|
||||
value: 'string',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.MigrationJobPlanSubscriptionsConditions = MigrationJobPlanSubscriptionsConditions;
|
||||
class MigrationJobPlanSubscriptions extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
conditions: 'Conditions',
|
||||
name: 'Name',
|
||||
strategyUuid: 'StrategyUuid',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
conditions: { 'type': 'array', 'itemType': MigrationJobPlanSubscriptionsConditions },
|
||||
name: 'string',
|
||||
strategyUuid: 'string',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
if (Array.isArray(this.conditions)) {
|
||||
$dara.Model.validateArray(this.conditions);
|
||||
}
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.MigrationJobPlanSubscriptions = MigrationJobPlanSubscriptions;
|
||||
class MigrationJobPlanTargetsHttpRequestTarget extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
contentType: 'ContentType',
|
||||
method: 'Method',
|
||||
url: 'Url',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
contentType: 'string',
|
||||
method: 'string',
|
||||
url: 'string',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.MigrationJobPlanTargetsHttpRequestTarget = MigrationJobPlanTargetsHttpRequestTarget;
|
||||
class MigrationJobPlanTargets extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
arn: 'Arn',
|
||||
httpRequestTarget: 'HttpRequestTarget',
|
||||
name: 'Name',
|
||||
type: 'Type',
|
||||
uuid: 'Uuid',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
arn: 'string',
|
||||
httpRequestTarget: MigrationJobPlanTargetsHttpRequestTarget,
|
||||
name: 'string',
|
||||
type: 'string',
|
||||
uuid: 'string',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
if (this.httpRequestTarget && typeof this.httpRequestTarget.validate === 'function') {
|
||||
this.httpRequestTarget.validate();
|
||||
}
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.MigrationJobPlanTargets = MigrationJobPlanTargets;
|
||||
class MigrationJobPlan extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
contacts: 'Contacts',
|
||||
escalations: 'Escalations',
|
||||
groups: 'Groups',
|
||||
ruleNames: 'RuleNames',
|
||||
strategies: 'Strategies',
|
||||
subscriptions: 'Subscriptions',
|
||||
targets: 'Targets',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
contacts: { 'type': 'array', 'itemType': MigrationJobPlanContacts },
|
||||
escalations: { 'type': 'array', 'itemType': MigrationJobPlanEscalations },
|
||||
groups: { 'type': 'array', 'itemType': MigrationJobPlanGroups },
|
||||
ruleNames: { 'type': 'array', 'itemType': 'string' },
|
||||
strategies: { 'type': 'array', 'itemType': MigrationJobPlanStrategies },
|
||||
subscriptions: { 'type': 'array', 'itemType': MigrationJobPlanSubscriptions },
|
||||
targets: { 'type': 'array', 'itemType': MigrationJobPlanTargets },
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
if (Array.isArray(this.contacts)) {
|
||||
$dara.Model.validateArray(this.contacts);
|
||||
}
|
||||
if (Array.isArray(this.escalations)) {
|
||||
$dara.Model.validateArray(this.escalations);
|
||||
}
|
||||
if (Array.isArray(this.groups)) {
|
||||
$dara.Model.validateArray(this.groups);
|
||||
}
|
||||
if (Array.isArray(this.ruleNames)) {
|
||||
$dara.Model.validateArray(this.ruleNames);
|
||||
}
|
||||
if (Array.isArray(this.strategies)) {
|
||||
$dara.Model.validateArray(this.strategies);
|
||||
}
|
||||
if (Array.isArray(this.subscriptions)) {
|
||||
$dara.Model.validateArray(this.subscriptions);
|
||||
}
|
||||
if (Array.isArray(this.targets)) {
|
||||
$dara.Model.validateArray(this.targets);
|
||||
}
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.MigrationJobPlan = MigrationJobPlan;
|
||||
class MigrationJobSourceRuleKeywordFilter extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
keywords: 'Keywords',
|
||||
relation: 'Relation',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
keywords: { 'type': 'array', 'itemType': 'string' },
|
||||
relation: 'string',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
if (Array.isArray(this.keywords)) {
|
||||
$dara.Model.validateArray(this.keywords);
|
||||
}
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.MigrationJobSourceRuleKeywordFilter = MigrationJobSourceRuleKeywordFilter;
|
||||
class MigrationJobSourceRulePrimaryFilters extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
field: 'Field',
|
||||
opType: 'OpType',
|
||||
value: 'Value',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
field: 'string',
|
||||
opType: 'string',
|
||||
value: 'string',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.MigrationJobSourceRulePrimaryFilters = MigrationJobSourceRulePrimaryFilters;
|
||||
class MigrationJobSourceRule extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
keywordFilter: 'KeywordFilter',
|
||||
name: 'Name',
|
||||
primaryFilters: 'PrimaryFilters',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
keywordFilter: MigrationJobSourceRuleKeywordFilter,
|
||||
name: 'string',
|
||||
primaryFilters: { 'type': 'array', 'itemType': MigrationJobSourceRulePrimaryFilters },
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
if (this.keywordFilter && typeof this.keywordFilter.validate === 'function') {
|
||||
this.keywordFilter.validate();
|
||||
}
|
||||
if (Array.isArray(this.primaryFilters)) {
|
||||
$dara.Model.validateArray(this.primaryFilters);
|
||||
}
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.MigrationJobSourceRule = MigrationJobSourceRule;
|
||||
class MigrationJobSourceTargetsContent extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
group: 'Group',
|
||||
level: 'Level',
|
||||
method: 'Method',
|
||||
region: 'Region',
|
||||
resourcePath: 'ResourcePath',
|
||||
url: 'Url',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
group: 'string',
|
||||
level: 'string',
|
||||
method: 'string',
|
||||
region: 'string',
|
||||
resourcePath: 'string',
|
||||
url: 'string',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.MigrationJobSourceTargetsContent = MigrationJobSourceTargetsContent;
|
||||
class MigrationJobSourceTargets extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
content: 'Content',
|
||||
type: 'Type',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
content: MigrationJobSourceTargetsContent,
|
||||
type: 'string',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
if (this.content && typeof this.content.validate === 'function') {
|
||||
this.content.validate();
|
||||
}
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.MigrationJobSourceTargets = MigrationJobSourceTargets;
|
||||
class MigrationJobSource extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
rule: 'Rule',
|
||||
targets: 'Targets',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
rule: MigrationJobSourceRule,
|
||||
targets: { 'type': 'array', 'itemType': MigrationJobSourceTargets },
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
if (this.rule && typeof this.rule.validate === 'function') {
|
||||
this.rule.validate();
|
||||
}
|
||||
if (Array.isArray(this.targets)) {
|
||||
$dara.Model.validateArray(this.targets);
|
||||
}
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.MigrationJobSource = MigrationJobSource;
|
||||
class MigrationJob extends $dara.Model {
|
||||
static names() {
|
||||
return {
|
||||
createTime: 'CreateTime',
|
||||
detail: 'Detail',
|
||||
jobStatus: 'JobStatus',
|
||||
plan: 'Plan',
|
||||
ruleNames: 'RuleNames',
|
||||
source: 'Source',
|
||||
updateTime: 'UpdateTime',
|
||||
uuid: 'Uuid',
|
||||
};
|
||||
}
|
||||
static types() {
|
||||
return {
|
||||
createTime: 'string',
|
||||
detail: 'string',
|
||||
jobStatus: 'string',
|
||||
plan: MigrationJobPlan,
|
||||
ruleNames: { 'type': 'array', 'itemType': 'string' },
|
||||
source: { 'type': 'array', 'itemType': MigrationJobSource },
|
||||
updateTime: 'string',
|
||||
uuid: 'string',
|
||||
};
|
||||
}
|
||||
validate() {
|
||||
if (this.plan && typeof this.plan.validate === 'function') {
|
||||
this.plan.validate();
|
||||
}
|
||||
if (Array.isArray(this.ruleNames)) {
|
||||
$dara.Model.validateArray(this.ruleNames);
|
||||
}
|
||||
if (Array.isArray(this.source)) {
|
||||
$dara.Model.validateArray(this.source);
|
||||
}
|
||||
super.validate();
|
||||
}
|
||||
constructor(map) {
|
||||
super(map);
|
||||
}
|
||||
}
|
||||
exports.MigrationJob = MigrationJob;
|
||||
//# sourceMappingURL=MigrationJob.js.map
|
||||
Reference in New Issue
Block a user