@ningboyz/types 1.8.157 → 1.8.159
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/conf/IConfig.ts +12 -2
package/package.json
CHANGED
package/src/conf/IConfig.ts
CHANGED
|
@@ -37,8 +37,6 @@ export interface IBaseConfig {
|
|
|
37
37
|
ythURL: string;
|
|
38
38
|
smsURL: string;
|
|
39
39
|
scczssURL: string;
|
|
40
|
-
// 固定资产打印二维码标签类型
|
|
41
|
-
printTagType?: "url" | "text";
|
|
42
40
|
verification: 0 | 1;
|
|
43
41
|
passwordCheck: 0 | 1;
|
|
44
42
|
passwordReg: string;
|
|
@@ -104,8 +102,20 @@ export interface ISsoConfig {
|
|
|
104
102
|
cwxtURL: string;
|
|
105
103
|
}
|
|
106
104
|
|
|
105
|
+
|
|
106
|
+
export interface IQrcodeConfig {
|
|
107
|
+
// 固定资产打印二维码标签内容类型
|
|
108
|
+
type?: "url" | "text";
|
|
109
|
+
/** 容错等级:L 约 7%、M 约 15%、Q 约 25%、H 约 30% */
|
|
110
|
+
errorCorrectionLevel?: "L" | "M" | "Q" | "H";
|
|
111
|
+
/** 最大二维码版本:1~40 的整数,限制生成二维码的版本上限 */
|
|
112
|
+
maxVersion?: number;
|
|
113
|
+
}
|
|
114
|
+
|
|
107
115
|
export interface IConfig {
|
|
108
116
|
baseConfig: IBaseConfig;
|
|
117
|
+
// 扫描二维码配置
|
|
118
|
+
qrcodeConfig?: IQrcodeConfig;
|
|
109
119
|
aboutConfig: IAboutConfig;
|
|
110
120
|
pathConfig: IPathConfig;
|
|
111
121
|
wtuiConfig: IWtuiConfig;
|