Implement idea to song project generation

This commit is contained in:
diyaa
2026-09-13 20:48:11 +02:00
parent bbf5f191f2
commit 5e1d3d7246
9 changed files with 229 additions and 113 deletions
@@ -343,7 +343,6 @@ public extension SongProject {
versions.first { $0.id == versionID }
}
<<<<<<< HEAD
mutating func restoreVersion(id versionID: String, restoredAt: Date = Date()) -> Bool {
guard let version = version(id: versionID) else { return false }
restoreSnapshot(version.snapshot, updatedAt: restoredAt)
@@ -374,8 +373,6 @@ public extension SongProject {
self.updatedAt = updatedAt
}
=======
>>>>>>> origin/master
mutating func appendSection(_ section: SongSection) {
var orderedSection = section
orderedSection.order = nextSectionOrder