Skip to content

Commit 7112e31

Browse files
committed
chore: 🚀 重构 types 类型包
1 parent fb58ea8 commit 7112e31

22 files changed

+184
-12
lines changed

packages/designer/markdown/designer.menu.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Description
6060

6161
</td><td>
6262

63-
string
63+
MaterType
6464

6565

6666
</td><td>

packages/designer/markdown/designer.menu.name.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
**Signature:**
88

99
```typescript
10-
name: string;
10+
name: MaterType;
1111
```

packages/schemas/element-plus/markdown/schemas-element-plus.compschema.children.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
## CompSchema.children property
66

7+
是否配有子组件,例如 row,col
8+
79
**Signature:**
810

911
```typescript

packages/schemas/element-plus/markdown/schemas-element-plus.compschema.events.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
## CompSchema.events property
66

7+
组件绑定事件
8+
79
**Signature:**
810

911
```typescript

packages/schemas/element-plus/markdown/schemas-element-plus.compschema.icon.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
## CompSchema.icon property
66

7+
组件图标
8+
79
**Signature:**
810

911
```typescript

packages/schemas/element-plus/markdown/schemas-element-plus.compschema.label.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
## CompSchema.label property
66

7+
组件名称
8+
79
**Signature:**
810

911
```typescript

packages/schemas/element-plus/markdown/schemas-element-plus.compschema.md

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ string
5050

5151
</td><td>
5252

53-
_(Optional)_
53+
_(Optional)_ 是否配有子组件,例如 rowcol
5454

5555

5656
</td></tr>
@@ -69,7 +69,7 @@ _(Optional)_
6969

7070
</td><td>
7171

72-
_(Optional)_
72+
_(Optional)_ 组件绑定事件
7373

7474

7575
</td></tr>
@@ -88,7 +88,7 @@ string
8888

8989
</td><td>
9090

91-
_(Optional)_
91+
_(Optional)_ 组件图标
9292

9393

9494
</td></tr>
@@ -107,7 +107,7 @@ string
107107

108108
</td><td>
109109

110-
_(Optional)_
110+
_(Optional)_ 组件名称
111111

112112

113113
</td></tr>
@@ -121,12 +121,12 @@ _(Optional)_
121121

122122
</td><td>
123123

124-
string
124+
MaterType
125125

126126

127127
</td><td>
128128

129-
_(Optional)_
129+
_(Optional)_ 组件分类
130130

131131

132132
</td></tr>
@@ -145,6 +145,8 @@ string
145145

146146
</td><td>
147147

148+
组件 id 不能重复
149+
148150

149151
</td></tr>
150152
<tr><td>
@@ -162,6 +164,8 @@ string
162164

163165
</td><td>
164166

167+
组件属性配置规则
168+
165169

166170
</td></tr>
167171
<tr><td>
@@ -179,6 +183,8 @@ string
179183

180184
</td><td>
181185

186+
组件生产规则
187+
182188

183189
</td></tr>
184190
<tr><td>
@@ -196,7 +202,7 @@ string
196202

197203
</td><td>
198204

199-
_(Optional)_
205+
_(Optional)_ 组件插槽
200206

201207

202208
</td></tr>

packages/schemas/element-plus/markdown/schemas-element-plus.compschema.menu.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@
44

55
## CompSchema.menu property
66

7+
组件分类
8+
79
**Signature:**
810

911
```typescript
10-
menu?: string;
12+
menu?: MaterType;
1113
```

packages/schemas/element-plus/markdown/schemas-element-plus.compschema.name.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
## CompSchema.name property
66

7+
组件 id 不能重复
8+
79
**Signature:**
810

911
```typescript

packages/schemas/element-plus/markdown/schemas-element-plus.compschema.props.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
## CompSchema.props property
66

7+
组件属性配置规则
8+
79
**Signature:**
810

911
```typescript

0 commit comments

Comments
 (0)