Implemented the "entities" static constant for the Scheme+Constants extension in the app target.

This commit is contained in:
Javier Cicchelli 2024-10-06 00:03:22 +02:00
parent 0f8a0c8fb2
commit 5bbd8dedbc

View 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
])
}