Format adminfront code check targets
This commit is contained in:
1 parent
6c45eca3d3
commit
790be37930
17 files changed
+2531
-2919
No files matched your search
@@ -71,8 +71,7 @@ export function normalizeSchemaField(field: unknown): SchemaField {
|
||||
type,
|
||||
required: Boolean(source.required),
|
||||
adminOnly: Boolean(source.adminOnly),
|
||||
validation:
|
||||
typeof source.validation === "string" ? source.validation : "",
|
||||
validation: typeof source.validation === "string" ? source.validation : "",
|
||||
unsigned: Boolean(source.unsigned),
|
||||
isLoginId,
|
||||
indexed: isLoginId || Boolean(source.indexed),
|
||||
|
||||
Reference in new issue
Block a user