Implemented the "entities" static constant for the Scheme+Constants extension in the app target.
This commit is contained in:
parent
0f8a0c8fb2
commit
5bbd8dedbc
20
Piper/Sources/Logic/Extensions/Schema+Constants.swift
Normal file
20
Piper/Sources/Logic/Extensions/Schema+Constants.swift
Normal file
@ -0,0 +1,20 @@
|
||||
//
|
||||
// Schema+Constants.swift
|
||||
// Piper ~ App
|
||||
//
|
||||
// Created by Javier Cicchelli on 05/10/2024.
|
||||
// Copyright © 2024 Röck+Cöde. All rights reserved.
|
||||
//
|
||||
|
||||
import SwiftData
|
||||
|
||||
extension Schema {
|
||||
|
||||
// MARK: Constants
|
||||
|
||||
static let entities = Schema([
|
||||
Repository.self
|
||||
])
|
||||
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user