From 5bbd8dedbc462b1765c7cb3167dd4ce0be38ed05 Mon Sep 17 00:00:00 2001 From: Javier Cicchelli Date: Sun, 6 Oct 2024 00:03:22 +0200 Subject: [PATCH] Implemented the "entities" static constant for the Scheme+Constants extension in the app target. --- .../Logic/Extensions/Schema+Constants.swift | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Piper/Sources/Logic/Extensions/Schema+Constants.swift diff --git a/Piper/Sources/Logic/Extensions/Schema+Constants.swift b/Piper/Sources/Logic/Extensions/Schema+Constants.swift new file mode 100644 index 0000000..934a1c5 --- /dev/null +++ b/Piper/Sources/Logic/Extensions/Schema+Constants.swift @@ -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 + ]) + + +}