大小写问题

This commit is contained in:
梁朝伟 2023-11-21 16:33:26 +08:00
parent 69428df7f6
commit 740c2620f4
11 changed files with 15 additions and 8 deletions

View File

@ -1,4 +1,4 @@
import { Action, CTYunZone } from '../../types/CTGun';
import { Action, CTYunZone } from '../../types/CTYun';
export declare class CTYunInstance {
private accessKey;
private secretKey;

6
es/types/CTYun.d.ts vendored Normal file
View File

@ -0,0 +1,6 @@
/**
* ctyun操作权限名称
* https://www.ctyun.cn/document/10306929/10136179
*/
export type Action = '*' | 'PutObject' | 'GetObject' | 'DeleteObject' | 'ListBucket';
export type CTYunZone = 'hazz' | 'lnsy' | 'sccd' | 'xjwlmq' | 'gslz' | 'sdqd' | 'gzgy' | 'hbwh' | 'xzls' | 'ahwh' | 'gdsz' | 'jssz' | 'sh2';

1
es/types/CTYun.js Normal file
View File

@ -0,0 +1 @@
export {};

2
es/types/index.d.ts vendored
View File

@ -1,3 +1,3 @@
export * from './Wechat';
export * from './Qiniu';
export * from './CTGun';
export * from './CTYun';

View File

@ -1,3 +1,3 @@
export * from './Wechat';
export * from './Qiniu';
export * from './CTGun';
export * from './CTYun';

View File

@ -1,4 +1,4 @@
import { Action, CTYunZone } from '../../types/CTGun';
import { Action, CTYunZone } from '../../types/CTYun';
export declare class CTYunInstance {
private accessKey;
private secretKey;

View File

@ -1,3 +1,3 @@
export * from './Wechat';
export * from './Qiniu';
export * from './CTGun';
export * from './CTYun';

View File

@ -3,4 +3,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("./Wechat"), exports);
tslib_1.__exportStar(require("./Qiniu"), exports);
tslib_1.__exportStar(require("./CTGun"), exports);
tslib_1.__exportStar(require("./CTYun"), exports);

View File

@ -1,6 +1,6 @@
// import AWS from 'aws-sdk';
import crypto from 'crypto';
import { Action, CTYunZone } from '../../types/CTGun';
import { Action, CTYunZone } from '../../types/CTYun';
const CTYun_ENDPOINT_LIST = {
hazz: {

View File

@ -1,3 +1,3 @@
export * from './Wechat';
export * from './Qiniu';
export * from './CTGun';
export * from './CTYun';