Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ let package = Package(
.executable(name: "MHCStudyDefinitionExporterCLI", targets: ["MHCStudyDefinitionExporterCLI"])
],
dependencies: [
.package(url: "https://github.com/StanfordSpezi/SpeziStudy.git", from: "0.1.19"),
.package(url: "https://github.com/StanfordSpezi/SpeziFoundation.git", from: "2.4.0"),
.package(url: "https://github.com/StanfordSpezi/SpeziStudy.git", from: "0.2.2"),
.package(url: "https://github.com/StanfordSpezi/SpeziFoundation.git", branch: "lukas/LocalizationsDict-init"),
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Outdated
.package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.6.2")
],
targets: [
Expand Down
14 changes: 8 additions & 6 deletions Sources/MHCStudyDefinitionExporter/Study.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import enum SpeziHealthKitBulkExport.ExportSessionStartDate
import SpeziScheduler
import SpeziStudyDefinition
import SpeziLocalization

Check failure on line 17 in Sources/MHCStudyDefinitionExporter/Study.swift

View workflow job for this annotation

GitHub Actions / SwiftLint / SwiftLint

Sorted Imports Violation: Imports should be sorted (sorted_imports)


extension StudyBundle.FileReference {
Expand All @@ -38,17 +39,18 @@


let mhcStudyDefinition = StudyDefinition(
studyRevision: 38,
studyRevision: 39,
metadata: .init(
id: .mhcStudy,
title: "My Heart Counts",
shortTitle: "MHC",
title: [.enUS: "My Heart Counts"],
shortTitle: [.enUS: "MHC"],
icon: .systemSymbol("cube.transparent"),
explanationText: "",
shortExplanationText: "Improve your cardiovascular health",
explanationText: [:],
shortExplanationText: [
.enUS: "Improve your cardiovascular health"
],
studyDependency: nil,
participationCriterion: .ageAtLeast(18) && (.isFromRegion(.unitedStates) || .isFromRegion(.unitedKingdom)),
enrollmentConditions: .none,
consentFileRef: .init(category: .consent, filename: "Consent", fileExtension: "md")
),
components: [
Expand Down
Loading