Skip to content

Commit 8c659cc

Browse files
renefloorxsahil03x
andauthored
chore(llc): release 0.2.0 with rest API fixes (#37)
Co-authored-by: Sahil Kumar <[email protected]>
1 parent 90f9502 commit 8c659cc

File tree

55 files changed

+412
-543
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+412
-543
lines changed

docs/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: docs
33
environment:
44
sdk: ^3.6.2
55

6-
dev_dependencies:
6+
dependencies:
77
flutter:
88
sdk: flutter
99
flutter_state_notifier: ^1.0.0
10-
stream_feeds: ^0.1.0
10+
stream_feeds: ^0.2.0

melos.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ command:
4545
rxdart: ^0.28.0
4646
shared_preferences: ^2.5.3
4747
state_notifier: ^1.0.0
48+
stream_feeds: ^0.2.0
4849
stream_core: ^0.1.0
4950
video_player: ^2.10.0
5051
uuid: ^4.5.1

packages/stream_feeds/CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
## NEXT RELEASE
1+
## 0.2.0
2+
- [BREAKING] Update API client code, specifically the FeedOwnCapability enum.
3+
- Fix unknown enums for `List<FeedOwnCapability>` in `GetOrCreateFeedResponse` to be `FeedOwnCapability.unknown`.
24
- Fix for updating poll votes from web socket events.
35

46
## 0.1.0

packages/stream_feeds/lib/src/feeds_client.dart

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,11 @@ abstract interface class StreamFeedsClient {
300300
/// ```
301301
///
302302
/// Returns an [Activity] instance that can be used to interact with the specified activity.
303-
Activity activity({required String activityId, required FeedId fid});
303+
Activity activity({
304+
required String activityId,
305+
required FeedId fid,
306+
ActivityData? initialData,
307+
});
304308

305309
/// Creates an activity list instance based on the provided [query].
306310
///

packages/stream_feeds/lib/src/generated/api/model/add_comment_reaction_request.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ class AddCommentReactionRequest with _$AddCommentReactionRequest {
2020
const AddCommentReactionRequest({
2121
this.createNotificationActivity,
2222
this.custom,
23+
this.enforceUnique,
2324
this.skipPush,
2425
required this.type,
2526
});
@@ -30,6 +31,9 @@ class AddCommentReactionRequest with _$AddCommentReactionRequest {
3031
@override
3132
final Map<String, Object?>? custom;
3233

34+
@override
35+
final bool? enforceUnique;
36+
3337
@override
3438
final bool? skipPush;
3539

packages/stream_feeds/lib/src/generated/api/model/add_comment_reaction_request.freezed.dart

Lines changed: 17 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/stream_feeds/lib/src/generated/api/model/add_comment_reaction_request.g.dart

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/stream_feeds/lib/src/generated/api/model/add_reaction_request.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ class AddReactionRequest with _$AddReactionRequest {
2020
const AddReactionRequest({
2121
this.createNotificationActivity,
2222
this.custom,
23+
this.enforceUnique,
2324
this.skipPush,
2425
required this.type,
2526
});
@@ -30,6 +31,9 @@ class AddReactionRequest with _$AddReactionRequest {
3031
@override
3132
final Map<String, Object?>? custom;
3233

34+
@override
35+
final bool? enforceUnique;
36+
3337
@override
3438
final bool? skipPush;
3539

packages/stream_feeds/lib/src/generated/api/model/add_reaction_request.freezed.dart

Lines changed: 17 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/stream_feeds/lib/src/generated/api/model/add_reaction_request.g.dart

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)