Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
7955de0
feat(llc)!: Regenerate API models and endpoints
xsahil03x Nov 21, 2025
dc37933
chore: update CHANGELOG.md
xsahil03x Nov 21, 2025
3879c94
chore(repo): limit retrofit version to <=4.9.0
xsahil03x Nov 25, 2025
acfb6ca
feat(llc): add activity feedback support
xsahil03x Nov 25, 2025
da1d6bb
chore: fix lints
xsahil03x Nov 25, 2025
e1ddcc0
test: fix test
xsahil03x Nov 25, 2025
4f36918
refactor(llc): introduce declarative testers for state managers
xsahil03x Nov 25, 2025
8f5f497
refactor(llc): migrate bookmark_folder_list_test.dart to use tester
xsahil03x Nov 25, 2025
223d798
refactor(llc): migrate bookmark_list_test.dart to use tester
xsahil03x Nov 25, 2025
386defa
refactor(llc): migrate comment_list_test.dart to use tester
xsahil03x Nov 25, 2025
4dbce6c
refactor(llc): migrate feed_list_test.dart to use tester
xsahil03x Nov 25, 2025
b2b938f
refactor(llc): migrate follow_list_test.dart to use tester
xsahil03x Nov 25, 2025
4c8df00
refactor(llc): migrate poll_list_test.dart and poll_vote_list_test.da…
xsahil03x Nov 25, 2025
15fc603
chore: fix lints
xsahil03x Nov 25, 2025
27e9753
chore: some cleanup
xsahil03x Nov 25, 2025
d914b3c
refactor(llc): simplify WebSocket test setup and improve test utilities
xsahil03x Nov 25, 2025
7210bcc
chore(llc): remove unnecessary async from tester setup in feed tests
xsahil03x Nov 25, 2025
c1cd537
chore(test): centralize mock definitions
xsahil03x Nov 25, 2025
433c461
chore(test): use broadcast stream in WebSocket mock
xsahil03x Nov 25, 2025
5e47adb
Merge remote-tracking branch 'origin/main' into refactor/use-testers
xsahil03x Nov 25, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion packages/stream_feeds/dart_test.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
tags:
feed:
feed-list:
activity:
activity-list:
activity-list:
bookmark-list:
bookmark-folder-list:
comment-list:
follow-list:
poll-list:
poll-vote-list:
3 changes: 3 additions & 0 deletions packages/stream_feeds/lib/src/models.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
export 'models/activity_data.dart';
export 'models/aggregated_activity_data.dart';
export 'models/bookmark_data.dart';
export 'models/bookmark_folder_data.dart';
export 'models/comment_data.dart';
export 'models/feed_data.dart';
export 'models/feed_id.dart';
export 'models/feed_input_data.dart';
Expand Down
15 changes: 15 additions & 0 deletions packages/stream_feeds/lib/src/state.dart
Original file line number Diff line number Diff line change
@@ -1,11 +1,26 @@
export 'state/activity.dart';
export 'state/activity_comment_list.dart';
export 'state/activity_list.dart';
export 'state/activity_list_state.dart';
export 'state/activity_state.dart';
export 'state/bookmark_folder_list.dart';
export 'state/bookmark_folder_list_state.dart';
export 'state/bookmark_list.dart';
export 'state/bookmark_list_state.dart';
export 'state/comment_list.dart';
export 'state/comment_list_state.dart';
export 'state/comment_reaction_list.dart';
export 'state/comment_reply_list.dart';
export 'state/feed.dart';
export 'state/feed_list.dart';
export 'state/feed_list_state.dart';
export 'state/feed_state.dart';
export 'state/follow_list.dart';
export 'state/follow_list_state.dart';
export 'state/poll_list.dart';
export 'state/poll_list_state.dart';
export 'state/poll_vote_list.dart';
export 'state/poll_vote_list_state.dart';
export 'state/query/activities_query.dart';
export 'state/query/activity_comments_query.dart';
export 'state/query/bookmark_folders_query.dart';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@ import '../test_utils.dart';

void main() {
test('Create a feeds client', () {
const user = User(id: 'userId');
final token = generateTestUserToken(user.id);

final client = StreamFeedsClient(
apiKey: 'apiKey',
user: const User(id: 'userId'),
tokenProvider: TokenProvider.static(UserToken(testToken)),
user: user,
tokenProvider: TokenProvider.static(token),
);

expect(client, isA<StreamFeedsClientImpl>());
Expand Down
Loading