From 20d2673cefe32ed787e346c96afbd2776f797111 Mon Sep 17 00:00:00 2001 From: Harshdeep Singh <6162866+harsh62@users.noreply.github.com> Date: Mon, 24 Jun 2024 22:53:24 -0400 Subject: [PATCH] testing out usage of Amplify.Model --- .../Tests/AuthHostApp/AuthHostApp/AuthHostAppApp.swift | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/AmplifyPlugins/Auth/Tests/AuthHostApp/AuthHostApp/AuthHostAppApp.swift b/AmplifyPlugins/Auth/Tests/AuthHostApp/AuthHostApp/AuthHostAppApp.swift index f8d668474d..4df1c03495 100644 --- a/AmplifyPlugins/Auth/Tests/AuthHostApp/AuthHostApp/AuthHostAppApp.swift +++ b/AmplifyPlugins/Auth/Tests/AuthHostApp/AuthHostApp/AuthHostAppApp.swift @@ -6,9 +6,18 @@ // import SwiftUI +import Amplify +import protocol Amplify.Model @main struct AuthHostAppApp: App { + + typealias AmplifyModel = Amplify.Model + + func doOneThing() async -> AmplifyModel { fatalError() } + + func doOtherThing() async -> Amplify.Model { fatalError() } + var body: some Scene { WindowGroup { ContentView()