Files
excel-exporter/excel-exporter.yaml
Geequlim 7c26b9ea48 添加 first_column_as_id 配置,将第一列导出为 id 字段
修正基础类型数据的数组长度导出错误
2021-01-25 16:38:34 +08:00

31 lines
659 B
YAML

input:
- 配置表.xlsx
parser:
first_column_as_id: true # 第一列用作 ID 列
constant_array_length: [
# 这里填入需要固定数组长度的表名称
]
output:
json:
enabled: true
directory: output/json
indent: "\t"
yaml:
enabled: true
directory: output/yaml
indent: 2
csharp:
enabled: true
directory: output/csharp
namespace: game.data
base_type: tiny.data.UniqueIDObject
file_name: data
ignore_id: true
typescript:
enabled: true
declaration: false
type: class
class_name_prefix: ''
class_name_extension: Data
directory: output/typescript
file_name: data