Skip to content

Commit 313e322

Browse files
committed
Add CustomQuery.stableHashValue property
1 parent 3f4ca6d commit 313e322

46 files changed

Lines changed: 292 additions & 258 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Package.resolved

Lines changed: 10 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,17 @@ let package = Package(
2020
// Dependencies declare other packages that this package depends on.
2121
// .package(url: /* package url */, from: "1.0.0"),
2222
.package(url: "https://github.com/TelemetryDeck/SwiftDateOperations.git", from: "1.0.3"),
23+
.package(url: "https://github.com/apple/swift-crypto.git", "1.0.0" ..< "3.0.0"),
2324
],
2425
targets: [
2526
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
2627
// Targets can depend on other targets in this package, and on products in packages this package depends on.
2728
.target(
2829
name: "DataTransferObjects",
29-
dependencies: [.product(name: "DateOperations", package: "SwiftDateOperations")]
30+
dependencies: [
31+
.product(name: "DateOperations", package: "SwiftDateOperations"),
32+
.product(name: "Crypto", package: "swift-crypto"),
33+
]
3034
),
3135
.testTarget(
3236
name: "DataTransferObjectsTests",

Sources/DataTransferObjects/ChartDefinitionDTOs/ChartDefinitionDTO.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//
2-
// File.swift
2+
// ChartDefinitionDTO.swift
33
//
44
//
55
// Created by Daniel Jilg on 10.11.21.

Sources/DataTransferObjects/DTOs/Aggregate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//
2-
// File.swift
2+
// Aggregate.swift
33
//
44
//
55
// Created by Daniel Jilg on 15.04.21.

Sources/DataTransferObjects/DTOs/DTOv2.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//
2-
// InsightDTOs.swift
2+
// DTOv2.swift
33
// InsightDTOs
44
//
55
// Created by Daniel Jilg on 17.08.21.
@@ -204,10 +204,10 @@ public enum DTOv2 {
204204
case app
205205
case website
206206
}
207-
207+
208208
/// If true, the app should display demo content instead of
209209
public var showExampleData: Bool?
210-
210+
211211
/// What colors should charts be in?
212212
///
213213
/// This should be formatted as
@@ -660,7 +660,7 @@ public extension DTOv2.Insight {
660660
intervals: [],
661661
granularity: .all,
662662
aggregations: [
663-
.longSum(.init(type: .longSum, name: "total_usage", fieldName: "count"))
663+
.longSum(.init(type: .longSum, name: "total_usage", fieldName: "count")),
664664
]
665665
)
666666

Sources/DataTransferObjects/DTOs/InsightCalculationResult.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//
2-
// File.swift
2+
// InsightCalculationResult.swift
33
//
44
//
55
// Created by Daniel Jilg on 09.04.21.

Sources/DataTransferObjects/DTOs/InsightData.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//
2-
// File.swift
2+
// InsightData.swift
33
//
44
//
55
// Created by Daniel Jilg on 09.04.21.

Sources/DataTransferObjects/DTOs/KafkaSignalStructure.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//
2-
// File.swift
2+
// KafkaSignalStructure.swift
33
//
44
//
55
// Created by Daniel Jilg on 05.06.21.

Sources/DataTransferObjects/DTOs/LexiconSignalDTO.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//
2-
// File.swift
2+
// LexiconSignalDTO.swift
33
//
44
//
55
// Created by Daniel Jilg on 12.05.21.

Sources/DataTransferObjects/DTOs/OrganizationDTO.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//
2-
// File.swift
2+
// OrganizationDTO.swift
33
//
44
//
55
// Created by Daniel Jilg on 09.04.21.

0 commit comments

Comments
 (0)