Skip to content

Commit e2f2b3e

Browse files
committed
fix: kami schema
1 parent 0894c6d commit e2f2b3e

File tree

2 files changed

+592
-53
lines changed

2 files changed

+592
-53
lines changed

kami/schema/theme.json

Lines changed: 11 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,7 @@
3838
}
3939
},
4040
"required": [
41-
"enable",
42-
"ga",
43-
"baidu",
44-
"umami"
41+
"enable"
4542
],
4643
"type": "object"
4744
},
@@ -89,12 +86,7 @@
8986
"type": "object"
9087
}
9188
},
92-
"required": [
93-
"analyze",
94-
"donate",
95-
"player",
96-
"banDevtool"
97-
],
89+
"required": [],
9890
"type": "object"
9991
},
10092
"name": {
@@ -119,17 +111,11 @@
119111
"type": "string"
120112
}
121113
},
122-
"required": [
123-
"light",
124-
"dark"
125-
],
114+
"required": [],
126115
"type": "object"
127116
}
128117
},
129-
"required": [
130-
"src",
131-
"position"
132-
],
118+
"required": [],
133119
"type": "object"
134120
},
135121
"custom": {
@@ -191,17 +177,11 @@
191177
"type": "string"
192178
}
193179
},
194-
"required": [
195-
"light",
196-
"dark"
197-
],
180+
"required": [],
198181
"type": "object"
199182
}
200183
},
201-
"required": [
202-
"src",
203-
"position"
204-
],
184+
"required": [],
205185
"type": "object"
206186
},
207187
"homePage": {
@@ -237,10 +217,7 @@
237217
"type": "string"
238218
}
239219
},
240-
"required": [
241-
"content",
242-
"author"
243-
],
220+
"required": [],
244221
"type": "object"
245222
},
246223
"navigation": {
@@ -266,13 +243,7 @@
266243
"type": "array"
267244
}
268245
},
269-
"required": [
270-
"homePage",
271-
"motto",
272-
"icp",
273-
"background",
274-
"navigation"
275-
],
246+
"required": [],
276247
"type": "object"
277248
},
278249
"header": {
@@ -311,9 +282,7 @@
311282
"type": "array"
312283
}
313284
},
314-
"required": [
315-
"menu"
316-
],
285+
"required": [],
317286
"type": "object"
318287
},
319288
"logoSvg": {
@@ -350,22 +319,11 @@
350319
"type": "array"
351320
}
352321
},
353-
"required": [
354-
"favicon",
355-
"header",
356-
"social",
357-
"footer",
358-
"custom",
359-
"background"
360-
],
322+
"required": [],
361323
"type": "object"
362324
}
363325
},
364-
"required": [
365-
"name",
366-
"site",
367-
"function"
368-
],
326+
"required": [],
369327
"type": "object"
370328
},
371329
"interface-types_config.ts-1081-1182-types_config.ts-0-1266": {

0 commit comments

Comments
 (0)