Hide package API
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import Foundation
|
||||
|
||||
public protocol DateEncoder {
|
||||
package protocol DateEncoder {
|
||||
func encode(_ date: Date, to encoder: any ValueEncoder) throws
|
||||
func encode(_ date: Date, for key: any CodingKey, to encoder: any RowEncoder) throws
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import Foundation
|
||||
|
||||
public protocol Encoder: Swift.Encoder {
|
||||
package protocol Encoder: Swift.Encoder {
|
||||
associatedtype SQLiteData
|
||||
|
||||
var dateEncoder: any DateEncoder { get }
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import Foundation
|
||||
import DataLiteCore
|
||||
|
||||
public protocol RowEncoder: Encoder {
|
||||
package protocol RowEncoder: Encoder {
|
||||
var count: Int { get }
|
||||
|
||||
func set(_ value: Any, for key: CodingKey) throws
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import Foundation
|
||||
import DataLiteCore
|
||||
|
||||
public protocol ValueEncoder: Encoder {
|
||||
package protocol ValueEncoder: Encoder {
|
||||
func encodeNil() throws
|
||||
func encodeDate(_ date: Date) throws
|
||||
func encode<T: SQLiteBindable>(_ value: T) throws
|
||||
|
||||
Reference in New Issue
Block a user