Skip to content

Commit 124e474

Browse files
committed
Sendable Sendable Sendable
1 parent 0ac38e4 commit 124e474

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

Sources/DataTransferObjects/Json API/JsonAPIResponse.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
import Foundation
55

6-
struct Links: Codable {
6+
struct Links: Codable, Sendable {
77
var current: String?
88
var next: String?
99
var last: String?

Sources/DataTransferObjects/QueryGeneration/SQLQueryConversion.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
import Foundation
22

33
/// A request, sent to `DRUID-URL/druid/v2/sql` to generate a Druid query from the supplied SQL query.
4-
public struct SQLQueryConversionRequest: Codable {
4+
public struct SQLQueryConversionRequest: Codable, Sendable {
55
public init(query: String) {
66
self.query = query
77
}
88

99
public let query: String
1010
}
1111

12-
public struct SQLQueryConversionResponseItem: Codable, Equatable {
12+
public struct SQLQueryConversionResponseItem: Codable, Equatable, Sendable {
1313
struct PlanContainerItem: Codable, Equatable {
1414
let query: CustomQuery
1515
}

Sources/DataTransferObjects/QueryResult/QueryResult.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -388,11 +388,11 @@ public struct TimeBoundaryResultRow: Codable, Hashable, Equatable, Sendable {
388388

389389
// MARK: - Legacy Structs
390390

391-
public enum LegacyDruidResultType: String, Codable {
391+
public enum LegacyDruidResultType: String, Codable, Sendable {
392392
case timeSeries
393393
}
394394

395-
public struct LegacyDruidResultWrapper: Codable {
395+
public struct LegacyDruidResultWrapper: Codable, Sendable {
396396
public let resultType: LegacyDruidResultType
397397
public let timeSeriesResults: [TimeSeriesQueryResultRow]
398398

0 commit comments

Comments
 (0)