[App] Repositories in the Menu Bar view #4

Merged
javier merged 12 commits from app/repositories into main 2024-10-06 11:50:37 +00:00
Showing only changes of commit e00c7f810f - Show all commits

View File

@ -0,0 +1,30 @@
//
// ModelConfiguration+Inits.swift
// Piper ~ App
//
// Created by Javier Cicchelli on 05/10/2024.
// Copyright © 2024 Röck+Cöde. All rights reserved.
//
import Foundation
import SwiftData
extension ModelConfiguration {
// MARK: Initialisers
init(
_ name: String? = nil,
schema: Schema = .entities,
url: URL = .applicationSupportDirectory.appending(component: "piper.db")
) {
self.init(
name,
schema: schema,
url: url,
allowsSave: true,
cloudKitDatabase: .none
)
}
}