Skip to content

Commit

Permalink
Merge pull request #103 from outfoxx/codable_equatable
Browse files Browse the repository at this point in the history
Add codable and equatable Swift declared type names
  • Loading branch information
dnkoutso authored Dec 19, 2023
2 parents e232eb3 + 73d796e commit 4b9abcd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/swiftpoet.api
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,11 @@ public final class io/outfoxx/swiftpoet/DeclaredTypeNameKt {
public static final field ARRAY Lio/outfoxx/swiftpoet/DeclaredTypeName;
public static final field BOOL Lio/outfoxx/swiftpoet/DeclaredTypeName;
public static final field CASE_ITERABLE Lio/outfoxx/swiftpoet/DeclaredTypeName;
public static final field CODABLE Lio/outfoxx/swiftpoet/DeclaredTypeName;
public static final field DATA Lio/outfoxx/swiftpoet/DeclaredTypeName;
public static final field DICTIONARY Lio/outfoxx/swiftpoet/DeclaredTypeName;
public static final field DOUBLE Lio/outfoxx/swiftpoet/DeclaredTypeName;
public static final field EQUATABLE Lio/outfoxx/swiftpoet/DeclaredTypeName;
public static final field FLOAT Lio/outfoxx/swiftpoet/DeclaredTypeName;
public static final field FLOAT32 Lio/outfoxx/swiftpoet/DeclaredTypeName;
public static final field FLOAT64 Lio/outfoxx/swiftpoet/DeclaredTypeName;
Expand All @@ -145,6 +147,7 @@ public final class io/outfoxx/swiftpoet/DeclaredTypeNameKt {
public static final field INT64 Lio/outfoxx/swiftpoet/DeclaredTypeName;
public static final field INT8 Lio/outfoxx/swiftpoet/DeclaredTypeName;
public static final field OPTIONAL Lio/outfoxx/swiftpoet/DeclaredTypeName;
public static final field SENDABLE Lio/outfoxx/swiftpoet/DeclaredTypeName;
public static final field SET Lio/outfoxx/swiftpoet/DeclaredTypeName;
public static final field STRING Lio/outfoxx/swiftpoet/DeclaredTypeName;
public static final field UINT16 Lio/outfoxx/swiftpoet/DeclaredTypeName;
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/io/outfoxx/swiftpoet/DeclaredTypeName.kt
Original file line number Diff line number Diff line change
Expand Up @@ -135,5 +135,8 @@ class DeclaredTypeName internal constructor(
@JvmField val DICTIONARY = DeclaredTypeName.typeName("Swift.Dictionary")

@JvmField val CASE_ITERABLE = DeclaredTypeName.typeName("Swift.CaseIterable")
@JvmField val CODABLE = DeclaredTypeName.typeName("Swift.Codable")
@JvmField val EQUATABLE = DeclaredTypeName.typeName("Swift.Equatable")
@JvmField val SENDABLE = DeclaredTypeName.typeName("Swift.Sendable")

@JvmField val DATA = DeclaredTypeName.typeName("Foundation.Data")

0 comments on commit 4b9abcd

Please sign in to comment.