style: 🎨 run deno fmt
This commit is contained in:
parent
6280b02934
commit
fa0b692b62
5
utils.ts
5
utils.ts
|
@ -1,4 +1,4 @@
|
||||||
import { Login } from "@/types.ts"
|
import { Login } from '@/types.ts'
|
||||||
|
|
||||||
export function toLogin({
|
export function toLogin({
|
||||||
firstname,
|
firstname,
|
||||||
|
@ -23,7 +23,6 @@ function sanitizeChar(char: string): string {
|
||||||
|
|
||||||
export const regex = {
|
export const regex = {
|
||||||
uuidV4: /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/,
|
uuidV4: /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/,
|
||||||
isoDateString:
|
isoDateString: /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d+Z$/,
|
||||||
/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d+Z$/,
|
|
||||||
mailAddress: /\S+@\S+\.\S+/,
|
mailAddress: /\S+@\S+\.\S+/,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue