模块概览#
此模块支持生成文件数据(commonFileExt、commonFileName)、网络数据(networkInterface)以及版本信息(semver)。
commonFileExt#
commonFileName#
| 名称 | 类型 | 默认值 | 描述 |
|---|
| ext | string | | 扩展名。空字符串会被视为未设置。 |
commonFileType#
cron#
| 名称 | 类型 | 默认值 | 描述 |
|---|
| includeNonStandard | boolean | false | 是否在生成的表达式中包含 @yearly、@monthly、@daily 等文本标签。 |
| includeYear | boolean | false | 是否在生成的表达式中包含年份。 |
directoryPath#
fileExt#
fileName#
| 名称 | 类型 | 默认值 | 描述 |
|---|
| extensionCount | number | 1 | 定义文件名应具有多少个扩展名。 |
| min | number | 1 | 文件名应具有的最少扩展名数量。 |
| max | number | 1 | 文件名应具有的最多扩展名数量。 |
filePath#
fileType#
mimeType#
networkInterface#
| 名称 | 类型 | 默认值 | 描述 |
|---|
| interfaceSchema | 'index' | 'slot' | 'mac' | 'pci' | | 接口模式。可以是 index、slot、mac、pci 之一。 |
| interfaceType | 'en' | 'wl' | 'ww' | {{$helpers.arrayElement(['wl','en','ww'])}} | 接口类型。可以是 en、wl、ww 之一。 |
semver#
Modified at 2026-06-09 08:55:47