Skip to content

Commit

Permalink
✨ Add EmailAddress type in org.kotools.types package (#635)
Browse files Browse the repository at this point in the history
  • Loading branch information
LVMVRQUXL committed Mar 31, 2024
1 parent fde3dd7 commit 7c0e9ca
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/api/types.api
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,9 @@ public final class kotools/types/web/EmailAddress$Companion {
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}

public final class org/kotools/types/EmailAddress {
}

public final class org/kotools/types/Zero {
public static final field INSTANCE Lorg/kotools/types/Zero;
public final fun toString ()Ljava/lang/String;
Expand Down
14 changes: 14 additions & 0 deletions src/commonMain/kotlin/org/kotools/types/EmailAddress.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package org.kotools.types

import kotools.types.experimental.ExperimentalKotoolsTypesApi
import kotools.types.internal.ExperimentalSince
import kotools.types.internal.InternalKotoolsTypesApi
import kotools.types.internal.KotoolsTypesVersion

/**
* Represents an [email address](https://en.wikipedia.org/wiki/Email_address).
*/
@ExperimentalKotoolsTypesApi
@ExperimentalSince(KotoolsTypesVersion.Unreleased)
@OptIn(InternalKotoolsTypesApi::class)
public class EmailAddress private constructor()

0 comments on commit 7c0e9ca

Please sign in to comment.