chore: better Prettier config for easier reviews

This commit is contained in:
2023-10-23 23:26:27 +02:00
parent 1224ece116
commit a49e844c70
50 changed files with 4642 additions and 3862 deletions

View File

@ -1,9 +1,9 @@
import type { Static } from '@sinclair/typebox'
import { Type } from '@sinclair/typebox'
import type { Static } from "@sinclair/typebox"
import { Type } from "@sinclair/typebox"
export const userSchema = {
name: Type.String({ minLength: 3, maxLength: 10 }),
email: Type.String({ minLength: 1, maxLength: 254, format: 'email' })
email: Type.String({ minLength: 1, maxLength: 254, format: "email" }),
}
export const userObjectSchema = Type.Object(userSchema)