amplify-swift/Amplify/Categories/DataStore/DataStoreConflict.swift

15 lines
416 B
Swift

//
// Copyright Amazon.com Inc. or its affiliates.
// All Rights Reserved.
//
// SPDX-License-Identifier: Apache-2.0
//
/// Information about a conflict that occurred attempting to sync a local model with a remote model
public struct DataStoreSyncConflict {
public let localModel: Model
public let remoteModel: Model
public let errors: [GraphQLError]?
public let mutationType: GraphQLMutationType
}