//
//  FirebaseModel.swift
//  FirebaseCommunity
//
//  Created by Victor Alisson on 15/08/17.
//
import Foundation
import FirebaseCommunity

public protocol FirebaseModel: ModelType where Reference == DatabaseReference  {
    var key: String? { get set }
    init()
    func toJSON() -> [String: Any]
}

//
//  FirebaseModel.swift
//  FirebaseCommunity
//
//  Created by Victor Alisson on 15/08/17.
//
import Foundation
import FirebaseCommunity

protocol FirebaseModel: ModelType where Reference == DatabaseReference  {
    var key: String? { get set }
    init()
    func toJSON() -> [String: Any]
}

--- 
+++ 
@@ -7,7 +7,7 @@
 import Foundation
 import FirebaseCommunity
 
-protocol FirebaseModel: ModelType where Reference == DatabaseReference  {
+public protocol FirebaseModel: ModelType where Reference == DatabaseReference  {
     var key: String? { get set }
     init()
     func toJSON() -> [String: Any]
Fix access to the Firebase Model protocol for the FireRecord module
