0.1.19 #20

Merged
Thilawyn merged 4 commits from next into master 2024-09-08 01:42:57 +02:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 4e53c81927 - Show all commits

View File

@@ -1,11 +1,11 @@
import { Schema } from "@effect/schema" import { Schema } from "@effect/schema"
export const Email = Schema.pattern( export const email = Schema.pattern(
/^(?!\.)(?!.*\.\.)([A-Z0-9_+-.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9-]*\.)+[A-Z]{2,}$/i, /^(?!\.)(?!.*\.\.)([A-Z0-9_+-.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9-]*\.)+[A-Z]{2,}$/i,
{ {
identifier: "Email", identifier: "email",
title: "email", title: "email",
message: () => "Not an email address", message: () => "Not an email address",
}, },

View File

@@ -1,6 +1,6 @@
export * from "./Class" export * from "./Class"
export * from "./DateTime" export * from "./DateTime"
export * from "./Email" export * from "./email"
export * from "./encodedAsPrismaJsonValue" export * from "./encodedAsPrismaJsonValue"
export * from "./Kind" export * from "./Kind"
export * as MobX from "./MobX" export * as MobX from "./MobX"