mirror of
https://github.com/Iconica-Development/flutter_chat.git
synced 2025-05-18 18:33:49 +02:00
feat: update chat service interface
This commit is contained in:
parent
a00e5d81be
commit
2a0d3115e8
5 changed files with 15 additions and 15 deletions
|
@ -202,20 +202,20 @@ packages:
|
|||
dependency: "direct main"
|
||||
description:
|
||||
path: "packages/flutter_community_chat_interface"
|
||||
ref: HEAD
|
||||
resolved-ref: "676988bfd1ab9e40edfa16d752424e6506de8bcf"
|
||||
ref: "feature/group-chats"
|
||||
resolved-ref: a00e5d81bea4a344093fc08b956af0b6786cb8c3
|
||||
url: "https://github.com/Iconica-Development/flutter_community_chat.git"
|
||||
source: git
|
||||
version: "0.0.1"
|
||||
version: "0.3.0"
|
||||
flutter_community_chat_view:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
path: "packages/flutter_community_chat_view"
|
||||
ref: HEAD
|
||||
resolved-ref: "676988bfd1ab9e40edfa16d752424e6506de8bcf"
|
||||
ref: "feature/group-chats"
|
||||
resolved-ref: a00e5d81bea4a344093fc08b956af0b6786cb8c3
|
||||
url: "https://github.com/Iconica-Development/flutter_community_chat.git"
|
||||
source: git
|
||||
version: "0.0.1"
|
||||
version: "0.3.0"
|
||||
flutter_data_interface:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
@ -584,10 +584,10 @@ packages:
|
|||
dependency: transitive
|
||||
description:
|
||||
name: test_api
|
||||
sha256: "6b12a91cd2febdb6f7e7d92c00d1d0c01d88bffc7fe36b1ed236f0cc37cb5ca4"
|
||||
sha256: eb6ac1540b26de412b3403a163d919ba86f6a973fe6cc50ae3541b80092fdcfb
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "0.5.0"
|
||||
version: "0.5.1"
|
||||
typed_data:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
|
@ -259,7 +259,7 @@ packages:
|
|||
description:
|
||||
path: "packages/flutter_community_chat_interface"
|
||||
ref: "feature/group-chats"
|
||||
resolved-ref: fa6a8d8b236da32fd181b4bb2cb98e7267300f88
|
||||
resolved-ref: a00e5d81bea4a344093fc08b956af0b6786cb8c3
|
||||
url: "https://github.com/Iconica-Development/flutter_community_chat.git"
|
||||
source: git
|
||||
version: "0.3.0"
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import 'package:flutter_community_chat_interface/flutter_community_chat_interface.dart';
|
||||
|
||||
abstract class ChatService {
|
||||
Stream<List<PersonalChatModel>> getChatsStream();
|
||||
Future<PersonalChatModel> getOrCreateChatByUser(ChatUserModel user);
|
||||
Future<void> deleteChat(PersonalChatModel chat);
|
||||
Future<PersonalChatModel> storeChatIfNot(PersonalChatModel chat);
|
||||
Stream<List<ChatModel>> getChatsStream();
|
||||
Future<ChatModel> getOrCreateChatByUser(ChatUserModel user);
|
||||
Future<void> deleteChat(ChatModel chat);
|
||||
Future<ChatModel> storeChatIfNot(ChatModel chat);
|
||||
}
|
||||
|
|
|
@ -219,7 +219,7 @@ packages:
|
|||
description:
|
||||
path: "packages/flutter_community_chat_interface"
|
||||
ref: "feature/group-chats"
|
||||
resolved-ref: fa6a8d8b236da32fd181b4bb2cb98e7267300f88
|
||||
resolved-ref: a00e5d81bea4a344093fc08b956af0b6786cb8c3
|
||||
url: "https://github.com/Iconica-Development/flutter_community_chat.git"
|
||||
source: git
|
||||
version: "0.3.0"
|
||||
|
|
|
@ -211,7 +211,7 @@ packages:
|
|||
description:
|
||||
path: "packages/flutter_community_chat_interface"
|
||||
ref: "feature/group-chats"
|
||||
resolved-ref: fa6a8d8b236da32fd181b4bb2cb98e7267300f88
|
||||
resolved-ref: a00e5d81bea4a344093fc08b956af0b6786cb8c3
|
||||
url: "https://github.com/Iconica-Development/flutter_community_chat.git"
|
||||
source: git
|
||||
version: "0.3.0"
|
||||
|
|
Loading…
Reference in a new issue